feat(update): add cached CLI update experience - #54
Closed
Hweinstock wants to merge 11 commits into
Closed
Hweinstock wants to merge 11 commits into
Hweinstock wants to merge 11 commits into
Conversation
Hweinstock
force-pushed
the
feat/cli-updater
branch
10 times, most recently
from
September 28, 2026 20:49
15f2896 to
92e0333
Compare
Owner
Author
Hweinstock
force-pushed
the
feat/cli-updater
branch
19 times, most recently
from
September 29, 2026 22:19
dc8c1ea to
ba53475
Compare
Hweinstock
force-pushed
the
feat/cli-updater
branch
from
September 29, 2026 22:30
ba53475 to
55f92e2
Compare
aws#2480) Six tests have failed on every platform since aws#2436 and aws#2475–aws#2477 landed within minutes of each other: - The four harness wizard tests still asserted the flat `{ provider, modelId }` model that aws#2436 replaced with the API shape keyed by provider (`bedrockModelConfig`, `openAiModelConfig`, `liteLlmModelConfig`). They now assert what harness.yaml actually holds, as create.screen.test does. - The add menu no longer draws a "── cli" divider: with the credentials wizards every add resource has a screen. The add-menu test now asserts exactly that (every subcommand listed as a screen, no divider) instead of maintaining a WITH_SCREENS list, and the narrow-terminal test drops its wait for the divider — `resize` already resolves once the frame is laid out at the new width.
Hweinstock
force-pushed
the
feat/cli-updater
branch
from
September 30, 2026 16:08
55f92e2 to
10dd707
Compare
Hweinstock
force-pushed
the
feat/cli-updater
branch
from
September 30, 2026 16:26
10dd707 to
eafdcb0
Compare
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.


Problem
AgentCore only checks for updates when users run
agentcore update, so users can remain on an old version without knowing it. This change adds cached npm version checks, a once-daily notice, and a TUI version/update flow while keeping passive checks non-fatal.Solution
CliVersionManager, implemented byNpmCliVersionManager, for active/latest versions, notices, and installation.latestVersionandlastCheckedAtper npm dist-tag in~/.agentcore/update/{dist-tag}.json.CliVersionManagerKey; feedback, update commands, and the TUI use that single dependency.Verification
bun test— 3,595 passedbun run typecheckbun run lintbun run format -- --checkbun run buildNotes