Skip to content

Conversation

RomneyDa
Copy link
Collaborator

@RomneyDa RomneyDa commented Sep 8, 2025

Description

Adds configurable auto-updating to the CLI
Auto-update automatically downloads the latest available version and restarts cn.

/update slash command:

image

Can toggle auto updates off and on
image

Can manually update
image

image image

Summary by cubic

Adds configurable auto-updates to the Continue CLI with background checks on launch and a simple UI to run or skip updates. Addresses CON-2954.

  • New Features

    • New UpdateService: checks latest version, compares, and installs updates (npm i -g @continuedev/cli).
    • Auto-update on start when GlobalContext.autoUpdateCli is true; prevents repeat updates in the same session.
    • New /update command opens an UpdateSelector in the TUI for manual updates.
    • CLI restarts itself after auto-update; manual updates prompt to restart.
    • Added update service/state types, service registration, and a minimal LoadingText component.
    • Navigation/UI wired to include the update selector screen.
  • Migration

    • Auto-update is enabled by default. To disable: set GlobalContext.autoUpdateCli = false.

@RomneyDa RomneyDa marked this pull request as ready for review September 15, 2025 06:44
@RomneyDa RomneyDa requested a review from a team as a code owner September 15, 2025 06:44
@RomneyDa RomneyDa requested review from sestinj and removed request for a team September 15, 2025 06:44
Copy link

AI Code Review

AI review failed due to service initialization issues. Please check the Continue API key and configuration.

No specific line comments generated.


💡 To request a new detailed review, comment @continue-detailed-review

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Sep 15, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 18 files

Prompt for AI agents (all 1 issues)

Understand the root cause of the following 1 issues and fix them.


<file name="extensions/cli/src/slashCommands.ts">

<violation number="1" location="extensions/cli/src/slashCommands.ts:181">
Duplicate telemetry capture: handleSlashCommands already records useSlashCommand; capturing again here will double-count the update command event.</violation>
</file>

React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Sep 15, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 16, 2025
@RomneyDa RomneyDa merged commit f8d8ab3 into main Sep 16, 2025
56 checks passed
@RomneyDa RomneyDa deleted the dallin/con-2954-auto-update-cli branch September 16, 2025 05:58
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Sep 16, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Sep 16, 2025
@github-actions github-actions bot added the tier 1 Big feature that took multiple weeks to launch and represents a big milestone for the product label Sep 16, 2025
@sestinj
Copy link
Contributor

sestinj commented Sep 17, 2025

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Sep 17, 2025

🎉 This PR is included in version 1.16.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Sep 17, 2025

🎉 This PR is included in version 1.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm This PR has been approved by a maintainer released size:XL This PR changes 500-999 lines, ignoring generated files. tier 1 Big feature that took multiple weeks to launch and represents a big milestone for the product
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants