Repository navigation
feat(desktop): open one item through the native app handler - #143
Merged
Merged
Conversation
# Conflicts: # apps/desktop/scripts/helper.ts # docs/desktop-tools.md
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.
Add
desktop_openfor one existing absolute file/folder/app path or one complete URL, optionally choosing an application with the existing launch selector. macOS chooses the default handler when no application is given. Opening uses the signed native launch route and global mutation lane, binding the entire request and receiving process generation.Accepted item delivery reports
dispatched_unverifiedwithdelivery_accepted: macOS accepted the request, but loading or rendering remains unverified. Existing app-only launch behavior stays intact. Failures after submission remain uncertain, with no automatic replay, fallback, extra instance, default-handler change, or dialog handling. Refs #8 and #73.Validation at
2aea91a928ad4f649a8fda2e0a5edb5be8424847:claude-opus-5-5channel opened a second public document using the bundle-ID selector. Exact result, usage, execution counts, and the three-callback total survived actual worker exit and reopen under a different worker, without another opening.The first document verifier expected byte-identical file URLs, but macOS returned a canonically decomposed Unicode filename. Its original successful delivery and failed verifier are preserved; read-only checks proved the requested and returned URLs resolve to the same device/inode. Only the remaining URL/model/reopen cases continued on the revalidated runtime; the document open was not repeated. Evidence:
/tmp/ace-open-smoke.vERdhu/{result.json,unicode-readback.json},/tmp/ace-open-remaining-smoke.ZW62dM/result.json,/tmp/ace-open-live-XduwLD/cleanup-final.json. Document/page rendering, opening-specific in-flight interruption, hosted routing, other OS handlers and another Mac remain unverified.Built in Ace
Used Codex's terminal and source-editing tools for implementation, independent review, the signed build, and finite real native/model validation under Nate's explicit exception for #8. Ace was missing this native item-opening capability; broader native workflow gaps remain tracked in #8 under dogfooding #5. The model proof ran through an actual Ace channel, signed desktop client and app bridge.