JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
fix: unregistry /plan command for current version
ldstyle889b9fe7f6e7e
diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/help.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/help.tsindex 8ff28e5507..a203f69c6a 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/help.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/help.ts@@ -24,7 +24,7 @@ const COMMAND_GROUPS: Record<string, { name: string; commands: string[] }> = {},config: {name: "Config",- commands: ["config", "workspace", "diff", "plan"],+ commands: ["config", "workspace", "diff"],},};diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/plan.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/plan.tsindex 31cc261b3a..411e7605f3 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/plan.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/plan.ts@@ -4,6 +4,7 @@ import { CommandKind, type SlashCommand } from "../types.js";export function createPlanCommand(): SlashCommand {return {name: "plan",+ hidden: true, // TUI release: not registered in registry.ts; re-enable next versiondescription: "Switch to agent plan mode, or send a planning request",usage: "/plan [open|<description>]",example: "/plan outline the migration steps",diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/registry.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/registry.tsindex 1811a0345f..a590746310 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/registry.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/registry.ts@@ -28,7 +28,7 @@ import { createPluginCommand } from "./builtins/plugin.js";import { createReloadPluginsCommand } from "./builtins/reload-plugins.js";import { createModeCommand } from "./builtins/mode.js";import { createPermissionsCommand } from "./builtins/permissions.js";-import { createPlanCommand } from "./builtins/plan.js";+// Re-enable next release: import { createPlanCommand } from "./builtins/plan.js";import { createResumeCommand } from "./builtins/resume.js";import { createRenameCommand } from "./builtins/rename.js";import { createRewindCommand } from "./builtins/rewind.js";@@ -70,7 +70,7 @@ export function createBuiltinCommands(): SlashCommand[] {createMcpCommand(),createModeCommand(),createPermissionsCommand(),- createPlanCommand(),+ // createPlanCommand(),createResumeCommand(),createRenameCommand(),createRewindCommand(),