fix(cli): narrow cursor cliproxy shortcut routing

This commit is contained in:
Tam Nhu Tran
2026-04-15 00:37:31 -04:00
parent dc94b9c1c9
commit 93afdb50bf
+1 -4
View File
@@ -150,10 +150,7 @@ function detectProfile(args: string[]): DetectedProfile {
}
function shouldUseCursorCliproxyShortcut(args: string[]): boolean {
return (
args[0] === 'cursor' &&
args.some((arg, index) => index > 0 && CURSOR_CLIPROXY_SHORTCUT_FLAGS.has(arg))
);
return args[0] === 'cursor' && CURSOR_CLIPROXY_SHORTCUT_FLAGS.has(args[1] || '');
}
function resolveRuntimeReasoningFlags(