We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52fed90 commit dcc4d34Copy full SHA for dcc4d34
1 file changed
cli/src/data/slash-commands.ts
@@ -22,12 +22,14 @@ export interface SlashCommand {
22
insertText?: string
23
}
24
25
-// Generate mode commands from the AGENT_MODES constant
26
-const MODE_COMMANDS: SlashCommand[] = AGENT_MODES.map((mode) => ({
27
- id: `mode:${mode.toLowerCase()}`,
28
- label: `mode:${mode.toLowerCase()}`,
29
- description: `Switch to ${mode} mode`,
30
-}))
+// Generate mode commands from the AGENT_MODES constant (excluded in Freebuff)
+const MODE_COMMANDS: SlashCommand[] = IS_FREEBUFF
+ ? []
+ : AGENT_MODES.map((mode) => ({
+ id: `mode:${mode.toLowerCase()}`,
+ label: `mode:${mode.toLowerCase()}`,
31
+ description: `Switch to ${mode} mode`,
32
+ }))
33
34
const FREEBUFF_REMOVED_COMMAND_IDS = new Set([
35
'connect:claude',
0 commit comments