diff --git a/src/ccs.ts b/src/ccs.ts index 31c4e61a..6442f55a 100644 --- a/src/ccs.ts +++ b/src/ccs.ts @@ -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(