dsh-plugins-raincode

by rainforest888

3 模型与账号接入github收录于 08-23

dsh plugin: DeepSeek Harness 的模型层 = raincode(模型池/缓存/重试) + /skills 浏览

安装

dsh plugin --profile web add github:rainforest888/dsh-plugins-raincode

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

让 raincode 成为 DeepSeek Harness (dsh) 的模型层:低价模型池 + StablePrefix prompt 缓存 + 重试/故障转移,由本地 OpenAI 兼容网关(Rust)驱动。

本仓库是 raincode 的 dsh 插件 monorepo,把该能力拆成两个独立发布的 dsh 插件, 共享 packages/core 适配核心。

包一览

包 定位 工具 / 命令
dsh-plugins-raincode-skill skill 自进化网络——浏览 / 搜索 / 加载 raincode 技能,并把经验沉淀为 SKILL.md /skills、raincode_skill_search、raincode_skill_load、raincode_learn、raincode_status
dsh-plugins-raincode-routing 模型自动路由——强主控模型分解大任务,按方向派发低价子代理 raincode_route、raincode_agent_tree、raincode_refresh_model、raincode_status
@raincode-dsh/core 共享适配核心(OpenAI wire 序列化、SSE 翻译、网关自动拉起);发布供两个插件独立解析 —

架构

插件是"嘴":把 dsh 的 GenerateOptions 翻译成 OpenAI wire 格式并流式回传; raincode 网关(Rust)是"脑":负责 profile 选择、prompt 缓存、重试与故障转移。 插件本身不持有模型逻辑。

目录

packages/
  core/            共享适配核心(adapter、serialize、translate、sse、gateway manager)
  plugin-skill/    dsh-plugins-raincode-skill
  plugin-routing/  dsh-plugins-raincode-routing

快速开始

  1. 安装 raincode CLI(>= 0.1.0):cargo install --path crates/rc-cli(或 ./install.sh)。
  2. 配置模型池:raincode setup(写入 ~/.raincode/profiles.toml)。
  3. 启动网关:raincode proxy --port 8787,验证 curl http://127.0.0.1:8787/health → {"ok":true,"service":"raincode-gateway"}。

在 dsh 中安装

dsh plugin --profile web add dsh-plugins-raincode-skill
dsh plugin --profile web add dsh-plugins-raincode-routing

再在 profile 的 patch 层(~/.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

重启 dsh web 生效。每个插件自带 README(中英),说明前置条件、dsh 安装、 配置字段与提供的工具。

开发

npm install            # 通过 workspaces 把 @raincode-dsh/core 链进每个插件
npm run build          # 依次构建 core、plugin-skill、plugin-routing
npm test               # 运行每个包的 vitest 套件

License

MIT

原始 README: https://github.com/rainforest888/dsh-plugins-raincode/blob/master/README.zh.md ↗

同类插件

查看全部 →
模型与账号接入Anionex

agent-vision-toolkit

为纯文本模型"看图“设计更好的视觉工具箱和技能,支持多图理解,图片问答,前端UI还原、GUI 自动化等,并可选无缝接入多个主流agent,直接识别粘贴图片| A vision toolkit and skill designed for text-only llms — image Q&A, long-screenshot OCR, frontend UI restoration, and GUI automation, with optional seamless integration for Codex, Claude Code, Pi, Oh My Pi, and OpenCode

查看详情
928github+08-16
模型与账号接入toby-bridges

api-relay-audit

从 DeepSeek Harness 对 AI API 中转站和 LLM 代理运行本地安全审计,生成 Markdown 报告,覆盖提示词注入、模型替换信号、工具调用改写、错误泄漏、流完整性和按 profile 启用的 Web3 风险。

查看详情
791github+08-21
模型与账号接入ZJU-LLMs

OpenStory

✨ OpenStory 现已支持 DeepSeek Harness 插件! 现在可以通过 dsh-openstory 将 OpenStory 多智能体推演接入 DeepSeek Harness,让 agent 直接启动模拟、查看角色、下达指令并逐回合推进故事。查看 DSH 插件配置与使用指南。

查看详情
377github+08-17
模型与账号接入pulseaiclub

phi

pi的编码代理 ∞ 提供者、子代理、hashline编辑和权限门

查看详情
89github+08-16
模型与账号接入anysearch-team

anysearch-dsh

DeepSeek Harness(DSH)的 AnySearch 网络搜索提供方与高级搜索工具。

查看详情
79github+08-17
模型与账号接入kuangre123

codex-switch

Codex Switch 是一个 macOS 工具,一键配置 Codex 的自定义 API,同时保留官方 OpenAI 登录。保存后 Codex 的模型选择器里只会出现你选的那个 provider 的模型。也支持 Claude Code 的官方 / 自定义 API 切换。Codex Switch is a lightweight helper for configuring multiple coding-agent API routes. For Codex, it keeps Official OpenAI and a custom API provider configured in parallel, registers the custom model in Codex's mod

查看详情
67github+08-16