@howaboua/pi-durable-js-notebook 0.9.1 → 0.10.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.
@@ -0,0 +1,5 @@
1
+ import { type ComponentInstance, type ComponentRequest } from "@howaboua/pi-durable-components";
2
+ import { createJsNotebookMode, type JsNotebookModeOptions } from "./index.ts";
3
+ /** Optional complete constructor override; replaces baseline JSON configuration. */
4
+ export declare const jsNotebookOptions: import("@howaboua/pi-durable-components").ComponentCapability<JsNotebookModeOptions>;
5
+ export declare function createComponent(request: ComponentRequest): ComponentInstance<ReturnType<typeof createJsNotebookMode>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@howaboua/pi-durable-js-notebook",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "Persistent QuickJS notebook and shell tools for Pi Durable",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -23,6 +23,10 @@
23
23
  "./worker": {
24
24
  "types": "./dist/js-notebook/src/worker.d.ts",
25
25
  "import": "./dist/worker.js"
26
+ },
27
+ "./component": {
28
+ "types": "./dist/js-notebook/src/activation.d.ts",
29
+ "import": "./dist/activation.js"
26
30
  }
27
31
  },
28
32
  "files": [
@@ -38,15 +42,34 @@
38
42
  "typebox": "1.3.27",
39
43
  "acorn": "8.19.0",
40
44
  "quickjs-wasi": "3.6.3",
41
- "@earendil-works/pi-codemode": "1.4.0"
45
+ "@earendil-works/pi-codemode": "1.4.0",
46
+ "@howaboua/pi-durable-components": "0.10.0"
42
47
  },
43
48
  "peerDependencies": {
44
49
  "@earendil-works/chord": "1.4.0",
45
50
  "@earendil-works/pi-ai": "1.4.0",
46
51
  "@earendil-works/pi-durable": "1.4.0",
47
- "@modelcontextprotocol/sdk": "1.25.2"
52
+ "@modelcontextprotocol/sdk": ">=1.25.2 <2"
48
53
  },
49
54
  "publishConfig": {
50
55
  "access": "public"
56
+ },
57
+ "durable": {
58
+ "schemaVersion": 1,
59
+ "kind": "extension",
60
+ "entry": "./component",
61
+ "runtimes": [
62
+ "node"
63
+ ],
64
+ "requires": [
65
+ "durable.node-execution.v1",
66
+ "durable.state.v1"
67
+ ],
68
+ "permissions": [
69
+ "filesystem",
70
+ "process",
71
+ "storage"
72
+ ],
73
+ "selectionGroup": "execution"
51
74
  }
52
75
  }