@wix/himalaya-cli 0.1710.0 → 0.1711.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/cli.mjs CHANGED
@@ -34907,6 +34907,7 @@ function shouldRevealError(args) {
34907
34907
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
34908
34908
  var init_validation = __esm({
34909
34909
  "../../core/ts/src/validation.ts"() {
34910
+ "use strict";
34910
34911
  init_define_HHP_CATALOG();
34911
34912
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
34912
34913
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
@@ -272,6 +272,18 @@ answer that — the live
272
272
  pointer moves, so the record has to say whether a build was pinned deliberately or just caught that
273
273
  release.
274
274
 
275
+ **A draft needs `--allow-draft`**, which refuses a named draft without it (`409 release_draft`). A
276
+ pinned binary refreshes its app-config from its own release (`?release=<id>`), and keeps the pin on
277
+ whatever config it installs. A draft or superseded release answers that read with `401
278
+ preview_token_required`, so the binary keeps the app-config it was built with. Before this, the
279
+ refresh read the app's live config. For an app with nothing live that is an empty baseline, which
280
+ replaced the baked config and took its `homeScreenId` with it: every launch after the first opened
281
+ the shell's own home and showed "Unable to load this content". Installing a build over an earlier
282
+ one keeps the app's data, so a pinned build replaces a cached config that is not pinned to its own
283
+ release, and an install the old behaviour broke recovers on the next build. Screen, token and catalog reads are
284
+ still unpinned. On an app with nothing live they 404 and the baked copies stay. On an app that has
285
+ a live release, they revalidate onto the live content.
286
+
275
287
  **Serverless brokers, it does not build.** Compiling Swift needs Xcode on macOS and
276
288
  Gradle is a stateful multi-GB build, so the serve plane only mints a scoped Job Service
277
289
  token, creates the Mac-pool job, and polls it. The compute never moves.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1710.0",
3
+ "version": "0.1711.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": [
@@ -81,5 +81,5 @@
81
81
  "artifactId": "himalaya-cli"
82
82
  }
83
83
  },
84
- "falconPackageHash": "c7fb4af8a8070c3153a9da52446ee94e1e57f2ad99514c5ccd90cb71"
84
+ "falconPackageHash": "75ffdc562de143cb5782bbc1791093965c374bde446ab0640072c0d6"
85
85
  }