@kontextmind/kxm 0.7.46 → 0.7.47

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.46",
14
+ "version": "0.7.47",
15
15
  "category": "development",
16
16
  "tags": ["kxm", "multi-agent", "workflows", "mcp"]
17
17
  }
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "KB-HUB-001"
4
+ type: "kb"
5
+ title: "Q&A: Authentik (OIDC) for user/role/agent authentication"
6
+ project: "kxm"
7
+ status: "draft"
8
+ owner: "@operator"
9
+ created: "2026-09-17"
10
+ updated: "2026-09-18"
11
+ authority: "instruction"
12
+ confidence: "reviewed"
13
+ summary: "Yes, but not by swapping the hub's checks for OIDC — the safest hook is a token broker that exchanges Authentik identity for the kxm tokens the hub already understands."
14
+ tags: ["hub", "authentik", "oidc", "auth"]
15
+ related: ["docs/operations.md", "docs/kb/qa-hub-on-a-public-host.md"]
16
+ ---
17
+
1
18
  # Q&A: Authentik (OIDC) for user/role/agent authentication
2
19
 
3
20
  > Researched by `claude --model fable` (planner, read-only) · 2026-09-17 · task_c0bb05339e15 · root review: pending
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "KB-HUB-002"
4
+ type: "kb"
5
+ title: "Q&A: Extension install → kxm CLI bootstrap + hub auto-connect"
6
+ project: "kxm"
7
+ status: "draft"
8
+ owner: "@operator"
9
+ created: "2026-09-17"
10
+ updated: "2026-09-18"
11
+ authority: "instruction"
12
+ confidence: "reviewed"
13
+ summary: "Extension load attempts a hub connection and can auto-start a local hub with generated keys, but it does not bootstrap a global kxm CLI and failure warnings are diagnostic rather than actionable."
14
+ tags: ["hub", "extension", "bootstrap", "cli"]
15
+ related: ["docs/operations.md", "docs/getting-started.md"]
16
+ ---
17
+
1
18
  # Q&A: Extension install → kxm CLI bootstrap + hub auto-connect
2
19
 
3
20
  > Researched by `codex gpt-5.6-sol` (reviewer-cli, read-only) · 2026-09-17 · task_634d24e1225d · root review: pending
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "KB-HUB-003"
4
+ type: "kb"
5
+ title: "Q&A: Hub on a public host — multiple users and projects?"
6
+ project: "kxm"
7
+ status: "draft"
8
+ owner: "@operator"
9
+ created: "2026-09-17"
10
+ updated: "2026-09-18"
11
+ authority: "instruction"
12
+ confidence: "reviewed"
13
+ summary: "One hub is one process and one SQLite database behind a TLS proxy; it is not multi-tenant and must never be exposed directly to the public internet."
14
+ tags: ["hub", "deployment", "security"]
15
+ related: ["docs/operations.md", "docs/kb/qa-authentik-authentication.md", "docs/kb/qa-what-the-hub-stores.md"]
16
+ ---
17
+
1
18
  # Q&A: Hub on a public host — multiple users and projects?
2
19
 
3
20
  > Researched by `claude --model fable` (planner, read-only) · 2026-09-17 · task_40b9d5015537 · root review: pending
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "KB-HUB-004"
4
+ type: "kb"
5
+ title: "Q&A: Storage engine — SQLite vs DuckDB"
6
+ project: "kxm"
7
+ status: "draft"
8
+ owner: "@operator"
9
+ created: "2026-09-17"
10
+ updated: "2026-09-18"
11
+ authority: "instruction"
12
+ confidence: "reviewed"
13
+ summary: "The hub already uses SQLite; there is no DuckDB in this repository, and DuckDB should not become the hub's primary store."
14
+ tags: ["hub", "sqlite", "storage"]
15
+ related: ["docs/operations.md", "docs/kb/qa-what-the-hub-stores.md"]
16
+ ---
17
+
1
18
  # Q&A: Storage engine — SQLite vs DuckDB
2
19
 
3
20
  > Answered by root from direct repo evidence · 2026-09-17 · task_279246b4dddb
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "KB-HUB-005"
4
+ type: "kb"
5
+ title: "Q&A: What is all stored on the hub?"
6
+ project: "kxm"
7
+ status: "draft"
8
+ owner: "@operator"
9
+ created: "2026-09-17"
10
+ updated: "2026-09-18"
11
+ authority: "instruction"
12
+ confidence: "reviewed"
13
+ summary: "The hub persists agent records, message bodies, workflow runs, journal/evidence, context items, runtime events, and raw tokens in user-state hub-env.json."
14
+ tags: ["hub", "storage", "privacy"]
15
+ related: ["docs/operations.md", "docs/kb/qa-sqlite-vs-duckdb.md"]
16
+ ---
17
+
1
18
  # Q&A: What is all stored on the hub?
2
19
 
3
20
  > Researched by `codex gpt-5.6-sol` (reviewer-cli, read-only) · 2026-09-17 · task_85bd0119c40a · root review: pending
@@ -18,7 +18,7 @@ kxm hub start
18
18
  ```
19
19
 
20
20
  These operator commands assume the packed release CLI installation from
21
- [Getting started](getting-started.md#install-the-operator-command). From a
21
+ [Getting started](getting-started.md#1-install). From a
22
22
  source clone, use `npm run hub` instead.
23
23
 
24
24
  When `KXM_AUTH_TOKEN` is not set, `kxm hub start` loads the persisted hub
@@ -227,3 +227,11 @@ place from v0.4 databases.
227
227
  - **Rollback**: schema downgrades are not supported (a newer database refuses
228
228
  to open on an older runtime). Restore a database backup taken before the
229
229
  upgrade instead.
230
+
231
+ ## Hub Q&A / knowledge base
232
+
233
+ - [What is all stored on the hub?](kb/qa-what-the-hub-stores.md)
234
+ - [Storage engine — SQLite vs DuckDB](kb/qa-sqlite-vs-duckdb.md)
235
+ - [Hub on a public host — multiple users and projects?](kb/qa-hub-on-a-public-host.md)
236
+ - [Authentik (OIDC) for user/role/agent authentication](kb/qa-authentik-authentication.md)
237
+ - [Extension install → kxm CLI bootstrap + hub auto-connect](kb/qa-extension-install-and-hub-bootstrap.md)
@@ -115,7 +115,7 @@ CLI matches source.
115
115
  `pi install git:github.com/kontextmind/kxm@main` installs the Pi extension
116
116
  and Agent Skill, not a global operator command. Install the versioned `.tgz`
117
117
  release asset through the authenticated `gh release download` flow in
118
- [Getting started](getting-started.md#install-the-operator-command), or run
118
+ [Getting started](getting-started.md#1-install), or run
119
119
  `node scripts/kxm.mjs` from a clone after `npm ci`. `npx kxm` and a
120
120
  global `git+https` npm install are not supported installation paths.
121
121
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontextmind/kxm",
3
- "version": "0.7.46",
3
+ "version": "0.7.47",
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.46",
5
+ "version": "0.7.47",
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.46";
17124
+ var VERSION = "0.7.47";
17125
17125
  var inbox = /* @__PURE__ */ new Map();
17126
17126
  var notifiedInbox = /* @__PURE__ */ new Set();
17127
17127
  var meshClient;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-plugin",
3
- "version": "0.7.46",
3
+ "version": "0.7.47",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "engines": {
@@ -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.46";
11
+ const VERSION = "0.7.47";
12
12
  const inbox = new Map<string, MessageRecord>();
13
13
  const notifiedInbox = new Set<string>();
14
14
  let meshClient: HubClient | undefined;