@scotthuang/agent-knock-knock 0.2.42 → 0.2.44
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 +19 -0
- package/README.md +9 -2
- package/dist/src/cli.js +655 -47
- package/dist/src/cli.js.map +1 -1
- package/dist/src/codex-local-session-provider.js +2 -0
- package/dist/src/codex-local-session-provider.js.map +1 -1
- package/dist/src/codex-session-provider.d.ts +11 -0
- package/dist/src/codex-session-provider.js +52 -0
- package/dist/src/codex-session-provider.js.map +1 -1
- package/dist/src/openclaw-plugin.js +70 -2
- package/dist/src/openclaw-plugin.js.map +1 -1
- package/openclaw.plugin.json +14 -1
- package/package.json +1 -1
- package/templates/openclaw-skills/agent-knock-knock/SKILL.md +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.44 - 2026-07-19
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Retry local OpenClaw plugin installation with the supported `--force` flow when OpenClaw explicitly requires trust confirmation for a reviewed local source.
|
|
8
|
+
|
|
9
|
+
## 0.2.43 - 2026-07-19
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Make terminal bridge inactivity timeouts activity-aware, retain a separate 12-hour hard lifetime, and add `AKK renew` plus matching OpenClaw skill and tool support for explicitly extending long-running tasks.
|
|
14
|
+
- Persist timeout deadlines and activity evidence so renewals and stalls remain auditable without sending any input to the coding agent.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Bind Codex terminal callbacks to a matching rollout `task_complete` turn and request hash so final-answer prose cannot be mistaken for a working marker or a result from another task.
|
|
19
|
+
- Atomically supersede older bridge tasks when a tmux pane is reused, while preserving the previous callback path if replacement delivery fails and serializing concurrent sends.
|
|
20
|
+
- Preserve terminal-screen completion fallback for wrapped or scrolled prompts by comparing the completed screen with a pre-send fingerprint.
|
|
21
|
+
|
|
3
22
|
## 0.2.42 - 2026-07-13
|
|
4
23
|
|
|
5
24
|
### Fixed
|
package/README.md
CHANGED
|
@@ -139,6 +139,7 @@ akk status <conversation-id>
|
|
|
139
139
|
akk describe <conversation-id>
|
|
140
140
|
akk send <conversation-id>: continue with the smaller implementation
|
|
141
141
|
akk cancel <conversation-id>
|
|
142
|
+
akk renew <conversation-id> --minutes 180
|
|
142
143
|
akk recover <conversation-id>
|
|
143
144
|
akk close <conversation-id>
|
|
144
145
|
AKK terminal takeover Codex <native-session-id>
|
|
@@ -156,6 +157,7 @@ Surfaces that support OpenClaw native commands can use the same workflow through
|
|
|
156
157
|
/akk status <conversation-id>
|
|
157
158
|
/akk send <conversation-id> <message>
|
|
158
159
|
/akk cancel <conversation-id>
|
|
160
|
+
/akk renew <conversation-id> [minutes]
|
|
159
161
|
/akk close <conversation-id> [reason]
|
|
160
162
|
```
|
|
161
163
|
|
|
@@ -167,7 +169,9 @@ Optional default-agent config:
|
|
|
167
169
|
entries: {
|
|
168
170
|
"agent-knock-knock": {
|
|
169
171
|
config: {
|
|
170
|
-
defaultAgent: "codex" // "codex", "claude", or "cursor"
|
|
172
|
+
defaultAgent: "codex", // "codex", "claude", or "cursor"
|
|
173
|
+
agentTimeoutMinutes: 60, // terminal inactivity timeout
|
|
174
|
+
agentHardTimeoutMinutes: 720 // terminal task lifetime ceiling
|
|
171
175
|
}
|
|
172
176
|
}
|
|
173
177
|
}
|
|
@@ -224,6 +228,8 @@ AKK list
|
|
|
224
228
|
- `terminal_controlled`: local sessions running in a controllable terminal provider. The current provider is tmux. These entries include terminal metadata, command capabilities, and concise approval state when a visible approval prompt is detected.
|
|
225
229
|
- `terminal_controlled` entries can be addressed directly by their `id` from `AKK list` for `AKK send <id>`, `AKK status <id>`, `AKK cancel <id>`, and `AKK approve <id>`. They do not need an AKK state file before terminal control.
|
|
226
230
|
- Background sends to terminal-controlled Codex sessions use terminal bridge mode: AKK types only the user-facing task text into the tmux pane, monitors Codex rollout/terminal state, and delivers the OpenClaw callback itself when it observes completion.
|
|
231
|
+
- Terminal bridge timeout is activity-aware. Visible Codex work, active background terminals, rollout updates, and meaningful terminal changes extend the inactivity deadline. A separate hard lifetime still stops permanently running monitors.
|
|
232
|
+
- If a live terminal task is marked `stalled`, `AKK renew <conversation-id> --minutes <minutes>` restarts monitoring without sending text or keys to Codex. Renewal preserves the original callback destination and task hard deadline.
|
|
227
233
|
- `AKK status <terminal-controlled-id>` is the unified way to inspect current terminal output. AKK captures the terminal pane internally and returns `terminal_screen`; there is no separate public screen-capture command.
|
|
228
234
|
- `AKK describe <id>` summarizes what a listed session is about. AKK-managed sessions use saved conversation history; native and terminal-controlled Codex sessions use exact Codex rollout history when a session id is available, fall back to cwd-matched rollout history when needed, and otherwise report only visible terminal/process context with lower confidence.
|
|
229
235
|
|
|
@@ -336,7 +342,8 @@ Runtime logs are diagnostic-only and are safe to use for local troubleshooting.
|
|
|
336
342
|
- Default agent: configured with `defaultAgent`; fallback is `codex`
|
|
337
343
|
- OpenClaw session: inherited from the current OpenClaw session; fallback is `agent:main:main`
|
|
338
344
|
- Delegated ACPX session: generated per new task, unless `session`, `codexSession`, `claudeSession`, or `cursorSession` is configured
|
|
339
|
-
- Agent callback timeout: `60` minutes before
|
|
345
|
+
- Agent callback/terminal inactivity timeout: `60` minutes before an inactive waiting task is marked `stalled`
|
|
346
|
+
- Terminal bridge hard lifetime: `720` minutes for a still-running monitor with no approval or completion result, even if other activity continues
|
|
340
347
|
- Idle timeout: `10080` minutes before an idle task is lazily closed
|
|
341
348
|
- Soft response limit: `50` rounds
|
|
342
349
|
- Hard response limit: `100` rounds
|