
Dsh Hud
by zexuanw958-svg · zexuanw958-svg/dsh-hud
Codex/Claude Code-style live session telemetry for DeepSeek Harness — model, context, tokens, timing, jobs, and subagents at a glance.
Install Dsh Hud
Installs from git, but pnpm >=10 will refuse until you add an `allowBuilds` entry in your profile's pnpm-workspace.yaml. That grants this package permission to execute code on your machine at install time, outside the agent sandbox — pin a commit (github:owner/repo#sha) before allowing it.
The one-line version
dsh plugin --profile my-profile add github:zexuanw958-svg/dsh-hudThis one needs an explicit build approval before it works
prepare script. pnpm 10 refuses to run that script until you list the package in pnpm-workspace.yaml. Adding it means you are allowing this package's code to run on your machine, outside the agent sandbox, at install time. The first install prints an allowBuilds hint and fails — that is expected, add the entry and retry.1. allow the build in pnpm-workspace.yaml
onlyBuiltDependencies:
- dsh-hud2. install, pinning a commit so the code you approved is the code you get
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:zexuanw958-svg/dsh-hud#<commit-sha>
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profileBefore you run itinstall scripts
- This package declares
prepare— package-manager lifecycle scripts that execute on your machine at install time, outside the agent sandbox, before any tool-approval prompt exists. - A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.
- Installing from git resolves a moving branch. Pin a commit —
github:zexuanw958-svg/dsh-hud#<commit-sha>— so the code you reviewed is the code you install.
Prerequisites
- API key
- Not required.
- Network access
- Not required at runtime.
- Build approval
- Required — the package must be listed in pnpm-workspace.yaml before it will build.
- Language
- TypeScript — a git install pulls this source, not build output.
Install check
Every field the verdict was derived from, so you can re-derive it yourself
| Field checked | Result | Weight | What the spec says about it |
|---|---|---|---|
| lifecycleScripts | fail | warn | runs at install time, outside the agent sandbox: prepare |
| dsh.bundle | pass | fatal | package.json declares a `dsh.bundle` layer |
| dsh.bundle.patch file | pass | fatal | patch file present at `cordis.patch.yml` |
| npm registry | missing | warn | `dsh-hud` is not published to npm |
| prepare script | pass | fatal | ships a `prepare` script that builds on git install |
| pnpm allowBuilds | fail | warn | pnpm >=10 refuses to run a git dependency's prepare script until allowlisted |
- Verdict reason
- git-only with a prepare script — requires an explicit build allowance
- package.json read
- package.json
- Rules applied from
- docs/user/develop/basic/publish.md
- Checked at
- 2026-08-15
- Install-time scripts
prepare
From the README
Excerpt as published by the author, plain text, unedited
**把 Codex / Claude Code 里「Agent 还在做什么、还剩多少上下文」这类运行态可见性,带到 DeepSeek Harness。** 模型路由 · 上下文压力 · Token 用量 · 模型/工具耗时 · 后台任务与子 Agent,一直留在会话顶栏。 `dsh-hud` 是一个面向 [DeepSeek Harness](https://github.com/deepseek-ai/DeepSeek-Harness) Web UI 的**只读 Agent 运行态观测插件**。 它解决的不是「怎么让 Agent 更聪明」,而是长任务里那个更朴素、也更折磨人的问题:**它还在跑吗?用了哪个模型?上下文快满了吗?时间花在模型还是工具上?后台到底还有几个任务?** 紧凑状态条常驻会话标题栏,显示运行状态、模型、上下文压力和累计步数;点击后展开 Token、耗时、Jobs、子 Agent、Provider、Workspace 与 Session ID。数据直接来自 Harness 已有的 snapshot / projection,**无需轮询、不额外调用模型,也不占用提示词上下文**。 目标很简单:**不用离开当前会话,就知道 Agent 做到哪了、消耗了什么、还能跑多久。** 最接近的一组参照,是 [Claude Code 的 `/statusline`](https://code.claude.com/docs/en/statusline)、[`/context` 与 `/usage`](https://code.claude.com/docs/en/commands),再加上 [`/tasks` / `/agents`](https://code.claude.com/docs/en/agents) 对后台工作的可见性;Codex 侧借鉴的是[长任务与多
Topics
GitHub topics on this repository
More in Model Context Deepseek Harness Plugin
Ranked by similarity inside the cluster, not alphabetically
Dsh File Mount
acefun29
No description provided.
Dsh Context
bowenliang123
A DeepSeek Harness plugin for Context insight dashboard — showing what the model's context window is made of and how it evolves.
Context Vista
GooodWei
为 DeepSeek Harness 提供右侧悬浮栏以及 /context 命令,用环形图实时展示当前上下文 token 用量与分配,compact指令效果,同时支持估算费用消耗,对标 Claude Code 的 /context。
Dsh Undo
LingLambda
Context undo/redo plugin for DeepSeek Harness (dsh): roll the model context back to the last completed step and restore it again.
Dsh Plugin Turn Memory
vilicvane
Turn-granular context memory for DeepSeek Harness.
Dsh Git Credentials
revive
DeepSeek Harness plugin: GitLab and GitHub API tokens stay out of the model context — encrypted at rest (AES-256-GCM), tools on demand, web settings panel.