DSH Marketplace

dsh-context

bowenliang123/dsh-context

DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.

1,53646TypeScriptApache-2.0Source

Install

Add dsh-context to DeepSeek Harness

via npm

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

via GitHub · npm package

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

What happened when we ran it

Installed cleanly when we ran it

Every command here is run in a throwaway container against a clean profile, and the result is whatever the harness recorded — not a guess from the source. Last run 13d ago.

Show it in your README

install verified — dshmarketplace

For maintainers: the badge serves this listing's latest sandbox verdict, so a re-run updates it on its own — and it links readers to the full result here.

Due diligence

Before you install dsh-context

  • Source of record: bowenliang123/dsh-context — present in the community registry that DSH's own plugin market installs from.
  • Licensed under Apache-2.0.
  • A listing here is not a security review. Plugins run with your agent's permissions.

The AI take

What it is — dsh-context provides a context insight panel, /context command, and context browser for managing context composition, evolution trends, and events.

Who it is for — Users analyzing context composition and evolution in DeepSeek Harness sessions can use this plugin. Those preferring a simple chat interface without extra insights do not need it.

Watch out — Sandbox testing passed with no obvious issues. Token statistics align with official token-meter projections.

The verdict — You will install it because it offers detailed tracking of context events, which is valuable when your sessions include tool calls.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.

What dsh-context does

Layered context fragments split into six channels and recombine into changing stacked blocks.

dsh-context is a DeepSeek Harness plugin that exposes how an agent’s context window is assembled and changes over time. It adds a Context / 上下文 tab to the web UI and a /context command that opens the same view for the current session.

The plugin presents the context model recorded for each request: occupancy against the model’s full window, a six-part composition breakdown, per-request history, compaction and pruning markers, injection and model-switch events, and per-message token costs. The history can be viewed by turn or step. Selecting a request opens its assembled context, including system prompts, tool schemas, messages, injected context, assistant replies and tool results. The panel also shows provider-reported prompt and output tokens alongside estimates where available.

dsh-context is intended for developers diagnosing context growth, compaction, injected instructions, or unexpectedly expensive tools. It depends on the DeepSeek Harness web UI and an open session, so it is not useful in a terminal-only workflow or when context inspection is unnecessary. Earlier requests may be reconstructed from the removed-message archive and marked as approximate after compaction. The README names no configuration keys, files, platform requirements, or separate data-writing behaviour.

dsh-context documentation

使用方式

在 DeepSeek Harness 中打开任意会话,然后选择 Context / 上下文 标签页。启动 web UI 使用 dsh web;README 说明安装或更新后无需构建步骤,也无需重启。页面展示当前会话的回合数、步骤数,以及注入、压缩和修剪的次数。

命令

在会话中输入 /context,或从 / 菜单选择它并按 Enter。命令会打开上下文洞察窗口,其中包含当前占用量、六类组成,以及最近 10 个回合的趋势图。悬停或点击柱状图可查看详细拆分。

面板数据

当前组成按模型完整上下文窗口缩放,类别包括:

  • 系统提示
  • 工具 schema
  • 用户消息
  • 注入的上下文
  • assistant 回复
  • 工具结果

历史图表按模型请求记录柱状图,可切换 Turn 和 Step 粒度,并查看估算 token 与 provider 报告的实际 prompt/output token。事件列表记录压缩、工具输出修剪、skill 或 plugin 上下文注入及模型切换,并提供 token 变化量、回合或步骤归属和时间戳。消息视图按最新优先列出当前模型可见的消息及其 token 成本。

上下文浏览器与限制

上下文浏览器可选择 Live (next request) 或保留的步骤,展开各类别中的元素及其实际内容,包括工具描述、JSON schema、消息、reasoning、tool-call 参数和工具输出。历史图表的悬停选择会同步浏览器;展开较旧元素时,页面会自动加载更早的聊天历史。压缩前的步骤可能依据 removed-message archive 重建,并标明内容仅为近似。README 未说明额外配置、环境变量、平台范围或版本要求。

Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub

Same category

Alternatives to dsh-context

dsh-cost-meter

Han-1413141

333

Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.

Installed cleanly when we ran it

npm packageJavaScript10d ago

AI review

dsh-cost-meter

What it is — DeepSeek Harness session and daily API cost tracking plugin, displaying official balance, budget usage %, and history dashboard.

Who it is for — When using DeepSeek Harness for session tasks that require monitoring official balance and budget usage percentage, it fits. Users not using official price can choose not to install it, because it emphasizes official price synchronization.

Watch out — No obvious issues found. Sandbox test: successfully installed and registered in a new profile. Static checks found no problems.

The verdict — I would install it because it can provide one-click official price synchronization, but the premise is using official channels.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Details
237

Tracks DeepSeek token usage, per-call and session costs, and account balance with cache-aware charge animations in the DSH Web UI.

Installed cleanly when we ran it

npm packageJavaScriptyesterday

AI review

dsh-damage-pulse

What it is — dsh-damage-pulse is a DeepSeek Harness plugin. It records DeepSeek token usage, per-call and session costs, and presents them in the DSH Web UI with cache-aware charge animations.

Who it is for — If you run long multi-turn conversations in DeepSeek Harness and need to track token consumption plus account balance at single-call, session and global levels, it fits. Users who do not care about token balance or want to skip the whale-girl feedback can skip it, because they may stick to the default Harness interface.

Watch out — It installs via npm. Static analysis shows it executes shell commands. Sandbox test passed: it installs cleanly in a fresh profile and registers into the profile. No obvious issues found.

The verdict — I would install it because it keeps a persistent ledger for token usage and animates charges via the whale-girl character, but only if I need cache-aware per-call cost tracking.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source
202

Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.

Installed cleanly when we ran it

npm packageJavaScript18d ago

AI review

TokenLedger

What it is — TokenLedger is a sidebar panel for attributing token usage to the relay sites serving requests, based on provider configurations.

Who it is for — If you need to track token usage distribution across multiple relay sites in DeepSeek Harness, this plugin would be suitable because it automatically discovers site attribution from existing configs. If your needs focus on token balance monitoring for a single provider without breakdowns, you might not need it.

Watch out — Sandbox testing passed in a fresh profile. Static checks indicate it will execute shell commands. No obvious issues found.

The verdict — If I were using it for token accounting across relays, I would install it because it reads from existing configurations without extra setup.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

dsh-usage-stats

Ychris12138

163

Multi-provider usage dashboard with provider/model token breakdowns, calendar drill-downs, account balances, and OpenCode Go / Z.ai subscription quota tracking.

Installed cleanly when we ran it

npm packageJavaScript7d ago

AI review

dsh-usage-stats

What it is — dsh-usage-stats provides multi-provider account monitoring and token usage analytics for the DeepSeek Harness web GUI.

Who it is for — When using DeepSeek Harness web profile for multi-provider token usage analysis and account balance monitoring, it is suitable to install. If a user only needs to analyze token usage for a single provider without cross-provider data aggregation, they can monitor using other methods.

Watch out — Requires providing API key or token to fetch account data. Sandbox testing passed: installed in a fresh profile and registered by Harness. Will execute shell commands.

The verdict — If multi-provider token usage and balance analysis is needed, I would install it because it offers fee estimation and budget alerts, but the premise is that credentials are provided.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
2Details
124

Personal center for DeepSeek Harness: cross-session usage statistics, per-model cost estimation, global custom instructions, a global font-size adjuster, a data-driven desktop pet with bitmap & vector skins, and a conversation status overview, all local and offline.

Installed cleanly when we ran it

npm packageJavaScript24d ago

AI review

dsh-personal-center

What it is — DeepSeek Harness plugin adds a personal configuration section with token usage statistics, personalized custom instructions and a desktop pet.

Who it is for — If you need to view token usage and model distribution in DeepSeek Harness, then this plugin is suitable for you. If you do not use the workspace instruction feature in DeepSeek Harness, then you do not need to install it.

Watch out — Sandbox testing passed. It was installed and registered in a new profile. No obvious issues found.

The verdict — I would install it because it provides model cost estimation and a usage-driven desktop pet, but only if token usage tracking is needed.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
Source

dsh-usage

Aisland-SJL

107

🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-channel comparison, local-only & privacy-first

Installed cleanly when we ran it

GitHub sourceJavaScript1mo ago

AI review

dsh-usage

What it is — It provides a persistent dock, token usage panel, and activity heatmap.

Who it is for — When managing token usage in DeepSeek Harness web profile, if you need real-time balance monitoring and custom interface layout, this plugin fits. If you only need simple statistics without cross-channel comparison, you can skip installing it.

Watch out — Sandbox test passed: installed in fresh profile and registered by harness. The plugin runs locally only with credentials not exposed. No obvious issues found.

The verdict — I would install it because it integrates multiple widgets into a single persistent dock, but the premise is that the profile version matches.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source