v1.28.0
π 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/loginCLI commands - Web UI: Profile switcher bar on all pages + dedicated
/profilesmanagement page - Per-request routing:
x-meridian-profileheader 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.jsonwithout restart - Persistent settings: Active profile survives proxy restarts via
~/.config/meridian/settings.json
Bug Fix
- Strip
anthropic-betaheaders 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