Files
pi/packages
T
Mario Zechner c10fc1e081 Use Web Crypto API for OAuth PKCE, remove Node.js crypto dependency
- Add pkce.ts with generatePKCE() using Web Crypto API
- Update anthropic.ts, google-gemini-cli.ts, google-antigravity.ts
- Replace Buffer.from() with atob() for base64 decoding
- Works in both Node.js 20+ and browsers

The OAuth modules still use Node.js http.createServer for callbacks,
so they only work in CLI environments, but they no longer crash on
import in browser bundles.
c10fc1e081 ยท 2025-12-30 22:42:21 +01:00
History
..
2025-12-26 03:25:55 +01:00
2025-12-26 03:25:55 +01:00
2025-12-26 03:25:55 +01:00