社区目录预览DeepSeek Harness 仍处于开发者预览阶段
DM

dsh-model-router

插件已确认插件社区发布

fonlan/dsh-model-router · 13 天前更新

安装方式

dsh plugin --profile web add @fonlan/dsh-model-router
dsh plugin --profile web add .
dsh plugin --profile web add github:fonlan/dsh-model-router

仓库内包含的插件

  • @fonlan/dsh-model-routerv0.3.2

    DSH plugin: a virtual model-router provider that aggregates every configured provider and model, routes each request to the model's currently active provider, and ships a settings page for per-model provider ordering and switching.

    package.json
    package.json
    dsh.bundle.patch
    cordis.patch.yml
    官方核心包 (11)
    • @deepseek-ai/cordis^4.0.1共享
    • @deepseek-ai/dsh-client-locale^0.1.0-rc.6共享
    • @deepseek-ai/dsh-client-runtime^0.1.0-rc.6共享
    • @deepseek-ai/dsh-client-ui-conversation^0.1.0-rc.6共享
    • @deepseek-ai/dsh-client-ui-model-selection^0.1.0-rc.6共享
    • @deepseek-ai/dsh-client-ui-primitives^0.1.0-rc.6共享
    • @deepseek-ai/dsh-client-ui-slots^0.1.0-rc.6共享
    • @deepseek-ai/dsh-credentials^0.1.0-rc.6共享
    • @deepseek-ai/dsh-llm^0.1.0-rc.6共享
    • @deepseek-ai/dsh-settings^0.1.0-rc.6共享
    • @deepseek-ai/schemastery^3.18.1共享

路径固定于提交 7d5571ada60d

概览

dsh-model-router 是一个 DSH 插件,向 harness 注册一个虚拟模型提供商 model-router:它汇聚用户已添加的所有提供商及其模型(按 model id 严格归并),并在每次 LLM 请求发出时把请求实时路由到该模型当前激活的提供商。配套的设置卡片(设置 → 插件 → 插件配置 → 模型路由)支持按模型对提供商拖拽排序(供后续自动切换使用)与点击切换当前提供商;切换后全局立即生效——下一次发出的该模型请求即走新提供商。

仓库检查结果

结果绑定到所列 commit,仅涵盖本站实际执行的静态检查。证据分衡量可复核信息的完整度,不是兼容性百分比,也不构成安全保证。

仓库静态检查

高风险
检查 Commit
7d5571ada60d
证据分
81/100
静态风险
高风险
扫描文件
2
检查发现
2

证据分项

来源溯源25/25
安装文档25/25
维护状况17/20
兼容性证据5/20
安全信号3/10

兼容性置信度: 有限

安装期脚本 (1)
  • preparepnpm build
检查发现 (2)
  • install.script
    package.jsoninstall-time
    "prepare": "pnpm build"
  • shell.rm-rf
    package.json:47dangerous-shell
    "build": "rm -rf lib && tsc -p tsconfig.build.json && tsdown",
未执行的检查
  • 依赖漏洞数据库扫描
  • 实际安装测试
  • 运行时行为验证

扫描器 1.0.0 · 评分器 1.0.0