Skip to content

v0.5.2 — Versioned CLI Response Schemas

Choose a tag to compare

@azusachino azusachino released this 12 Jul 05:54
188ad98

Added

  • asobi schema [--command NAME] — discoverable JSON Schemas for each command's machine-readable payload. Existing graph/search/show/receipt payloads are unchanged; the schema is the compatibility promise, not a runtime envelope. The index carries schemaVersion: 1, independent from storage/export apiVersion.
  • schemars derives across the graph models, api::v1 data types, recall results, and promoted JSON receipts; a schema-validation gate in the CLI integration verifier keeps real output in sync with the emitted schemas.

Changed

  • Unified logging on tracing's standard compact formatter with local-time timestamps; the top-level fatal error is now emitted through tracing too, so every diagnostic shares one format and sink (stderr).
  • Adopted prettier for Markdown (proseWrap: never) and reflowed all docs; fmt-check now enforces it.

Upgrade

No payload changes — existing consumers keep working. Use asobi schema to discover and validate command payloads going forward. See docs/response-contract.md.