Skip to content

Show version update notification on CLI startup #264

@jariy17

Description

@jariy17

Description

On CLI startup, check the installed version against the latest published version on npm. If a newer version is available, display a non-blocking notification prompting the user to update.

Category

Feature Request

Acceptance Criteria

  • Compare current installed version with latest npm version on each CLI invocation
  • Display a notice when a newer version is available (e.g., Update available: 1.2.3 → 1.3.0. Run npm update -g @aws/agentcore-cli to update.)
  • Notification is non-blocking and does not interrupt normal CLI operation
  • Cache the version check result to avoid slowing down every invocation (e.g., check at most once per 24 hours)

Additional Context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions