Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
Go API generator #
apigen generates the Go daemon protocol client and the shared API digest from
the canonical OpenAPI document.
main.goreadsdocs/openapi.yaml.go -C cli/tools/apigen run .generates outputs from the repository root.go -C cli/tools/apigen run . -checkfails when generated outputs differ.- Outputs are
api.gen.go,digest.gen.go, and the daemon'sapi_digest.gleam. patches.goemits patch-only presence fields and containing serializers inpatches.gen.go; response fields keep their ordinary types.metadata.goemits open problem constants, operation recovery helpers, and audience reference pages from the canonical operation metadata. Audience grouping does not change authorization.- The generator adapts schemas for Go code generation. The daemon adapter owns response decoding and SSE framing.
See Change the HTTP API for the contract workflow.