dshbase

插件目录 / Knowledge / dsh-sonar

dsh-sonar

已验证 · 实测可装 Howe829

✓ 持续维护 基于 11 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
—语言
2026-08-14最近推送
跨平台平台

功能简介

Draggable deep-sea token and context dashboard for DeepSeek Harness

✅
我们的评价
可用 — 实测通过,早期项目

Draggable deep-sea token and context dashboard for DeepSeek Harness 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-sonar

English | 中文

A compact, draggable deep-sea usage dashboard for the DeepSeek Harness Web UI.

dsh-sonar dashboard in DeepSeek Harness

dsh-sonar adds a Fish-logo floating launcher without narrowing the conversation. Click the Fish to open a complete session dashboard; drag it anywhere in the viewport. The panel automatically chooses a direction where it fits, and Escape or another Fish click collapses it. While the model is answering, lightweight bubbles rise around the launcher.

The dashboard includes:

  • a green / amber / red context-window gauge;
  • an accounted-token donut for uncached input, cache read/write, output, and reasoning when the installed Harness exposes it;
  • heuristic system prompt, tool schema, and conversation composition;
  • turn, step, model time, tool time, cache hit rate, and cumulative tokens;
  • exact DeepSeek total_balance, refreshed after each completed turn or manually.

The API key stays on the Host. The browser calls a same-origin dsh-sonar route that returns only { totalBalance }; cross-site and non-IP/localhost Host requests are rejected, and responses are never cached.

Install from GitHub

The repository commits its built lib/ artifacts, so a Git install does not need to execute a build script:

dsh plugin --profile web add github:Howe829/dsh-sonar#v0.1.0
dsh --profile web

Pin a release tag for repeatable installations. Remove it with:

dsh plugin --profile web remove dsh-sonar

Configuration

The bundle inserts one dsh-sonar row. Defaults use the managed DEEPSEEK_API_KEY credential and the public DeepSeek API:

- id: dsh-sonar
  name: dsh-sonar
  config:
    apiKeyEnv: DEEPSEEK_API_KEY
    baseURL: https://api.deepseek.com

A later profile or home patch can replace this row. Harness patch configuration is row-replacing, so restate every field you want to keep.

Development

pnpm install
pnpm run verify
pnpm pack --pack-destination .artifacts

The current stable dsh-sonar release is v0.1.0. It is tested against the public DeepSeek Harness 0.1.0-rc.6 package family. DeepSeek Harness itself remains a developer preview, so future Harness releases may require compatibility updates.

Privacy and model impact

This is a read-only UI plugin. It adds no tools, prompts, commands, durable session events, or model-visible context. It does not alter the request envelope or KV cache behavior.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-sonar」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:Howe829/dsh-sonar

Headless(CLI)profile:

dsh plugin --profile headless add github:Howe829/dsh-sonar

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Knowledge 里更多

浏览全部 7819 个插件 →