feat(refinery): Auto-detect rig from cwd for refinery commands
All gt refinery subcommands (start, stop, status, queue, attach) now accept an optional rig argument. If not provided, the rig is inferred from the current working directory. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -287,7 +287,7 @@ func runRefineryStatusLine(rigName string) error {
|
||||
}
|
||||
|
||||
// Get refinery manager using shared helper
|
||||
mgr, _, err := getRefineryManager(rigName)
|
||||
mgr, _, _, err := getRefineryManager(rigName)
|
||||
if err != nil {
|
||||
// Fallback to simple status if we can't access refinery
|
||||
fmt.Printf("%s MQ: ? |", AgentTypeIcons[AgentRefinery])
|
||||
|
||||
Reference in New Issue
Block a user