ruvnet/ruflo/tree/main/plugins/ruflo-deepseek-harness
ruflo-deepseek-harness
将 DeepSeek 聊天和推理补全作为 ruflo 技能提供(见 `commands/ruflo-deepseek-harness.md`)。
关于这个 mod
此插件以 ruflo 技能的形式提供 DeepSeek 聊天和推理补全;从这个版本起,它同时也是一个函数钩子 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.
