rowboat/apps/x
Ramnique Singh 63917df061 feat(x/renderer): cut the active chat over to the sessions runtime (stage 5b)
The active chat tab now renders from useSessionChat; background tabs keep
the legacy cached view state until stage 7 retires it.

- Send path: sessions:create + sessions:sendMessage with the structural
  UserMessage (userMessageContext carries datetime + middle-pane — the
  cache-safe per-message tier) and per-message turn config (model
  override + composition: workDirId/voice/search/codeMode, permissionMode
  -> autoPermission). Attachments/mentions ride as real content parts —
  the old 'as unknown as string' cast is gone.
- Stop / permission / ask-human handlers route through the hook against
  the latest turn; permission scope is passed as audit metadata (session
  grants are a deferred v2 feature). Stop state clears when the turn
  settles.
- Chat history lists sessions (sessions:list/delete); selecting one just
  switches the active session — the hook loads the conversation, so the
  200-line run-log replay in loadRun is gone.
- Work-dir persistence unchanged: the per-chat sidecar file is keyed by
  the session id, which the resolver reads via composition.workDirId.

Renderer tsc/vite build clean; all 324 workspace tests pass; renderer
lint identical to baseline (108 pre-existing findings, none in new code).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 14:20:44 +05:30
..
apps feat(x/renderer): cut the active chat over to the sessions runtime (stage 5b) 2026-07-02 14:20:44 +05:30
packages feat(x): sessions IPC + renderer data layer with testable stores (stage 5a) 2026-07-02 14:20:44 +05:30
patches fix codex unresponsive 2026-06-30 22:28:15 +05:30
.gitignore chore: ignore test-fixtures dir 2026-05-08 17:04:25 +05:30
ANALYTICS.md add code mode: coding-agent workspace with sessions, direct/Rowboat drive, diffs, and worktrees 2026-06-12 23:57:44 +05:30
CODE_MODE_ENGINES_PLAN.md Code mode: make packaged builds work via managed engine provisioning (#625) 2026-06-17 21:53:15 +05:30
eslint.config.mts ignore renderer eslint 2026-01-16 12:05:33 +05:30
LIVE_NOTE.md Refactor builtin file tools beyond workspace scope 2026-05-25 16:21:51 +05:30
package.json integrate electron forge 2026-01-17 10:28:44 +05:30
pnpm-lock.yaml feat(x/shared): turn + session event schemas and pure reducers (stage 1) 2026-07-02 14:20:44 +05:30
pnpm-workspace.yaml fix codex unresponsive 2026-06-30 22:28:15 +05:30
tsconfig.base.json bootstrap new electron app 2026-01-16 12:05:33 +05:30