plugin structure

Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
2026-04-19 18:32:39 -04:00
parent 064ae0f251
commit d91f6fe3ef
7 changed files with 1118 additions and 3 deletions

25
docs/README.opencode.md Normal file
View File

@@ -0,0 +1,25 @@
# tmux-utils for OpenCode
`tmux-utils` is an OpenCode plugin that adds a tmux-backed `interactive_bash` tool and manages tmux panes for subagent sessions.
## Installation
Add the plugin to `opencode.json`:
```json
{
"plugin": ["tmux-utils"]
}
```
Restart OpenCode after installing.
## Features
- `interactive_bash` tool backed by tmux
- tmux pane lifecycle management for subagent sessions
- plugin-config-driven tmux behavior
## Entrypoint Layout
The published package exposes an OpenCode-specific wrapper at `.opencode/plugins/tmux-utils.js`, which re-exports the built plugin from `dist/index.js`.