@wix/himalaya-cli 0.1895.0 → 0.1897.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 +60 -13
- package/guides/one-app-to-himi-app.md +10 -4
- package/guides/qa-builds.md +43 -0
- package/guides/release-notes.md +12 -0
- package/guides/releasing-with-himi-serve.md +2 -1
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -3278,10 +3278,14 @@ __export(dist_jobs_exports, {
|
|
|
3278
3278
|
DEFAULT_DIST_SHELL: () => DEFAULT_DIST_SHELL,
|
|
3279
3279
|
DEFAULT_DIST_SIGNING: () => DEFAULT_DIST_SIGNING,
|
|
3280
3280
|
DEFAULT_GIT_URL: () => DEFAULT_GIT_URL,
|
|
3281
|
+
DEFAULT_IOS_FORMAT: () => DEFAULT_IOS_FORMAT,
|
|
3281
3282
|
DIST_ERROR_CODES: () => DIST_ERROR_CODES,
|
|
3282
3283
|
DIST_PACKAGE_NAME: () => DIST_PACKAGE_NAME,
|
|
3283
3284
|
DIST_PARAMS_FLAG: () => DIST_PARAMS_FLAG,
|
|
3284
3285
|
DIST_SHELLS: () => DIST_SHELLS,
|
|
3286
|
+
IOS_FORMATS: () => IOS_FORMATS,
|
|
3287
|
+
IOS_FORMAT_NOT_BUILT: () => IOS_FORMAT_NOT_BUILT,
|
|
3288
|
+
IOS_FORMAT_NOT_REQUESTED: () => IOS_FORMAT_NOT_REQUESTED,
|
|
3285
3289
|
JobServiceBroker: () => JobServiceBroker,
|
|
3286
3290
|
JobServiceError: () => JobServiceError,
|
|
3287
3291
|
MAX_MEASURABLE_IDENTITY_WINDOW: () => MAX_MEASURABLE_IDENTITY_WINDOW,
|
|
@@ -3293,6 +3297,7 @@ __export(dist_jobs_exports, {
|
|
|
3293
3297
|
androidFormatSkewFailed: () => androidFormatSkewFailed,
|
|
3294
3298
|
appleErrorCodesOf: () => appleErrorCodesOf,
|
|
3295
3299
|
borrowableIosIds: () => borrowableIosIds,
|
|
3300
|
+
buildFormatSkewFailed: () => buildFormatSkewFailed,
|
|
3296
3301
|
credsFromConfig: () => credsFromConfig,
|
|
3297
3302
|
customerUploadClaimable: () => customerUploadClaimable,
|
|
3298
3303
|
customerUploadFailure: () => customerUploadFailure,
|
|
@@ -3301,6 +3306,7 @@ __export(dist_jobs_exports, {
|
|
|
3301
3306
|
encodeDistParams: () => encodeDistParams,
|
|
3302
3307
|
failureCodesOf: () => failureCodesOf,
|
|
3303
3308
|
hasJobServiceEnded: () => hasJobServiceEnded,
|
|
3309
|
+
iosFormatSkewFailed: () => iosFormatSkewFailed,
|
|
3304
3310
|
isBorrowableIosId: () => isBorrowableIosId,
|
|
3305
3311
|
isSuccess: () => isSuccess,
|
|
3306
3312
|
isTerminal: () => isTerminal,
|
|
@@ -3313,6 +3319,7 @@ __export(dist_jobs_exports, {
|
|
|
3313
3319
|
resolveAndroidSigning: () => resolveAndroidSigning,
|
|
3314
3320
|
resolveBorrowedIosId: () => resolveBorrowedIosId,
|
|
3315
3321
|
resolveDistSigning: () => resolveDistSigning,
|
|
3322
|
+
resolveIosFormat: () => resolveIosFormat,
|
|
3316
3323
|
testflightStatusRank: () => testflightStatusRank
|
|
3317
3324
|
});
|
|
3318
3325
|
function isTerminal(status2) {
|
|
@@ -3558,6 +3565,28 @@ function resolveAndroidBuildType(requested) {
|
|
|
3558
3565
|
}
|
|
3559
3566
|
};
|
|
3560
3567
|
}
|
|
3568
|
+
function resolveIosFormat(requested) {
|
|
3569
|
+
if (requested === void 0 || requested === null || requested === "") return { format: DEFAULT_IOS_FORMAT };
|
|
3570
|
+
if (typeof requested === "string" && IOS_FORMATS.includes(requested)) {
|
|
3571
|
+
return { format: requested };
|
|
3572
|
+
}
|
|
3573
|
+
return {
|
|
3574
|
+
error: {
|
|
3575
|
+
status: 400,
|
|
3576
|
+
body: {
|
|
3577
|
+
error: "invalid_ios_format",
|
|
3578
|
+
message: `iosFormat ${typeof requested === "string" ? `"${requested.slice(0, 40)}"` : `of type ${typeof requested}`} is not a known format`,
|
|
3579
|
+
supported: [...IOS_FORMATS]
|
|
3580
|
+
}
|
|
3581
|
+
}
|
|
3582
|
+
};
|
|
3583
|
+
}
|
|
3584
|
+
function iosFormatSkewFailed(record6) {
|
|
3585
|
+
return record6.platform === "ios" && typeof record6.error === "string" && [IOS_FORMAT_NOT_BUILT, IOS_FORMAT_NOT_REQUESTED].some((code3) => record6.error.includes(`${code3}:`));
|
|
3586
|
+
}
|
|
3587
|
+
function buildFormatSkewFailed(record6) {
|
|
3588
|
+
return androidFormatSkewFailed(record6) || iosFormatSkewFailed(record6);
|
|
3589
|
+
}
|
|
3561
3590
|
function encodeDistParams(env) {
|
|
3562
3591
|
return Buffer.from(JSON.stringify(env), "utf8").toString("base64url");
|
|
3563
3592
|
}
|
|
@@ -3613,7 +3642,10 @@ function distJobSpec(req) {
|
|
|
3613
3642
|
// Who to DM the install link to. See DistJobRequest.requestedBy: the git-history guess the pool
|
|
3614
3643
|
// falls back to misroutes brokered builds to an unrelated colleague.
|
|
3615
3644
|
...req.requestedBy ? { HIMI_DIST_REQUESTED_BY: req.requestedBy } : {},
|
|
3616
|
-
...req.env,
|
|
3645
|
+
...operatorEnvWithoutIosFormat(req.env),
|
|
3646
|
+
// An unsigned simulator build instead of a signed IPA. Only when asked, and AFTER `req.env`:
|
|
3647
|
+
// the request decides the format, so operator config can't turn one into the other.
|
|
3648
|
+
...req.platform === "ios" && req.iosFormat === "simulator" ? { DIST_IOS_FORMAT: "simulator" } : {},
|
|
3617
3649
|
...req.buildOrigin ? { HIMI_DIST_BUILD_ORIGIN: req.buildOrigin } : {},
|
|
3618
3650
|
// AFTER `req.env`, deliberately. This one field is the SHELL's declared answer, and it is the
|
|
3619
3651
|
// only thing standing between owner-lite and a build that reads the fetched contract under
|
|
@@ -3641,11 +3673,15 @@ function distJobSpec(req) {
|
|
|
3641
3673
|
...req.xcodeVersion ? { xcodeVersion: req.xcodeVersion } : {}
|
|
3642
3674
|
};
|
|
3643
3675
|
}
|
|
3676
|
+
function operatorEnvWithoutIosFormat(env) {
|
|
3677
|
+
const { DIST_IOS_FORMAT: _theRequestDecides, ...rest } = env ?? {};
|
|
3678
|
+
return rest;
|
|
3679
|
+
}
|
|
3644
3680
|
function withoutCallbackToken(params) {
|
|
3645
3681
|
const { HIMI_DIST_CALLBACK_TOKEN: _printedByThePool, ...printable2 } = params;
|
|
3646
3682
|
return printable2;
|
|
3647
3683
|
}
|
|
3648
|
-
var DIST_ERROR_CODES, APPLE_ERROR_CODES_MAX, IN_FLIGHT, JOB_SERVICE_ENDED, SCOPE_CREATE, SCOPE_READ, SCOPE_CANCEL, DEFAULT_BASE_URL, DEFAULT_OAUTH_URL, TOKEN_TTL_MS, JobServiceError, JobServiceBroker, CUSTOMER_UPLOAD_LEASE_MS, CUSTOMER_UPLOAD_RETRY_DELAYS_MS, CUSTOMER_UPLOAD_MAX_ATTEMPTS, CUSTOMER_UPLOAD_ABANDONED, MAX_MEASURABLE_IDENTITY_WINDOW, SITE_SHELL_SERVED_CAPABILITIES, DIST_SHELLS, DEFAULT_DIST_SHELL, DEFAULT_BORROWABLE_IOS_IDS, BUNDLE_ID_RE, DEFAULT_DIST_SIGNING, WIX_MANAGED_SIGNING_ALIASES, DEFAULT_ANDROID_SIGNING, ANDROID_SIGNING_POLICIES, ANDROID_SIGNING_ALIASES, DEFAULT_ANDROID_FORMAT, ANDROID_FORMATS, ANDROID_FORMAT_NOT_BUILT, ANDROID_FORMAT_WRONG_SIGNER, ANDROID_FORMAT_NOT_REQUESTED, DEFAULT_ANDROID_BUILD_TYPE, ANDROID_BUILD_TYPES, ANDROID_BUILD_TYPE_NOT_BUILT, DEFAULT_GIT_URL, DIST_PACKAGE_NAME, DIST_PARAMS_FLAG, MAX_COMMAND_CHARS;
|
|
3684
|
+
var DIST_ERROR_CODES, APPLE_ERROR_CODES_MAX, IN_FLIGHT, JOB_SERVICE_ENDED, SCOPE_CREATE, SCOPE_READ, SCOPE_CANCEL, DEFAULT_BASE_URL, DEFAULT_OAUTH_URL, TOKEN_TTL_MS, JobServiceError, JobServiceBroker, CUSTOMER_UPLOAD_LEASE_MS, CUSTOMER_UPLOAD_RETRY_DELAYS_MS, CUSTOMER_UPLOAD_MAX_ATTEMPTS, CUSTOMER_UPLOAD_ABANDONED, MAX_MEASURABLE_IDENTITY_WINDOW, SITE_SHELL_SERVED_CAPABILITIES, DIST_SHELLS, DEFAULT_DIST_SHELL, DEFAULT_BORROWABLE_IOS_IDS, BUNDLE_ID_RE, DEFAULT_DIST_SIGNING, WIX_MANAGED_SIGNING_ALIASES, DEFAULT_ANDROID_SIGNING, ANDROID_SIGNING_POLICIES, ANDROID_SIGNING_ALIASES, DEFAULT_ANDROID_FORMAT, ANDROID_FORMATS, ANDROID_FORMAT_NOT_BUILT, ANDROID_FORMAT_WRONG_SIGNER, ANDROID_FORMAT_NOT_REQUESTED, DEFAULT_ANDROID_BUILD_TYPE, ANDROID_BUILD_TYPES, ANDROID_BUILD_TYPE_NOT_BUILT, DEFAULT_IOS_FORMAT, IOS_FORMATS, IOS_FORMAT_NOT_BUILT, IOS_FORMAT_NOT_REQUESTED, DEFAULT_GIT_URL, DIST_PACKAGE_NAME, DIST_PARAMS_FLAG, MAX_COMMAND_CHARS;
|
|
3649
3685
|
var init_dist_jobs = __esm({
|
|
3650
3686
|
"../../core/serve-control/src/dist-jobs.ts"() {
|
|
3651
3687
|
init_define_HHP_CATALOG();
|
|
@@ -3933,6 +3969,10 @@ var init_dist_jobs = __esm({
|
|
|
3933
3969
|
DEFAULT_ANDROID_BUILD_TYPE = "release";
|
|
3934
3970
|
ANDROID_BUILD_TYPES = ["release", "debug"];
|
|
3935
3971
|
ANDROID_BUILD_TYPE_NOT_BUILT = "android_build_type_not_built";
|
|
3972
|
+
DEFAULT_IOS_FORMAT = "ipa";
|
|
3973
|
+
IOS_FORMATS = ["ipa", "simulator"];
|
|
3974
|
+
IOS_FORMAT_NOT_BUILT = "ios_format_not_built";
|
|
3975
|
+
IOS_FORMAT_NOT_REQUESTED = "ios_format_not_requested";
|
|
3936
3976
|
DEFAULT_GIT_URL = "https://github.com/wix-private/himalaya";
|
|
3937
3977
|
DIST_PACKAGE_NAME = "@himalaya/native-ci";
|
|
3938
3978
|
DIST_PARAMS_FLAG = "--himi-dist";
|
|
@@ -8476,7 +8516,6 @@ function assertExternalUrl(site, value2, where) {
|
|
|
8476
8516
|
var WIX_FREE_SITE_HOST_SUFFIXES, SITE_KINDS, SITE_LAYOUTS, SITE_PAGE_TITLES, SITE_TOP_BAR_MAX_ACTIONS, SITE_BUILTIN_NATIVE_SCREENS, SITE_PRIVATE_NATIVE_SCREENS, SITE_SHELL_MAX_TABS, SITE_SCREEN_PREFIX, SITE_PAGE_SCREEN_ID, BASE44_ORIGINS, PAGE_ID, SITE_PAGE_NODE_ID, SITE_SCREEN_FORMS, SITE_NODE_SCREEN_RENDERER, PLACEMENTS, ICONS, SITE_MEMBER_PAGE_SCREENS, SITE_MEMBER_CART_SCREENS, SITE_MEMBER_ONLY_SCREENS;
|
|
8477
8517
|
var init_site_shell = __esm({
|
|
8478
8518
|
"../../core/ts/src/site-shell.ts"() {
|
|
8479
|
-
"use strict";
|
|
8480
8519
|
init_define_HHP_CATALOG();
|
|
8481
8520
|
init_himi_package();
|
|
8482
8521
|
init_icon_catalog_generated();
|
|
@@ -42316,6 +42355,7 @@ function resolveIdiom(tokens2, ctx = {}) {
|
|
|
42316
42355
|
var IDIOM_CONTEXTS, UNSAFE_KEYS;
|
|
42317
42356
|
var init_idiom = __esm({
|
|
42318
42357
|
"../../core/ts/src/idiom.ts"() {
|
|
42358
|
+
"use strict";
|
|
42319
42359
|
init_define_HHP_CATALOG();
|
|
42320
42360
|
IDIOM_CONTEXTS = {
|
|
42321
42361
|
ios: { native: ["ios"] },
|
|
@@ -75215,7 +75255,7 @@ fn fs_main(in : VertexOutput) -> @location(0) vec4<f32> {
|
|
|
75215
75255
|
endCompat(opIdx) {
|
|
75216
75256
|
}
|
|
75217
75257
|
consumePath(opIdx, path2, clipBox) {
|
|
75218
|
-
const
|
|
75258
|
+
const isEmpty2 = this.current.isEmptyClip();
|
|
75219
75259
|
if (this.pendingClip) {
|
|
75220
75260
|
this.current.updateClipFromPath();
|
|
75221
75261
|
}
|
|
@@ -75224,7 +75264,7 @@ fn fs_main(in : VertexOutput) -> @location(0) vec4<f32> {
|
|
|
75224
75264
|
}
|
|
75225
75265
|
const ctx = this.ctx;
|
|
75226
75266
|
if (this.pendingClip) {
|
|
75227
|
-
if (!
|
|
75267
|
+
if (!isEmpty2) {
|
|
75228
75268
|
if (this.pendingClip === EO_CLIP) {
|
|
75229
75269
|
ctx.clip(path2, "evenodd");
|
|
75230
75270
|
} else {
|
|
@@ -201211,12 +201251,14 @@ var init_source_actions = __esm({
|
|
|
201211
201251
|
|
|
201212
201252
|
// src/one-app/home-header-actions.ts
|
|
201213
201253
|
function homeInviteButton(screenId, service, label4) {
|
|
201214
|
-
|
|
201254
|
+
const button = storeInviteButton({ id: homeInviteButtonId(screenId), service, label: label4 });
|
|
201255
|
+
const body = obj13(button.body);
|
|
201256
|
+
return { ...button, body: { ...body, props: { ...obj13(body.props), style: HOME_INVITE_STYLE, size: BUTTON_SIZE } } };
|
|
201215
201257
|
}
|
|
201216
201258
|
function homeCtaButton(screenId, label4, tap) {
|
|
201217
201259
|
return {
|
|
201218
201260
|
id: homeCtaButtonId(screenId),
|
|
201219
|
-
body: { package: "himalaya", type: "Button", props: { title: label4, style:
|
|
201261
|
+
body: { package: "himalaya", type: "Button", props: { title: label4, style: HOME_CTA_STYLE, size: BUTTON_SIZE, fullWidth: true, action: tap } },
|
|
201220
201262
|
modifiers: { weight: 1 }
|
|
201221
201263
|
};
|
|
201222
201264
|
}
|
|
@@ -201271,7 +201313,7 @@ function decideHomeCta(settings, env) {
|
|
|
201271
201313
|
if (!label4) return { eligible: false, reason: "no_label", detail: "the call to action has no label to show", choice: resolution.choice };
|
|
201272
201314
|
return { eligible: true, label: label4, choice: resolution.choice, resolution };
|
|
201273
201315
|
}
|
|
201274
|
-
var obj13, arr2, str12, homeHeaderActionsId, homeCtaButtonId, homeInviteButtonId, legacyHomeInviteRowId, slotId, GUTTER;
|
|
201316
|
+
var obj13, arr2, str12, homeHeaderActionsId, homeCtaButtonId, homeInviteButtonId, legacyHomeInviteRowId, slotId, GUTTER, HOME_CTA_STYLE, HOME_INVITE_STYLE, BUTTON_SIZE;
|
|
201275
201317
|
var init_home_header_actions = __esm({
|
|
201276
201318
|
"src/one-app/home-header-actions.ts"() {
|
|
201277
201319
|
init_define_HHP_CATALOG();
|
|
@@ -201286,6 +201328,9 @@ var init_home_header_actions = __esm({
|
|
|
201286
201328
|
legacyHomeInviteRowId = (screenId) => `${screenId}.invite`;
|
|
201287
201329
|
slotId = (screenId) => `${homeHeaderActionsId(screenId)}.slot`;
|
|
201288
201330
|
GUTTER = 16;
|
|
201331
|
+
HOME_CTA_STYLE = "primary";
|
|
201332
|
+
HOME_INVITE_STYLE = "secondary";
|
|
201333
|
+
BUTTON_SIZE = "md";
|
|
201289
201334
|
}
|
|
201290
201335
|
});
|
|
201291
201336
|
|
|
@@ -202901,10 +202946,10 @@ function resolveDetailedHeader(raw, headerId) {
|
|
|
202901
202946
|
if (definitionId !== DETAILED_HEADER_DEFINITION_ID) return { eligible: false, reason: "not_detailed", headerId, ...definitionId ? { definitionId } : {} };
|
|
202902
202947
|
const settings = obj18(found.header.settings);
|
|
202903
202948
|
const shared = obj18(raw.settings);
|
|
202904
|
-
const title =
|
|
202905
|
-
const subtitle =
|
|
202906
|
-
const logoUrl = settings.showLogo
|
|
202907
|
-
const own6 =
|
|
202949
|
+
const title = str14(found.header.title).trim();
|
|
202950
|
+
const subtitle = str14(found.header.subtitle).trim();
|
|
202951
|
+
const logoUrl = settings.showLogo ? wixMediaUrl(shared.logoImageUrl, null) : "";
|
|
202952
|
+
const own6 = !isEmpty(settings.coverImagesUrls);
|
|
202908
202953
|
const coverUrls = urls(own6 ? settings.coverImagesUrls : shared.coverImagesUrls, WIX_DETAIL_IMAGE);
|
|
202909
202954
|
return {
|
|
202910
202955
|
eligible: true,
|
|
@@ -202934,7 +202979,7 @@ function homeSourceHeaderId(input) {
|
|
|
202934
202979
|
const owner = input.screenIds.find((id) => input.firstVisiblePage(id) === homePage);
|
|
202935
202980
|
return owner ? str14(obj18(screens[owner]).headerId) || null : null;
|
|
202936
202981
|
}
|
|
202937
|
-
var obj18, str14, part3, DETAILED_HEADER_DEFINITION_ID, urls;
|
|
202982
|
+
var obj18, str14, part3, isEmpty, DETAILED_HEADER_DEFINITION_ID, urls;
|
|
202938
202983
|
var init_detailed_header = __esm({
|
|
202939
202984
|
"src/one-app/detailed-header.ts"() {
|
|
202940
202985
|
init_define_HHP_CATALOG();
|
|
@@ -202943,6 +202988,7 @@ var init_detailed_header = __esm({
|
|
|
202943
202988
|
obj18 = (v2) => v2 && typeof v2 === "object" && !Array.isArray(v2) ? v2 : {};
|
|
202944
202989
|
str14 = (v2) => typeof v2 === "string" ? v2 : "";
|
|
202945
202990
|
part3 = (value2) => value2.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
202991
|
+
isEmpty = (v2) => v2 === null || v2 === void 0 || typeof v2 === "number" || typeof v2 === "boolean" || (Array.isArray(v2) || typeof v2 === "string" ? v2.length === 0 : typeof v2 === "object" ? Object.keys(v2).length === 0 : false);
|
|
202946
202992
|
DETAILED_HEADER_DEFINITION_ID = "platform_detailed_header";
|
|
202947
202993
|
urls = (value2, size) => (Array.isArray(value2) ? value2 : []).map((url) => wixMediaUrl(url, size)).filter(Boolean);
|
|
202948
202994
|
}
|
|
@@ -274798,6 +274844,7 @@ function scannableUrl(rec) {
|
|
|
274798
274844
|
if (!a3) return void 0;
|
|
274799
274845
|
if (isAppStoreBuild(rec)) return void 0;
|
|
274800
274846
|
if (rec.platform === "android" && rec.androidFormat === "aab") return a3.apk?.downloadUrl;
|
|
274847
|
+
if (rec.platform === "ios" && rec.iosFormat === "simulator") return void 0;
|
|
274801
274848
|
return rec.platform === "ios" ? a3.installPageUrl ?? a3.downloadUrl : a3.downloadUrl ?? a3.installPageUrl;
|
|
274802
274849
|
}
|
|
274803
274850
|
function isInternalOnlyBuild(r3) {
|
|
@@ -699,8 +699,10 @@ Apply these interpretation rules:
|
|
|
699
699
|
`overlappingPanelHeader` first on the Home and gives it a `topBar` copied from `navigation.topBarDefault` with
|
|
700
700
|
`style: "immersive"` (`"transparent"` with no cover image), `titleDisplay: "hidden"` and `solidAfter` on the cover. Other definitions, and Detailed on any
|
|
701
701
|
other screen, are ineligible. A Detailed Home whose page opens a shared vertical screen is generated as the Home.
|
|
702
|
-
Props
|
|
703
|
-
`
|
|
702
|
+
Props follow the source Detailed viewer: the header's own `title` and `subtitle` as authored (the viewer reads no
|
|
703
|
+
`showTitle`, `showSubtitle` or `showTagline`, so a legacy `false` there hides nothing; a blank one stays blank, never
|
|
704
|
+
the business name), `settings.logoImageUrl` only when the header's `showLogo` is truthy, ordered `coverImagesUrls`
|
|
705
|
+
(empty: the global `settings.coverImagesUrls`), `coverImageTransitionTime` (default 3000). Run `provision` after
|
|
704
706
|
`header-badges` to copy the bar again; `validate-topbar` reports drift. The header's call to action and its Invite
|
|
705
707
|
go in one header actions row right after the header (see "The header's call to action" and "Invite is the Home's
|
|
706
708
|
row" below); never inside it.
|
|
@@ -834,7 +836,7 @@ Apply these interpretation rules:
|
|
|
834
836
|
- **The header's call to action, written by `generate`.** The source shows it only when the header has a
|
|
835
837
|
`settings.callToAction` (`{ id, title, payload? }`) **and** `settings.showCallToAction: true`. `himi one-app
|
|
836
838
|
generate` writes it on the Home with a Detailed header, from that same source header (bottom tabs, converted top
|
|
837
|
-
tabs and a shared-vertical Home included): a
|
|
839
|
+
tabs and a shared-vertical Home included): a `Button` with the owner's `title`, id
|
|
838
840
|
`himi_branded_home.cta.button`. Its action goes through the shared action table below. `none` is no button. An
|
|
839
841
|
action the app cannot run, a missing destination screen or an empty label is no button and a gap. A Home without
|
|
840
842
|
a Detailed header whose source header shows a call to action is a gap too. `generate` reports `homeCta`:
|
|
@@ -846,7 +848,11 @@ Apply these interpretation rules:
|
|
|
846
848
|
equal-width slots (`weight: 1` each, 12pt apart, 16pt gutters). Both buttons: the call to action first in
|
|
847
849
|
reading order, then Invite. One button: it takes the leading slot (left in LTR, right in RTL) at the same width,
|
|
848
850
|
and the trailing slot is an empty, non-tappable `Spacer` (`himi_branded_home.header_actions.slot`). No button: no
|
|
849
|
-
row and no blank padding. The header keeps its cover and its immersive bar.
|
|
851
|
+
row and no blank padding. The header keeps its cover and its immersive bar. Both buttons use the app's themed
|
|
852
|
+
button variants at size `md`, like every other generated button: the call to action `style: "primary"`, Invite
|
|
853
|
+
`style: "secondary"` with the `share` icon. The tokens give them the app's shape (square corners when the theme
|
|
854
|
+
has them), typography and size. Do not use the native `filled` or `tonal` styles here: they read no variant
|
|
855
|
+
token and are drawn as pills.
|
|
850
856
|
- **One action table for every configurable control.** The header's call to action, both buttons of a Button
|
|
851
857
|
section, a tappable Image, each repeater item and the interactive banner resolve their action through the same
|
|
852
858
|
table (`source-actions.ts`). Each control keeps its own label and action.
|
package/guides/qa-builds.md
CHANGED
|
@@ -1650,6 +1650,49 @@ Other refusals, each with `code` equal to `error`: `android_signing_unsigned_req
|
|
|
1650
1650
|
`owner_bundle_firebase_package_mismatch` 400, and `owner_bundle_unavailable` 503. Design:
|
|
1651
1651
|
[the design note](superpowers/specs/2026-11-07-owner-signed-play-bundle-design.md).
|
|
1652
1652
|
|
|
1653
|
+
### An iOS simulator build — `iosFormat: "simulator"`
|
|
1654
|
+
|
|
1655
|
+
An IPA runs on no simulator, and the store-screenshots plugin (mobile-apps-relops-automations
|
|
1656
|
+
`plugins/store-screenshots`) runs iOS apps only as simulator builds on LambdaTest. `iosFormat:
|
|
1657
|
+
"simulator"` on `POST /v1/admin/dist` builds the **same app project** an IPA job builds (the
|
|
1658
|
+
release's contract, seed, fonts and icon) for the iOS Simulator, with **no signing at all**, and
|
|
1659
|
+
returns it as a zip with exactly one `.app` at its root (MOBPUB-1500).
|
|
1660
|
+
|
|
1661
|
+
```json
|
|
1662
|
+
{ "app": "<app>", "platform": ["android", "ios"], "release": "<id>", "androidFormat": "apk", "iosFormat": "simulator" }
|
|
1663
|
+
```
|
|
1664
|
+
|
|
1665
|
+
- **What you get:** the zip as `artifact.downloadUrl` (presigned, 7 days), with `artifact.sha256`,
|
|
1666
|
+
`artifact.bytes` and `artifact.expiresAt`, and the record carries `iosFormat: "simulator"`. No
|
|
1667
|
+
install link, install page or QR: it installs on no device, so it is never the app's iOS link on
|
|
1668
|
+
the links surface either.
|
|
1669
|
+
- **iOS only, and `ipa` stays the default.** A request without the field dispatches and records
|
|
1670
|
+
exactly what it did before. It reaches the pool as `DIST_IOS_FORMAT=simulator` in the `command`
|
|
1671
|
+
blob; the pool reads it from the job's own parameters only, never from the machine's environment.
|
|
1672
|
+
Refusals, all typed 400s before any pool time is spent: `invalid_ios_format` (anything but `ipa` /
|
|
1673
|
+
`simulator`), `ios_format_requires_link` (any destination but `link`: TestFlight, Play internal),
|
|
1674
|
+
`ios_format_simulator_unsigned` (`signing: "byo"` or `borrowIosBundleId`: nothing signs it),
|
|
1675
|
+
`ios_format_requires_ios` (an Android-only request) and `ios_format_simulator_store_build` (any
|
|
1676
|
+
store build, and the trusted caller, whose parser refuses the field anyway).
|
|
1677
|
+
- **How the pool builds it.** The command CI's own simulator test builds use (the ones LambdaTest runs):
|
|
1678
|
+
`xcodebuild build -sdk iphonesimulator -destination 'generic/platform=iOS Simulator'
|
|
1679
|
+
CODE_SIGNING_ALLOWED=NO`, in the dist configuration (`Release`), with `ONLY_ACTIVE_ARCH=NO`, so it
|
|
1680
|
+
carries every simulator architecture, and never `HIMALAYA_DIST_BUILD` (a QA build's diagnostics UI
|
|
1681
|
+
must not reach a store screenshot). No signing route, profile or keychain is read; an app whose
|
|
1682
|
+
contract carries native extensions compiles the way an extension build does (keychains locked,
|
|
1683
|
+
signing env withheld). Before upload the `.app` must pass the plugin's own rule —
|
|
1684
|
+
`CFBundleSupportedPlatforms` lists `iPhoneSimulator` and every Mach-O slice is `IOSSIMULATOR`
|
|
1685
|
+
(`xcrun vtool -show-build`) — and `ditto` zips it with no `__MACOSX` or `._` entries. The log line
|
|
1686
|
+
`[dist] ios simulator: <App>.app architectures=… platforms=… UIDeviceFamily=…` says what was built.
|
|
1687
|
+
The seed gate runs on the zip; the binary-size budget does not (it ships to no one).
|
|
1688
|
+
- **Version skew.** The pool runs the release's own `run-dist`. The plane refuses a release whose
|
|
1689
|
+
commit's runner does not declare simulator builds (`iosSimulator: 1` in its signing-protocol marker; `409
|
|
1690
|
+
release_predates_ios_simulator`; `503 ios_simulator_builds_unavailable` when GitHub can't be read,
|
|
1691
|
+
`501 ios_simulator_builds_unconfigured` without `HIMI_DIST_GITHUB_TOKEN`). The result callback is
|
|
1692
|
+
the second guard: a simulator job whose pool does not report `iosFormat: "simulator"` is a
|
|
1693
|
+
`FAILURE` with `ios_format_not_built: …` and no artifact, and an IPA job that reports one fails
|
|
1694
|
+
with `ios_format_not_requested: …`.
|
|
1695
|
+
|
|
1653
1696
|
### The iOS lane lives in one shared place
|
|
1654
1697
|
|
|
1655
1698
|
`fastlane dist` runs with `cwd = <app>/ios`, so it needs `<app>/ios/fastlane/Fastfile`. That file is
|
package/guides/release-notes.md
CHANGED
|
@@ -14,6 +14,18 @@ areas, always in the same order, so you can skim for the one you care about.
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
## 2026-11-26
|
|
18
|
+
|
|
19
|
+
### Getting started & the CLI
|
|
20
|
+
|
|
21
|
+
- **`skill-mcp.md` now sets up the local `himi mcp`.** The page gives the Claude Code command and the `mcp.json`
|
|
22
|
+
entry for the server that runs on your own machine. The internal MCP server it used to describe is retired: it
|
|
23
|
+
answers `410` and points at the local server, or at the hosted connector when that is on. (#6543)
|
|
24
|
+
- **The hosted connector reads an app's SPEC.md and MOBILE-UX.md.** `himi_release_docs` lists the product
|
|
25
|
+
documents a pushed release carries, or returns one as Markdown with `name`. It reads the latest draft, the live
|
|
26
|
+
release when the app has no draft, or the release you name. Read them before changing an app someone else built.
|
|
27
|
+
(#6543)
|
|
28
|
+
|
|
17
29
|
## 2026-11-25
|
|
18
30
|
|
|
19
31
|
### Getting started & the CLI
|
|
@@ -354,7 +354,8 @@ himi app-docs get mobile-ux --app <app> --release <releaseId> --target prod
|
|
|
354
354
|
`himi push` includes `SPEC.md` and `MOBILE-UX.md` when they exist at the content-package root.
|
|
355
355
|
They are deliberately a small Markdown allowlist (128 KiB each): keep them safe for public
|
|
356
356
|
release retrieval, with no secrets, personal data, internal URLs, or private research. Agents can
|
|
357
|
-
retrieve the same contracts
|
|
357
|
+
retrieve the same contracts with `himi app-docs`, or through the hosted connector's
|
|
358
|
+
`himi_release_docs` tool (pass `name` for one document's Markdown).
|
|
358
359
|
|
|
359
360
|
## Telemetry
|
|
360
361
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1897.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": "bad356420e79e6aadf9de621a778fd6791a2bb9f4dd2f6134c4f8d18"
|
|
86
86
|
}
|