fix(cursor): keep the cursor/ slug in the picker for unbranded rows - #3330
Conversation
#3222 seeded a display label for every Cursor row, so the Codex picker lost the cursor/ prefix: cursor/kimi-k3 rendered as "Kimi K3", indistinguishable from the same model under another provider. Publish only the labels that carry Cursor's own product name (Cursor Grok 4.5/4.6); every other row keeps the routed cursor/<id> slug like its siblings from other providers. Operator modelDisplayNames still win; enrich remains per-model fill-only.
|
✅ Deterministic PR hygiene checks passed. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe Cursor adapter now publishes display names only for Cursor-branded labels. Unbranded models retain their routed ChangesCursor display-name filtering
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to Cursor-branded models retain friendly picker labels, while unbranded Cursor-routed models display their cursor/ slugs. The covered behavior has no remaining merge-blocking risk. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
리뷰 · 우선순위 74 / 80이 PR은 Codex 모델 피커에서 Cursor 행이 다른 프로바이더와 헷갈리지 않게 고치는 표시(display) 전용 수정이다. 지금 코드 경로는 짧다. 기존 설치 동작도 PR 설명과 현재 라인 24 - 메인테이너의 판단이 필요한 지점
너의 추천
이 댓글은 grok-bot이 작성했습니다 |
Summary
cursor/<id>prefix in the Codex model picker for Cursor rows. feat(cursor): derive the picker seed from the capability table and label every row #3222 seeded a display label for every Cursor row, socursor/kimi-k3rendered as "Kimi K3" andcursor/claude-opus-5as "Claude Opus 5", indistinguishable from the same model under another provider.Cursor Grok 4.5,Cursor Grok 4.6) are published now; every other row falls back to the routed slug like sibling providers do.cursorModelDisplayNames()filters through the newisCursorBrandedLabelhelper.modelDisplayNamesentries still win;enrichProviderFromRegistrystays per-model fill-only, so an existing install just stops receiving the unbranded labels.Verification
bun test tests/cursor-display-names.test.ts tests/cursor-umbrella-rows.test.ts(19 pass) on the changed subsystem.Checklist
modelDisplayNamesreference already describes the fallback-to-slug behavior).Summary by CodeRabbit
cursor/<id>identifiers instead of receiving misleading display names.