@wix/himalaya-cli 0.1896.0 → 0.1898.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.
Binary file
@@ -304,7 +304,7 @@ binary carries neither the code nor the store-review footprint of a framework it
304
304
 
305
305
  | Module | Linked by |
306
306
  |---|---|
307
- | ads | `ads` (AdMob + UMP consent: `HimalayaCoreAds` / `:core-runtime-ads`, iOS + Android; see [ads.md](ads.md)) |
307
+ | ads | `ads` (AdMob + UMP consent, the `himi_ads.AdBanner` banner placed with `adBanner({ slot })`, the OTA `adsConfig` kill switch and ad-free entitlements: `HimalayaCoreAds` / `:core-runtime-ads`, iOS + Android; see [ads.md](ads.md)) |
308
308
  | animation | `animation` |
309
309
  | audio (iOS) | `audio_record`, `audio_record_background` |
310
310
  | barcode_detection | `barcode_detection` |
@@ -699,8 +699,10 @@ Apply these interpretation rules:
699
699
  `overlappingPanelHeader` first on the Home and gives it a `topBar` copied from `navigation.topBarDefault` with
700
700
  `style: "immersive"` (`"transparent"` with no cover image), `titleDisplay: "hidden"` and `solidAfter` on the cover. Other definitions, and Detailed on any
701
701
  other screen, are ineligible. A Detailed Home whose page opens a shared vertical screen is generated as the Home.
702
- Props are the header's own: title/subtitle (explicit visibility), `showLogo` + `settings.logoImageUrl`, ordered
703
- `coverImagesUrls` (empty: the global covers), `coverImageTransitionTime` (default 3000). Run `provision` after
702
+ Props follow the source Detailed viewer: the header's own `title` and `subtitle` as authored (the viewer reads no
703
+ `showTitle`, `showSubtitle` or `showTagline`, so a legacy `false` there hides nothing; a blank one stays blank, never
704
+ the business name), `settings.logoImageUrl` only when the header's `showLogo` is truthy, ordered `coverImagesUrls`
705
+ (empty: the global `settings.coverImagesUrls`), `coverImageTransitionTime` (default 3000). Run `provision` after
704
706
  `header-badges` to copy the bar again; `validate-topbar` reports drift. The header's call to action and its Invite
705
707
  go in one header actions row right after the header (see "The header's call to action" and "Invite is the Home's
706
708
  row" below); never inside it.
@@ -834,7 +836,7 @@ Apply these interpretation rules:
834
836
  - **The header's call to action, written by `generate`.** The source shows it only when the header has a
835
837
  `settings.callToAction` (`{ id, title, payload? }`) **and** `settings.showCallToAction: true`. `himi one-app
836
838
  generate` writes it on the Home with a Detailed header, from that same source header (bottom tabs, converted top
837
- tabs and a shared-vertical Home included): a filled `Button` with the owner's `title`, id
839
+ tabs and a shared-vertical Home included): a `Button` with the owner's `title`, id
838
840
  `himi_branded_home.cta.button`. Its action goes through the shared action table below. `none` is no button. An
839
841
  action the app cannot run, a missing destination screen or an empty label is no button and a gap. A Home without
840
842
  a Detailed header whose source header shows a call to action is a gap too. `generate` reports `homeCta`:
@@ -846,7 +848,11 @@ Apply these interpretation rules:
846
848
  equal-width slots (`weight: 1` each, 12pt apart, 16pt gutters). Both buttons: the call to action first in
847
849
  reading order, then Invite. One button: it takes the leading slot (left in LTR, right in RTL) at the same width,
848
850
  and the trailing slot is an empty, non-tappable `Spacer` (`himi_branded_home.header_actions.slot`). No button: no
849
- row and no blank padding. The header keeps its cover and its immersive bar.
851
+ row and no blank padding. The header keeps its cover and its immersive bar. Both buttons use the app's themed
852
+ button variants at size `md`, like every other generated button: the call to action `style: "primary"`, Invite
853
+ `style: "secondary"` with the `share` icon. The tokens give them the app's shape (square corners when the theme
854
+ has them), typography and size. Do not use the native `filled` or `tonal` styles here: they read no variant
855
+ token and are drawn as pills.
850
856
  - **One action table for every configurable control.** The header's call to action, both buttons of a Button
851
857
  section, a tappable Image, each repeater item and the interactive banner resolve their action through the same
852
858
  table (`source-actions.ts`). Each control keeps its own label and action.
@@ -533,6 +533,13 @@ unknown reason. For example:
533
533
  could not go into the Mac's keychain, for example because another build of the same owner was
534
534
  running there.
535
535
 
536
+ - **`release_…`** (`release_wix_site_unpublished`, `release_wix_site_unverified`,
537
+ `release_site_invalid`, …) — serve refused the build's contract with a 422: the release itself must
538
+ change (publish the site, fix its binding, then make a new release), so building it again is
539
+ refused again. The build log prints the code and serve's message. A contract answer a retry may
540
+ change (a 503 such as `release_manifest_unavailable`) leads the error too, but is not kept as
541
+ `errorCode`.
542
+
536
543
  A Job Service retry of a failed customer job is refused its signing files, so it fails with
537
544
  `customer_signing_fetch_failed`; that leaves the first attempt's `errorCode` as it was.
538
545
 
@@ -1564,6 +1571,26 @@ himi dist --app <app> --platform android --aab --wait --target bo
1564
1571
  `store_build.settled` (MOBPUB-1253). The caller learns the job ended from Job Service's own
1565
1572
  `wix.mre.v1.Job` domain events and then reads the job. It is the only way a Containers app's store
1566
1573
  build starts: the same request with a control token is refused (above, MOBPUB-1246). MOBPUB-1241.
1574
+ - **The trusted caller also starts a Containers app's test builds, for its store screenshots.** With
1575
+ `testBuild: { metaSiteId }` in place of `storeBuild`, the same caller may `POST /v1/admin/dist` one
1576
+ platform: `platform: ["android"]` with `androidFormat: "apk"` (a QA-signed APK), or
1577
+ `platform: ["ios"]` with `iosFormat: "simulator"` (the unsigned simulator build below). It also
1578
+ sends `attemptId` (required), `buildOrigin` and, to pin one, `release`; without it the live release
1579
+ is built, and a draft is refused as for any build. Nothing else is accepted
1580
+ (`400 trusted_test_build_field_unexpected`: no destination, version, signing, keystore, build
1581
+ type, borrowed id, App name or icon, `allowDraft` or `storeBuild`), any other platform or format is
1582
+ `400 trusted_test_build_only`, a `testBuild` that isn't exactly `{ metaSiteId }` with a site id is
1583
+ `400 test_build_invalid`. The app must be bound to `metaSiteId` (`403 test_build_site_mismatch`,
1584
+ `503 test_builds_unavailable` when the binding can't be read). A test build is never a store build:
1585
+ no store id, no Apple certificates, no store bucket, no TestFlight, no record or report for the
1586
+ service. Every check of the plane's own runs, as for any self-serve build (release, shell,
1587
+ capabilities, the simulator runner marker, the per-app cap, `HIMI_DIST_SELFSERVE=0`), and test
1588
+ builds count per site in the self-serve tier on a budget of their own
1589
+ (`trusted:<app id>:site:<site>:test`), so screenshots can't use up the site's store-build budget
1590
+ (the per-app cap still counts every build of the app, test builds included). The job records
1591
+ `testBuild: { site, trustedCaller }`, and the caller reads, lists and cancels it like its store
1592
+ builds; its link is the job's `artifact` (`downloadUrl`, `sha256`, `expiresAt`). It is an
1593
+ internal-only build: never the app's install link, and left out of the owner's list. MOBPUB-1515.
1567
1594
  - **A store build ships under the owner's App name and icon.** Every store build above (a Containers
1568
1595
  app's `--aab` and its TestFlight build, and a linked app's `--aab`) needs `appName` and `appIconUrl`
1569
1596
  on `POST /v1/admin/dist` (`himi dist --app-name <name> --app-icon-url <url>`): for a Containers app,
@@ -1673,7 +1700,8 @@ returns it as a zip with exactly one `.app` at its root (MOBPUB-1500).
1673
1700
  `simulator`), `ios_format_requires_link` (any destination but `link`: TestFlight, Play internal),
1674
1701
  `ios_format_simulator_unsigned` (`signing: "byo"` or `borrowIosBundleId`: nothing signs it),
1675
1702
  `ios_format_requires_ios` (an Android-only request) and `ios_format_simulator_store_build` (any
1676
- store build, and the trusted caller, whose parser refuses the field anyway).
1703
+ store build, and the trusted caller's store builds, whose parser refuses the field anyway). The
1704
+ trusted caller asks for one with `testBuild` instead (below).
1677
1705
  - **How the pool builds it.** The command CI's own simulator test builds use (the ones LambdaTest runs):
1678
1706
  `xcodebuild build -sdk iphonesimulator -destination 'generic/platform=iOS Simulator'
1679
1707
  CODE_SIGNING_ALLOWED=NO`, in the dist configuration (`Release`), with `ONLY_ACTIVE_ARCH=NO`, so it
@@ -14,6 +14,18 @@ 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-26
18
+
19
+ ### Getting started & the CLI
20
+
21
+ - **`skill-mcp.md` now sets up the local `himi mcp`.** The page gives the Claude Code command and the `mcp.json`
22
+ entry for the server that runs on your own machine. The internal MCP server it used to describe is retired: it
23
+ answers `410` and points at the local server, or at the hosted connector when that is on. (#6543)
24
+ - **The hosted connector reads an app's SPEC.md and MOBILE-UX.md.** `himi_release_docs` lists the product
25
+ documents a pushed release carries, or returns one as Markdown with `name`. It reads the latest draft, the live
26
+ release when the app has no draft, or the release you name. Read them before changing an app someone else built.
27
+ (#6543)
28
+
17
29
  ## 2026-11-25
18
30
 
19
31
  ### Getting started & the CLI
@@ -354,7 +354,8 @@ himi app-docs get mobile-ux --app <app> --release <releaseId> --target prod
354
354
  `himi push` includes `SPEC.md` and `MOBILE-UX.md` when they exist at the content-package root.
355
355
  They are deliberately a small Markdown allowlist (128 KiB each): keep them safe for public
356
356
  release retrieval, with no secrets, personal data, internal URLs, or private research. Agents can
357
- retrieve the same contracts through the `himi_release_docs` and `himi_release_doc` MCP tools.
357
+ retrieve the same contracts with `himi app-docs`, or through the hosted connector's
358
+ `himi_release_docs` tool (pass `name` for one document's Markdown).
358
359
 
359
360
  ## Telemetry
360
361
 
@@ -255,12 +255,13 @@ No `--client-id` is needed here: a site shell is visitor-only, its pages are the
255
255
 
256
256
  A site shell whose release also binds a Wix member client can carry the signed-in member into the website's pages: after a native sign-in, the app opens the site's own session endpoint with a fresh member session. On a Wix free host (`*.wixsite.com`, `*.wixstudio.com`, `*.wixstudio.io`, `*.editorx.io`) that endpoint is Wix's, under the site's own path, so nothing more is checked. On a custom domain it is whatever server the domain points at, so before a `himi dist` build bakes the binding, Himi asks Wix which site the release's client belongs to and requires the domain to be that site: the same host, or its apex / `www.` twin. Both the `site` block's `origin` and the binding's `siteUrl` are checked, and the `siteUrl` is checked even for a build that gets no `site` block. Wix's own answer is the authority here, never the site's HTML or a caller-supplied msid. A visitor-only release (no client) is not checked, because it carries no session.
257
257
 
258
- How a build is refused: the build's contract fetch (`GET /v1/dist/contract`) answers one of these, and the build fails on it. The build log shows only the HTTP status; the `error` code is in the response body:
258
+ How a build is refused: the build's contract fetch (`GET /v1/dist/contract`) answers one of these, and the build fails on it. The build log prints the `error` code and the response's `message`, and the build's error starts with the code, which the job keeps as its `errorCode`:
259
259
 
260
260
  | `error` | Meaning | Fix |
261
261
  |---|---|---|
262
262
  | `release_wix_site_mismatch` (422) | Wix serves the client's site on another domain than the release names. | Point `site.origin` and `wix.siteUrl` at the site's primary domain, or bind that site's own client. |
263
263
  | `release_wix_site_unverified` (422) | Wix answered but named no site for the client (an unknown client, or an unpublished site). | Publish the site, or check the client id. |
264
+ | `release_wix_site_unpublished` (422) | The release was made before the site was published, so its site URL is the editor's stand-in (`https://<msid>.unpublished.invalid`). Wix is not asked. | Publish the site, then make a new release. |
264
265
  | `wix_site_unreachable` (503) | Wix could not be asked. | Start the build again. |
265
266
 
266
267
  The shell's bake checks that proof again (`wix.siteVerified`) and stops with `wix_site_unverified` when a custom-domain site arrives without a matching one.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1896.0",
3
+ "version": "0.1898.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": "1d4d0fcff3affe44cf0eb970e3d263f84795126332c735ccc607d809"
85
+ "falconPackageHash": "d9c0f10ebfd3aff24bc309fe0e044e83ff4f455081600ad03f6c8602"
86
86
  }