rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:u9521/dsh-advanced-model-editor
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness WebUI plugin that adds an Advanced Model Configuration 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.
Reads and writes ride DSH's shared settings services (ctx.configForms /
ctx.settingsSchema), so this page and the official Models page share one document
mirror and one revision queue instead of racing each other. The section appears only
while one of its namespaces is actually served, and it shows the provider facts DSH
directory reports — the endpoint a profile inherits (defaultBaseURL / baseURLEnv),
the route's own authentication (nativeAuth, including OAuth) and any catalog
diagnostic — so a keyless route no longer reads as a missing credential.
The official DeepSeek card also shows how its catalog relates to the service's
model listing: whether the route still follows GET /models, whether an edited
catalog replaced it, or whether the endpoint is not the official one at all — with
a Restore defaults action that clears the override and resumes the listing.
Routes can speak OpenAI Completions, OpenAI Responses, Anthropic Messages or the Gemini API. The persona editor narrows itself to what each protocol accepts: Gemini routes offer only the four reasoning levels its implementation recognizes, take their effort values from the same fixed vocabulary, and show no compatibility switch at all — pi-ai gives that protocol no compat type, so a switch set on it would be skipped or refused.
>= 0.2.2-rc.2 — only the current release is supported. There is no
backward-compatibility layer for older DSH versions.>=24.9.0, the version DSH itself now requires.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 Configuration in Settings.
Use the dsh plugin update command to pull the latest dist release:
# upgrade to the latest dist release
dsh plugin --profile web update @local/dsh-advanced-model-editor
# or re-add the dist branch
dsh plugin --profile web add github:u9521/dsh-advanced-model-editor#dist
Then restart web and hard-refresh your browser.
npx 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.>=24.9.0.Clone the repository into the recommended location:
git clone https://github.com/u9521/dsh-advanced-model-editor.git ~/.dsh/plugins/dsh-advanced-model-editor
cd ~/.dsh/plugins/dsh-advanced-model-editor
The build output (lib/) is not committed to the source branch — build it yourself for local development:
pnpm install
pnpm run build
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 — no DSH source
checkout is needed. The browser half is a self-contained closure factory for the DSH
client module table; the whole platform-module contract lives in tsdown.config.mjs.
Verify the build with:
pnpm test
dsh plugin --profile web add ~/.dsh/plugins/dsh-advanced-model-editor
Then restart web (dsh web) and hard-refresh the browser (Cmd+Shift+R).
| Command | Description |
|---|---|
pnpm run build |
Full build (runs tsc type check + generates lib/ bundles) |
pnpm run check |
Type check only (tsc --noEmit) without emitting files |
pnpm test |
Full build, then run the test suite (node --test) |
pnpm run lint |
ESLint, type check, test suite, and Prettier check in one pass (CI gate) |
pnpm run lint:fix |
Apply ESLint fixes, then rewrite the files with Prettier |
pnpm run fmt |
Format source and config files with Prettier |
pnpm run fmt:check |
Check code formatting compliance |
When installed locally, the plugin is linked via link: into the profile. Upgrading local sources only requires pulling the latest commit and rebuilding — no need to re-run dsh plugin add:
cd ~/.dsh/plugins/dsh-advanced-model-editor
git pull
pnpm run build
(If dependencies changed, run pnpm install before building)
Then restart web (dsh web) and hard-refresh the browser (Cmd+Shift+R).
Whether installed from GitHub or linked from local sources, uninstall with:
dsh plugin --profile web remove @local/dsh-advanced-model-editor
Restart web and hard-refresh the browser afterwards. If local sources are no longer needed, you can delete the cloned directory:
rm -rf ~/.dsh/plugins/dsh-advanced-model-editor
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: llm、model。