Skip to content

feat: update ccs automatically while you're away - #177

Merged
brtkwr merged 1 commit into
mainfrom
feat/auto-update
Oct 30, 2026
Merged

brtkwr merged 1 commit into
mainfrom
feat/auto-update

Conversation

@brtkwr

@brtkwr brtkwr commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

ccs now installs new releases on its own, while you're away.

  • On by default. A newer release is downloaded in the background as before, but nothing pops up.
  • When it installs: checked every 30s, once you're away: the terminal says ccs lost focus, or no key has been pressed for 3 minutes. It never installs while a prompt or popup is open, a session is being opened, or any message box or draft holds unsent text. It uses the same install as pressing Enter on the offer (brew upgrade, or the checksum-verified download).
  • After the restart: ccs comes back on the same screen, search and selection, with a popup: "ccs updated itself from v0.70.0 to v0.71.0 while you were away", plus the changelog between the two. Any key closes it.
  • ^X I turns automatic updates off, so new versions are offered in the popup as before, and on again. The header shows ^X I auto-update on/off, and the setting is saved with the others.
  • Failure: a failed automatic install opens the usual offer with the error and isn't retried on its own.
  • The ^X hint row now lists the chords added recently: C collapse, I auto-update, K stop a background session, P pin, S snooze.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QUnP8jVL2NG9cWmohJTyun

On by default: a new release is downloaded in the background and, once
you're away (ccs not focused, or no key for 3 minutes, nothing unsent
and no popup or prompt open), installed and restarted where you were.
The new ccs says it updated itself, with the changelog between the two
versions. ^X I turns it off (new versions are offered instead); the
header shows "^X I auto-update on/off". A failed automatic install falls
back to the offer and isn't retried on its own. The ^X hint row also
lists the chords added recently (C, I, K, P, S).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUnP8jVL2NG9cWmohJTyun
@brtkwr
brtkwr enabled auto-merge October 30, 2026 10:07
@brtkwr
brtkwr merged commit 7e56023 into main Oct 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant