Skip to content

mcc v0.3.0

Choose a tag to compare

@luongnv89 luongnv89 released this 13 Oct 13:41
· 57 commits to main since this release

Profiles can now opt in to session sharing with mcc share ALIAS or ALIAS --mcc-share, so --resume lists the sessions of every sharing profile, and mcc refresh-launchers updates launchers and shell aliases made by an older mcc.

Added

  • Opt-in session sharing between profiles, off by default. mcc share ALIAS (or starting a profile with ALIAS --mcc-share) links the profile's projects/ to ~/.mcc/shared/projects, so --resume lists the sessions of every sharing profile. mcc share ALIAS --off gives the profile its own copy again. The setting is share_sessions under [profiles.ALIAS] in ~/.mcc/config.toml. Only sessions are shared: never credentials, the account, history or live session state. Every time sharing is turned on, mcc prints a note about Anthropic's Consumer Terms and Usage Policy. mcc list marks sharing profiles, and --json has share_sessions and launcher_current. (#25, #26)
  • mcc refresh-launchers [ALIAS...] rewrites launchers and shell aliases from the current templates. (#25, #26)

Changed

  • New launchers handle --mcc-share, and new shell aliases run the launcher instead of calling claude directly. CLAUDE_CONFIG_DIR is unchanged, so logins are kept. Upgrade note: existing launchers and aliases are not modified; run mcc refresh-launchers once to use ALIAS --mcc-share with profiles created before this release. (#25, #26)
  • mcc list prints a hint to run mcc refresh-launchers while a launcher predates session sharing. (#25, #26)
  • share and refresh-launchers are reserved and can't be used as aliases. (#25, #26)

Full Changelog: v0.2.0...v0.3.0

Install

brew install luongnv89/tap/mcc

Or from source: see the README.