@openclaw/muse 2026.11.8 → 2026.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,7 +16,7 @@ import path from "node:path";
|
|
|
16
16
|
import { MspError, Session, readSessionDurability, spawnMspConnection } from "@muse-code/sdk";
|
|
17
17
|
import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
|
|
18
18
|
import { racePromiseWithAbortSignal } from "openclaw/plugin-sdk/time-runtime";
|
|
19
|
-
|
|
19
|
+
// extensions/muse/src/events.ts
|
|
20
20
|
function assistantMessage(params, content, stopReason = "stop") {
|
|
21
21
|
return {
|
|
22
22
|
role: "assistant",
|
|
@@ -200,11 +200,9 @@ async function consumeTurn(turn, params, record) {
|
|
|
200
200
|
outcome: await turn.completed
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
//#endregion
|
|
207
|
-
//#region extensions/muse/src/runtime.ts
|
|
203
|
+
// extensions/muse/package.json
|
|
204
|
+
var version = "2026.11.9";
|
|
205
|
+
// extensions/muse/src/runtime.ts
|
|
208
206
|
const RESUME_RETRY_KINDS = {
|
|
209
207
|
sessionInUse: true,
|
|
210
208
|
overloaded: true,
|
|
@@ -426,8 +424,7 @@ var MusePool = class {
|
|
|
426
424
|
}));
|
|
427
425
|
}
|
|
428
426
|
};
|
|
429
|
-
|
|
430
|
-
//#region extensions/muse/src/verify-setup.ts
|
|
427
|
+
// extensions/muse/src/verify-setup.ts
|
|
431
428
|
function museDisplayName(modelId, displayLabel) {
|
|
432
429
|
const label = typeof displayLabel === "string" ? displayLabel : modelId;
|
|
433
430
|
if (label === modelId || modelId === "muse-wonder-full-1.0-contributor" && label === "muse-wonder-1.0-contributor") switch (modelId) {
|
|
@@ -484,8 +481,7 @@ var MuseCatalogReader = class {
|
|
|
484
481
|
await this.current?.pool.dispose();
|
|
485
482
|
}
|
|
486
483
|
};
|
|
487
|
-
|
|
488
|
-
//#region extensions/muse/harness.ts
|
|
484
|
+
// extensions/muse/harness.ts
|
|
489
485
|
/** Configuration Muse cannot honor; the message is safe and actionable for the chat user. */
|
|
490
486
|
function museRefusal(message) {
|
|
491
487
|
return new AgentHarnessPreflightError(message, {
|
|
@@ -998,5 +994,4 @@ function createMuseAgentHarness(options) {
|
|
|
998
994
|
}
|
|
999
995
|
};
|
|
1000
996
|
}
|
|
1001
|
-
//#endregion
|
|
1002
997
|
export { createMuseAgentHarness as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"harness.js","source":"extensions/muse/harness.ts"},{"output":"index.js","source":"extensions/muse/index.ts"}],"chunks":[{"output":".setup/harness-
|
|
1
|
+
{"version":3,"entries":[{"output":"harness.js","source":"extensions/muse/harness.ts"},{"output":"index.js","source":"extensions/muse/index.ts"}],"chunks":[{"output":".setup/harness-Cv94zvGZ.mjs","sha256":"26f85d2855864a59d439a6c07e5986d9e8a63ea525801de2b422b5fa42ec1192","facadeSource":null,"sources":["extensions/muse/harness.ts","extensions/muse/package.json","extensions/muse/src/events.ts","extensions/muse/src/runtime.ts","extensions/muse/src/verify-setup.ts"]},{"output":"harness.js","sha256":"37ad6ea293db8992f4116e92237fae0a818090d1ea09fdf5c24ac567530c8532","facadeSource":"extensions/muse/harness.ts","sources":[]},{"output":"index.js","sha256":"b67eff6e6ea52c02b090dcc0df5847efc6609bc2e613d1223f1ef6be2233bfc7","facadeSource":"extensions/muse/index.ts","sources":["extensions/muse/index.ts"]}],"unrenderedSources":[]}
|
package/dist/harness.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createMuseAgentHarness } from "./.setup/harness-
|
|
1
|
+
export { t as createMuseAgentHarness } from "./.setup/harness-Cv94zvGZ.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as createMuseAgentHarness } from "./.setup/harness-
|
|
1
|
+
import { t as createMuseAgentHarness } from "./.setup/harness-Cv94zvGZ.mjs";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
3
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
|
-
|
|
4
|
+
// extensions/muse/index.ts
|
|
5
5
|
var muse_default = definePluginEntry({
|
|
6
6
|
id: "muse",
|
|
7
7
|
name: "Muse Code agent runtime",
|
|
@@ -38,5 +38,4 @@ var muse_default = definePluginEntry({
|
|
|
38
38
|
api.registerAgentHarness(harness);
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
//#endregion
|
|
42
41
|
export { muse_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/muse",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.9",
|
|
4
4
|
"description": "OpenClaw Muse Code agent runtime plugin (registers a `muse` AgentHarness backed by @muse-code/sdk over the Muse Session Protocol to the Muse Code CLI)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"minHostVersion": ">=2026.10.2"
|
|
25
25
|
},
|
|
26
26
|
"compat": {
|
|
27
|
-
"pluginApi": ">=2026.11.
|
|
27
|
+
"pluginApi": ">=2026.11.9"
|
|
28
28
|
},
|
|
29
29
|
"build": {
|
|
30
|
-
"openclawVersion": "2026.11.
|
|
30
|
+
"openclawVersion": "2026.11.9",
|
|
31
31
|
"bundledDist": false
|
|
32
32
|
},
|
|
33
33
|
"release": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"assets/activity.svg"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"openclaw": ">=2026.11.
|
|
50
|
+
"openclaw": ">=2026.11.9"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"openclaw": {
|