rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
Matthew-Laplace/dsh-conversation-archive
DeepSeek Harness plugin: pull the local Codex CLI into a visual conversation window — browse threads, read history, continue the original thread via CLI. Works wherever codex runs (WSL/remote/container/other OS).
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Matthew-Laplace/dsh-conversation-archive
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
dsh-conversation-archive 是一个 DeepSeek Harness 插件。它把本机的 Codex CLI 接进 DSH,在 DSH 里重建一个 Codex 对话窗口:像在 GUI 里一样浏览线程、读上下文、选模型和推理档、发消息——但每一条请求都走 Codex CLI,DSH 只负责显示。
一句话:Codex 只有命令行也能当图形界面用;Codex GUI 发不出消息时,用它接着原线程聊。
codex exec resume / codex queue 往往还通。这个插件用 CLI 把原线程接出来,消息直接写回原对话,不新建会话、不换模型、不丢上下文。codex exec 的参数、JSONL 输出和线程 ID,点开面板选对话就能继续聊。codex 命令,就能用同一套可视化界面继续原有对话。终端-only 的环境也能得到接近 Codex GUI 的操作体验。codex://threads/<id> 或 36 位线程编号直达;按项目/工作目录分组,项目归属只做有依据展示(目录匹配才显示项目名,同一目录登记给多个项目时显示「项目未知」)。codex exec resume(稳);在配置里设 codex.transport: app-server 可改用常驻 codex app-server --stdio(少一次进程启动、支持 interrupt/额度预读)。要求:已安装并登录 Codex CLI(codex 在 PATH 上,codex exec --help 可用);DSH 0.2.x。
从 npm 安装到 DSH profile:
dsh plugin --profile desktop add dsh-conversation-archive
或直接在 DSH 的「插件」页搜索 dsh-conversation-archive 安装,然后重启/重载 DSH。
本地开发安装:
dsh plugin --profile desktop add /path/to/dsh-conversation-archive
插件启用后,第一次打开面板时会用包内 Python 适配器把本机 Codex 线程导出到 ~/.dsh/conversation-archive/(只读 Codex 数据库,不写回)。
发送走两条 CLI 路径:线程空闲时 codex exec resume <thread-id> --json;线程被 GUI 占用(active writer)时回退 codex queue --thread <thread-id>。所有读写都通过本机 Codex 数据(~/.codex/state_5.sqlite、~/.codex/thread_history_1.sqlite),插件不修改 Codex 数据库,也不绕过任何 GUI 限制。
在 DSH profile 的 cordis.patch.yml 里给该插件加配置:
- id: conversation-archive
name: dsh-conversation-archive
config:
root: ~/.dsh/conversation-archive
codex:
transport: app-server
appServerIdleMs: 600000
app-server 是实验接口:线程单写者、额度读取要求已登录的 ChatGPT 账号;初始化失败会自动回退 exec resume。
[CODEX_QUOTA]:Codex 侧额度/配额限制,按错误里的重置时间等待,或在 CC Switch 调整官方额度保护/切到支持该模型的 provider。[CODEX_BUSY]:线程正被 Codex App 或另一个 CLI 占用;先在 Codex 里关闭该线程,或稍后再发。[CODEX_AUTH]:Codex 登录态失效,先运行 codex login。threads.project_id 可能为空,此时按工作目录分组(组标题带「目录」标签),未匹配到目录的归「未分组」。index.js Host 半:HTTP 路由、CLI 调用、app-server JSON-RPC 后端
client.js Web 客户端:侧栏图标 + main 面板(三列布局)+ 设置页
cordis.patch.yml bundle 补丁(一行 insert)
adapters/codex/export_codex_threads.py Codex 数据导出(只读)
sidebar.panellist 图标 + main 面板 + settings.section 设置页),客户端只渲染,数据全部来自 Host 同源路由。client.js 是手写的 __ModuleLoader__ 工厂,直接加载 React。A DeepSeek Harness plugin that turns your local Codex CLI into a visual conversation window inside DSH: browse threads, read context, pick model/effort, and continue the original thread through the CLI. Useful when the Codex GUI can't send (quota/UI issues) but the CLI still works, or when Codex runs in WSL, a remote box, a container or another OS and you want a clickable interface for it. No DSH model tokens are used; DSH is only the shell.
Install: dsh plugin --profile desktop add dsh-conversation-archive.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。