ccprofiles-core
v0.11.0
Published
Core library for ccprofiles — discovery, manifest, secrets, apply, and LAN sync for Claude Code multi-account setups
Maintainers
Readme
ccprofiles-core
Core library powering claude-account-sync — the clp / ccprofiles CLI for managing multiple Claude Code and OpenAI Codex accounts.
It provides the discovery, manifest, secrets, apply, and LAN-sync logic used by the CLI and its dashboard.
- Adopts existing
.claude*/.codex*homes into a declarative manifest - Applies profile config (launchers, env, links, MCP servers) with surgical, backed-up edits
- Reads/writes secrets across macOS Keychain, libsecret, and encrypted-file backends
- Computes MCP server drift across profiles and both agents (Claude + Codex)
- Builds headless launches that run one profile's agent as a subagent of another session, stripping the caller's provider env so a gateway profile cannot re-point a Claude delegate (
delegate.ts) - Checks which files a delegate touched against a declared path lane, counting created, edited, deleted, reverted, and committed work (
scope.ts) - Mirrors one
statusLineblock into every claude profile, since Claude Code reads it perCLAUDE_CONFIG_DIR - Drives encrypted, PIN-paired LAN replication between machines
Repo: github.com/tmfadhlul/claude-code-profile
Most users want the CLI, not this library — install claude-account-sync (npm install -g claude-account-sync) instead unless you're building on top of ccprofiles' internals.
