dsh-paste-collapse

Codex 同款粘贴折叠:DSH 输入框里超过 1000 字符的粘贴变成 `[Pasted Content N chars]` 占位符,同样长度再粘一次编成 `#2`;模型读到之前宿主把占位符换回全文,一个字符不少。输入框上沿留一枚胶囊显示预览,发出的消息里也是同一枚胶囊,点开在右侧抽屉看全文并复制。全部在内存里:不写磁盘,也不省 token。

插件介绍

Codex 同款粘贴折叠:DSH 输入框里超过 1000 字符的粘贴变成 `[Pasted Content N chars]` 占位符,同样长度再粘一次编成 `#2`;模型读到之前宿主把占位符换回全文,一个字符不少。输入框上沿留一枚胶囊显示预览,发出的消息里也是同一枚胶囊,点开在右侧抽屉看全文并复制。全部在内存里:不写磁盘,也不省 token。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:matata2017/dsh-paste-collapse

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令