@ia-ccun/code-agent-cli 0.0.51-beta.10 → 0.0.51-beta.12

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.
@@ -702,7 +702,7 @@ export default function aicodePlan(pi: ExtensionAPI) {
702
702
  enterPlanMode(ctx);
703
703
  }
704
704
  // 显示切换后的状态
705
- ctx.ui.notify(wasEnabled ? "计划模式已禁用 ✓" : "计划模式已启用 ✓");
705
+ ctx.ui.notify(wasEnabled ? "计划模式已关闭 ✓" : "计划模式已开启 ✓");
706
706
  },
707
707
  });
708
708
 
@@ -32,7 +32,7 @@ export default function (pi: ExtensionAPI) {
32
32
 
33
33
  // 监听 plan 模式变化事件(全局监听,只注册一次)
34
34
  pi.events.on("aicode-plan:mode-changed", (data: any) => {
35
- planModeEnabled = data.planModeEnabled;
35
+ planModeEnabled = data.enabled;
36
36
  footerTui?.requestRender();
37
37
  });
38
38
 
@@ -160,7 +160,6 @@ export default function (pi: ExtensionAPI) {
160
160
 
161
161
  // quots
162
162
  const quotes = [
163
- "代码是有灵魂的",
164
163
  "敬畏生产,双人复核,稳妥变更",
165
164
  "让代码更有温度",
166
165
  "民生所系,支付所向",
@@ -198,9 +197,9 @@ export default function (pi: ExtensionAPI) {
198
197
 
199
198
  // ── Plan mode segment ────────────────────────────────────
200
199
  if (planModeEnabled) {
201
- segments.push(theme.fg("success", "⏸ plan mode on"));
200
+ segments.push(theme.fg("success", "⏸ 计划模式"));
202
201
  }else{
203
- segments.push(theme.fg("error", "> yolo mode on"));
202
+ segments.push(theme.fg("error", "▶ 自动模式"));
204
203
  }
205
204
 
206
205
  segments.push(theme.fg("muted", quote));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ia-ccun/code-agent-cli",
3
- "version": "0.0.51-beta.10",
3
+ "version": "0.0.51-beta.12",
4
4
  "description": "AI Coding Agent CLI - 基于OpenClaw🦞底层Agent(pi)原理封装的编码智能体(供学习使用)。",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",