@wix/himalaya-cli 0.2031.0 → 0.2033.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.
|
@@ -86,9 +86,14 @@ export interface ServedWixApiRule {
|
|
|
86
86
|
fields: Record<string, string | number>;
|
|
87
87
|
/** #6880 — see `WixApiBiRule.when`; a rule carrying one is served only under `frog.apiRulesV2`. */
|
|
88
88
|
when?: Record<string, string | boolean>;
|
|
89
|
+
/** Source only, never served: the frog `mobileAppId`s a `when` rule is served to. `apiRulesV2` repeats
|
|
90
|
+
* every rule, so an app no `when` rule names is served none (#6926: owner-lite's release app-config
|
|
91
|
+
* went over serve-control's 64 KiB item cap with a copy of rules only Nano calls). */
|
|
92
|
+
mobileAppIds?: string[];
|
|
89
93
|
}
|
|
90
|
-
export declare function servedWixApiRules(): ServedWixApiRule[];
|
|
91
|
-
export declare function servedWixApiRulesV2(): ServedWixApiRule[] | undefined;
|
|
94
|
+
export declare function servedWixApiRules(modules?: readonly string[]): ServedWixApiRule[];
|
|
95
|
+
export declare function servedWixApiRulesV2(mobileAppId?: string | null, modules?: readonly string[]): ServedWixApiRule[] | undefined;
|
|
96
|
+
export declare function mobileAppIdMatches(scope: string, mobileAppId: string): boolean;
|
|
92
97
|
export declare function splitServedWixApiRules(rules: readonly ServedWixApiRule[]): {
|
|
93
98
|
apiRules: ServedWixApiRule[];
|
|
94
99
|
apiRulesV2?: ServedWixApiRule[];
|
|
@@ -234,6 +239,10 @@ export interface WixPlatformConfig {
|
|
|
234
239
|
mobileAppId?: string;
|
|
235
240
|
/** oneapp: logger version `_lv`. Default `1.0.0|Himi`. */
|
|
236
241
|
lv?: string;
|
|
242
|
+
/** oneapp: serve only the Wix API bridge rules (`core/schema/bi/wix-api-rules.json`) of these RN logger
|
|
243
|
+
* `module`s, for an app whose calls never reach the shared verticals (Nano: `["nano"]`). Default: every
|
|
244
|
+
* rule. Keeps the app-config under serve-control's 64 KiB item cap (#6926). */
|
|
245
|
+
apiRuleModules?: string[];
|
|
237
246
|
};
|
|
238
247
|
/** Petri experiment scope (the conduction namespace for this app). */
|
|
239
248
|
experiments?: {
|
package/dist/cli.mjs
CHANGED
|
@@ -3964,6 +3964,7 @@ var init_himi_package = __esm({
|
|
|
3964
3964
|
var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
|
|
3965
3965
|
var init_icon_catalog_generated = __esm({
|
|
3966
3966
|
"../../core/ts/src/icon-catalog.generated.ts"() {
|
|
3967
|
+
"use strict";
|
|
3967
3968
|
init_define_HHP_CATALOG();
|
|
3968
3969
|
ICON_VIEW_BOX = 24;
|
|
3969
3970
|
ICON_STROKE_WIDTH = 2;
|
|
@@ -9171,6 +9172,21 @@ var init_dist_jobs = __esm({
|
|
|
9171
9172
|
provisioningEnv: "DEMO_APP_PROVISIONING_JSON",
|
|
9172
9173
|
embeddedSuffixes: ["widgets"],
|
|
9173
9174
|
extensibleCapabilities: false
|
|
9175
|
+
},
|
|
9176
|
+
// Nano (#4675): an in-repo app with its own native tree, so a QA build is Nano's binary rather
|
|
9177
|
+
// than Nano's content in another shell. Its committed `.dev` ids never replace the store app
|
|
9178
|
+
// `com.wix.nano` (the adopted lane builds that one). Not brandable and not extensible: it has no
|
|
9179
|
+
// prepare:customer. No Mac id: Nano has no Mac release (apps/nano/README.md, "Known gaps").
|
|
9180
|
+
// Its iOS project carries the Live Activity markers, so `liveactivity` is listed (dist-signing.test.ts
|
|
9181
|
+
// pins every shell's suffixes to its markers). Nano's config.ts declares no live_activity today, so
|
|
9182
|
+
// the markers stay empty and the pool never asks for that id; the entry is the bound, not a mint.
|
|
9183
|
+
nano: {
|
|
9184
|
+
appDir: "apps/nano",
|
|
9185
|
+
bundleId: { ios: "com.wix.nano.dev", android: "com.wix.nano.dev" },
|
|
9186
|
+
provisioningEnv: "NANO_PROVISIONING_JSON",
|
|
9187
|
+
embeddedSuffixes: ["liveactivity"],
|
|
9188
|
+
extensibleCapabilities: false,
|
|
9189
|
+
hostsApp: "nano"
|
|
9174
9190
|
}
|
|
9175
9191
|
};
|
|
9176
9192
|
DEFAULT_DIST_SHELL = "branded-lite";
|
|
@@ -42929,6 +42945,48 @@ var init_wix_api_rules = __esm({
|
|
|
42929
42945
|
needs: ["submitValues (which of first name, last name, nickname and avatar changed, against the profile the screen opened with: the call carries only the new profile)"],
|
|
42930
42946
|
differs: "The 2xx twin of nano.profile-update-failed-*: only the edit-profile save writes this profile PUT. RN logs after updateCurrentUserProfile resolves, which is this write."
|
|
42931
42947
|
},
|
|
42948
|
+
{
|
|
42949
|
+
id: "nano.widget-pinned",
|
|
42950
|
+
method: "POST",
|
|
42951
|
+
path: "/_api/nano-user-widgets/v1/user-widgets/toggle-widget-pinned-for-current-user",
|
|
42952
|
+
src: 191,
|
|
42953
|
+
endpoint: "oneapp",
|
|
42954
|
+
evid: 202,
|
|
42955
|
+
module: "nano",
|
|
42956
|
+
when: { "$req.pinned": "true" },
|
|
42957
|
+
mobileAppIds: ["nano"],
|
|
42958
|
+
fields: {
|
|
42959
|
+
widgetId: "$req.widgetId",
|
|
42960
|
+
originScreen: "nano.myWidgets",
|
|
42961
|
+
viewName: "nano.myWidgets.actionSheet",
|
|
42962
|
+
buttonName: "nano.myWidgets.actionSheet.pin",
|
|
42963
|
+
value: "pinned"
|
|
42964
|
+
},
|
|
42965
|
+
rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform src/common/components/WidgetActionSheet/widgetActionUtils.ts:231",
|
|
42966
|
+
needs: [],
|
|
42967
|
+
differs: "RN logs this click after changeWidgetPin succeeds, which is this write; the pin's Undo snackbar makes the same call, so it is covered too. The value comes from the request's `pinned`, so one rule per direction (#6880 `when`)."
|
|
42968
|
+
},
|
|
42969
|
+
{
|
|
42970
|
+
id: "nano.widget-unpinned",
|
|
42971
|
+
method: "POST",
|
|
42972
|
+
path: "/_api/nano-user-widgets/v1/user-widgets/toggle-widget-pinned-for-current-user",
|
|
42973
|
+
src: 191,
|
|
42974
|
+
endpoint: "oneapp",
|
|
42975
|
+
evid: 202,
|
|
42976
|
+
module: "nano",
|
|
42977
|
+
when: { "$req.pinned": "false" },
|
|
42978
|
+
mobileAppIds: ["nano"],
|
|
42979
|
+
fields: {
|
|
42980
|
+
widgetId: "$req.widgetId",
|
|
42981
|
+
originScreen: "nano.myWidgets",
|
|
42982
|
+
viewName: "nano.myWidgets.actionSheet",
|
|
42983
|
+
buttonName: "nano.myWidgets.actionSheet.pin",
|
|
42984
|
+
value: "unpinned"
|
|
42985
|
+
},
|
|
42986
|
+
rn: "genericClick 191:202 (@wix/bi-logger-wix-nano-data 1.8.0, endpoint ''): wix-private/nano packages/mobile-apps-nano-platform src/common/components/WidgetActionSheet/widgetActionUtils.ts:231",
|
|
42987
|
+
needs: [],
|
|
42988
|
+
differs: "The unpin half of nano.widget-pinned: the same write with `pinned: false`, Undo included."
|
|
42989
|
+
},
|
|
42932
42990
|
{
|
|
42933
42991
|
id: "nano.widget-info-update-failed-4xx",
|
|
42934
42992
|
method: "PUT",
|
|
@@ -45241,11 +45299,24 @@ function servedActionMapEntry(e2) {
|
|
|
45241
45299
|
fields: e2.fields
|
|
45242
45300
|
};
|
|
45243
45301
|
}
|
|
45244
|
-
function servedWixApiRules() {
|
|
45245
|
-
return splitServedWixApiRules(
|
|
45302
|
+
function servedWixApiRules(modules) {
|
|
45303
|
+
return splitServedWixApiRules(rulesOfModules(modules)).apiRules;
|
|
45304
|
+
}
|
|
45305
|
+
function servedWixApiRulesV2(mobileAppId, modules) {
|
|
45306
|
+
const rules = rulesOfModules(modules);
|
|
45307
|
+
const scoped = mobileAppId === void 0 ? rules : rules.filter((r3) => !r3.when || mobileAppId !== null && (r3.mobileAppIds ?? []).some((s5) => mobileAppIdMatches(s5, mobileAppId)));
|
|
45308
|
+
return splitServedWixApiRules(scoped).apiRulesV2;
|
|
45246
45309
|
}
|
|
45247
|
-
function
|
|
45248
|
-
|
|
45310
|
+
function mobileAppIdMatches(scope3, mobileAppId) {
|
|
45311
|
+
const at2 = scope3.indexOf("{msid}");
|
|
45312
|
+
if (at2 < 0) return scope3 === mobileAppId;
|
|
45313
|
+
const prefix = scope3.slice(0, at2);
|
|
45314
|
+
const suffix = scope3.slice(at2 + "{msid}".length);
|
|
45315
|
+
return mobileAppId.length > prefix.length + suffix.length && mobileAppId.startsWith(prefix) && mobileAppId.endsWith(suffix);
|
|
45316
|
+
}
|
|
45317
|
+
function rulesOfModules(modules) {
|
|
45318
|
+
const rules = wix_api_rules_default.rules;
|
|
45319
|
+
return modules ? rules.filter((r3) => r3.module !== void 0 && modules.includes(r3.module)) : rules;
|
|
45249
45320
|
}
|
|
45250
45321
|
function splitServedWixApiRules(rules) {
|
|
45251
45322
|
const served = rules.map((r3) => ({
|
|
@@ -45295,8 +45366,8 @@ function deriveTelemetryConfig(app2) {
|
|
|
45295
45366
|
cfg.frog.lv = wp.bi.lv || "1.0.0|Himi";
|
|
45296
45367
|
const screenMap = servedScreenMap(app2.name);
|
|
45297
45368
|
if (screenMap) cfg.frog.screenMap = screenMap;
|
|
45298
|
-
cfg.frog.apiRules = servedWixApiRules();
|
|
45299
|
-
const apiRulesV2 = servedWixApiRulesV2();
|
|
45369
|
+
cfg.frog.apiRules = servedWixApiRules(wp.bi.apiRuleModules);
|
|
45370
|
+
const apiRulesV2 = servedWixApiRulesV2(cfg.frog.mobileAppId ?? null, wp.bi.apiRuleModules);
|
|
45300
45371
|
if (apiRulesV2) cfg.frog.apiRulesV2 = apiRulesV2;
|
|
45301
45372
|
assignServedActionMaps(cfg.frog, sourceActionMap(app2.name));
|
|
45302
45373
|
const pushMap = servedPushMap(app2.name);
|
|
@@ -47758,7 +47829,6 @@ function shouldRevealError(args) {
|
|
|
47758
47829
|
var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
|
|
47759
47830
|
var init_validation = __esm({
|
|
47760
47831
|
"../../core/ts/src/validation.ts"() {
|
|
47761
|
-
"use strict";
|
|
47762
47832
|
init_define_HHP_CATALOG();
|
|
47763
47833
|
EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
|
|
47764
47834
|
URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
|
|
@@ -170299,7 +170369,7 @@ var init_cli_help = __esm({
|
|
|
170299
170369
|
minBinaryVersion \u2014 all named in the output.
|
|
170300
170370
|
himi dist [--app <a>] [--platform ios,android,macos,macos-desktop,windows-desktop,linux-desktop]
|
|
170301
170371
|
[--release <id>] [--allow-draft] [--target <t>]
|
|
170302
|
-
[--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app] [--signing wix-managed|byo]
|
|
170372
|
+
[--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app|nano] [--signing wix-managed|byo]
|
|
170303
170373
|
[--android-signing qa-keystore|wix-keystore|debug|owner] [--aab]
|
|
170304
170374
|
[--package-name <id> --google-services <file>] [--min-version-code <n>]
|
|
170305
170375
|
[--app-name <name> --app-icon-url <url>]
|
|
@@ -170313,11 +170383,11 @@ var init_cli_help = __esm({
|
|
|
170313
170383
|
the in-repo default is a local dev plane that isn't
|
|
170314
170384
|
reachable off-repo.
|
|
170315
170385
|
--shell picks the native host to sign into (branded-lite |
|
|
170316
|
-
owner-lite | brandy | base44 | game | player | demo-app).
|
|
170386
|
+
owner-lite | brandy | base44 | game | player | demo-app | nano).
|
|
170317
170387
|
game is the Godot game shell \u2014 the only one that serves
|
|
170318
170388
|
godot. branded-lite,
|
|
170319
170389
|
owner-lite, brandy, base44 and game ADD the release's declared
|
|
170320
|
-
capabilities to the binary; player
|
|
170390
|
+
capabilities to the binary; player, demo-app and nano
|
|
170321
170391
|
refuse a release declaring one they lack. --plan shows what a build
|
|
170322
170392
|
would add, without building. --signing defaults to
|
|
170323
170393
|
wix-managed: the Wix Apple account mints a per-app
|
|
@@ -170862,7 +170932,7 @@ Guides: ${DEVELOPER_PORTAL_URL}`;
|
|
|
170862
170932
|
{ 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)" },
|
|
170863
170933
|
{ 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)" },
|
|
170864
170934
|
{ 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)" },
|
|
170865
|
-
{ name: "dist", summary: "build an INSTALLABLE QA binary (signed IPA / APK) on the Wix Job Service pool (Mac; a signed QA APK on its Linux runner) 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
|
|
170935
|
+
{ name: "dist", summary: "build an INSTALLABLE QA binary (signed IPA / APK) on the Wix Job Service pool (Mac; a signed QA APK on its Linux runner) 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 | nano) 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, demo-app and nano (Nano's own app) refuse a release declaring one they lack; `--plan` previews it without building; `brandy` builds a site-shell app (the customer's own website as native-framed tabs) on the branded-lite binary under Brandy's bundle ids, so an installed Brandy app updates in place \u2014 it needs a release that serves its own site block (`release_site_missing` otherwise); `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. `--platform macos` builds the shell's native Mac app (branded-lite, owner-lite, demo-app; any other shell, player and game included for now, is refused `macos_shell_unsupported`): a zip with one `.app`, signed ad hoc and not yet notarized, so the first launch is Control-click \u2192 Open; it is a download link, never a phone QR, and it can't be customer-signed. `--platform macos-desktop`, `windows-desktop` and `linux-desktop` build Himi Desktop installers (a `.dmg` for Apple silicon, an NSIS `.exe`, an AppImage) with the release baked in, from any shell; each is an unsigned download link, never a phone QR, and needs a published release. `--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,macos,macos-desktop,windows-desktop,linux-desktop] [--release <id>] [--allow-draft] [--target <t>] [--shell branded-lite|owner-lite|brandy|base44|game|player|demo-app|nano] [--signing wix-managed|byo] [--site <id>] [--android-signing qa-keystore|wix-keystore|debug] [--aab] [--min-version-code <n>] [--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>]" },
|
|
170866
170936
|
{ 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]" },
|
|
170867
170937
|
{ 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. `app set --link-only` links and holds the site with no package, for an owner-signed app whose Play package is your own. 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`). `--platform android` takes `connect` and `submission status|plan|apply|rejection|reply` to Google Play instead: `connect` signs you in to Google in your browser (the OAuth client file from GPLAY_OAUTH_CLIENT_FILE or gplay-node's state dir, else a gcloud sign-in), the facts come from the app's store/google-play.json (category, contactEmail, privacyPolicyUrl, targetAudience, contentRatingCategory, packageName), a site-linked himi.<name> app is Wix-signed (`himi dist --aab`) and any other owner-signed (`--android-signing owner --google-services <file>`, then `google keygen <package>` makes the upload key once and `google resign <in.aab> --keystore <file.p12> --storepass-file <file>` signs the bundle, both on this computer), `apply` takes one `--job`, and `submission approve-reply --platform android --issue <id> --kind appeal|resubmit --text <reply>` records your typed yes on one exact policy reply (no --yes), the only way `reply` or store_reply can plan it. `record show|refresh|sync|pull` reads the app's store record on this computer (~/.himi/store, or HIMI_STORE_HOME / --record-dir): what each store showed when last read, what was last sent and what is drafted, with ages and drift; `refresh --platform android [--part status|tracks|listing|app-content|account|policy|all]` reads Google again into it; `sync` exchanges it with the copy Wix keeps for the app and `pull` only fetches it, for a new computer, with your himi login: the site's owner writes it, and so does the Wix person helping with the app while the owner lets Wix submit it (`wix-submit start`), while a `--read-only` consent only lets them pull; after a job verifies, the record is pushed on its own (a failure is a warning; HIMI_STORE_RECORD_SYNC=off turns it off). `handoff` uploads the app's asc-node records (allowlisted ids, statuses and outcomes; never keys, cookies or passwords) so Wix can take the submission over, `--out`/`--dry-run` keep it local. `wix-submit start [--platform ios|android] [--read-only] [--yes]` lets Wix submit the app for you: after your yes it records your consent for 90 days (read and submit; on Android also Wix-signed builds and Play Console work; `--read-only` is read alone), sends the handoff, and on Android adds the Wix person helping with your app to YOUR Google Play account for 90 days, showing their name and email first, after a typed yes at a terminal (`--yes` answers the consent only; with no one named yet, Wix contacts you and you run start again); `wix-submit stop` withdraws the consent and removes everyone Wix added to your Google Play account for the app (non-zero while anyone may remain); `wix-submit status` shows the consent (scopes, recorded, expires), who is helping and whether they are on your Play account. All are site-owner only (`himi store wix-submit --help`). `google create-app --name <n>` creates the app in your own Play Console after you read Google's Create app declarations and type yes. 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> | --link-only) | 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>] | connect --platform android | submission status|plan|rejection --platform android [--dir <app>] [--issue <id>] | submission apply --platform android --job <id> --plan-hash <hash> | submission reply|approve-reply --platform android --issue <id> --kind appeal|resubmit --text <reply> [--dir <app>] | record show [--dir <app>] [--platform android|ios] [--part <part>] [--record-dir <dir>] | record refresh [--dir <app>] [--platform android] [--part <part>] | record sync|pull [--dir <app>] [--app <id> --site <msid>] [--record-dir <dir>] | handoff [--dir <app>] [--app <id> --site <msid>] [--apple-app-id <id>] [--out <file> | --dry-run] | wix-submit start [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--read-only] [--yes] [--developer <id>] [--android-package himi.<name>] | wix-submit stop [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--yes] [--developer <id>] | wix-submit status [--dir <app>] [--app <id> --site <msid>] [--platform ios|android] [--developer <id>] | google create-app --name <app name> [--app <id> --site <msid>] [--developer <id>] [--android-package himi.<name>] | google testers pool-add|pool-remove|pool-check [--dir <app>] [--track himi-pool] | google testers consent grant|revoke|status [--dir <app>] | google keygen <package> [--out <file.p12>] [--alias <name>] [--name <certificate name>] | google resign <in.aab> --keystore <file.p12> (--storepass-file <file> | --storepass-env <NAME>) [--alias <name>] [--out <file.aab>] | 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]" },
|
|
170868
170938
|
{ name: "guide", summary: "print the Himalaya overview + headless dev loop + available topics (offline)", required: "[--json]" },
|
|
@@ -193361,6 +193431,13 @@ var init_shell_capabilities_generated = __esm({
|
|
|
193361
193431
|
built: ["godot", "haptic", "push"],
|
|
193362
193432
|
serves: ["godot", "haptic", "push"]
|
|
193363
193433
|
},
|
|
193434
|
+
"nano": {
|
|
193435
|
+
appDir: "apps/nano",
|
|
193436
|
+
shared: false,
|
|
193437
|
+
extensible: false,
|
|
193438
|
+
built: ["animation", "app_info", "app_services", "barcode_scanner", "calendar", "camera", "clipboard", "contacts", "files", "haptic", "keyboard", "l10n", "legacy_import", "local_database", "location", "motion", "network", "open_url", "photos", "presigned_upload", "push", "secure_storage", "share", "speech", "torch", "ui", "video_playback", "webview", "wix_api", "wix_platform"],
|
|
193439
|
+
serves: ["animation", "app_info", "app_services", "barcode_scanner", "calendar", "camera", "clipboard", "contacts", "files", "haptic", "keyboard", "l10n", "legacy_import", "local_database", "location", "motion", "network", "open_url", "photos", "presigned_upload", "push", "secure_storage", "share", "speech", "torch", "ui", "video_playback", "webview", "wix_api", "wix_platform"]
|
|
193440
|
+
},
|
|
193364
193441
|
"owner-lite": {
|
|
193365
193442
|
appDir: "apps/himi-owner-lite",
|
|
193366
193443
|
shared: false,
|
package/guides/qa-builds.md
CHANGED
|
@@ -147,6 +147,30 @@ An app **not** on the allow-list keeps every answer it had before: `testflight_p
|
|
|
147
147
|
`testflight_player_shell_required`, `testflight_borrowed_ios_id_forbidden`, and `borrow_id_not_allowed`
|
|
148
148
|
for a store id.
|
|
149
149
|
|
|
150
|
+
**Nano also has a QA shell, `--shell nano`.** It is a different lane from the adopted one above:
|
|
151
|
+
a plain `himi dist --app nano --shell nano` builds Nano's own app under its development ids
|
|
152
|
+
(`com.wix.nano.dev`; iOS ships as `com.wix.himi.nano` when signing is minted), so it installs next
|
|
153
|
+
to the store app instead of replacing it. Screens, Tier-5 bundles, tokens and app-config then reach
|
|
154
|
+
that binary over the air from Nano's published release. The adopted store builds are unchanged by
|
|
155
|
+
this shell. There is no Mac build: Nano has no Mac release.
|
|
156
|
+
|
|
157
|
+
The shell hosts Nano and nothing else: its native boot names the app `nano`, so another app's
|
|
158
|
+
release is refused `400 shell_hosts_one_app` at dispatch and in `--plan`. Limits of the lane:
|
|
159
|
+
|
|
160
|
+
- **Sign in with Apple is not in a QA build.** Nano asks for `com.apple.developer.applesignin`, but
|
|
161
|
+
an ordinary `himi dist` signs in the Enterprise account, which Apple does not grant that
|
|
162
|
+
capability. The minted profile leaves it out and the build strips it, so Apple sign-in fails on
|
|
163
|
+
the QA binary. Test Apple sign-in on the store lane.
|
|
164
|
+
- **Google sign-in may not work either.** Nano's Google clients are registered for the store app
|
|
165
|
+
`com.wix.nano`, not for the QA ids, so Google can refuse the sign-in. Email sign-in works.
|
|
166
|
+
- **Push is not expected to arrive.** Nano ships only a placeholder Firebase config, so its Android
|
|
167
|
+
build leaves Firebase out and the APK gets no push token; Nano's iOS push is registered for the
|
|
168
|
+
store app `com.wix.nano`, not the QA id. Test push on the store lane.
|
|
169
|
+
- **Publish the release with real URLs.** Nano's config falls back to `localhost` for
|
|
170
|
+
`NANO_PROD_SERVE_URL` / `NANO_PROD_CONTROL_URL` / `NANO_PROD_TELEMETRY_URL`, and the binary bakes
|
|
171
|
+
the release's app-config. Set all three to the target before `himi push`, or the seed paints on a
|
|
172
|
+
phone but its over-the-air reads go to the phone itself.
|
|
173
|
+
|
|
150
174
|
### Customer App Store / TestFlight handoff
|
|
151
175
|
|
|
152
176
|
For an owned app, the customer must authorize the selected site and provide the existing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2033.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": "c8fa4ce42745eef0c976fabf9758648b381b8faf3bff31548564cca9"
|
|
86
86
|
}
|