@workerkit/core 0.3.12 → 0.3.13
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/CHANGELOG.md +17 -7
- package/README.md +31 -8
- package/dist/descriptors/actions.js +47 -23
- package/dist/descriptors/actions.js.map +1 -1
- package/dist/descriptors/decision-authoring.js +1 -1
- package/dist/descriptors/decision-authoring.js.map +1 -1
- package/dist/descriptors/directory.js +4 -4
- package/dist/descriptors/directory.js.map +1 -1
- package/dist/descriptors/manage.js +20 -20
- package/dist/descriptors/manage.js.map +1 -1
- package/docs/hybrid-workers.md +7 -5
- package/package.json +1 -1
package/docs/hybrid-workers.md
CHANGED
|
@@ -52,11 +52,13 @@ Hybrid runs are on demand; recurring runs are unsupported.
|
|
|
52
52
|
## Model compatibility
|
|
53
53
|
|
|
54
54
|
Worker kind describes behavior, not a model vendor or version. Preserve model
|
|
55
|
-
identifiers and version metadata returned by the API. Use the model identity
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
identifiers and version metadata returned by the API. Use the model identity
|
|
56
|
+
supplied by the server; do not infer confidence semantics or silently substitute
|
|
57
|
+
providers. `models_list` lists language models and, in `decisionProfiles`, the
|
|
58
|
+
available classifiers; pass a profile's `profileId` as `decisionProfileId`.
|
|
58
59
|
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
`executeTool` parses the input of descriptors marked `strictInput` and throws
|
|
61
|
+
before any request when it is invalid or has unknown fields. Validate other
|
|
62
|
+
descriptors' input with their Zod schema before calling it.
|
|
61
63
|
`ApiResult.data` preserves the API response. `mapData` is an optional compact
|
|
62
64
|
presentation for human or agent output, not the raw receipt contract.
|