dsh-opencode-usage-sidebar

Shows OpenCode Go subscription usage (5-hour, weekly and monthly) in the DSH sidebar footer, with a live countdown to the monthly reset. Requires an OPENCODE_GO_API_KEY credential (Settings → Models, or a refs entry in ~/.dsh/.credentials.yaml); without it the card stays hidden. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Overview

Shows OpenCode Go subscription usage (5-hour, weekly and monthly) in the DSH sidebar footer, with a live countdown to the monthly reset. Requires an OPENCODE_GO_API_KEY credential (Settings → Models, or a refs entry in ~/.dsh/.credentials.yaml); without it the card stays hidden. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installation

Install from GitHub

dsh plugin --profile web add github:AAMMNNZZ/dsh-opencode-usage-sidebar

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.