@kindgi/specs 0.1.1 → 0.1.2
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 +4 -3
- package/schemas/tool.schema.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kindgi/specs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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": {
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"types": "./dist/index.d.ts",
|
|
21
|
-
"import": "./dist/index.js"
|
|
21
|
+
"import": "./dist/index.js",
|
|
22
|
+
"default": "./dist/index.js"
|
|
22
23
|
},
|
|
23
24
|
"./*.schema.json": "./schemas/*.schema.json",
|
|
24
25
|
"./examples/*.json": "./examples/*.json",
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
"vitest": "^2.1.8"
|
|
41
42
|
},
|
|
42
43
|
"engines": {
|
|
43
|
-
"node": ">=22.
|
|
44
|
+
"node": ">=22.12.0"
|
|
44
45
|
},
|
|
45
46
|
"publishConfig": {
|
|
46
47
|
"access": "public",
|
package/schemas/tool.schema.json
CHANGED
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"input": {
|
|
26
26
|
"type": "object",
|
|
27
|
-
"description": "JSON Schema for the tool input. MUST validate under Draft 2020-12."
|
|
27
|
+
"description": "JSON Schema for the tool input. MUST validate under Draft 2020-12, except on an MCP server's tool (`transport: \"mcp\"`), whose schemas are in the dialect their `$schema` declares: draft-06, draft-07, 2019-09 or 2020-12."
|
|
28
28
|
},
|
|
29
29
|
"output": {
|
|
30
30
|
"type": "object",
|
|
31
|
-
"description": "JSON Schema for the tool output. MUST validate under Draft 2020-12."
|
|
31
|
+
"description": "JSON Schema for the tool output. MUST validate under Draft 2020-12, except on an MCP server's tool (`transport: \"mcp\"`), whose schemas are in the dialect their `$schema` declares: draft-06, draft-07, 2019-09 or 2020-12."
|
|
32
32
|
},
|
|
33
33
|
"needs": {
|
|
34
34
|
"type": "array",
|