Repository navigation
feat: Add open-url to deliver an app link to one workspace's instance - #4
Merged
Merged
Conversation
maximkrouk
force-pushed
the
feat/open-url
branch
from
November 14, 2026 01:55
2f56fac to
f970471
Compare
… (DEV-860) fxcodex open-url <workspace> <url> sends a codex:// link to that workspace's Codex only: a kAEGetURL Apple Event addressed to the recorded process ID when it runs, or a new instance launched with the workspace's environment and the link when it doesn't. Never routes by scheme through Launch Services. Extracts launchConfiguration(for:) so both launch paths share it, as in fxclaude. Release builds are signed with com.apple.security.automation.apple-events, because the hardened runtime rejects Apple Events (errAEEventNotPermitted, no prompt) without it. custom-dump stays on 1.6: 1.7 depends on swift-issue-reporting, whose IssueReporting targets clash with xctest-dynamic-overlay used by Dependencies 1.14.
maximkrouk
force-pushed
the
feat/open-url
branch
from
November 14, 2026 01:57
f970471 to
151e2fa
Compare
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.
Summary
Adds
fxcodex open-url <workspace> <url>. It delivers an app link, such as a sign-in callback, to one workspace's Codex instance only (DEV-860).kAEGetURLApple Event addressed by process ID, the same event Launch Services sends.CODEX_HOME, profile and the link.CFBundleURLTypes(codextoday);http/httpsare rejected.--jsonreturns the workspace, process ID anddelivery(apple-eventorlaunch).Other changes
Scripts/sign-release.shnow signs withScripts/fxcodex.entitlements(com.apple.security.automation.apple-events). Without it, the hardened runtime rejects Apple Events from release builds witherrAEEventNotPermittedand shows no prompt. Localmakebuilds aren't affected.Notes
main.AppCommand.versionis still0.3.0. Bump it when cutting the release that ships this.Testing
make test: 167 tests pass (70 + 97).🤖 Generated with Claude Code