mix hieroglyph.manifest (hieroglyph v1.4.0)

Copy Markdown View Source

Generates a static api_manifest.json from the library's descripex annotations.

The manifest is a JSON-serializable representation of every public function in the library — params, return types, errors, specs, and descriptions. Suitable for downstream codegen (cartouche-generated contract bindings), agent discovery, validators, and CI contract-stability diffs across hieroglyph version bumps.

mix hieroglyph.manifest
mix hieroglyph.manifest path/to/output.json

Uses ABI.__descripex_modules__/0 as the single source of truth for which modules to include. Output defaults to api_manifest.json in the project root.