Repository navigation
feat(agents): add Qoder CLI identity and icon support - #7502
vincent-lxc wants to merge 3 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between 058cfd4a7be29b79d35222e8a9d39ce6c26b80a0 and c635426. 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThis PR adds Qoder support across shared agent types, telemetry, detection, launch/config mappings, renderer catalog and status display, mobile TUI mappings, and localization files. It also extracts Gemini terminal-title detection into a separate module, adds Qoder-specific terminal/process recognition, and extends tests for the new agent paths. Related PRs: None identified. Suggested labels: enhancement, agent-support Suggested reviewers: None specified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 9d726f51-e6fe-4163-881d-2a227ee64ca5
📥 Commits
Reviewing files that changed from the base of the PR and between 638a8f7 and 67c6dab6e1fb3f2aea66afff7a92d15b9c94d3c0.
📒 Files selected for processing (22)
mobile/src/tasks/mobile-tui-agents.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.jsonsrc/renderer/src/lib/agent-catalog.tsxsrc/renderer/src/lib/agent-status.tssrc/shared/agent-detection.tssrc/shared/agent-kind.tssrc/shared/agent-name-token-match.tssrc/shared/agent-process-recognition.test.tssrc/shared/agent-status-types.tssrc/shared/gemini-terminal-title.tssrc/shared/telemetry-events.tssrc/shared/terminal-title-agent-type.test.tssrc/shared/terminal-title-agent-type.tssrc/shared/tui-agent-config.tssrc/shared/tui-agent-display-names.tssrc/shared/tui-agent-permissions.tssrc/shared/tui-agent-selection.tssrc/shared/types.ts
There was a problem hiding this comment.
🧹 Nitpick comments (1)
src/renderer/src/lib/use-tab-agent.test.ts (1)
118-130: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick winTest doesn't actually exercise Gemini-glyph vs Qoder title disambiguation.
Since
hookAgentis null,resolveTabAgentFromSignalsreturnsprocessAgent('qoder') unconditionally per its priority chain focusedHookAgent ?? processAgent ?? titleAgent ?? activeLaunchAgent ?? fallbackHookAgent.titleAgentis never evaluated in this scenario, so the test would pass even if the new Gemini-exclusion/Qoder title-detection logic ingemini-terminal-title.tswere broken or missing entirely — it only re-verifies the pre-existingprocessAgentprecedence, not the new title-parsing behavior this PR introduces.Consider adding a companion case with
processAgent: undefined/nulland the same glyph title, asserting the result resolves to'qoder'via title-only detection (and, ideally, a case confirming a bare Gemini glyph title without Qoder markers still resolves to'gemini').
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: fd07b3ed-c23d-46ca-8a3e-dc584a2385ea
📥 Commits
Reviewing files that changed from the base of the PR and between 67c6dab6e1fb3f2aea66afff7a92d15b9c94d3c0 and 8345517979b8a59d8c5e0afe7be685d881c75168.
📒 Files selected for processing (1)
src/renderer/src/lib/use-tab-agent.test.ts
Register qodercli as a first-class TuiAgent so tab badges, settings, and mobile pickers show the Qoder icon instead of misidentifying it as Gemini. Process recognition maps the qodercli foreground binary, and title parsing prefers Qoder before Gemini-style OSC glyphs. Fixes stablyai#7480
Locks in the stablyai#7480 fix path where qodercli foreground identity must win over ◇/✦ titles that otherwise classify as Gemini.
Document Qoder-before-Gemini precedence in getAgentLabel and add title-only tab-agent tests for qodercli markers vs bare Gemini glyphs.
058cfd4 to
c635426
Compare
|
Would love to see Qoder CLI recognized in Orca — thanks for pushing this forward! |
|
thanks for reporting. looking into it |
|
thanks for reporting. looking into it |
|
Cross-reviewed this proposal while consolidating Qoder support in #23581. The consolidated change carries forward the registration, identity and mobile groundwork. It uses structural Qoder titles before Gemini matching and the currently documented permission flag. Your contribution is credited with a |
feat: add first-class Qoder CLI support Integrate Qoder launch, identity, canonical hook status, trust and resume. Verify with captured Qoder 1.1.64 transcripts and hidden Electron sidebar checks. Builds on and cross-reviews #7502, #8611, #9655, #12910, #13311 and #15291. Co-authored-by: dalveytech-vincent <[email protected]> Co-authored-by: Eridanus117 <[email protected]> Co-authored-by: xingqingzzp-gif <[email protected]> Co-authored-by: jyang2004 <[email protected]> Co-authored-by: yunqian <[email protected]> Co-authored-by: huzhening.hzn <[email protected]>
|
Superseded by merged #23581, which includes Qoder identity/icon support plus launch, canonical sidebar status, trust, and resume integration. Cross-reviewed this proposal and preserved its author in the squash commit co-author credits. Thank you for the contribution. Verification details and remaining live-Qoder limitations are documented in #23581. |
Summary
Fixes #7480.
Qoder CLI (
qodercli) was not registered as a first-class agent in Orca. When users ran Qoder in a terminal, tab badges and worktree agent rows could show the Gemini icon and label instead — Qoder shares Gemini-style OSC title glyphs (✦, ◇, etc.) but is a separate product.This PR adds full
qoderagent support:qodercliforeground binaryqoder.com) and label--yolopermission mode parity with Qoder's documented CLI flagScreenshots
No visual change in static screenshots — the fix is visible when running
qodercliin an Orca terminal: the tab icon and agent badge should show Qoder (qoder.com favicon) instead of Gemini.Testing
pnpm exec oxlinton changed filespnpm verify:localization-catalogpnpm vitest run --config config/vitest.config.ts src/shared/agent-process-recognition.test.ts src/shared/terminal-title-agent-type.test.ts src/shared/agent-detection.test.tspnpm lint— full suite not run locally (Node v22 vs required v24)pnpm typecheck— blocked locally by pre-existing upstream error inwindows-hidden-console-children.test.tson macOSpnpm test— not run locallypnpm build— not run locallyqodercliprocess recognition and Qoder title → agent mappingAI Review Report
Reviewed for:
qoderclidetection uses the same path-normalized process matching as other agents (works on macOS/Linux/Windows.exepaths).AgentIconpath; i18n synced across en/es/ja/ko/zh.Security Audit
No new security surface. Changes are limited to agent identity registration, title disambiguation, and catalog metadata. The
--yoloflag is wired through the existing permission-mode system, same as other agents.Notes
Extracted
isGeminiTerminalTitleintosrc/shared/gemini-terminal-title.tsto keepagent-detection.tsunder the max-lines lint budget while adding Qoder-before-Gemini disambiguation.ELI5
Qoder CLI is recognized as its own agent instead of wrongly showing as Gemini. Correct icon, label, and title parsing for
qoderclisessions.