@nathapp/nax-agent 0.86.0 → 0.87.0
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/mcp/connect.js +3 -0
- package/dist/mcp/types.d.ts +2 -0
- package/package.json +2 -2
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.87.0] - 2026-10-11
|
|
8
|
+
|
|
9
|
+
- No changes in this package. Released in lockstep with the other nax packages.
|
|
10
|
+
|
|
7
11
|
## [0.86.0] - 2026-10-10
|
|
8
12
|
|
|
9
13
|
- No changes in this package. Released in lockstep with the other nax packages.
|
package/dist/mcp/connect.js
CHANGED
|
@@ -123,6 +123,9 @@ function liveConnection(config, client, handle, tools, state) {
|
|
|
123
123
|
const { life } = state;
|
|
124
124
|
return {
|
|
125
125
|
kind: config.kind,
|
|
126
|
+
get pid() {
|
|
127
|
+
return handle.pid();
|
|
128
|
+
},
|
|
126
129
|
tools,
|
|
127
130
|
call(name, input, opts) {
|
|
128
131
|
if (closing !== undefined || life.exited)
|
package/dist/mcp/types.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export interface McpCallOptions {
|
|
|
28
28
|
}
|
|
29
29
|
export interface McpConnection {
|
|
30
30
|
readonly kind: "stdio" | "http";
|
|
31
|
+
/** The stdio child process pid; null for HTTP. Read before close() — the SDK may clear it after. */
|
|
32
|
+
readonly pid: number | null;
|
|
31
33
|
readonly tools: readonly McpToolInfo[];
|
|
32
34
|
/** Server-side tool errors are `isError` results; transport failures throw McpCallError. */
|
|
33
35
|
call(name: string, input: unknown, opts: McpCallOptions): Promise<McpCallResult>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nathapp/nax-agent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.87.0",
|
|
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.
|
|
50
|
+
"@nathapp/nax-ai": "0.87.0",
|
|
51
51
|
"zod": "^4.3.6"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|