@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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Managed ACPX in 5 Minutes
|
|
2
2
|
|
|
3
|
-
Use this path for managed background Codex, Claude Code, or Cursor tasks with durable AKK state and callbacks. You need Node.js
|
|
3
|
+
Use this path for managed background Codex, Claude Code, or Cursor tasks with durable AKK state and callbacks. You need a Node.js version supported by your OpenClaw release (Node.js 24 LTS recommended), OpenClaw `2026.6.5`+, and an authenticated coding-agent CLI.
|
|
4
4
|
|
|
5
5
|
## 1. Install and configure
|
|
6
6
|
|
|
7
7
|
From the project the agent may edit:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g acpx@latest @scotthuang/agent-knock-knock
|
|
10
|
+
npm install -g acpx@latest @scotthuang/agent-knock-knock && agent-knock-knock install-openclaw --workspace "$PWD" --default-agent codex --mode acpx --verify
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Use `--default-agent claude` or `cursor` when preferred. Existing AKK approval policy remains intact, and the Gateway restarts at most once.
|
package/docs/quickstart-tmux.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# tmux Bridge in 5 Minutes
|
|
2
2
|
|
|
3
|
-
Use this path when you want OpenClaw and a human to share the same live Codex or Claude Code terminal. You need Node.js
|
|
3
|
+
Use this path when you want OpenClaw and a human to share the same live Codex or Claude Code terminal. You need a Node.js version supported by your OpenClaw release (Node.js 24 LTS recommended), OpenClaw `2026.6.5`+, tmux, and an authenticated `codex` or `claude` CLI, all running as the same OS user.
|
|
4
4
|
|
|
5
5
|
## 1. Install and configure
|
|
6
6
|
|
|
7
7
|
From the project the agent may edit:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g @scotthuang/agent-knock-knock
|
|
10
|
+
npm install -g @scotthuang/agent-knock-knock && agent-knock-knock install-openclaw --workspace "$PWD" --default-agent codex --mode tmux --verify
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
The installer updates only AKK's enabled flag, workspace, default agent, and mode. Existing plugin settings—including `autoApprove` rules—remain intact, and the Gateway restarts at most once.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scotthuang/agent-knock-knock",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Control local Codex and Claude Code from OpenClaw, take over the same live tmux session, and run managed ACP tasks through ACPX with Cursor support.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"clawhubSpec": "clawhub:@scotthuang/agent-knock-knock",
|
|
37
37
|
"npmSpec": "@scotthuang/agent-knock-knock",
|
|
38
38
|
"defaultChoice": "clawhub",
|
|
39
|
-
"minHostVersion": ">=2026.
|
|
39
|
+
"minHostVersion": ">=2026.6.5"
|
|
40
40
|
},
|
|
41
41
|
"compat": {
|
|
42
|
-
"pluginApi": ">=2026.
|
|
43
|
-
"minGatewayVersion": "2026.
|
|
42
|
+
"pluginApi": ">=2026.5.12",
|
|
43
|
+
"minGatewayVersion": "2026.5.12"
|
|
44
44
|
},
|
|
45
45
|
"build": {
|
|
46
46
|
"openclawVersion": "2026.7.1-2",
|
|
@@ -77,8 +77,9 @@
|
|
|
77
77
|
"prepack": "npm run build",
|
|
78
78
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
79
79
|
"test": "npm run build && node --test dist/test/*.test.js",
|
|
80
|
-
"clawhub:validate": "npm run build && clawhub package validate . --out .clawhub-validation --openclaw node_modules/openclaw --runtime --allow-execute --no-mock-sdk",
|
|
81
|
-
"clawhub:dry-run": "npm run build && clawhub package publish . --family code-plugin --owner scotthuang --tags
|
|
80
|
+
"clawhub:validate": "npm run build && clawhub --workdir . package validate . --out .clawhub-validation --openclaw node_modules/openclaw --runtime --allow-execute --no-mock-sdk",
|
|
81
|
+
"clawhub:dry-run": "npm run build && clawhub package publish . --family code-plugin --owner scotthuang --tags latest --dry-run",
|
|
82
|
+
"compat:openclaw": "npm run build && node scripts/verify-openclaw-compatibility.js",
|
|
82
83
|
"smoke:acpx": "npm run build && node scripts/smoke-acpx.js",
|
|
83
84
|
"smoke:tmux": "npm run build && node scripts/smoke-tmux.js",
|
|
84
85
|
"simulate:architecture": "node scripts/two-claude-weather-test.js --scenario architecture-questions",
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
"node": ">=22.14.0"
|
|
90
91
|
},
|
|
91
92
|
"peerDependencies": {
|
|
92
|
-
"openclaw": ">=2026.
|
|
93
|
+
"openclaw": ">=2026.5.12"
|
|
93
94
|
},
|
|
94
95
|
"peerDependenciesMeta": {
|
|
95
96
|
"openclaw": {
|