Repository navigation
v0.1.1
v0.1.1 — Multi-Worker Session Fix & Provider UX
Fixes
Multi-Worker Session Cross-Talk (Critical)
- Fixed event routing where switching sessions caused output from one session to appear in another
setupBridgeEventsnow readsstate.sessionPathdynamically instead of capturing a stale closure valueprimary.sessionPathis now updated afterswitchSession,newSession,forkAtEntry, andclearSessionIPC calls- Removed global
isStreamingRef— streaming state is now per-session viaSessionCache.isStreaming, preventing cross-session streaming state pollution
First Prompt No Response
- Events now carry
sessionPathinjected by main process handleEventcallsensureCacheSyncto auto-create session cache on first eventonDisplaySessionauto-switches display whendisplayedSessionPath === null
Provider Setup UX
- Removed Replace/Remove buttons — API key input always visible
- Save/Update button at bottom only (no inline button next to input)
- Test Connection works before saving via
apiKeyOverride - Auto-select first model after saving API key
Auth & Model
- API keys stored in
~/.xi/auth.json(not~/.pi/agent) - Fixed
hasAuth: falseingetAvailableModels— merges Pi SDK auth +~/.xi/auth.json unknownmodel treated as no model in UIcurrentModelset to null when Pi SDK returns{provider: "unknown", id: "unknown"}
UI
- Renamed all user-facing "Pi" text to "Xi"
- Collapsed thinking block to single line with violet accent
displayedSessionPathmoved to ref inhandleEventto prevent event listener resubscription on session switch
Full Changelog
Full Changelog: v0.1.0...v0.1.1