@howaboua/pi-durable-browser 0.9.1 → 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.d.ts +9 -0
- package/dist/activation.js +3759 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/package.json +30 -5
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",
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
".": {
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"import": "./dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./component": {
|
|
28
|
+
"types": "./dist/activation.d.ts",
|
|
29
|
+
"import": "./dist/activation.js"
|
|
26
30
|
}
|
|
27
31
|
},
|
|
28
32
|
"files": [
|
|
@@ -33,12 +37,33 @@
|
|
|
33
37
|
],
|
|
34
38
|
"sideEffects": false,
|
|
35
39
|
"peerDependencies": {
|
|
36
|
-
"@earendil-works/chord": "1.
|
|
37
|
-
"@earendil-works/pi-ai": "1.
|
|
38
|
-
"@earendil-works/pi-durable": "1.
|
|
39
|
-
"@modelcontextprotocol/sdk": "1.25.2"
|
|
40
|
+
"@earendil-works/chord": "1.5.0",
|
|
41
|
+
"@earendil-works/pi-ai": "1.5.0",
|
|
42
|
+
"@earendil-works/pi-durable": "1.5.0",
|
|
43
|
+
"@modelcontextprotocol/sdk": ">=1.25.2 <2"
|
|
40
44
|
},
|
|
41
45
|
"publishConfig": {
|
|
42
46
|
"access": "public"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@howaboua/pi-durable-components": "0.11.0",
|
|
50
|
+
"typebox": "1.3.27"
|
|
51
|
+
},
|
|
52
|
+
"durable": {
|
|
53
|
+
"schemaVersion": 1,
|
|
54
|
+
"kind": "extension",
|
|
55
|
+
"entry": "./component",
|
|
56
|
+
"runtimes": [
|
|
57
|
+
"node"
|
|
58
|
+
],
|
|
59
|
+
"requires": [
|
|
60
|
+
"durable.browser.v1",
|
|
61
|
+
"durable.state.v1"
|
|
62
|
+
],
|
|
63
|
+
"permissions": [
|
|
64
|
+
"browser",
|
|
65
|
+
"filesystem",
|
|
66
|
+
"network"
|
|
67
|
+
]
|
|
43
68
|
}
|
|
44
69
|
}
|