dsh-wsl-hostsvc
Manifest validProbes Windows-host Ollama, LM Studio, vLLM, and llama-server from WSL, compares ctx, and reports /v1/models apiReady versus TCP.
dsh-wsl-hostsvc
Install set: part of dsh-wsl-kit. Prefer
KIT_SET=daily|llm|github|full(see kit README). Fault tree: TROUBLESHOOTING.md.
DeepSeek Harness plugin: from WSL, probe Windows-host OpenAI-compatible LLM servers and suggest a reachable baseURL.
Compatibility
| Field | Value |
|-------|-------|
| Plugin | dsh-wsl-hostsvc 0.4.2 |
| Minimum dsh | ≥ 0.1.2 (web UI one-shot ?token= on Windows relay :3081) |
| Latest verified | See dsh-wsl-kit Compatibility (currently 0.1.5-rc.1) — single source of truth for the suite |
| Kit set | llm / full (some also useful alone) |
| Cloud Flash | Use model id deepseek-flash (V4.1 Flash) in ~/.dsh/settings.yaml / llm-deepseek — not configured by this plugin |
| Agent Teams | Upstream experimental; not required here |
Suite floor versions: kit check-plugin-versions.sh. Fault tree: TROUBLESHOOTING.md.
Scope: local OpenAI-compatible servers on the Windows host (host_reach). Does not configure cloud DeepSeek; for V4.1 Flash set model id deepseek-flash in settings.
What it does
Tool host_reach (default profile=all) probes:
| id | Port | Typical server |
|----|------|----------------|
| ollama | 11434 | Ollama |
| lmstudio | 1234 | LM Studio local server |
| vllm | 8000 | vLLM OpenAI server |
| llama | 8080 | llama-server / Unsloth Desktop |
Hosts tried: 127.0.0.1, localhost, host.docker.internal, and the Windows IP from /etc/resolv.conf.
Outputs worth pasting
suggestedBaseURL/ per-service URLs →llm-pi-ai.providers.*.baseURL(keep/v1)providerSnippets.yaml→ paste underllm-pi-ai.providersin~/.dsh/settings.yamlollamaModels→ exact ids fromollama list//api/tagsconnectivityPlaybook→ ordered tools when HTTPS/DNS also fail- hints → Ollama
n_ctxvs settingscontextWindow, Unsloth Desktop vs Studio, VRAM
Template: examples/local-llm-providers.settings.yaml.
Ollama context (common 400)
Plugin-heavy dsh prompts often need >8k tokens even for a short chat turn. This is independent of cloud deepseek-flash (V4.1 Flash), which you configure under official llm-deepseek / default model — not via host_reach.
- Set Ollama
PARAMETER num_ctx 32768(Modelfile / recreate model), orOLLAMA_NUM_CTXon Windows before starting Ollama. - Match
contextWindowin settings to thatnum_ctx(not the model's theoretical max like 131072 unless Ollama actually runs it). - Keep
maxTokenssmaller thancontextWindow(e.g. 4096) so the prompt still fits.
Mismatch examples:
- settings
131072+ Ollaman_ctx=8192→ API errors - settings/Ollama both
8192+ fat system/tools prompt (~10k) →CONTEXT_WINDOW_EXCEEDED
Unsloth / Flash-Next
- Unsloth Desktop (winget) ≠ Unsloth Studio (
~/.unsloth/studio). Desktop often exposes OpenAI/v1on 8080 (llamaprofile). - Multi-shard Flash-Next GGUF may need Desktop or a patched llama.cpp; plain Ollama cannot load every shard layout.
- Do not co-load Ollama + vLLM + llama-server on one 16GB GPU without headroom.
Install
# Recommended with the LLM set:
curl -fsSL https://raw.githubusercontent.com/173787247/dsh-wsl-kit/master/install.sh | KIT_SET=llm bash
# Or alone:
dsh plugin --profile web add github:173787247/dsh-wsl-hostsvc
Restart dsh web and open a new session.
WSL UI from Windows browser: use kit scripts/restart-dsh-web.sh and open http://127.0.0.1:3081/ (relay; dsh itself binds 127.0.0.1:3080 only).
Usage
Ask the agent to run host_reach (profile: ollama|lmstudio|vllm|llama|all, optional port, includeProviders).
If nothing opens: on Windows bind beyond loopback (e.g. OLLAMA_HOST=0.0.0.0:11434) or enable WSL mirrored networking, then re-probe.
License
MIT
Similar plugins
by cerebrixos-org
CLI & MCP server for Tuning Engines — fine-tune LLMs on code repositories
★ 6
↓ 66/wk
MIT
TypeScript
Aug 18, 2026
dsh plugin --profile web add tuningengines-cliOptional Obscura headless-browser tools from WSL (obscura_status / obscura_fetch / obscura_mcp_hint). Not the same as dsh-wsl-browser win_open_url (Windows GUI browser), and not a replacement for dsh-
★ 0
dsh plugin --profile web add dsh-wsl-obscuraOpenAI-completions-compatible adapter for custom gateways (vLLM / LM Studio / self-hosted proxies): always role:"system", thinking driven by the model config, Qwen-style response split, and vision-mod
★ 0
↓ 30/wk
dsh plugin --profile web add dsh-llm-openai-completionsLLM provider adapter that routes model calls through any ACP (Agent Client Protocol) server — Claude Code, Codex, Gemini CLI, Devin and more — with a registry browser, per-server settings UI, lazy aut
★ 0
dsh plugin --profile web add @deepseek-ai/dsh-llm-acpby wings1848
Lazy MCP gateway for DeepSeek Harness: one stable proxy tool instead of N tool schemas, servers connect on first use and idle out, metadata cached to disk.
★ 4
↓ 292/wk
MIT
TypeScript
Sep 15, 2026
dsh plugin --profile web add dsh-mcp-lazyby jwilson411
DeepSeek Harness plugin: OpenAI-compat server protocol card (loopback probe, no GGUF)
★ 0
MIT
JavaScript
Sep 1, 2026
dsh plugin --profile web add dsh-compat-probe