@wix/himalaya-cli 0.1833.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.
Binary file
@@ -216,7 +216,7 @@
216
216
  ]
217
217
  }
218
218
  ],
219
- "propsSource": "export interface TextFieldProps {\n placeholder?: string;\n /** LITERAL initial text. Renderers paint it verbatim — a `$service:` sentinel\n * here shows the raw token to the user. Bind `valuePath` instead. */\n value?: string;\n /** `$service:`/`$item.` binding → live text from the worker (overrides `value`).\n * Adopted while the field is NOT focused; an empty worker value (a draft reset\n * after send/post/submit) is adopted even mid-focus, so a cleared draft empties\n * the field without the worker ever fighting the caret. */\n valuePath?: string;\n onChange?: Action;\n /** Text input enrichments. */\n keyboard?: Keyboard;\n secure?: boolean;\n multilineMaxLines?: number;\n maxLength?: number;\n autoCapitalization?: AutoCapitalization;\n onSubmit?: Action;\n /** Keyboard control. `suggestions: \"off\"` kills autocorrect + the suggestion\n * strip. `submitLabel` paints the return key and, with `onSubmit`, fires it —\n * submitting dismisses the keyboard except for `\"next\"`, which keeps it up so\n * a worker can move focus on. */\n suggestions?: Suggestions;\n submitLabel?: SubmitLabel;\n /** `$service:` binding → a TOKEN the worker changes to focus this field. Focus\n * is requested whenever the resolved value becomes a new NON-EMPTY value\n * (the first seed included, so a non-empty init focuses on open). Use a\n * monotonic nonce — `String(Date.now())` — since a latched boolean cannot\n * re-fire. Blur is the keyboard-dismiss capability, not a token here. */\n focusPath?: string;\n /** Accessory & state enrichments. */\n leadingIcon?: IconRef;\n trailingIcon?: IconRef;\n clearButton?: boolean;\n helperText?: string;\n error?: boolean;\n prefix?: string;\n suffix?: string;\n /** Drop the default rounded-border chrome so a caller background shows (composer pill). */\n borderless?: boolean;\n /** Declarative syntactic rules the RENDERER evaluates, so they hold with no\n * worker running (Tier 0-4) and with no bridge round-trip. Before this,\n * validation was reachable only by wrapping the field in `Form` -> `FormField`\n * - the shape the design guide steers you away from for hero flows. */\n validation?: Validation;\n /** `$service:`/`$item.` binding -> a worker-computed error string. Non-empty =\n * invalid. This is how SEMANTIC and CROSS-FIELD errors (\"passwords don't\n * match\", \"email taken\") reach the same error slot, with the same styling and\n * a11y wiring, as the declarative ones. Wins over `validation.message`. */\n errorPath?: string;\n /** LITERAL error string for a server-rendered screen with no worker to bind.\n * Lower precedence than `errorPath`, higher than the rules. */\n errorText?: string;\n /** Opt-in accessible show/hide button. Only applies to secure fields; initially masked. */\n visibilityToggle?: boolean;\n /** `onChange` fires after this many ms of idle typing. 0 or unset = every change.\n * A submit fires a pending debounced `onChange` first. */\n debounceMs?: number;\n /** The border drawn WHILE the field is focused (width +\n * colour token). Unset = today's static border in both states; not focused =\n * today's border (none when `borderless`). An error state wins over focus. */\n focusedBorder?: Border;\n}"
219
+ "propsSource": "export interface TextFieldProps {\n placeholder?: string;\n /** LITERAL initial text. Renderers paint it verbatim — a `$service:` sentinel\n * here shows the raw token to the user. Bind `valuePath` instead. */\n value?: string;\n /** `$service:`/`$item.` binding → live text from the worker (overrides `value`).\n * Adopted while the field is NOT focused; an empty worker value (a draft reset\n * after send/post/submit) is adopted even mid-focus, so a cleared draft empties\n * the field without the worker ever fighting the caret. */\n valuePath?: string;\n onChange?: Action;\n /** Text input enrichments. */\n keyboard?: Keyboard;\n secure?: boolean;\n multilineMaxLines?: number;\n maxLength?: number;\n autoCapitalization?: AutoCapitalization;\n onSubmit?: Action;\n /** Keyboard control. `suggestions: \"off\"` kills autocorrect + the suggestion\n * strip. `submitLabel` paints the return key and, with `onSubmit`, fires it —\n * submitting dismisses the keyboard except for `\"next\"`, which keeps it up so\n * a worker can move focus on. */\n suggestions?: Suggestions;\n submitLabel?: SubmitLabel;\n /** `$service:` binding → a TOKEN the worker changes to focus this field. Focus\n * is requested whenever the resolved value becomes a new NON-EMPTY value\n * (the first seed included, so a non-empty init focuses on open). Use a\n * monotonic nonce — `String(Date.now())` — since a latched boolean cannot\n * re-fire. Blur is the keyboard-dismiss capability, not a token here. */\n focusPath?: string;\n /** Accessory & state enrichments. */\n leadingIcon?: IconRef;\n trailingIcon?: IconRef;\n clearButton?: boolean;\n helperText?: string;\n error?: boolean;\n prefix?: string;\n suffix?: string;\n /** Drop the default rounded-border chrome so a caller background shows (composer pill). */\n borderless?: boolean;\n /** Declarative syntactic rules the RENDERER evaluates, so they hold with no\n * worker running (Tier 0-4) and with no bridge round-trip. Before this,\n * validation was reachable only by wrapping the field in `Form` -> `FormField`\n * - the shape the design guide steers you away from for hero flows. */\n validation?: Validation;\n /** `$service:`/`$item.` binding -> a worker-computed error string. Non-empty =\n * invalid. This is how SEMANTIC and CROSS-FIELD errors (\"passwords don't\n * match\", \"email taken\") reach the same error slot, with the same styling and\n * a11y wiring, as the declarative ones. Wins over `validation.message`. */\n errorPath?: string;\n /** LITERAL error string for a server-rendered screen with no worker to bind.\n * Lower precedence than `errorPath`, higher than the rules. */\n errorText?: string;\n /** Opt-in accessible show/hide button. Only applies to secure fields; initially masked. */\n visibilityToggle?: boolean;\n /** `onChange` fires after this many ms of idle typing. 0 or unset = every change.\n * A submit fires a pending debounced `onChange` first. */\n debounceMs?: number;\n /** The border drawn WHILE the field is focused (width +\n * colour token). Unset = today's static border in both states; not focused =\n * today's border (none when `borderless`). An error state wins over focus. */\n focusedBorder?: Border;\n /** What the field holds, so password managers can offer and save credentials:\n * \"username\" | \"email\" | \"password\" | \"new_password\" | \"one_time_code\".\n * Unknown / unset = no hint. iOS/macOS `.textContentType`, Android autofill hint,\n * web `autocomplete`. */\n contentType?: \"username\" | \"email\" | \"password\" | \"new_password\" | \"one_time_code\";\n}"
220
220
  },
221
221
  {
222
222
  "name": "Toggle",
@@ -694,6 +694,11 @@ export interface TextFieldProps {
694
694
  * colour token). Unset = today's static border in both states; not focused =
695
695
  * today's border (none when `borderless`). An error state wins over focus. */
696
696
  focusedBorder?: Border;
697
+ /** What the field holds, so password managers can offer and save credentials:
698
+ * "username" | "email" | "password" | "new_password" | "one_time_code".
699
+ * Unknown / unset = no hint. iOS/macOS `.textContentType`, Android autofill hint,
700
+ * web `autocomplete`. */
701
+ contentType?: "username" | "email" | "password" | "new_password" | "one_time_code";
697
702
  }
698
703
  ```
699
704
 
@@ -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. |
@@ -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). The whole body is capped at 8 MiB (413 `payload_too_large`), except a
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.1833.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": "55483e957b91ec36cc3481eb440a042ffd6d8e7747e4c372924f5162"
85
+ "falconPackageHash": "9e5b64ed1ba51ebda88d7664ee739075d0eadb1b0cc443dfb2406e1f"
86
86
  }
@@ -8537,6 +8537,7 @@ const SCREENS = runtimeSetting({
8537
8537
  "props": {
8538
8538
  "placeholder": "Email",
8539
8539
  "keyboard": "email",
8540
+ "contentType": "username",
8540
8541
  "validation": {
8541
8542
  "required": true,
8542
8543
  "type": "email",
@@ -8564,6 +8565,7 @@ const SCREENS = runtimeSetting({
8564
8565
  "placeholder": "Password",
8565
8566
  "secure": true,
8566
8567
  "visibilityToggle": true,
8568
+ "contentType": "password",
8567
8569
  "validation": {
8568
8570
  "required": true,
8569
8571
  "mode": "on_blur",
@@ -10036,6 +10036,7 @@ const SCREENS = runtimeSetting({
10036
10036
  "props": {
10037
10037
  "placeholder": "Email",
10038
10038
  "keyboard": "email",
10039
+ "contentType": "username",
10039
10040
  "validation": {
10040
10041
  "required": true,
10041
10042
  "type": "email",
@@ -10063,6 +10064,7 @@ const SCREENS = runtimeSetting({
10063
10064
  "placeholder": "Password",
10064
10065
  "secure": true,
10065
10066
  "visibilityToggle": true,
10067
+ "contentType": "password",
10066
10068
  "validation": {
10067
10069
  "required": true,
10068
10070
  "mode": "on_blur",
@@ -7673,6 +7673,7 @@ const SCREENS = runtimeSetting({
7673
7673
  "props": {
7674
7674
  "placeholder": "Email",
7675
7675
  "keyboard": "email",
7676
+ "contentType": "username",
7676
7677
  "validation": {
7677
7678
  "required": true,
7678
7679
  "type": "email",
@@ -7700,6 +7701,7 @@ const SCREENS = runtimeSetting({
7700
7701
  "placeholder": "Password",
7701
7702
  "secure": true,
7702
7703
  "visibilityToggle": true,
7704
+ "contentType": "password",
7703
7705
  "validation": {
7704
7706
  "required": true,
7705
7707
  "mode": "on_blur",
@@ -7857,6 +7857,7 @@ const SCREENS = runtimeSetting({
7857
7857
  "props": {
7858
7858
  "placeholder": "Email",
7859
7859
  "keyboard": "email",
7860
+ "contentType": "username",
7860
7861
  "validation": {
7861
7862
  "required": true,
7862
7863
  "type": "email",
@@ -7884,6 +7885,7 @@ const SCREENS = runtimeSetting({
7884
7885
  "placeholder": "Password",
7885
7886
  "secure": true,
7886
7887
  "visibilityToggle": true,
7888
+ "contentType": "password",
7887
7889
  "validation": {
7888
7890
  "required": true,
7889
7891
  "mode": "on_blur",
@@ -8707,6 +8707,7 @@ const SCREENS = runtimeSetting({
8707
8707
  "props": {
8708
8708
  "placeholder": "Email",
8709
8709
  "keyboard": "email",
8710
+ "contentType": "username",
8710
8711
  "validation": {
8711
8712
  "required": true,
8712
8713
  "type": "email",
@@ -8734,6 +8735,7 @@ const SCREENS = runtimeSetting({
8734
8735
  "placeholder": "Password",
8735
8736
  "secure": true,
8736
8737
  "visibilityToggle": true,
8738
+ "contentType": "password",
8737
8739
  "validation": {
8738
8740
  "required": true,
8739
8741
  "mode": "on_blur",
@@ -7956,6 +7956,7 @@ const SCREENS = runtimeSetting({
7956
7956
  "props": {
7957
7957
  "placeholder": "Email",
7958
7958
  "keyboard": "email",
7959
+ "contentType": "username",
7959
7960
  "validation": {
7960
7961
  "required": true,
7961
7962
  "type": "email",
@@ -7983,6 +7984,7 @@ const SCREENS = runtimeSetting({
7983
7984
  "placeholder": "Password",
7984
7985
  "secure": true,
7985
7986
  "visibilityToggle": true,
7987
+ "contentType": "password",
7986
7988
  "validation": {
7987
7989
  "required": true,
7988
7990
  "mode": "on_blur",
@@ -10470,6 +10470,7 @@ const SCREENS = runtimeSetting({
10470
10470
  "props": {
10471
10471
  "placeholder": "Email",
10472
10472
  "keyboard": "email",
10473
+ "contentType": "username",
10473
10474
  "validation": {
10474
10475
  "required": true,
10475
10476
  "type": "email",
@@ -10497,6 +10498,7 @@ const SCREENS = runtimeSetting({
10497
10498
  "placeholder": "Password",
10498
10499
  "secure": true,
10499
10500
  "visibilityToggle": true,
10501
+ "contentType": "password",
10500
10502
  "validation": {
10501
10503
  "required": true,
10502
10504
  "mode": "on_blur",
@@ -7894,6 +7894,7 @@ const SCREENS = runtimeSetting({
7894
7894
  "props": {
7895
7895
  "placeholder": "Email",
7896
7896
  "keyboard": "email",
7897
+ "contentType": "username",
7897
7898
  "validation": {
7898
7899
  "required": true,
7899
7900
  "type": "email",
@@ -7921,6 +7922,7 @@ const SCREENS = runtimeSetting({
7921
7922
  "placeholder": "Password",
7922
7923
  "secure": true,
7923
7924
  "visibilityToggle": true,
7925
+ "contentType": "password",
7924
7926
  "validation": {
7925
7927
  "required": true,
7926
7928
  "mode": "on_blur",
@@ -8011,6 +8011,7 @@ const SCREENS = runtimeSetting({
8011
8011
  "props": {
8012
8012
  "placeholder": "Email",
8013
8013
  "keyboard": "email",
8014
+ "contentType": "username",
8014
8015
  "validation": {
8015
8016
  "required": true,
8016
8017
  "type": "email",
@@ -8038,6 +8039,7 @@ const SCREENS = runtimeSetting({
8038
8039
  "placeholder": "Password",
8039
8040
  "secure": true,
8040
8041
  "visibilityToggle": true,
8042
+ "contentType": "password",
8041
8043
  "validation": {
8042
8044
  "required": true,
8043
8045
  "mode": "on_blur",
@@ -7903,6 +7903,7 @@ const SCREENS = runtimeSetting({
7903
7903
  "props": {
7904
7904
  "placeholder": "Email",
7905
7905
  "keyboard": "email",
7906
+ "contentType": "username",
7906
7907
  "validation": {
7907
7908
  "required": true,
7908
7909
  "type": "email",
@@ -7930,6 +7931,7 @@ const SCREENS = runtimeSetting({
7930
7931
  "placeholder": "Password",
7931
7932
  "secure": true,
7932
7933
  "visibilityToggle": true,
7934
+ "contentType": "password",
7933
7935
  "validation": {
7934
7936
  "required": true,
7935
7937
  "mode": "on_blur",
@@ -7480,6 +7480,7 @@ const SCREENS = runtimeSetting({
7480
7480
  "props": {
7481
7481
  "placeholder": "Email",
7482
7482
  "keyboard": "email",
7483
+ "contentType": "username",
7483
7484
  "validation": {
7484
7485
  "required": true,
7485
7486
  "type": "email",
@@ -7507,6 +7508,7 @@ const SCREENS = runtimeSetting({
7507
7508
  "placeholder": "Password",
7508
7509
  "secure": true,
7509
7510
  "visibilityToggle": true,
7511
+ "contentType": "password",
7510
7512
  "validation": {
7511
7513
  "required": true,
7512
7514
  "mode": "on_blur",
@@ -8498,6 +8498,7 @@ const SCREENS = runtimeSetting({
8498
8498
  "props": {
8499
8499
  "placeholder": "Email",
8500
8500
  "keyboard": "email",
8501
+ "contentType": "username",
8501
8502
  "validation": {
8502
8503
  "required": true,
8503
8504
  "type": "email",
@@ -8525,6 +8526,7 @@ const SCREENS = runtimeSetting({
8525
8526
  "placeholder": "Password",
8526
8527
  "secure": true,
8527
8528
  "visibilityToggle": true,
8529
+ "contentType": "password",
8528
8530
  "validation": {
8529
8531
  "required": true,
8530
8532
  "mode": "on_blur",