@nathapp/nax-agent-acp 0.91.3 → 0.91.4
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 +4 -0
- package/dist/client/turn.js +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to `@nathapp/nax-agent-acp` are recorded here. Versions move in
|
|
4
4
|
step with `@nathapp/nax-agent`.
|
|
5
5
|
|
|
6
|
+
## [0.91.4] - 2026-10-23
|
|
7
|
+
|
|
8
|
+
- No changes in this package. Released in lockstep with the other nax packages.
|
|
9
|
+
|
|
6
10
|
## [0.91.3] - 2026-10-22
|
|
7
11
|
|
|
8
12
|
- No changes in this package. Released in lockstep with the other nax packages.
|
package/dist/client/turn.js
CHANGED
|
@@ -86,7 +86,9 @@ async function promptFailure(state, error) {
|
|
|
86
86
|
}
|
|
87
87
|
/** session/cancel, then cancelGraceMs for the prompt to answer; past that the process is killed. */
|
|
88
88
|
async function cancelTurn(state, pending) {
|
|
89
|
-
|
|
89
|
+
// A backpressured stdin can block the notification itself. Start the grace
|
|
90
|
+
// without waiting for that write so cancellation still reaches the kill path.
|
|
91
|
+
void state.link.cancel(state.agentSessionId).catch(() => undefined);
|
|
90
92
|
const settled = await race(pending, { timeoutMs: state.cancelGraceMs });
|
|
91
93
|
if (settled.kind === "ok")
|
|
92
94
|
return settled.value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nathapp/nax-agent-acp",
|
|
3
|
-
"version": "0.91.
|
|
3
|
+
"version": "0.91.4",
|
|
4
4
|
"description": "ACP (Agent Client Protocol) backend for @nathapp/nax-agent sessions: drive Claude Code and other ACP agents through the nax-agent session API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "William Khoo",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"zod": "^4.3.6"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@nathapp/nax-agent": "^0.91.
|
|
52
|
+
"@nathapp/nax-agent": "^0.91.4"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public",
|