Profile switch: emit WS event so client updates UI immediately
ProfileSwitched event emitted by switch_profile tool via current_event_sink.
Client handles profile_switched: updates chat header, profile selector,
and local sessions[] — no page refresh needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2b9cdc1 commit 2012de28a838f739e20a26c06852a832087cfe4c
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 10 Apr
Showing 4 changed files
View
client/js/app.js
View
navi/api/websocket.py
View
navi/core/events.py
View
navi/tools/switch_profile.py