@wix/himalaya-cli 0.1905.0 → 0.1907.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/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{d51c699d1e0dd51f913a3574db67f930f8b1afc18a64143003ef09b4dcb02c77.bin → f464127b9576c262b40f62561097e8e210ea6cf268ef67eaae167926f4f07ba3.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +444 -204
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/himi-json-output.md +7 -0
- package/guides/splash-screens.md +5 -2
- package/package.json +2 -2
|
Binary file
|
|
@@ -343,6 +343,13 @@ worker's bundle. These names are stable.
|
|
|
343
343
|
| `large_asset_missing` | The publishing service refused the release (409) because it names a large asset whose bytes it does not hold. `missing` lists the logical names. Nothing was written. Push again. |
|
|
344
344
|
| `large_asset_quota_exceeded` | The publishing service refused a large asset upload (429) because the app has used its upload budget for the last 24 hours: 64 uploads, and 2 GB when the service keeps large assets in object storage or 256 MB when it keeps them in its own store (`body.limit` says which applies). A service that keeps them in its own store also charges the uploading account the same budget across all its apps; that refusal carries `body.scope: "account"`. `body.reason` is `over_bytes` or `over_count`, with `body.used` and `body.limit`. `sha256` and `names` identify the asset. Nothing is published. Wait for the window to pass. An asset the service already holds, or one already granted in the window, is not charged again. |
|
|
345
345
|
| `large_asset_tag_failed` | The publishing service refused the release (502) because it could not mark a large asset as published in its storage. `names` lists the assets. Nothing was written, since an unmarked asset would be deleted later. Push again. If it keeps failing, the operator must grant the service's storage key permission to tag objects. |
|
|
346
|
+
| `media_site_invalid` | `--media-site` is not a site's metaSiteId (a uuid). Nothing is uploaded or published. `himi site list` shows each site's id. |
|
|
347
|
+
| `media_site_refused` | Large assets were going to a site's Media Manager (`--media-site`, or the site the app's Wix login names), and no token was granted for that site, or the site refused Media Manager access. `site` names it. Nothing is published. Sign in with an account that manages that site (`wix login`), or pass another `--media-site`. |
|
|
348
|
+
| `media_upload_failed` | A large asset could not be put in the site's Media Manager as a ready, public archive of exactly these bytes. `names` lists the asset and `sha256` its hash. Nothing is published. Push again: a good earlier upload is found and reused. If it keeps failing, check the site's storage quota. |
|
|
349
|
+
| `media_asset_unsupported` | A large asset is not a `.zip`. Media Manager files any other type as that type (a video, an image), not as an archive a release can name, so nothing was uploaded. `names` lists the asset. Pack it in a `.zip`, or keep it under the inline asset cap. Without `--media-site`, such an asset keeps the plane's own `large_assets_unavailable` instead. |
|
|
350
|
+
| `media_asset_missing` | The publishing service refused the release (409) because a Media Manager asset it names does not answer at its public archive URL at the recorded size. It may have been deleted from the site's media. `missing` lists the assets. Push again with `--media-site` to upload it again. |
|
|
351
|
+
| `media_placement_live` | A draft push of the release that is live would move one of its large assets to another Media Manager archive (the earlier file was deleted and uploaded again). Moving what live players download is a live write, so nothing was published. Push again with `--live`. |
|
|
352
|
+
| `invalid_media_asset` | The publishing service refused the release (400) because a media asset record does not name its own site's public archive URL, or has no valid sha256 or size (at most 512 MB). `names` lists the assets. |
|
|
346
353
|
| `compressed_publish_unsupported` | The body went out gzipped and the publishing service would not take it compressed: it predates compressed publish bodies, or it treats the credential as self-serve. Carries `status`, `sentBytes`, and `planeCountedBytes` when the service named it. Nothing was written. |
|
|
347
354
|
| `needs_vpn` | Full-push request to the publishing service could not complete (existing reachability code). This is not proof that VPN is the cause; read the target-aware error. |
|
|
348
355
|
| `serve_unreachable` | A partial-push upload could not reach the publishing service. |
|
package/guides/splash-screens.md
CHANGED
|
@@ -118,12 +118,13 @@ doesn't need to be: the resource *name* is invariant, only its value changes. Ga
|
|
|
118
118
|
a generated resource is never orphaned.
|
|
119
119
|
|
|
120
120
|
**To own the launch screen by hand:** remove the iOS markers and point `android:theme` at your own
|
|
121
|
-
style.
|
|
121
|
+
style. These apps do exactly this and are intentionally excluded:
|
|
122
122
|
|
|
123
123
|
| App | Why |
|
|
124
124
|
|---|---|
|
|
125
125
|
| `himi-branded-lite` | Its launch color comes from a per-customer provisioning contract, not the tokens — [`prepare-customer-build.ts`](../apps/himi-branded-lite/scripts/prepare-customer-build.ts) stays its writer, using the *same shared emitters* so the file formats are one implementation. |
|
|
126
126
|
| `wix-owner-clone`, `wix-spaces-clone` | They reproduce the real Owner/Spaces launch screens via `LaunchScreen.storyboard`. |
|
|
127
|
+
| `nano` (iOS only) | Nano's launch screen is its fade with the logo from the first frame, which a solid `UILaunchScreen` colour cannot draw. Its `LaunchScreen.storyboard` draws the baked `nano_launch_background` and the logo, the same image `splash.backgroundImageAsset` gives the in-app layer, so the handoff paints the same pixels. The image is a 3:1 strip, constant across x, so aspect-fill is exact on any screen narrower than 3:1. Trade-off: an OTA edit of the fade's tokens no longer reaches the iOS or Mac splash; the image is re-baked with them. Android stays generated. |
|
|
127
128
|
|
|
128
129
|
For the storyboard apps this is enforced mechanically: the generator **throws** if `project.yml`
|
|
129
130
|
contains `UILaunchStoryboardName`. `UILaunchScreen`-vs-storyboard precedence is iOS-version-dependent,
|
|
@@ -152,7 +153,9 @@ splash: {
|
|
|
152
153
|
}
|
|
153
154
|
```
|
|
154
155
|
|
|
155
|
-
Background precedence is **image > gradient > colour**.
|
|
156
|
+
Background precedence is **image > gradient > colour**. The image is drawn at once, where a gradient eases in
|
|
157
|
+
over the OS layer's solid colour; an image that does not resolve (an Android drawable that is not baked, a
|
|
158
|
+
web host that cannot load the name) falls back to the gradient or colour. Artwork stays on the binary floor —
|
|
156
159
|
`logoAsset` / `backgroundImageAsset` name a baked asset (the `NavTabItem.imageAsset` pattern),
|
|
157
160
|
so a new image needs a release; only the composition travels OTA. Same rule as
|
|
158
161
|
[RFC 0021](../core/schema/RFC/0021-design-kits.md) design kits.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1907.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": "1242d3c8f0b7309c6670fa4542403bef2e782ffc0e34eaf6f039ad24"
|
|
86
86
|
}
|