跳到正文

bowenliang123/dsh-context

331最近提交 2026年8月15日

dsh-context DSH 插件

dsh-context 以 dsh bundle 安装到 DeepSeek Harness 配置文件中。它在 Chat 和 Trajectory 旁提供中英双语的“上下文 / Context”标签页,展示上下文构成、请求历史、上下文事件以及模型可见消息。

如何安装 dsh-context DSH 插件

dsh plugin --profile web add dsh-context

复制不会执行命令。运行前请核对仓库和版本。

数据来源

快照日期:2026年8月15日

manifest-valid

dsh-context DSH 插件能做什么

  • 在 DeepSeek Harness 会话视图中添加中英双语的“上下文 / Context”标签页。
  • 展示系统提示词、工具 Schema、用户消息、注入上下文、助手回复和工具结果的当前上下文构成。
  • 按模型请求显示历史堆叠柱状图、详细构成,以及可用时的供应商实际上报 Token 用量。
  • 展示压缩、工具输出裁剪、技能或插件注入及模型切换等上下文事件。
  • 列出当前对模型可见的消息及每条消息的估算 Token 成本。
  • 读取实时和已持久化会话的事件日志;标签页打开时每两秒刷新一次。

dsh-context DSH 插件适合哪些场景

  • 排查哪些上下文来源占用了模型上下文窗口。
  • 分析长会话中的上下文增长、压缩和裁剪。
  • 对比估算 Token 用量与供应商上报的提示词和输出用量。
  • 检查模型可见的技能、插件和运行时上下文注入。

dsh-context DSH 插件适合谁

  • DeepSeek Harness 网页界面用户。
  • 调试长时间运行或上下文密集型 DSH 会话的开发者。
  • 需要了解上下文压缩和剩余窗口空间的用户。

dsh-context DSH 插件的限制

  • Token 数值基于 DSH 的固定密度启发式估算,约为 4 个字符 1 个 Token;仅在可用时显示供应商实际上报的用量。
  • 该界面适用于 DeepSeek Harness 的 web 配置文件/网页界面,并非独立应用。
  • 仅在“上下文 / Context”标签页打开时每两秒进行一次实时刷新。

客观检查信号

这些信号来自公开元数据扫描,不是本站安全认证。

  • dependency counts

    package.json declares 0 runtime, 8 development, 0 peer, and 0 optional dependencies.

    info
  • dsh bundle declared

    package.json declares DSH bundle metadata.

    info
  • license declared

    GitHub reports the repository license as Apache-2.0.

    info
  • package manifest available

    A root package.json was captured and can be inspected by the registry.

    info
  • prepare script detected

    package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

    info
  • source available

    Public GitHub source metadata is available for this registry snapshot.

    info

dsh-context DSH 插件的相关选择

dsh-context DSH 插件常见问题

dsh-context DSH 插件是什么?

dsh-context 是当前 DSH 插件快照收录的项目。页面基于仓库元数据和已核对的说明整理,运行前仍应查看上游仓库。

如何安装 dsh-context DSH 插件?

页面展示来源记录中的安装命令。复制动作不会执行命令,运行前请确认 package、profile 和版本仍与上游文档一致。

dsh-context 使用哪个 DSH profile?

dsh-context 快照记录的 profile 是 web。DSH 版本变化可能调整 profile 约定,安装前请再次核对。

dsh-context 与当前 DSH 版本兼容吗?

当前数据没有提供可验证的兼容版本矩阵。建议先确认最近提交、release 和 DSH 官方变更,再在可回滚的 profile 中测试。

dsh-context 加载失败怎么办?

先检查安装命令、profile、依赖安装日志和 Cordis 启动输出。再对照本站排错页与上游 issue,保留完整报错串便于定位。

dsh-context 有哪些替代 DSH 插件?

页面列出的相关插件来自当前快照的关联结果,只能作为候选。请按能力、最近维护时间、安装方式和限制逐项比较。