peachsim 0.1.1848 → 0.1.1849
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-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 +27 -17
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +26 -16
- 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 +27 -17
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +27 -17
- 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 +26 -16
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/swift-standins.ts +36 -19
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1849 | (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;
|
|
@@ -24886,7 +24886,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
|
|
|
24886
24886
|
}
|
|
24887
24887
|
return hash.digest("hex");
|
|
24888
24888
|
}
|
|
24889
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
24889
|
+
var STANDIN_SOURCE_DIGEST = true ? "b4381937109ada9ffbe340136480779fc9c348457545332791474bace7335445" : standinSourceDigest();
|
|
24890
24890
|
|
|
24891
24891
|
// src/swift-standins.ts
|
|
24892
24892
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -27421,18 +27421,32 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
|
|
|
27421
27421
|
hash.update(import_node_fs39.default.readFileSync(file));
|
|
27422
27422
|
}
|
|
27423
27423
|
const id = hash.digest("hex").slice(0, 32);
|
|
27424
|
+
const settle = (value) => {
|
|
27425
|
+
if (typeof value === "string" && found.some((surface) => configured.has(surface.module)))
|
|
27426
|
+
throw new Error(
|
|
27427
|
+
`Configured native framework ${binary.target} could not be generated: ${value}`
|
|
27428
|
+
);
|
|
27429
|
+
return value;
|
|
27430
|
+
};
|
|
27424
27431
|
const memo2 = built.get(id);
|
|
27425
27432
|
if (memo2) {
|
|
27426
27433
|
import_node_fs39.default.rmSync(work, { recursive: true, force: true });
|
|
27427
|
-
return memo2;
|
|
27434
|
+
return settle(memo2);
|
|
27428
27435
|
}
|
|
27429
27436
|
const cached = import_node_path40.default.join(cacheDir4, "standins", `${id}.json`);
|
|
27430
27437
|
if (import_node_fs39.default.existsSync(cached)) {
|
|
27431
27438
|
const value = JSON.parse(import_node_fs39.default.readFileSync(cached, "utf8"));
|
|
27432
27439
|
built.set(id, value);
|
|
27433
27440
|
import_node_fs39.default.rmSync(work, { recursive: true, force: true });
|
|
27434
|
-
return value;
|
|
27441
|
+
return settle(value);
|
|
27435
27442
|
}
|
|
27443
|
+
const publish = (value) => {
|
|
27444
|
+
import_node_fs39.default.mkdirSync(import_node_path40.default.dirname(cached), { recursive: true });
|
|
27445
|
+
const pending = `${cached}.${process.pid}.tmp`;
|
|
27446
|
+
import_node_fs39.default.writeFileSync(pending, JSON.stringify(value));
|
|
27447
|
+
import_node_fs39.default.renameSync(pending, cached);
|
|
27448
|
+
built.set(id, value);
|
|
27449
|
+
};
|
|
27436
27450
|
let result;
|
|
27437
27451
|
try {
|
|
27438
27452
|
result = [];
|
|
@@ -27476,26 +27490,22 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
|
|
|
27476
27490
|
);
|
|
27477
27491
|
} catch (error) {
|
|
27478
27492
|
throw new Error(
|
|
27479
|
-
`no stand-in for ${surface.module}: ${error instanceof Error && !("stderr" in error) ? error.message : failure(error)}
|
|
27493
|
+
`no stand-in for ${surface.module}: ${error instanceof Error && !("stderr" in error) ? error.message : failure(error)}`,
|
|
27494
|
+
{ cause: error }
|
|
27480
27495
|
);
|
|
27481
27496
|
}
|
|
27482
27497
|
}
|
|
27483
|
-
|
|
27484
|
-
import_node_fs39.default.mkdirSync(import_node_path40.default.dirname(cached), { recursive: true });
|
|
27485
|
-
const pending = `${cached}.${process.pid}.tmp`;
|
|
27486
|
-
import_node_fs39.default.writeFileSync(pending, JSON.stringify(result));
|
|
27487
|
-
import_node_fs39.default.renameSync(pending, cached);
|
|
27488
|
-
built.set(id, result);
|
|
27498
|
+
publish(result);
|
|
27489
27499
|
} catch (error) {
|
|
27490
27500
|
result = error instanceof Error ? error.message : String(error);
|
|
27501
|
+
let cause = error;
|
|
27502
|
+
while (cause instanceof Error && !("code" in cause && typeof cause.code === "string") && !("signal" in cause && typeof cause.signal === "string"))
|
|
27503
|
+
cause = cause.cause;
|
|
27504
|
+
if (!(cause instanceof Error)) publish(result);
|
|
27491
27505
|
} finally {
|
|
27492
27506
|
import_node_fs39.default.rmSync(work, { recursive: true, force: true });
|
|
27493
27507
|
}
|
|
27494
|
-
|
|
27495
|
-
throw new Error(
|
|
27496
|
-
`Configured native framework ${binary.target} could not be generated: ${result}`
|
|
27497
|
-
);
|
|
27498
|
-
return result;
|
|
27508
|
+
return settle(result);
|
|
27499
27509
|
}
|
|
27500
27510
|
async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new Set(), behavior = {}) {
|
|
27501
27511
|
const requested = binaries.filter((binary) => !provided.has(binary.target));
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1849 | (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.1849 | (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/package.json
CHANGED
package/src/swift-standins.ts
CHANGED
|
@@ -2576,17 +2576,35 @@ async function binaryStandins(
|
|
|
2576
2576
|
hash.update(fs.readFileSync(file))
|
|
2577
2577
|
}
|
|
2578
2578
|
const id = hash.digest('hex').slice(0, 32)
|
|
2579
|
+
const settle = (value: SwiftStandin[] | string) => {
|
|
2580
|
+
if (
|
|
2581
|
+
typeof value === 'string' &&
|
|
2582
|
+
found.some((surface) => configured.has(surface.module))
|
|
2583
|
+
)
|
|
2584
|
+
throw new Error(
|
|
2585
|
+
`Configured native framework ${binary.target} could not be generated: ${value}`,
|
|
2586
|
+
)
|
|
2587
|
+
return value
|
|
2588
|
+
}
|
|
2579
2589
|
const memo = built.get(id)
|
|
2580
2590
|
if (memo) {
|
|
2581
2591
|
fs.rmSync(work, { recursive: true, force: true })
|
|
2582
|
-
return memo
|
|
2592
|
+
return settle(memo)
|
|
2583
2593
|
}
|
|
2584
2594
|
const cached = path.join(cacheDir, 'standins', `${id}.json`)
|
|
2585
2595
|
if (fs.existsSync(cached)) {
|
|
2586
|
-
const value: SwiftStandin[] = JSON.parse(fs.readFileSync(cached, 'utf8'))
|
|
2596
|
+
const value: SwiftStandin[] | string = JSON.parse(fs.readFileSync(cached, 'utf8'))
|
|
2587
2597
|
built.set(id, value)
|
|
2588
2598
|
fs.rmSync(work, { recursive: true, force: true })
|
|
2589
|
-
return value
|
|
2599
|
+
return settle(value)
|
|
2600
|
+
}
|
|
2601
|
+
// publish a complete entry so concurrent workspaces never read partial json.
|
|
2602
|
+
const publish = (value: SwiftStandin[] | string) => {
|
|
2603
|
+
fs.mkdirSync(path.dirname(cached), { recursive: true })
|
|
2604
|
+
const pending = `${cached}.${process.pid}.tmp`
|
|
2605
|
+
fs.writeFileSync(pending, JSON.stringify(value))
|
|
2606
|
+
fs.renameSync(pending, cached)
|
|
2607
|
+
built.set(id, value)
|
|
2590
2608
|
}
|
|
2591
2609
|
let result: SwiftStandin[] | string
|
|
2592
2610
|
try {
|
|
@@ -2642,30 +2660,29 @@ async function binaryStandins(
|
|
|
2642
2660
|
} catch (error) {
|
|
2643
2661
|
throw new Error(
|
|
2644
2662
|
`no stand-in for ${surface.module}: ${error instanceof Error && !('stderr' in error) ? error.message : failure(error)}`,
|
|
2663
|
+
{ cause: error },
|
|
2645
2664
|
)
|
|
2646
2665
|
}
|
|
2647
2666
|
}
|
|
2648
|
-
|
|
2649
|
-
fs.mkdirSync(path.dirname(cached), { recursive: true })
|
|
2650
|
-
// publish a complete entry so concurrent workspaces never read partial json.
|
|
2651
|
-
const pending = `${cached}.${process.pid}.tmp`
|
|
2652
|
-
fs.writeFileSync(pending, JSON.stringify(result))
|
|
2653
|
-
fs.renameSync(pending, cached)
|
|
2654
|
-
built.set(id, result)
|
|
2667
|
+
publish(result)
|
|
2655
2668
|
} catch (error) {
|
|
2656
|
-
// a failure is not cached: a fixed peach module or interface retries it
|
|
2657
2669
|
result = error instanceof Error ? error.message : String(error)
|
|
2670
|
+
// the id covers the framework, peach's modules and sdk and this generator,
|
|
2671
|
+
// so a failed generation holds until one of them changes, as a built one
|
|
2672
|
+
// does. a failure of the host itself (a missing tool, a full disk, a
|
|
2673
|
+
// killed compiler) retries.
|
|
2674
|
+
let cause: unknown = error
|
|
2675
|
+
while (
|
|
2676
|
+
cause instanceof Error &&
|
|
2677
|
+
!('code' in cause && typeof cause.code === 'string') &&
|
|
2678
|
+
!('signal' in cause && typeof cause.signal === 'string')
|
|
2679
|
+
)
|
|
2680
|
+
cause = cause.cause
|
|
2681
|
+
if (!(cause instanceof Error)) publish(result)
|
|
2658
2682
|
} finally {
|
|
2659
2683
|
fs.rmSync(work, { recursive: true, force: true })
|
|
2660
2684
|
}
|
|
2661
|
-
|
|
2662
|
-
typeof result === 'string' &&
|
|
2663
|
-
found.some((surface) => configured.has(surface.module))
|
|
2664
|
-
)
|
|
2665
|
-
throw new Error(
|
|
2666
|
-
`Configured native framework ${binary.target} could not be generated: ${result}`,
|
|
2667
|
-
)
|
|
2668
|
-
return result
|
|
2685
|
+
return settle(result)
|
|
2669
2686
|
}
|
|
2670
2687
|
|
|
2671
2688
|
/**
|