fix(cli): allow @ file selector on slash command lines (#16370)

This commit is contained in:
Gal Zahavi
2026-01-13 14:01:30 -08:00
committed by GitHub
parent b518125c46
commit b2e866585d
4 changed files with 28 additions and 9 deletions
@@ -55,6 +55,7 @@ export interface UseCommandCompletionReturn {
leafCommand: SlashCommand | null;
};
getCompletedText: (suggestion: Suggestion) => string | null;
completionMode: CompletionMode;
}
export function useCommandCompletion(
@@ -341,5 +342,6 @@ export function useCommandCompletion(
getCommandFromSuggestion: slashCompletionRange.getCommandFromSuggestion,
slashCompletionRange,
getCompletedText,
completionMode,
};
}