@kontextmind/kxm 0.7.107 → 0.7.109
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.
- package/.claude-plugin/marketplace.json +1 -1
- package/package.json +1 -1
- package/plugins/kxm/.claude-plugin/plugin.json +1 -1
- package/plugins/kxm/dist/cli.js +1 -1
- package/plugins/kxm/dist/mcp-server.js +1 -1
- package/plugins/kxm/package.json +1 -1
- package/plugins/kxm/src/cli/project.ts +5 -1
- package/plugins/kxm/src/mcp-server.ts +1 -1
- package/scripts/kxm-worker.mjs +2 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
|
|
3
3
|
"name": "kxm",
|
|
4
4
|
"displayName": "KXM",
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.109",
|
|
6
6
|
"description": "Headless multi-agent orchestration, durable workflows, and a live operator dashboard for Pi and Claude Code",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "KontextMind",
|
package/plugins/kxm/dist/cli.js
CHANGED
|
@@ -35052,7 +35052,7 @@ function formatKxmSyncStatus(sync, running) {
|
|
|
35052
35052
|
return sync.map((project) => {
|
|
35053
35053
|
const codes = project.outbox.refusals.map((refusal) => `${refusal.code} x${refusal.count}`).join(", ");
|
|
35054
35054
|
if (project.storeReadable === false) {
|
|
35055
|
-
return `sync ${project.projectId}: blocked (
|
|
35055
|
+
return `sync ${project.projectId}: blocked (this build cannot open the project) \u2014 ${project.lastError ?? "unknown reason"}`;
|
|
35056
35056
|
}
|
|
35057
35057
|
const counts = `pending ${project.outbox.pending}, acked ${project.outbox.acked}, refused ${project.outbox.refused}`;
|
|
35058
35058
|
const tail = project.state === "refusing" ? ` (${codes || "see log"}) \u2014 fix the hub, then: kxm runtime sync-retry` : project.state === "blocked" ? ` \u2014 last error: ${project.lastError ?? "unreachable"}${project.nextAttemptAt ? `; next attempt ${project.nextAttemptAt}` : ""}` : "";
|
|
@@ -17313,7 +17313,7 @@ function sessionTokenFixHint(policy) {
|
|
|
17313
17313
|
}
|
|
17314
17314
|
|
|
17315
17315
|
// plugins/kxm/src/mcp-server.ts
|
|
17316
|
-
var VERSION = "0.7.
|
|
17316
|
+
var VERSION = "0.7.109";
|
|
17317
17317
|
var CONFIGURE_PLUGIN = "/plugin configure kxm@kxm";
|
|
17318
17318
|
var inbox = /* @__PURE__ */ new Map();
|
|
17319
17319
|
var notifiedInbox = /* @__PURE__ */ new Set();
|
package/plugins/kxm/package.json
CHANGED
|
@@ -1003,7 +1003,11 @@ function formatKxmSyncStatus(sync: KxmProjectSyncStatus[] | undefined, running:
|
|
|
1003
1003
|
// empty outbox. Saying "pending 0" there would send the operator looking
|
|
1004
1004
|
// somewhere else while every row in the project sits unreachable.
|
|
1005
1005
|
if (project.storeReadable === false) {
|
|
1006
|
-
|
|
1006
|
+
// "cannot open this project", not "its store is unreadable": what the
|
|
1007
|
+
// supervisor actually sees is whatever `openKxmRuntimeContext` refused —
|
|
1008
|
+
// an out-of-date event store *or* a project config a newer brake rejects.
|
|
1009
|
+
// Witnessed on kxm-dev-svr on 0.7.94, where it was the workflow config.
|
|
1010
|
+
return `sync ${project.projectId}: blocked (this build cannot open the project) — ${project.lastError ?? "unknown reason"}`;
|
|
1007
1011
|
}
|
|
1008
1012
|
const counts = `pending ${project.outbox.pending}, acked ${project.outbox.acked}, refused ${project.outbox.refused}`;
|
|
1009
1013
|
const tail = project.state === "refusing"
|
|
@@ -11,7 +11,7 @@ import { deliverInboxNotification } from "./inbox.ts";
|
|
|
11
11
|
import type { HubEvent, MessageRecord } from "./protocol.ts";
|
|
12
12
|
import { sessionTokenFixHint } from "./session-token-hint.ts";
|
|
13
13
|
|
|
14
|
-
const VERSION = "0.7.
|
|
14
|
+
const VERSION = "0.7.109";
|
|
15
15
|
const CONFIGURE_PLUGIN = "/plugin configure kxm@kxm";
|
|
16
16
|
const inbox = new Map<string, MessageRecord>();
|
|
17
17
|
const notifiedInbox = new Set<string>();
|
package/scripts/kxm-worker.mjs
CHANGED
|
@@ -923,6 +923,8 @@ function start() {
|
|
|
923
923
|
abortRequestId = undefined;
|
|
924
924
|
log("worker_drain_confirmed");
|
|
925
925
|
child?.stdin.end();
|
|
926
|
+
} else if (stopping && abortRequestId && response?.type === "response" && response.command === "abort") {
|
|
927
|
+
log("worker_abort_response_ignored", typeof response.id === "string" ? { responseId: response.id.slice(0, 128) } : {});
|
|
926
928
|
}
|
|
927
929
|
if (!stopping) observeRpcEvent(response);
|
|
928
930
|
} catch {
|