@kindgi/specs 0.1.5 → 0.1.6-rc.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kindgi/specs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6-rc.0",
|
|
4
4
|
"description": "Canonical JSON Schemas (Draft 2020-12) for every Kindgi artifact kind — flow, agent, tool, capability, guardrail, policy, event, run event, memory, provenance, pack, compliance evidence, audit bundle, eval suite, discoverable entity. The wire contracts every SDK, runtime, and external tool validates against. Each schema is importable by name as `@kindgi/specs/<name>.schema.json`.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -188,6 +188,11 @@
|
|
|
188
188
|
}
|
|
189
189
|
]
|
|
190
190
|
},
|
|
191
|
+
"checkBuiltIn": {
|
|
192
|
+
"type": "boolean",
|
|
193
|
+
"const": true,
|
|
194
|
+
"description": "Set by the CLI on a guardrail that names a built-in check (`check`) without shipping a check of its own: its `codeArtifactRef` is only the file it's declared in. A runtime warns about a guardrail naming a built-in, with a code artifact and without this marker (built by an older CLI): its pack may ship its own check under the built-in's id, which the built-in replaces."
|
|
195
|
+
},
|
|
191
196
|
"judgeCapabilities": {
|
|
192
197
|
"type": "object",
|
|
193
198
|
"description": "For llm-judge guardrails: capability declaration for the judge model. Routed through `@kindgi/capabilities` over the providers bound for evaluation; when the caller passes a tenant policy (an agent turn passes its own), the judge is routed under it. BYO judges supported.",
|
|
@@ -195,6 +195,11 @@
|
|
|
195
195
|
"minLength": 1,
|
|
196
196
|
"description": "The check's id — what a pack service resolves a `check-invoke` by. Absent: the guardrail's `id`."
|
|
197
197
|
},
|
|
198
|
+
"checkBuiltIn": {
|
|
199
|
+
"type": "boolean",
|
|
200
|
+
"const": true,
|
|
201
|
+
"description": "The guardrail names a built-in check (`checkId`) without shipping a check of its own: `checkModulePath` is only the file it's declared in. The CLI sets it; a runtime warns about a guardrail naming a built-in without it."
|
|
202
|
+
},
|
|
198
203
|
"configSchema": {
|
|
199
204
|
"$ref": "#/$defs/jsonSchema",
|
|
200
205
|
"description": "JSON Schema of the check's config."
|
|
@@ -44,6 +44,11 @@
|
|
|
44
44
|
"type": "string",
|
|
45
45
|
"description": "The individual call — e.g. the model's tool-call id."
|
|
46
46
|
},
|
|
47
|
+
"idempotencyKey": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"format": "uuid",
|
|
50
|
+
"description": "The call's idempotency key (protocol 2.6.0): the same every time this call runs (a resume after a wait, a retry after a failure, a re-run after a crash), different for every other call. A tool that changes something passes it to the system it writes to, or looks for it there first. A version 5 UUID (RFC 9562, SHA-1) under the namespace a70d5bff-e713-4322-b2ea-9d5c4926a861, over the UTF-8 bytes of the compact JSON array [runId, stepScope, toolId] with the model's call id appended for a call a model asked for; stepScope is the step's own (its node id, a loop body's step with its iteration, a fanout branch). Absent from a runtime that can't name its steps."
|
|
51
|
+
},
|
|
47
52
|
"env": {
|
|
48
53
|
"type": "object",
|
|
49
54
|
"additionalProperties": { "type": "string" },
|