前言¶
dsh-route-certificate 是 DeepSeek Harness 開發者預覽版的一個實驗性插件。它用於觀察 durable 的 turn/end 會話事件,生成獨立的 RouteCertificate 回執。插件不負責改寫或隱藏 Harness 的原始結果,默認自帶驗證器即可使用。
安裝與啓用¶
先選擇現有的 Harness Profile,使用官方命令從固定公開 Commit 安裝:
PROFILE=tui
PACKAGE_SPEC=git+https://github.com/runyuan-wang/dsh-route-certificate.git#<fixed-public-commit>
dsh plugin --profile "$PROFILE" add "$PACKAGE_SPEC"
dsh --profile "$PROFILE" --dump-config
安裝後,插件默認在 Profile 目錄下生成回執:
$DSH_HOME/profiles/<profile>/.route-certificate/receipts/
如需移除,使用以下命令:
dsh plugin --profile "$PROFILE" remove -w dsh-route-certificate
核心功能¶
該插件提供以下能力:
- 結構化判斷:根據終端狀態和信封完整性,輸出
pass(完整正常)、fail(明確錯誤)或indeterminate(中斷/未知)。 - 零構建直接安裝:無需 clone、build 或自行編寫 validator。
- 請求與產物溯源:將請求、執行前綴、終止事件、結果範圍和產物指紋綁定。
- 旁路觀察模式:默認爲 advisory 模式,即使驗證器或回執寫入失敗,也不會替換或阻斷原始 Harness 結果。
注意事項¶
- 功能邊界:它不判斷答案真僞、語義正確性、輸出質量、安全性或任務成功與否。
- 環境要求:需要 Node.js >= 22.19.0。支持 @deepseek-ai/dsh@0.1.0-rc.7 和 session format 0。
- 組件關係:它不會添加或替換官方的 @deepseek-ai/* 組件。
- 數據可見性:插件以 DSH 進程權限運行,敏感任務內容應視爲可見。
- 平臺驗證:目前僅驗證了 macOS 環境,Linux 和 Windows 的運行行爲未經驗證。