@nathapp/nax-agent 0.91.7-canary.2 → 0.91.7-canary.3
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
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to `@nathapp/nax-agent` are recorded here. The format follow
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/). While the version is `0.x`, a minor
|
|
5
5
|
release may change the public API.
|
|
6
6
|
|
|
7
|
+
## [0.91.7-canary.3] - 2026-10-27
|
|
8
|
+
|
|
9
|
+
- No changes in this package. Released in lockstep with the other nax packages.
|
|
10
|
+
|
|
7
11
|
## [0.91.7-canary.2] - 2026-10-26
|
|
8
12
|
|
|
9
13
|
- No changes in this package. Released in lockstep with the other nax packages.
|
|
@@ -67,6 +67,11 @@ function exitStatus(code, signal) {
|
|
|
67
67
|
return code;
|
|
68
68
|
return 128 + (signal !== null ? (osConstants.signals[signal] ?? 0) : 0);
|
|
69
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* `Readable.toWeb` is declared against `node:stream/web`'s `ReadableStream`, while
|
|
72
|
+
* `AgentSpawnResult` carries the global one. They are the same class at runtime and differ
|
|
73
|
+
* only in how their `getReader` overloads are written, so the bridge has to go via `unknown`.
|
|
74
|
+
*/
|
|
70
75
|
function toWeb(stream) {
|
|
71
76
|
return stream === null ? emptyStream() : Readable.toWeb(stream);
|
|
72
77
|
}
|
|
@@ -161,7 +161,10 @@ export function acquireSessionLock(path, deps, isAlive) {
|
|
|
161
161
|
rmSync(temp, { force: true });
|
|
162
162
|
}
|
|
163
163
|
}, LOCK_HEARTBEAT_MS);
|
|
164
|
-
|
|
164
|
+
// Bun returns a number and Node a Timeout; only the latter can be unref'd, and only it
|
|
165
|
+
// needs to be (a number handle never holds the loop open on its own).
|
|
166
|
+
if (typeof timer !== "number")
|
|
167
|
+
timer.unref();
|
|
165
168
|
return async () => {
|
|
166
169
|
try {
|
|
167
170
|
// The heartbeat stays live while release waits out contention.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nathapp/nax-agent",
|
|
3
|
-
"version": "0.91.7-canary.
|
|
3
|
+
"version": "0.91.7-canary.3",
|
|
4
4
|
"description": "nax's native coding agent: session contract, native loop, tools, permissions, sandbox, command-safety.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "William Khoo",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@anthropic-ai/sandbox-runtime": "0.0.77",
|
|
49
49
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
50
|
-
"@nathapp/nax-ai": "0.91.7-canary.
|
|
50
|
+
"@nathapp/nax-ai": "0.91.7-canary.3",
|
|
51
51
|
"zod": "^4.3.6"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|