@kontextmind/kxm 0.7.52 → 0.7.54

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.
@@ -1,26 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://schemas.kxm.dev/migration-decision.schema.json",
4
- "title": "KXM reviewed legacy configuration migration decisions",
5
- "type": "object",
6
- "required": ["schema", "projectId", "projectName", "sourceDigest", "resolutions"],
7
- "properties": {
8
- "schema": { "const": "kxm.migration-decision.v1" },
9
- "projectId": { "$ref": "common.schema.json#/$defs/opaqueId" },
10
- "projectName": { "type": "string", "minLength": 1, "maxLength": 120 },
11
- "sourceDigest": { "$ref": "common.schema.json#/$defs/sha256" },
12
- "resolutions": {
13
- "type": "object",
14
- "propertyNames": { "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,511}$" },
15
- "additionalProperties": {
16
- "oneOf": [
17
- { "type": "string", "minLength": 1, "maxLength": 256 },
18
- { "type": "integer", "minimum": 1, "maximum": 1000 },
19
- { "type": "boolean" }
20
- ]
21
- },
22
- "maxProperties": 1024
23
- }
24
- },
25
- "additionalProperties": false
26
- }
@@ -1,123 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://schemas.kxm.dev/migration-plan.schema.json",
4
- "title": "KXM legacy configuration migration plan",
5
- "type": "object",
6
- "required": [
7
- "schema",
8
- "projectId",
9
- "projectName",
10
- "sourceDigest",
11
- "sources",
12
- "resources",
13
- "ambiguities",
14
- "unmapped",
15
- "renames",
16
- "permissionChanges",
17
- "canApply"
18
- ],
19
- "properties": {
20
- "schema": { "const": "kxm.migration-plan.v1" },
21
- "projectId": { "$ref": "common.schema.json#/$defs/opaqueId" },
22
- "projectName": { "type": "string", "minLength": 1, "maxLength": 120 },
23
- "sourceDigest": { "$ref": "common.schema.json#/$defs/sha256" },
24
- "sources": {
25
- "type": "array",
26
- "items": { "$ref": "#/$defs/fileRecord" },
27
- "minItems": 1,
28
- "maxItems": 256
29
- },
30
- "resources": {
31
- "type": "array",
32
- "items": { "$ref": "#/$defs/fileRecord" },
33
- "minItems": 2,
34
- "maxItems": 512
35
- },
36
- "ambiguities": {
37
- "type": "array",
38
- "items": { "$ref": "#/$defs/ambiguity" },
39
- "maxItems": 1024
40
- },
41
- "unmapped": {
42
- "type": "array",
43
- "items": { "$ref": "#/$defs/unmapped" },
44
- "maxItems": 2048
45
- },
46
- "renames": {
47
- "type": "array",
48
- "items": { "$ref": "#/$defs/rename" },
49
- "maxItems": 1024
50
- },
51
- "permissionChanges": {
52
- "type": "array",
53
- "items": { "$ref": "#/$defs/permissionChange" },
54
- "maxItems": 512
55
- },
56
- "canApply": { "type": "boolean" }
57
- },
58
- "additionalProperties": false,
59
- "$defs": {
60
- "fileRecord": {
61
- "type": "object",
62
- "required": ["path", "sha256", "bytes"],
63
- "properties": {
64
- "path": { "$ref": "common.schema.json#/$defs/relativePath" },
65
- "sha256": { "$ref": "common.schema.json#/$defs/sha256" },
66
- "bytes": { "type": "integer", "minimum": 0, "maximum": 268435456 }
67
- },
68
- "additionalProperties": false
69
- },
70
- "ambiguity": {
71
- "type": "object",
72
- "required": ["key", "category", "sourcePath", "message", "allowedValues"],
73
- "properties": {
74
- "key": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,511}$" },
75
- "category": {
76
- "enum": ["unsupported", "identity", "step-kind", "terminal-status", "transition-budget", "evidence-policy", "permission", "secret-reference"]
77
- },
78
- "sourcePath": { "$ref": "common.schema.json#/$defs/relativePath" },
79
- "message": { "type": "string", "minLength": 1, "maxLength": 2000 },
80
- "allowedValues": {
81
- "type": "array",
82
- "items": { "oneOf": [{ "type": "string", "maxLength": 256 }, { "type": "integer", "minimum": 1, "maximum": 100 }] },
83
- "minItems": 1,
84
- "maxItems": 64
85
- }
86
- },
87
- "additionalProperties": false
88
- },
89
- "unmapped": {
90
- "type": "object",
91
- "required": ["sourcePath", "jsonPointer", "valueSha256", "sensitive"],
92
- "properties": {
93
- "sourcePath": { "$ref": "common.schema.json#/$defs/relativePath" },
94
- "jsonPointer": { "type": "string", "pattern": "^/", "maxLength": 1024 },
95
- "valueSha256": { "$ref": "common.schema.json#/$defs/sha256" },
96
- "sensitive": { "type": "boolean" }
97
- },
98
- "additionalProperties": false
99
- },
100
- "rename": {
101
- "type": "object",
102
- "required": ["from", "to", "kind"],
103
- "properties": {
104
- "from": { "type": "string", "minLength": 1, "maxLength": 128 },
105
- "to": { "$ref": "common.schema.json#/$defs/identifier" },
106
- "kind": { "enum": ["agent", "model", "workflow", "step", "evidence", "outcome"] }
107
- },
108
- "additionalProperties": false
109
- },
110
- "permissionChange": {
111
- "type": "object",
112
- "required": ["sourcePath", "targetPath", "direction", "summary", "decisionKey"],
113
- "properties": {
114
- "sourcePath": { "$ref": "common.schema.json#/$defs/relativePath" },
115
- "targetPath": { "$ref": "common.schema.json#/$defs/relativePath" },
116
- "direction": { "enum": ["narrowing", "expansion", "unknown"] },
117
- "summary": { "type": "string", "minLength": 1, "maxLength": 2000 },
118
- "decisionKey": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,511}$" }
119
- },
120
- "additionalProperties": false
121
- }
122
- }
123
- }
@@ -1,52 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://schemas.kxm.dev/migration-receipt.schema.json",
4
- "title": "KXM verified legacy configuration migration receipt",
5
- "type": "object",
6
- "required": [
7
- "schema",
8
- "migrationId",
9
- "projectId",
10
- "sourceDigest",
11
- "decisionDigest",
12
- "configRevision",
13
- "sources",
14
- "resources",
15
- "receiptSha256"
16
- ],
17
- "properties": {
18
- "schema": { "const": "kxm.migration-receipt.v1" },
19
- "migrationId": { "$ref": "common.schema.json#/$defs/opaqueId" },
20
- "projectId": { "$ref": "common.schema.json#/$defs/opaqueId" },
21
- "sourceDigest": { "$ref": "common.schema.json#/$defs/sha256" },
22
- "decisionDigest": { "$ref": "common.schema.json#/$defs/sha256" },
23
- "configRevision": { "$ref": "common.schema.json#/$defs/sha256" },
24
- "sources": {
25
- "type": "array",
26
- "items": { "$ref": "#/$defs/fileRecord" },
27
- "minItems": 1,
28
- "maxItems": 256
29
- },
30
- "resources": {
31
- "type": "array",
32
- "items": { "$ref": "#/$defs/fileRecord" },
33
- "minItems": 2,
34
- "maxItems": 512
35
- },
36
- "previousReceiptSha256": { "$ref": "common.schema.json#/$defs/sha256" },
37
- "receiptSha256": { "$ref": "common.schema.json#/$defs/sha256" }
38
- },
39
- "additionalProperties": false,
40
- "$defs": {
41
- "fileRecord": {
42
- "type": "object",
43
- "required": ["path", "sha256", "bytes"],
44
- "properties": {
45
- "path": { "$ref": "common.schema.json#/$defs/relativePath" },
46
- "sha256": { "$ref": "common.schema.json#/$defs/sha256" },
47
- "bytes": { "type": "integer", "minimum": 0, "maximum": 268435456 }
48
- },
49
- "additionalProperties": false
50
- }
51
- }
52
- }