dsh-plugin-herdr

by sunny0826

0 会话与消息github 检测到 manifest package.json#dsh收录于 08-16

Herdr 控制平面插件 for DeepSeek Harness (DSH):从 DSH 会话中观察和驱动 Herdr — AI 编码代理的终端工作区管理器

Herdr control-plane plugin for DeepSeek Harness (DSH): observe and drive Herdr — a terminal workspace manager for AI coding agents — from DSH sessions

安装

dsh plugin --profile web add github:sunny0826/dsh-plugin-herdr

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

English | 简体中文

home

DeepSeek Harness (DSH) 的 Herdr 控制面插件:在 DSH 会话中直接观察与驱动 Herdr——面向 AI 编码代理的终端工作区管理器。

功能

  • 控制面 — 通过 Herdr Unix-domain socket 提供 19 个 herdr_* 工具(snapshot、agents、panes、workspaces、layout、notifications)
  • 会话级 UI — Herdr Tab 与侧边面板仅展示当前会话的 workspace;非 Herdr 模式下自动隐藏
  • Herdr 模式 — 以 Herdr 模式创建会话,自动获得与会话同生命周期的专属 workspace

安装

前置条件:一个 DSH profile(如 web)和运行中的 Herdr server。插件通过本机 Herdr socket 通信;面板可按需从 PATH 拉起 server。

# 本地目录
dsh plugin --profile web add /path/to/dsh-plugin-herdr

# tarball(pnpm pack 产物)
pnpm pack
dsh plugin --profile web add ./dsh-plugin-herdr-*.tgz

# git
dsh plugin --profile web add github:sunny0826/dsh-plugin-herdr

安装后重启 profile。用 dsh plugin --profile web list 验证。

卸载

dsh plugin --profile web remove dsh-plugin-herdr

重启 profile 即可卸载工具、面板与 Herdr 模式。预设副本残留在 $DSH_HOME/.agent-presets/herdr/,按需手动删除。

开发

pnpm install
pnpm build        # tsdown(node 入口 + web client bundle)
pnpm quality      # typecheck + gen-types 漂移检查 + 单测
pnpm test         # 单测(node --test)
pnpm test:integration  # 对接真实 herdr server;不可用时 SKIP
pnpm gen:types    # 从 herdr schema fixture 重新生成协议类型

原始 README: https://github.com/sunny0826/dsh-plugin-herdr/blob/main/README.zh-CN.md ↗