@wix/himalaya-cli 0.1868.0 → 0.1870.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 (86) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/state/src/index.d.ts +7 -1
  2. package/dist/browser-plane/assets.json +5 -5
  3. package/dist/browser-plane/preview-deferred/{606c83075130fbcd609b5aabaa1e6bac0bfb27bd362d1ce8eb5cbcb266e1f682.bin → ab91dfb9c348c8c78f942a5b88ba90df456c5b436e135d97791d5dd95d6a40dc.bin} +1 -1
  4. package/dist/browser-plane/sw.js +8 -8
  5. package/dist/cli.mjs +4867 -3183
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/himi-json-output.md +27 -0
  8. package/guides/one-app-to-himi-app.md +62 -0
  9. package/guides/release-notes.md +40 -0
  10. package/guides/sdk-reference.json +1 -1
  11. package/package.json +2 -2
  12. package/templates/bare-fashion/tier5-src/_shared/engine-intl.ts +9 -0
  13. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +9 -0
  14. package/templates/beauty-salon-owner/config.ts +7 -0
  15. package/templates/beauty-salon-owner/dev/index.ts +618 -0
  16. package/templates/beauty-salon-owner/himalaya.content.json +3 -0
  17. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +9 -0
  18. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  19. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +9 -0
  20. package/templates/branded-lite/tier5-src/_shared/one-app-widget-gate.ts +65 -0
  21. package/templates/brandy/tier5-src/_shared/engine-intl.ts +9 -0
  22. package/templates/community-club/tier5-src/_shared/engine-intl.ts +9 -0
  23. package/templates/community-club-owner/config.ts +7 -0
  24. package/templates/community-club-owner/dev/index.ts +618 -0
  25. package/templates/community-club-owner/himalaya.content.json +3 -0
  26. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +9 -0
  27. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  28. package/templates/conference/tier5-src/_shared/engine-intl.ts +9 -0
  29. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +9 -0
  30. package/templates/events-meetups-owner/config.ts +7 -0
  31. package/templates/events-meetups-owner/dev/index.ts +618 -0
  32. package/templates/events-meetups-owner/himalaya.content.json +3 -0
  33. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +9 -0
  34. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  35. package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +9 -0
  36. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +9 -0
  37. package/templates/gym-fitness-owner/config.ts +7 -0
  38. package/templates/gym-fitness-owner/dev/index.ts +618 -0
  39. package/templates/gym-fitness-owner/himalaya.content.json +3 -0
  40. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +9 -0
  41. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  42. package/templates/medical-services/tier5-src/_shared/engine-intl.ts +9 -0
  43. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +9 -0
  44. package/templates/nonprofit-cause-owner/config.ts +7 -0
  45. package/templates/nonprofit-cause-owner/dev/index.ts +618 -0
  46. package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
  47. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +9 -0
  48. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  49. package/templates/owner-lite/config.ts +7 -0
  50. package/templates/owner-lite/dev/index.ts +618 -0
  51. package/templates/owner-lite/himalaya.content.json +3 -0
  52. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +9 -0
  53. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  54. package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +9 -0
  55. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +9 -0
  56. package/templates/podcast-creator-owner/config.ts +7 -0
  57. package/templates/podcast-creator-owner/dev/index.ts +618 -0
  58. package/templates/podcast-creator-owner/himalaya.content.json +3 -0
  59. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +9 -0
  60. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  61. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +9 -0
  62. package/templates/portfolio-creative-owner/config.ts +7 -0
  63. package/templates/portfolio-creative-owner/dev/index.ts +618 -0
  64. package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
  65. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +9 -0
  66. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  67. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +9 -0
  68. package/templates/restaurant-owner/config.ts +7 -0
  69. package/templates/restaurant-owner/dev/index.ts +618 -0
  70. package/templates/restaurant-owner/himalaya.content.json +3 -0
  71. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +9 -0
  72. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  73. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +9 -0
  74. package/templates/retail-store-owner/config.ts +7 -0
  75. package/templates/retail-store-owner/dev/index.ts +618 -0
  76. package/templates/retail-store-owner/himalaya.content.json +3 -0
  77. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +9 -0
  78. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
  79. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +9 -0
  80. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +9 -0
  81. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +9 -0
  82. package/templates/yoga-studio-owner/config.ts +7 -0
  83. package/templates/yoga-studio-owner/dev/index.ts +618 -0
  84. package/templates/yoga-studio-owner/himalaya.content.json +3 -0
  85. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +9 -0
  86. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
@@ -63627,6 +63627,624 @@ const SCREENS = runtimeSetting({
63627
63627
  "replaces": "himi_owner_lite_aria_history.header"
63628
63628
  }
63629
63629
  },
63630
+ "himi_owner_lite_maestro": {
63631
+ "screenId": "himi_owner_lite_maestro",
63632
+ "renderer": "sdui_intent",
63633
+ "title": "",
63634
+ "schemaVersion": 1,
63635
+ "cacheControl": {
63636
+ "maxAge": 0,
63637
+ "staleWhileRevalidate": 0
63638
+ },
63639
+ "telemetryScreenName": "himi_owner_lite_maestro",
63640
+ "payload": {
63641
+ "id": "himi_owner_lite_maestro.root",
63642
+ "body": {
63643
+ "package": "himalaya",
63644
+ "type": "VStack",
63645
+ "props": {
63646
+ "spacing": 16,
63647
+ "alignment": "leading",
63648
+ "children": [
63649
+ {
63650
+ "id": "himi_owner_lite_maestro.header",
63651
+ "body": {
63652
+ "package": "himalaya",
63653
+ "type": "VStack",
63654
+ "props": {
63655
+ "spacing": 4,
63656
+ "alignment": "leading",
63657
+ "children": [
63658
+ {
63659
+ "id": "himi_owner_lite_maestro.header.title",
63660
+ "body": {
63661
+ "package": "himalaya",
63662
+ "type": "Text",
63663
+ "props": {
63664
+ "text": "Maestro",
63665
+ "style": "title1"
63666
+ }
63667
+ },
63668
+ "modifiers": {
63669
+ "headingLevel": 1
63670
+ }
63671
+ },
63672
+ {
63673
+ "id": "",
63674
+ "body": {
63675
+ "package": "himalaya",
63676
+ "type": "Text",
63677
+ "props": {
63678
+ "text": "Your business assistant, by Symphony.",
63679
+ "style": "footnote",
63680
+ "color": "textSecondary",
63681
+ "collapseWhenEmpty": true
63682
+ }
63683
+ }
63684
+ }
63685
+ ]
63686
+ }
63687
+ }
63688
+ },
63689
+ {
63690
+ "id": "himi_owner_lite_maestro.checking",
63691
+ "body": {
63692
+ "package": "himalaya",
63693
+ "type": "Text",
63694
+ "props": {
63695
+ "text": "Connecting to Maestro…",
63696
+ "style": "footnote",
63697
+ "color": "textSecondary"
63698
+ }
63699
+ },
63700
+ "modifiers": {
63701
+ "hiddenPath": "$service:himiOwnerLiteMaestro.checkingHidden"
63702
+ }
63703
+ },
63704
+ {
63705
+ "id": "himi_owner_lite_maestro.unavailable",
63706
+ "body": {
63707
+ "package": "himalaya",
63708
+ "type": "VStack",
63709
+ "props": {
63710
+ "spacing": 12,
63711
+ "alignment": "leading",
63712
+ "children": [
63713
+ {
63714
+ "id": "himi_owner_lite_maestro.unavailable.title",
63715
+ "body": {
63716
+ "package": "himalaya",
63717
+ "type": "Text",
63718
+ "props": {
63719
+ "text": "$service:himiOwnerLiteMaestro.unavailableTitle",
63720
+ "style": "bodyEmphasis"
63721
+ }
63722
+ }
63723
+ },
63724
+ {
63725
+ "id": "",
63726
+ "body": {
63727
+ "package": "himalaya",
63728
+ "type": "Text",
63729
+ "props": {
63730
+ "text": "$service:himiOwnerLiteMaestro.unavailableText",
63731
+ "style": "body",
63732
+ "color": "textSecondary"
63733
+ }
63734
+ }
63735
+ },
63736
+ {
63737
+ "id": "himi_owner_lite_maestro.useAria",
63738
+ "body": {
63739
+ "package": "himalaya",
63740
+ "type": "Button",
63741
+ "props": {
63742
+ "title": "Ask Aria instead",
63743
+ "style": "primary",
63744
+ "fullWidth": true,
63745
+ "action": {
63746
+ "actionId": "himi.open",
63747
+ "params": {
63748
+ "screenId": "himi_owner_lite_aria",
63749
+ "title": "Aria"
63750
+ }
63751
+ }
63752
+ }
63753
+ }
63754
+ },
63755
+ {
63756
+ "id": "himi_owner_lite_maestro.retry",
63757
+ "body": {
63758
+ "package": "himalaya",
63759
+ "type": "Button",
63760
+ "props": {
63761
+ "title": "Try again",
63762
+ "style": "secondary",
63763
+ "fullWidth": true,
63764
+ "action": {
63765
+ "actionId": "tier5.himiOwnerLiteMaestro.load"
63766
+ }
63767
+ }
63768
+ }
63769
+ }
63770
+ ]
63771
+ }
63772
+ },
63773
+ "modifiers": {
63774
+ "hiddenPath": "$service:himiOwnerLiteMaestro.unavailableHidden"
63775
+ }
63776
+ },
63777
+ {
63778
+ "id": "himi_owner_lite_maestro.chat",
63779
+ "body": {
63780
+ "package": "himalaya",
63781
+ "type": "VStack",
63782
+ "props": {
63783
+ "spacing": 16,
63784
+ "alignment": "leading",
63785
+ "children": [
63786
+ {
63787
+ "id": "",
63788
+ "body": {
63789
+ "package": "himalaya",
63790
+ "type": "VStack",
63791
+ "props": {
63792
+ "spacing": 12,
63793
+ "alignment": "leading",
63794
+ "children": [
63795
+ {
63796
+ "id": "himi_owner_lite_maestro.greeting",
63797
+ "body": {
63798
+ "package": "himalaya",
63799
+ "type": "Text",
63800
+ "props": {
63801
+ "text": "Hi, I'm Maestro. Ask me to check on your business or to get something done.",
63802
+ "style": "body",
63803
+ "color": "textSecondary"
63804
+ }
63805
+ }
63806
+ },
63807
+ {
63808
+ "id": "himi_owner_lite_maestro.prompts",
63809
+ "body": {
63810
+ "package": "himalaya",
63811
+ "type": "LazyList",
63812
+ "props": {
63813
+ "itemsPath": "$service:himiOwnerLiteMaestro.prompts",
63814
+ "items": [
63815
+ {
63816
+ "id": "himi_owner_lite_maestro.prompt_$item.id",
63817
+ "body": {
63818
+ "package": "himalaya",
63819
+ "type": "Text",
63820
+ "props": {
63821
+ "text": "$item.title",
63822
+ "style": "bodyEmphasis",
63823
+ "maxLines": 2
63824
+ }
63825
+ },
63826
+ "modifiers": {
63827
+ "padding": {
63828
+ "leading": 14,
63829
+ "trailing": 14,
63830
+ "top": 14,
63831
+ "bottom": 14
63832
+ },
63833
+ "background": {
63834
+ "token": "surfaceSecondary"
63835
+ },
63836
+ "cornerRadius": 16,
63837
+ "fillMaxWidth": true,
63838
+ "onTap": {
63839
+ "actionId": "tier5.himiOwnerLiteMaestro.usePrompt",
63840
+ "params": {
63841
+ "id": "$item.id"
63842
+ }
63843
+ }
63844
+ }
63845
+ }
63846
+ ],
63847
+ "spacing": 8
63848
+ }
63849
+ }
63850
+ }
63851
+ ]
63852
+ }
63853
+ },
63854
+ "modifiers": {
63855
+ "hiddenPath": "$service:himiOwnerLiteMaestro.emptyHidden"
63856
+ }
63857
+ },
63858
+ {
63859
+ "id": "himi_owner_lite_maestro.messages",
63860
+ "body": {
63861
+ "package": "himalaya",
63862
+ "type": "LazyList",
63863
+ "props": {
63864
+ "itemsPath": "$service:himiOwnerLiteMaestro.messages",
63865
+ "items": [
63866
+ {
63867
+ "id": "himi_owner_lite_maestro.message_$item.id",
63868
+ "body": {
63869
+ "package": "himalaya",
63870
+ "type": "VStack",
63871
+ "props": {
63872
+ "spacing": 0,
63873
+ "alignment": "leading",
63874
+ "children": [
63875
+ {
63876
+ "id": "",
63877
+ "body": {
63878
+ "package": "himalaya",
63879
+ "type": "HStack",
63880
+ "props": {
63881
+ "spacing": 0,
63882
+ "children": [
63883
+ {
63884
+ "id": "",
63885
+ "body": {
63886
+ "package": "himalaya",
63887
+ "type": "Spacer",
63888
+ "props": {}
63889
+ }
63890
+ },
63891
+ {
63892
+ "id": "",
63893
+ "body": {
63894
+ "package": "himalaya",
63895
+ "type": "Text",
63896
+ "props": {
63897
+ "text": "$item.content",
63898
+ "style": "body",
63899
+ "maxLines": 50,
63900
+ "textDirection": "auto"
63901
+ }
63902
+ },
63903
+ "modifiers": {
63904
+ "padding": {
63905
+ "leading": 14,
63906
+ "trailing": 14,
63907
+ "top": 10,
63908
+ "bottom": 10
63909
+ },
63910
+ "background": {
63911
+ "token": "surfaceSecondary"
63912
+ },
63913
+ "cornerRadius": 18
63914
+ }
63915
+ }
63916
+ ]
63917
+ }
63918
+ },
63919
+ "modifiers": {
63920
+ "hiddenPath": "$item.userHidden"
63921
+ }
63922
+ },
63923
+ {
63924
+ "id": "",
63925
+ "body": {
63926
+ "package": "himalaya",
63927
+ "type": "Text",
63928
+ "props": {
63929
+ "text": "$item.content",
63930
+ "style": "body",
63931
+ "maxLines": 400,
63932
+ "animateReveal": true,
63933
+ "markdown": true,
63934
+ "textDirection": "auto"
63935
+ }
63936
+ },
63937
+ "modifiers": {
63938
+ "hiddenPath": "$item.assistantHidden"
63939
+ }
63940
+ },
63941
+ {
63942
+ "id": "",
63943
+ "body": {
63944
+ "package": "himalaya",
63945
+ "type": "Text",
63946
+ "props": {
63947
+ "text": "Working on it…",
63948
+ "style": "footnote",
63949
+ "color": "textSecondary",
63950
+ "maxLines": 1
63951
+ }
63952
+ },
63953
+ "modifiers": {
63954
+ "hiddenPath": "$item.thinkingHidden"
63955
+ }
63956
+ }
63957
+ ]
63958
+ }
63959
+ }
63960
+ }
63961
+ ],
63962
+ "spacing": 16
63963
+ }
63964
+ }
63965
+ },
63966
+ {
63967
+ "id": "himi_owner_lite_maestro.status",
63968
+ "body": {
63969
+ "package": "himalaya",
63970
+ "type": "Text",
63971
+ "props": {
63972
+ "text": "$service:himiOwnerLiteMaestro.statusText",
63973
+ "style": "footnote",
63974
+ "color": "textSecondary",
63975
+ "maxLines": 2,
63976
+ "collapseWhenEmpty": true
63977
+ }
63978
+ }
63979
+ },
63980
+ {
63981
+ "id": "himi_owner_lite_maestro.error",
63982
+ "body": {
63983
+ "package": "himalaya",
63984
+ "type": "Text",
63985
+ "props": {
63986
+ "text": "$service:himiOwnerLiteMaestro.error",
63987
+ "style": "footnote",
63988
+ "color": "danger",
63989
+ "maxLines": 3,
63990
+ "collapseWhenEmpty": true
63991
+ }
63992
+ }
63993
+ }
63994
+ ]
63995
+ }
63996
+ },
63997
+ "modifiers": {
63998
+ "hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
63999
+ }
64000
+ }
64001
+ ]
64002
+ }
64003
+ },
64004
+ "modifiers": {
64005
+ "background": {
64006
+ "token": "surfacePrimary"
64007
+ },
64008
+ "padding": {
64009
+ "leading": 16,
64010
+ "trailing": 16,
64011
+ "top": 18,
64012
+ "bottom": 24
64013
+ },
64014
+ "onAppear": {
64015
+ "actionId": "tier5.himiOwnerLiteMaestro.load"
64016
+ }
64017
+ }
64018
+ },
64019
+ "logicBundle": {
64020
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-maestro",
64021
+ "integrity": "",
64022
+ "contentType": "application/javascript+ts-bundle",
64023
+ "declaredCapabilities": [
64024
+ "wix_api",
64025
+ "stream"
64026
+ ],
64027
+ "minBinaryVersion": "0.1.0",
64028
+ "bundleVersion": "0.0.1"
64029
+ },
64030
+ "stickyHeader": {
64031
+ "id": "himi_owner_lite_maestro.controls",
64032
+ "body": {
64033
+ "package": "himalaya",
64034
+ "type": "HStack",
64035
+ "props": {
64036
+ "spacing": 8,
64037
+ "children": [
64038
+ {
64039
+ "id": "",
64040
+ "body": {
64041
+ "package": "himalaya",
64042
+ "type": "Spacer",
64043
+ "props": {}
64044
+ }
64045
+ },
64046
+ {
64047
+ "id": "himi_owner_lite_maestro.newChat",
64048
+ "body": {
64049
+ "package": "himalaya",
64050
+ "type": "Button",
64051
+ "props": {
64052
+ "title": "New chat",
64053
+ "style": "link",
64054
+ "size": "sm",
64055
+ "fullWidth": false,
64056
+ "action": {
64057
+ "actionId": "tier5.himiOwnerLiteMaestro.newChat"
64058
+ }
64059
+ }
64060
+ }
64061
+ }
64062
+ ]
64063
+ }
64064
+ },
64065
+ "modifiers": {
64066
+ "background": {
64067
+ "token": "surfacePrimary"
64068
+ },
64069
+ "padding": {
64070
+ "leading": 16,
64071
+ "trailing": 16,
64072
+ "top": 4,
64073
+ "bottom": 4
64074
+ },
64075
+ "hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
64076
+ }
64077
+ },
64078
+ "stickyFooter": {
64079
+ "id": "himi_owner_lite_maestro.composer",
64080
+ "body": {
64081
+ "package": "himalaya",
64082
+ "type": "VStack",
64083
+ "props": {
64084
+ "spacing": 8,
64085
+ "children": [
64086
+ {
64087
+ "id": "himi_owner_lite_maestro.quickReplies",
64088
+ "body": {
64089
+ "package": "himalaya",
64090
+ "type": "LazyList",
64091
+ "props": {
64092
+ "itemsPath": "$service:himiOwnerLiteMaestro.quickReplies",
64093
+ "items": [
64094
+ {
64095
+ "id": "himi_owner_lite_maestro.quickReply_$item.id",
64096
+ "body": {
64097
+ "package": "himalaya",
64098
+ "type": "Text",
64099
+ "props": {
64100
+ "text": "$item.label",
64101
+ "style": "footnote",
64102
+ "maxLines": 1
64103
+ }
64104
+ },
64105
+ "modifiers": {
64106
+ "padding": {
64107
+ "leading": 12,
64108
+ "trailing": 12,
64109
+ "top": 12,
64110
+ "bottom": 12
64111
+ },
64112
+ "background": {
64113
+ "token": "surfaceSecondary"
64114
+ },
64115
+ "cornerRadius": 16,
64116
+ "onTap": {
64117
+ "actionId": "tier5.himiOwnerLiteMaestro.answer",
64118
+ "params": {
64119
+ "id": "$item.id"
64120
+ }
64121
+ }
64122
+ }
64123
+ }
64124
+ ],
64125
+ "horizontal": true,
64126
+ "spacing": 8
64127
+ }
64128
+ },
64129
+ "modifiers": {
64130
+ "hiddenPath": "$service:himiOwnerLiteMaestro.quickRepliesHidden"
64131
+ }
64132
+ },
64133
+ {
64134
+ "id": "",
64135
+ "body": {
64136
+ "package": "himalaya",
64137
+ "type": "HStack",
64138
+ "props": {
64139
+ "spacing": 6,
64140
+ "children": [
64141
+ {
64142
+ "id": "",
64143
+ "body": {
64144
+ "package": "himalaya",
64145
+ "type": "Spacer",
64146
+ "props": {}
64147
+ }
64148
+ },
64149
+ {
64150
+ "id": "himi_owner_lite_maestro.stop",
64151
+ "body": {
64152
+ "package": "himalaya",
64153
+ "type": "Button",
64154
+ "props": {
64155
+ "title": "Stop",
64156
+ "style": "link",
64157
+ "size": "sm",
64158
+ "leadingIcon": "close",
64159
+ "fullWidth": false,
64160
+ "action": {
64161
+ "actionId": "tier5.himiOwnerLiteMaestro.stop"
64162
+ }
64163
+ }
64164
+ }
64165
+ }
64166
+ ]
64167
+ }
64168
+ },
64169
+ "modifiers": {
64170
+ "hiddenPath": "$service:himiOwnerLiteMaestro.idle"
64171
+ }
64172
+ },
64173
+ {
64174
+ "id": "form_maestro",
64175
+ "body": {
64176
+ "package": "himalaya",
64177
+ "type": "Form",
64178
+ "props": {
64179
+ "id": "maestro",
64180
+ "fields": [
64181
+ {
64182
+ "id": "field_message",
64183
+ "body": {
64184
+ "package": "himalaya",
64185
+ "type": "FormField",
64186
+ "props": {
64187
+ "id": "message",
64188
+ "label": "",
64189
+ "kind": "text",
64190
+ "text": {
64191
+ "value": "$service:himiOwnerLiteMaestro.input",
64192
+ "placeholder": "Ask Maestro…",
64193
+ "keyboard": "default",
64194
+ "autoCapitalization": "sentences",
64195
+ "multilineMaxLines": 4,
64196
+ "onChange": {
64197
+ "actionId": "tier5.himiOwnerLiteMaestro.setInput"
64198
+ }
64199
+ }
64200
+ }
64201
+ }
64202
+ }
64203
+ ],
64204
+ "submitButton": {
64205
+ "id": "himi_owner_lite_maestro.send",
64206
+ "body": {
64207
+ "package": "himalaya",
64208
+ "type": "Button",
64209
+ "props": {
64210
+ "title": "Send",
64211
+ "style": "primary",
64212
+ "action": {
64213
+ "actionId": "tier5.himiOwnerLiteMaestro.submit"
64214
+ }
64215
+ }
64216
+ }
64217
+ }
64218
+ }
64219
+ }
64220
+ }
64221
+ ]
64222
+ }
64223
+ },
64224
+ "modifiers": {
64225
+ "background": {
64226
+ "token": "surfacePrimary"
64227
+ },
64228
+ "padding": {
64229
+ "leading": 16,
64230
+ "trailing": 16,
64231
+ "top": 8,
64232
+ "bottom": 8
64233
+ },
64234
+ "hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
64235
+ }
64236
+ },
64237
+ "transcriptScroll": {
64238
+ "sendPath": "$service:himiOwnerLiteMaestro.scrollSend",
64239
+ "anchorPath": "$service:himiOwnerLiteMaestro.scrollAnchor",
64240
+ "jumpLabel": "Jump to latest"
64241
+ },
64242
+ "hostTitle": {
64243
+ "title": "Maestro",
64244
+ "subtitle": "Your business assistant, by Symphony.",
64245
+ "replaces": "himi_owner_lite_maestro.header"
64246
+ }
64247
+ },
63630
64248
  "himi_owner_lite_sites": {
63631
64249
  "screenId": "himi_owner_lite_sites",
63632
64250
  "renderer": "sdui_intent",
@@ -46,6 +46,9 @@
46
46
  "himi_owner_lite_inbox_thread": {
47
47
  "displayName": "Conversation"
48
48
  },
49
+ "himi_owner_lite_maestro": {
50
+ "displayName": "Maestro"
51
+ },
49
52
  "himi_owner_lite_manage": {
50
53
  "displayName": "Programme"
51
54
  },
@@ -27,6 +27,15 @@ export function hasIntl(): boolean {
27
27
  return typeof Intl !== "undefined";
28
28
  }
29
29
 
30
+ /** The device's IANA time zone, or "UTC" where this engine has no ECMA-402 or no zone data. */
31
+ export function deviceTimeZone(): string {
32
+ try {
33
+ const zone = typeof Intl !== "undefined" && Intl.DateTimeFormat().resolvedOptions().timeZone;
34
+ if (typeof zone === "string" && zone) return zone;
35
+ } catch { /* an engine with Intl but no zone data */ }
36
+ return "UTC";
37
+ }
38
+
30
39
  const MONTHS_SHORT = [
31
40
  "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
32
41
  ] as const;