AI Agent Hub
Back to plugins
🧰

dsh_ark_plan_usage

Web Tools Updated 2026.08.31

Run the following command in DeepSeek Harness:

dsh plugin install Barry-Liu-001/dsh_ark_plan_usage

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install Barry-Liu-001/dsh_ark_plan_usage inside DeepSeek Harness to install; source code is at https://github.com/Barry-Liu-001/dsh_ark_plan_usage

About this plugin

Developers who frequently use Volcano Ark Agent Plan used to switch to the terminal and run arkcli just to check their 5-hour, weekly, or monthly quota, which broke their flow and gave no visual progress cue. dsh_ark_plan_usage pins this usage data to the bottom of the DeepSeek Harness Web UI sidebar. Expanded, it shows a full card with a hexagonal status icon, a 5h progress bar, percentage, used/total figures, and window reset time, plus smaller weekly and monthly bars. Collapsed, it shrinks to a tiny hexagon with a percentage; hover reveals the details.

Data is fetched in real time from the local arkcli binary with a built-in 5-minute cache, staying in sync with the ark-5h-prompt terminal widget. Every failure scenario is handled gracefully: a missing arkcli triggers a red hint with install guidance; expired SSO tokens offer a one-click browser re-login button with a five-minute timeout and terminal fallback; call timeouts mark stale data; refresh failures keep whatever is already on screen so the card never goes blank.

The plugin is zero-build and zero-runtime-dependency. It injects a Node Typert Remote service via cordis.patch.yml, and the browser bundle is auto-discovered from package.json and mounted into the sidebar.footer.action slot out of the box. An environment variable lets you point to a custom arkcli path, covering Homebrew, manual, or PATH-based installs. Ideal for developers who call Volcano Ark Agent Plan daily and want a glanceable quota view right inside their web workspace.

Use Cases

  • Check Agent Plan quota live in the Web UI
  • One-click re-authentication when SSO expires
  • Graceful fallback when arkcli calls fail

Best For

  • Developers calling Volcano Ark Agent Plan daily
  • Teams needing at-a-glance quota visibility
  • Users who prefer zero-build, install-and-go plugins