mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
Problem: the RPC startup catalog refresh also refreshes an expired OAuth credential. When the process exited after the token request went out but before the new token was written, the provider had already spent the old refresh token and auth.json kept only it, so the next request failed with invalid_grant. RuntimeCredentials now tracks modifications whose update function has started (a modification still waiting for the auth.json lock has sent nothing). AgentSessionRuntime.dispose() waits up to 20 s for them, so RPC, print, and interactive exits keep the rotated token. closes #11692 |
||
|---|---|---|
| .. | ||
| agent | ||
| ai | ||
| chord | ||
| codemode | ||
| coding-agent | ||
| durable | ||
| env | ||
| evals | ||
| mcp | ||
| schema | ||
| telemetry | ||
| tui | ||