Repository navigation
Conversation
Registers muse (Muse Spark / Muse Code CLI) across the agent surface so worker-start, dispatch --inject detection, and the agent picker recognize it: - TuiAgent union, TUI_AGENT_CONFIG (detectCmd muse, launchCmd 'muse --yolo', stdin-after-start injection) - display names, telemetry kind, auto-pick order, type labels, skills-CLI key (null: no verified community key), iconable set - renderer agent catalog entry + locale keys (all six locales) - registry/startup tests covering the muse wiring --yolo covers first-launch workspace trust plus approvals (both swallow drafted preambles), matching agy --dangerously-skip-permissions. stdin-after-start chosen over argv: positional-prompt auto-submit is undocumented; verified end-to-end via terminal send against Muse Code 1.0.3. Closes stablyai#14901
There was a problem hiding this comment.
ℹ️ One minor cosmetic omission worth addressing before merge —
museships with no bundled or mobile icon asset. Nothing blocking.
Reviewed changes
- Agent registry wiring — registers
museacross the fullTuiAgentsurface: the union,TUI_AGENT_CONFIG(detectCmd: muse,launchCmd: muse --yolo,stdin-after-start), display name, telemetry kind, auto-pick order, type label, iconable set, and anullskills-CLI key with a justifying comment. - Renderer catalog + i18n — adds a desktop catalog entry (
cmd: muse,faviconDomain: dev.meta.ai, homepage) and the0fda695f70label key to all six locales with the English brand fallback. - Tests — extends
tui-agent-configandtui-agent-startupwith muse cases covering the launch command, expected process, and followup-prompt delivery.
ℹ️ Muse ships without a bundled or mobile icon asset
Every other favicon-path agent bundles a PNG so its icon renders without a live network request (#8451), but muse adds no src/shared/agent-icons/muse.png and no AGENT_FAVICON_ASSETS entry, so desktop falls back to Google's favicon service — the exact path that is unreachable offline and in some regions. Mobile is worse: muse is appended to TUI_AGENT_AUTO_PICK_ORDER, which drives MOBILE_AGENT_CATALOG, so it appears in the mobile picker, yet MOBILE_TUI_AGENT_FAVICON_DOMAINS has no muse entry and MOBILE_AGENT_ICON_ASSETS has no bundled icon, so mobile renders a bare letter "M".
Technical details
# Muse icon asset omission
## Affected sites
- `src/renderer/src/lib/agent-catalog.tsx:314` — `faviconDomain: 'dev.meta.ai'` is the only icon source; no bundled PNG, so desktop uses the live favicon service.
- `mobile/src/tasks/mobile-tui-agents.ts:16` — `MOBILE_TUI_AGENT_FAVICON_DOMAINS` has no `muse` entry (not in the diff).
- `mobile/src/components/mobile-agent-icon-assets.ts:12` — `MOBILE_AGENT_ICON_ASSETS` has no `muse` entry (not in the diff).
## Required outcome
- Add `src/shared/agent-icons/muse.png`, wire it into `AGENT_FAVICON_ASSETS` (desktop) and `MOBILE_AGENT_ICON_ASSETS` (mobile), and add `muse: 'dev.meta.ai'` to `MOBILE_TUI_AGENT_FAVICON_DOMAINS`.
## Open questions for the human
- Is `dev.meta.ai` the correct favicon domain for Muse Code? The homepage URL points at `dev.meta.ai/docs/muse-code`.DeepSeek Pro (free via Pullfrog for OSS) | 𝕏
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (14)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe change adds Muse as a supported TUI agent. It defines Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to Muse support adds selectable CLI integration, workspace trust launch behavior, configurable Yolo mode, and related presentation and documentation updates. Current coverage indicates the supported launch paths are ready to merge. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 18 files. (8 skipped: 8 unsupported.) Full details: Description checkExplanation The description explains the implementation, rationale, linked issue, testing, and out-of-scope work. However, it omits the required template sections and checklist items, including Visual Proof or an explicit N/A explanation, Agent skill upstream boundary, Notes, and the required checklist confirmations. Resolution Format the description using the repository template. Add the missing sections, provide visual proof or write N/A with a reason, complete the Agent skill upstream boundary declaration, address the Notes items, and complete the Testing and Checklist confirmations.
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: Team
Run ID: d185e73b-cded-49b6-b8a1-08af42c696bc
📒 Files selected for processing (18)
src/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/fr.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-kind.tssrc/shared/agent-type-label.tssrc/shared/skills-cli-agent-keys.tssrc/shared/telemetry-property-schemas.tssrc/shared/tui-agent-config.test.tssrc/shared/tui-agent-config.tssrc/shared/tui-agent-display-names.tssrc/shared/tui-agent-selection.tssrc/shared/tui-agent-startup.test.tssrc/shared/tui-agent.ts
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Renames auto.lib.agent.catalog.0fda695f70 to muse_label per config/i18n-translation-source.md (new keys must be intent-named; hash IDs are grandfathered only).
|
Follow-up pushed (2a4c44a):
|
Adds src/shared/agent-icons/muse.png (32x32 Meta mark; 32px matches existing amp/autohand/copilot precedents, no minimum size is enforced) and wires it into AGENT_FAVICON_ASSETS, MOBILE_AGENT_ICON_ASSETS, and MOBILE_TUI_AGENT_FAVICON_DOMAINS so neither surface falls back to the live favicon service or a bare letter glyph (stablyai#8451).
|
Icon follow-up pushed (b4b25f1): bundled |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Intent-named locale ID — renames the
Musecatalog label key from the hash-based0fda695f70tomuse_labelacross all six locale files and the rendereragent-catalog.tsxreference, satisfying the renderer intent-named-ID rule.
The rename is applied consistently with no stray 0fda695f70 references remaining in the repo, and the translate(…, 'Muse') fallback keeps the rendered label unchanged, so there is no behavioral surface.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Bundled Muse icon assets — adds
src/shared/agent-icons/muse.png(valid 32×32 PNG) and wires it into the desktopAGENT_FAVICON_ASSETSand the mobileMOBILE_AGENT_ICON_ASSETS+MOBILE_TUI_AGENT_FAVICON_DOMAINSmaps, resolving the prior offline/region icon concern.
Both desktop and mobile now render the Muse icon from a bundled asset with no live favicon-service request, and the mobile ratchet test now covers muse since it keys off MOBILE_TUI_AGENT_FAVICON_DOMAINS.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏
John-Cusack
left a comment
There was a problem hiding this comment.
Blocking on current main: Muse hardcodes --yolo in TUI_AGENT_CONFIG.launchCmd. Orca now manages permission bypasses through YOLO_TUI_AGENT_ARGS, allowing Settings → Agents → Agent Permissions to switch between Yolo and Manual. Because the bypass is embedded in the base launch command, Manual mode cannot remove it and every Muse session disables approval and sandboxing and trusts the workspace. muse --help from Muse Code 1.0.3 confirms those --yolo semantics.
Please leave the Muse launch command bare (muse / omit launchCmd), add muse: "--yolo" to YOLO_TUI_AGENT_ARGS, and add coverage showing Yolo launches with the flag while Manual launches without it.
For context, I rebased this patch locally onto current main; typecheck, changed-file quality checks, and 208 focused tests passed, and a real Muse 1.0.3 echo-provider smoke test launched successfully. The current tests do not exercise Muse through Manual permission mode.
|
I prepared a focused follow-up branch from this PR exact head to address the permission finding and complete the public docs:
Validation:
The full unsharded root test run completed with 72,443 passing tests and 29 failures outside these changed files, including missing local These two commits appear ready to cherry-pick into this PR for CI and maintainer review. I have not opened a competing upstream PR. |
|
Done. I cherry-picked both commits onto this branch: a41184c (permission fix) and b57d42a (docs). I also added the Muse badge to the six READMEs in docs/readme/ (174f53d), with image paths fixed for that folder. Checks on my side pass: typecheck, lint, 159 focused tests, docs tests. I confirmed against muse 1.0.3 that --trust-workspace keeps approvals on. CI runs show action_required, so a maintainer must approve the run before it starts. |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Muse permission mode respected — moved
--yoloout ofTUI_AGENT_CONFIG.launchCmdand intoYOLO_TUI_AGENT_ARGS, with the base command nowmuse --trust-workspace. Settings → Agents → Agent Permissions now switches Muse between Yolo (muse --trust-workspace --yolo) and Manual (muse --trust-workspace), directly resolving the prior blocker. - Startup + permission coverage — replaced the single assertion with an
it.eachtable spanning yolo/manual across linux/darwin/win32 (posix/powershell/cmd), and added anapplyAgentPermissionModetest asserting Manual strips the--yoloflag. - Docs — added Muse to the supported-agents table (
macOS/Linux; trusts the workspace at launch) and its badge toREADME.mdplus the six localized READMEs.
I verified --trust-workspace is a real Muse Code flag that skips the first-launch trust menu without disabling approval/sandbox, so the trust/permission split is correct. The only note — in yolo mode --trust-workspace is redundant alongside --yolo — is harmless.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏
|
brennanb2025 — ready for review. Two asks: approve the four pending workflow runs, then review when you can. |
|
@brennanb2025 No rush, but quite a useful change to review |
|
What @arseniizakharov?? Of course it's a useful change, this is the only reason why I'm thinking about switching to Orca 😂 |
|
Please @brennanb2025 come here! This is the real deal |
|
GO GO GO GO MUSE ON ORCA |
|
We need Muse on ORCA! |
|
LGTM |
|
Thank you for this! First-class Muse Code support has now landed in #22216, which builds on its baseline agent registration, permissions, mobile, icon and docs from this PR (credited in the PR description). Closing as superseded. |
|
Up |


Closes #14901.
Registers
muse(Muse Spark / Muse Code CLI) across the agent surface soworker-start,dispatch --injectprocess detection (derived fromexpectedProcess), and the agent picker recognize it:TuiAgentunion +TUI_AGENT_CONFIG(detectCmd: muse,launchCmd: muse --yolo,stdin-after-start)null— no verified community key, per that file's rule), iconable setVerification notes (Muse Code 1.0.3, macOS):
museblocks on a first-launch workspace-trust menu that swallows drafted preambles —--yolocovers trust plus approvals (neither answerable by a supervised worker), matchingagy --dangerously-skip-permissions.stdin-after-startoverargv: positional-prompt auto-submit is undocumented; paste-after-start verified end-to-end viaorca terminal send(prompt delivered, worker replied).tsc --noEmitpasses on node/cli/web projects; targeted vitest files pass (tui-agent-config, tui-agent-startup incl. new muse cases, skills-cli-agent-keys, agent-kind, inject-rejection-message, paste-draft, followup-delivery, keybindings, skills discovery); oxlint clean; localization extraction + catalog verifiers pass.Out of scope / follow-ups:
worker-read) — Muse documents hooks + session JSONL; left for a follow-up once maintainers confirm the preferred provider shape.--model/--effortlaunch preferences currently apply to Claude/Codex/Cursor only.