jitianjiyan/dsh-auth-cookie-guard ↗★ 44

dsh-auth-cookie-guard

Give the local listener a header budget large enough for its own launch cookies, and retire the cookies of every earlier start, so the desktop welcome handshake cannot lock a profile out after ~72 restarts.

パッケージ
dsh-auth-cookie-guard
互換性
未検証
バージョン
1.0.6
ライセンス
MIT
最終更新
2026/11/19

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jitianjiyan/dsh-auth-cookie-guard

ドキュメント

README 全文を読む ↗

配置

在 profile 的 patch 层给这一行加 config 即可(maxHeaderBytes 会被夹到 16 KiB–1 MiB,keep 到 1–64):

- id: auth-cookie-guard
  name: dsh-auth-cookie-guard
  config:
    maxHeaderBytes: 131072
    keep: 4

一般不需要改。若某台机器上 cookie 已经多到超过 64 KiB(约 350 次启动),把 maxHeaderBytes 临时调到 262144,启动一次让清理跑完,再调回默认值即可。