rowboat/apps
Ramnique Singh c1cc5a8753 feat(core): new agent runtime (agent-loop + sessions + bridges); retire old runtime
Replace the old run-based agent runtime with an append-only, fact-log turn model.

agent-loop:
- turn = append-only fact logs; advance() reducer IS the resume function
- SystemComposer (loop-injected system prompt) + TurnObserver (live deltas +
  state snapshots), per-turn ComposeContext (voice / search / code-mode) and
  use-case attribution; per-step model usage; transcript prefix dedup at rest

sessions:
- ordered turn chains with copy-forward transcript; deleteSession support

agent-runtime bridges:
- RealToolRunner, RealPermissionGate (per-turn use-case), Copilot system /
  user-message-context composers, TurnEventBus
- getAgentRuntime() process singleton; runHeadlessAgent() runs one-shot headless
  work as a standalone turn (sessionId null) — no throwaway sessions, no growth

shared contracts (@x/shared): agent-turn.ts, sessions.ts (browser-safe)

headless consumers ported to standalone turns with use-case tagging: live-note,
background-task, knowledge pipelines (agent_notes / tag_notes / label_emails /
build_graph / inline_tasks), pre-built, agent-schedule.

retire the old runtime: delete runs/{runs,bus,repo}.ts and message-queue.ts; gut
agents/runtime.ts to loadAgent + convertFromMessages; trim agents/utils.ts; drop
the DI registrations for the old runtime / message queue / runs repo.

SQLite migrations: compose_context, model_usage, transcript dedup, use_case.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 09:34:24 +05:30
..
cli Add OS-aware runtime context for cross-platform shell execution 2026-02-26 11:42:43 +05:30
docs feat(oauth): switch Google OAuth from PKCE to authorization code flow with client secret 2026-04-10 00:43:34 +05:30
experimental Fix/prebuilt cards updates (#263) 2025-09-16 15:29:48 +05:30
python-sdk update py-sdk docs 2025-08-19 13:35:10 +05:30
rowboat fix: make dev script cross-platform for Windows PowerShell 2026-02-19 13:07:07 +05:30
rowboatx wip-electron 2026-01-16 12:05:33 +05:30
x feat(core): new agent runtime (agent-loop + sessions + bridges); retire old runtime 2026-06-15 09:34:24 +05:30