@scotthuang/agent-knock-knock 0.3.0-beta.2 → 0.3.1
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 +24 -0
- package/README.md +17 -18
- package/dist/src/cli.js +771 -149
- package/dist/src/cli.js.map +1 -1
- package/docs/quickstart-managed-acpx.md +2 -2
- package/docs/quickstart-tmux.md +2 -2
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.1 - 2026-07-28
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Lower the OpenClaw plugin API, Gateway, and npm peer floor to the first verified stable API release, `2026.5.12`, and the normal installation host floor to `2026.6.5`, while continuing to build against `2026.7.1-2`.
|
|
8
|
+
- Add isolated compatibility coverage for the minimum and build-time OpenClaw hosts, plus an explicit failing boundary at `2026.5.10-beta.2`.
|
|
9
|
+
|
|
10
|
+
## 0.3.0 - 2026-07-28
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Publish the complete OpenClaw plugin, bundled AKK skill, and package-local relay through ClawHub, with stable npm and ClawHub installation paths.
|
|
15
|
+
- Add bounded runtime diagnostics, fail-closed session selectors, stable short references, five-minute tmux and Managed ACPX quickstarts, and opt-in live smoke scripts.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Make installation configure and verify the OpenClaw runtime while preserving unrelated plugin settings.
|
|
20
|
+
- Confirm asynchronous Gateway callback runs before settling delivery, instead of treating a `started` acknowledgement as delivered.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- Find the matching Codex completion across plausible same-workspace rollouts and reconcile durable completion before a newer same-pane task can supersede it.
|
|
25
|
+
- Keep uncertain terminal completion and callback delivery states retryable without duplicating callbacks or attributing a newer task's screen output to an older monitor.
|
|
26
|
+
|
|
3
27
|
## 0.3.0-beta.2 - 2026-07-28
|
|
4
28
|
|
|
5
29
|
### Added
|
package/README.md
CHANGED
|
@@ -45,39 +45,43 @@ The two modes intentionally use different permission models:
|
|
|
45
45
|
|
|
46
46
|
Core requirements:
|
|
47
47
|
|
|
48
|
-
- A Node.js version supported by OpenClaw (Node.js 24
|
|
49
|
-
- [OpenClaw](https://docs.openclaw.ai/)
|
|
48
|
+
- A Node.js version supported by your OpenClaw release (Node.js 24 LTS is recommended)
|
|
49
|
+
- [OpenClaw](https://docs.openclaw.ai/) `2026.6.5` or newer
|
|
50
50
|
- At least one authenticated coding agent: Codex, Claude Code, or Cursor
|
|
51
51
|
|
|
52
|
+
| Compatibility layer | Version | Evidence |
|
|
53
|
+
| --- | --- | --- |
|
|
54
|
+
| Normal OpenClaw installation | `2026.6.5`+ | The packed plugin installs, loads, registers its full runtime, and passes isolated Gateway workflows. Earlier hosts block AKK's expected local process control in their legacy install-time scanner unless an unsafe override is used. |
|
|
55
|
+
| Plugin API and Gateway | `2026.5.12`+ | This is the first stable release with `api.session.workflow.enqueueNextTurnInjection`. The adjacent tested boundary, `2026.5.10-beta.2`, lacks that API. |
|
|
56
|
+
| Build SDK | `2026.7.1-2` | Build metadata stays pinned to the SDK actually used; it is not the runtime floor. |
|
|
57
|
+
|
|
58
|
+
The compatibility suite tests the minimum and build-time hosts with isolated state and the real packed artifact.
|
|
59
|
+
|
|
52
60
|
### Install from ClawHub (recommended)
|
|
53
61
|
|
|
54
62
|
```bash
|
|
55
|
-
openclaw plugins install clawhub:@scotthuang/agent-knock-knock
|
|
63
|
+
openclaw plugins install clawhub:@scotthuang/agent-knock-knock
|
|
56
64
|
openclaw config set plugins.entries.agent-knock-knock.config.workspace "$PWD"
|
|
57
65
|
openclaw config set plugins.entries.agent-knock-knock.config.defaultAgent codex
|
|
58
66
|
openclaw config set plugins.entries.agent-knock-knock.config.mode tmux
|
|
59
67
|
openclaw gateway restart
|
|
60
68
|
```
|
|
61
69
|
|
|
62
|
-
The explicit `@beta` selector follows the `0.3.0` prerelease channel. Remove it after the stable ClawHub release is available.
|
|
63
|
-
|
|
64
70
|
ClawHub installs the OpenClaw plugin, bundled AKK skill, and package-local relay CLI together. OpenClaw invokes that bundled CLI directly, but ClawHub does not add the `agent-knock-knock` command to your shell `PATH`. Do not run `install-openclaw` after a ClawHub install; that command belongs to the npm installation path below and would repeat the plugin setup.
|
|
65
71
|
|
|
66
72
|
If you also want standalone shell commands such as `agent-knock-knock doctor`, install the npm package globally without running `install-openclaw`:
|
|
67
73
|
|
|
68
74
|
```bash
|
|
69
|
-
npm install -g @scotthuang/agent-knock-knock
|
|
75
|
+
npm install -g @scotthuang/agent-knock-knock
|
|
70
76
|
```
|
|
71
77
|
|
|
72
|
-
### Install from npm
|
|
78
|
+
### Install from npm
|
|
73
79
|
|
|
74
80
|
```bash
|
|
75
|
-
npm install -g @scotthuang/agent-knock-knock
|
|
81
|
+
npm install -g @scotthuang/agent-knock-knock
|
|
76
82
|
agent-knock-knock install-openclaw --workspace "$PWD" --default-agent codex --mode tmux --verify
|
|
77
83
|
```
|
|
78
84
|
|
|
79
|
-
The npm `next` dist-tag follows the same prerelease line. Remove `@next` after `0.3.0` becomes stable.
|
|
80
|
-
|
|
81
85
|
`install-openclaw` installs or updates the plugin, atomically configures the selected workspace, agent, and mode without replacing unrelated settings, installs the AKK skill template, restarts the Gateway at most once, and optionally verifies the full runtime chain. It is safe to rerun. Without `--verify`, the result remains unverified rather than claiming readiness. Use `--skill-only` to skip plugin installation; add `--no-restart` to leave an explicit pending-restart state.
|
|
82
86
|
|
|
83
87
|
If OpenClaw runs from a local checkout or another nonstandard location, pass its CLI explicitly:
|
|
@@ -298,18 +302,13 @@ See [CONTRIBUTING.md](https://github.com/scotthuang/agent-knock-knock/blob/main/
|
|
|
298
302
|
|
|
299
303
|
### ClawHub Maintainer Release
|
|
300
304
|
|
|
301
|
-
The
|
|
305
|
+
The package is configured for ClawHub trusted publishing. Dispatch the `ClawHub Publish` workflow for a release; it derives `beta` versus `latest` from the package version and defaults to a dry run:
|
|
302
306
|
|
|
303
307
|
```bash
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
npm exec clawhub -- login
|
|
307
|
-
npm exec clawhub -- package publish . --family code-plugin --owner scotthuang --tags beta --dry-run --json
|
|
308
|
-
npm exec clawhub -- package publish . --family code-plugin --owner scotthuang --tags beta
|
|
308
|
+
gh workflow run clawhub-publish.yml --ref main -f dry_run=true
|
|
309
|
+
gh workflow run clawhub-publish.yml --ref main -f dry_run=false
|
|
309
310
|
```
|
|
310
311
|
|
|
311
|
-
After that first release creates the package, configure this repository as its trusted publisher. Future publishes use the manually dispatched `ClawHub Publish` workflow, which defaults to a dry run and derives `beta` versus `latest` from the package version.
|
|
312
|
-
|
|
313
312
|
## Storage and Logs
|
|
314
313
|
|
|
315
314
|
State lives under `~/.agent-knock-knock/`. Directories use mode `0700`; state and log files use `0600`. Runtime logs redact common secrets and default to 14-day retention. Configure storage and logging with `--store-dir`, `AKK_LOG_DIR`, `AKK_LOG_LEVEL`, and `AKK_LOG_RETENTION_DAYS`; use a dedicated custom log directory.
|