@wix/himalaya-cli 0.1743.0 → 0.1745.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.
Files changed (41) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/icon-catalog.generated.d.ts +1 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +21 -0
  3. package/dist/browser-plane/assets.json +5 -5
  4. package/dist/browser-plane/preview-deferred/{d13ef703cc8f4d7eaa9b12967b618314b75002b5d4441dedbcc65e3601c4750d.bin → d432d189310d8d819b56251c53dd82a9e166a4a73936749f08c355c11083e8e0.bin} +1 -1
  5. package/dist/browser-plane/sw.js +5 -5
  6. package/dist/cli.mjs +2288 -1959
  7. package/dist/preview-assets.generated.bin +0 -0
  8. package/guides/android-ux.md +1 -1
  9. package/guides/designing-himi-screens.md +23 -14
  10. package/guides/getting-started.md +28 -28
  11. package/guides/headless-loop.md +1 -1
  12. package/guides/himi-skill.md +31 -31
  13. package/guides/himi-test.md +6 -0
  14. package/guides/ios-ux.md +1 -1
  15. package/guides/tier-5-add-a-screen.md +12 -0
  16. package/package.json +2 -2
  17. package/templates/beauty-salon/l10n/fr.json +100 -0
  18. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +37 -8
  19. package/templates/branded-lite/l10n/fr.json +100 -0
  20. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +37 -8
  21. package/templates/community-club/l10n/fr.json +100 -0
  22. package/templates/community-club/tier5-src/_shared/himi-account.ts +37 -8
  23. package/templates/conference/tier5-src/_shared/himi-account.ts +37 -8
  24. package/templates/events-meetups/l10n/fr.json +100 -0
  25. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +37 -8
  26. package/templates/gym-fitness/l10n/fr.json +100 -0
  27. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +37 -8
  28. package/templates/nonprofit-cause/l10n/fr.json +100 -0
  29. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +37 -8
  30. package/templates/podcast-creator/l10n/fr.json +100 -0
  31. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +37 -8
  32. package/templates/portfolio-creative/l10n/fr.json +100 -0
  33. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +37 -8
  34. package/templates/restaurant/l10n/fr.json +100 -0
  35. package/templates/restaurant/tier5-src/_shared/himi-account.ts +37 -8
  36. package/templates/retail-store/l10n/fr.json +100 -0
  37. package/templates/retail-store/tier5-src/_shared/himi-account.ts +37 -8
  38. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +37 -8
  39. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +37 -8
  40. package/templates/yoga-studio/l10n/fr.json +100 -0
  41. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +37 -8
Binary file
@@ -46,7 +46,7 @@ A list or a grid looks the same in the iPhone PNG. That is one descriptor, not a
46
46
  | Destructive or blocking decision | A dialog that names the action. | `AlertDialog`; confirm or offer undo. | [Dialogs](https://m3.material.io/components/dialogs/guidelines) |
47
47
  | Success | A snackbar above the navigation bar. | `ui.snackbar` from the worker. | [Snackbar](https://m3.material.io/components/snackbar/guidelines) |
48
48
  | Search | A search bar in the top app bar, or a dedicated search screen. | `topBar.searchable` plus the page's own `SearchField` (or the row that holds it) with `hiddenPath: "$env:topBarSearch"`. The standard app shell draws that field; only a host with a native search handler hides it for the bar. A dedicated screen when search starts a new task (`himi docs recipe-search`). | [Search](https://m3.material.io/components/search/guidelines) |
49
- | Tablets, foldables, wide windows | List and detail side by side from the expanded width class (840dp and wider); a readable column for reading. | `SplitView`, `Grid` `columnsMedium`/`columnsExpanded`, `contentMaxWidth`. Render at 840px or wider and record the choice. | [Adaptive layouts](https://developer.android.com/design/ui/mobile/guides/layout-and-content/adapt-layout) |
49
+ | Tablets, foldables, wide windows | List and detail side by side from the expanded width class (840dp and wider); a readable column for reading. | `Grid` `columns: 1, columnsMedium: 2` to put parts side by side from 600dp (a tablet in portrait); `SplitView` only from 840dp. The tablet shell does not apply `contentMaxWidth`, so the screen changes shape itself (`designing-himi-screens`). Render at 834px and 840px or wider, and record the choice. | [Adaptive layouts](https://developer.android.com/design/ui/mobile/guides/layout-and-content/adapt-layout) |
50
50
  | Type and shape | The Material type scale and shape scale, following the user's font size. | Typography tokens from the built-in ramp, no raw sizes; a `material` overlay in `tokens.json` `idiom` with `"$system"` (Roboto) and Material radii, turned on by `idiom: { policy: "follow-surface" }` in `config.ts`. | [Typography](https://m3.material.io/styles/typography/applying-type) |
51
51
  | Touch targets | At least 48×48dp. | Use `Button`/`ListItem`; do not shrink a hit area. | [Accessibility](https://developer.android.com/design/ui/mobile/guides/foundations/accessibility) |
52
52
  | Edge to edge | Content draws under the system bars; nothing important sits behind them. | The shell applies the insets; keep the last row clear of `stickyFooter`. | [Edge-to-edge](https://developer.android.com/design/ui/mobile/guides/layout-and-content/edge-to-edge) |
@@ -60,23 +60,32 @@ they decide what a phone screen looks like, and this guide decides how to compos
60
60
  - **Every tap target is at least 44 points** (48 dp on Android). A `Button` grows its own hit area;
61
61
  an `Icon`, an `Image` or a stack with `modifiers.onTap` does not, so give it `padding` until it
62
62
  reaches 44, or use an `iconOnly` `Button` (`himi validate` warns: `touch_target_too_small`).
63
- - **A wide surface gets its own layout, not the phone one stretched.** From the medium width
64
- (600 points: an iPad in portrait) and the expanded one (840: an iPad in landscape, a Mac window,
65
- the web at desktop width), each kind of screen changes shape:
63
+ - **A wide surface gets its own layout, not the phone one stretched.** Do not count on the host
64
+ to narrow the screen: a tablet shows it full bleed at every width, and a `splitView` goes side
65
+ by side from 600 points on iOS but only from 840 on Android and the web, so an Android tablet in
66
+ portrait (and the web below 840) still shows it stacked. From the medium width (600 points: an
67
+ iPad or an Android tablet in portrait), each kind of screen changes shape itself:
66
68
  - Photo tiles add columns (`columnsMedium: 3`, `columnsExpanded: 4`).
67
- - Rows (a schedule, a menu, a session list) stay one readable column, or become
69
+ - A short, bounded set of rows (a day's schedule, a menu, a few sessions) becomes
68
70
  `grid({ columns: 1, columnsMedium: 2 })` of the same rows. A grid fills across each row, so
69
- keep the items in reading order (by time) and they still read in order.
71
+ keep the items in reading order (by time) and they still read in order. A long or paged list
72
+ stays a `lazyList` at the scroll root: on Android a grid inside the screen's scroll is not
73
+ lazy, so every row is built at once.
70
74
  - A shelf has more covers than fit at the widest width (eight or more), so its rail never
71
75
  ends halfway across the screen. With fewer, it is a grid row instead.
72
- - A detail screen puts its photos and its information side by side:
73
- `splitView({ primary: photos, detail: info })`, which stacks on a phone.
74
-
75
- The readable column is the `contentMaxWidth` token. On expanded widths the shell centres the
76
- screen in it (920 points by default). Never cap the root stack with `maxWidth`: it pins
77
- the column to the leading edge and leaves the rest empty. Render `--device tablet` and
78
- `--device desktop` and look for a half of the screen with nothing in it. Space below a short
79
- list is fine.
76
+ - A detail screen puts its photos and its information side by side with
77
+ `grid({ columns: 1, columnsMedium: 2, items: [photos, info] })`, which stacks on a phone and
78
+ splits from 600 on every platform.
79
+ - A short, bounded screen (a cart, a form, sign-in, settings) splits its parts with the same
80
+ grid: the items beside the order summary, the fields beside the explanation or the art, one
81
+ settings section beside the next. Do not centre a capped column with spacers or a centre
82
+ alignment: the renderers do not agree on either, so it centres on one platform and not on
83
+ another. A long or paged list (a chat list, a feed) stays the scroll root (see Fast screens
84
+ below), with its rows at full width.
85
+
86
+ Render `--device tablet` (834 points) and `--device desktop` and look for a half of the screen
87
+ with nothing in it, or a row whose price sits a screen's width from its name. Space below
88
+ a short list is fine.
80
89
 
81
90
  ---
82
91
 
@@ -416,7 +425,7 @@ Concrete patterns lifted from real usage:
416
425
  - **Photo tile** — `vstack({ spacing: 6, alignment: "leading", children: [ image({ url, fillWidth: true, aspectRatio: 0.8, contentMode: "fill", placeholder: "surfaceSecondary", contentDescription }) + cornerRadius 8, text(name, "body"), text(price, "callout", { color: "textSecondary" }) ] })` with `modifiers.onTap` on the stack, inside `grid({ columns: 2, columnsMedium: 3, columnsExpanded: 4, spacing: 12 })`. A shelf is the same tile at a fixed `width` (about 110) in `lazyList({ horizontal: true, spacing: 12 })`.
417
426
  - **A website page with native UI around it** — `vstack({ children: [ header, sitePage(site, { path: "/book-online" }), stickyBar ] })`, where `site` is the app's `site` block (a `SiteShellConfig`) and `sitePage` comes from `@wix/himalaya/sdui`. It emits a `WebView` with `role: "primary"`, `fill`, its own scrolling, `modifiers.weight: 1` and the site preset as its config (the same URL and behaviour a site-shell tab gets; `webView: { … }` overrides it). `title` becomes the page's accessible name (`modifiers.accessibilityLabel`, which every `WebView` needs); without one the site's host is used. The weight gives the page only the height the header and bar leave. Put it at the screen root or directly in a root `VStack`, `HStack` or `ZStack`, and use one per screen. The validator rejects it inside a `LazyList`, `Pager`, `Carousel` or `CollapsingHeader`, or with its weight removed. A site-shell app already gets this form: `siteScreens(site)` gives each page both forms in one descriptor, the Tier-3 screen every app binary renders plus this tree in `payload`, which a newer binary draws instead. To put native UI around one page of a site-shell app and keep it working on older binaries, use `dualFormSiteScreen(defineSiteTab(site, page), vstack({ children: [ header, sitePage(site, { path: page.path, title: page.title }), stickyBar ] }))`. The page inside must load the same URL, with the same config and the same native capability scope (`capabilitiesRequired`), as the Tier-3 screen; `sitePage` scopes a page to no capability, as a site tab is. The validator checks all three (`dual_form_mismatch`), and the screen can carry no `logicBundle`. Older binaries draw only the Tier-3 page, without the header and bar. `siteScreens(site, { form: "node" })` serves the node form alone, for an app whose binaries all support it, and `desugarSiteScreen(descriptor)` converts one Tier-3 site screen. To let native UI follow the page (a cart badge, the page title), give the screen a `logicBundle` that declares `"webview"` and write `sitePage(site, { path, bridge: "worker" })`: the page talks to the worker through `@wix/himalaya/webview-page`, and the worker answers with `@himalaya/webview` ([webview-page-sdk.md](webview-page-sdk.md#a-site-page-that-talks-to-its-screens-worker)). Such a screen carries a worker, so it is a node-form screen (`sdui_layout`), not a dual-form one.
418
427
  - **Overlay** — `zstack({ alignment: "center", children: [ backdropImage(cornerRadius 12), withModifiers(label, { padding, background: { token: "accentPrimary" }, cornerRadius: 10 }) ] })`.
419
- - **Responsive** — `grid({ columns: 1, columnsMedium: 2, spacing: 12 })` for wide cards, 1-up on phone / 2-up on tablet (photo tiles start at 2 on a phone); `splitView({ primary, detail, primaryMaxWidth: 280 })` for master/detail that stacks on a phone; set `contentMaxWidth` in tokens so wide surfaces keep a readable column instead of running edge-to-edge.
428
+ - **Responsive** — `grid({ columns: 1, columnsMedium: 2, spacing: 12 })` for wide cards, 1-up on phone / 2-up on tablet (photo tiles start at 2 on a phone); `splitView({ primary, detail, primaryMaxWidth: 280 })` for master/detail (side by side from 600 points on iOS, from 840 on Android and the web); `contentMaxWidth` in tokens sets the measure only on the web host and in `himi render`; the native Mac window caps content at 920 points whatever it says, and a tablet applies no cap, so a tablet still needs the layout changes above.
420
429
  - **Centered separator, not a flanked divider** — the classic "—— or ——" needs each `divider()` to take equal remaining width, and the HStack row-share only kicks in for controls with an intrinsic fill. **A bare `divider()` inside an HStack is a column separator, not a flanking line**: iOS, macOS, Android, web and React Native all draw it as a thin vertical rule the height of the row that takes no share of the width, which is right for a stats row (`12 | 340 | 87`) and wrong for "—— or ——". For "—— or ——", use a **centered caption**: `hstack({ children: [spacer(), text("or continue with", "caption", { color: "textSecondary" }), spacer()] })`, optionally over a single full-width `divider()`.
421
430
 
422
431
  > **Intrinsic-fill controls grab the row.** `Button` and `TextField` have an intrinsic FILL, so the next four idioms are about NOT letting that surprise you (they were the papercuts every off-repo app hit):
@@ -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
 
@@ -237,7 +237,7 @@ A few flags worth knowing up front (all discoverable via `himi render --help`):
237
237
  which over-stretches a phone layout.
238
238
  - **`himi icons`** lists the valid `Icon.name` vocabulary — an unknown name silently falls back to a
239
239
  generic glyph on device (and `validate` warns), so pick from this list rather than guessing SF-Symbol
240
- names. The full set (aliases included): ai, arrow_down, arrow_left, arrow_right, arrow_up, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, clock, close, concealed, cookie, copy, dashboard, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, stop, success, tag, ticket, ticket_fill, trash, tray, undo, user, visible, volume, warning, wifi, xmark.
240
+ names. The full set (aliases included): ai, arrow_down, arrow_left, arrow_right, arrow_up, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, clock, close, concealed, cookie, copy, dashboard, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, redo, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, stop, success, tag, ticket, ticket_fill, trash, tray, undo, user, visible, volume, warning, wifi, xmark.
241
241
 
242
242
  ## 4b. Prove it WORKS, not just that it renders (`himi test`, when installed)
243
243
 
@@ -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
package/guides/ios-ux.md CHANGED
@@ -45,7 +45,7 @@ Android PNG. That is one descriptor, not a failed render.
45
45
  | Destructive or blocking decision | An alert, with the destructive button styled as such. | `AlertDialog`, or a `ToolbarItem` with `role: "destructive"`. Confirm or offer undo. | [Alerts](https://developer.apple.com/design/human-interface-guidelines/alerts) |
46
46
  | Success | Brief, non-blocking feedback. | `ui.snackbar` from the worker, not an alert. | [Feedback](https://developer.apple.com/design/human-interface-guidelines/feedback) |
47
47
  | Search | A search field in the navigation bar. | `topBar.searchable` plus the page's own `SearchField` (or the row that holds it) with `hiddenPath: "$env:topBarSearch"`. The standard app shell draws that field; only a host with a native search handler hides it for the bar. A dedicated search screen when search starts a new task (`himi docs recipe-search`). | [Search fields](https://developer.apple.com/design/human-interface-guidelines/search-fields) |
48
- | iPad and wide windows | Sidebar or split view for collections; a readable column for reading. | `SplitView`, `Grid` `columnsMedium`/`columnsExpanded`, `contentMaxWidth` in tokens. Render at 834px and record the choice. | [Split views](https://developer.apple.com/design/human-interface-guidelines/split-views) |
48
+ | iPad and wide windows | Sidebar or split view for collections; a readable column for reading. | `Grid` `columns: 1, columnsMedium: 2` to put parts side by side from 600 points; `SplitView` (side by side from 600 on iOS). The iPad shell does not apply `contentMaxWidth`, so the screen changes shape itself (`designing-himi-screens`). Render at 834px and record the choice. | [Split views](https://developer.apple.com/design/human-interface-guidelines/split-views) |
49
49
  | Type | The system text styles, scaled by Dynamic Type. | Typography tokens from the built-in ramp: `largeTitle`, `title1`–`title3`, `headline`, `body`, `bodyEmphasis`, `callout`, `caption`, `footnote`. No raw sizes. | [Typography](https://developer.apple.com/design/human-interface-guidelines/typography) |
50
50
  | Touch targets | At least 44×44 points. | Use `Button`/`ListItem`; do not shrink an icon's hit area below that. | [Accessibility](https://developer.apple.com/design/human-interface-guidelines/accessibility) |
51
51
 
@@ -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.1745.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": "a9190c60c960df705fdc96580814b2ea24660ba20b97330c097ab7f0"
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
  }