
yuezengwu/dsh-explain
110最近提交 2026年8月14日
dsh-explain DSH 插件
dsh-explain 在所有工作会话间维护一个全局学习线程,每个源会话有一个活跃的解释。支持手动请求解释和自动解释,并带有可配置的预算。学习状态跨会话持久化,即使源会话被删除也能查看解释。
如何安装 dsh-explain DSH 插件
dsh plugin --profile web add /absolute/path/to/dsh-explain复制不会执行命令。安装 dsh-explain DSH 插件前请核对仓库和版本。
dsh-explain DSH 插件数据来源
dsh-explain DSH 插件快照日期:2026年8月16日
discovered
dsh-explain DSH 插件能做什么
- 所有工作会话共享一个全局学习线程
- 每个源会话最多一个解释,可接收反馈
- 自动解释请求,默认每 24 小时滚动窗口 50 次,可配置
- 手动 /explain 命令,以及从选区或助手回答触发的快捷方式
- 私有的 ExplainContext 记录用户的知识和偏好
- 设置界面控制辅助模型、启用状态和预算
- 学习视图标签页(first-party conversation.view)
- 辅助历史在空闲或接近上下文窗口限制时自动压缩
- 即使源会话被删除,也能重新解释和改述
dsh-explain DSH 插件适合哪些场景
- 从已完成的工作会话中学习,无需重读整个对话
- 获取会话中遇到的概念或权衡的解释
- 跨多个工作会话构建持久的知识库
- 在源会话被删除后仍能查看和改述解释
- 使用自动请求从新会话中自动生成解释
dsh-explain DSH 插件适合谁
- 希望从工作会话中学习的 DeepSeek Harness 用户
- 使用 DSH 完成复杂任务、需要理解底层概念的开发者
dsh-explain DSH 插件的限制
- 目前仅支持 DSH 0.1.0-rc.6,不兼容早期私有预览版本
- 自动请求预算默认为每 24 小时滚动窗口 50 次,失败和重试计入预算
dsh-explain DSH 插件的仓库 README 摘录
以下文字摘自 dsh-explain DSH 插件的上游仓库 yuezengwu/dsh-explain 的 README,版权归原作者,仅作引用。
**English** | [简体中文](README.zh-CN.md) # dsh-explain — Learning mode for DSH > ✅ **Status: M6 is implemented entirely in Explain and passes its DSH `0.1.0-rc.6` acceptance gates. No other plugin requires a patch or runtime dependency.** > See the [product requirements](docs/PRD.md) and [technical architecture](docs/ARCHITECTURE.md) for the full design. The detailed design documents are currently written in Chinese. `dsh-explain` turns useful material from multiple [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) work sessions into one private, local-first learning thread. It keeps at most one active explanation per source session and continuously adapts explanations to the user's knowledge, preferences, and learning progress. ## Core behavior - A `$DSH_HOME` contains exactly one local learning thread. Work sessions, resumes, and forks do not copy its state. - Each top-level source session may have one explanation awaiting feedback, or none. While one remains open, that source cannot generate another; other sources may continue independently. - Enter `/explain <learning request>` in the composer of an established or empty session to request an explanation. `/e
阅读完整 README仓库许可: MIT
dsh-explain DSH 插件常见问题
如何安装 dsh-explain?
运行 `npx @deepseek-ai/dsh@0.1.0-rc.6 plugin --profile web add github:yuezengwu/dsh-explain` 然后 `npx @deepseek-ai/dsh@0.1.0-rc.6 web`。Git 托管的插件在安装时构建。如果 pnpm 要求构建批准,将打印的 'dsh-explain' 条目添加到配置文件的 pnpm-workspace.yaml 中,然后重复安装命令。
dsh-explain 支持哪个 DSH 版本?
目前仅支持 DSH 0.1.0-rc.6。不兼容早期的私有预览版本。本地开发也要求源码仓库匹配 0.1.0-rc.6 的公共 API 接口。
自动请求的预算如何工作?
自动评估默认每 24 小时滚动窗口为 50 次请求。用量在重启后保持;失败和重试计入预算,而手动解释、改述和压缩不计入。你可以在设置界面中调整预算。
源会话删除后还能使用解释吗?
可以。解释的第一条记录会存储一个最多 2000 字符的源摘要,用于后续改述。即使源会话被删除,改述仍然有效。该摘要不会通过学习视图 API 暴露。
主模型知道 Explain 的存在吗?
不知道。主模型不知道 Explain 的存在。Explain 不会写入主会话日志、修改主模型上下文或阻塞主轮次。ExplainContext 只发送给辅助模型,从不注入主代理。