mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
Tokens from a Client ID Metadata Document sign-in through an https callback route were refreshed with the loopback redirect URI, which the documents do not list, so every expiry needed a browser sign-in. createMcpAuthProvider takes the app's redirectUrl and startMcpSignIn passes its own. startMcpSignIn's wait for the refresh lock now ends when the signal aborts. Only McpRefreshLockBusyError (coding-agent maps proper-lockfile's ELOCKED to it) falls back to the browser step; other lock errors fail the sign-in. |
||
|---|---|---|
| .. | ||
| bun | ||
| cli | ||
| core | ||
| experimental | ||
| extensions | ||
| modes | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||
| package-manager-cli.ts | ||
| rpc-entry.ts | ||