mocode-ai 0.6.7 → 0.6.8

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.
@@ -151,9 +151,8 @@ export function scheduleActions(report) {
151
151
  actions.push({
152
152
  kind: 'warn',
153
153
  layer: 'system',
154
- reason: `固定请求开销 ${actual}/${budget} tokens (+${excess}, ${percent}%);`
155
- + `系统提示 ${prompt} + 工具 schema ${toolSchemas},校正 ×${report.correction.toFixed(2)}。`
156
- + '系统提示偏高时检查 MOCODE.md;工具 schema 偏高时减少可用工具;CONTEXT_WINDOW_TOKENS 应匹配模型真实窗口。',
154
+ reason: `固定开销 ${actual}/${budget} (+${excess}, ${percent}%);`
155
+ + `提示 ${prompt} + 工具 ${toolSchemas},×${report.correction.toFixed(2)}。`,
157
156
  });
158
157
  }
159
158
  if ((layers.history.overBudget || totalOver)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocode-ai",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "终端编码 agent:LLM + tool-call 循环 + 流式输出(含思考)+ 16 个工具,接任意 OpenAI 兼容后端。",
5
5
  "type": "module",
6
6
  "bin": {