feat: rename summarize command to compact and update related descriptions for session compression

This commit is contained in:
Bohdan Triapitsyn
2026-01-08 21:10:38 +02:00
parent 49fb01f42d
commit 699fc7596a
4 changed files with 26 additions and 7 deletions
@@ -98,7 +98,7 @@ export const CommandAutocomplete = React.forwardRef<CommandAutocompleteHandle, C
]
: []
),
{ name: 'summarize', description: 'Generate a summary of the current session', isBuiltIn: true },
{ name: 'compact', description: 'Compress session history using AI to reduce context size', isBuiltIn: true },
];
const commandMap = new Map<string, CommandInfo>();
@@ -142,7 +142,7 @@ export const CommandAutocomplete = React.forwardRef<CommandAutocompleteHandle, C
]
: []
),
{ name: 'summarize', description: 'Generate a summary of the current session', isBuiltIn: true },
{ name: 'compact', description: 'Compress session history using AI to reduce context size', isBuiltIn: true },
];
const filtered = (searchQuery
@@ -215,7 +215,7 @@ export const CommandAutocomplete = React.forwardRef<CommandAutocompleteHandle, C
return <RiArrowGoForwardLine className="h-3.5 w-3.5 text-orange-500" />;
case 'timeline':
return <RiTimeLine className="h-3.5 w-3.5 text-blue-500" />;
case 'summarize':
case 'compact':
return <RiScissorsLine className="h-3.5 w-3.5 text-purple-500" />;
case 'test':
case 'build':