Repository navigation
fix(desktop): connect dev runs to their native client - #118
Merged
Merged
Conversation
This was referenced Oct 5, 2026
Open
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.
bun desktop devnow passes its freshly built, signed native client to its source host and channel workers. The runner deliberately removes inherited Ace profile variables, but previously failed to replaceACE_DESKTOP_CLIENT; native tools then looked beside the source Bun executable and failed despite the app being open.The client path is derived from the same checkout bundle as the launcher, and uses that run's isolated home/socket. Source hosts started separately still use the documented explicit setting. Part of #97 and #8.
Validation:
bun types,bun run ci, independent review and a signed development build pass. Started through the repository'sbun desktop devcommand with an intentionally incorrect inherited client path. A real gateway-created channel worker, parented by that runner's source host, reported the correct isolated home and bundled client and completeddesktop_appsthrough a real pi/OpenAI run. No native input, clipboard access or permission changes were needed. Stopping the root runner also removed its host/app descendants and closed its listener; installed Canary stayed running.Built in Ace
Nate explicitly allowed direct tools for this #8 pass. Codex shell/file tools and review agents implemented, built and checked the change; GitHub CLI created this PR. The final smoke ran in an actual Ace channel through its normal gateway and source worker. The related Ace development-run gap is #97; external harness support remains #9. No installed development app was added.