Skip to content

Commit 4ecd86c

Browse files
authored
Merge pull request #118 from githubnext/codex/computer-use-validation
fix(desktop): connect dev runs to their native client
2 parents aca86b0 + c05f405 commit 4ecd86c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/desktop/scripts/build.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ async function dev(): Promise<void> {
101101
ACE_CONFIG_HOME: config.settings,
102102
ACE_KEYCHAIN_SERVICE: config.keychain,
103103
ACE_PORT: String(config.port),
104+
ACE_DESKTOP_CLIENT: join(bin, "ace-desktop-client"),
104105
});
105106
host = Bun.spawn([
106107
process.execPath,

‎docs/desktop-tools.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ Source builds need Swift 6.2 or later and a valid Apple Development or Developer
3535
identity to use native desktop tools. The embedded bridge authenticates its bundled client against
3636
the app's signing team and exact client identifier. Set the development signing identity described in
3737
[UI testing](desktop.md#ui-testing) when building.
38-
For a host running from source, set `ACE_DESKTOP_CLIENT` to the signed app's
38+
`bun desktop dev` connects its source host to the signed client in that checkout's app automatically.
39+
For a source host started separately, set `ACE_DESKTOP_CLIENT` to the signed app's
3940
`Contents/MacOS/ace-desktop-client` and use the same `ACE_HOME` as that app. Normal packaged hosts
4041
find the client alongside Ace Helper automatically.
4142

0 commit comments

Comments
 (0)