You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AI Gateway Phase 1.b: Copilot token minting with auto-refresh plugin #719
With the AI Gateway validated via Phase 1.a (HAR collection plugin, PR #702), the next step is to solve the Copilot token expiration issue (#669) by implementing a token minting and auto-refresh plugin.
Problem
Copilot tokens expire mid-session causing worker failures (see #669). The current workaround (PR #700, reducing reuse threshold) buys time but doesn't solve the root cause.
Requirements
Implement a gateway plugin that mints Copilot tokens on behalf of workers
Auto-refresh tokens before expiration (proactive renewal)
Transparently inject fresh tokens into outbound requests (workers never see expired credentials)
Plugin should be configurable per-worker or globally
Activity