dsh-plugins-raincode
Discovered★ 3dsh plugin: DeepSeek Harness 的模型层 = raincode(模型池/缓存/重试) + /skills 浏览
dsh-raincode
Make raincode the model layer of DeepSeek Harness (dsh): a cheap model pool with StablePrefix prompt caching, retries and failover, driven by a local OpenAI-compatible gateway (Rust).
This repository is the dsh plugin monorepo for raincode. It ships that
capability as two independently publishable dsh plugins that share the adapter
core in packages/core.
Packages
| Package | Focus | Tools / Commands |
|---|---|---|
dsh-plugins-raincode-skill | Skill self-evolution network — browse / search / load raincode skills and distill experience into SKILL.md | /skills, raincode_skill_search, raincode_skill_load, raincode_learn, raincode_status |
dsh-plugins-raincode-routing | Model auto-routing — a strong main model decomposes a large task and dispatches cheaper subagents by direction | raincode_route, raincode_agent_tree, raincode_refresh_model, raincode_status |
@raincode-dsh/core | Shared adapter core (OpenAI wire serialization, SSE translation, gateway auto-spawn); published so the two plugins can resolve it independently | — |
Architecture
The plugins are the "mouth": they translate dsh's GenerateOptions into the
OpenAI wire format and stream chunks back. The raincode gateway (Rust) is the
"brain": it owns profile selection, prompt caching, retries and failover. The
plugins hold no model logic.
Layout
packages/
core/ shared adapter core (adapter, serialize, translate, sse, gateway manager)
plugin-skill/ dsh-plugins-raincode-skill
plugin-routing/ dsh-plugins-raincode-routing
Quick start
- Install the raincode CLI (
>= 0.1.0):cargo install --path crates/rc-cli(or use./install.sh). - Configure your model pool:
raincode setup(writes~/.raincode/profiles.toml). - Start the gateway:
raincode proxy --port 8787, then verifycurl http://127.0.0.1:8787/health→{"ok":true,"service":"raincode-gateway"}.
Install in dsh
dsh plugin --profile web add dsh-plugins-raincode-skill
dsh plugin --profile web add dsh-plugins-raincode-routing
Then add a row for each plugin to the profile's patch layer
(~/.dsh/profiles/web/cordis.patch.yml):
- insert:
- id: raincode-skill
name: dsh-plugins-raincode-skill
config:
baseURL: http://127.0.0.1:8787
apiKeyEnv: RAINCODE_API_KEY
- id: raincode-routing
name: dsh-plugins-raincode-routing
config:
baseURL: http://127.0.0.1:8787
apiKeyEnv: RAINCODE_API_KEY
Restart dsh web to load them. Each plugin has its own README (English + 中文)
covering prerequisites, installation, configuration fields and the tools it
provides.
Development
npm install # links @raincode-dsh/core into each plugin via workspaces
npm run build # builds core, plugin-skill, plugin-routing
npm test # runs every package's vitest suite
License
MIT
Comments
Loading…
Similar plugins
by 0lidaxiang
DeepSeek Harness is a plugin-based system for building AI agents. Everything, from tools and models to the web UI, can be added or replaced as a plugin.
★ 4
↓ 75/wk
MIT
JavaScript
Sep 9, 2026
dsh plugin --profile web add dsh-plugin-greetby FishBottle7
DSH plugin — free OpenCode Zen models for DeepSeek Harness (DSH). Free LLM API, no API key needed. 在 DSH 中使用 OpenCode Zen 免费模型,无需 API key
★ 77
MIT
TypeScript
Sep 19, 2026
dsh plugin --profile web add opencode2dshby Web0926
DeepSeek Harness plugin that validates and ranks 3/5 independent coding-agent patches before approval-gated apply.
★ 3
↓ 2.7k/wk
MIT
TypeScript
Aug 25, 2026
dsh plugin --profile web add dsh-llm-verifierby Retr67
DeepSeek Harness (DSH) plugin: one-click OpenCode Go model sync in the settings panel - fetch all server models, probe availability & vision, write back to llm-pi-ai config
★ 3
MIT
JavaScript
Sep 10, 2026
dsh plugin --profile web add dsh-opencode-modelsby cyberlieflife
DSH (DeepSeek Harness) web plugin: thinking intensity / reasoning effort settings for custom OpenAI-compatible (pi-ai) models
★ 3
TypeScript
Aug 14, 2026
dsh plugin --profile web add dsh-model-thinkingby hellosky983
Plugin Foundry — a self-extending, everything-is-a-plugin compiler for DeepSeek Harness (DSH). Blueprint registry + scaffold/validate tools.
★ 3
↓ 154/wk
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-foundry