@wix/himalaya-cli 0.1928.0 → 0.1930.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 (183) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +2 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +7 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/chat-web/src/index.d.ts +12 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-chat-web.mjs +19 -9
  5. package/dist/browser-plane/assets.json +5 -5
  6. package/dist/browser-plane/preview-deferred/{95a3ae045bad903e458ea7a5800e60e1044f0f754a65d7127de66ba62e897068.bin → 7656e5effbeaee2ab20810b9903e7e785d9dffb0a0563f25c2746011cf4e23e9.bin} +1 -1
  7. package/dist/browser-plane/sw.js +10 -10
  8. package/dist/cli.mjs +256 -70
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/guides/component-index.md +1 -1
  11. package/guides/component-reference.json +1 -1
  12. package/guides/component-reference.md +7 -0
  13. package/guides/sdk-reference.json +2 -2
  14. package/package.json +2 -2
  15. package/templates/bare-fashion/tier5-src/_shared/owner-load-error.ts +1 -1
  16. package/templates/beauty-salon/tier5-src/_shared/owner-load-error.ts +1 -1
  17. package/templates/beauty-salon-owner/dev/index.ts +169 -139
  18. package/templates/beauty-salon-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  19. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  20. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  21. package/templates/beauty-salon-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  22. package/templates/beauty-salon-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  23. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  24. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  25. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  26. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  27. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  28. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-order/index.ts +4 -1
  29. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  30. package/templates/beauty-salon-owner/tier5-src/wix-owner-booking/index.ts +4 -1
  31. package/templates/branded-lite/tier5-src/_shared/owner-load-error.ts +1 -1
  32. package/templates/brandy/tier5-src/_shared/owner-load-error.ts +1 -1
  33. package/templates/community-club/tier5-src/_shared/owner-load-error.ts +1 -1
  34. package/templates/community-club-owner/dev/index.ts +167 -132
  35. package/templates/community-club-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  36. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  37. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  38. package/templates/community-club-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  39. package/templates/community-club-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  40. package/templates/community-club-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  41. package/templates/community-club-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  42. package/templates/community-club-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  43. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  44. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  45. package/templates/community-club-owner/tier5-src/himi-owner-lite-order/index.ts +4 -1
  46. package/templates/community-club-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  47. package/templates/conference/tier5-src/_shared/owner-load-error.ts +1 -1
  48. package/templates/events-meetups/tier5-src/_shared/owner-load-error.ts +1 -1
  49. package/templates/events-meetups-owner/dev/index.ts +165 -125
  50. package/templates/events-meetups-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  51. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  52. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  53. package/templates/events-meetups-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  54. package/templates/events-meetups-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  55. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  56. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  57. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  58. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  59. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  60. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  61. package/templates/fitness-gym/tier5-src/_shared/owner-load-error.ts +1 -1
  62. package/templates/gym-fitness/tier5-src/_shared/owner-load-error.ts +1 -1
  63. package/templates/gym-fitness-owner/dev/index.ts +169 -139
  64. package/templates/gym-fitness-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  65. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  66. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  67. package/templates/gym-fitness-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  68. package/templates/gym-fitness-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  69. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  70. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  71. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  72. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  73. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  74. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-order/index.ts +4 -1
  75. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  76. package/templates/gym-fitness-owner/tier5-src/wix-owner-booking/index.ts +4 -1
  77. package/templates/himi-chat/tier5-src/_shared/owner-load-error.ts +1 -1
  78. package/templates/medical-services/tier5-src/_shared/owner-load-error.ts +1 -1
  79. package/templates/nonprofit-cause/tier5-src/_shared/owner-load-error.ts +1 -1
  80. package/templates/nonprofit-cause-owner/dev/index.ts +167 -132
  81. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  82. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  83. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  84. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  85. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  86. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  87. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  88. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  89. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  90. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  91. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  92. package/templates/nonprofit-cause-owner/tier5-src/wix-owner-booking/index.ts +4 -1
  93. package/templates/owner-lite/dev/index.ts +171 -141
  94. package/templates/owner-lite/himalaya.content.json +1 -1
  95. package/templates/owner-lite/tier5-src/_shared/owner-load-error.ts +1 -1
  96. package/templates/owner-lite/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  97. package/templates/owner-lite/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  98. package/templates/owner-lite/tier5-src/_shared/owner-selected-site.ts +15 -0
  99. package/templates/owner-lite/tier5-src/_shared/owner-widget-reads.ts +7 -0
  100. package/templates/owner-lite/tier5-src/himi-owner-lite-home/index.ts +30 -8
  101. package/templates/owner-lite/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  102. package/templates/owner-lite/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  103. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  104. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  105. package/templates/owner-lite/tier5-src/himi-owner-lite-order/index.ts +4 -1
  106. package/templates/owner-lite/tier5-src/himi-owner-lite-record/index.ts +7 -1
  107. package/templates/owner-lite/tier5-src/wix-owner-booking/index.ts +4 -1
  108. package/templates/personal-fitness-trainer/tier5-src/_shared/owner-load-error.ts +1 -1
  109. package/templates/podcast-creator/tier5-src/_shared/owner-load-error.ts +1 -1
  110. package/templates/podcast-creator-owner/dev/index.ts +167 -132
  111. package/templates/podcast-creator-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  112. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  113. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  114. package/templates/podcast-creator-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  115. package/templates/podcast-creator-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  116. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  117. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  118. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  119. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  120. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  121. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-order/index.ts +4 -1
  122. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  123. package/templates/portfolio-creative/tier5-src/_shared/owner-load-error.ts +1 -1
  124. package/templates/portfolio-creative-owner/dev/index.ts +169 -139
  125. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  126. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  127. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  128. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  129. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  130. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  131. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  132. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  133. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  134. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  135. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-order/index.ts +4 -1
  136. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  137. package/templates/portfolio-creative-owner/tier5-src/wix-owner-booking/index.ts +4 -1
  138. package/templates/professional-services/tier5-src/_shared/owner-load-error.ts +1 -1
  139. package/templates/restaurant/tier5-src/_shared/owner-load-error.ts +1 -1
  140. package/templates/restaurant-owner/dev/index.ts +169 -139
  141. package/templates/restaurant-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  142. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  143. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  144. package/templates/restaurant-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  145. package/templates/restaurant-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  146. package/templates/restaurant-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  147. package/templates/restaurant-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  148. package/templates/restaurant-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  149. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  150. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  151. package/templates/restaurant-owner/tier5-src/himi-owner-lite-order/index.ts +4 -1
  152. package/templates/restaurant-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  153. package/templates/restaurant-owner/tier5-src/wix-owner-booking/index.ts +4 -1
  154. package/templates/retail-store/tier5-src/_shared/owner-load-error.ts +1 -1
  155. package/templates/retail-store-owner/dev/index.ts +167 -132
  156. package/templates/retail-store-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  157. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  158. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  159. package/templates/retail-store-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  160. package/templates/retail-store-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  161. package/templates/retail-store-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  162. package/templates/retail-store-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  163. package/templates/retail-store-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  164. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  165. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  166. package/templates/retail-store-owner/tier5-src/himi-owner-lite-order/index.ts +4 -1
  167. package/templates/retail-store-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  168. package/templates/salon-spa/tier5-src/_shared/owner-load-error.ts +1 -1
  169. package/templates/wholesale-store/tier5-src/_shared/owner-load-error.ts +1 -1
  170. package/templates/yoga-studio/tier5-src/_shared/owner-load-error.ts +1 -1
  171. package/templates/yoga-studio-owner/dev/index.ts +167 -132
  172. package/templates/yoga-studio-owner/tier5-src/_shared/owner-load-error.ts +1 -1
  173. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-availability.ts +12 -2
  174. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-tab.ts +81 -5
  175. package/templates/yoga-studio-owner/tier5-src/_shared/owner-selected-site.ts +15 -0
  176. package/templates/yoga-studio-owner/tier5-src/_shared/owner-widget-reads.ts +7 -0
  177. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-home/index.ts +30 -8
  178. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-inbox/index.ts +47 -8
  179. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +12 -5
  180. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +132 -39
  181. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +10 -8
  182. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-record/index.ts +7 -1
  183. package/templates/yoga-studio-owner/tier5-src/wix-owner-booking/index.ts +4 -1
Binary file
@@ -158,7 +158,7 @@ with the `args` key they send (`onChange(value)`), and `+N` other optional props
158
158
  - **ChromeOutlet** outlet!, +1
159
159
  - **Marquee** +4
160
160
  - **Timeline** entriesPath$, +1
161
- - **PageControl** onChange, countPath$, currentIndexPath$, +2
161
+ - **PageControl** onChange, countPath$, currentIndexPath$, +3
162
162
 
163
163
  ## Pickers & inputs
164
164
 
@@ -1035,7 +1035,7 @@
1035
1035
  "countPath",
1036
1036
  "currentIndexPath"
1037
1037
  ],
1038
- "propsSource": "export interface PageControlProps {\n count?: number;\n currentIndex?: number;\n onChange?: Action;\n /**\n * `$service:` path to the page count; wins over `count` once it resolves to an integer.\n * Inside a bound row the substituted literal is read the same way.\n */\n countPath?: string;\n /**\n * `$service:` path to the current page (0-based); wins over `currentIndex` once it resolves to\n * an integer. On iOS and Android a tap fires `onChange` with `args.index` and the worker writes it\n * back; the web and React Native dots are display-only.\n */\n currentIndexPath?: string;\n}"
1038
+ "propsSource": "export interface PageControlProps {\n count?: number;\n currentIndex?: number;\n onChange?: Action;\n /**\n * `$service:` path to the page count; wins over `count` once it resolves to an integer.\n * Inside a bound row the substituted literal is read the same way.\n */\n countPath?: string;\n /**\n * `$service:` path to the current page (0-based); wins over `currentIndex` once it resolves to\n * an integer. On iOS and Android a tap fires `onChange` with `args.index` and the worker writes it\n * back; the web and React Native dots are display-only.\n */\n currentIndexPath?: string;\n /**\n * How the dots are drawn. `\"pill\"` (default): every page a dot, the current one a wide accent pill.\n * `\"dots\"`: round dots, the current one accent, at most seven shown — a window that follows the\n * current page, its outer dots tapering where more pages lie beyond (a long carousel's indicator).\n * An older binary draws the pill.\n */\n style?: \"pill\" | \"dots\";\n}"
1039
1039
  },
1040
1040
  {
1041
1041
  "name": "WheelPicker",
@@ -2081,6 +2081,13 @@ export interface PageControlProps {
2081
2081
  * back; the web and React Native dots are display-only.
2082
2082
  */
2083
2083
  currentIndexPath?: string;
2084
+ /**
2085
+ * How the dots are drawn. `"pill"` (default): every page a dot, the current one a wide accent pill.
2086
+ * `"dots"`: round dots, the current one accent, at most seven shown — a window that follows the
2087
+ * current page, its outer dots tapering where more pages lie beyond (a long carousel's indicator).
2088
+ * An older binary draws the pill.
2089
+ */
2090
+ style?: "pill" | "dots";
2084
2091
  }
2085
2092
  ```
2086
2093
 
@@ -13937,7 +13937,7 @@
13937
13937
  "name": "ChatOptions",
13938
13938
  "kind": "interface",
13939
13939
  "jsdoc": "",
13940
- "decl": "export interface ChatOptions extends WixCallOptions {\n /** `owner` (default) mints with isForUnifiedList=true; `member` with false. */\n role?: ChatRole;\n /** A caller-supplied chatToken; skips the mint. Never stored by this module. */\n chatToken?: string;\n}",
13940
+ "decl": "export interface ChatOptions extends WixCallOptions {\n /** `owner` (default) mints with isForUnifiedList=true; `member` with false. */\n role?: ChatRole;\n /** A caller-supplied chatToken; skips the mint. Never stored by this module. */\n chatToken?: string;\n /** The business (metaSiteId) every call is addressed to, sent as `wix-site-id`. Unset = the\n * business the worker's Wix connection was opened for. An owner app with several businesses\n * sets it: a screen kept alive across a business switch keeps the connection it started\n * with, and would go on reading the business it was first opened for. */\n siteId?: string;\n}",
13941
13941
  "verificationChecked": true
13942
13942
  },
13943
13943
  {
@@ -14014,7 +14014,7 @@
14014
14014
  "name": "Chatroom",
14015
14015
  "kind": "interface",
14016
14016
  "jsdoc": "",
14017
- "decl": "export interface Chatroom {\n id: string;\n unreadCount?: number;\n isArchived?: boolean;\n createdAt?: number;\n participantId?: string;\n lastReadMessageSequence?: number;\n displayData?: { name?: string; image?: { url?: string } };\n lastMessage?: ChatMessagePreview;\n}",
14017
+ "decl": "export interface Chatroom {\n id: string;\n unreadCount?: number;\n isArchived?: boolean;\n createdAt?: number;\n participantId?: string;\n lastReadMessageSequence?: number;\n displayData?: { name?: string; image?: { url?: string } };\n lastMessage?: ChatMessagePreview;\n /** The business the conversation belongs to. An owner's unified list holds the conversations\n * of every business of the account, whichever site the call names (measured live 2026-11-28).\n * `id` is not a metaSiteId. */\n businessContext?: { id?: string; name?: string };\n}",
14018
14018
  "verificationChecked": true
14019
14019
  },
14020
14020
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1928.0",
3
+ "version": "0.1930.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -82,5 +82,5 @@
82
82
  "artifactId": "himalaya-cli"
83
83
  }
84
84
  },
85
- "falconPackageHash": "fddd577bb8d9d1bd86f8aaf1c3ccf7a46a535a130533e58b4209f7f9"
85
+ "falconPackageHash": "11686ee5e305d84e6d262c2e5e3a07d104330990716d648cca9df684"
86
86
  }
@@ -146,7 +146,7 @@ const CODED = /HTTP (\d{3}) \[([A-Z0-9_]+)\]/;
146
146
  * `HTTP 428 [MISSING_METASITE_ID]: Couldn't extract metasiteId from the request
147
147
  * context` where "6 orders" belongs.
148
148
  */
149
- const SITE_CONTEXT_CODES = ["MISSING_METASITE_ID", "MISSING_REQUEST_SITE_CONTEXT", "MISSING_SITE_CONTEXT"];
149
+ export const SITE_CONTEXT_CODES = ["MISSING_METASITE_ID", "MISSING_REQUEST_SITE_CONTEXT", "MISSING_SITE_CONTEXT"];
150
150
  /** Longest raw upstream text worth showing. Beyond this it stops being a
151
151
  * message and starts being a payload dump. */
152
152
  const MAX_RAW = 200;
@@ -146,7 +146,7 @@ const CODED = /HTTP (\d{3}) \[([A-Z0-9_]+)\]/;
146
146
  * `HTTP 428 [MISSING_METASITE_ID]: Couldn't extract metasiteId from the request
147
147
  * context` where "6 orders" belongs.
148
148
  */
149
- const SITE_CONTEXT_CODES = ["MISSING_METASITE_ID", "MISSING_REQUEST_SITE_CONTEXT", "MISSING_SITE_CONTEXT"];
149
+ export const SITE_CONTEXT_CODES = ["MISSING_METASITE_ID", "MISSING_REQUEST_SITE_CONTEXT", "MISSING_SITE_CONTEXT"];
150
150
  /** Longest raw upstream text worth showing. Beyond this it stops being a
151
151
  * message and starts being a payload dump. */
152
152
  const MAX_RAW = 200;
@@ -13104,13 +13104,9 @@ const SCREENS = runtimeSetting({
13104
13104
  "fullWidth": true,
13105
13105
  "leadingIcon": "ai",
13106
13106
  "action": {
13107
- "actionId": "himi.open",
13107
+ "actionId": "tier5.himiOwnerRecord.askMaestro",
13108
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."
13109
+ "kind": "contact"
13114
13110
  }
13115
13111
  }
13116
13112
  }
@@ -57215,6 +57211,9 @@ const SCREENS = runtimeSetting({
57215
57211
  ],
57216
57212
  "minBinaryVersion": "0.1.0",
57217
57213
  "bundleVersion": "0.0.1"
57214
+ },
57215
+ "topBar": {
57216
+ "actions": []
57218
57217
  }
57219
57218
  },
57220
57219
  "himi_owner_lite_brief": {
@@ -64090,6 +64089,22 @@ const SCREENS = runtimeSetting({
64090
64089
  "collapseWhenEmpty": true
64091
64090
  }
64092
64091
  }
64092
+ },
64093
+ {
64094
+ "id": "himi_owner_lite_maestro.context",
64095
+ "body": {
64096
+ "package": "himalaya",
64097
+ "type": "Text",
64098
+ "props": {
64099
+ "text": "$service:himiOwnerLiteMaestro.contextLabel",
64100
+ "style": "footnote",
64101
+ "color": "textSecondary",
64102
+ "maxLines": 1
64103
+ }
64104
+ },
64105
+ "modifiers": {
64106
+ "hiddenPath": "$service:himiOwnerLiteMaestro.contextHidden"
64107
+ }
64093
64108
  }
64094
64109
  ]
64095
64110
  }
@@ -64353,16 +64368,32 @@ const SCREENS = runtimeSetting({
64353
64368
  "package": "himalaya",
64354
64369
  "type": "Text",
64355
64370
  "props": {
64356
- "text": "Working on it…",
64371
+ "text": "$item.content",
64357
64372
  "style": "footnote",
64358
64373
  "color": "textSecondary",
64359
- "maxLines": 1
64374
+ "maxLines": 2
64360
64375
  }
64361
64376
  },
64362
64377
  "modifiers": {
64363
64378
  "hiddenPath": "$item.thinkingHidden"
64364
64379
  }
64365
64380
  },
64381
+ {
64382
+ "id": "",
64383
+ "body": {
64384
+ "package": "himalaya",
64385
+ "type": "Text",
64386
+ "props": {
64387
+ "text": "$item.content",
64388
+ "style": "footnote",
64389
+ "color": "textSecondary",
64390
+ "maxLines": 3
64391
+ }
64392
+ },
64393
+ "modifiers": {
64394
+ "hiddenPath": "$item.noteHidden"
64395
+ }
64396
+ },
64366
64397
  {
64367
64398
  "id": "himi_owner_lite_maestro.card_$item.id",
64368
64399
  "body": {
@@ -64553,6 +64584,7 @@ const SCREENS = runtimeSetting({
64553
64584
  "top": 18,
64554
64585
  "bottom": 24
64555
64586
  },
64587
+ "keyboardDismiss": "tap",
64556
64588
  "onAppear": {
64557
64589
  "actionId": "tier5.himiOwnerLiteMaestro.load"
64558
64590
  }
@@ -64571,88 +64603,34 @@ const SCREENS = runtimeSetting({
64571
64603
  "minBinaryVersion": "0.1.0",
64572
64604
  "bundleVersion": "0.0.1"
64573
64605
  },
64574
- "stickyHeader": {
64575
- "id": "himi_owner_lite_maestro.controls",
64576
- "body": {
64577
- "package": "himalaya",
64578
- "type": "HStack",
64579
- "props": {
64580
- "spacing": 8,
64581
- "children": [
64582
- {
64583
- "id": "himi_owner_lite_maestro.context",
64584
- "body": {
64585
- "package": "himalaya",
64586
- "type": "Text",
64587
- "props": {
64588
- "text": "$service:himiOwnerLiteMaestro.contextLabel",
64589
- "style": "footnote",
64590
- "color": "textSecondary",
64591
- "maxLines": 1,
64592
- "collapseWhenEmpty": true
64593
- }
64594
- }
64595
- },
64596
- {
64597
- "id": "",
64598
- "body": {
64599
- "package": "himalaya",
64600
- "type": "Spacer",
64601
- "props": {}
64602
- }
64603
- },
64604
- {
64605
- "id": "himi_owner_lite_maestro.history",
64606
- "body": {
64607
- "package": "himalaya",
64608
- "type": "Button",
64609
- "props": {
64610
- "title": "History",
64611
- "style": "link",
64612
- "size": "sm",
64613
- "fullWidth": false,
64614
- "action": {
64615
- "actionId": "himi.open",
64616
- "params": {
64617
- "screenId": "himi_owner_lite_maestro_history",
64618
- "title": "Conversations",
64619
- "subtitle": "Pick up where you left off."
64620
- }
64621
- }
64622
- }
64623
- }
64624
- },
64625
- {
64626
- "id": "himi_owner_lite_maestro.newChat",
64627
- "body": {
64628
- "package": "himalaya",
64629
- "type": "Button",
64630
- "props": {
64631
- "title": "New chat",
64632
- "style": "link",
64633
- "size": "sm",
64634
- "fullWidth": false,
64635
- "action": {
64636
- "actionId": "tier5.himiOwnerLiteMaestro.newChat"
64637
- }
64638
- }
64639
- }
64606
+ "topBar": {
64607
+ "actions": [
64608
+ {
64609
+ "id": "himi_owner_lite_maestro.history",
64610
+ "icon": "clock",
64611
+ "accessibilityLabel": "History",
64612
+ "onTap": {
64613
+ "actionId": "himi.open",
64614
+ "params": {
64615
+ "screenId": "himi_owner_lite_maestro_history",
64616
+ "title": "Conversations",
64617
+ "subtitle": "Pick up where you left off."
64640
64618
  }
64641
- ]
64642
- }
64643
- },
64644
- "modifiers": {
64645
- "background": {
64646
- "token": "surfacePrimary"
64647
- },
64648
- "padding": {
64649
- "leading": 16,
64650
- "trailing": 16,
64651
- "top": 4,
64652
- "bottom": 4
64619
+ },
64620
+ "hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden",
64621
+ "hiddenPathScope": "screen"
64653
64622
  },
64654
- "hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden"
64655
- }
64623
+ {
64624
+ "id": "himi_owner_lite_maestro.newChat",
64625
+ "icon": "edit",
64626
+ "accessibilityLabel": "New chat",
64627
+ "onTap": {
64628
+ "actionId": "tier5.himiOwnerLiteMaestro.newChat"
64629
+ },
64630
+ "hiddenPath": "$service:himiOwnerLiteMaestro.chatHidden",
64631
+ "hiddenPathScope": "screen"
64632
+ }
64633
+ ]
64656
64634
  },
64657
64635
  "stickyFooter": {
64658
64636
  "id": "himi_owner_lite_maestro.composer",
@@ -64750,50 +64728,111 @@ const SCREENS = runtimeSetting({
64750
64728
  }
64751
64729
  },
64752
64730
  {
64753
- "id": "form_maestro",
64731
+ "id": "",
64754
64732
  "body": {
64755
64733
  "package": "himalaya",
64756
- "type": "Form",
64734
+ "type": "HStack",
64757
64735
  "props": {
64758
- "id": "maestro",
64759
- "fields": [
64736
+ "spacing": 8,
64737
+ "alignment": "trailing",
64738
+ "children": [
64760
64739
  {
64761
- "id": "field_message",
64740
+ "id": "himi_owner_lite_maestro.input",
64762
64741
  "body": {
64763
64742
  "package": "himalaya",
64764
- "type": "FormField",
64743
+ "type": "TextField",
64765
64744
  "props": {
64766
- "id": "message",
64767
- "label": "",
64768
- "kind": "text",
64769
- "text": {
64770
- "value": "$service:himiOwnerLiteMaestro.input",
64771
- "placeholder": "Ask Maestro…",
64772
- "keyboard": "default",
64773
- "autoCapitalization": "sentences",
64774
- "multilineMaxLines": 4,
64775
- "onChange": {
64776
- "actionId": "tier5.himiOwnerLiteMaestro.setInput"
64777
- }
64778
- }
64745
+ "valuePath": "$service:himiOwnerLiteMaestro.input",
64746
+ "placeholder": "Ask Maestro…",
64747
+ "keyboard": "default",
64748
+ "autoCapitalization": "sentences",
64749
+ "multilineMaxLines": 4,
64750
+ "maxLength": 4000,
64751
+ "onChange": {
64752
+ "actionId": "tier5.himiOwnerLiteMaestro.setInput"
64753
+ },
64754
+ "borderless": true
64755
+ }
64756
+ },
64757
+ "modifiers": {
64758
+ "weight": 1,
64759
+ "accessibilityLabel": "Ask Maestro…",
64760
+ "background": {
64761
+ "token": "surfaceSecondary"
64762
+ },
64763
+ "cornerRadius": 22,
64764
+ "padding": {
64765
+ "leading": 16,
64766
+ "trailing": 12,
64767
+ "top": 11,
64768
+ "bottom": 11
64779
64769
  }
64780
64770
  }
64781
- }
64782
- ],
64783
- "submitButton": {
64784
- "id": "himi_owner_lite_maestro.send",
64785
- "body": {
64786
- "package": "himalaya",
64787
- "type": "Button",
64788
- "props": {
64789
- "title": "Send",
64790
- "style": "primary",
64791
- "action": {
64792
- "actionId": "tier5.himiOwnerLiteMaestro.submit"
64771
+ },
64772
+ {
64773
+ "id": "",
64774
+ "body": {
64775
+ "package": "himalaya",
64776
+ "type": "ZStack",
64777
+ "props": {
64778
+ "alignment": "center",
64779
+ "children": [
64780
+ {
64781
+ "id": "himi_owner_lite_maestro.send_off",
64782
+ "body": {
64783
+ "package": "himalaya",
64784
+ "type": "Icon",
64785
+ "props": {
64786
+ "name": "send",
64787
+ "size": 20,
64788
+ "tint": "textTertiary"
64789
+ }
64790
+ },
64791
+ "modifiers": {
64792
+ "accessibilityRole": "decorative",
64793
+ "width": 44,
64794
+ "height": 44,
64795
+ "cornerRadius": 22,
64796
+ "background": {
64797
+ "token": "surfaceSecondary"
64798
+ }
64799
+ }
64800
+ },
64801
+ {
64802
+ "id": "himi_owner_lite_maestro.send",
64803
+ "body": {
64804
+ "package": "himalaya",
64805
+ "type": "Icon",
64806
+ "props": {
64807
+ "name": "send",
64808
+ "size": 20,
64809
+ "tint": "textOnAccent"
64810
+ }
64811
+ },
64812
+ "modifiers": {
64813
+ "accessibilityRole": "button",
64814
+ "width": 44,
64815
+ "height": 44,
64816
+ "cornerRadius": 22,
64817
+ "background": {
64818
+ "token": "accentPrimary"
64819
+ },
64820
+ "accessibilityLabel": "Send",
64821
+ "onTap": {
64822
+ "actionId": "tier5.himiOwnerLiteMaestro.submit"
64823
+ },
64824
+ "hiddenPath": "$service:himiOwnerLiteMaestro.noInput"
64825
+ }
64826
+ }
64827
+ ]
64793
64828
  }
64829
+ },
64830
+ "modifiers": {
64831
+ "width": 44,
64832
+ "height": 44
64794
64833
  }
64795
64834
  }
64796
- }
64835
+ ]
64797
64836
  }
64798
64837
  }
64799
64838
  }
@@ -64820,8 +64859,7 @@ const SCREENS = runtimeSetting({
64820
64859
  },
64821
64860
  "hostTitle": {
64822
64861
  "title": "Maestro",
64823
- "subtitle": "Your business assistant, by Symphony.",
64824
- "replaces": "himi_owner_lite_maestro.header"
64862
+ "replaces": "himi_owner_lite_maestro.header.title"
64825
64863
  }
64826
64864
  },
64827
64865
  "himi_owner_lite_maestro_history": {
@@ -64958,7 +64996,7 @@ const SCREENS = runtimeSetting({
64958
64996
  "package": "himalaya",
64959
64997
  "type": "Icon",
64960
64998
  "props": {
64961
- "name": "edit",
64999
+ "name": "chat",
64962
65000
  "size": 20,
64963
65001
  "tint": "accentPrimary"
64964
65002
  }
@@ -65044,8 +65082,7 @@ const SCREENS = runtimeSetting({
65044
65082
  "screenId": "himi_owner_lite_maestro",
65045
65083
  "conversationId": "$item.id",
65046
65084
  "n": "$item.stamp",
65047
- "title": "Maestro",
65048
- "subtitle": "Your business assistant, by Symphony."
65085
+ "title": "Maestro"
65049
65086
  }
65050
65087
  }
65051
65088
  }
@@ -65133,6 +65170,9 @@ const SCREENS = runtimeSetting({
65133
65170
  "minBinaryVersion": "0.1.0",
65134
65171
  "bundleVersion": "0.0.1"
65135
65172
  },
65173
+ "topBar": {
65174
+ "actions": []
65175
+ },
65136
65176
  "hostTitle": {
65137
65177
  "title": "Conversations",
65138
65178
  "subtitle": "Pick up where you left off.",
@@ -83624,14 +83664,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
83624
83664
  "fullWidth": true,
83625
83665
  "leadingIcon": "ai",
83626
83666
  "action": {
83627
- "actionId": "himi.open",
83667
+ "actionId": "tier5.himiOwnerLiteOrder.askMaestro",
83628
83668
  "params": {
83629
- "screenId": "himi_owner_lite_maestro",
83630
- "kind": "order",
83631
- "id": "$service:himiOwnerLiteOrder.id",
83632
- "subject": "$service:himiOwnerLiteOrder.title",
83633
- "title": "Maestro",
83634
- "subtitle": "Your business assistant, by Symphony."
83669
+ "kind": "order"
83635
83670
  }
83636
83671
  }
83637
83672
  }
@@ -87576,14 +87611,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
87576
87611
  "fullWidth": true,
87577
87612
  "leadingIcon": "ai",
87578
87613
  "action": {
87579
- "actionId": "himi.open",
87614
+ "actionId": "tier5.ownerBooking.askMaestro",
87580
87615
  "params": {
87581
- "screenId": "himi_owner_lite_maestro",
87582
- "kind": "booking",
87583
- "id": "$service:ownerBooking.id",
87584
- "subject": "$service:ownerBooking.title",
87585
- "title": "Maestro",
87586
- "subtitle": "Your business assistant, by Symphony."
87616
+ "kind": "booking"
87587
87617
  }
87588
87618
  }
87589
87619
  }
@@ -146,7 +146,7 @@ const CODED = /HTTP (\d{3}) \[([A-Z0-9_]+)\]/;
146
146
  * `HTTP 428 [MISSING_METASITE_ID]: Couldn't extract metasiteId from the request
147
147
  * context` where "6 orders" belongs.
148
148
  */
149
- const SITE_CONTEXT_CODES = ["MISSING_METASITE_ID", "MISSING_REQUEST_SITE_CONTEXT", "MISSING_SITE_CONTEXT"];
149
+ export const SITE_CONTEXT_CODES = ["MISSING_METASITE_ID", "MISSING_REQUEST_SITE_CONTEXT", "MISSING_SITE_CONTEXT"];
150
150
  /** Longest raw upstream text worth showing. Beyond this it stops being a
151
151
  * message and starts being a payload dump. */
152
152
  const MAX_RAW = 200;
@@ -28,9 +28,19 @@ export async function symphonyAccount(api: MaestroWixApi): Promise<string> {
28
28
  return typeof id === "string" ? id.trim() : "";
29
29
  }
30
30
 
31
+ /** The account's Spaces. Throws when they could not be asked.
32
+ *
33
+ * Not asked a second time here after a refusal. The first call a run makes for the Symphony
34
+ * account can answer 403 (measured live 2026-11-28), but a worker has no timer to wait with, and
35
+ * the host remembers a credential it could not get for ten seconds, so an immediate second ask
36
+ * is refused the same way. The caller asks again on its own schedule. */
37
+ async function readSpaces(api: MaestroWixApi, account: string): Promise<Spaces | null> {
38
+ return (await api.call("POST", SPACES, {}, forSymphonyAccount(account))) as Spaces | null;
39
+ }
40
+
31
41
  /** Whether `site` is the website of one of the owner's Spaces. Throws when it could not be asked. */
32
42
  export async function isSpaceWebsite(api: MaestroWixApi, account: string, site: string): Promise<boolean> {
33
- const res = (await api.call("POST", SPACES, {}, forSymphonyAccount(account))) as Spaces | null;
43
+ const res = await readSpaces(api, account);
34
44
  return (res?.workspaces ?? []).some((w) => w?.website?.metaSiteId === site);
35
45
  }
36
46
 
@@ -45,7 +55,7 @@ export interface SpaceWebsite { id: string; name: string; space: string }
45
55
  export async function spaceWebsites(api: MaestroWixApi): Promise<SpaceWebsite[]> {
46
56
  const account = await symphonyAccount(api);
47
57
  if (!account) return [];
48
- const res = (await api.call("POST", SPACES, {}, forSymphonyAccount(account))) as Spaces | null;
58
+ const res = await readSpaces(api, account);
49
59
  const out: SpaceWebsite[] = [];
50
60
  for (const w of res?.workspaces ?? []) {
51
61
  const id = typeof w?.website?.metaSiteId === "string" ? w.website.metaSiteId.trim() : "";