Skip to main content
Glama

对话桥 · Codex → WorkBuddy / DeepSeek Harness

聊过的方案散落在不同 AI 里,执行任务又要来回复制? 对话桥把本机对话整理成可搜索的归档,并让 Codex 通过 MCP 把任务交给真实 WorkBuddy / DeepSeek Harness 会话,读取回报、返工和验收。

源码试用 · WorkBuddy 接入 · DeepSeek 接入 · 反馈 · MIT

对话桥:搜索跨工具周报讨论并查看上下文

截图来自真实运行的网页,使用仓库内合成演示对话;不包含个人聊天记录。

它能帮你做什么

  • 找回聊过的内容:归档 Codex / WorkBuddy 的本机正文日志,支持中文关键词、日期和来源筛选,查看完整上下文;可手动导入其他工具的记录。

  • 换工具时带上上下文:先预览引用内容,再执行目标客户端支持的续聊操作。各客户端能力不同,见续聊范围。

  • 让原生 AI 会话实际执行:Codex 派工,WorkBuddy / Harness 用各自的模型与工具完成任务;同一任务保留进度、返工和验收记录。

  • 把受理和完成分开:任务经过排队、执行、待验收等状态;回报结束不自动等同于验收通过。

这是 v0.6.0-alpha.1 源码预发布。主环境为 macOS;WorkBuddy 原生接口和 Harness 插件与版本有关,升级后可能需要适配。自动化测试和本次实测范围见验证记录。

Related MCP server: pacifico

五分钟试用归档界面

需要 Node.js 22.13 或以上、npm 和 Git。首次安装需要网络;演示本身无需模型密钥或登录 AI 客户端。

git clone https://github.com/lanjunyao/codex-workbuddy-gateway.git
cd codex-workbuddy-gateway
npm ci
npm run build
npm run history:demo

打开终端提示的 http://127.0.0.1:18493,搜索 周报,点击结果查看上下文。演示启动器只载入合成记录,禁用原生客户端操作、附件读取和自动采集,不读取你已有的对话。按 Ctrl+C 退出。

演示验证的是归档与搜索,不代表 WorkBuddy / Harness 已接入。连接自己的客户端时:

目标

下一步

归档本机对话

npm run history:start,访问 http://127.0.0.1:18492;详见归档配置

Codex 指挥 WorkBuddy

安装与首次绑定,需要已登录 WorkBuddy、Codex CLI 和原生权限

Codex 指挥 DeepSeek Harness

安装 Harness 插件与 MCP,需要兼容 Host 与已配置模型

编译 macOS 窗口

npm run mac:build;需要 Xcode Command Line Tools,生成本地 ad-hoc 签名应用,未做开发者公证

源码 ZIP 也可从 GitHub 的 Code → Download ZIP 下载。这里没有预装依赖的双击安装包;安装、原生权限和模型额度仍由使用者准备。

数据、权限与费用

归档数据库、全文索引和可选语义向量保存在本机。history:start 会读取本机 Codex / WorkBuddy 日志;只覆盖本机已有记录,不能保证云端或其他设备历史完整。豆包持续采集依赖可选桌面桥与权限,未接通时需手动导入。

关键词搜索不调用模型。可选语义检索首次从 Hugging Face 下载模型,在本机计算。选择续聊、审查或派工时,所选内容会进入目标 AI 客户端,并受该客户端的模型、云服务、权限和计费规则约束。本项目不提供共享 API key 或免费中转。完整数据说明。

数据库和备份不做应用级加密。不要把个人 .env、data/、日志、历史数据库或模型缓存上传 GitHub。请仅在可信本机环境运行,原生桌面调试接口不应暴露到局域网。

开发与验证

npm ci
npm run build
npm run history:readers:build  # macOS 的 PDF/OCR 测试前编译读取器
npm test
npm run deepseek:plugin:test
npm run workbuddy:identity:test
npm run package

Office 附件读取器需要 Python 3 的标准库;PDF/OCR 读取器依赖 macOS 系统框架。打包使用白名单,输出源码、编译 JS 和两个独立 Skill ZIP;依赖、模型及机器配置不随包分发。请在新环境中按上面步骤安装与构建。

来源与贡献

沿用 dudu555-djiao/codex-workbuddy-gateway 的项目身份与实现。本次由代码所有者授权以 MIT 发布,作者归属见 NOTICE。原发布的历史验证仅用于背景,本次验证单独记录,不代表所有客户端当前版本已重新实测。

欢迎提交可复现问题与改进;请使用合成数据,并删除日志中的账号、消息内容和凭据。如果它解决了你的问题,欢迎点右上角 ⭐ Star 收藏。

Available Tools

11 tools
workbuddy_accept_taskA

Record acceptance only after independent verification of a real desktop WorkBuddy result. Supply concrete verification evidence and any actual artifact paths. This records an audit, it does not run checks for you.

Inputs: note (required), taskId (required), evidence (required), detail, +1 more.

workbuddy_cancel_taskA

Request cancellation and preserve an audit record. A cancellation request alone does not prove WorkBuddy stopped; inspect the desktop if it continues.

Inputs: taskId (required), detail, reason.

workbuddy_continue_taskB

Send specific review feedback to the same verified desktop session. Original objective, constraints and checks remain in force. Refuses an overlapping prompt or switching sessions.

Inputs: taskId (required), feedback (required), model, detail, +2 more.

workbuddy_get_messagesC

Synchronize and read current-attempt progress, tool updates and WorkBuddy report. Select an earlier attemptId to inspect history.

Inputs: taskId (required), limit, detail, attemptId.

workbuddy_get_taskC

Synchronize progress for the current attempt; includes source/session identity, blockers and real final report. A WorkBuddy turn ending is needs_review, not accepted.

Inputs: taskId (required), limit, detail, includeMessages.

workbuddy_healthA

Probe the configured transport. Online means a connection is available; it does not prove login, model/skill availability, desktop visibility or task success.

Inputs: detail, sessionId.

workbuddy_list_tasksA

List durable task history after reconnecting. Use get/wait on active tasks to resume supervision; never automatically resend a disconnected task.

Inputs: limit, detail.

workbuddy_prepare_workerB

Generate instructions for the selected real desktop chat. persistent:true installs a one-time native auto-wake service; false starts a temporary listener. Read-only: generating a prompt does not install or start anything.

Inputs: sessionId (required), persistent.

workbuddy_respond_taskA

Respond to an active WorkBuddy permission or form request. Only offered single-action permission choices are accepted; never grants permanent access. Use submit with content for elicitation.

Inputs: taskId (required), decision (required), content.

workbuddy_send_taskA

Reserve and dispatch a task to a verified WorkBuddy desktop conversation. Repeated taskId never dispatches twice. Keep polling with workbuddy_wait, independently inspect the result, then continue or accept.

Inputs: objective (required), model, title, detail, +7 more.

workbuddy_waitB

Wait up to 55 seconds for progress or a terminal/input state. Call repeatedly for long tasks; worker execution survives MCP disconnects. Do not tell the user the task is done until reviewing evidence.

Inputs: taskId (required), detail, timeoutSeconds.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 11 tools

    Disambiguation4/5

    The tools mostly map to distinct phases of a supervised desktop-task lifecycle: health, preparation, dispatch, progress sync, waiting, history, messages, continuation, response, acceptance, and cancellation. However, workbuddy_get_task, workbuddy_wait, and workbuddy_get_messages all involve synchronizing progress and could be confused by an agent without careful reading.

    Naming Consistency4/5

    All tools share the workbuddy_ prefix and mostly use a predictable verb_noun convention such as get_task, send_task, continue_task, and cancel_task. workbuddy_health and workbuddy_wait are minor deviations because they use bare nouns/verbs, but the set remains highly readable.

    Tool Count5/5

    Eleven tools fit the scope of a supervised desktop-task bridge, with each tool covering a meaningful lifecycle operation. The set is neither thin nor bloated and includes enough controls for preparation, execution, review, and audit.

    Completeness5/5

    The surface covers the full supervised task lifecycle: health check, worker preparation, dispatch, polling/waiting, history lookup, message retrieval, feedback continuation, permission/form response, acceptance, and cancellation. No major operation appears missing for the stated purpose, and audit preservation is explicitly supported.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables local-first personal knowledge management for Codex by turning conversations into a searchable archive, extracting durable facts, building a knowledge graph, and injecting relevant context into later sessions.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables local archiving and searchable recall of AI coding sessions from Claude Code, Codex, Pi, and OpenCode via MCP, allowing agents to access past conversations as context.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding agents to query a unified local index of all their sessions through native tools, supporting session summaries, full-text search, listing, message timelines, and handoff context packages for another agent.
      7
      MIT