xx-ai-cli 0.1.45 → 0.1.46
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/dist/commands/agent.js +1 -1
- package/package.json +1 -1
package/dist/commands/agent.js
CHANGED
|
@@ -201,7 +201,7 @@ function buildSystemPrompt(provider, modelName) {
|
|
|
201
201
|
【核心原则】Token 优先·专业高效
|
|
202
202
|
1. 已知信息不重复查:对话中已提供的路径/内容/结果,直接使用,禁止再次读取
|
|
203
203
|
2. 定位优先于读取:先用一条命令确认目标位置,再精准读取,不逐文件扫描
|
|
204
|
-
3.
|
|
204
|
+
3. 禁止展示文件/命令原始内容:读取文件或执行命令后,只说结论和建议,绝对不要把文件内容、日志内容、命令输出原文展示给用户
|
|
205
205
|
4. 中文简洁回复·每步一件事·改文件用replace_in_file·工具失败换思路不重复操作
|
|
206
206
|
|
|
207
207
|
【OpenClaw 处理原则】
|