07-dot/dsh-cookie-janitor ↗★ 0

dsh-cookie-janitor

Expires stale dsh-auth browser cookies before the Cookie request header reaches Node's 16 KiB limit (HTTP 431).

パッケージ
dsh-cookie-janitor
互換性
未検証
Harness ピア範囲
>=0.2.1-rc.1
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/11/04

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

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:07-dot/dsh-cookie-janitor

ドキュメント

README 全文を読む ↗

Configuration

- id: cookie-janitor
  name: dsh-cookie-janitor
  config:
    maxCookies: 8        # prune past this many dsh-auth cookies
    maxHeaderBytes: 4096 # prune past this Cookie-header size
    retain: 2            # cookies kept after a prune, including the current authority's
    dryRun: false        # log intended prunes without sending deletions

Pruning only starts above the budget, so a jar holding one cookie per live instance is never touched. Several live authorities on one host (Desktop plus dsh web on port 3080, say) keep working until the jar crosses the budget; after that the oldest entries are the ones expired, and a reaped instance signs in again from its printed URL.