@kontextmind/kxm 0.7.80 → 0.7.82
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 +4 -3
- package/plugins/kxm/dist/mcp-server.js +1 -1
- package/plugins/kxm/package.json +1 -1
- package/plugins/kxm/src/cli/project.ts +6 -3
- package/plugins/kxm/src/mcp-server.ts +1 -1
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.82",
|
|
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
|
@@ -32780,7 +32780,7 @@ async function cmdKxmRuntime(runtime, action) {
|
|
|
32780
32780
|
const sync = status.running ? await readKxmSupervisorSync(runtime) : void 0;
|
|
32781
32781
|
print(runtime.io, runtime.json, { ok: true, command: "runtime status", ...status, ...sync ? { sync } : {} }, [
|
|
32782
32782
|
status.running ? `runtime supervisor running: ${status.runtimeId} pid ${status.pid} on 127.0.0.1:${status.port}` : "runtime supervisor is not running",
|
|
32783
|
-
...formatKxmSyncStatus(sync)
|
|
32783
|
+
...formatKxmSyncStatus(sync, status.running)
|
|
32784
32784
|
].join("\n"));
|
|
32785
32785
|
return status.running ? 0 : 1;
|
|
32786
32786
|
}
|
|
@@ -32839,8 +32839,9 @@ async function readKxmSupervisorSync(runtime) {
|
|
|
32839
32839
|
return void 0;
|
|
32840
32840
|
}
|
|
32841
32841
|
}
|
|
32842
|
-
function formatKxmSyncStatus(sync) {
|
|
32843
|
-
if (
|
|
32842
|
+
function formatKxmSyncStatus(sync, running) {
|
|
32843
|
+
if (!running) return [];
|
|
32844
|
+
if (sync === void 0) return ["sync: the supervisor is running but did not answer /v1/sync/status"];
|
|
32844
32845
|
if (sync.length === 0) return ["sync: no project registered with this Runtime yet"];
|
|
32845
32846
|
return sync.map((project) => {
|
|
32846
32847
|
const codes = project.outbox.refusals.map((refusal) => `${refusal.code} x${refusal.count}`).join(", ");
|
|
@@ -17182,7 +17182,7 @@ async function deliverInboxNotification(messageId, delivered, notify) {
|
|
|
17182
17182
|
}
|
|
17183
17183
|
|
|
17184
17184
|
// plugins/kxm/src/mcp-server.ts
|
|
17185
|
-
var VERSION = "0.7.
|
|
17185
|
+
var VERSION = "0.7.82";
|
|
17186
17186
|
var inbox = /* @__PURE__ */ new Map();
|
|
17187
17187
|
var notifiedInbox = /* @__PURE__ */ new Set();
|
|
17188
17188
|
var meshClient;
|
package/plugins/kxm/package.json
CHANGED
|
@@ -758,7 +758,7 @@ export async function cmdKxmRuntime(runtime: Runtime, action: string): Promise<n
|
|
|
758
758
|
status.running
|
|
759
759
|
? `runtime supervisor running: ${status.runtimeId} pid ${status.pid} on 127.0.0.1:${status.port}`
|
|
760
760
|
: "runtime supervisor is not running",
|
|
761
|
-
...formatKxmSyncStatus(sync),
|
|
761
|
+
...formatKxmSyncStatus(sync, status.running),
|
|
762
762
|
].join("\n"));
|
|
763
763
|
return status.running ? 0 : 1;
|
|
764
764
|
}
|
|
@@ -820,8 +820,11 @@ async function readKxmSupervisorSync(runtime: Runtime): Promise<KxmProjectSyncSt
|
|
|
820
820
|
}
|
|
821
821
|
}
|
|
822
822
|
|
|
823
|
-
function formatKxmSyncStatus(sync: KxmProjectSyncStatus[] | undefined): string[] {
|
|
824
|
-
|
|
823
|
+
function formatKxmSyncStatus(sync: KxmProjectSyncStatus[] | undefined, running: boolean): string[] {
|
|
824
|
+
// Nothing was asked, so nothing failed to answer. Saying "did not answer" here
|
|
825
|
+
// would blame a supervisor that was never up.
|
|
826
|
+
if (!running) return [];
|
|
827
|
+
if (sync === undefined) return ["sync: the supervisor is running but did not answer /v1/sync/status"];
|
|
825
828
|
if (sync.length === 0) return ["sync: no project registered with this Runtime yet"];
|
|
826
829
|
return sync.map((project) => {
|
|
827
830
|
const codes = project.outbox.refusals.map((refusal) => `${refusal.code} x${refusal.count}`).join(", ");
|
|
@@ -8,7 +8,7 @@ import { AGENT_COMMANDS_MAP, enforceToolPolicy, getMcpTools, reconcileInbox } fr
|
|
|
8
8
|
import { deliverInboxNotification } from "./inbox.ts";
|
|
9
9
|
import type { HubEvent, MessageRecord } from "./protocol.ts";
|
|
10
10
|
|
|
11
|
-
const VERSION = "0.7.
|
|
11
|
+
const VERSION = "0.7.82";
|
|
12
12
|
const inbox = new Map<string, MessageRecord>();
|
|
13
13
|
const notifiedInbox = new Set<string>();
|
|
14
14
|
let meshClient: HubClient | undefined;
|