DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

ComeCaramelos /

ComeCaramelos/dsh-custom-provider

已验证

DSH plugin that adds a "No API key required" toggle to custom providers configuration

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub项目主页
README来源: main@451c23d8

@comecaramelos/dsh-custom-provider

DSH plugin that adds a "No API key required" toggle to saved hand-declared provider cards in Settings → Models, and lights a green status dot on hand-declared rows whose profile authenticates through a non-empty Authorization header (the toggle's placeholder or one you wrote yourself).

Installation

dsh plugin add @comecaramelos/dsh-custom-provider

For development, link this checkout into your web profile (after building the bundle once). The checkout is mounted from the source tree, never from a published npm copy — if the same package is installed system-wide, keep the link in the web profile and make sure it wins (see the guidance in ~/.dsh/profiles/web/README.md):

npm install
npm run build
dsh plugin --profile web add link:/path/to/dsh-custom-provider

Usage

  1. Open Settings → Models and save your custom provider (the create form itself has no toggle).
  2. Open the saved provider's card so its editor expands — the toggle lives inside that editor (it is invisible while the card is closed).
  3. Tick No API key required for endpoints that ignore authentication.
  4. The row lights a green dot whenever its profile authenticates through a non-empty Authorization header — via the toggle, by inheritance, or one you typed yourself. The dot never touches the profile and never shows on top of the page's own credential dot (never two indicators).

Development

npm install          # typescript + esbuild devDependencies
npm run build        # src/**/*.ts → lib/ (host: tsc; browser: tsc typecheck + esbuild bundle)
npm test             # builds, then node --test (pure logic through stubbed loader + React)
npm run dev          # tsc --watch

The tests drive the emitted lib/client.js through a stubbed module loader, so the shipped artifact is what is verified.


CONTRIBUTING | LICENSE

—/ 5

暂无评分

已验证 DSH bundle

Commit 451c23d8aa69

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于