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

27 lines
13 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/start","params":{"commandId":"01a0ee48-370c-77f6-a1d7-ea885b8777bf","workspaceRoot":"/tmp/muse-phase0/repo","modelId":"meta/muse-spark-1.3","providerId":"meta","approvalMode":"onRequest"}}}
{"dir":"in","msg":{"emittedAtMs":1790704105319,"jsonrpc":"2.0","method":"session/started","params":{"session":{"activeTurnId":null,"approvalMode":{"lastCommandId":null,"mode":"onRequest","source":"startup"},"createdAt":"2026-09-29T17:48:25.238493Z","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0ee48-3713-70a0-bab7-ab463b7bc580/session.jsonl","providerId":"meta","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","status":"idle","turnCount":0,"updatedAt":"2026-09-29T17:48:25.238497Z","workspaceRoot":"/tmp/muse-phase0/repo"}}}}
{"dir":"in","msg":{"id":2,"jsonrpc":"2.0","result":{"session":{"activeTurnId":null,"approvalMode":{"lastCommandId":null,"mode":"onRequest","source":"startup"},"createdAt":"2026-09-29T17:48:25.238493Z","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0ee48-3713-70a0-bab7-ab463b7bc580/session.jsonl","providerId":"meta","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","status":"idle","turnCount":0,"updatedAt":"2026-09-29T17:48:25.238497Z","workspaceRoot":"/tmp/muse-phase0/repo"},"viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:1"}}}
{"dir":"in","msg":{"emittedAtMs":1790704105325,"jsonrpc":"2.0","method":"session/approvalModeChanged","params":{"clientName":"paseo_phase0","commandId":"01a0ee48-370c-77f6-a1d7-ea885b8777bf","mode":"onRequest","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","source":"approvalReconfigure","sourceRange":{"first":{"id":"1114a956-7136-4272-8928-65125b088788","sequence":5},"last":{"id":"1114a956-7136-4272-8928-65125b088788","sequence":5},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:1"}}}
{"dir":"out","msg":{"jsonrpc":"2.0","id":3,"method":"turn/start","params":{"commandId":"01a0ee48-376d-7cff-a66c-5e1ac7035295","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","input":[{"type":"text","text":"Reply exactly RESUME_MARKER_OK without tools."}],"reasoningEffort":"low"}}}
{"dir":"in","msg":{"emittedAtMs":1790704105327,"jsonrpc":"2.0","method":"session/branchChanged","params":{"branch":"main","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"186af8df-b20d-481a-bdf5-592206b9239f","sequence":15},"last":{"id":"186af8df-b20d-481a-bdf5-592206b9239f","sequence":15},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"vcs":"git","viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:2","workspaceRoot":"/tmp/muse-phase0/repo"}}}
{"dir":"in","msg":{"id":3,"jsonrpc":"2.0","result":{"commandId":"01a0ee48-376d-7cff-a66c-5e1ac7035295","disposition":"started","startedNewTurn":true,"status":"accepted","turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295"}}}
{"dir":"in","msg":{"emittedAtMs":1790704105335,"jsonrpc":"2.0","method":"session/statusChanged","params":{"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","status":"running","viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:3"}}}
{"dir":"in","msg":{"emittedAtMs":1790704105336,"jsonrpc":"2.0","method":"turn/started","params":{"commandId":"01a0ee48-376d-7cff-a66c-5e1ac7035295","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"3e854976-f69f-406b-8f8d-783610940ff2","sequence":17},"last":{"id":"3e854976-f69f-406b-8f8d-783610940ff2","sequence":17},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295","viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:3"}}}
{"dir":"in","msg":{"emittedAtMs":1790704105336,"jsonrpc":"2.0","method":"item/completed","params":{"item":{"commandId":"01a0ee48-376d-7cff-a66c-5e1ac7035295","itemId":"21b34e05-d5c5-492b-b166-b261039b69b1","kind":"userMessage","recordedAt":"2026-09-29T17:48:25.328624Z","revision":1,"status":"completed","text":"Reply exactly RESUME_MARKER_OK without tools.","turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295"},"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"3e854976-f69f-406b-8f8d-783610940ff2","sequence":17},"last":{"id":"3e854976-f69f-406b-8f8d-783610940ff2","sequence":17},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:4"}}}
{"dir":"in","msg":{"emittedAtMs":1790704105336,"jsonrpc":"2.0","method":"item/started","params":{"item":{"childSessionId":"76293abd-9c8a-4a09-8edf-377e9e17bf81","fallbackText":"Reminder child session","generationId":1,"itemId":"1275560b-0426-4de0-91c2-e76c1698e73b","kind":"reminderChild","recordedAt":"2026-09-29T17:48:25.335588Z","reminderAgentId":"skill-reminder","revision":1,"status":"inProgress","taskId":"01a0ee48-3776-7a82-b1bc-b843d01dbbf3","turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295"},"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"1275560b-0426-4de0-91c2-e76c1698e73b","sequence":35},"last":{"id":"1275560b-0426-4de0-91c2-e76c1698e73b","sequence":35},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:5"}}}
{"dir":"in","msg":{"emittedAtMs":1790704105340,"jsonrpc":"2.0","method":"session/listChanged","params":{"session":{"activeTurnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295","createdAt":"2026-09-29T17:48:25.238493Z","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0ee48-3713-70a0-bab7-ab463b7bc580/session.jsonl","providerId":"meta","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","status":"running","turnCount":0,"updatedAt":"2026-09-29T17:48:25.335835Z","workspaceRoot":"/tmp/muse-phase0/repo"}}}}
{"dir":"in","msg":{"emittedAtMs":1790704108467,"jsonrpc":"2.0","method":"item/started","params":{"item":{"itemId":"141a95ec-0b8f-47fe-9e95-c3cfcc50b8a5","kind":"agentMessage","revision":1,"status":"inProgress","text":"","turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295"},"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:5.1"}}}
{"dir":"in","msg":{"emittedAtMs":1790704108467,"jsonrpc":"2.0","method":"item/delta","params":{"delta":"RESUME_MARKER_OK","field":"text","itemId":"141a95ec-0b8f-47fe-9e95-c3cfcc50b8a5","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:5.2"}}}
{"dir":"in","msg":{"emittedAtMs":1790704108508,"jsonrpc":"2.0","method":"item/completed","params":{"item":{"itemId":"141a95ec-0b8f-47fe-9e95-c3cfcc50b8a5","kind":"agentMessage","recordedAt":"2026-09-29T17:48:28.508252Z","revision":2,"status":"completed","text":"RESUME_MARKER_OK","turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295"},"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"4dd2a6ba-ca4e-43f0-a652-abe5fa688f28","sequence":48},"last":{"id":"4dd2a6ba-ca4e-43f0-a652-abe5fa688f28","sequence":48},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:6"}}}
{"dir":"in","msg":{"emittedAtMs":1790704108518,"jsonrpc":"2.0","method":"session/tokenUsage","params":{"cumulative":{"outputTokens":27,"promptTokens":38130,"totalTokens":38157},"durationMs":3178,"modelId":"meta/muse-spark-1.3","promptTokens":38130,"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"95501ca7-8eb6-4e73-9b15-33a440a26899","sequence":51},"last":{"id":"95501ca7-8eb6-4e73-9b15-33a440a26899","sequence":51},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"totalTokens":38157,"turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295","usage":{"cacheReadTokens":8433,"cacheWriteTokens":0,"cachedTokens":8433,"inputTokens":38130,"outputTokens":27,"reasoningTokens":12},"viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:7"}}}
{"dir":"in","msg":{"emittedAtMs":1790704108520,"jsonrpc":"2.0","method":"item/started","params":{"item":{"childSessionId":"e9f3e28f-f760-4a06-8127-543e89e5ca72","childSessionLogPath":"subagent/e9f3e28f-f760-4a06-8127-543e89e5ca72/session.jsonl","fallbackText":"Reminder child session","generationId":1,"itemId":"bebe2029-2f83-4cbb-9ac5-6da291835a0c","kind":"reminderChild","recordedAt":"2026-09-29T17:48:28.520288Z","reminderAgentId":"verify-reminder","revision":1,"status":"inProgress","taskId":"01a0ee48-43e7-7921-8a10-bbfc1f118cdc","turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295"},"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"bebe2029-2f83-4cbb-9ac5-6da291835a0c","sequence":58},"last":{"id":"bebe2029-2f83-4cbb-9ac5-6da291835a0c","sequence":58},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:8"}}}
{"dir":"in","msg":{"emittedAtMs":1790704110815,"jsonrpc":"2.0","method":"item/completed","params":{"item":{"childSessionId":"e9f3e28f-f760-4a06-8127-543e89e5ca72","childSessionLogPath":"subagent/e9f3e28f-f760-4a06-8127-543e89e5ca72/session.jsonl","fallbackText":"Reminder child session","generationId":1,"itemId":"bebe2029-2f83-4cbb-9ac5-6da291835a0c","kind":"reminderChild","recordedAt":"2026-09-29T17:48:30.814728Z","reminderAgentId":"verify-reminder","revision":2,"status":"completed","taskId":"01a0ee48-43e7-7921-8a10-bbfc1f118cdc","turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295"},"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"bebe2029-2f83-4cbb-9ac5-6da291835a0c","sequence":58},"last":{"id":"89cebb28-940c-4f03-975b-08a31fb6130b","sequence":60},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:9"}}}
{"dir":"in","msg":{"emittedAtMs":1790704110818,"jsonrpc":"2.0","method":"item/completed","params":{"item":{"childSessionId":"76293abd-9c8a-4a09-8edf-377e9e17bf81","failureReason":"main run completed","fallbackText":"Reminder child session","generationId":1,"itemId":"1275560b-0426-4de0-91c2-e76c1698e73b","kind":"reminderChild","recordedAt":"2026-09-29T17:48:30.818129Z","reminderAgentId":"skill-reminder","revision":2,"status":"cancelled","taskId":"01a0ee48-3776-7a82-b1bc-b843d01dbbf3","turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295"},"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"1275560b-0426-4de0-91c2-e76c1698e73b","sequence":35},"last":{"id":"d87d7ad7-417f-4517-bcd2-c9df575e485d","sequence":64},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:10"}}}
{"dir":"in","msg":{"emittedAtMs":1790704110818,"jsonrpc":"2.0","method":"session/statusChanged","params":{"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","status":"idle","viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:11"}}}
{"dir":"in","msg":{"emittedAtMs":1790704110819,"jsonrpc":"2.0","method":"turn/completed","params":{"durationMs":5489,"sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"a16b76fe-60d7-4208-9c2c-d74d1f03e264","sequence":66},"last":{"id":"a16b76fe-60d7-4208-9c2c-d74d1f03e264","sequence":66},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"terminal":"completed","timeToFirstTokenMs":3139,"turnId":"01a0ee48-376d-7cff-a66c-5e1ac7035295","viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:11"}}}
{"dir":"in","msg":{"emittedAtMs":1790704110819,"jsonrpc":"2.0","method":"session/branchChanged","params":{"branch":"main","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","sourceRange":{"first":{"id":"d1b814a6-7e5a-4dab-8018-97c1116890e6","sequence":67},"last":{"id":"d1b814a6-7e5a-4dab-8018-97c1116890e6","sequence":67},"stream":{"id":"01a0ee48-3713-70a0-bab7-ab463b7bc580","kind":"session"}},"vcs":"git","viewCursor":"v:01a0ee48-3713-70a0-bab7-ab463b7bc580:12","workspaceRoot":"/tmp/muse-phase0/repo"}}}
{"dir":"in","msg":{"emittedAtMs":1790704110819,"jsonrpc":"2.0","method":"session/listChanged","params":{"session":{"activeTurnId":null,"branch":"main","createdAt":"2026-09-29T17:48:25.236035Z","firstUserPrompt":"Reply exactly RESUME_MARKER_OK without tools.","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0ee48-3713-70a0-bab7-ab463b7bc580/session.jsonl","providerId":"meta","sessionId":"01a0ee48-3713-70a0-bab7-ab463b7bc580","status":"idle","title":"Reply exactly RESUME_MARKER_OK without tools.","turnCount":1,"updatedAt":"2026-09-29T17:48:30.819204Z","workspaceRoot":"/tmp/muse-phase0/repo"}}}}