@kontextmind/kxm 0.7.63 → 0.7.64

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.
@@ -11,7 +11,7 @@
11
11
  "name": "kxm",
12
12
  "source": "./plugins/kxm",
13
13
  "description": "Durable workflows, peer agents, and kxm tui",
14
- "version": "0.7.63",
14
+ "version": "0.7.64",
15
15
  "category": "development",
16
16
  "tags": ["kxm", "multi-agent", "workflows", "mcp"]
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontextmind/kxm",
3
- "version": "0.7.63",
3
+ "version": "0.7.64",
4
4
  "description": "KXM local-first multi-agent orchestration and operator dashboard",
5
5
  "type": "module",
6
6
  "author": "KontextMind",
@@ -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.63",
5
+ "version": "0.7.64",
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",
@@ -17121,7 +17121,7 @@ async function deliverInboxNotification(messageId, delivered, notify) {
17121
17121
  }
17122
17122
 
17123
17123
  // plugins/kxm/src/mcp-server.ts
17124
- var VERSION = "0.7.63";
17124
+ var VERSION = "0.7.64";
17125
17125
  var inbox = /* @__PURE__ */ new Map();
17126
17126
  var notifiedInbox = /* @__PURE__ */ new Set();
17127
17127
  var meshClient;
@@ -16102,8 +16102,9 @@ function probeHarnessAssignment(options) {
16102
16102
  };
16103
16103
  }
16104
16104
  const authArgs = ["auth", "check"];
16105
- if (options.model) {
16106
- authArgs.push("--model", options.model);
16105
+ const qualifiedModel = options.model ? options.provider && options.model.startsWith(`${options.provider}/`) ? options.model : options.provider ? `${options.provider}/${options.model}` : options.model : void 0;
16106
+ if (qualifiedModel) {
16107
+ authArgs.push("--model", qualifiedModel);
16107
16108
  } else if (options.provider) {
16108
16109
  authArgs.push("--provider", options.provider);
16109
16110
  }
@@ -16125,8 +16125,9 @@ function probeHarnessAssignment(options) {
16125
16125
  };
16126
16126
  }
16127
16127
  const authArgs = ["auth", "check"];
16128
- if (options.model) {
16129
- authArgs.push("--model", options.model);
16128
+ const qualifiedModel = options.model ? options.provider && options.model.startsWith(`${options.provider}/`) ? options.model : options.provider ? `${options.provider}/${options.model}` : options.model : void 0;
16129
+ if (qualifiedModel) {
16130
+ authArgs.push("--model", qualifiedModel);
16130
16131
  } else if (options.provider) {
16131
16132
  authArgs.push("--provider", options.provider);
16132
16133
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-plugin",
3
- "version": "0.7.63",
3
+ "version": "0.7.64",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "engines": {
@@ -1118,8 +1118,17 @@ export function probeHarnessAssignment(options: HarnessAssignmentProbeOptions):
1118
1118
  }
1119
1119
 
1120
1120
  const authArgs = ["auth", "check"];
1121
- if (options.model) {
1122
- authArgs.push("--model", options.model);
1121
+ // `pi auth check --model` requires a provider-qualified id: a bare model answers
1122
+ // status "invalid", which reads as not_authenticated and hides the real state. When
1123
+ // the caller holds provider and bare model separately (the engine's request shape),
1124
+ // qualify the id; a model that already carries its namespace goes through as-is.
1125
+ const qualifiedModel = options.model
1126
+ ? (options.provider && options.model.startsWith(`${options.provider}/`)
1127
+ ? options.model
1128
+ : options.provider ? `${options.provider}/${options.model}` : options.model)
1129
+ : undefined;
1130
+ if (qualifiedModel) {
1131
+ authArgs.push("--model", qualifiedModel);
1123
1132
  } else if (options.provider) {
1124
1133
  authArgs.push("--provider", options.provider);
1125
1134
  }
@@ -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.63";
11
+ const VERSION = "0.7.64";
12
12
  const inbox = new Map<string, MessageRecord>();
13
13
  const notifiedInbox = new Set<string>();
14
14
  let meshClient: HubClient | undefined;