dsh-auth-cookie-sweep

解决dsh报错431(有时为401):由本地 Host 直接渲染一个 /auth-cookie-sweep 体检页,随时看到 cookie 罐有多满、离 16KB 的 431 还能再启动几次,并一键清理;旧 dsh-auth-* cookie 会自动失效,救援额度按历史最大 jar 的 4 倍放大且不设上限。DSH 0.2.2-rc.2/rc.3 只修了桌面版外壳,浏览器里的 jar 与旧版本仍会累积。

插件介绍

解决dsh报错431(有时为401):由本地 Host 直接渲染一个 /auth-cookie-sweep 体检页,随时看到 cookie 罐有多满、离 16KB 的 431 还能再启动几次,并一键清理;旧 dsh-auth-* cookie 会自动失效,救援额度按历史最大 jar 的 4 倍放大且不设上限。DSH 0.2.2-rc.2/rc.3 只修了桌面版外壳,浏览器里的 jar 与旧版本仍会累积。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:GuYou9799/dsh-auth-cookie-sweep

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。