ruvnet/ruflo/tree/main/plugins/ruflo-deepseek-harness
ruflo-deepseek-harness
將 DeepSeek 聊天與推理完成作為 ruflo 技能提供(請參閱 `commands/ruflo-deepseek-harness.md`)。
關於這個 mod
這個外掛以 ruflo 技能的形式提供 DeepSeek 聊天與推理完成;從這個版本起,它同時也是函式 hook Mod(ADR-445 模式;需要 Claude Code 2.1.287 或更新版本)。它不會呼叫網路或啟動處理程序,而且只會加強限制:可以拒絕呼叫,但絕不會允許呼叫。
- Guard(預設開啟):當 Bash 指令執行這個外掛的
chat.mjs/reason.mjs(會把 prompt 傳送到 api.deepseek.com),且其中包含 key、token 或 password 時,拒絕該指令。拒絕原因會指出秘密的類型,但絕不顯示值。 /deepseek-mod:在本機回答,不經過模型回合:status、scan <text>(Guard 會不會拒絕這個?)。- 狀態檔案:
.claude-flow/deepseek-mod/status.json({version, updatedMs, guard, blocked}),在工作階段開始及呼叫遭封鎖時寫入。 - 選項:外掛的
userConfig中的guard(on|off,預設on)。
使用 claude plugin test plugins/ruflo-deepseek-harness 和 bash plugins/ruflo-deepseek-harness/scripts/smoke.sh 測試。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add ruvnet/ruflo claude plugin install ruflo-deepseek-harness
原文 / README
ruflo-deepseek-harness
DeepSeek chat and reasoning completions as ruflo skills (see commands/ruflo-deepseek-harness.md).
As a mod
Since this version the plugin is also a function-hook mod (ADR-445 pattern; needs Claude Code 2.1.287 or later). It never calls the network or spawns a process, and it only tightens: it can refuse a call, never allow one.
- Guard (default on): refuses Bash commands that run this plugin's
chat.mjs/reason.mjs(they post the prompt to api.deepseek.com) that hold a key, token or password. The reason names the kind of secret, never the value. /deepseek-mod: answered locally, no model turn:status,scan <text>(would the guard refuse this?).- Status file:
.claude-flow/deepseek-mod/status.json({version, updatedMs, guard, blocked}), written at session start and when a call is blocked. - Option:
guard(on|off, defaulton) in the plugin'suserConfig.
Test it: claude plugin test plugins/ruflo-deepseek-harness and bash plugins/ruflo-deepseek-harness/scripts/smoke.sh.
