@collective-intelligence/extensions-sdk 0.1.29 → 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
@@ -3,8 +3,12 @@
3
3
  The extensions SDK is the framework-neutral authoring contract for Collective
4
4
  Intelligence packages. It produces deterministic JSON-only manifests while
5
5
  retaining native validators and implementation constructors as local runtime
6
- sidecars. It has no Effect, React, Zod, database, HTTP, or deployment
7
- dependency.
6
+ sidecars. Its package root loads no Effect, React, Zod, database, HTTP, or
7
+ deployment code.
8
+
9
+ `effect` (`^4.1.0`) is a required peer. Install it next to the SDK and keep one
10
+ `effect` version in the application. The `./effect` export is empty: this SDK
11
+ has no I/O client and no Expected Error, so it has no Effect service.
8
12
 
9
13
  Dataset file parsers use `declareDatasetParser({ manifest, presentation,
10
14
  definition, implementation })`. The portable definition is `{ format: string,
@@ -329,7 +333,7 @@ import {
329
333
  declareTool
330
334
  } from "@collective-intelligence/extensions-sdk"
331
335
  import { PackageTool } from "@collective-intelligence/extensions-sdk-backend"
332
- import { effectSchema } from "@collective-intelligence/extensions-sdk-backend-effect"
336
+ import { effectSchema } from "@collective-intelligence/extensions-sdk-backend/effect"
333
337
  import * as Schema from "effect/Schema"
334
338
 
335
339
  const input = effectSchema(Schema.Struct({ id: Schema.NonEmptyString }))
@@ -1438,7 +1442,7 @@ metadata does not replace schema validation.
1438
1442
  projects `.default(value)`. Effect Schema projects only a `default`
1439
1443
  annotation, not the opaque `withDecodingDefault*` Effect; use
1440
1444
  `withWorkflowDefault(value)` from
1441
- `@collective-intelligence/extensions-sdk-backend-effect`, which applies both.
1445
+ `@collective-intelligence/extensions-sdk-backend/effect`, which applies both.
1442
1446
 
1443
1447
  Portable manifest fields, forms, dataset values/results, connection discovery
1444
1448
  values, and workflow directives use the recursive `JsonObject` and `JsonValue`
@@ -1951,7 +1955,7 @@ portable `organizationSso` metadata: `providerId`, `connectionTemplateFqn`,
1951
1955
  component, so presence and configuration participate in canonical declaration
1952
1956
  identity. The implementation remains a runtime sidecar. Executable request and
1953
1957
  context contracts belong to `extensions-sdk-backend` (`PackageOrganizationSso`);
1954
- this package has no host or Effect dependency.
1958
+ this package has no host dependency, and its package root loads no Effect code.
1955
1959
 
1956
1960
  ### Email provider declarations
1957
1961
 
@@ -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",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "description": "Framework-neutral authoring contracts for Collective Intelligence extension packages.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -16,6 +16,12 @@
16
16
  "types": "./dist/index.d.ts",
17
17
  "import": "./dist/index.js",
18
18
  "default": "./dist/index.js"
19
+ },
20
+ "./effect": {
21
+ "ci-source": "./src/effect.ts",
22
+ "types": "./dist/effect.d.ts",
23
+ "import": "./dist/effect.js",
24
+ "default": "./dist/effect.js"
19
25
  }
20
26
  },
21
27
  "scripts": {
@@ -37,13 +43,17 @@
37
43
  "dependencies": {
38
44
  "@standard-schema/spec": "^1.1.0"
39
45
  },
46
+ "peerDependencies": {
47
+ "effect": "^4.1.0"
48
+ },
40
49
  "devDependencies": {
41
50
  "@oxlint/plugins": "1.90.0",
42
51
  "bun-types": "^1.4.2",
52
+ "effect": "4.1.0",
43
53
  "oxfmt": "0.66.0",
44
54
  "oxlint": "1.90.0",
45
55
  "typescript": "7.0.2",
46
56
  "ultracite": "7.10.7"
47
57
  },
48
- "gitHead": "02f5d1b5a00cf4cfb8575f6cc556c7c6b844577d"
58
+ "gitHead": "b46c00d8ce76db49b810e7a3f25933ace4f2252f"
49
59
  }