@myassis/gateway 1.0.38 → 1.0.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.
@@ -153,7 +153,8 @@ async function getSystemPromptAsync(agent, customPrompt) {
153
153
  ## 3 修改已经存在的代码文件
154
154
  1)修改Bug,找到Bug后精确替换,不要调整架构
155
155
  2)修改业务功能,删除旧的业务功能,重新添加新的,不要在旧的上面做修改,直接删除旧功能,然后添加新功能
156
- 【代码提交】务必类型检查通过
156
+ 【代码提交】务必类型检查通过
157
+ 【任务完成过程中】不能独白
157
158
  ${skillPrompts}`;
158
159
  // 如果有自定义提示词,追加
159
160
  if (customPrompt) {
@@ -169,7 +169,7 @@ exports.execTool = {
169
169
  success: false,
170
170
  needsApproval: true,
171
171
  approvalToken: token,
172
- errorMessage: `危险命令需要用户确认:${command}`,
172
+ errorMessage: `${command}`,
173
173
  });
174
174
  return;
175
175
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myassis/gateway",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "description": "我的助手 Gateway Service - 本地 AI 网关服务,支持认证、WebSocket 实时通信和任务调度",
5
5
  "main": "dist/index.js",
6
6
  "bin": {