@wix/himalaya-cli 0.1919.0 → 0.1920.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/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{f76c058d94ead3a5eda0b4de5dfb2b9c96899c69268970ea7b528b1c97b0833e.bin → d9e187d7c90304afc1cc68bdb1391f0827037645d3f6f22f7fcfd63b01daee18.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +130 -49
- package/dist/preview-assets.generated.bin +0 -0
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -23811,6 +23811,7 @@ __export(validate_descriptor_core_exports, {
|
|
|
23811
23811
|
DEVICE_STRIPPED_HOST_GLOBALS: () => DEVICE_STRIPPED_HOST_GLOBALS,
|
|
23812
23812
|
DEVICE_WITHHELD: () => DEVICE_WITHHELD,
|
|
23813
23813
|
EMBEDDED_BINDING: () => EMBEDDED_BINDING,
|
|
23814
|
+
INPUT_READS_MAX_KEYS: () => INPUT_READS_MAX_KEYS,
|
|
23814
23815
|
INTEGER_MODIFIERS: () => INTEGER_MODIFIERS,
|
|
23815
23816
|
INTEGER_PROPS: () => INTEGER_PROPS,
|
|
23816
23817
|
KNOWN_PROPS: () => KNOWN_PROPS,
|
|
@@ -23863,9 +23864,11 @@ __export(validate_descriptor_core_exports, {
|
|
|
23863
23864
|
pinnedIntrinsicsSource: () => pinnedIntrinsicsSource,
|
|
23864
23865
|
rawJsonDepthFinding: () => rawJsonDepthFinding,
|
|
23865
23866
|
realmInstallsIntl: () => realmInstallsIntl,
|
|
23867
|
+
recordInputKey: () => recordInputKey,
|
|
23866
23868
|
resolveActionEvaluator: () => resolveActionEvaluator,
|
|
23867
23869
|
resolveBootEvaluator: () => resolveBootEvaluator,
|
|
23868
23870
|
resolveEvaluator: () => resolveEvaluator,
|
|
23871
|
+
sandboxInputReads: () => sandboxInputReads,
|
|
23869
23872
|
screenDepthFindings: () => screenDepthFindings,
|
|
23870
23873
|
scrollBindingFindings: () => scrollBindingFindings,
|
|
23871
23874
|
serviceOnlyBindingValues: () => serviceOnlyBindingValues,
|
|
@@ -23960,6 +23963,37 @@ function webCrypto() {
|
|
|
23960
23963
|
...HOST_CRYPTO.subtle ? { subtle: subtleFacade(HOST_CRYPTO.subtle) } : {}
|
|
23961
23964
|
});
|
|
23962
23965
|
}
|
|
23966
|
+
function sandboxInputReads(sandbox) {
|
|
23967
|
+
return INPUT_READS.get(sandbox);
|
|
23968
|
+
}
|
|
23969
|
+
function recordingInput(input, keys2) {
|
|
23970
|
+
const note = (k3) => {
|
|
23971
|
+
if (typeof k3 === "string") recordInputKey(keys2, k3);
|
|
23972
|
+
};
|
|
23973
|
+
return new Proxy(input, {
|
|
23974
|
+
get: (t2, k3) => {
|
|
23975
|
+
note(k3);
|
|
23976
|
+
return Reflect.get(t2, k3);
|
|
23977
|
+
},
|
|
23978
|
+
has: (t2, k3) => {
|
|
23979
|
+
note(k3);
|
|
23980
|
+
return Reflect.has(t2, k3);
|
|
23981
|
+
},
|
|
23982
|
+
getOwnPropertyDescriptor: (t2, k3) => {
|
|
23983
|
+
note(k3);
|
|
23984
|
+
return Reflect.getOwnPropertyDescriptor(t2, k3);
|
|
23985
|
+
},
|
|
23986
|
+
ownKeys: (t2) => {
|
|
23987
|
+
keys2.add("*");
|
|
23988
|
+
return Reflect.ownKeys(t2);
|
|
23989
|
+
}
|
|
23990
|
+
});
|
|
23991
|
+
}
|
|
23992
|
+
function recordInputKey(keys2, key4) {
|
|
23993
|
+
if (keys2.has("*") || keys2.has(key4)) return;
|
|
23994
|
+
if (keys2.size >= INPUT_READS_MAX_KEYS) keys2.add("*");
|
|
23995
|
+
else keys2.add(key4);
|
|
23996
|
+
}
|
|
23963
23997
|
function runBundleSandbox(bundleJs, opts) {
|
|
23964
23998
|
const services2 = {};
|
|
23965
23999
|
const actions = {};
|
|
@@ -23984,7 +24018,7 @@ function runBundleSandbox(bundleJs, opts) {
|
|
|
23984
24018
|
// screen). Seeding the actual baked object makes the dry-run faithful — it exercises
|
|
23985
24019
|
// what ships — instead of falling through to the capability proxy. Always an object,
|
|
23986
24020
|
// mirroring the host: a worker reading an absent key gets `undefined`, like on device.
|
|
23987
|
-
input: opts.input ?? {},
|
|
24021
|
+
input: opts.inputReads ? recordingInput(opts.input ?? {}, opts.inputReads.keys) : opts.input ?? {},
|
|
23988
24022
|
defineService: (name, def2) => {
|
|
23989
24023
|
const serviceName2 = String(name);
|
|
23990
24024
|
const defState = def2?.state;
|
|
@@ -24065,7 +24099,10 @@ function runBundleSandbox(bundleJs, opts) {
|
|
|
24065
24099
|
const l10n = opts.l10n;
|
|
24066
24100
|
if (l10n) sandbox.__himalaya_l10n = createL10nLookup(() => l10n.data, () => l10n.granted);
|
|
24067
24101
|
try {
|
|
24068
|
-
resolveBootEvaluator(opts.evaluator)
|
|
24102
|
+
const bootRealm = resolveBootEvaluator(opts.evaluator);
|
|
24103
|
+
const reads3 = opts.inputReads ? { raw: opts.input ?? {}, keys: opts.inputReads.keys, consumed: false } : void 0;
|
|
24104
|
+
if (reads3) INPUT_READS.set(sandbox, reads3);
|
|
24105
|
+
bootRealm.run(bundleJs, sandbox, {
|
|
24069
24106
|
timeoutMs: opts.timeoutMs ?? BOOT_EVAL_TIMEOUT_MS,
|
|
24070
24107
|
filename: "himi-bundle.js",
|
|
24071
24108
|
captureConsole: Boolean(opts.captureConsole),
|
|
@@ -24075,6 +24112,7 @@ function runBundleSandbox(bundleJs, opts) {
|
|
|
24075
24112
|
...opts.seed === void 0 ? {} : { seed: opts.seed },
|
|
24076
24113
|
...opts.mirrorRandom ? { mirrorRandom: true } : {}
|
|
24077
24114
|
});
|
|
24115
|
+
if (opts.inputReads && reads3) opts.inputReads.observed = bootRealm.evaluatesSandboxDirectly === true || reads3.consumed;
|
|
24078
24116
|
return { services: services2, actions, exports: exports2, console: consoleLines, threw: null };
|
|
24079
24117
|
} catch (err) {
|
|
24080
24118
|
if (opts.rethrow) throw err;
|
|
@@ -27277,7 +27315,7 @@ function validateAppWebViewInstances(screens, opts) {
|
|
|
27277
27315
|
];
|
|
27278
27316
|
return webViewEmbeddedIssues(findings).map((issue3, i2) => ({ ...issue3, screenId: findings[i2].screenId }));
|
|
27279
27317
|
}
|
|
27280
|
-
var CRAWL_BLOCKING_PASSES, BOOT_EVAL_TIMEOUT_MS, BUNDLE_FILENAME, HOST_CRYPTO, hostGetRandomValues, hostRandomUUID, hostAtob, hostBtoa, SUBTLE_METHODS, DRIFT_PROBES, DEVICE_NETWORK_WITHHELD, DEVICE_STRIPPED_HOST_GLOBALS, DEVICE_WITHHELD, DEVICE_PARITY_CANDIDATES, DEVICE_PARITY_WITHHELD, defaultEvaluator, bootEvaluator, actionEvaluator, NATIVE_PROP_ENUMS, ROW_FIELD_BINDING, TEXT_FIELD_CONTENT_TYPES, KNOWN_PROPS, IN_ARRAY_BINDING_PROPS, SERVICE_SIGIL, INTEGER_PROPS, NESTED_COMPONENT_SLOTS, NESTED_SLOT_DECODE_KILL, NATIVE_REQUIRED_PROPS, bareNestedClass, NATIVE_NESTED_CLASSES, NATIVE_MODIFIERS_CLASS, NATIVE_NESTED_SCALARS, NATIVE_DESCRIPTOR_CLASS, NATIVE_DESCRIPTOR_NESTED, NATIVE_NESTED_PROPS, LENIENT_TOP_BAR_BLOCKS, MODIFIER_KEYS, INTEGER_MODIFIERS, MODIFIER_KINDS, SCHEMA_SCORED_NODES, CORE_PACKAGES, LEGACY_UNSCORED_KEYS, DYNAMIC_PLACEHOLDER, LITERAL_ONLY_PROPS, SERVICE_ONLY_BINDING_PROPS, WHOLE_VALUE_BINDING, EMBEDDED_BINDING, OPTIONS_BINDING_PROPS, EDITOR_SERVICE_NAME, SHEET_PLACEMENTS, UNSAFE_TO_RECURSE_DEPTH, TOP_BAR_TRAILING_LIMIT, TOP_BAR_NON_TRAILING, TOP_BAR_TITLE_ALIGN_VALUES, TOP_BAR_TITLE_DISPLAY_VALUES, TOP_BAR_COVER_TONE_VALUES, TOP_BAR_SCROLL_STYLES, TOP_BAR_SEARCH_BINDINGS, TOP_BAR_SEARCH_GATE, PRESS_PROPS, PRESS_OWNING_SLOTS, TAB_BAR_KINDS_WITHOUT_BOTTOM_TABS, ORIENTATION_NAMES, DEFAULT_ENVELOPE, BUTTON_STYLES, PROP_VALUE_ENUMS, PROP_VALUE_DEFAULTS, EMPTY_STATE_ACTION_STYLES, EMPTY_STATE_ACTION_SIZES;
|
|
27318
|
+
var CRAWL_BLOCKING_PASSES, BOOT_EVAL_TIMEOUT_MS, BUNDLE_FILENAME, HOST_CRYPTO, hostGetRandomValues, hostRandomUUID, hostAtob, hostBtoa, SUBTLE_METHODS, INPUT_READS, INPUT_READS_MAX_KEYS, DRIFT_PROBES, DEVICE_NETWORK_WITHHELD, DEVICE_STRIPPED_HOST_GLOBALS, DEVICE_WITHHELD, DEVICE_PARITY_CANDIDATES, DEVICE_PARITY_WITHHELD, defaultEvaluator, bootEvaluator, actionEvaluator, NATIVE_PROP_ENUMS, ROW_FIELD_BINDING, TEXT_FIELD_CONTENT_TYPES, KNOWN_PROPS, IN_ARRAY_BINDING_PROPS, SERVICE_SIGIL, INTEGER_PROPS, NESTED_COMPONENT_SLOTS, NESTED_SLOT_DECODE_KILL, NATIVE_REQUIRED_PROPS, bareNestedClass, NATIVE_NESTED_CLASSES, NATIVE_MODIFIERS_CLASS, NATIVE_NESTED_SCALARS, NATIVE_DESCRIPTOR_CLASS, NATIVE_DESCRIPTOR_NESTED, NATIVE_NESTED_PROPS, LENIENT_TOP_BAR_BLOCKS, MODIFIER_KEYS, INTEGER_MODIFIERS, MODIFIER_KINDS, SCHEMA_SCORED_NODES, CORE_PACKAGES, LEGACY_UNSCORED_KEYS, DYNAMIC_PLACEHOLDER, LITERAL_ONLY_PROPS, SERVICE_ONLY_BINDING_PROPS, WHOLE_VALUE_BINDING, EMBEDDED_BINDING, OPTIONS_BINDING_PROPS, EDITOR_SERVICE_NAME, SHEET_PLACEMENTS, UNSAFE_TO_RECURSE_DEPTH, TOP_BAR_TRAILING_LIMIT, TOP_BAR_NON_TRAILING, TOP_BAR_TITLE_ALIGN_VALUES, TOP_BAR_TITLE_DISPLAY_VALUES, TOP_BAR_COVER_TONE_VALUES, TOP_BAR_SCROLL_STYLES, TOP_BAR_SEARCH_BINDINGS, TOP_BAR_SEARCH_GATE, PRESS_PROPS, PRESS_OWNING_SLOTS, TAB_BAR_KINDS_WITHOUT_BOTTOM_TABS, ORIENTATION_NAMES, DEFAULT_ENVELOPE, BUTTON_STYLES, PROP_VALUE_ENUMS, PROP_VALUE_DEFAULTS, EMPTY_STATE_ACTION_STYLES, EMPTY_STATE_ACTION_SIZES;
|
|
27281
27319
|
var init_validate_descriptor_core = __esm({
|
|
27282
27320
|
"../../core/dev-server/src/validate-descriptor.core.ts"() {
|
|
27283
27321
|
init_define_HHP_CATALOG();
|
|
@@ -27349,6 +27387,8 @@ var init_validate_descriptor_core = __esm({
|
|
|
27349
27387
|
"wrapKey",
|
|
27350
27388
|
"unwrapKey"
|
|
27351
27389
|
];
|
|
27390
|
+
INPUT_READS = /* @__PURE__ */ new WeakMap();
|
|
27391
|
+
INPUT_READS_MAX_KEYS = 64;
|
|
27352
27392
|
DRIFT_PROBES = [
|
|
27353
27393
|
{ clock: Date.UTC(2020, 0, 1, 12, 0, 0, 0), seed: 1 },
|
|
27354
27394
|
// a Wednesday, the 1st/2nd, everywhere in -11h…+14h
|
|
@@ -28886,7 +28926,19 @@ ${opts.sharedStorage ? ` storage: {
|
|
|
28886
28926
|
// a bundle reading \`himalaya.input.admin\` would see \`true\` \u2014 where \`node:vm\` and the device
|
|
28887
28927
|
// (which both reach this object through \`JSON.parse\`) keep \`__proto__\` as an own data property
|
|
28888
28928
|
// and report \`undefined\`. Author-time input is untrusted, so it must not become syntax.
|
|
28889
|
-
input:
|
|
28929
|
+
input: ${opts.recordInput ? `(function (o) {
|
|
28930
|
+
var rec = globalThis.__himi_input_read;
|
|
28931
|
+
try { delete globalThis.__himi_input_read; } catch (e) {}
|
|
28932
|
+
if (typeof rec !== "function") return o;
|
|
28933
|
+
// Captured now: the device-parity sweep may remove these globals before the bundle runs.
|
|
28934
|
+
var gopd = Object.getOwnPropertyDescriptor, ownKeysOf = Reflect.ownKeys;
|
|
28935
|
+
return new Proxy(o, {
|
|
28936
|
+
get: function (t, k) { if (typeof k === "string") rec(k); return t[k]; },
|
|
28937
|
+
has: function (t, k) { if (typeof k === "string") rec(k); return k in t; },
|
|
28938
|
+
getOwnPropertyDescriptor: function (t, k) { if (typeof k === "string") rec(k); return gopd(t, k); },
|
|
28939
|
+
ownKeys: function (t) { rec("*"); return ownKeysOf(t); },
|
|
28940
|
+
});
|
|
28941
|
+
})(JSON.parse(${JSON.stringify(inputJson(opts.input))}))` : `JSON.parse(${JSON.stringify(inputJson(opts.input))})`},${opts.capabilities ? `
|
|
28890
28942
|
capabilities: JSON.parse(${JSON.stringify(JSON.stringify(opts.capabilities.filter((c2) => typeof c2 === "string")))}),` : ""}
|
|
28891
28943
|
defineService: function (name, def) {
|
|
28892
28944
|
var serviceName = String(name);
|
|
@@ -29247,11 +29299,25 @@ async function createQuickJsEvaluator(options2 = {}) {
|
|
|
29247
29299
|
});
|
|
29248
29300
|
ctx.setProp(ctx.global, "__himalaya_native_random", random);
|
|
29249
29301
|
random.dispose();
|
|
29302
|
+
const inputReads = sandboxInputReads(sandbox);
|
|
29303
|
+
if (inputReads) {
|
|
29304
|
+
inputReads.consumed = true;
|
|
29305
|
+
const read2 = ctx.newFunction("__himi_input_read", (keyHandle) => {
|
|
29306
|
+
const key4 = ctx.getString(keyHandle);
|
|
29307
|
+
if (key4 === "*") inputReads.keys.add("*");
|
|
29308
|
+
else recordInputKey(inputReads.keys, key4);
|
|
29309
|
+
});
|
|
29310
|
+
ctx.setProp(ctx.global, "__himi_input_read", read2);
|
|
29311
|
+
read2.dispose();
|
|
29312
|
+
}
|
|
29250
29313
|
const pre = ctx.evalCode(
|
|
29251
29314
|
// A per-run clock/seed (#3049's drift probe) wins over the realm-wide pinned clock. Built
|
|
29252
29315
|
// in the guest from the guest's own intrinsics, like every realm's (`pinnedIntrinsicsSource`).
|
|
29253
29316
|
preludeFor({
|
|
29254
|
-
input:
|
|
29317
|
+
// The raw input when the bake records reads: the sandbox's own `input` is a host recorder, and copying it
|
|
29318
|
+
// (an enumeration) would mark every key read.
|
|
29319
|
+
input: inputReads ? inputReads.raw : himalaya?.input ?? {},
|
|
29320
|
+
...inputReads ? { recordInput: true } : {},
|
|
29255
29321
|
online: connectivityOnline(himalaya),
|
|
29256
29322
|
// `in`, never a read: an absent key on the sandbox proxy answers the inert stub.
|
|
29257
29323
|
...himalaya && "capabilities" in himalaya && Array.isArray(himalaya.capabilities) ? { capabilities: himalaya.capabilities } : {},
|
|
@@ -31837,6 +31903,7 @@ __export(validate_descriptor_exports, {
|
|
|
31837
31903
|
DEVICE_STRIPPED_HOST_GLOBALS: () => DEVICE_STRIPPED_HOST_GLOBALS,
|
|
31838
31904
|
DEVICE_WITHHELD: () => DEVICE_WITHHELD,
|
|
31839
31905
|
EMBEDDED_BINDING: () => EMBEDDED_BINDING,
|
|
31906
|
+
INPUT_READS_MAX_KEYS: () => INPUT_READS_MAX_KEYS,
|
|
31840
31907
|
INTEGER_MODIFIERS: () => INTEGER_MODIFIERS,
|
|
31841
31908
|
INTEGER_PROPS: () => INTEGER_PROPS,
|
|
31842
31909
|
KNOWN_PROPS: () => KNOWN_PROPS,
|
|
@@ -31899,10 +31966,12 @@ __export(validate_descriptor_exports, {
|
|
|
31899
31966
|
readBuiltBundle: () => readBuiltBundle,
|
|
31900
31967
|
readBuiltBundleMap: () => readBuiltBundleMap,
|
|
31901
31968
|
realmInstallsIntl: () => realmInstallsIntl,
|
|
31969
|
+
recordInputKey: () => recordInputKey,
|
|
31902
31970
|
registeredActions: () => registeredActions,
|
|
31903
31971
|
resolveActionEvaluator: () => resolveActionEvaluator,
|
|
31904
31972
|
resolveBootEvaluator: () => resolveBootEvaluator,
|
|
31905
31973
|
resolveEvaluator: () => resolveEvaluator,
|
|
31974
|
+
sandboxInputReads: () => sandboxInputReads,
|
|
31906
31975
|
screenDepthFindings: () => screenDepthFindings,
|
|
31907
31976
|
scrollBindingFindings: () => scrollBindingFindings,
|
|
31908
31977
|
serviceOnlyBindingValues: () => serviceOnlyBindingValues,
|
|
@@ -32068,6 +32137,7 @@ var init_validate_descriptor = __esm({
|
|
|
32068
32137
|
setDeclaredNavigationAnalyzer((source2) => literalTargets(source2, navigationCompiler("typescript")));
|
|
32069
32138
|
setFixedNavigationAnalyzer((source2) => fixedNavigations(source2, navigationCompiler("typescript")));
|
|
32070
32139
|
nodeVmEvaluator = {
|
|
32140
|
+
evaluatesSandboxDirectly: true,
|
|
32071
32141
|
run(code3, sandbox, opts) {
|
|
32072
32142
|
const context = createContext(sandbox);
|
|
32073
32143
|
if (opts.deviceParity) {
|
|
@@ -153516,6 +153586,7 @@ var init_widgets = __esm({
|
|
|
153516
153586
|
var boot_state_exports = {};
|
|
153517
153587
|
__export(boot_state_exports, {
|
|
153518
153588
|
BOOT_STATE_CACHE_MAX: () => BOOT_STATE_CACHE_MAX,
|
|
153589
|
+
BOOT_STATE_INPUT_KEYS: () => BOOT_STATE_INPUT_KEYS,
|
|
153519
153590
|
BOOT_STATE_MAX_BYTES: () => BOOT_STATE_MAX_BYTES,
|
|
153520
153591
|
BOOT_STATE_STORAGE_KEYS: () => BOOT_STATE_STORAGE_KEYS,
|
|
153521
153592
|
attachBootState: () => attachBootState,
|
|
@@ -153538,10 +153609,12 @@ function bakeBootState(bundleJs, input, opts = {}) {
|
|
|
153538
153609
|
const read2 = /* @__PURE__ */ new Set();
|
|
153539
153610
|
const storage = { getItem: (key4) => (read2.add(String(key4)), null), setItem: () => {
|
|
153540
153611
|
} };
|
|
153612
|
+
const inputReads = { keys: /* @__PURE__ */ new Set(), observed: false };
|
|
153613
|
+
const probedReads = { keys: /* @__PURE__ */ new Set(), observed: false };
|
|
153541
153614
|
try {
|
|
153542
153615
|
const granted = opts.l10n === true;
|
|
153543
|
-
services2 = extractBundleServices(bundleJs, { input: { ...input, ...UNHOSTED_INPUT }, storage, l10n: bootL10n(granted, false) });
|
|
153544
|
-
probed = extractBundleServices(bundleJs, { input: { ...input, ...UNHOSTED_INPUT, ...NAV_INPUT_PROBE }, storage, l10n: bootL10n(granted, true) });
|
|
153616
|
+
services2 = extractBundleServices(bundleJs, { input: { ...input, ...UNHOSTED_INPUT }, storage, l10n: bootL10n(granted, false), inputReads });
|
|
153617
|
+
probed = extractBundleServices(bundleJs, { input: { ...input, ...UNHOSTED_INPUT, ...NAV_INPUT_PROBE }, storage, l10n: bootL10n(granted, true), inputReads: probedReads });
|
|
153545
153618
|
drifting = nondeterministicServicesOrNull(bundleJs, { input: { ...input, ...UNHOSTED_INPUT }, storage, l10n: bootL10n(granted, false) });
|
|
153546
153619
|
} catch {
|
|
153547
153620
|
return null;
|
|
@@ -153551,7 +153624,7 @@ function bakeBootState(bundleJs, input, opts = {}) {
|
|
|
153551
153624
|
const omitted = [];
|
|
153552
153625
|
for (const [name, state] of Object.entries(services2)) {
|
|
153553
153626
|
const probe2 = probed[name];
|
|
153554
|
-
if (name === BOOT_STATE_STORAGE_KEYS || drifting.includes(name) || !isRecord5(state) || !isRecord5(probe2)) {
|
|
153627
|
+
if (name === BOOT_STATE_STORAGE_KEYS || name === BOOT_STATE_INPUT_KEYS || drifting.includes(name) || !isRecord5(state) || !isRecord5(probe2)) {
|
|
153555
153628
|
omitted.push(name);
|
|
153556
153629
|
continue;
|
|
153557
153630
|
}
|
|
@@ -153568,6 +153641,13 @@ function bakeBootState(bundleJs, input, opts = {}) {
|
|
|
153568
153641
|
return { state: null, omitted, services: defined3 };
|
|
153569
153642
|
}
|
|
153570
153643
|
if (new TextEncoder().encode(json9).length > BOOT_STATE_MAX_BYTES) return { state: null, omitted, services: defined3 };
|
|
153644
|
+
if (inputReads.observed && probedReads.observed) {
|
|
153645
|
+
const keys2 = /* @__PURE__ */ new Set([...inputReads.keys, ...probedReads.keys]);
|
|
153646
|
+
kept[BOOT_STATE_INPUT_KEYS] = keys2.has("*") || keys2.size > INPUT_READS_MAX_KEYS ? ["*"] : [...keys2].sort();
|
|
153647
|
+
const withList = JSON.stringify(kept);
|
|
153648
|
+
if (new TextEncoder().encode(withList).length <= BOOT_STATE_MAX_BYTES) json9 = withList;
|
|
153649
|
+
else delete kept[BOOT_STATE_INPUT_KEYS];
|
|
153650
|
+
}
|
|
153571
153651
|
return { state: JSON.parse(json9), omitted, services: defined3 };
|
|
153572
153652
|
}
|
|
153573
153653
|
function computeBootState(bundleJs, input, opts = {}) {
|
|
@@ -153654,7 +153734,7 @@ ${input ? JSON.stringify(input) : ""}`;
|
|
|
153654
153734
|
if (!bake.state || bindsOmittedPath(descriptor, bake.omitted, bake.state) || gatesUnbakedPath(descriptor, bake.state, bake.services)) return;
|
|
153655
153735
|
descriptor.logicBundle = { ...lb, bootState: bake.state };
|
|
153656
153736
|
}
|
|
153657
|
-
var BOOT_STATE_MAX_BYTES, cache2, BOOT_STATE_CACHE_MAX, PROBE, NAV_INPUT_PROBE, UNHOSTED_INPUT, BOOT_STATE_STORAGE_KEYS;
|
|
153737
|
+
var BOOT_STATE_MAX_BYTES, cache2, BOOT_STATE_CACHE_MAX, PROBE, NAV_INPUT_PROBE, UNHOSTED_INPUT, BOOT_STATE_STORAGE_KEYS, BOOT_STATE_INPUT_KEYS;
|
|
153658
153738
|
var init_boot_state = __esm({
|
|
153659
153739
|
"../../core/dev-server/src/boot-state.ts"() {
|
|
153660
153740
|
init_define_HHP_CATALOG();
|
|
@@ -153673,6 +153753,7 @@ var init_boot_state = __esm({
|
|
|
153673
153753
|
};
|
|
153674
153754
|
UNHOSTED_INPUT = { __himiHostSite: "" };
|
|
153675
153755
|
BOOT_STATE_STORAGE_KEYS = "__himiStorageKeys";
|
|
153756
|
+
BOOT_STATE_INPUT_KEYS = "__himiInputKeys";
|
|
153676
153757
|
}
|
|
153677
153758
|
});
|
|
153678
153759
|
|
|
@@ -273754,54 +273835,54 @@ var init_preview_assets_generated = __esm({
|
|
|
273754
273835
|
init_define_HHP_CATALOG();
|
|
273755
273836
|
init_preview_assets_format();
|
|
273756
273837
|
PREVIEW_ASSET_MANIFEST = [
|
|
273757
|
-
{ key: "assets/DashboardHost-
|
|
273758
|
-
{ key: "assets/DevDrawer-
|
|
273759
|
-
{ key: "assets/IdiomCompare-
|
|
273760
|
-
{ key: "assets/LightboxViewer-
|
|
273761
|
-
{ key: "assets/OfflineReadingBar-
|
|
273762
|
-
{ key: "assets/PhonePreviewControl-
|
|
273763
|
-
{ key: "assets/SchemeCompare-
|
|
273764
|
-
{ key: "assets/TopBarSearchStates-
|
|
273765
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
273838
|
+
{ key: "assets/DashboardHost-DRzuRzFV.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "a7b5747485b4a5c0ce27958672e30daab39b4804b6801e6893b42e3ac8eb1205" },
|
|
273839
|
+
{ key: "assets/DevDrawer-Ddo_w5cV.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "604870d9a718be2f12f54b7118d0755b4e71ef32a2beb08e379d95190aeaf5dc" },
|
|
273840
|
+
{ key: "assets/IdiomCompare-BowYYNeA.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "b73dbaffb68a1d2eee6323b18f8322722da6972de2d85684403be14da34faf17" },
|
|
273841
|
+
{ key: "assets/LightboxViewer-CNyEF9vT.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15965, sha256: "6e96d36e864b0fc662dcfec06001d06f84f2eec4a89871ab2d3a26a0aa9c8280" },
|
|
273842
|
+
{ key: "assets/OfflineReadingBar-CWFrYWmi.js", contentType: "application/javascript; charset=utf-8", offset: 37667, length: 1761, sha256: "119f38f1657967d7e91f0591f82912e73bc5d121151d39e142de21b7c2246ee8" },
|
|
273843
|
+
{ key: "assets/PhonePreviewControl-jPbzphJW.js", contentType: "application/javascript; charset=utf-8", offset: 39428, length: 37851, sha256: "51c29c72fec6d55bbe65a66c3c619336f70f6459e5466d86c37b6e7bb7cb8d98" },
|
|
273844
|
+
{ key: "assets/SchemeCompare-CnuL3Sp4.js", contentType: "application/javascript; charset=utf-8", offset: 77279, length: 1858, sha256: "e2b10897973552551baf64ee77a41b2f46ba734bd42d3ae435c6903dbdc01264" },
|
|
273845
|
+
{ key: "assets/TopBarSearchStates-5anV9m_T.js", contentType: "application/javascript; charset=utf-8", offset: 79137, length: 4068, sha256: "9bf95313823cbf3c12043b62e16c3504ce39448f6514d73aa962ef125099cc84" },
|
|
273846
|
+
{ key: "assets/WixFrogTelemetrySink-BdUzNsrK.js", contentType: "application/javascript; charset=utf-8", offset: 83205, length: 3515, sha256: "4a62b04bf8faf44558415ec8f7bbd0e546373a42f5d2aceb16c0ac38b1ece1fe" },
|
|
273766
273847
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 86720, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
273767
273848
|
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 88912, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
273768
|
-
{ key: "assets/catalogFontFaces-
|
|
273849
|
+
{ key: "assets/catalogFontFaces-LdNRIXip.js", contentType: "application/javascript; charset=utf-8", offset: 124538, length: 1111, sha256: "0cb93c57cf0bc43836644093723f808904f4d4a984b67200df550630da1e0d45" },
|
|
273769
273850
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 125649, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
273770
|
-
{ key: "assets/files-transfer-
|
|
273851
|
+
{ key: "assets/files-transfer-C7mGMZ_W.js", contentType: "application/javascript; charset=utf-8", offset: 128216, length: 6446, sha256: "c95f58576e3020a9779783485b5456fd203b3c75de9d922096f55f1816b9db3a" },
|
|
273771
273852
|
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 134662, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
273772
|
-
{ key: "assets/frogApiRules-
|
|
273853
|
+
{ key: "assets/frogApiRules-CTC2Feua.js", contentType: "application/javascript; charset=utf-8", offset: 135834, length: 2207, sha256: "00e725e6c6f5e1d5b17bb68f205a1a9e87c311703388f10d907c673716a9bb48" },
|
|
273773
273854
|
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 138041, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
273774
273855
|
{ key: "assets/glassPreviewBrowser-OVmIRgHt.js", contentType: "application/javascript; charset=utf-8", offset: 139108, length: 6800, sha256: "3671697a4f66a1f5f68610fab57d590630be70be934f59675ef1bda9a96e6fe3" },
|
|
273775
273856
|
{ key: "assets/godot-pack-cache-Cuhrw41M.js", contentType: "application/javascript; charset=utf-8", offset: 145908, length: 1626, sha256: "70b16367b8938ebd6eb8494a2b472171dd2acdcb452c52f35f140eb8ede9c0b7" },
|
|
273776
273857
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 147534, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
273777
|
-
{ key: "assets/index-
|
|
273778
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273779
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273780
|
-
{ key: "assets/pdf-
|
|
273781
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273782
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
273783
|
-
{ key: "assets/pdfDocument-
|
|
273784
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273785
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
273786
|
-
{ key: "assets/webviewBridgeHost-
|
|
273787
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
273788
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
273789
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
273790
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
273791
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
273792
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
273793
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
273794
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
273795
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
273796
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
273797
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
273798
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
273799
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
273800
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
273801
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
273802
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
273803
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
273804
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
273858
|
+
{ key: "assets/index-dp3rjJG4.js", contentType: "application/javascript; charset=utf-8", offset: 150238, length: 1735833, sha256: "691a240bd226380bd57781972200963d51d8033c707769c52270606eff52eb6d" },
|
|
273859
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1886071, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
273860
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1893822, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
273861
|
+
{ key: "assets/pdf-CS2sEXK4.js", contentType: "application/javascript; charset=utf-8", offset: 1904353, length: 488215, sha256: "d9e187d7c90304afc1cc68bdb1391f0827037645d3f6f22f7fcfd63b01daee18" },
|
|
273862
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2392568, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
273863
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2392658, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
273864
|
+
{ key: "assets/pdfDocument-SLNMZohE.js", contentType: "application/javascript; charset=utf-8", offset: 3709692, length: 3836, sha256: "23903adfbb7bc914d4e38ce97e23bc50db0807486a2c95a22b8a550d56ceece1" },
|
|
273865
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3713528, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
273866
|
+
{ key: "assets/scrollLinkedRuntime-CDdIruYy.js", contentType: "application/javascript; charset=utf-8", offset: 3715794, length: 2278, sha256: "f85098efa86dfe5ea42bfe059f16be0cbdd468546d1e617adec54e1e4a9b6131" },
|
|
273867
|
+
{ key: "assets/webviewBridgeHost-C8RYMXEA.js", contentType: "application/javascript; charset=utf-8", offset: 3718072, length: 9890, sha256: "381b6346d835ff0b4a1fdbee15a42fae9b1b8f3150661326e69b36e715118ed6" },
|
|
273868
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3727962, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
273869
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3732572, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
273870
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4221156, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
273871
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4312080, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
273872
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4403064, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
273873
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4494044, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
273874
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4584916, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
273875
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4675896, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
273876
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4784532, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
273877
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4893616, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
273878
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 5002664, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
273879
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5110364, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
273880
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5198472, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
273881
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5205290, length: 4924, sha256: "9e53a84eff9e7f716fd31a18756e203c00e4d85daec4a637795f9e815e2a821e" },
|
|
273882
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5210214, length: 15585, sha256: "98ec60ef8f9568532f0746d1092b5c76f1c52d718365c586c8bade8f62c7c5eb" },
|
|
273883
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5225799, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
273884
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5226970, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
273885
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5251273, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
273805
273886
|
];
|
|
273806
273887
|
}
|
|
273807
273888
|
});
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1920.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": "56870e5bd6cfa91e2eef0efec71392c881b20c1dce52014f99e3c96e"
|
|
86
86
|
}
|