aa2246740/dsh-resume 预览 preview

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。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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

English

把 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。

官方桌面端

  1. 打开 插件 → 添加插件(部分版本入口在设置里)。
  2. 在 包名或地址 中填入 github:aa2246740/dsh-resume#v0.2.5,然后安装并启用。
  3. 按安装器提示完成激活,在输入框输入 /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,另外五条同理。它只读本机那次会话,抽出还能接手的上下文,写成一张交接卡。旧进程不会被拉起来,别人的会话文件也不会被改。

官方 composer 已输入 /resume-claude

发送 /resume-claude latest 后出现六段交接

交接卡:做到哪、还差什么、下一步

标题命中两条会话时列出候选

六段按目标、文件、做到哪、还差什么、停在哪、读者警告来写。标题对不上号时不会猜,会列出候选让你挑。

命令

只读,不改任何一家的会话仓库。系统提示、隐藏推理、加密或坏掉的记录要么丢掉,要么标明不可用。历史里的结论先标成 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

许可

Apache-2.0。见 LICENSE 和 NOTICE。

← 上一个 Prev deepseek-harness-for-ide 下一个 Next dsh-plugin-chrome →