gac 1.4.1__py3-none-any.whl → 1.4.2__py3-none-any.whl

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.

gac/__version__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Version information for gac package."""
2
2
 
3
- __version__ = "1.4.1"
3
+ __version__ = "1.4.2"
gac/prompt.py CHANGED
@@ -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
 
@@ -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.
@@ -1,5 +1,5 @@
1
1
  gac/__init__.py,sha256=HFWgSVNbTAFhgetCRWI1WrtyE7zC7IHvoBOrfDGUurM,989
2
- gac/__version__.py,sha256=ECklih1md5aHpXO55UJLzW7uO_jRivVyKU-saBV1Dis,66
2
+ gac/__version__.py,sha256=oQBTDHzXW6VlVMRsh1unIy3vb0oniDBsXw4VmrGnJKk,66
3
3
  gac/ai.py,sha256=RwA_4SuhUdl_ct1eZ-iiAY9UFWlncQ_OLGn3KC_CJbY,3205
4
4
  gac/ai_utils.py,sha256=JXfAuDiIL9VBgAAoKFC_QGvD-mtLSybOlWDHMdKTGPo,7100
5
5
  gac/cli.py,sha256=nvz6l-wctfo3SMpC-zqtXyHMg8rtdzxw9cllbVMXJ0w,4872
@@ -12,7 +12,7 @@ gac/git.py,sha256=MS2m4fv8h4mau1djFG1aje9NXTmkGsjPO9w18LqNGX0,6031
12
12
  gac/init_cli.py,sha256=HAeoy7efjk3_imk7yIE2e1LunmnO-f8LvLEtv6rYuuI,2109
13
13
  gac/main.py,sha256=igiUnkdDG5akjcPHa2iCfqstziYifGmyGegP2k6g_c4,15273
14
14
  gac/preprocess.py,sha256=krrLPHsccYMdn_YAtUrppBJIoRgevxGWusDwhE40LEo,15366
15
- gac/prompt.py,sha256=_fv24XU3DZE_S72vcdUYnNkmy-_KXnr1Vlc-9okop7E,17263
15
+ gac/prompt.py,sha256=K6r9q2cAlyPu1fud6-jJsZ4zeweEo3yt6_WeYv8a_SQ,17087
16
16
  gac/security.py,sha256=M1MZm6BLOeKl6rH_-UdXsSKol39FnA5fIP3YP394yZE,9898
17
17
  gac/utils.py,sha256=W3ladtmsH01MNLdckQYTzYrYbTGEdzCKI36he9C-y_E,3945
18
18
  gac/providers/__init__.py,sha256=pUKmPm8WMBbCRmOkhNbhIbS8fPL4ONvWmoKV35CflTc,554
@@ -23,8 +23,8 @@ gac/providers/ollama.py,sha256=Bp94DvortQssDhekuNdJ7fKLeWpWASYXSssJNCuGszg,1383
23
23
  gac/providers/openai.py,sha256=RohHaQqttx0BTVzoJrmEA4eajxnFLN7zyfcFBE0aRyQ,1120
24
24
  gac/providers/openrouter.py,sha256=3PosNyAWgjsrSHiIOZ5PUp3KZbiK7NrGhw5SfPlQK6M,1828
25
25
  gac/providers/zai.py,sha256=J9SogoU-K-Gl3jgyWWJtVqqoUDXMUNodolf7Qrx3CBY,2450
26
- gac-1.4.1.dist-info/METADATA,sha256=arS9XXGgS-yb9IjICH4biN4iLy2t3AuOnzCXNITgRqw,9523
27
- gac-1.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
- gac-1.4.1.dist-info/entry_points.txt,sha256=tdjN-XMmcWfL92swuRAjT62bFLOAwk9bTMRLGP5Z4aI,36
29
- gac-1.4.1.dist-info/licenses/LICENSE,sha256=vOab37NouL1PNs5BswnPayrMCqaN2sqLfMQfqPDrpZg,1103
30
- gac-1.4.1.dist-info/RECORD,,
26
+ gac-1.4.2.dist-info/METADATA,sha256=eE280nBX1fYfp51aGQ9y5qyj1K7fBm5HDdOyNVeYFs0,9518
27
+ gac-1.4.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
+ gac-1.4.2.dist-info/entry_points.txt,sha256=tdjN-XMmcWfL92swuRAjT62bFLOAwk9bTMRLGP5Z4aI,36
29
+ gac-1.4.2.dist-info/licenses/LICENSE,sha256=vOab37NouL1PNs5BswnPayrMCqaN2sqLfMQfqPDrpZg,1103
30
+ gac-1.4.2.dist-info/RECORD,,
File without changes