@openclaw/muse 2026.11.5-beta.1 → 2026.11.5-beta.2
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.
|
@@ -15,7 +15,7 @@ import { createHash } from "node:crypto";
|
|
|
15
15
|
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
|
+
//#region extensions/muse/src/events.ts
|
|
19
19
|
function assistantMessage(params, content, stopReason = "stop") {
|
|
20
20
|
return {
|
|
21
21
|
role: "assistant",
|
|
@@ -199,9 +199,11 @@ async function consumeTurn(turn, params, record) {
|
|
|
199
199
|
outcome: await turn.completed
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
//#endregion
|
|
203
|
+
//#region extensions/muse/package.json
|
|
204
|
+
var version = "2026.11.5-beta.2";
|
|
205
|
+
//#endregion
|
|
206
|
+
//#region extensions/muse/src/runtime.ts
|
|
205
207
|
const RESUME_RETRY_KINDS = {
|
|
206
208
|
sessionInUse: true,
|
|
207
209
|
overloaded: true,
|
|
@@ -420,7 +422,8 @@ var MusePool = class {
|
|
|
420
422
|
}));
|
|
421
423
|
}
|
|
422
424
|
};
|
|
423
|
-
|
|
425
|
+
//#endregion
|
|
426
|
+
//#region extensions/muse/src/verify-setup.ts
|
|
424
427
|
function museDisplayName(modelId, displayLabel) {
|
|
425
428
|
const label = typeof displayLabel === "string" ? displayLabel : modelId;
|
|
426
429
|
if (label === modelId || modelId === "muse-wonder-full-1.0-contributor" && label === "muse-wonder-1.0-contributor") switch (modelId) {
|
|
@@ -477,7 +480,8 @@ var MuseCatalogReader = class {
|
|
|
477
480
|
await this.current?.pool.dispose();
|
|
478
481
|
}
|
|
479
482
|
};
|
|
480
|
-
|
|
483
|
+
//#endregion
|
|
484
|
+
//#region extensions/muse/harness.ts
|
|
481
485
|
/** Configuration Muse cannot honor; the message is safe and actionable for the chat user. */
|
|
482
486
|
function museRefusal(message) {
|
|
483
487
|
return new AgentHarnessPreflightError(message, {
|
|
@@ -988,4 +992,5 @@ function createMuseAgentHarness(options) {
|
|
|
988
992
|
}
|
|
989
993
|
};
|
|
990
994
|
}
|
|
995
|
+
//#endregion
|
|
991
996
|
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-dodfquL7.mjs","sha256":"311fa7c54918662738c93bfa955fbc9e4b479867d2d100c5b7e62b82c904317b","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":"ef63cb930fe5cab89246c95ac5d324a2db18982844ae3d9aec1bacbefdc87339","facadeSource":"extensions/muse/harness.ts","sources":[]},{"output":"index.js","sha256":"7bffb18d38c8d3867329e57ea9a01b30c392be03a9e190f4db760a1df676dc2a","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-dodfquL7.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-dodfquL7.mjs";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
3
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
|
-
|
|
4
|
+
//#region extensions/muse/index.ts
|
|
5
5
|
var muse_default = definePluginEntry({
|
|
6
6
|
id: "muse",
|
|
7
7
|
name: "Muse Code agent runtime",
|
|
@@ -38,4 +38,5 @@ var muse_default = definePluginEntry({
|
|
|
38
38
|
api.registerAgentHarness(harness);
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
+
//#endregion
|
|
41
42
|
export { muse_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/muse",
|
|
3
|
-
"version": "2026.11.5-beta.
|
|
3
|
+
"version": "2026.11.5-beta.2",
|
|
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.5-beta.
|
|
27
|
+
"pluginApi": ">=2026.11.5-beta.2"
|
|
28
28
|
},
|
|
29
29
|
"build": {
|
|
30
|
-
"openclawVersion": "2026.11.5-beta.
|
|
30
|
+
"openclawVersion": "2026.11.5-beta.2",
|
|
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.5-beta.
|
|
50
|
+
"openclaw": ">=2026.11.5-beta.2"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"openclaw": {
|