aa2246740/dsh-resume
Continue Codex, Claude Code, and Cursor work in DeepSeek Harness
Project Overview项目介绍
dsh-resume is a DeepSeek Harness plugin that lifts local sessions from Codex, Claude Code, Cursor, Grok, Pi, and ZCode and repackages them as a handoff context you can keep working from inside DSH. The repository ships a prebuilt bundle, so installation is a one-line entry: paste github:aa2246740/dsh-resume#v0.2.5 or an absolute path to dsh-resume-0.2.5.tgz into the desktop client's "Plugins → Add Plugin" dialog, or run dsh plugin --profile web add … on the official CLI with the web profile; no DSH source checkout or build step is required. Because the product's name, packaging, manifest, and slash-command surface are all DSH-specific, it qualifies as a native DSH plugin rather than a cross-platform wrapper.
The typical workflow starts by typing /resume-codex, /resume-claude, /resume-cursor, /resume-grok, /resume-pi, or /resume-zcode in the composer, optionally followed by latest, a session id, a path, or a title. The plugin reads only the local session and emits a six-section handoff card covering goal, files, progress, gaps, stop-point, and reader warnings; when a title matches more than one session it lists candidates instead of guessing. It targets users who frequently jump between coding agents and need to resume unfinished work, and it never respawns old processes or mutates someone else's session files.
Dependencies and limits are strict: the desktop client uses its own profile, while the Web Host requires the official dsh, pnpm, and Node.js ^22.19.0 or >=24.0.0, sharing the existing DSH_HOME; Python 3 is needed locally to read history, and zstd is additionally required to read compressed Codex rollouts. The plugin is strictly read-only: system prompts, hidden reasoning, encrypted or broken records are either dropped or flagged unavailable, historical conclusions are labelled HISTORY_REPORTED while only freshly verified ones become CURRENT_OBSERVED, deprecated v2/sessions and cli/rollout JSONL are not primary storage, and Grok reads only updates.jsonl, Pi follows the current branch, and ZCode reads cli/db/db.sqlite without replaying calls. Version 0.2.5 is validated against DSH 0.2.0-rc.2 and the project is released under Apache-2.0.
dsh-resume 是一个面向 DeepSeek Harness 的会话交接插件,把 Codex、Claude Code、Cursor、Grok、Pi、ZCode 的本机会话整理为可继续工作的上下文。仓库附带编译产物,安装包直接以 github:aa2246740/dsh-resume#v0.2.5 或本地 .tgz 的形式通过桌面端"插件→添加插件"或 CLI dsh plugin --profile web add 挂入,无需自行编译。它为 DSH 贡献了一个以 /resume- 为前缀的斜杠命令族,因此属于 DSH 原生插件。
使用流程是在输入框敲 /resume-codex、/resume-claude 等命令,可附带 latest、会话 id、路径或标题作为参数。插件只读本机那次会话,写出六段交接卡:目标、文件、做到哪、还差什么、停在哪、读者警告;标题匹配多条时列出候选让用户挑选。它面向经常要在多个 Agent 之间切换、需要恢复未完成任务的中高级用户;旧进程不会被拉起,别人的会话文件也不会被改。
依赖方面,桌面端独立安装;Web Host 需要官方 dsh、pnpm、Node.js ^22.19.0 或 >=24.0.0,并复用现有 DSH_HOME。读取历史需本机 Python 3,读取压缩 Codex rollout 另需 zstd。插件只读会话仓库;系统提示、隐藏推理、加密或损坏记录或被丢弃或标为不可用;历史结论先打 HISTORY_REPORTED 标签,仅本轮在当前仓库核对过的记为 CURRENT_OBSERVED。版本 0.2.5 面向 DSH 0.2.0-rc.2 验证,许可证为 Apache-2.0。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-resume(aa2246740/dsh-resume)
仓库:https://github.com/aa2246740/dsh-resume
本站详情页:https://www.yhbd.top/plugins/aa2246740-dsh-resume/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 Apache-2.0 · ⭐ 7 · 最近提交 2026-09-29 · 主语言 Python
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:aa2246740/dsh-resume#v0.2.5
把 aa2246740/dsh-resume 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-resume
把 Codex、Claude Code、Cursor、Grok、Pi、ZCode 的本机会话整理成可继续工作的上下文,在 DeepSeek Harness 中接着做。
安装
0.2.5 面向 DeepSeek Harness 0.2.0-rc.2 验证。 安装包和仓库均包含编译好的插件,无需下载 Harness 源码或自行构建。读取历史需要本机有 Python 3;读取压缩的 Codex rollout 另需 zstd。
官方桌面端
- 打开 插件 → 添加插件(部分版本入口在设置里)。
- 在 包名或地址 中填入
github:aa2246740/dsh-resume#v0.2.5,然后安装并启用。 - 按安装器提示完成激活,在输入框输入
/resume-,确认能看到下面列出的六条命令。
也可以在 v0.2.5 Release 下载 dsh-resume-0.2.5.tgz,把该文件的绝对路径填入同一安装框。桌面端使用自己的 desktop profile,无需运行 Web Host 命令。
Web Host
使用官方 CLI:
dsh plugin --profile web add github:aa2246740/dsh-resume#v0.2.5
或在下载的安装包所在目录运行:
dsh plugin --profile web add ./dsh-resume-0.2.5.tgz
需要官方 dsh 和 pnpm 可用,Node.js 版本为 ^22.19.0 或 >=24.0.0。使用与现有 Web Host 相同的 DSH_HOME;这条命令只安装到 Web profile,不会替桌面端安装。按官方安装器返回的提示完成激活;只有它要求重启时,再正常退出并重开原来的 Host,不要启动第二个 Host。
升级与卸载
升级时重复对应安装步骤即可。若从旧版手动挂载方式迁移,停用旧的重复挂载行,只保留包自带的 dsh-resume 实例。
桌面端通过插件管理器卸载。Web Host 使用:
dsh plugin --profile web remove dsh-resume
使用
输入 /resume-claude,另外五条同理。它只读本机那次会话,抽出还能接手的上下文,写成一张交接卡。旧进程不会被拉起来,别人的会话文件也不会被改。




六段按目标、文件、做到哪、还差什么、停在哪、读者警告来写。标题对不上号时不会猜,会列出候选让你挑。
命令
只读,不改任何一家的会话仓库。系统提示、隐藏推理、加密或坏掉的记录要么丢掉,要么标明不可用。历史里的结论先标成 HISTORY_REPORTED,这轮在当前仓库里核对过的才是 CURRENT_OBSERVED。Grok 只读看得见的 updates.jsonl。Pi 只跟当前这条分支。ZCode 只读 cli/db/db.sqlite,不回放调用、不复活进程。压缩只标成警告,库里仍在的更早记录会保留。废弃的 v2/sessions 和 cli/rollout JSONL 不是主存储;只有 sqlite 不在时,才对 projects/ 下的 JSONL 做带警告的尽力读取。
| 命令 | 从哪接着 |
|---|---|
/resume-codex [latest | 会话 id | 路径 | 标题] |
Codex CLI / 应用 |
/resume-claude [latest | 会话 id | 路径 | 标题] |
Claude Code |
/resume-cursor [latest | 会话 id | 路径 | 标题] |
Cursor |
/resume-grok [latest | 会话 id | 路径 | 标题] |
Grok |
/resume-pi [latest | 会话 id | 路径 | 标题] |
Pi |
/resume-zcode [latest | 会话 id | 路径 | 标题] |
ZCode |
开发
corepack pnpm install
pnpm check
aa2246740/dsh-watcher
fredalxin/dsh-solo-thinking
better-er/dsh-pause
SakalioLabs/dsh-code-ide
lilwhich/dsh-plugin-gather
asukasec/dsh-message-preview