Files
vscode/.github
670963f903 agentHost: recover from expired GitHub credentials (#330556)
* agentHost: recover from expired GitHub credentials

Recover Agent Host sessions when GitHub credentials expire without requiring a
window restart.

- Emit complete protected resource metadata when providers require authentication.
- Resend the current client token before escalating to the shared sign-in flow.
- Update live Copilot SDK sessions with new credentials and restart only as a fallback.
- Re-arm authentication notifications after each client authentication attempt.
- Handle model-list authorization failures as authentication challenges.
- Keep recovery and transformed-token state isolated per Agent Host connection.
- Add local, remote, multi-host, concurrency, and live credential update coverage.

(Commit message generated by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: clear stale credentials during recovery

Clear a notification-scoped Agent Host credential when the client no longer has
a matching authentication session.

- Forward an empty token after token resolution fails.
- Reset staged recovery state after credential removal.
- Verify that a later token can start recovery again without prompting.

(Commit message generated by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-13 01:01:14 +00:00
..
2026-07-23 18:15:53 +00:00