Files
dotfiles/.config/opencode/opencode.jsonc
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

53 lines
918 B
JSON

{
"$schema": "https://opencode.ai/config.json",
"autoupdate": true,
"default_agent": "lead",
"plugin": ["@tarquinen/opencode-dcp", "./plugins/tmux-panes.ts"],
"agent": {
"general": {
"disable": true
},
"explore": {
"disable": true
},
"plan": { "permission": { "write": "allow" } }
},
"permission": {
"websearch": "allow",
"question": "allow",
"external_directory": "deny"
},
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": true
},
"gh_grep": {
"type": "remote",
"url": "https://mcp.grep.app",
"enabled": true
},
"playwright": {
"type": "local",
"command": [
"npx",
"@playwright/mcp@latest",
"--headless",
"--browser",
"chromium"
],
"enabled": true
},
"basic-memory": {
"type": "local",
"command": [
"uvx",
"basic-memory",
"mcp"
],
"enabled": true
}
}
}