From 93afdb50bf767087839123d1a09bda045fca34c7 Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Wed, 15 Apr 2026 00:37:31 -0400 Subject: [PATCH] fix(cli): narrow cursor cliproxy shortcut routing --- src/ccs.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(