@collective-intelligence/extensions-sdk-frontend-react 0.1.30 → 0.1.31

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 CHANGED
@@ -7,6 +7,10 @@ React and React DOM are host-provided peers. The optional
7
7
  `@collective-intelligence/ui-react` peer is required when importing the
8
8
  `/workflow` or `/ui-react` subpaths; declaration-only consumers do not need it.
9
9
 
10
+ `effect` (`^4.1.0`) is a required peer: the app installs one copy of `effect`,
11
+ and the package build keeps it external. The `/effect` entrypoint is reserved
12
+ for the Effect API of this package and exports nothing in this release.
13
+
10
14
  ```tsx
11
15
  import { declareFrontendCatalogContribution } from "@collective-intelligence/extensions-sdk-frontend"
12
16
  import { declareStudioComponent } from "@collective-intelligence/extensions-sdk-frontend-react/studio"
@@ -0,0 +1 @@
1
+ export {};
package/dist/effect.js ADDED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@collective-intelligence/extensions-sdk-frontend-react",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "Public hosted React contribution contracts for Collective Intelligence extensions.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -52,6 +52,12 @@
52
52
  "types": "./dist/studio-api/index.d.ts",
53
53
  "import": "./dist/studio-api/index.js",
54
54
  "default": "./dist/studio-api/index.js"
55
+ },
56
+ "./effect": {
57
+ "ci-source": "./src/effect.ts",
58
+ "types": "./dist/effect.d.ts",
59
+ "import": "./dist/effect.js",
60
+ "default": "./dist/effect.js"
55
61
  }
56
62
  },
57
63
  "scripts": {
@@ -70,13 +76,14 @@
70
76
  "type-check": "bun check"
71
77
  },
72
78
  "dependencies": {
73
- "@collective-intelligence/extensions-sdk": "0.1.29",
74
- "@collective-intelligence/extensions-sdk-frontend": "0.1.29"
79
+ "@collective-intelligence/extensions-sdk": "0.1.30",
80
+ "@collective-intelligence/extensions-sdk-frontend": "0.1.30"
75
81
  },
76
82
  "peerDependencies": {
77
83
  "@collective-intelligence/ui-react": "0.1.26",
78
84
  "@tanstack/react-query": ">=5 <6",
79
85
  "@xyflow/react": ">=12 <13",
86
+ "effect": "^4.1.0",
80
87
  "react": ">=18 <20",
81
88
  "react-dom": ">=18 <20"
82
89
  },
@@ -98,6 +105,7 @@
98
105
  "@types/react": "^19.2.14",
99
106
  "@types/react-dom": "^19.2.3",
100
107
  "@xyflow/react": "^12.10.2",
108
+ "effect": "4.1.0",
101
109
  "eslint-plugin-react-you-might-not-need-an-effect": "latest",
102
110
  "jsdom": "^28.1.0",
103
111
  "oxfmt": "0.66.0",
@@ -109,5 +117,5 @@
109
117
  "vitest": "^3.2.7",
110
118
  "es-module-lexer": "2.3.2"
111
119
  },
112
- "gitHead": "02f5d1b5a00cf4cfb8575f6cc556c7c6b844577d"
120
+ "gitHead": "24d1d077eeb604df774f04db008630b8c10d130c"
113
121
  }