Back to directory

dsh-token-pet

Curated pickMaintenance: Active

jimmy0123-ux/dsh-token-pet

Displays live DSH state, context and token usage, cross-session ledger and trends, and user-triggered prompt enhancement in the DSH Web UI.

View on GitHubHomepage
$ dsh plugin --profile web add dsh-token-pet

40

stars

0

forks

TypeScript

Language

MIT

License

2026-09-01

Created

2026-09-02

Last push

A native DeepSeek Harness Web UI plugin: a floating Q-version pet plus snapshot-based panel that visualizes live DSH state, context occupancy and token usage, with a cross-session Lifetime Ledger and user-triggered prompt enhancement.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-09-06

License

MIT

01What can it help you accomplish?

  • Watch live DSH request, tool, context-compression and token usage inside the Web UI

    A persistent Q-version pet plus a three-tab floating window showing context occupancy, token breakdown, cross-session Lifetime Ledger, provider/model totals and hourly trends in your local timezone

    Developers and heavy users on the DSH web/desktop client who want real-time system state without opening logs

  • Trigger and refine prompt enhancement from within a DSH session

    Previewable, editable results that can be overwritten/appended, copied, undone and sent straight to the DSH composer

    Users who want to reuse the current session model route and push enhanced prompts into the DSH input box

02How to install into DeepSeek Harness

Prerequisites

  • A running DSH web or desktop client — the plugin only renders inside the Web UI
  • Node.js `>=22.19` (the current build requires it)

Installation steps

  1. 01

    Open Settings → Plugin Market / Plugin Management, search `dsh-token-pet`, click install, then restart DSH (or refresh the Web page)

  2. 02

    CLI (from-source DSH): `dsh plugin --profile web add dsh-token-pet` then `dsh web` for web, or `dsh plugin --profile desktop add dsh-token-pet` for desktop

    $ dsh plugin --profile web add dsh-token-pet

  3. 03

    From source/tgz: `git clone https://github.com/Jimmy0123-ux/dsh-token-pet.git` then `npm install` and `npm run build`, then `dsh plugin --profile web add link:<project path>` or `dsh plugin --profile web add <tgz path>`

    $ git clone https://github.com/Jimmy0123-ux/dsh-token-pet.git

Verify the integration

Not specified by the author

Rollback

  • If installed into the wrong profile, remove it first: `dsh plugin --profile <wrong profile> remove dsh-token-pet`, then add to the correct profile

03DSH integration and capability boundaries

DSH integrationNative runtime

Native DSH Web UI plugin installed via the official dsh plugin CLI; prompt enhancement submits through the official DSH inputActions API

  • Runtime status visualization

    real DSH events (requests, tool calls, compression, archive, prompt enhancement)12 frame-by-frame pet actions reflecting idle / working / compressing / tool success-failure / archive / prompt states

  • Real-time context

    persisted DSH session snapshotscontext occupancy rate plus round, step, model latency and token composition in the floating window

  • Lifetime usage ledger

    cross-session persisted recordsmonotonic cumulative usage kept even after the source session is archived or deleted

  • Prompt enhancement workflow

    current DSH session model route (falls back to `agentDefaultModel`)editable enhancement result previewed, overwritten/appended, copied, undone or sent to the DSH composer

  • Low-intrusion performance design

    persisted snapshots and a background incremental indexsnapshot-only panel reads, 10s request deadline, limited retries and old-data retention

04Who is it for? When not to use it?

Good for

  • Developers and heavy users on the DSH web/desktop client who want real-time system state without opening logs
  • Users who want to reuse the current session model route and push enhanced prompts into the DSH input box

Not for

  • This is a Web UI plugin: it only displays inside a DSH profile that has the Web UI host (`@deepseek-ai/dsh-web-app`). Installing into a profile without that host shows no interface.

05Compatibility, maintenance and safety notes

  • This is a Web UI plugin: it only displays inside a DSH profile that has the Web UI host (`@deepseek-ai/dsh-web-app`). Installing into a profile without that host shows no interface.
  • If installed into the wrong profile, you must remove it from that profile before adding it to the correct `web`/`desktop` profile; no in-place move is documented.
  • At DPR=2 with a large pet size the render hits the source image upscaling ceiling, so visual crispness is bounded by the source cell resolution.
Not specified by the authorNot specified by the authorv0.1.1

readme_verified

06Frequently asked questions

How do I install DSH Token Pet?

It is a Web UI plugin — install it inside the running DSH web/desktop client. Open Settings → Plugin Market / Plugin Management, search `dsh-token-pet`, click install, then restart DSH. Developers on a from-source DSH can run `dsh plugin --profile web add dsh-token-pet`. You do not need to run `dsh web`.

Does it need network access or scan my history?

The panel only reads persisted snapshots and never auto-scans history or starts index sync on open; background incremental indexing is coordinated by the host. Prompt enhancement runs only after you click, and full prompts are not saved in plugin logs.

What does the pet show?

12 official frame-by-frame actions reflect real DSH events — idle, working, compressing, tool success/failure, archive, and prompt-enhancing/ready — so you can see system state without opening logs.

Where does the usage data come from?

Statistics come from the local DSH session persistence layer; the Lifetime Ledger keeps monotonic totals even after the source session is archived or deleted.

I see "missing WebUI component, no interface" — why?

The plugin was installed into a profile without the Web UI host (`@deepseek-ai/dsh-web-app`). Confirm the profile is `web` or `desktop`, run `dsh --profile <name> --dump-config` to check, then remove from the wrong profile and add to `web`.

08Data and sources

  • Author-claimedgithub.com9c8cf3e479b5…

    DSH Token Pet 将当前请求、工具调用、上下文压缩、会话归档和提示词增强等真实 DSH 事件转化为一个常驻桌面的 Q 版角色。

  • Author-claimedgithub.com9c8cf3e479b5…

    直接发送通过 DSH 官方 `inputActions` 写入并提交,不伪造 HTTP 请求;

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-06. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.