Start container claude in the auto theme - #404
Merged
Merged
Conversation
claude has no `--theme` flag and defaults to a fixed dark palette, so a task pane attached from a light terminal is hard to read. Seed `theme: auto` — which follows the terminal's background — into the settings file the launcher already renders, plus claude's legacy global config for builds that resolve it from there (the two values agree, so precedence doesn't matter). Seeded, not enforced: the config dir is a per-task volume that outlives a respawn, so a deliberate `/theme` inside the container survives the next launch, while the hooks and permission pre-accepts are still re-applied every time. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
tildesrc
marked this pull request as ready for review
August 26, 2026 15:03
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.
Task containers launch
claude, which has no--themeflag and falls back to a fixed dark palette — so a task pane attached from a light terminal is hard to read.Seed
theme: auto(claude follows the terminal's background) in the two places claude resolves the setting from:container/hooks.py— the.claude/settings.jsonthe launcher already renders, claude's modern home for user settings (themeis one);cli/claude.py'strust_workspace— claude's legacy global config, for builds that read it from there. Both values agree, so resolution order doesn't matter.Seeded, not enforced (
setdefault): the config dir is a per-task volume that outlives a respawn, and the ask is what an instance starts in — so a deliberate/themeinside a container survives the next launch, while the turn-flip hooks and permission pre-accepts are re-applied every time.Plan: the task's
plan.mdartifact (panopticon://tasks/47bb910a12a44cfbb9a45b99255e7edc/artifacts/plan.md).🤖 Generated with Claude Code