rowboat/apps/x/apps/main
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
..
icons fix: set rowboat icon for windows taskbar and installer (#595) 2026-06-04 14:01:10 +05:30
makers add pacman maker for Arch Linux packages (#604) 2026-06-10 14:55:15 +05:30
src Step 2: rowboat code-mode on the new sessions runtime 2026-06-15 11:19:21 +05:30
.gitignore integrate electron forge 2026-01-17 10:28:44 +05:30
bundle.mjs Add SQLite storage foundation 2026-06-15 09:32:48 +05:30
entitlements.plist Fix2 (#445) 2026-03-24 19:32:02 +05:30
forge.config.cjs Add SQLite storage foundation 2026-06-15 09:32:48 +05:30
package.json add embedded terminal to code mode (node-pty + xterm) 2026-06-12 23:57:44 +05:30
tsconfig.json bootstrap new electron app 2026-01-16 12:05:33 +05:30