@wix/himalaya-cli 0.1898.0 → 0.1900.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.
Files changed (125) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/app-info/src/index.d.ts +1 -1
  2. package/dist/browser-plane/assets.json +5 -5
  3. package/dist/browser-plane/preview-deferred/{3c8ce407707a87e172345007371329f9c47e65e182a1e2ff617b7f75e6bb95ab.bin → e8580dd7946999b652493628a07600d2e5a0c7864cc0a8a807b8a20903f0698d.bin} +1 -1
  4. package/dist/browser-plane/sw.js +9 -9
  5. package/dist/cli.mjs +75771 -74157
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/ads.md +91 -0
  8. package/guides/himi-json-output.md +37 -2
  9. package/guides/index.json +6 -0
  10. package/guides/release-notes.md +10 -0
  11. package/package.json +2 -2
  12. package/templates/beauty-salon-owner/config.ts +32 -1
  13. package/templates/beauty-salon-owner/dev/index.ts +565 -1
  14. package/templates/beauty-salon-owner/himalaya.content.json +3 -0
  15. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  16. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  17. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  18. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  19. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  20. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  21. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  22. package/templates/beauty-salon-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  23. package/templates/community-club-owner/config.ts +32 -1
  24. package/templates/community-club-owner/dev/index.ts +538 -1
  25. package/templates/community-club-owner/himalaya.content.json +3 -0
  26. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  27. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  28. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  29. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  30. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  31. package/templates/community-club-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  32. package/templates/community-club-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  33. package/templates/events-meetups-owner/config.ts +32 -1
  34. package/templates/events-meetups-owner/dev/index.ts +511 -1
  35. package/templates/events-meetups-owner/himalaya.content.json +3 -0
  36. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  37. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  38. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  39. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  40. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  41. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  42. package/templates/gym-fitness-owner/config.ts +32 -1
  43. package/templates/gym-fitness-owner/dev/index.ts +565 -1
  44. package/templates/gym-fitness-owner/himalaya.content.json +3 -0
  45. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  46. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  47. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  48. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  49. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  50. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  51. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  52. package/templates/gym-fitness-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  53. package/templates/nonprofit-cause-owner/config.ts +32 -1
  54. package/templates/nonprofit-cause-owner/dev/index.ts +538 -1
  55. package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
  56. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  57. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  58. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  59. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  60. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  61. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  62. package/templates/nonprofit-cause-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  63. package/templates/owner-lite/config.ts +32 -1
  64. package/templates/owner-lite/dev/index.ts +565 -1
  65. package/templates/owner-lite/himalaya.content.json +3 -0
  66. package/templates/owner-lite/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  67. package/templates/owner-lite/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  68. package/templates/owner-lite/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  69. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  70. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  71. package/templates/owner-lite/tier5-src/himi-owner-lite-order/index.ts +5 -0
  72. package/templates/owner-lite/tier5-src/himi-owner-lite-record/index.ts +9 -3
  73. package/templates/owner-lite/tier5-src/wix-owner-booking/index.ts +9 -3
  74. package/templates/podcast-creator-owner/config.ts +32 -1
  75. package/templates/podcast-creator-owner/dev/index.ts +538 -1
  76. package/templates/podcast-creator-owner/himalaya.content.json +3 -0
  77. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  78. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  79. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  80. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  81. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  82. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  83. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  84. package/templates/portfolio-creative-owner/config.ts +32 -1
  85. package/templates/portfolio-creative-owner/dev/index.ts +565 -1
  86. package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
  87. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  88. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  89. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  90. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  91. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  92. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  93. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  94. package/templates/portfolio-creative-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  95. package/templates/restaurant-owner/config.ts +32 -1
  96. package/templates/restaurant-owner/dev/index.ts +565 -1
  97. package/templates/restaurant-owner/himalaya.content.json +3 -0
  98. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  99. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  100. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  101. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  102. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  103. package/templates/restaurant-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  104. package/templates/restaurant-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  105. package/templates/restaurant-owner/tier5-src/wix-owner-booking/index.ts +9 -3
  106. package/templates/retail-store-owner/config.ts +32 -1
  107. package/templates/retail-store-owner/dev/index.ts +538 -1
  108. package/templates/retail-store-owner/himalaya.content.json +3 -0
  109. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  110. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  111. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  112. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  113. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  114. package/templates/retail-store-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
  115. package/templates/retail-store-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  116. package/templates/yoga-studio-owner/config.ts +32 -1
  117. package/templates/yoga-studio-owner/dev/index.ts +538 -1
  118. package/templates/yoga-studio-owner/himalaya.content.json +3 -0
  119. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
  120. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
  121. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
  122. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
  123. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
  124. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
  125. package/templates/yoga-studio-owner/tier5-src/wix-owner-booking/index.ts +9 -3
@@ -13093,6 +13093,32 @@ const SCREENS = runtimeSetting({
13093
13093
  "hiddenPath": "$service:himiOwnerRecord.hideContent"
13094
13094
  }
13095
13095
  },
13096
+ {
13097
+ "id": "himi_owner_lite_record_contacts.ask_maestro",
13098
+ "body": {
13099
+ "package": "himalaya",
13100
+ "type": "Button",
13101
+ "props": {
13102
+ "title": "Ask Maestro",
13103
+ "style": "secondary",
13104
+ "fullWidth": true,
13105
+ "leadingIcon": "ai",
13106
+ "action": {
13107
+ "actionId": "himi.open",
13108
+ "params": {
13109
+ "screenId": "himi_owner_lite_maestro",
13110
+ "kind": "contact",
13111
+ "id": "$service:himiOwnerRecord.id",
13112
+ "title": "Maestro",
13113
+ "subtitle": "Your business assistant, by Symphony."
13114
+ }
13115
+ }
13116
+ }
13117
+ },
13118
+ "modifiers": {
13119
+ "hiddenPath": "$service:himiOwnerRecord.askMaestroHidden"
13120
+ }
13121
+ },
13096
13122
  {
13097
13123
  "id": "",
13098
13124
  "body": {
@@ -64336,6 +64362,139 @@ const SCREENS = runtimeSetting({
64336
64362
  "modifiers": {
64337
64363
  "hiddenPath": "$item.thinkingHidden"
64338
64364
  }
64365
+ },
64366
+ {
64367
+ "id": "himi_owner_lite_maestro.card_$item.id",
64368
+ "body": {
64369
+ "package": "himalaya",
64370
+ "type": "VStack",
64371
+ "props": {
64372
+ "spacing": 8,
64373
+ "alignment": "leading",
64374
+ "children": [
64375
+ {
64376
+ "id": "",
64377
+ "body": {
64378
+ "package": "himalaya",
64379
+ "type": "Text",
64380
+ "props": {
64381
+ "text": "$item.cardTitle",
64382
+ "style": "bodyEmphasis",
64383
+ "maxLines": 4,
64384
+ "textDirection": "auto"
64385
+ }
64386
+ }
64387
+ },
64388
+ {
64389
+ "id": "",
64390
+ "body": {
64391
+ "package": "himalaya",
64392
+ "type": "Text",
64393
+ "props": {
64394
+ "text": "$item.cardText",
64395
+ "style": "footnote",
64396
+ "color": "textSecondary",
64397
+ "maxLines": 8,
64398
+ "collapseWhenEmpty": true,
64399
+ "textDirection": "auto"
64400
+ }
64401
+ }
64402
+ },
64403
+ {
64404
+ "id": "",
64405
+ "body": {
64406
+ "package": "himalaya",
64407
+ "type": "Text",
64408
+ "props": {
64409
+ "text": "$item.cardStatus",
64410
+ "style": "footnote",
64411
+ "color": "textSecondary",
64412
+ "maxLines": 3,
64413
+ "collapseWhenEmpty": true
64414
+ }
64415
+ }
64416
+ },
64417
+ {
64418
+ "id": "",
64419
+ "body": {
64420
+ "package": "himalaya",
64421
+ "type": "HStack",
64422
+ "props": {
64423
+ "spacing": 8,
64424
+ "children": [
64425
+ {
64426
+ "id": "himi_owner_lite_maestro.cardPrimary_$item.id",
64427
+ "body": {
64428
+ "package": "himalaya",
64429
+ "type": "Button",
64430
+ "props": {
64431
+ "title": "$item.primaryLabel",
64432
+ "style": "primary",
64433
+ "size": "sm",
64434
+ "fullWidth": false,
64435
+ "action": {
64436
+ "actionId": "tier5.himiOwnerLiteMaestro.cardPrimary",
64437
+ "params": {
64438
+ "id": "$item.id"
64439
+ }
64440
+ }
64441
+ }
64442
+ },
64443
+ "modifiers": {
64444
+ "hiddenPath": "$item.primaryHidden"
64445
+ }
64446
+ },
64447
+ {
64448
+ "id": "himi_owner_lite_maestro.cardSecondary_$item.id",
64449
+ "body": {
64450
+ "package": "himalaya",
64451
+ "type": "Button",
64452
+ "props": {
64453
+ "title": "$item.secondaryLabel",
64454
+ "style": "secondary",
64455
+ "size": "sm",
64456
+ "fullWidth": false,
64457
+ "action": {
64458
+ "actionId": "tier5.himiOwnerLiteMaestro.cardSecondary",
64459
+ "params": {
64460
+ "id": "$item.id"
64461
+ }
64462
+ }
64463
+ }
64464
+ },
64465
+ "modifiers": {
64466
+ "hiddenPath": "$item.secondaryHidden"
64467
+ }
64468
+ },
64469
+ {
64470
+ "id": "",
64471
+ "body": {
64472
+ "package": "himalaya",
64473
+ "type": "Spacer",
64474
+ "props": {}
64475
+ }
64476
+ }
64477
+ ]
64478
+ }
64479
+ }
64480
+ }
64481
+ ]
64482
+ }
64483
+ },
64484
+ "modifiers": {
64485
+ "padding": {
64486
+ "leading": 14,
64487
+ "trailing": 14,
64488
+ "top": 14,
64489
+ "bottom": 14
64490
+ },
64491
+ "background": {
64492
+ "token": "surfaceSecondary"
64493
+ },
64494
+ "cornerRadius": 16,
64495
+ "fillMaxWidth": true,
64496
+ "hiddenPath": "$item.cardHidden"
64497
+ }
64339
64498
  }
64340
64499
  ]
64341
64500
  }
@@ -64406,7 +64565,8 @@ const SCREENS = runtimeSetting({
64406
64565
  "declaredCapabilities": [
64407
64566
  "wix_api",
64408
64567
  "stream",
64409
- "app_info"
64568
+ "app_info",
64569
+ "open_url"
64410
64570
  ],
64411
64571
  "minBinaryVersion": "0.1.0",
64412
64572
  "bundleVersion": "0.0.1"
@@ -64419,6 +64579,20 @@ const SCREENS = runtimeSetting({
64419
64579
  "props": {
64420
64580
  "spacing": 8,
64421
64581
  "children": [
64582
+ {
64583
+ "id": "himi_owner_lite_maestro.context",
64584
+ "body": {
64585
+ "package": "himalaya",
64586
+ "type": "Text",
64587
+ "props": {
64588
+ "text": "$service:himiOwnerLiteMaestro.contextLabel",
64589
+ "style": "footnote",
64590
+ "color": "textSecondary",
64591
+ "maxLines": 1,
64592
+ "collapseWhenEmpty": true
64593
+ }
64594
+ }
64595
+ },
64422
64596
  {
64423
64597
  "id": "",
64424
64598
  "body": {
@@ -64427,6 +64601,27 @@ const SCREENS = runtimeSetting({
64427
64601
  "props": {}
64428
64602
  }
64429
64603
  },
64604
+ {
64605
+ "id": "himi_owner_lite_maestro.history",
64606
+ "body": {
64607
+ "package": "himalaya",
64608
+ "type": "Button",
64609
+ "props": {
64610
+ "title": "History",
64611
+ "style": "link",
64612
+ "size": "sm",
64613
+ "fullWidth": false,
64614
+ "action": {
64615
+ "actionId": "himi.open",
64616
+ "params": {
64617
+ "screenId": "himi_owner_lite_maestro_history",
64618
+ "title": "Conversations",
64619
+ "subtitle": "Pick up where you left off."
64620
+ }
64621
+ }
64622
+ }
64623
+ }
64624
+ },
64430
64625
  {
64431
64626
  "id": "himi_owner_lite_maestro.newChat",
64432
64627
  "body": {
@@ -64629,6 +64824,321 @@ const SCREENS = runtimeSetting({
64629
64824
  "replaces": "himi_owner_lite_maestro.header"
64630
64825
  }
64631
64826
  },
64827
+ "himi_owner_lite_maestro_history": {
64828
+ "screenId": "himi_owner_lite_maestro_history",
64829
+ "renderer": "sdui_intent",
64830
+ "title": "",
64831
+ "schemaVersion": 1,
64832
+ "cacheControl": {
64833
+ "maxAge": 0,
64834
+ "staleWhileRevalidate": 0
64835
+ },
64836
+ "telemetryScreenName": "himi_owner_lite_maestro_history",
64837
+ "payload": {
64838
+ "id": "himi_owner_lite_maestro_history.root",
64839
+ "body": {
64840
+ "package": "himalaya",
64841
+ "type": "VStack",
64842
+ "props": {
64843
+ "spacing": 16,
64844
+ "alignment": "leading",
64845
+ "children": [
64846
+ {
64847
+ "id": "himi_owner_lite_maestro_history.header",
64848
+ "body": {
64849
+ "package": "himalaya",
64850
+ "type": "VStack",
64851
+ "props": {
64852
+ "spacing": 4,
64853
+ "alignment": "leading",
64854
+ "children": [
64855
+ {
64856
+ "id": "himi_owner_lite_maestro_history.header.title",
64857
+ "body": {
64858
+ "package": "himalaya",
64859
+ "type": "Text",
64860
+ "props": {
64861
+ "text": "Conversations",
64862
+ "style": "title1"
64863
+ }
64864
+ },
64865
+ "modifiers": {
64866
+ "headingLevel": 1
64867
+ }
64868
+ },
64869
+ {
64870
+ "id": "",
64871
+ "body": {
64872
+ "package": "himalaya",
64873
+ "type": "Text",
64874
+ "props": {
64875
+ "text": "Pick up where you left off.",
64876
+ "style": "footnote",
64877
+ "color": "textSecondary",
64878
+ "collapseWhenEmpty": true
64879
+ }
64880
+ }
64881
+ }
64882
+ ]
64883
+ }
64884
+ }
64885
+ },
64886
+ {
64887
+ "id": "",
64888
+ "body": {
64889
+ "package": "himalaya",
64890
+ "type": "Text",
64891
+ "props": {
64892
+ "text": "$service:himiOwnerLiteMaestroHistory.emptyText",
64893
+ "style": "body",
64894
+ "color": "textSecondary",
64895
+ "maxLines": 2,
64896
+ "collapseWhenEmpty": true
64897
+ }
64898
+ },
64899
+ "modifiers": {
64900
+ "padding": {
64901
+ "leading": 0,
64902
+ "trailing": 0,
64903
+ "top": 16,
64904
+ "bottom": 8
64905
+ }
64906
+ }
64907
+ },
64908
+ {
64909
+ "id": "himi_owner_lite_maestro_history.bound",
64910
+ "body": {
64911
+ "package": "himalaya",
64912
+ "type": "LazyList",
64913
+ "props": {
64914
+ "itemsPath": "$service:himiOwnerLiteMaestroHistory.items",
64915
+ "spacing": 0,
64916
+ "items": [
64917
+ {
64918
+ "id": "himi_owner_lite_maestro_history.row_$item.id",
64919
+ "body": {
64920
+ "package": "himalaya",
64921
+ "type": "VStack",
64922
+ "props": {
64923
+ "spacing": 0,
64924
+ "children": [
64925
+ {
64926
+ "id": "",
64927
+ "body": {
64928
+ "package": "himalaya",
64929
+ "type": "Text",
64930
+ "props": {
64931
+ "text": "$item.section",
64932
+ "style": "footnote",
64933
+ "color": "textSecondary",
64934
+ "maxLines": 1,
64935
+ "collapseWhenEmpty": true
64936
+ }
64937
+ },
64938
+ "modifiers": {
64939
+ "padding": {
64940
+ "leading": 0,
64941
+ "trailing": 0,
64942
+ "top": 14,
64943
+ "bottom": 4
64944
+ }
64945
+ }
64946
+ },
64947
+ {
64948
+ "id": "himi_owner_lite_maestro_history.card_$item.id",
64949
+ "body": {
64950
+ "package": "himalaya",
64951
+ "type": "HStack",
64952
+ "props": {
64953
+ "spacing": 12,
64954
+ "children": [
64955
+ {
64956
+ "id": "",
64957
+ "body": {
64958
+ "package": "himalaya",
64959
+ "type": "Icon",
64960
+ "props": {
64961
+ "name": "edit",
64962
+ "size": 20,
64963
+ "tint": "accentPrimary"
64964
+ }
64965
+ },
64966
+ "modifiers": {
64967
+ "accessibilityRole": "decorative"
64968
+ }
64969
+ },
64970
+ {
64971
+ "id": "",
64972
+ "body": {
64973
+ "package": "himalaya",
64974
+ "type": "VStack",
64975
+ "props": {
64976
+ "spacing": 2,
64977
+ "children": [
64978
+ {
64979
+ "id": "",
64980
+ "body": {
64981
+ "package": "himalaya",
64982
+ "type": "Text",
64983
+ "props": {
64984
+ "text": "$item.title",
64985
+ "style": "bodyEmphasis",
64986
+ "maxLines": 2
64987
+ }
64988
+ }
64989
+ },
64990
+ {
64991
+ "id": "",
64992
+ "body": {
64993
+ "package": "himalaya",
64994
+ "type": "Text",
64995
+ "props": {
64996
+ "text": "$item.subtitle",
64997
+ "style": "footnote",
64998
+ "color": "textSecondary",
64999
+ "maxLines": 1,
65000
+ "collapseWhenEmpty": true
65001
+ }
65002
+ }
65003
+ }
65004
+ ]
65005
+ }
65006
+ }
65007
+ },
65008
+ {
65009
+ "id": "",
65010
+ "body": {
65011
+ "package": "himalaya",
65012
+ "type": "Spacer",
65013
+ "props": {}
65014
+ }
65015
+ },
65016
+ {
65017
+ "id": "",
65018
+ "body": {
65019
+ "package": "himalaya",
65020
+ "type": "Icon",
65021
+ "props": {
65022
+ "name": "chevron_right",
65023
+ "size": 18,
65024
+ "tint": "textSecondary"
65025
+ }
65026
+ },
65027
+ "modifiers": {
65028
+ "accessibilityRole": "decorative"
65029
+ }
65030
+ }
65031
+ ]
65032
+ }
65033
+ },
65034
+ "modifiers": {
65035
+ "padding": {
65036
+ "leading": 0,
65037
+ "trailing": 0,
65038
+ "top": 12,
65039
+ "bottom": 12
65040
+ },
65041
+ "onTap": {
65042
+ "actionId": "himi.open",
65043
+ "params": {
65044
+ "screenId": "himi_owner_lite_maestro",
65045
+ "conversationId": "$item.id",
65046
+ "n": "$item.stamp",
65047
+ "title": "Maestro",
65048
+ "subtitle": "Your business assistant, by Symphony."
65049
+ }
65050
+ }
65051
+ }
65052
+ }
65053
+ ]
65054
+ }
65055
+ }
65056
+ }
65057
+ ]
65058
+ }
65059
+ },
65060
+ "modifiers": {
65061
+ "hiddenPath": "$service:himiOwnerLiteMaestroHistory.itemsHidden"
65062
+ }
65063
+ },
65064
+ {
65065
+ "id": "",
65066
+ "body": {
65067
+ "package": "himalaya",
65068
+ "type": "VStack",
65069
+ "props": {
65070
+ "spacing": 10,
65071
+ "alignment": "leading",
65072
+ "children": [
65073
+ {
65074
+ "id": "himi_owner_lite_maestro_history.error",
65075
+ "body": {
65076
+ "package": "himalaya",
65077
+ "type": "Text",
65078
+ "props": {
65079
+ "text": "$service:himiOwnerLiteMaestroHistory.error",
65080
+ "style": "body",
65081
+ "color": "textSecondary",
65082
+ "maxLines": 3
65083
+ }
65084
+ }
65085
+ },
65086
+ {
65087
+ "id": "himi_owner_lite_maestro_history.retry",
65088
+ "body": {
65089
+ "package": "himalaya",
65090
+ "type": "Button",
65091
+ "props": {
65092
+ "title": "Try again",
65093
+ "style": "secondary",
65094
+ "fullWidth": false,
65095
+ "action": {
65096
+ "actionId": "tier5.himiOwnerLiteMaestroHistory.load"
65097
+ }
65098
+ }
65099
+ }
65100
+ }
65101
+ ]
65102
+ }
65103
+ },
65104
+ "modifiers": {
65105
+ "hiddenPath": "$service:himiOwnerLiteMaestroHistory.errorHidden"
65106
+ }
65107
+ }
65108
+ ]
65109
+ }
65110
+ },
65111
+ "modifiers": {
65112
+ "background": {
65113
+ "token": "surfacePrimary"
65114
+ },
65115
+ "padding": {
65116
+ "leading": 16,
65117
+ "trailing": 16,
65118
+ "top": 18,
65119
+ "bottom": 24
65120
+ },
65121
+ "onAppear": {
65122
+ "actionId": "tier5.himiOwnerLiteMaestroHistory.load"
65123
+ }
65124
+ }
65125
+ },
65126
+ "logicBundle": {
65127
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-maestro-history",
65128
+ "integrity": "",
65129
+ "contentType": "application/javascript+ts-bundle",
65130
+ "declaredCapabilities": [
65131
+ "wix_api"
65132
+ ],
65133
+ "minBinaryVersion": "0.1.0",
65134
+ "bundleVersion": "0.0.1"
65135
+ },
65136
+ "hostTitle": {
65137
+ "title": "Conversations",
65138
+ "subtitle": "Pick up where you left off.",
65139
+ "replaces": "himi_owner_lite_maestro_history.header"
65140
+ }
65141
+ },
64632
65142
  "himi_owner_lite_sites": {
64633
65143
  "screenId": "himi_owner_lite_sites",
64634
65144
  "renderer": "sdui_intent",
@@ -83102,6 +83612,33 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
83102
83612
  "collapseWhenEmpty": true
83103
83613
  }
83104
83614
  }
83615
+ },
83616
+ {
83617
+ "id": "order_ask_maestro",
83618
+ "body": {
83619
+ "package": "himalaya",
83620
+ "type": "Button",
83621
+ "props": {
83622
+ "title": "Ask Maestro",
83623
+ "style": "secondary",
83624
+ "fullWidth": true,
83625
+ "leadingIcon": "ai",
83626
+ "action": {
83627
+ "actionId": "himi.open",
83628
+ "params": {
83629
+ "screenId": "himi_owner_lite_maestro",
83630
+ "kind": "order",
83631
+ "id": "$service:himiOwnerLiteOrder.id",
83632
+ "subject": "$service:himiOwnerLiteOrder.title",
83633
+ "title": "Maestro",
83634
+ "subtitle": "Your business assistant, by Symphony."
83635
+ }
83636
+ }
83637
+ }
83638
+ },
83639
+ "modifiers": {
83640
+ "hiddenPath": "$service:himiOwnerLiteOrder.askMaestroHidden"
83641
+ }
83105
83642
  }
83106
83643
  ]
83107
83644
  }
@@ -87027,6 +87564,33 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
87027
87564
  "collapseWhenEmpty": true
87028
87565
  }
87029
87566
  }
87567
+ },
87568
+ {
87569
+ "id": "booking_detail.ask_maestro",
87570
+ "body": {
87571
+ "package": "himalaya",
87572
+ "type": "Button",
87573
+ "props": {
87574
+ "title": "Ask Maestro",
87575
+ "style": "secondary",
87576
+ "fullWidth": true,
87577
+ "leadingIcon": "ai",
87578
+ "action": {
87579
+ "actionId": "himi.open",
87580
+ "params": {
87581
+ "screenId": "himi_owner_lite_maestro",
87582
+ "kind": "booking",
87583
+ "id": "$service:ownerBooking.id",
87584
+ "subject": "$service:ownerBooking.title",
87585
+ "title": "Maestro",
87586
+ "subtitle": "Your business assistant, by Symphony."
87587
+ }
87588
+ }
87589
+ }
87590
+ },
87591
+ "modifiers": {
87592
+ "hiddenPath": "$service:ownerBooking.askMaestroHidden"
87593
+ }
87030
87594
  }
87031
87595
  ]
87032
87596
  }
@@ -46,6 +46,9 @@
46
46
  "himi_owner_lite_maestro": {
47
47
  "displayName": "Maestro"
48
48
  },
49
+ "himi_owner_lite_maestro_history": {
50
+ "displayName": "Maestro History"
51
+ },
49
52
  "himi_owner_lite_manage": {
50
53
  "displayName": "Salon"
51
54
  },
@@ -34,6 +34,20 @@ export async function isSpaceWebsite(api: MaestroWixApi, account: string, site:
34
34
  return (res?.workspaces ?? []).some((w) => w?.website?.metaSiteId === site);
35
35
  }
36
36
 
37
+ /** Why a host cannot run a Maestro turn, or "" when it can.
38
+ *
39
+ * `old_host`: built before it could read a stream of JSON lines, so a turn delivers nothing.
40
+ * `deployed_web`: the web app as deployed. A turn there is relayed by the server that hosts the
41
+ * app, and that server refuses the stream route on Wix's public hosts, so a turn cannot be
42
+ * opened. The web app on a dev host has no such gate. */
43
+ export type HostCannotRunMaestro = "" | "old_host" | "deployed_web";
44
+
45
+ export function hostCannotRunMaestro(info: { platform?: string; environment?: string; ndjsonStreamAvailable?: boolean }): HostCannotRunMaestro {
46
+ if (info.ndjsonStreamAvailable !== true) return "old_host";
47
+ if (info.platform === "web" && info.environment !== "dev") return "deployed_web";
48
+ return "";
49
+ }
50
+
37
51
  export type MaestroAvailability =
38
52
  | { available: true; account: string }
39
53
  | { available: false; why: "no_site" | "no_account" | "not_connected" };