mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-11 10:57:07 +00:00
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>
This commit is contained in:
co-authored by
millerben95
parent
7b7685678d
commit
8332f4d1ff
@@ -1,6 +1,7 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { readFile, stat } from "node:fs/promises";
|
||||
import { mkdtemp, readFile, rm, stat } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import os from "node:os";
|
||||
import test from "node:test";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import pino from "pino";
|
||||
@@ -28,7 +29,8 @@ test("built output compiles and starts every listed built-in", async () => {
|
||||
const { version } = JSON.parse(
|
||||
await readFile(path.join(repoRoot, "packages/server/package.json"), "utf8"),
|
||||
);
|
||||
const runtime = new PluginRuntime(pino({ level: "silent" }), version);
|
||||
const settingsDirectory = await mkdtemp(path.join(os.tmpdir(), "builtin-dist-settings-"));
|
||||
const runtime = new PluginRuntime(pino({ level: "silent" }), version, { settingsDirectory });
|
||||
runtime.bindPaseoSessionHost({
|
||||
async attachPluginSocket(_pluginId, socket) {
|
||||
const closed = new Promise((resolve) => socket.once("close", resolve));
|
||||
@@ -76,5 +78,6 @@ test("built output compiles and starts every listed built-in", async () => {
|
||||
}
|
||||
} finally {
|
||||
await runtime.stopAll();
|
||||
await rm(settingsDirectory, { recursive: true, force: true });
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user