Files
marqdo-cli/spec/schemas/tool-v1.schema.json
T
cflmy 4ce37afb39 feat(m0.6-r6): release examples, public schemas and cross-platform CI
- add runnable examples for an unknown-name Tool, multi-export plugin,
  external kernel provider and same-name multi-version packages
- add JSON Schemas for Analysis v1, Trace v1 and Tool v1 and validate them in CI
- extend CI with protocol/consumer smoke tests and a Windows/macOS cargo check
- add --kernel provider descriptors and R6 example integration tests
- document the examples and update M0.6 status
2026-11-20 11:50:27 +08:00

26 lines
947 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://marqdo.dev/schemas/tool-v1.schema.json",
"title": "Marqdo CLI Tool Manifest v1",
"type": "object",
"required": ["schema", "schema_version", "name", "version", "command", "entrypoint"],
"properties": {
"schema": {"const": "marqdo.cli-tool"},
"schema_version": {"const": 1},
"name": {"type": "string", "minLength": 1},
"version": {"type": "string", "minLength": 1},
"command": {"type": "string", "pattern": "^[a-z][a-z0-9-]*$"},
"entrypoint": {"type": "string", "minLength": 1},
"compatibility": {
"type": "object",
"properties": {
"marqdo": {"type": "string"},
"analysis": {"type": "array", "items": {"type": "integer", "minimum": 1}},
"trace": {"type": "array", "items": {"type": "integer", "minimum": 1}}
},
"additionalProperties": true
}
},
"additionalProperties": true
}