CARVIN94/dsh-router-traework ↗★ 0
dsh-router-traework
DSH 路由插件的 TRAE SOLO 供应商:为 dsh-router 提供免费的 traework 聊天通道支持。
AI 分析
核心用途是接入免费的 Trae 聊天通道。适合已安装 dsh-router-core 并希望扩展免费模型供应源的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CARVIN94/dsh-router-traework说明文档
阅读完整 README ↗dsh-router-traework
DSH 插件:为 dsh-router 提供 traework 供应商(免费 SOLO 聊天通道)。
本项目是 traework2api 的 DSH 插件版,上游参考 dsh-router。
安装(DSH)
先装核心 dsh-router-core(dsh-router 仓库,提供面板 + 内置供应商),再装本插件:
dsh plugin --profile web add dsh-router-core
dsh plugin --profile web add dsh-router-traework
dsh plugin add 会在 profile 里 pnpm add,并自动把声明了 dsh.bundle.patch
的包加入 dsh.profile.bundles(本插件即声明了,即 cordis.patch.yml)。
然后重启 dsh web。本插件以 cordis service router.suppliers 向 dsh-router
注册 traework 供应商,面板「供应商」出现 traework 卡片,加账号即用。
本地开发版:不用 npm,直接
dependencies加"dsh-router-traework": "link:/path/to/dsh-router-traework"指向本地仓库。
目录
src/
index.ts 插件入口(提供 router.suppliers service)
contract.ts 供应商契约
types.ts 类型定义
api/ 供应商实现(上游客户端、账号池、调度器、登录等)
License
MIT