← 返回列表
D

dsh-workstate

v0.1.0 · 2 天前发布

A structured work-state protocol for DeepSeek Harness agent handoffs

deepseek-harnessdshdsh-pluginagent-handoffwork-stateai-agentslocal-first

README

dsh-workstate

用于在不同 AI Coding Agent 之间交接任务的结构化工作状态协议。

dsh-workstateDeepSeek Harness 的本地优先插件。它保存任务目标、进度、决策、失败、验证结果、变更路径、下一步以及 Git 完整性指纹,而不是导出聊天记录。

安装

要求 Node.js 22.19+ 和 DeepSeek Harness 0.1.0-rc.6

bash
dsh plugin --profile web add dsh-workstate

~/.dsh/profiles/web/cordis.patch.yml 中保留已有配置并加入:

yaml
  • insert:

  • - id: workstate
    name: dsh-workstate

    重启 DSH 后即可使用。

    命令

    text
    /workstate checkpoint [备注]
    /workstate transfer [接收目标]
    /workstate list
    /workstate inspect [id]
    /workstate diff <from> <to>
    /workstate validate [id]
    /workstate resume [id]
    /workstate resume [id] --allow-diverged

    设计原则

  • Packet 只有 checkpointtransfer 两种;resume 是操作。

  • 默认拒绝恢复到已经分叉的工作区;只有用户显式输入 `--allow-diverg
  • 查看完整 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
    dsh-workstate
    Repo
    git+https://github.com/luoyuejun9/dsh-workstate.git
    Engines
    {"node":">=22.19"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}