安装
在 DeepSeek Harness 里通过 dsh-market 安装
dsh plugin --profile web add dshmarket
或使用命令行
dsh plugin --profile web add github:cerebrixos-org/tuning-engines-cli#path:/packages/tuningengines-dsh-plugin
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络。请先审阅源码,并尽量锁定 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.
评论
评论存放在 GitHub Discussions。用 GitHub 账号登录后可发表评论或点表情。