chore: Tab for slash command autocomplete (#249)

This commit is contained in:
Devansh Jain
2025-12-16 16:46:13 -08:00
committed by GitHub
parent 0f6ec5e21b
commit e9d6b16e86
7 changed files with 110 additions and 46 deletions

View File

@@ -9,6 +9,7 @@ interface InputAssistProps {
cursorPosition: number;
onFileSelect: (path: string) => void;
onCommandSelect: (command: string) => void;
onCommandAutocomplete: (command: string) => void;
onAutocompleteActiveChange: (isActive: boolean) => void;
agentId?: string;
agentName?: string | null;
@@ -27,6 +28,7 @@ export function InputAssist({
cursorPosition,
onFileSelect,
onCommandSelect,
onCommandAutocomplete,
onAutocompleteActiveChange,
agentId,
agentName,
@@ -68,6 +70,7 @@ export function InputAssist({
currentInput={currentInput}
cursorPosition={cursorPosition}
onSelect={onCommandSelect}
onAutocomplete={onCommandAutocomplete}
onActiveChange={onAutocompleteActiveChange}
agentId={agentId}
workingDirectory={workingDirectory}