DeepSHPlugins
dsh-message-fold 项目预览
GITHUB / COMMUNITY PROJECT

dsh-message-fold

Sessions & MessagesTypeScriptAGPL-3.0

Provides Codex-style session message folding for DeepSeek Harness.

5 StarsRyensX Updated 2026-08-24
Open GitHub repository
dsh-message-fold 项目预览

About this project

Chinese

Provides Codex-style session message folding for DeepSeek Harness.

English

Provides Codex-style session message folding for DeepSeek Harness.

Project details & listing signals

Snapshot 2026-09-11
Creator / organization
RyensX
Repository
RyensX/dsh-message-fold
GitHub Stars
5
Forks
2
Programming language
TypeScript
License
AGPL-3.0
Last push
2026-08-24
Manifest
Declaration found in the catalog

A public repository does not automatically permit commercial use. Check the project's license and compatibility. Manifests and catalog scores are not security certifications.

Catalog score

73/ 100
Maintenance activity
88
Documentation & practical information
78
Community interest
35
Installation signals
100
Project declarations
100

近 18 天仍在更新;标准命令一键安装。

Scores use five dimensions of the catalog snapshot. They are browsing aids, not hands-on reviews or security assessments.

Install & use

The respective GitHub repositories define project information and licensing.

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

Copying a command does not execute it. Read the repository documentation and check requirements and licensing first.

Project screenshots

Repository README

GitHub 原文

Saved repository documentation. Its capture date was not recorded and it may differ from the catalog description. Check the current repository before installing.

Repository documentation is preserved in its original language.

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

Before you begin

Check the current repository for installation, compatible versions and licensing. Stars and catalog scores are snapshot-based browsing signals.

Installation & troubleshooting · 项目问题反馈

Related projects