Commit graph

1 commit

Author SHA1 Message Date
Matt Wilkie
5ea0eaa16d feat: add OpenCode recipe to bd setup
Add OpenCode as a built-in TypeSection recipe that injects a beads
workflow section into AGENTS.md, following the same pattern as the
existing factory and codex recipes.

- Register 'opencode' in BuiltinRecipes (internal/recipes/recipes.go)
- Add cmd/bd/setup/opencode.go with Install/Check/Remove functions
- Wire up 'bd setup opencode' subcommand in cmd/bd/setup.go
- Add tests for install and check modes

Supports: bd setup opencode, bd setup opencode --check,
          bd setup opencode --remove

Fixes steveyegge/beads#1321

Amp-Thread-ID: https://ampcode.com/threads/T-019cb569-6bbd-73fd-85a8-167984100b35
Co-authored-by: Amp <amp@ampcode.com>
2026-03-03 13:39:56 -07:00