@themoltnet/pi-extension 0.13.0 → 0.13.1
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/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BashOperations } from '@
|
|
1
|
+
import { BashOperations } from '@earendil-works/pi-coding-agent';
|
|
2
2
|
import { connect } from '@themoltnet/sdk';
|
|
3
|
-
import { EditOperations } from '@
|
|
4
|
-
import { ExtensionAPI } from '@
|
|
5
|
-
import { ReadOperations } from '@
|
|
3
|
+
import { EditOperations } from '@earendil-works/pi-coding-agent';
|
|
4
|
+
import { ExtensionAPI } from '@earendil-works/pi-coding-agent';
|
|
5
|
+
import { ReadOperations } from '@earendil-works/pi-coding-agent';
|
|
6
6
|
import { Static } from '@sinclair/typebox';
|
|
7
7
|
import { TArray } from '@sinclair/typebox';
|
|
8
8
|
import { TBoolean } from '@sinclair/typebox';
|
|
@@ -11,14 +11,14 @@ import { TLiteral } from '@sinclair/typebox';
|
|
|
11
11
|
import { TNull } from '@sinclair/typebox';
|
|
12
12
|
import { TNumber } from '@sinclair/typebox';
|
|
13
13
|
import { TObject } from '@sinclair/typebox';
|
|
14
|
-
import { ToolDefinition } from '@
|
|
14
|
+
import { ToolDefinition } from '@earendil-works/pi-coding-agent';
|
|
15
15
|
import { TOptional } from '@sinclair/typebox';
|
|
16
16
|
import { TRecord } from '@sinclair/typebox';
|
|
17
17
|
import { TString } from '@sinclair/typebox';
|
|
18
18
|
import { TUnion } from '@sinclair/typebox';
|
|
19
19
|
import { TUnknown } from '@sinclair/typebox';
|
|
20
20
|
import { VM } from '@earendil-works/gondolin';
|
|
21
|
-
import { WriteOperations } from '@
|
|
21
|
+
import { WriteOperations } from '@earendil-works/pi-coding-agent';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Apply agent env vars to the host process, mirroring `moltnet start`.
|
package/dist/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import { createRequire } from "node:module";
|
|
|
2
2
|
import { execFileSync } from "node:child_process";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, statSync } from "node:fs";
|
|
4
4
|
import path, { join } from "node:path";
|
|
5
|
-
import { DefaultResourceLoader, SessionManager, createAgentSession, createBashTool, createBashToolDefinition, createEditTool, createEditToolDefinition, createReadTool, createReadToolDefinition, createWriteTool, createWriteToolDefinition, defineTool } from "@
|
|
5
|
+
import { DefaultResourceLoader, SessionManager, createAgentSession, createBashTool, createBashToolDefinition, createEditTool, createEditToolDefinition, createReadTool, createReadToolDefinition, createWriteTool, createWriteToolDefinition, defineTool } from "@earendil-works/pi-coding-agent";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import crypto, { createHash as createHash$1 } from "crypto";
|
|
8
8
|
import { readFile } from "node:fs/promises";
|
|
9
9
|
import { homedir } from "node:os";
|
|
10
|
-
import { Type, getModel } from "@
|
|
10
|
+
import { Type, getModel } from "@earendil-works/pi-ai";
|
|
11
11
|
import { RealFSProvider, ShadowProvider, VM, VmCheckpoint, createHttpHooks, createShadowPathPredicate, ensureImageSelector, loadGuestAssets } from "@earendil-works/gondolin";
|
|
12
12
|
import { parseEnv } from "node:util";
|
|
13
13
|
import { SpanStatusCode, context, metrics, trace } from "@opentelemetry/api";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@themoltnet/pi-extension",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MoltNet pi extension — sandboxed tool execution in Gondolin VMs with MoltNet identity and persistent memory",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
"@themoltnet/sdk": "0.98.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
38
|
+
"@earendil-works/pi-coding-agent": ">=0.74.0",
|
|
39
|
+
"@earendil-works/pi-ai": ">=0.74.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependenciesMeta": {
|
|
42
|
-
"@
|
|
42
|
+
"@earendil-works/pi-coding-agent": {
|
|
43
43
|
"optional": false
|
|
44
44
|
},
|
|
45
|
-
"@
|
|
45
|
+
"@earendil-works/pi-ai": {
|
|
46
46
|
"optional": false
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
50
|
+
"@earendil-works/pi-ai": "^0.74.0",
|
|
51
|
+
"@earendil-works/pi-coding-agent": "^0.74.0",
|
|
52
52
|
"@opentelemetry/sdk-metrics": "^2.5.1",
|
|
53
53
|
"@opentelemetry/sdk-trace-base": "^2.5.1",
|
|
54
54
|
"@types/node": "^20.11.0",
|