NB4747/dsh-session-sync

NB4747★ 0TypeScript最后同步: 2026-08-18

在 GitHub 打开

README 摘要

dsh-session-sync Sync Codex / Claude Code sessions into DeepSeek Harness as resumable sessions. 把 Codex / Claude Code 的历史会话同步到 DeepSeek Harness(DSH),导入后可直接续聊。 Features / 功能 - One-command import : /sync codex 自动扫描 /.codex/sessions ,导入最新会话 - Auto-watch (realtime) :启动时自动监听 /.codex/sessions ,Codex 会话一有变化就增量导入,无需手动操作 - Incremental :manifest 按 mtime 去重,只导入新增/更新的 rollout,不重复创建 - Full fidelity :用户消息、助手回复(含工具调用文本)完整保留,导入后可续聊 - Auto workspace grouping :按源项目目录(cwd)自动归入 DSH 工作区,与 Codex 项目视图一致 - Validated :写入走 DSH 官方 SessionPersistence 接口,通过全部 load 校验 Install / 安装 Or install directly from GitHub: Then add to cordis.patch.yml : Restart DSH ( dsh web ). Usage / 使用 In the DSH Web UI, run: Or with an explicit path (file or directory): Imported sessions appear under their source project workspace. Refresh the session list to see them. Realtime syncing is enabled by default when the plugin loads — every new or changed Codex rollout / Claude Code session is auto-imported after a 3-second debounce. Set autoWatch: false in the plugin config to disable. Development / 开发 How it works / 原理 1. Parse a Codex rollout JSONL ( /.codex/sessions/YYYY/MM/DD/rollout- .jsonl ) — read-only 2. Map user turns + assista…

在 GitHub 查看完整 README →
工具/开发dsh-plugin

分类