@wix/himalaya-cli 0.1743.0 → 0.1744.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
@@ -80,9 +80,9 @@ Do not use the commands below to jump straight into a template when a customer h
80
80
  approved their plan. The customer entry skill produces approved `SPEC.md` and `MOBILE-UX.md`,
81
81
  then sends you here to choose a template, implement, validate, and prepare an owner-private draft
82
82
  preview. For Wix Headless / Back Office work without a public site, use the approved plan's role/data
83
- matrix and read `himi docs headless-business-to-himi-app` **only if it appears in `himi docs`**;
84
- for a published site, read `himi docs wix-site-to-himi-app` only after permission to inspect live data
85
- and only if that topic is installed. A missing embedded guide is a tooling-version fact, never a reason
83
+ matrix and read the `headless-business-to-himi-app` guide (its installed skill, or `himi docs headless-business-to-himi-app`) **only if one of
84
+ those exists**; for a published site, read the `wix-site-to-himi-app` guide (its installed skill, or `himi docs wix-site-to-himi-app`) only after
85
+ permission to inspect live data and only if that topic is installed. A missing embedded guide is a tooling-version fact, never a reason
86
86
  to guess the customer's data model.
87
87
 
88
88
  ## Two ways to begin
@@ -174,7 +174,7 @@ requirement for names/grouping.
174
174
  site — store/bookings/events/blog/cart/CMS, wired to `@himalaya/wix-*` + a visitor session)
175
175
  or `--template owner-lite` (owner CRUD/management: lists, details, forms). That reference is
176
176
  **dozens of screens** in one megabytes-long `dev/index.ts` of raw descriptors. Keep its
177
- worker layer — trim it or mine it (`himi docs trim-a-template`): **trim** to the approved
177
+ worker layer — trim it or mine it (the `trim-a-template` guide (its installed skill, or `himi docs trim-a-template`)): **trim** to the approved
178
178
  `SPEC.md` when most of its screens fit, or **mine** it when few do — keep the
179
179
  `tier5-src/_shared/` helpers and Wix worker chains and write your own screens. Do not delete
180
180
  `tier5-src/` + `dev/` and start from blank. Never read that file whole: `himi template screens`
@@ -189,12 +189,12 @@ dir>` when there is a site, and the site's business analysis as `--context`, nev
189
189
  list --remote` shows the full catalog (title/description/tags) — including templates published
190
190
  to Wix — and `--remote` on `himi init` fetches one from there (the bundled copy is
191
191
  the offline fallback). Publish any app of your own as a template with `himi template publish` —
192
- see `himi docs templates`.
192
+ see the `templates` guide (its installed skill, or `himi docs templates`).
193
193
 
194
194
  For an existing Base44 app, use `himi init my-app --template base44-starter --base44-app-id <id>`
195
195
  after the owner pass of `himi base44 analyze`. The app ID is public and comes from the Base44
196
196
  editor URL; the owner's `himi base44 login` session is only for analysis and is never shipped.
197
- Read `himi docs base44-app-to-himi-app` for the screen workflow and use the `base44` shell for
197
+ Read the `base44-app-to-himi-app` guide (its installed skill, or `himi docs base44-app-to-himi-app`) for the screen workflow and use the `base44` shell for
198
198
  native distribution. Check which Base44 sign-in providers the app requires before promising
199
199
  native sign-in; Himi supports Google (with the tenant callback host's app-link association files
200
200
  configured), email/password and emailed codes.
@@ -208,7 +208,7 @@ when consent is **synthetic/local-only** and you need something that cannot auto
208
208
  preflight below); or when you are **learning the wiring** and want one screen and one worker with
209
209
  nothing else in the file. The recipes below are written for exactly these cases. What blank is
210
210
  NOT good for is a real customer app whose shape a published template already has — trimming or
211
- mining that template (`himi docs trim-a-template`) beats rebuilding its Wix wiring from scratch.
211
+ mining that template (the `trim-a-template` guide (its installed skill, or `himi docs trim-a-template`)) beats rebuilding its Wix wiring from scratch.
212
212
 
213
213
  **A template is a SHOWCASE APP, so look at it before you pick it.** Each one is a real published
214
214
  release running on the plane: `GET /v1/templates.md` gives every row a `preview/a/<id>` URL that
@@ -272,7 +272,7 @@ product. Right after `init`:
272
272
  (`.himi/himi-test.stub.json` has a skeleton per form: fill the values and expected text)
273
273
  (`--deep` replays action chains but never types a field value), then prove the destination
274
274
  and cancel/back recovery separately. For device-local records, add explicit `coldVisits`
275
- assertions from `himi docs himi-test` so another cold worker must read the same saved record.
275
+ assertions from the `himi-test` guide (its installed skill, or `himi docs himi-test`) so another cold worker must read the same saved record.
276
276
  Cold visits do not drive navigation or prove warm repaint/relaunch: drive those in the UI. A fresh-screen crawl alone
277
277
  does not prove a flow.
278
278
 
@@ -313,10 +313,10 @@ updates a manifest, it does not create one, and it refuses the committed branded
313
313
 
314
314
  It creates a **real, billable** site on the signed-in Wix account and is not cleanly reversible,
315
315
  which is why `--yes` is mandatory: get the customer's explicit go-ahead first. Full procedure,
316
- including the Catalog-V3 and inherited-locale traps: `himi docs creating-wix-sites`.
316
+ including the Catalog-V3 and inherited-locale traps: the `creating-wix-sites` guide (its installed skill, or `himi docs creating-wix-sites`).
317
317
 
318
318
  If the user has a **published Wix site** (URL + Headless `clientId`), **stop following the
319
- counter recipe.** Read `himi docs wix-site-to-himi-app` and follow it end to end: analyze
319
+ counter recipe.** Read the `wix-site-to-himi-app` guide (its installed skill, or `himi docs wix-site-to-himi-app`) and follow it end to end: analyze
320
320
  (`himi site analyze`) → screen plan (words from `book.copy`, not stock phrases) →
321
321
  `himi init --template <overlay>` → bind
322
322
  `WIX_CLIENT_ID` / `WIX_SITE_URL` → rewrite verticals / CMS / Velo / forms / pages as
@@ -328,13 +328,13 @@ and judge the look yourself**: pick the kit from the character you see there, ta
328
328
  a colour actually present (a scraped theme value, or the logo in `<out>/media/`) rather than
329
329
  inventing one, treat a near-white/cream value as a surface, and verify BOTH colour schemes — the
330
330
  mapper writes the site's light colour into the dark arm too, so dark mode is where it fails first.
331
- To create/publish/invoke the site's Velo HTTP functions, `himi docs wix-site-http-functions`
332
- and `himi site function` (not analyze, and not `himi functions`).
331
+ To create/publish/invoke the site's Velo HTTP functions, read the `wix-site-http-functions` guide (its installed skill, or `himi docs wix-site-http-functions`)
332
+ and use `himi site function` (not analyze, and not `himi functions`).
333
333
 
334
334
  **Selling digital items** (programs, products, plans the owner registered with `himi store iap`)?
335
335
  Any screen that shows such an item's price — a template screen or one you write — gets its App
336
336
  Store price and payment route from the shared `createIapCatalogPricing` in `@himalaya/iap`:
337
- read `himi docs iap-pricing` before writing the worker. A screen that sells the item composes
337
+ read the `iap-pricing` guide (its installed skill, or `himi docs iap-pricing`) before writing the worker. A screen that sells the item composes
338
338
  `createIapCommerce` from `@himalaya/iap-checkout` and binds Buy now with
339
339
  `commerce.purchaseFields`, never StoreKit or the payment client directly. Starting from a template does
340
340
  not cover your own screens; each screen opts in explicitly.
@@ -348,7 +348,7 @@ export WIX_SITE_URL="https://your-site.wixsite.com/…"
348
348
  ```
349
349
 
350
350
  The Headless `clientId` is the site binding (no separate MSID flag). Details:
351
- `himi docs branded-lite-site-binding`.
351
+ the `branded-lite-site-binding` guide (its installed skill, or `himi docs branded-lite-site-binding`).
352
352
 
353
353
  A screen is a **layout** (a tree of native components) plus an optional **worker** —
354
354
  `defineService(name, { state, actions })` — wired together with bindings like `$service:<service>.<path>`,
@@ -360,19 +360,19 @@ about the syntax yet:
360
360
  copy the `examples/counter.*` pair (in `.agents/skills/himalaya/examples/`, which `himi init` and `himi agent-init` write; it shows the wiring), study
361
361
  `examples/stocks-dashboard.descriptor.json` to see a well-composed real screen; then start
362
362
  from the recipe that matches your screen — each ships as a doc + a runnable example pair:
363
- a data-backed list `examples/dynamic-list.*` (`himi docs recipe-dynamic-list`, incl.
363
+ a data-backed list `examples/dynamic-list.*` (the `recipe-dynamic-list` guide (its installed skill, or `himi docs recipe-dynamic-list`), incl.
364
364
  pull-to-refresh + load-more), a create/edit form `examples/form-submit.*`
365
- (`himi docs recipe-form-submit`), a searchable list `examples/search-list.*`
366
- (`himi docs recipe-search`), a first-run onboarding card `examples/onboarding.*`
367
- (`himi docs recipe-onboarding`), a sign-in/register screen and a membership paywall
368
- (`himi docs recipe-auth`, `himi docs recipe-checkout` — premade `authScreen`/`checkoutScreen` from
365
+ (the `recipe-form-submit` guide (its installed skill, or `himi docs recipe-form-submit`)), a searchable list `examples/search-list.*`
366
+ (the `recipe-search` guide (its installed skill, or `himi docs recipe-search`)), a first-run onboarding card `examples/onboarding.*`
367
+ (the `recipe-onboarding` guide (its installed skill, or `himi docs recipe-onboarding`)), a sign-in/register screen and a membership paywall
368
+ (the `recipe-auth` guide (its installed skill, or `himi docs recipe-auth`), the `recipe-checkout` guide (its installed skill, or `himi docs recipe-checkout`) — premade `authScreen`/`checkoutScreen` from
369
369
  `@wix/himalaya/screens`; use these instead of calling `@himalaya/wix-platform` `auth.signIn()` from a worker),
370
370
  and the loading/empty/error/ready idiom they all share
371
- (`himi docs recipe-four-state` — every recipe that loads or writes data shows a loading state,
371
+ (the `recipe-four-state` guide (its installed skill, or `himi docs recipe-four-state`) — every recipe that loads or writes data shows a loading state,
372
372
  a classified error state and a recovery action where the user can fix the failure). Then — **before you
373
- design** — read the UX guide (`himi docs designing-himi-screens`: its phone rules and product
374
- screen shapes), the platform guides (`himi docs ios-ux`, `himi docs android-ux`) and, for a
375
- multi-screen app, the mobile contract guide (`himi docs mobile-ux`), then follow
373
+ design** — read the `designing-himi-screens` guide (its installed skill, or `himi docs designing-himi-screens`) for its phone rules and product
374
+ screen shapes, the `ios-ux` guide (its installed skill, or `himi docs ios-ux`) and the `android-ux` guide (its installed skill, or `himi docs android-ux`) for each platform, and, for a
375
+ multi-screen app, the mobile contract in the `mobile-ux` guide (its installed skill, or `himi docs mobile-ux`); then follow
376
376
  *Author a Tier-5 screen*. Judge each screen with
377
377
  `himi render <screenId> --platform ios --device iphone` and `--platform android --device pixel`,
378
378
  which draw the status bar, the navigation bar and the tab bar, and fix every `himi validate`
@@ -419,7 +419,7 @@ the complete decision order and examples.
419
419
  (a QA binary — see *Shipping* below), which you rarely need. Authenticate once with
420
420
  **`himi login --browser`**: it signs you in with your own Wix account and stores a scoped
421
421
  token, so nothing is ever hand-pasted. (On a server or in CI, `--wix` presents a Wix account
422
- API key from `WIX_API_KEY` instead — no browser, no Wix CLI; see `himi docs headless-loop`.
422
+ API key from `WIX_API_KEY` instead — no browser, no Wix CLI; see the `headless-loop` guide (its installed skill, or `himi docs headless-loop`).
423
423
  Wix employees can use `--dpx`.)
424
424
  Everything up to the push runs locally.
425
425
 
@@ -464,9 +464,9 @@ Continue building and publishing app content. For a customer push test, use the
464
464
  The default Wix-managed binary does not match the customer's Apple identity. After an uncertain
465
465
  setup response, inspect status before retrying; the CLI does not automatically repeat provisioning.
466
466
 
467
- Full inputs, script flags and status meanings: `himi docs push-cli-onboarding`
468
- (https://apps.wix.com/_api/himi-serve/docs/push-cli-onboarding.md). The guide is bundled with the public npm package
469
- and is also served at that public URL. No repository access is required. This is notification setup; `himi push` publishes
467
+ Full inputs, script flags and status meanings: the `push-cli-onboarding` guide (its installed skill, or `himi docs push-cli-onboarding`),
468
+ also at https://apps.wix.com/_api/himi-serve/docs/push-cli-onboarding.md. The guide is bundled with the public npm package.
469
+ No repository access is required. This is notification setup; `himi push` publishes
470
470
  app content.
471
471
 
472
472
  Once status is ready and a member's device has registered, send that member a test through Ping
@@ -544,7 +544,7 @@ loudly if it carries none; `debug` is the old per-machine key, where QA must uni
544
544
  the concrete id it chose. A build takes roughly **4 minutes** (iOS) or **3.5** (Android), and the
545
545
  pool parallelises, so dispatching many at once costs about the same as dispatching one.
546
546
 
547
- Full pipeline, signing constraints and how to read a failure: `himi docs qa-builds`.
547
+ Full pipeline, signing constraints and how to read a failure: the `qa-builds` guide (its installed skill, or `himi docs qa-builds`).
548
548
 
549
549
  ## Bootstrap a coding agent
550
550
 
@@ -103,9 +103,9 @@ Do not use the commands below to jump straight into a template when a customer h
103
103
  approved their plan. The customer entry skill produces approved `SPEC.md` and `MOBILE-UX.md`,
104
104
  then sends you here to choose a template, implement, validate, and prepare an owner-private draft
105
105
  preview. For Wix Headless / Back Office work without a public site, use the approved plan's role/data
106
- matrix and read `himi docs headless-business-to-himi-app` **only if it appears in `himi docs`**;
107
- for a published site, read `himi docs wix-site-to-himi-app` only after permission to inspect live data
108
- and only if that topic is installed. A missing embedded guide is a tooling-version fact, never a reason
106
+ matrix and read the `headless-business-to-himi-app` guide (its installed skill, or `himi docs headless-business-to-himi-app`) **only if one of
107
+ those exists**; for a published site, read the `wix-site-to-himi-app` guide (its installed skill, or `himi docs wix-site-to-himi-app`) only after
108
+ permission to inspect live data and only if that topic is installed. A missing embedded guide is a tooling-version fact, never a reason
109
109
  to guess the customer's data model.
110
110
 
111
111
  ## Two ways to begin
@@ -197,7 +197,7 @@ requirement for names/grouping.
197
197
  site — store/bookings/events/blog/cart/CMS, wired to `@himalaya/wix-*` + a visitor session)
198
198
  or `--template owner-lite` (owner CRUD/management: lists, details, forms). That reference is
199
199
  **dozens of screens** in one megabytes-long `dev/index.ts` of raw descriptors. Keep its
200
- worker layer — trim it or mine it (`himi docs trim-a-template`): **trim** to the approved
200
+ worker layer — trim it or mine it (the `trim-a-template` guide (its installed skill, or `himi docs trim-a-template`)): **trim** to the approved
201
201
  `SPEC.md` when most of its screens fit, or **mine** it when few do — keep the
202
202
  `tier5-src/_shared/` helpers and Wix worker chains and write your own screens. Do not delete
203
203
  `tier5-src/` + `dev/` and start from blank. Never read that file whole: `himi template screens`
@@ -212,12 +212,12 @@ dir>` when there is a site, and the site's business analysis as `--context`, nev
212
212
  list --remote` shows the full catalog (title/description/tags) — including templates published
213
213
  to Wix — and `--remote` on `himi init` fetches one from there (the bundled copy is
214
214
  the offline fallback). Publish any app of your own as a template with `himi template publish` —
215
- see `himi docs templates`.
215
+ see the `templates` guide (its installed skill, or `himi docs templates`).
216
216
 
217
217
  For an existing Base44 app, use `himi init my-app --template base44-starter --base44-app-id <id>`
218
218
  after the owner pass of `himi base44 analyze`. The app ID is public and comes from the Base44
219
219
  editor URL; the owner's `himi base44 login` session is only for analysis and is never shipped.
220
- Read `himi docs base44-app-to-himi-app` for the screen workflow and use the `base44` shell for
220
+ Read the `base44-app-to-himi-app` guide (its installed skill, or `himi docs base44-app-to-himi-app`) for the screen workflow and use the `base44` shell for
221
221
  native distribution. Check which Base44 sign-in providers the app requires before promising
222
222
  native sign-in; Himi supports Google (with the tenant callback host's app-link association files
223
223
  configured), email/password and emailed codes.
@@ -231,7 +231,7 @@ when consent is **synthetic/local-only** and you need something that cannot auto
231
231
  preflight below); or when you are **learning the wiring** and want one screen and one worker with
232
232
  nothing else in the file. The recipes below are written for exactly these cases. What blank is
233
233
  NOT good for is a real customer app whose shape a published template already has — trimming or
234
- mining that template (`himi docs trim-a-template`) beats rebuilding its Wix wiring from scratch.
234
+ mining that template (the `trim-a-template` guide (its installed skill, or `himi docs trim-a-template`)) beats rebuilding its Wix wiring from scratch.
235
235
 
236
236
  **A template is a SHOWCASE APP, so look at it before you pick it.** Each one is a real published
237
237
  release running on the plane: `GET /v1/templates.md` gives every row a `preview/a/<id>` URL that
@@ -295,7 +295,7 @@ product. Right after `init`:
295
295
  (`.himi/himi-test.stub.json` has a skeleton per form: fill the values and expected text)
296
296
  (`--deep` replays action chains but never types a field value), then prove the destination
297
297
  and cancel/back recovery separately. For device-local records, add explicit `coldVisits`
298
- assertions from `himi docs himi-test` so another cold worker must read the same saved record.
298
+ assertions from the `himi-test` guide (its installed skill, or `himi docs himi-test`) so another cold worker must read the same saved record.
299
299
  Cold visits do not drive navigation or prove warm repaint/relaunch: drive those in the UI. A fresh-screen crawl alone
300
300
  does not prove a flow.
301
301
 
@@ -336,10 +336,10 @@ updates a manifest, it does not create one, and it refuses the committed branded
336
336
 
337
337
  It creates a **real, billable** site on the signed-in Wix account and is not cleanly reversible,
338
338
  which is why `--yes` is mandatory: get the customer's explicit go-ahead first. Full procedure,
339
- including the Catalog-V3 and inherited-locale traps: `himi docs creating-wix-sites`.
339
+ including the Catalog-V3 and inherited-locale traps: the `creating-wix-sites` guide (its installed skill, or `himi docs creating-wix-sites`).
340
340
 
341
341
  If the user has a **published Wix site** (URL + Headless `clientId`), **stop following the
342
- counter recipe.** Read `himi docs wix-site-to-himi-app` and follow it end to end: analyze
342
+ counter recipe.** Read the `wix-site-to-himi-app` guide (its installed skill, or `himi docs wix-site-to-himi-app`) and follow it end to end: analyze
343
343
  (`himi site analyze`) → screen plan (words from `book.copy`, not stock phrases) →
344
344
  `himi init --template <overlay>` → bind
345
345
  `WIX_CLIENT_ID` / `WIX_SITE_URL` → rewrite verticals / CMS / Velo / forms / pages as
@@ -351,13 +351,13 @@ and judge the look yourself**: pick the kit from the character you see there, ta
351
351
  a colour actually present (a scraped theme value, or the logo in `<out>/media/`) rather than
352
352
  inventing one, treat a near-white/cream value as a surface, and verify BOTH colour schemes — the
353
353
  mapper writes the site's light colour into the dark arm too, so dark mode is where it fails first.
354
- To create/publish/invoke the site's Velo HTTP functions, `himi docs wix-site-http-functions`
355
- and `himi site function` (not analyze, and not `himi functions`).
354
+ To create/publish/invoke the site's Velo HTTP functions, read the `wix-site-http-functions` guide (its installed skill, or `himi docs wix-site-http-functions`)
355
+ and use `himi site function` (not analyze, and not `himi functions`).
356
356
 
357
357
  **Selling digital items** (programs, products, plans the owner registered with `himi store iap`)?
358
358
  Any screen that shows such an item's price — a template screen or one you write — gets its App
359
359
  Store price and payment route from the shared `createIapCatalogPricing` in `@himalaya/iap`:
360
- read `himi docs iap-pricing` before writing the worker. A screen that sells the item composes
360
+ read the `iap-pricing` guide (its installed skill, or `himi docs iap-pricing`) before writing the worker. A screen that sells the item composes
361
361
  `createIapCommerce` from `@himalaya/iap-checkout` and binds Buy now with
362
362
  `commerce.purchaseFields`, never StoreKit or the payment client directly. Starting from a template does
363
363
  not cover your own screens; each screen opts in explicitly.
@@ -371,7 +371,7 @@ export WIX_SITE_URL="https://your-site.wixsite.com/…"
371
371
  ```
372
372
 
373
373
  The Headless `clientId` is the site binding (no separate MSID flag). Details:
374
- `himi docs branded-lite-site-binding`.
374
+ the `branded-lite-site-binding` guide (its installed skill, or `himi docs branded-lite-site-binding`).
375
375
 
376
376
  A screen is a **layout** (a tree of native components) plus an optional **worker** —
377
377
  `defineService(name, { state, actions })` — wired together with bindings like `$service:<service>.<path>`,
@@ -383,19 +383,19 @@ about the syntax yet:
383
383
  copy the `examples/counter.*` pair (in `.agents/skills/himalaya/examples/`, which `himi init` and `himi agent-init` write; it shows the wiring), study
384
384
  `examples/stocks-dashboard.descriptor.json` to see a well-composed real screen; then start
385
385
  from the recipe that matches your screen — each ships as a doc + a runnable example pair:
386
- a data-backed list `examples/dynamic-list.*` (`himi docs recipe-dynamic-list`, incl.
386
+ a data-backed list `examples/dynamic-list.*` (the `recipe-dynamic-list` guide (its installed skill, or `himi docs recipe-dynamic-list`), incl.
387
387
  pull-to-refresh + load-more), a create/edit form `examples/form-submit.*`
388
- (`himi docs recipe-form-submit`), a searchable list `examples/search-list.*`
389
- (`himi docs recipe-search`), a first-run onboarding card `examples/onboarding.*`
390
- (`himi docs recipe-onboarding`), a sign-in/register screen and a membership paywall
391
- (`himi docs recipe-auth`, `himi docs recipe-checkout` — premade `authScreen`/`checkoutScreen` from
388
+ (the `recipe-form-submit` guide (its installed skill, or `himi docs recipe-form-submit`)), a searchable list `examples/search-list.*`
389
+ (the `recipe-search` guide (its installed skill, or `himi docs recipe-search`)), a first-run onboarding card `examples/onboarding.*`
390
+ (the `recipe-onboarding` guide (its installed skill, or `himi docs recipe-onboarding`)), a sign-in/register screen and a membership paywall
391
+ (the `recipe-auth` guide (its installed skill, or `himi docs recipe-auth`), the `recipe-checkout` guide (its installed skill, or `himi docs recipe-checkout`) — premade `authScreen`/`checkoutScreen` from
392
392
  `@wix/himalaya/screens`; use these instead of calling `@himalaya/wix-platform` `auth.signIn()` from a worker),
393
393
  and the loading/empty/error/ready idiom they all share
394
- (`himi docs recipe-four-state` — every recipe that loads or writes data shows a loading state,
394
+ (the `recipe-four-state` guide (its installed skill, or `himi docs recipe-four-state`) — every recipe that loads or writes data shows a loading state,
395
395
  a classified error state and a recovery action where the user can fix the failure). Then — **before you
396
- design** — read the UX guide (`himi docs designing-himi-screens`: its phone rules and product
397
- screen shapes), the platform guides (`himi docs ios-ux`, `himi docs android-ux`) and, for a
398
- multi-screen app, the mobile contract guide (`himi docs mobile-ux`), then follow
396
+ design** — read the `designing-himi-screens` guide (its installed skill, or `himi docs designing-himi-screens`) for its phone rules and product
397
+ screen shapes, the `ios-ux` guide (its installed skill, or `himi docs ios-ux`) and the `android-ux` guide (its installed skill, or `himi docs android-ux`) for each platform, and, for a
398
+ multi-screen app, the mobile contract in the `mobile-ux` guide (its installed skill, or `himi docs mobile-ux`); then follow
399
399
  *Author a Tier-5 screen*. Judge each screen with
400
400
  `himi render <screenId> --platform ios --device iphone` and `--platform android --device pixel`,
401
401
  which draw the status bar, the navigation bar and the tab bar, and fix every `himi validate`
@@ -442,7 +442,7 @@ the complete decision order and examples.
442
442
  (a QA binary — see *Shipping* below), which you rarely need. Authenticate once with
443
443
  **`himi login --browser`**: it signs you in with your own Wix account and stores a scoped
444
444
  token, so nothing is ever hand-pasted. (On a server or in CI, `--wix` presents a Wix account
445
- API key from `WIX_API_KEY` instead — no browser, no Wix CLI; see `himi docs headless-loop`.
445
+ API key from `WIX_API_KEY` instead — no browser, no Wix CLI; see the `headless-loop` guide (its installed skill, or `himi docs headless-loop`).
446
446
  Wix employees can use `--dpx`.)
447
447
  Everything up to the push runs locally.
448
448
 
@@ -487,9 +487,9 @@ Continue building and publishing app content. For a customer push test, use the
487
487
  The default Wix-managed binary does not match the customer's Apple identity. After an uncertain
488
488
  setup response, inspect status before retrying; the CLI does not automatically repeat provisioning.
489
489
 
490
- Full inputs, script flags and status meanings: `himi docs push-cli-onboarding`
491
- (https://apps.wix.com/_api/himi-serve/docs/push-cli-onboarding.md). The guide is bundled with the public npm package
492
- and is also served at that public URL. No repository access is required. This is notification setup; `himi push` publishes
490
+ Full inputs, script flags and status meanings: the `push-cli-onboarding` guide (its installed skill, or `himi docs push-cli-onboarding`),
491
+ also at https://apps.wix.com/_api/himi-serve/docs/push-cli-onboarding.md. The guide is bundled with the public npm package.
492
+ No repository access is required. This is notification setup; `himi push` publishes
493
493
  app content.
494
494
 
495
495
  Once status is ready and a member's device has registered, send that member a test through Ping
@@ -567,7 +567,7 @@ loudly if it carries none; `debug` is the old per-machine key, where QA must uni
567
567
  the concrete id it chose. A build takes roughly **4 minutes** (iOS) or **3.5** (Android), and the
568
568
  pool parallelises, so dispatching many at once costs about the same as dispatching one.
569
569
 
570
- Full pipeline, signing constraints and how to read a failure: `himi docs qa-builds`.
570
+ Full pipeline, signing constraints and how to read a failure: the `qa-builds` guide (its installed skill, or `himi docs qa-builds`).
571
571
 
572
572
  ## Bootstrap a coding agent
573
573
 
@@ -580,7 +580,7 @@ https://apps.wix.com/_api/himi-serve/skill.md
580
580
 
581
581
  ## Home-screen widgets
582
582
 
583
- Read `himi docs widgets` **before** you write a `defineWidget`. A widget is a frozen poster frame:
583
+ Read the `widgets` guide (its installed skill, or `himi docs widgets`) **before** you write a `defineWidget`. A widget is a frozen poster frame:
584
584
  its `render` runs once, at build time, over each service's **initial** `state`. Actions, `fetch` and
585
585
  Wix data never reach it, and there is no live-data path yet, so a widget written over fetched data
586
586
  ships its placeholder. Design it around initial state, constants or a `timeline`, and deep-link the
@@ -588,7 +588,7 @@ tap into the screen that has the live data.
588
588
 
589
589
  ## Fast screens
590
590
 
591
- Read §7b of `himi docs designing-himi-screens` before you build a list or a tap that opens a screen.
591
+ Read §7b of the `designing-himi-screens` guide (its installed skill, or `himi docs designing-himi-screens`) before you build a list or a tap that opens a screen.
592
592
  A screen is fast when it builds only the rows in view and opens the next screen on the tap:
593
593
 
594
594
  - A long or paged list sits directly in a plain root `VStack`, as the screen's only bound list, so it is
@@ -603,7 +603,7 @@ A screen is fast when it builds only the rows in view and opens the next screen
603
603
 
604
604
  Images preview by default: a tap opens one full screen and pages through the screen's other images.
605
605
  Opt out with `modifiers.imagePreview: "off"` on an image or subtree that should not open
606
- (`himi docs image-preview`).
606
+ (the `image-preview` guide (its installed skill, or `himi docs image-preview`)).
607
607
 
608
608
  `himi validate` warns on the first three (`paged_list_not_at_scroll_root`,
609
609
  `bound_rows_without_stable_id`, `declared_navigation_available`). Resolve them before preview.
@@ -217,6 +217,12 @@ changed value there. Without it, a change that stays in one screen's worker pass
217
217
  }
218
218
  ```
219
219
 
220
+ When a change makes a record user-changeable, or moves where it is stored, the visits are every
221
+ screen that shows the record, its own copy of it, or a count or summary of it, not only the
222
+ screens the request names. Moving an activity to another day changes the day the activity leaves,
223
+ the day it joins, and the overview that counts each day's activities. Visit all three and assert
224
+ each count.
225
+
220
226
  Use the app's actual screen/action names, field payloads and independently chosen expected
221
227
  values. Every visit boots a **new worker realm** with only that destination's descriptor and
222
228
  `input`; module variables and service state do not cross. Visits within one journey share a
@@ -1101,6 +1101,18 @@ nor `himi test` can catch a stale summary, because to them it is only text. Asse
1101
1101
  the change can move (both the count and the distance in "3 activities · 4.5 km"), or the whole
1102
1102
  rendered line.
1103
1103
 
1104
+ **An edit that makes a record changeable updates every screen that shows it.** The two rules
1105
+ above are about writing one screen. A change to an existing app needs one more step. When it
1106
+ makes a record user-changeable (it was read-only until now), or moves where the record is stored,
1107
+ first find every screen and worker that shows the record, keeps its own copy of it, or shows a
1108
+ count or summary of it. Search `tier5-src` for the record's ids and field values, not only for
1109
+ the screens the request names: an overview that lists days with a fixed activity count is one of
1110
+ them, even when the request is only "move an activity to another day". Make each of them read
1111
+ the one home, and recompute each count from it. Then cold-visit each of them in the journey and
1112
+ assert the changed value. `himi validate` reports the same records written as literals in two
1113
+ workers (`seed-record-two-homes`; an error under `--strict`), so move the seed to one module in
1114
+ `tier5-src/_shared/` or into the store, and import it from there.
1115
+
1104
1116
  ### App services: state that outlives every screen
1105
1117
 
1106
1118
  An app service is a `defineService` in the app's one app-level bundle, which the shell
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1743.0",
3
+ "version": "0.1744.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": "4cef63445f29e1c0357a134552306ae16bd792c623d1f52a8d04ee1d"
85
+ "falconPackageHash": "02e3afe5b6763220607f861e8e278c78fc6d67ac27d0dc6f16042ac2"
86
86
  }
@@ -5098,6 +5098,106 @@
5098
5098
  "source": "One-time payment",
5099
5099
  "translation": "Paiement unique",
5100
5100
  "origin": "one-app:payment-links-mobile:pay-links.mob.select-payment-link-type.single-use.title"
5101
+ },
5102
+ "h_14ed0860418c": {
5103
+ "source": "No Time Limit",
5104
+ "translation": "Sans limite de durée",
5105
+ "origin": "machine"
5106
+ },
5107
+ "h_e830e1381ba6": {
5108
+ "source": "{n, plural, one {# minute ago} other {# minutes ago}}",
5109
+ "translation": "{n, plural, one {il y a # minute} other {il y a # minutes}}",
5110
+ "origin": "machine"
5111
+ },
5112
+ "h_a7ccfb719652": {
5113
+ "source": "{n, plural, one {# hour ago} other {# hours ago}}",
5114
+ "translation": "{n, plural, one {il y a # heure} other {il y a # heures}}",
5115
+ "origin": "machine"
5116
+ },
5117
+ "h_5e4247c32900": {
5118
+ "source": "{n, plural, one {# day ago} other {# days ago}}",
5119
+ "translation": "{n, plural, one {il y a # jour} other {il y a # jours}}",
5120
+ "origin": "machine"
5121
+ },
5122
+ "h_51d1d606ee9b": {
5123
+ "source": "Members couldn't be loaded.",
5124
+ "translation": "Impossible de charger les membres.",
5125
+ "origin": "machine"
5126
+ },
5127
+ "h_8f615630c7a8": {
5128
+ "source": "Search {count} members",
5129
+ "translation": "Rechercher des membres ({count})",
5130
+ "origin": "machine"
5131
+ },
5132
+ "h_bbeb7a9f223c": {
5133
+ "source": "Sign in to follow members.",
5134
+ "translation": "Connectez-vous pour suivre des membres.",
5135
+ "origin": "machine"
5136
+ },
5137
+ "h_4e520e13547e": {
5138
+ "source": "Couldn't update. Try again.",
5139
+ "translation": "Mise à jour impossible. Réessayez.",
5140
+ "origin": "machine"
5141
+ },
5142
+ "h_1b1e1de382f6": {
5143
+ "source": "You can cancel this plan yourself.",
5144
+ "translation": "Vous pouvez annuler ce forfait vous-même.",
5145
+ "origin": "machine"
5146
+ },
5147
+ "h_af9f9729838a": {
5148
+ "source": "Limit: {n} per member.",
5149
+ "translation": "Limite : {n} par membre.",
5150
+ "origin": "machine"
5151
+ },
5152
+ "h_03df3dddc156": {
5153
+ "source": "You can choose a later start date.",
5154
+ "translation": "Vous pouvez choisir une date de début ultérieure.",
5155
+ "origin": "machine"
5156
+ },
5157
+ "h_cb7c8c83bd90": {
5158
+ "source": "No upcoming events.",
5159
+ "translation": "Aucun événement à venir.",
5160
+ "origin": "machine"
5161
+ },
5162
+ "h_e84d8431b504": {
5163
+ "source": "{n, plural, one {for # day} other {for # days}}",
5164
+ "translation": "{n, plural, one {pendant # jour} other {pendant # jours}}",
5165
+ "origin": "machine"
5166
+ },
5167
+ "h_6c3b1b0caef6": {
5168
+ "source": "{n, plural, one {per day} other {every # days}}",
5169
+ "translation": "{n, plural, one {par jour} other {tous les # jours}}",
5170
+ "origin": "machine"
5171
+ },
5172
+ "h_0e9096b5e692": {
5173
+ "source": "{n, plural, one {for # week} other {for # weeks}}",
5174
+ "translation": "{n, plural, one {pendant # semaine} other {pendant # semaines}}",
5175
+ "origin": "machine"
5176
+ },
5177
+ "h_318d1043dc09": {
5178
+ "source": "{n, plural, one {per week} other {every # weeks}}",
5179
+ "translation": "{n, plural, one {par semaine} other {toutes les # semaines}}",
5180
+ "origin": "machine"
5181
+ },
5182
+ "h_f01e3692c61a": {
5183
+ "source": "{n, plural, one {for # month} other {for # months}}",
5184
+ "translation": "{n, plural, one {pendant # mois} other {pendant # mois}}",
5185
+ "origin": "machine"
5186
+ },
5187
+ "h_c8b9ca77129d": {
5188
+ "source": "{n, plural, one {per month} other {every # months}}",
5189
+ "translation": "{n, plural, one {par mois} other {tous les # mois}}",
5190
+ "origin": "machine"
5191
+ },
5192
+ "h_bddf6b6e5d29": {
5193
+ "source": "{n, plural, one {for # year} other {for # years}}",
5194
+ "translation": "{n, plural, one {pendant # an} other {pendant # ans}}",
5195
+ "origin": "machine"
5196
+ },
5197
+ "h_55db55f1bd29": {
5198
+ "source": "{n, plural, one {per year} other {every # years}}",
5199
+ "translation": "{n, plural, one {par an} other {tous les # ans}}",
5200
+ "origin": "machine"
5101
5201
  }
5102
5202
  }
5103
5203
  }
@@ -9093,6 +9093,106 @@
9093
9093
  "source": "Pick one file at a time.",
9094
9094
  "translation": "Sélectionnez un seul fichier à la fois.",
9095
9095
  "origin": "machine"
9096
+ },
9097
+ "h_14ed0860418c": {
9098
+ "source": "No Time Limit",
9099
+ "translation": "Sans limite de durée",
9100
+ "origin": "machine"
9101
+ },
9102
+ "h_e830e1381ba6": {
9103
+ "source": "{n, plural, one {# minute ago} other {# minutes ago}}",
9104
+ "translation": "{n, plural, one {il y a # minute} other {il y a # minutes}}",
9105
+ "origin": "machine"
9106
+ },
9107
+ "h_a7ccfb719652": {
9108
+ "source": "{n, plural, one {# hour ago} other {# hours ago}}",
9109
+ "translation": "{n, plural, one {il y a # heure} other {il y a # heures}}",
9110
+ "origin": "machine"
9111
+ },
9112
+ "h_5e4247c32900": {
9113
+ "source": "{n, plural, one {# day ago} other {# days ago}}",
9114
+ "translation": "{n, plural, one {il y a # jour} other {il y a # jours}}",
9115
+ "origin": "machine"
9116
+ },
9117
+ "h_51d1d606ee9b": {
9118
+ "source": "Members couldn't be loaded.",
9119
+ "translation": "Impossible de charger les membres.",
9120
+ "origin": "machine"
9121
+ },
9122
+ "h_8f615630c7a8": {
9123
+ "source": "Search {count} members",
9124
+ "translation": "Rechercher des membres ({count})",
9125
+ "origin": "machine"
9126
+ },
9127
+ "h_bbeb7a9f223c": {
9128
+ "source": "Sign in to follow members.",
9129
+ "translation": "Connectez-vous pour suivre des membres.",
9130
+ "origin": "machine"
9131
+ },
9132
+ "h_4e520e13547e": {
9133
+ "source": "Couldn't update. Try again.",
9134
+ "translation": "Mise à jour impossible. Réessayez.",
9135
+ "origin": "machine"
9136
+ },
9137
+ "h_1b1e1de382f6": {
9138
+ "source": "You can cancel this plan yourself.",
9139
+ "translation": "Vous pouvez annuler ce forfait vous-même.",
9140
+ "origin": "machine"
9141
+ },
9142
+ "h_af9f9729838a": {
9143
+ "source": "Limit: {n} per member.",
9144
+ "translation": "Limite : {n} par membre.",
9145
+ "origin": "machine"
9146
+ },
9147
+ "h_03df3dddc156": {
9148
+ "source": "You can choose a later start date.",
9149
+ "translation": "Vous pouvez choisir une date de début ultérieure.",
9150
+ "origin": "machine"
9151
+ },
9152
+ "h_cb7c8c83bd90": {
9153
+ "source": "No upcoming events.",
9154
+ "translation": "Aucun événement à venir.",
9155
+ "origin": "machine"
9156
+ },
9157
+ "h_e84d8431b504": {
9158
+ "source": "{n, plural, one {for # day} other {for # days}}",
9159
+ "translation": "{n, plural, one {pendant # jour} other {pendant # jours}}",
9160
+ "origin": "machine"
9161
+ },
9162
+ "h_6c3b1b0caef6": {
9163
+ "source": "{n, plural, one {per day} other {every # days}}",
9164
+ "translation": "{n, plural, one {par jour} other {tous les # jours}}",
9165
+ "origin": "machine"
9166
+ },
9167
+ "h_0e9096b5e692": {
9168
+ "source": "{n, plural, one {for # week} other {for # weeks}}",
9169
+ "translation": "{n, plural, one {pendant # semaine} other {pendant # semaines}}",
9170
+ "origin": "machine"
9171
+ },
9172
+ "h_318d1043dc09": {
9173
+ "source": "{n, plural, one {per week} other {every # weeks}}",
9174
+ "translation": "{n, plural, one {par semaine} other {toutes les # semaines}}",
9175
+ "origin": "machine"
9176
+ },
9177
+ "h_f01e3692c61a": {
9178
+ "source": "{n, plural, one {for # month} other {for # months}}",
9179
+ "translation": "{n, plural, one {pendant # mois} other {pendant # mois}}",
9180
+ "origin": "machine"
9181
+ },
9182
+ "h_c8b9ca77129d": {
9183
+ "source": "{n, plural, one {per month} other {every # months}}",
9184
+ "translation": "{n, plural, one {par mois} other {tous les # mois}}",
9185
+ "origin": "machine"
9186
+ },
9187
+ "h_bddf6b6e5d29": {
9188
+ "source": "{n, plural, one {for # year} other {for # years}}",
9189
+ "translation": "{n, plural, one {pendant # an} other {pendant # ans}}",
9190
+ "origin": "machine"
9191
+ },
9192
+ "h_55db55f1bd29": {
9193
+ "source": "{n, plural, one {per year} other {every # years}}",
9194
+ "translation": "{n, plural, one {par an} other {tous les # ans}}",
9195
+ "origin": "machine"
9096
9196
  }
9097
9197
  }
9098
9198
  }