@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.
@@ -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 supplied by the server; do not infer confidence semantics
56
- or silently substitute providers. `models_list` lists language models; it is not
57
- a decision-model picker.
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
- Consumers should validate inputs with each descriptor's Zod schema before calling
60
- `executeTool`; that function maps requests and does not perform schema validation.
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workerkit/core",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "API client and tool descriptors for WorkerKit: manage AI workers and browse the public kits directory",
5
5
  "type": "module",
6
6
  "license": "MIT",