Repository navigation
fix(chat): continue external-writer conversations through desktop owner - #1
Open
ZyPulse-zy wants to merge 1 commit into
Open
ZyPulse-zy wants to merge 1 commit into
ZyPulse-zy wants to merge 1 commit into
Conversation
Fall back to paginated read-only history on active-writer conflicts, guard local mutations, and optionally route text through the existing Desktop owner without forking. Preserve turn details across automatic refreshes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opening a thread that is already held by Codex Desktop currently fails with
RPC -32600: ... already has an active writer. This change lets Android view the original conversation and, when an optional Desktop companion is configured, send text through its existing owner without creating a fork.Changes
thread/resume; read metadata and paginated turns/items without taking ownership. Other RPC failures still surface, and refresh/reconnect restores normal editing when the writer is released.Validation
:app:lintDebug :app:testDebugUnitTest :app:assembleDebugpassed locally with JDK 21 / Android SDK 37: 527 tests, 93 classes, no failures; lint has 0 errors and 26 warnings. JDK 26 validation is left to the repository CI.turn/startorthread/fork./tmp; reference Codex/Desktop repositories were read only.Scope and limitations
The companion is optional and experimental. Its
codexAndroid/desktop/*methods are application extensions; Desktop owner discovery/follower IPC is private and version-dependent, separate from the CLI Schema. The current adapter supports Unix sockets, with Linux peer checks; Windows named pipes and macOS have not been validated. Cross-Desktop attachments, queue/steer/interrupt, Shell and approval control are not exposed. A CLI/TUI writer or unavailable companion remains read only, with explicit Fork still available.