@scotthuang/agent-knock-knock 0.14.14 → 0.14.16
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/CHANGELOG.md +18 -0
- package/CONTRIBUTING.md +43 -0
- package/README.md +5 -5
- package/connectors/deepseek-harness/README.md +33 -17
- package/connectors/pi/README.md +32 -8
- package/dist/src/codex-native-public-projection.d.ts +191 -0
- package/dist/src/codex-native-public-projection.js +7 -0
- package/dist/src/codex-native-public-projection.js.map +1 -1
- package/dist/src/conversation-list-presentation.d.ts +8 -0
- package/dist/src/conversation-list-presentation.js +65 -4
- package/dist/src/conversation-list-presentation.js.map +1 -1
- package/dist/src/conversation-list.d.ts +8 -0
- package/dist/src/doctor-capabilities.d.ts +7 -2
- package/dist/src/doctor-capabilities.js +15 -14
- package/dist/src/doctor-capabilities.js.map +1 -1
- package/dist/src/herdr-api-contract.d.ts +15 -0
- package/dist/src/herdr-api-contract.js +152 -0
- package/dist/src/herdr-api-contract.js.map +1 -0
- package/dist/src/herdr-compatibility.d.ts +48 -0
- package/dist/src/herdr-compatibility.js +36 -0
- package/dist/src/herdr-compatibility.js.map +1 -0
- package/dist/src/herdr-operation-capabilities.d.ts +17 -0
- package/dist/src/herdr-operation-capabilities.js +66 -0
- package/dist/src/herdr-operation-capabilities.js.map +1 -0
- package/dist/src/herdr-terminal-control-provider.d.ts +11 -6
- package/dist/src/herdr-terminal-control-provider.js +158 -79
- package/dist/src/herdr-terminal-control-provider.js.map +1 -1
- package/dist/src/install-doctor-command-adapter.js +5 -2
- package/dist/src/install-doctor-command-adapter.js.map +1 -1
- package/dist/src/semantic-tool-command-helpers.js +7 -1
- package/dist/src/semantic-tool-command-helpers.js.map +1 -1
- package/dist/src/semantic-tool-list-projection.js +17 -3
- package/dist/src/semantic-tool-list-projection.js.map +1 -1
- package/dist/src/terminal-monitor-decision-policy.d.ts +1 -1
- package/dist/src/terminal-permission-control-list-projection.d.ts +1 -1
- package/docs/codex-cli-native-compatibility.md +3 -0
- package/docs/list-output.md +23 -0
- package/docs/openclaw-operations.md +1 -1
- package/docs/pi-dsh-compatibility.md +59 -4
- package/docs/quickstart-herdr.md +15 -3
- package/docs/testing.md +1 -1
- package/package.json +1 -1
- package/templates/openclaw-skills/agent-knock-knock/SKILL.md +4 -2
|
@@ -1,10 +1,65 @@
|
|
|
1
1
|
# Pi and DeepSeek Harness connector compatibility
|
|
2
2
|
|
|
3
3
|
These are independently versioned controller connectors. Installing an AKK
|
|
4
|
-
core/OpenClaw release does not update an already installed connector.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
core/OpenClaw release does not update an already installed connector. Select
|
|
5
|
+
npm `next` or the exact connector version below; their `latest` tags remain
|
|
6
|
+
unchanged. Neither connector update requires a new core release.
|
|
7
|
+
|
|
8
|
+
## Core 0.14.16 alignment — 2026-10-23
|
|
9
|
+
|
|
10
|
+
| Connector | Release (`next`) | Exact core dependency | Host scope |
|
|
11
|
+
| --- | --- | --- | --- |
|
|
12
|
+
| Pi | `0.1.0-poc.5` | `0.14.16` | Pi `1.2.0` and `0.84.4` |
|
|
13
|
+
| DeepSeek Harness | `0.1.0-rc.8` | `0.14.16` | Existing reviewed DSH/Cordis sets, including `0.2.1-rc.2` / `4.0.5` |
|
|
14
|
+
|
|
15
|
+
Both connectors inherit the bounded List candidate-folding fix and unchanged
|
|
16
|
+
exact Send/Watch identity rules. Core and both connectors now form one release
|
|
17
|
+
set; see [the release procedure](../CONTRIBUTING.md). The connectors remain
|
|
18
|
+
prereleases on `next`: installing without that tag may select an older `latest`.
|
|
19
|
+
Upgrading a standalone core does not change a connector's installed dependency.
|
|
20
|
+
This alignment adds no new Host compatibility claim or tclaude preview support.
|
|
21
|
+
|
|
22
|
+
## Core 0.14.15 alignment — 2026-10-21
|
|
23
|
+
|
|
24
|
+
| Connector | Version on `next` | Exact core dependency | Retained Host boundary |
|
|
25
|
+
| --- | --- | --- | --- |
|
|
26
|
+
| Pi | `0.1.0-poc.4` | `0.14.15` | Pi `1.2.0` and `0.84.4` |
|
|
27
|
+
| DeepSeek Harness | `0.1.0-rc.7` | `0.14.15` | DSH `0.2.1-rc.2` / Cordis `4.0.5`; earlier reviewed RC/alpha/legacy sets below |
|
|
28
|
+
|
|
29
|
+
This update aligns manifests, lockfiles, runtime version constants and
|
|
30
|
+
regression checks with the published core. Both connectors dynamically
|
|
31
|
+
register all **27 tools**, including `agent_knock_knock_watches`, and verify
|
|
32
|
+
the bundled canonical Skill against the actual runtime capability handshake.
|
|
33
|
+
The HostAdapter and handshake APIs remain compatible; this update does not
|
|
34
|
+
broaden the supported Host versions or change callback admission policy.
|
|
35
|
+
|
|
36
|
+
`/akk list` now returns discoverable conversations only. Use `/akk watches`
|
|
37
|
+
for the separate, paginated observation inventory (recent 24 hours by default;
|
|
38
|
+
older active or unresolved records remain visible). The core's lifecycle
|
|
39
|
+
maintenance removes eligible healthy completed observations after 48 hours,
|
|
40
|
+
while preserving unresolved records and deduplication receipts. Existing
|
|
41
|
+
absolute deadlines, Store locations and callback routes are not migrated.
|
|
42
|
+
The DSH-specific Store and Pi's existing Store configuration remain in effect.
|
|
43
|
+
Core `0.14.13` introduced Store writer protocol 10; an older writer cannot
|
|
44
|
+
continue writing that Store after activation. A downgrade requires a coherent
|
|
45
|
+
backup or a compatible writer, rather than only changing the connector version.
|
|
46
|
+
|
|
47
|
+
Validation uses the actual pinned core and real Host SDK dependencies in
|
|
48
|
+
isolated installations: typecheck, connector fast tests (Pi 30; DSH 40),
|
|
49
|
+
package/Skill parity, 27-tool registration and List/Watches command/schema
|
|
50
|
+
checks. Pi `1.2.0` also passed an isolated real RPC startup and `/akk`
|
|
51
|
+
registration check without a model task. Publication
|
|
52
|
+
repeats each connector's own release gate on clean synchronized `main`, followed
|
|
53
|
+
by a clean install of the public artifacts. The checks do not send tasks to
|
|
54
|
+
business sessions or external chat channels. Full live task/model-consumption
|
|
55
|
+
results below are dated historical evidence, not repeated claims for this
|
|
56
|
+
core-only update. Daily Host installations are not upgraded by publication.
|
|
57
|
+
|
|
58
|
+
## Historical verification
|
|
59
|
+
|
|
60
|
+
The following dated records describe the Host compatibility work behind the
|
|
61
|
+
retained support boundary. Their connector/core versions and test counts are
|
|
62
|
+
kept as recorded at the time.
|
|
8
63
|
|
|
9
64
|
## DSH 0.2.1-rc.2 compatibility — 2026-10-17
|
|
10
65
|
|
package/docs/quickstart-herdr.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Quick Start with Herdr
|
|
2
2
|
|
|
3
|
-
AKK
|
|
3
|
+
Starting in AKK `0.14.15`, local Herdr works alongside tmux according to the capabilities available for each operation. Herdr `0.8.0` (socket protocol 19) and `0.9.5` (socket protocol 22) are tested baselines, not a version allowlist. AKK `0.14.14` supported only `0.8.0`. AKK does not start Herdr or a coding agent.
|
|
4
4
|
|
|
5
5
|
Install and open Herdr, then start Codex or Claude Code in a pane:
|
|
6
6
|
|
|
@@ -40,10 +40,22 @@ This creates an independent Terminal Watch schema-v3 record, not an AKK Session
|
|
|
40
40
|
|
|
41
41
|
Herdr's raw `pane send-text` command is not used for task delivery. AKK uses the Unix-socket `pane.send_input` method so multiline text follows Herdr's bracketed-paste-aware path, persists the text-injected stage, resolves the stable terminal again, and then dispatches one separate Enter.
|
|
42
42
|
|
|
43
|
-
Current boundary
|
|
43
|
+
## Current boundary
|
|
44
44
|
|
|
45
45
|
- local Unix-domain sockets only;
|
|
46
|
-
-
|
|
46
|
+
- Herdr version and protocol are observed and must remain consistent during each operation; an unfamiliar pair alone does not prevent discovery;
|
|
47
47
|
- the Codex and Claude Code versions in the main compatibility matrix are regression-tested; other complete `x.y.z` versions use the generic runtime protocol with a warning;
|
|
48
48
|
- remote/SSH Herdr sessions and Windows named pipes are not yet supported;
|
|
49
49
|
- Herdr's agent status is diagnostic only—AKK's existing screen, transcript, rollout, and native identity fences remain authoritative.
|
|
50
|
+
|
|
51
|
+
Discovery must still prove the current socket, stable pane identity and process anchor. Zero-line, read-only probes independently check each pane's visible text, visible ANSI and detection text response contracts, including their source and format. A failed read capability is unavailable without disabling the other valid capabilities. No discovery or capability probe sends terminal input.
|
|
52
|
+
|
|
53
|
+
For input, AKK checks `herdr api schema --json` from a CLI whose version matches the live server, requires the schema's protocol to match, and validates the request payload and acknowledgement declarations used by each input operation. The resulting `matching_cli_schema` evidence is a declaration of compatibility, not runtime negotiation or proof of atomic, single-enqueue input. An untested server without a matching declaration can expose only its verified read capabilities. Tested baselines may fall back to their reviewed input behavior when a matching schema is unavailable; an explicitly incompatible or malformed matching schema, including a protocol mismatch, does not use that fallback.
|
|
54
|
+
|
|
55
|
+
Every operation revalidates current identity and capabilities. Dispatch acknowledgements do not prove that a coding agent accepted a task. For an untested server, an API error after input dispatch remains uncertain, including `pane_send_failed`; AKK does not assume it rejected input before enqueueing. Lost or unknown acknowledgements are never retried automatically.
|
|
56
|
+
|
|
57
|
+
Doctor checks whether the installed Herdr command is a usable candidate without rejecting an unfamiliar version. It leaves live capabilities `not_probed`; installation readiness does not establish that a live pane can be read or controlled.
|
|
58
|
+
|
|
59
|
+
The tested baselines include the official [Herdr `0.9.5` release](https://github.com/herdrdev/herdr/releases/tag/v0.9.5) of 2026-10-14 and its [protocol `22` declaration](https://github.com/herdrdev/herdr/blob/v0.9.5/src/protocol/wire.rs#L20). This does not claim live end-to-end Send/Watch validation for untested releases or every coding-agent version.
|
|
60
|
+
|
|
61
|
+
Herdr's [live server handoff](https://github.com/herdrdev/herdr/blob/v0.9.5/docs/next/website/src/content/docs/session-state.mdx#L127) is experimental. This adapter does not promise uninterrupted tasks across an upgrade or restart. After a server change, refresh discovery so AKK can revalidate the current socket, terminal and process identities before further input.
|
package/docs/testing.md
CHANGED
|
@@ -27,7 +27,7 @@ synchronization have explicit non-regression budgets. See
|
|
|
27
27
|
| `npm run test:affected` | Complete fast tier plus mapped integration tests; unknown or shared-core changes run the full tier | Maintainer/release diagnostics only; not an ordinary development command |
|
|
28
28
|
| `npm run test:full` | The exact union of fast and integration tests | Immediate pre-publication gate for an actual npm or ClawHub release |
|
|
29
29
|
| `npm test` | Compatibility alias for `test:full` | Same release-only boundary as `test:full` |
|
|
30
|
-
| `npm run test:release` |
|
|
30
|
+
| `npm run test:release` | Coordinated core/Pi/DSH version preflight and connector gates, full suite, isolated current-build OpenClaw compatibility check, ClawHub runtime validation, and ClawHub publish dry-run | Immediate pre-publication gate for an actual npm or ClawHub release |
|
|
31
31
|
| `npm run test:release:live` | The release tier plus credentialed native Codex and Claude lifecycle smoke/attestation | Optional release-time diagnostic with dedicated prepared tmux panes |
|
|
32
32
|
| `npm run compat:openclaw` | Full minimum/current/API-boundary OpenClaw compatibility matrix | Periodic maintainer check and any change to declared compatibility floors; not required for every package release |
|
|
33
33
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scotthuang/agent-knock-knock",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.16",
|
|
4
4
|
"description": "Delegate to existing Codex CLI, Codex Desktop, and Claude Code sessions from OpenClaw or compatible controller Hosts, with native direct control and supported terminal fallbacks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -7,7 +7,9 @@ description: Use Agent Knock Knock to discover and control Codex CLI, Codex Desk
|
|
|
7
7
|
|
|
8
8
|
Use this skill when the user explicitly invokes `AKK`, `akk`, or `Agent Knock Knock`, or asks a supported controller Host to inspect or control a coding-agent conversation listed by AKK.
|
|
9
9
|
|
|
10
|
-
AKK supports loaded local Codex CLI threads through their shared backend, local Codex Desktop conversations (with explicit creation when the Desktop Create tool is available), compatible already-open Claude Code CLIs through their native inbox, and Codex or Claude Code already running inside tmux or local Herdr
|
|
10
|
+
AKK supports loaded local Codex CLI threads through their shared backend, local Codex Desktop conversations (with explicit creation when the Desktop Create tool is available), compatible already-open Claude Code CLIs through their native inbox, and Codex or Claude Code already running inside tmux or local Herdr with the required operation capabilities. It never launches a replacement coding agent. The controller Host, AKK, the coding agent, and its Desktop app or terminal host must run as the same OS user.
|
|
11
|
+
|
|
12
|
+
Herdr `0.8.0` / protocol `19` and `0.9.5` / protocol `22` are tested baselines, not a version allowlist. Use fresh discovery and advertised actions: each pane's read capabilities are probed without input, while input requires a matching CLI schema declaration or verified baseline behavior. `matching_cli_schema` is declarative evidence from the same CLI version and server protocol, not runtime negotiation or proof of single-enqueue behavior. An untested server without that declaration exposes only verified reads; an incompatible declaration does not fall back to baseline behavior. Doctor installation readiness leaves live capabilities `not_probed`. Once input may have been dispatched, an uncertain response must not be retried automatically.
|
|
11
13
|
|
|
12
14
|
Treat `AKK` and `akk` the same way.
|
|
13
15
|
|
|
@@ -21,7 +23,7 @@ Keep the user's requested scope and approval boundaries. Do not expand a task, a
|
|
|
21
23
|
|
|
22
24
|
Present `conversations[]` as **CLI** or **Desktop** using `surface`, and keep Codex/Claude Code as the agent type. Select the displayed `conversation_id` and its advertised operation; AKK chooses the connection internally. Do not make separate user-facing backend and terminal lists, repeat raw discovery arrays, or count Watches as additional conversations or tasks. Preserve unavailable actions, current questions/approvals, and management/recovery records. Scoped controls, when present, are operations on exact targets within a row, not extra conversations.
|
|
23
25
|
|
|
24
|
-
Default CLI presentation prefers the verified backend entry for a one-to-one same-agent/project discovery pair without known identity conflicts. Use that returned conversation ID and its actions directly; do not search for or choose an alternative transport. Its title, state and actions belong to the selected backend. Presentation preference does not prove a terminal alias, copy terminal permissions, or redirect a previously selected terminal ID. Multiple candidates, conflicts and terminal attention/recovery records remain visible. Proven exact aliases still combine verified controls. Use `terminalDebug: true` (CLI `list --terminal-debug`) only when connection diagnostics are needed, not as a routine selection step.
|
|
26
|
+
Default CLI presentation prefers the verified backend entry for a one-to-one same-agent/project discovery pair without known identity conflicts. Use that returned conversation ID and its actions directly; do not search for or choose an alternative transport. Its title, state and actions belong to the selected backend. Presentation preference does not prove a terminal alias, copy terminal permissions, or redirect a previously selected terminal ID. Multiple candidates, conflicts and terminal attention/recovery records remain visible. Proven exact aliases still combine verified controls. Use `terminalDebug: true` (CLI `list --terminal-debug`) only when connection diagnostics are needed, not as a routine selection step. Unnamed, unstarted Codex candidates beside an established same-project conversation may be folded for display; `conversation_presentation.unstarted_candidates_omitted` reports their count and `diagnostic_query` expands them. This does not prove abandonment or an exact alias. If the requested new empty session is missing, use that query and its original exact ID; never substitute the established conversation. Sole or exactly associated new sessions remain visible, and a first task restores ordinary display.
|
|
25
27
|
|
|
26
28
|
AKK prefers a reachable direct connection only after proving the exact selected native session and process or thread. An unavailable backend may retain an eligible terminal path; busy/blocked state or identity conflict cannot authorize bypass. Targeted operations on an idle terminal can use the existing advertised `/status` inspection to learn its identity; working or blocked terminals are not interrupted. List itself sends no terminal input. Keep an uncertain dispatch receipt and inspect it instead of retrying through another connection.
|
|
27
29
|
|