@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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/state/src/index.d.ts +7 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{606c83075130fbcd609b5aabaa1e6bac0bfb27bd362d1ce8eb5cbcb266e1f682.bin → ab91dfb9c348c8c78f942a5b88ba90df456c5b436e135d97791d5dd95d6a40dc.bin} +1 -1
- package/dist/browser-plane/sw.js +8 -8
- package/dist/cli.mjs +4867 -3183
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/himi-json-output.md +27 -0
- package/guides/one-app-to-himi-app.md +62 -0
- package/guides/release-notes.md +40 -0
- package/guides/sdk-reference.json +1 -1
- package/package.json +2 -2
- package/templates/bare-fashion/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/beauty-salon-owner/config.ts +7 -0
- package/templates/beauty-salon-owner/dev/index.ts +618 -0
- package/templates/beauty-salon-owner/himalaya.content.json +3 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/branded-lite/tier5-src/_shared/one-app-widget-gate.ts +65 -0
- package/templates/brandy/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/community-club/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/community-club-owner/config.ts +7 -0
- package/templates/community-club-owner/dev/index.ts +618 -0
- package/templates/community-club-owner/himalaya.content.json +3 -0
- package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/conference/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/events-meetups-owner/config.ts +7 -0
- package/templates/events-meetups-owner/dev/index.ts +618 -0
- package/templates/events-meetups-owner/himalaya.content.json +3 -0
- package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/gym-fitness-owner/config.ts +7 -0
- package/templates/gym-fitness-owner/dev/index.ts +618 -0
- package/templates/gym-fitness-owner/himalaya.content.json +3 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/medical-services/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/nonprofit-cause-owner/config.ts +7 -0
- package/templates/nonprofit-cause-owner/dev/index.ts +618 -0
- package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/owner-lite/config.ts +7 -0
- package/templates/owner-lite/dev/index.ts +618 -0
- package/templates/owner-lite/himalaya.content.json +3 -0
- package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/podcast-creator-owner/config.ts +7 -0
- package/templates/podcast-creator-owner/dev/index.ts +618 -0
- package/templates/podcast-creator-owner/himalaya.content.json +3 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/portfolio-creative-owner/config.ts +7 -0
- package/templates/portfolio-creative-owner/dev/index.ts +618 -0
- package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/restaurant/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/restaurant-owner/config.ts +7 -0
- package/templates/restaurant-owner/dev/index.ts +618 -0
- package/templates/restaurant-owner/himalaya.content.json +3 -0
- package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/retail-store/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/retail-store-owner/config.ts +7 -0
- package/templates/retail-store-owner/dev/index.ts +618 -0
- package/templates/retail-store-owner/himalaya.content.json +3 -0
- package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
- package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/yoga-studio-owner/config.ts +7 -0
- package/templates/yoga-studio-owner/dev/index.ts +618 -0
- package/templates/yoga-studio-owner/himalaya.content.json +3 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +9 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +399 -0
|
@@ -63703,6 +63703,624 @@ const SCREENS = runtimeSetting({
|
|
|
63703
63703
|
"replaces": "himi_owner_lite_aria_history.header"
|
|
63704
63704
|
}
|
|
63705
63705
|
},
|
|
63706
|
+
"himi_owner_lite_maestro": {
|
|
63707
|
+
"screenId": "himi_owner_lite_maestro",
|
|
63708
|
+
"renderer": "sdui_intent",
|
|
63709
|
+
"title": "",
|
|
63710
|
+
"schemaVersion": 1,
|
|
63711
|
+
"cacheControl": {
|
|
63712
|
+
"maxAge": 0,
|
|
63713
|
+
"staleWhileRevalidate": 0
|
|
63714
|
+
},
|
|
63715
|
+
"telemetryScreenName": "himi_owner_lite_maestro",
|
|
63716
|
+
"payload": {
|
|
63717
|
+
"id": "himi_owner_lite_maestro.root",
|
|
63718
|
+
"body": {
|
|
63719
|
+
"package": "himalaya",
|
|
63720
|
+
"type": "VStack",
|
|
63721
|
+
"props": {
|
|
63722
|
+
"spacing": 16,
|
|
63723
|
+
"alignment": "leading",
|
|
63724
|
+
"children": [
|
|
63725
|
+
{
|
|
63726
|
+
"id": "himi_owner_lite_maestro.header",
|
|
63727
|
+
"body": {
|
|
63728
|
+
"package": "himalaya",
|
|
63729
|
+
"type": "VStack",
|
|
63730
|
+
"props": {
|
|
63731
|
+
"spacing": 4,
|
|
63732
|
+
"alignment": "leading",
|
|
63733
|
+
"children": [
|
|
63734
|
+
{
|
|
63735
|
+
"id": "himi_owner_lite_maestro.header.title",
|
|
63736
|
+
"body": {
|
|
63737
|
+
"package": "himalaya",
|
|
63738
|
+
"type": "Text",
|
|
63739
|
+
"props": {
|
|
63740
|
+
"text": "Maestro",
|
|
63741
|
+
"style": "title1"
|
|
63742
|
+
}
|
|
63743
|
+
},
|
|
63744
|
+
"modifiers": {
|
|
63745
|
+
"headingLevel": 1
|
|
63746
|
+
}
|
|
63747
|
+
},
|
|
63748
|
+
{
|
|
63749
|
+
"id": "",
|
|
63750
|
+
"body": {
|
|
63751
|
+
"package": "himalaya",
|
|
63752
|
+
"type": "Text",
|
|
63753
|
+
"props": {
|
|
63754
|
+
"text": "Your business assistant, by Symphony.",
|
|
63755
|
+
"style": "footnote",
|
|
63756
|
+
"color": "textSecondary",
|
|
63757
|
+
"collapseWhenEmpty": true
|
|
63758
|
+
}
|
|
63759
|
+
}
|
|
63760
|
+
}
|
|
63761
|
+
]
|
|
63762
|
+
}
|
|
63763
|
+
}
|
|
63764
|
+
},
|
|
63765
|
+
{
|
|
63766
|
+
"id": "himi_owner_lite_maestro.checking",
|
|
63767
|
+
"body": {
|
|
63768
|
+
"package": "himalaya",
|
|
63769
|
+
"type": "Text",
|
|
63770
|
+
"props": {
|
|
63771
|
+
"text": "Connecting to Maestro…",
|
|
63772
|
+
"style": "footnote",
|
|
63773
|
+
"color": "textSecondary"
|
|
63774
|
+
}
|
|
63775
|
+
},
|
|
63776
|
+
"modifiers": {
|
|
63777
|
+
"hiddenPath": "$service:himiOwnerLiteMaestro.checkingHidden"
|
|
63778
|
+
}
|
|
63779
|
+
},
|
|
63780
|
+
{
|
|
63781
|
+
"id": "himi_owner_lite_maestro.unavailable",
|
|
63782
|
+
"body": {
|
|
63783
|
+
"package": "himalaya",
|
|
63784
|
+
"type": "VStack",
|
|
63785
|
+
"props": {
|
|
63786
|
+
"spacing": 12,
|
|
63787
|
+
"alignment": "leading",
|
|
63788
|
+
"children": [
|
|
63789
|
+
{
|
|
63790
|
+
"id": "himi_owner_lite_maestro.unavailable.title",
|
|
63791
|
+
"body": {
|
|
63792
|
+
"package": "himalaya",
|
|
63793
|
+
"type": "Text",
|
|
63794
|
+
"props": {
|
|
63795
|
+
"text": "$service:himiOwnerLiteMaestro.unavailableTitle",
|
|
63796
|
+
"style": "bodyEmphasis"
|
|
63797
|
+
}
|
|
63798
|
+
}
|
|
63799
|
+
},
|
|
63800
|
+
{
|
|
63801
|
+
"id": "",
|
|
63802
|
+
"body": {
|
|
63803
|
+
"package": "himalaya",
|
|
63804
|
+
"type": "Text",
|
|
63805
|
+
"props": {
|
|
63806
|
+
"text": "$service:himiOwnerLiteMaestro.unavailableText",
|
|
63807
|
+
"style": "body",
|
|
63808
|
+
"color": "textSecondary"
|
|
63809
|
+
}
|
|
63810
|
+
}
|
|
63811
|
+
},
|
|
63812
|
+
{
|
|
63813
|
+
"id": "himi_owner_lite_maestro.useAria",
|
|
63814
|
+
"body": {
|
|
63815
|
+
"package": "himalaya",
|
|
63816
|
+
"type": "Button",
|
|
63817
|
+
"props": {
|
|
63818
|
+
"title": "Ask Aria instead",
|
|
63819
|
+
"style": "primary",
|
|
63820
|
+
"fullWidth": true,
|
|
63821
|
+
"action": {
|
|
63822
|
+
"actionId": "himi.open",
|
|
63823
|
+
"params": {
|
|
63824
|
+
"screenId": "himi_owner_lite_aria",
|
|
63825
|
+
"title": "Aria"
|
|
63826
|
+
}
|
|
63827
|
+
}
|
|
63828
|
+
}
|
|
63829
|
+
}
|
|
63830
|
+
},
|
|
63831
|
+
{
|
|
63832
|
+
"id": "himi_owner_lite_maestro.retry",
|
|
63833
|
+
"body": {
|
|
63834
|
+
"package": "himalaya",
|
|
63835
|
+
"type": "Button",
|
|
63836
|
+
"props": {
|
|
63837
|
+
"title": "Try again",
|
|
63838
|
+
"style": "secondary",
|
|
63839
|
+
"fullWidth": true,
|
|
63840
|
+
"action": {
|
|
63841
|
+
"actionId": "tier5.himiOwnerLiteMaestro.load"
|
|
63842
|
+
}
|
|
63843
|
+
}
|
|
63844
|
+
}
|
|
63845
|
+
}
|
|
63846
|
+
]
|
|
63847
|
+
}
|
|
63848
|
+
},
|
|
63849
|
+
"modifiers": {
|
|
63850
|
+
"hiddenPath": "$service:himiOwnerLiteMaestro.unavailableHidden"
|
|
63851
|
+
}
|
|
63852
|
+
},
|
|
63853
|
+
{
|
|
63854
|
+
"id": "himi_owner_lite_maestro.chat",
|
|
63855
|
+
"body": {
|
|
63856
|
+
"package": "himalaya",
|
|
63857
|
+
"type": "VStack",
|
|
63858
|
+
"props": {
|
|
63859
|
+
"spacing": 16,
|
|
63860
|
+
"alignment": "leading",
|
|
63861
|
+
"children": [
|
|
63862
|
+
{
|
|
63863
|
+
"id": "",
|
|
63864
|
+
"body": {
|
|
63865
|
+
"package": "himalaya",
|
|
63866
|
+
"type": "VStack",
|
|
63867
|
+
"props": {
|
|
63868
|
+
"spacing": 12,
|
|
63869
|
+
"alignment": "leading",
|
|
63870
|
+
"children": [
|
|
63871
|
+
{
|
|
63872
|
+
"id": "himi_owner_lite_maestro.greeting",
|
|
63873
|
+
"body": {
|
|
63874
|
+
"package": "himalaya",
|
|
63875
|
+
"type": "Text",
|
|
63876
|
+
"props": {
|
|
63877
|
+
"text": "Hi, I'm Maestro. Ask me to check on your business or to get something done.",
|
|
63878
|
+
"style": "body",
|
|
63879
|
+
"color": "textSecondary"
|
|
63880
|
+
}
|
|
63881
|
+
}
|
|
63882
|
+
},
|
|
63883
|
+
{
|
|
63884
|
+
"id": "himi_owner_lite_maestro.prompts",
|
|
63885
|
+
"body": {
|
|
63886
|
+
"package": "himalaya",
|
|
63887
|
+
"type": "LazyList",
|
|
63888
|
+
"props": {
|
|
63889
|
+
"itemsPath": "$service:himiOwnerLiteMaestro.prompts",
|
|
63890
|
+
"items": [
|
|
63891
|
+
{
|
|
63892
|
+
"id": "himi_owner_lite_maestro.prompt_$item.id",
|
|
63893
|
+
"body": {
|
|
63894
|
+
"package": "himalaya",
|
|
63895
|
+
"type": "Text",
|
|
63896
|
+
"props": {
|
|
63897
|
+
"text": "$item.title",
|
|
63898
|
+
"style": "bodyEmphasis",
|
|
63899
|
+
"maxLines": 2
|
|
63900
|
+
}
|
|
63901
|
+
},
|
|
63902
|
+
"modifiers": {
|
|
63903
|
+
"padding": {
|
|
63904
|
+
"leading": 14,
|
|
63905
|
+
"trailing": 14,
|
|
63906
|
+
"top": 14,
|
|
63907
|
+
"bottom": 14
|
|
63908
|
+
},
|
|
63909
|
+
"background": {
|
|
63910
|
+
"token": "surfaceSecondary"
|
|
63911
|
+
},
|
|
63912
|
+
"cornerRadius": 16,
|
|
63913
|
+
"fillMaxWidth": true,
|
|
63914
|
+
"onTap": {
|
|
63915
|
+
"actionId": "tier5.himiOwnerLiteMaestro.usePrompt",
|
|
63916
|
+
"params": {
|
|
63917
|
+
"id": "$item.id"
|
|
63918
|
+
}
|
|
63919
|
+
}
|
|
63920
|
+
}
|
|
63921
|
+
}
|
|
63922
|
+
],
|
|
63923
|
+
"spacing": 8
|
|
63924
|
+
}
|
|
63925
|
+
}
|
|
63926
|
+
}
|
|
63927
|
+
]
|
|
63928
|
+
}
|
|
63929
|
+
},
|
|
63930
|
+
"modifiers": {
|
|
63931
|
+
"hiddenPath": "$service:himiOwnerLiteMaestro.emptyHidden"
|
|
63932
|
+
}
|
|
63933
|
+
},
|
|
63934
|
+
{
|
|
63935
|
+
"id": "himi_owner_lite_maestro.messages",
|
|
63936
|
+
"body": {
|
|
63937
|
+
"package": "himalaya",
|
|
63938
|
+
"type": "LazyList",
|
|
63939
|
+
"props": {
|
|
63940
|
+
"itemsPath": "$service:himiOwnerLiteMaestro.messages",
|
|
63941
|
+
"items": [
|
|
63942
|
+
{
|
|
63943
|
+
"id": "himi_owner_lite_maestro.message_$item.id",
|
|
63944
|
+
"body": {
|
|
63945
|
+
"package": "himalaya",
|
|
63946
|
+
"type": "VStack",
|
|
63947
|
+
"props": {
|
|
63948
|
+
"spacing": 0,
|
|
63949
|
+
"alignment": "leading",
|
|
63950
|
+
"children": [
|
|
63951
|
+
{
|
|
63952
|
+
"id": "",
|
|
63953
|
+
"body": {
|
|
63954
|
+
"package": "himalaya",
|
|
63955
|
+
"type": "HStack",
|
|
63956
|
+
"props": {
|
|
63957
|
+
"spacing": 0,
|
|
63958
|
+
"children": [
|
|
63959
|
+
{
|
|
63960
|
+
"id": "",
|
|
63961
|
+
"body": {
|
|
63962
|
+
"package": "himalaya",
|
|
63963
|
+
"type": "Spacer",
|
|
63964
|
+
"props": {}
|
|
63965
|
+
}
|
|
63966
|
+
},
|
|
63967
|
+
{
|
|
63968
|
+
"id": "",
|
|
63969
|
+
"body": {
|
|
63970
|
+
"package": "himalaya",
|
|
63971
|
+
"type": "Text",
|
|
63972
|
+
"props": {
|
|
63973
|
+
"text": "$item.content",
|
|
63974
|
+
"style": "body",
|
|
63975
|
+
"maxLines": 50,
|
|
63976
|
+
"textDirection": "auto"
|
|
63977
|
+
}
|
|
63978
|
+
},
|
|
63979
|
+
"modifiers": {
|
|
63980
|
+
"padding": {
|
|
63981
|
+
"leading": 14,
|
|
63982
|
+
"trailing": 14,
|
|
63983
|
+
"top": 10,
|
|
63984
|
+
"bottom": 10
|
|
63985
|
+
},
|
|
63986
|
+
"background": {
|
|
63987
|
+
"token": "surfaceSecondary"
|
|
63988
|
+
},
|
|
63989
|
+
"cornerRadius": 18
|
|
63990
|
+
}
|
|
63991
|
+
}
|
|
63992
|
+
]
|
|
63993
|
+
}
|
|
63994
|
+
},
|
|
63995
|
+
"modifiers": {
|
|
63996
|
+
"hiddenPath": "$item.userHidden"
|
|
63997
|
+
}
|
|
63998
|
+
},
|
|
63999
|
+
{
|
|
64000
|
+
"id": "",
|
|
64001
|
+
"body": {
|
|
64002
|
+
"package": "himalaya",
|
|
64003
|
+
"type": "Text",
|
|
64004
|
+
"props": {
|
|
64005
|
+
"text": "$item.content",
|
|
64006
|
+
"style": "body",
|
|
64007
|
+
"maxLines": 400,
|
|
64008
|
+
"animateReveal": true,
|
|
64009
|
+
"markdown": true,
|
|
64010
|
+
"textDirection": "auto"
|
|
64011
|
+
}
|
|
64012
|
+
},
|
|
64013
|
+
"modifiers": {
|
|
64014
|
+
"hiddenPath": "$item.assistantHidden"
|
|
64015
|
+
}
|
|
64016
|
+
},
|
|
64017
|
+
{
|
|
64018
|
+
"id": "",
|
|
64019
|
+
"body": {
|
|
64020
|
+
"package": "himalaya",
|
|
64021
|
+
"type": "Text",
|
|
64022
|
+
"props": {
|
|
64023
|
+
"text": "Working on it…",
|
|
64024
|
+
"style": "footnote",
|
|
64025
|
+
"color": "textSecondary",
|
|
64026
|
+
"maxLines": 1
|
|
64027
|
+
}
|
|
64028
|
+
},
|
|
64029
|
+
"modifiers": {
|
|
64030
|
+
"hiddenPath": "$item.thinkingHidden"
|
|
64031
|
+
}
|
|
64032
|
+
}
|
|
64033
|
+
]
|
|
64034
|
+
}
|
|
64035
|
+
}
|
|
64036
|
+
}
|
|
64037
|
+
],
|
|
64038
|
+
"spacing": 16
|
|
64039
|
+
}
|
|
64040
|
+
}
|
|
64041
|
+
},
|
|
64042
|
+
{
|
|
64043
|
+
"id": "himi_owner_lite_maestro.status",
|
|
64044
|
+
"body": {
|
|
64045
|
+
"package": "himalaya",
|
|
64046
|
+
"type": "Text",
|
|
64047
|
+
"props": {
|
|
64048
|
+
"text": "$service:himiOwnerLiteMaestro.statusText",
|
|
64049
|
+
"style": "footnote",
|
|
64050
|
+
"color": "textSecondary",
|
|
64051
|
+
"maxLines": 2,
|
|
64052
|
+
"collapseWhenEmpty": true
|
|
64053
|
+
}
|
|
64054
|
+
}
|
|
64055
|
+
},
|
|
64056
|
+
{
|
|
64057
|
+
"id": "himi_owner_lite_maestro.error",
|
|
64058
|
+
"body": {
|
|
64059
|
+
"package": "himalaya",
|
|
64060
|
+
"type": "Text",
|
|
64061
|
+
"props": {
|
|
64062
|
+
"text": "$service:himiOwnerLiteMaestro.error",
|
|
64063
|
+
"style": "footnote",
|
|
64064
|
+
"color": "danger",
|
|
64065
|
+
"maxLines": 3,
|
|
64066
|
+
"collapseWhenEmpty": true
|
|
64067
|
+
}
|
|
64068
|
+
}
|
|
64069
|
+
}
|
|
64070
|
+
]
|
|
64071
|
+
}
|
|
64072
|
+
},
|
|
64073
|
+
"modifiers": {
|
|
64074
|
+
"hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
|
|
64075
|
+
}
|
|
64076
|
+
}
|
|
64077
|
+
]
|
|
64078
|
+
}
|
|
64079
|
+
},
|
|
64080
|
+
"modifiers": {
|
|
64081
|
+
"background": {
|
|
64082
|
+
"token": "surfacePrimary"
|
|
64083
|
+
},
|
|
64084
|
+
"padding": {
|
|
64085
|
+
"leading": 16,
|
|
64086
|
+
"trailing": 16,
|
|
64087
|
+
"top": 18,
|
|
64088
|
+
"bottom": 24
|
|
64089
|
+
},
|
|
64090
|
+
"onAppear": {
|
|
64091
|
+
"actionId": "tier5.himiOwnerLiteMaestro.load"
|
|
64092
|
+
}
|
|
64093
|
+
}
|
|
64094
|
+
},
|
|
64095
|
+
"logicBundle": {
|
|
64096
|
+
"url": "http://localhost:8190/v1/bundles/himi-owner-lite-maestro",
|
|
64097
|
+
"integrity": "",
|
|
64098
|
+
"contentType": "application/javascript+ts-bundle",
|
|
64099
|
+
"declaredCapabilities": [
|
|
64100
|
+
"wix_api",
|
|
64101
|
+
"stream"
|
|
64102
|
+
],
|
|
64103
|
+
"minBinaryVersion": "0.1.0",
|
|
64104
|
+
"bundleVersion": "0.0.1"
|
|
64105
|
+
},
|
|
64106
|
+
"stickyHeader": {
|
|
64107
|
+
"id": "himi_owner_lite_maestro.controls",
|
|
64108
|
+
"body": {
|
|
64109
|
+
"package": "himalaya",
|
|
64110
|
+
"type": "HStack",
|
|
64111
|
+
"props": {
|
|
64112
|
+
"spacing": 8,
|
|
64113
|
+
"children": [
|
|
64114
|
+
{
|
|
64115
|
+
"id": "",
|
|
64116
|
+
"body": {
|
|
64117
|
+
"package": "himalaya",
|
|
64118
|
+
"type": "Spacer",
|
|
64119
|
+
"props": {}
|
|
64120
|
+
}
|
|
64121
|
+
},
|
|
64122
|
+
{
|
|
64123
|
+
"id": "himi_owner_lite_maestro.newChat",
|
|
64124
|
+
"body": {
|
|
64125
|
+
"package": "himalaya",
|
|
64126
|
+
"type": "Button",
|
|
64127
|
+
"props": {
|
|
64128
|
+
"title": "New chat",
|
|
64129
|
+
"style": "link",
|
|
64130
|
+
"size": "sm",
|
|
64131
|
+
"fullWidth": false,
|
|
64132
|
+
"action": {
|
|
64133
|
+
"actionId": "tier5.himiOwnerLiteMaestro.newChat"
|
|
64134
|
+
}
|
|
64135
|
+
}
|
|
64136
|
+
}
|
|
64137
|
+
}
|
|
64138
|
+
]
|
|
64139
|
+
}
|
|
64140
|
+
},
|
|
64141
|
+
"modifiers": {
|
|
64142
|
+
"background": {
|
|
64143
|
+
"token": "surfacePrimary"
|
|
64144
|
+
},
|
|
64145
|
+
"padding": {
|
|
64146
|
+
"leading": 16,
|
|
64147
|
+
"trailing": 16,
|
|
64148
|
+
"top": 4,
|
|
64149
|
+
"bottom": 4
|
|
64150
|
+
},
|
|
64151
|
+
"hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
|
|
64152
|
+
}
|
|
64153
|
+
},
|
|
64154
|
+
"stickyFooter": {
|
|
64155
|
+
"id": "himi_owner_lite_maestro.composer",
|
|
64156
|
+
"body": {
|
|
64157
|
+
"package": "himalaya",
|
|
64158
|
+
"type": "VStack",
|
|
64159
|
+
"props": {
|
|
64160
|
+
"spacing": 8,
|
|
64161
|
+
"children": [
|
|
64162
|
+
{
|
|
64163
|
+
"id": "himi_owner_lite_maestro.quickReplies",
|
|
64164
|
+
"body": {
|
|
64165
|
+
"package": "himalaya",
|
|
64166
|
+
"type": "LazyList",
|
|
64167
|
+
"props": {
|
|
64168
|
+
"itemsPath": "$service:himiOwnerLiteMaestro.quickReplies",
|
|
64169
|
+
"items": [
|
|
64170
|
+
{
|
|
64171
|
+
"id": "himi_owner_lite_maestro.quickReply_$item.id",
|
|
64172
|
+
"body": {
|
|
64173
|
+
"package": "himalaya",
|
|
64174
|
+
"type": "Text",
|
|
64175
|
+
"props": {
|
|
64176
|
+
"text": "$item.label",
|
|
64177
|
+
"style": "footnote",
|
|
64178
|
+
"maxLines": 1
|
|
64179
|
+
}
|
|
64180
|
+
},
|
|
64181
|
+
"modifiers": {
|
|
64182
|
+
"padding": {
|
|
64183
|
+
"leading": 12,
|
|
64184
|
+
"trailing": 12,
|
|
64185
|
+
"top": 12,
|
|
64186
|
+
"bottom": 12
|
|
64187
|
+
},
|
|
64188
|
+
"background": {
|
|
64189
|
+
"token": "surfaceSecondary"
|
|
64190
|
+
},
|
|
64191
|
+
"cornerRadius": 16,
|
|
64192
|
+
"onTap": {
|
|
64193
|
+
"actionId": "tier5.himiOwnerLiteMaestro.answer",
|
|
64194
|
+
"params": {
|
|
64195
|
+
"id": "$item.id"
|
|
64196
|
+
}
|
|
64197
|
+
}
|
|
64198
|
+
}
|
|
64199
|
+
}
|
|
64200
|
+
],
|
|
64201
|
+
"horizontal": true,
|
|
64202
|
+
"spacing": 8
|
|
64203
|
+
}
|
|
64204
|
+
},
|
|
64205
|
+
"modifiers": {
|
|
64206
|
+
"hiddenPath": "$service:himiOwnerLiteMaestro.quickRepliesHidden"
|
|
64207
|
+
}
|
|
64208
|
+
},
|
|
64209
|
+
{
|
|
64210
|
+
"id": "",
|
|
64211
|
+
"body": {
|
|
64212
|
+
"package": "himalaya",
|
|
64213
|
+
"type": "HStack",
|
|
64214
|
+
"props": {
|
|
64215
|
+
"spacing": 6,
|
|
64216
|
+
"children": [
|
|
64217
|
+
{
|
|
64218
|
+
"id": "",
|
|
64219
|
+
"body": {
|
|
64220
|
+
"package": "himalaya",
|
|
64221
|
+
"type": "Spacer",
|
|
64222
|
+
"props": {}
|
|
64223
|
+
}
|
|
64224
|
+
},
|
|
64225
|
+
{
|
|
64226
|
+
"id": "himi_owner_lite_maestro.stop",
|
|
64227
|
+
"body": {
|
|
64228
|
+
"package": "himalaya",
|
|
64229
|
+
"type": "Button",
|
|
64230
|
+
"props": {
|
|
64231
|
+
"title": "Stop",
|
|
64232
|
+
"style": "link",
|
|
64233
|
+
"size": "sm",
|
|
64234
|
+
"leadingIcon": "close",
|
|
64235
|
+
"fullWidth": false,
|
|
64236
|
+
"action": {
|
|
64237
|
+
"actionId": "tier5.himiOwnerLiteMaestro.stop"
|
|
64238
|
+
}
|
|
64239
|
+
}
|
|
64240
|
+
}
|
|
64241
|
+
}
|
|
64242
|
+
]
|
|
64243
|
+
}
|
|
64244
|
+
},
|
|
64245
|
+
"modifiers": {
|
|
64246
|
+
"hiddenPath": "$service:himiOwnerLiteMaestro.idle"
|
|
64247
|
+
}
|
|
64248
|
+
},
|
|
64249
|
+
{
|
|
64250
|
+
"id": "form_maestro",
|
|
64251
|
+
"body": {
|
|
64252
|
+
"package": "himalaya",
|
|
64253
|
+
"type": "Form",
|
|
64254
|
+
"props": {
|
|
64255
|
+
"id": "maestro",
|
|
64256
|
+
"fields": [
|
|
64257
|
+
{
|
|
64258
|
+
"id": "field_message",
|
|
64259
|
+
"body": {
|
|
64260
|
+
"package": "himalaya",
|
|
64261
|
+
"type": "FormField",
|
|
64262
|
+
"props": {
|
|
64263
|
+
"id": "message",
|
|
64264
|
+
"label": "",
|
|
64265
|
+
"kind": "text",
|
|
64266
|
+
"text": {
|
|
64267
|
+
"value": "$service:himiOwnerLiteMaestro.input",
|
|
64268
|
+
"placeholder": "Ask Maestro…",
|
|
64269
|
+
"keyboard": "default",
|
|
64270
|
+
"autoCapitalization": "sentences",
|
|
64271
|
+
"multilineMaxLines": 4,
|
|
64272
|
+
"onChange": {
|
|
64273
|
+
"actionId": "tier5.himiOwnerLiteMaestro.setInput"
|
|
64274
|
+
}
|
|
64275
|
+
}
|
|
64276
|
+
}
|
|
64277
|
+
}
|
|
64278
|
+
}
|
|
64279
|
+
],
|
|
64280
|
+
"submitButton": {
|
|
64281
|
+
"id": "himi_owner_lite_maestro.send",
|
|
64282
|
+
"body": {
|
|
64283
|
+
"package": "himalaya",
|
|
64284
|
+
"type": "Button",
|
|
64285
|
+
"props": {
|
|
64286
|
+
"title": "Send",
|
|
64287
|
+
"style": "primary",
|
|
64288
|
+
"action": {
|
|
64289
|
+
"actionId": "tier5.himiOwnerLiteMaestro.submit"
|
|
64290
|
+
}
|
|
64291
|
+
}
|
|
64292
|
+
}
|
|
64293
|
+
}
|
|
64294
|
+
}
|
|
64295
|
+
}
|
|
64296
|
+
}
|
|
64297
|
+
]
|
|
64298
|
+
}
|
|
64299
|
+
},
|
|
64300
|
+
"modifiers": {
|
|
64301
|
+
"background": {
|
|
64302
|
+
"token": "surfacePrimary"
|
|
64303
|
+
},
|
|
64304
|
+
"padding": {
|
|
64305
|
+
"leading": 16,
|
|
64306
|
+
"trailing": 16,
|
|
64307
|
+
"top": 8,
|
|
64308
|
+
"bottom": 8
|
|
64309
|
+
},
|
|
64310
|
+
"hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
|
|
64311
|
+
}
|
|
64312
|
+
},
|
|
64313
|
+
"transcriptScroll": {
|
|
64314
|
+
"sendPath": "$service:himiOwnerLiteMaestro.scrollSend",
|
|
64315
|
+
"anchorPath": "$service:himiOwnerLiteMaestro.scrollAnchor",
|
|
64316
|
+
"jumpLabel": "Jump to latest"
|
|
64317
|
+
},
|
|
64318
|
+
"hostTitle": {
|
|
64319
|
+
"title": "Maestro",
|
|
64320
|
+
"subtitle": "Your business assistant, by Symphony.",
|
|
64321
|
+
"replaces": "himi_owner_lite_maestro.header"
|
|
64322
|
+
}
|
|
64323
|
+
},
|
|
63706
64324
|
"himi_owner_lite_sites": {
|
|
63707
64325
|
"screenId": "himi_owner_lite_sites",
|
|
63708
64326
|
"renderer": "sdui_intent",
|
|
@@ -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;
|