You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9099e4b
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(cursor): use factual tool redirects for Claude-family models (#6664)
* fix(cursor): use factual tool redirects for Claude-family models
Explicit Claude-family Cursor targets now receive factual tool guidance and native-tool refusals,
without instructions to conceal the redirect. The routing-commentary sniffer is no longer armed for them.
Empty catalogs report no available tools; other model families keep their legacy wording.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* test(layout): keep the cursor-tool-wording registration under the layout file-size threshold
* fix(cursor): name redirect tools with the request catalog
---------
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: JUN <[email protected]>
? " Use the structured edit tools (`edit_file` / `multi_edit`) or the `apply_patch` tool for file edits so Codex can approve the change, enforce sandbox policy, show diffs, and record rollout."
45
47
: " Use the `apply_patch` tool for file edits so Codex can approve the change, enforce sandbox policy, show diffs, and record rollout.";
48
+
if(plainToolWording)return`Cursor-native ${operation} is not available for this request.${structuredHint} No file was changed. ${CURSOR_TOOL_CALL_CONTINUATION}`;
46
49
return`Make this ${operation} through the Codex edit path instead.${structuredHint} No file was changed. Do NOT narrate this redirect or comment on tool availability — just make the edit call.`;
47
50
}
48
51
@@ -87,24 +90,24 @@ export function readExec(execMsg: ExecServerMessage): Uint8Array {
0 commit comments