DSH Plugins
Back to plugins

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-usage

Swap web for your own profile name. First use initializes the profile for you.

Checks

  • declares-bundle
    Declares dsh.bundle.patch → cordis.patch.yml
  • patch-shipped
    The patch file ships in the tarball
  • patch-parses
    Patch parses and mounts 1 plugin row(s)
  • rows-resolvable
    Every plugin row resolves to a published package
  • entry-shipped
    Entry module ships: lib/index.js
  • prebuilt
    Prebuilt — installs without running build scripts
  • client-half-shipped
    Browser 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.