Commit Graph

4 Commits

Author SHA1 Message Date
alex
00335c86ae debug(tmux-panes): strip trailing slash, always hold pane open 30s 2026-03-11 12:28:19 +00:00
alex
1145ce2be4 debug(tmux-panes): log serverUrl and wrap attach cmd to expose errors
On attach failure the pane stays open for 30s showing the error.
All events logged to /tmp/opencode-tmux-debug.log.
2026-03-11 12:23:36 +00:00
alex
7bd2308b53 fix(tmux-panes): 60/40 layout with stacked right-column panes
First subagent gets a horizontal 60/40 split (main left, agent right).
Subsequent subagents split vertically within the right column so they
stack. rightColumnPanes tracks right-column pane order so each new
split targets the last pane in the stack.
2026-03-11 12:15:30 +00:00
alex
4b4a32eff6 feat: add tmux integration with visual subagent panes
- plugins/tmux-panes.ts: opencode plugin that hooks into session.created/
  session.deleted events to spawn a tmux pane per subagent running
  'opencode attach', giving live visual TUI for each background agent
- opencode.jsonc: load the local plugin alongside @tarquinen/opencode-dcp
- skills/tmux-session/SKILL.md: teach agents to manage persistent tmux
  sessions (dev servers, watchers, worktree windows) with oc- naming
- c.fish / cc.fish: auto-start a tmux session when invoked outside tmux
  so the visual panes plugin can always activate
2026-03-11 12:12:24 +00:00