Commit Graph
314 Commits
Author SHA1 Message Date
Cursor AgentandJulius Marminge b38812716d Default sync engine mode to read-pilot with fallback
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:52:41 +00:00
Cursor AgentandJulius Marminge 1bffbcfb22 Add web state-source mode seam for read-pilot
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:47:04 +00:00
Cursor AgentandJulius Marminge 6513750a9c Add websocket coverage for read-pilot fallback to legacy
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:44:43 +00:00
Cursor AgentandJulius Marminge 5001314519 Add websocket integration coverage for read-pilot ordering
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:40:06 +00:00
Cursor AgentandJulius Marminge 7a9b733368 Add optional catch-up parity diagnostics for read pilot
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:33:55 +00:00
Cursor AgentandJulius Marminge cbfe1e3a57 Add source-labelled read-pilot logging and recovery test
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:26:06 +00:00
Cursor AgentandJulius Marminge fc14fdb569 Expand shadow parity coverage in persistence and ws tests
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:19:38 +00:00
Cursor AgentandJulius Marminge 89e2c73f1f Add shadow engine parity integration coverage
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:05:46 +00:00
Cursor AgentandJulius Marminge 38ca95a787 Add bootstrap parity diagnostics for LiveStore read pilot
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:02:40 +00:00
Cursor AgentandJulius Marminge 637eae09a4 Add web state source seam for sync provider migration
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:58:01 +00:00
Cursor AgentandJulius Marminge 40bb6cb7a7 Add LiveStore read-pilot sync engine with delegate fallback
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:54:30 +00:00
Cursor AgentandJulius Marminge dae7ab8359 Project mirrored state events into LiveStore parity snapshot
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:49:15 +00:00
Cursor AgentandJulius Marminge fa39092505 Cover message events in shadow sync engine parity test
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:43:38 +00:00
Cursor AgentandJulius Marminge ccacb4bcab Add wsServer coverage for injected state sync engine
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:42:34 +00:00
Cursor AgentandJulius Marminge 8d0af1f9de Add snapshot parity utility for LiveStore migration
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:32:02 +00:00
Cursor AgentandJulius Marminge 262f57d84a Introduce state sync engine seam and LiveStore shadow mirror
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:29:27 +00:00
Julius Marminge e81c2acb78 Harden state persistence and tighten WS thread update API
- Fix persistence edge cases around pagination offsets, assistant message ordering, and checkpoint merge semantics
- Make state DB and sqlite adapter failures safer with better cleanup and runtime errors
- Treat `threads.update` as unsupported, keep `threads.updateTerminalState` canonical, and avoid failing revert RPCs on persistence-write errors
- Add focused server/web/contracts tests for the new failure and compatibility paths
2026-02-20 00:43:30 -08:00
Julius Marminge fda3073e0c Remove legacy renderer state import path and client schema
- drop `stateImportLegacyRendererState` handling from server, WS API, and contracts
- remove legacy renderer import tests and old web persistence schema/tests
- rely on current shared state/bootstrap flow instead of one-time legacy import
2026-02-20 00:22:30 -08:00
Julius Marminge 27bd9192ad clean 2026-02-19 21:55:12 -08:00
Julius Marminge 0da96d5c93 Merge branch 'main' into codething/48364d50 2026-02-19 21:54:25 -08:00
Julius Marminge 25dbfa7bc7 debug 2026-02-19 21:54:23 -08:00
Julius Marminge 781006f005 bump electron and node 2026-02-19 21:54:10 -08:00
Julius Marminge 78b7070042 Improve persistence and runtime SQLite compatibility
- add a SQLite adapter that works in both Bun and Node/Electron, with tests
- persist and backfill `assistantMessageId` on turn summaries to keep thread diffs linked
- prevent web state regressions by preserving turn summaries and deduplicating terminal/settings sync updates
2026-02-19 20:49:27 -08:00
Julius Marminge d8412eca9f error component 2026-02-19 18:42:39 -08:00
Julius Marminge 1332c488ad Add desktop DMG packaging and persisted app settings
- package desktop builds with branded icons, custom app identity, and `t3://app` production loading
- add app settings get/update RPC flow with persistence and tests for Codex binary/home paths
- wire web/desktop settings UX and menu action hooks to open Settings
2026-02-19 18:01:51 -08:00
Julius Marminge 384878a3f1 Move app state persistence to centralized SQLite service
- Add server-side `PersistenceService` backed by SQLite with migrations and tests
- Introduce shared state contracts/events and wire WebSocket bootstrap/catch-up flows
- Migrate project/thread/message persistence from renderer-local state to server-managed state
- Store turn diff summaries from checkpoint diffs for faster thread metadata rendering
2026-02-19 16:13:48 -08:00
Cursor Agent f039878edd Remove duplicate inline wheel handler, use existing onTurnStripWheel useCallback in useEffect
Applied via @cursor push command
2026-02-20 00:09:44 +00:00
Julius Marmingeandgreptile-apps[bot] 632c1417ea Update apps/web/src/components/DiffPanel.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-19 16:04:25 -08:00
Julius Marmingeandcodex c00354c0b1 Use non-passive wheel listener for turn strip
Co-authored-by: codex <[email protected]>
2026-02-19 15:52:11 -08:00
Julius Marmingeandcodex a002239fc4 Merge origin/main into codething/c71d8ea1
Co-authored-by: codex <[email protected]>
2026-02-19 15:48:48 -08:00
Julius Marmingeandcodex 8a72a2a91d Merge origin/main into codething/53bdee92
Resolve PR conflicts while preserving route-scoped diff rendering and _chat desktop menu action handling.

Co-authored-by: codex <[email protected]>
2026-02-19 15:39:47 -08:00
Cursor Agent 842e327583 Extract stripDiffSearchParams helper to deduplicate diff param stripping logic
Consolidate the repeated pattern of destructuring and removing diff/diffTurnId/diffFilePath
search params into a single stripDiffSearchParams() function in diffRouteSearch.ts.
Replaces 5 identical destructuring blocks across 3 files with calls to the shared helper.

Applied via @cursor push command
2026-02-19 23:36:12 +00:00
Julius Marminge 891eb02d49 Move diff panel into thread route and lift worker pool provider
- Extract `DiffWorkerPoolProvider` into its own component and wrap `_chat` outlet with it
- Render/lazy-load `DiffPanel` from `/_chat/$threadId` so diff UI state and close behavior live with thread routing
- Keep responsive sheet vs inline diff presentation with route-level fallback loading UI
2026-02-19 09:49:50 -08:00
Theo Browne 2c9121553e restore streaming notifications from codex app server 2026-02-19 04:07:33 -08:00
Theo Browne 48bf123d0c prod builds 2026-02-19 04:04:04 -08:00
Theo Browne f8883d0495 settings page 2026-02-19 02:42:24 -08:00
Theo Browne 8cb2b3fcfe fix force closing 2026-02-19 02:03:03 -08:00
Julius Marminge cc3e1db22a Drive diff panel state from route search params
- Parse and validate `diff`, `diffTurnId`, and `diffFilePath` from chat route search
- Switch ChatView/DiffPanel diff open/target actions to router navigation instead of store actions
- Remove diff-specific state/actions from the app store and update reducer tests
2026-02-19 01:47:48 -08:00
Theo Browne daf8e5f53b dev build iconography 2026-02-19 01:42:56 -08:00
Theo Browne c89798ecb1 fix naming with annoying hacks 2026-02-19 01:35:50 -08:00
Julius Marminge b253d1f8ca Retarget diff panel to active route thread on visit
- Prefer route thread id over stored diff thread when rendering diffs
- When visiting a different thread with diff open, retarget diff state and clear stale turn/file selection
- Add reducer test coverage for open-diff retargeting behavior
2026-02-19 01:34:11 -08:00
Theo Browne a32701ef8d use icon 2026-02-19 01:21:16 -08:00
Julius Marminge f3b773f1f0 Improve DiffPanel turn chip strip navigation
- Add left/right controls, edge fades, and wheel-to-horizontal scrolling for turn chips
- Auto-scroll selected turn chip into view and hide the chip strip scrollbar
- Simplify chip metadata to show compact per-turn time
2026-02-19 01:14:53 -08:00
Theo Browne efbab1b104 branding v1 2026-02-19 00:58:32 -08:00
Julius Marminge 564474f927 Remove Vite configuration file for web application 2026-02-19 00:44:27 -08:00
Julius Marminge 47fcd16003 Prebundle @pierre/diffs dependencies in Vite
- Add `optimizeDeps.include` entries for `@pierre/diffs` packages in web Vite config
- Improves dev startup/runtime stability for diff rendering modules
2026-02-19 00:43:38 -08:00
Cursor Agent 24c617d32e Fix broad query invalidation on checkpoint/captured events
Scope invalidation to only the checkpoint diff query for the newly
captured turn instead of invalidating all provider queries. The
checkpoint/captured event carries a turnCount in its payload, so we
use a predicate to match only the query whose toTurnCount equals the
captured turn. This prevents N unnecessary refetches of immutable
diffs for already-completed turns on each new turn completion.
2026-02-19 00:37:06 -08:00
Julius Marminge 22e1a4cf92 Use checkpoint diffs for turn files and ignore late summary rederives
- Load per-turn checkpoint diffs in `ChatView` and show loading/error states in the timeline
- Drive changed-file chips/stats from checkpoint diff results instead of cached turn summary files
- Prevent reducer from rederiving completed turn summaries on late `turn/diff/updated` events; add regression test
2026-02-19 00:35:32 -08:00
Julius Marminge 79382b272c Emit checkpoint captured events after turn checkpointing
- emit `checkpoint/captured` from `ProviderManager` after checkpoint init/capture
- add backend test coverage for the new checkpoint-captured notification flow
- refresh provider queries on `checkpoint/captured` and only re-derive diffs on `turn/completed`
2026-02-19 00:35:32 -08:00
Julius Marminge 90e199d6a7 Drop merged unified diffs from turn summaries
- Stop propagating `diff` when merging turn file changes in session logic
- Update tests to assert required retry callbacks are functions before invoking
- Replace fragile unifiedDiff key check with `not.toHaveProperty`
2026-02-19 00:35:32 -08:00