Documentation
¶
Overview ¶
Command gen reads a pinned ACP schema.json + meta.json pair and writes protocol/types_gen.go and protocol/methods_gen.go. It never fetches anything from the network; the schema artifacts are pinned and reviewed separately (see protocol/schema/v1/REVISION).
Package gen builds a Go-facing type model from a pinned Agent Client Protocol JSON Schema (2020-12 subset) and its companion method-table JSON, then emits Go source. It understands exactly the schema shapes present in the pinned v1 artifact (see protocol/schema/v1/REVISION) and fails loudly on anything else rather than guessing at unsupported JSON Schema features.
Click to show internal directories.
Click to hide internal directories.