dsh-ballast
DSH Web 的上下文窗口归因插件:Mini Utility Dock 面板按各自占用的 token 给会话内的用户消息、助手回复、推理块和工具结果排序,一眼看出窗口被哪些条目占住。面板还显示各条目类型的占比、本机各 live session 里最重的条目,并在宿主提供时显示 provider usage 与 system/tools/messages 的估算构成。面板只读:不估算费用、不修改会话、不触发 compaction。
Context-window attribution for DSH Web: a Mini Utility Dock panel that ranks the user messages, assistant turns, reasoning blocks and tool results of a session by the tokens each one occupies, so it is clear which entries hold the window. It also shows the share by entry type, the heaviest entries across the live sessions of the host, and, where the host provides them, provider usage and the estimated system/tools/messages composition. The panel is read-only: it does not estimate cost, modify a session, or trigger compaction.
怎么安装
dsh plugin add dsh-ballast 简介
dsh-ballast 中文 | English DSH Web 上下文窗口归因插件。它按消息条目显示当前 surface 的 token 占用和正文摘要,帮助定位窗口由哪些条目占用。插件只读,不估算费用、不修改会话,也不触发 compaction。 功能 按 token 占用列出用户消息、助手消息和工具结果;正文折叠空白后截断,工具结果显示工具名,推理块和图像只计数不内联原文。 显示当前路由价格,并在 host 同时提供 heuristic 影子价时标出价差。价差只表示图像可能经过视觉 token 重定价,不表示异常或内容重要性。 显示按消息类型聚合的 token 占比,以及当前 host 上各 live session 中最重的条目。 在 DSH 0.1.2-rc.1 上显示 provider usage、下一次请求的窗口压力,以及 system/tools/messages 的估算构成;这些构成值与 provider 锚定值口径不同,不强行求和。 列出当前 host 的 live session,并从 Mini Utility Dock 打开面板;标题缺失时回退到工作区目录名和 session ID。 面板、Dock 和可访问名称跟随 DSH 的全局语言设置;旧 host 回退到浏览器语言。 安装 powershell 从 npm 安装并注册到 web profile(推荐)…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-21
- 创建于
- 2026-08-31
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, deepseek-harness-plugin, deepseek-harness-plugins, dsh, dsh-bundle, dsh-plugin, dsh-plugin-desktop, dsh-plugin-market, dsh-plugins
同类推荐
langfuse
langfuse/langfuse
🪢 开源AI工程平台:LLM评估、可观测性、指标、提示管理、游乐场、数据集。与OpenTelemetry、LangChain、OpenAI SDK、LiteLLM等集成。🍊YC W23
cc-safety-net
kenryu42/claude-code-safety-net
AI编码代理护栏——一个CLI钩子,在执行前阻止破坏性的git和文件系统命令以及秘密文件访问。支持Amp Code、Antigravity CLI、Claude Code、Codex、Copilot CLI、Cursor、Gemini CLI、Hermes Agent、Kimi Code、OpenClaw、OpenCode和Pi。
loki-mode
asklokesh/claudeskill-loki-mode
多代理自主 SDLC 框架。从规格到部署应用。PRD、GitHub issue、OpenAPI/JSON/YAML 或一行简报。5 个 AI 提供商,8 个质量门。