Repository navigation
fix(macos): restore browser and native Computer Use helpers - #164
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Security review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
Summary
Restore macOS Chrome policy-verification startup and native Computer Use while preserving codexhost's main Desktop and SSH Host routing.
Related to #160. The user has verified in-app browsing in a local Mac Desktop task (navigation, reading, and button interaction). This PR does not claim to fix #130 / remote in-app browser discovery: the SSH test task still does not expose a matching IAB backend. Browser session matching is unchanged.
Root causes and changes
CODEX_CLI_PATH. The macOS Shim previously exited withCODEXHOST_STOCK_CODEX_PATH is requiredbefore the official CLI could verify policy. Extend the exact-self-override fallback to macOS using validated official Desktop bundle discovery; explicit invalid installation roots and unrelated CLI overrides remain errors, and PATH is never searched.Official policy, authentication, approvals, app-use restrictions, and browser session matching remain unchanged. No official app/plugin binary or live credentials are included.
Validation
npm run format:check,npm run lint,npm run typecheck,npm run test:typescript(2309 passed, 18 skipped),npm run check:rustpassed.-D warningsand all workspace Rust tests passed, including 40 Shim process tests. TypeScript and renderer build plus arm64 release packaging passed.0.5.0-macos-native.2: native getState/application enumeration passed; Calculator UI click sequence2 + 3 =read back5; Chrome created Example Domain, read accessibility content, clicked Learn more, and read the IANA destination. No policy bypass.54cded050f2fea9faf7bda831a529fe4487fcf2a: Ubuntu 22.04, macOS 14, Windows, and Linux ARM64 all passed. Two independent local code-review passes were reconciled against the current head with no remaining evidenced blockers; these are not GitHub maintainer approvals.Verification boundaries
The previous stable and PR163 candidates are preserved for rollback. This is a candidate deployment, not a stable release.