Skip to content

cross-ai: fix stale agy/cursor model ids and cursor trust gate#15

Merged
Tanq16 merged 1 commit into
mainfrom
fix/cross-ai-model-ids
Jul 18, 2026
Merged

cross-ai: fix stale agy/cursor model ids and cursor trust gate#15
Tanq16 merged 1 commit into
mainfrom
fix/cross-ai-model-ids

Conversation

@Tanq16

@Tanq16 Tanq16 commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Why

The embedded cross-ai skill carried model ids that no longer resolve, so the skill failed at runtime — the errors were a mix of rejected model ids and cursor's workspace-trust gate (not an auth problem). Verified every replacement id with a live one-line run against each CLI.

What changed (internal/embedded/default-skills/cross-ai/SKILL.md)

agy — flagship gemini-3.1-progemini-3.1-pro-high

  • There is no bare gemini-3.1-pro; agy models only exposes (Low)/(High) tiers. Fixed in the dispatch table and both pty truncation-guard commands.
  • Refreshed alternates to verified ids: gemini-3.5-flash-low, claude-opus-4-6-thinking, gpt-oss-120b-medium (dropped gemini-3.5-flash, claude-opus, claude-sonnet — all rejected by the CLI).

cursor — flagship gpt-5.5gpt-5.5-high

  • There is no bare gpt-5.5 in cursor either. Also added --trust: cursor-agent blocks on a "Workspace Trust Required" prompt in any untrusted directory. --trust grants directory trust only — it is not --force/--yolo and does not auto-approve edits/commands, so the read-only posture holds. Documented alongside the agy truncation guard.
  • Refreshed alternates from the account's cursor-agent --list-models: gpt-5.5-high-fast, claude-opus-4-8-thinking-high, composer-2.5, cursor-grok-4.5-high, gpt-5.3-codex (dropped gemini-3.1-pro and grok-4.3 — cursor has no gemini and grok is now cursor-grok-4.5-high).

codex — left unchanged (gpt-5.5) per current preference.

Maintenance note added — documented that agy models prints display names, not ids, and the display→id mapping is inconsistent (not every shown tier resolves; dotted vs dashed version separators vary), so a specific agy id should be confirmed with a one-line run before trusting it.

Verification

All updated ids confirmed live:

  • agy --model gemini-3.1-pro-highOK (and each listed agy alt individually).
  • cursor-agent --model gpt-5.5-high --trust --output-format json | jq -r '.result'OK (full dispatch pipeline).
  • go build ./... clean (embed intact).

Heads-up: this fixes the embedded skill that ships in the binary. Your already-materialized local global copy (~/.config/claudex/global/skills/cross-ai) won't update until it's re-synced from the rebuilt binary.

🤖 Generated with Claude Code

The embedded cross-ai skill shipped model ids that no longer resolve,
causing failures when the skill was used:

- agy flagship gemini-3.1-pro -> gemini-3.1-pro-high (no bare form
  exists; only Low/High tiers). Updated in the dispatch table and both
  pty truncation-guard commands.
- cursor flagship gpt-5.5 -> gpt-5.5-high (no bare form exists).
- cursor also blocked on a Workspace Trust prompt in any untrusted
  directory; added --trust (grants directory trust only, not
  --force/--yolo, so the read-only posture holds) and documented it.
- Refreshed both override-table 'other selectable' lists with ids
  verified against agy/cursor-agent directly; dropped ones that no
  longer resolve (agy claude-sonnet, cursor gemini/grok-4.3).
- Documented agy's display-name-vs-id quirk in the stale-id rule.

codex row left unchanged per current preference. All updated ids
were confirmed with live one-line test runs against each CLI.
@Tanq16
Tanq16 merged commit c1fdb72 into main Jul 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant