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
This commit is contained in:
1 parent
54c7b43d15
commit
4ce37afb39
31 files changed
+537
-5
No files matched your search
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://marqdo.dev/schemas/trace-v1.schema.json",
|
||||
"title": "Marqdo Trace v1",
|
||||
"type": "object",
|
||||
"required": ["schema", "schema_version", "run", "source", "events"],
|
||||
"properties": {
|
||||
"schema": {"const": "marqdo.trace"},
|
||||
"schema_version": {"const": 1},
|
||||
"run": {
|
||||
"type": "object",
|
||||
"required": ["id", "entry", "status"],
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"entry": {"type": "string"},
|
||||
"status": {"type": "string"}
|
||||
},
|
||||
"additionalProperties": true
|
||||
},
|
||||
"source": {
|
||||
"type": "object",
|
||||
"required": ["root_id", "analysis_digest"],
|
||||
"properties": {
|
||||
"root_id": {"type": "string"},
|
||||
"analysis_digest": {"type": "string"}
|
||||
},
|
||||
"additionalProperties": true
|
||||
},
|
||||
"events": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["seq", "kind"],
|
||||
"properties": {
|
||||
"seq": {"type": "integer", "minimum": 0},
|
||||
"kind": {"type": "string"},
|
||||
"function_id": {"type": ["string", "null"]},
|
||||
"module": {"type": ["string", "null"]},
|
||||
"span": {
|
||||
"type": ["object", "null"],
|
||||
"properties": {
|
||||
"start": {"type": "integer", "minimum": 0},
|
||||
"end": {"type": "integer", "minimum": 0}
|
||||
}
|
||||
},
|
||||
"detail": {"type": ["string", "null"]},
|
||||
"operation": {"type": "string"},
|
||||
"duration_micros": {"type": "integer", "minimum": 0}
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
Reference in new issue
Block a user