dshbase

插件目录 / Developer / dsh-message-fold

dsh-message-fold

已验证 · 实测可装 RyensX

✓ 持续维护 基于 9 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

3Stars
0Forks
0未关闭 issue
语言
2026-08-24最近推送
跨平台平台

功能简介

为 DeepSeek Harness 提供 Codex 风格的会话消息折叠。/ Provides Codex-style session message folding for DeepSeek Harness.

我们的评价
可用 — 实测通过,早期项目

为 DeepSeek Harness 提供 Codex 风格的会话消息折叠。/ Provides Codex-style session message folding for DeepSeek Harness. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-message-fold

中文 | English

为 DeepSeek Harness 提供 Codex 风格的会话消息折叠。

插件只改变展示效果,不修改任何数据。

效果

  • 连续2个及以上工具调用自动合并,可展开
  • 最终回复后,中间过程都会被自动折叠,展示为"耗时 x秒",可展开

折叠例子

安装

Github安装:

dsh plugin --profile web add github:RyensX/dsh-message-fold

源码安装:

pnpm install
pnpm build
dsh plugin --profile web add .

卸载:

dsh plugin --profile web remove dsh-message-fold

兼容边界

当前版本锁定 DSH 0.1.0-rc.8、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 检查。

友链

LinuxDo

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-message-fold」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:RyensX/dsh-message-fold

Headless(CLI)profile:

dsh plugin --profile headless add github:RyensX/dsh-message-fold

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7789 个插件 →