@collective-intelligence/extensions-sdk 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 +4 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,7 +7,8 @@ sidecars. Its package root loads no Effect, React, Zod, database, HTTP, or
|
|
|
7
7
|
deployment code.
|
|
8
8
|
|
|
9
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
|
|
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.
|
|
11
12
|
|
|
12
13
|
Dataset file parsers use `declareDatasetParser({ manifest, presentation,
|
|
13
14
|
definition, implementation })`. The portable definition is `{ format: string,
|
|
@@ -332,7 +333,7 @@ import {
|
|
|
332
333
|
declareTool
|
|
333
334
|
} from "@collective-intelligence/extensions-sdk"
|
|
334
335
|
import { PackageTool } from "@collective-intelligence/extensions-sdk-backend"
|
|
335
|
-
import { effectSchema } from "@collective-intelligence/extensions-sdk-backend
|
|
336
|
+
import { effectSchema } from "@collective-intelligence/extensions-sdk-backend/effect"
|
|
336
337
|
import * as Schema from "effect/Schema"
|
|
337
338
|
|
|
338
339
|
const input = effectSchema(Schema.Struct({ id: Schema.NonEmptyString }))
|
|
@@ -1441,7 +1442,7 @@ metadata does not replace schema validation.
|
|
|
1441
1442
|
projects `.default(value)`. Effect Schema projects only a `default`
|
|
1442
1443
|
annotation, not the opaque `withDecodingDefault*` Effect; use
|
|
1443
1444
|
`withWorkflowDefault(value)` from
|
|
1444
|
-
`@collective-intelligence/extensions-sdk-backend
|
|
1445
|
+
`@collective-intelligence/extensions-sdk-backend/effect`, which applies both.
|
|
1445
1446
|
|
|
1446
1447
|
Portable manifest fields, forms, dataset values/results, connection discovery
|
|
1447
1448
|
values, and workflow directives use the recursive `JsonObject` and `JsonValue`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collective-intelligence/extensions-sdk",
|
|
3
|
-
"version": "0.1.
|
|
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,
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"typescript": "7.0.2",
|
|
56
56
|
"ultracite": "7.10.7"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "b46c00d8ce76db49b810e7a3f25933ace4f2252f"
|
|
59
59
|
}
|