opencode-session-switch
v0.1.7
Published
OpenCode TUI plugin that adds a session switch panel to the sidebar.
Downloads
858
Maintainers
Readme
OpenCode Session Switch
Adds a compact session dropdown to the OpenCode sidebar.
Install
Recommended:
opencode plugin -g opencode-session-switchIf OpenCode already has an older cached copy, force a refresh:
opencode plugin -g -f opencode-session-switchManual install:
{
"$schema": "https://opencode.ai/tui.json",
"plugin": ["opencode-session-switch"]
}For local development, add your local checkout path to ~/.config/opencode/tui.json:
{
"$schema": "https://opencode.ai/tui.json",
"plugin": ["/path/to/opencode-session-switch"]
}Restart OpenCode after changing TUI plugin config.
Use It
- Sidebar: expand
Sessionsand click a session name to switch to it.
Notes
The sidebar uses OpenCode's TUI route API for direct session switching.
License
MIT
