68 lines
1.7 KiB
TypeScript
68 lines
1.7 KiB
TypeScript
|
|
export interface SlashCommand {
|
||
|
|
name: string;
|
||
|
|
description: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export const SLASH_COMMANDS: SlashCommand[] = [
|
||
|
|
{
|
||
|
|
name: "/help",
|
||
|
|
description: "Show this list of available slash commands.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/status",
|
||
|
|
description:
|
||
|
|
"Show pipeline status and agent availability. `/status <number>` shows a story triage dump.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/assign <number> <model>",
|
||
|
|
description: "Pre-assign a model to a story (e.g. `/assign 42 opus`).",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/start <number>",
|
||
|
|
description:
|
||
|
|
"Start a coder on a story. Optionally specify a model: `/start <number> opus`.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/show <number>",
|
||
|
|
description: "Display the full text of a work item.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/move <number> <stage>",
|
||
|
|
description:
|
||
|
|
"Move a work item to a pipeline stage (backlog, current, qa, merge, done).",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/delete <number>",
|
||
|
|
description:
|
||
|
|
"Remove a work item from the pipeline and stop any running agent.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/cost",
|
||
|
|
description:
|
||
|
|
"Show token spend: 24h total, top stories, breakdown by agent type, and all-time total.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/git",
|
||
|
|
description:
|
||
|
|
"Show git status: branch, uncommitted changes, and ahead/behind remote.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/overview <number>",
|
||
|
|
description: "Show the implementation summary for a merged story.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/rebuild",
|
||
|
|
description: "Rebuild the server binary and restart.",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/reset",
|
||
|
|
description:
|
||
|
|
"Clear the current Claude Code session and start fresh (messages and session ID are cleared locally).",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
name: "/btw <question>",
|
||
|
|
description:
|
||
|
|
"Ask a side question using the current conversation as context. The question and answer are not added to the conversation history.",
|
||
|
|
},
|
||
|
|
];
|