@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.
|
@@ -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.
|
|
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", "⏸
|
|
200
|
+
segments.push(theme.fg("success", "⏸ 计划模式"));
|
|
202
201
|
}else{
|
|
203
|
-
segments.push(theme.fg("error", "
|
|
202
|
+
segments.push(theme.fg("error", "▶ 自动模式"));
|
|
204
203
|
}
|
|
205
204
|
|
|
206
205
|
segments.push(theme.fg("muted", quote));
|