Idle Since
opencode TUI plugin — shows when the current session went idle, right in the sidebar
0
501
9 in 7 days
35.4
Multi-signal model
29 days ago
2026-09-22
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-idle-since@0.1.2"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-idle-since@0.1.2"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-idle-sinceOpenCode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Know exactly how long your opencode session has been sitting idle — a quiet line in the sidebar.

When the agent finishes and the session goes quiet, the sidebar shows idle since 14:32:07. As soon as the session is busy again the line disappears, and it comes back with a fresh timestamp the next time the session goes idle.
Install
opencode plugin opencode-idle-since -g
Restart opencode. That's it — the plugin registers itself in your tui.json.
Manual install
Add the package to the plugin array of ~/.config/opencode/tui.json:
{
"plugin": ["opencode-idle-since"]
}
Restart opencode afterwards.
Disable
Plugins are enabled by default. Turn this one off by its id:
{
"plugin_enabled": {
"idle-since": false
}
}
Notes
- Shows the current session only.
- The time is rendered with
toLocaleTimeString(), so it follows your system locale. - npm plugin packages are cached under
~/.cache/opencode/packages/.
License
MIT
Similar plugins
Docker Panel
opencode-docker-panel
Docker container panel for the OpenCode 2 TUI sidebar
Usage Monitor
opencode-usage-monitor
OpenCode v2 TUI sidebar plugin that displays API usage quotas for OpenAI, Z.AI (GLM), and DeepSeek providers
Ds Peak
opencode-ds-peak
Minimal opencode TUI sidebar dot showing whether DeepSeek is in peak or off-peak pricing, with a countdown to the next switch. Five languages.