DeepSeek Harness 插件

dsh-advanced-model-editor

Advanced model configuration page for DSH WebUI(英文原文)

跳到安装方式

来源信息

GitHub 仓库
u9521/dsh-advanced-model-editor
最近更新
2026年8月22日
分类
界面增强
GitHub stars
1
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/u9521/dsh-advanced-model-editor
插件名:dsh-advanced-model-editor
作者:u9521

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-advanced-model-editor

A DeepSeek Harness WebUI plugin that adds an Advanced Model Settings section to the Settings page. It manages LLM provider profiles across the settings namespaces — the custom provider namespace (llm-pi-ai) and the official provider namespace (llm-deepseek) — including built-in and custom providers, model lists, reasoning/thinking options, headers, retry policy and more, with the same validation and conflict rules as the official settings UI.

![Screenshot](docs/pics/screenshot.png)

Quick Install (Recommended / One-Line)

Install directly from the GitHub dist branch (pre-built by CI, no manual clone or compilation required):

dsh plugin --profile web add github:u9521/dsh-advanced-model-editor#dist

Then restart web (dsh web) and hard-refresh your browser (Cmd+Shift+R). The plugin appears as Advanced Model Settings in Settings.

Upgrade & Uninstall

# upgrade to the latest dist release
dsh plugin --profile web add github:u9521/dsh-advanced-model-editor#dist

# uninstall
dsh plugin --profile web remove @local/dsh-advanced-model-editor

---

Local Development & Manual Build

Prerequisites

  • pnpm installednpx get-pnpm (see https://pnpm.io/installation; alternatives:

corepack enable or npm install -g pnpm). Required both for building and because dsh plugin --profile web add forwards to pnpm internally.

  • Node.js ^22.19 || >=24.

1. Clone

Clone the repository into the recommended location:

git clone https://github.com/u9521/dsh-advanced-model-editor.git ~/.dsh/plugins/cust-model-editor
cd ~/.dsh/plugins/cust-model-editor

2. Build

The build output (lib/) is not committed to the source branch — build it yourself for local development:

pnpm install
pnpm run build

The official DSH client-bundle preset is vendored under external/deepseek-harness/packages/client/, so no DSH source checkout is needed: pnpm run build runs tsc (type check + emit lib/types/) and tsdown (bundle lib/index.js + lib/client.js) with the project's own dependencies.

Verify the build with:

pnpm test

3. Local Install

dsh plugin --profile web add ~/.dsh/plugins/cust-model-editor

Then restart web (dsh web) and hard-refresh the browser (Cmd+Shift+R).

Development & Maintenance Commands

CommandDescription
pnpm run buildFull build (runs tsc type check + generates lib/ bundles)
pnpm run checkType check only (tsc --noEmit) without emitting files
pnpm testFull build, then run the test suite (node --test)
pnpm run fmtFormat source and config files with Prettier
pnpm run fmt:checkCheck code formatting compliance
pnpm run syncSync the vendored DSH client-bundle preset from upstream (--check or --yes)

Local Source Upgrade / Uninstall

# pull new sources, rebuild, then re-add
git -C ~/.dsh/plugins/cust-model-editor pull
cd ~/.dsh/plugins/cust-model-editor && pnpm run build
dsh plugin --profile web add ~/.dsh/plugins/cust-model-editor

# uninstall
dsh plugin --profile web remove @local/dsh-advanced-model-editor

Restart web and hard-refresh the browser afterwards.

License

[MIT](LICENSE)