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.
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by Aa728848
Configurable DSH-native LLM verifier with a Web settings page
★ 18
↓ 1.4k/wk
MIT
TypeScript
Sep 28, 2026
dsh plugin --profile web add dsh-llm-verifierby AcidGr
DeepSeek Harness (dsh) Web plugin
★ 35
MIT
JavaScript
Sep 23, 2026
dsh plugin --profile agent add dsh-web-lan-accessby 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 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 striveh
Local request and response inspector for session-associated DeepSeek Harness LLM calls
★ 0
MIT
TypeScript
Aug 31, 2026
dsh plugin --profile web add dsh-llm-call-inspectorby xia-sc
DeepSeek Harness LLM provider plugin for OpenCode Go (zen-go route)
★ 0
MIT
JavaScript
Sep 16, 2026
dsh plugin --profile web add @dsh-plugins/dsh-opencode-go