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

32 lines
14 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":"01a0ee45-d4b5-7b36-adce-a396e7f9286f","workspaceRoot":"/tmp/muse-phase0/repo","modelId":"meta/muse-spark-1.3","providerId":"meta","approvalMode":"onRequest"}}}
{"dir":"in","msg":{"emittedAtMs":1790703949070,"jsonrpc":"2.0","method":"session/started","params":{"session":{"activeTurnId":null,"approvalMode":{"lastCommandId":null,"mode":"onRequest","source":"startup"},"createdAt":"2026-09-29T17:45:48.992273Z","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0ee45-d4bd-77d2-98a0-79c6a1333e80/session.jsonl","providerId":"meta","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","status":"idle","turnCount":0,"updatedAt":"2026-09-29T17:45:48.992277Z","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:45:48.992273Z","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0ee45-d4bd-77d2-98a0-79c6a1333e80/session.jsonl","providerId":"meta","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","status":"idle","turnCount":0,"updatedAt":"2026-09-29T17:45:48.992277Z","workspaceRoot":"/tmp/muse-phase0/repo"},"viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:1"}}}
{"dir":"in","msg":{"emittedAtMs":1790703949078,"jsonrpc":"2.0","method":"session/approvalModeChanged","params":{"clientName":"paseo_phase0","commandId":"01a0ee45-d4b5-7b36-adce-a396e7f9286f","mode":"onRequest","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","source":"approvalReconfigure","sourceRange":{"first":{"id":"7ac702ca-483a-4aed-821f-2262a0f48943","sequence":5},"last":{"id":"7ac702ca-483a-4aed-821f-2262a0f48943","sequence":5},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:1"}}}
{"dir":"out","msg":{"jsonrpc":"2.0","id":3,"method":"skill/list","params":{"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80"}}}
{"dir":"in","msg":{"id":3,"jsonrpc":"2.0","result":{"skills":[{"description":"Reply with the Phase 0 skill marker.","displayName":"phase0","selector":"phase0","source":"project"}]}}}
{"dir":"out","msg":{"jsonrpc":"2.0","id":4,"method":"turn/start","params":{"commandId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","input":[{"type":"skill","selector":"phase0"}],"reasoningEffort":"low"}}}
{"dir":"in","msg":{"emittedAtMs":1790703949087,"jsonrpc":"2.0","method":"session/branchChanged","params":{"branch":"main","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"5ec98360-5a49-4413-bbdc-e423513d09ec","sequence":14},"last":{"id":"5ec98360-5a49-4413-bbdc-e423513d09ec","sequence":14},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"vcs":"git","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:2","workspaceRoot":"/tmp/muse-phase0/repo"}}}
{"dir":"in","msg":{"id":4,"jsonrpc":"2.0","result":{"commandId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e","disposition":"started","startedNewTurn":true,"status":"accepted","turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e"}}}
{"dir":"in","msg":{"emittedAtMs":1790703949095,"jsonrpc":"2.0","method":"session/statusChanged","params":{"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","status":"running","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:3"}}}
{"dir":"in","msg":{"emittedAtMs":1790703949096,"jsonrpc":"2.0","method":"turn/started","params":{"commandId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"f8fbf545-2d43-4311-bf8c-dc367f670464","sequence":15},"last":{"id":"f8fbf545-2d43-4311-bf8c-dc367f670464","sequence":15},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:3"}}}
{"dir":"in","msg":{"emittedAtMs":1790703949096,"jsonrpc":"2.0","method":"item/completed","params":{"item":{"commandId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e","itemId":"5dbcaf15-bef5-49bf-8569-5242008ac198","kind":"userMessage","recordedAt":"2026-09-29T17:45:49.087991Z","revision":1,"status":"completed","text":"/phase0","turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e"},"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"f8fbf545-2d43-4311-bf8c-dc367f670464","sequence":15},"last":{"id":"f8fbf545-2d43-4311-bf8c-dc367f670464","sequence":15},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:4"}}}
{"dir":"in","msg":{"emittedAtMs":1790703949096,"jsonrpc":"2.0","method":"item/started","params":{"item":{"childSessionId":"24712ab9-77e4-450a-98b1-cfb455e64a99","fallbackText":"Reminder child session","generationId":1,"itemId":"3e9a8a07-f7ed-400f-aecd-45413565ff84","kind":"reminderChild","recordedAt":"2026-09-29T17:45:49.096505Z","reminderAgentId":"skill-reminder","revision":1,"status":"inProgress","taskId":"01a0ee45-d527-7133-8954-a78cbe078b40","turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e"},"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"3e9a8a07-f7ed-400f-aecd-45413565ff84","sequence":34},"last":{"id":"3e9a8a07-f7ed-400f-aecd-45413565ff84","sequence":34},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:5"}}}
{"dir":"in","msg":{"emittedAtMs":1790703949101,"jsonrpc":"2.0","method":"session/listChanged","params":{"session":{"activeTurnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e","createdAt":"2026-09-29T17:45:48.992273Z","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0ee45-d4bd-77d2-98a0-79c6a1333e80/session.jsonl","providerId":"meta","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","status":"running","turnCount":0,"updatedAt":"2026-09-29T17:45:49.096262Z","workspaceRoot":"/tmp/muse-phase0/repo"}}}}
{"dir":"in","msg":{"emittedAtMs":1790703952151,"jsonrpc":"2.0","method":"item/started","params":{"item":{"itemId":"59a7cac6-9558-4ff9-a029-6871aa0f250f","kind":"agentMessage","revision":1,"status":"inProgress","text":"","turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e"},"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:5.1"}}}
{"dir":"in","msg":{"emittedAtMs":1790703952151,"jsonrpc":"2.0","method":"item/delta","params":{"delta":"SKILL_PHASE0","field":"text","itemId":"59a7cac6-9558-4ff9-a029-6871aa0f250f","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:5.2"}}}
{"dir":"in","msg":{"emittedAtMs":1790703952151,"jsonrpc":"2.0","method":"item/delta","params":{"delta":"_OK","field":"text","itemId":"59a7cac6-9558-4ff9-a029-6871aa0f250f","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:5.3"}}}
{"dir":"in","msg":{"emittedAtMs":1790703952208,"jsonrpc":"2.0","method":"item/completed","params":{"item":{"itemId":"59a7cac6-9558-4ff9-a029-6871aa0f250f","kind":"agentMessage","recordedAt":"2026-09-29T17:45:52.208437Z","revision":2,"status":"completed","text":"SKILL_PHASE0_OK","turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e"},"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"f6ce5178-aab1-4205-a5cf-07a01992991d","sequence":47},"last":{"id":"f6ce5178-aab1-4205-a5cf-07a01992991d","sequence":47},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:6"}}}
{"dir":"in","msg":{"emittedAtMs":1790703952212,"jsonrpc":"2.0","method":"session/tokenUsage","params":{"cumulative":{"outputTokens":28,"promptTokens":38273,"totalTokens":38301},"durationMs":3111,"modelId":"meta/muse-spark-1.3","promptTokens":38273,"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"38e7ce9f-4de8-4e5b-9051-e4f3cbabeb07","sequence":50},"last":{"id":"38e7ce9f-4de8-4e5b-9051-e4f3cbabeb07","sequence":50},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"totalTokens":38301,"turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e","usage":{"cacheReadTokens":0,"cacheWriteTokens":0,"cachedTokens":0,"inputTokens":38273,"outputTokens":28,"reasoningTokens":13},"viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:7"}}}
{"dir":"in","msg":{"emittedAtMs":1790703952214,"jsonrpc":"2.0","method":"item/started","params":{"item":{"childSessionId":"e36de071-1e04-472d-aa8a-8ceddb5de660","childSessionLogPath":"subagent/e36de071-1e04-472d-aa8a-8ceddb5de660/session.jsonl","fallbackText":"Reminder child session","generationId":1,"itemId":"c787e6af-1d6d-44b6-892e-2e8bc714b3b3","kind":"reminderChild","recordedAt":"2026-09-29T17:45:52.214263Z","reminderAgentId":"verify-reminder","revision":1,"status":"inProgress","taskId":"01a0ee45-e154-7511-a5d1-c318a04ffaca","turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e"},"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"c787e6af-1d6d-44b6-892e-2e8bc714b3b3","sequence":57},"last":{"id":"c787e6af-1d6d-44b6-892e-2e8bc714b3b3","sequence":57},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:8"}}}
{"dir":"in","msg":{"emittedAtMs":1790703958991,"jsonrpc":"2.0","method":"item/completed","params":{"item":{"childSessionId":"24712ab9-77e4-450a-98b1-cfb455e64a99","fallbackText":"Reminder child session","generationId":1,"itemId":"3e9a8a07-f7ed-400f-aecd-45413565ff84","kind":"reminderChild","recordedAt":"2026-09-29T17:45:58.991191Z","reminderAgentId":"skill-reminder","revision":2,"status":"completed","taskId":"01a0ee45-d527-7133-8954-a78cbe078b40","turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e"},"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"3e9a8a07-f7ed-400f-aecd-45413565ff84","sequence":34},"last":{"id":"f5852563-4e6c-497f-a014-b9f510fd8a08","sequence":59},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:9"}}}
{"dir":"in","msg":{"emittedAtMs":1790703958991,"jsonrpc":"2.0","method":"item/completed","params":{"item":{"childSessionId":"e36de071-1e04-472d-aa8a-8ceddb5de660","childSessionLogPath":"subagent/e36de071-1e04-472d-aa8a-8ceddb5de660/session.jsonl","fallbackText":"Reminder child session","generationId":1,"itemId":"c787e6af-1d6d-44b6-892e-2e8bc714b3b3","kind":"reminderChild","recordedAt":"2026-09-29T17:45:58.991586Z","reminderAgentId":"verify-reminder","revision":2,"status":"completed","taskId":"01a0ee45-e154-7511-a5d1-c318a04ffaca","turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e"},"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"c787e6af-1d6d-44b6-892e-2e8bc714b3b3","sequence":57},"last":{"id":"49c39143-103a-4ff6-9da9-5f460199aad5","sequence":60},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:10"}}}
{"dir":"in","msg":{"emittedAtMs":1790703958993,"jsonrpc":"2.0","method":"session/statusChanged","params":{"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","status":"idle","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:11"}}}
{"dir":"in","msg":{"emittedAtMs":1790703958994,"jsonrpc":"2.0","method":"turn/completed","params":{"durationMs":9905,"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","sourceRange":{"first":{"id":"0085e82d-1273-4721-a949-b0616fc6e059","sequence":66},"last":{"id":"0085e82d-1273-4721-a949-b0616fc6e059","sequence":66},"stream":{"id":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","kind":"session"}},"terminal":"completed","timeToFirstTokenMs":3063,"turnId":"01a0ee45-d51c-7adf-a4fc-c0c3e6b0a03e","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:11"}}}
{"dir":"in","msg":{"emittedAtMs":1790703958994,"jsonrpc":"2.0","method":"session/listChanged","params":{"session":{"activeTurnId":null,"branch":"main","createdAt":"2026-09-29T17:45:48.989825Z","firstUserPrompt":"/phase0","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0ee45-d4bd-77d2-98a0-79c6a1333e80/session.jsonl","providerId":"meta","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","status":"idle","title":"/phase0","turnCount":1,"updatedAt":"2026-09-29T17:45:58.993139Z","workspaceRoot":"/tmp/muse-phase0/repo"}}}}
{"dir":"in","msg":{"emittedAtMs":1790703959207,"jsonrpc":"2.0","method":"session/closed","params":{"reason":"hostShutdown","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:12"}}}
{"dir":"in","msg":{"emittedAtMs":1790703959207,"jsonrpc":"2.0","method":"session/statusChanged","params":{"sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","status":"notLoaded","viewCursor":"v:01a0ee45-d4bd-77d2-98a0-79c6a1333e80:12"}}}
{"dir":"in","msg":{"emittedAtMs":1790703959207,"jsonrpc":"2.0","method":"session/listChanged","params":{"session":{"activeTurnId":null,"branch":"main","createdAt":"2026-09-29T17:45:48.989825Z","firstUserPrompt":"/phase0","forkedFrom":null,"modelId":"meta/muse-spark-1.3","path":"/tmp/muse-phase0/data/muse/sessions/2026/09/29/01a0ee45-d4bd-77d2-98a0-79c6a1333e80/session.jsonl","providerId":"meta","sessionId":"01a0ee45-d4bd-77d2-98a0-79c6a1333e80","status":"notLoaded","title":"/phase0","turnCount":1,"updatedAt":"2026-09-29T17:45:58.994348Z","workspaceRoot":"/tmp/muse-phase0/repo"}}}}