- Roll back saved environment metadata when bearer token persistence fails
- Catch local API persistence errors during registry upserts
- Remove legacy local settings migration bootstrap
- Remove the clientPersistence wrapper layer
- Read and write settings and saved environments via ensureLocalApi()
- Refresh persistence tests to cover the new storage and hydration paths
- Move browser storage helpers into a dedicated module
- Route client settings and saved environment persistence through `localApi`
- Update hydration and tests for the new persistence path
- Keep existing secrets when encryption is unavailable
- Treat malformed secrets files as empty instead of crashing
- Fix client settings hydration state resets for repeated loads
- Add desktop IPC-backed persistence for client settings
- Migrate browser-stored environments and tokens to desktop storage
- Keep web settings/runtime code on the shared persistence layer
- ensure `chat.new` creates a fresh draft after a promoted draft thread
- enforce terminal cap per split group (4) while allowing additional terminal groups
- refine sidebar row selected/active styling via shared class-name logic and tests
- Pass explicit Pierre light/dark theme into diff render options
- Re-key file diffs on resolved theme so views rerender on theme switch
- Stabilize `useTheme` snapshots to propagate system theme updates reliably
Move state management from client to server using an event-sourced architecture:
- Add SQLite-backed event store with append-only event log
- Add orchestration engine with command queue, reducer, and read model
- Add Effect-based PubSub for real-time read model updates to clients
- Define orchestration schemas in contracts (commands, events, read model)
- Simplify client-side store by removing persistence layer
- Remove obsolete client-side persistence tests
Co-Authored-By: Claude Opus 4.5 <[email protected]>
- remove `activeThreadId` from web store state and persistence schema
- drive thread-scoped event handling and toast visibility from router params
- simplify chat index/route flow and add explicit `apps/web/vite.config.js`
- add server support to diff filesystem checkpoints, including root/HEAD fallbacks and lazy checkpoint initialization
- wire new `providers.getCheckpointDiff` WebSocket route through provider manager and contracts
- update web app to load per-turn diffs from checkpoints and improve diff panel behavior on narrow screens
- add desktop IPC handler to validate and open http(s) URLs via Electron shell
- expose `shell.openExternal` in shared NativeApi contracts and web bridge
- route Git PR opening and native API reads through the new `useNativeApi` hook
Co-authored-by: codex <[email protected]>