@wix/himalaya-cli 0.970.0 → 0.971.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 +196 -160
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/tier-5-add-a-screen.md +8 -4
- package/package.json +2 -2
- package/templates/beauty-salon-owner/config.ts +1 -1
- package/templates/beauty-salon-owner/dev/index.ts +79 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/community-club-owner/config.ts +1 -1
- package/templates/community-club-owner/dev/index.ts +79 -1
- package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/community-club-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/events-meetups-owner/config.ts +1 -1
- package/templates/events-meetups-owner/dev/index.ts +79 -1
- package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/gym-fitness-owner/config.ts +1 -1
- package/templates/gym-fitness-owner/dev/index.ts +79 -1
- package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/nonprofit-cause-owner/config.ts +1 -1
- package/templates/nonprofit-cause-owner/dev/index.ts +79 -1
- package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/owner-lite/config.ts +1 -1
- package/templates/owner-lite/dev/index.ts +79 -1
- package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/owner-lite/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/podcast-creator-owner/config.ts +1 -1
- package/templates/podcast-creator-owner/dev/index.ts +79 -1
- package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/portfolio-creative-owner/config.ts +1 -1
- package/templates/portfolio-creative-owner/dev/index.ts +79 -1
- package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/restaurant-owner/config.ts +1 -1
- package/templates/restaurant-owner/dev/index.ts +79 -1
- package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/retail-store-owner/config.ts +1 -1
- package/templates/retail-store-owner/dev/index.ts +79 -1
- package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
- package/templates/yoga-studio-owner/config.ts +1 -1
- package/templates/yoga-studio-owner/dev/index.ts +79 -1
- package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +176 -6
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria/index.ts +15 -0
package/dist/cli.mjs
CHANGED
|
@@ -43592,19 +43592,19 @@ var init_preview_assets_generated = __esm({
|
|
|
43592
43592
|
"../../packages/serve/src/preview-assets.generated.ts"() {
|
|
43593
43593
|
init_preview_assets_format();
|
|
43594
43594
|
PREVIEW_ASSET_MANIFEST = [
|
|
43595
|
-
{ key: "assets/index-
|
|
43596
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
43597
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
43598
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
43599
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
43600
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
43601
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
43602
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
43603
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
43604
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
43605
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
43606
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
43607
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
43595
|
+
{ key: "assets/index-CRa9DnKn.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 985527, sha256: "1c58488280b45b11e8bbe7fa084de9f7413518465af6e7c9fea5c200befef90b" },
|
|
43596
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 985535, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
43597
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 1076459, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
43598
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 1167443, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
43599
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 1258423, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
43600
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 1349295, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
43601
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 1440275, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
43602
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 1548911, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
43603
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 1657995, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
43604
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 1767043, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
43605
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 1874743, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
43606
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 1962851, length: 4448, sha256: "4cb74dd5b24622561a40f778caca44cb69451235a60d393f210d026f27bd51f6" },
|
|
43607
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 1967299, length: 13784, sha256: "cfb9465254fab84f0e084bb4542c282758ea29774b5f172840cc0b9e4194ef89" }
|
|
43608
43608
|
];
|
|
43609
43609
|
}
|
|
43610
43610
|
});
|
|
@@ -44150,7 +44150,7 @@ async function runStore(pos, flags, io, deps) {
|
|
|
44150
44150
|
}
|
|
44151
44151
|
let findings;
|
|
44152
44152
|
try {
|
|
44153
|
-
findings = await deps.preflightApp(app);
|
|
44153
|
+
findings = await deps.preflightApp(app, { profileFlag: str2(flags.profile) });
|
|
44154
44154
|
} catch (e) {
|
|
44155
44155
|
return fail2(e.message);
|
|
44156
44156
|
}
|
|
@@ -44423,6 +44423,125 @@ var init_preflight = __esm({
|
|
|
44423
44423
|
}
|
|
44424
44424
|
});
|
|
44425
44425
|
|
|
44426
|
+
// ../store-release/credential-profile.ts
|
|
44427
|
+
var credential_profile_exports = {};
|
|
44428
|
+
__export(credential_profile_exports, {
|
|
44429
|
+
credentialEnv: () => credentialEnv,
|
|
44430
|
+
credentialsDir: () => credentialsDir,
|
|
44431
|
+
maskIssuer: () => maskIssuer,
|
|
44432
|
+
namedProfile: () => namedProfile,
|
|
44433
|
+
parseProfile: () => parseProfile,
|
|
44434
|
+
profilePath: () => profilePath,
|
|
44435
|
+
resolveStoreCredentials: () => resolveStoreCredentials
|
|
44436
|
+
});
|
|
44437
|
+
import { existsSync as existsSync50, readFileSync as readFileSync57 } from "node:fs";
|
|
44438
|
+
import { homedir as homedir6 } from "node:os";
|
|
44439
|
+
import { join as join47 } from "node:path";
|
|
44440
|
+
function credentialsDir(home = homedir6()) {
|
|
44441
|
+
return join47(home, ".himalaya", "store-credentials");
|
|
44442
|
+
}
|
|
44443
|
+
function profilePath(name, home = homedir6()) {
|
|
44444
|
+
if (!PROFILE_NAME.test(name)) {
|
|
44445
|
+
throw new Error(
|
|
44446
|
+
`credential profile ${JSON.stringify(name)} is not a profile name \u2014 use letters, digits, ".", "_" or "-" starting with a letter or digit. It names ${join47(credentialsDir(home), "<name>.json")}; it is never a path.`
|
|
44447
|
+
);
|
|
44448
|
+
}
|
|
44449
|
+
return join47(credentialsDir(home), `${name}.json`);
|
|
44450
|
+
}
|
|
44451
|
+
function parseProfile(text2, label2) {
|
|
44452
|
+
let doc;
|
|
44453
|
+
try {
|
|
44454
|
+
doc = JSON.parse(text2);
|
|
44455
|
+
} catch (e) {
|
|
44456
|
+
throw new Error(`${label2} is not valid JSON: ${e.message}`);
|
|
44457
|
+
}
|
|
44458
|
+
if (!doc || typeof doc !== "object" || Array.isArray(doc)) {
|
|
44459
|
+
throw new Error(`${label2} must be a JSON object with ${FIELDS.join(", ")}.`);
|
|
44460
|
+
}
|
|
44461
|
+
const rec = doc;
|
|
44462
|
+
const out = {};
|
|
44463
|
+
for (const f of FIELDS) {
|
|
44464
|
+
const v = rec[f];
|
|
44465
|
+
if (typeof v !== "string" || !v.trim() || /^TODO/i.test(v.trim())) {
|
|
44466
|
+
throw new Error(`${label2} is missing a usable "${f}" (got ${JSON.stringify(v)}).`);
|
|
44467
|
+
}
|
|
44468
|
+
out[f] = v.trim();
|
|
44469
|
+
}
|
|
44470
|
+
return out;
|
|
44471
|
+
}
|
|
44472
|
+
function namedProfile(cfg, profileFlag) {
|
|
44473
|
+
const ios = cfg.ios ?? {};
|
|
44474
|
+
return profileFlag?.trim() || ios.credentialProfile?.trim() || void 0;
|
|
44475
|
+
}
|
|
44476
|
+
function resolveStoreCredentials(opts) {
|
|
44477
|
+
const { app, cfg } = opts;
|
|
44478
|
+
const env = opts.env ?? process.env;
|
|
44479
|
+
const home = opts.home ?? homedir6();
|
|
44480
|
+
const read = opts.readProfile ?? ((p) => readFileSync57(p, "utf8"));
|
|
44481
|
+
const exists = opts.profileExists ?? existsSync50;
|
|
44482
|
+
const ios = cfg.ios ?? {};
|
|
44483
|
+
const flagName = opts.profileFlag?.trim();
|
|
44484
|
+
const named = namedProfile(cfg, opts.profileFlag);
|
|
44485
|
+
if (named) {
|
|
44486
|
+
const source = flagName ? "flag" : "config";
|
|
44487
|
+
const p = profilePath(named, home);
|
|
44488
|
+
assertCredentialOutsideRepo(`credential profile "${named}"`, p);
|
|
44489
|
+
if (!exists(p)) {
|
|
44490
|
+
throw new Error(
|
|
44491
|
+
`credential profile "${named}" not found at ${p}. Create it with the App Store Connect identifiers for that account: { "team": \u2026, "ascKeyId": \u2026, "ascIssuerId": \u2026, "ascKeyPath": \u2026 }. The .p8 itself stays outside the repo and is never committed.`
|
|
44492
|
+
);
|
|
44493
|
+
}
|
|
44494
|
+
const doc = parseProfile(read(p), `credential profile "${named}" (${p})`);
|
|
44495
|
+
assertCredentialOutsideRepo(`credential profile "${named}" ascKeyPath`, doc.ascKeyPath);
|
|
44496
|
+
if (ios.team && !/^TODO/i.test(ios.team) && ios.team !== doc.team) {
|
|
44497
|
+
throw new Error(
|
|
44498
|
+
`apps/${app}/store/store.config.yaml declares ios.team "${ios.team}" but credential profile "${named}" is for team "${doc.team}". Fix whichever is stale \u2014 never upload to a team the app config does not name.`
|
|
44499
|
+
);
|
|
44500
|
+
}
|
|
44501
|
+
return { ...doc, source, profile: named };
|
|
44502
|
+
}
|
|
44503
|
+
const missing = ["ASC_KEY_ID", "ASC_ISSUER_ID", "ASC_KEY_PATH"].filter((n) => !env[n]);
|
|
44504
|
+
if (missing.length) {
|
|
44505
|
+
throw new Error(
|
|
44506
|
+
`no App Store Connect account resolved for "${app}": ${missing.join(", ")} unset and no credential profile declared. Either export the ASC_* vars, or set ios.credentialProfile in apps/${app}/store/store.config.yaml (see /setup-store-signing).`
|
|
44507
|
+
);
|
|
44508
|
+
}
|
|
44509
|
+
const ascKeyPath = env.ASC_KEY_PATH;
|
|
44510
|
+
assertCredentialOutsideRepo("ASC_KEY_PATH", ascKeyPath);
|
|
44511
|
+
const team = env.HIMALAYA_APPLE_TEAM_ID || ios.team;
|
|
44512
|
+
if (!team || /^TODO/i.test(team)) {
|
|
44513
|
+
throw new Error(
|
|
44514
|
+
`no Apple team for "${app}": set ios.team in apps/${app}/store/store.config.yaml or export HIMALAYA_APPLE_TEAM_ID.`
|
|
44515
|
+
);
|
|
44516
|
+
}
|
|
44517
|
+
return {
|
|
44518
|
+
team,
|
|
44519
|
+
ascKeyId: env.ASC_KEY_ID,
|
|
44520
|
+
ascIssuerId: env.ASC_ISSUER_ID,
|
|
44521
|
+
ascKeyPath,
|
|
44522
|
+
source: "env"
|
|
44523
|
+
};
|
|
44524
|
+
}
|
|
44525
|
+
function credentialEnv(c) {
|
|
44526
|
+
return {
|
|
44527
|
+
ASC_KEY_ID: c.ascKeyId,
|
|
44528
|
+
ASC_ISSUER_ID: c.ascIssuerId,
|
|
44529
|
+
ASC_KEY_PATH: c.ascKeyPath,
|
|
44530
|
+
HIMALAYA_APPLE_TEAM_ID: c.team
|
|
44531
|
+
};
|
|
44532
|
+
}
|
|
44533
|
+
function maskIssuer(issuer) {
|
|
44534
|
+
return issuer.length <= 8 ? issuer : `${issuer.slice(0, 8)}\u2026`;
|
|
44535
|
+
}
|
|
44536
|
+
var PROFILE_NAME, FIELDS;
|
|
44537
|
+
var init_credential_profile = __esm({
|
|
44538
|
+
"../store-release/credential-profile.ts"() {
|
|
44539
|
+
init_preflight();
|
|
44540
|
+
PROFILE_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
44541
|
+
FIELDS = ["team", "ascKeyId", "ascIssuerId", "ascKeyPath"];
|
|
44542
|
+
}
|
|
44543
|
+
});
|
|
44544
|
+
|
|
44426
44545
|
// ../store-release/preflight-app.ts
|
|
44427
44546
|
var preflight_app_exports = {};
|
|
44428
44547
|
__export(preflight_app_exports, {
|
|
@@ -44436,12 +44555,13 @@ __export(preflight_app_exports, {
|
|
|
44436
44555
|
jpegSize: () => jpegSize,
|
|
44437
44556
|
playListingAssets: () => playListingAssets,
|
|
44438
44557
|
pngSize: () => pngSize,
|
|
44439
|
-
preflightApp: () => preflightApp
|
|
44558
|
+
preflightApp: () => preflightApp,
|
|
44559
|
+
profileAccount: () => profileAccount
|
|
44440
44560
|
});
|
|
44441
|
-
import { readFileSync as
|
|
44561
|
+
import { readFileSync as readFileSync58, existsSync as existsSync51, readdirSync as readdirSync24, statSync as statSync10 } from "node:fs";
|
|
44442
44562
|
import { createHash as createHash23 } from "node:crypto";
|
|
44443
|
-
import { join as
|
|
44444
|
-
function analyze(projectYml, storeConfig, icon) {
|
|
44563
|
+
import { join as join48 } from "node:path";
|
|
44564
|
+
function analyze(projectYml, storeConfig, icon, account) {
|
|
44445
44565
|
const f = [];
|
|
44446
44566
|
const has = (re, s) => re.test(s);
|
|
44447
44567
|
const iconNameSet = has(/ASSETCATALOG_COMPILER_APPICON_NAME:\s*\S+/, projectYml);
|
|
@@ -44480,18 +44600,39 @@ function analyze(projectYml, storeConfig, icon) {
|
|
|
44480
44600
|
f.push({ level: "warn", message: "Declares associated-domains \u2192 requires ASSOCIATED_DOMAINS enabled on the App ID (and a real applinks host, not localhost) or signing/AASA breaks. Enable + set the host, or remove the entitlement." });
|
|
44481
44601
|
}
|
|
44482
44602
|
const todo = (key2) => new RegExp(`${key2}:\\s*TODO`).test(storeConfig) || !new RegExp(`${key2}:`).test(storeConfig);
|
|
44483
|
-
if (
|
|
44484
|
-
|
|
44485
|
-
|
|
44603
|
+
if (account) {
|
|
44604
|
+
if (account.error) f.push({ level: "error", message: account.error });
|
|
44605
|
+
} else {
|
|
44606
|
+
if (!/team:\s*\S+/.test(storeConfig) || /team:\s*TODO/.test(storeConfig)) f.push({ level: "error", message: "store.config.yaml ios.team is unset/TODO." });
|
|
44607
|
+
for (const k of ["ascKeyId", "ascIssuerId"]) {
|
|
44608
|
+
if (todo(k)) f.push({ level: "error", message: `store.config.yaml ios.${k} is unset/TODO (needed to sign + upload).` });
|
|
44609
|
+
}
|
|
44486
44610
|
}
|
|
44487
44611
|
if (todo("appStoreId")) f.push({ level: "warn", message: "store.config.yaml ios.appStoreId is unset/TODO \u2014 create the App Store Connect app record first (the API can't), then fill it." });
|
|
44488
44612
|
return f;
|
|
44489
44613
|
}
|
|
44490
|
-
|
|
44491
|
-
const
|
|
44492
|
-
const
|
|
44614
|
+
function profileAccount(app, storeConfig, opts = {}) {
|
|
44615
|
+
const cfg = parseStoreConfig(storeConfig);
|
|
44616
|
+
const profile = namedProfile(cfg, opts.profileFlag);
|
|
44617
|
+
if (!profile) return void 0;
|
|
44618
|
+
try {
|
|
44619
|
+
resolveStoreCredentials({ app, cfg, ...opts });
|
|
44620
|
+
return { profile };
|
|
44621
|
+
} catch (e) {
|
|
44622
|
+
const why = e instanceof Error ? e.message : String(e ?? "");
|
|
44623
|
+
return { profile, error: why.trim() || `credential profile "${profile}" could not be resolved.` };
|
|
44624
|
+
}
|
|
44625
|
+
}
|
|
44626
|
+
async function preflightApp(app, opts = {}) {
|
|
44627
|
+
const projectYml = existsSync51(iosProjectYml(app)) ? readFileSync58(iosProjectYml(app), "utf8") : "";
|
|
44628
|
+
const storeConfig = existsSync51(storeConfigPath(app)) ? readFileSync58(storeConfigPath(app), "utf8") : "";
|
|
44493
44629
|
if (!storeConfig) return [{ level: "error", message: `no apps/${app}/store/store.config.yaml \u2014 run /setup-store-signing first.` }];
|
|
44494
|
-
const findings = analyze(
|
|
44630
|
+
const findings = analyze(
|
|
44631
|
+
projectYml,
|
|
44632
|
+
storeConfig,
|
|
44633
|
+
await appIconState(join48(appDir(app), "ios")),
|
|
44634
|
+
profileAccount(app, storeConfig, opts)
|
|
44635
|
+
);
|
|
44495
44636
|
findings.push(...analyzeListing(metadataFilesPresent(app), listScreenshots(app)));
|
|
44496
44637
|
findings.push(
|
|
44497
44638
|
...analyzePlayListing(playListingAssets(app)).map((finding) => ({ ...finding, level: "warn" }))
|
|
@@ -44518,17 +44659,17 @@ function analyzeSubmissionRecord(appLevel, review, opts) {
|
|
|
44518
44659
|
return f;
|
|
44519
44660
|
}
|
|
44520
44661
|
function appLevelMetadataFiles(app, locale = "en-US") {
|
|
44521
|
-
const root =
|
|
44662
|
+
const root = join48(storeDir(app), "metadata");
|
|
44522
44663
|
const out = /* @__PURE__ */ new Set();
|
|
44523
|
-
if (
|
|
44664
|
+
if (existsSync51(root)) {
|
|
44524
44665
|
for (const n of readdirSync24(root)) if (n.endsWith(".txt")) out.add(n);
|
|
44525
44666
|
}
|
|
44526
|
-
if (
|
|
44667
|
+
if (existsSync51(join48(root, locale, "privacy_url.txt"))) out.add("privacy_url.txt");
|
|
44527
44668
|
return out;
|
|
44528
44669
|
}
|
|
44529
44670
|
function reviewInfoFiles(app) {
|
|
44530
|
-
const dir =
|
|
44531
|
-
if (!
|
|
44671
|
+
const dir = join48(storeDir(app), "review_information");
|
|
44672
|
+
if (!existsSync51(dir)) return /* @__PURE__ */ new Set();
|
|
44532
44673
|
return new Set(readdirSync24(dir).filter((n) => n.endsWith(".txt")));
|
|
44533
44674
|
}
|
|
44534
44675
|
function isValidAppStoreSize(w, h) {
|
|
@@ -44638,12 +44779,12 @@ function analyzePlayListing(assets) {
|
|
|
44638
44779
|
return f;
|
|
44639
44780
|
}
|
|
44640
44781
|
function playListingAssets(app, locale = "en-US") {
|
|
44641
|
-
const dir =
|
|
44782
|
+
const dir = join48(storeDir(app), "play", locale, "images");
|
|
44642
44783
|
const read = (names) => {
|
|
44643
44784
|
for (const name of names) {
|
|
44644
|
-
const p =
|
|
44785
|
+
const p = join48(dir, name);
|
|
44645
44786
|
try {
|
|
44646
|
-
if (statSync10(p).isFile()) return { name, bytes:
|
|
44787
|
+
if (statSync10(p).isFile()) return { name, bytes: readFileSync58(p) };
|
|
44647
44788
|
} catch {
|
|
44648
44789
|
}
|
|
44649
44790
|
}
|
|
@@ -44674,26 +44815,26 @@ function analyzeListing(metaFiles, shots) {
|
|
|
44674
44815
|
return f;
|
|
44675
44816
|
}
|
|
44676
44817
|
function metadataFilesPresent(app, locale = "en-US") {
|
|
44677
|
-
const dir =
|
|
44678
|
-
if (!
|
|
44818
|
+
const dir = join48(storeDir(app), "metadata", locale);
|
|
44819
|
+
if (!existsSync51(dir)) return /* @__PURE__ */ new Set();
|
|
44679
44820
|
return new Set(readdirSync24(dir).filter((n) => n.endsWith(".txt")));
|
|
44680
44821
|
}
|
|
44681
44822
|
function listScreenshots(app, locale = "en-US") {
|
|
44682
44823
|
const out = [];
|
|
44683
|
-
const flat =
|
|
44684
|
-
if (
|
|
44824
|
+
const flat = join48(storeDir(app), "screenshots", locale);
|
|
44825
|
+
if (existsSync51(flat)) {
|
|
44685
44826
|
for (const png of readdirSync24(flat).filter((n) => n.endsWith(".png"))) {
|
|
44686
|
-
const sz = pngSize(
|
|
44827
|
+
const sz = pngSize(readFileSync58(join48(flat, png)));
|
|
44687
44828
|
if (sz) out.push({ name: png, w: sz.w, h: sz.h });
|
|
44688
44829
|
}
|
|
44689
44830
|
}
|
|
44690
|
-
const legacy =
|
|
44691
|
-
if (
|
|
44831
|
+
const legacy = join48(storeDir(app), "metadata", locale, "screenshots");
|
|
44832
|
+
if (existsSync51(legacy)) {
|
|
44692
44833
|
for (const deviceDir of readdirSync24(legacy)) {
|
|
44693
|
-
const d =
|
|
44834
|
+
const d = join48(legacy, deviceDir);
|
|
44694
44835
|
if (!statSync10(d).isDirectory()) continue;
|
|
44695
44836
|
for (const png of readdirSync24(d).filter((n) => n.endsWith(".png"))) {
|
|
44696
|
-
const sz = pngSize(
|
|
44837
|
+
const sz = pngSize(readFileSync58(join48(d, png)));
|
|
44697
44838
|
if (sz) out.push({ name: `${deviceDir}/${png}`, w: sz.w, h: sz.h });
|
|
44698
44839
|
}
|
|
44699
44840
|
}
|
|
@@ -44701,13 +44842,13 @@ function listScreenshots(app, locale = "en-US") {
|
|
|
44701
44842
|
return out;
|
|
44702
44843
|
}
|
|
44703
44844
|
function placeholderHashes2() {
|
|
44704
|
-
const templateIos =
|
|
44705
|
-
if (!
|
|
44845
|
+
const templateIos = join48(appDir("_template"), "ios");
|
|
44846
|
+
if (!existsSync51(templateIos)) return [LEGACY_PLACEHOLDER_SHA2562];
|
|
44706
44847
|
for (const target of readdirSync24(templateIos)) {
|
|
44707
|
-
const p =
|
|
44848
|
+
const p = join48(templateIos, target, "Assets.xcassets", "AppIcon.appiconset", "icon_1024.png");
|
|
44708
44849
|
try {
|
|
44709
44850
|
if (!statSync10(p).isFile()) continue;
|
|
44710
|
-
return [LEGACY_PLACEHOLDER_SHA2562, createHash23("sha256").update(
|
|
44851
|
+
return [LEGACY_PLACEHOLDER_SHA2562, createHash23("sha256").update(readFileSync58(p)).digest("hex")];
|
|
44711
44852
|
} catch {
|
|
44712
44853
|
}
|
|
44713
44854
|
}
|
|
@@ -44738,12 +44879,12 @@ async function pixelIssues(bytes2) {
|
|
|
44738
44879
|
}
|
|
44739
44880
|
}
|
|
44740
44881
|
async function appIconState(iosDir) {
|
|
44741
|
-
if (!
|
|
44882
|
+
if (!existsSync51(iosDir)) return { exists: false, isPlaceholder: false, storeIssues: [] };
|
|
44742
44883
|
for (const target of readdirSync24(iosDir)) {
|
|
44743
|
-
const p =
|
|
44884
|
+
const p = join48(iosDir, target, "Assets.xcassets", "AppIcon.appiconset", "icon_1024.png");
|
|
44744
44885
|
try {
|
|
44745
44886
|
if (!statSync10(p).isFile()) continue;
|
|
44746
|
-
const bytes2 =
|
|
44887
|
+
const bytes2 = readFileSync58(p);
|
|
44747
44888
|
const hash = createHash23("sha256").update(bytes2).digest("hex");
|
|
44748
44889
|
const pixels = await pixelIssues(bytes2);
|
|
44749
44890
|
return {
|
|
@@ -44781,6 +44922,7 @@ var init_preflight_app = __esm({
|
|
|
44781
44922
|
"../store-release/preflight-app.ts"() {
|
|
44782
44923
|
init_paths();
|
|
44783
44924
|
init_preflight();
|
|
44925
|
+
init_credential_profile();
|
|
44784
44926
|
init_app_icon_rules();
|
|
44785
44927
|
APP_STORE_SIZES = [
|
|
44786
44928
|
[1320, 2868],
|
|
@@ -44803,114 +44945,6 @@ var init_preflight_app = __esm({
|
|
|
44803
44945
|
}
|
|
44804
44946
|
});
|
|
44805
44947
|
|
|
44806
|
-
// ../store-release/credential-profile.ts
|
|
44807
|
-
var credential_profile_exports = {};
|
|
44808
|
-
__export(credential_profile_exports, {
|
|
44809
|
-
credentialEnv: () => credentialEnv,
|
|
44810
|
-
credentialsDir: () => credentialsDir,
|
|
44811
|
-
maskIssuer: () => maskIssuer,
|
|
44812
|
-
parseProfile: () => parseProfile,
|
|
44813
|
-
profilePath: () => profilePath,
|
|
44814
|
-
resolveStoreCredentials: () => resolveStoreCredentials
|
|
44815
|
-
});
|
|
44816
|
-
import { existsSync as existsSync51, readFileSync as readFileSync58 } from "node:fs";
|
|
44817
|
-
import { homedir as homedir6 } from "node:os";
|
|
44818
|
-
import { join as join48 } from "node:path";
|
|
44819
|
-
function credentialsDir(home = homedir6()) {
|
|
44820
|
-
return join48(home, ".himalaya", "store-credentials");
|
|
44821
|
-
}
|
|
44822
|
-
function profilePath(name, home = homedir6()) {
|
|
44823
|
-
return join48(credentialsDir(home), `${name}.json`);
|
|
44824
|
-
}
|
|
44825
|
-
function parseProfile(text2, label2) {
|
|
44826
|
-
let doc;
|
|
44827
|
-
try {
|
|
44828
|
-
doc = JSON.parse(text2);
|
|
44829
|
-
} catch (e) {
|
|
44830
|
-
throw new Error(`${label2} is not valid JSON: ${e.message}`);
|
|
44831
|
-
}
|
|
44832
|
-
if (!doc || typeof doc !== "object" || Array.isArray(doc)) {
|
|
44833
|
-
throw new Error(`${label2} must be a JSON object with ${FIELDS.join(", ")}.`);
|
|
44834
|
-
}
|
|
44835
|
-
const rec = doc;
|
|
44836
|
-
const out = {};
|
|
44837
|
-
for (const f of FIELDS) {
|
|
44838
|
-
const v = rec[f];
|
|
44839
|
-
if (typeof v !== "string" || !v.trim() || /^TODO/i.test(v.trim())) {
|
|
44840
|
-
throw new Error(`${label2} is missing a usable "${f}" (got ${JSON.stringify(v)}).`);
|
|
44841
|
-
}
|
|
44842
|
-
out[f] = v.trim();
|
|
44843
|
-
}
|
|
44844
|
-
return out;
|
|
44845
|
-
}
|
|
44846
|
-
function resolveStoreCredentials(opts) {
|
|
44847
|
-
const { app, cfg } = opts;
|
|
44848
|
-
const env = opts.env ?? process.env;
|
|
44849
|
-
const home = opts.home ?? homedir6();
|
|
44850
|
-
const read = opts.readProfile ?? ((p) => readFileSync58(p, "utf8"));
|
|
44851
|
-
const exists = opts.profileExists ?? existsSync51;
|
|
44852
|
-
const ios = cfg.ios ?? {};
|
|
44853
|
-
const flagName = opts.profileFlag?.trim();
|
|
44854
|
-
const named = flagName || ios.credentialProfile?.trim();
|
|
44855
|
-
if (named) {
|
|
44856
|
-
const source = flagName ? "flag" : "config";
|
|
44857
|
-
const p = profilePath(named, home);
|
|
44858
|
-
assertCredentialOutsideRepo(`credential profile "${named}"`, p);
|
|
44859
|
-
if (!exists(p)) {
|
|
44860
|
-
throw new Error(
|
|
44861
|
-
`credential profile "${named}" not found at ${p}. Create it with the App Store Connect identifiers for that account: { "team": \u2026, "ascKeyId": \u2026, "ascIssuerId": \u2026, "ascKeyPath": \u2026 }. The .p8 itself stays outside the repo and is never committed.`
|
|
44862
|
-
);
|
|
44863
|
-
}
|
|
44864
|
-
const doc = parseProfile(read(p), `credential profile "${named}" (${p})`);
|
|
44865
|
-
assertCredentialOutsideRepo(`credential profile "${named}" ascKeyPath`, doc.ascKeyPath);
|
|
44866
|
-
if (ios.team && !/^TODO/i.test(ios.team) && ios.team !== doc.team) {
|
|
44867
|
-
throw new Error(
|
|
44868
|
-
`apps/${app}/store/store.config.yaml declares ios.team "${ios.team}" but credential profile "${named}" is for team "${doc.team}". Fix whichever is stale \u2014 never upload to a team the app config does not name.`
|
|
44869
|
-
);
|
|
44870
|
-
}
|
|
44871
|
-
return { ...doc, source, profile: named };
|
|
44872
|
-
}
|
|
44873
|
-
const missing = ["ASC_KEY_ID", "ASC_ISSUER_ID", "ASC_KEY_PATH"].filter((n) => !env[n]);
|
|
44874
|
-
if (missing.length) {
|
|
44875
|
-
throw new Error(
|
|
44876
|
-
`no App Store Connect account resolved for "${app}": ${missing.join(", ")} unset and no credential profile declared. Either export the ASC_* vars, or set ios.credentialProfile in apps/${app}/store/store.config.yaml (see /setup-store-signing).`
|
|
44877
|
-
);
|
|
44878
|
-
}
|
|
44879
|
-
const ascKeyPath = env.ASC_KEY_PATH;
|
|
44880
|
-
assertCredentialOutsideRepo("ASC_KEY_PATH", ascKeyPath);
|
|
44881
|
-
const team = env.HIMALAYA_APPLE_TEAM_ID || ios.team;
|
|
44882
|
-
if (!team || /^TODO/i.test(team)) {
|
|
44883
|
-
throw new Error(
|
|
44884
|
-
`no Apple team for "${app}": set ios.team in apps/${app}/store/store.config.yaml or export HIMALAYA_APPLE_TEAM_ID.`
|
|
44885
|
-
);
|
|
44886
|
-
}
|
|
44887
|
-
return {
|
|
44888
|
-
team,
|
|
44889
|
-
ascKeyId: env.ASC_KEY_ID,
|
|
44890
|
-
ascIssuerId: env.ASC_ISSUER_ID,
|
|
44891
|
-
ascKeyPath,
|
|
44892
|
-
source: "env"
|
|
44893
|
-
};
|
|
44894
|
-
}
|
|
44895
|
-
function credentialEnv(c) {
|
|
44896
|
-
return {
|
|
44897
|
-
ASC_KEY_ID: c.ascKeyId,
|
|
44898
|
-
ASC_ISSUER_ID: c.ascIssuerId,
|
|
44899
|
-
ASC_KEY_PATH: c.ascKeyPath,
|
|
44900
|
-
HIMALAYA_APPLE_TEAM_ID: c.team
|
|
44901
|
-
};
|
|
44902
|
-
}
|
|
44903
|
-
function maskIssuer(issuer) {
|
|
44904
|
-
return issuer.length <= 8 ? issuer : `${issuer.slice(0, 8)}\u2026`;
|
|
44905
|
-
}
|
|
44906
|
-
var FIELDS;
|
|
44907
|
-
var init_credential_profile = __esm({
|
|
44908
|
-
"../store-release/credential-profile.ts"() {
|
|
44909
|
-
init_preflight();
|
|
44910
|
-
FIELDS = ["team", "ascKeyId", "ascIssuerId", "ascKeyPath"];
|
|
44911
|
-
}
|
|
44912
|
-
});
|
|
44913
|
-
|
|
44914
44948
|
// ../store-release/version.ts
|
|
44915
44949
|
var version_exports = {};
|
|
44916
44950
|
__export(version_exports, {
|
|
@@ -55193,8 +55227,10 @@ var USAGE = `himi \u2014 the Himalaya authoring CLI (remote dev loop)
|
|
|
55193
55227
|
--release <published-release-id> --version <x.y.z> --yes --target bo.
|
|
55194
55228
|
Job Service builds the IPA; deployed serve validates it, then
|
|
55195
55229
|
invokes MRE with its service identity. This is separate from QA himi dist.
|
|
55196
|
-
himi store preflight <app> [--json]
|
|
55197
|
-
|
|
55230
|
+
himi store preflight <app> [--profile <name>] [--json]
|
|
55231
|
+
readiness only \u2014 icon, entitlements, encryption flag,
|
|
55232
|
+
version, store.config ids (or the --profile /
|
|
55233
|
+
ios.credentialProfile account), listing + review record.
|
|
55198
55234
|
No network, nothing built.
|
|
55199
55235
|
himi store upload <app> [--track <t>] [--profile <name>] [--yes] [--dry-run]
|
|
55200
55236
|
the same upload himi testflight runs.
|
|
@@ -55406,7 +55442,7 @@ var COMMANDS = [
|
|
|
55406
55442
|
{ 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)" },
|
|
55407
55443
|
{ 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 | player | demo-app). `--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` (sign with your own Apple account) is reserved and 501s. `--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). 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", required: "[--app <a>] [--platform ios,android] [--release <id>] [--allow-draft] [--target <t>] [--shell branded-lite|owner-lite|player|demo-app] [--signing wix-managed|byo] [--android-signing qa-keystore|wix-keystore|debug] [--borrow-ios-id <bundleId>] [--no-wait] [--force] | status <jobId> [--target <t>] | watch <jobId> [--target <t>] [--interval <ms>] | list --app <a> [--target <t>] | cancel <jobId> [--target <t>]" },
|
|
55408
55444
|
{ 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]" },
|
|
55409
|
-
{ name: "store", summary: "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", required: "preflight <app> | upload <app> [--track <t>] [--profile <n>] [--yes] [--dry-run] | status <app> [--profile <n>]" },
|
|
55445
|
+
{ name: "store", summary: "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", required: "preflight <app> [--profile <n>] | upload <app> [--track <t>] [--profile <n>] [--yes] [--dry-run] | status <app> [--profile <n>]" },
|
|
55410
55446
|
{ name: "guide", summary: "print the Himalaya overview + headless dev loop + available topics (offline)", required: "[--json]" },
|
|
55411
55447
|
{ name: "docs", summary: "print an authoring guide; no topic = list them (offline)", required: "[<topic>] [--json]" },
|
|
55412
55448
|
{ name: "components", summary: "print the SDUI component vocabulary + props; a name = that component (offline)", required: "[<Name>] [--json]" },
|
|
Binary file
|
|
@@ -515,14 +515,18 @@ What the host guarantees, on every surface:
|
|
|
515
515
|
window stays visible while unfocused), and a **React Native** host must pass
|
|
516
516
|
`installPollLifecycle: makeAppStatePollLifecycle(AppState)` or it never suspends there
|
|
517
517
|
either. See the RFC's per-surface table.
|
|
518
|
-
- **
|
|
518
|
+
- **Worker teardown cancels it; leaving a pooled screen pauses it.** The timer starts with
|
|
519
|
+
the worker and dies with it. A host that keeps a navigated-away screen's worker warm in
|
|
520
|
+
a keep-alive pool suspends its poll while it sits there — it fires immediately when the
|
|
521
|
+
screen reappears, then resumes cadence. The poll ends only when the worker itself is
|
|
522
|
+
torn down: evicted from the pool, or the pool reset.
|
|
519
523
|
|
|
520
524
|
Two things to know before you reach for it:
|
|
521
525
|
|
|
522
526
|
- **`_poll` has no stop form.** The directive can start and replace a poll, not end one.
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
527
|
+
Worker teardown is the only stop; navigating away from a pooled screen pauses the poll
|
|
528
|
+
rather than ending it. Pick a cadence you would be comfortable running on several
|
|
529
|
+
screens at once.
|
|
526
530
|
- **Emit it from the action that runs on every entry**, not only from a first-open path.
|
|
527
531
|
Restored worker state re-paints data but arms no timer, so a poll armed only by `open`
|
|
528
532
|
restores into a screen that *looks* live and never refreshes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.971.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": [
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"artifactId": "himalaya-cli"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
|
-
"falconPackageHash": "
|
|
67
|
+
"falconPackageHash": "dc35d80213a50f83892eb491d6ec9afd8cf09def367013281612b0aa"
|
|
68
68
|
}
|
|
@@ -37,7 +37,7 @@ export default defineApp({
|
|
|
37
37
|
actions: "http://localhost:8190/v1/actions",
|
|
38
38
|
sync: "http://localhost:8190/v1/sync",
|
|
39
39
|
},
|
|
40
|
-
capabilities: ["live_activity","push","share","secure_storage","open_url","local_database"],
|
|
40
|
+
capabilities: ["live_activity","push","share","secure_storage","open_url","local_database","clipboard"],
|
|
41
41
|
designTokensPath: "./tokens.json",
|
|
42
42
|
navigation: {
|
|
43
43
|
"navKind": "responsive",
|
|
@@ -54892,6 +54892,83 @@ const SCREENS = runtimeSetting({
|
|
|
54892
54892
|
}
|
|
54893
54893
|
}
|
|
54894
54894
|
},
|
|
54895
|
+
{
|
|
54896
|
+
"id": "himi_owner_lite_aria.reply_actions",
|
|
54897
|
+
"body": {
|
|
54898
|
+
"package": "himalaya",
|
|
54899
|
+
"type": "HStack",
|
|
54900
|
+
"props": {
|
|
54901
|
+
"spacing": 4,
|
|
54902
|
+
"children": [
|
|
54903
|
+
{
|
|
54904
|
+
"id": "himi_owner_lite_aria.copy",
|
|
54905
|
+
"body": {
|
|
54906
|
+
"package": "himalaya",
|
|
54907
|
+
"type": "Button",
|
|
54908
|
+
"props": {
|
|
54909
|
+
"title": "Copy",
|
|
54910
|
+
"style": "plain",
|
|
54911
|
+
"size": "sm",
|
|
54912
|
+
"fullWidth": false,
|
|
54913
|
+
"leadingIcon": "copy",
|
|
54914
|
+
"action": {
|
|
54915
|
+
"actionId": "tier5.himiOwnerLiteAria.copyMessage"
|
|
54916
|
+
}
|
|
54917
|
+
}
|
|
54918
|
+
}
|
|
54919
|
+
},
|
|
54920
|
+
{
|
|
54921
|
+
"id": "himi_owner_lite_aria.regenerate",
|
|
54922
|
+
"body": {
|
|
54923
|
+
"package": "himalaya",
|
|
54924
|
+
"type": "Button",
|
|
54925
|
+
"props": {
|
|
54926
|
+
"title": "Regenerate",
|
|
54927
|
+
"style": "plain",
|
|
54928
|
+
"size": "sm",
|
|
54929
|
+
"fullWidth": false,
|
|
54930
|
+
"leadingIcon": "refresh",
|
|
54931
|
+
"action": {
|
|
54932
|
+
"actionId": "tier5.himiOwnerLiteAria.regenerate"
|
|
54933
|
+
}
|
|
54934
|
+
}
|
|
54935
|
+
}
|
|
54936
|
+
},
|
|
54937
|
+
{
|
|
54938
|
+
"id": "",
|
|
54939
|
+
"body": {
|
|
54940
|
+
"package": "himalaya",
|
|
54941
|
+
"type": "Text",
|
|
54942
|
+
"props": {
|
|
54943
|
+
"text": "$service:himiOwnerLiteAria.copyNote",
|
|
54944
|
+
"style": "footnote",
|
|
54945
|
+
"color": "textSecondary",
|
|
54946
|
+
"maxLines": 1,
|
|
54947
|
+
"collapseWhenEmpty": true
|
|
54948
|
+
}
|
|
54949
|
+
}
|
|
54950
|
+
},
|
|
54951
|
+
{
|
|
54952
|
+
"id": "",
|
|
54953
|
+
"body": {
|
|
54954
|
+
"package": "himalaya",
|
|
54955
|
+
"type": "Spacer",
|
|
54956
|
+
"props": {}
|
|
54957
|
+
}
|
|
54958
|
+
}
|
|
54959
|
+
]
|
|
54960
|
+
}
|
|
54961
|
+
},
|
|
54962
|
+
"modifiers": {
|
|
54963
|
+
"padding": {
|
|
54964
|
+
"leading": 0,
|
|
54965
|
+
"trailing": 0,
|
|
54966
|
+
"top": 0,
|
|
54967
|
+
"bottom": 4
|
|
54968
|
+
},
|
|
54969
|
+
"hiddenPath": "$service:himiOwnerLiteAria.replyActionsHidden"
|
|
54970
|
+
}
|
|
54971
|
+
},
|
|
54895
54972
|
{
|
|
54896
54973
|
"id": "himi_owner_lite_aria.prompts.bound",
|
|
54897
54974
|
"body": {
|
|
@@ -58271,7 +58348,8 @@ const SCREENS = runtimeSetting({
|
|
|
58271
58348
|
"contentType": "application/javascript+ts-bundle",
|
|
58272
58349
|
"declaredCapabilities": [
|
|
58273
58350
|
"wix_api",
|
|
58274
|
-
"open_url"
|
|
58351
|
+
"open_url",
|
|
58352
|
+
"clipboard"
|
|
58275
58353
|
],
|
|
58276
58354
|
"minBinaryVersion": "0.1.0",
|
|
58277
58355
|
"bundleVersion": "0.0.1"
|