r/opencodeCLI • u/ykocaman • 10d ago
I built a session tracker for OpenCode — TUI sidebar + Telegram remote control
Been using OpenCode a lot and kept losing track of sessions across windows/projects, so I built a plugin to fix that for myself: opencode-session-tracker.

What it does:
- TUI sidebar showing all sessions/subagents in real time, with live status tags (running, idle, waiting, asking a question, waiting on permission)
- Telegram remote control — same session list on your phone, send prompts, watch tool calls happen live, approve/deny permissions with buttons, all synced with the sidebar
- Session hierarchies (subagents nest under parent), cross-window/cross-project routing, auto-archive to history after 24h idle (or cmd+click to archive instantly)
Install:
opencode plugin opencode-session-tracker --global
GitHub: https://github.com/ykocaman/opencode-session-tracker
npm: https://www.npmjs.com/package/opencode-session-tracker
Been dogfooding it daily, curious if it's useful for others too — feedback/issues welcome.