@wix/himalaya-cli 0.1745.0 → 0.1747.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +5 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +7 -3
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +0 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +0 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +0 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{d432d189310d8d819b56251c53dd82a9e166a4a73936749f08c355c11083e8e0.bin → 63821bbb8f637899037252154a5587f0596e4b537173c7f50551f9e44f7c22c0.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +825 -428
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/one-app-section-mappings.md +1 -1
- package/guides/one-app-to-himi-app.md +19 -1
- package/guides/tier-5-add-a-screen.md +13 -6
- package/package.json +2 -2
|
Binary file
|
|
@@ -441,6 +441,6 @@ procedure (`himi docs one-app-to-himi-app`, "Probe an unmapped section") and rec
|
|
|
441
441
|
|
|
442
442
|
| Source sectionDefinitionId | Seen in | Status and leads |
|
|
443
443
|
| --- | --- | --- |
|
|
444
|
-
| `forum_post_list_section` | A 2026-11 Branded migration |
|
|
444
|
+
| `forum_post_list_section` | A 2026-11 Branded migration | Retired. `generate` skips Forum sections as reported gaps and omits a page/tab containing only Forum. Never route to `himi_forum`. Keep explicit Wix Groups sections; this collection does not verify Forum-to-Groups migration or prove that Groups are absent. |
|
|
445
445
|
| `shared_gallery_list_section` | A 2026-11 Branded migration | Unmapped and left unresolved in that migration. Do not substitute Pro Gallery or Photo Albums without verifying the source data contract. |
|
|
446
446
|
| `woa_member_restaurants_reservation` | A 2026-11 Branded migration | Unmapped. That migration adapted it to a "Reserve a Table" button that opens the template reservation screen; record it as an adaptation, not as the source section. |
|
|
@@ -212,7 +212,13 @@ such setting (a chosen plan or group list, a question or post count, a category,
|
|
|
212
212
|
text). Record each as an `adapted` row in the coverage ledger; never leave it unsaid. A scaffold without the screen reports
|
|
213
213
|
the section as unmapped, and `apply-navigation` keeps refusing it. A link that passes a collection opens the shop screen
|
|
214
214
|
instead of selecting its tab, so the collection arrives; the shop screen then carries no collection of its own.
|
|
215
|
-
Forum
|
|
215
|
+
Wix Forum is retired: `generate` skips `forum_*` sections as reported gaps, never routes to `himi_forum`, and
|
|
216
|
+
omits pages/tabs containing only those sections (including from More). `apply-navigation` accepts those explicitly
|
|
217
|
+
recorded omissions; other pages without a screen still fail. A mixed page keeps its remaining sections. Explicit Groups
|
|
218
|
+
sections remain: One App collection does not read Groups, so it cannot claim there are none or verify a Forum-to-Groups
|
|
219
|
+
migration. When site analysis is available, follow its `legacyForum` decision: keep real Groups when found, drop an empty
|
|
220
|
+
Groups tab only on a confirmed `none`, and treat failed or absent reads as `unknown`.
|
|
221
|
+
`performance_tracker_section` and `platform_general_upcoming_section` have no screen and stay unmapped.
|
|
216
222
|
|
|
217
223
|
### Preserve section visibility across authentication
|
|
218
224
|
|
|
@@ -1377,6 +1383,18 @@ published `revision` and `fetchedAt` of the evidence it read, so a migration gen
|
|
|
1377
1383
|
old value: run `himi one-app migrate` again to refresh it before the final check. The file it writes is the
|
|
1378
1384
|
`--upsert` input below.
|
|
1379
1385
|
|
|
1386
|
+
`generate` also writes the starter keep-list to the `## Screen catalogue` table of `SPEC.md` (created from the scaffold's
|
|
1387
|
+
template when the package has none), so `himi template trim --from-spec SPEC.md --links drop` keeps exactly what the migrated app
|
|
1388
|
+
uses. The rows are every generated screen (`more` included), the starter screens its pages and generated buttons open (and the
|
|
1389
|
+
detail screens of the shared modules a generated page worker registers), the account core (account, settings, sign-in, delete
|
|
1390
|
+
account, app info, appearance, language), the screens of the header controls the source has (notifications, cart, the business
|
|
1391
|
+
chat, or the Inbox instead when the manifest says `memberChat: true`) and `source_invite` when the source shows Invite, plus the
|
|
1392
|
+
starter screens those (and the rows already in the table) need, found by asking the trim planner itself: a link `--links drop` cannot remove, and the target of a
|
|
1393
|
+
kept screen's main action (a shop's product and cart, a service list's booking time), and the destinations the worker of a kept
|
|
1394
|
+
starter screen opens at runtime, one hop (the shop's product, the Inbox's chat thread). Links of the sample Home the starter still
|
|
1395
|
+
holds are not counted, since `generate` replaces it. Rows already in the table are never changed or removed: the ones you wrote get the same closure, runtime destinations included, as
|
|
1396
|
+
the ones `generate` computes, and a second run adds nothing. The output reports them under `starterKeepList`.
|
|
1397
|
+
|
|
1380
1398
|
So generate descriptors as data and write them with the CLI:
|
|
1381
1399
|
|
|
1382
1400
|
```sh
|
|
@@ -745,10 +745,14 @@ silent bootstrap (a restored session goes straight through, with no prompt), the
|
|
|
745
745
|
app's sign-in cover (its `gateScreenId` when set). Signing in applies the held link unchanged —
|
|
746
746
|
tab, parent chain, params; cancelling lands on the target's tab root and drops the link
|
|
747
747
|
(`nav_verb_dropped` / `auth_cancelled`). A second link while the sign-in is up replaces the first.
|
|
748
|
-
Signed in, or `requiresAuth` unset: nothing changes. The flag needs an `auth` block
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
748
|
+
Signed in, or `requiresAuth` unset: nothing changes. The flag needs an `auth` block with a real
|
|
749
|
+
provider. Without one — no `auth` block, `providerId: "none"`, or a shell that binds no gate —
|
|
750
|
+
nothing can sign the user in, so the link **fails closed**: it never opens, no sign-in is shown, the
|
|
751
|
+
target's tab (or the default tab) is selected at its root and the link is dropped
|
|
752
|
+
(`nav_verb_dropped` / `auth_unavailable`, plus a `[deep-link] refused requiresAuth screen …` line
|
|
753
|
+
in the device log). Serving the app's config logs a warning for that combination. iOS, Android and
|
|
754
|
+
macOS share this rule; no macOS shell binds a sign-in gate today, so on macOS a `requiresAuth` link
|
|
755
|
+
fails closed until a Mac shell sets `authGate`. The web host does not hold links yet. In-app navigation (`himi.open`,
|
|
752
756
|
`_nav`) is not gated: a screen the app itself opens is the app's own business.
|
|
753
757
|
|
|
754
758
|
A shell gets this through core: the coordinator asks the gate the shell's `AuthGateRoot` /
|
|
@@ -757,8 +761,11 @@ A shell gets this through core: the coordinator asks the gate the shell's `AuthG
|
|
|
757
761
|
- **Read the live config.** Build the coordinator with `configProvider:` (read at every apply),
|
|
758
762
|
not a `config:` snapshot — a snapshot taken before the OTA config is cached (a clean install)
|
|
759
763
|
has no linkables, so no `requiresAuth` either.
|
|
760
|
-
- **Bind the gate early.** A
|
|
761
|
-
|
|
764
|
+
- **Bind the gate early.** A held link waits up to the provider-bind window (10 s) for a gate to be
|
|
765
|
+
bound, then fails closed. A shell that can receive a link before that root has drawn (a cold
|
|
766
|
+
start) sets `coordinator.authGate = <its SessionGate>` where it builds the coordinator. A shell
|
|
767
|
+
that never mounts `AuthGateRoot` / `AuthSignInCover` has no sign-in a link can wait on, so its
|
|
768
|
+
`requiresAuth` links never open — mount one to have them open for a signed-in user.
|
|
762
769
|
- **Mark the bootstrap.** Call `sessionGate.markSilentBootstrapSettled()` once its
|
|
763
770
|
`provider.bootstrap()` returns. Until then a held link waits (a provider not bound yet is
|
|
764
771
|
waited for too, never read as "no auth"); a shell that never marks it waits a short grace
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1747.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "95ecf8ee71d4db266635db569ee781da361cd946869400588d87291c"
|
|
86
86
|
}
|