- ChatPanel now fills its own window instead of being absolutely
positioned over the avatar; its interactive regions (messages,
input bar, objective card) opt out of the window's drag region so
they stay clickable/selectable while the rest of the panel can be
used to move the window.
- New StepperView: the #stepper window's root component, relays
"session-status-changed" from the main process into its own
Zustand store instance (new setStatus action) since this window has
no direct access to the chat window's state.
- App.tsx no longer renders ChatPanel/PipelineStepper at all (they
live in separate windows now) or resizes itself - it only toggles
the chat window via IPC and keeps a local optimistic flag for the
context menu's checkmark, resynced if the window is closed
externally.
- Fixed AvatarStatusIndicator's position: .avatar-status-anchor used
to be computed from the in-window chat panel's height
(bottom: calc(2% + 64vh + ...)), which misplaced it once that panel
stopped living in this window. It now mirrors .thinking's simple
fixed anchor above the avatar's head.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
useSessionStore is the single source of truth for session id/status,
the objective draft/confirmation flags and the chat history. Status
is never computed client-side - it always comes straight from what
window.api.sessions.* actually returned, per the PipelineStepper rule
in docs/Max_Composants_Frontend.md.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>