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: tui /help移除部分命令
jingjinduo81f7017d6d37
diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/agents.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/agents.tsindex 5eb0f69a6a..2ed6da033f 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/agents.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/agents.ts@@ -121,6 +121,7 @@ export function createAgentsCommand(): SlashCommand {usage: "/agents [list|get|create|update|enable|disable|delete]",example: "/agents list | /agents get Explore",kind: CommandKind.BUILT_IN,+ hidden: true,action: async (ctx) => {await listAgents(ctx);},diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/help.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/help.tsindex 6e18358941..5dc7156d1c 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/help.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/help.ts@@ -12,7 +12,7 @@ const COMMAND_GROUPS: Record<string, { name: string; commands: string[] }> = {},model: {name: "Model",- commands: ["model", "mode", "theme", "color"],+ commands: ["model", "theme", "color"],},evolution: {name: "Evolution",@@ -28,7 +28,7 @@ const COMMAND_GROUPS: Record<string, { name: string; commands: string[] }> = {},config: {name: "Config",- commands: ["config", "permissions", "workspace", "diff", "plan", "usage"],+ commands: ["config", "permissions", "workspace", "diff", "plan"],},};diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/hooks.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/hooks.tsindex 02fb09c7e2..21b71b9de6 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/hooks.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/hooks.ts@@ -165,6 +165,7 @@ export function createHooksCommand(): SlashCommand {usage: "/hooks",example: "/hooks",kind: CommandKind.BUILT_IN,+ hidden: true,takesArgs: false,action: async (ctx) => {await showHooksBrowser(ctx);diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/mode.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/mode.tsindex ce3f239bb3..0ce17cdc89 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/mode.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/mode.ts@@ -54,6 +54,7 @@ export function createModeCommand(): SlashCommand {usage: "/mode <agent|code|code.team|team|team.normal|team.plan>",example: "/mode team.plan",kind: CommandKind.BUILT_IN,+ hidden: true,takesArgs: true,completion: async () => [...directModes],action: async (ctx, args) => {diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/plugin.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/plugin.tsindex 4443a25c35..9e1db1cbc6 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/plugin.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/plugin.ts@@ -191,6 +191,7 @@ export function createPluginCommand(): SlashCommand {"/plugin disable my-plugin\n" +"/plugin marketplace list",kind: CommandKind.BUILT_IN,+ hidden: true,takesArgs: true,action: async (ctx: CommandContext, args: string) => {const raw = args.trim();diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/reload-plugins.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/reload-plugins.tsindex a766549274..f12c586d8b 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/reload-plugins.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/reload-plugins.ts@@ -16,6 +16,7 @@ export function createReloadPluginsCommand(): SlashCommand {usage: "/reload-plugins",example: "/reload-plugins",kind: CommandKind.BUILT_IN,+ hidden: true,takesArgs: false,isSafeConcurrent: true,action: async (ctx: CommandContext) => {diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/sandbox.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/sandbox.tsindex f9a279d6be..f7efe58ccf 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/sandbox.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/sandbox.ts@@ -109,6 +109,7 @@ export function createSandboxCommand(): SlashCommand {usage: "/sandbox <enable|disable|exclude|files> ...",example: "/sandbox enable",kind: CommandKind.BUILT_IN,+ hidden: true,takesArgs: true,action: async (ctx, args) => {const raw = (args ?? "").trim();diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/usage.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/usage.tsindex cf74e3642d..d725316da7 100644--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/usage.ts+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/usage.ts@@ -37,6 +37,7 @@ export function createUsageCommand(): SlashCommand {usage: "/usage",example: "/usage",kind: CommandKind.BUILT_IN,+ hidden: true,action: async (ctx) => {if (ctx.enterStatusView) {ctx.enterStatusView("usage");