31 行
776 B
Markdown
31 行
776 B
Markdown
|
|
# Generated JSON Schemas
|
||
|
|
|
||
|
|
This directory is populated from the authoritative Rust types by:
|
||
|
|
|
||
|
|
```text
|
||
|
|
cargo run -p desktop-protocol --example export_schemas -- --write
|
||
|
|
```
|
||
|
|
|
||
|
|
The non-writing form checks committed files for semantic equality and fails if they are missing or stale:
|
||
|
|
|
||
|
|
```text
|
||
|
|
cargo run -p desktop-protocol --example export_schemas
|
||
|
|
```
|
||
|
|
|
||
|
|
Expected generated files:
|
||
|
|
|
||
|
|
```text
|
||
|
|
connection-profile.schema.json
|
||
|
|
connection-slot.schema.json
|
||
|
|
server-capabilities.schema.json
|
||
|
|
client-capabilities.schema.json
|
||
|
|
protocol-envelope.schema.json
|
||
|
|
gateway-event.schema.json
|
||
|
|
tool-proposal.schema.json
|
||
|
|
tool-result.schema.json
|
||
|
|
diagnostic-bundle.schema.json
|
||
|
|
file-transfer-plan.schema.json
|
||
|
|
```
|
||
|
|
|
||
|
|
No generated files are claimed current until the Rust toolchain has run the exporter successfully.
|