dsh-provider-model-configurator

by LiangYin233

模型与账号接入github 检测到 manifest dsh.plugin.json收录于 08-16

一个 DeepSeek Harness (DSH) 插件 :在独立设置页「模型 Pro / Model Pro」中集中 查看、新建、编辑、复制与删除 已配置提供商下的模型条目——上下文窗口、最大输出、输入模态、推理档位与推理兼容开关。还可以从内置的 llm-pi-ai 模型列表读取您所需要配置的模型的上下文参数、最大Token,无需自行填写、手动查询。

A DeepSeek Harness (DSH) plugin: a dedicated Model Pro settings page to centrally view, create, edit, duplicate and delete model entries under configured providers — context window, max output, input modality, reasoning tiers and the reasoning-compat switch. It can also read the context size and max tokens of the model you need from the built-in llm-pi-ai model list, so nothing has to be filled in or looked up by hand.

安装

dsh plugin --profile web add github:LiangYin233/dsh-provider-model-configurator

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

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

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

README

目录

一个 DeepSeek Harness (DSH) 插件:在独立设置页「模型 Pro / Model Pro」中集中查看、新建、编辑、复制与删除已配置提供商下的模型条目——上下文窗口、最大输出、输入模态、推理档位与推理兼容开关。还可以从内置的 llm-pi-ai 模型列表读取您所需要配置的模型的上下文参数、最大Token,无需自行填写、手动查询。

界面预览

模型 Pro 设置页 复制来源选择器
ui-1 ui-2

安装

# 从 GitHub 安装
dsh plugin --profile web add github:LiangYin233/dsh-provider-model-configurator#v0.3.9

# 或从 GitHub tarball 安装
dsh plugin --profile web add https://github.com/LiangYin233/dsh-provider-model-configurator/archive/refs/tags/v0.3.9.tar.gz

# 或从本地打包安装
npm pack
dsh plugin --profile web add ./dsh-provider-model-configurator-0.3.9.tgz

安装后重启 Web 服务器并刷新页面,打开设置 → 左侧导航「模型 Pro」(Models 页之后)。

功能

  • 选择目标提供商,列出其显式模型条目与配置摘要,可编辑 / 删除;
  • 新建:输入模型 ID,手动填写显示名、上下文窗口、最大输出、输入模态(text/image)、推理档位(档位 → wire 值,off 留空 = 不发送);推理档位与输入模态均支持「未设置(继承目录)」,避免把未配置的字段写成显式默认值;
  • 复制填充:「使用模型预设」打开来源选择器,从预设目录或其他提供商挑一个模型快速填充表单;
  • 兼容开关 (compat):编辑 thinkingFormat(openai / deepseek / openrouter / together / zai / qwen / string-thinking / ant-ling)与 supportsReasoningEffort(true / false / 未设置),供 openai-completions 推理分发读取;

目录快照行为:在尚未显式配置模型列表的目录提供商上新建/应用模型时,插件会把内置目录的当前模型列表整体写入为该提供商的显式条目(目录中已有的 ID 原地更新,新 ID 追加),之后再编辑均基于这份显式列表;目录后续更新不会自动合并进已快照的列表。目录提供商若删到零个显式条目,则回退为内置目录(未快照)状态。

仓库结构

├── package.json        bundle 清单(dsh.bundle.patch / dsh.client / exports)
├── cordis.patch.yml    bundle patch:挂载 dsh-provider-model-configurator
├── dsh.plugin.json     插件元数据(id / version / main)
├── docs/               界面截图(README 预览用)
├── lib/                构建产物(随包发布,由 build.mjs 生成)
│   ├── index.js        ← src/host/index.js
│   ├── contract.js     ← src/host/contract.js
│   └── client.js       ← src/client/static.tsx
├── shared/             构建产物:src/shared/thinking.js(共享常量;lib/contract.js
│                       运行时按 ../shared/thinking.js 解析到包根目录)
├── src/
│   ├── host/           Host 半区源码(index.js 静态 / dynamic.js 动态插件)
│   ├── client/         Client 半区源码(page.tsx / model.ts / page.css / locales/)
│   └── shared/         thinking.js — 推理档位 / 推理格式常量的单一来源
├── scripts/
│   └── check-dynamic.mjs  动态半区语法校验 + 常量同步校验(npm run check 执行)
├── build.mjs           esbuild 构建(lib/ 与 dist/dynamic-client-body.js)
└── tsconfig.json

License

MIT

鸣谢

LINUX DO

原始 README: https://github.com/LiangYin233/dsh-provider-model-configurator/blob/main/README.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