mocode-ai 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/dist/ui/batch.js +2 -2
  2. package/package.json +1 -1
package/dist/ui/batch.js CHANGED
@@ -151,8 +151,8 @@ function buildExpandedLines(entries) {
151
151
  return entries.map((e, index) => {
152
152
  const result = e.resultSummary ? ` ${ui.gray}↳ ${e.resultSummary}${ui.reset}` : '';
153
153
  const branch = index === entries.length - 1 ? '└─' : '├─';
154
- const symbol = e.failed ? `${ui.red}×${ui.reset}` : `${ui.green}•${ui.reset}`;
155
- return ` ${ui.dim}${branch}${ui.reset} ${symbol} ${ui.accent}${e.name}${ui.reset} ${ui.dim}${e.callSummary}${ui.reset}${result}\x1B[0m`;
154
+ const failure = e.failed ? `${ui.red}×${ui.reset} ` : '';
155
+ return ` ${ui.dim}${branch}${ui.reset} ${failure}${ui.accent}${e.name}${ui.reset} ${ui.dim}${e.callSummary}${ui.reset}${result}\x1B[0m`;
156
156
  });
157
157
  }
158
158
  function entryDetailIndent(entries, index) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocode-ai",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "终端编码 agent:LLM + tool-call 循环 + 流式输出(含思考)+ 16 个工具,接任意 OpenAI 兼容后端。",
5
5
  "type": "module",
6
6
  "bin": {