@ia-ccun/code-agent-cli 0.0.51-beta.8 → 0.0.51-beta.9
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.
|
@@ -558,7 +558,7 @@ export default function aicodePlan(pi: ExtensionAPI) {
|
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
const statusText = planModeEnabled
|
|
561
|
-
? ctx.ui.theme.fg("warning", "⏸ 计划") + ctx.ui.theme.fg("dim", " | plan (
|
|
561
|
+
? ctx.ui.theme.fg("warning", "⏸ 计划") + ctx.ui.theme.fg("dim", " | plan (CTRL+ALT+P)")
|
|
562
562
|
: undefined;
|
|
563
563
|
ctx.ui.setStatus(STATUS_KEY, statusText);
|
|
564
564
|
updateTodoWidget(ctx);
|
|
@@ -658,7 +658,7 @@ export default function aicodePlan(pi: ExtensionAPI) {
|
|
|
658
658
|
];
|
|
659
659
|
if (!planModeEnabled && !executionMode) {
|
|
660
660
|
statusLines.push("");
|
|
661
|
-
statusLines.push("快捷键:
|
|
661
|
+
statusLines.push("快捷键:CTRL+ALT+P 快速切换计划模式");
|
|
662
662
|
}
|
|
663
663
|
ctx.ui.notify(statusLines.join("\n"), "info");
|
|
664
664
|
return;
|
|
@@ -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.planModeEnabled;
|
|
36
36
|
footerTui?.requestRender();
|
|
37
37
|
});
|
|
38
38
|
|