feat(gateway): mirror desktop thread activity - #32
Closed
apple-ouyang wants to merge 1 commit into
Closed
Conversation
This was referenced Jul 29, 2026
Reason: - Browser sessions need live task state from the supported Codex Desktop IPC bus without owning or mutating Desktop streams. Changes: - Observe visible Desktop threads over Unix sockets or the Windows named pipe with bounded retry behavior. - Parse fragmented IPC frames without repeated full-buffer copies and reconcile stale thread subscriptions. - Restore active App Host relays after WebSocket reconnect before any new browser RPC data.
apple-ouyang
force-pushed
the
codex/feat-desktop-running-status
branch
from
July 30, 2026 13:47
c2df9f1 to
df2880e
Compare
apple-ouyang
marked this pull request as ready for review
July 30, 2026 13:48
Contributor
Author
|
Closing as superseded by #34, which has already been merged. I compared #32 with the current main branch:
No unique behavior remains in this PR. Merging it now would reintroduce the earlier observer semantics on top of the newer implementation. |
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.
Closes #31.
Summary
Safety
The observer only sends
initializeandthread-stream-following-changed; it never starts, steers, interrupts, or controls a thread. Desktop disconnect cleanup is owner-specific and does not affect Web-owned streams.Verification
pnpm test— 107/107 passinggit diff --checkRemaining validation
A real Desktop + web dual-socket UI smoke test is still recommended before release.