@wix/himalaya-cli 0.1948.0 → 0.1949.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 (160) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/files/src/index.d.ts +23 -2
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/social-feed/src/index.d.ts +13 -4
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/video/src/display.d.ts +3 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/files.mjs +4 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +3 -1
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-video.mjs +4 -0
  7. package/dist/browser-plane/assets.json +5 -5
  8. package/dist/browser-plane/preview-deferred/{1425fc7ef3149df8ba41fdbcca629cefd430a2cae524822c21985f0aade6430a.bin → a8cfd0e17359578587e8937e88dedd40b46d533f08b4d2fdac4c47d5bae6f385.bin} +1 -1
  9. package/dist/browser-plane/sw.js +1 -1
  10. package/dist/cli.mjs +127 -65
  11. package/dist/preview-assets.generated.bin +0 -0
  12. package/guides/app-icon.md +7 -3
  13. package/guides/one-app-to-himi-app.md +2 -2
  14. package/guides/sdk-reference.json +27 -6
  15. package/package.json +2 -2
  16. package/templates/beauty-salon-owner/config.ts +7 -0
  17. package/templates/beauty-salon-owner/dev/index.ts +567 -0
  18. package/templates/beauty-salon-owner/himalaya.content.json +3 -0
  19. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  20. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  21. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  22. package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  23. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  24. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  25. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  26. package/templates/branded-lite/l10n/ar.json +21 -0
  27. package/templates/branded-lite/l10n/cs.json +21 -0
  28. package/templates/branded-lite/l10n/da.json +21 -0
  29. package/templates/branded-lite/l10n/de.json +21 -0
  30. package/templates/branded-lite/l10n/el.json +21 -0
  31. package/templates/branded-lite/l10n/en.json +5 -0
  32. package/templates/branded-lite/l10n/es.json +21 -0
  33. package/templates/branded-lite/l10n/fi.json +21 -0
  34. package/templates/branded-lite/l10n/fr.json +21 -0
  35. package/templates/branded-lite/l10n/he.json +21 -0
  36. package/templates/branded-lite/l10n/hu.json +21 -0
  37. package/templates/branded-lite/l10n/id.json +21 -0
  38. package/templates/branded-lite/l10n/it.json +21 -0
  39. package/templates/branded-lite/l10n/ja.json +21 -0
  40. package/templates/branded-lite/l10n/ko.json +21 -0
  41. package/templates/branded-lite/l10n/lt.json +21 -0
  42. package/templates/branded-lite/l10n/nl.json +21 -0
  43. package/templates/branded-lite/l10n/no.json +21 -0
  44. package/templates/branded-lite/l10n/pl.json +21 -0
  45. package/templates/branded-lite/l10n/pt.json +21 -0
  46. package/templates/branded-lite/l10n/ru.json +21 -0
  47. package/templates/branded-lite/l10n/sv.json +21 -0
  48. package/templates/branded-lite/l10n/th.json +21 -0
  49. package/templates/branded-lite/l10n/tr.json +21 -0
  50. package/templates/branded-lite/l10n/uk.json +21 -0
  51. package/templates/branded-lite/l10n/vi.json +21 -0
  52. package/templates/branded-lite/l10n/zh.json +21 -0
  53. package/templates/branded-lite/recipes/group-feed.json +221 -3
  54. package/templates/branded-lite/recipes/groups-newsfeed.json +160 -2
  55. package/templates/branded-lite/recipes/video-library.json +475 -0
  56. package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +119 -7
  57. package/templates/branded-lite/tier5-src/_shared/groups-newsfeed-section.ts +17 -9
  58. package/templates/branded-lite/tier5-src/_shared/videos-section.ts +134 -2
  59. package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +4 -2
  60. package/templates/community-club-owner/config.ts +7 -0
  61. package/templates/community-club-owner/dev/index.ts +567 -0
  62. package/templates/community-club-owner/himalaya.content.json +3 -0
  63. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  64. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  65. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  66. package/templates/community-club-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  67. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  68. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  69. package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  70. package/templates/events-meetups-owner/config.ts +7 -0
  71. package/templates/events-meetups-owner/dev/index.ts +567 -0
  72. package/templates/events-meetups-owner/himalaya.content.json +3 -0
  73. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  74. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  75. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  76. package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  77. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  78. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  79. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  80. package/templates/gym-fitness-owner/config.ts +7 -0
  81. package/templates/gym-fitness-owner/dev/index.ts +567 -0
  82. package/templates/gym-fitness-owner/himalaya.content.json +3 -0
  83. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  84. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  85. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  86. package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  87. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  88. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  89. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  90. package/templates/nonprofit-cause-owner/config.ts +7 -0
  91. package/templates/nonprofit-cause-owner/dev/index.ts +567 -0
  92. package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
  93. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  94. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  95. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  96. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  97. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  98. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  99. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  100. package/templates/owner-lite/config.ts +7 -0
  101. package/templates/owner-lite/dev/index.ts +567 -0
  102. package/templates/owner-lite/himalaya.content.json +3 -0
  103. package/templates/owner-lite/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  104. package/templates/owner-lite/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  105. package/templates/owner-lite/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  106. package/templates/owner-lite/tier5-src/_shared/owner-maestro-when.ts +13 -0
  107. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  108. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  109. package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  110. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-video/index.ts +4 -2
  111. package/templates/podcast-creator-owner/config.ts +7 -0
  112. package/templates/podcast-creator-owner/dev/index.ts +567 -0
  113. package/templates/podcast-creator-owner/himalaya.content.json +3 -0
  114. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  115. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  116. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  117. package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  118. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  119. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  120. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  121. package/templates/portfolio-creative-owner/config.ts +7 -0
  122. package/templates/portfolio-creative-owner/dev/index.ts +567 -0
  123. package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
  124. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  125. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  126. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  127. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  128. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  129. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  130. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  131. package/templates/restaurant-owner/config.ts +7 -0
  132. package/templates/restaurant-owner/dev/index.ts +567 -0
  133. package/templates/restaurant-owner/himalaya.content.json +3 -0
  134. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  135. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  136. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  137. package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  138. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  139. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  140. package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  141. package/templates/retail-store-owner/config.ts +7 -0
  142. package/templates/retail-store-owner/dev/index.ts +567 -0
  143. package/templates/retail-store-owner/himalaya.content.json +3 -0
  144. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  145. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  146. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  147. package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  148. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  149. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  150. package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
  151. package/templates/yoga-studio-owner/config.ts +7 -0
  152. package/templates/yoga-studio-owner/dev/index.ts +567 -0
  153. package/templates/yoga-studio-owner/himalaya.content.json +3 -0
  154. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
  155. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
  156. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
  157. package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
  158. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
  159. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
  160. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
Binary file
@@ -45,9 +45,13 @@ nobody has said what the app is. So pick one with `--glyph` when you know
45
45
  (`himi icon glyphs` lists them, `book` and `graduation` among them), and read the neutral
46
46
  tile as what it is — a placeholder, still waiting for the customer's real mark.
47
47
 
48
- `set`, `from-site`, `from-one-app` and `generate` all do the same finishing work: **trim** the art, centre
49
- it, **flatten it onto your app's accent colour**, write it as an exactly-1024 square with no
50
- alpha channel, derive the 512 Play listing icon, and record it in `himalaya.content.json`.
48
+ `set`, `from-site`, `from-one-app` and `generate` all do the same finishing work, write it as an
49
+ exactly-1024 square with no alpha channel, derive the 512 Play listing icon, and record it in
50
+ `himalaya.content.json`. **Opaque, near-square art** (a photo, a gradient tile, a logo on its own
51
+ card) **fills the icon edge to edge**, as Wix Branded Apps' icons do, as long as the filled icon
52
+ passes the App Store checks below. Anything else — transparent art, a wide shape, or art that would
53
+ be too small or blank when filled — is **trimmed**, centred and **flattened onto your app's accent
54
+ colour**.
51
55
 
52
56
  Source images accept at most 16 MiB of encoded input and a 2048-square decoded canvas.
53
57
  SVGs use density-bounded rasterization before normalization, under the same pixel cap.
@@ -223,7 +223,7 @@ source's title (only when the source shows it) and a **See All** button to the s
223
223
  | `newBlog_postlist_carousel_full_section` | `himi_blog` | nothing: the screen does not open on a category |
224
224
  | `stores_products_grid_section`, `stores_products_carousel_section` | `himi_shop` | `categoryId`: the section's collection (Wix's "All Products" collection is the shop's own All chip) |
225
225
  | `platform_general_upcoming_section` | `himi_agenda` | nothing: the source strip is the Bookings member widget (the business's next 3 bookable sessions with the member's booked status; the Events module does not feed it), whatever its `interval` says |
226
- | `vod_list_section` | `himi_videos` | nothing: the screen is the channel list |
226
+ | `vod_list_section` | `himi_videos` | nothing: the screen is the channel list (the source has no setting to choose a channel). Beside other sections it shows each channel in place, as the source does: its cover, title and size ("1 video · Free"), Play All, its first five clips as rows (the length on the thumbnail, the video's host when it is not Wix) and See All to the channel (`himi_video_channel`) when it has more; the first three channels, with See All to this screen when the site has more. A clip and Play All open `himi_video`, which plays a Wix-hosted or YouTube video; Play All starts on the first of those among the clips the section reads (the rows and one more) and does not go on to the next clip (reported as a gap); a channel with none there shows no Play All, and its rows and See All still open every clip. A site with no ready video shows "No videos yet."; a failed read shows the shared error piece |
227
227
  | `bookings_agenda_section` | `himi_agenda` | nothing: the screen is the calendar of the site's class and course sessions |
228
228
  | `progallery_carousel_section` | `himi_galleries` | `maxGalleries`, `isCarousel`, `isShowName`: a rail of the first `maxGalleries` gallery covers (full-width cards when the carousel is off). With exactly ONE gallery and the carousel on, the source shows that gallery as a collage, and so does the section: the gallery's name (when names are on) with View All, then its first five pictures as one big tile and four small, the last small tile with "+N" for the pictures past the five; a tile and View All open the gallery (`himi_gallery`). The section's own title is not shown there (the header is the gallery's name), and a picture's caption over its tile is reported as a gap. Like the list section it reads the One App's galleries service as a member: a visitor sees the "no galleries" state |
229
229
  | `proGallery_gallery_list_section` | `himi_galleries` | nothing: the section has no settings. Beside other sections it shows the site's first 10 galleries as full-width cards (a card opens `himi_gallery`), with View All to this screen, and reports that gap. Like the source, which reads the One App's own galleries service as a member and never shows hidden or empty galleries, the section lists them for a signed-in member only: a visitor sees the "no galleries" state, and so does a member where that service cannot be read (the web bridge refuses its host: the public Pro Gallery list has no hidden flag, so it is never used as a stand-in) |
@@ -1640,7 +1640,7 @@ settings each honors are in the generator; one it cannot show becomes an `adapte
1640
1640
  6 or 8 products as square, borderless tiles, with a See All link beside the title, or a button under the row when the section has no title,
1641
1641
  opening the shop on that collection; a blog carousel shows the source's limit of latest posts, at most 10, with the title under the image;
1642
1642
  a video carousel shows the source's count of its channel's ready videos (at most 20) as cards that open
1643
- the template's video screen, with the length and the title as the source switches them, and a See All to the channel; groups omit the Create button; a single group's feed shows the latest posts read-only, at most the source's post count, with a button that opens the group, and a group that is not public shows what the group screen shows a non-member, never its posts; the topic filter, reactions, comments and the composer are reported; the subscriptions section shows the latest 5 active plan orders and cannot show package balances or session credits; a services list, which has no settings of its own, shows the first 6 services with a See All button to the services screen; a store search section is a search bar that opens the shop; a wishlist section shows a signed-in member's account wishlist (the list the source shows) and a visitor the products saved on this device, with See All to the saved-products screen; a performance tracker shows the member's progress against their weekly goal (the source's default until the member picks their own from 1 to 14 in a sheet with a number wheel, as in the source; it is kept on the member's device, because the source keeps it in a private service a member's session cannot call, and a visitor is asked to sign in to change it), the weeks of meeting the goal and the sessions in total (500+ past 500), and the source's ••• menu with Refresh, counted from the member's own bookings with the rule of My Bookings' "This week" card (a confirmed booking that took place), with a See All button to My Bookings; the source's attended-only or scheduled counting and the Apple Health daily activity cannot be read by a visitor and are reported; upcoming bookings shows the signed-in member's next 3 bookings and, unless the source turns previous bookings off, the source's History block (a "History" heading with Show All to My Bookings, the member's latest past booking with Book Again, or the source's empty state when there is none), with the source's empty text and a See All button to My Bookings, and a guest gets a sign-in prompt). A scaffold without a section's recipe or module takes the fallback below. A page with such modules gets ONE
1643
+ the template's video screen, with the length and the title as the source switches them, and a See All to the channel; groups omit the Create button; a single group's feed shows the group's About and Members shortcuts (its About page and its group screen) and the latest posts, at most the source's post count, each with the source's Like and Share as the feed read's permissions allow the viewer (a visitor gets a sign-in gate instead of Like, a member the group does not let react a join gate), with a button that opens the group, and a group that is not public shows what the group screen shows a non-member, never its posts; the groups newsfeed gives each post the Like and Share its own group allows; the topic filter, comments, other reactions, the composer and the Media and Files shortcuts are reported; the subscriptions section shows the latest 5 active plan orders and cannot show package balances or session credits; a services list, which has no settings of its own, shows the first 6 services with a See All button to the services screen; a store search section is a search bar that opens the shop; a wishlist section shows a signed-in member's account wishlist (the list the source shows) and a visitor the products saved on this device, with See All to the saved-products screen; a performance tracker shows the member's progress against their weekly goal (the source's default until the member picks their own from 1 to 14 in a sheet with a number wheel, as in the source; it is kept on the member's device, because the source keeps it in a private service a member's session cannot call, and a visitor is asked to sign in to change it), the weeks of meeting the goal and the sessions in total (500+ past 500), and the source's ••• menu with Refresh, counted from the member's own bookings with the rule of My Bookings' "This week" card (a confirmed booking that took place), with a See All button to My Bookings; the source's attended-only or scheduled counting and the Apple Health daily activity cannot be read by a visitor and are reported; upcoming bookings shows the signed-in member's next 3 bookings and, unless the source turns previous bookings off, the source's History block (a "History" heading with Show All to My Bookings, the member's latest past booking with Book Again, or the source's empty state when there is none), with the source's empty text and a See All button to My Bookings, and a guest gets a sign-in prompt). A scaffold without a section's recipe or module takes the fallback below. A page with such modules gets ONE
1644
1644
  worker, `tier5-src/page-<screen>/index.ts`, that registers the modules its sections use. A page that is only a template vertical (members,
1645
1645
  loyalty, shop, groups feed, services list) opens the template's screen, and a groups feed passes the source's own title,
1646
1646
  "Group list" label and post count. A data section never vanishes: when the shared modules cannot honor its settings
@@ -1932,8 +1932,8 @@
1932
1932
  {
1933
1933
  "name": "FilesErrorCode",
1934
1934
  "kind": "type",
1935
- "jsdoc": "/** Stable failure codes for the v3 verbs. Branch on `FilesError.code` (see `isFilesError`), never on\n * the message text.\n * - `invalid_url` — not an absolute `https:` URL, carries userinfo, or names a\n * loopback / private-network / link-local host (checked on every\n * redirect hop; natively also on the resolved DNS records).\n * - `too_large` — the response is (or announces it will be) over `maxBytes`.\n * - `http_error` — the server answered a non-2xx status (`status` is set).\n * - `network` — the transfer failed (DNS, TLS, reset, CORS on web, …).\n * - `unavailable` — this host cannot do it: no implementation for the verb, no save\n * picker or volume reading to hand, or (`download`) the account signed\n * out mid-transfer, so the file was not kept. */",
1936
- "decl": "export type FilesErrorCode = \"invalid_url\" | \"too_large\" | \"http_error\" | \"network\" | \"unavailable\";",
1935
+ "jsdoc": "/** Stable failure codes for the v3 verbs. Branch on `FilesError.code` (see `isFilesError`), never on\n * the message text.\n * - `invalid_url` — not an absolute `https:` URL, carries userinfo, or names a\n * loopback / private-network / link-local host (checked on every\n * redirect hop; natively also on the resolved DNS records).\n * - `invalid_quota_scope` — `quotaScope` normalizes to an empty path (the offending value is in `quotaScope`).\n * - `outside_quota_scope` — the file `name` is not inside `quotaScope` (`path`, `quotaScope` are set).\n * - `too_large` — the response is (or announces it will be) over `maxBytes`.\n * - `quota_exceeded` — the download quota (2 GiB per app, or per `quotaScope`) leaves no room\n * for a download of that cap.\n * - `insufficient_storage` — the 1 GiB free-space floor would be breached by a download of that cap.\n * - `http_error` — the server answered a non-2xx status (`status` is set).\n * - `network` — the transfer failed (DNS, TLS, reset, CORS on web, …).\n * - `unavailable` — this host cannot do it: no implementation for the verb, no save\n * picker or volume reading to hand, a file store that cannot report its\n * size (so the quota cannot be enforced), or (`download`) the account signed\n * out mid-transfer, so the file was not kept. */",
1936
+ "decl": "export type FilesErrorCode = \"invalid_url\" | \"invalid_quota_scope\" | \"outside_quota_scope\" | \"too_large\" | \"quota_exceeded\" | \"insufficient_storage\" | \"http_error\" | \"network\" | \"unavailable\";",
1937
1937
  "verificationChecked": true
1938
1938
  },
1939
1939
  {
@@ -1971,11 +1971,18 @@
1971
1971
  "decl": "export const MAX_DOWNLOAD_BYTES = 1024 * 1024 * 1024;",
1972
1972
  "verificationChecked": true
1973
1973
  },
1974
+ {
1975
+ "name": "DOWNLOAD_QUOTA_BYTES",
1976
+ "kind": "const",
1977
+ "jsdoc": "/** The stored bytes one app (or one `quotaScope`) may hold once downloads count: 2 GiB. */",
1978
+ "decl": "export const DOWNLOAD_QUOTA_BYTES = 2 * 1024 * 1024 * 1024;",
1979
+ "verificationChecked": true
1980
+ },
1974
1981
  {
1975
1982
  "name": "download",
1976
1983
  "kind": "function",
1977
- "jsdoc": "/**\n * Stream an `https:` URL straight into the sandbox and resolve with its FileHandle —\n * the same shape `write` returns. The bytes never cross the worker bridge.\n *\n * - No credentials are attached: a fresh cookie-less session, no auth provider (the\n * `presigned_upload` rule). Use it for public / pre-signed URLs.\n * - `http:`, userinfo, and loopback / private-network / link-local hosts are refused\n * (`invalid_url`); every redirect hop is re-checked before it is followed, and the\n * native arms validate the resolved DNS records too.\n * - `name` is the destination path relative to the files root (like `write`'s\n * `path`); default `downloads/<last URL path segment>`. An existing file is replaced.\n * - `maxBytes` defaults to 100 MiB (clamped to 1 GiB); over it the transfer is aborted (`too_large`) and\n * nothing is left behind.\n */",
1978
- "decl": "export async function download(url: string, opts?: { name?: string; maxBytes?: number }): Promise<FileHandle>;",
1984
+ "jsdoc": "/**\n * Stream an `https:` URL straight into the sandbox and resolve with its FileHandle —\n * the same shape `write` returns. The bytes never cross the worker bridge.\n *\n * - No credentials are attached: a fresh cookie-less session, no auth provider (the\n * `presigned_upload` rule). Use it for public / pre-signed URLs.\n * - `http:`, userinfo, and loopback / private-network / link-local hosts are refused\n * (`invalid_url`); every redirect hop is re-checked before it is followed, and the\n * native arms validate the resolved DNS records too.\n * - `name` is the destination path relative to the files root (like `write`'s\n * `path`); default `downloads/<last URL path segment>`. An existing file is replaced.\n * - `maxBytes` defaults to 100 MiB (clamped to 1 GiB); over it the transfer is aborted (`too_large`) and\n * nothing is left behind.\n * - Quota: the transfer reserves its `maxBytes` up front and releases it when it ends. It is refused\n * (`too_large`) when the bytes already stored, the bytes other in-flight downloads have reserved,\n * and its own cap would exceed {@link DOWNLOAD_QUOTA_BYTES} (2 GiB) — so a smaller `maxBytes`\n * fits where the 100 MiB default does not. It is also refused when the volume's free space\n * after the download would fall below 1 GiB (web: judged from the browser's storage estimate,\n * when it gives one).\n * - `quotaScope` is a path prefix (e.g. `widgets/<folder>`) whose stored and reserved bytes are\n * counted on their own, so each caller gets its own 2 GiB. `name` must lie inside it.\n * - The file does not appear at `name` until the transfer completes.\n * - `mimeType` of the stored handle comes from the response's `Content-Type` (else the file\n * extension). `files.export`'s `mimeType` option is ignored on Apple (iOS/macOS): the type is\n * taken from the file itself, as the share and save panels use it.\n */",
1985
+ "decl": "export async function download(url: string, opts?: { name?: string; maxBytes?: number; quotaScope?: string }): Promise<FileHandle>;",
1979
1986
  "verificationChecked": true
1980
1987
  },
1981
1988
  {
@@ -31770,7 +31777,7 @@
31770
31777
  "name": "WixFeedItem",
31771
31778
  "kind": "interface",
31772
31779
  "jsdoc": "",
31773
- "decl": "export interface WixFeedItem {\n feedItemId?: string;\n author?: { id?: string };\n content?: { blocks?: Array<{ text?: string }>; nodes?: Array<{ nodes?: Array<{ textData?: { text?: string } }> }> };\n created?: string;\n commentsCount?: number;\n reactionsList?: Array<{ userId?: string; reaction?: string }>;\n // ---- back-compat (lean v1 read) ----\n entity?: { body?: { contentType?: string; content?: string } };\n createdBy?: { name?: string; nickname?: string; siteMemberId?: string; image?: { url?: string }; imageUrl?: string } | string;\n createdAt?: string;\n permissions?: { canReact?: boolean; canAddComment?: boolean };\n}",
31780
+ "decl": "export interface WixFeedItem {\n feedItemId?: string;\n author?: { id?: string };\n content?: { blocks?: Array<{ text?: string }>; nodes?: Array<{ nodes?: Array<{ textData?: { text?: string } }> }> };\n created?: string;\n commentsCount?: number;\n reactionsList?: Array<{ userId?: string; reaction?: string }>;\n // ---- back-compat (lean v1 read) ----\n entity?: { body?: { contentType?: string; content?: string } };\n createdBy?: { name?: string; nickname?: string; siteMemberId?: string; image?: { url?: string }; imageUrl?: string } | string;\n createdAt?: string;\n permissions?: WixFeedItemPermissions;\n}",
31774
31781
  "verificationChecked": true
31775
31782
  },
31776
31783
  {
@@ -31780,11 +31787,18 @@
31780
31787
  "decl": "export interface WixFeedProfile { id?: string; userName?: string; profileImage?: { url?: string } | string }",
31781
31788
  "verificationChecked": true
31782
31789
  },
31790
+ {
31791
+ "name": "WixFeedItemPermissions",
31792
+ "kind": "interface",
31793
+ "jsdoc": "/** What the viewer may do to a post of the feed (verified live: a visitor reading a public group gets canReact and\n * canAddComment false, canShare true). */",
31794
+ "decl": "export interface WixFeedItemPermissions { canReact?: boolean; canAddComment?: boolean; canShare?: boolean }",
31795
+ "verificationChecked": true
31796
+ },
31783
31797
  {
31784
31798
  "name": "WixListFeedItemsResponse",
31785
31799
  "kind": "interface",
31786
31800
  "jsdoc": "",
31787
- "decl": "export interface WixListFeedItemsResponse {\n feedItems: WixFeedItem[];\n profiles?: WixFeedProfile[];\n nextPageCursor?: string;\n}",
31801
+ "decl": "export interface WixListFeedItemsResponse {\n feedItems: WixFeedItem[];\n profiles?: WixFeedProfile[];\n nextPageCursor?: string;\n /** The viewer's permissions for this feed: `allFeedItemPermissions` for anyone's post, `ownFeedItemPermissions` for their own. */\n permissions?: { allFeedItemPermissions?: WixFeedItemPermissions; ownFeedItemPermissions?: WixFeedItemPermissions };\n}",
31788
31802
  "verificationChecked": true
31789
31803
  },
31790
31804
  {
@@ -32768,6 +32782,13 @@
32768
32782
  "decl": "export function youtubeVideoId(video: WixVideo): string;",
32769
32783
  "verificationChecked": true
32770
32784
  },
32785
+ {
32786
+ "name": "isPlayableVideo",
32787
+ "kind": "function",
32788
+ "jsdoc": "/** True when a Himi player can play the video: a hosted file (through `getVideoStreamUrl`) or a\n * YouTube video with an id. Any other host (Vimeo, Facebook, live) has no player here. */",
32789
+ "decl": "export function isPlayableVideo(video: WixVideo): boolean;",
32790
+ "verificationChecked": true
32791
+ },
32771
32792
  {
32772
32793
  "name": "videoCoverUrl",
32773
32794
  "kind": "function",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1948.0",
3
+ "version": "0.1949.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": "a7b5c4db990efaf9ef781e275f14b0fda86956364fc35ff697023c00"
85
+ "falconPackageHash": "7c6ed2cbe067fc52d207d5a8162356038105f1c6ee963f6d489e7efe"
86
86
  }
@@ -187,6 +187,13 @@ export default defineApp({
187
187
  "parentScreenId": "himi_owner_lite_maestro",
188
188
  "tabId": "maestro"
189
189
  },
190
+ {
191
+ "screenId": "himi_owner_lite_maestro_activity",
192
+ "isPublic": false,
193
+ "paramKeys": [],
194
+ "parentScreenId": "himi_owner_lite_maestro",
195
+ "tabId": "maestro"
196
+ },
190
197
  {
191
198
  "screenId": "himi_owner_lite_brief",
192
199
  "isPublic": false,