feat(profiles): isolated installation profiles + per-profile named tunnels - #20
Merged
Merged
Conversation
added 2 commits
September 1, 2026 10:28
…rofile named tunnels Two free Claude accounts need two independent connectors. Profiles give each account its own installation: - --profile <name> on the CLI (and C2C_PROFILE env) routes all state to ~/.c2c/profiles/<name>/ — own installation identity, registry, auth, sessions, and tunnel binding. Default installation stays at ~/.c2c/state. - Broker duplicate-daemon guard: a second broker for the same installation refuses to shadow the live one instead of silently rebinding to an ephemeral port. - Named-tunnel provisioning is profile-aware: each profile provisions its own tunnel (c2c-installation-<profile>) so two hostnames can never be routed into one installation's tunnel.
willio
added a commit
that referenced
this pull request
Sep 1, 2026
feat(profiles): isolated installation profiles + per-profile named tunnels
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.
Enables the two-account failover setup: --profile isolates an entire installation (state, identity, auth, tunnel) under ~/.c2c/profiles/. Adds the broker duplicate-daemon guard and profile-aware tunnel provisioning. 179 tests green.