nemo-fabric-adapters-pi 0.4.0-beta.3 → 0.4.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/README.md +3 -3
- package/dist/pi-sdk.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ half of the context window for input.
|
|
|
39
39
|
|
|
40
40
|
## Install the Adapter
|
|
41
41
|
|
|
42
|
-
Pi 0.
|
|
42
|
+
Pi 0.86.x requires Node.js 22.19.0 or newer.
|
|
43
43
|
|
|
44
44
|
### Install for Consumers
|
|
45
45
|
|
|
@@ -48,7 +48,7 @@ then install the compatible Pi SDK harness version selected by that project:
|
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
50
|
npm install nemo-fabric-adapters-pi
|
|
51
|
-
npm install @earendil-works/pi-ai@^0.
|
|
51
|
+
npm install @earendil-works/pi-ai@^0.86.0 @earendil-works/pi-coding-agent@^0.86.0
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
The adapter declares the Pi packages as optional peers. Installing the adapter
|
|
@@ -269,7 +269,7 @@ process; maintaining a second JSON-RPC translation was rejected for the bundled
|
|
|
269
269
|
adapter. `@earendil-works/pi-ai` supplies Pi's model catalog and credential
|
|
270
270
|
store, which the coding-agent SDK expects. Both packages are optional peer
|
|
271
271
|
dependencies so deployments control the compatible harness version. Exact
|
|
272
|
-
0.
|
|
272
|
+
0.86.0 development dependencies keep repository builds and tests reproducible.
|
|
273
273
|
|
|
274
274
|
`jiti` loads explicitly configured, trusted JavaScript and TypeScript tool
|
|
275
275
|
modules. Native Node.js loading cannot execute TypeScript modules, while a
|
package/dist/pi-sdk.js
CHANGED
|
@@ -32,7 +32,7 @@ export function modelAwareCompactionReserveTokens(configuredReserveTokens, maxOu
|
|
|
32
32
|
}
|
|
33
33
|
const PI_BUILTIN_TOOL_NAMES = new Set(["read", "bash", "edit", "write", "grep", "find", "ls"]);
|
|
34
34
|
const TOOL_MODULE_EXTENSIONS = new Set([".js", ".mjs", ".cjs", ".ts", ".mts", ".cts"]);
|
|
35
|
-
const PI_HARNESS_INSTALL_COMMAND = "npm install @earendil-works/pi-ai@^0.
|
|
35
|
+
const PI_HARNESS_INSTALL_COMMAND = "npm install @earendil-works/pi-ai@^0.86.0 @earendil-works/pi-coding-agent@^0.86.0";
|
|
36
36
|
function isMissingModuleError(error) {
|
|
37
37
|
return (typeof error === "object" &&
|
|
38
38
|
error !== null &&
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nemo-fabric-adapters-pi",
|
|
3
|
-
"version": "0.4.0
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Pi SDK harness adapter for NVIDIA NeMo Fabric.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"jiti": "2.7.0",
|
|
46
|
-
"nemo-fabric-adapter-contract": "0.4.0
|
|
47
|
-
"nemo-fabric-adapters-common": "0.4.0
|
|
46
|
+
"nemo-fabric-adapter-contract": "0.4.0",
|
|
47
|
+
"nemo-fabric-adapters-common": "0.4.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@earendil-works/pi-ai": "^0.
|
|
51
|
-
"@earendil-works/pi-coding-agent": "^0.
|
|
50
|
+
"@earendil-works/pi-ai": "^0.86.0",
|
|
51
|
+
"@earendil-works/pi-coding-agent": "^0.86.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
54
54
|
"@earendil-works/pi-ai": {
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@earendil-works/pi-ai": "0.
|
|
63
|
-
"@earendil-works/pi-coding-agent": "0.
|
|
62
|
+
"@earendil-works/pi-ai": "0.86.0",
|
|
63
|
+
"@earendil-works/pi-coding-agent": "0.86.0",
|
|
64
64
|
"@types/node": "24.12.4",
|
|
65
65
|
"typescript": "5.9.3"
|
|
66
66
|
}
|