Files
Mohamed Boudraandmillerben95 8332f4d1ff feat(muse): add Muse Code as a built-in provider plugin (#5719)
* test(muse): record real host protocol fixtures

* feat(muse): add built-in MSP provider

Co-authored-by: millerben95 <millerben95@users.noreply.github.com>

* fix(muse): expose provider settings in the app

The daemon registered host settings without a client contribution, leaving sandbox, network, and workspace trust unreachable. Share the definition with a settings screen and expose it through Command Center even when installed plugins are disabled.

* docs(muse): publish setup and provider support

* test: correct runtime fixtures and restart readiness

* fix(muse): hide reminder housekeeping from the timeline

* fix(muse): use the official Muse Code mark

Source: https://muse.ai/images/favicon/app-squiggle.svg

Preserve the official silhouette path verbatim. Remove its gradient definition and use currentColor, scaling the original 100-unit coordinates into the 24-unit viewBox. Black silhouette renders match pixel-for-pixel.

* fix(muse): adapt to current plugin APIs

Use the screen API introduced with sidebar plugin items. Usage reports now come from source account discovery; remove the retired agent usage-reference request and headline marker, and exercise discovery through the existing provider fixtures.

---------

Co-authored-by: millerben95 <millerben95@users.noreply.github.com>
2026-09-30 14:56:41 +01:00

12 lines
7.1 KiB
Plaintext

{"dir":"out","msg":{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"clientInfo":{"name":"paseo_phase0","version":"0.0.0"},"capabilities":{"experimentalApi":true,"requestedCapabilities":["sessionMcp","sessionListStream"]}}}}
{"dir":"in","msg":{"id":1,"jsonrpc":"2.0","result":{"experimentalApi":true,"grantedCapabilities":["sessionMcp","sessionListStream"],"museHome":"/tmp/muse-phase0/data/muse","platformFamily":"unix","platformOs":"linux","schema":{"fingerprint":"sha256:e0e163db6ccf00dbe68402ce55d6319b3edc33c421f31e9583b587b2de8a118f","version":1},"serverInfo":{"name":"muse","version":"1.4.1"},"sessionDurability":"durable","userAgent":"muse-build/1.4.1 (non-interactive; linux-x86_64; build 35815c253477406321e3f5595195becc25e3907a)"}}}
{"dir":"out","msg":{"jsonrpc":"2.0","method":"initialized","params":{}}}
{"dir":"out","msg":{"jsonrpc":"2.0","id":2,"method":"session/resume","params":{"commandId":"01a0eec8-6d41-7072-aef7-5a43e3e9d4f3","sessionId":"01a0eec4-3420-7d50-bfdb-bc7f1701193e"}}}
{"dir":"in","msg":{"emittedAtMs":1790712507811,"jsonrpc":"2.0","method":"session/branchChanged","params":{"branch":"main","sessionId":"01a0eec4-3420-7d50-bfdb-bc7f1701193e","sourceRange":{"first":{"id":"a5a6c352-8740-487f-8c6a-e6bf0063a7a9","sequence":133},"last":{"id":"a5a6c352-8740-487f-8c6a-e6bf0063a7a9","sequence":133},"stream":{"id":"01a0eec4-3420-7d50-bfdb-bc7f1701193e","kind":"session"}},"vcs":"git","viewCursor":"v:01a0eec4-3420-7d50-bfdb-bc7f1701193e:22","workspaceRoot":"/tmp/muse-phase0/repo"}}}
{"dir":"in","msg":{"id":2,"jsonrpc":"2.0","result":{"history":{"items":[{"commandId":"01a0eec4-347d-7a14-a97f-3fd6be129dda","itemId":"38d5182a-7782-429b-83e7-7abbf478b742","kind":"userMessage","recordedAt":"2026-09-29T20:03:51.040894Z","revision":1,"status":"completed","text":"Use todo_write to create two todos: inspect f (in progress) and report (pending). Then use ask_user_question to ask me to choose Blue or Green before proceeding. Do not infer my answer.","turnId":"01a0eec4-347d-7a14-a97f-3fd6be129dda"},{"childSessionId":"ea994a51-a77f-4052-85d7-50112251cccb","failureReason":"main run cancelled","fallbackText":"Reminder child session","generationId":1,"itemId":"b64f0073-af31-4829-82a0-daeb601a87e9","kind":"reminderChild","recordedAt":"2026-09-29T20:05:44.307979Z","reminderAgentId":"skill-reminder","revision":2,"status":"cancelled","taskId":"01a0eec4-3488-7911-aa2c-46f3d9929027","turnId":"01a0eec4-347d-7a14-a97f-3fd6be129dda"},{"args":"{\"todos\":[{\"status\":\"in_progress\",\"text\":\"inspect f\"},{\"status\":\"pending\",\"text\":\"report\"}]}","callId":"call_01a0eec4e0b576aabeae2e104585722e","itemId":"01a0eec4-e2b8-72c3-9a10-5c710d5b666f","kind":"toolCall","recordedAt":"2026-09-29T20:04:35.642482Z","revision":2,"status":"completed","tool":"write_todos","turnId":"01a0eec4-347d-7a14-a97f-3fd6be129dda","visibleOutput":"{\"items\":2,\"ok\":true,\"revision\":1}"},{"args":"{\"questions\":[{\"header\":\"Color\",\"id\":\"color_choice\",\"options\":[{\"label\":\"Blue\"},{\"label\":\"Green\"}],\"question\":\"Which color should I proceed with, Blue or Green?\"}]}","callId":"call_01a0eec5357571379191c94326ef7ab8","itemId":"01a0eec5-3894-7a91-9762-e13cf06c117f","kind":"toolCall","recordedAt":"2026-09-29T20:04:57.624274Z","revision":2,"status":"completed","tool":"request_user_input","turnId":"01a0eec4-347d-7a14-a97f-3fd6be129dda","visibleOutput":"{\"status\":\"answered\",\"answers\":[{\"id\":\"color_choice\",\"selected_label\":\"Blue\"}]}"},{"itemId":"e187c684-c3d9-45e8-bbae-c1507cc9e8d1","kind":"agentMessage","recordedAt":"2026-09-29T20:05:15.287526Z","revision":2,"status":"completed","text":"You chose Blue.\n\nTodos created: inspect f (in progress), report (pending). Awaiting direction to proceed.","turnId":"01a0eec4-347d-7a14-a97f-3fd6be129dda"},{"childSessionId":"cf7f87cb-f82a-441e-b840-b89cfdc03e18","childSessionLogPath":"subagent/cf7f87cb-f82a-441e-b840-b89cfdc03e18/session.jsonl","failureReason":"main run cancelled","fallbackText":"Reminder child session","generationId":1,"itemId":"9da8e5a6-f48f-4cfb-b8ed-79ea0d71f842","kind":"reminderChild","recordedAt":"2026-09-29T20:05:44.308134Z","reminderAgentId":"verify-reminder","revision":2,"status":"cancelled","taskId":"01a0eec5-7d9c-7f61-b098-af5f30813223","turnId":"01a0eec4-347d-7a14-a97f-3fd6be129dda"}],"mode":"inline","snapshot":null},"pendingRequests":[],"session":{"activeTurnId":null,"approvalMode":{"lastCommandId":null,"mode":"onRequest","source":"replay"},"branch":"main","createdAt":"2026-09-29T20:03:50.94472Z","firstUserPrompt":"Use todo_write to create two todos: inspect f (in progress) and report (pending). Then use ask_user_question to ask me to choose Blue or Green before proceeding. Do not infer my answer.","forkedFrom":null,"lastActivityAt":"2026-09-29T20:05:44.308362Z","modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0eec4-3420-7d50-bfdb-bc7f1701193e/session.jsonl","providerId":"meta","sessionId":"01a0eec4-3420-7d50-bfdb-bc7f1701193e","status":"idle","title":"Use todo_write to create two todos: inspect f (in progress) and report (pending). Then use ask_user_question to ask me to choose Blue or Green before proceeding. Do not infer my answer.","turnCount":1,"updatedAt":"2026-09-29T20:08:27.729097Z","workspaceRoot":"/tmp/muse-phase0/repo"},"viewCursor":"v:01a0eec4-3420-7d50-bfdb-bc7f1701193e:22"}}}
{"dir":"out","msg":{"jsonrpc":"2.0","id":3,"method":"session/compact","params":{"commandId":"01a0eec8-7193-752f-a80c-afb8c437efab","sessionId":"01a0eec4-3420-7d50-bfdb-bc7f1701193e"}}}
{"dir":"in","msg":{"error":{"code":-32030,"data":{"commandId":"01a0eec8-7193-752f-a80c-afb8c437efab","kind":"commandRejected","reason":"compaction_unavailable","retryable":false},"message":"session/compact command 01a0eec8-7193-752f-a80c-afb8c437efab rejected: compaction_unavailable"},"id":3,"jsonrpc":"2.0"}}
{"dir":"in","msg":{"emittedAtMs":1790712568834,"jsonrpc":"2.0","method":"session/closed","params":{"reason":"hostShutdown","sessionId":"01a0eec4-3420-7d50-bfdb-bc7f1701193e","viewCursor":"v:01a0eec4-3420-7d50-bfdb-bc7f1701193e:22"}}}
{"dir":"in","msg":{"emittedAtMs":1790712568834,"jsonrpc":"2.0","method":"session/statusChanged","params":{"sessionId":"01a0eec4-3420-7d50-bfdb-bc7f1701193e","status":"notLoaded","viewCursor":"v:01a0eec4-3420-7d50-bfdb-bc7f1701193e:22"}}}
{"dir":"in","msg":{"emittedAtMs":1790712568834,"jsonrpc":"2.0","method":"session/listChanged","params":{"session":{"activeTurnId":null,"branch":"main","createdAt":"2026-09-29T20:03:50.94472Z","firstUserPrompt":"Use todo_write to create two todos: inspect f (in progress) and report (pending). Then use ask_user_question to ask me to choose Blue or Green before proceeding. Do not infer my answer.","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0eec4-3420-7d50-bfdb-bc7f1701193e/session.jsonl","providerId":"meta","sessionId":"01a0eec4-3420-7d50-bfdb-bc7f1701193e","status":"notLoaded","title":"Use todo_write to create two todos: inspect f (in progress) and report (pending). Then use ask_user_question to ask me to choose Blue or Green before proceeding. Do not infer my answer.","turnCount":1,"updatedAt":"2026-09-29T20:08:28.819534Z","workspaceRoot":"/tmp/muse-phase0/repo"}}}}