@howaboua/pi-durable-browser 0.10.0 → 0.11.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 +2 -2
- package/dist/activation.js +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -7,10 +7,10 @@ Requires Node 22.19 or newer and a browser with remote debugging enabled. The ho
|
|
|
7
7
|
## Install and register
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npm install https://github.com/IgorWarzocha/pi-durable-components/releases/download/v0.
|
|
10
|
+
npm install https://github.com/IgorWarzocha/pi-durable-components/releases/download/v0.11.0/howaboua-pi-durable-browser-0.11.0.tgz
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Use the package with Pi Durable, pi-ai and Chord 1.
|
|
13
|
+
Use the package with Pi Durable, pi-ai and Chord 1.5.0:
|
|
14
14
|
|
|
15
15
|
```ts
|
|
16
16
|
import { join } from "node:path";
|
package/dist/activation.js
CHANGED
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
} from "@howaboua/pi-durable-components";
|
|
8
8
|
|
|
9
9
|
// packages/browser/src/index.ts
|
|
10
|
-
import { Type } from "@earendil-works/pi-ai";
|
|
11
10
|
import { defineExtension, defineTool } from "@earendil-works/pi-durable";
|
|
11
|
+
import { Type } from "typebox";
|
|
12
12
|
|
|
13
13
|
// packages/browser/src/browser/artifact-store.ts
|
|
14
14
|
import {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JsonValue } from "@earendil-works/chord";
|
|
2
|
-
import { Type } from "
|
|
2
|
+
import { Type } from "typebox";
|
|
3
3
|
import { BrowserRuntime, type BrowserRuntimeConfig } from "./browser/runtime.ts";
|
|
4
4
|
export { type BrowserArtifactStore, environmentArtifactStore, nodeArtifactStore, } from "./browser/artifact-store.ts";
|
|
5
5
|
export { type BrowserRouteConfig, normalizeBrowserRouteConfig, } from "./browser/config.ts";
|
|
@@ -30,7 +30,7 @@ export declare function createBrowserTool(runtime: BrowserRuntime, options?: Bro
|
|
|
30
30
|
prepareArguments?(args: unknown): {
|
|
31
31
|
command?: string;
|
|
32
32
|
};
|
|
33
|
-
structuredOutputSchema?:
|
|
33
|
+
structuredOutputSchema?: object;
|
|
34
34
|
callers?: readonly ("model" | "tools")[];
|
|
35
35
|
deferred?: true;
|
|
36
36
|
outputLimits?: {
|
|
@@ -65,7 +65,7 @@ export declare function createBrowserExtension(config: BrowserRuntimeConfig & Br
|
|
|
65
65
|
prepareArguments?(args: unknown): {
|
|
66
66
|
command?: string;
|
|
67
67
|
};
|
|
68
|
-
structuredOutputSchema?:
|
|
68
|
+
structuredOutputSchema?: object;
|
|
69
69
|
callers?: readonly ("model" | "tools")[];
|
|
70
70
|
deferred?: true;
|
|
71
71
|
outputLimits?: {
|
|
@@ -96,7 +96,7 @@ export declare function createBrowserExtension(config: BrowserRuntimeConfig & Br
|
|
|
96
96
|
prepareArguments?(args: unknown): {
|
|
97
97
|
command?: string;
|
|
98
98
|
};
|
|
99
|
-
structuredOutputSchema?:
|
|
99
|
+
structuredOutputSchema?: object;
|
|
100
100
|
callers?: readonly ("model" | "tools")[];
|
|
101
101
|
deferred?: true;
|
|
102
102
|
outputLimits?: {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@howaboua/pi-durable-browser",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Logged-in browser control for Pi Durable",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,16 +37,17 @@
|
|
|
37
37
|
],
|
|
38
38
|
"sideEffects": false,
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@earendil-works/chord": "1.
|
|
41
|
-
"@earendil-works/pi-ai": "1.
|
|
42
|
-
"@earendil-works/pi-durable": "1.
|
|
40
|
+
"@earendil-works/chord": "1.5.0",
|
|
41
|
+
"@earendil-works/pi-ai": "1.5.0",
|
|
42
|
+
"@earendil-works/pi-durable": "1.5.0",
|
|
43
43
|
"@modelcontextprotocol/sdk": ">=1.25.2 <2"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@howaboua/pi-durable-components": "0.
|
|
49
|
+
"@howaboua/pi-durable-components": "0.11.0",
|
|
50
|
+
"typebox": "1.3.27"
|
|
50
51
|
},
|
|
51
52
|
"durable": {
|
|
52
53
|
"schemaVersion": 1,
|