Skip to content

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): /branch my-feature-branch yields /branch my-feature-branch.

openJiuwen-bot0c5f3d01393e
diff --git a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/branch.ts b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/branch.ts
index 52e5e22b1f..a41700d28b 100644
--- a/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/branch.ts
+++ b/jiuwenswarm/channels/tui/frontend/src/core/commands/builtins/branch.ts
@@ -45,7 +45,7 @@ export function createBranchCommand(): SlashCommand {
const originalSessionId = ctx.sessionId;
ctx.updateSession(forkSessionId);
ctx.clearEntries();
- ctx.addItem(addCommandEcho(forkSessionId, "/branch"));
+ ctx.addItem(addCommandEcho(forkSessionId, customTitle ? `/branch ${customTitle}` : "/branch"));
ctx.addItem(
addInfo(
forkSessionId,