Enhanced the generate_commit_summary method in the APIClient class to include JIRA context when generating commit summaries. Added a jira_context parameter to the method to pass JIRA issue details for better commit message generation. Updated the CommitDocGenHook class to extract JIRA issue keys from the branch name and retrieve JIRA context using the JiraClient. This allows for more informative and business-focused commit summaries that include relevant JIRA issue details. Also, modified the generate_commit_summary_with_llm method to accept the jira_context parameter for improved commit summary generation.
## Related JIRA Issues
* **[SDG-784](https://singularity-x.atlassian.net/browse/SDG-784)**: Jira integeration in Penify-CLI
* Status: To Do
* Type: Story
Description
JiraClientfor seamless integration with JIRA API.LLMClientfor generating commit summaries using large language models.Changes walkthrough 📝
api_client.py
Enhance commit summary generation with JIRA contextpenify_hook/api_client.py
jira_contextparameter togenerate_commit_summarymethod.generate_commit_summary_with_llmto utilize JIRA context.commit_analyzer.py
Integrate JIRA context into commit summary generationpenify_hook/commit_analyzer.py
get_summarymethod to utilize LLM client if available.process_jira_integrationmethod for commit message enhancement.jira_client.py
Add JIRA client for API interactionspenify_hook/jira_client.py
JiraClientfor JIRA API interactions.llm_client.py
Implement LLM client for commit summary generationpenify_hook/llm_client.py
LLMClientfor interacting with LLM models.main.py
Update main CLI for LLM and JIRA integrationpenify_hook/main.py
setup.py
Update package name and dependenciessetup.py
penify-clitopenifycli.litellmandjiraas dependencies.README.md
Revise README for package name and JIRA integrationREADME.md