@wix/himalaya-cli 0.1899.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/app-info/src/index.d.ts +1 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{3c8ce407707a87e172345007371329f9c47e65e182a1e2ff617b7f75e6bb95ab.bin → e8580dd7946999b652493628a07600d2e5a0c7864cc0a8a807b8a20903f0698d.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +75756 -74141
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/ads.md +91 -0
- package/guides/himi-json-output.md +37 -2
- package/guides/index.json +6 -0
- package/package.json +2 -2
- package/templates/beauty-salon-owner/config.ts +32 -1
- package/templates/beauty-salon-owner/dev/index.ts +565 -1
- package/templates/beauty-salon-owner/himalaya.content.json +3 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/beauty-salon-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/community-club-owner/config.ts +32 -1
- package/templates/community-club-owner/dev/index.ts +538 -1
- package/templates/community-club-owner/himalaya.content.json +3 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/events-meetups-owner/config.ts +32 -1
- package/templates/events-meetups-owner/dev/index.ts +511 -1
- package/templates/events-meetups-owner/himalaya.content.json +3 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/gym-fitness-owner/config.ts +32 -1
- package/templates/gym-fitness-owner/dev/index.ts +565 -1
- package/templates/gym-fitness-owner/himalaya.content.json +3 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/gym-fitness-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/nonprofit-cause-owner/config.ts +32 -1
- package/templates/nonprofit-cause-owner/dev/index.ts +538 -1
- package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/nonprofit-cause-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/owner-lite/config.ts +32 -1
- package/templates/owner-lite/dev/index.ts +565 -1
- package/templates/owner-lite/himalaya.content.json +3 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/owner-lite/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/podcast-creator-owner/config.ts +32 -1
- package/templates/podcast-creator-owner/dev/index.ts +538 -1
- package/templates/podcast-creator-owner/himalaya.content.json +3 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/portfolio-creative-owner/config.ts +32 -1
- package/templates/portfolio-creative-owner/dev/index.ts +565 -1
- package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/portfolio-creative-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/restaurant-owner/config.ts +32 -1
- package/templates/restaurant-owner/dev/index.ts +565 -1
- package/templates/restaurant-owner/himalaya.content.json +3 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/restaurant-owner/tier5-src/wix-owner-booking/index.ts +9 -3
- package/templates/retail-store-owner/config.ts +32 -1
- package/templates/retail-store-owner/dev/index.ts +538 -1
- package/templates/retail-store-owner/himalaya.content.json +3 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-order/index.ts +5 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- package/templates/yoga-studio-owner/config.ts +32 -1
- package/templates/yoga-studio-owner/dev/index.ts +538 -1
- package/templates/yoga-studio-owner/himalaya.content.json +3 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-availability.ts +14 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-chat.ts +179 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-tab.ts +42 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +345 -48
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +106 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-record/index.ts +9 -3
- 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": {
|
|
@@ -64248,6 +64274,139 @@ const SCREENS = runtimeSetting({
|
|
|
64248
64274
|
"modifiers": {
|
|
64249
64275
|
"hiddenPath": "$item.thinkingHidden"
|
|
64250
64276
|
}
|
|
64277
|
+
},
|
|
64278
|
+
{
|
|
64279
|
+
"id": "himi_owner_lite_maestro.card_$item.id",
|
|
64280
|
+
"body": {
|
|
64281
|
+
"package": "himalaya",
|
|
64282
|
+
"type": "VStack",
|
|
64283
|
+
"props": {
|
|
64284
|
+
"spacing": 8,
|
|
64285
|
+
"alignment": "leading",
|
|
64286
|
+
"children": [
|
|
64287
|
+
{
|
|
64288
|
+
"id": "",
|
|
64289
|
+
"body": {
|
|
64290
|
+
"package": "himalaya",
|
|
64291
|
+
"type": "Text",
|
|
64292
|
+
"props": {
|
|
64293
|
+
"text": "$item.cardTitle",
|
|
64294
|
+
"style": "bodyEmphasis",
|
|
64295
|
+
"maxLines": 4,
|
|
64296
|
+
"textDirection": "auto"
|
|
64297
|
+
}
|
|
64298
|
+
}
|
|
64299
|
+
},
|
|
64300
|
+
{
|
|
64301
|
+
"id": "",
|
|
64302
|
+
"body": {
|
|
64303
|
+
"package": "himalaya",
|
|
64304
|
+
"type": "Text",
|
|
64305
|
+
"props": {
|
|
64306
|
+
"text": "$item.cardText",
|
|
64307
|
+
"style": "footnote",
|
|
64308
|
+
"color": "textSecondary",
|
|
64309
|
+
"maxLines": 8,
|
|
64310
|
+
"collapseWhenEmpty": true,
|
|
64311
|
+
"textDirection": "auto"
|
|
64312
|
+
}
|
|
64313
|
+
}
|
|
64314
|
+
},
|
|
64315
|
+
{
|
|
64316
|
+
"id": "",
|
|
64317
|
+
"body": {
|
|
64318
|
+
"package": "himalaya",
|
|
64319
|
+
"type": "Text",
|
|
64320
|
+
"props": {
|
|
64321
|
+
"text": "$item.cardStatus",
|
|
64322
|
+
"style": "footnote",
|
|
64323
|
+
"color": "textSecondary",
|
|
64324
|
+
"maxLines": 3,
|
|
64325
|
+
"collapseWhenEmpty": true
|
|
64326
|
+
}
|
|
64327
|
+
}
|
|
64328
|
+
},
|
|
64329
|
+
{
|
|
64330
|
+
"id": "",
|
|
64331
|
+
"body": {
|
|
64332
|
+
"package": "himalaya",
|
|
64333
|
+
"type": "HStack",
|
|
64334
|
+
"props": {
|
|
64335
|
+
"spacing": 8,
|
|
64336
|
+
"children": [
|
|
64337
|
+
{
|
|
64338
|
+
"id": "himi_owner_lite_maestro.cardPrimary_$item.id",
|
|
64339
|
+
"body": {
|
|
64340
|
+
"package": "himalaya",
|
|
64341
|
+
"type": "Button",
|
|
64342
|
+
"props": {
|
|
64343
|
+
"title": "$item.primaryLabel",
|
|
64344
|
+
"style": "primary",
|
|
64345
|
+
"size": "sm",
|
|
64346
|
+
"fullWidth": false,
|
|
64347
|
+
"action": {
|
|
64348
|
+
"actionId": "tier5.himiOwnerLiteMaestro.cardPrimary",
|
|
64349
|
+
"params": {
|
|
64350
|
+
"id": "$item.id"
|
|
64351
|
+
}
|
|
64352
|
+
}
|
|
64353
|
+
}
|
|
64354
|
+
},
|
|
64355
|
+
"modifiers": {
|
|
64356
|
+
"hiddenPath": "$item.primaryHidden"
|
|
64357
|
+
}
|
|
64358
|
+
},
|
|
64359
|
+
{
|
|
64360
|
+
"id": "himi_owner_lite_maestro.cardSecondary_$item.id",
|
|
64361
|
+
"body": {
|
|
64362
|
+
"package": "himalaya",
|
|
64363
|
+
"type": "Button",
|
|
64364
|
+
"props": {
|
|
64365
|
+
"title": "$item.secondaryLabel",
|
|
64366
|
+
"style": "secondary",
|
|
64367
|
+
"size": "sm",
|
|
64368
|
+
"fullWidth": false,
|
|
64369
|
+
"action": {
|
|
64370
|
+
"actionId": "tier5.himiOwnerLiteMaestro.cardSecondary",
|
|
64371
|
+
"params": {
|
|
64372
|
+
"id": "$item.id"
|
|
64373
|
+
}
|
|
64374
|
+
}
|
|
64375
|
+
}
|
|
64376
|
+
},
|
|
64377
|
+
"modifiers": {
|
|
64378
|
+
"hiddenPath": "$item.secondaryHidden"
|
|
64379
|
+
}
|
|
64380
|
+
},
|
|
64381
|
+
{
|
|
64382
|
+
"id": "",
|
|
64383
|
+
"body": {
|
|
64384
|
+
"package": "himalaya",
|
|
64385
|
+
"type": "Spacer",
|
|
64386
|
+
"props": {}
|
|
64387
|
+
}
|
|
64388
|
+
}
|
|
64389
|
+
]
|
|
64390
|
+
}
|
|
64391
|
+
}
|
|
64392
|
+
}
|
|
64393
|
+
]
|
|
64394
|
+
}
|
|
64395
|
+
},
|
|
64396
|
+
"modifiers": {
|
|
64397
|
+
"padding": {
|
|
64398
|
+
"leading": 14,
|
|
64399
|
+
"trailing": 14,
|
|
64400
|
+
"top": 14,
|
|
64401
|
+
"bottom": 14
|
|
64402
|
+
},
|
|
64403
|
+
"background": {
|
|
64404
|
+
"token": "surfaceSecondary"
|
|
64405
|
+
},
|
|
64406
|
+
"cornerRadius": 16,
|
|
64407
|
+
"fillMaxWidth": true,
|
|
64408
|
+
"hiddenPath": "$item.cardHidden"
|
|
64409
|
+
}
|
|
64251
64410
|
}
|
|
64252
64411
|
]
|
|
64253
64412
|
}
|
|
@@ -64318,7 +64477,8 @@ const SCREENS = runtimeSetting({
|
|
|
64318
64477
|
"declaredCapabilities": [
|
|
64319
64478
|
"wix_api",
|
|
64320
64479
|
"stream",
|
|
64321
|
-
"app_info"
|
|
64480
|
+
"app_info",
|
|
64481
|
+
"open_url"
|
|
64322
64482
|
],
|
|
64323
64483
|
"minBinaryVersion": "0.1.0",
|
|
64324
64484
|
"bundleVersion": "0.0.1"
|
|
@@ -64331,6 +64491,20 @@ const SCREENS = runtimeSetting({
|
|
|
64331
64491
|
"props": {
|
|
64332
64492
|
"spacing": 8,
|
|
64333
64493
|
"children": [
|
|
64494
|
+
{
|
|
64495
|
+
"id": "himi_owner_lite_maestro.context",
|
|
64496
|
+
"body": {
|
|
64497
|
+
"package": "himalaya",
|
|
64498
|
+
"type": "Text",
|
|
64499
|
+
"props": {
|
|
64500
|
+
"text": "$service:himiOwnerLiteMaestro.contextLabel",
|
|
64501
|
+
"style": "footnote",
|
|
64502
|
+
"color": "textSecondary",
|
|
64503
|
+
"maxLines": 1,
|
|
64504
|
+
"collapseWhenEmpty": true
|
|
64505
|
+
}
|
|
64506
|
+
}
|
|
64507
|
+
},
|
|
64334
64508
|
{
|
|
64335
64509
|
"id": "",
|
|
64336
64510
|
"body": {
|
|
@@ -64339,6 +64513,27 @@ const SCREENS = runtimeSetting({
|
|
|
64339
64513
|
"props": {}
|
|
64340
64514
|
}
|
|
64341
64515
|
},
|
|
64516
|
+
{
|
|
64517
|
+
"id": "himi_owner_lite_maestro.history",
|
|
64518
|
+
"body": {
|
|
64519
|
+
"package": "himalaya",
|
|
64520
|
+
"type": "Button",
|
|
64521
|
+
"props": {
|
|
64522
|
+
"title": "History",
|
|
64523
|
+
"style": "link",
|
|
64524
|
+
"size": "sm",
|
|
64525
|
+
"fullWidth": false,
|
|
64526
|
+
"action": {
|
|
64527
|
+
"actionId": "himi.open",
|
|
64528
|
+
"params": {
|
|
64529
|
+
"screenId": "himi_owner_lite_maestro_history",
|
|
64530
|
+
"title": "Conversations",
|
|
64531
|
+
"subtitle": "Pick up where you left off."
|
|
64532
|
+
}
|
|
64533
|
+
}
|
|
64534
|
+
}
|
|
64535
|
+
}
|
|
64536
|
+
},
|
|
64342
64537
|
{
|
|
64343
64538
|
"id": "himi_owner_lite_maestro.newChat",
|
|
64344
64539
|
"body": {
|
|
@@ -64541,6 +64736,321 @@ const SCREENS = runtimeSetting({
|
|
|
64541
64736
|
"replaces": "himi_owner_lite_maestro.header"
|
|
64542
64737
|
}
|
|
64543
64738
|
},
|
|
64739
|
+
"himi_owner_lite_maestro_history": {
|
|
64740
|
+
"screenId": "himi_owner_lite_maestro_history",
|
|
64741
|
+
"renderer": "sdui_intent",
|
|
64742
|
+
"title": "",
|
|
64743
|
+
"schemaVersion": 1,
|
|
64744
|
+
"cacheControl": {
|
|
64745
|
+
"maxAge": 0,
|
|
64746
|
+
"staleWhileRevalidate": 0
|
|
64747
|
+
},
|
|
64748
|
+
"telemetryScreenName": "himi_owner_lite_maestro_history",
|
|
64749
|
+
"payload": {
|
|
64750
|
+
"id": "himi_owner_lite_maestro_history.root",
|
|
64751
|
+
"body": {
|
|
64752
|
+
"package": "himalaya",
|
|
64753
|
+
"type": "VStack",
|
|
64754
|
+
"props": {
|
|
64755
|
+
"spacing": 16,
|
|
64756
|
+
"alignment": "leading",
|
|
64757
|
+
"children": [
|
|
64758
|
+
{
|
|
64759
|
+
"id": "himi_owner_lite_maestro_history.header",
|
|
64760
|
+
"body": {
|
|
64761
|
+
"package": "himalaya",
|
|
64762
|
+
"type": "VStack",
|
|
64763
|
+
"props": {
|
|
64764
|
+
"spacing": 4,
|
|
64765
|
+
"alignment": "leading",
|
|
64766
|
+
"children": [
|
|
64767
|
+
{
|
|
64768
|
+
"id": "himi_owner_lite_maestro_history.header.title",
|
|
64769
|
+
"body": {
|
|
64770
|
+
"package": "himalaya",
|
|
64771
|
+
"type": "Text",
|
|
64772
|
+
"props": {
|
|
64773
|
+
"text": "Conversations",
|
|
64774
|
+
"style": "title1"
|
|
64775
|
+
}
|
|
64776
|
+
},
|
|
64777
|
+
"modifiers": {
|
|
64778
|
+
"headingLevel": 1
|
|
64779
|
+
}
|
|
64780
|
+
},
|
|
64781
|
+
{
|
|
64782
|
+
"id": "",
|
|
64783
|
+
"body": {
|
|
64784
|
+
"package": "himalaya",
|
|
64785
|
+
"type": "Text",
|
|
64786
|
+
"props": {
|
|
64787
|
+
"text": "Pick up where you left off.",
|
|
64788
|
+
"style": "footnote",
|
|
64789
|
+
"color": "textSecondary",
|
|
64790
|
+
"collapseWhenEmpty": true
|
|
64791
|
+
}
|
|
64792
|
+
}
|
|
64793
|
+
}
|
|
64794
|
+
]
|
|
64795
|
+
}
|
|
64796
|
+
}
|
|
64797
|
+
},
|
|
64798
|
+
{
|
|
64799
|
+
"id": "",
|
|
64800
|
+
"body": {
|
|
64801
|
+
"package": "himalaya",
|
|
64802
|
+
"type": "Text",
|
|
64803
|
+
"props": {
|
|
64804
|
+
"text": "$service:himiOwnerLiteMaestroHistory.emptyText",
|
|
64805
|
+
"style": "body",
|
|
64806
|
+
"color": "textSecondary",
|
|
64807
|
+
"maxLines": 2,
|
|
64808
|
+
"collapseWhenEmpty": true
|
|
64809
|
+
}
|
|
64810
|
+
},
|
|
64811
|
+
"modifiers": {
|
|
64812
|
+
"padding": {
|
|
64813
|
+
"leading": 0,
|
|
64814
|
+
"trailing": 0,
|
|
64815
|
+
"top": 16,
|
|
64816
|
+
"bottom": 8
|
|
64817
|
+
}
|
|
64818
|
+
}
|
|
64819
|
+
},
|
|
64820
|
+
{
|
|
64821
|
+
"id": "himi_owner_lite_maestro_history.bound",
|
|
64822
|
+
"body": {
|
|
64823
|
+
"package": "himalaya",
|
|
64824
|
+
"type": "LazyList",
|
|
64825
|
+
"props": {
|
|
64826
|
+
"itemsPath": "$service:himiOwnerLiteMaestroHistory.items",
|
|
64827
|
+
"spacing": 0,
|
|
64828
|
+
"items": [
|
|
64829
|
+
{
|
|
64830
|
+
"id": "himi_owner_lite_maestro_history.row_$item.id",
|
|
64831
|
+
"body": {
|
|
64832
|
+
"package": "himalaya",
|
|
64833
|
+
"type": "VStack",
|
|
64834
|
+
"props": {
|
|
64835
|
+
"spacing": 0,
|
|
64836
|
+
"children": [
|
|
64837
|
+
{
|
|
64838
|
+
"id": "",
|
|
64839
|
+
"body": {
|
|
64840
|
+
"package": "himalaya",
|
|
64841
|
+
"type": "Text",
|
|
64842
|
+
"props": {
|
|
64843
|
+
"text": "$item.section",
|
|
64844
|
+
"style": "footnote",
|
|
64845
|
+
"color": "textSecondary",
|
|
64846
|
+
"maxLines": 1,
|
|
64847
|
+
"collapseWhenEmpty": true
|
|
64848
|
+
}
|
|
64849
|
+
},
|
|
64850
|
+
"modifiers": {
|
|
64851
|
+
"padding": {
|
|
64852
|
+
"leading": 0,
|
|
64853
|
+
"trailing": 0,
|
|
64854
|
+
"top": 14,
|
|
64855
|
+
"bottom": 4
|
|
64856
|
+
}
|
|
64857
|
+
}
|
|
64858
|
+
},
|
|
64859
|
+
{
|
|
64860
|
+
"id": "himi_owner_lite_maestro_history.card_$item.id",
|
|
64861
|
+
"body": {
|
|
64862
|
+
"package": "himalaya",
|
|
64863
|
+
"type": "HStack",
|
|
64864
|
+
"props": {
|
|
64865
|
+
"spacing": 12,
|
|
64866
|
+
"children": [
|
|
64867
|
+
{
|
|
64868
|
+
"id": "",
|
|
64869
|
+
"body": {
|
|
64870
|
+
"package": "himalaya",
|
|
64871
|
+
"type": "Icon",
|
|
64872
|
+
"props": {
|
|
64873
|
+
"name": "edit",
|
|
64874
|
+
"size": 20,
|
|
64875
|
+
"tint": "accentPrimary"
|
|
64876
|
+
}
|
|
64877
|
+
},
|
|
64878
|
+
"modifiers": {
|
|
64879
|
+
"accessibilityRole": "decorative"
|
|
64880
|
+
}
|
|
64881
|
+
},
|
|
64882
|
+
{
|
|
64883
|
+
"id": "",
|
|
64884
|
+
"body": {
|
|
64885
|
+
"package": "himalaya",
|
|
64886
|
+
"type": "VStack",
|
|
64887
|
+
"props": {
|
|
64888
|
+
"spacing": 2,
|
|
64889
|
+
"children": [
|
|
64890
|
+
{
|
|
64891
|
+
"id": "",
|
|
64892
|
+
"body": {
|
|
64893
|
+
"package": "himalaya",
|
|
64894
|
+
"type": "Text",
|
|
64895
|
+
"props": {
|
|
64896
|
+
"text": "$item.title",
|
|
64897
|
+
"style": "bodyEmphasis",
|
|
64898
|
+
"maxLines": 2
|
|
64899
|
+
}
|
|
64900
|
+
}
|
|
64901
|
+
},
|
|
64902
|
+
{
|
|
64903
|
+
"id": "",
|
|
64904
|
+
"body": {
|
|
64905
|
+
"package": "himalaya",
|
|
64906
|
+
"type": "Text",
|
|
64907
|
+
"props": {
|
|
64908
|
+
"text": "$item.subtitle",
|
|
64909
|
+
"style": "footnote",
|
|
64910
|
+
"color": "textSecondary",
|
|
64911
|
+
"maxLines": 1,
|
|
64912
|
+
"collapseWhenEmpty": true
|
|
64913
|
+
}
|
|
64914
|
+
}
|
|
64915
|
+
}
|
|
64916
|
+
]
|
|
64917
|
+
}
|
|
64918
|
+
}
|
|
64919
|
+
},
|
|
64920
|
+
{
|
|
64921
|
+
"id": "",
|
|
64922
|
+
"body": {
|
|
64923
|
+
"package": "himalaya",
|
|
64924
|
+
"type": "Spacer",
|
|
64925
|
+
"props": {}
|
|
64926
|
+
}
|
|
64927
|
+
},
|
|
64928
|
+
{
|
|
64929
|
+
"id": "",
|
|
64930
|
+
"body": {
|
|
64931
|
+
"package": "himalaya",
|
|
64932
|
+
"type": "Icon",
|
|
64933
|
+
"props": {
|
|
64934
|
+
"name": "chevron_right",
|
|
64935
|
+
"size": 18,
|
|
64936
|
+
"tint": "textSecondary"
|
|
64937
|
+
}
|
|
64938
|
+
},
|
|
64939
|
+
"modifiers": {
|
|
64940
|
+
"accessibilityRole": "decorative"
|
|
64941
|
+
}
|
|
64942
|
+
}
|
|
64943
|
+
]
|
|
64944
|
+
}
|
|
64945
|
+
},
|
|
64946
|
+
"modifiers": {
|
|
64947
|
+
"padding": {
|
|
64948
|
+
"leading": 0,
|
|
64949
|
+
"trailing": 0,
|
|
64950
|
+
"top": 12,
|
|
64951
|
+
"bottom": 12
|
|
64952
|
+
},
|
|
64953
|
+
"onTap": {
|
|
64954
|
+
"actionId": "himi.open",
|
|
64955
|
+
"params": {
|
|
64956
|
+
"screenId": "himi_owner_lite_maestro",
|
|
64957
|
+
"conversationId": "$item.id",
|
|
64958
|
+
"n": "$item.stamp",
|
|
64959
|
+
"title": "Maestro",
|
|
64960
|
+
"subtitle": "Your business assistant, by Symphony."
|
|
64961
|
+
}
|
|
64962
|
+
}
|
|
64963
|
+
}
|
|
64964
|
+
}
|
|
64965
|
+
]
|
|
64966
|
+
}
|
|
64967
|
+
}
|
|
64968
|
+
}
|
|
64969
|
+
]
|
|
64970
|
+
}
|
|
64971
|
+
},
|
|
64972
|
+
"modifiers": {
|
|
64973
|
+
"hiddenPath": "$service:himiOwnerLiteMaestroHistory.itemsHidden"
|
|
64974
|
+
}
|
|
64975
|
+
},
|
|
64976
|
+
{
|
|
64977
|
+
"id": "",
|
|
64978
|
+
"body": {
|
|
64979
|
+
"package": "himalaya",
|
|
64980
|
+
"type": "VStack",
|
|
64981
|
+
"props": {
|
|
64982
|
+
"spacing": 10,
|
|
64983
|
+
"alignment": "leading",
|
|
64984
|
+
"children": [
|
|
64985
|
+
{
|
|
64986
|
+
"id": "himi_owner_lite_maestro_history.error",
|
|
64987
|
+
"body": {
|
|
64988
|
+
"package": "himalaya",
|
|
64989
|
+
"type": "Text",
|
|
64990
|
+
"props": {
|
|
64991
|
+
"text": "$service:himiOwnerLiteMaestroHistory.error",
|
|
64992
|
+
"style": "body",
|
|
64993
|
+
"color": "textSecondary",
|
|
64994
|
+
"maxLines": 3
|
|
64995
|
+
}
|
|
64996
|
+
}
|
|
64997
|
+
},
|
|
64998
|
+
{
|
|
64999
|
+
"id": "himi_owner_lite_maestro_history.retry",
|
|
65000
|
+
"body": {
|
|
65001
|
+
"package": "himalaya",
|
|
65002
|
+
"type": "Button",
|
|
65003
|
+
"props": {
|
|
65004
|
+
"title": "Try again",
|
|
65005
|
+
"style": "secondary",
|
|
65006
|
+
"fullWidth": false,
|
|
65007
|
+
"action": {
|
|
65008
|
+
"actionId": "tier5.himiOwnerLiteMaestroHistory.load"
|
|
65009
|
+
}
|
|
65010
|
+
}
|
|
65011
|
+
}
|
|
65012
|
+
}
|
|
65013
|
+
]
|
|
65014
|
+
}
|
|
65015
|
+
},
|
|
65016
|
+
"modifiers": {
|
|
65017
|
+
"hiddenPath": "$service:himiOwnerLiteMaestroHistory.errorHidden"
|
|
65018
|
+
}
|
|
65019
|
+
}
|
|
65020
|
+
]
|
|
65021
|
+
}
|
|
65022
|
+
},
|
|
65023
|
+
"modifiers": {
|
|
65024
|
+
"background": {
|
|
65025
|
+
"token": "surfacePrimary"
|
|
65026
|
+
},
|
|
65027
|
+
"padding": {
|
|
65028
|
+
"leading": 16,
|
|
65029
|
+
"trailing": 16,
|
|
65030
|
+
"top": 18,
|
|
65031
|
+
"bottom": 24
|
|
65032
|
+
},
|
|
65033
|
+
"onAppear": {
|
|
65034
|
+
"actionId": "tier5.himiOwnerLiteMaestroHistory.load"
|
|
65035
|
+
}
|
|
65036
|
+
}
|
|
65037
|
+
},
|
|
65038
|
+
"logicBundle": {
|
|
65039
|
+
"url": "http://localhost:8190/v1/bundles/himi-owner-lite-maestro-history",
|
|
65040
|
+
"integrity": "",
|
|
65041
|
+
"contentType": "application/javascript+ts-bundle",
|
|
65042
|
+
"declaredCapabilities": [
|
|
65043
|
+
"wix_api"
|
|
65044
|
+
],
|
|
65045
|
+
"minBinaryVersion": "0.1.0",
|
|
65046
|
+
"bundleVersion": "0.0.1"
|
|
65047
|
+
},
|
|
65048
|
+
"hostTitle": {
|
|
65049
|
+
"title": "Conversations",
|
|
65050
|
+
"subtitle": "Pick up where you left off.",
|
|
65051
|
+
"replaces": "himi_owner_lite_maestro_history.header"
|
|
65052
|
+
}
|
|
65053
|
+
},
|
|
64544
65054
|
"himi_owner_lite_sites": {
|
|
64545
65055
|
"screenId": "himi_owner_lite_sites",
|
|
64546
65056
|
"renderer": "sdui_intent",
|
|
@@ -78917,6 +79427,33 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
78917
79427
|
"collapseWhenEmpty": true
|
|
78918
79428
|
}
|
|
78919
79429
|
}
|
|
79430
|
+
},
|
|
79431
|
+
{
|
|
79432
|
+
"id": "order_ask_maestro",
|
|
79433
|
+
"body": {
|
|
79434
|
+
"package": "himalaya",
|
|
79435
|
+
"type": "Button",
|
|
79436
|
+
"props": {
|
|
79437
|
+
"title": "Ask Maestro",
|
|
79438
|
+
"style": "secondary",
|
|
79439
|
+
"fullWidth": true,
|
|
79440
|
+
"leadingIcon": "ai",
|
|
79441
|
+
"action": {
|
|
79442
|
+
"actionId": "himi.open",
|
|
79443
|
+
"params": {
|
|
79444
|
+
"screenId": "himi_owner_lite_maestro",
|
|
79445
|
+
"kind": "order",
|
|
79446
|
+
"id": "$service:himiOwnerLiteOrder.id",
|
|
79447
|
+
"subject": "$service:himiOwnerLiteOrder.title",
|
|
79448
|
+
"title": "Maestro",
|
|
79449
|
+
"subtitle": "Your business assistant, by Symphony."
|
|
79450
|
+
}
|
|
79451
|
+
}
|
|
79452
|
+
}
|
|
79453
|
+
},
|
|
79454
|
+
"modifiers": {
|
|
79455
|
+
"hiddenPath": "$service:himiOwnerLiteOrder.askMaestroHidden"
|
|
79456
|
+
}
|
|
78920
79457
|
}
|
|
78921
79458
|
]
|
|
78922
79459
|
}
|
|
@@ -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" };
|