@wix/himalaya-cli 0.1749.0 → 0.1751.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 (324) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/himi-package.d.ts +478 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/host-compatibility.d.ts +56 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/icon-catalog.generated.d.ts +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +156 -8
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +3 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +2 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/podcast-service.d.ts +105 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/podcast.d.ts +116 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +326 -13
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +730 -81
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +155 -0
  14. package/dist/browser-plane/assets.json +5 -5
  15. package/dist/browser-plane/preview-deferred/{b40ea5d0d6251898ff5617139fde8be008dd11e99a70b14c1052093685401700.bin → 21f35a12bd94f4ab97a9a75453c4adcadc438daf024a4b1950d5c356c123bd01.bin} +1 -1
  16. package/dist/browser-plane/sw.js +7 -7
  17. package/dist/cli.mjs +44618 -35753
  18. package/dist/preview-assets.generated.bin +0 -0
  19. package/guides/component-reference.json +1 -1
  20. package/guides/component-reference.md +4 -0
  21. package/guides/designing-himi-screens.md +7 -0
  22. package/guides/getting-started.md +5 -1
  23. package/guides/headless-loop.md +1 -1
  24. package/guides/himi-json-output.md +54 -1
  25. package/guides/himi-skill.md +5 -1
  26. package/guides/index.json +6 -0
  27. package/guides/one-app-to-himi-app.md +31 -8
  28. package/guides/qa-builds.md +12 -1
  29. package/guides/recipe-podcast.md +149 -0
  30. package/guides/skill.md +3 -1
  31. package/guides/store-submission.md +149 -34
  32. package/guides/tier-5-add-a-screen.md +16 -2
  33. package/guides/wix-business-context.md +43 -0
  34. package/guides/wix-platform-usage.md +7 -2
  35. package/package.json +10 -10
  36. package/template-icons/fitness-gym.png +0 -0
  37. package/template-icons/personal-fitness-trainer.png +0 -0
  38. package/templates/beauty-salon/config.ts +12 -0
  39. package/templates/beauty-salon/dev/index.ts +1 -1
  40. package/templates/beauty-salon/l10n/en.json +1 -1
  41. package/templates/beauty-salon/tier5-src/_shared/booking-session.ts +3 -1
  42. package/templates/beauty-salon/tier5-src/_shared/business-chat-transport.ts +148 -0
  43. package/templates/beauty-salon/tier5-src/_shared/header-badges.ts +113 -0
  44. package/templates/beauty-salon/tier5-src/_shared/location-pin.ts +97 -0
  45. package/templates/beauty-salon/tier5-src/_shared/member-access.ts +17 -6
  46. package/templates/beauty-salon/tier5-src/_shared/program-fields.ts +16 -0
  47. package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +5 -8
  48. package/templates/beauty-salon/tier5-src/_shared/source-badges.ts +72 -0
  49. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  50. package/templates/beauty-salon/tier5-src/himi-branded-lite-nav/index.ts +152 -0
  51. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +13 -4
  52. package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  53. package/templates/branded-lite/config.ts +12 -0
  54. package/templates/branded-lite/dev/index.ts +101 -1
  55. package/templates/branded-lite/l10n/en.json +22 -1
  56. package/templates/branded-lite/l10n/es.json +22 -0
  57. package/templates/branded-lite/l10n/fr.json +23 -0
  58. package/templates/branded-lite/l10n/he.json +19 -0
  59. package/templates/branded-lite/tier5-src/_shared/booking-session.ts +3 -1
  60. package/templates/branded-lite/tier5-src/_shared/location-pin.ts +97 -0
  61. package/templates/branded-lite/tier5-src/_shared/member-access.ts +17 -6
  62. package/templates/branded-lite/tier5-src/_shared/program-fields.ts +16 -0
  63. package/templates/branded-lite/tier5-src/_shared/programs-section.ts +5 -8
  64. package/templates/branded-lite/tier5-src/himi-branded-lite-access-nav/index.ts +10 -5
  65. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  66. package/templates/branded-lite/tier5-src/himi-branded-lite-nav/index.ts +152 -0
  67. package/templates/branded-lite/tier5-src/himi-branded-lite-podcasts/index.ts +14 -234
  68. package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +12 -1
  69. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +13 -4
  70. package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  71. package/templates/brandy/README.md +33 -0
  72. package/templates/brandy/config.ts +51 -7
  73. package/templates/brandy/dev/index.ts +23 -9
  74. package/templates/community-club/l10n/en.json +1 -1
  75. package/templates/community-club/tier5-src/_shared/member-access.ts +17 -6
  76. package/templates/community-club/tier5-src/_shared/program-fields.ts +16 -0
  77. package/templates/community-club/tier5-src/_shared/programs-section.ts +5 -8
  78. package/templates/community-club/tier5-src/himi-store-account/index.ts +13 -4
  79. package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  80. package/templates/conference/tier5-src/_shared/member-access.ts +17 -6
  81. package/templates/conference/tier5-src/himi-store-account/index.ts +13 -4
  82. package/templates/events-meetups/l10n/en.json +1 -1
  83. package/templates/events-meetups/tier5-src/_shared/member-access.ts +17 -6
  84. package/templates/events-meetups/tier5-src/_shared/program-fields.ts +16 -0
  85. package/templates/events-meetups/tier5-src/_shared/programs-section.ts +5 -8
  86. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +13 -4
  87. package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  88. package/templates/fitness-gym/README.md +53 -0
  89. package/templates/fitness-gym/config.ts +560 -0
  90. package/templates/fitness-gym/dev/index.ts +25787 -0
  91. package/templates/fitness-gym/himalaya.content.json +64 -0
  92. package/templates/fitness-gym/himalaya.template.json +15 -0
  93. package/templates/fitness-gym/icon.png +0 -0
  94. package/templates/fitness-gym/platforms.json +1 -0
  95. package/templates/fitness-gym/tier5-src/_shared/app-locale.ts +61 -0
  96. package/templates/fitness-gym/tier5-src/_shared/booking-location.ts +147 -0
  97. package/templates/fitness-gym/tier5-src/_shared/booking-session.ts +224 -0
  98. package/templates/fitness-gym/tier5-src/_shared/branded-lite-hosted.ts +280 -0
  99. package/templates/fitness-gym/tier5-src/_shared/branded-load-state.ts +109 -0
  100. package/templates/fitness-gym/tier5-src/_shared/business-chat-copy.ts +40 -0
  101. package/templates/fitness-gym/tier5-src/_shared/business-chat-history.ts +51 -0
  102. package/templates/fitness-gym/tier5-src/_shared/business-chat-message-model.ts +177 -0
  103. package/templates/fitness-gym/tier5-src/_shared/business-chat-model.ts +56 -0
  104. package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +576 -0
  105. package/templates/fitness-gym/tier5-src/_shared/business-chat-transport.ts +148 -0
  106. package/templates/fitness-gym/tier5-src/_shared/collection-contract.ts +228 -0
  107. package/templates/fitness-gym/tier5-src/_shared/collection-query.ts +193 -0
  108. package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +400 -0
  109. package/templates/fitness-gym/tier5-src/_shared/detail-presence.ts +51 -0
  110. package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +523 -0
  111. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +194 -0
  112. package/templates/fitness-gym/tier5-src/_shared/himi-booking-saved.ts +88 -0
  113. package/templates/fitness-gym/tier5-src/_shared/himi-bookings.ts +318 -0
  114. package/templates/fitness-gym/tier5-src/_shared/himi-copy.ts +116 -0
  115. package/templates/fitness-gym/tier5-src/_shared/himi-media.ts +29 -0
  116. package/templates/fitness-gym/tier5-src/_shared/himi-store.ts +7 -0
  117. package/templates/fitness-gym/tier5-src/_shared/himi-text.ts +24 -0
  118. package/templates/fitness-gym/tier5-src/_shared/host-events.ts +66 -0
  119. package/templates/fitness-gym/tier5-src/_shared/hosted-checkout.ts +70 -0
  120. package/templates/fitness-gym/tier5-src/_shared/iap-attendance-form.ts +106 -0
  121. package/templates/fitness-gym/tier5-src/_shared/iap-attendance-purchase.ts +216 -0
  122. package/templates/fitness-gym/tier5-src/_shared/iap-attendance.ts +38 -0
  123. package/templates/fitness-gym/tier5-src/_shared/iap-worker.ts +127 -0
  124. package/templates/fitness-gym/tier5-src/_shared/inbox-rooms.ts +68 -0
  125. package/templates/fitness-gym/tier5-src/_shared/local-preferences.ts +38 -0
  126. package/templates/fitness-gym/tier5-src/_shared/member-access.ts +63 -0
  127. package/templates/fitness-gym/tier5-src/_shared/member-account-routes.ts +52 -0
  128. package/templates/fitness-gym/tier5-src/_shared/member-bookings.ts +107 -0
  129. package/templates/fitness-gym/tier5-src/_shared/member-screen.ts +99 -0
  130. package/templates/fitness-gym/tier5-src/_shared/notification-target.ts +141 -0
  131. package/templates/fitness-gym/tier5-src/_shared/offset-page.ts +10 -0
  132. package/templates/fitness-gym/tier5-src/_shared/online-actions.ts +76 -0
  133. package/templates/fitness-gym/tier5-src/_shared/owner-load-error.ts +348 -0
  134. package/templates/fitness-gym/tier5-src/_shared/payment-setup.ts +6 -0
  135. package/templates/fitness-gym/tier5-src/_shared/pricing-plan-display.ts +64 -0
  136. package/templates/fitness-gym/tier5-src/_shared/program-description.ts +11 -0
  137. package/templates/fitness-gym/tier5-src/_shared/program-fields.ts +16 -0
  138. package/templates/fitness-gym/tier5-src/_shared/program-standing.ts +46 -0
  139. package/templates/fitness-gym/tier5-src/_shared/rich-body.ts +78 -0
  140. package/templates/fitness-gym/tier5-src/_shared/rich-content-link.ts +34 -0
  141. package/templates/fitness-gym/tier5-src/_shared/sign-in-sheet.ts +18 -0
  142. package/templates/fitness-gym/tier5-src/_shared/staff-name.ts +18 -0
  143. package/templates/fitness-gym/tier5-src/_shared/weekly-goal.ts +107 -0
  144. package/templates/fitness-gym/tier5-src/_shared/wix-bi.ts +85 -0
  145. package/templates/fitness-gym/tier5-src/_shared/wix-member-links.ts +114 -0
  146. package/templates/fitness-gym/tier5-src/_shared/wix-service-price.ts +146 -0
  147. package/templates/fitness-gym/tier5-src/business-chat/index.ts +732 -0
  148. package/templates/fitness-gym/tier5-src/business-contact/index.ts +6 -0
  149. package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +267 -0
  150. package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +468 -0
  151. package/templates/fitness-gym/tier5-src/himi-booking-service/index.ts +1190 -0
  152. package/templates/fitness-gym/tier5-src/himi-booking-services/index.ts +791 -0
  153. package/templates/fitness-gym/tier5-src/himi-booking-time/index.ts +1729 -0
  154. package/templates/fitness-gym/tier5-src/himi-branded-lite-agenda/index.ts +988 -0
  155. package/templates/fitness-gym/tier5-src/himi-branded-lite-member-programs/index.ts +656 -0
  156. package/templates/fitness-gym/tier5-src/himi-branded-lite-notifications/index.ts +256 -0
  157. package/templates/fitness-gym/tier5-src/himi-branded-lite-plans/index.ts +495 -0
  158. package/templates/fitness-gym/tier5-src/himi-branded-lite-program/facts.ts +52 -0
  159. package/templates/fitness-gym/tier5-src/himi-branded-lite-program/index.ts +845 -0
  160. package/templates/fitness-gym/tier5-src/himi-fitcoach-goal/index.ts +191 -0
  161. package/templates/fitness-gym/tier5-src/himi-fitcoach-home/index.ts +619 -0
  162. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +1007 -0
  163. package/templates/fitness-gym/tier5-src/wix-spaces-my-subscriptions/index.ts +84 -0
  164. package/templates/fitness-gym/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
  165. package/templates/fitness-gym/tokens.json +414 -0
  166. package/templates/gym-fitness/config.ts +12 -0
  167. package/templates/gym-fitness/dev/index.ts +1 -1
  168. package/templates/gym-fitness/l10n/en.json +1 -1
  169. package/templates/gym-fitness/tier5-src/_shared/booking-session.ts +3 -1
  170. package/templates/gym-fitness/tier5-src/_shared/business-chat-transport.ts +148 -0
  171. package/templates/gym-fitness/tier5-src/_shared/header-badges.ts +113 -0
  172. package/templates/gym-fitness/tier5-src/_shared/location-pin.ts +97 -0
  173. package/templates/gym-fitness/tier5-src/_shared/member-access.ts +17 -6
  174. package/templates/gym-fitness/tier5-src/_shared/program-fields.ts +16 -0
  175. package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +5 -8
  176. package/templates/gym-fitness/tier5-src/_shared/source-badges.ts +72 -0
  177. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  178. package/templates/gym-fitness/tier5-src/himi-branded-lite-nav/index.ts +152 -0
  179. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +13 -4
  180. package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  181. package/templates/medical-services/dev/index.ts +2 -1
  182. package/templates/medical-services/tier5-src/_shared/booking-session.ts +3 -1
  183. package/templates/medical-services/tier5-src/_shared/member-access.ts +17 -6
  184. package/templates/medical-services/tier5-src/himi-booking-account/index.ts +16 -1
  185. package/templates/medical-services/tier5-src/himi-store-account/index.ts +13 -4
  186. package/templates/nonprofit-cause/l10n/en.json +1 -1
  187. package/templates/nonprofit-cause/tier5-src/_shared/member-access.ts +17 -6
  188. package/templates/nonprofit-cause/tier5-src/_shared/program-fields.ts +16 -0
  189. package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +5 -8
  190. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +13 -4
  191. package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  192. package/templates/personal-fitness-trainer/README.md +51 -0
  193. package/templates/personal-fitness-trainer/config.ts +343 -0
  194. package/templates/personal-fitness-trainer/dev/index.ts +24813 -0
  195. package/templates/personal-fitness-trainer/himalaya.content.json +79 -0
  196. package/templates/personal-fitness-trainer/himalaya.template.json +14 -0
  197. package/templates/personal-fitness-trainer/icon.png +0 -0
  198. package/templates/personal-fitness-trainer/platforms.json +3 -0
  199. package/templates/personal-fitness-trainer/splash.json +3 -0
  200. package/templates/personal-fitness-trainer/tier5-src/_shared/app-locale.ts +61 -0
  201. package/templates/personal-fitness-trainer/tier5-src/_shared/booking-location.ts +147 -0
  202. package/templates/personal-fitness-trainer/tier5-src/_shared/booking-session.ts +224 -0
  203. package/templates/personal-fitness-trainer/tier5-src/_shared/branded-lite-hosted.ts +280 -0
  204. package/templates/personal-fitness-trainer/tier5-src/_shared/branded-load-state.ts +109 -0
  205. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-copy.ts +40 -0
  206. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-history.ts +51 -0
  207. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-message-model.ts +177 -0
  208. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-model.ts +56 -0
  209. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +576 -0
  210. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-transport.ts +148 -0
  211. package/templates/personal-fitness-trainer/tier5-src/_shared/collection-contract.ts +228 -0
  212. package/templates/personal-fitness-trainer/tier5-src/_shared/collection-query.ts +193 -0
  213. package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +400 -0
  214. package/templates/personal-fitness-trainer/tier5-src/_shared/detail-presence.ts +51 -0
  215. package/templates/personal-fitness-trainer/tier5-src/_shared/empty-flags.ts +33 -0
  216. package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +523 -0
  217. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +194 -0
  218. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-booking-saved.ts +88 -0
  219. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-bookings.ts +318 -0
  220. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-copy.ts +116 -0
  221. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-layouts.ts +142 -0
  222. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-store.ts +7 -0
  223. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-text.ts +24 -0
  224. package/templates/personal-fitness-trainer/tier5-src/_shared/host-events.ts +66 -0
  225. package/templates/personal-fitness-trainer/tier5-src/_shared/hosted-checkout.ts +70 -0
  226. package/templates/personal-fitness-trainer/tier5-src/_shared/iap-attendance-form.ts +106 -0
  227. package/templates/personal-fitness-trainer/tier5-src/_shared/iap-attendance-purchase.ts +216 -0
  228. package/templates/personal-fitness-trainer/tier5-src/_shared/iap-attendance.ts +38 -0
  229. package/templates/personal-fitness-trainer/tier5-src/_shared/iap-worker.ts +127 -0
  230. package/templates/personal-fitness-trainer/tier5-src/_shared/inbox-rooms.ts +68 -0
  231. package/templates/personal-fitness-trainer/tier5-src/_shared/local-preferences.ts +38 -0
  232. package/templates/personal-fitness-trainer/tier5-src/_shared/member-access.ts +63 -0
  233. package/templates/personal-fitness-trainer/tier5-src/_shared/member-account-routes.ts +52 -0
  234. package/templates/personal-fitness-trainer/tier5-src/_shared/member-bookings.ts +107 -0
  235. package/templates/personal-fitness-trainer/tier5-src/_shared/member-screen.ts +99 -0
  236. package/templates/personal-fitness-trainer/tier5-src/_shared/offset-page.ts +10 -0
  237. package/templates/personal-fitness-trainer/tier5-src/_shared/online-actions.ts +76 -0
  238. package/templates/personal-fitness-trainer/tier5-src/_shared/owner-load-error.ts +348 -0
  239. package/templates/personal-fitness-trainer/tier5-src/_shared/payment-setup.ts +6 -0
  240. package/templates/personal-fitness-trainer/tier5-src/_shared/pricing-plan-display.ts +64 -0
  241. package/templates/personal-fitness-trainer/tier5-src/_shared/rich-body.ts +78 -0
  242. package/templates/personal-fitness-trainer/tier5-src/_shared/rich-content-link.ts +34 -0
  243. package/templates/personal-fitness-trainer/tier5-src/_shared/sign-in-sheet.ts +18 -0
  244. package/templates/personal-fitness-trainer/tier5-src/_shared/staff-name.ts +18 -0
  245. package/templates/personal-fitness-trainer/tier5-src/_shared/video-caption.ts +21 -0
  246. package/templates/personal-fitness-trainer/tier5-src/_shared/weekly-goal.ts +107 -0
  247. package/templates/personal-fitness-trainer/tier5-src/_shared/wix-bi.ts +85 -0
  248. package/templates/personal-fitness-trainer/tier5-src/_shared/wix-service-price.ts +146 -0
  249. package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +732 -0
  250. package/templates/personal-fitness-trainer/tier5-src/business-contact/index.ts +6 -0
  251. package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +468 -0
  252. package/templates/personal-fitness-trainer/tier5-src/himi-booking-service/index.ts +1190 -0
  253. package/templates/personal-fitness-trainer/tier5-src/himi-booking-services/index.ts +791 -0
  254. package/templates/personal-fitness-trainer/tier5-src/himi-booking-time/index.ts +1729 -0
  255. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  256. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/index.ts +1094 -0
  257. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-agenda/index.ts +988 -0
  258. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-appearance/index.ts +94 -0
  259. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  260. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-plans/index.ts +495 -0
  261. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-splash/index.ts +35 -0
  262. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-video/index.ts +226 -0
  263. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-videos/index.ts +145 -0
  264. package/templates/personal-fitness-trainer/tier5-src/himi-fitness-trainer-home/index.ts +70 -0
  265. package/templates/personal-fitness-trainer/tier5-src/himi-fitness-trainer-profile/index.ts +53 -0
  266. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +1007 -0
  267. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-app-language/index.ts +73 -0
  268. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-delete-account/index.ts +59 -0
  269. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-my-subscriptions/index.ts +84 -0
  270. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
  271. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-view-profile/index.ts +119 -0
  272. package/templates/personal-fitness-trainer/tokens.json +381 -0
  273. package/templates/podcast-creator/dev/index.ts +100 -0
  274. package/templates/podcast-creator/l10n/en.json +22 -1
  275. package/templates/podcast-creator/l10n/es.json +22 -0
  276. package/templates/podcast-creator/l10n/fr.json +18 -0
  277. package/templates/podcast-creator/l10n/he.json +15 -0
  278. package/templates/podcast-creator/tier5-src/_shared/member-access.ts +17 -6
  279. package/templates/podcast-creator/tier5-src/_shared/program-fields.ts +16 -0
  280. package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +5 -8
  281. package/templates/podcast-creator/tier5-src/himi-branded-lite-podcasts/index.ts +14 -234
  282. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +13 -4
  283. package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  284. package/templates/portfolio-creative/l10n/en.json +1 -1
  285. package/templates/portfolio-creative/tier5-src/_shared/member-access.ts +17 -6
  286. package/templates/portfolio-creative/tier5-src/_shared/program-fields.ts +16 -0
  287. package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +5 -8
  288. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +13 -4
  289. package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  290. package/templates/restaurant/l10n/en.json +1 -1
  291. package/templates/restaurant/tier5-src/_shared/member-access.ts +17 -6
  292. package/templates/restaurant/tier5-src/_shared/program-fields.ts +16 -0
  293. package/templates/restaurant/tier5-src/_shared/programs-section.ts +5 -8
  294. package/templates/restaurant/tier5-src/himi-store-account/index.ts +13 -4
  295. package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  296. package/templates/retail-store/l10n/en.json +1 -1
  297. package/templates/retail-store/tier5-src/_shared/member-access.ts +17 -6
  298. package/templates/retail-store/tier5-src/_shared/program-fields.ts +16 -0
  299. package/templates/retail-store/tier5-src/_shared/programs-section.ts +5 -8
  300. package/templates/retail-store/tier5-src/himi-store-account/index.ts +13 -4
  301. package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  302. package/templates/salon-spa/dev/index.ts +1 -1
  303. package/templates/salon-spa/tier5-src/_shared/booking-session.ts +3 -1
  304. package/templates/salon-spa/tier5-src/_shared/member-access.ts +17 -6
  305. package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +16 -1
  306. package/templates/salon-spa/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  307. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +13 -4
  308. package/templates/wholesale-store/tier5-src/_shared/member-access.ts +17 -6
  309. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +13 -4
  310. package/templates/yoga-studio/config.ts +12 -0
  311. package/templates/yoga-studio/dev/index.ts +1 -1
  312. package/templates/yoga-studio/l10n/en.json +1 -1
  313. package/templates/yoga-studio/tier5-src/_shared/booking-session.ts +3 -1
  314. package/templates/yoga-studio/tier5-src/_shared/business-chat-transport.ts +148 -0
  315. package/templates/yoga-studio/tier5-src/_shared/header-badges.ts +113 -0
  316. package/templates/yoga-studio/tier5-src/_shared/location-pin.ts +97 -0
  317. package/templates/yoga-studio/tier5-src/_shared/member-access.ts +17 -6
  318. package/templates/yoga-studio/tier5-src/_shared/program-fields.ts +16 -0
  319. package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +5 -8
  320. package/templates/yoga-studio/tier5-src/_shared/source-badges.ts +72 -0
  321. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  322. package/templates/yoga-studio/tier5-src/himi-branded-lite-nav/index.ts +152 -0
  323. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +13 -4
  324. package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +68 -55
Binary file
@@ -1286,7 +1286,7 @@
1286
1286
  }
1287
1287
  ],
1288
1288
  "descriptor": {
1289
- "ScreenDescriptor": "export interface ScreenDescriptor {\n screenId: string;\n renderer: RendererKind;\n title?: string;\n /** Present when `renderer` is `sdui_intent` or `sdui_layout`. On a `webview_native_bridge` site screen it\n * may carry the screen's node form: the root tree with the page as a `role: \"primary\"`\n * WebView, which a dual-form binary draws instead of the Tier-3 page and every older binary ignores\n * (`prefersPayloadNodeForm`, `dualFormSiteScreen`). */\n payload?: Component;\n /** A component pinned ABOVE the scrolling payload (sticky tab-header / toolbar).\n * Rendered by the host outside the screen scroll, so it stays put as content\n * scrolls. Optional; absent = no sticky header. */\n stickyHeader?: Component;\n /** A component pinned BELOW the scrolling payload (sticky footer — price/confirm\n * bar, peeking bottom-sheet). Rendered outside the screen scroll by the host. */\n stickyFooter?: Component;\n /** When true, the host wraps the screen in a scroll that starts pinned to the\n * bottom and shows a floating \"jump to latest\" button whenever the user scrolls\n * up (a chat transcript). Tapping it animates back to the bottom. Absent/false =\n * a normal top-anchored scroll. Honored by the app host (Router). */\n scrollToBottom?: boolean;\n /** The chat transcript scroll policy. On a send the host pins the\n * named component near the top and reserves the space the reply grows into;\n * when the reply outgrows it the host follows the tail. A drag pauses\n * following, and only then is a jump-to-latest control shown. */\n transcriptScroll?: TranscriptScroll;\n /** The page's title for a host that shows it in its own navigation bar (iOS `himalayaEmbedTitle`, Android\n * `ProvideHimalayaEmbedTitle`): it gets the title as soon as it has the descriptor, before the worker boots, and\n * `replaces` is not drawn. Every other host ignores it, so the in-content header stays. */\n hostTitle?: HostTitle;\n /** Present when `renderer` is `webview_native_bridge` or `webview_ds`. */\n url?: string;\n capabilitiesRequired?: string[];\n schemaVersion: number;\n togglesApplied?: string[];\n /** Per-session flag/experiment assignments baked in for this request. */\n assignments?: import(\"./flags.js\").Assignment[];\n /** Per-screen top bar (trailing actions +\n * leading/style override). Fully replaces `NavigationConfig.topBarDefault`. */\n topBar?: TopBarConfig;\n /** \"\" / \"visible\" (default) | \"hidden\": hide the bottom tab bar while this screen is the\n * visible top of its tab's stack. Static; no effect in a presentation. */\n tabBarVisibility?: string;\n etag?: string;\n cacheControl?: CacheControl;\n telemetryScreenName?: string;\n bundleSri?: string;\n manifestVersion?: number;\n /**\n * Present on Tier-5 screens. The presence of this field is the tier-5\n * signal — there is no separate `tier: 5` flag.\n */\n logicBundle?: LogicBundleRef;\n /**\n * Static per-screen input injected as `globalThis.himalaya.input` before the\n * Tier-5 worker bundle evaluates — the worker reads it synchronously in `load()`\n * (e.g. `himalaya.input.id` for a detail screen, or a baked catalog like\n * `himalaya.input.cmsCollections`).\n *\n * A push merges its navigation parameters into this object on web, iOS, and Android.\n * For example, `himi.open({ screenId: \"event\", id: \"$item.id\" })` makes the id\n * available as `himalaya.input.id` in the pushed worker; static `input` remains the\n * fallback for values baked into a descriptor or a templated route. The host also\n * supplies `screenId`. See docs/tier-5-add-a-screen.md → \"Navigate to a detail screen\".\n *\n * Arbitrary JSON object; consumed by the web host (ScreenController) and the\n * native JSWorker.\n */\n input?: Record<string, unknown>;\n /**\n * Tier 3 / Tier 4 — behavior of the hosted WebView. Ignored by SDUI tiers.\n * Authored in the descriptor builder (git); served OTA verbatim.\n */\n webViewConfig?: WebViewConfig;\n}",
1289
+ "ScreenDescriptor": "export interface ScreenDescriptor {\n screenId: string;\n renderer: RendererKind;\n title?: string;\n /** Present when `renderer` is `sdui_intent` or `sdui_layout`. On a `webview_native_bridge` site screen it\n * may carry the screen's node form: the root tree with the page as a `role: \"primary\"`\n * WebView, which a dual-form binary draws instead of the Tier-3 page and every older binary ignores\n * (`prefersPayloadNodeForm`, `dualFormSiteScreen`). */\n payload?: Component;\n /** A component pinned ABOVE the scrolling payload (sticky tab-header / toolbar).\n * Rendered by the host outside the screen scroll, so it stays put as content\n * scrolls. Optional; absent = no sticky header. */\n stickyHeader?: Component;\n /** A component pinned BELOW the scrolling payload (sticky footer — price/confirm\n * bar, peeking bottom-sheet). Rendered outside the screen scroll by the host. */\n stickyFooter?: Component;\n /** When true, the host wraps the screen in a scroll that starts pinned to the\n * bottom and shows a floating \"jump to latest\" button whenever the user scrolls\n * up (a chat transcript). Tapping it animates back to the bottom. Absent/false =\n * a normal top-anchored scroll. Honored by the app host (Router). */\n scrollToBottom?: boolean;\n /** The chat transcript scroll policy. On a send the host pins the\n * named component near the top and reserves the space the reply grows into;\n * when the reply outgrows it the host follows the tail. A drag pauses\n * following, and only then is a jump-to-latest control shown. */\n transcriptScroll?: TranscriptScroll;\n /** The page's title for a host that shows it in its own navigation bar (iOS `himalayaEmbedTitle`, Android\n * `ProvideHimalayaEmbedTitle`): it gets the title as soon as it has the descriptor, before the worker boots, and\n * `replaces` is not drawn. Every other host ignores it, so the in-content header stays. */\n hostTitle?: HostTitle;\n /** Present when `renderer` is `webview_native_bridge` or `webview_ds`. */\n url?: string;\n capabilitiesRequired?: string[];\n schemaVersion: number;\n togglesApplied?: string[];\n /** Per-session flag/experiment assignments baked in for this request. */\n assignments?: import(\"./flags.js\").Assignment[];\n /** Per-screen top bar (trailing actions +\n * leading/style override). Fully replaces `NavigationConfig.topBarDefault`. */\n topBar?: TopBarConfig;\n /** \"\" / \"visible\" (default) | \"hidden\": hide the bottom tab bar while this screen is the\n * visible top of its tab's stack. Static; no effect in a presentation. */\n tabBarVisibility?: string;\n /** \"\" / \"pinned\" (default) | \"floating\": how the host draws `stickyFooter`. Floating draws it\n * over the bottom of the scroll with no band behind it (a Fab, a snackbar) and insets the\n * content by its height. Static; an unknown value is \"pinned\". */\n stickyFooterPlacement?: string;\n etag?: string;\n cacheControl?: CacheControl;\n telemetryScreenName?: string;\n bundleSri?: string;\n manifestVersion?: number;\n /**\n * Present on Tier-5 screens. The presence of this field is the tier-5\n * signal — there is no separate `tier: 5` flag.\n */\n logicBundle?: LogicBundleRef;\n /**\n * Static per-screen input injected as `globalThis.himalaya.input` before the\n * Tier-5 worker bundle evaluates — the worker reads it synchronously in `load()`\n * (e.g. `himalaya.input.id` for a detail screen, or a baked catalog like\n * `himalaya.input.cmsCollections`).\n *\n * A push merges its navigation parameters into this object on web, iOS, and Android.\n * For example, `himi.open({ screenId: \"event\", id: \"$item.id\" })` makes the id\n * available as `himalaya.input.id` in the pushed worker; static `input` remains the\n * fallback for values baked into a descriptor or a templated route. The host also\n * supplies `screenId`. See docs/tier-5-add-a-screen.md → \"Navigate to a detail screen\".\n *\n * Arbitrary JSON object; consumed by the web host (ScreenController) and the\n * native JSWorker.\n */\n input?: Record<string, unknown>;\n /**\n * Tier 3 / Tier 4 — behavior of the hosted WebView. Ignored by SDUI tiers.\n * Authored in the descriptor builder (git); served OTA verbatim.\n */\n webViewConfig?: WebViewConfig;\n}",
1290
1290
  "Component": "export interface Component {\n id: string;\n body: ComponentBody;\n modifiers?: Modifiers;\n minVersion?: number;\n}",
1291
1291
  "LogicBundleRef": "export interface LogicBundleRef {\n url: string;\n /** \"sha256-...\" SRI string. */\n integrity: string;\n contentType?: string;\n /** SDK capability ids the bundle is permitted to import / invoke. */\n declaredCapabilities: string[];\n /** Bundle refuses to load on a binary older than this (semver). */\n minBinaryVersion?: string;\n /** Bundle's own semver. */\n bundleVersion?: string;\n /** Base64 detached publisher signature over the bundle bytes\n * (authenticity beyond SRI). Verified by a host-injected verifier when present;\n * unsigned bundles load as today. */\n signature?: string;\n /** The publisher key id a host pins, paired with `signature`. */\n keyId?: string;\n /** Ambient refresh (gap G2): the host invokes `action` (a `tier5.<svc>.<action>`\n * path) every `intervalMs` while the screen is visible — workers have no timer\n * of their own, so the host owns the cadence. */\n refresh?: { intervalMs: number; action: string };\n /** The worker's boot state, `{ serviceName: initialState }`, baked into the descriptor from the\n * bundle when the screen is served (`extractBundleServices`). A host with no live worker and no saved snapshot paints the\n * first frame against it, so the screen's own loading state shows at once — its skeleton, its\n * title, its gates closed as the worker will close them — instead of a generic loader or every\n * fail-open branch. The live worker replaces it as soon as it boots. */\n bootState?: Record<string, unknown>;\n}",
1292
1292
  "Modifiers": "export interface Modifiers {\n /** Changing non-empty token: scroll this node into view and move accessibility focus to it. */\n scrollIntoViewPath?: string;\n /** Inherited preview scope; unknown values inherit. */\n imagePreview?: string;\n padding?: EdgeInsets;\n background?: TokenRef;\n cornerRadius?: number;\n /** Fixed intrinsic width (pt/dp/px). Honored by iOS (`FrameIfPresent`), Android\n * (frame) and web (`modifiers.ts`). With no `ScrollView` in the vocabulary and\n * regions clipped at `maxHeight`, `width`/`height`/`fillMaxWidth` are the main\n * sizing tools for embed/host content. */\n width?: number;\n /** Fixed intrinsic height (pt/dp/px). See `width`. */\n height?: number;\n /** Fill the available cross-axis width (keeps any fixed `height`). Mirrors\n * Compose `fillMaxWidth` / SwiftUI `.frame(maxWidth: .infinity)`. See `width`. */\n fillMaxWidth?: boolean;\n /** CAP the node's laid-out width at this many points. It CONSTRAINS, it\n * does not SET: a node narrower than the cap keeps its intrinsic width, so a\n * short chat bubble stays short while a long one stops at the cap — the\n * asymmetry `width` cannot express and `weight` cannot either (weights divide\n * the *available* space, so every child lands on the same fraction).\n * The cap covers the node's TOTAL width, padding + border included (CSS\n * `max-width` under `box-sizing: border-box`). `fillMaxWidth` grabs the axis but\n * THE CAP WINS — fill + cap is exactly `maxWidth` wide; a literal `width` larger\n * than the cap is clamped to it too. POINTS, not a fraction: a modifier is\n * resolved with no portable notion of \"the row\" on any renderer — compose a\n * percentage from a weighted sibling gap instead. `0`/absent = no cap. */\n maxWidth?: number;\n /** Flex weight along the parent stack's MAIN axis (HStack = width, VStack =\n * height). The stack measures its intrinsic (unweighted) children first, then\n * divides what is LEFT among the weighted ones in proportion to their weights:\n * two children at `1` split the leftover equally, `2` and `1` split it 2:1.\n * Absent (or <= 0) keeps the node at its intrinsic size. Use this — not\n * `fillMaxWidth` — when a node should claim the remaining space *beside* its\n * siblings; a full-bleed fill grabs the whole axis and starves them. Ignored\n * outside an HStack/VStack.\n * CAVEAT — row-sharing controls have NO intrinsic width to measure first: in an\n * HStack a `Button` and a `Toggle` are implicitly weighted, so they DIVIDE the\n * row with your weighted child instead of taking a width ahead of it —\n * `[VStack(weight:1), Button, Button]` is a three-way split, not \"the VStack gets\n * the remainder\". To opt a Button out on EVERY renderer set `fullWidth: false`\n * (an explicit flag wins in both directions; absent falls back to the style\n * default, which is \"share\" for every style but `tertiary`/`link`), or use\n * `iconOnly`. Otherwise give the actions their own row.\n * See `himi docs designing-himi-screens` §4. */\n weight?: number;\n /** RTL — pin the subtree's writing direction: `\"ltr\"` | `\"rtl\"` | `\"locale\"`\n * (inherit). The common RTL pattern is the inverse of `Text.textDirection`: pin a\n * container `ltr` (a logotype, an attachment-tile row, a composer button row)\n * inside an otherwise-RTL screen. Absent = inherit the ambient direction. #1060. */\n layoutDirection?: \"ltr\" | \"rtl\" | \"locale\";\n /** Absolute visual translation (pt/dp/px). Applied as the OUTERMOST transform so\n * it shifts the fully-styled node WITHOUT changing its layout footprint — lets a\n * ZStack place polar/absolute children (e.g. AgentOrbit). Negative allowed. */\n offsetX?: number;\n offsetY?: number;\n onTap?: Action;\n /** Double-tap gesture (e.g. Instagram double-tap-to-like). Distinct from onTap. */\n onDoubleTap?: Action;\n accessibilityLabel?: string;\n hidden?: boolean;\n /** Data-bound conditional visibility: a `\"$service:<svc>.<field>\"`\n * or `\"$item.<field>\"` sentinel resolving to a bool at render; when true the\n * subtree fully COLLAPSES (zero layout, like `hidden`), overriding the\n * literal `hidden`. */\n hiddenPath?: string;\n /** Long-press gesture modifier. */\n onLongPress?: Action;\n /** Fires once when the component first appears on screen. */\n onAppear?: Action;\n /** Scoped token overrides for the subtree. */\n theme?: ThemeOverrides;\n /** Names a token from the app's `shadows` registry. */\n shadow?: TokenRef;\n /** Names a token from the app's `gradients` registry (background fill). */\n backgroundGradient?: TokenRef;\n /** Value-driven gradient: a `$service:`/`$item.` path resolving to a gradient\n * TOKEN NAME used as the live background (e.g. weather sky day→night). */\n backgroundGradientPath?: string;\n /** Value-driven background COLOR: a `$service:`/`$item.` path resolving to a\n * color TOKEN NAME used as the live background. Honored on iOS + Android\n * (`BoundBackgroundIfPresent`); web render support is tracked in #1057. */\n backgroundColorPath?: string;\n /** Value-driven background IMAGE: a `$service:`/`$item.` path resolving to an\n * image URL used as the live background. Honored on iOS + Android; web render\n * support is tracked in #1057. */\n backgroundImagePath?: string;\n /** #1051 — MEASURE (publish): report this node's laid-out size into the renderer's\n * self-contained (worker-free) measure store under the named keys, so a SIBLING can\n * feed the number back into its own layout via a `$measure:<key>` binding. The SDUI\n * equivalent of SwiftUI `.onGeometryChange` / Compose `onGloballyPositioned`; the\n * canonical use is a pinned bottom bar whose measured height becomes a scroll view's\n * bottom inset (sticky-footer + scroll-inset, unrepresentable before — #1051). */\n onMeasure?: Measure;\n /** #1051 — bound height: a `\"$measure:<key>\"` (measure store) or\n * `\"$service:<svc>.<field>\"` / `\"$item.<field>\"` (worker/row state) sentinel resolving\n * to a NUMBER at render. Wins over the literal `height`. String path only, so a\n * binding can never blank the node (never overload the numeric `height`). */\n heightPath?: string;\n /** #1051 — bound width. See `heightPath`. Wins over the literal `width`. */\n widthPath?: string;\n /** #1051 — bound TOP inset (the header-height → top-inset idiom). A `$measure:`/\n * `$service:`/`$item.` sentinel resolving to a number; added as top padding. */\n paddingTopPath?: string;\n /** #1051 — bound BOTTOM inset (the sticky-footer-height → bottom-inset idiom). A\n * `$measure:`/`$service:`/`$item.` sentinel resolving to a number; added as bottom\n * padding so the last scroll row clears a pinned bottom bar. */\n paddingBottomPath?: string;\n /** #1053 — INLINE gradient background paint. Distinct from `backgroundGradient`\n * (which names a `gradients` registry token an embed host can't register): this\n * carries its stops/colours in the descriptor, so it works anywhere. Painted as\n * a surface (behind children), below `material`/`backgroundGradient` if those are\n * also set. */\n gradient?: Gradient;\n /** #1053 — gradient ALPHA MASK: the node shows through where the gradient is\n * opaque and fades where it's transparent (a transparent-token stop = fully\n * clear). The material-under-gradient-scrim / scroll-fade-out idiom. Mirrors iOS\n * `.mask()`, Android `BlendMode.DstIn`, web `mask-image`. */\n mask?: Gradient;\n /** Inline border/stroke. */\n border?: Border;\n /** Subtree alpha 0.0–1.0; absent = opaque. */\n opacity?: number;\n /** #433 — constrain the subtree to a width:height ratio (e.g. `1` = square,\n * `1.777` = 16:9). Width-driven: the height derives from the resolved width.\n * Lets a data-bound Grid cell / photo tile hold its shape at any width. */\n aspectRatio?: number;\n /** Names a token from the app's `motions` registry; the subtree\n * fades + slides up on first appearance. */\n appear?: TokenRef;\n /** Surface material token (flat/glass/frosted). */\n material?: TokenRef;\n /** Per-node construction-language override. */\n variant?: string;\n /** Per-node density / motion override. */\n density?: string;\n motion?: string;\n /** Motion grammar (Batch 1) — press/tap feedback style\n * (auto|none|scale|highlight|scaleHighlight|lift); timing comes from `motion`.\n * Applied only when the node is interactive. Unknown degrades to `auto`. */\n pressFeedback?: string;\n /** Motion grammar (Batch 1) — press-coupled haptic\n * (none|selection|light|medium|heavy|success|warning|error); fires with onTap.\n * Default none (opt-in). Web is a no-op. */\n haptic?: string;\n /** Motion grammar (Batch 1) — animate this container's size changes instead of\n * snapping (iOS `.animation(value:)`, Android `animateContentSize`, web height\n * transition). Curve from the active `motion` personality. */\n animateContentSize?: boolean;\n /** Motion grammar (Batch 1) — enter/exit transition; supersedes `appear` when\n * both are present. */\n transition?: Transition;\n /** Motion grammar (Batch 2, scroll-driven) — defer the `transition` enter until\n * the node first crosses into the scroll viewport (reveal-on-scroll). Gated by\n * reduced motion (shown immediately when reduced). */\n revealOnScroll?: boolean;\n /** Motion grammar (Batch 2, scroll-driven) — parallax factor: the node drifts\n * vertically at this fraction of the scroll delta as it moves through the\n * viewport. Gated by reduced motion. Generalizes CollapsingHeader parallaxFactor. */\n parallax?: number;\n /** Motion grammar (Batch 4, rich visual) — when a backgroundGradient is present,\n * continuously drift/rotate it (animated gradient). Gated by reduced motion. */\n animatedGradient?: boolean;\n /** Motion grammar (Batch 3, hero/nav) — shared-element key: a matching\n * transitionId on the source + destination screen morphs that element across\n * navigation (web View Transitions / iOS matchedTransitionSource / Android\n * SharedTransitionLayout). Gated by reduced motion. */\n transitionId?: string;\n /** Motion grammar (Batch 4, rich visual) — render the backgroundGradient as a\n * mesh (overlapping multi-point blend) rather than a linear sweep; combine with\n * animatedGradient to drift it. */\n meshGradient?: boolean;\n /** Motion grammar (Batch 4, celebration) — burst a one-shot confetti overlay\n * within the node on appear. Gated by reduced motion. */\n confetti?: boolean;\n /** Motion grammar (Batch 2, scroll-driven) — pin this node to the top of its\n * scroll container (sticky section header). Functional positioning; not gated\n * by reduced motion. */\n sticky?: boolean;\n /** Motion grammar (Batch 2, scroll-driven) — turn this thin node into a\n * reading-progress bar that fills left→right with scroll (scaleX). web reads\n * window scroll; native reads the host scroll fraction. Functional. */\n scrollProgress?: boolean;\n /** Motion grammar (Batch 4, rich vector) — a named built-in vector animation\n * (\"loader\" | \"success\" | \"pulse\"), dependency-free. Gated by reduced motion.\n * Arbitrary Lottie/Rive JSON is the lib-backed superset follow-up. */\n vectorAnim?: string;\n /** Motion grammar (Batch 1, choreography) — delay this node's ENTER transition\n * by N ms so a screen can SEQUENCE its entrance beyond list stagger (\"title\n * fades, subtitle slides in 100ms later\"). Adds to any list `staggerMs`. Gated\n * by reduced motion. 0/absent = no extra delay. */\n enterDelayMs?: number;\n /** Motion grammar (Phase-3, per-node MotionSpec) — overrides the PRESS-feedback\n * curve with a `motions`-registry token, mirroring `Transition.motion` for the\n * enter curve. Absent → press uses the global `motion` personality. */\n pressMotion?: TokenRef;\n /** Motion grammar (Phase-3, gesture-driven) — finger-tracked drag-to-dismiss; past\n * threshold along `direction` it animates off and fires `action`, else springs back. */\n swipeDismiss?: SwipeDismiss;\n /** Motion grammar (Phase-4, reduced-motion) — per-node escape from the reduced-motion\n * gate. Default true (respect). false = \"must move anyway\" (transition/press animate\n * even when reduced motion is on). */\n respectReducedMotion?: boolean;\n /** #1052 — uniform scale (1 = no change). */\n scale?: number;\n /** #1052 — rotation in DEGREES. */\n rotation?: number;\n /** #1052 — stacking order within a ZStack/overlay. */\n zIndex?: number;\n /** #1052 — gaussian blur radius (pt/dp/px). */\n blur?: number;\n /** #1052 — `false` = decorative (ignores taps, unlike `hidden` which stays hit-testable);\n * `true` = force hit-testable (a clear tap target). */\n hitTestable?: boolean;\n /** #1052 — explicit drop shadow (colour + radius + offset), for upward / multi-layer\n * shadows the `shadow` token can't express. */\n boxShadow?: Shadow;\n /** The role assistive technology should announce. Absent = the\n * renderer INFERS it from the component type, so an author never restates the\n * obvious. `\"decorative\"` is node-local: the node itself stops being an\n * accessibility element (no role, not a stop) while its children stay\n * traversable — the ARIA `role=\"presentation\"` semantic. To remove the subtree\n * too, use `accessibilityHidden`. */\n accessibilityRole?: AccessibilityRole;\n /** The supplementary \"what happens if I act\" phrase\n * (iOS `accessibilityHint`, Android `onClickLabel`, ARIA `aria-describedby`).\n * Never a substitute for `accessibilityLabel`: AT may not speak a hint at all. */\n accessibilityHint?: string;\n /** Remove this node AND its subtree from the accessibility tree.\n * Distinct from `hidden` (which removes it visually too) and from the\n * `\"decorative\"` role (node-local; children stay reachable). */\n accessibilityHidden?: boolean;\n /** Mark the node as a heading at level 1–6, for rotor / heading\n * navigation. Implies the `\"heading\"` role when `accessibilityRole` is absent.\n * The LEVEL reaches iOS and web only: Android (Compose `heading()`) and React Native\n * (`accessibilityRole: \"header\"`) have no level primitive and mark a plain heading. */\n headingLevel?: number;\n /** An explicit SPOKEN value where the visual and spoken values\n * differ (a rating \"3 of 5\", a gauge \"72 percent\"). Where the value is derivable\n * from a prop the renderer computes it and this override is unnecessary. */\n accessibilityValue?: string;\n /** Additive state that a single role cannot carry. A node may\n * hold several. */\n accessibilityTraits?: AccessibilityTrait[];\n /** Explicit traversal index within the nearest focus group. Absent ⇒\n * the arm's visual / DOM order. The lower index is reached FIRST, which is why iOS\n * (whose `accessibilitySortPriority` is descending) negates it. */\n focusOrder?: number;\n /** This node's subtree is ONE traversal scope: children are ordered\n * relative to each other, then the group takes its parent's slot (iOS\n * `shouldGroupAccessibilityChildren`, Android `isTraversalGroup`, ARIA grouping). */\n focusGroup?: boolean;\n /** AT / keyboard focus lands here when the screen or a newly presented\n * modal appears. At most one per focus scope. */\n initialFocus?: boolean;\n /** A general live-region announcement, on any node and any transition.\n * The generalization of `FragmentSlotCase.accessibilityAnnouncement`, which only ever\n * fired on a fragment-slot case swap. */\n announce?: LiveRegion;\n /** Clip ANY node (content + surface) to a shape:\n * \"rectangle\" | \"roundedRectangle\" | \"capsule\" | \"circle\" | \"ellipse\". Unknown/empty =\n * no shape clip (`cornerRadius` keeps its meaning). When set it replaces the\n * corner-radius-only clip; a \"roundedRectangle\" uses `clipCornerRadii`, else `cornerRadius`. */\n clipShape?: string;\n /** Uneven corner radii for `clipShape: \"roundedRectangle\"`. */\n clipCornerRadii?: CornerRadii;\n /** A recurring, finite, transform-only motion on a decorative node: a\n * living character's idle `hop`, a `blink`, a working `breathe`. Never changes the\n * node's layout footprint. Stopped by reduced motion unless `respectReducedMotion`\n * is false. */\n ambientMotion?: AmbientMotion;\n /** amendment — BINDABLE TRANSFORMS. Each is a `\"$service:<svc>.<field>\"` /\n * `\"$item.<field>\"` sentinel resolving to a NUMBER at render. A bound value overrides its\n * static sibling (`scale`, `rotation`, `offsetX`, `offsetY`, `opacity`, `cornerRadius`); an\n * unresolved or non-numeric value falls back to that sibling (or identity). A change animates\n * with the node's `motion` token; reduced motion jumps. Render-only: transforms never affect\n * layout, the origin is the centre, and hit-testing follows the transformed frame. `$env:` is\n * rejected. Drawn on iOS, macOS, Android and web. A literal number is drawn as a fixed value\n * (a bound row's substituted `$item.` reads the same way), but belongs in the static sibling. */\n scalePath?: string;\n /** Bound `rotation`, in DEGREES. See `scalePath`. */\n rotationPath?: string;\n /** Bound `offsetX`, in points. See `scalePath`. */\n offsetXPath?: string;\n /** Bound `offsetY`, in points. See `scalePath`. */\n offsetYPath?: string;\n /** Bound `opacity`, 0–1 (clamped). See `scalePath`. */\n opacityPath?: string;\n /** Bound `cornerRadius`, in points. See `scalePath`. */\n cornerRadiusPath?: string;\n /** amendment — a declarative scroll offset → transform/opacity mapping,\n * evaluated natively every frame (no worker round-trip). Drawn on iOS/macOS, Android and web,\n * composed with the static and bound transforms. */\n scrollLinked?: ScrollLinked;\n}",
@@ -2480,6 +2480,10 @@ export interface ScreenDescriptor {
2480
2480
  /** "" / "visible" (default) | "hidden": hide the bottom tab bar while this screen is the
2481
2481
  * visible top of its tab's stack. Static; no effect in a presentation. */
2482
2482
  tabBarVisibility?: string;
2483
+ /** "" / "pinned" (default) | "floating": how the host draws `stickyFooter`. Floating draws it
2484
+ * over the bottom of the scroll with no band behind it (a Fab, a snackbar) and insets the
2485
+ * content by its height. Static; an unknown value is "pinned". */
2486
+ stickyFooterPlacement?: string;
2483
2487
  etag?: string;
2484
2488
  cacheControl?: CacheControl;
2485
2489
  telemetryScreenName?: string;
@@ -490,6 +490,13 @@ build/validate/render cycles because the failure looks like a content bug rather
490
490
  only, while `args` preserves typed values. `tier5.*` actions keep their
491
491
  params/args as authored (read the state in the reducer); their declared `nav` resolves
492
492
  through the existing navigation contract.
493
+ - **Floating button** — when the plan chose a floating action (a WhatsApp contact button, a
494
+ compose button), put `hstack[spacer(), fab]` in `stickyFooter` with no background, and set
495
+ `stickyFooterPlacement: "floating"` on the descriptor. The footer then draws over the bottom of
496
+ the scroll at the bottom end corner, with no band, on iOS, Android, macOS and web; the content ends the
497
+ footer's height higher, so the last row scrolls fully above the button, and a tap beside the
498
+ `Fab` reaches the content under it. A bar (price, confirm) stays `"pinned"`, the default. A
499
+ brand contact button uses the brand's logo glyph (`whatsapp`), not a generic `chat`.
493
500
 
494
501
  ---
495
502
 
@@ -29,7 +29,9 @@ This page names Himalaya guides by id (`designing-himi-screens`, `himi-test`, `r
29
29
  ## One App migration route — before generic discovery
30
30
 
31
31
  When the user invokes `himi one-app migrate`, or you are continuing that user's
32
- recorded `one-app-to-himi-app` workflow in `.himi/one-app/manifest.json`, read
32
+ recorded `one-app-to-himi-app` workflow in `.himi/one-app/manifest.json`,
33
+ `migration/one-app/source/manifest.json` or a flat `migration/one-app/manifest.json`
34
+ that declares that workflow, read
33
35
  the `one-app-to-himi-app` guide (its installed skill, or `himi docs one-app-to-himi-app`), also at https://apps.wix.com/_api/himi-serve/docs/one-app-to-himi-app.md, and follow
34
36
  it now in this same agent session. The collector's `stage: "collected"` is evidence
35
37
  collection, not a generated app; a terminal without an agent honestly stops there.
@@ -367,6 +369,8 @@ pull-to-refresh + load-more), a create/edit form `examples/form-submit.*`
367
369
  (the `recipe-onboarding` guide (its installed skill, or `himi docs recipe-onboarding`)), a sign-in/register screen and a membership paywall
368
370
  (the `recipe-auth` guide (its installed skill, or `himi docs recipe-auth`), the `recipe-checkout` guide (its installed skill, or `himi docs recipe-checkout`) — premade `authScreen`/`checkoutScreen` from
369
371
  `@wix/himalaya/screens`; use these instead of calling `@himalaya/wix-platform` `auth.signIn()` from a worker),
372
+ a Podcasts screen with in-app playback (the `recipe-podcast` guide (its installed skill, or `himi docs recipe-podcast`) — premade `podcastScreen` +
373
+ `createPodcastService`; never fetch RSS from a worker, open episodes in a browser or simulate a player),
370
374
  and the loading/empty/error/ready idiom they all share
371
375
  (the `recipe-four-state` guide (its installed skill, or `himi docs recipe-four-state`) — every recipe that loads or writes data shows a loading state,
372
376
  a classified error state and a recovery action where the user can fix the failure). Then — **before you
@@ -237,7 +237,7 @@ A few flags worth knowing up front (all discoverable via `himi render --help`):
237
237
  which over-stretches a phone layout.
238
238
  - **`himi icons`** lists the valid `Icon.name` vocabulary — an unknown name silently falls back to a
239
239
  generic glyph on device (and `validate` warns), so pick from this list rather than guessing SF-Symbol
240
- names. The full set (aliases included): ai, arrow_down, arrow_left, arrow_right, arrow_up, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, clock, close, concealed, cookie, copy, dashboard, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, redo, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, stop, success, tag, ticket, ticket_fill, trash, tray, undo, user, visible, volume, warning, wifi, xmark.
240
+ names. The full set (aliases included): ai, arrow_down, arrow_left, arrow_right, arrow_up, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, clock, close, concealed, cookie, copy, dashboard, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, redo, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, stop, success, tag, ticket, ticket_fill, trash, tray, undo, user, visible, volume, warning, whatsapp, wifi, xmark.
241
241
 
242
242
  ## 4b. Prove it WORKS, not just that it renders (`himi test`, when installed)
243
243
 
@@ -976,6 +976,59 @@ policy reply. An Android refusal's `error` leads with its own code (`signing_pat
976
976
  | `confirmation_required` | `approve-reply` ran with no terminal: the owner's yes on a policy reply is typed, never passed. Exit `2`. Nothing was recorded. |
977
977
  | `consent_declined` | `approve-reply`: the owner did not type `yes`. Nothing was recorded. |
978
978
 
979
+ ## `himi store record` codes
980
+
981
+ `himi store record show|sync|pull` print one JSON envelope: the result on stdout (`ok: true` for `show`; for `sync`
982
+ and `pull`, `ok` is false when any file or image failed, listed under `errors` with the rest synced, and the command
983
+ exits `1`), or a failure on stderr with one of these codes. `record refresh` runs the `store_refresh` tool and answers
984
+ with the `himi store submission` codes above. A verified `submission apply` (and on Google Play `relops request`,
985
+ `relops end` and `google create-app`) adds `recordSync: { synced, warning? }` to its result when it pushed, or tried to
986
+ push, the app's store record to Wix; a failed push is never a failed command. In `himi mcp`, a verified Google Play
987
+ `store_apply` answers before its push runs, so its result says only `recordSync: { queued: true }`, or `{ queued: false,
988
+ skipped }` with why nothing will be pushed (no app or two for the package, or a `wix` block with no site); how the push went is on stderr and in `record show`'s `lastPush`.
989
+
990
+ A Wix RelOps login syncs with the same envelope. With the owner's acting consent (`submit`, `android-build` or
991
+ `play-console`) its pushes land like the owner's. With a `read`-only consent, each file or image it would push is
992
+ listed under `errors` with `status: 403` and serve's `relops_consent_required`, and the rest of the sync still runs.
993
+
994
+ | Code | Meaning |
995
+ |---|---|
996
+ | `invalid_usage` | A missing or malformed op or flag (`--app` without `--site`, an unknown `--part`), no Himi app in the folder, `--app`/`--site` that disagree with the folder's `wix` block, or a package that belongs to another Himi app (or an app that already holds another package). Nothing was linked or sent. |
997
+ | `node_too_old` | The store record needs Node 24 or newer. Nothing ran. |
998
+ | `store_facts_missing` | `sync` or `pull` needs the Himi app and its Wix site: a `wix` block in `store/google-play.json` or `store/app-store.json`, or `--app` and `--site`; `show` found no Himi app id, package or bundle id to find the record by. |
999
+ | `owner_session_unavailable` | `sync` or `pull` needs your `himi login` (and `wix login`); `hint` says which. Nothing was read or sent. |
1000
+ | `record_unreadable` | The record on this computer could not be read (a file of a newer schema, a permission problem); `error` says which. |
1001
+ | `sync_failed` | The sync stopped before it compared anything (serve could not be reached, or refused the manifest read); `error` carries serve's status and code. |
1002
+
1003
+ ## `himi store wix-submit` codes
1004
+
1005
+ `start`, `stop` and `status` each print one JSON envelope: the result on stdout (`ok: true`, `op`, `app`, `site`,
1006
+ `platform`, and `consent`; `start` adds `handoff` (`handoffId`, or `skipped` with the reason, or `failed` with a code:
1007
+ the hand-off is best effort and never undoes the consent) and `next`; on Android, `assignee` (`{ name, email }` or
1008
+ `null`) and `seat` (the Google Play job's result, or `skipped` with the reason; with `--read-only` while someone added
1009
+ earlier still has access, `seat.live` lists them and `seat.next` is the removal command); `stop` adds `assignee` and
1010
+ `seats`, one entry per person removed from your Google Play account (`email`, `from`: `record` when the app's store
1011
+ record listed them, `assignee` when it listed no one and the person Wix names now was removed, plus the Google Play
1012
+ job's result); `status` gives `consent.state`
1013
+ (`none`, `active`, `expired` or `withdrawn`) with `scope`, `recordedAt` and `expires`, and on Android `seat.state`
1014
+ (`invited`, `active`, `expired`, `absent`, or `unknown` with a `reason`)). A failure is one line on stderr with one of
1015
+ these codes. None of them prints a token.
1016
+
1017
+ | Code | Meaning |
1018
+ |---|---|
1019
+ | `invalid_usage` | A missing or malformed op or flag: no app and site (neither `--app --site` nor a `wix` block), `--app` without `--site`, a `--platform` other than `ios` or `android`, `--android-package` (or, for `start` and `status`, `--developer`) without `--platform android`, or a flag of another command (`--seat-email`, `--scope`). Nothing ran. |
1020
+ | `node_too_old` | Needs Node 24 or newer. Nothing ran. |
1021
+ | `owner_session_unavailable` | Needs your `himi login`. Checked before anything is read or asked. |
1022
+ | `confirmation_required` | No terminal to answer at, and no `--yes`. Nothing was sent. |
1023
+ | `consent_declined` | You did not confirm. Nothing was recorded, saved, withdrawn or removed. |
1024
+ | `consent_failed` | Wix did not record your consent; `planeCode` and `status` say why. Nothing else ran. |
1025
+ | `withdraw_failed` | Wix did not record the withdrawal; nothing was removed from Google Play. |
1026
+ | `status_failed` | Wix did not answer with your consent. |
1027
+ | `seat_remains` | `stop` withdrew your consent (`consent`), but someone may still be on your Google Play account for the app: `remaining` lists each one (`email`, when known, and `reason`: no terminal for the typed yes, the Google sign-in or the removal failed, or who was added could not be read), `removed` those it did remove, and `next` the command that finishes it (`himi store wix-submit stop --app <id> --site <msid>` in your own terminal). Exits 1: never success while someone may remain. |
1028
+ | `seat_in_use` | `start --platform android` found someone added to your Google Play account for this app earlier (`live`) who is not the person Wix names now. Wix adds one person at a time: run `himi store wix-submit stop` first (`next`). Nothing was recorded or sent. |
1029
+ | `seat_unknown` | `start --platform android` could not read the app's store record (Wix's copy or this computer's), so it cannot tell whether someone added from another computer is still on your Google Play account. Nothing was recorded or sent; `next` says how to retry. `--read-only` adds no one and goes ahead with a warning. |
1030
+ | `package_failed`, `google_signin_failed`, `developer_unknown`, `plan_unexpected`, `job_failed` | The Google Play step (adding or removing the Wix person) stopped, as in the Google Play table below. Your consent was already recorded (`start`: its id is in `error` and `consentId`) or withdrawn (`stop`: the line before the failure names it); running the command again goes on from there. |
1031
+
979
1032
  ## `himi store handoff` and `himi store relops request` codes
980
1033
 
981
1034
  Both print one JSON envelope: the result on stdout (`ok: true`, with `handoffId` or `consentId`), or a failure on
@@ -987,7 +1040,7 @@ stderr with one of these codes. A refusal from the publishing service keeps its
987
1040
  | `invalid_usage` | A missing or malformed op or flag. Nothing ran. |
988
1041
  | `node_too_old` | Needs Node 24 or newer. Nothing ran. |
989
1042
  | `owner_session_unavailable` | Sending to Wix needs your `himi login`. Checked before anything is read or asked. |
990
- | `store_facts_missing` | The app's `store/app-store.json` or its Wix app and site are missing; pass `--app` and `--site`. |
1043
+ | `store_facts_missing` | The app's `store/app-store.json` or its Wix app and site are missing; pass `--app` and `--site`. Also (`reason: store_facts_invalid`) when `--app`/`--site` disagree with the folder's wix block, or `store/google-play.json` and `store/app-store.json` name different apps. |
991
1044
  | `store_state_unreadable` | The App Store state on this computer could not be read. Nothing was sent. |
992
1045
  | `nothing_to_hand_off` | This computer holds no App Store jobs or history for this app. Nothing was sent. |
993
1046
  | `bundle_too_large` | The handoff is over the size cap even after keeping only the newest entries. Nothing was sent. |
@@ -52,7 +52,9 @@ This page names Himalaya guides by id (`designing-himi-screens`, `himi-test`, `r
52
52
  ## One App migration route — before generic discovery
53
53
 
54
54
  When the user invokes `himi one-app migrate`, or you are continuing that user's
55
- recorded `one-app-to-himi-app` workflow in `.himi/one-app/manifest.json`, read
55
+ recorded `one-app-to-himi-app` workflow in `.himi/one-app/manifest.json`,
56
+ `migration/one-app/source/manifest.json` or a flat `migration/one-app/manifest.json`
57
+ that declares that workflow, read
56
58
  the `one-app-to-himi-app` guide (its installed skill, or `himi docs one-app-to-himi-app`), also at https://apps.wix.com/_api/himi-serve/docs/one-app-to-himi-app.md, and follow
57
59
  it now in this same agent session. The collector's `stage: "collected"` is evidence
58
60
  collection, not a generated app; a terminal without an agent honestly stops there.
@@ -390,6 +392,8 @@ pull-to-refresh + load-more), a create/edit form `examples/form-submit.*`
390
392
  (the `recipe-onboarding` guide (its installed skill, or `himi docs recipe-onboarding`)), a sign-in/register screen and a membership paywall
391
393
  (the `recipe-auth` guide (its installed skill, or `himi docs recipe-auth`), the `recipe-checkout` guide (its installed skill, or `himi docs recipe-checkout`) — premade `authScreen`/`checkoutScreen` from
392
394
  `@wix/himalaya/screens`; use these instead of calling `@himalaya/wix-platform` `auth.signIn()` from a worker),
395
+ a Podcasts screen with in-app playback (the `recipe-podcast` guide (its installed skill, or `himi docs recipe-podcast`) — premade `podcastScreen` +
396
+ `createPodcastService`; never fetch RSS from a worker, open episodes in a browser or simulate a player),
393
397
  and the loading/empty/error/ready idiom they all share
394
398
  (the `recipe-four-state` guide (its installed skill, or `himi docs recipe-four-state`) — every recipe that loads or writes data shows a loading state,
395
399
  a classified error state and a recovery action where the user can fix the failure). Then — **before you
package/guides/index.json CHANGED
@@ -184,6 +184,12 @@
184
184
  "category": "Recipes",
185
185
  "file": "recipe-checkout.md"
186
186
  },
187
+ {
188
+ "id": "recipe-podcast",
189
+ "title": "Recipe: podcast episodes with in-app playback (premade podcast flow)",
190
+ "category": "Recipes",
191
+ "file": "recipe-podcast.md"
192
+ },
187
193
  {
188
194
  "id": "image-preview",
189
195
  "title": "Image and video preview",
@@ -729,11 +729,13 @@ Apply these interpretation rules:
729
729
  It adds `navigation.topBarDefault` with one literal action per counter (ids `chat`, `notifications` and
730
730
  `cart`, opening `himi_business_chat`, `himi_notifications` and `himi_cart`, each with
731
731
  `badge: { kind: "count", valuePath: "$service:brandedLiteNav.<chatBadge|notificationsBadge|cartBadge>" }`)
732
- and `navigation.navLogicBundle` for the badges-only worker the template already ships under
733
- `tier5-src/himi-branded-lite-header-badges`, and it records each bound button's `target` in the coverage
734
- ledger. A source with no badges changes nothing. It never overwrites: a config that already has a
735
- `topBarDefault` or `navLogicBundle` (and a ledger target you set) is left alone and reported, with the
736
- literal to merge (`config_needs_manual_merge`). Run it again after mapping routes if you ran it first:
732
+ and it records each bound button's `target` in the coverage ledger. The counts come from the app-level worker
733
+ (`navigation.navLogicBundle`). A Branded Lite scaffold already names the template's nav worker,
734
+ `tier5-src/himi-branded-lite-nav`, which holds them, so it is kept. A config with no `navLogicBundle` gets the
735
+ badges-only worker the template also ships, `tier5-src/himi-branded-lite-header-badges`. A source with no badges
736
+ changes nothing. It never overwrites: a config that already has a `topBarDefault`, or a `navLogicBundle` that names
737
+ another worker (and a ledger target you set), is left alone and reported, with the literal to merge
738
+ (`config_needs_manual_merge`). Run it again after mapping routes if you ran it first:
737
739
  the rows it wrote move to the mapped screen. Then run `validate-topbar`, which checks that each badge's
738
740
  `valuePath` is a count the worker holds and sits on the right button. A screen with its own `topBar`
739
741
  replaces `topBarDefault`, so `validate-topbar` still asks that screen to carry the action.
@@ -1330,11 +1332,30 @@ CI=1 himi init <name> --dir <parent> --template branded-lite --no-first-look
1330
1332
  ```
1331
1333
 
1332
1334
  `CI=1` prevents automatic preview startup; `--no-first-look` prevents the template
1333
- screenshot. For this migration route, **do not execute init's generic `doNow`,
1334
- `doNowAgain` or template-preview `next` steps**. Continue this guide instead.
1335
+ screenshot. In a workspace whose manifest declares this workflow, init's `doNow`,
1336
+ `doNowAgain` and `next` carry migration continuation steps instead of the generic
1337
+ template journey, and the envelope reports `migration` (workflow, evidence root,
1338
+ whether collection is complete). They say collection and the scaffold are done:
1339
+ read the evidence and the plan, then continue this guide. When the manifest does not
1340
+ record a complete collection, they say so and route to recovery only, never on to
1341
+ the plan or the build. An older CLI may still
1342
+ print the generic steps: **do not execute init's generic `doNow`, `doNowAgain` or
1343
+ template-preview `next` steps**.
1335
1344
  Do not show an unadapted template as the migrated app. Keep the migration evidence,
1336
1345
  plan and scoped continuation when init installs the app's agent instructions.
1337
1346
 
1347
+ When the working or archived migration manifest declares `one-app-to-himi-app`,
1348
+ `himi init` and `himi agent-init` write a migration-specific `AGENTS.md` managed block.
1349
+ `CLAUDE.md` imports it, so both entry points direct the agent to this guide, the collected
1350
+ evidence and the installed authoring references. Ordinary apps keep their generic instructions.
1351
+ For an existing migration, run `himi agent-init` inside the app to refresh that routing;
1352
+ user-written instructions outside the managed block are preserved. The installed `himalaya`
1353
+ skill and `HIMALAYA.md` then open with the same routing, and `himi progress --brief` (the
1354
+ session-start hook, also after a compaction) reports the migration: evidence root, the recorded
1355
+ journal, which plan and report files exist, and the manifest's recognised authorization — the
1356
+ steps the request authorizes, the OAuth client that still needs the owner's agreement, and what
1357
+ is out of scope. A missing journal is not a fresh app and asks for no generic plan approval.
1358
+
1338
1359
  `himi init` also reads the language recorded at collection (`requested.locale` in
1339
1360
  `manifest.json`) and writes `locale: { default: "<tag>", pin: true }` into `config.ts`, so the
1340
1361
  app runs and lays out in that language. English adds nothing, and a `locale` already in
@@ -1540,7 +1561,9 @@ The route decision (which Himi screen a locked page became) is yours; no file re
1540
1561
  until then the command refuses it, and that is by design;
1541
1562
  - points the app-level bundle (`navigation.navLogicBundle`, or `app.logicBundle` when the app already uses that
1542
1563
  spelling; declaring both is refused) at `himi-branded-lite-access-nav`, the badges worker that also answers the
1543
- gates. Ids that normalize to one gate key (`page-a`, `page_a`) get a short hash suffix, so no two pages share a decision; a key an earlier run wrote stays with its page, so a later run never renames it. Mapping a locked page to a different screen than before is refused (`needs_manual_merge`, `moved`): the old screen is still wrapped in its lock. An app whose source locks no page keeps the badges-only worker, byte for byte, and pays nothing;
1564
+ gates and hides the Services location pin. It replaces the template's nav worker (`himi-branded-lite-nav`) only when
1565
+ `config.ts` and the screens read nothing that only that worker serves, such as a `push.observerAction` or the unread
1566
+ count; otherwise it is refused (`needs_manual_merge`) and the gates are yours to merge into that worker. Ids that normalize to one gate key (`page-a`, `page_a`) get a short hash suffix, so no two pages share a decision; a key an earlier run wrote stays with its page, so a later run never renames it. Mapping a locked page to a different screen than before is refused (`needs_manual_merge`, `moved`): the old screen is still wrapped in its lock. An app whose source locks no page keeps its nav worker, byte for byte, and pays nothing;
1544
1567
  - ties each `access` row of the coverage ledger to the screen and gate (`target`), and never overwrites a target you
1545
1568
  set. The status stays `unresolved`: it moves only on recorded `access-state` evidence from a device.
1546
1569
 
@@ -1185,7 +1185,18 @@ build that only Wix staff may get:
1185
1185
  |---|---|---|
1186
1186
  | `androidBuildType` | `"debug"` (default `"release"`) | a **debuggable** APK (`:<shell>-app:assembleDebug`; an operator `DIST_ANDROID_TASK` still wins), the way the release manager's `DEV_RELEASE` Android builds are (`assembleDevDebug` in `ai-scheduling-assistant`'s `ci-android.sh`) |
1187
1187
  | `androidSigning` | `"oneapp-debug"` (the default for a debug build) | signed with the shared One App debug key — the key `DEV_RELEASE` builds sign with, alias `oneAppDebug`, key password `123456`, the same as the `development` signingConfig of `mobile-apps-engine` and `ai-scheduling-assistant`. There, gradle signs; here `apksigner` re-signs the gradle output with it, because a named key always outranks the app's own signingConfig |
1188
- | `borrowIosBundleId` | `"ent.wix.admin.dev"` | the iOS build signs under the One App enterprise dev identity: MRE maps the Wix owner app (`AppType.OWNER` = `admin`) dev builds to it (`iosDevReleaseAppNameToBundleIdentifier` in `wix-private/mre`). Still only the `ent.*` allow-list |
1188
+ | `borrowIosBundleId` | `"ent.wix.admin.dev"` | accepted for a staff caller (still only the `ent.*` allow-list) but **not honoured while minted signing is configured**: the iOS build then signs under its own minted `wix-managed` identity — see below |
1189
+
1190
+ **iOS signs with a minted Wix identity, not the borrowed one.** `ent.wix.admin.dev` is the id MRE maps
1191
+ Owner dev builds to, but the build machines' `profiles.tgz` holds no profile for it. A borrowed id turns minted
1192
+ signing off, so the build fell to automatic development signing and failed with "No profiles for
1193
+ ent.wix.admin.dev were found" (jobs 9e0d11cb, 4f06cc95). For a **self-serve Wix-staff** caller, when minted
1194
+ signing is configured, the service therefore ignores `borrowIosBundleId` and mints the app's own
1195
+ enterprise identity under the Wix enterprise account (team `XPHGA2FMQQ`). That is the same certificate, so any
1196
+ employee can install it once they trust the profile; it is verified on a real iPhone (job 005b1708). Nothing is
1197
+ borrowed, so the build replaces no Owner app on the device, and it does not carry the Owner dev identity. The
1198
+ record keeps `wixStaff: true`, so the link stays internal-only. An **internal** credential (`himi dist
1199
+ --borrow-ios-id`) still borrows an id the pool holds.
1189
1200
 
1190
1201
  Every field is validated on every request: an unknown `androidBuildType` is `400
1191
1202
  invalid_android_build_type` (iOS-only included), a debug Play bundle is `400
@@ -0,0 +1,149 @@
1
+ # Recipe: podcast episodes with in-app playback (premade `podcastScreen` + `createPodcastService`)
2
+
3
+ For a **Podcasts screen** — episodes from a public RSS feed, played in the app — use the
4
+ premade pair from `@wix/himalaya/screens`. It is the same code Branded Lite and the
5
+ `podcast-creator` template run. Do **not** write your own feed reader or player.
6
+
7
+ ## Do not do these
8
+
9
+ - **Do not fetch the RSS feed yourself.** `wixApi.call` refuses a third-party URL
10
+ ("not an approved first-party endpoint"). A worker has no general `fetch`. Do not
11
+ ask for that allowlist to be widened.
12
+ - **Do not depend on a server action** such as an RSS import action. A generated app
13
+ has no server of its own to deploy one to.
14
+ - **Do not open the episode in a browser** (`open_url`). Opening a URL is not playback.
15
+ The browser can also fail to play the audio, and the app then loses its queue and
16
+ position.
17
+ - **Do not simulate playback.** That means no local `isPlaying` flag, no timer-based
18
+ progress and no fake seek. A worker has no timers. State comes from the real player.
19
+
20
+ ## How it works
21
+
22
+ - **Feed.** The service reads the feed through the Wix Podcasts feed gateway,
23
+ `POST https://podcasts.wix.com/api/feed/graphql`. Every host (iOS, Android, web)
24
+ allows this exact endpoint through the `wix_api` bridge without a member or
25
+ visitor credential. The gateway reads the RSS and follows its redirects on the
26
+ server, so no redirect target reaches the device.
27
+ - **Playback.** The service plays each episode's own enclosure URL with
28
+ `@himalaya/media-playback`. It hands the queue to the native player and
29
+ subscribes to its status at boot. So position, duration, play/pause and errors
30
+ always come from the player, also after the user leaves the screen and comes back.
31
+ Compact native updates are reconciled with a full SDK status read, including
32
+ episode changes made through system controls. Overlapping reads are coalesced.
33
+ Background playback, the lock screen and the notification controls come with
34
+ the native player.
35
+
36
+ ## 1. Capabilities — plan them before the first binary
37
+
38
+ Declare **both** ids in config.ts **and** on the screen. `podcastScreen` declares
39
+ them on the screen for you.
40
+
41
+ ```ts
42
+ // config.ts
43
+ capabilities: ["wix_api", "media_playback"],
44
+ ```
45
+
46
+ `media_playback` is native. It adds the media module and its permissions: iOS
47
+ `UIBackgroundModes` audio, and Android `FOREGROUND_SERVICE`,
48
+ `FOREGROUND_SERVICE_MEDIA_PLAYBACK` and `POST_NOTIFICATIONS`. **An OTA push cannot
49
+ add it to an installed binary.** Put it in the list before you request the app's
50
+ first binary. If you add Podcasts to an app that already has a binary, build a new
51
+ one with `himi dist`.
52
+
53
+ `himi validate` checks this:
54
+
55
+ - `app_capability_missing`: the screen uses an id that config.ts does not list.
56
+ No binary built from that list can play.
57
+ - `native_rebuild_required`: the app's last `himi dist` was built without
58
+ `media_playback`. Existing installs cannot play until a new binary is installed.
59
+ Do not call the feature ready before that binary is built and installed.
60
+
61
+ `himi capabilities media_playback` gives the full native requirements.
62
+
63
+ ## 2. The worker
64
+
65
+ ```ts
66
+ // tier5-src/podcasts/index.ts
67
+ import { createPodcastService } from "@wix/himalaya/screens";
68
+
69
+ const svc = createPodcastService({ service: "podcast" });
70
+ export { svc };
71
+ ```
72
+
73
+ Options:
74
+
75
+ - `service`: must match the screen.
76
+ - `limit`: 1–100 episodes, 40 by default.
77
+ - `messages`: worker copy, including dynamic Play/Pause labels and queue/resume templates.
78
+ - `text`: optional action-time copy resolver for a host that supplies translated messages on load.
79
+ - `queue` and `progress`: `{ read, write }` stores, if the queue and resume
80
+ positions must outlive the session.
81
+
82
+ ## 3. The screen
83
+
84
+ ```ts
85
+ import { podcastScreen } from "@wix/himalaya/screens";
86
+
87
+ const podcasts = () => podcastScreen({
88
+ bundleUrl: "http://localhost:8190/v1/bundles/podcasts",
89
+ service: "podcast",
90
+ // The creator's own public feed, as a runtime setting. An unset feed shows an empty
91
+ // state. Never fill in a sample show as a product default.
92
+ feedUrl: process.env.PODCAST_FEED_URL?.trim() || "",
93
+ });
94
+ ```
95
+
96
+ The screen shows the episode list and a pinned player. The player has a title,
97
+ a scrubber, previous, back 15 s, play/pause, forward 30 s and next. Feed errors
98
+ show beside the list with their own retry button. Playback errors show in the
99
+ player with their own retry button.
100
+
101
+ If the app already has an RSS feed setting, keep it and pass it as `feedUrl`.
102
+
103
+ ## What each state means
104
+
105
+ | State | When | Retry |
106
+ | --- | --- | --- |
107
+ | `feedState: "unconfigured"` | No feed URL. Nothing is requested. | — |
108
+ | `feedError: "invalid_feed_url"` | The URL is not public `http(s)`, contains user info (a credential), or names localhost or a private network. Nothing is requested. | Hidden: it fails the same way every time |
109
+ | `feedError: "feed_unavailable"` | The gateway could not read the feed, or the request failed. | `retryFeed` reads the same feed again |
110
+ | `feedError: "feed_malformed"` | The answer had no episode list. | `retryFeed` |
111
+ | `feedState: "empty"` | The feed has no episodes, or none with a usable enclosure (`unplayableCount`). | — |
112
+ | `playbackError: "media_failed"` | The player reported an error for this episode. | `retryPlayback` repeats the failed control or restarts the failed episode |
113
+ | `playbackError: "no_audio"` | The episode has no audio. | — |
114
+
115
+ Dispatch failures do not yet expose stable error codes. They show a generic playback error;
116
+ `himi validate` supplies the typed native rebuild diagnostic before publishing.
117
+
118
+ An episode without an enclosure is never given the feed URL or another URL as
119
+ its audio. The service counts it in `unplayableCount` and does not list it.
120
+
121
+ ## Testing
122
+
123
+ - `himi validate` checks the capability planning above.
124
+ - `himi test --content <dir> --json` dispatches the screen's actions against the
125
+ real worker.
126
+ - A browser preview shows the list and the web player. It does not prove native
127
+ playback.
128
+ - On a device, check that audio plays and the position advances. Then check
129
+ pause, seek, previous and next, background and lock-screen controls, and that
130
+ the player shows the right state when you come back to the screen. Opening a
131
+ URL or reaching a state flag is not proof of playback.
132
+
133
+ ## URL and gateway boundaries
134
+
135
+ Only public feed URLs belong in screen configuration. The URL is delivered to app users.
136
+ Descriptor creation rejects invalid or user-info-bearing settings before serializing them;
137
+ private feeds need a server-side, secret-backed integration. Do not put credentials in the
138
+ path or query either. Feed URLs may use HTTP because the gateway reads them server-side;
139
+ audio enclosures must use HTTPS to work under native transport policy.
140
+
141
+ The client checks URL syntax and obvious private literal hosts. It cannot resolve DNS,
142
+ prevent rebinding, or validate the gateway's redirect hops. These checks are not an SSRF
143
+ security boundary. DNS pinning, private-address refusal and redirect validation belong
144
+ in the existing feed gateway; its deployment is separate from this SDK. This change does
145
+ not widen the Wix bridge endpoint allowlist or establish that gateway's server-side policy.
146
+
147
+ A failed player-status read does not mean the player is idle. Loading the screen preserves
148
+ any ongoing session and restores a saved queue only after a confirmed idle snapshot.
149
+ A newer control cancels an in-flight queue edit before it can overwrite the new player state.
package/guides/skill.md CHANGED
@@ -41,7 +41,9 @@ these public guides.
41
41
  ## One App migration route — before generic discovery
42
42
 
43
43
  When the user invokes `himi one-app migrate`, or you are continuing that user's
44
- recorded `one-app-to-himi-app` workflow in `.himi/one-app/manifest.json`, read
44
+ recorded `one-app-to-himi-app` workflow in `.himi/one-app/manifest.json`,
45
+ `migration/one-app/source/manifest.json` or a flat `migration/one-app/manifest.json`
46
+ that declares that workflow, read
45
47
  the `one-app-to-himi-app` guide (its installed skill, or `himi docs one-app-to-himi-app`), also at https://apps.wix.com/_api/himi-serve/docs/one-app-to-himi-app.md, and follow
46
48
  it now in this same agent session. The collector's `stage: "collected"` is evidence
47
49
  collection, not a generated app; a terminal without an agent honestly stops there.