@wix/himalaya-cli 0.2002.0 → 0.2004.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs CHANGED
@@ -8145,6 +8145,7 @@ function assertExternalUrl(site, value2, where) {
8145
8145
  var WIX_FREE_SITE_HOST_SUFFIXES, SITE_KINDS, SITE_LAYOUTS, SITE_PAGE_TITLES, SITE_TOP_BAR_MAX_ACTIONS, SITE_BUILTIN_NATIVE_SCREENS, SITE_PRIVATE_NATIVE_SCREENS, SITE_SHELL_MAX_TABS, SITE_SCREEN_PREFIX, SITE_PAGE_SCREEN_ID, BASE44_ORIGINS, PAGE_ID, SITE_PAGE_NODE_ID, SITE_SCREEN_FORMS, SITE_NODE_SCREEN_RENDERER, PLACEMENTS, ICONS, SITE_MEMBER_PAGE_SCREENS, SITE_MEMBER_CART_SCREENS, SITE_MEMBER_ONLY_SCREENS;
8146
8146
  var init_site_shell = __esm({
8147
8147
  "../../core/ts/src/site-shell.ts"() {
8148
+ "use strict";
8148
8149
  init_define_HHP_CATALOG();
8149
8150
  init_himi_package();
8150
8151
  init_icon_catalog_generated();
@@ -9059,7 +9060,7 @@ var init_dist_jobs = __esm({
9059
9060
  DIST_SHELLS = {
9060
9061
  "branded-lite": {
9061
9062
  appDir: "apps/himi-branded-lite",
9062
- bundleId: { ios: "ent.wix.brandedlite.dev", android: "com.wix.himi.brandedlite.dev" },
9063
+ bundleId: { ios: "ent.wix.brandedlite.dev", android: "com.wix.himi.brandedlite.dev", macos: "com.wix.himi.brandedlite.mac.dev" },
9063
9064
  provisioningEnv: "HIMI_BRANDED_LITE_PROVISIONING_JSON",
9064
9065
  embeddedSuffixes: ["liveactivity"],
9065
9066
  extensibleCapabilities: true,
@@ -9074,7 +9075,7 @@ var init_dist_jobs = __esm({
9074
9075
  },
9075
9076
  "owner-lite": {
9076
9077
  appDir: "apps/himi-owner-lite",
9077
- bundleId: { ios: "ent.wix.ownerlite.dev", android: "com.wix.himi.ownerlite.dev" },
9078
+ bundleId: { ios: "ent.wix.ownerlite.dev", android: "com.wix.himi.ownerlite.dev", macos: "com.wix.himi.ownerlite.mac.dev" },
9078
9079
  provisioningEnv: "HIMI_OWNER_LITE_PROVISIONING_JSON",
9079
9080
  // #4354 — the iOS project embeds its companion watch app (<host>.watchkitapp).
9080
9081
  embeddedSuffixes: ["liveactivity", "watchkitapp"],
@@ -9127,6 +9128,9 @@ var init_dist_jobs = __esm({
9127
9128
  // watch id (`<host>.watch.dev`) is not the `<host>.<suffix>` shape the signing mint requires.
9128
9129
  game: {
9129
9130
  appDir: "apps/himi-game",
9131
+ // No `macos` yet, though apps/himi-game/macos exists: its prepare:customer has no Mac layout
9132
+ // (GAME_LAYOUT.macosAppDir is null), so a Mac build would ship the sample icon and palette rather
9133
+ // than the release's branding. Refused (`macos_shell_unsupported`) until that layout exists.
9130
9134
  bundleId: { ios: "com.himalaya.himigame.dev.dev", android: "com.himalaya.himigame.dev.dev" },
9131
9135
  provisioningEnv: "HIMI_GAME_PROVISIONING_JSON",
9132
9136
  embeddedSuffixes: [],
@@ -9136,6 +9140,9 @@ var init_dist_jobs = __esm({
9136
9140
  },
9137
9141
  player: {
9138
9142
  appDir: "apps/himi-player",
9143
+ // No `macos` yet, though apps/himi-player/macos exists: its scripts/gen.sh re-bakes Player's own
9144
+ // seed in every build and ignores the release seed himi dist prepared (HIMALAYA_SEED_PREPARED), so
9145
+ // the zip would carry Player's content, not the requested release's. Refused until gen.sh keeps it.
9139
9146
  bundleId: { ios: "dev.himalaya.player.dev", android: "dev.himalaya.player.dev" },
9140
9147
  provisioningEnv: "HIMI_PLAYER_PROVISIONING_JSON",
9141
9148
  // The Live Activity extension Player embeds since #3691 (hosted apps' lock-screen timers).
@@ -9144,7 +9151,7 @@ var init_dist_jobs = __esm({
9144
9151
  },
9145
9152
  "demo-app": {
9146
9153
  appDir: "apps/demo-app",
9147
- bundleId: { ios: "com.himalaya.demoapp.dev", android: "com.himalaya.demoapp.dev" },
9154
+ bundleId: { ios: "com.himalaya.demoapp.dev", android: "com.himalaya.demoapp.dev", macos: "com.himalaya.demoapp.mac.dev" },
9148
9155
  provisioningEnv: "DEMO_APP_PROVISIONING_JSON",
9149
9156
  embeddedSuffixes: ["widgets"],
9150
9157
  extensibleCapabilities: false
@@ -42805,6 +42812,40 @@ var init_wix_api_rules = __esm({
42805
42812
  needs: [],
42806
42813
  differs: "Same moment as RN: after the remote delete succeeds."
42807
42814
  },
42815
+ {
42816
+ id: "nano.widget-info-saved",
42817
+ method: "PUT",
42818
+ path: "/_api/nano-widgets/v1/widgets/:widgetId",
42819
+ src: 191,
42820
+ endpoint: "oneapp",
42821
+ evid: 203,
42822
+ module: "nano",
42823
+ fields: {
42824
+ originScreen: "nano.editWidgetInfo",
42825
+ submitContext: "Update widget name or description",
42826
+ viewName: "nano.editWidgetInfo"
42827
+ },
42828
+ rn: "genericSubmitSrc191Evid203 (@wix/bi-logger-wix-nano-data 1.13.0): wix-private/nano packages/mobile-apps-nano-platform src/features/editWidgetInfoScreen/useEditWidgetInfoScreen.ts:61",
42829
+ needs: [],
42830
+ differs: "The 2xx twin of nano.widget-info-update-failed-*: only the edit-info save writes this widget PUT. RN logs after updateWidget resolves, which is this write. RN's `submitValues` (the new name and description) is free text the user typed, so it is not sent although the request carries it."
42831
+ },
42832
+ {
42833
+ id: "nano.profile-saved",
42834
+ method: "PUT",
42835
+ path: "/_api/nano-user-profiles/v1/user-profiles/:userProfileId",
42836
+ src: 191,
42837
+ endpoint: "oneapp",
42838
+ evid: 203,
42839
+ module: "nano",
42840
+ fields: {
42841
+ originScreen: "nano.editUserProfile",
42842
+ submitContext: "User profile updated",
42843
+ viewName: "nano.editUserProfile"
42844
+ },
42845
+ rn: "genericSubmitSrc191Evid203 (@wix/bi-logger-wix-nano-data 1.13.0): wix-private/nano packages/mobile-apps-nano-platform src/screens/EditUserProfileScreen/useEditUserProfileScreen.ts:91",
42846
+ needs: ["submitValues (which of first name, last name, nickname and avatar changed, against the profile the screen opened with: the call carries only the new profile)"],
42847
+ differs: "The 2xx twin of nano.profile-update-failed-*: only the edit-profile save writes this profile PUT. RN logs after updateCurrentUserProfile resolves, which is this write."
42848
+ },
42808
42849
  {
42809
42850
  id: "nano.widget-info-update-failed-4xx",
42810
42851
  method: "PUT",
@@ -43488,6 +43529,180 @@ var init_action_map = __esm({
43488
43529
  },
43489
43530
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/AvatarButton/useAvatarButton.ts:25"
43490
43531
  },
43532
+ {
43533
+ id: "mywidgets.card.share.myWidgets",
43534
+ actionId: "tier5.mywidgets.shareCard",
43535
+ screenId: "nano_my_widgets",
43536
+ when: {
43537
+ tab: "myWidgets"
43538
+ },
43539
+ src: 191,
43540
+ endpoint: "oneapp",
43541
+ evid: 202,
43542
+ module: "nano",
43543
+ fields: {
43544
+ widgetId: "$action.widgetId",
43545
+ originScreen: "SCREENS.MY_WIDGETS.myWidgets",
43546
+ buttonName: "nano.myWidgets.shareJoin.button",
43547
+ viewName: "nano.myWidgets.item"
43548
+ },
43549
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/myWidgets/components/WidgetsTab.tsx:96",
43550
+ differs: "RN's originScreen is the literal string `SCREENS.MY_WIDGETS.<listType>`, as here. Sent on the tap; the Himi port skipped a second tap while a share of that card was in flight."
43551
+ },
43552
+ {
43553
+ id: "mywidgets.card.share.sharedWidgets",
43554
+ actionId: "tier5.mywidgets.shareCard",
43555
+ screenId: "nano_my_widgets",
43556
+ when: {
43557
+ tab: "sharedWidgets"
43558
+ },
43559
+ src: 191,
43560
+ endpoint: "oneapp",
43561
+ evid: 202,
43562
+ module: "nano",
43563
+ fields: {
43564
+ widgetId: "$action.widgetId",
43565
+ originScreen: "SCREENS.MY_WIDGETS.sharedWidgets",
43566
+ buttonName: "nano.myWidgets.shareJoin.button",
43567
+ viewName: "nano.myWidgets.item"
43568
+ },
43569
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/myWidgets/components/WidgetsTab.tsx:96",
43570
+ differs: "RN's originScreen is the literal string `SCREENS.MY_WIDGETS.<listType>`, as here. Sent on the tap; the Himi port skipped a second tap while a share of that card was in flight."
43571
+ },
43572
+ {
43573
+ id: "mywidgets.card.share.pinnedWidgets",
43574
+ actionId: "tier5.mywidgets.shareCard",
43575
+ screenId: "nano_my_widgets",
43576
+ when: {
43577
+ tab: "pinnedWidgets"
43578
+ },
43579
+ src: 191,
43580
+ endpoint: "oneapp",
43581
+ evid: 202,
43582
+ module: "nano",
43583
+ fields: {
43584
+ widgetId: "$action.widgetId",
43585
+ originScreen: "SCREENS.MY_WIDGETS.pinnedWidgets",
43586
+ buttonName: "nano.myWidgets.shareJoin.button",
43587
+ viewName: "nano.myWidgets.item"
43588
+ },
43589
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/myWidgets/components/WidgetsTab.tsx:96",
43590
+ differs: "RN's originScreen is the literal string `SCREENS.MY_WIDGETS.<listType>`, as here. Sent on the tap; the Himi port skipped a second tap while a share of that card was in flight."
43591
+ },
43592
+ {
43593
+ id: "mywidgets.tab.change.myWidgets",
43594
+ actionId: "tier5.mywidgets.selectTab",
43595
+ screenId: "nano_my_widgets",
43596
+ when: {
43597
+ selectedId: "myWidgets"
43598
+ },
43599
+ src: 191,
43600
+ endpoint: "oneapp",
43601
+ evid: 202,
43602
+ module: "nano",
43603
+ fields: {
43604
+ viewName: "nano.myWidgets.tabBar",
43605
+ originScreen: "nano.myWidgets",
43606
+ buttonName: "nano.myWidgets.list"
43607
+ },
43608
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/myWidgets/useMyWidgetsScreen.ts:365",
43609
+ differs: "RN sends it when the index changes (a tap on another tab, or a swipe). Himi's Tabs dispatches the same action for both, and on iOS for a tap on the current tab too (the scroll to top), which RN does not log here; the map cannot tell them apart, so that re-tap over-counts on iOS."
43610
+ },
43611
+ {
43612
+ id: "mywidgets.tab.change.sharedWidgets",
43613
+ actionId: "tier5.mywidgets.selectTab",
43614
+ screenId: "nano_my_widgets",
43615
+ when: {
43616
+ selectedId: "sharedWidgets"
43617
+ },
43618
+ src: 191,
43619
+ endpoint: "oneapp",
43620
+ evid: 202,
43621
+ module: "nano",
43622
+ fields: {
43623
+ viewName: "nano.myWidgets.tabBar",
43624
+ originScreen: "nano.myWidgets",
43625
+ buttonName: "nano.myWidgets.list.shared"
43626
+ },
43627
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/myWidgets/useMyWidgetsScreen.ts:365",
43628
+ differs: "RN sends it when the index changes (a tap on another tab, or a swipe). Himi's Tabs dispatches the same action for both, and on iOS for a tap on the current tab too (the scroll to top), which RN does not log here; the map cannot tell them apart, so that re-tap over-counts on iOS."
43629
+ },
43630
+ {
43631
+ id: "mywidgets.tab.change.pinnedWidgets",
43632
+ actionId: "tier5.mywidgets.selectTab",
43633
+ screenId: "nano_my_widgets",
43634
+ when: {
43635
+ selectedId: "pinnedWidgets"
43636
+ },
43637
+ src: 191,
43638
+ endpoint: "oneapp",
43639
+ evid: 202,
43640
+ module: "nano",
43641
+ fields: {
43642
+ viewName: "nano.myWidgets.tabBar",
43643
+ originScreen: "nano.myWidgets",
43644
+ buttonName: "nano.myWidgets.list.pinned"
43645
+ },
43646
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/myWidgets/useMyWidgetsScreen.ts:365",
43647
+ differs: "RN sends it when the index changes (a tap on another tab, or a swipe). Himi's Tabs dispatches the same action for both, and on iOS for a tap on the current tab too (the scroll to top), which RN does not log here; the map cannot tell them apart, so that re-tap over-counts on iOS."
43648
+ },
43649
+ {
43650
+ id: "mywidgets.tab.press.myWidgets",
43651
+ actionId: "tier5.mywidgets.selectTab",
43652
+ screenId: "nano_my_widgets",
43653
+ when: {
43654
+ selectedId: "myWidgets"
43655
+ },
43656
+ src: 191,
43657
+ endpoint: "oneapp",
43658
+ evid: 202,
43659
+ module: "nano",
43660
+ fields: {
43661
+ originScreen: "nano.myWidgets",
43662
+ buttonName: "nano.myWidgets.myWidgets",
43663
+ viewName: "nano.myWidgets.screen"
43664
+ },
43665
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/myWidgets/useMyWidgetsScreen.ts:381",
43666
+ differs: "RN logs every press of a tab, the current one included. Himi's Tabs dispatches the same action for a press and a swipe, so a swipe (no press in RN) sends it too; a press on the current tab sends it where the renderer dispatches one (iOS), and nothing where it does not."
43667
+ },
43668
+ {
43669
+ id: "mywidgets.tab.press.sharedWidgets",
43670
+ actionId: "tier5.mywidgets.selectTab",
43671
+ screenId: "nano_my_widgets",
43672
+ when: {
43673
+ selectedId: "sharedWidgets"
43674
+ },
43675
+ src: 191,
43676
+ endpoint: "oneapp",
43677
+ evid: 202,
43678
+ module: "nano",
43679
+ fields: {
43680
+ originScreen: "nano.myWidgets",
43681
+ buttonName: "nano.myWidgets.sharedWidgets",
43682
+ viewName: "nano.myWidgets.screen"
43683
+ },
43684
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/myWidgets/useMyWidgetsScreen.ts:381",
43685
+ differs: "RN logs every press of a tab, the current one included. Himi's Tabs dispatches the same action for a press and a swipe, so a swipe (no press in RN) sends it too; a press on the current tab sends it where the renderer dispatches one (iOS), and nothing where it does not."
43686
+ },
43687
+ {
43688
+ id: "mywidgets.tab.press.pinnedWidgets",
43689
+ actionId: "tier5.mywidgets.selectTab",
43690
+ screenId: "nano_my_widgets",
43691
+ when: {
43692
+ selectedId: "pinnedWidgets"
43693
+ },
43694
+ src: 191,
43695
+ endpoint: "oneapp",
43696
+ evid: 202,
43697
+ module: "nano",
43698
+ fields: {
43699
+ originScreen: "nano.myWidgets",
43700
+ buttonName: "nano.myWidgets.pinnedWidgets",
43701
+ viewName: "nano.myWidgets.screen"
43702
+ },
43703
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/myWidgets/useMyWidgetsScreen.ts:381",
43704
+ differs: "RN logs every press of a tab, the current one included. Himi's Tabs dispatches the same action for a press and a swipe, so a swipe (no press in RN) sends it too; a press on the current tab sends it where the renderer dispatches one (iOS), and nothing where it does not."
43705
+ },
43491
43706
  {
43492
43707
  id: "create.avatar",
43493
43708
  actionId: "tier5.create.avatar",
@@ -43534,6 +43749,91 @@ var init_action_map = __esm({
43534
43749
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/widgetViewerScreen/useViewWidgetScreen.ts:233",
43535
43750
  differs: "Sent on the tap; the Himi port skipped it for an internal native sample or a share already in progress."
43536
43751
  },
43752
+ {
43753
+ id: "viewer.sheet.edit",
43754
+ actionId: "tier5.viewer.sheetEdit",
43755
+ screenId: "nano_view_widget",
43756
+ src: 191,
43757
+ endpoint: "oneapp",
43758
+ evid: 202,
43759
+ module: "nano",
43760
+ fields: {
43761
+ widgetId: "$route.widgetId",
43762
+ originScreen: "nano.myWidgets",
43763
+ buttonName: "nano.myWidgets.actionSheet.edit",
43764
+ viewName: "nano.myWidgets.actionSheet"
43765
+ },
43766
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/WidgetActionSheet/widgetActionUtils.ts:23 (openEditWidgetScreen: SCREENS.MY_WIDGETS from any screen)",
43767
+ differs: "The viewer's sheet is for the widget on screen, so its id is the route's. My Widgets' sheet (a widget picked from the list) is not mapped yet: its widget is worker state."
43768
+ },
43769
+ {
43770
+ id: "viewer.sheet.rename",
43771
+ actionId: "tier5.viewer.sheetRename",
43772
+ screenId: "nano_view_widget",
43773
+ src: 191,
43774
+ endpoint: "oneapp",
43775
+ evid: 202,
43776
+ module: "nano",
43777
+ fields: {
43778
+ widgetId: "$route.widgetId",
43779
+ originScreen: "nano.viewWidget",
43780
+ buttonName: "nano.myWidgets.actionSheet.edit",
43781
+ viewName: "nano.myWidgets.actionSheet"
43782
+ },
43783
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/WidgetActionSheet/widgetActionUtils.ts:251 (openEditWidgetInfoScreen: the caller's originScreen, under the Edit button's name)",
43784
+ differs: "The viewer's sheet is for the widget on screen, so its id is the route's."
43785
+ },
43786
+ {
43787
+ id: "viewer.sheet.share",
43788
+ actionId: "tier5.viewer.sheetShare",
43789
+ screenId: "nano_view_widget",
43790
+ src: 191,
43791
+ endpoint: "oneapp",
43792
+ evid: 202,
43793
+ module: "nano",
43794
+ fields: {
43795
+ widgetId: "$route.widgetId",
43796
+ originScreen: "nano.myWidgets",
43797
+ buttonName: "nano.myWidgets.shareJoin.button",
43798
+ viewName: "nano.myWidgets.actionSheet"
43799
+ },
43800
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/WidgetActionSheet/widgetActionUtils.ts:43 (shareWidgetJoin)",
43801
+ differs: "The viewer's sheet is for the widget on screen, so its id is the route's."
43802
+ },
43803
+ {
43804
+ id: "viewer.sheet.shareCopy",
43805
+ actionId: "tier5.viewer.sheetShareCopy",
43806
+ screenId: "nano_view_widget",
43807
+ src: 191,
43808
+ endpoint: "oneapp",
43809
+ evid: 202,
43810
+ module: "nano",
43811
+ fields: {
43812
+ widgetId: "$route.widgetId",
43813
+ originScreen: "nano.myWidgets",
43814
+ buttonName: "nano.myWidgets.share.button",
43815
+ viewName: "nano.myWidgets.actionSheet"
43816
+ },
43817
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/WidgetActionSheet/widgetActionUtils.ts:67 (shareWidgetCopy)",
43818
+ differs: "The viewer's sheet is for the widget on screen, so its id is the route's."
43819
+ },
43820
+ {
43821
+ id: "viewer.sheet.duplicate",
43822
+ actionId: "tier5.viewer.sheetDuplicate",
43823
+ screenId: "nano_view_widget",
43824
+ src: 191,
43825
+ endpoint: "oneapp",
43826
+ evid: 202,
43827
+ module: "nano",
43828
+ fields: {
43829
+ widgetId: "$route.widgetId",
43830
+ originScreen: "nano.myWidgets",
43831
+ buttonName: "nano.myWidgets.actionSheet.duplicate",
43832
+ viewName: "nano.myWidgets.actionSheet"
43833
+ },
43834
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/WidgetActionSheet/widgetActionUtils.ts:91 (duplicateWidget)",
43835
+ differs: "The viewer's sheet is for the widget on screen, so its id is the route's."
43836
+ },
43537
43837
  {
43538
43838
  id: "create.carousel.reload",
43539
43839
  actionId: "tier5.create.reloadCarousel",
@@ -43609,6 +43909,54 @@ var init_action_map = __esm({
43609
43909
  },
43610
43910
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/hooks/useVoiceState.ts:43"
43611
43911
  },
43912
+ {
43913
+ id: "create.suggestion",
43914
+ actionId: "tier5.create.pickSuggestion",
43915
+ screenId: "nano_create",
43916
+ src: 191,
43917
+ endpoint: "oneapp",
43918
+ evid: 202,
43919
+ module: "nano",
43920
+ fields: {
43921
+ originScreen: "nano.create",
43922
+ buttonName: "nano.create.suggestion",
43923
+ viewName: "nano.create"
43924
+ },
43925
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/createScreen/hooks/useSuggestions.ts:44",
43926
+ differs: "RN's `value` is the chip's label and prompt (`<label> - <prompt>`), localized free text: not sent."
43927
+ },
43928
+ {
43929
+ id: "create.generate",
43930
+ actionId: "tier5.create.generate",
43931
+ screenId: "nano_create",
43932
+ src: 191,
43933
+ endpoint: "oneapp",
43934
+ evid: 202,
43935
+ module: "nano",
43936
+ fields: {
43937
+ originScreen: "nano.create",
43938
+ buttonName: "nano.create.generate.button",
43939
+ viewName: "nano.create"
43940
+ },
43941
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/createScreen/hooks/useCreateScreen.ts:95",
43942
+ differs: "RN's `value` is the typed prompt, free text: not sent. RN logs it inside its generate step, after an empty prompt is refused and a sign-in is done; here on every tap of Generate, including one the worker refuses: an empty prompt, an upload or dictation in progress, a Generate already being handed over (a double tap), or the same prompt awaiting its sign-in replay."
43943
+ },
43944
+ {
43945
+ id: "create.prompt.submit",
43946
+ actionId: "tier5.create.generate",
43947
+ screenId: "nano_create",
43948
+ src: 191,
43949
+ endpoint: "oneapp",
43950
+ evid: 203,
43951
+ module: "nano",
43952
+ fields: {
43953
+ originScreen: "nano.create",
43954
+ viewName: "nano.create.prompt.input",
43955
+ submitContext: "CreateWidgetPrompt"
43956
+ },
43957
+ rn: "genericSubmit 191:203 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/PromptTextBox/usePromptTextBox.ts:151 (the shared prompt box, on Create: CreateScreen.tsx:101)",
43958
+ differs: "RN's `submitValues` (the prompt and its images) is free text: not sent. RN's `widgetId` is \"\" on Create: not sent. Sent on every tap of Generate, including one the worker refuses (see create.generate)."
43959
+ },
43612
43960
  {
43613
43961
  id: "create.voiceCancel",
43614
43962
  actionId: "tier5.create.voiceCancel",
@@ -43639,6 +43987,22 @@ var init_action_map = __esm({
43639
43987
  },
43640
43988
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/screens/CreationFTE/useCreationFTEModal.ts:33"
43641
43989
  },
43990
+ {
43991
+ id: "create.fte.dismiss",
43992
+ actionId: "tier5.create.fteClose",
43993
+ screenId: "nano_create",
43994
+ src: 191,
43995
+ endpoint: "oneapp",
43996
+ evid: 202,
43997
+ module: "nano",
43998
+ fields: {
43999
+ originScreen: "nano.creationFTE",
44000
+ buttonName: "nano.create.creationFTEModal.dismiss.button",
44001
+ viewName: "nano.create.creationFTEModal"
44002
+ },
44003
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/screens/CreationFTE/useCreationFTEModal.ts:20",
44004
+ differs: "Sent on the modal's \u2715 only, as RN's top-bar dismiss button. A swipe down or Got it closes the modal without it (RN has no swipe; Got it is create.fte.cta)."
44005
+ },
43642
44006
  {
43643
44007
  id: "create.drawer.open",
43644
44008
  actionId: "tier5.create.openFinished",
@@ -43655,6 +44019,44 @@ var init_action_map = __esm({
43655
44019
  },
43656
44020
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/NanoCreationDrawer/useNanoCreationDrawerData.ts:252"
43657
44021
  },
44022
+ {
44023
+ id: "create.drawer.openCreation",
44024
+ actionId: "tier5.create.openFinished",
44025
+ screenId: "nano_create",
44026
+ when: {
44027
+ kind: "create"
44028
+ },
44029
+ src: 191,
44030
+ endpoint: "oneapp",
44031
+ evid: 202,
44032
+ module: "nano",
44033
+ fields: {
44034
+ widgetId: "$action.widgetId",
44035
+ originScreen: "nano.create",
44036
+ buttonName: "open_creation_button",
44037
+ viewName: "nano_creation_drawer"
44038
+ },
44039
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/NanoCreationDrawer/useNanoCreationDrawerData.ts:125 (handleOpenCreation: the second event of the same Open tap)"
44040
+ },
44041
+ {
44042
+ id: "create.drawer.openEdit",
44043
+ actionId: "tier5.create.openFinished",
44044
+ screenId: "nano_create",
44045
+ when: {
44046
+ kind: "edit"
44047
+ },
44048
+ src: 191,
44049
+ endpoint: "oneapp",
44050
+ evid: 202,
44051
+ module: "nano",
44052
+ fields: {
44053
+ widgetId: "$action.widgetId",
44054
+ originScreen: "nano.myWidgets",
44055
+ buttonName: "open_edit_button",
44056
+ viewName: "nano_creation_drawer"
44057
+ },
44058
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/NanoCreationDrawer/useNanoCreationDrawerData.ts:199 (handleOpenEdit: the second event of the same Open tap; RN's originScreen is My Widgets)"
44059
+ },
43658
44060
  {
43659
44061
  id: "create.carousel.item",
43660
44062
  actionId: "tier5.create.openCarouselItem",
@@ -43792,6 +44194,44 @@ var init_action_map = __esm({
43792
44194
  },
43793
44195
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/NanoCreationDrawer/useNanoCreationDrawerData.ts:252 (one drawer: Create's ids on both tabs)"
43794
44196
  },
44197
+ {
44198
+ id: "explore.drawer.openCreation",
44199
+ actionId: "tier5.explore.openFinished",
44200
+ screenId: "nano_explore",
44201
+ when: {
44202
+ kind: "create"
44203
+ },
44204
+ src: 191,
44205
+ endpoint: "oneapp",
44206
+ evid: 202,
44207
+ module: "nano",
44208
+ fields: {
44209
+ widgetId: "$action.widgetId",
44210
+ originScreen: "nano.create",
44211
+ buttonName: "open_creation_button",
44212
+ viewName: "nano_creation_drawer"
44213
+ },
44214
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/NanoCreationDrawer/useNanoCreationDrawerData.ts:125 (handleOpenCreation: the second event of the same Open tap; one drawer: Create's ids on both tabs)"
44215
+ },
44216
+ {
44217
+ id: "explore.drawer.openEdit",
44218
+ actionId: "tier5.explore.openFinished",
44219
+ screenId: "nano_explore",
44220
+ when: {
44221
+ kind: "edit"
44222
+ },
44223
+ src: 191,
44224
+ endpoint: "oneapp",
44225
+ evid: 202,
44226
+ module: "nano",
44227
+ fields: {
44228
+ widgetId: "$action.widgetId",
44229
+ originScreen: "nano.myWidgets",
44230
+ buttonName: "open_edit_button",
44231
+ viewName: "nano_creation_drawer"
44232
+ },
44233
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/NanoCreationDrawer/useNanoCreationDrawerData.ts:199 (handleOpenEdit: the second event of the same Open tap; RN's originScreen is My Widgets)"
44234
+ },
43795
44235
  {
43796
44236
  id: "explore.status",
43797
44237
  actionId: "tier5.explore.openDrawer",
@@ -43824,6 +44264,38 @@ var init_action_map = __esm({
43824
44264
  },
43825
44265
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/NanoCreationDrawer/useNanoCreationDrawerData.ts:243 (one drawer: Create's ids on both tabs)"
43826
44266
  },
44267
+ {
44268
+ id: "explorePager.prev",
44269
+ actionId: "tier5.explorePager.prev",
44270
+ screenId: "nano_explore_carousel",
44271
+ src: 191,
44272
+ endpoint: "oneapp",
44273
+ evid: 202,
44274
+ module: "nano",
44275
+ fields: {
44276
+ originScreen: "nano.exploreCarousel",
44277
+ buttonName: "nano.exploreCarousel.previous.button",
44278
+ viewName: "nano.exploreCarousel.carousel.navBar"
44279
+ },
44280
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/WidgetCarouselScreen/useWidgetCarouselScreen.ts:38",
44281
+ differs: "Only the arrow sends it, as in RN; a swipe sends nothing (the Himi port logged a swipe as the arrow it stands for). RN logs the press on the first page too, where Himi's arrow is disabled."
44282
+ },
44283
+ {
44284
+ id: "explorePager.next",
44285
+ actionId: "tier5.explorePager.next",
44286
+ screenId: "nano_explore_carousel",
44287
+ src: 191,
44288
+ endpoint: "oneapp",
44289
+ evid: 202,
44290
+ module: "nano",
44291
+ fields: {
44292
+ originScreen: "nano.explore",
44293
+ buttonName: "nano.exploreCarousel.next.button",
44294
+ viewName: "nano.exploreCarousel.carousel.navBar"
44295
+ },
44296
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/WidgetCarouselScreen/useWidgetCarouselScreen.ts:54 (RN's originScreen here is SCREENS.EXPLORE)",
44297
+ differs: "Only the arrow sends it, as in RN; a swipe sends nothing (the Himi port logged a swipe as the arrow it stands for). RN logs the press on the last page too, where Himi's arrow is disabled."
44298
+ },
43827
44299
  {
43828
44300
  id: "edit.close",
43829
44301
  actionId: "tier5.edit.close",
@@ -43900,6 +44372,57 @@ var init_action_map = __esm({
43900
44372
  },
43901
44373
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/PromptTextBox/AnimatedAttachButton.tsx:86 (the shared press handler logs the attach click before onCancelPress; origin = host screen)"
43902
44374
  },
44375
+ {
44376
+ id: "edit.suggestion",
44377
+ actionId: "tier5.edit.pickSuggestion",
44378
+ screenId: "nano_edit_widget",
44379
+ src: 191,
44380
+ endpoint: "oneapp",
44381
+ evid: 202,
44382
+ module: "nano",
44383
+ fields: {
44384
+ widgetId: "$route.widgetId",
44385
+ originScreen: "editWidgetScreen",
44386
+ viewName: "suggestionPressed",
44387
+ buttonName: "suggestion"
44388
+ },
44389
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/SuggestionsList/index.tsx:26",
44390
+ differs: "RN's `value` is the chip's label, localized free text: not sent. RN's `widgetSessionId` has no Himi equivalent: not sent."
44391
+ },
44392
+ {
44393
+ id: "edit.send",
44394
+ actionId: "tier5.edit.send",
44395
+ screenId: "nano_edit_widget",
44396
+ src: 191,
44397
+ endpoint: "oneapp",
44398
+ evid: 202,
44399
+ module: "nano",
44400
+ fields: {
44401
+ widgetId: "$route.widgetId",
44402
+ originScreen: "editWidgetScreen",
44403
+ viewName: "nano.editWidget.send.button",
44404
+ buttonName: "nano.editWidget.send.button"
44405
+ },
44406
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/editWidget/useEditWidget.ts:131",
44407
+ differs: "RN's `value` is the typed prompt, free text: not sent; nor is `widgetSessionId`, which Himi has no equivalent of. Sent on every tap of Send, including one the worker refuses (an empty prompt, an upload or dictation in progress, an edit already running), where RN's button is disabled or its submit returns early. RN's `started` 191:203 stays the worker's, after those checks, so it always pairs with its outcome. RN's snackbar Try again runs the same submit: that tap is not mapped yet, so the worker still logs it."
44408
+ },
44409
+ {
44410
+ id: "edit.prompt.submit",
44411
+ actionId: "tier5.edit.send",
44412
+ screenId: "nano_edit_widget",
44413
+ src: 191,
44414
+ endpoint: "oneapp",
44415
+ evid: 203,
44416
+ module: "nano",
44417
+ fields: {
44418
+ widgetId: "$route.widgetId",
44419
+ originScreen: "nano.editWidget",
44420
+ viewName: "nano.create.prompt.input",
44421
+ submitContext: "CreateWidgetPrompt"
44422
+ },
44423
+ rn: "genericSubmit 191:203 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/common/components/PromptTextBox/usePromptTextBox.ts:151 (the shared prompt box, on Edit: EditWidget.tsx:62, so Create's view and context)",
44424
+ differs: "RN's `submitValues` (the prompt and its images) is free text: not sent. Sent on every tap of Send, including one the worker refuses (see edit.send)."
44425
+ },
43903
44426
  {
43904
44427
  id: "share.toggle",
43905
44428
  actionId: "tier5.sharecreation.setPublish",
@@ -43951,6 +44474,22 @@ var init_action_map = __esm({
43951
44474
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/shareCreationToExplore/useNavigation.ts:56",
43952
44475
  differs: "Sent on the \u2715 tap; the Himi port skipped it before the creation had loaded."
43953
44476
  },
44477
+ {
44478
+ id: "duplicate.add",
44479
+ actionId: "tier5.duplicate.add",
44480
+ screenId: "nano_duplicated_widget_preview",
44481
+ src: 191,
44482
+ endpoint: "oneapp",
44483
+ evid: 202,
44484
+ module: "nano",
44485
+ fields: {
44486
+ originScreen: "nano.duplicatedWidgetPreview",
44487
+ viewName: "nano.duplicatedWidgetPreview",
44488
+ buttonName: "nano.duplicatedWidgetPreview.duplicate.button"
44489
+ },
44490
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/duplicateWidgetPreview/useDuplicateWidgetPreview.ts:117",
44491
+ differs: "RN's `value` is the shared widget's name, free text: not sent. A share-code screen: no route field. Sent on every tap, including one the worker refuses (the preview still loading, or a clone already running), where the Himi port logged only the tap it acted on."
44492
+ },
43954
44493
  {
43955
44494
  id: "info.save",
43956
44495
  actionId: "tier5.widgetinfo.save",
@@ -46697,7 +47236,6 @@ function shouldRevealError(args) {
46697
47236
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
46698
47237
  var init_validation = __esm({
46699
47238
  "../../core/ts/src/validation.ts"() {
46700
- "use strict";
46701
47239
  init_define_HHP_CATALOG();
46702
47240
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
46703
47241
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
@@ -169235,7 +169773,7 @@ var init_cli_help = __esm({
169235
169773
  Cannot ADD a screen (screens are git-only, RFC 0012), and
169236
169774
  carries no attestation, source archive, assets, icon or
169237
169775
  minBinaryVersion \u2014 all named in the output.
169238
- himi dist [--app <a>] [--platform ios,android] [--release <id>] [--allow-draft] [--target <t>]
169776
+ himi dist [--app <a>] [--platform ios,android,macos] [--release <id>] [--allow-draft] [--target <t>]
169239
169777
  [--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app] [--signing wix-managed|byo]
169240
169778
  [--android-signing qa-keystore|wix-keystore|debug|owner] [--aab]
169241
169779
  [--package-name <id> --google-services <file>] [--min-version-code <n>]
@@ -169799,7 +170337,7 @@ Guides: ${DEVELOPER_PORTAL_URL}`;
169799
170337
  { name: "patch", summary: 'change ONE item of a published app \u2014 a screen descriptor, a Tier-5 bundle, tokens, or the app-config baseline \u2014 from a RAW FILE, with no content package and no build. The low-level door: it does not lint your package, because there is no package here; `himi push --only <selector>` is the same edit with the full build + lint gate and is what to reach for when the package is in hand. Derives a new release from the app\'s current LIVE release, or from `--from-release <id>`. An explicit `--draft` or `--live` is REQUIRED \u2014 a patch has no default blast radius \u2014 and `--notes` is required with `--live` on a screen or app-config patch, because off-repo `gitSha` is "dev" and the ledger notes are then the only durable record of bytes that correspond to no commit. A branch does not merge: activating one derived from an older release reverts every item the patch does not move, so that case is refused until `--accept-regressions`. A bundle patch must repoint a screen (`--for-screen`) or the bytes land under a manifest key nothing reads. It cannot ADD a screen (screens are git-only, RFC 0012), never claims a slug \u2014 the app must already be published \u2014 and carries no attestation, source archive, assets, icon or minBinaryVersion, each named in the output.', required: "screen <id> --file <descriptor.json> [--bundle <sha256|none>] | bundle --file <bundle.js> (--for-screen <id>[,<id>] | --no-rebind) | tokens --file <tokens.json> | app-config --file <app-config.json> ; (--draft|--live) --app <a> [--from-release <id>] [--accept-regressions] [--label <n>] [--notes <t>] [--force] [--allow-binary-gap] [--target <t>] (--control-token)" },
169800
170338
  { name: "flags", summary: "read and change the app's OPERATIONAL flags (RFC 0013) \u2014 `list` prints what the DEVICE door serves, `set <key> --definition` creates or replaces one, `ramp <key>` moves its rollout share or kills it, `rm <key>` deletes it and echoes the definition back so the removal is reversible. Every write is followed by a read of the same door the device uses, and the answer is reported as `servedNow`: flags are stored in the app's git-committed flags.json, so a control plane with no checkout accepts a write it will never serve.", required: "list|set|ramp|rm [<key>] [--definition <json|@file>] [--percent 0-100] [--enabled true|false] [--app <a>] (--control-token)" },
169801
170339
  { name: "visibility", summary: "read (no value) or set whether the public registry (/v1/apps + the Himi Player picker) LISTS the app. `public` lists it for everyone; `unlisted` hides it from listings while direct reads by app id \u2014 deep links, previews \u2014 keep working. App from --app or the content dir. Setting it needs no republish.", required: "[public|unlisted] [--app <a>] [--content <dir>] (--control-token)" },
169802
- { name: "dist", summary: "build an INSTALLABLE QA binary (signed IPA / APK) on the Wix Job Service Mac pool and return an install link \u2014 the serve plane brokers the job, the pool builds it. WAITS for the build by default (~4 min) and prints the install link; `--no-wait` returns a jobId immediately instead. Omitting `--release` builds whatever is LIVE for the app. A named draft is refused unless `--allow-draft` makes that exceptional build explicit. `status <jobId>` / `watch <jobId>` / `list --app <a>` / `cancel <jobId>` inspect and stop builds (`watch` reports up front whether the job mints its own signing identity or borrows one, so a doomed iOS build is cancellable in seconds rather than after the archive). Off-repo, name a target \u2014 `--target wix` for a self-serve Wix login or `--target bo` for the internal employee path (the in-repo default is a local dev plane that isn't reachable off-repo); self-serve callers may build their OWN apps under a tighter budget (2 in flight / 5 per 24h), while a manage-only owner-role credential is refused. `--shell` picks the native host to sign into (branded-lite | owner-lite | brandy | base44 | game | player | demo-app) and defaults to the content package's himalaya.content.json `shell` (templates carry the one they were written for), else branded-lite. The per-app shells ADD the release's declared capabilities to the binary, while Himi Player and demo-app refuse a release declaring one they lack; `--plan` previews it without building; `brandy` builds a site-shell app (the customer's own website as native-framed tabs) on the branded-lite binary under Brandy's bundle ids, so an installed Brandy app updates in place \u2014 it needs a release that serves its own site block (`release_site_missing` otherwise); `game` is the Godot game shell, the only one that serves `godot`. `--signing` defaults to `wix-managed` \u2014 the Wix Apple account mints a per-app signing identity for the build, so the caller provisions no Apple credentials of their own; `--signing byo --site <id>` reuses an existing customer ad-hoc profile and certificate for iOS; requires an owned site and a completed personal signing binding. `--android-signing` is the Android counterpart and a SEPARATE axis (a keystore, not an Apple account): `qa-keystore` (default \u2014 the repo's committed QA key, identical on every pool machine, so a build installs over the previous one), `wix-keystore` (the Wix key the pool machine carries; the build FAILS naming the paths searched if it carries none, rather than quietly signing with something else), or `debug` (the old per-machine key \u2014 QA must uninstall any previous build first). `--aab` builds an Android App Bundle (.aab) for the owner to upload to Google Play AND an APK from the same build \u2014 a download link for the .aab, an install link and QR for the APK; Android only; the bundle is signed with the Wix production key (`wix-keystore`, the upload key Branded apps use) \u2014 any other `--android-signing` is refused \u2014 and the APK with the committed QA key; a self-serve caller gets one only as the store build of its own Containers app (it must own the app's site, and `--aab` sends your Wix login); any other self-serve `--aab` gets 403 android_format_not_allowed. `--app-name <name> --app-icon-url <url>` (together; the icon a `https://static.wixstatic.com/media/<file>` URL) give the binary a name and icon in place of the release's, and a Containers app's store build (`--aab`, or its TestFlight build) needs both. NOT the normal way to ship: screens, Tier-5 bundles, tokens and app-config all go over the air with `himi push` in seconds \u2014 a binary trip is only needed for a NATIVE delta (a new SDUI component, a new declared capability/entitlement, a new bundle id, or a minBinaryVersion floor bump). Refuses to build an app whose launcher icon is missing, a placeholder, or one a store would reject \u2014 the one thing a binary carries that no later OTA push can fix; `--force` builds anyway. Also refuses a release whose member login (WixConsumerAuthProvider) names no siteId, or not in lower case, when Wix says its site requires a member CAPTCHA \u2014 such a binary ships without the CAPTCHA key and every member sign-in fails; whatever it cannot read (the release, the site's setting) only warns and builds; `--skip-captcha-check` builds anyway", required: "[--app <a>] [--platform ios,android] [--release <id>] [--allow-draft] [--target <t>] [--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app] [--signing wix-managed|byo] [--site <id>] [--android-signing qa-keystore|wix-keystore|debug] [--aab] [--min-version-code <n>] [--app-name <name> --app-icon-url <url>] [--borrow-ios-id <bundleId>] [--no-wait] [--force] [--skip-captcha-check] [--plan] | status <jobId> [--target <t>] | watch <jobId> [--target <t>] [--interval <ms>] | list --app <a> [--target <t>] | cancel <jobId> [--target <t>]" },
170340
+ { name: "dist", summary: "build an INSTALLABLE QA binary (signed IPA / APK) on the Wix Job Service Mac pool and return an install link \u2014 the serve plane brokers the job, the pool builds it. WAITS for the build by default (~4 min) and prints the install link; `--no-wait` returns a jobId immediately instead. Omitting `--release` builds whatever is LIVE for the app. A named draft is refused unless `--allow-draft` makes that exceptional build explicit. `status <jobId>` / `watch <jobId>` / `list --app <a>` / `cancel <jobId>` inspect and stop builds (`watch` reports up front whether the job mints its own signing identity or borrows one, so a doomed iOS build is cancellable in seconds rather than after the archive). Off-repo, name a target \u2014 `--target wix` for a self-serve Wix login or `--target bo` for the internal employee path (the in-repo default is a local dev plane that isn't reachable off-repo); self-serve callers may build their OWN apps under a tighter budget (2 in flight / 5 per 24h), while a manage-only owner-role credential is refused. `--shell` picks the native host to sign into (branded-lite | owner-lite | brandy | base44 | game | player | demo-app) and defaults to the content package's himalaya.content.json `shell` (templates carry the one they were written for), else branded-lite. The per-app shells ADD the release's declared capabilities to the binary, while Himi Player and demo-app refuse a release declaring one they lack; `--plan` previews it without building; `brandy` builds a site-shell app (the customer's own website as native-framed tabs) on the branded-lite binary under Brandy's bundle ids, so an installed Brandy app updates in place \u2014 it needs a release that serves its own site block (`release_site_missing` otherwise); `game` is the Godot game shell, the only one that serves `godot`. `--signing` defaults to `wix-managed` \u2014 the Wix Apple account mints a per-app signing identity for the build, so the caller provisions no Apple credentials of their own; `--signing byo --site <id>` reuses an existing customer ad-hoc profile and certificate for iOS; requires an owned site and a completed personal signing binding. `--android-signing` is the Android counterpart and a SEPARATE axis (a keystore, not an Apple account): `qa-keystore` (default \u2014 the repo's committed QA key, identical on every pool machine, so a build installs over the previous one), `wix-keystore` (the Wix key the pool machine carries; the build FAILS naming the paths searched if it carries none, rather than quietly signing with something else), or `debug` (the old per-machine key \u2014 QA must uninstall any previous build first). `--aab` builds an Android App Bundle (.aab) for the owner to upload to Google Play AND an APK from the same build \u2014 a download link for the .aab, an install link and QR for the APK; Android only; the bundle is signed with the Wix production key (`wix-keystore`, the upload key Branded apps use) \u2014 any other `--android-signing` is refused \u2014 and the APK with the committed QA key; a self-serve caller gets one only as the store build of its own Containers app (it must own the app's site, and `--aab` sends your Wix login); any other self-serve `--aab` gets 403 android_format_not_allowed. `--platform macos` builds the shell's native Mac app (branded-lite, owner-lite, demo-app; any other shell, player and game included for now, is refused `macos_shell_unsupported`): a zip with one `.app`, signed ad hoc and not yet notarized, so the first launch is Control-click \u2192 Open; it is a download link, never a phone QR, and it can't be customer-signed. `--app-name <name> --app-icon-url <url>` (together; the icon a `https://static.wixstatic.com/media/<file>` URL) give the binary a name and icon in place of the release's, and a Containers app's store build (`--aab`, or its TestFlight build) needs both. NOT the normal way to ship: screens, Tier-5 bundles, tokens and app-config all go over the air with `himi push` in seconds \u2014 a binary trip is only needed for a NATIVE delta (a new SDUI component, a new declared capability/entitlement, a new bundle id, or a minBinaryVersion floor bump). Refuses to build an app whose launcher icon is missing, a placeholder, or one a store would reject \u2014 the one thing a binary carries that no later OTA push can fix; `--force` builds anyway. Also refuses a release whose member login (WixConsumerAuthProvider) names no siteId, or not in lower case, when Wix says its site requires a member CAPTCHA \u2014 such a binary ships without the CAPTCHA key and every member sign-in fails; whatever it cannot read (the release, the site's setting) only warns and builds; `--skip-captcha-check` builds anyway", required: "[--app <a>] [--platform ios,android,macos] [--release <id>] [--allow-draft] [--target <t>] [--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app] [--signing wix-managed|byo] [--site <id>] [--android-signing qa-keystore|wix-keystore|debug] [--aab] [--min-version-code <n>] [--app-name <name> --app-icon-url <url>] [--borrow-ios-id <bundleId>] [--no-wait] [--force] [--skip-captcha-check] [--plan] | status <jobId> [--target <t>] | watch <jobId> [--target <t>] [--interval <ms>] | list --app <a> [--target <t>] | cancel <jobId> [--target <t>]" },
169803
170341
  { name: "testflight", summary: 'build, sign and upload an app to TestFlight (internal testers \u2014 no Beta App Review), then WAIT until App Store Connect finishes processing it. Sugar for `store upload --track testflight`. Prompts first: a build number is consumed permanently on a real Apple account and cannot be reused \u2014 `--yes` for CI, `--dry-run` to see the plan without touching anything. The wait is the real check, not a nicety: fastlane prints "Successfully uploaded" for a binary App Store Connect then rejects in processing, and a rejected binary leaves NO build record at all (the reason is emailed). Public App Store review is deliberately NOT automatable here \u2014 `--track appstore` is refused; use /submit-ios-app when you mean to go public', required: "<app> [--track testflight|internal] [--profile <name>] [--yes] [--dry-run] [--skip-build] [--no-wait] [--json]" },
169804
170342
  { name: "store", summary: "`app set --app <id> --site <msid> --android-package himi.<name>` gives an app YOUR account owns (one made with `himi init`) the Google Play store app of a Wix site your account also owns, so `himi dist --aab` makes its Wix-signed (WixOne) Play bundle: the app is LINKED to the site, never converted into a site app, so your `himi login` token keeps working for push and the rest. `app set --link-only` links and holds the site with no package, for an owner-signed app whose Play package is your own. One site per app and one app per site; the package name is permanent once a build locks it. `app show --app <id> --site <msid>` runs the store build's checks without building (saved package name, the site's Premium plan). Both send your `himi login` control token plus the account `wix token`, which the plane uses to verify your account owns the app and the site (`himi docs qa-builds`). `apple-keys setup|status` onboards the owner\u2019s ASC and In-App Purchase keys independently of push and signing profiles. `connect` and `submission status|plan|apply|rejection|reply` submit an app to the App Store from YOUR computer under YOUR Apple account, off-repo (Node 24+): `connect` opens a sign-in page on 127.0.0.1 where you type your Apple ID password and 2FA code (no flag takes them) and creates an Admin API key saved in this computer's keychain, shared with Wix for App Store builds when the app's store/app-store.json names its site; `submission plan` plans the next ordered batch and `apply` applies it only after you type the plan hash's first 8 characters (or click Approve on a local page). The same steps are the store_* tools of `himi mcp` (`himi docs store-submission`). `--platform android` takes `connect` and `submission status|plan|apply|rejection|reply` to Google Play instead: `connect` signs you in to Google in your browser (the OAuth client file from GPLAY_OAUTH_CLIENT_FILE or gplay-node's state dir, else a gcloud sign-in), the facts come from the app's store/google-play.json (category, contactEmail, privacyPolicyUrl, targetAudience, contentRatingCategory, packageName), a site-linked himi.<name> app is Wix-signed (`himi dist --aab`) and any other owner-signed (`--android-signing owner --google-services <file>`, then `google keygen <package>` makes the upload key once and `google resign <in.aab> --keystore <file.p12> --storepass-file <file>` signs the bundle, both on this computer), `apply` takes one `--job`, and `submission approve-reply --platform android --issue <id> --kind appeal|resubmit --text <reply>` records your typed yes on one exact policy reply (no --yes), the only way `reply` or store_reply can plan it. `record show|refresh|sync|pull` reads the app's store record on this computer (~/.himi/store, or HIMI_STORE_HOME / --record-dir): what each store showed when last read, what was last sent and what is drafted, with ages and drift; `refresh --platform android [--part status|tracks|listing|app-content|account|policy|all]` reads Google again into it; `sync` exchanges it with the copy Wix keeps for the app and `pull` only fetches it, for a new computer, with your himi login: the site's owner writes it, and so does the Wix person helping with the app while the owner lets Wix submit it (`wix-submit start`), while a `--read-only` consent only lets them pull; after a job verifies, the record is pushed on its own (a failure is a warning; HIMI_STORE_RECORD_SYNC=off turns it off). `handoff` uploads the app's asc-node records (allowlisted ids, statuses and outcomes; never keys, cookies or passwords) so Wix can take the submission over, `--out`/`--dry-run` keep it local. `wix-submit start [--platform ios|android] [--read-only] [--yes]` lets Wix submit the app for you: after your yes it records your consent for 90 days (read and submit; on Android also Wix-signed builds and Play Console work; `--read-only` is read alone), sends the handoff, and on Android adds the Wix person helping with your app to YOUR Google Play account for 90 days, showing their name and email first, after a typed yes at a terminal (`--yes` answers the consent only; with no one named yet, Wix contacts you and you run start again); `wix-submit stop` withdraws the consent and removes everyone Wix added to your Google Play account for the app (non-zero while anyone may remain); `wix-submit status` shows the consent (scopes, recorded, expires), who is helping and whether they are on your Play account. All are site-owner only (`himi store wix-submit --help`). `google create-app --name <n>` creates the app in your own Play Console after you read Google's Create app declarations and type yes. The App Store Connect group behind `testflight`. `preflight <app>` checks readiness offline (icon, entitlements, encryption flag, version, store.config ids, listing + review record); `upload <app>` is what `testflight` runs; `status <app>` reads live build + processing state. `--profile` selects WHICH App Store Connect account: an app built for a Wix customer ships under the CUSTOMER's Apple team (Apple guideline 4.2.6 forbids an app-generation service submitting on a client's behalf), declared per-app as ios.credentialProfile in store.config.yaml and resolved from ~/.himalaya/store-credentials/<name>.json \u2014 the .p8 itself never enters the repo. `iap draft|plan|apply|status|connect|screenshots|check|mappings` registers an app owner's digital products as in-app purchases (non-consumables, or consumable price tiers): draft reads the Wix catalog and writes the manifest, plan and status only read, apply is the one App Store mutation boundary, connect readies the Wix site to sell them (purchases app, In-App Purchase key, appleIAP provider, product mappings; --preview-tag routes only its Serve calls to a deploy preview), legacy screenshots --profile renders each product's purchase screen from the app (--content) as a bound iPhone shows it to a signed-in member and names the 1290\xD72796 PNG as the item's App Review screenshot, and none of them builds, signs or needs a checkout (`himi docs iap-products`) IAP provisioning defaults to Catalog; managed apply generates screenshots on the server with no local .p8 or profile fallback; --managed is optional and --profile selects legacy mode; --catalog-route or HIMI_IAP_CATALOG_ROUTE has no default.", required: "app set --app <id> --site <msid> (--android-package himi.<name> | --link-only) | app show --app <id> --site <msid> | connect [--dir <app>] [--app <id> --site <msid>] [--no-key] [--profile <name>] | submission status|plan|rejection [--dir <app>] [--apple-id <id>] [--profile <name>] | submission apply (--batch <id> | --job <id>) --plan-hash <hash> | submission reply --text <reply> [--attach <file>]\u2026 [--thread <id>] [--dir <app>] | connect --platform android | submission status|plan|rejection --platform android [--dir <app>] [--issue <id>] | submission apply --platform android --job <id> --plan-hash <hash> | submission reply|approve-reply --platform android --issue <id> --kind appeal|resubmit --text <reply> [--dir <app>] | record show [--dir <app>] [--platform android|ios] [--part <part>] [--record-dir <dir>] | record refresh [--dir <app>] [--platform android] [--part <part>] | record sync|pull [--dir <app>] [--app <id> --site <msid>] [--record-dir <dir>] | handoff [--dir <app>] [--app <id> --site <msid>] [--apple-app-id <id>] [--out <file> | --dry-run] | wix-submit start [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--read-only] [--yes] [--developer <id>] [--android-package himi.<name>] | wix-submit stop [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--yes] [--developer <id>] | wix-submit status [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--developer <id>] | google create-app --name <app name> [--app <id> --site <msid>] [--developer <id>] [--android-package himi.<name>] | google testers pool-add|pool-remove|pool-check [--dir <app>] [--track himi-pool] | google testers consent grant|revoke|status [--dir <app>] | google keygen <package> [--out <file.p12>] [--alias <name>] [--name <certificate name>] | google resign <in.aab> --keystore <file.p12> (--storepass-file <file> | --storepass-env <NAME>) [--alias <name>] [--out <file.aab>] | apple-keys setup|status --app <slug> --site <metaSiteId> --bundle-id <id> [--asc-key-file <p8> --asc-key-id <id> --asc-issuer-id <issuer>] [--iap-key <p8> --iap-key-id <id> --iap-issuer-id <issuer>] [--yes|--dry-run] [--json] | preflight <app> [--profile <n>] | upload <app> [--track <t>] [--profile <n>] [--yes] [--dry-run] | status <app> [--profile <n>] | iap draft --site <msid> " + IAP_CREDENTIAL_OPTIONS + " --apple-app <id> --bundle <id> --base-territory <t> --out <f> [--territories <a,b>] [--locale <l>] [--mode per-item|tiers] [--merge <f>] [--report <f>] [--json] | iap plan --manifest <f> " + IAP_CREDENTIAL_OPTIONS + " --out <f> [--json] | iap apply --plan <f> " + IAP_CREDENTIAL_OPTIONS + " --out <f> [--yes] [--limit <n>] [--no-submit] [--json] | iap status --manifest <f> " + IAP_CREDENTIAL_OPTIONS + " [--out <f>] [--json] | iap connect --manifest <f> [--profile <n>] [--catalog-route <prefix>] [--iap-key <AuthKey.p8> --iap-key-id <id>] [--content <dir>] [--preview-tag dp-<tag>] [--dry-run] [--yes] [--out <f>] [--json] | iap screenshots --manifest <f> --content <dir> --profile <n> [--out-dir <d>] [--only <id,\u2026>] [--force] [--dry-run] [--json] | iap check --manifest <f> --catalog-route <prefix> [--purchases-app <id>] [--content <dir>] [--plist <file>] [--visitor-client <id>] [--json] | iap mappings --site <msid> --purchases-app <id> --catalog-route <prefix> [--product <id> --active true|false --yes] [--json]" },
169805
170343
  { name: "guide", summary: "print the Himalaya overview + headless dev loop + available topics (offline)", required: "[--json]" },
@@ -290231,6 +290769,7 @@ function scannableUrl(rec) {
290231
290769
  if (isAppStoreBuild(rec)) return void 0;
290232
290770
  if (rec.platform === "android" && rec.androidFormat === "aab") return a3.apk?.downloadUrl;
290233
290771
  if (rec.platform === "ios" && rec.iosFormat === "simulator") return void 0;
290772
+ if (rec.platform === "macos") return void 0;
290234
290773
  return rec.platform === "ios" ? a3.installPageUrl ?? a3.downloadUrl : a3.downloadUrl ?? a3.installPageUrl;
290235
290774
  }
290236
290775
  function isInternalOnlyBuild(r3) {
@@ -290423,6 +290962,11 @@ ${label4}`);
290423
290962
  io2.log(" QR omitted (an .aab is uploaded to Google Play; it does not install on a device)");
290424
290963
  return;
290425
290964
  }
290965
+ if (job.platform === "macos") {
290966
+ io2.log(" macos app");
290967
+ io2.log(" QR omitted (a Mac app is downloaded on a Mac; its link is above)");
290968
+ return;
290969
+ }
290426
290970
  const { isAppStoreBuild: isAppStoreBuild2 } = await Promise.resolve().then(() => (init_dist_links(), dist_links_exports));
290427
290971
  if (isAppStoreBuild2(job)) {
290428
290972
  io2.log(` ${String(job.platform)} App Store build`);
@@ -290568,7 +291112,7 @@ ${label4}`);
290568
291112
  if (!flags.json) {
290569
291113
  io2.log(` app ${rec.app} \xB7 ${rec.platform} \xB7 shell ${rec.shell ?? "?"} \xB7 ${String(rec.gitCommitSha ?? "").slice(0, 12)}`);
290570
291114
  io2.log(
290571
- rec.platform !== "ios" ? " signing: n/a (android signs with its own keystore)" : rec.signing === "byo" ? " signing: CUSTOMER \u2014 pinned personal team and ad-hoc profile; registered devices only" : minted ? " signing: MINTED \u2014 the job fetches its own identity; it will build under the app's own bundle id" : borrowed ? ` signing: BORROWED ${borrowed} \u2014 the binary carries another app's identifier and REPLACES it on the device` : " signing: none dispatched \u2014 the pool must find a profile itself, which fails when it has none.\n Minting is ON by default, so this means the serve plane either has HIMI_DIST_APPLE_SIGNING set to 0/false/off/no, or predates the minting route."
291115
+ rec.platform === "macos" ? " signing: ad hoc (not notarized: Control-click \u2192 Open on first launch)" : rec.platform !== "ios" ? " signing: n/a (android signs with its own keystore)" : rec.signing === "byo" ? " signing: CUSTOMER \u2014 pinned personal team and ad-hoc profile; registered devices only" : minted ? " signing: MINTED \u2014 the job fetches its own identity; it will build under the app's own bundle id" : borrowed ? ` signing: BORROWED ${borrowed} \u2014 the binary carries another app's identifier and REPLACES it on the device` : " signing: none dispatched \u2014 the pool must find a profile itself, which fails when it has none.\n Minting is ON by default, so this means the serve plane either has HIMI_DIST_APPLE_SIGNING set to 0/false/off/no, or predates the minting route."
290572
291116
  );
290573
291117
  if (rec.adoptedStoreId) {
290574
291118
  io2.log(` store identity: ADOPTED ${rec.adoptedStoreId}${rec.adoptedAppleTeamId ? ` (team ${rec.adoptedAppleTeamId})` : ""} \u2014 installs over the live store app`);
@@ -290660,14 +291204,14 @@ ${label4}`);
290660
291204
  const captchaSiteId = str3(flags.site) ?? (await appId(contentDir(flags)) === app2 ? captchaContentInput2(contentDir(flags)).siteId : void 0);
290661
291205
  const { captchaBindable: captchaBindable2 } = await Promise.resolve().then(() => (init_captcha_bindable(), captcha_bindable_exports));
290662
291206
  const { DEFAULT_DIST_SHELL: DEFAULT_DIST_SHELL2 } = await Promise.resolve().then(() => (init_dist_jobs(), dist_jobs_exports));
290663
- if (flags.force !== true && flags["skip-captcha-check"] !== true && captchaBindable2(distShell ?? DEFAULT_DIST_SHELL2, false)) {
291207
+ const captchaPlatforms = (platform?.length ? platform : str3(flags.destination) === "testflight" ? ["ios"] : ["android"]).filter((p2) => p2 !== "macos");
291208
+ if (flags.force !== true && flags["skip-captcha-check"] !== true && captchaPlatforms.length > 0 && captchaBindable2(distShell ?? DEFAULT_DIST_SHELL2, false)) {
290664
291209
  const verdict = await captchaDistGate2({
290665
291210
  client: c2,
290666
291211
  app: app2,
290667
291212
  release: str3(flags.release),
290668
291213
  requestedSite: captchaSiteId,
290669
- // The plane's own default when --platform is absent: Android (iOS for a customer TestFlight build).
290670
- platforms: platform?.length ? platform : str3(flags.destination) === "testflight" ? ["ios"] : ["android"]
291214
+ platforms: captchaPlatforms
290671
291215
  });
290672
291216
  if (verdict.refuse) {
290673
291217
  print({
@@ -290893,7 +291437,8 @@ ${label4}`);
290893
291437
  const handoff = rec.customerAppStore;
290894
291438
  const play = rec.playInternal;
290895
291439
  const handoffText = typeof handoff?.status === "string" ? ` testflight ${handoff.status}${handoff.error ? ` (${handoff.error})` : ""}` : typeof play?.status === "string" ? ` play internal ${play.status}${play.versionCode ? ` (versionCode ${play.versionCode})` : ""}${play.errorCode ? ` (${play.errorCode})` : ""}` : "";
290896
- io2.log(` ${rec.platform} ${rec.status}${handoffText}${installUrl ? isAab ? ` .aab for Google Play (${rec.ownerBundle ? "UNSIGNED: sign it before uploading" : "not installable"}) \u2192 ${installUrl}` : ` install \u2192 ${installUrl}` : ""}`);
291440
+ const verb = rec.platform === "macos" ? "download for Mac" : "install";
291441
+ io2.log(` ${rec.platform} ${rec.status}${handoffText}${installUrl ? isAab ? ` .aab for Google Play (${rec.ownerBundle ? "UNSIGNED: sign it before uploading" : "not installable"}) \u2192 ${installUrl}` : ` ${verb} \u2192 ${installUrl}` : ""}`);
290897
291442
  if (isAab && artifact?.apk?.downloadUrl) io2.log(` ${rec.platform} install APK (same build, QA key) \u2192 ${artifact.apk.downloadUrl}`);
290898
291443
  if (artifact?.caveat) io2.log(` \u26A0 ${artifact.caveat}`);
290899
291444
  }
@@ -309337,6 +309882,13 @@ var init_site_pages_apply = __esm({
309337
309882
  }
309338
309883
  });
309339
309884
 
309885
+ // ../native-config/macos-bundle-id.ts
309886
+ var init_macos_bundle_id = __esm({
309887
+ "../native-config/macos-bundle-id.ts"() {
309888
+ init_define_HHP_CATALOG();
309889
+ }
309890
+ });
309891
+
309340
309892
  // ../native-config/customer-build.ts
309341
309893
  var LOCAL_CONTRACT_REL;
309342
309894
  var init_customer_build = __esm({
@@ -309346,6 +309898,7 @@ var init_customer_build = __esm({
309346
309898
  init_splash();
309347
309899
  init_plan2();
309348
309900
  init_binding_spellings();
309901
+ init_macos_bundle_id();
309349
309902
  LOCAL_CONTRACT_REL = ".himi/provisioning.local.json";
309350
309903
  }
309351
309904
  });
@@ -1727,6 +1727,56 @@ returns it as a zip with exactly one `.app` at its root (MOBPUB-1500).
1727
1727
  `FAILURE` with `ios_format_not_built: …` and no artifact, and an IPA job that reports one fails
1728
1728
  with `ios_format_not_requested: …`.
1729
1729
 
1730
+ ### The native Mac app — `--platform macos`
1731
+
1732
+ `macos` is a third platform beside `ios` and `android`: the shell's native Mac app (`<shell>/macos`,
1733
+ `MacHimalayaAppShell`, which rides the iOS renderer), built on the same build machines as the iOS app with the release's
1734
+ contract, seed and icon, and returned as a zip with exactly one `.app`.
1735
+
1736
+ ```sh
1737
+ himi dist --app <app> --platform macos --release <id> --wait --target bo
1738
+ himi dist --app <app> --platform ios,android,macos --wait --target bo # one run, three builds
1739
+ ```
1740
+
1741
+ - **Which shells.** branded-lite, owner-lite and demo-app: each `DIST_SHELLS` entry with a
1742
+ `bundleId.macos`, pinned equal to its `macos/project.yml` by `dist-macos.test.ts`. Any other shell is
1743
+ refused `400 macos_shell_unsupported`, naming the ones that can. player and game have a macOS
1744
+ project but are refused for now: Player's `scripts/gen.sh` re-bakes its own seed over the release's,
1745
+ and game's `prepare:customer` does not brand its Mac tree, so either would ship content or branding
1746
+ that is not the release's. The same test fails once either reason stops holding.
1747
+ - **What you get:** the zip as `artifact.downloadUrl` (presigned, 7 days), with `artifact.sha256`,
1748
+ `artifact.bytes`, `artifact.expiresAt` and a `caveat` that says how to open it. It is a download for
1749
+ a Mac, so it has no install link and no QR, and it is never the app's phone link on the links
1750
+ surface. The run's install page (`/v1/dist/{jobId}/page`) shows a **Mac** card with a *Download for
1751
+ Mac* button only when the run built one; a phone-only run's page is unchanged.
1752
+ - **Signed ad hoc, not notarized yet.** Every macOS `project.yml` signs with the ad hoc identity
1753
+ (`CODE_SIGN_IDENTITY: "-"`), which Apple Silicon needs to run it at all, and the pool reads no
1754
+ signing identity, profile or keychain. So Gatekeeper refuses a double-click on the first launch:
1755
+ unzip, then **Control-click → Open** (or *System Settings → Privacy & Security → Open Anyway*). The
1756
+ CLI, the Slack DM, the job's `caveat` and the install page all say so. Developer ID signing and
1757
+ notarization (with the identity Wix's own macOS release builds already use) is the next step, not
1758
+ part of this lane.
1759
+ - **Refusals.** `signing: "byo"` is `400 macos_unsigned` (nothing customer-signs a Mac QA build); a
1760
+ release that carries native extensions is `400 macos_extensions_unsupported` (extension code is
1761
+ written into the iOS and Android projects only, so the Mac app would be built without it);
1762
+ TestFlight and Play internal refuse the platform already (`testflight_ios_only`,
1763
+ `play_internal_android_only`), and so does every store build.
1764
+ - **How the pool builds it.** `native-ci` `dist:macos` runs `run-dist.ts macos`: prepare:customer
1765
+ brands the Mac project too (it writes `macos/Config/<Shell>Customer.xcconfig`), the release seed is
1766
+ pinned into `macos/<Target>/Resources/seed`, the version is stamped into `macos/project.yml`, then
1767
+ xcodegen and `xcodebuild build -configuration Release -destination 'generic/platform=macOS'
1768
+ ONLY_ACTIVE_ARCH=NO HIMALAYA_DIST_BUILD=YES`, with no signing setting on the command line (it would
1769
+ reach the local Swift packages). The `.app` must list `MacOSX` in `CFBundleSupportedPlatforms` and be
1770
+ `MACOS` in every Mach-O slice before it is zipped; the seed gate and the `macos` binary-size budget
1771
+ run on the zip. The member CAPTCHA key is not baked (a declared macOS limitation). The bundle id is
1772
+ the one prepare:customer derives from the contract's iOS id (`<id>.mac.dev`, or `<id>.mac`), and a
1773
+ host shell (demo-app) keeps its committed one; the job reports the id read off the built `.app`,
1774
+ and the log line `[dist] macos: <App>.app <id> architectures=…` says which.
1775
+ - **Version skew.** The plane refuses a release whose commit cannot build the Mac app (`macos: 1` in
1776
+ its signing-protocol marker; `409 release_predates_macos`, `503 macos_builds_unavailable`,
1777
+ `501 macos_builds_unconfigured` without `HIMI_DIST_GITHUB_TOKEN`), because an older pool commit has
1778
+ no `dist:macos` script at all.
1779
+
1730
1780
  ### The iOS lane lives in one shared place
1731
1781
 
1732
1782
  `fastlane dist` runs with `cwd = <app>/ios`, so it needs `<app>/ios/fastlane/Fastfile`. That file is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.2002.0",
3
+ "version": "0.2004.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -82,5 +82,5 @@
82
82
  "artifactId": "himalaya-cli"
83
83
  }
84
84
  },
85
- "falconPackageHash": "e1e9a577acf7e306c3de65cf78c7ecea27be6db18769192430a98db7"
85
+ "falconPackageHash": "2fdc37f4143dfac7b9c4862f603cbab984a750141516a341ccf2e035"
86
86
  }