将不含原始内容的 DSH 回合、模型、工具、审批、重试和错误事件导出到 Tuning Engines,用于受治理的追踪、策略评估、成本分析和 Work Session 审阅,并提供磁盘持久化重试队列。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:cerebrixos-org/tuning-engines-cli#path:/packages/tuningengines-dsh-plugin
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Native DeepSeek Harness telemetry and tool governance for Tuning Engines. The plugin observes the Harness session event log, preserves turn/step/tool-call identity, and exports metadata-only traces through a durable local spool.
Install
export TE_API_KEY="your-tenant-token-or-inference-key"
dsh plugin --profile default add tuningengines-cli
dsh --profile default
Configuration
| Environment variable | Default | Purpose |
|---|---|---|
TE_API_KEY |
required | Tenant API token; TE_INFERENCE_KEY is also accepted |
TE_API_URL |
https://app.tuningengines.com |
TE control-plane URL |
TE_GOVERNANCE_MODE |
observe |
off, observe, or fail-closed enforce |
TE_TRACE_FLUSH_INTERVAL_MS |
2000 |
Background flush interval |
TE_TRACE_BATCH_SIZE |
64 |
Maximum locally spooled records per flush |
TE_TRACE_SPOOL_PATH |
~/.tuningengines/dsh-trace-spool.jsonl |
Durable queue path |
Data handling
The default and only v1 capture mode is metadata-only. Raw prompts, assistant content, tool arguments, tool results, credentials, and model reasoning are not exported. Tool arguments are represented by a SHA-256 fingerprint for stable correlation without content disclosure.
DeepSeek Harness remains the execution runtime. Tuning Engines supplies the governance, approvals, trace analytics, cost attribution, and review surfaces.
链接
同类插件
xmanrui/dsh-im★ 1548
通过二维码或机器人凭据将 IM 机器人接入 DeepSeek Harness(支持飞书、微信、钉钉、企业微信、QQ、Slack、Telegram、Discord 和 WhatsApp 共 9 种渠道)。
shaobeichen/dsh-pocket★ 1415
手机远程访问 DSH Web 界面:扫码即用局域网或公网(cloudflared 隧道)访问,实时同屏、移动端适配布局,带设置页管理。
inclusionAI/Avernet#deepseek-harness-channel-bcn★ 574
通过 WebSocket V2 将 DeepSeek Harness 接入 Avernet Bot 协作网络,支持自动注册、Agent 会话隔离、工具调用事件和多 Bot 路由工具。
omdsh-dev/dsh-notification★ 86
回合完成桌面通知,按结果分控 + 关键词过滤。
whyihaveyou/dsh-suite#plugin-notify★ 57
回合完成、错误或待审批时推送 IM webhook(飞书/企微/钉钉/Slack/Discord/自定义)与本地通知。
omdsh-dev/dsh-lark★ 55
DeepSeek Harness 的飞书/Lark 机器人渠道:每个会话驱动独立 agent,工具审批、模型提问与计划审阅都以卡片回到聊天,点按钮或直接回复即可作答;聊天里用 `/cd`、`/model`、`/new` 切工作区、换模型、重开会话,多个机器人各自独立并可在同群交接回合。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。