@kontextmind/kxm 0.7.97 → 0.7.98
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/.claude-plugin/marketplace.json +1 -1
- package/.kxm/workflows/default.yaml +2 -0
- package/CHANGELOG.md +39 -2
- package/docs/concepts/architecture.md +1 -1
- package/docs/concepts/data-and-storage.md +1 -1
- package/docs/contracts/routing.md +1 -1
- package/docs/contributing/test-matrix.md +6 -5
- package/docs/operations/backup-and-restore.md +43 -24
- package/docs/operations/deploy.md +1 -1
- package/docs/reference/cli-reference.md +59 -24
- package/docs/reference/config-reference.md +24 -13
- package/docs/reference/harness-routing.md +3 -3
- package/docs/reference/http-api.md +1 -1
- package/docs/start/first-workflow.md +4 -4
- package/docs/start/quickstart-claude-code.md +2 -2
- package/package.json +1 -1
- package/plugins/kxm/.claude-plugin/plugin.json +1 -1
- package/plugins/kxm/dist/cli.js +393 -154
- package/plugins/kxm/dist/core.js +5 -2
- package/plugins/kxm/dist/mcp-server.js +1 -1
- package/plugins/kxm/dist/runtime-supervisor.js +231 -48
- package/plugins/kxm/dist/runtime.js +415 -92
- package/plugins/kxm/dist/server.js +7 -0
- package/plugins/kxm/package.json +1 -1
- package/plugins/kxm/skills/kxm-hub-ops/SKILL.md +4 -3
- package/plugins/kxm/skills/kxm-project-setup/SKILL.md +3 -2
- package/plugins/kxm/skills/kxm-routing-improve/SKILL.md +3 -0
- package/plugins/kxm/skills/kxm-runs/SKILL.md +8 -7
- package/plugins/kxm/src/cli/project.ts +22 -13
- package/plugins/kxm/src/cli/system.ts +22 -1
- package/plugins/kxm/src/cli.ts +11 -3
- package/plugins/kxm/src/database.ts +210 -36
- package/plugins/kxm/src/engine.ts +117 -2
- package/plugins/kxm/src/harness.ts +29 -0
- package/plugins/kxm/src/init-guide-setup.ts +43 -28
- package/plugins/kxm/src/mcp-server.ts +1 -1
- package/plugins/kxm/src/oneshot-producer.ts +16 -8
- package/plugins/kxm/src/prices.ts +33 -2
- package/plugins/kxm/src/routing.ts +13 -7
- package/plugins/kxm/src/studio-layout.ts +5 -4
- package/plugins/kxm/src/template.ts +31 -0
- package/plugins/kxm/src/worktree-witness.ts +71 -0
- package/schemas/backup-manifest.schema.json +33 -0
|
@@ -31,6 +31,17 @@
|
|
|
31
31
|
"minItems": 1,
|
|
32
32
|
"maxItems": 64
|
|
33
33
|
},
|
|
34
|
+
"files": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": { "$ref": "#/$defs/backupFileRecord" },
|
|
37
|
+
"maxItems": 64
|
|
38
|
+
},
|
|
39
|
+
"complete": { "type": "boolean" },
|
|
40
|
+
"omitted": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
43
|
+
"maxItems": 64
|
|
44
|
+
},
|
|
34
45
|
"manifestSha256": {
|
|
35
46
|
"$ref": "common.schema.json#/$defs/sha256"
|
|
36
47
|
}
|
|
@@ -84,6 +95,28 @@
|
|
|
84
95
|
}
|
|
85
96
|
},
|
|
86
97
|
"additionalProperties": false
|
|
98
|
+
},
|
|
99
|
+
"backupFileRecord": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"required": ["id", "sourcePath", "backupFile", "sha256", "bytes"],
|
|
102
|
+
"properties": {
|
|
103
|
+
"id": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"minLength": 1,
|
|
106
|
+
"maxLength": 128,
|
|
107
|
+
"pattern": "^[a-zA-Z0-9_.:-]+$"
|
|
108
|
+
},
|
|
109
|
+
"sourcePath": { "type": "string", "minLength": 1, "maxLength": 1024 },
|
|
110
|
+
"backupFile": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"minLength": 1,
|
|
113
|
+
"maxLength": 256,
|
|
114
|
+
"pattern": "^[a-zA-Z0-9_.-]+$"
|
|
115
|
+
},
|
|
116
|
+
"sha256": { "$ref": "common.schema.json#/$defs/sha256" },
|
|
117
|
+
"bytes": { "type": "integer", "minimum": 0, "maximum": 107374182400 }
|
|
118
|
+
},
|
|
119
|
+
"additionalProperties": false
|
|
87
120
|
}
|
|
88
121
|
}
|
|
89
122
|
}
|