File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,14 @@ export interface SlashCommand {
2222 insertText ?: string
2323}
2424
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- } ) )
25+ // Generate mode commands from the AGENT_MODES constant (excluded in Freebuff)
26+ const MODE_COMMANDS : SlashCommand [ ] = IS_FREEBUFF
27+ ? [ ]
28+ : AGENT_MODES . map ( ( mode ) => ( {
29+ id : `mode:${ mode . toLowerCase ( ) } ` ,
30+ label : `mode:${ mode . toLowerCase ( ) } ` ,
31+ description : `Switch to ${ mode } mode` ,
32+ } ) )
3133
3234const FREEBUFF_REMOVED_COMMAND_IDS = new Set ( [
3335 'connect:claude' ,
You can’t perform that action at this time.
0 commit comments