feat(setup): add Codex CLI setup recipe (#1243)

* Add Codex setup recipe

* Sync beads issues (bd-1zo)

---------

Co-authored-by: Amp <amp@example.com>
This commit is contained in:
matt wilkie
2026-01-21 22:50:01 -07:00
committed by GitHub
parent be306b6c66
commit ce622f5688
11 changed files with 537 additions and 1646 deletions

View File

@@ -30,7 +30,7 @@ var setupCmd = &cobra.Command{
Long: `Setup integration files for AI editors and coding assistants.
Recipes define where beads workflow instructions are written. Built-in recipes
include cursor, claude, gemini, aider, factory, windsurf, cody, and kilocode.
include cursor, claude, gemini, aider, factory, codex, windsurf, cody, and kilocode.
Examples:
bd setup cursor # Install Cursor IDE integration
@@ -166,6 +166,9 @@ func runRecipe(name string) {
case "factory":
runFactoryRecipe()
return
case "codex":
runCodexRecipe()
return
case "aider":
runAiderRecipe()
return
@@ -287,6 +290,18 @@ func runFactoryRecipe() {
setup.InstallFactory()
}
func runCodexRecipe() {
if setupCheck {
setup.CheckCodex()
return
}
if setupRemove {
setup.RemoveCodex()
return
}
setup.InstallCodex()
}
func runAiderRecipe() {
if setupCheck {
setup.CheckAider()