DeepSeek Harness 插件

cerebrixos-org/tuning-engines-cli#tuningengines-dsh-plugin

Star 数 ★ 5 分类 通知与集成 收录于 2026-08-16

将不含原始内容的 DSH 回合、模型、工具、审批、重试和错误事件导出到 Tuning Engines,用于受治理的追踪、策略评估、成本分析和 Work Session 审阅,并提供磁盘持久化重试队列。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:cerebrixos-org/tuning-engines-cli#path:/packages/tuningengines-dsh-plugin

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本。请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

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.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →