fix(cmd): exempt most commands from beads version check
Gas Town has migrated to Dolt for beads storage. The bd version check was blocking all commands when bd hangs/crashes. Added crew, polecat, witness, refinery, status, mail, hook, prime, nudge, seance, doctor, and dolt to the exempt list. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,10 +26,24 @@ across distributed teams of AI agents working on shared codebases.`,
|
|||||||
|
|
||||||
// Commands that don't require beads to be installed/checked.
|
// Commands that don't require beads to be installed/checked.
|
||||||
// These are basic utility commands that should work without beads.
|
// These are basic utility commands that should work without beads.
|
||||||
|
// NOTE: Gas Town has migrated to Dolt for beads storage. The bd version
|
||||||
|
// check is increasingly obsolete. Most commands are now exempt.
|
||||||
var beadsExemptCommands = map[string]bool{
|
var beadsExemptCommands = map[string]bool{
|
||||||
"version": true,
|
"version": true,
|
||||||
"help": true,
|
"help": true,
|
||||||
"completion": true,
|
"completion": true,
|
||||||
|
"crew": true,
|
||||||
|
"polecat": true,
|
||||||
|
"witness": true,
|
||||||
|
"refinery": true,
|
||||||
|
"status": true,
|
||||||
|
"mail": true,
|
||||||
|
"hook": true,
|
||||||
|
"prime": true,
|
||||||
|
"nudge": true,
|
||||||
|
"seance": true,
|
||||||
|
"doctor": true,
|
||||||
|
"dolt": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Commands exempt from the town root branch warning.
|
// Commands exempt from the town root branch warning.
|
||||||
|
|||||||
Reference in New Issue
Block a user