DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Local Models — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
L

dsh-local-models

Local Models

dsh 插件:一个 Local Models 设置选项卡,用于启动和停止与 dsh 宿主进程共存的 llama-server 子进程。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Vmarcelo49/dsh-local-models#42cd4c64b6a44229c865b33ddbb4579992a5328c
README兼容性版本

兼容性与来源证明

Local Models 以 dsh-local-models 发布,当前版本为 0.2.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/5

版本

0.2.0stable
2026/9/5

相关插件

正在加载相关插件…

最新版
0.2.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/5
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编码计划配额,并提供实时令牌使用记录,同时在侧边栏条目中显示当前会话提供商今日的使用量Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。

README

dsh-local-models

A dsh addon that adds a Local Models tab to the dsh Web GUI: pick a .gguf file, tune context and speculative decoding, watch a live VRAM estimate, and load it through llama-server — then register the running server as an LLM provider in dsh with one click.

Built against stock upstream llama.cpp (llama-server). No fork, no patches, no build step: the client bundle is hand-written React.createElement (no JSX toolchain) and the node half is dependency-free.

Features

  • Model picker — in-app file browser (directories + .gguf only) with a header-only GGUF parse (architecture, quant, layers, context length, MoE detection) behind POST /local-models/gguf-meta
  • Launch options — context slider (8K steps, capped at the model's trained context) + fine-tune input, fixed MTP draft depth (0–3), thinking level (off/low/medium/xhigh), optional vision mmproj (GPU or CPU offload), MoE expert placement (--cpu-moe / --n-cpu-moe / top-k override) with a fit-to-VRAM helper
  • Live VRAM estimate — weights + Q8_0/Q4_0 KV cache + recurrent state + compute/graph + overhead against 16 GB, with fits / safe-margin / max-ctx-that-fits rows (see Known issues for Gemma-family accuracy)
  • Profiles — save named launch configurations, reload in one click
  • Router mode — serve all saved profiles from one OpenAI-compatible endpoint (--models-preset); models load on demand, one resident at a time by default. Starting the router automatically (re-)registers its models in dsh — no manual Register press.
  • Register in dsh — writes the ready server as an llm-pi-ai provider route (vision modality + thinking levels included)
  • Terminal overlay — live tail of the llama-server log from the tab

Requirements

  • dsh with the web profile (the plugin composes into it)
  • A llama-server binary (upstream llama.cpp, Vulkan/CUDA/CPU — whatever your machine uses)
  • The VRAM estimate constants target a 16 GB GPU; they live at the top of lib/client.js (TOTAL_VRAM_BYTES, SAFE_MARGIN_BYTES) if yours differs

Install

cd ~/.dsh/profiles/web
dsh plugin --profile web add /path/to/dsh-local-models
# then add "dsh-local-models" to the "bundles" array in package.json

Restart the dsh web process (bundle composition picks up only at boot), refresh the browser, open Settings → Local Models.

Node-half changes (routes, inject list) need a dsh restart; client-half changes only need a page refresh.

Usage

  1. Choose GGUF… — pick a model file (Home / Models shortcuts, Up navigation).
  2. Tune context, Max MTP head (fixed draft; capped at 3 — deeper collapses at large ctx), thinking level, optional mmproj and MoE settings.
  3. Load model, watch the status card, inspect output via Open terminal.
  4. Register in dsh — the route (default local-<alias>) appears in the Models picker.
  5. Alternatively, save profiles and Start router (from profiles) for a multi-model endpoint.

Configuration

VariableDefaultMeaning
LOCAL_MODELS_PORT8080llama-server port
LOCAL_MODELS_BIN~/Projetos/llama.cpp/build/bin/llama-serverserver binary
LOCAL_MODELS_SHORTCUTS/mnt/raid0/GGUFcolon-separated file-browser shortcut dirs (name=path for custom labels)
LOCAL_MODELS_MMPROJ_CPU1vision projector weights in RAM (0 = offload to GPU)
LOCAL_MODELS_ROUTER_MAX1max simultaneously resident router models
LOCAL_MODELS_MAX_IMAGE_BYTES10485760vision image guard
LOCAL_MODELS_IMAGE_PIXEL_BUDGET4194304vision pixel budget
DSH_HOME~/.dshdata dir (local-models/profiles.json, llama-server.log)

Launch flags are fixed to the validated daily config: full offload, -b 2048 -ub 512 -t 4 -np 1, --flash-attn on --kv-unified, --cache-type-k q8_0 --cache-type-v q4_0, MTP --spec-type draft-mtp --spec-draft-n-max N --spec-draft-p-min 0.75 (dropped above 131072 ctx unless the profile sets ignoreCtxCap — the tab's “ignore the MTP ctx softcap” checkbox, which forces the draft on at any ctx and may OOM or collapse decode).

HTTP API (mounted under /local-models)

RouteMeaning
GET /local-models/browse?dir=dirs + .gguf files
POST /local-models/gguf-meta{path} → parsed GGUF header (cached)
GET /local-models/statusstate + fresh /health probe
GET /local-models/logs?offset=&max=incremental tail of llama-server.log
POST /local-models/runspawn the server
POST /local-models/stopstop the child (or reap the port)
POST /local-models/profiles / GETsave (upsert) / list profiles
POST /local-models/profiles/removedelete a profile
POST /local-models/router/startbuild presets from profiles + start router
POST /local-models/router/unloadunload one router model
POST /local-models/router/unload-allunload all router models
POST /local-models/registeradd the ready server as an llm-pi-ai route

Project layout

lib/index.js    node half: process manager, GGUF parser, routes, presets
lib/client.js   browser half: settings tab (single build-free bundle)
skills/         operator skill: spawn-parity checklist, profile audits
docs/           UI mockup

Pure, exported helpers (normalizeEffort, moeArgsFor, generateRouterPresets, buildProviderProfile, profiles store) are unit-testable without a running server; node lib/index.js /path/to/model.gguf dumps a parsed header as a self-test.

Known issues

See KNOWN_ISSUES.md — most notably, the VRAM estimate is approximate for Gemma-family layouts.

License

MIT — see LICENSE.