← 返回列表
D

dsh-plugins-raincode

v0.1.0 · 4 天前发布

Use raincode's model layer (cheap model pool, prompt caching, retry) and skill library inside DeepSeek Harness (dsh)

dshdsh-pluginraincodedeepseekllmllm-gatewaymodel-poolprompt-cachingmulti-model

README

dsh-plugins-raincode

raincode 成为 DeepSeek Harness(dsh) 的模型层:低价模型池 + StablePrefix
提示缓存 + 重试/故障转移,由本地 OpenAI 兼容 gateway 驱动。在 dsh 里你可以从
raincode 模型池里任意选模型,并用 /skills 浏览 raincode 的 skill 库。

插件是「嘴」——把 dsh 的 GenerateOptions 翻译成 OpenAI wire 发给 raincode
gateway,再把 OpenAI chunk 翻译回 dsh StreamChunk;raincode gateway(Rust)是
「脑」,持有 profile 选择、缓存与重试。插件不持有任何模型逻辑。

前置条件

1. 安装 raincode(≥ 0.1.0,含 gateway 的 /v1/models/skills):

bash
cd raincode
cargo install --path crates/rc-cli
# 或用 ./install.sh

2. 配置 profile(模型池):

bash
raincode setup
# 写入 ~/.raincode/profiles.toml

3. 启动 gateway(保持运行):

bash
raincode proxy --port 8787

验证:curl http://127.0.0.1:8787/health{"ok":true,"service":"raincode-gateway"}

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ❓ 未知 metadata 缺失
dsh@0.1.0 ❓ 未知
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-plugins-raincode
Repo
git+https://github.com/rainforest888/dsh-plugins-raincode.git
Engines
{}
Weekly DL
0
Monthly DL
0
dsh.bundle
{}