Skip to content

v2.0.0 β€” Docker + Reactive Cookie Architecture

Choose a tag to compare

@kodelyx kodelyx released this 17 Sep 10:55
· 18 commits to main since this release

πŸš€ v2.0.0 β€” Docker/OrbStack + Reactive Cookie Sync

🐳 Docker / OrbStack

  • Fully self-contained Docker image (no host folder mounts)
  • Multi-stage Alpine build (~25MB final image)
  • restart: unless-stopped β€” auto-starts on Mac reboot
  • Ports 8001 (API) and 9226 (WebSocket cookie bridge)

πŸ”„ Reactive Cookie Architecture

  • Only-On-Expiry sync β€” zero proactive polling
  • ExecuteWithFailover() triggers cookie refresh on 401 Unauthorized
  • Passive 30-minute health logger
  • Dual resilience: WebSocket primary + POST /api/sync-cookies HTTP fallback

🧩 Chrome Extension

  • πŸ“‹ Copy Cookies button with clipboard animation
  • Host permissions for 127.0.0.1 & localhost (Docker-compatible)
  • Real-time passive cookie listener on Google session token rotation

⚑ Performance & Stability

  • QUIC timeout: 60s β†’ 10s for fast fallback
  • Fixed 401 bug from duplicate Cookie header in HTTP/2 (tls-client CookieJar conflict)
  • CORS middleware added for extension fetch() compatibility
  • BPE tokenizer (cl100k_base) β€” 99.5% token accuracy
  • Dual analytics export: Excel (.xlsx) + JSON auto-generated on every request

πŸ“¦ Cookie Lifetime (Real Test Data)

Metric Result
Unbroken session 1h 24m 30s (76 requests, 100% pass)
Total tested lifespan 2h 05m 47s (99 queries)
Expiry signal HTTP 401 on StreamGenerate
Recovery Automatic via extension WebSocket push

Full documentation: README.md