zhoujianbin/dsh-codex-continue ↗★ 0
dsh-codex-continue
DSH plugin: browse local Codex projects & sessions and continue them in DSH — read ~/.codex rollouts, pick a session, resume with full context (goal + transcript + cwd).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhoujianbin/dsh-codex-continue说明文档
阅读完整 README ↗使用
方式一:直接跟 Agent 说(推荐)
继续我的 Codex 会话《设计会话同步工具》,先看看现场再接着做。
Agent 会调 codex(action: resume) 拉回续作包,切到原项目目录核对现场后继续。
方式二:侧边栏浏览
右侧边栏 →「✦ Codex 续作」Tab → 项目 → 会话 → 预览 →「⚡ 继续此会话」(续作指令直接注入输入框,回车即发送);「📄 RESUME.md」在项目目录生成交接文档。
codex 工具
| action | 说明 |
|---|---|
list_projects | 按工作目录聚合的项目列表 |
list_sessions | 会话列表(query / project 过滤) |
show_session | goal + 最后消息 + 预览片段 |
resume | 完整续作包(目标/正文/cwd/git/统计),即上下文注入点 |
resume_doc | 在项目目录生成 RESUME.md 交接文档 |
配置
cordis.patch.yml 的 config 块(或 profile 的 patch 层覆盖):
| key | 默认 | 说明 |
|---|---|---|
codexHome | ~/.codex | Codex 数据目录 |
maxBundleTokens | 60000 | 续作包正文 token 预算 |
toolOutputTail | 400 | 工具输出保留尾部字符数 |
argsPreview | 200 | 工具参数预览长度 |
messageMax | 2000 | 单条消息在正文中的字符上限 |
includeGitStatus | true | 续作时跑 git status |
maxAgeDays | 0 | 只列出最近 N 天的会话(0=全部) |
resumeDocName | RESUME.md | 交接文档文件名(写入项目目录) |