@wix/himalaya-cli 0.1948.0 → 0.1950.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/files/src/index.d.ts +23 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/network/src/index.d.ts +22 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/sdk-types/src/capabilities.generated.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/message-format.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/social-feed/src/index.d.ts +13 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/video/src/display.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/audio-record.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calendar.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calls.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/contacts.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/files.mjs +4 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/l10n.mjs +1 -8
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/location.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/network.mjs +19 -3
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/photos.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +4 -9
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdk-types.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/tasks.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-video.mjs +4 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{1425fc7ef3149df8ba41fdbcca629cefd430a2cae524822c21985f0aade6430a.bin → bb3ece9e6e814275817059f029f1b2db624dceb90d9e1a53ebae2b45fe6d36e5.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +185 -95
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/app-icon.md +7 -3
- package/guides/one-app-to-himi-app.md +2 -2
- package/guides/release-notes.md +11 -0
- package/guides/sdk-reference.json +55 -6
- package/guides/web-page-sdk-reference.md +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon-owner/config.ts +7 -0
- package/templates/beauty-salon-owner/dev/index.ts +567 -0
- package/templates/beauty-salon-owner/himalaya.content.json +3 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/branded-lite/l10n/ar.json +21 -0
- package/templates/branded-lite/l10n/cs.json +21 -0
- package/templates/branded-lite/l10n/da.json +21 -0
- package/templates/branded-lite/l10n/de.json +21 -0
- package/templates/branded-lite/l10n/el.json +21 -0
- package/templates/branded-lite/l10n/en.json +5 -0
- package/templates/branded-lite/l10n/es.json +21 -0
- package/templates/branded-lite/l10n/fi.json +21 -0
- package/templates/branded-lite/l10n/fr.json +21 -0
- package/templates/branded-lite/l10n/he.json +21 -0
- package/templates/branded-lite/l10n/hu.json +21 -0
- package/templates/branded-lite/l10n/id.json +21 -0
- package/templates/branded-lite/l10n/it.json +21 -0
- package/templates/branded-lite/l10n/ja.json +21 -0
- package/templates/branded-lite/l10n/ko.json +21 -0
- package/templates/branded-lite/l10n/lt.json +21 -0
- package/templates/branded-lite/l10n/nl.json +21 -0
- package/templates/branded-lite/l10n/no.json +21 -0
- package/templates/branded-lite/l10n/pl.json +21 -0
- package/templates/branded-lite/l10n/pt.json +21 -0
- package/templates/branded-lite/l10n/ru.json +21 -0
- package/templates/branded-lite/l10n/sv.json +21 -0
- package/templates/branded-lite/l10n/th.json +21 -0
- package/templates/branded-lite/l10n/tr.json +21 -0
- package/templates/branded-lite/l10n/uk.json +21 -0
- package/templates/branded-lite/l10n/vi.json +21 -0
- package/templates/branded-lite/l10n/zh.json +21 -0
- package/templates/branded-lite/recipes/group-feed.json +221 -3
- package/templates/branded-lite/recipes/groups-newsfeed.json +160 -2
- package/templates/branded-lite/recipes/video-library.json +475 -0
- package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +119 -7
- package/templates/branded-lite/tier5-src/_shared/groups-newsfeed-section.ts +17 -9
- package/templates/branded-lite/tier5-src/_shared/videos-section.ts +134 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +4 -2
- package/templates/community-club-owner/config.ts +7 -0
- package/templates/community-club-owner/dev/index.ts +567 -0
- package/templates/community-club-owner/himalaya.content.json +3 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/events-meetups-owner/config.ts +7 -0
- package/templates/events-meetups-owner/dev/index.ts +567 -0
- package/templates/events-meetups-owner/himalaya.content.json +3 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/gym-fitness-owner/config.ts +7 -0
- package/templates/gym-fitness-owner/dev/index.ts +567 -0
- package/templates/gym-fitness-owner/himalaya.content.json +3 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/nonprofit-cause-owner/config.ts +7 -0
- package/templates/nonprofit-cause-owner/dev/index.ts +567 -0
- package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/owner-lite/config.ts +7 -0
- package/templates/owner-lite/dev/index.ts +567 -0
- package/templates/owner-lite/himalaya.content.json +3 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-video/index.ts +4 -2
- package/templates/podcast-creator-owner/config.ts +7 -0
- package/templates/podcast-creator-owner/dev/index.ts +567 -0
- package/templates/podcast-creator-owner/himalaya.content.json +3 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/portfolio-creative-owner/config.ts +7 -0
- package/templates/portfolio-creative-owner/dev/index.ts +567 -0
- package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/restaurant-owner/config.ts +7 -0
- package/templates/restaurant-owner/dev/index.ts +567 -0
- package/templates/restaurant-owner/himalaya.content.json +3 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/retail-store-owner/config.ts +7 -0
- package/templates/retail-store-owner/dev/index.ts +567 -0
- package/templates/retail-store-owner/himalaya.content.json +3 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/yoga-studio-owner/config.ts +7 -0
- package/templates/yoga-studio-owner/dev/index.ts +567 -0
- package/templates/yoga-studio-owner/himalaya.content.json +3 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
|
Binary file
|
package/guides/app-icon.md
CHANGED
|
@@ -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
|
|
49
|
-
|
|
50
|
-
|
|
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
|
|
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
|
package/guides/release-notes.md
CHANGED
|
@@ -14,6 +14,17 @@ areas, always in the same order, so you can skim for the one you care about.
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
## 2026-11-29
|
|
18
|
+
|
|
19
|
+
### Logic, data & SDKs
|
|
20
|
+
|
|
21
|
+
- **The iOS and Android embed can run on host-owned services, as an experimental opt-in.** A host that already owns the
|
|
22
|
+
person's session, its Wix calls and its telemetry passes them as one object (`services:`) instead of a `dataSource`.
|
|
23
|
+
A worker never serves two identities, the embed's telemetry never touches the host app's own sink, and a host
|
|
24
|
+
`accountId` that disagrees with the services identity refuses the mount. It needs `@_spi(HimalayaEmbedServices)` on
|
|
25
|
+
iOS and `@ExperimentalHimalayaEmbedServices` on Android, has no version commitment yet, and changes nothing for a host
|
|
26
|
+
that does not opt in. See the embedding guide. (#6762)
|
|
27
|
+
|
|
17
28
|
## 2026-11-26
|
|
18
29
|
|
|
19
30
|
### Getting started & the CLI
|
|
@@ -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
|
{
|
|
@@ -5004,6 +5011,34 @@
|
|
|
5004
5011
|
"jsdoc": "/**\n * Have `handler` (`\"<service>.<action>\"`) invoked with the new {@link NetworkStatus} on each\n * CHANGE. Changes are debounced 500 ms and a reading equal to the last one delivered is\n * suppressed, so a flapping interface does not storm the reducer. The subscription lives\n * as long as the calling worker and is released when it is torn down. Subscribing the same\n * handler twice is idempotent.\n *\n * Resolves with the status at the moment of subscribing, so the screen can paint the\n * current state without waiting for the first change.\n *\n * ```ts\n * import { subscribe } from \"@himalaya/network\";\n *\n * init: (s) => {\n * subscribe(\"net.changed\").then((now) => net.changed(now)).catch(() => {});\n * return s;\n * },\n * changed: (s, status) => ({ ...s, online: status.online, type: status.type }),\n * ```\n */",
|
|
5005
5012
|
"decl": "export async function subscribe(handler: string): Promise<NetworkStatus>;",
|
|
5006
5013
|
"verificationChecked": true
|
|
5014
|
+
},
|
|
5015
|
+
{
|
|
5016
|
+
"name": "NetworkWatchEvent",
|
|
5017
|
+
"kind": "type",
|
|
5018
|
+
"jsdoc": "/** One answer from {@link watchNext}: a settled change, a quiet window, or the end of the watch. */",
|
|
5019
|
+
"decl": "export type NetworkWatchEvent =\n | { event: \"change\" | \"timeout\"; status: NetworkStatus }\n | { event: \"ended\" };",
|
|
5020
|
+
"verificationChecked": true
|
|
5021
|
+
},
|
|
5022
|
+
{
|
|
5023
|
+
"name": "watchStart",
|
|
5024
|
+
"kind": "function",
|
|
5025
|
+
"jsdoc": "/**\n * Start a change watch — the pull twin of {@link subscribe}, for a WebView page, which has no\n * worker to push into. Resolves with the watch id and the status at the moment of starting;\n * loop on {@link watchNext} and call {@link watchStop} when done. Changes are debounced and\n * deduped exactly as `subscribe` does. Returns `null` where the host has no network source.\n */",
|
|
5026
|
+
"decl": "export async function watchStart(): Promise<{ watchId: string; status: NetworkStatus } | null>;",
|
|
5027
|
+
"verificationChecked": true
|
|
5028
|
+
},
|
|
5029
|
+
{
|
|
5030
|
+
"name": "watchNext",
|
|
5031
|
+
"kind": "function",
|
|
5032
|
+
"jsdoc": "/** Park until the next settled change (`change`), the window elapses (`timeout`, with the\n * current status), or the watch is stopped (`ended`). */",
|
|
5033
|
+
"decl": "export async function watchNext(watchId: string, timeoutMs = 30_000): Promise<NetworkWatchEvent>;",
|
|
5034
|
+
"verificationChecked": true
|
|
5035
|
+
},
|
|
5036
|
+
{
|
|
5037
|
+
"name": "watchStop",
|
|
5038
|
+
"kind": "function",
|
|
5039
|
+
"jsdoc": "/** Stop a watch; a parked {@link watchNext} resolves `ended`. */",
|
|
5040
|
+
"decl": "export async function watchStop(watchId: string): Promise<void>;",
|
|
5041
|
+
"verificationChecked": true
|
|
5007
5042
|
}
|
|
5008
5043
|
]
|
|
5009
5044
|
},
|
|
@@ -31770,7 +31805,7 @@
|
|
|
31770
31805
|
"name": "WixFeedItem",
|
|
31771
31806
|
"kind": "interface",
|
|
31772
31807
|
"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?:
|
|
31808
|
+
"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
31809
|
"verificationChecked": true
|
|
31775
31810
|
},
|
|
31776
31811
|
{
|
|
@@ -31780,11 +31815,18 @@
|
|
|
31780
31815
|
"decl": "export interface WixFeedProfile { id?: string; userName?: string; profileImage?: { url?: string } | string }",
|
|
31781
31816
|
"verificationChecked": true
|
|
31782
31817
|
},
|
|
31818
|
+
{
|
|
31819
|
+
"name": "WixFeedItemPermissions",
|
|
31820
|
+
"kind": "interface",
|
|
31821
|
+
"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). */",
|
|
31822
|
+
"decl": "export interface WixFeedItemPermissions { canReact?: boolean; canAddComment?: boolean; canShare?: boolean }",
|
|
31823
|
+
"verificationChecked": true
|
|
31824
|
+
},
|
|
31783
31825
|
{
|
|
31784
31826
|
"name": "WixListFeedItemsResponse",
|
|
31785
31827
|
"kind": "interface",
|
|
31786
31828
|
"jsdoc": "",
|
|
31787
|
-
"decl": "export interface WixListFeedItemsResponse {\n feedItems: WixFeedItem[];\n profiles?: WixFeedProfile[];\n nextPageCursor?: string;\n}",
|
|
31829
|
+
"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
31830
|
"verificationChecked": true
|
|
31789
31831
|
},
|
|
31790
31832
|
{
|
|
@@ -32768,6 +32810,13 @@
|
|
|
32768
32810
|
"decl": "export function youtubeVideoId(video: WixVideo): string;",
|
|
32769
32811
|
"verificationChecked": true
|
|
32770
32812
|
},
|
|
32813
|
+
{
|
|
32814
|
+
"name": "isPlayableVideo",
|
|
32815
|
+
"kind": "function",
|
|
32816
|
+
"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. */",
|
|
32817
|
+
"decl": "export function isPlayableVideo(video: WixVideo): boolean;",
|
|
32818
|
+
"verificationChecked": true
|
|
32819
|
+
},
|
|
32771
32820
|
{
|
|
32772
32821
|
"name": "videoCoverUrl",
|
|
32773
32822
|
"kind": "function",
|
|
@@ -41,7 +41,7 @@ the SDK sources, so it matches the shipped SDKs.
|
|
|
41
41
|
- [`location`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Flocation?format=md) — Device location. 10 methods.
|
|
42
42
|
- [`media_playback`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fmedia_playback?format=md) — Background-capable media playback and offline downloads. 21 methods · returns FileHandles.
|
|
43
43
|
- [`motion`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fmotion?format=md) — Device's motion sensors. 7 methods.
|
|
44
|
-
- [`network`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fnetwork?format=md) — Network capability.
|
|
44
|
+
- [`network`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fnetwork?format=md) — Network capability. 4 methods.
|
|
45
45
|
- [`on_device_ai`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fon_device_ai?format=md) — ON-DEVICE text generation. 6 methods.
|
|
46
46
|
- [`open_url`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fopen_url?format=md) — Opening links + external apps. 2 methods.
|
|
47
47
|
- [`pdf`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fpdf?format=md) — Viewing PDF documents. 2 methods.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1950.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": "
|
|
85
|
+
"falconPackageHash": "6a6de1f69bc380e0cb94602964672643696e19f34e5d5c5b67ff0e1a"
|
|
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,
|