Skip to content

v1.28.0

Choose a tag to compare

@rynfar rynfar released this 05 Apr 21:26

πŸŽ‰ Multi-Profile Support

Switch between multiple Claude accounts (personal, work, etc.) on a single Meridian instance β€” no restart needed.

Highlights

  • Profile management: meridian profile add/remove/list/switch/login CLI commands
  • Web UI: Profile switcher bar on all pages + dedicated /profiles management page
  • Per-request routing: x-meridian-profile header for per-request profile override
  • Session isolation: Each profile gets separate SDK sessions β€” switching profiles clears the cache automatically
  • Disk auto-discovery: New profiles picked up from ~/.config/meridian/profiles.json without restart
  • Persistent settings: Active profile survives proxy restarts via ~/.config/meridian/settings.json

Bug Fix

  • Strip anthropic-beta headers for Max subscriptions (#278, #277): Upstream clients (OpenClaw 2026.4.2+) adding these headers caused Anthropic to bill as extra usage instead of subscription. Headers are now stripped for claude-max profiles and only forwarded for api-type profiles.

New API Endpoints

Endpoint Description
GET /profiles/list List all profiles with auth status
POST /profiles/active Switch active profile
GET /profiles Profile management HTML page
x-meridian-profile header Per-request profile override

Testing

  • 888 tests (885 pass, 3 pre-existing)
  • 10 E2E tests for profile lifecycle
  • 38 new unit/integration tests