Repository navigation
Use Desktop browser budgets and add queued chat with saved reply versions - #182
Merged
Merged
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 Walkthrough
|
Desktop owns browser chat, tools, limits, chat history and the vault. The Pro browser extension is a thin client: it reads pages, clicks, fills and shows controls. This PR has the Desktop core side. It also contains #184, merged in, so there is one OGAD PR for this work.
Companion PRs, all on
feat/browser-thin-client:@offgrid/models: conversation summaries, tool-error recovery, repeat-call stop). It must be onshared/mainbefore this PR's CI can pass. See CI status.What is in it
Browser bridge:
chat.start/chat.read/chat.stop/chat.control/chat.guide. Desktop selects tools and sets request budgets; the browser never sends a tool catalog.page: { title, url, text }(text up to 100,000 characters). Desktop builds the fenced page block and its budget. Page tags inside page text are escaped.tools.list,tools.runand browser chat. A paired browser never getscomputer_use. Plain browser chat gets only read tools; page-changing tools and write connectors need Agent mode.Desktop chat:
src/renderer/src/lib.Models:
Web Use:
Merge of #184
#182 started on 2026-10-11 as a port of #184's work, and both branches then changed the same files. The merge (69ef729) resolved 37 files:
chat-tool-selection; the compaction summary moved intosrc/shared/chat-history; send/delete for a queued message uses Use Desktop browser budgets and add queued chat with saved reply versions #182's queue store.Validation
Run locally under Electron's Node (the SQLite driver is built for Electron) on the final head:
macos-artifact-integrity(17 cases), fails under Electron on every head on this Mac and passes under plain Node.memory-chat-tts.ui,meeting-persistence,fresh-setup-first-useandimage-runtime-reliability, which also fail on the untouched base on this Mac and pass in CI; andtools-vision, which times out on a cold start and passes when run again (it also failed before the merge).Not run for this head: the Electron journeys (
chat-queue-versions,app093-image-generation-persistence). CI runs them.CI status
At 3d2077b, Typecheck (core and Pro) and both Native recording jobs fail because CI checks out
sharedatmain, which does not yet have shared #47's exports. Merging shared #47 fixes this; the failed jobs then need a rerun. CodeQL also reports a failure on this head.Evidence
Synthetic demo data from the Electron e2e. Each image was checked against its caption.
The feature is unreleased.