cmt-cli 1.1.2__tar.gz → 1.1.3__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.
Files changed (37) hide show
  1. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/PKG-INFO +1 -1
  2. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/pyproject.toml +1 -1
  3. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/prompt.py +12 -3
  4. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/uv.lock +1 -1
  5. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/.github/workflows/test.yml +0 -0
  6. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/.gitignore +0 -0
  7. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/.python-version +0 -0
  8. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/LICENSE +0 -0
  9. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/README.md +0 -0
  10. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/art/cmt-cli.svg +0 -0
  11. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/__init__.py +0 -0
  12. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/__init__.py +0 -0
  13. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/cache.py +0 -0
  14. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/openai.py +0 -0
  15. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/provider.py +0 -0
  16. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/analysis/__init__.py +0 -0
  17. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/analysis/analyzer.py +0 -0
  18. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/cli.py +0 -0
  19. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/core/__init__.py +0 -0
  20. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/core/logging.py +0 -0
  21. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/core/settings.py +0 -0
  22. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/enums/__init__.py +0 -0
  23. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/enums/config.py +0 -0
  24. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/exceptions.py +0 -0
  25. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/git/__init__.py +0 -0
  26. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/git/repository.py +0 -0
  27. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/models/__init__.py +0 -0
  28. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/models/changes.py +0 -0
  29. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/models/suggestion.py +0 -0
  30. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/schemas/__init__.py +0 -0
  31. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/schemas/config.py +0 -0
  32. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/schemas/general.py +0 -0
  33. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/services/__init__.py +0 -0
  34. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/services/pypi.py +0 -0
  35. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/utils.py +0 -0
  36. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/tests/__init__.py +0 -0
  37. {cmt_cli-1.1.2 → cmt_cli-1.1.3}/tests/unit/test_repository.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: cmt-cli
3
- Version: 1.1.2
3
+ Version: 1.1.3
4
4
  Summary: AI-powered Git commit message generator
5
5
  Project-URL: Homepage, https://github.com/bijaydas/cmt
6
6
  Project-URL: Documentation, https://github.com/bijaydas/cmt#readme
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cmt-cli"
3
- version = "1.1.2"
3
+ version = "1.1.3"
4
4
  description = "AI-powered Git commit message generator"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -31,13 +31,22 @@ such as `chore`.
31
31
  10. Use imperative mood.
32
32
  11. Do not mention individual files unless necessary.
33
33
  12. Do not generate multiple commit messages.
34
- 13. Do not include a commit body.
35
- 14. Return ONLY the commit message.
36
- 15. Do not include markdown, quotes, explanations, or additional text.
34
+ 13. Only add a description if the change is complex enough that the short description alone is
35
+ insufficient to understand it (e.g., multiple distinct changes, non-obvious rationale, or
36
+ breaking changes).
37
+ 14. When a description is required, format it as a bullet list, with one point per notable
38
+ change, placed after a blank line following the short description.
39
+ 15. Keep each bullet point concise and in imperative mood.
40
+ 16. Return ONLY the commit message.
41
+ 17. Do not include markdown formatting (headers, bold, code blocks, etc.), quotes, explanations,
42
+ or additional text, other than the hyphen-prefixed bullet list described above.
37
43
 
38
44
  ## Commit message format
39
45
 
40
46
  <type>[optional scope]: <short description>
47
+
48
+ - <description bullet point 1>
49
+ - <description bullet point 2>
41
50
  """
42
51
 
43
52
  COMMIT_DATA_PROMPT = """## Change statistics
@@ -175,7 +175,7 @@ wheels = [
175
175
 
176
176
  [[package]]
177
177
  name = "cmt-cli"
178
- version = "1.0.3"
178
+ version = "1.1.3"
179
179
  source = { editable = "." }
180
180
  dependencies = [
181
181
  { name = "langchain" },
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