rowboat/apps/x
Ramnique Singh 15a08da783 Step 2: rowboat code-mode on the new sessions runtime
Rowboat code sessions (copilot orchestrating the coding agent) now run on the
new sessions/turn runtime instead of the retired LLM run path.

Core:
- TurnEvent gains code-run-event + code-run-permission-request variants;
  ComposeContext + SendMessageOptions gain codeCwd + codePolicy.
- The agent loop threads codeCwd/codePolicy from the turn's composeContext into
  ToolRunContext; RealToolRunner passes them to code_agent_run and stops
  deferring the code-run events — it forwards them onto the turn's event stream.
- turnToChatState/applyOverlay accumulate per-tool code-run events + the pending
  code permission and attach them to the code_agent_run tool call (live-only;
  a completed turn collapses to the tool result).

Code-mode:
- CodeSessionService.create makes a rowboat session a real sessions row (id
  shared) so sessions.sendMessage drives it; delete() also removes that row.
- sessions:sendMessage IPC handler pins the coding agent's agent/cwd/policy from
  the code session meta (server-side source of truth), mirroring the old
  createMessage override.

Rowboat renders in the main chat (App.tsx binds the tab's runId to the code
session id — preserved from dev); the code_agent_run tool card shows the agent's
plan/diffs/permission via the existing CodingRunBlock. Direct mode is unchanged
(its own runtime from step 1).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:19:21 +05:30
..
apps Step 2: rowboat code-mode on the new sessions runtime 2026-06-15 11:19:21 +05:30
packages Step 2: rowboat code-mode on the new sessions runtime 2026-06-15 11:19:21 +05:30
patches feat: run code mode on an in-app ACP client with live approvals (#593) 2026-06-05 14:45:08 +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
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(app): wire the new runtime into main + renderer 2026-06-15 09:44:15 +05:30
pnpm-workspace.yaml feat(app): wire the new runtime into main + renderer 2026-06-15 09:44:15 +05:30
tsconfig.base.json bootstrap new electron app 2026-01-16 12:05:33 +05:30