Commit Graph

2 Commits

Author SHA1 Message Date
1b87770f67 Use fzf to pick the agent in agent-cmd.sh
Move agent discovery out of `agent.sh` so the picker runs on every new
pane, including manual splits. Set the agent session's default-command
to agent-cmd.sh and re-apply session options on every invocation so
changes propagate to live sessions.
2026-04-28 14:25:02 +01:00
688f263323 Auto-detach when all agents in window exit
Add agent-cmd.sh wrapper that detaches the client when all panes in the
current window have exited. This allows multiple agent windows (one per
directory) while automatically returning to the shell when done with a
particular window's agents.

- remain-on-exit keeps panes alive after agent exits to check status
- Wrapper counts running panes and detaches when it's the last one
2026-02-02 11:49:26 +00:00