dsh-llm-config
Manifest validReusable LLM configuration profile library exposed to browser consumers as a Remote (DeepSeek Harness plugin)
@lovstudio/dsh-llm-config
English | 中文
Host-side reusable LLM profile library. It owns the llm-config settings namespace and exposes llmConfig.runCompletion through a generated Typert Remote contribution. Each profile selects a provider, model, and system prompt; consumers address profiles by stable id without depending on the Host LLM service directly.
The package is intentionally Host-only. Browser editors belong in downstream Client packages such as @lovstudio/dsh-llm-config-ui; @deepseek-ai/dsh-api-remotes imports the generated Remote contribution and bundles its runtime codec dependencies for the browser.
Install
Prerequisites: Node.js 22.19+ or 24+, pnpm 11 (corepack enable or npm i -g pnpm) — dsh plugin forwards to pnpm inside the profile directory.
From a DeepSeek Harness source checkout (recommended — you get the harness source too):
git clone --depth 1 --branch dsh-v0.1.2-rc.1 https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness && pnpm install && pnpm run build
pnpm dsh plugin --profile web add -w github:lovstudio/dsh-llm-config#v0.1.2
pnpm dsh web
Without a checkout (npx; compiled harness only):
npx @deepseek-ai/dsh plugin --profile web add -w github:lovstudio/dsh-llm-config#v0.1.2
npx @deepseek-ai/dsh web
web is the profile dsh web boots. The tag pins a commit whose lib/ is prebuilt and committed, so nothing is compiled on your machine. Verified on 2026-09-04 against dsh-v0.1.2-rc.1 in both forms. Remove with dsh plugin --profile web remove @lovstudio/dsh-llm-config.
Local development
pnpm install
pnpm run watch
DSH_HOME=/Users/mark/.dsh-lov-dev pnpm --dir /path/to/deepseek-harness dsh plugin --profile web add -w link:/path/to/dsh-llm-config
The checkout owns its Host build and committed Typert artifacts; the isolated
profile keeps local iteration out of the Harness repository and the default
~/.dsh profile.
Model Experience
Profile completion request
What the model sees
The model sees the selected profile's exact systemPrompt followed by the caller's content as one user message. The shipped market-search profile asks for a concise dshfind keyword query and no explanation.
Token effect
The profile prompt is a fixed per-request cost; user content and the generated answer vary by call. The auxiliary answer is capped at 512 output tokens.
KV Cache effect
Prefix-stable while the selected profile's provider, model, and prompt remain unchanged. Changing a profile may invalidate reuse from the changed system-prompt segment; user content appends after that prefix.
Known Limitations and Deferred Work
- Profiles are selected by exact id; there is no fallback profile.
- A missing profile, provider, or model fails the Remote call instead of silently choosing another route.
- Profile editing is provided by a separate browser package.
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by deepseekv41flash
DeepSeek Harness plugin: makes a reverse-proxied (non-loopback) dsh web page count as a trusted host, so the Settings surface loads instead of reporting "settings are unavailable in this browser".
★ 5
↓ 102/wk
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-remote-trustby Aa728848
Configurable DSH-native LLM verifier with a Web settings page
★ 21
↓ 2.5k/wk
MIT
TypeScript
Nov 11, 2026
dsh plugin --profile web add dsh-llm-verifierby AlienGene
DeepSeek Harness plugin for querying LLM service provider usage: reads each configured provider's remaining balance or subscription quota and shows it in an always-visible card in the web GUI
★ 0
MIT
JavaScript
Sep 12, 2026
dsh plugin --profile web add dsh-llm-balanceby jwilson411
DeepSeek Harness plugin: fail-closed URL host/scheme allowlist that runs before a request is opened
★ 0
MIT
JavaScript
Sep 21, 2026
dsh plugin --profile web add dsh-ssrf-guardby Fast-Editor
DeepSeek Harness (dsh) plugin: registers Lynkr as a custom OpenAI-compatible provider
★ 0
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add lynkr-dsh-pluginby btsd321
Remote development launcher: install dsh on a remote host and use it from your local browser. LLM credentials never leave your machine.
★ 6
↓ 705/wk
Apache-2.0
TypeScript
Oct 20, 2026
dsh plugin --profile web add dsh-remote-explorer