opencode-hush
v0.3.0
Published
Sidebar telemetry panel for the OpenCode TUI: context pressure, Git branch and family session metrics the host does not draw
Downloads
2,326
Maintainers
Readme
Hush
Minimal session telemetry for the OpenCode TUI.
What Hush is
Hush is a compact sidebar plugin for the OpenCode TUI. It shows context pressure, the current Git branch, and session metrics that the host does not draw in the same place. The panel stays quiet when a value is unavailable and uses only data provided by the local plugin context.
The values in the image above are illustrative examples, not a record of a specific session.
Installation
opencode plugin add opencode-hushRestart OpenCode after installing. The first load can take close to a minute while the host downloads and precompiles the plugin.
What the panel shows
- Context — a compact pressure bar and the percentage of context remaining. The measurement comes from the latest assistant message with usage, compared with the model context limit when the host provides it.
- Git — the current branch from the host's VCS data. This row appears only when OpenCode is running inside a Git repository.
- Meta — the model, family cost, family processed tokens, cached tokens, session age, and active reasoning state.
Each metadata row has a distinct terminal-friendly symbol. Missing values hide their row, and an empty section is not rendered. Hush does not estimate metrics or make external telemetry calls; all values come from the OpenCode plugin context and host store.
Commands
- Hush: check for updates — available in the command palette.
/hush-update— available in the prompt.
The command asks the host's plugin API whether a newer opencode-hush release is available. After confirmation, the host installs the update. Restart OpenCode to load the new plugin code.
Requirements
- Node.js 22.18 or newer
- OpenCode 2.1.x
Development
pnpm install
pnpm test
pnpm build
pnpm verify:packLicense
MIT. Copyright © 2026 Federico Bordón.
