@collective-intelligence/extensions-sdk-backend 0.2.1 → 0.2.2
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/AGENTS.md +2 -1
- package/README.md +10 -4
- package/docs/effect.md +2 -2
- package/package.json +3 -3
package/AGENTS.md
CHANGED
|
@@ -9,7 +9,8 @@ declarations, schemas and manifests stay in `extensions-sdk`. The package
|
|
|
9
9
|
|
|
10
10
|
- Import executable contracts from the root `.`, and the Effect adapter
|
|
11
11
|
(`effectSchema`, `withWorkflowDefault`, the Dataset Provider ports) from
|
|
12
|
-
`/effect`. `extensions-sdk-backend-effect` is
|
|
12
|
+
`/effect`. The package `extensions-sdk-backend-effect` is removed after
|
|
13
|
+
0.2.0.
|
|
13
14
|
- Keep one `effect` (`^4.1.0`) in the extension package. It is a required
|
|
14
15
|
peer.
|
|
15
16
|
- Read tenant data, capabilities and configuration only from the `context` of
|
package/README.md
CHANGED
|
@@ -437,9 +437,15 @@ errors. The wildcard uses the existing declaration shape.
|
|
|
437
437
|
|
|
438
438
|
`@collective-intelligence/extensions-sdk-backend/effect` holds the Effect Schema
|
|
439
439
|
adapter for `@collective-intelligence/extensions-sdk` and the Effect Dataset
|
|
440
|
-
Provider ports. Use it only when an extension is authored with Effect.
|
|
441
|
-
|
|
442
|
-
|
|
440
|
+
Provider ports. Use it only when an extension is authored with Effect.
|
|
441
|
+
|
|
442
|
+
**Breaking:** the release after 0.2.0 removes the packages
|
|
443
|
+
`@collective-intelligence/extensions-sdk-backend-effect` and
|
|
444
|
+
`@collective-intelligence/extensions-sdk-backend-zod`. Their last version is
|
|
445
|
+
0.2.0. Import `@collective-intelligence/extensions-sdk-backend/effect`
|
|
446
|
+
instead of `extensions-sdk-backend-effect`: the names are the same. Declare
|
|
447
|
+
package schemas with Effect Schema from `./effect` instead of
|
|
448
|
+
`extensions-sdk-backend-zod`.
|
|
443
449
|
|
|
444
450
|
`ExternalDatasetProvider` and `ManagedDatasetProvider` have two meanings. At
|
|
445
451
|
`./effect` they are the Effect tags of the provider services; at `.` they are
|
|
@@ -448,7 +454,7 @@ the abstract base classes. The class that
|
|
|
448
454
|
`makeManagedDatasetProviderImplementation` returns extends the `.` class.
|
|
449
455
|
The tag keys keep the prefix
|
|
450
456
|
`@collective-intelligence/extensions-sdk-backend-effect/`, so a tag of an older
|
|
451
|
-
copy of the
|
|
457
|
+
copy of the removed package still matches.
|
|
452
458
|
|
|
453
459
|
`ci package build` bundles `./effect` into the release and keeps `.`
|
|
454
460
|
Host-provided. An earlier CLI keeps `./effect` external, and
|
package/docs/effect.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
`/effect` holds the Effect Schema adapter for `extensions-sdk` and the Effect
|
|
4
4
|
Dataset Provider ports. Use it only when an extension is authored with
|
|
5
|
-
Effect. It was the package `extensions-sdk-backend-effect
|
|
6
|
-
|
|
5
|
+
Effect. It was the package `extensions-sdk-backend-effect`. Its last version
|
|
6
|
+
is 0.2.0; the release after it removes the package.
|
|
7
7
|
|
|
8
8
|
`ci package build` bundles `/effect` into the release and keeps `.`
|
|
9
9
|
Host-provided. An earlier `ci` CLI keeps `/effect` external, and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collective-intelligence/extensions-sdk-backend",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Framework-neutral executable contracts for Collective Intelligence extension packages, with an Effect adapter at ./effect.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@collective-intelligence/extensions-sdk": "0.2.
|
|
47
|
+
"@collective-intelligence/extensions-sdk": "0.2.2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"effect": "^4.1.0"
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"typescript": "7.0.2",
|
|
64
64
|
"ultracite": "7.10.7"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "51fdea833e25fe215b3cf0d70adf1984b8e0f81c"
|
|
67
67
|
}
|