@kontextmind/kxm 0.7.16 → 0.7.17

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.16",
14
+ "version": "0.7.17",
15
15
  "category": "development",
16
16
  "tags": ["kxm", "multi-agent", "workflows", "mcp"]
17
17
  }
package/docs/README.md CHANGED
@@ -9,7 +9,7 @@ This documentation is organized by task. Start with the guide that matches what
9
9
  | [Configuration](configuration.md) | Users and operators | Understand every supported setting and default |
10
10
  | [Architecture](architecture.md) | Maintainers and integrators | Learn the component boundaries and message lifecycle |
11
11
  | [Agent Skills](agent-skills.md) | Users and integrators | Comprehensive skill suite covering all KXM commands with progressive disclosure |
12
- | [Browser automation](browser-automation.md) | Developers and operators | Self-hosted Steel on DOKS, agent-browser, Playwright, pass-cli, and human takeover |
12
+ | [Browser automation](browser-automation.md) | Developers and operators | Self-hosted Steel on DOKS, agent-browser, Playwright, pass-cli, and human takeover. See the [knowledge base](browser-automation.md#knowledge-base) and [prompt templates](browser-automation.md#prompt-templates) |
13
13
  | [Skills](skills.md) | Operators and skill authors | Governed candidate lifecycle; also the [repository work delivery](skills/repo-work-delivery.md) skill |
14
14
  | [Operations](operations.md) | Hub operators | Run, monitor, secure, and recover the service |
15
15
  | [Troubleshooting](troubleshooting.md) | Everyone | Diagnose common installation and delivery failures |
@@ -7,7 +7,7 @@ project: "kxm"
7
7
  status: "accepted"
8
8
  owner: "@operator"
9
9
  created: "2026-09-14"
10
- updated: "2026-09-14"
10
+ updated: "2026-09-15"
11
11
  authority: "instruction"
12
12
  confidence: "verified"
13
13
  summary: "Comprehensive guide to browser automation in KXM using self-hosted Steel on DOKS, agent-browser, Playwright, pass-cli, and human takeover."
@@ -114,3 +114,26 @@ When authentication challenges (MFA, CAPTCHA, SSO) are encountered:
114
114
  - **Session Timeouts**: Default 300s (5m), max 1800s (30m). Sessions terminate automatically on expiry.
115
115
  - **Orphan Sweeping**: Periodically sweep untracked sessions via `GET /v1/sessions` and release idle processes.
116
116
  - **Memory Protection**: Kubernetes mounts a 2Gi `emptyDir` memory volume at `/dev/shm` to prevent Chromium tab crashes without exhausting node memory.
117
+
118
+ ---
119
+
120
+ ## Knowledge base
121
+
122
+ - [How are credentials retrieved without exposing them to the model?](kb/how-credentials-retrieved-safely.md)
123
+ - [How do I capture a UI section and annotate changes for an agent?](kb/how-to-capture-and-annotate-section.md)
124
+ - [How do I connect Playwright to the existing Steel session?](kb/how-to-connect-playwright-to-steel.md)
125
+ - [How do I recover an expired session or remove an orphaned browser?](kb/how-to-recover-expired-session-or-orphan.md)
126
+ - [How does an agent resume after MFA?](kb/how-to-resume-after-mfa.md)
127
+ - [How do I take over a browser session to log in?](kb/how-to-take-over-session.md)
128
+ - [Why did authentication disappear?](kb/why-authentication-disappeared.md)
129
+ - [Why did automation open a different browser?](kb/why-automation-opened-different-browser.md)
130
+ - [Why can I view a session but not control it?](kb/why-session-viewer-cannot-control.md)
131
+
132
+ ## Prompt templates
133
+
134
+ - [Starting browser work](prompts/browser-start.md)
135
+ - [Exploring an application](prompts/browser-explore.md)
136
+ - [Requesting human takeover](prompts/browser-takeover.md)
137
+ - [Diagnosing and recovering a failed session](prompts/browser-diagnose-recover.md)
138
+ - [Reproducing a UI bug and writing a Playwright test](prompts/browser-repro-fix.md)
139
+ - [Capturing UI section annotations](prompts/browser-annotate-feedback.md)
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "PROMPT-BROWSER-006"
4
+ type: "prompt"
5
+ title: "Capturing UI Section Annotations and Sending Changes to Agent"
6
+ project: "kxm"
7
+ status: "accepted"
8
+ owner: "@operator"
9
+ created: "2026-09-14"
10
+ updated: "2026-09-15"
11
+ authority: "instruction"
12
+ confidence: "verified"
13
+ summary: "Turn annotated Steel UI-section feedback into source changes and recapture verified proof."
14
+ tags: ["browser", "annotation", "feedback", "prompt"]
15
+ related: ["docs/browser-automation.md", "docs/kb/how-to-capture-and-annotate-section.md"]
16
+ ---
17
+
1
18
  # Task Template: Capturing UI Section Annotations and Sending Changes to Agent
2
19
 
3
20
  ## Purpose
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "PROMPT-BROWSER-004"
4
+ type: "prompt"
5
+ title: "Diagnosing and Recovering a Failed Browser Session"
6
+ project: "kxm"
7
+ status: "accepted"
8
+ owner: "@operator"
9
+ created: "2026-09-14"
10
+ updated: "2026-09-15"
11
+ authority: "instruction"
12
+ confidence: "verified"
13
+ summary: "Troubleshoot unresponsive Steel sessions, CDP attachment errors, auth loops, and orphaned browser containers."
14
+ tags: ["browser", "diagnostics", "recovery", "prompt"]
15
+ related: ["docs/browser-automation.md", "docs/kb/how-to-recover-expired-session-or-orphan.md"]
16
+ ---
17
+
1
18
  # Task Template: Diagnosing and Recovering a Failed Browser Session
2
19
 
3
20
  ## Purpose
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "PROMPT-BROWSER-002"
4
+ type: "prompt"
5
+ title: "Exploring an Application with an Authenticated Session"
6
+ project: "kxm"
7
+ status: "accepted"
8
+ owner: "@operator"
9
+ created: "2026-09-14"
10
+ updated: "2026-09-15"
11
+ authority: "instruction"
12
+ confidence: "verified"
13
+ summary: "Exploratory discovery, DOM mapping, and journey inspection via agent-browser attached to a remote Steel session."
14
+ tags: ["browser", "explore", "agent-browser", "prompt"]
15
+ related: ["docs/browser-automation.md", "docs/kb/how-to-connect-playwright-to-steel.md"]
16
+ ---
17
+
1
18
  # Task Template: Exploring an Application with an Authenticated Session
2
19
 
3
20
  ## Purpose
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "PROMPT-BROWSER-005"
4
+ type: "prompt"
5
+ title: "Reproducing a UI Bug and Producing a Playwright Regression Test"
6
+ project: "kxm"
7
+ status: "accepted"
8
+ owner: "@operator"
9
+ created: "2026-09-14"
10
+ updated: "2026-09-15"
11
+ authority: "instruction"
12
+ confidence: "verified"
13
+ summary: "Reproduce a UI defect on Steel, collect evidence, write a Playwright regression, and prove RED then GREEN."
14
+ tags: ["browser", "playwright", "repro", "prompt"]
15
+ related: ["docs/browser-automation.md", "docs/kb/how-to-connect-playwright-to-steel.md"]
16
+ ---
17
+
1
18
  # Task Template: Reproducing a UI Bug and Producing a Playwright Regression Test
2
19
 
3
20
  ## Purpose
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "PROMPT-BROWSER-001"
4
+ type: "prompt"
5
+ title: "Starting Browser Work in a KXM Project"
6
+ project: "kxm"
7
+ status: "accepted"
8
+ owner: "@operator"
9
+ created: "2026-09-14"
10
+ updated: "2026-09-15"
11
+ authority: "instruction"
12
+ confidence: "verified"
13
+ summary: "Initialize a remote Steel browser session for a project task, verifying credentials, connectivity, and attachment endpoints before automation."
14
+ tags: ["browser", "steel", "session", "prompt"]
15
+ related: ["docs/browser-automation.md", "docs/kb/how-credentials-retrieved-safely.md"]
16
+ ---
17
+
1
18
  # Task Template: Starting Browser Work in a KXM Project
2
19
 
3
20
  ## Purpose
@@ -1,3 +1,20 @@
1
+ ---
2
+ schema: "kxm.doc.v1"
3
+ id: "PROMPT-BROWSER-003"
4
+ type: "prompt"
5
+ title: "Requesting Human Authentication and Resuming Afterward"
6
+ project: "kxm"
7
+ status: "accepted"
8
+ owner: "@operator"
9
+ created: "2026-09-14"
10
+ updated: "2026-09-15"
11
+ authority: "instruction"
12
+ confidence: "verified"
13
+ summary: "Pause automation for MFA, OAuth, or CAPTCHA takeover, then resume after verified human success."
14
+ tags: ["browser", "takeover", "mfa", "prompt"]
15
+ related: ["docs/browser-automation.md", "docs/kb/how-to-take-over-session.md", "docs/kb/how-to-resume-after-mfa.md"]
16
+ ---
17
+
1
18
  # Task Template: Requesting Human Authentication and Resuming Afterward
2
19
 
3
20
  ## Purpose
@@ -40,7 +40,7 @@ This directory contains standardized Markdown documentation templates adapted fo
40
40
 
41
41
  ## Workflow Guide Integration Matrix
42
42
 
43
- The 12 templates map directly across the 7 Areas and 22 Workflows in [`docs/workflow-guide.md`](../workflow-guide.md):
43
+ The 11 templates map directly across the 7 Areas and 22 Workflows in [`docs/workflow-guide.md`](../workflow-guide.md):
44
44
 
45
45
  ```mermaid
46
46
  flowchart TD
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontextmind/kxm",
3
- "version": "0.7.16",
3
+ "version": "0.7.17",
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.16",
5
+ "version": "0.7.17",
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",
@@ -17036,7 +17036,7 @@ async function deliverInboxNotification(messageId, delivered, notify) {
17036
17036
  }
17037
17037
 
17038
17038
  // plugins/kxm/src/mcp-server.ts
17039
- var VERSION = "0.7.16";
17039
+ var VERSION = "0.7.17";
17040
17040
  var inbox = /* @__PURE__ */ new Map();
17041
17041
  var notifiedInbox = /* @__PURE__ */ new Set();
17042
17042
  var meshClient;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kxm-claude-plugin",
3
- "version": "0.7.16",
3
+ "version": "0.7.17",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "engines": {
@@ -7,7 +7,7 @@ import { AGENT_COMMANDS_MAP, enforceToolPolicy, getMcpTools, reconcileInbox } fr
7
7
  import { deliverInboxNotification } from "./inbox.ts";
8
8
  import type { HubEvent, MessageRecord } from "./protocol.ts";
9
9
 
10
- const VERSION = "0.7.16";
10
+ const VERSION = "0.7.17";
11
11
  const inbox = new Map<string, MessageRecord>();
12
12
  const notifiedInbox = new Set<string>();
13
13
  let meshClient: HubClient | undefined;