DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-zai-usage

d

dsh-zai-usage

Manifest valid

Z.AI coding-plan quota panel in the DSH sidebar.

UI (client)hasBundlePatch

dsh-zai-usage

Z.AI coding-plan quota panel in the DSH sidebar.

A DeepSeek Harness plugin, packaged as a DSH bundle: package.json declares dsh.bundle.patch, and cordis.patch.yml inserts the zai-usage row into the active profile. The client half is served from lib/client.js (dsh.client.platform: web).

Install

  • Desktop app: Plugins → install github:bosenok/dsh-zai-usage (private repository: give the machine git access), then enable the bundle.
  • CLI: dsh plugin --profile <profile> add github:bosenok/dsh-zai-usage.
  • Local checkout: dsh plugin --profile <profile> add file:/path/to/dsh-zai-usage.

Enabling the bundle mounts the plugin; HMR applies it to a running app, and a restart makes sure the client half is rebuilt.

Note for the app-managed desktop profile: dsh plugin --profile desktop add only installs the dependency and copies the package; unlike a regular profile it does not enable the bundle. Enable it by adding the package name to dsh.profile.bundles in ~/.dsh/profiles/desktop/package.json (or through the Plugins page). Other profiles enable the installed bundle automatically.

Where the key comes from

The host half declares inject: ['credentials'] and resolves the key through the harness credential service — the same canonical seam the Z.AI provider itself uses:

const resolved = await ctx.credentials.resolve('ZAI_API_KEY')

So there is nothing plugin-specific to configure. The value is found in the service's layers: the credential store written when the Z.AI provider is configured (~/.dsh/.credentials.yaml → refs), or the environment layers (~/.dsh/.env, inherited environment, the project's .env). The value never reaches the browser: the client half renders the quota snapshot only.

Missing key: the panel shows ZAI_API_KEY is not set in the credential store, and the snapshot ~/.dsh/usage/zai-usage.json carries debug with the resolution state (credsService, resolve) — for instance {"credsService":"ok","resolve":"value(49) source=file"}.

Development

lib/ is built and committed; the sources live in src/. Rebuild the client with the repository's Vite config (npx vite build → dist/, then the wrapper in build/wrapper.js produces lib/client.js).

License

MIT — see LICENSE. Third-party code bundled into lib/ and its licenses are listed in THIRD_PARTY_NOTICES.md.

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

★ 5.5k

↓ 10.4k/wk

MIT

TypeScript

Oct 24, 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

↓ 152/wk

Apache-2.0

TypeScript

Oct 24, 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

★ 3.5k

↓ 43.4k/wk

Apache-2.0

TypeScript

Oct 24, 2026

dsh plugin --profile web add dsh-context

by mmparko

DeepSeek Harness 破甲 (mirror of YuJunZhiXue/dsh-purge) — 上游即将删库,此为本仓库全量镜像:含全部分支/73 个 tag/完整提交历史。原作者署名与二开要求见 README 署名章节。

Terminal & ClientsManifest valid

★ 2.1k

MIT

JavaScript

Oct 13, 2026

dsh plugin --profile web add dsh-purge

by c1overzz

DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你

Tools & CapabilitiesNotifications & IntegrationsTerminal & ClientsManifest valid

★ 574

↓ 5.3k/wk

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add dsh-bili-scroll

by Alice-Marx

Model Router and GALGame plugin for DeepSeek Harness

Terminal & ClientsModels & ProvidersManifest valid

★ 350

↓ 1.1k/wk

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add @ljwei-stak/dsh-model-router