DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-http-header-limit

d

dsh-http-header-limit

Manifest valid★ 1

DeepSeek Harness (DSH) desktop startup crash fix. Accumulated dsh-auth-* cookies overflow Node's 16 KB request-header limit, so startup fails with HTTP 431 and "desktop welcome: Web authentication failed". This plugin raises maxHeaderSize to 256 KB. 修复 DSH 桌面版重启多次后启动崩溃。

hasBundlePatch

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

Comments

Loading…

From the same category

awesome-dsh-plugin

by awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表

Development & Infrastructure

★ 21.9k

CC0-1.0

Python

Nov 1, 2026

Index only — not installable

by 0xsline

DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.

Development & Infrastructure

★ 1.3k

CC0-1.0

Python

Oct 16, 2026

Index only — not installable

by Yuuyuko-uu

DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间

Development & InfrastructureMemory & ContextSessions & MessagesManifest valid

★ 451

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add dsh-fish-memory

by SAOS-3624

Scene-aware storyboard for DeepSeek Harness: 9-16 numbered cells with timestamps + transcript + an audio envelope, packed into ONE image (384 tokens). Two tools: video_storyboard and video_zoom.

Tools & CapabilitiesVision & MultimodalDevelopment & InfrastructureManifest valid

★ 352

↓ 4.4k/wk

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add dsh-video-storyboard

by uumit-ai

Open dsh web from your phone or another computer through a UUMit account, without running your own server or installing another program: a built-in tunnel client connects to UUMit's hosted tunnel, and

Tools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 296

↓ 303/wk

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add @uumit-ai/dsh-uumit-remote

by xiajiajun516

DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.

Development & InfrastructureManifest valid

★ 287

↓ 8.4k/wk

MIT

TypeScript

Nov 1, 2026

dsh plugin --profile web add dsh-config-manager