Repository navigation
Conversation
…t by default Phone setup pinned Anthropic's apt stable repository, which trails latest by about two weeks, and the app's Update kept that source. Setup and Update now write the apt source for Claude Code's autoUpdatesChannel setting (user, then managed settings, later files win), latest unless it says stable, so existing phones move to latest on their next Update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Claude Code on the phone's in-app Ubuntu could not reach new versions. Setup wrote Anthropic's apt stable source, so
apt-get install --only-upgrade claude-code(run by the app's Update and by the server's provider Update) found nothing newer: the phone sat on 2.1.311 whilelatestwas 2.1.325.The setup script now writes the apt source for the channel Claude Code's own
autoUpdatesChannelsetting picks, reading~/.claude/settings.json, then/etc/claude-code/managed-settings.jsonandmanaged-settings.d/*.json, with later files winning as the server'sClaudeMaintenance.readUpdateChanneldoes. With no setting it useslatest, Claude Code's default. Both the install step and the app's Update rewrite the source, so existing phones move tolateston their next Update. The server's apt update path already reads the channel from that source, so its update check and Update button follow along.Anthropic's
latestapt repository is signed by the same key the app pins (fingerprint31DDDE24…7ECACE); a scratchapt-get updateagainst it verified and offeredclaude-code 2.1.325-1for arm64. Switching back to stable keeps a newer build until stable passes it, since the upgrade never downgrades.Rejected: switching the phone to the native installer (
~/.local/bin/claude), which would add a second, self-updating copy of the binary outside apt's signature check; an in-app Stable/Latest picker, more UI for a setting Claude Code already has.Tests:
device-runtime-script.test.tsgains a table for the default, a user setting and a managed drop-in overriding it. Not yet run on a phone.🤖 Generated with Claude Code (Claude Opus 5.5)