DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

@dsh-external/dsh-subscription-overlay

@

@dsh-external/dsh-subscription-overlay

Manifest valid

Toggleable DSH overlay showing quota windows (5h/7d/30d) for Claude, Codex, OpenCode Go and CommandCode.

UI (client)hasBundlePatch

dsh-subscription-overlay

Toggleable DSH web-overlay that aggregates subscription quota for Claude, Codex, and opencode-go (fresh OAuth/session fetches), plus a commandcode availability probe and a local monthly burn ledger.

Honesty rule: commandcode has no quota endpoint, so the card shows probe state (online/offline + latency) and local burn only — never a fabricated percentage. When no monthly budget is set, no percentage bar is rendered at all.

What it does

  • Overlay floater (shell.overlay slot, own plugin id — composites with the stock dsh-quota pill): draggable pill or ring mode, alert badge, click opens the 4-provider panel, staleness-triggered refresh.
  • 4-provider panel: per-window usage bars + reset times for claude (5h/7d), codex (primary/secondary), opencode-go (5h/7d/monthly); commandcode shows probe + burn only.
  • Toggle: Ctrl+Shift+S hotkey, settings-section switch, and host master switch. Hidden unmounts pill/ring and panel and stops polling.
  • Settings section (order 56, next to Task Router): master toggle, four provider toggles, poll interval (1–60 min), alert threshold (1–100%), commandcode monthly budget in tokens (0 = track only, no %).
  • Same-origin HTTP API (all POSTs require the x-dsh-subscription-overlay CSRF header):
    • GET /plugins/dsh-subscription-overlay/api/status → { refreshedAt, providers[4], alertPct, overlay, enabled, settings }
    • POST /plugins/dsh-subscription-overlay/api/refresh → force re-fetch
    • POST /plugins/dsh-subscription-overlay/api/probe → commandcode re-probe
    • POST /plugins/dsh-subscription-overlay/api/settings → validated patch
    • POST /plugins/dsh-subscription-overlay/api/ledger/append → { model, tokens } fallback burn writer

Install

Prerequisites: DSH 0.1.5-rc.1 or later, Node 20+.

dsh plugin --profile web add C:/Projects/dsh-subscription-overlay
# restart the DSH web process once (bundle-list changes need a restart)
dsh --profile web --dump-config | grep dsh-subscription-overlay  # loader row check

On the next web load the 订阅额度 pill appears (bottom-right, draggable). Press Ctrl+Shift+S to hide/show it.

Usage

  • Click the pill to open the panel; the refresh button forces a re-fetch.
  • Settings → 订阅额度浮层: toggle providers, cadence, alert %, monthly budget.
  • commandcode card: 探测 button re-probes GET {baseURL}/models; 本月消耗 shows month-to-date tokens and (only when budget > 0) % of budget.
  • API keys never live in settings — credentials resolve via the DSH credentials domain with env/session-file fallbacks (see docs/SPIKE.md §2.1).

Screenshots

The overlay pill/panel render inside the running DSH web GUI after the bundle loads (restart required after install). Screenshots will be added here from a live session: docs/screenshots/pill.png, docs/screenshots/panel.png, docs/screenshots/settings.png.

Development

npm install
npm run typecheck            # host
npm run typecheck:client     # browser client
npm run build                # tsdown → lib/index.js + lib/client.js
node --test tests/*.test.ts  # 8 tests

Layout

  • src/index.ts — host: fresh-fetch aggregation, commandcode probe, burn ledger, settings validation, HTTP routes.
  • src/client/ — browser: SubscriptionPanel, OverlaySettingsSection, controller (snapshot store + API bridge), locale (zh/en), styles.
  • docs/SPIKE.md — DSH/wezterm API spike (precedents + verdict).
  • cordis.patch.yml + package.json#dsh — official profile-bundle install.

License

MIT — see LICENSE.

Comments

Loading…

From the same category

dsh-TUI

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 4.1k

↓ 16k/wk

MIT

TypeScript

Oct 5, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.7k

↓ 320/wk

Apache-2.0

TypeScript

Oct 5, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 1.9k

↓ 38.8k/wk

Apache-2.0

TypeScript

Oct 5, 2026

dsh plugin --profile web add dsh-context

by huiliyi37

官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。

Terminal & ClientsManifest valid

★ 282

↓ 571/wk

Apache-2.0

TypeScript

Sep 30, 2026

dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tui

by Hilbert-beinghappy

面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。

Terminal & ClientsManifest valid

★ 197

↓ 108/wk

MIT

TypeScript

Oct 1, 2026

dsh plugin --profile web add seektty

by T-Auto

deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准

Terminal & Clients

★ 81

MIT

JavaScript

Oct 3, 2026

Index only — not installable