Skip to content

fix(desktop): align conversations with thread RPC models - #118

Closed
sanchitrk wants to merge 1 commit into
canaryfrom
fix/desktop-rpc-compat-review
Closed

sanchitrk wants to merge 1 commit into
canaryfrom
fix/desktop-rpc-compat-review

Conversation

@sanchitrk

Copy link
Copy Markdown
Contributor

Desktop conversations need to address individual threads after the RPC thread-model changes. Previously, session-wide subscriptions and controls could mix sibling-thread updates and Stop interrupted the whole session.

Update the mirrored thread/history schemas and carry thread references through conversation addresses, snapshots, subscriptions, prompts, queue edits, configuration, and interruption. Preserve stored message parts while overlaying live deltas, and read the queue before history to avoid losing promoted prompts between reads. A connected compatible server now remains usable when no local CLI executable is installed. Forward development-launch arguments to Electron for isolated profiles and remote debugging.

Validation:

  • vp check
  • vp run typecheck
  • cd packages/codework && vp test test/desktop.test.ts — boots the RPC runtime and desktop app server, verifies fork history and prompt/configuration isolation, and compares a repeatable artifact under __artifacts__/.
  • Electron tested with agent-browser using GPT-5.6 Luna through a ChatGPT subscription: initial prompt, follow-up reply, and conversation/model persistence after reload passed; no renderer errors reported.

@sanchitrk sanchitrk closed this Nov 1, 2026
@sanchitrk
sanchitrk deleted the fix/desktop-rpc-compat-review branch November 16, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants