Repository navigation
v0.3.0-rc.4
Pre-release
Pre-release
✨ New Features
OAuth2 PKCE Support
Implement RFC 7636 PKCE (Proof Key for Code Exchange) flow for enhanced OAuth2 security:
- Add
generatePKCEParamsfunction andPKCEParamsinterface - Update
OAuth2Client.getAuthorizationUrlto accept PKCE parameters - Update
OAuth2Client.exchangeTokento passcode_verifier - Integrate PKCE flow in login component with storage/cleanup
- Export PKCE types and functions for external use
Files changed:
packages/client/src/oauth2-client.ts(+71/-2)packages/component/src/components/login/rtc-login-dialog.ts(+29/-12)packages/client/src/index.ts(+4/-4)packages/component/src/config/auth.ts(+1)
🚀 Performance Improvements
Batch Fetch Optimization
Increase BATCH_SIZE from 10 to 500 in client:
- Reduce RPC call count for better performance with large datasets
- Particularly impactful when fetching messages, sessions, and other paginated resources
Files changed:
packages/client/src/client.ts(+1/-1)
📦 Package Updates
@rtc-agent/client: PKCE support + batch optimization@rtc-agent/component: Login dialog PKCE integration
Co-Authored-By: Claude Code noreply@anthropic.com