Safari web clipper (macOS, Mac App Store)#643
Draft
h4yfans wants to merge 5 commits into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Safari Web Clipper (macOS → Mac App Store)
Adds a Safari Web Extension target for the existing web clipper. Reuses the WXT bundle unchanged; the only product code change is allowing Safari's extension-origin scheme on the desktop capture server.
Spec:
docs/superpowers/specs/2026-07-01-safari-web-clipper-design.mdPlan:
docs/superpowers/plans/2026-07-01-safari-web-clipper.mdDone (code)
safari-web-extension://added to the capture-server origin allowlist (EXTENSION_ORIGIN_PREFIXES, single source of truth). NewisExtensionOrigintests (Safari/Chrome/Firefox accept, web-origin/undefined reject). 26 main tests pass.dev:safari/build:safari/zip:safari).build:safariverified:.output/safari-mv3/manifest.jsonis MV3, no WXT warnings, all five risky manifest keys pass through. README build section added.Remaining (macOS-only, draft until done)
safari-web-extension-packager→ committed Xcode container app (com.memrynote.web-clipper) +com.apple.security.network.cliententitlement (required for loopback under App Sandbox).Origin: safari-web-extension://<UUID>and reaches loopback under the sandbox. Go/no-go.Notes
origin/main, which does not include the uncommitted:firefox/:edgescript edits in the working tree — reconcile script placement at merge.MEMRY_DOCS_IMPACT_SKIP=1): the allowlist line is an inert precursor; user-facing Safari docs land with Task 5 when the extension is actually installable.