@kindgi/specs 0.1.9 → 0.1.10-rc.1
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.10-rc.1",
|
|
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": {
|
|
@@ -302,7 +302,6 @@
|
|
|
302
302
|
"additionalProperties": false,
|
|
303
303
|
"properties": {
|
|
304
304
|
"historyLimit": { "type": "integer", "minimum": 1 },
|
|
305
|
-
"autoCloseAfterInactiveSeconds": { "type": "integer", "minimum": 1 },
|
|
306
305
|
"hitlAfterTurns": { "type": "integer", "minimum": 1 }
|
|
307
306
|
}
|
|
308
307
|
},
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
"type": "object",
|
|
222
222
|
"required": ["id", "version", "name", "instructions", "capabilities", "tools", "modulePath"],
|
|
223
223
|
"additionalProperties": false,
|
|
224
|
-
"description": "An agent as declared (`agent.schema.json`)
|
|
224
|
+
"description": "An agent as declared (`agent.schema.json`). A TypeScript pack's `defineAgent` checks it in full at build; a deploy checks only its shape, its instructions' template and its output schema.",
|
|
225
225
|
"properties": {
|
|
226
226
|
"id": { "type": "string", "minLength": 1 },
|
|
227
227
|
"version": { "type": "string", "minLength": 1 },
|
|
@@ -261,7 +261,11 @@
|
|
|
261
261
|
"preferredModel": { "type": "string" },
|
|
262
262
|
"description": { "type": "string" },
|
|
263
263
|
"tags": { "type": "array", "items": { "type": "string" } },
|
|
264
|
-
"conversationPolicy": {
|
|
264
|
+
"conversationPolicy": {
|
|
265
|
+
"type": "object",
|
|
266
|
+
"description": "As declared (`agent.schema.json` `ConversationPolicy`), except `autoCloseAfterInactiveSeconds`, which is refused: a conversation never closes by itself, only when someone closes it.",
|
|
267
|
+
"properties": { "autoCloseAfterInactiveSeconds": { "not": {} } }
|
|
268
|
+
},
|
|
265
269
|
"output": {
|
|
266
270
|
"$ref": "#/$defs/openObject",
|
|
267
271
|
"description": "Typed output (`{ schema, name?, maxRepairs? }`), its schema already JSON Schema."
|