DeepSHPlugins
dsh-resume-plugin 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-resume-plugin

會話與訊息PythonMIT

dsh-resume-plugin:讓 DeepSeek Harness 安全讀取並繼續 Codex 與 Claude Code 的歷史會話——/resume-codex 與 /resume-claude 兩個技能,把外部會話作為不可信靜態歷史讀取、生成交接摘要後繼續。

1 StarsDemogorgon314 更新時間 2026-08-13
訪問 GitHub 倉庫
dsh-resume-plugin 專案預覽

專案介紹

中文

dsh-resume-plugin:讓 DeepSeek Harness 安全讀取並繼續 Codex 與 Claude Code 的歷史會話——/resume-codex 與 /resume-claude 兩個技能,把外部會話作為不可信靜態歷史讀取、生成交接摘要後繼續。

English

Lets DSH safely read and continue Codex and Claude Code histories — /resume-codex and /resume-claude skills load external sessions as untrusted static history, generate a handoff summary, then continue.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
Demogorgon314
倉庫
Demogorgon314/dsh-resume-plugin
GitHub Stars
1
Forks
0
開發語言
Python
許可證
MIT
最近推送
2026-08-13
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

51/ 100
維護活躍
80
文件與實用資訊
100
生態關注度
9
安裝便捷訊號
75
專案宣告訊號
100

README 含完整安裝與使用說明;關注度尚低(1)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin add github:Demogorgon314/dsh-resume-plugin

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-resume-plugin

简体中文 | English

dsh-resume-plugin 为 DeepSeek Harness 提供两个内置技能:

  • /resume-codex [latest | 会话 ID | rollout 路径 | 标题关键词]
  • /resume-claude [latest | 会话 ID | transcript 路径 | 标题关键词]

每个技能都会将选定的外部会话记录作为不可信的静态历史读取,生成简洁的工作交接摘要,核验当前仓库状态,然后在当前 DeepSeek Harness 会话中继续工作。插件不会启动 Codex 或 Claude Code,也不会把任务重新委派给它们。

安装

从 GitHub 安装

安装到 Web profile:

dsh plugin --profile web add -w github:Demogorgon314/dsh-resume-plugin

也可以替换 web,安装到其他 profile:

dsh plugin --profile <profile> add -w github:Demogorgon314/dsh-resume-plugin

从本地源码安装

在包含本仓库的父目录中执行:

dsh plugin --profile <profile> add -w ./dsh-resume-plugin

如果当前目录就是本仓库,请将路径改为 .。-w(--workspace-root)表示确认将插件安装到所选 DSH profile 的 pnpm workspace 根目录;省略它可能触发 ERR_PNPM_ADDING_TO_ROOT。

检查 bundle 是否已经进入配置:

dsh --profile <profile> --dump-config

输出中应包含:

- id: resume-foreign-session
  name: dsh-resume-plugin

使用方法

继续当前项目最近的 Codex 会话:

/resume-codex latest

继续最近的 Claude Code 会话:

/resume-claude latest

也可以提供原生会话 ID、会话文件路径或标题关键词:

/resume-codex 00000000-0000-4000-8000-000000000001
/resume-claude 修复登录流程

如果标题关键词匹配多个会话,插件会列出候选项并要求选择,不会自行猜测。

环境要求

  • 包含 @deepseek-ai/dsh-skill >= 0.1.0-rc.5 的 DeepSeek Harness
  • Node.js ^22.19.0 或 >=24
  • Python 3
  • 只有读取压缩的 Codex .jsonl.zst 文件时才需要 zstd

会话读取器只使用 Python 标准库。Claude Code 数据默认从 $CLAUDE_CONFIG_DIR 或 ~/.claude 读取,Codex 数据默认从 $CODEX_HOME 或 ~/.codex 读取。

安全模型

外部会话记录可能包含恶意提示、过期的工具输出、敏感信息,或只适用于原始 Agent 的指令。共享读取器会排除 system/developer 消息及 reasoning/thinking 内容,将恢复出来的内容明确标记为静态历史,限制工具文本长度,报告格式错误及未知记录,并要求技能在继续工作前重新核验相关的实时状态。

开发验证

pnpm test
pnpm test:coverage
npm pack --dry-run

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案