Commit Graph
10 Commits
Author SHA1 Message Date
Cursor Agent 896a4631c9 Deduplicate DB row schemas for projects and threads
Export ProjectionProjectDbRow and ProjectionThreadDbRow from their
respective repository Layer files and reuse them in
ProjectionSnapshotQuery instead of redefining identical schemas.
This eliminates the risk of the two read paths silently diverging
if the mapFields transforms are updated in one place but not the other.
2026-03-25 05:36:13 +00:00
Julius Marminge 0a812154cc Preserve session model when switching is unsupported
- keep the active Codex model across turns when in-session switching is unavailable
- adjust reactor coverage for unsupported session model switching
2026-03-24 16:45:44 -07:00
Julius Marminge ce0315c0d7 rm unnecessary map 2026-03-24 16:44:34 -07:00
Julius Marminge 6348bea7c3 kewl 2026-03-24 16:03:40 -07:00
Julius Marminge 2cadee4050 json 2026-03-24 16:02:05 -07:00
Julius Marminge 07e86e938b Preserve null model options in projections and restarts
- Store missing model options as SQL NULL in project and thread projections
- Stop rehydrating derived model options when restarting provider sessions
- Share model option conversion logic in `packages/shared`
2026-03-24 13:27:25 -07:00
Julius Marminge 01358d1006 Persist provider-aware model selections
- Replace model-only fields with provider/model selections across orchestration
- Add projection schema and migration updates for provider-backed snapshots
- Update server and web tests to use the new selection shape
2026-03-24 11:10:33 -07:00
Julius Marminge 12edc3455c Add plan interaction mode and user-input request handling
- Wire Codex plan mode through turn start, including collaboration settings
- Track and answer pending `requestUserInput` prompts instead of auto-empty responses
- Persist/project thread `interactionMode` (schema, migration, queries) and update tests/contracts
2026-03-05 23:00:41 -08:00
Julius Marmingeandcodex 689dda59e9 Persist thread runtime mode and handle mode-switch session restarts
- Add `thread.runtime-mode.set` -> `thread.runtime-mode-set` flow in decider/reactors/projectors
- Persist runtime mode on thread/session projections with new DB migrations
- Update provider and Codex integration tests to verify thread continuity across mode changes

Co-authored-by: codex <[email protected]>
2026-03-05 23:00:41 -08:00
Julius Marminge 25d20ab792 rewrite 2026-02-26 13:20:36 -08:00