peachsim 0.1.2207 → 0.1.2208
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/cli/bridge-diagnostics.ts +4 -4
- package/cli/bridge-flow-runner.ts +33 -33
- package/cli/browser-evals.ts +2 -2
- package/cli/commands/control.ts +1 -1
- package/cli/commands/cpu-profile.ts +5 -4
- package/cli/commands/debug.ts +3 -3
- package/cli/commands/diagnose.ts +2 -2
- package/cli/commands/flow.ts +7 -7
- package/cli/commands/inspect/core.ts +22 -22
- package/cli/commands/inspect/get-node.ts +2 -2
- package/cli/commands/inspect/shared.ts +2 -2
- package/cli/commands/inspect/wait-event.ts +1 -1
- package/cli/commands/inspect.ts +33 -33
- package/cli/commands/record-three.ts +17 -17
- package/cli/commands/record.ts +44 -40
- package/cli/commands/shell-boolean-mode.ts +1 -1
- package/cli/commands/slides.ts +5 -3
- package/cli/commands/three-mode.ts +3 -3
- package/cli/commands/upload.ts +8 -8
- package/cli/drivers/types.ts +1 -1
- package/cli/runtime-diagnostics.ts +2 -2
- package/cli/scene-video.ts +5 -3
- package/cli/send-to-box.ts +1 -1
- package/cli/ws-bridge.ts +3 -3
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +5 -5
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +4 -4
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +3 -3
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +6 -6
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +9 -9
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +3 -3
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +1 -1
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +23 -23
- package/dist-lib/sdk.mjs +23 -23
- package/dist-lib/skills.cjs +54 -54
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +2 -2
- package/dist-lib/vite.cjs +3 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/settings/store.d.ts +1 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2208 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -79,7 +79,7 @@ function isInspectPickCommand(subcommand) {
|
|
|
79
79
|
async function isInspectModeActive(bridge) {
|
|
80
80
|
const active = await bridge.send({
|
|
81
81
|
type: "evaluate",
|
|
82
|
-
code: "
|
|
82
|
+
code: "globalThis.__sootsimEngineState?.inspectActive === true"
|
|
83
83
|
});
|
|
84
84
|
return active === true;
|
|
85
85
|
}
|
|
@@ -328,7 +328,7 @@ function layoutGetNativeEval(opts = {}) {
|
|
|
328
328
|
const includeStyle = opts.styling === true;
|
|
329
329
|
const filter = opts.filter?.trim().toLowerCase() ?? "";
|
|
330
330
|
return `(async () => {
|
|
331
|
-
const t =
|
|
331
|
+
const t = globalThis.__sootsimTest
|
|
332
332
|
if (!t || typeof t.listInspectable !== 'function') return []
|
|
333
333
|
const list = await t.listInspectable({})
|
|
334
334
|
if (!Array.isArray(list)) return []
|
|
@@ -492,7 +492,7 @@ function layoutGetNativeEval(opts = {}) {
|
|
|
492
492
|
const textElements = elements.filter((element) => element.text && element.fontSize > 0)
|
|
493
493
|
if (!includeStyle || textElements.length === 0) return elements
|
|
494
494
|
|
|
495
|
-
const screenshot =
|
|
495
|
+
const screenshot = globalThis.SootSim && globalThis.SootSim.bridges && globalThis.SootSim.bridges.screenshot
|
|
496
496
|
if (typeof screenshot !== 'function') {
|
|
497
497
|
throw new Error('styled native layout requires the peach capture bridge')
|
|
498
498
|
}
|
|
@@ -1070,10 +1070,10 @@ function consoleEntriesEval(level, limit) {
|
|
|
1070
1070
|
out.push({ timestamp: ts, args: Array.isArray(e.args) ? e.args : [e.args], stack: e.stack || undefined, source: e.source || undefined })
|
|
1071
1071
|
}
|
|
1072
1072
|
// page-realm ws-bridge buffer first (richest stacks for page-origin errors)
|
|
1073
|
-
try { for (const e of (
|
|
1073
|
+
try { for (const e of (globalThis.__sootsimConsole?.${getter}(${limit}) || [])) push(e) } catch {}
|
|
1074
1074
|
// engine observability store \u2014 the always-on render-worker / forwarded path
|
|
1075
1075
|
try {
|
|
1076
|
-
const obs =
|
|
1076
|
+
const obs = globalThis.__sootsimObservability
|
|
1077
1077
|
const snap = obs && obs.logs && typeof obs.logs.getSnapshot === 'function' ? obs.logs.getSnapshot() : []
|
|
1078
1078
|
for (const e of snap) if (e && e.level === ${JSON.stringify(level)}) push(e)
|
|
1079
1079
|
} catch {}
|
|
@@ -1109,12 +1109,12 @@ var MERGED_CONSOLE_COUNT_EVAL = `(() => {
|
|
|
1109
1109
|
else warnings++
|
|
1110
1110
|
}
|
|
1111
1111
|
try {
|
|
1112
|
-
const c =
|
|
1112
|
+
const c = globalThis.__sootsimConsole
|
|
1113
1113
|
for (const e of (c?.getErrors?.(200) || [])) add('error', e?.timestamp ?? e?.ts, e?.args)
|
|
1114
1114
|
for (const e of (c?.getWarnings?.(200) || [])) add('warn', e?.timestamp ?? e?.ts, e?.args)
|
|
1115
1115
|
} catch {}
|
|
1116
1116
|
try {
|
|
1117
|
-
const obs =
|
|
1117
|
+
const obs = globalThis.__sootsimObservability
|
|
1118
1118
|
const snap = obs && obs.logs && typeof obs.logs.getSnapshot === 'function' ? obs.logs.getSnapshot() : []
|
|
1119
1119
|
for (const e of snap) if (e) add(e.level, e.ts, e.args)
|
|
1120
1120
|
} catch {}
|
|
@@ -1123,7 +1123,7 @@ var MERGED_CONSOLE_COUNT_EVAL = `(() => {
|
|
|
1123
1123
|
async function clearConsole(bridge) {
|
|
1124
1124
|
await bridge.send({
|
|
1125
1125
|
type: "evaluate",
|
|
1126
|
-
code: '
|
|
1126
|
+
code: 'globalThis.__sootsimConsole?.clear(); globalThis.__sootsimObservability?.logs?.clear?.(); "cleared"'
|
|
1127
1127
|
});
|
|
1128
1128
|
}
|
|
1129
1129
|
async function inspectRequests(bridge, opts = {}) {
|
|
@@ -1190,7 +1190,7 @@ async function inspectLogs(bridge) {
|
|
|
1190
1190
|
const res = await bridge.send({
|
|
1191
1191
|
type: "evaluate",
|
|
1192
1192
|
code: `(() => {
|
|
1193
|
-
const obs =
|
|
1193
|
+
const obs = globalThis.__sootsimObservability;
|
|
1194
1194
|
if (!obs) return { ok: false };
|
|
1195
1195
|
return { ok: true, entries: obs.logs.getSnapshot() };
|
|
1196
1196
|
})()`
|
|
@@ -1201,7 +1201,7 @@ async function inspectLogs(bridge) {
|
|
|
1201
1201
|
async function clearLogs(bridge) {
|
|
1202
1202
|
await bridge.send({
|
|
1203
1203
|
type: "evaluate",
|
|
1204
|
-
code: '
|
|
1204
|
+
code: 'globalThis.__sootsimObservability?.logs.clear(); "cleared"'
|
|
1205
1205
|
});
|
|
1206
1206
|
}
|
|
1207
1207
|
function isForwardedWorkerLogTwin(a, b) {
|
|
@@ -1287,7 +1287,7 @@ async function inspectKeyboard(bridge) {
|
|
|
1287
1287
|
const result = await bridge.send({
|
|
1288
1288
|
type: "evaluate",
|
|
1289
1289
|
code: `(() => {
|
|
1290
|
-
const kb =
|
|
1290
|
+
const kb = globalThis.__sootsimKeyboard
|
|
1291
1291
|
if (!kb || typeof kb.getLayout !== 'function') {
|
|
1292
1292
|
return { error: 'keyboard bridge getLayout() not available' }
|
|
1293
1293
|
}
|
|
@@ -1319,8 +1319,8 @@ async function inspectScreens(bridge) {
|
|
|
1319
1319
|
const payload = await bridge.send({
|
|
1320
1320
|
type: "evaluate",
|
|
1321
1321
|
code: `(async () => {
|
|
1322
|
-
const test =
|
|
1323
|
-
const kb =
|
|
1322
|
+
const test = globalThis.__sootsimTest
|
|
1323
|
+
const kb = globalThis.__sootsimKeyboard
|
|
1324
1324
|
const navSnap =
|
|
1325
1325
|
test && typeof test.getNavigationSnapshot === 'function'
|
|
1326
1326
|
? await test.getNavigationSnapshot()
|
|
@@ -1363,7 +1363,7 @@ async function inspectDebugStatus(bridge, host = false) {
|
|
|
1363
1363
|
if (bridge.plane === "cloud" && !host) {
|
|
1364
1364
|
return (await inspectCloudDiagnostics(bridge)).channels;
|
|
1365
1365
|
}
|
|
1366
|
-
return bridge.send({ type: "evaluate", code: "
|
|
1366
|
+
return bridge.send({ type: "evaluate", code: "globalThis.__sootsimDebug.status()" });
|
|
1367
1367
|
}
|
|
1368
1368
|
async function inspectDebugFlags(bridge, host = false) {
|
|
1369
1369
|
if (bridge.plane === "cloud" && !host) {
|
|
@@ -1372,13 +1372,13 @@ async function inspectDebugFlags(bridge, host = false) {
|
|
|
1372
1372
|
availableChannels.map((channel) => [channel, channels.includes(channel)])
|
|
1373
1373
|
);
|
|
1374
1374
|
}
|
|
1375
|
-
return bridge.send({ type: "evaluate", code: "
|
|
1375
|
+
return bridge.send({ type: "evaluate", code: "globalThis.__sootsimDebug.flags()" });
|
|
1376
1376
|
}
|
|
1377
1377
|
async function inspectDebugChannels(bridge, host = false) {
|
|
1378
1378
|
if (bridge.plane === "cloud" && !host) {
|
|
1379
1379
|
return (await inspectCloudDiagnostics(bridge)).availableChannels;
|
|
1380
1380
|
}
|
|
1381
|
-
return bridge.send({ type: "evaluate", code: "
|
|
1381
|
+
return bridge.send({ type: "evaluate", code: "globalThis.__sootsimDebug.channels()" });
|
|
1382
1382
|
}
|
|
1383
1383
|
async function inspectDebugFind(bridge, target, host = false) {
|
|
1384
1384
|
if (bridge.plane === "cloud" && !host) {
|
|
@@ -1386,7 +1386,7 @@ async function inspectDebugFind(bridge, target, host = false) {
|
|
|
1386
1386
|
}
|
|
1387
1387
|
return bridge.send({
|
|
1388
1388
|
type: "evaluate",
|
|
1389
|
-
code: `
|
|
1389
|
+
code: `globalThis.__sootsimTest.debugFind(${JSON.stringify(target)})`
|
|
1390
1390
|
});
|
|
1391
1391
|
}
|
|
1392
1392
|
async function callDebugBridge(bridge, expression, host = false, project) {
|
|
@@ -1396,7 +1396,7 @@ async function callDebugBridge(bridge, expression, host = false, project) {
|
|
|
1396
1396
|
return bridge.send({
|
|
1397
1397
|
type: "evaluate",
|
|
1398
1398
|
code: `(async () => {
|
|
1399
|
-
const result = await
|
|
1399
|
+
const result = await globalThis.__sootsimTest.evalInTenant(${JSON.stringify(code)})
|
|
1400
1400
|
if (!result.ok) throw new Error(result.error)
|
|
1401
1401
|
return result.value
|
|
1402
1402
|
})()`
|
|
@@ -1469,17 +1469,17 @@ async function inspectMemory(bridge) {
|
|
|
1469
1469
|
const result = await bridge.send({
|
|
1470
1470
|
type: "evaluate",
|
|
1471
1471
|
code: `(async () => {
|
|
1472
|
-
const host =
|
|
1472
|
+
const host = globalThis.__sootsimRenderHost
|
|
1473
1473
|
const stats = host?.queryStats ? await host.queryStats() : null
|
|
1474
|
-
const shellRaw =
|
|
1475
|
-
? await
|
|
1474
|
+
const shellRaw = globalThis.__sootsimShellMemory
|
|
1475
|
+
? await globalThis.__sootsimShellMemory()
|
|
1476
1476
|
: null
|
|
1477
1477
|
const shell = shellRaw && !shellRaw.error ? shellRaw : null
|
|
1478
1478
|
// the compositor paints home + app:one + app:two, so every app-surface
|
|
1479
1479
|
// picture and raster image is counted here and nowhere else.
|
|
1480
1480
|
let compositor = null
|
|
1481
1481
|
try {
|
|
1482
|
-
const cs = await
|
|
1482
|
+
const cs = await globalThis.__sootsimCompositor?.getStats?.(false, true)
|
|
1483
1483
|
compositor = cs?.memory ?? null
|
|
1484
1484
|
} catch {}
|
|
1485
1485
|
const normalize = (m) =>
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2208 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -64806,7 +64806,7 @@ var init_swift_standin_digest = __esm({
|
|
|
64806
64806
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
64807
64807
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
64808
64808
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
64809
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
64809
|
+
STANDIN_SOURCE_DIGEST = true ? "de5c69cdf5f13f704ced14ea451df60f83586f1006377836b423f3bb3d2ffce8" : standinSourceDigest();
|
|
64810
64810
|
}
|
|
64811
64811
|
});
|
|
64812
64812
|
|
|
@@ -65267,7 +65267,7 @@ var init_package_tree_digest = __esm({
|
|
|
65267
65267
|
|
|
65268
65268
|
// src/expo-native-prebuilt.ts
|
|
65269
65269
|
function expoNativeCompilerDigestValue() {
|
|
65270
|
-
return true ? "
|
|
65270
|
+
return true ? "eb49d32cfcc566ba74cdb4489058e30f4d18ebf215e1981371d9acc62bbca1eb" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
65271
65271
|
}
|
|
65272
65272
|
function readSources(value) {
|
|
65273
65273
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -85647,7 +85647,7 @@ var init_nitro_superset = __esm({
|
|
|
85647
85647
|
init_nitroContract();
|
|
85648
85648
|
init_swift_standin_digest();
|
|
85649
85649
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
85650
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
85650
|
+
NITRO_COMPILER_DIGEST = true ? "04b42e818ab629701b900a74f0c746f34a87bb48e0913184ee9e7f145545ff8c" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
85651
85651
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
85652
85652
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
85653
85653
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -86359,7 +86359,7 @@ var init_one_sdk_bundle = __esm({
|
|
|
86359
86359
|
var runtime_companion_default;
|
|
86360
86360
|
var init_runtime_companion = __esm({
|
|
86361
86361
|
"runtime-companion.json"() {
|
|
86362
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
86362
|
+
runtime_companion_default = { abi: 1, sha256: "ea69e68003595a371f10dcf33647a3b874bfca09c7b0b41223c752c4d49a8f73", file: "node/cli-ea69e68003595a371f10dcf33647a3b874bfca09c7b0b41223c752c4d49a8f73.cjs" };
|
|
86363
86363
|
}
|
|
86364
86364
|
});
|
|
86365
86365
|
|
|
@@ -102264,7 +102264,7 @@ async function sendToBox(options) {
|
|
|
102264
102264
|
const captured = await options.send({
|
|
102265
102265
|
type: "evaluate",
|
|
102266
102266
|
simId: options.simId,
|
|
102267
|
-
code: '(typeof
|
|
102267
|
+
code: '(typeof globalThis.__sootsimCaptureBundle === "function") ? globalThis.__sootsimCaptureBundle() : null'
|
|
102268
102268
|
});
|
|
102269
102269
|
const bundleUrl = isRecord(captured) ? captured.bundleUrl : null;
|
|
102270
102270
|
if (!isRecord(captured) || typeof bundleUrl !== "string" || !bundleUrl) {
|
|
@@ -105737,7 +105737,7 @@ async function checkSimHealth(bridge) {
|
|
|
105737
105737
|
hidden: document.hidden,
|
|
105738
105738
|
visibilityState: document.visibilityState,
|
|
105739
105739
|
hasFocus: typeof document.hasFocus === 'function' ? document.hasFocus() : null,
|
|
105740
|
-
simId:
|
|
105740
|
+
simId: globalThis.__sootsimBridge?.id ?? globalThis.SootSim?.state?.simId ?? null,
|
|
105741
105741
|
url: location.href
|
|
105742
105742
|
}))()`
|
|
105743
105743
|
});
|
|
@@ -106651,7 +106651,7 @@ function layoutGetNativeEval(opts = {}) {
|
|
|
106651
106651
|
const includeStyle = opts.styling === true;
|
|
106652
106652
|
const filter = opts.filter?.trim().toLowerCase() ?? "";
|
|
106653
106653
|
return `(async () => {
|
|
106654
|
-
const t =
|
|
106654
|
+
const t = globalThis.__sootsimTest
|
|
106655
106655
|
if (!t || typeof t.listInspectable !== 'function') return []
|
|
106656
106656
|
const list = await t.listInspectable({})
|
|
106657
106657
|
if (!Array.isArray(list)) return []
|
|
@@ -106815,7 +106815,7 @@ function layoutGetNativeEval(opts = {}) {
|
|
|
106815
106815
|
const textElements = elements.filter((element) => element.text && element.fontSize > 0)
|
|
106816
106816
|
if (!includeStyle || textElements.length === 0) return elements
|
|
106817
106817
|
|
|
106818
|
-
const screenshot =
|
|
106818
|
+
const screenshot = globalThis.SootSim && globalThis.SootSim.bridges && globalThis.SootSim.bridges.screenshot
|
|
106819
106819
|
if (typeof screenshot !== 'function') {
|
|
106820
106820
|
throw new Error('styled native layout requires the peach capture bridge')
|
|
106821
106821
|
}
|
|
@@ -107153,10 +107153,10 @@ function consoleEntriesEval(level, limit) {
|
|
|
107153
107153
|
out.push({ timestamp: ts, args: Array.isArray(e.args) ? e.args : [e.args], stack: e.stack || undefined, source: e.source || undefined })
|
|
107154
107154
|
}
|
|
107155
107155
|
// page-realm ws-bridge buffer first (richest stacks for page-origin errors)
|
|
107156
|
-
try { for (const e of (
|
|
107156
|
+
try { for (const e of (globalThis.__sootsimConsole?.${getter}(${limit}) || [])) push(e) } catch {}
|
|
107157
107157
|
// engine observability store \u2014 the always-on render-worker / forwarded path
|
|
107158
107158
|
try {
|
|
107159
|
-
const obs =
|
|
107159
|
+
const obs = globalThis.__sootsimObservability
|
|
107160
107160
|
const snap = obs && obs.logs && typeof obs.logs.getSnapshot === 'function' ? obs.logs.getSnapshot() : []
|
|
107161
107161
|
for (const e of snap) if (e && e.level === ${JSON.stringify(level)}) push(e)
|
|
107162
107162
|
} catch {}
|
|
@@ -107218,12 +107218,12 @@ var init_core = __esm({
|
|
|
107218
107218
|
else warnings++
|
|
107219
107219
|
}
|
|
107220
107220
|
try {
|
|
107221
|
-
const c =
|
|
107221
|
+
const c = globalThis.__sootsimConsole
|
|
107222
107222
|
for (const e of (c?.getErrors?.(200) || [])) add('error', e?.timestamp ?? e?.ts, e?.args)
|
|
107223
107223
|
for (const e of (c?.getWarnings?.(200) || [])) add('warn', e?.timestamp ?? e?.ts, e?.args)
|
|
107224
107224
|
} catch {}
|
|
107225
107225
|
try {
|
|
107226
|
-
const obs =
|
|
107226
|
+
const obs = globalThis.__sootsimObservability
|
|
107227
107227
|
const snap = obs && obs.logs && typeof obs.logs.getSnapshot === 'function' ? obs.logs.getSnapshot() : []
|
|
107228
107228
|
for (const e of snap) if (e) add(e.level, e.ts, e.args)
|
|
107229
107229
|
} catch {}
|
|
@@ -107444,7 +107444,7 @@ async function waitForSimReady(wsPort, commandTimeoutMs, simId, opts = {}) {
|
|
|
107444
107444
|
const count = await Promise.race([
|
|
107445
107445
|
bridge.send({
|
|
107446
107446
|
type: "evaluate",
|
|
107447
|
-
code: "(async () => (await
|
|
107447
|
+
code: "(async () => (await globalThis.__sootsimTest?.getNodeCount()) ?? null)()"
|
|
107448
107448
|
}),
|
|
107449
107449
|
new Promise((_, reject) => {
|
|
107450
107450
|
timer = setTimeout(
|
|
@@ -107468,7 +107468,7 @@ async function waitForSimReady(wsPort, commandTimeoutMs, simId, opts = {}) {
|
|
|
107468
107468
|
const pauseMs = Math.min(intervalMs, deadline - performance.now());
|
|
107469
107469
|
if (pauseMs > 0) await sleep2(pauseMs);
|
|
107470
107470
|
}
|
|
107471
|
-
const observed = lastError ? `last bridge error: ${lastError}` : lastCount === null ? "guest never installed
|
|
107471
|
+
const observed = lastError ? `last bridge error: ${lastError}` : lastCount === null ? "guest never installed globalThis.__sootsimTest" : `last node count: ${String(lastCount)} (needs > ${minNodeCount})`;
|
|
107472
107472
|
return {
|
|
107473
107473
|
bridge: null,
|
|
107474
107474
|
failure: `after ${polls} polls in ${Math.round(performance.now() - started)}ms (budget ${timeoutMs}ms); ${observed}`
|
|
@@ -107570,8 +107570,8 @@ async function printBridgeStateSummary(bridge) {
|
|
|
107570
107570
|
const state = await bridge.send({
|
|
107571
107571
|
type: "evaluate",
|
|
107572
107572
|
code: `(async () => {
|
|
107573
|
-
const test =
|
|
107574
|
-
const mainShell =
|
|
107573
|
+
const test = globalThis.__sootsimTest
|
|
107574
|
+
const mainShell = globalThis.SootSim?.bridges?.mainShell
|
|
107575
107575
|
let shell = null
|
|
107576
107576
|
try {
|
|
107577
107577
|
shell = typeof mainShell?.getState === 'function' ? await mainShell.getState() : null
|
|
@@ -107582,9 +107582,9 @@ async function printBridgeStateSummary(bridge) {
|
|
|
107582
107582
|
} catch {}
|
|
107583
107583
|
return {
|
|
107584
107584
|
url: window.location.href,
|
|
107585
|
-
simId:
|
|
107585
|
+
simId: globalThis.__sootsimSimId || null,
|
|
107586
107586
|
nodeCount,
|
|
107587
|
-
mode:
|
|
107587
|
+
mode: globalThis.__sootsimRenderHost ? 'render-worker' : 'main-thread',
|
|
107588
107588
|
shell: shell
|
|
107589
107589
|
? {
|
|
107590
107590
|
state: shell.state || null,
|
|
@@ -108837,7 +108837,7 @@ async function collectRuntimeDiagnostics(bridge) {
|
|
|
108837
108837
|
const add = (kind, message) => {
|
|
108838
108838
|
if (typeof message === 'string' && message) messages.push({ kind, message: message.slice(0, 2048) })
|
|
108839
108839
|
}
|
|
108840
|
-
const obs =
|
|
108840
|
+
const obs = globalThis.__sootsimObservability
|
|
108841
108841
|
for (const e of (obs?.reportedErrors?.getSnapshot?.() || []).slice(-20)) add('runtime_error', e.message)
|
|
108842
108842
|
for (const [kind, entries] of [
|
|
108843
108843
|
['runtime_error', ${consoleEntriesEval("error", 20)}],
|
|
@@ -108848,7 +108848,7 @@ async function collectRuntimeDiagnostics(bridge) {
|
|
|
108848
108848
|
add(kind, parts.join(' '))
|
|
108849
108849
|
}
|
|
108850
108850
|
}
|
|
108851
|
-
return { runtimeVersion:
|
|
108851
|
+
return { runtimeVersion: globalThis.__sootsimRuntimeVersion, messages: messages.slice(0, 50) }
|
|
108852
108852
|
})()`
|
|
108853
108853
|
},
|
|
108854
108854
|
{ timeoutMs: 1e3 }
|
|
@@ -125318,7 +125318,7 @@ async function maybeDescribeAfterOpen(wsPort, simId, args) {
|
|
|
125318
125318
|
}
|
|
125319
125319
|
async function waitForTreeStable(wsPort, simId, opts) {
|
|
125320
125320
|
const deadline = Date.now() + opts.maxMs;
|
|
125321
|
-
const probeCode = `(async () => (await
|
|
125321
|
+
const probeCode = `(async () => (await globalThis.__sootsimTest?.getNodeCount?.()) || 0)()`;
|
|
125322
125322
|
const bridge = createBridge(wsPort, {
|
|
125323
125323
|
commandTimeoutMs: 2e3,
|
|
125324
125324
|
simId,
|
|
@@ -128850,7 +128850,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
128850
128850
|
}
|
|
128851
128851
|
const startedAt = Date.now();
|
|
128852
128852
|
const result = await this.evaluate(`(() => {
|
|
128853
|
-
const rec =
|
|
128853
|
+
const rec = globalThis.__sootsimRecorder
|
|
128854
128854
|
if (!rec) return { ok: false, error: 'recorder unavailable on this page' }
|
|
128855
128855
|
const format = ${JSON.stringify(this.opts.recordingFormat ?? "webm")}
|
|
128856
128856
|
if (rec.state() === 'recording') return { ok: true, format }
|
|
@@ -128863,12 +128863,12 @@ var init_bridge_flow_runner = __esm({
|
|
|
128863
128863
|
const startedAtMs = typeof result.startedAtMs === "number" && Number.isFinite(result.startedAtMs) ? result.startedAtMs : startedAt;
|
|
128864
128864
|
try {
|
|
128865
128865
|
await this.evaluate(`(() => {
|
|
128866
|
-
const recorder =
|
|
128866
|
+
const recorder = globalThis.SootSim?.bridges?.eventRecorder ?? globalThis.__sootsimEventRecorder
|
|
128867
128867
|
if (!recorder?.isRecording?.()) return
|
|
128868
128868
|
return recorder.markVisibleStart(${JSON.stringify(startedAtMs)})
|
|
128869
128869
|
})()`);
|
|
128870
128870
|
} catch (error) {
|
|
128871
|
-
await this.evaluate(`
|
|
128871
|
+
await this.evaluate(`globalThis.__sootsimRecorder.stop()`).catch(() => {
|
|
128872
128872
|
});
|
|
128873
128873
|
throw error;
|
|
128874
128874
|
}
|
|
@@ -128952,7 +128952,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
128952
128952
|
this.lastRecordingProfile = null;
|
|
128953
128953
|
return null;
|
|
128954
128954
|
}
|
|
128955
|
-
const stopped = await this.evaluate(`
|
|
128955
|
+
const stopped = await this.evaluate(`globalThis.__sootsimRecorder.stop()`);
|
|
128956
128956
|
if (!stopped?.ok) {
|
|
128957
128957
|
this.recordingStartedAtMs = null;
|
|
128958
128958
|
this.lastRecordingProfile = null;
|
|
@@ -128969,7 +128969,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
128969
128969
|
let offset = 0;
|
|
128970
128970
|
while (true) {
|
|
128971
128971
|
const part = await this.evaluate(
|
|
128972
|
-
`
|
|
128972
|
+
`globalThis.__sootsimRecorder.getBlobBase64({ offset: ${offset}, chunk: ${2 * 1024 * 1024} })`
|
|
128973
128973
|
);
|
|
128974
128974
|
if (!part) break;
|
|
128975
128975
|
chunks.push(Buffer.from(part.data, "base64"));
|
|
@@ -129019,7 +129019,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
129019
129019
|
}
|
|
129020
129020
|
async captureAccessibilityTree() {
|
|
129021
129021
|
const tree3 = await this.evaluate(`(async () => {
|
|
129022
|
-
const test =
|
|
129022
|
+
const test = globalThis.__sootsimTest
|
|
129023
129023
|
if (!test || typeof test.captureAccessibilityTree !== 'function') throw new Error('engine accessibility snapshot is unavailable')
|
|
129024
129024
|
return await test.captureAccessibilityTree()
|
|
129025
129025
|
})()`);
|
|
@@ -129077,7 +129077,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
129077
129077
|
async findElementScoped(opts, preferHittable = false) {
|
|
129078
129078
|
const screen = await this.screenBounds();
|
|
129079
129079
|
const candidates = await this.evaluate(`(async () => {
|
|
129080
|
-
const test =
|
|
129080
|
+
const test = globalThis.__sootsimTest
|
|
129081
129081
|
if (!test || !test.queryAll) return null
|
|
129082
129082
|
const selector = ${JSON.stringify(opts)}
|
|
129083
129083
|
const compile = ${accessibilityTextMatcher.toString()}
|
|
@@ -129253,7 +129253,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
129253
129253
|
if (candidates.length < 2) return candidates[0] ?? null;
|
|
129254
129254
|
const nodeIds = candidates.map((node) => node.nodeId);
|
|
129255
129255
|
const index = await this.evaluate(`(async () => {
|
|
129256
|
-
const test =
|
|
129256
|
+
const test = globalThis.__sootsimTest
|
|
129257
129257
|
for (const [index, nodeId] of ${JSON.stringify(nodeIds)}.entries()) {
|
|
129258
129258
|
if (typeof nodeId !== 'number') continue
|
|
129259
129259
|
const resolved = await test.resolveTapTarget(nodeId)
|
|
@@ -129269,7 +129269,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
129269
129269
|
}
|
|
129270
129270
|
async resolveTapTarget(nodeId) {
|
|
129271
129271
|
return this.evaluate(`(async () => {
|
|
129272
|
-
const test =
|
|
129272
|
+
const test = globalThis.__sootsimTest
|
|
129273
129273
|
if (!test?.resolveTapTarget) return null
|
|
129274
129274
|
return await test.resolveTapTarget(${nodeId})
|
|
129275
129275
|
})()`);
|
|
@@ -129277,7 +129277,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
129277
129277
|
async activatePressTarget(opts, nodeId, x, y) {
|
|
129278
129278
|
const replayTarget = opts.id ? { id: opts.id, testID: opts.id, text: null } : { id: null, testID: null, text: opts.text ?? null };
|
|
129279
129279
|
return this.evaluate(`(async () => {
|
|
129280
|
-
const test =
|
|
129280
|
+
const test = globalThis.__sootsimTest
|
|
129281
129281
|
if (!test) return null
|
|
129282
129282
|
let point = { x: ${x}, y: ${y} }
|
|
129283
129283
|
const resolved = await test.resolveTapTarget(${nodeId})
|
|
@@ -129299,7 +129299,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
129299
129299
|
}
|
|
129300
129300
|
async activatePressAt(x, y) {
|
|
129301
129301
|
return this.evaluate(`(async () => {
|
|
129302
|
-
const test =
|
|
129302
|
+
const test = globalThis.__sootsimTest
|
|
129303
129303
|
if (!test?.activatePressAt) return null
|
|
129304
129304
|
const direct = await test.activatePressAt(${x}, ${y})
|
|
129305
129305
|
if (direct?.ok) {
|
|
@@ -129335,7 +129335,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
129335
129335
|
// which no tree, layout, scroll or prop write could move any element.
|
|
129336
129336
|
async geometryRevision() {
|
|
129337
129337
|
const revision = await this.evaluate(
|
|
129338
|
-
`(async () =>
|
|
129338
|
+
`(async () => globalThis.__sootsimTest?.getGeometryRevision?.())()`
|
|
129339
129339
|
);
|
|
129340
129340
|
return typeof revision === "string" ? revision : null;
|
|
129341
129341
|
}
|
|
@@ -129660,7 +129660,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
129660
129660
|
async isKeyboardVisible() {
|
|
129661
129661
|
const visible = await this.evaluate(`(() => {
|
|
129662
129662
|
const keyboard =
|
|
129663
|
-
|
|
129663
|
+
globalThis.__sootsimKeyboard ?? globalThis.SootSim?.bridges?.keyboard ?? null
|
|
129664
129664
|
return !!keyboard?.isVisible?.()
|
|
129665
129665
|
})()`);
|
|
129666
129666
|
return visible === true;
|
|
@@ -129764,11 +129764,11 @@ var init_bridge_flow_runner = __esm({
|
|
|
129764
129764
|
type: "evaluate",
|
|
129765
129765
|
simId: this.opts.simId,
|
|
129766
129766
|
code: `(() => {
|
|
129767
|
-
const c =
|
|
129767
|
+
const c = globalThis.__sootsimConsole
|
|
129768
129768
|
return {
|
|
129769
129769
|
errors: c?.getErrors?.() ?? [],
|
|
129770
129770
|
warnings: c?.getWarnings?.() ?? [],
|
|
129771
|
-
requests: (
|
|
129771
|
+
requests: (globalThis.__sootsimGetFailedRequests?.() ?? []),
|
|
129772
129772
|
}
|
|
129773
129773
|
})()`
|
|
129774
129774
|
});
|
|
@@ -129803,7 +129803,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
129803
129803
|
};
|
|
129804
129804
|
const env = await safeEval(`(async () => {
|
|
129805
129805
|
const out = {
|
|
129806
|
-
simId:
|
|
129806
|
+
simId: globalThis.__sootsimBridge?.id ?? globalThis.SootSim?.state?.simId ?? null,
|
|
129807
129807
|
url: location.href,
|
|
129808
129808
|
title: document.title,
|
|
129809
129809
|
hidden: document.hidden,
|
|
@@ -129852,8 +129852,8 @@ var init_bridge_flow_runner = __esm({
|
|
|
129852
129852
|
} catch {
|
|
129853
129853
|
}
|
|
129854
129854
|
const describeJson = await safeEval(`(async () => {
|
|
129855
|
-
const t =
|
|
129856
|
-
const mainShell =
|
|
129855
|
+
const t = globalThis.__sootsimTest
|
|
129856
|
+
const mainShell = globalThis.SootSim?.bridges?.mainShell
|
|
129857
129857
|
if (!t) return { error: 'no test bridge' }
|
|
129858
129858
|
let shell = null
|
|
129859
129859
|
try {
|
|
@@ -129864,15 +129864,15 @@ var init_bridge_flow_runner = __esm({
|
|
|
129864
129864
|
})()`);
|
|
129865
129865
|
if (describeJson) write("describe.json", JSON.stringify(describeJson, null, 2));
|
|
129866
129866
|
const animations = await safeEval(
|
|
129867
|
-
`(async () => await
|
|
129867
|
+
`(async () => await globalThis.__sootsimTest?.listAnimations?.())()`
|
|
129868
129868
|
);
|
|
129869
129869
|
if (animations) write("animations.json", JSON.stringify(animations, null, 2));
|
|
129870
129870
|
const a11y = await safeEval(
|
|
129871
|
-
`(async () => await
|
|
129871
|
+
`(async () => await globalThis.__sootsimTest?.dumpAccessibilityTree?.(20))()`
|
|
129872
129872
|
);
|
|
129873
129873
|
if (typeof a11y === "string") write("a11y.txt", a11y);
|
|
129874
129874
|
const tree3 = await safeEval(
|
|
129875
|
-
`(async () => await
|
|
129875
|
+
`(async () => await globalThis.__sootsimTest?.dumpTree?.(15))()`
|
|
129876
129876
|
);
|
|
129877
129877
|
if (typeof tree3 === "string") write("tree.txt", tree3);
|
|
129878
129878
|
const consoleBuf = await this.readConsole().catch(() => null);
|
|
@@ -130010,14 +130010,14 @@ var init_bridge_flow_runner = __esm({
|
|
|
130010
130010
|
const fps = typeof spec === "object" && !Array.isArray(spec) && typeof spec.fps === "number" && Number.isFinite(spec.fps) && spec.fps > 0 ? spec.fps : 60;
|
|
130011
130011
|
const result = await this.evaluate(
|
|
130012
130012
|
`(async () => {
|
|
130013
|
-
const lockstep =
|
|
130013
|
+
const lockstep = globalThis.SootSim?.bridges?.lockstepCapture
|
|
130014
130014
|
if (!lockstep || typeof lockstep.begin !== 'function') {
|
|
130015
130015
|
return { ok: false, error: 'lockstep capture bridge unavailable' }
|
|
130016
130016
|
}
|
|
130017
|
-
let controller =
|
|
130017
|
+
let controller = globalThis.__peachFlowAnimationClockController
|
|
130018
130018
|
if (!controller) {
|
|
130019
130019
|
controller = await lockstep.begin(${JSON.stringify(fps)})
|
|
130020
|
-
|
|
130020
|
+
globalThis.__peachFlowAnimationClockController = controller
|
|
130021
130021
|
}
|
|
130022
130022
|
let receipt = controller.initialFrame
|
|
130023
130023
|
for (const ms of ${JSON.stringify(steps)}) {
|
|
@@ -130040,13 +130040,13 @@ var init_bridge_flow_runner = __esm({
|
|
|
130040
130040
|
if (!this.animationClockLocked) return;
|
|
130041
130041
|
this.animationClockLocked = false;
|
|
130042
130042
|
await this.evaluate(`(() => {
|
|
130043
|
-
const controller =
|
|
130044
|
-
|
|
130043
|
+
const controller = globalThis.__peachFlowAnimationClockController
|
|
130044
|
+
globalThis.__peachFlowAnimationClockController = null
|
|
130045
130045
|
if (controller && typeof controller.end === 'function') {
|
|
130046
130046
|
controller.end()
|
|
130047
130047
|
return
|
|
130048
130048
|
}
|
|
130049
|
-
|
|
130049
|
+
globalThis.SootSim?.bridges?.lockstepCapture?.end?.()
|
|
130050
130050
|
})()`).catch(() => {
|
|
130051
130051
|
});
|
|
130052
130052
|
}
|
|
@@ -130355,10 +130355,10 @@ var init_bridge_flow_runner = __esm({
|
|
|
130355
130355
|
}
|
|
130356
130356
|
async startProfile() {
|
|
130357
130357
|
const result = await this.evaluate(`(async () => {
|
|
130358
|
-
if (!
|
|
130358
|
+
if (!globalThis.__sootsimShellPerf) {
|
|
130359
130359
|
return { error: "shell frame profile unavailable (__sootsimShellPerf missing on the page)" }
|
|
130360
130360
|
}
|
|
130361
|
-
await
|
|
130361
|
+
await globalThis.__sootsimShellPerf.start()
|
|
130362
130362
|
return { started: true }
|
|
130363
130363
|
})()`);
|
|
130364
130364
|
if (result?.error) {
|
|
@@ -130368,10 +130368,10 @@ var init_bridge_flow_runner = __esm({
|
|
|
130368
130368
|
}
|
|
130369
130369
|
async stopProfile() {
|
|
130370
130370
|
const result = await this.evaluate(`(async () => {
|
|
130371
|
-
if (!
|
|
130371
|
+
if (!globalThis.__sootsimShellPerf) {
|
|
130372
130372
|
return { error: "shell frame profile unavailable (__sootsimShellPerf missing on the page)" }
|
|
130373
130373
|
}
|
|
130374
|
-
return await
|
|
130374
|
+
return await globalThis.__sootsimShellPerf.stop()
|
|
130375
130375
|
})()`);
|
|
130376
130376
|
this.profilingEnabled = false;
|
|
130377
130377
|
if (result?.error) {
|
|
@@ -130528,7 +130528,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
130528
130528
|
const dataUrl = `data:${mimeType};base64,${bytes.toString("base64")}`;
|
|
130529
130529
|
const added = await this.evaluate(
|
|
130530
130530
|
`(async () => {
|
|
130531
|
-
const add =
|
|
130531
|
+
const add = globalThis.__sootsimAddPhotoDataUrl
|
|
130532
130532
|
if (typeof add !== 'function') {
|
|
130533
130533
|
return { ok: false, error: 'photo library bridge unavailable' }
|
|
130534
130534
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2208 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2208 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2208 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2208 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2208 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2208 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -30649,7 +30649,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
30649
30649
|
return hash.digest("hex");
|
|
30650
30650
|
}
|
|
30651
30651
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
30652
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
30652
|
+
var STANDIN_SOURCE_DIGEST = true ? "de5c69cdf5f13f704ced14ea451df60f83586f1006377836b423f3bb3d2ffce8" : standinSourceDigest();
|
|
30653
30653
|
|
|
30654
30654
|
// src/swift-standins.ts
|
|
30655
30655
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|