A profile (Personal, Work) groups the Claude accounts, workers and projects used together, and replaces the hard-coded orus-monorepo → work link (account projects/cwd, project-tag routing, the cwd attribution rule). - backend/profiles: /data/profiles.json store (seeded from the workers' old autoRoute flags), GET/PATCH /api/profiles, SSE 'profiles'. Each account and project sits in one profile; workers are derived from their login; a default runner (worker or lab) and a lab start directory per profile. - Routing: a new run bills the profile's account and goes to its default runner while online; project costs and project-less conversations follow the profile's projects. ?account= takes a comma list. - Settings → Profiles (ItemCard list): colour (moved off Claude accounts), icon, accounts, default runner, lab start dir, projects. - The home toggle, the dashboards' switch and the app colour follow the profile; the History drawer header carries the switch on conversation pages (the open conversation stays open). - Composer: account, runner and projects preselected from the profile; the profile's projects stay out of a worker run's location block. - Cards drop the account / worker / project pills the profile on screen already says; an All view shows one profile pill. The offline-worker banner only warns about the scoped profile's workers. - Workers page switch = the profile's default runner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 lines
70 B
Python
3 lines
70 B
Python
"""profiles: see store.py."""
|
|
from .store import * # noqa: F401,F403
|