@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
@@ -64010,6 +64010,624 @@ const SCREENS = runtimeSetting({
64010
64010
  "replaces": "himi_owner_lite_aria_history.header"
64011
64011
  }
64012
64012
  },
64013
+ "himi_owner_lite_maestro": {
64014
+ "screenId": "himi_owner_lite_maestro",
64015
+ "renderer": "sdui_intent",
64016
+ "title": "",
64017
+ "schemaVersion": 1,
64018
+ "cacheControl": {
64019
+ "maxAge": 0,
64020
+ "staleWhileRevalidate": 0
64021
+ },
64022
+ "telemetryScreenName": "himi_owner_lite_maestro",
64023
+ "payload": {
64024
+ "id": "himi_owner_lite_maestro.root",
64025
+ "body": {
64026
+ "package": "himalaya",
64027
+ "type": "VStack",
64028
+ "props": {
64029
+ "spacing": 16,
64030
+ "alignment": "leading",
64031
+ "children": [
64032
+ {
64033
+ "id": "himi_owner_lite_maestro.header",
64034
+ "body": {
64035
+ "package": "himalaya",
64036
+ "type": "VStack",
64037
+ "props": {
64038
+ "spacing": 4,
64039
+ "alignment": "leading",
64040
+ "children": [
64041
+ {
64042
+ "id": "himi_owner_lite_maestro.header.title",
64043
+ "body": {
64044
+ "package": "himalaya",
64045
+ "type": "Text",
64046
+ "props": {
64047
+ "text": "Maestro",
64048
+ "style": "title1"
64049
+ }
64050
+ },
64051
+ "modifiers": {
64052
+ "headingLevel": 1
64053
+ }
64054
+ },
64055
+ {
64056
+ "id": "",
64057
+ "body": {
64058
+ "package": "himalaya",
64059
+ "type": "Text",
64060
+ "props": {
64061
+ "text": "Your business assistant, by Symphony.",
64062
+ "style": "footnote",
64063
+ "color": "textSecondary",
64064
+ "collapseWhenEmpty": true
64065
+ }
64066
+ }
64067
+ }
64068
+ ]
64069
+ }
64070
+ }
64071
+ },
64072
+ {
64073
+ "id": "himi_owner_lite_maestro.checking",
64074
+ "body": {
64075
+ "package": "himalaya",
64076
+ "type": "Text",
64077
+ "props": {
64078
+ "text": "Connecting to Maestro…",
64079
+ "style": "footnote",
64080
+ "color": "textSecondary"
64081
+ }
64082
+ },
64083
+ "modifiers": {
64084
+ "hiddenPath": "$service:himiOwnerLiteMaestro.checkingHidden"
64085
+ }
64086
+ },
64087
+ {
64088
+ "id": "himi_owner_lite_maestro.unavailable",
64089
+ "body": {
64090
+ "package": "himalaya",
64091
+ "type": "VStack",
64092
+ "props": {
64093
+ "spacing": 12,
64094
+ "alignment": "leading",
64095
+ "children": [
64096
+ {
64097
+ "id": "himi_owner_lite_maestro.unavailable.title",
64098
+ "body": {
64099
+ "package": "himalaya",
64100
+ "type": "Text",
64101
+ "props": {
64102
+ "text": "$service:himiOwnerLiteMaestro.unavailableTitle",
64103
+ "style": "bodyEmphasis"
64104
+ }
64105
+ }
64106
+ },
64107
+ {
64108
+ "id": "",
64109
+ "body": {
64110
+ "package": "himalaya",
64111
+ "type": "Text",
64112
+ "props": {
64113
+ "text": "$service:himiOwnerLiteMaestro.unavailableText",
64114
+ "style": "body",
64115
+ "color": "textSecondary"
64116
+ }
64117
+ }
64118
+ },
64119
+ {
64120
+ "id": "himi_owner_lite_maestro.useAria",
64121
+ "body": {
64122
+ "package": "himalaya",
64123
+ "type": "Button",
64124
+ "props": {
64125
+ "title": "Ask Aria instead",
64126
+ "style": "primary",
64127
+ "fullWidth": true,
64128
+ "action": {
64129
+ "actionId": "himi.open",
64130
+ "params": {
64131
+ "screenId": "himi_owner_lite_aria",
64132
+ "title": "Aria"
64133
+ }
64134
+ }
64135
+ }
64136
+ }
64137
+ },
64138
+ {
64139
+ "id": "himi_owner_lite_maestro.retry",
64140
+ "body": {
64141
+ "package": "himalaya",
64142
+ "type": "Button",
64143
+ "props": {
64144
+ "title": "Try again",
64145
+ "style": "secondary",
64146
+ "fullWidth": true,
64147
+ "action": {
64148
+ "actionId": "tier5.himiOwnerLiteMaestro.load"
64149
+ }
64150
+ }
64151
+ }
64152
+ }
64153
+ ]
64154
+ }
64155
+ },
64156
+ "modifiers": {
64157
+ "hiddenPath": "$service:himiOwnerLiteMaestro.unavailableHidden"
64158
+ }
64159
+ },
64160
+ {
64161
+ "id": "himi_owner_lite_maestro.chat",
64162
+ "body": {
64163
+ "package": "himalaya",
64164
+ "type": "VStack",
64165
+ "props": {
64166
+ "spacing": 16,
64167
+ "alignment": "leading",
64168
+ "children": [
64169
+ {
64170
+ "id": "",
64171
+ "body": {
64172
+ "package": "himalaya",
64173
+ "type": "VStack",
64174
+ "props": {
64175
+ "spacing": 12,
64176
+ "alignment": "leading",
64177
+ "children": [
64178
+ {
64179
+ "id": "himi_owner_lite_maestro.greeting",
64180
+ "body": {
64181
+ "package": "himalaya",
64182
+ "type": "Text",
64183
+ "props": {
64184
+ "text": "Hi, I'm Maestro. Ask me to check on your business or to get something done.",
64185
+ "style": "body",
64186
+ "color": "textSecondary"
64187
+ }
64188
+ }
64189
+ },
64190
+ {
64191
+ "id": "himi_owner_lite_maestro.prompts",
64192
+ "body": {
64193
+ "package": "himalaya",
64194
+ "type": "LazyList",
64195
+ "props": {
64196
+ "itemsPath": "$service:himiOwnerLiteMaestro.prompts",
64197
+ "items": [
64198
+ {
64199
+ "id": "himi_owner_lite_maestro.prompt_$item.id",
64200
+ "body": {
64201
+ "package": "himalaya",
64202
+ "type": "Text",
64203
+ "props": {
64204
+ "text": "$item.title",
64205
+ "style": "bodyEmphasis",
64206
+ "maxLines": 2
64207
+ }
64208
+ },
64209
+ "modifiers": {
64210
+ "padding": {
64211
+ "leading": 14,
64212
+ "trailing": 14,
64213
+ "top": 14,
64214
+ "bottom": 14
64215
+ },
64216
+ "background": {
64217
+ "token": "surfaceSecondary"
64218
+ },
64219
+ "cornerRadius": 16,
64220
+ "fillMaxWidth": true,
64221
+ "onTap": {
64222
+ "actionId": "tier5.himiOwnerLiteMaestro.usePrompt",
64223
+ "params": {
64224
+ "id": "$item.id"
64225
+ }
64226
+ }
64227
+ }
64228
+ }
64229
+ ],
64230
+ "spacing": 8
64231
+ }
64232
+ }
64233
+ }
64234
+ ]
64235
+ }
64236
+ },
64237
+ "modifiers": {
64238
+ "hiddenPath": "$service:himiOwnerLiteMaestro.emptyHidden"
64239
+ }
64240
+ },
64241
+ {
64242
+ "id": "himi_owner_lite_maestro.messages",
64243
+ "body": {
64244
+ "package": "himalaya",
64245
+ "type": "LazyList",
64246
+ "props": {
64247
+ "itemsPath": "$service:himiOwnerLiteMaestro.messages",
64248
+ "items": [
64249
+ {
64250
+ "id": "himi_owner_lite_maestro.message_$item.id",
64251
+ "body": {
64252
+ "package": "himalaya",
64253
+ "type": "VStack",
64254
+ "props": {
64255
+ "spacing": 0,
64256
+ "alignment": "leading",
64257
+ "children": [
64258
+ {
64259
+ "id": "",
64260
+ "body": {
64261
+ "package": "himalaya",
64262
+ "type": "HStack",
64263
+ "props": {
64264
+ "spacing": 0,
64265
+ "children": [
64266
+ {
64267
+ "id": "",
64268
+ "body": {
64269
+ "package": "himalaya",
64270
+ "type": "Spacer",
64271
+ "props": {}
64272
+ }
64273
+ },
64274
+ {
64275
+ "id": "",
64276
+ "body": {
64277
+ "package": "himalaya",
64278
+ "type": "Text",
64279
+ "props": {
64280
+ "text": "$item.content",
64281
+ "style": "body",
64282
+ "maxLines": 50,
64283
+ "textDirection": "auto"
64284
+ }
64285
+ },
64286
+ "modifiers": {
64287
+ "padding": {
64288
+ "leading": 14,
64289
+ "trailing": 14,
64290
+ "top": 10,
64291
+ "bottom": 10
64292
+ },
64293
+ "background": {
64294
+ "token": "surfaceSecondary"
64295
+ },
64296
+ "cornerRadius": 18
64297
+ }
64298
+ }
64299
+ ]
64300
+ }
64301
+ },
64302
+ "modifiers": {
64303
+ "hiddenPath": "$item.userHidden"
64304
+ }
64305
+ },
64306
+ {
64307
+ "id": "",
64308
+ "body": {
64309
+ "package": "himalaya",
64310
+ "type": "Text",
64311
+ "props": {
64312
+ "text": "$item.content",
64313
+ "style": "body",
64314
+ "maxLines": 400,
64315
+ "animateReveal": true,
64316
+ "markdown": true,
64317
+ "textDirection": "auto"
64318
+ }
64319
+ },
64320
+ "modifiers": {
64321
+ "hiddenPath": "$item.assistantHidden"
64322
+ }
64323
+ },
64324
+ {
64325
+ "id": "",
64326
+ "body": {
64327
+ "package": "himalaya",
64328
+ "type": "Text",
64329
+ "props": {
64330
+ "text": "Working on it…",
64331
+ "style": "footnote",
64332
+ "color": "textSecondary",
64333
+ "maxLines": 1
64334
+ }
64335
+ },
64336
+ "modifiers": {
64337
+ "hiddenPath": "$item.thinkingHidden"
64338
+ }
64339
+ }
64340
+ ]
64341
+ }
64342
+ }
64343
+ }
64344
+ ],
64345
+ "spacing": 16
64346
+ }
64347
+ }
64348
+ },
64349
+ {
64350
+ "id": "himi_owner_lite_maestro.status",
64351
+ "body": {
64352
+ "package": "himalaya",
64353
+ "type": "Text",
64354
+ "props": {
64355
+ "text": "$service:himiOwnerLiteMaestro.statusText",
64356
+ "style": "footnote",
64357
+ "color": "textSecondary",
64358
+ "maxLines": 2,
64359
+ "collapseWhenEmpty": true
64360
+ }
64361
+ }
64362
+ },
64363
+ {
64364
+ "id": "himi_owner_lite_maestro.error",
64365
+ "body": {
64366
+ "package": "himalaya",
64367
+ "type": "Text",
64368
+ "props": {
64369
+ "text": "$service:himiOwnerLiteMaestro.error",
64370
+ "style": "footnote",
64371
+ "color": "danger",
64372
+ "maxLines": 3,
64373
+ "collapseWhenEmpty": true
64374
+ }
64375
+ }
64376
+ }
64377
+ ]
64378
+ }
64379
+ },
64380
+ "modifiers": {
64381
+ "hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
64382
+ }
64383
+ }
64384
+ ]
64385
+ }
64386
+ },
64387
+ "modifiers": {
64388
+ "background": {
64389
+ "token": "surfacePrimary"
64390
+ },
64391
+ "padding": {
64392
+ "leading": 16,
64393
+ "trailing": 16,
64394
+ "top": 18,
64395
+ "bottom": 24
64396
+ },
64397
+ "onAppear": {
64398
+ "actionId": "tier5.himiOwnerLiteMaestro.load"
64399
+ }
64400
+ }
64401
+ },
64402
+ "logicBundle": {
64403
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-maestro",
64404
+ "integrity": "",
64405
+ "contentType": "application/javascript+ts-bundle",
64406
+ "declaredCapabilities": [
64407
+ "wix_api",
64408
+ "stream"
64409
+ ],
64410
+ "minBinaryVersion": "0.1.0",
64411
+ "bundleVersion": "0.0.1"
64412
+ },
64413
+ "stickyHeader": {
64414
+ "id": "himi_owner_lite_maestro.controls",
64415
+ "body": {
64416
+ "package": "himalaya",
64417
+ "type": "HStack",
64418
+ "props": {
64419
+ "spacing": 8,
64420
+ "children": [
64421
+ {
64422
+ "id": "",
64423
+ "body": {
64424
+ "package": "himalaya",
64425
+ "type": "Spacer",
64426
+ "props": {}
64427
+ }
64428
+ },
64429
+ {
64430
+ "id": "himi_owner_lite_maestro.newChat",
64431
+ "body": {
64432
+ "package": "himalaya",
64433
+ "type": "Button",
64434
+ "props": {
64435
+ "title": "New chat",
64436
+ "style": "link",
64437
+ "size": "sm",
64438
+ "fullWidth": false,
64439
+ "action": {
64440
+ "actionId": "tier5.himiOwnerLiteMaestro.newChat"
64441
+ }
64442
+ }
64443
+ }
64444
+ }
64445
+ ]
64446
+ }
64447
+ },
64448
+ "modifiers": {
64449
+ "background": {
64450
+ "token": "surfacePrimary"
64451
+ },
64452
+ "padding": {
64453
+ "leading": 16,
64454
+ "trailing": 16,
64455
+ "top": 4,
64456
+ "bottom": 4
64457
+ },
64458
+ "hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
64459
+ }
64460
+ },
64461
+ "stickyFooter": {
64462
+ "id": "himi_owner_lite_maestro.composer",
64463
+ "body": {
64464
+ "package": "himalaya",
64465
+ "type": "VStack",
64466
+ "props": {
64467
+ "spacing": 8,
64468
+ "children": [
64469
+ {
64470
+ "id": "himi_owner_lite_maestro.quickReplies",
64471
+ "body": {
64472
+ "package": "himalaya",
64473
+ "type": "LazyList",
64474
+ "props": {
64475
+ "itemsPath": "$service:himiOwnerLiteMaestro.quickReplies",
64476
+ "items": [
64477
+ {
64478
+ "id": "himi_owner_lite_maestro.quickReply_$item.id",
64479
+ "body": {
64480
+ "package": "himalaya",
64481
+ "type": "Text",
64482
+ "props": {
64483
+ "text": "$item.label",
64484
+ "style": "footnote",
64485
+ "maxLines": 1
64486
+ }
64487
+ },
64488
+ "modifiers": {
64489
+ "padding": {
64490
+ "leading": 12,
64491
+ "trailing": 12,
64492
+ "top": 12,
64493
+ "bottom": 12
64494
+ },
64495
+ "background": {
64496
+ "token": "surfaceSecondary"
64497
+ },
64498
+ "cornerRadius": 16,
64499
+ "onTap": {
64500
+ "actionId": "tier5.himiOwnerLiteMaestro.answer",
64501
+ "params": {
64502
+ "id": "$item.id"
64503
+ }
64504
+ }
64505
+ }
64506
+ }
64507
+ ],
64508
+ "horizontal": true,
64509
+ "spacing": 8
64510
+ }
64511
+ },
64512
+ "modifiers": {
64513
+ "hiddenPath": "$service:himiOwnerLiteMaestro.quickRepliesHidden"
64514
+ }
64515
+ },
64516
+ {
64517
+ "id": "",
64518
+ "body": {
64519
+ "package": "himalaya",
64520
+ "type": "HStack",
64521
+ "props": {
64522
+ "spacing": 6,
64523
+ "children": [
64524
+ {
64525
+ "id": "",
64526
+ "body": {
64527
+ "package": "himalaya",
64528
+ "type": "Spacer",
64529
+ "props": {}
64530
+ }
64531
+ },
64532
+ {
64533
+ "id": "himi_owner_lite_maestro.stop",
64534
+ "body": {
64535
+ "package": "himalaya",
64536
+ "type": "Button",
64537
+ "props": {
64538
+ "title": "Stop",
64539
+ "style": "link",
64540
+ "size": "sm",
64541
+ "leadingIcon": "close",
64542
+ "fullWidth": false,
64543
+ "action": {
64544
+ "actionId": "tier5.himiOwnerLiteMaestro.stop"
64545
+ }
64546
+ }
64547
+ }
64548
+ }
64549
+ ]
64550
+ }
64551
+ },
64552
+ "modifiers": {
64553
+ "hiddenPath": "$service:himiOwnerLiteMaestro.idle"
64554
+ }
64555
+ },
64556
+ {
64557
+ "id": "form_maestro",
64558
+ "body": {
64559
+ "package": "himalaya",
64560
+ "type": "Form",
64561
+ "props": {
64562
+ "id": "maestro",
64563
+ "fields": [
64564
+ {
64565
+ "id": "field_message",
64566
+ "body": {
64567
+ "package": "himalaya",
64568
+ "type": "FormField",
64569
+ "props": {
64570
+ "id": "message",
64571
+ "label": "",
64572
+ "kind": "text",
64573
+ "text": {
64574
+ "value": "$service:himiOwnerLiteMaestro.input",
64575
+ "placeholder": "Ask Maestro…",
64576
+ "keyboard": "default",
64577
+ "autoCapitalization": "sentences",
64578
+ "multilineMaxLines": 4,
64579
+ "onChange": {
64580
+ "actionId": "tier5.himiOwnerLiteMaestro.setInput"
64581
+ }
64582
+ }
64583
+ }
64584
+ }
64585
+ }
64586
+ ],
64587
+ "submitButton": {
64588
+ "id": "himi_owner_lite_maestro.send",
64589
+ "body": {
64590
+ "package": "himalaya",
64591
+ "type": "Button",
64592
+ "props": {
64593
+ "title": "Send",
64594
+ "style": "primary",
64595
+ "action": {
64596
+ "actionId": "tier5.himiOwnerLiteMaestro.submit"
64597
+ }
64598
+ }
64599
+ }
64600
+ }
64601
+ }
64602
+ }
64603
+ }
64604
+ ]
64605
+ }
64606
+ },
64607
+ "modifiers": {
64608
+ "background": {
64609
+ "token": "surfacePrimary"
64610
+ },
64611
+ "padding": {
64612
+ "leading": 16,
64613
+ "trailing": 16,
64614
+ "top": 8,
64615
+ "bottom": 8
64616
+ },
64617
+ "hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
64618
+ }
64619
+ },
64620
+ "transcriptScroll": {
64621
+ "sendPath": "$service:himiOwnerLiteMaestro.scrollSend",
64622
+ "anchorPath": "$service:himiOwnerLiteMaestro.scrollAnchor",
64623
+ "jumpLabel": "Jump to latest"
64624
+ },
64625
+ "hostTitle": {
64626
+ "title": "Maestro",
64627
+ "subtitle": "Your business assistant, by Symphony.",
64628
+ "replaces": "himi_owner_lite_maestro.header"
64629
+ }
64630
+ },
64013
64631
  "himi_owner_lite_sites": {
64014
64632
  "screenId": "himi_owner_lite_sites",
64015
64633
  "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": "Club"
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;