peachsim 0.1.2490 → 0.1.2491
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-flow-runner.ts +190 -167
- package/cli/cloud-client.ts +7 -2
- package/cli/commands/inspect/settling.ts +7 -2
- 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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +1 -1
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +8 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-V3XDEDP6.mjs → acorn-2J725R5I.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-6V2ECPE7.mjs → chunk-2HK4H7ZI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-N7VZ7VEK.mjs → chunk-6VR25SPG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HGXXVBJG.mjs → chunk-6XNOBDYY.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-LATLGHGM.mjs → chunk-7VU3MCJG.mjs} +12 -12
- package/dist-lib/esm-chunks/{chunk-FLENJWNX.mjs → chunk-7WLZ4NHN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HEOMLBGO.mjs → chunk-AQZG62OH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MSVSZ66J.mjs → chunk-EIM3TPVZ.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-P6RAV46E.mjs → chunk-EMQ3TSAN.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-ZMCFZNUO.mjs → chunk-EN5F4P2G.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-AQ3PGPWE.mjs → chunk-EZBJ5J3I.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3JP3KRAD.mjs → chunk-FX5ONYBN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PBEN5WRU.mjs → chunk-GNJLEHNW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ISB7UYPO.mjs → chunk-GQJ6AWTA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-O7GFR7YK.mjs → chunk-GV6SJTHZ.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-E6Q66I6T.mjs → chunk-IUJGRRA5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KUFZD2CT.mjs → chunk-KYB5R7DP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DCO5CMNF.mjs → chunk-MAHSHPSW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6J6FWZLQ.mjs → chunk-NLX75NDQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KGUUTG42.mjs → chunk-NPNMSHHT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZR3V6DY4.mjs → chunk-PE74RKR2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-633546VE.mjs → chunk-Z2NSJMVJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-JHKSRYFH.mjs → metro-layout-parser-G37VWZEJ.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-JX5THTBC.mjs → swift-package-prebuilt-SEN55VIB.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-W6JPOC7Q.mjs → swift-sdk-app-module-UK4USPH3.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-7IQKWX4J.mjs → swift-sdk-image-IBWK7WQH.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-IFBEHFC5.mjs → swift-sdk-image-producer-NLZJWZSK.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +1 -1
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1 -1
- 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 +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +11 -5
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +79 -79
- package/dist-lib/public-origins-lib.json +69 -69
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +8 -3
- package/dist-lib/sdk.mjs +14 -9
- package/dist-lib/skills.cjs +151 -177
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +10 -10
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +5 -5
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/render-worker/host.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +1 -9
- package/dist-types/packages/peach-globals/src/index.d.ts +2 -2
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +13 -1
- package/package.json +1 -1
- package/src/bridge-contract.ts +2 -17
- package/src/connect.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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
|
|
|
4
4
|
// ../../node_modules/acorn/dist/acorn.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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
|
|
|
4
4
|
// ../../node_modules/ignore/index.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __commonJS = (cb, mod) => function __require() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __commonJS = (cb, mod) => function __require() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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
|
|
|
4
4
|
// ../../node_modules/valibot/dist/index.cjs
|
package/dist-lib/vendor/ws.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
package/dist-lib/vendor/zod.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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,12 +1,12 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
parse
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-EZBJ5J3I.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__privateAdd,
|
|
7
7
|
__privateGet,
|
|
8
8
|
__publicField
|
|
9
|
-
} from "./esm-chunks/chunk-
|
|
9
|
+
} from "./esm-chunks/chunk-2HK4H7ZI.mjs";
|
|
10
10
|
|
|
11
11
|
// src/worklet-kernel.ts
|
|
12
12
|
var Unsupported = class extends Error {
|
|
@@ -13,7 +13,7 @@ import type { BrowserBridgeState, ForwardedWindowEventType, HostEngineStats, Hos
|
|
|
13
13
|
import type { ShellCommandName, ShellCommandPayload, WheelTrackInput, WheelTrackTarget } from './shell-protocol.d.ts';
|
|
14
14
|
import type { PointerDeliveryStats, PeachLockstepTenantFrame } from '../../../peach-globals/src/index.d.ts';
|
|
15
15
|
import type { PointerDispatchOptions } from '../../../peach-globals/src/index.d.ts';
|
|
16
|
-
import type { SootSimLaunchArguments, SootSimSceneStreamCommand, SootSimSceneStreamResult, SootSimTestBridge, SootSimTestBridgeArgs, SootSimTestBridgeMethod, SootSimTestBridgeResult } from '../../../peach-globals/src/index.d.ts';
|
|
16
|
+
import type { SootSimLaunchArguments, SootSimRenderReadinessStats, SootSimSceneStreamCommand, SootSimSceneStreamResult, SootSimTestBridge, SootSimTestBridgeArgs, SootSimTestBridgeMethod, SootSimTestBridgeResult } from '../../../peach-globals/src/index.d.ts';
|
|
17
17
|
export declare function isTenantShellCommand(command: ShellCommandName): command is 'launchApp' | 'goHome' | 'openSwitcher' | 'openSwitcherCard';
|
|
18
18
|
export interface OwnershipSnapshot {
|
|
19
19
|
shellScene: {
|
|
@@ -58,6 +58,7 @@ export interface RenderHost {
|
|
|
58
58
|
startSampling(): void;
|
|
59
59
|
flushSamples(): Promise<Array<[number, number, number, number, number, number, number]>>;
|
|
60
60
|
queryStats(includeMemory?: boolean): Promise<HostEngineStats>;
|
|
61
|
+
queryReadinessStats(): Promise<SootSimRenderReadinessStats>;
|
|
61
62
|
startCpuProfile(sampleInterval: number, maxBufferSize: number): void;
|
|
62
63
|
stopCpuProfile(): Promise<{
|
|
63
64
|
trace?: unknown;
|
|
@@ -584,18 +584,12 @@ export type DemoShareHostRequest = {
|
|
|
584
584
|
command: 'releaseCurrentShare';
|
|
585
585
|
ownerToken?: string | null;
|
|
586
586
|
};
|
|
587
|
-
export type EngineStats = {
|
|
587
|
+
export type EngineStats = import('../../../peach-globals/src/index.d.ts').SootSimRenderReadinessStats & {
|
|
588
588
|
frameCount: number;
|
|
589
589
|
workerNow: number;
|
|
590
|
-
appCommitCount: number;
|
|
591
|
-
pendingImageFetches: number;
|
|
592
590
|
layoutMs: number;
|
|
593
591
|
pageVisible?: boolean;
|
|
594
|
-
renderRequested?: boolean;
|
|
595
|
-
layoutDirty?: boolean;
|
|
596
|
-
hasActiveAnims?: boolean;
|
|
597
592
|
hasActiveNativeAnimations?: boolean;
|
|
598
|
-
hasActiveBlockingNativeAnimations?: boolean;
|
|
599
593
|
nativeAnimationDebug?: Array<{
|
|
600
594
|
id: number;
|
|
601
595
|
ageMs: number;
|
|
@@ -605,8 +599,6 @@ export type EngineStats = {
|
|
|
605
599
|
registrationStack?: string;
|
|
606
600
|
}>;
|
|
607
601
|
hasPendingAnimationFrames?: boolean;
|
|
608
|
-
hasPendingBlockingAnimationFrames?: boolean;
|
|
609
|
-
hasPendingReadinessAnimationFrames?: boolean;
|
|
610
602
|
needsVsync?: boolean;
|
|
611
603
|
vsyncCount?: number;
|
|
612
604
|
hostVsyncCount?: number;
|
|
@@ -8,8 +8,8 @@ export type { NativeViewMeasureMode, NativeViewMeasure, PeachNativeWorkletEventD
|
|
|
8
8
|
export { SOOTSIM_BOOT_STAGE_ORDER, SOOTSIM_TENANT_READY_MARK, SOOTSIM_BOOT_MARKS_GLOBAL, dispatchSootsimEvent, listenSootsimEvent, } from './eventBridgeContract.d.ts';
|
|
9
9
|
export { isDeviceHardwareAction, type DeviceHardwareAction, } from './eventBridgeContract.d.ts';
|
|
10
10
|
export type { SootsimBridgeStatusDetail, SootsimActiveAppChangeDetail, SootsimSettingsPage, SootsimSettingsRoute, SootsimNavigateAppDetail, SootsimNavigateHomeDetail, SootsimEmbedVisibilityDetail, SootsimEmbedInteraction, SootsimEngineFailureDetail, SootsimBootStage, SootsimBootMarkName, SootsimBootMark, SootsimHostKeyDetail, SootsimHapticActivityDetail, SootsimColorScheme, SootsimTopOverlayKind, SootsimEventMap, SootsimEventName, } from './eventBridgeContract.d.ts';
|
|
11
|
-
export type { SootSimTestQueryFilter, SootSimTextCandidatesOptions, SootSimTextCandidate, SootSimTextCandidatesResult, SootSimDumpTreeOptions, SootSimInspectPointOptions, SootSimTapTargetOptions, SootSimListInspectableOptions, SootSimRequestEntry, SootSimRequestCounts, SootSimTestBridge, SootSimTestBridgeMethod, SootSimTestBridgeArgs, SootSimTestBridgeResult, } from './testBridgeContract.d.ts';
|
|
12
|
-
export type { SootSimInspectNeighborDirection, SootSimTapPathEntry, SootSimTapRefusal, SootSimTapTargetMatch, SootSimTapTargetVerification, SootSimNativePresentationInfo, SootSimTapResult, SootSimTapTargetStrategy, SootSimTapTargetInfo, SootSimRouteInfo, SootSimUndeclaredScreen, SootSimScrollToResult, SootSimCursorState, SootSimLoupeState, SootSimEditMenuRect, SootSimEditMenuItem, SootSimEditMenuState, SootSimTextSelection, SootSimTextSelectionHandles, SootSimAnimationSource, SootSimAnimationInfo, SootSimAnimationTraceSample, SootSimAnimationTraceStatus, SootSimRuntimeState, SootSimScreenTransitionWaitOptions, SootSimScreenTransitionWaitResult, SootSimInspectDeviceInfo, SootSimInspectAncestor, SootSimInspectBoxModel, SootSimInspectImageSource, SootSimInspectHookKind, SootSimInspectHookSummary, SootSimInspectCommitCause, SootSimInspectLastCommit, SootSimInspectReactInfo, SootSimInspectNavigationInfo, SootSimInspectTimelineEntry, SootSimInspectTreeNode, SootSimInspectInfo, PeachSemanticInspectInfo, PointerDispatchOptions, PeachAccessibilityNode, PeachSwiftUiAccessibility, PeachDebugSnapshotOperation, SootSimTargetMatcher, SootSimTargetObservation, PeachPeerStatsProgress, PeachPeerStats, SootSimAccessibilityState, SootSimAccessibilityValue, SootSimAccessibilityLiveRegion, SootSimFocusedNodeInfo, SootSimAccessibilityInput, SootSimNodeInfo, SootSimStyleTokenBinding, SootSimCapturedTextSegment, SootSimCapturedTextLine, SootSimRenderTreeNode, SootSimRenderTreeSnapshot, SootSimSemanticRenderTreeNode, SootSimSemanticRenderTreeSnapshot, SootSimCaptureTransactionReceipt, SootSimCaptureBoundLongPressReceipt, SootSimCaptureBoundTapReceipt, SootSimDebugNodeInfo, SootSimVisibleFrame, SootSimVisibilityNodeRef, SootSimVisibleFrameHidden, SootSimLayout, SootSimDeviceSpec, } from './nodeContract.d.ts';
|
|
11
|
+
export type { SootSimTestQueryFilter, SootSimTextCandidatesOptions, SootSimTextCandidate, SootSimTextCandidatesResult, SootSimDumpTreeOptions, SootSimInspectPointOptions, SootSimTapTargetOptions, SootSimListInspectableOptions, SootSimRequestEntry, SootSimRequestCounts, SootSimTestBridge, SootSimRenderReadinessStats, SootSimTestBridgeMethod, SootSimTestBridgeArgs, SootSimTestBridgeResult, } from './testBridgeContract.d.ts';
|
|
12
|
+
export type { SootSimInspectNeighborDirection, SootSimTapPathEntry, SootSimTapRefusal, SootSimTapTargetMatch, SootSimTapTargetVerification, SootSimNativePresentationInfo, SootSimTapResult, SootSimTapTargetStrategy, SootSimTapTargetInfo, SootSimRouteInfo, SootSimUndeclaredScreen, SootSimScrollToResult, SootSimCursorState, SootSimLoupeState, SootSimEditMenuRect, SootSimEditMenuItem, SootSimEditMenuState, SootSimTextSelection, SootSimTextSelectionHandles, SootSimAnimationSource, SootSimAnimationInfo, SootSimAnimationTraceSample, SootSimAnimationTraceStatus, SootSimRuntimeState, SootSimScreenTransitionWaitOptions, SootSimScreenTransitionWaitResult, SootSimInspectDeviceInfo, SootSimInspectAncestor, SootSimInspectBoxModel, SootSimInspectImageSource, SootSimInspectHookKind, SootSimInspectHookSummary, SootSimInspectCommitCause, SootSimInspectLastCommit, SootSimInspectReactInfo, SootSimInspectNavigationInfo, SootSimInspectTimelineEntry, SootSimInspectTreeNode, SootSimInspectInfo, PeachSemanticInspectInfo, PointerDispatchOptions, PeachAccessibilityNode, PeachSwiftUiAccessibility, PeachDebugSnapshotOperation, SootSimTargetMatcher, SootSimTargetObservation, PeachPeerStatsProgress, PeachPeerStats, SootSimAccessibilityState, SootSimAccessibilityValue, SootSimAccessibilityLiveRegion, SootSimFocusedNodeInfo, SootSimAccessibilityInput, SootSimNodeInfo, SootSimNodeRecord, SootSimStyleTokenBinding, SootSimCapturedTextSegment, SootSimCapturedTextLine, SootSimRenderTreeNode, SootSimRenderTreeSnapshot, SootSimSemanticRenderTreeNode, SootSimSemanticRenderTreeSnapshot, SootSimCaptureTransactionReceipt, SootSimCaptureBoundLongPressReceipt, SootSimCaptureBoundTapReceipt, SootSimDebugNodeInfo, SootSimVisibleFrame, SootSimVisibilityNodeRef, SootSimVisibleFrameHidden, SootSimLayout, SootSimDeviceSpec, } from './nodeContract.d.ts';
|
|
13
13
|
export type { SootSimInteractBridge } from './interactionBridgeContract.d.ts';
|
|
14
14
|
export { isTextInputEditCommand, NATIVE_TEXT_INPUT_TYPES, } from './keyboardBridgeContract.d.ts';
|
|
15
15
|
export type { GuardedTextInputResult, TextInputEditRange, NativeTextInputIntent, NormalizedTextInputEditCommand, TextInputEditCommand, SootSimKeyboardBridge, } from './keyboardBridgeContract.d.ts';
|
|
@@ -556,6 +556,7 @@ export interface SootSimNodeInfo {
|
|
|
556
556
|
accessibilityValue: SootSimAccessibilityValue | null;
|
|
557
557
|
accessibilityInput?: SootSimAccessibilityInput;
|
|
558
558
|
}
|
|
559
|
+
export type SootSimNodeRecord = Pick<SootSimNodeInfo, 'nodeId' | 'id' | 'testID' | 'text' | 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityState' | 'placeholder' | 'absolutePosition' | 'layout' | 'visibleFrame' | 'isTextInput'>;
|
|
559
560
|
export interface SootSimStyleTokenBinding {
|
|
560
561
|
token: string;
|
|
561
562
|
theme: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MaybeAsync } from './bridgeContract.d.ts';
|
|
2
2
|
import type { GuestExecutionSnapshot } from './guestExecutionContract.d.ts';
|
|
3
3
|
import type { GuardedTextInputResult } from './keyboardBridgeContract.d.ts';
|
|
4
|
-
import type { SootSimAccessibilityState, SootSimNodeInfo, PeachAccessibilityNode, SootSimTargetMatcher, SootSimTargetObservation, SootSimTapTargetInfo, SootSimTapTargetVerification, SootSimDebugNodeInfo, SootSimInspectInfo, SootSimInspectNeighborDirection, PeachSemanticInspectInfo, SootSimInspectTreeNode, SootSimRenderTreeSnapshot, SootSimSemanticRenderTreeSnapshot, SootSimCaptureTransactionReceipt, SootSimCaptureBoundLongPressReceipt, SootSimCaptureBoundTapReceipt, SootSimLayout, SootSimFocusedNodeInfo, PeachPeerStats, PeachPeerStatsProgress, PeachDebugSnapshotOperation, SootSimScreenTransitionWaitOptions, SootSimScreenTransitionWaitResult, SootSimAnimationInfo, SootSimAnimationTraceSample, SootSimAnimationTraceStatus, SootSimRuntimeState, SootSimCursorState, SootSimLoupeState, SootSimEditMenuState, SootSimTextSelection, SootSimTextSelectionHandles, SootSimScrollToResult, SootSimTapResult, SootSimRouteInfo, SootSimUndeclaredScreen } from './nodeContract.d.ts';
|
|
4
|
+
import type { SootSimAccessibilityState, SootSimNodeInfo, SootSimNodeRecord, PeachAccessibilityNode, SootSimTargetMatcher, SootSimTargetObservation, SootSimTapTargetInfo, SootSimTapTargetVerification, SootSimDebugNodeInfo, SootSimInspectInfo, SootSimInspectNeighborDirection, PeachSemanticInspectInfo, SootSimInspectTreeNode, SootSimRenderTreeSnapshot, SootSimSemanticRenderTreeSnapshot, SootSimCaptureTransactionReceipt, SootSimCaptureBoundLongPressReceipt, SootSimCaptureBoundTapReceipt, SootSimLayout, SootSimFocusedNodeInfo, PeachPeerStats, PeachPeerStatsProgress, PeachDebugSnapshotOperation, SootSimScreenTransitionWaitOptions, SootSimScreenTransitionWaitResult, SootSimAnimationInfo, SootSimAnimationTraceSample, SootSimAnimationTraceStatus, SootSimRuntimeState, SootSimCursorState, SootSimLoupeState, SootSimEditMenuState, SootSimTextSelection, SootSimTextSelectionHandles, SootSimScrollToResult, SootSimTapResult, SootSimRouteInfo, SootSimUndeclaredScreen } from './nodeContract.d.ts';
|
|
5
5
|
import type { SootSimScrollOffsetSample } from './performanceBridgeContract.d.ts';
|
|
6
6
|
import type { SystemPermissionApp, AppSettingsSnapshot, SystemPermissionKind, SystemPermissionMutation } from './permissionsBridgeContract.d.ts';
|
|
7
7
|
import type { SootSimReplayTarget } from './replayBridgeContract.d.ts';
|
|
@@ -16,6 +16,16 @@ export type FrameProducerFrameReceipt = {
|
|
|
16
16
|
firstFrameMs: number | null;
|
|
17
17
|
replayedFrames?: FrameProducerClockSample[];
|
|
18
18
|
};
|
|
19
|
+
export interface SootSimRenderReadinessStats {
|
|
20
|
+
appCommitCount: number;
|
|
21
|
+
pendingImageFetches: number;
|
|
22
|
+
renderRequested?: boolean;
|
|
23
|
+
layoutDirty?: boolean;
|
|
24
|
+
hasActiveAnims?: boolean;
|
|
25
|
+
hasActiveBlockingNativeAnimations?: boolean;
|
|
26
|
+
hasPendingBlockingAnimationFrames?: boolean;
|
|
27
|
+
hasPendingReadinessAnimationFrames?: boolean;
|
|
28
|
+
}
|
|
19
29
|
export interface SootSimTestQueryFilter {
|
|
20
30
|
type?: string;
|
|
21
31
|
hasText?: string;
|
|
@@ -174,6 +184,7 @@ export interface SootSimTestBridge {
|
|
|
174
184
|
targets: number;
|
|
175
185
|
loadingText: string;
|
|
176
186
|
}>;
|
|
187
|
+
getRemoteRenderReadiness?(): MaybeAsync<SootSimRenderReadinessStats>;
|
|
177
188
|
getGeometryRevision(): MaybeAsync<string | null>;
|
|
178
189
|
scrollTouchSlop(): MaybeAsync<number>;
|
|
179
190
|
getCullStats?(reset?: boolean): MaybeAsync<{
|
|
@@ -224,6 +235,7 @@ export interface SootSimTestBridge {
|
|
|
224
235
|
keyboardHandlers: number;
|
|
225
236
|
} | null>;
|
|
226
237
|
queryAll(filter: SootSimTestQueryFilter): MaybeAsync<SootSimNodeInfo[]>;
|
|
238
|
+
queryNodeRecords?(id?: string, text?: string): MaybeAsync<SootSimNodeRecord[]>;
|
|
227
239
|
queryTextCandidates(opts: SootSimTextCandidatesOptions): MaybeAsync<SootSimTextCandidatesResult>;
|
|
228
240
|
dumpTree(maxDepth?: number, opts?: SootSimDumpTreeOptions): MaybeAsync<string>;
|
|
229
241
|
dumpAccessibilityTree(maxDepth?: number): MaybeAsync<string>;
|
package/package.json
CHANGED
package/src/bridge-contract.ts
CHANGED
|
@@ -25,7 +25,7 @@ import type {
|
|
|
25
25
|
SootSimLocationCommand,
|
|
26
26
|
SootSimLocationFix,
|
|
27
27
|
SootSimLocationResult,
|
|
28
|
-
|
|
28
|
+
SootSimNodeRecord,
|
|
29
29
|
SootSimRecorderBridge,
|
|
30
30
|
SootSimReplayTarget,
|
|
31
31
|
SootSimTapRefusal,
|
|
@@ -673,22 +673,7 @@ export type SimSemanticQuery =
|
|
|
673
673
|
// the element at a point, with its frame and source chain
|
|
674
674
|
| { kind: 'inspectAt'; x: number; y: number; excludeTestIds?: string[] }
|
|
675
675
|
|
|
676
|
-
|
|
677
|
-
export type SimNodeRecord = Pick<
|
|
678
|
-
SootSimNodeInfo,
|
|
679
|
-
| 'nodeId'
|
|
680
|
-
| 'id'
|
|
681
|
-
| 'testID'
|
|
682
|
-
| 'text'
|
|
683
|
-
| 'accessibilityLabel'
|
|
684
|
-
| 'accessibilityRole'
|
|
685
|
-
| 'accessibilityState'
|
|
686
|
-
| 'placeholder'
|
|
687
|
-
| 'absolutePosition'
|
|
688
|
-
| 'layout'
|
|
689
|
-
| 'visibleFrame'
|
|
690
|
-
| 'isTextInput'
|
|
691
|
-
>
|
|
676
|
+
export type SimNodeRecord = SootSimNodeRecord
|
|
692
677
|
|
|
693
678
|
export interface SimSemanticQueryResult {
|
|
694
679
|
nodes: SimSemanticNode[]
|
package/src/connect.ts
CHANGED
|
@@ -67,6 +67,7 @@ export async function connect(options: ConnectOptions = {}): Promise<SimClient>
|
|
|
67
67
|
const target = {
|
|
68
68
|
simId: options.sim,
|
|
69
69
|
simIdSource: options.sim ? 'flag' : 'none',
|
|
70
|
+
explicitPort: options.port !== undefined,
|
|
70
71
|
} satisfies Parameters<typeof resolveCloudSessionForParsed>[0]
|
|
71
72
|
const cloud = resolveCloudSessionForParsed(target)
|
|
72
73
|
if (cloud) {
|
|
@@ -82,7 +83,6 @@ export async function connect(options: ConnectOptions = {}): Promise<SimClient>
|
|
|
82
83
|
const parsed = {
|
|
83
84
|
...target,
|
|
84
85
|
wsPort: options.port ?? resolveBridgeWorld().bridgePort,
|
|
85
|
-
explicitPort: options.port !== undefined,
|
|
86
86
|
commandTimeoutMs,
|
|
87
87
|
positional: [],
|
|
88
88
|
} satisfies ParsedBridgeCliArgs
|