gac 1.4.1__tar.gz → 1.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of gac might be problematic. Click here for more details.

Files changed (30) hide show
  1. {gac-1.4.1 → gac-1.4.2}/PKG-INFO +2 -2
  2. {gac-1.4.1 → gac-1.4.2}/README.md +1 -1
  3. {gac-1.4.1 → gac-1.4.2}/src/gac/__version__.py +1 -1
  4. {gac-1.4.1 → gac-1.4.2}/src/gac/prompt.py +1 -6
  5. {gac-1.4.1 → gac-1.4.2}/.gitignore +0 -0
  6. {gac-1.4.1 → gac-1.4.2}/LICENSE +0 -0
  7. {gac-1.4.1 → gac-1.4.2}/pyproject.toml +0 -0
  8. {gac-1.4.1 → gac-1.4.2}/src/gac/__init__.py +0 -0
  9. {gac-1.4.1 → gac-1.4.2}/src/gac/ai.py +0 -0
  10. {gac-1.4.1 → gac-1.4.2}/src/gac/ai_utils.py +0 -0
  11. {gac-1.4.1 → gac-1.4.2}/src/gac/cli.py +0 -0
  12. {gac-1.4.1 → gac-1.4.2}/src/gac/config.py +0 -0
  13. {gac-1.4.1 → gac-1.4.2}/src/gac/config_cli.py +0 -0
  14. {gac-1.4.1 → gac-1.4.2}/src/gac/constants.py +0 -0
  15. {gac-1.4.1 → gac-1.4.2}/src/gac/diff_cli.py +0 -0
  16. {gac-1.4.1 → gac-1.4.2}/src/gac/errors.py +0 -0
  17. {gac-1.4.1 → gac-1.4.2}/src/gac/git.py +0 -0
  18. {gac-1.4.1 → gac-1.4.2}/src/gac/init_cli.py +0 -0
  19. {gac-1.4.1 → gac-1.4.2}/src/gac/main.py +0 -0
  20. {gac-1.4.1 → gac-1.4.2}/src/gac/preprocess.py +0 -0
  21. {gac-1.4.1 → gac-1.4.2}/src/gac/providers/__init__.py +0 -0
  22. {gac-1.4.1 → gac-1.4.2}/src/gac/providers/anthropic.py +0 -0
  23. {gac-1.4.1 → gac-1.4.2}/src/gac/providers/cerebras.py +0 -0
  24. {gac-1.4.1 → gac-1.4.2}/src/gac/providers/groq.py +0 -0
  25. {gac-1.4.1 → gac-1.4.2}/src/gac/providers/ollama.py +0 -0
  26. {gac-1.4.1 → gac-1.4.2}/src/gac/providers/openai.py +0 -0
  27. {gac-1.4.1 → gac-1.4.2}/src/gac/providers/openrouter.py +0 -0
  28. {gac-1.4.1 → gac-1.4.2}/src/gac/providers/zai.py +0 -0
  29. {gac-1.4.1 → gac-1.4.2}/src/gac/security.py +0 -0
  30. {gac-1.4.1 → gac-1.4.2}/src/gac/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gac
3
- Version: 1.4.1
3
+ Version: 1.4.2
4
4
  Summary: AI-powered Git commit message generator with multi-provider support
5
5
  Project-URL: Homepage, https://github.com/cellwebb/gac
6
6
  Project-URL: Documentation, https://github.com/cellwebb/gac#readme
@@ -56,7 +56,7 @@ Description-Content-Type: text/markdown
56
56
 
57
57
  - **LLM-Powered Commit Messages:** Automatically generates clear, concise, and context-aware commit messages using large language models.
58
58
  - **Deep Contextual Analysis:** Understands your code by analyzing staged changes, repository structure, and recent commit history to provide highly relevant suggestions.
59
- - **Multi-Provider & Model Support:** Flexibly works with various leading AI providers (like Anthropic, Cerebras, Groq, OpenRouter, OpenAI, Z.AI) and models, easily configured through an interactive setup or environment variables.
59
+ - **Multi-Provider & Model Support:** Flexibly works with leading AI providers (Anthropic, Cerebras, Groq, Ollama, OpenAI, OpenRouter, Z.AI) and models, easily configured through an interactive setup or environment variables.
60
60
  - **Seamless Git Workflow:** Integrates smoothly into your existing Git routine as a simple drop-in replacement for `git commit`.
61
61
  - **Extensive Customization:** Tailor commit messages to your needs with a rich set of flags, including one-liners (`-o`), AI hints (`-h`), scope inference (`-s`), and specific model selection (`-m`).
62
62
  - **Streamlined Workflow Commands:** Boost your productivity with convenient options to stage all changes (`-a`), auto-confirm commits (`-y`), and push to your remote repository (`-p`) in a single step.
@@ -14,7 +14,7 @@
14
14
 
15
15
  - **LLM-Powered Commit Messages:** Automatically generates clear, concise, and context-aware commit messages using large language models.
16
16
  - **Deep Contextual Analysis:** Understands your code by analyzing staged changes, repository structure, and recent commit history to provide highly relevant suggestions.
17
- - **Multi-Provider & Model Support:** Flexibly works with various leading AI providers (like Anthropic, Cerebras, Groq, OpenRouter, OpenAI, Z.AI) and models, easily configured through an interactive setup or environment variables.
17
+ - **Multi-Provider & Model Support:** Flexibly works with leading AI providers (Anthropic, Cerebras, Groq, Ollama, OpenAI, OpenRouter, Z.AI) and models, easily configured through an interactive setup or environment variables.
18
18
  - **Seamless Git Workflow:** Integrates smoothly into your existing Git routine as a simple drop-in replacement for `git commit`.
19
19
  - **Extensive Customization:** Tailor commit messages to your needs with a rich set of flags, including one-liners (`-o`), AI hints (`-h`), scope inference (`-s`), and specific model selection (`-m`).
20
20
  - **Streamlined Workflow Commands:** Boost your productivity with convenient options to stage all changes (`-a`), auto-confirm commits (`-y`), and push to your remote repository (`-p`) in a single step.
@@ -1,3 +1,3 @@
1
1
  """Version information for gac package."""
2
2
 
3
- __version__ = "1.4.1"
3
+ __version__ = "1.4.2"
@@ -235,12 +235,7 @@ def build_prompt(
235
235
  except Exception as e:
236
236
  logger.error(f"Error processing scope parameter: {e}")
237
237
  # Fallback to no scope if there's an error
238
- template = re.sub(
239
- r"<conventions_scope_provided>.*?</conventions_scope_provided>\n", "", template, flags=re.DOTALL
240
- )
241
- template = re.sub(
242
- r"<conventions_scope_inferred>.*?</conventions_scope_inferred>\n", "", template, flags=re.DOTALL
243
- )
238
+ template = re.sub(r"<conventions_with_scope>.*?</conventions_with_scope>\n", "", template, flags=re.DOTALL)
244
239
  template = template.replace("<conventions_no_scope>", "<conventions>")
245
240
  template = template.replace("</conventions_no_scope>", "</conventions>")
246
241
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes