English | 简体中文
OpenCode TUI plugin that displays the current project's active sessions list in the sidebar.
- Sessions list: Shows up to 10 most recently updated sessions for the current project (configurable)
- Click to switch: Click any session in the list to navigate to it instantly
- Current session indicator: The active session is marked with a
▶prefix - Running indicator: Sessions currently generating show a braille spinner animation
- Project-scoped: Only shows sessions belonging to the current project directory
- Real-time updates: List refreshes automatically on
session.created/session.updated/session.deletedevents - Collapsible panel: Click the header to collapse/expand; state persists across restarts
- Slash commands:
/sessions-refreshand/sessions-countfor runtime configuration - Theme adaptive: Colors auto-desaturate from the current theme for a muted look
In OpenCode, press Ctrl + P, search for install plugin, and enter:
opencode-sessions-sidebar@latest
npm install -g opencode-sessions-sidebar@latestThen create or edit ~/.config/opencode/tui.jsonc:
Enter any session and the Sessions panel will appear in the sidebar.
| Command | Description |
|---|---|
/sessions-refresh |
Manually refresh the sessions list |
/sessions-count |
Set the maximum number of sessions to display (1-100) |
MIT
{ "$schema": "https://opencode.ai/tui.json", "plugin": ["opencode-sessions-sidebar@latest"] }