deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:RyensX/dsh-message-fold
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 | English
为 DeepSeek Harness 提供 Codex 风格的会话消息折叠。
插件只改变展示效果,不修改任何数据。
turn 折叠与工具组折叠相互独立。展开被隐藏的内容会重新挂载原 renderer,因此 renderer 自己的临时 UI 状态会重建,但会话数据不受影响。
构建后把当前目录加入 Web profile:
pnpm install
pnpm build
dsh plugin --profile web add .
卸载:
dsh plugin --profile web remove dsh-message-fold
当前版本锁定 DSH 0.1.0-rc.7、Cordis 4.0.1 和 React 18。DSH 暂无正式的 renderer decorator API,因此唯一的临时兼容点集中在 src/client/adapter/dsh-slot-renderer-decorator.ts:业务组件只依赖 RendererDecoratorPort,将来可直接替换适配器。
适配器采用可撤销 lease,并在不兼容时整体 fail-open。外部装饰器后来包在本插件外层时,插件卸载不会覆盖它;内部 wrapper 会立即退化为原 renderer 的透明透传。
折叠选择只保存在插件的页面内存中,不写入 localStorage。会话删除及插件卸载都会清理对应状态。
pnpm verify
npm pack --dry-run
verify 会依次执行类型检查、单元与 React 测试、Node/Web 双入口构建,以及 lazy-CJS handoff 检查。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。