Skip to content

feat(profiles): isolated installation profiles + per-profile named tunnels - #20

Merged
willio merged 2 commits into
mainfrom
feat/profiles
Sep 1, 2026
Merged

willio merged 2 commits into
mainfrom
feat/profiles

Conversation

@willio

@willio willio commented Sep 1, 2026

Copy link
Copy Markdown
Owner

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.

Will Wiriawan 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
willio merged commit d21baab into main Sep 1, 2026
1 check passed
@willio
willio deleted the feat/profiles branch September 1, 2026 03:32
willio added a commit that referenced this pull request Sep 1, 2026
feat(profiles): isolated installation profiles + per-profile named tunnels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant