oficina / docs Public

native: works.oficina.docs on every build; the Sparkle Mac app registers works.oficina.docs://

Human

Prompt

(Orchestrating agent, native level-up phase 0 for Docs) Bundle IDs -> works.oficina.docs on every build: Mac Sparkle build (native/mac-updates.json bundle_id), App Store Mac, iOS; the review/dev variant becomes works.oficina.docs.review. Keep the custom URL scheme works.oficina.docs and make sure the Mac Sparkle bundle registers it; use the new "url_schemes": ["works.oficina.docs"] in native/mac-updates.json rather than any app-local wrapper.

From this commit's own message. The prompt ledger has no entries for it — which is what a squashed, rebased or amended commit looks like, and what every commit looks like in a repo without a ledger.

Summary

mac-updates.json names works.oficina.docs (bundle-mac.py's default, which it now checks before building) and url_schemes [works.oficina.docs], so the Sparkle bundle's Info.plist gets CFBundleURLTypes (CFBundleURLName works.oficina.docs). The iPhone project prefix becomes works.oficina (the UI-test bundle) and the review app works.oficina.docs.review. The App Store Mac and iPhone apps were already works.oficina.docs.
Agent notes
url_schemes apply only when bundle-mac.py is given --updates-config, as every release build is; a bare scripts/build-mac.sh dev build is unconfigured and registers no scheme (ASWebAuthenticationSession still catches the sign-in callback). The pasteboard type net.amadan.oficina.docs.fragment is not a bundle ID and is left alone.
Paul Campbell pushed by paul@keymail.dev 18a7c35112e57ace54a4aae746013b001cab1bd9 parent 761c2f4
2 files changed, +6 −3
  • native/ios/project.yml +2 −2
  • native/mac-updates.json +4 −1
diff --git a/native/ios/project.yml b/native/ios/project.yml
index 5919c9d..acb2455 100644
--- a/native/ios/project.yml
+++ b/native/ios/project.yml
@@ -1,6 +1,6 @@
name: DocsPhone
options:
- bundleIdPrefix: net.amadan.oficina
+ bundleIdPrefix: works.oficina
deploymentTarget:
iOS: '26.0'
packages:
@@ -60,7 +60,7 @@ targets:
product: RastrilloApple
settings:
base:
- PRODUCT_BUNDLE_IDENTIFIER: net.amadan.oficina.docs.review
+ PRODUCT_BUNDLE_IDENTIFIER: works.oficina.docs.review
TARGETED_DEVICE_FAMILY: 1,2
GENERATE_INFOPLIST_FILE: true
INFOPLIST_KEY_UILaunchScreen_Generation: true
diff --git a/native/mac-updates.json b/native/mac-updates.json
index ea18077..bf454d5 100644
--- a/native/mac-updates.json
+++ b/native/mac-updates.json
@@ -1,5 +1,8 @@
{
- "bundle_id": "net.amadan.oficina.docs",
+ "bundle_id": "works.oficina.docs",
+ "url_schemes": [
+ "works.oficina.docs"
+ ],
"feed_url": "https://raw.amadan.net/oficina/native-releases/main/docs/appcast.xml",
"public_ed_key": "/FxO7cZnM7P5c9ZrUPUJvpCnR65sNmrzte+I5vHarE8=",
"keychain_account": "oficina"