Repository navigation
Conversation
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.
What changed
Adds an owner-only local Codex connection to an OpenMausBot thread. Messages go to the selected existing native conversation and its actual replies/images return with conversation/turn/item provenance. A failed or disconnected reservation cannot fall back to the OpenMausBot bot.
thread/start,thread/fork, unarchive, or transcript-recovery paths.Setup, disconnection, HTTP contracts, limitations, a no-account UI fixture, and a separately authorized text/existing-image smoke test are in the guide. No personal target IDs are committed.
Why
An existing Codex conversation should remain the source of history, settings, permissions, and responses when an OpenMausBot thread serves as its interface. The normal Codex driver deliberately injects OpenMausBot instructions/settings and can rebuild a missing session, so this uses a separate native path.
Draft / compatibility boundary: this implements local Codex app-server conversations. It does not expose or invent a binding API for a cloud-only ChatGPT/Codex Work conversation. A UUID/title alone cannot make that conversation accessible. Codex 0.159.2 is refused because its legacy permission restoration differs. Real-account native resumption and the intended live target remain unverified.
How it was verified
Linux, Node 24, isolated disposable homes and fake engines only:
NODE_OPTIONS=--max-old-space-size=4096 pnpm typecheck,pnpm lint,pnpm i18n:check,pnpm exec vite build, andpnpm build:serverpassed. Client build retains the existing CSS-highlight and large-chunk warnings.30b62aaf18adc22099c24a7181abf5e9ddead980; it was also run directly on this branch and is still failing.pnpm testwas not completed; no full-suite or native Windows/macOS claim.No running user app was restarted, no live binding/account/conversation was changed, no model/image usage was incurred, and nothing was deployed or merged.
Remaining verification owner: a maintainer/operator with an authorized local 0.163.x account/store can run the guide's manual smoke. If the desired conversation exists only in Work, its service owner must first expose a supported exact-conversation transport.
Tested upstream base:
30b62aaf18adc22099c24a7181abf5e9ddead980.Head:
048737e682a3473aafe8f0fc9edb441bdf4f1875; treea946964f93c485ab7a18fed42c8460790de05ea7. Uploaded blobs were checked against the local staged Git hashes and the resulting tree matches exactly.Screenshots (UI changes)
Synthetic fixture data only.
Before:
After:
Checklist
pnpm typecheckandpnpm testpass locally — typecheck passed; full suite not completed, known baseline failure detailed above.dist-server/edits.shell: trueor cmd.exe string-building.