본문으로 건너뛰기
L

dsh-plugins (dsh-balance-plugin)

luokai-demo/dsh-plugins/plugins/dsh-balance-plugin

사이드바 하단의 DeepSeek 지갑 잔액: 신용카드 아이콘과 남은 잔액에 따라 색이 입혀지는 금액(¥2 초과 초록, ¥0–2 황색, 그 미만 빨강), 마운트 시·턴 종료 시·클릭 시 새로 고침; 잔액이 바뀔 때마다 부호 있는 델타가 떠올랐다 사라집니다.

설치

dsh plugin --profile web add github:luokai-demo/dsh-plugins

이 플러그인은 저장소의 plugins/dsh-balance-plugin 하위 디렉터리에 있습니다.

README

dsh-plugins

English | 中文

A DeepSeek-only plugin series for DeepSeek Harness — every plugin targets the DeepSeek platform exclusively: official DeepSeek API endpoints, DEEPSEEK_API_KEY credentials, and the DeepSeek wallet. No other platforms or providers are supported, and no cross-provider compatibility is planned. Each plugin is a standalone bundle with one-command install and its own version.

Plugins

PluginLooks likeWhat it doesInstall
dsh-balance-pluginbalance readoutDeepSeek wallet balance at the sidebar foot: card icon + status-tinted amount (green ≥ 2, amber 0–2, red ≤ 0), refreshes on turn end and on click, with a floating delta (+¥3.14 / -¥1.97) animating up and fading on every balance changedsh plugin add dsh-balance-plugin

Install

Option 1 — npm (recommended, one command). web is the profile dsh web uses; replace it with your own profile name if yours differs (see ls ~/.dsh/profiles/):

dsh plugin --profile web add dsh-balance-plugin

If a registry mirror or pnpm 11's minimum-release-age guard has not picked up a just-released version yet, install or update that exact version from the official npm registry instead:

dsh plugin --profile web add dsh-balance-plugin@<version> --registry=https://registry.npmjs.org/

Option 2 — GitHub Release. Download the dsh-balance-plugin-<version>.tgz asset for the release you want from the Releases page, then:

dsh plugin --profile web add ./dsh-balance-plugin-<version>.tgz

Restart dsh web and refresh the browser — the balance appears at the sidebar foot (beside Settings).

Desktop app. The Desktop app serves the same Web surface, so install into its own desktop profile instead of web — from the app's Plugins page, or dsh plugin --profile desktop add dsh-balance-plugin while the app is quit. Tested on Desktop 0.2.0-rc.2 (sidebar action registered, both /dsh-balance routes mounted).

Update

The plugin requires DeepSeek Harness 0.1.7 or 0.2.0 (release candidates included). On the 0.2.0 series install 0.2.3 or newer: 0.2.2 and earlier declare only the 0.1.7 series, so the Harness refuses to load them. For an existing npm install:

dsh plugin --profile web update dsh-balance-plugin
dsh --profile web --dump-config  # expect a "# == dsh-balance-plugin" layer

Restart dsh web and hard-refresh the browser after the update. To update a Release-tarball install, run dsh plugin --profile web add ./dsh-balance-plugin-<version>.tgz with the newer archive, then run the same verification.

Install with an AI assistant

Paste this prompt to any AI that can operate a terminal:

Install the dsh-balance-plugin plugin for DeepSeek Harness: first run dsh plugin --profile web add dsh-balance-plugin; if npm does not have it (E404 error), download the latest dsh-balance-plugin-*.tgz from https://github.com/luokai-demo/dsh-plugins/releases and run dsh plugin --profile web add ./dsh-balance-plugin-*.tgz; after installing, confirm the dsh-balance-plugin layer appears with dsh --profile web --dump-config, then restart dsh web, hard-refresh the browser (Cmd+Shift+R), and finally verify a card icon with the balance amount at the sidebar foot. (Replace web with your profile name if you do not use the default one.)

Development and publishing

Full workflows for adding plugins, building, testing, and releasing through both channels live in DEVELOPING.md. Each plugin directory carries its own README and publishing manual.

License

MIT

관련 플러그인