agentHost: Download Claude SDK when restoring history - #334661
Merged
TylerLeonhardt merged 1 commit intoSep 4, 2026
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
TylerLeonhardt
marked this pull request as ready for review
September 4, 2026 23:47
TylerLeonhardt
merged commit Sep 4, 2026
7f82c18
into
tyleonha/agent-sdk-download-offer
6 of 7 checks passed
TylerLeonhardt
added a commit
that referenced
this pull request
Sep 5, 2026
* agentHost: Offer SDK download independent of sign-in Check for a missing SDK before account, entitlement, and signed-out experiment gates so every user can consent to the required download. Keep missing-account guidance behind the existing signed-out checks and cover both sides of the decision boundary. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: Treat first use as SDK download consent Publish lazy SDK download lifecycle through the setup channel so first use dismisses the download offer and refreshes setup after completion. Persist the same standing consent as the Download action and bound failed retries to one attempt per window. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: own SDK auto-download preference Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: defer SDK downloads until use Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: persist SDK download consent Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: serialize SDK setup operations Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: coalesce SDK download requests Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test: provide SDK downloader to Claude integration Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: Repair Codex prewarm test downloader Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: Download Claude SDK when restoring history (#334661) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #334316.
Validation
npm run transpile-clientnpm run typecheck-clientclaudeAgent.test.ts: 288 passingagentService.test.ts: 10 passing