@unity-china/codely-cli 1.0.0-beta.39 → 1.0.0-beta.40
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.
- package/README.md +1 -0
- package/bundle/example-prompts/git-commit.toml +6 -2
- package/bundle/gemini.js +3269 -2396
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
- **Screenshot Analysis** - Analyze screenshots and images to understand UI/UX and extract information
|
|
28
28
|
- **Sandboxing** - Secure execution environment with multiple sandboxing modes
|
|
29
29
|
- **IDE Plugin** - VS Code extension for seamless integration
|
|
30
|
+
- **ACP Support** - Agent Client Protocol integration for editors like Zed ([User Guide](docs/users/acp-guide-CN.md))
|
|
30
31
|
|
|
31
32
|
## 🤖 AI Agent System
|
|
32
33
|
|
|
@@ -14,7 +14,9 @@ Please follow these steps:
|
|
|
14
14
|
- Structure:
|
|
15
15
|
* First line: concise title with conventional commit prefix. Title length MUST be less than 50
|
|
16
16
|
* Second line: blank line (required)
|
|
17
|
-
* Body:
|
|
17
|
+
* Body paragraph: a descriptive paragraph (within 200 words) explaining the target of the commit - what feature is being added or what problem is being fixed. This should provide context and motivation for the changes.
|
|
18
|
+
* Third line: blank line (required)
|
|
19
|
+
* Bullet points: use bullet points (with '-' prefix) to list main changes
|
|
18
20
|
* Each bullet point should be concise and focused on one specific change
|
|
19
21
|
* Group related changes together logically
|
|
20
22
|
* Keep each bullet point to one line when possible
|
|
@@ -22,6 +24,8 @@ Please follow these steps:
|
|
|
22
24
|
```
|
|
23
25
|
feat: enhance compress command and update system prompt
|
|
24
26
|
|
|
27
|
+
This commit improves the compress command functionality to provide better user experience and feedback. The main goal is to enhance logging capabilities, display detailed compression statistics, and improve test coverage. Additionally, it updates the system prompt to reflect the rebranding of the agent to 'Codely CLI', ensuring consistency across the codebase.
|
|
28
|
+
|
|
25
29
|
- Improve compress command with better logging and user feedback
|
|
26
30
|
- Add detailed compression ratio information and summary display
|
|
27
31
|
- Enhance test coverage with console spies and assertions
|
|
@@ -32,7 +36,7 @@ Please follow these steps:
|
|
|
32
36
|
- Must use the ShellTool to execute the git commit command
|
|
33
37
|
- Always use the `-m` flag with the message in double quotes
|
|
34
38
|
- For multiline commit messages, MUST use multiple `-m` flags to specify each line
|
|
35
|
-
- Example: `git commit -m "feat: add feature" -m "- Change A" -m "- Change B"`
|
|
39
|
+
- Example: `git commit -m "feat: add feature" -m "This commit adds a new feature to improve..." -m "- Change A" -m "- Change B"`
|
|
36
40
|
- The system will automatically handle any additional metadata
|
|
37
41
|
- If precommit hook failed, we MUST stop commit. We SHOULD NOT fix them.
|
|
38
42
|
6. Report the commit result to the user or report errors and stop
|