Zum Hauptinhalt springen
D

dsh-hub-agent

dsh-ai-org/dsh-hub-agent

DSH Plugin Hub agent: reports the profile's installed plugin inventory and runtime health to dsh-ai.org, and doubles as the hub's runtime eval probe.

Installation

dsh plugin --profile web add github:dsh-ai-org/dsh-hub-agent

README

dsh-hub-agent

DSH Plugin Hub 的运行时 agent 插件:在 DeepSeek Harness profile 内收集已安装插件清单与运行健康状况。本地优先 —— 数据始终落在 profile 自己的 SQLite 里;上报到 dsh-ai.org 是可选的、匿名的、默认关闭。

dsh plugin --profile web add dsh-hub-agent

它做什么

启动(及每 6 小时)时:

  1. 收集 profile 的依赖清单(包名、版本、是否为 dsh 插件);
  2. 追加写入 profiles/<name>/.dsh-hub-agent/history.sqlite(Node ≥22.5 内置 node:sqlite;旧运行时回落 JSONL);
  3. 可选:匿名上报到 hub(POST /api/telemetry/harness),让目录获得"N 个 profile 正在运行此插件"的真实信号。

Web UI 面板

安装后 dsh web 右下角会出现 Hub 胶囊:点击展开插件面板(dsh-ai.org 同款设计), 列出当前 profile 已安装的插件与版本、上报状态,并可一键跳转目录查看每个插件。

隐私

  • 不采集消息内容、路径、用户名;唯一标识是 profile 内一个随机 id。
  • 远端上报默认关闭。开启方式:配置 { enabled: true } 或环境变量 DSH_HUB_AGENT_REPORT=1DSH_HUB_AGENT_DISABLE=1 永远优先生效。

作为 eval 探针

dsh-ai.org 的插件评测用本插件做运行时验证:boot profile 时设置 DSH_HUB_AGENT_OUT=<path>,agent 会把清单报告写到该路径——报告出现即证明 profile 真实启动、插件真实解析。相关环境变量:

变量作用
DSH_HUB_AGENT_OUT把运行时报告写到此路径(eval 模式)
DSH_HUB_AGENT_PROFILE_DIR显式指定 profile 目录(link 安装时需要)
DSH_HUB_AGENT_REPORT=1强制开启远端上报
DSH_HUB_AGENT_DISABLE=1强制关闭远端上报
DSH_HUB_URL覆盖 hub 地址

License

MIT

Ähnliche Plugins