deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:BuLongY/dsh-proxy
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
简体中文 | English
Route DeepSeek Harness host-side fetch (LLM calls, model discovery, plugin market, web search) through a local HTTP/HTTPS proxy such as Clash / mihomo / v2ray. No TUN mode, and no system proxy required.
Built for DSH 0.1.2-rc.1 and the dsh-market plugin layout.
0.4.0 fix: DSH 0.1.2 changed the client module contract to
factory(require) => exports(wasfactory(module, exports, require)) and dropped thedsh-client-runtime/dsh-client-ui-slotspackages. 0.3.x fails to load on both counts; 0.4.0 follows the new contract.
DSH Desktop / Web issues LLM traffic from the host Node process using global fetch:
HTTPS_PROXY does not apply to Node global fetchWhen an API is blocked by Cloudflare IP reputation, or only reachable via a proxy, this plugin wraps host fetch with undici ProxyAgent. Clash rule mode still decides what is direct vs proxied.
From the Plugin Market, search dsh-proxy, or from a terminal:
dsh plugin --profile web add github:BuLongY/dsh-proxy
Restart the DSH Web Host, then refresh the page.
The published package ships prebuilt lib/ files. GitHub installs do not need pnpm approve-builds / prepare.
7890).127.0.0.1:7890), keep Enable on.localhost, 127.0.0.1, ::1 by default).Settings persist in DSH settings.yaml under dsh-proxy: and apply live.
| Piece | Requirement |
|---|---|
| DSH | 0.1.2-rc.1 and later hosts that still expose ctx.settings.register and settings.section |
| Profile | web |
| Node | >= 20 |
| Market | dsh.bundle.patch, bilingual README, prebuilt client factory, no prepare script |
The 0.3.x line replaced the old installSettingsSection + settings.plugin.item APIs that broke after DSH 0.1.1.
The host half no longer swaps global fetch for an undici one. It keeps Node's native fetch and attaches an undici dispatcher to each request:
ProxyAgent; noProxy hosts use an explicit Agent (direct).Request / Response, streaming, and error semantics are preserved so SDK type checks keep working.fetch.The client settings page registers into settings.section and depends on the settingsScope, slots, and locale services.
If a desktop profile fails to load because of one bad plugin, the app enters the safe profile and purges every user plugin from it at startup (SAFE_MODE_PLUGIN_PURGE in the log). The symptom is plugins that keep disappearing and cannot be installed.
dsh-proxy 0.4.0 does not trigger this by itself; other plugins in the same profile can, and should be checked first.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。