AstrBot-Desktop/docs/protocol/v1/schemas
2026-07-18 20:34:47 +08:00
..
client-capabilities.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
connection-profile.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
connection-slot.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
diagnostic-bundle.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
file-transfer-plan.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
gateway-event.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
protocol-envelope.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
README.md feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
server-capabilities.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
tool-proposal.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00
tool-result.schema.json feat(p00): add Tauri desktop spike foundation 2026-07-18 20:34:47 +08:00

Generated JSON Schemas

This directory is populated from the authoritative Rust types by:

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:

cargo run -p desktop-protocol --example export_schemas

Expected generated files:

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.