@wix/himalaya-cli 0.1680.0 → 0.1681.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/cli.mjs CHANGED
@@ -3696,6 +3696,19 @@ var init_dist_jobs = __esm({
3696
3696
  embeddedSuffixes: ["liveactivity"],
3697
3697
  extensibleCapabilities: true
3698
3698
  },
3699
+ // The Godot game shell (#5283 Phase 4): a game as a native binary. The ONLY shell that serves
3700
+ // `godot` — the four business shells above cannot link the engine and refuse it. The `.dev`
3701
+ // ids are placeholders, not real App Store / Play ids. `embeddedSuffixes` stays empty: the
3702
+ // watch id (`<host>.watch.dev`) is not the `<host>.<suffix>` shape the signing mint requires.
3703
+ game: {
3704
+ appDir: "apps/himi-game",
3705
+ bundleId: { ios: "com.himalaya.himigame.dev.dev", android: "com.himalaya.himigame.dev.dev" },
3706
+ provisioningEnv: "HIMI_GAME_PROVISIONING_JSON",
3707
+ embeddedSuffixes: [],
3708
+ // prepare:customer writes the release's capability list, gen.sh feeds it to native-config,
3709
+ // and both boots register the baked ids.
3710
+ extensibleCapabilities: true
3711
+ },
3699
3712
  player: {
3700
3713
  appDir: "apps/himi-player",
3701
3714
  bundleId: { ios: "dev.himalaya.player.dev", android: "dev.himalaya.player.dev" },
@@ -27269,6 +27282,9 @@ var init_known = __esm({
27269
27282
  base44: "needs the shell's boot to bind the Base44 app id it talks to (Base44Capability.bind), which a dist build's generic registration does not do",
27270
27283
  // Linked generically since #4066, but the engine draws into the shell's own GameSurface view, and
27271
27284
  // on Android the shell must pick Godot's libc++_shared over the core's (himi-game's godotStl).
27285
+ // The shells that still CANNOT serve it: branded-lite, owner-lite, brandy and base44 (none has
27286
+ // a GameSurface or the STL pick) and the shared Himi Player. The `game` shell (apps/himi-game)
27287
+ // CAN: it has both, so it serves `godot` by declaring it — a build adds it to no other shell.
27272
27288
  godot: "needs the shell's GameSurface view and, on Android, its libc++_shared pick for the engine, which a build cannot add"
27273
27289
  });
27274
27290
  NOT_DIST_ADDABLE = NEEDS_BOOT_WIRING;
@@ -169204,6 +169220,13 @@ var init_shell_capabilities_generated = __esm({
169204
169220
  built: ["animation", "audio_record", "base44", "biometrics", "calendar", "calls", "contacts", "file_picker", "files", "haptic", "health", "iap", "keyboard", "live_activity", "location", "media_playback", "motion", "network", "on_device_ai", "photos", "push", "speech", "tasks", "torch", "ui"],
169205
169221
  serves: ["animation", "audio_record", "base44", "biometrics", "calendar", "calls", "contacts", "file_picker", "files", "haptic", "health", "iap", "keyboard", "live_activity", "location", "media_playback", "motion", "network", "on_device_ai", "photos", "push", "speech", "tasks", "torch", "ui"]
169206
169222
  },
169223
+ "game": {
169224
+ appDir: "apps/himi-game",
169225
+ shared: false,
169226
+ extensible: true,
169227
+ built: ["godot", "push"],
169228
+ serves: ["godot", "push"]
169229
+ },
169207
169230
  "owner-lite": {
169208
169231
  appDir: "apps/himi-owner-lite",
169209
169232
  shared: false,
@@ -223341,50 +223364,50 @@ var init_preview_assets_generated = __esm({
223341
223364
  init_define_HHP_CATALOG();
223342
223365
  init_preview_assets_format();
223343
223366
  PREVIEW_ASSET_MANIFEST = [
223344
- { key: "assets/DashboardHost-DC7jgeLW.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2984, sha256: "d3eb2435ea0cbad298d5da2c29728ee676822b0e07213fd372784ffaa9927a9c" },
223345
- { key: "assets/DevDrawer-yPPLi3hi.js", contentType: "application/javascript; charset=utf-8", offset: 2992, length: 16783, sha256: "c762a426caaea0559be857d5060f526dedaa2be246019504f3c29b98d0c1eec2" },
223346
- { key: "assets/IdiomCompare-CO66vlCk.js", contentType: "application/javascript; charset=utf-8", offset: 19775, length: 1926, sha256: "ba42f64bfb49b3bc24709f471886bcc15dff23097d219ae430bfa047eaf2526a" },
223347
- { key: "assets/LightboxViewer-C-sKjgaF.js", contentType: "application/javascript; charset=utf-8", offset: 21701, length: 17379, sha256: "8c8f23656cf8374f72f85e9f2a95f16b2408a6f51c27101ac84346aef74e5cc3" },
223348
- { key: "assets/OfflineReadingBar-QaWLSON6.js", contentType: "application/javascript; charset=utf-8", offset: 39080, length: 1646, sha256: "a6c74c6c018c99e7bc8c11360b24e11f0b654fb8e63ec8fedfdfc50f2c1a81fe" },
223349
- { key: "assets/PhonePreviewControl-D4cNbLUr.js", contentType: "application/javascript; charset=utf-8", offset: 40726, length: 37851, sha256: "79b8b641d7867b5f23294b2b0c322dbbcf22fb199e79b56ab018b219ee4541c0" },
223350
- { key: "assets/SchemeCompare-CIIUN9i2.js", contentType: "application/javascript; charset=utf-8", offset: 78577, length: 1858, sha256: "3bd96ece45698204254cbb6c8927799766439832b393f8d9628d0b6a124a7e4f" },
223351
- { key: "assets/WixFrogTelemetrySink-BLB4lJvQ.js", contentType: "application/javascript; charset=utf-8", offset: 80435, length: 3515, sha256: "9b760d1e9edc7c0daa1aa31c977c898f55ef1893f7eaba46c3b53cf43d3c9a15" },
223367
+ { key: "assets/DashboardHost-DlZeQTnG.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2984, sha256: "39bd8eb663eace12e994d745f6bf7335c0c9545e28221f59f9a80d7f710a4669" },
223368
+ { key: "assets/DevDrawer-DOddcJpG.js", contentType: "application/javascript; charset=utf-8", offset: 2992, length: 16783, sha256: "f700be8736d4e6ceb9d4ae9bcc6186bae57ece0827c5f5621b96720fc3864fba" },
223369
+ { key: "assets/IdiomCompare-C0Y8Rby_.js", contentType: "application/javascript; charset=utf-8", offset: 19775, length: 1926, sha256: "ffb60516a7afb9348ccb21f63def5fe752da69c150fb4edd2cc25ac3b9abd03f" },
223370
+ { key: "assets/LightboxViewer-CmqJyk-V.js", contentType: "application/javascript; charset=utf-8", offset: 21701, length: 17379, sha256: "e4cc58c1fe2ad22fa5ac2699b8748e33f4eafecbda9de753d69ab0f73bb36b78" },
223371
+ { key: "assets/OfflineReadingBar-x9QX1Ztf.js", contentType: "application/javascript; charset=utf-8", offset: 39080, length: 1646, sha256: "b1f37d92bafbbaeb7c54506289fb27324295c22bb7cf83f0f2ead694fc2cfcb9" },
223372
+ { key: "assets/PhonePreviewControl-CTzRcShP.js", contentType: "application/javascript; charset=utf-8", offset: 40726, length: 37851, sha256: "83a0d6bf27e7875809331d37d9fb46fa6126373ba0d1b91de1f9a32aefa60f6d" },
223373
+ { key: "assets/SchemeCompare-fOu6xGMF.js", contentType: "application/javascript; charset=utf-8", offset: 78577, length: 1858, sha256: "cf168ab35330f3bb8cca2b768e23f3ca6803eb00d8558d0c76597c55423ca30a" },
223374
+ { key: "assets/WixFrogTelemetrySink-DoWPFey5.js", contentType: "application/javascript; charset=utf-8", offset: 80435, length: 3515, sha256: "8715a8d1af67031bc89eb422625b5a7a01a674bf363d2e7695443d284ee5838b" },
223352
223375
  { key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 83950, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
223353
223376
  { key: "assets/catalog-CAoUWITw.js", contentType: "application/javascript; charset=utf-8", offset: 86142, length: 26046, sha256: "4c270ca3051f77d761aef1297125e02339d48493dd2b84a0cacf0faf41aa8cb3" },
223354
- { key: "assets/catalogFontFaces-Bw4Yj1y0.js", contentType: "application/javascript; charset=utf-8", offset: 112188, length: 1111, sha256: "b5eb5561dbdfb25b78cf7f6e7a265d4e666e29b9f469e16cf4e1a4a5665e1d5b" },
223377
+ { key: "assets/catalogFontFaces-RhXh-sRZ.js", contentType: "application/javascript; charset=utf-8", offset: 112188, length: 1111, sha256: "05fab3a1092d7ea8b6edc8c88109d7cbfbd33202a09665324f706031283e2587" },
223355
223378
  { key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 113299, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
223356
- { key: "assets/files-transfer-Bm9a_nja.js", contentType: "application/javascript; charset=utf-8", offset: 115866, length: 6446, sha256: "2f86fea05f6ce8d97db7e115ff96482ac58abed872cef02f1c9b35db56810eb5" },
223379
+ { key: "assets/files-transfer-Db4v5kYg.js", contentType: "application/javascript; charset=utf-8", offset: 115866, length: 6446, sha256: "674ec4f0c29ad63d46383fe23d256eeaebc563d07d07458ba088d00fe8e79435" },
223357
223380
  { key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 122312, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
223358
- { key: "assets/frogApiRules-D0pCkAFA.js", contentType: "application/javascript; charset=utf-8", offset: 123484, length: 2207, sha256: "7dfbd57fff215a013fcf2959dac0fc0b790af4a225801ad90fa45e3288fa8170" },
223381
+ { key: "assets/frogApiRules-lTaxVhyG.js", contentType: "application/javascript; charset=utf-8", offset: 123484, length: 2207, sha256: "ee72668b4ad80103ee5982c06cd4fe50f15e4c180e8b3199f8acf45dc4501c93" },
223359
223382
  { key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 125691, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
223360
223383
  { key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 126758, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
223361
223384
  { key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 133336, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
223362
- { key: "assets/index-Di1VxBp1.js", contentType: "application/javascript; charset=utf-8", offset: 136040, length: 1569305, sha256: "14b0f93fad0fda9628fbd22197b0bd9a78d907ae5e998924320b661f03c69df7" },
223363
- { key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1705345, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
223364
- { key: "assets/pdf-Bqxfdy1P.js", contentType: "application/javascript; charset=utf-8", offset: 1713096, length: 488215, sha256: "4f58be42c5c8007715860f364adb1cdcb02156d76672fa38ba7ea412ee8fac2a" },
223365
- { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2201311, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
223366
- { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2201401, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
223367
- { key: "assets/pdfDocument-ClKFxMXe.js", contentType: "application/javascript; charset=utf-8", offset: 3518435, length: 3470, sha256: "280f11274be32a2c45f91af6c69b9b56c08d12f8cd18878b95724ab134ae4353" },
223368
- { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3521905, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
223369
- { key: "assets/webviewBridgeHost-B9LFOEen.js", contentType: "application/javascript; charset=utf-8", offset: 3524171, length: 9888, sha256: "3a8b8747b87571082815b681915af94ce51137ca2e3f7481b50ee5350d461d45" },
223370
- { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3534059, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
223371
- { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3538669, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
223372
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4027253, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
223373
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4118177, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
223374
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4209161, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
223375
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4300141, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
223376
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4391013, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
223377
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4481993, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
223378
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4590629, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
223379
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4699713, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
223380
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4808761, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
223381
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4916461, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
223382
- { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5004569, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
223383
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 5011387, length: 4924, sha256: "141b2f9ab1c72d2f48d4b262667aa45064efc528ab04b1f8a36a0d68a4cbe30a" },
223384
- { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5016311, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
223385
- { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5027768, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
223386
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5028939, length: 23047, sha256: "20d1459e3f896f344e478e613d0c979a0de02e81a929a45d3a0ef6a53af36441" },
223387
- { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5051986, length: 23064, sha256: "8655cfe9c74212ec5dafecb49d2fdeb48b19f1bd8a710091e3e55631f9b4ab06" }
223385
+ { key: "assets/index-DRLLtYCR.js", contentType: "application/javascript; charset=utf-8", offset: 136040, length: 1571466, sha256: "a30807746525944839d06e84c27575d8a1ab7ec9e6bc0f28bdfc195b646616ed" },
223386
+ { key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1707506, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
223387
+ { key: "assets/pdf-B7NKswOM.js", contentType: "application/javascript; charset=utf-8", offset: 1715257, length: 488215, sha256: "7ab5a2bf38ae2fac24a82093d45c9aee14bc55bb8b4f4edf2608d5d258bd3829" },
223388
+ { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2203472, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
223389
+ { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2203562, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
223390
+ { key: "assets/pdfDocument-DOKMt7i7.js", contentType: "application/javascript; charset=utf-8", offset: 3520596, length: 3470, sha256: "f50d120f9d9433ca69107d89f9031aa8ae56edd30f02d22ea006e03a1da8ceeb" },
223391
+ { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3524066, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
223392
+ { key: "assets/webviewBridgeHost-BmffrLcb.js", contentType: "application/javascript; charset=utf-8", offset: 3526332, length: 9888, sha256: "f2c83b6258894264a32dc77f699ef5fa029e4ede8543c242ddb86a48b748766c" },
223393
+ { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3536220, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
223394
+ { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3540830, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
223395
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4029414, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
223396
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4120338, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
223397
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4211322, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
223398
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4302302, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
223399
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4393174, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
223400
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4484154, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
223401
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4592790, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
223402
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4701874, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
223403
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4810922, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
223404
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4918622, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
223405
+ { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5006730, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
223406
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 5013548, length: 4924, sha256: "132dc65826ab1038b770ef066b1e03f94d98f089adfebecda10c9326ecae17c2" },
223407
+ { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5018472, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
223408
+ { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5029929, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
223409
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5031100, length: 23047, sha256: "20d1459e3f896f344e478e613d0c979a0de02e81a929a45d3a0ef6a53af36441" },
223410
+ { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5054147, length: 23064, sha256: "8655cfe9c74212ec5dafecb49d2fdeb48b19f1bd8a710091e3e55631f9b4ab06" }
223388
223411
  ];
223389
223412
  }
223390
223413
  });
@@ -250612,7 +250635,7 @@ var USAGE = `himi \u2014 the Himalaya authoring CLI (remote dev loop)
250612
250635
  carries no attestation, source archive, assets, icon or
250613
250636
  minBinaryVersion \u2014 all named in the output.
250614
250637
  himi dist [--app <a>] [--platform ios,android] [--release <id>] [--allow-draft] [--target <t>]
250615
- [--shell branded-lite|owner-lite|brandy|base44|player|demo-app] [--signing wix-managed|byo]
250638
+ [--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app] [--signing wix-managed|byo]
250616
250639
  [--android-signing qa-keystore|wix-keystore|debug|owner] [--aab]
250617
250640
  [--package-name <id> --google-services <file>]
250618
250641
  [--app-name <name> --app-icon-url <url>]
@@ -250626,10 +250649,12 @@ var USAGE = `himi \u2014 the Himalaya authoring CLI (remote dev loop)
250626
250649
  the in-repo default is a local dev plane that isn't
250627
250650
  reachable off-repo.
250628
250651
  --shell picks the native host to sign into (branded-lite |
250629
- owner-lite | brandy | base44 | player | demo-app). branded-lite,
250630
- owner-lite, brandy and base44 ADD the release's declared
250631
- capabilities to the binary; player and demo-app refuse a
250632
- release declaring one they lack. --plan shows what a build
250652
+ owner-lite | brandy | base44 | game | player | demo-app).
250653
+ game is the Godot game shell \u2014 the only one that serves
250654
+ godot. branded-lite,
250655
+ owner-lite, brandy, base44 and game ADD the release's declared
250656
+ capabilities to the binary; player and demo-app
250657
+ refuse a release declaring one they lack. --plan shows what a build
250633
250658
  would add, without building. --signing defaults to
250634
250659
  wix-managed: the Wix Apple account mints a per-app
250635
250660
  identity for the build, so you provision nothing.
@@ -251090,7 +251115,7 @@ var COMMANDS = [
251090
251115
  { name: "patch", summary: 'change ONE item of a published app \u2014 a screen descriptor, a Tier-5 bundle, tokens, or the app-config baseline \u2014 from a RAW FILE, with no content package and no build. The low-level door: it does not lint your package, because there is no package here; `himi push --only <selector>` is the same edit with the full build + lint gate and is what to reach for when the package is in hand. Derives a new release from the app\'s current LIVE release, or from `--from-release <id>`. An explicit `--draft` or `--live` is REQUIRED \u2014 a patch has no default blast radius \u2014 and `--notes` is required with `--live` on a screen or app-config patch, because off-repo `gitSha` is "dev" and the ledger notes are then the only durable record of bytes that correspond to no commit. A branch does not merge: activating one derived from an older release reverts every item the patch does not move, so that case is refused until `--accept-regressions`. A bundle patch must repoint a screen (`--for-screen`) or the bytes land under a manifest key nothing reads. It cannot ADD a screen (screens are git-only, RFC 0012), never claims a slug \u2014 the app must already be published \u2014 and carries no attestation, source archive, assets, icon or minBinaryVersion, each named in the output.', required: "screen <id> --file <descriptor.json> [--bundle <sha256|none>] | bundle --file <bundle.js> (--for-screen <id>[,<id>] | --no-rebind) | tokens --file <tokens.json> | app-config --file <app-config.json> ; (--draft|--live) --app <a> [--from-release <id>] [--accept-regressions] [--label <n>] [--notes <t>] [--force] [--allow-binary-gap] [--target <t>] (--control-token)" },
251091
251116
  { name: "flags", summary: "read and change the app's OPERATIONAL flags (RFC 0013) \u2014 `list` prints what the DEVICE door serves, `set <key> --definition` creates or replaces one, `ramp <key>` moves its rollout share or kills it, `rm <key>` deletes it and echoes the definition back so the removal is reversible. Every write is followed by a read of the same door the device uses, and the answer is reported as `servedNow`: flags are stored in the app's git-committed flags.json, so a control plane with no checkout accepts a write it will never serve.", required: "list|set|ramp|rm [<key>] [--definition <json|@file>] [--percent 0-100] [--enabled true|false] [--app <a>] (--control-token)" },
251092
251117
  { name: "visibility", summary: "read (no value) or set whether the public registry (/v1/apps + the Himi Player picker) LISTS the app. `public` lists it for everyone; `unlisted` hides it from listings while direct reads by app id \u2014 deep links, previews \u2014 keep working. App from --app or the content dir. Setting it needs no republish.", required: "[public|unlisted] [--app <a>] [--content <dir>] (--control-token)" },
251093
- { name: "dist", summary: "build an INSTALLABLE QA binary (signed IPA / APK) on the Wix Job Service Mac pool and return an install link \u2014 the serve plane brokers the job, the pool builds it. WAITS for the build by default (~4 min) and prints the install link; `--no-wait` returns a jobId immediately instead. Omitting `--release` builds whatever is LIVE for the app. A named draft is refused unless `--allow-draft` makes that exceptional build explicit. `status <jobId>` / `watch <jobId>` / `list --app <a>` / `cancel <jobId>` inspect and stop builds (`watch` reports up front whether the job mints its own signing identity or borrows one, so a doomed iOS build is cancellable in seconds rather than after the archive). Off-repo, name a target \u2014 `--target wix` for a self-serve Wix login or `--target bo` for the internal employee path (the in-repo default is a local dev plane that isn't reachable off-repo); self-serve callers may build their OWN apps under a tighter budget (2 in flight / 5 per 24h), while a manage-only owner-role credential is refused. `--shell` picks the native host to sign into (branded-lite | owner-lite | brandy | base44 | player | demo-app) and defaults to the content package's himalaya.content.json `shell` (templates carry the one they were written for), else branded-lite. The per-app shells ADD the release's declared capabilities to the binary, while Himi Player and demo-app refuse a release declaring one they lack; `--plan` previews it without building; `brandy` is the site shell \u2014 the customer's own website as native-framed tabs. `--signing` defaults to `wix-managed` \u2014 the Wix Apple account mints a per-app signing identity for the build, so the caller provisions no Apple credentials of their own; `--signing byo --site <id>` reuses an existing customer ad-hoc profile and certificate for iOS; requires an owned site and a completed personal signing binding. `--android-signing` is the Android counterpart and a SEPARATE axis (a keystore, not an Apple account): `qa-keystore` (default \u2014 the repo's committed QA key, identical on every pool machine, so a build installs over the previous one), `wix-keystore` (the Wix key the pool machine carries; the build FAILS naming the paths searched if it carries none, rather than quietly signing with something else), or `debug` (the old per-machine key \u2014 QA must uninstall any previous build first). `--aab` builds an Android App Bundle (.aab) for the owner to upload to Google Play AND an APK from the same build \u2014 a download link for the .aab, an install link and QR for the APK; Android only; the bundle is signed with the Wix production key (`wix-keystore`, the upload key Branded apps use) \u2014 any other `--android-signing` is refused \u2014 and the APK with the committed QA key; a self-serve caller gets one only as the store build of its own Containers app (it must own the app's site, and `--aab` sends your Wix login); any other self-serve `--aab` gets 403 android_format_not_allowed. `--app-name <name> --app-icon-url <url>` (together; the icon a `https://static.wixstatic.com/media/<file>` URL) give the binary a name and icon in place of the release's, and a Containers app's store build (`--aab`, or its TestFlight build) needs both. NOT the normal way to ship: screens, Tier-5 bundles, tokens and app-config all go over the air with `himi push` in seconds \u2014 a binary trip is only needed for a NATIVE delta (a new SDUI component, a new declared capability/entitlement, a new bundle id, or a minBinaryVersion floor bump). Refuses to build an app whose launcher icon is missing, a placeholder, or one a store would reject \u2014 the one thing a binary carries that no later OTA push can fix; `--force` builds anyway. Also refuses a release whose member login (WixConsumerAuthProvider) names no siteId, or not in lower case, when Wix says its site requires a member CAPTCHA \u2014 such a binary ships without the CAPTCHA key and every member sign-in fails; whatever it cannot read (the release, the site's setting) only warns and builds; `--skip-captcha-check` builds anyway", required: "[--app <a>] [--platform ios,android] [--release <id>] [--allow-draft] [--target <t>] [--shell branded-lite|owner-lite|brandy|base44|player|demo-app] [--signing wix-managed|byo] [--site <id>] [--android-signing qa-keystore|wix-keystore|debug] [--aab] [--app-name <name> --app-icon-url <url>] [--borrow-ios-id <bundleId>] [--no-wait] [--force] [--skip-captcha-check] [--plan] | status <jobId> [--target <t>] | watch <jobId> [--target <t>] [--interval <ms>] | list --app <a> [--target <t>] | cancel <jobId> [--target <t>]" },
251118
+ { name: "dist", summary: "build an INSTALLABLE QA binary (signed IPA / APK) on the Wix Job Service Mac pool and return an install link \u2014 the serve plane brokers the job, the pool builds it. WAITS for the build by default (~4 min) and prints the install link; `--no-wait` returns a jobId immediately instead. Omitting `--release` builds whatever is LIVE for the app. A named draft is refused unless `--allow-draft` makes that exceptional build explicit. `status <jobId>` / `watch <jobId>` / `list --app <a>` / `cancel <jobId>` inspect and stop builds (`watch` reports up front whether the job mints its own signing identity or borrows one, so a doomed iOS build is cancellable in seconds rather than after the archive). Off-repo, name a target \u2014 `--target wix` for a self-serve Wix login or `--target bo` for the internal employee path (the in-repo default is a local dev plane that isn't reachable off-repo); self-serve callers may build their OWN apps under a tighter budget (2 in flight / 5 per 24h), while a manage-only owner-role credential is refused. `--shell` picks the native host to sign into (branded-lite | owner-lite | brandy | base44 | game | player | demo-app) and defaults to the content package's himalaya.content.json `shell` (templates carry the one they were written for), else branded-lite. The per-app shells ADD the release's declared capabilities to the binary, while Himi Player and demo-app refuse a release declaring one they lack; `--plan` previews it without building; `brandy` is the site shell \u2014 the customer's own website as native-framed tabs; `game` is the Godot game shell, the only one that serves `godot`. `--signing` defaults to `wix-managed` \u2014 the Wix Apple account mints a per-app signing identity for the build, so the caller provisions no Apple credentials of their own; `--signing byo --site <id>` reuses an existing customer ad-hoc profile and certificate for iOS; requires an owned site and a completed personal signing binding. `--android-signing` is the Android counterpart and a SEPARATE axis (a keystore, not an Apple account): `qa-keystore` (default \u2014 the repo's committed QA key, identical on every pool machine, so a build installs over the previous one), `wix-keystore` (the Wix key the pool machine carries; the build FAILS naming the paths searched if it carries none, rather than quietly signing with something else), or `debug` (the old per-machine key \u2014 QA must uninstall any previous build first). `--aab` builds an Android App Bundle (.aab) for the owner to upload to Google Play AND an APK from the same build \u2014 a download link for the .aab, an install link and QR for the APK; Android only; the bundle is signed with the Wix production key (`wix-keystore`, the upload key Branded apps use) \u2014 any other `--android-signing` is refused \u2014 and the APK with the committed QA key; a self-serve caller gets one only as the store build of its own Containers app (it must own the app's site, and `--aab` sends your Wix login); any other self-serve `--aab` gets 403 android_format_not_allowed. `--app-name <name> --app-icon-url <url>` (together; the icon a `https://static.wixstatic.com/media/<file>` URL) give the binary a name and icon in place of the release's, and a Containers app's store build (`--aab`, or its TestFlight build) needs both. NOT the normal way to ship: screens, Tier-5 bundles, tokens and app-config all go over the air with `himi push` in seconds \u2014 a binary trip is only needed for a NATIVE delta (a new SDUI component, a new declared capability/entitlement, a new bundle id, or a minBinaryVersion floor bump). Refuses to build an app whose launcher icon is missing, a placeholder, or one a store would reject \u2014 the one thing a binary carries that no later OTA push can fix; `--force` builds anyway. Also refuses a release whose member login (WixConsumerAuthProvider) names no siteId, or not in lower case, when Wix says its site requires a member CAPTCHA \u2014 such a binary ships without the CAPTCHA key and every member sign-in fails; whatever it cannot read (the release, the site's setting) only warns and builds; `--skip-captcha-check` builds anyway", required: "[--app <a>] [--platform ios,android] [--release <id>] [--allow-draft] [--target <t>] [--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app] [--signing wix-managed|byo] [--site <id>] [--android-signing qa-keystore|wix-keystore|debug] [--aab] [--app-name <name> --app-icon-url <url>] [--borrow-ios-id <bundleId>] [--no-wait] [--force] [--skip-captcha-check] [--plan] | status <jobId> [--target <t>] | watch <jobId> [--target <t>] [--interval <ms>] | list --app <a> [--target <t>] | cancel <jobId> [--target <t>]" },
251094
251119
  { name: "testflight", summary: 'build, sign and upload an app to TestFlight (internal testers \u2014 no Beta App Review), then WAIT until App Store Connect finishes processing it. Sugar for `store upload --track testflight`. Prompts first: a build number is consumed permanently on a real Apple account and cannot be reused \u2014 `--yes` for CI, `--dry-run` to see the plan without touching anything. The wait is the real check, not a nicety: fastlane prints "Successfully uploaded" for a binary App Store Connect then rejects in processing, and a rejected binary leaves NO build record at all (the reason is emailed). Public App Store review is deliberately NOT automatable here \u2014 `--track appstore` is refused; use /submit-ios-app when you mean to go public', required: "<app> [--track testflight|internal] [--profile <name>] [--yes] [--dry-run] [--skip-build] [--no-wait] [--json]" },
251095
251120
  { name: "store", summary: "`app set --app <id> --site <msid> --android-package himi.<name>` gives an app YOUR account owns (one made with `himi init`) the Google Play store app of a Wix site your account also owns, so `himi dist --aab` makes its Wix-signed (WixOne) Play bundle: the app is LINKED to the site, never converted into a site app, so your `himi login` token keeps working for push and the rest. One site per app and one app per site; the package name is permanent once a build locks it. `app show --app <id> --site <msid>` runs the store build's checks without building (saved package name, the site's Premium plan). Both send your `himi login` control token plus the account `wix token`, which the plane uses to verify your account owns the app and the site (`himi docs qa-builds`). `apple-keys setup|status` onboards the owner\u2019s ASC and In-App Purchase keys independently of push and signing profiles. `connect` and `submission status|plan|apply|rejection|reply` submit an app to the App Store from YOUR computer under YOUR Apple account, off-repo (Node 24+): `connect` opens a sign-in page on 127.0.0.1 where you type your Apple ID password and 2FA code (no flag takes them) and creates an Admin API key saved in this computer's keychain, shared with Wix for App Store builds when the app's store/app-store.json names its site; `submission plan` plans the next ordered batch and `apply` applies it only after you type the plan hash's first 8 characters (or click Approve on a local page). The same steps are the store_* tools of `himi mcp` (`himi docs store-submission`). `handoff` uploads the app's asc-node records (allowlisted ids, statuses and outcomes; never keys, cookies or passwords) so Wix RelOps can take the submission over, `--out`/`--dry-run` keep it local; `relops request` records your consent that RelOps may act for the app (`--scope read` by default, or `read,submit`; `--platform android` adds the Google Play scopes `android-build` and `play-console`; you type the app id, or pass --yes). Both are site-owner only. The App Store Connect group behind `testflight`. `preflight <app>` checks readiness offline (icon, entitlements, encryption flag, version, store.config ids, listing + review record); `upload <app>` is what `testflight` runs; `status <app>` reads live build + processing state. `--profile` selects WHICH App Store Connect account: an app built for a Wix customer ships under the CUSTOMER's Apple team (Apple guideline 4.2.6 forbids an app-generation service submitting on a client's behalf), declared per-app as ios.credentialProfile in store.config.yaml and resolved from ~/.himalaya/store-credentials/<name>.json \u2014 the .p8 itself never enters the repo. `iap draft|plan|apply|status|connect|screenshots|check|mappings` registers an app owner's digital products as in-app purchases (non-consumables, or consumable price tiers): draft reads the Wix catalog and writes the manifest, plan and status only read, apply is the one App Store mutation boundary, connect readies the Wix site to sell them (purchases app, In-App Purchase key, appleIAP provider, product mappings; --preview-tag routes only its Serve calls to a deploy preview), legacy screenshots --profile renders each product's purchase screen from the app (--content) as a bound iPhone shows it to a signed-in member and names the 1290\xD72796 PNG as the item's App Review screenshot, and none of them builds, signs or needs a checkout (`himi docs iap-products`) IAP provisioning defaults to Catalog; managed apply generates screenshots on the server with no local .p8 or profile fallback; --managed is optional and --profile selects legacy mode; --catalog-route or HIMI_IAP_CATALOG_ROUTE has no default.", required: "app set --app <id> --site <msid> --android-package himi.<name> | app show --app <id> --site <msid> | connect [--dir <app>] [--app <id> --site <msid>] [--no-key] [--profile <name>] | submission status|plan|rejection [--dir <app>] [--apple-id <id>] [--profile <name>] | submission apply (--batch <id> | --job <id>) --plan-hash <hash> | submission reply --text <reply> [--attach <file>]\u2026 [--thread <id>] [--dir <app>] | handoff [--dir <app>] [--app <id> --site <msid>] [--apple-app-id <id>] [--out <file> | --dry-run] | relops request [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--scope read|read,submit] [--yes] | apple-keys setup|status --app <slug> --site <metaSiteId> --bundle-id <id> [--asc-key-file <p8> --asc-key-id <id> --asc-issuer-id <issuer>] [--iap-key <p8> --iap-key-id <id> --iap-issuer-id <issuer>] [--yes|--dry-run] [--json] | preflight <app> [--profile <n>] | upload <app> [--track <t>] [--profile <n>] [--yes] [--dry-run] | status <app> [--profile <n>] | iap draft --site <msid> " + IAP_CREDENTIAL_OPTIONS + " --apple-app <id> --bundle <id> --base-territory <t> --out <f> [--territories <a,b>] [--locale <l>] [--mode per-item|tiers] [--merge <f>] [--report <f>] [--json] | iap plan --manifest <f> " + IAP_CREDENTIAL_OPTIONS + " --out <f> [--json] | iap apply --plan <f> " + IAP_CREDENTIAL_OPTIONS + " --out <f> [--yes] [--limit <n>] [--no-submit] [--json] | iap status --manifest <f> " + IAP_CREDENTIAL_OPTIONS + " [--out <f>] [--json] | iap connect --manifest <f> [--profile <n>] [--catalog-route <prefix>] [--iap-key <AuthKey.p8> --iap-key-id <id>] [--content <dir>] [--preview-tag dp-<tag>] [--dry-run] [--yes] [--out <f>] [--json] | iap screenshots --manifest <f> --content <dir> --profile <n> [--out-dir <d>] [--only <id,\u2026>] [--force] [--dry-run] [--json] | iap check --manifest <f> --catalog-route <prefix> [--purchases-app <id>] [--content <dir>] [--plist <file>] [--visitor-client <id>] [--json] | iap mappings --site <msid> --purchases-app <id> --catalog-route <prefix> [--product <id> --active true|false --yes] [--json]" },
251096
251121
  { name: "guide", summary: "print the Himalaya overview + headless dev loop + available topics (offline)", required: "[--json]" },
Binary file
package/guides/skill.md CHANGED
@@ -80,7 +80,7 @@ These are agent instructions, not a claim that the CLI enforces a reading or ret
80
80
  1. **Discover before building.** Start by learning the business goal, intended users and roles, their most important jobs, success criteria, branding, preferred platforms, and existing data/auth systems. When customers book or buy, ask **how they pay** — online, in person, with a plan, or free — and before you plan a booking or checkout flow, check each service's payment mode in the business book (`book.md` → Catalog, e.g. `pay online only`): a "book now, pay on the visit" flow is impossible for a service the site sells online only. Ask only the questions needed to make a sound plan.
81
81
  - **If their first message already names a template** (*starting from the "Beauty Salon" template (beauty-salon)*), they copied that sentence off a showcase app they just looked at and liked. Treat it as a strong preference and a useful signal about what they want — not as a completed plan, and not as permission to skip this step. Say what that template is, keep it as the working starting point, and still run discovery; if what you learn points elsewhere, say so and let them choose. Templates ARE running apps, so `himi template list --remote` plus its preview URL is also the fastest way to show them an alternative rather than describe one.
82
82
  2. **Classify the starting point.** Use exactly one primary path:
83
- - **Wix site owner:** they have a published Wix site. Ask for its URL and whether Wix Headless is already configured; do not request identifiers or credentials, and do not connect it yet. Looking at the site itself is not one of the things you wait for — they published it, so open its public pages and read what is on them whenever the plan needs it. That is the visitor-only read, which is all an analysis can reach without the site id you have not asked for: `himi site analyze --url <their site>` with nothing else reads the published pages, their look and copy, and flags template leftovers. The per-vertical catalog counts and `--apply` also need the site's Headless client id (`--client-id`), which comes with the connection step, not before it.
83
+ - **Wix site owner:** they have a published Wix site. **Any Wix site works** — built in the Wix Editor or Studio (with or without Velo) or as a Wix Headless project. "Headless" in this skill means the site's *Headless client*, an OAuth app the connection step adds to whatever site they have; it is never a reason to stop, to ask which editor built the site, or to suggest rebuilding it. Ask for its URL; do not request identifiers or credentials, and do not connect it yet. Looking at the site itself is not one of the things you wait for — they published it, so open its public pages and read what is on them whenever the plan needs it. That is the visitor-only read, which is all an analysis can reach without the site id you have not asked for: `himi site analyze --url <their site>` with nothing else reads the published pages, their look and copy, and flags template leftovers. The per-vertical catalog counts and `--apply` also need the site's Headless client id (`--client-id`), which comes with the connection step, not before it.
84
84
  - **Wix business with no site yet:** they want a Wix-backed app but have nothing to bind to. Tell them a site can be provisioned for them — `himi site create` makes one from a Wix template with the verticals installed and mints the Headless client the app binds to — but it creates a **real, billable site on their Wix account** and is not cleanly reversible, so it is an approval gate (below), never something you run to explore. Until they approve, plan against the data model rather than a live site.
85
85
  - **Wix Headless / Back Office business:** no public site is needed. Understand roles, operational workflows, Wix verticals, CMS collections, APIs, authentication, and what data may be read or written.
86
86
  - **Existing Base44 app:** ask for its published URL and which sign-in methods its users rely on. The public URL can be read with `himi base44 analyze --url <url>`; this visitor pass does not expose entity schemas. For a plan based on the app's real entities and functions, get approval to read its private source and sample data, then ask the owner/editor to sign in with `himi base44 login` and use the app ID from their Base44 editor URL with `himi base44 analyze --app-id <id>`. Never ask them to paste an access token. Use the Base44 conversion guide at https://apps.wix.com/_api/himi-serve/docs/base44-app-to-himi-app.md; check its auth and native-device limits before promising a flow.
@@ -185,7 +185,7 @@ and is also served at the public URL above. No repository access is required.
185
185
  - **Your platform already holds the owner's Wix session or token** (they connected their Wix account to it): that token **is** the owner. Any valid Wix token can manage that account's apps, publishing included. Pipe it in — `printf '%s' "$TOKEN" | himi login --wix --wix-token-stdin --target wix` — or set `WIX_TOKEN` and run `himi login --wix --target wix`. Never put a token on the command line (argv shows in `ps` and transcripts) or in a file you commit, and never print it.
186
186
  - **A server or CI job** with an account API key: `WIX_API_KEY` + `himi login --wix --target wix`.
187
187
  - **You hold no token at all:** run `himi login --device --target wix`. It prints a link and a short code. Show the owner both, ask them to open the link on any device where they are signed in to wix.com, check the code matches and approve, then wait: the command returns once they approve (up to 10 minutes). **If the app needs the owner's live site data, add `--site <msid>`** (and `--redirect-uri <uri>` when the app signs members in with its own redirect): the owner picks or confirms that site on the same approve page, and the result's `site` block carries the site's Headless client id (`site.clientId`, a public value — no Wix token reaches you). It is kept per site, so `himi site client list --site <msid>` answers with it afterwards. If `site` carries an `error` instead, the sign-in still worked: give the owner `site.fallbackUrl` to copy the client id from their dashboard.
188
- - **If your environment can't run a command for about 10 minutes, or only shows a command's output once it exits,** don't run the waiting form. Run `himi login --device --no-wait --target wix` (with `--site` / `--redirect-uri` if you need them): it prints the link, the code and when the code expires, and exits at once. Show the owner the link and the code with whatever your environment uses to ask the user to act (a message, a "needs you" item), then run `himi login --device --resume --target wix` until it succeeds. Each resume waits at most 50 seconds (`--timeout <seconds>` changes that). Exit 3 with `code: "device_pending"` means the owner has not approved yet, so run it again; exit 0 means you are signed in. `device_code_expired`, `device_access_denied` or `device_not_started` mean start again with `--no-wait` and a new code.
188
+ - **If your environment can't run a command for about 10 minutes, or only shows a command's output once it exits,** don't run the waiting form. Run `himi login --device --no-wait --target wix` (with `--site` / `--redirect-uri` if you need them): it prints the link, the code and when the code expires, and exits at once. Show the owner the link and the code with whatever your environment uses to ask the user to act (a message, a "needs you" item), then run `himi login --device --resume --target wix` until it succeeds. Each resume waits at most 50 seconds (`--timeout <seconds>` changes that). Exit 3 with `code: "device_pending"` means the owner has not approved yet, so run it again; exit 0 means you are signed in. `device_code_expired`, `device_access_denied` or `device_not_started` mean start again with `--no-wait` and a new code, repeating the `--site` / `--redirect-uri` you first passed (`--resume` does not take them, and a bare retry loses the site connection). If your run ends while the owner has not approved yet (you raised a "needs you" item and stopped), the code is dead ten minutes later: when you are resumed, run `--resume` first, and if the code expired, mint a new one with that same full `--no-wait` command and show the new link. Never re-show an old code. Once `--resume` exits 0, carry on with the work in that same run; do not stop to ask whether to continue.
189
189
  - **None of these:** stop and say exactly what is missing. Do not improvise another route to a himi token.
190
190
 
191
191
  This replaces only the sign-in. The approval gates above still apply to every side effect.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1680.0",
3
+ "version": "0.1681.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": [
@@ -79,5 +79,5 @@
79
79
  "artifactId": "himalaya-cli"
80
80
  }
81
81
  },
82
- "falconPackageHash": "88e481ba051daa219fc6f0e90a2256bc136eca9d28de0c4e066d09c6"
82
+ "falconPackageHash": "465959bc96548a8372ce4e27c2f289d4de7ff282d3a1e57f35935ec3"
83
83
  }