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.
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/PKG-INFO +1 -1
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/pyproject.toml +1 -1
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/prompt.py +12 -3
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/uv.lock +1 -1
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/.github/workflows/test.yml +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/.gitignore +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/.python-version +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/LICENSE +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/README.md +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/art/cmt-cli.svg +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/cache.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/openai.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/ai/provider.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/analysis/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/analysis/analyzer.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/cli.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/core/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/core/logging.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/core/settings.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/enums/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/enums/config.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/exceptions.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/git/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/git/repository.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/models/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/models/changes.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/models/suggestion.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/schemas/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/schemas/config.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/schemas/general.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/services/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/services/pypi.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/src/cmt/utils.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/tests/__init__.py +0 -0
- {cmt_cli-1.1.2 → cmt_cli-1.1.3}/tests/unit/test_repository.py +0 -0
|
@@ -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.
|
|
35
|
-
|
|
36
|
-
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|