Repository navigation
The CLI keeps itself up to date in every harness - #5
Merged
Merged
Conversation
agenthub notify now runs agenthub update in the background when a session starts and the once-a-day check finds a newer release, instead of the "newer version" line. It works wherever hooks or a plugin run notify (Claude Code, Codex, Copilot, OpenCode, pi, Amp, Roo Code at task end and the rest). On by default; agenthub settings auto-update off or AGENTHUB_AUTO_UPDATE=0 turns it off. A started update holds off another for the same release for an hour. An npm-installed CLI keeps the line. The Claude Code plugin's auto_update option is now on by default and leaves it to the CLI; off sets AGENTHUB_AUTO_UPDATE=0 for its sessions. The wiki no longer says the Claude Code plugin installs the CLI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying theagenthub-wiki with
|
| Latest commit: |
8201024
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8c772012.theagenthub-wiki.pages.dev |
| Branch Preview URL: | https://cli-auto-update.theagenthub-wiki.pages.dev |
hyorman
added a commit
that referenced
this pull request
Dec 2, 2026
agenthub notify now runs agenthub update in the background when a session starts and the once-a-day check finds a newer release, instead of the "newer version" line. It works wherever hooks or a plugin run notify (Claude Code, Codex, Copilot, OpenCode, pi, Amp, Roo Code at task end and the rest). On by default; agenthub settings auto-update off or AGENTHUB_AUTO_UPDATE=0 turns it off. A started update holds off another for the same release for an hour. An npm-installed CLI keeps the line. The Claude Code plugin's auto_update option is now on by default and leaves it to the CLI; off sets AGENTHUB_AUTO_UPDATE=0 for its sessions. The wiki no longer says the Claude Code plugin installs the CLI. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.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.
What
agenthub notifystartsagenthub updatein the background, detached, and logs to~/.config/agenthub/cache/update.log. It also skips the "newer version" line. If an update fails, it's tried again an hour later. Every harness whose hooks or plugin runnotifygets this: Claude Code, Codex, Copilot, OpenCode, pi, Amp, Gemini, Roo and the rest.agenthub settings auto-update on|offis a setting for the whole machine (no--project).AGENTHUB_AUTO_UPDATE=0/1overrides it for one shell.AGENTHUB_NO_UPDATE_CHECK=1still turns off the check, and auto-update with it.auto_updateoption is now on by default and leaves the decision to the CLI. Turning it off setsAGENTHUB_AUTO_UPDATE=0for that plugin's sessions.hook.shno longer runsagenthub updateitself, and its unuseddatavariable is gone.Getting-Started.mdno longer says the Claude Code plugin installs the CLI.Updates.md,harnesses/Claude-Code.md,docs/plugins.md, the environment table inCLI-Reference.md(regenerated fromhelp.ts) andCHANGELOG.mdare updated.Testing
npm run typecheckpasses.npm testpasses: 704 tests, 2 skipped.settings auto-updaterows, writes and usage errors.agenthub settings auto-updatefrom source.🤖 Generated with Claude Code