@wix/himalaya-cli 0.2021.0 → 0.2023.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
@@ -3964,7 +3964,6 @@ var init_himi_package = __esm({
3964
3964
  var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
3965
3965
  var init_icon_catalog_generated = __esm({
3966
3966
  "../../core/ts/src/icon-catalog.generated.ts"() {
3967
- "use strict";
3968
3967
  init_define_HHP_CATALOG();
3969
3968
  ICON_VIEW_BOX = 24;
3970
3969
  ICON_STROKE_WIDTH = 2;
@@ -8483,6 +8482,7 @@ __export(dist_jobs_exports, {
8483
8482
  DEFAULT_DIST_SIGNING: () => DEFAULT_DIST_SIGNING,
8484
8483
  DEFAULT_GIT_URL: () => DEFAULT_GIT_URL,
8485
8484
  DEFAULT_IOS_FORMAT: () => DEFAULT_IOS_FORMAT,
8485
+ DESKTOP_DIST_PLATFORMS: () => DESKTOP_DIST_PLATFORMS,
8486
8486
  DIST_ERROR_CODES: () => DIST_ERROR_CODES,
8487
8487
  DIST_PACKAGE_NAME: () => DIST_PACKAGE_NAME,
8488
8488
  DIST_PARAMS_FLAG: () => DIST_PARAMS_FLAG,
@@ -8512,6 +8512,8 @@ __export(dist_jobs_exports, {
8512
8512
  hasJobServiceEnded: () => hasJobServiceEnded,
8513
8513
  iosFormatSkewFailed: () => iosFormatSkewFailed,
8514
8514
  isBorrowableIosId: () => isBorrowableIosId,
8515
+ isDesktopDistPlatform: () => isDesktopDistPlatform,
8516
+ isDownloadOnlyPlatform: () => isDownloadOnlyPlatform,
8515
8517
  isSuccess: () => isSuccess,
8516
8518
  isTerminal: () => isTerminal,
8517
8519
  isTerminalTestflightStatus: () => isTerminalTestflightStatus,
@@ -8526,6 +8528,12 @@ __export(dist_jobs_exports, {
8526
8528
  resolveIosFormat: () => resolveIosFormat,
8527
8529
  testflightStatusRank: () => testflightStatusRank
8528
8530
  });
8531
+ function isDesktopDistPlatform(platform) {
8532
+ return DESKTOP_DIST_PLATFORMS.includes(platform);
8533
+ }
8534
+ function isDownloadOnlyPlatform(platform) {
8535
+ return platform === "macos" || isDesktopDistPlatform(platform);
8536
+ }
8529
8537
  function isTerminal(status2) {
8530
8538
  return !!status2 && !IN_FLIGHT.has(status2);
8531
8539
  }
@@ -8885,11 +8893,12 @@ function withoutCallbackToken(params) {
8885
8893
  const { HIMI_DIST_CALLBACK_TOKEN: _printedByThePool, ...printable2 } = params;
8886
8894
  return printable2;
8887
8895
  }
8888
- var DIST_ERROR_CODES, APPLE_ERROR_CODES_MAX, IN_FLIGHT, JOB_SERVICE_ENDED, SCOPE_CREATE, SCOPE_READ, SCOPE_CANCEL, DEFAULT_BASE_URL, DEFAULT_OAUTH_URL, TOKEN_TTL_MS, JobServiceError, JobServiceBroker, CUSTOMER_UPLOAD_LEASE_MS, CUSTOMER_UPLOAD_RETRY_DELAYS_MS, CUSTOMER_UPLOAD_MAX_ATTEMPTS, CUSTOMER_UPLOAD_ABANDONED, MAX_MEASURABLE_IDENTITY_WINDOW, SITE_SHELL_SERVED_CAPABILITIES, DIST_SHELLS, DEFAULT_DIST_SHELL, DEFAULT_BORROWABLE_IOS_IDS, BUNDLE_ID_RE, DEFAULT_DIST_SIGNING, WIX_MANAGED_SIGNING_ALIASES, DEFAULT_ANDROID_SIGNING, ANDROID_SIGNING_POLICIES, ANDROID_SIGNING_ALIASES, DEFAULT_ANDROID_FORMAT, ANDROID_FORMATS, ANDROID_FORMAT_NOT_BUILT, ANDROID_FORMAT_WRONG_SIGNER, ANDROID_FORMAT_NOT_REQUESTED, DEFAULT_ANDROID_BUILD_TYPE, ANDROID_BUILD_TYPES, ANDROID_BUILD_TYPE_NOT_BUILT, DEFAULT_IOS_FORMAT, IOS_FORMATS, IOS_FORMAT_NOT_BUILT, IOS_FORMAT_NOT_REQUESTED, DEFAULT_GIT_URL, DIST_PACKAGE_NAME, DIST_PARAMS_FLAG, MAX_COMMAND_CHARS;
8896
+ var DESKTOP_DIST_PLATFORMS, DIST_ERROR_CODES, APPLE_ERROR_CODES_MAX, IN_FLIGHT, JOB_SERVICE_ENDED, SCOPE_CREATE, SCOPE_READ, SCOPE_CANCEL, DEFAULT_BASE_URL, DEFAULT_OAUTH_URL, TOKEN_TTL_MS, JobServiceError, JobServiceBroker, CUSTOMER_UPLOAD_LEASE_MS, CUSTOMER_UPLOAD_RETRY_DELAYS_MS, CUSTOMER_UPLOAD_MAX_ATTEMPTS, CUSTOMER_UPLOAD_ABANDONED, MAX_MEASURABLE_IDENTITY_WINDOW, SITE_SHELL_SERVED_CAPABILITIES, DIST_SHELLS, DEFAULT_DIST_SHELL, DEFAULT_BORROWABLE_IOS_IDS, BUNDLE_ID_RE, DEFAULT_DIST_SIGNING, WIX_MANAGED_SIGNING_ALIASES, DEFAULT_ANDROID_SIGNING, ANDROID_SIGNING_POLICIES, ANDROID_SIGNING_ALIASES, DEFAULT_ANDROID_FORMAT, ANDROID_FORMATS, ANDROID_FORMAT_NOT_BUILT, ANDROID_FORMAT_WRONG_SIGNER, ANDROID_FORMAT_NOT_REQUESTED, DEFAULT_ANDROID_BUILD_TYPE, ANDROID_BUILD_TYPES, ANDROID_BUILD_TYPE_NOT_BUILT, DEFAULT_IOS_FORMAT, IOS_FORMATS, IOS_FORMAT_NOT_BUILT, IOS_FORMAT_NOT_REQUESTED, DEFAULT_GIT_URL, DIST_PACKAGE_NAME, DIST_PARAMS_FLAG, MAX_COMMAND_CHARS;
8889
8897
  var init_dist_jobs = __esm({
8890
8898
  "../../core/serve-control/src/dist-jobs.ts"() {
8891
8899
  init_define_HHP_CATALOG();
8892
8900
  init_dist_release_contract();
8901
+ DESKTOP_DIST_PLATFORMS = ["macos-desktop", "windows-desktop", "linux-desktop"];
8893
8902
  DIST_ERROR_CODES = [
8894
8903
  "customer_agent_keychain_unavailable",
8895
8904
  "customer_app_store_ipa_unreadable",
@@ -44620,6 +44629,422 @@ var init_action_map = __esm({
44620
44629
  buttonName: "nano.account.logout.button"
44621
44630
  },
44622
44631
  rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/screens/AccountScreen/useAccountScreen.ts:110"
44632
+ },
44633
+ {
44634
+ id: "edit.undo",
44635
+ actionId: "tier5.edit.undo",
44636
+ screenId: "nano_edit_widget",
44637
+ biArgs: true,
44638
+ src: 191,
44639
+ endpoint: "oneapp",
44640
+ evid: 202,
44641
+ module: "nano",
44642
+ fields: {
44643
+ widgetId: "$route.widgetId",
44644
+ widgetVersionId: "$action.versionId",
44645
+ originScreen: "widgetEditScreen",
44646
+ viewName: "nano.editWidget.undo.button",
44647
+ buttonName: "nano.editWidget.undo.button",
44648
+ value: "$action.versionId"
44649
+ },
44650
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/widgetEditScreen/useVersionManagement.ts:147",
44651
+ differs: "The version is the one on screen at the tap (`$service:edit.versionId`, resolved for BI only, #6878), as RN's. RN's `widgetSessionId` has no Himi equivalent: not sent. A pre-#6878 host sends nothing for this tap."
44652
+ },
44653
+ {
44654
+ id: "edit.redo",
44655
+ actionId: "tier5.edit.redo",
44656
+ screenId: "nano_edit_widget",
44657
+ biArgs: true,
44658
+ src: 191,
44659
+ endpoint: "oneapp",
44660
+ evid: 202,
44661
+ module: "nano",
44662
+ fields: {
44663
+ widgetId: "$route.widgetId",
44664
+ widgetVersionId: "$action.versionId",
44665
+ originScreen: "widgetEditScreen",
44666
+ viewName: "nano.editWidget.redo.button",
44667
+ buttonName: "nano.editWidget.redo.button",
44668
+ value: "$action.versionId"
44669
+ },
44670
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/widgetEditScreen/useVersionManagement.ts:192",
44671
+ differs: "As edit.undo."
44672
+ },
44673
+ {
44674
+ id: "edit.panel.expand",
44675
+ actionId: "tier5.edit.expandPanel",
44676
+ screenId: "nano_edit_widget",
44677
+ when: {
44678
+ editing: "false"
44679
+ },
44680
+ biArgs: true,
44681
+ src: 191,
44682
+ endpoint: "oneapp",
44683
+ evid: 202,
44684
+ module: "nano",
44685
+ fields: {
44686
+ widgetId: "$route.widgetId",
44687
+ widgetVersionId: "$action.versionId",
44688
+ originScreen: "nano.editWidget",
44689
+ viewName: "nano.EditWidgetBottomSheet",
44690
+ buttonName: "nano.editWidget.bottomSheet.header",
44691
+ value: "expand_to_edit"
44692
+ },
44693
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/widgetEditScreen/components/EditWidgetBottomSheet.tsx:216",
44694
+ differs: "Not sent while an edit runs (`when` on `$service:edit.editing`), where the worker keeps the panel shut. RN's `widgetSessionId` has no Himi equivalent: not sent. A pre-#6878 host sends nothing for this tap."
44695
+ },
44696
+ {
44697
+ id: "edit.panel.collapse",
44698
+ actionId: "tier5.edit.collapsePanel",
44699
+ screenId: "nano_edit_widget",
44700
+ biArgs: true,
44701
+ src: 191,
44702
+ endpoint: "oneapp",
44703
+ evid: 202,
44704
+ module: "nano",
44705
+ fields: {
44706
+ widgetId: "$route.widgetId",
44707
+ widgetVersionId: "$action.versionId",
44708
+ originScreen: "nano.editWidget",
44709
+ viewName: "nano.EditWidgetBottomSheet",
44710
+ buttonName: "close_edit_widget",
44711
+ value: "collapse_to_header"
44712
+ },
44713
+ rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform/src/features/widgetEditScreen/components/EditWidgetBottomSheet.tsx:248",
44714
+ differs: "RN's `widgetSessionId` has no Himi equivalent: not sent. A pre-#6878 host sends nothing for this tap."
44715
+ },
44716
+ {
44717
+ id: "report.submit.hateSpeech",
44718
+ actionId: "tier5.report.submit",
44719
+ screenId: "nano_report_nano",
44720
+ once: "screen",
44721
+ when: {
44722
+ reason: "NANO_REPORT_REASON_HATE_SPEECH"
44723
+ },
44724
+ biArgs: true,
44725
+ src: 191,
44726
+ endpoint: "oneapp",
44727
+ evid: 203,
44728
+ module: "nano",
44729
+ fields: {
44730
+ widgetId: "$route.widgetId",
44731
+ originScreen: "nano.reportNano",
44732
+ viewName: "nano.reportNano",
44733
+ submitContext: "report nano",
44734
+ submitValues: '{"reason":"NANO_REPORT_REASON_HATE_SPEECH"}'
44735
+ },
44736
+ 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/ReportNano/useReportNano.ts:52",
44737
+ differs: "One entry per reason (`when` on `$service:report.selected`), so `submitValues` is a literal and never reads state. Nothing picked, nothing is sent: no entry matches an empty reason. A pre-#6878 host sends nothing for this tap."
44738
+ },
44739
+ {
44740
+ id: "report.submit.harassment",
44741
+ actionId: "tier5.report.submit",
44742
+ screenId: "nano_report_nano",
44743
+ once: "screen",
44744
+ when: {
44745
+ reason: "NANO_REPORT_REASON_HARASSMENT"
44746
+ },
44747
+ biArgs: true,
44748
+ src: 191,
44749
+ endpoint: "oneapp",
44750
+ evid: 203,
44751
+ module: "nano",
44752
+ fields: {
44753
+ widgetId: "$route.widgetId",
44754
+ originScreen: "nano.reportNano",
44755
+ viewName: "nano.reportNano",
44756
+ submitContext: "report nano",
44757
+ submitValues: '{"reason":"NANO_REPORT_REASON_HARASSMENT"}'
44758
+ },
44759
+ 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/ReportNano/useReportNano.ts:52",
44760
+ differs: "As report.submit.hateSpeech."
44761
+ },
44762
+ {
44763
+ id: "report.submit.suicide",
44764
+ actionId: "tier5.report.submit",
44765
+ screenId: "nano_report_nano",
44766
+ once: "screen",
44767
+ when: {
44768
+ reason: "NANO_REPORT_REASON_SUICIDE"
44769
+ },
44770
+ biArgs: true,
44771
+ src: 191,
44772
+ endpoint: "oneapp",
44773
+ evid: 203,
44774
+ module: "nano",
44775
+ fields: {
44776
+ widgetId: "$route.widgetId",
44777
+ originScreen: "nano.reportNano",
44778
+ viewName: "nano.reportNano",
44779
+ submitContext: "report nano",
44780
+ submitValues: '{"reason":"NANO_REPORT_REASON_SUICIDE"}'
44781
+ },
44782
+ 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/ReportNano/useReportNano.ts:52",
44783
+ differs: "As report.submit.hateSpeech."
44784
+ },
44785
+ {
44786
+ id: "report.submit.childSafety",
44787
+ actionId: "tier5.report.submit",
44788
+ screenId: "nano_report_nano",
44789
+ once: "screen",
44790
+ when: {
44791
+ reason: "NANO_REPORT_REASON_CHILD_SAFETY"
44792
+ },
44793
+ biArgs: true,
44794
+ src: 191,
44795
+ endpoint: "oneapp",
44796
+ evid: 203,
44797
+ module: "nano",
44798
+ fields: {
44799
+ widgetId: "$route.widgetId",
44800
+ originScreen: "nano.reportNano",
44801
+ viewName: "nano.reportNano",
44802
+ submitContext: "report nano",
44803
+ submitValues: '{"reason":"NANO_REPORT_REASON_CHILD_SAFETY"}'
44804
+ },
44805
+ 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/ReportNano/useReportNano.ts:52",
44806
+ differs: "As report.submit.hateSpeech."
44807
+ },
44808
+ {
44809
+ id: "report.submit.nudity",
44810
+ actionId: "tier5.report.submit",
44811
+ screenId: "nano_report_nano",
44812
+ once: "screen",
44813
+ when: {
44814
+ reason: "NANO_REPORT_REASON_NUDITY"
44815
+ },
44816
+ biArgs: true,
44817
+ src: 191,
44818
+ endpoint: "oneapp",
44819
+ evid: 203,
44820
+ module: "nano",
44821
+ fields: {
44822
+ widgetId: "$route.widgetId",
44823
+ originScreen: "nano.reportNano",
44824
+ viewName: "nano.reportNano",
44825
+ submitContext: "report nano",
44826
+ submitValues: '{"reason":"NANO_REPORT_REASON_NUDITY"}'
44827
+ },
44828
+ 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/ReportNano/useReportNano.ts:52",
44829
+ differs: "As report.submit.hateSpeech."
44830
+ },
44831
+ {
44832
+ id: "report.submit.scam",
44833
+ actionId: "tier5.report.submit",
44834
+ screenId: "nano_report_nano",
44835
+ once: "screen",
44836
+ when: {
44837
+ reason: "NANO_REPORT_REASON_SCAM"
44838
+ },
44839
+ biArgs: true,
44840
+ src: 191,
44841
+ endpoint: "oneapp",
44842
+ evid: 203,
44843
+ module: "nano",
44844
+ fields: {
44845
+ widgetId: "$route.widgetId",
44846
+ originScreen: "nano.reportNano",
44847
+ viewName: "nano.reportNano",
44848
+ submitContext: "report nano",
44849
+ submitValues: '{"reason":"NANO_REPORT_REASON_SCAM"}'
44850
+ },
44851
+ 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/ReportNano/useReportNano.ts:52",
44852
+ differs: "As report.submit.hateSpeech."
44853
+ },
44854
+ {
44855
+ id: "report.submit.misinformation",
44856
+ actionId: "tier5.report.submit",
44857
+ screenId: "nano_report_nano",
44858
+ once: "screen",
44859
+ when: {
44860
+ reason: "NANO_REPORT_REASON_MISINFORMATION"
44861
+ },
44862
+ biArgs: true,
44863
+ src: 191,
44864
+ endpoint: "oneapp",
44865
+ evid: 203,
44866
+ module: "nano",
44867
+ fields: {
44868
+ widgetId: "$route.widgetId",
44869
+ originScreen: "nano.reportNano",
44870
+ viewName: "nano.reportNano",
44871
+ submitContext: "report nano",
44872
+ submitValues: '{"reason":"NANO_REPORT_REASON_MISINFORMATION"}'
44873
+ },
44874
+ 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/ReportNano/useReportNano.ts:52",
44875
+ differs: "As report.submit.hateSpeech."
44876
+ },
44877
+ {
44878
+ id: "report.submit.ipViolation",
44879
+ actionId: "tier5.report.submit",
44880
+ screenId: "nano_report_nano",
44881
+ once: "screen",
44882
+ when: {
44883
+ reason: "NANO_REPORT_REASON_IP_VIOLATION"
44884
+ },
44885
+ biArgs: true,
44886
+ src: 191,
44887
+ endpoint: "oneapp",
44888
+ evid: 203,
44889
+ module: "nano",
44890
+ fields: {
44891
+ widgetId: "$route.widgetId",
44892
+ originScreen: "nano.reportNano",
44893
+ viewName: "nano.reportNano",
44894
+ submitContext: "report nano",
44895
+ submitValues: '{"reason":"NANO_REPORT_REASON_IP_VIOLATION"}'
44896
+ },
44897
+ 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/ReportNano/useReportNano.ts:52",
44898
+ differs: "As report.submit.hateSpeech."
44899
+ },
44900
+ {
44901
+ id: "mywidgets.sheet.edit",
44902
+ actionId: "tier5.mywidgets.sheetEdit",
44903
+ screenId: "nano_my_widgets",
44904
+ when: {
44905
+ open: "true"
44906
+ },
44907
+ biArgs: true,
44908
+ src: 191,
44909
+ endpoint: "oneapp",
44910
+ evid: 202,
44911
+ module: "nano",
44912
+ fields: {
44913
+ widgetId: "$action.widgetId",
44914
+ originScreen: "nano.myWidgets",
44915
+ buttonName: "nano.myWidgets.actionSheet.edit",
44916
+ viewName: "nano.myWidgets.actionSheet"
44917
+ },
44918
+ 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)",
44919
+ differs: "My Widgets' sheet is for a widget picked from the list: its id is the sheet's (`$service:mywidgets.sheet.widgetId`, resolved for BI only, #6878). A pre-#6878 host sends nothing for this tap."
44920
+ },
44921
+ {
44922
+ id: "mywidgets.sheet.rename",
44923
+ actionId: "tier5.mywidgets.sheetRename",
44924
+ screenId: "nano_my_widgets",
44925
+ when: {
44926
+ open: "true"
44927
+ },
44928
+ biArgs: true,
44929
+ src: 191,
44930
+ endpoint: "oneapp",
44931
+ evid: 202,
44932
+ module: "nano",
44933
+ fields: {
44934
+ widgetId: "$action.widgetId",
44935
+ originScreen: "nano.myWidgets",
44936
+ buttonName: "nano.myWidgets.actionSheet.edit",
44937
+ viewName: "nano.myWidgets.actionSheet"
44938
+ },
44939
+ 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)",
44940
+ differs: "As mywidgets.sheet.edit."
44941
+ },
44942
+ {
44943
+ id: "mywidgets.sheet.share",
44944
+ actionId: "tier5.mywidgets.sheetShare",
44945
+ screenId: "nano_my_widgets",
44946
+ when: {
44947
+ open: "true"
44948
+ },
44949
+ biArgs: true,
44950
+ src: 191,
44951
+ endpoint: "oneapp",
44952
+ evid: 202,
44953
+ module: "nano",
44954
+ fields: {
44955
+ widgetId: "$action.widgetId",
44956
+ originScreen: "nano.myWidgets",
44957
+ buttonName: "nano.myWidgets.shareJoin.button",
44958
+ viewName: "nano.myWidgets.actionSheet"
44959
+ },
44960
+ 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)",
44961
+ differs: "As mywidgets.sheet.edit."
44962
+ },
44963
+ {
44964
+ id: "mywidgets.sheet.shareCopy",
44965
+ actionId: "tier5.mywidgets.sheetShareCopy",
44966
+ screenId: "nano_my_widgets",
44967
+ when: {
44968
+ open: "true"
44969
+ },
44970
+ biArgs: true,
44971
+ src: 191,
44972
+ endpoint: "oneapp",
44973
+ evid: 202,
44974
+ module: "nano",
44975
+ fields: {
44976
+ widgetId: "$action.widgetId",
44977
+ originScreen: "nano.myWidgets",
44978
+ buttonName: "nano.myWidgets.share.button",
44979
+ viewName: "nano.myWidgets.actionSheet"
44980
+ },
44981
+ 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)",
44982
+ differs: "As mywidgets.sheet.edit."
44983
+ },
44984
+ {
44985
+ id: "mywidgets.sheet.duplicate",
44986
+ actionId: "tier5.mywidgets.sheetDuplicate",
44987
+ screenId: "nano_my_widgets",
44988
+ when: {
44989
+ open: "true"
44990
+ },
44991
+ biArgs: true,
44992
+ src: 191,
44993
+ endpoint: "oneapp",
44994
+ evid: 202,
44995
+ module: "nano",
44996
+ fields: {
44997
+ widgetId: "$action.widgetId",
44998
+ originScreen: "nano.myWidgets",
44999
+ buttonName: "nano.myWidgets.actionSheet.duplicate",
45000
+ viewName: "nano.myWidgets.actionSheet"
45001
+ },
45002
+ 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)",
45003
+ differs: "As mywidgets.sheet.edit."
45004
+ },
45005
+ {
45006
+ id: "share.publish",
45007
+ actionId: "tier5.sharecreation.primary",
45008
+ screenId: "nano_share_creation_to_explore",
45009
+ when: {
45010
+ publish: "true",
45011
+ busy: "false"
45012
+ },
45013
+ biArgs: true,
45014
+ src: 191,
45015
+ endpoint: "oneapp",
45016
+ evid: 202,
45017
+ module: "nano",
45018
+ fields: {
45019
+ widgetId: "$route.widgetId",
45020
+ originScreen: "nano.shareCreationToExplore",
45021
+ viewName: "nano.shareCreationToExplore",
45022
+ buttonName: "nano.shareCreationToExplore.publish.button"
45023
+ },
45024
+ 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",
45025
+ differs: "One bar item for RN's two: Publish while the toggle is on (`when` on `$service:sharecreation.publishToExplore`), else Done. The item is off until the creation is read and while it publishes; a tap while the share sheet is up is sent, where the worker ignores it. A pre-#6878 host sends nothing for this tap."
45026
+ },
45027
+ {
45028
+ id: "share.done",
45029
+ actionId: "tier5.sharecreation.primary",
45030
+ screenId: "nano_share_creation_to_explore",
45031
+ once: "screen",
45032
+ when: {
45033
+ publish: "false"
45034
+ },
45035
+ biArgs: true,
45036
+ src: 191,
45037
+ endpoint: "oneapp",
45038
+ evid: 202,
45039
+ module: "nano",
45040
+ fields: {
45041
+ widgetId: "$route.widgetId",
45042
+ originScreen: "nano.shareCreationToExplore",
45043
+ viewName: "nano.shareCreationToExplore",
45044
+ buttonName: "nano.shareCreationToExplore.done.button"
45045
+ },
45046
+ 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",
45047
+ differs: "As share.publish."
44623
45048
  }
44624
45049
  ]
44625
45050
  }
@@ -169801,7 +170226,8 @@ var init_cli_help = __esm({
169801
170226
  Cannot ADD a screen (screens are git-only, RFC 0012), and
169802
170227
  carries no attestation, source archive, assets, icon or
169803
170228
  minBinaryVersion \u2014 all named in the output.
169804
- himi dist [--app <a>] [--platform ios,android,macos] [--release <id>] [--allow-draft] [--target <t>]
170229
+ himi dist [--app <a>] [--platform ios,android,macos,macos-desktop,windows-desktop,linux-desktop]
170230
+ [--release <id>] [--allow-draft] [--target <t>]
169805
170231
  [--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app] [--signing wix-managed|byo]
169806
170232
  [--android-signing qa-keystore|wix-keystore|debug|owner] [--aab]
169807
170233
  [--package-name <id> --google-services <file>] [--min-version-code <n>]
@@ -170365,7 +170791,7 @@ Guides: ${DEVELOPER_PORTAL_URL}`;
170365
170791
  { 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)" },
170366
170792
  { 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)" },
170367
170793
  { 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)" },
170368
- { 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>]" },
170794
+ { 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. `--platform macos-desktop`, `windows-desktop` and `linux-desktop` build Himi Desktop installers (a `.dmg` for Apple silicon, an NSIS `.exe`, an AppImage) with the release baked in, from any shell; each is an unsigned download link, never a phone QR, and needs a published release. `--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,macos-desktop,windows-desktop,linux-desktop] [--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>]" },
170369
170795
  { 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]" },
170370
170796
  { 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]" },
170371
170797
  { name: "guide", summary: "print the Himalaya overview + headless dev loop + available topics (offline)", required: "[--json]" },
@@ -291045,7 +291471,7 @@ function scannableUrl(rec) {
291045
291471
  if (isAppStoreBuild(rec)) return void 0;
291046
291472
  if (rec.platform === "android" && rec.androidFormat === "aab") return a3.apk?.downloadUrl;
291047
291473
  if (rec.platform === "ios" && rec.iosFormat === "simulator") return void 0;
291048
- if (rec.platform === "macos") return void 0;
291474
+ if (isDownloadOnlyPlatform(rec.platform)) return void 0;
291049
291475
  return rec.platform === "ios" ? a3.installPageUrl ?? a3.downloadUrl : a3.downloadUrl ?? a3.installPageUrl;
291050
291476
  }
291051
291477
  function isInternalOnlyBuild(r3) {
@@ -291101,6 +291527,7 @@ var init_dist_links = __esm({
291101
291527
  "../../core/serve-control/src/dist-links.ts"() {
291102
291528
  init_define_HHP_CATALOG();
291103
291529
  init_app_link();
291530
+ init_dist_jobs();
291104
291531
  }
291105
291532
  });
291106
291533
 
@@ -291121,6 +291548,9 @@ var init_captcha_bindable = __esm({
291121
291548
  // src/commands/dist.ts
291122
291549
  import { existsSync as existsSync156, readFileSync as readFileSync185 } from "node:fs";
291123
291550
  import { join as join195 } from "node:path";
291551
+ function isDesktopPlatform(platform) {
291552
+ return platform === "macos-desktop" || platform === "windows-desktop" || platform === "linux-desktop";
291553
+ }
291124
291554
  function isCiEnvironment(env = process.env) {
291125
291555
  const ci2 = env.CI?.trim().toLowerCase();
291126
291556
  return env.GITHUB_ACTIONS === "true" || Boolean(env.BUILDKITE) || Boolean(ci2 && ci2 !== "0" && ci2 !== "false");
@@ -291243,6 +291673,11 @@ ${label4}`);
291243
291673
  io2.log(" QR omitted (a Mac app is downloaded on a Mac; its link is above)");
291244
291674
  return;
291245
291675
  }
291676
+ if (isDesktopPlatform(job.platform)) {
291677
+ io2.log(` ${String(job.platform)} installer`);
291678
+ io2.log(" QR omitted (a desktop installer is downloaded on a computer; its link is above)");
291679
+ return;
291680
+ }
291246
291681
  const { isAppStoreBuild: isAppStoreBuild2 } = await Promise.resolve().then(() => (init_dist_links(), dist_links_exports));
291247
291682
  if (isAppStoreBuild2(job)) {
291248
291683
  io2.log(` ${String(job.platform)} App Store build`);
@@ -291388,7 +291823,7 @@ ${label4}`);
291388
291823
  if (!flags.json) {
291389
291824
  io2.log(` app ${rec.app} \xB7 ${rec.platform} \xB7 shell ${rec.shell ?? "?"} \xB7 ${String(rec.gitCommitSha ?? "").slice(0, 12)}`);
291390
291825
  io2.log(
291391
- 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."
291826
+ rec.platform === "macos" ? " signing: ad hoc (not notarized: Control-click \u2192 Open on first launch)" : isDesktopPlatform(rec.platform) ? " signing: none (an unsigned Himi Desktop installer: the OS warns 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."
291392
291827
  );
291393
291828
  if (rec.adoptedStoreId) {
291394
291829
  io2.log(` store identity: ADOPTED ${rec.adoptedStoreId}${rec.adoptedAppleTeamId ? ` (team ${rec.adoptedAppleTeamId})` : ""} \u2014 installs over the live store app`);
@@ -291480,7 +291915,7 @@ ${label4}`);
291480
291915
  const captchaSiteId = str3(flags.site) ?? (await appId(contentDir(flags)) === app2 ? captchaContentInput2(contentDir(flags)).siteId : void 0);
291481
291916
  const { captchaBindable: captchaBindable2 } = await Promise.resolve().then(() => (init_captcha_bindable(), captcha_bindable_exports));
291482
291917
  const { DEFAULT_DIST_SHELL: DEFAULT_DIST_SHELL2 } = await Promise.resolve().then(() => (init_dist_jobs(), dist_jobs_exports));
291483
- const captchaPlatforms = (platform?.length ? platform : str3(flags.destination) === "testflight" ? ["ios"] : ["android"]).filter((p2) => p2 !== "macos");
291918
+ const captchaPlatforms = (platform?.length ? platform : str3(flags.destination) === "testflight" ? ["ios"] : ["android"]).filter((p2) => p2 !== "macos" && !isDesktopPlatform(p2));
291484
291919
  if (flags.force !== true && flags["skip-captcha-check"] !== true && captchaPlatforms.length > 0 && captchaBindable2(distShell ?? DEFAULT_DIST_SHELL2, false)) {
291485
291920
  const verdict = await captchaDistGate2({
291486
291921
  client: c2,
@@ -291713,7 +292148,7 @@ ${label4}`);
291713
292148
  const handoff = rec.customerAppStore;
291714
292149
  const play = rec.playInternal;
291715
292150
  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})` : ""}` : "";
291716
- const verb = rec.platform === "macos" ? "download for Mac" : "install";
292151
+ const verb = rec.platform === "macos" ? "download for Mac" : isDesktopPlatform(rec.platform) ? "download installer" : "install";
291717
292152
  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}` : ""}`);
291718
292153
  if (isAab && artifact?.apk?.downloadUrl) io2.log(` ${rec.platform} install APK (same build, QA key) \u2192 ${artifact.apk.downloadUrl}`);
291719
292154
  if (artifact?.caveat) io2.log(` \u26A0 ${artifact.caveat}`);
@@ -1777,6 +1777,44 @@ himi dist --app <app> --platform ios,android,macos --wait --target bo # one ru
1777
1777
  `501 macos_builds_unconfigured` without `HIMI_DIST_GITHUB_TOKEN`), because an older pool commit has
1778
1778
  no `dist:macos` script at all.
1779
1779
 
1780
+ ### Himi Desktop installers — `--platform macos-desktop,windows-desktop,linux-desktop`
1781
+
1782
+ Three more platforms build **Himi Desktop**, the Electron shell, as an installer for a computer, with
1783
+ the release baked in. Himi Desktop draws nothing of its own: it shows the same web renderer the
1784
+ website does, so no native shell is built, and every shell can make one.
1785
+
1786
+ ```sh
1787
+ himi dist --app <app> --platform macos-desktop --release <id> --wait --target bo
1788
+ himi dist --app <app> --platform macos-desktop,windows-desktop,linux-desktop --wait --target bo
1789
+ ```
1790
+
1791
+ | Platform | You get | First launch |
1792
+ |---|---|---|
1793
+ | `macos-desktop` | a `.dmg` for Apple silicon | not notarized: drag to Applications, then **Control-click → Open** |
1794
+ | `windows-desktop` | an NSIS `.exe` (x64) | unsigned: SmartScreen warns, **More info → Run anyway** |
1795
+ | `linux-desktop` | an `.AppImage` (x64) | `chmod +x`, then run it |
1796
+
1797
+ - **What is inside.** The pinned release, read the same way as every other build's seed
1798
+ (and checked the same way), packed as a snapshot `.himi` and baked into the installer. It opens that
1799
+ release offline, under the release's display name and a per-app id
1800
+ (`com.wix.himi.desktop.<app>`), so two apps' installers live side by side. The release's icon is
1801
+ used when it is a square PNG of at least 512×512; otherwise the installer keeps the default icon
1802
+ and the job's `caveat` says so.
1803
+ - **What you get back:** the installer as `artifact.downloadUrl` (presigned, 7 days), with
1804
+ `artifact.sha256`, `artifact.bytes`, `artifact.expiresAt` and a `caveat` that says how to open it.
1805
+ No install link and no QR; the run's install page shows a card per installer, with a download
1806
+ button, only when the run built one.
1807
+ - **Unsigned.** None of the three is signed: no Developer ID or notarization on the Mac, no
1808
+ Authenticode on Windows (its `.exe` also keeps Electron's own icon and version info). Signing is a
1809
+ later step.
1810
+ - **Not yet run on real Windows or Linux machines.** The installers are built on a Mac (no Wine
1811
+ needed), and only the Mac one has been opened so far.
1812
+ - **Refusals.** It needs a concrete published release (`400 desktop_release_required`). `signing:
1813
+ "byo"` is `400 desktop_unsigned`. TestFlight, Play internal and store builds refuse the platforms
1814
+ already. A release whose commit cannot build one is `409 release_predates_desktop` (`desktop: 1`
1815
+ in its signing-protocol marker), `503 desktop_builds_unavailable`, or `501
1816
+ desktop_builds_unconfigured`.
1817
+
1780
1818
  ### The iOS lane lives in one shared place
1781
1819
 
1782
1820
  `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.2021.0",
3
+ "version": "0.2023.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": "ee659fc0ef5ad3463395f9bd8458ec1fff2bd3f7d78969b818b2e6a4"
85
+ "falconPackageHash": "5714db7fad96f4bb10bbe265b8e1adff67139f218dd94ad0d7097746"
86
86
  }