GuYou9799/dsh-auth-cookie-sweep ↗★ 1
dsh-auth-cookie-sweep
Expire stale dsh-auth-* browser-session cookies so DeepSeek Harness keeps opening after months of launches.
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-auth-cookie-sweepドキュメント
README 全文を読む ↗配置
在 bundle 的 insert 行上加可选 config:
- insert:
- id: dsh-auth-cookie-sweep
name: dsh-auth-cookie-sweep
config:
minStaleCookies: 3 # 1..256,达到多少条外来 cookie 才清理
maxCookieHeaderBytes: 4096 # 512..16384,请求头多大就立刻清理
maxDeletions: 64 # 1..512,单次响应最多下发多少条过期指令
secure: false # 省略则自动跟随 Host 协议
非法或越界取值会被收敛到安全范围,未知字段忽略。
Configuration
Optional config on the bundle's insert row:
- insert:
- id: dsh-auth-cookie-sweep
name: dsh-auth-cookie-sweep
config:
minStaleCookies: 3 # 1..256, foreign cookies before cleaning
maxCookieHeaderBytes: 4096 # 512..16384, clean as soon as the header is this big
maxDeletions: 64 # 1..512, expiries per response
secure: false # omit to follow the Host protocol automatically
Wrong or out-of-range values are clamped; unknown keys are ignored.