Documentation
¶
Overview ¶
Package codegen produces a TypeScript surface for the aha MCP tools so code-mode runtimes (Cloudflare @cloudflare/codemode, Anthropic code-execution-with-MCP, custom sandbox MCP hosts) can call the tools as typed functions instead of round-tripping per-call JSON-RPC schemas.
The struct shapes are derived from Go's reflect package so that adding a field to e.g. corpus.VerifyReport reaches the TS surface as soon as the generator is re-run. The Ref discriminated union is the one special-case: it's an interface in Go (each variant has a custom MarshalJSON), so the TS shape is written by hand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.