@wix/himalaya-cli 0.1556.0 → 0.1557.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.
@@ -251,6 +251,11 @@ redirects, invalid data, source changes and disk errors remain failures.
251
251
  - `invalid_output_path`: unsafe name, symlinked ancestor or inaccessible output parent
252
252
  (exit 2). Use the real directory path rather than a symlink.
253
253
  - `output_exists`: destination already exists; choose a new name or parent (exit 2).
254
+ - `cli_update_required`: the installed CLI is older than the latest published version
255
+ (exit 1, stage `checking-cli-version`). Update before retrying; no workspace, authentication
256
+ or source collection has started.
257
+ - `cli_version_unverified`: the latest or installed version could not be verified
258
+ (exit 1, stage `checking-cli-version`). Restore registry access and retry before collection.
254
259
  - `auth_unavailable`: a user-scoped Wix token could not be obtained (exit 1).
255
260
  `WIX_API_KEY` is not used by this workflow.
256
261
  - `source_unauthorized` / `source_forbidden`: source rejected the identity or access
@@ -18,6 +18,13 @@ himi one-app migrate --msid <one-app-meta-site-id> \
18
18
  --target bo --json
19
19
  ```
20
20
 
21
+ Before collection, an installed CLI checks the latest published version afresh. An older
22
+ version stops with `cli_update_required`: update with `npm i -g @wix/himalaya-cli@latest`
23
+ and retry. If registry access cannot establish a version, `cli_version_unverified` asks
24
+ you to retry; no workspace or source request has been created. This is stricter than the
25
+ normal self-updater's build-age policy, because a fresh migration needs the current template
26
+ features. Source checkouts and existing explicit version-check opt-outs keep their behavior.
27
+
21
28
  - `--msid` is required. It is the source MetaSite ID, not Structure's document ID.
22
29
  - `--app-instance` accepts `branded` or `free`; default is `branded`. Branded falls
23
30
  back to free only when no Branded configuration exists. Authorization, malformed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1556.0",
3
+ "version": "0.1557.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": [
@@ -71,5 +71,5 @@
71
71
  "artifactId": "himalaya-cli"
72
72
  }
73
73
  },
74
- "falconPackageHash": "23dddd99ae87fea0fd887d35bbd733e1d696ad3f0b28d9c774b360ee"
74
+ "falconPackageHash": "af9ec3d733e930df474d226a826345b720afccbb9190afc75704ab57"
75
75
  }