@wix/himalaya-cli 0.1834.0 → 0.1835.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/{9f06d173a4bf52fc36e50ef0751e9898495d87fa0720d510e35e87f018d2181c.bin → 9258d331cc401dff7b183ce732d49df2e480ea113b52198a4a10790167519c09.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +1812 -1378
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/himi-json-output.md +5 -0
- package/guides/release-notes.md +11 -0
- package/guides/releasing-with-himi-serve.md +3 -2
- package/package.json +2 -2
|
Binary file
|
|
@@ -308,6 +308,11 @@ worker's bundle. These names are stable.
|
|
|
308
308
|
| `app_source_contains_secrets` | Source archiving detected a possible credential. |
|
|
309
309
|
| `app_source_too_large` | The encoded source archive exceeds its limit. |
|
|
310
310
|
| `publish_body_too_large` | The complete publish request exceeds its limit. `bodyBytes` is the plain JSON and `limit` the 8,388,608-byte plain limit, as before. Added: `overageBytes`, `decodedLimit` (33,554,432), `decodedOverageBytes`; when push would gzip the body, `wireBytes`, `wireLimit` and `wireOverageBytes`; and `compressedUpload`, why the gzip upload was not admitted: `decoded_limit_exceeded`, `self_serve_credential`, `credential_unverified` (a static or opaque credential the CLI cannot read as a provisioned token, with no draft broker declaration), `broker_scope_mismatch` (the target's draft broker declares another app, or the push is not a draft) or `wire_limit_exceeded`. `appSourceBytes` and `breakdown` are unchanged. No credential or payload content is included. |
|
|
311
|
+
| `large_assets_unavailable` | The release has a large asset (over the 4 MB inline cap, so it is uploaded before the publish instead of inside its body) and the publishing service has nowhere to keep it: it is not configured with large asset storage. `names` lists the assets, `sha256` the first one. Nothing is published. An operator has to configure large asset storage on the service, or the asset has to be brought under 4 MB. |
|
|
312
|
+
| `large_asset_upload_failed` | A large asset upload did not complete: the service refused the upload request, the upload itself failed (`status`, and a `hint` when the bytes did not match their sha256), or the service could not see the asset afterwards. `sha256` and `names` identify it. Nothing is published. Push again: assets already stored are skipped. A refusal of the login itself keeps the service's own code (`federated_not_allowed`, `insufficient_scope`) instead. |
|
|
313
|
+
| `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. |
|
|
314
|
+
| `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: 2 GB and 64 uploads. `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. |
|
|
315
|
+
| `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. |
|
|
311
316
|
| `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. |
|
|
312
317
|
| `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. |
|
|
313
318
|
| `serve_unreachable` | A partial-push upload could not reach the publishing service. |
|
package/guides/release-notes.md
CHANGED
|
@@ -16,6 +16,17 @@ areas, always in the same order, so you can skim for the one you care about.
|
|
|
16
16
|
|
|
17
17
|
## 2026-11-22
|
|
18
18
|
|
|
19
|
+
### Authoring screens
|
|
20
|
+
|
|
21
|
+
- **A drawer row's badge can follow your worker.** Give a drawer item's badge a `valuePath` (for example
|
|
22
|
+
`"$service:nav.unread"`) and iOS, Android, macOS and the web draw the count your nav worker publishes, exactly
|
|
23
|
+
as a tab badge does: until the value arrives the row shows the badge you declared, a count of 0 or less hides
|
|
24
|
+
it, and a count over 99 draws "99+". (React Native, which is frozen, draws the bound count as the raw number,
|
|
25
|
+
with no dot and no "99+".) A declared count over 99 now draws "99+" on the web too, and the web drawer draws a
|
|
26
|
+
`kind: "dot"` badge, as iOS and Android always did. On Android a static dot badge on a drawer row was invisible;
|
|
27
|
+
it now shows. On macOS a sidebar row that declares a `valuePath` keeps the worker's count rather than a live
|
|
28
|
+
badge pushed for the same id. (#6387)
|
|
29
|
+
|
|
19
30
|
### Preview, push & release
|
|
20
31
|
|
|
21
32
|
- **You can take an app live and build it from a chat, with no CLI.** The hosted connector (the one you add to
|
|
@@ -315,8 +315,9 @@ while screens still name the key they were built with — so bytes published alo
|
|
|
315
315
|
nothing reads them.
|
|
316
316
|
|
|
317
317
|
Caps are enforced at the door (413 `item_too_large`): a screen descriptor 256 KiB, a bundle, an
|
|
318
|
-
asset or the icon 4 MiB, tokens and app-config 64 KiB each, and the manifest 256 KiB as stored
|
|
319
|
-
(label 1 KiB, notes 16 KiB).
|
|
318
|
+
inline asset or the icon 4 MiB, tokens and app-config 64 KiB each, and the manifest 256 KiB as stored
|
|
319
|
+
(label 1 KiB, notes 16 KiB). An asset over 4 MiB is not inlined at all: it is a large asset,
|
|
320
|
+
uploaded before the publish and never part of the body ([app-assets.md](app-assets.md)). The whole body is capped at 8 MiB (413 `payload_too_large`), except a
|
|
320
321
|
whole-release publish, which may be up to 32 MiB: `himi-serve` sends a body over 8 MiB gzipped.
|
|
321
322
|
Any credential gets the 32 MiB cap when the publish names its app on the query
|
|
322
323
|
(`POST /v1/admin/release?app=<app>`), which `himi-serve` does: the plane checks the credential's
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1835.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": "9e5b64ed1ba51ebda88d7664ee739075d0eadb1b0cc443dfb2406e1f"
|
|
86
86
|
}
|