DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
H

dsh-http-header-limit

Http Header Limit

Raise the DSH desktop Host's HTTP request-header ceiling so accumulated dsh-auth cookies stop overflowing Node's 16 KiB limit and crashing startup (upstream issue #9924).

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:divelife/dsh-http-header-limit#018ab7b87d28d693aa09d854771dce6ca1734ec8
READMECompatibilityVersions

Compatibility and provenance

Http Header Limit is published as dsh-http-header-limit and currently resolves to version 1.0.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/31/2026

Versions

1.0.0stable
10/31/2026

Related plugins

Loading related plugins…

Latest
1.0.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
10/31/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in security-access.

Experimental Auto Review@deepseek-ai/dsh-experimental-auto-reviewPer-tool LLM authorization review for the DeepSeek Harness Auto permission presetCc Safety Netcc-safety-netA coding agent CLI hook - block destructive commands and secret file accessDoctor@linxin666/dsh-doctorTransactional rescue mode for DSH profiles with a supervised launcher, isolated recovery capsule, deterministic repairs, health monitoring, and a local Web recovery consolePocketdsh-pocketPut DeepSeek Harness in your pocket: one package, one settings page, and scan a QR code on your phone to access DSH on your computer in sync (LAN + public network, real-time screen mirroring).

README

dsh-http-header-limit

修复 dsh 桌面版重启次数多了之后启动崩溃的问题。

dsh 每次启动绑随机端口,会话 cookie 名跟着端口变,所以每次启动都多一条 dsh-auth-* cookie,旧的永不覆盖、30 天内也不清理。攒到约 71 条(16.4 KB)就超过 Node 默认 16 KB 的请求头上限,Host 返回 431,桌面壳报成:

Error: desktop welcome: Web authentication failed

表现为窗口一闪即退。这个插件把 Host 的 maxHeaderSize 抬到 256 KB,可容纳约 1148 条 cookie。不删 cookie,不改安装文件,升级应用不会丢。

上游 issue:deepseek-ai/deepseek-harness#9924。这是临时绕过,不是根治。

安装

在 dsh 里装,不用命令行。

  1. 从 Releases 下载 dsh-http-header-limit-1.0.0.tgz,不要解压,记住它落在哪个目录。

  2. 打开 dsh,侧边栏进「插件」→「添加插件」。

  3. 在输入框里填这个 tgz 的完整路径,例如:

    C:\Users\你\Downloads\dsh-http-header-limit-1.0.0.tgz
    

    也可以直接填 release 里那条下载链接(.tgz 结尾的那个),省掉第 1 步。

  4. 装完完全退出 dsh(含托盘)再启动,插件在启动时加载。

使用

装好就不用管了,每次启动自动生效。

确认它在工作,看标记文件:

cat ~/.dsh/http-header-limit.json
# {"at":"...","limit":262144,"status":"maxHeaderSize=262144 on 127.0.0.1:49677"}

status 里的端口应该和当次 Host 端口一致。文件不存在就是插件没跑起来。

急救脚本

补丁失效、且已经启动崩溃时用。必须先完全退出 dsh。

Windows:

powershell -ExecutionPolicy Bypass -File dsh-cookie-rescue.ps1 -DryRun   # 先预览
powershell -ExecutionPolicy Bypass -File dsh-cookie-rescue.ps1           # 真删

macOS:

chmod +x dsh-cookie-rescue.sh
./dsh-cookie-rescue.sh --dry-run
./dsh-cookie-rescue.sh

只删 host_key='127.0.0.1' 且名字以 dsh-auth- 开头的记录,删前自动备份,删后校验条数和完整性。不需要 Python,用 Node 内置 node:sqlite(Node ≥ 22.5)。

脚本会自动探测数据库位置,常见的几种布局都试一遍(%APPDATA%\@deepseek-ai\dsh-desktop\Network\Cookies、~/.dsh/electron-user-data/Network/Cookies 等)。探测不到就设环境变量指定:

$env:DSH_COOKIES_DB = "C:\完整\路径\Cookies"
export DSH_COOKIES_DB="/full/path/Cookies"

注意

启动失败时别点弹窗里的「Disable third-party plugins」。它会改名 cordis.patch.yml 并把 dsh.profile.bundles 砍到只剩两个官方包,但修不好这个 bug,只会丢配置。

License

MIT