@howaboua/pi-durable-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 { createNotebookMode, type NotebookModeOptions } from "./index.ts";
3
+ /** Optional complete constructor override; replaces baseline JSON configuration. */
4
+ export declare const notebookOptions: import("@howaboua/pi-durable-components").ComponentCapability<NotebookModeOptions>;
5
+ export declare function createComponent(request: ComponentRequest): ComponentInstance<ReturnType<typeof createNotebookMode>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@howaboua/pi-durable-notebook",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "Persistent notebook execution and shell tools for Pi Durable",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,6 +27,10 @@
27
27
  ".": {
28
28
  "types": "./dist/notebook/src/index.d.ts",
29
29
  "import": "./dist/index.js"
30
+ },
31
+ "./component": {
32
+ "types": "./dist/notebook/src/activation.d.ts",
33
+ "import": "./dist/activation.js"
30
34
  }
31
35
  },
32
36
  "files": [
@@ -41,15 +45,35 @@
41
45
  "smol-toml": "1.9.0",
42
46
  "proxy-from-env": "2.1.0",
43
47
  "undici": "8.10.2",
44
- "typebox": "1.3.27"
48
+ "typebox": "1.3.27",
49
+ "@howaboua/pi-durable-components": "0.10.0"
45
50
  },
46
51
  "peerDependencies": {
47
52
  "@earendil-works/chord": "1.4.0",
48
53
  "@earendil-works/pi-ai": "1.4.0",
49
54
  "@earendil-works/pi-durable": "1.4.0",
50
- "@modelcontextprotocol/sdk": "1.25.2"
55
+ "@modelcontextprotocol/sdk": ">=1.25.2 <2"
51
56
  },
52
57
  "publishConfig": {
53
58
  "access": "public"
59
+ },
60
+ "durable": {
61
+ "schemaVersion": 1,
62
+ "kind": "extension",
63
+ "entry": "./component",
64
+ "runtimes": [
65
+ "node"
66
+ ],
67
+ "requires": [
68
+ "durable.node-execution.v1",
69
+ "durable.state.v1"
70
+ ],
71
+ "permissions": [
72
+ "filesystem",
73
+ "process",
74
+ "network",
75
+ "storage"
76
+ ],
77
+ "selectionGroup": "execution"
54
78
  }
55
79
  }