D

dsh-model-router

github.com/fonlan/dsh-model-router

v0.3.9 模型与账号 发起网络请求

路由配置持久化在 settings 文档的 `model-router` 命名空间(`~/.dsh/settings.yaml`):

作者原文(英文)

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.

中文简介由 DeepSeek 模型翻译,仅供参考。

dshdeepseek-harnesspluginmodel-routerproviderrouting
分类
model
发布
2026-10-06
版本
v0.3.9

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
1需留意2一般21未命中
高关注需留意一般

能力清单

  • 发起网络请求network需留意2 处命中
    • lib/client.js:149response = await fetch(`/plugins/@fonlan/dsh-model-router/api/${method}`, {
    • src/client/api.ts:45response = await fetch(`/plugins/@fonlan/dsh-model-router/api/${method}`, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 接触凭据或密钥credentials一般77 处命中
    • lib/client.js:46noCredential: "未配置 API 密钥,不可选",
    • lib/client.js:69noCredentialShort: "未配置凭据",
    • lib/client.js:97noCredential: "No API key configured — not selectable",
    • lib/client.js:120noCredentialShort: "No credentials",
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般2 处命中
    • lib/types/index.d.ts:15export declare const Config: import("@deepseek-ai/schemastery").default<RouterConfigShape>;
    • lib/types/server/service.d.ts:106llm(): import("@deepseek-ai/dsh-llm").LlmRuntime;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
发起网络请求network需留意2
接触凭据或密钥credentials一般77
动态加载模块dynamic-import一般2

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 20 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

← 返回全部插件