mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-05 00: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 {
|
function shouldUseCursorCliproxyShortcut(args: string[]): boolean {
|
||||||
return (
|
return args[0] === 'cursor' && CURSOR_CLIPROXY_SHORTCUT_FLAGS.has(args[1] || '');
|
||||||
args[0] === 'cursor' &&
|
|
||||||
args.some((arg, index) => index > 0 && CURSOR_CLIPROXY_SHORTCUT_FLAGS.has(arg))
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function resolveRuntimeReasoningFlags(
|
function resolveRuntimeReasoningFlags(
|
||||||
|
|||||||
Reference in New Issue
Block a user