← 返回列表
B

task-passport

v0.2.2 · 4 天前发布

Open task handoff protocol and local store for durable state across AI harnesses.

deepseek-harnessdsh-pluginai-agentharnesstask-statehandoff

README

Task Passport · 任务护照



让一个任务带着“当前世界状态”在 DeepSeek Harness、Claude Code、Codex 等 AI Harness 之间接力,不搬运聊天记录。

一个项目可以有多个任务护照;一个任务护照可以经历多个 Harness 和多个会话。


现在能做什么



  • 每个任务一个稳定短号,例如 TP-7K4M-9D2Q

  • list:只列身份与摘要,不误装载别的任务。

  • open:读取目标、当前状态、验证过的事实、决策理由和下一步。

  • checkpoint:工作完成后写回;带状态版本,过期写入直接冲突,不静默覆盖。

  • 同一个包既是通用 CLI,也是 DeepSeek Harness 原生 bundle。

  • 状态可由 U-King Action Core、本地目录参考存储或第三方 Provider 托管;插件本身是可装可卸的薄适配器。


  • 它不做两件事:不复制上一位 AI 的聊天记录;不把“刚改过的任务”猜成当前任务。

    在 DeepSeek Harness 中安装



    从 GitHub 安装(纯 JavaScript,仓库已包含运行产物,不需要 prepare 构建权限):

    sh
    
    dsh plugin --profile web add task-passport@0.2.2
    dsh --profile web --dump-config
    dsh web


    dsh web 在当前 rc.5 固定组合 web profile;需要浏览器界面时,插件也应安装到这个 profile。自定义 profile 可用于 TUI,但不能作为 web 子命令的父级 profile。

    如果 U-King 不在 PATH,在
    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    task-passport
    Repo
    https://github.com/dongsheng123132/task-passport
    Engines
    {"node":">=20"}
    Weekly DL
    527
    Monthly DL
    0
    Stars
    ★ 9
    Open Issues
    1
    GH License
    MIT
    Archived
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}