mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 04:18:05 +00:00
fix(cli): narrow cursor cliproxy shortcut routing
This commit is contained in:
+1
-4
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user