dsh-opencode-usage
CheckedUndeclaredUIv0.1.0Usage
Monitors OpenCode Go subscription usage from a badge pinned at the bottom of the sidebar — five-hour, weekly, and monthly percentages, turning red on anomalies. Click for a detail card with reset countdowns, trends, alerts, and key configuration; sudden spikes or overruns are flagged so a stolen key does not go unnoticed.
Install
dsh plugin --profile web add dsh-opencode-usageSwap web for your own profile name. First use initializes the profile for you.
Checks
- declares-bundleDeclares dsh.bundle.patch → cordis.patch.yml
- patch-shippedThe patch file ships in the tarball
- patch-parsesPatch parses and mounts 1 plugin row(s)
- rows-resolvableEvery plugin row resolves to a published package
- entry-shippedEntry module ships: lib/index.js
- prebuiltPrebuilt — installs without running build scripts
- client-half-shippedBrowser half ships: lib/client.js
What it mounts
insertopencode-usagedsh-opencode-usage
These are the rows the plugin's cordis.patch.yml inserts into your config tree. After installing, dsh --profile <name> --dump-config prints them back.