Consolidate host auth passthrough into a single option #1

Merged
TimCane merged 6 commits from consolidate-passthrough-auth-option into main 2026-04-08 00:06:28 +01:00
TimCane commented 2026-04-07 23:19:51 +01:00 (Migrated from github.com)

Replace mountCredentials and seedAccountState with one passthroughHostAuth switch, enabling only one half leaves Claude Code broken (credentials without account state re-runs onboarding; account state without credentials is unauthenticated), so there's no useful configuration where they differ.

Also extract the postCreate helper into scripts/link-credentials.sh instead of emitting it from a heredoc in install.sh, and pass the baked option value through a sourced options.env file. The helper is now a normal bash file editors can syntax-highlight.

Replace mountCredentials and seedAccountState with one passthroughHostAuth switch, enabling only one half leaves Claude Code broken (credentials without account state re-runs onboarding; account state without credentials is unauthenticated), so there's no useful configuration where they differ. Also extract the postCreate helper into scripts/link-credentials.sh instead of emitting it from a heredoc in install.sh, and pass the baked option value through a sourced options.env file. The helper is now a normal bash file editors can syntax-highlight.
Sign in to join this conversation.
No description provided.