peachsim 0.1.2421 → 0.1.2423

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.
Files changed (117) hide show
  1. package/cli/command-agent.ts +14 -15
  2. package/cli/commands/box.ts +33 -28
  3. package/cli/commands/canvas.ts +54 -0
  4. package/cli/commands/platform.ts +28 -27
  5. package/cli/commands/preview.ts +2 -1
  6. package/cli/outbound-endpoints.ts +3 -0
  7. package/dist-lib/agent-daemon-client.cjs +1 -1
  8. package/dist-lib/agent-events.cjs +1 -1
  9. package/dist-lib/attached-projects.cjs +1 -1
  10. package/dist-lib/auth/shared-session.cjs +1 -1
  11. package/dist-lib/backend-origin.cjs +1 -1
  12. package/dist-lib/beta.cjs +1 -1
  13. package/dist-lib/beta.mjs +1 -1
  14. package/dist-lib/bridge-constants.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.cjs +1 -1
  16. package/dist-lib/bridge-contract-input.mjs +1 -1
  17. package/dist-lib/bridge-contract.cjs +1 -1
  18. package/dist-lib/bridge-contract.mjs +1 -1
  19. package/dist-lib/bundle-channel.cjs +4318 -3937
  20. package/dist-lib/capture-contract.cjs +1 -1
  21. package/dist-lib/capture-contract.mjs +1 -1
  22. package/dist-lib/cloud-contract.cjs +22 -1
  23. package/dist-lib/cloud-contract.mjs +20 -1
  24. package/dist-lib/cloud-test-args.cjs +1 -1
  25. package/dist-lib/cloud-test-args.mjs +1 -1
  26. package/dist-lib/cloud.cjs +1 -1
  27. package/dist-lib/cloud.mjs +1 -1
  28. package/dist-lib/config.cjs +1 -1
  29. package/dist-lib/config.mjs +1 -1
  30. package/dist-lib/detox/index.cjs +27 -13
  31. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  32. package/dist-lib/expo-swift-bundle.cjs +3343 -2962
  33. package/dist-lib/expo-swift-metadata.cjs +1 -1
  34. package/dist-lib/expo-swift-metadata.mjs +1 -1
  35. package/dist-lib/home-paths.cjs +1 -1
  36. package/dist-lib/host/bridge-host.cjs +4200 -3819
  37. package/dist-lib/host/fetch-proxy-handler.cjs +25 -4
  38. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  39. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  40. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  41. package/dist-lib/host/websocket-proxy.cjs +1 -1
  42. package/dist-lib/index.cjs +88 -53
  43. package/dist-lib/jump-to-source-babel.cjs +1 -1
  44. package/dist-lib/jump-to-source-native.cjs +1 -1
  45. package/dist-lib/kotlin-host.cjs +1 -1
  46. package/dist-lib/menu.cjs +1 -1
  47. package/dist-lib/menu.mjs +1 -1
  48. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  49. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  50. package/dist-lib/metro-production-bundle.cjs +1 -1
  51. package/dist-lib/metro-production-bundle.mjs +1 -1
  52. package/dist-lib/metro.cjs +25 -4
  53. package/dist-lib/native-app-identity-project.cjs +2 -2
  54. package/dist-lib/native-app-identity-project.mjs +231 -212
  55. package/dist-lib/native-app-identity.cjs +1 -1
  56. package/dist-lib/native-app-identity.mjs +1 -1
  57. package/dist-lib/native-firebase-metadata.cjs +1 -1
  58. package/dist-lib/native-firebase-metadata.mjs +1 -1
  59. package/dist-lib/pdfium-raster.cjs +1 -1
  60. package/dist-lib/pdfium-raster.mjs +1 -1
  61. package/dist-lib/plist.cjs +1 -1
  62. package/dist-lib/plist.mjs +1 -1
  63. package/dist-lib/profiles.cjs +1 -1
  64. package/dist-lib/public-brand.cjs +1 -1
  65. package/dist-lib/public-origins-lib-esm.json +30 -25
  66. package/dist-lib/public-origins-lib.json +78 -56
  67. package/dist-lib/react-native-host-modules.cjs +1 -1
  68. package/dist-lib/react-native-host-modules.mjs +1 -1
  69. package/dist-lib/reap-browser.cjs +1 -1
  70. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  71. package/dist-lib/sdk.cjs +1 -1
  72. package/dist-lib/sdk.mjs +1 -1
  73. package/dist-lib/skills.cjs +4990 -4586
  74. package/dist-lib/swift-compile.cjs +1261 -889
  75. package/dist-lib/swift-compile.mjs +1231 -849
  76. package/dist-lib/swift-package.cjs +1 -1
  77. package/dist-lib/swift-package.mjs +1 -1
  78. package/dist-lib/swift-submit.cjs +1 -1
  79. package/dist-lib/swift-submit.mjs +1 -1
  80. package/dist-lib/swift-toolchain.cjs +1 -1
  81. package/dist-lib/swift.cjs +1 -1
  82. package/dist-lib/vite-swift.cjs +2712 -2348
  83. package/dist-lib/vite.cjs +25 -4
  84. package/dist-lib/worklet-executable.cjs +1 -1
  85. package/dist-lib/worklet-executable.mjs +1 -1
  86. package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -1
  87. package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +83 -2
  88. package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
  89. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +0 -10
  90. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-claims.d.ts +2 -1
  91. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +9 -0
  92. package/dist-types/packages/peach-globals/src/canvasAgentContract.d.ts +8 -0
  93. package/dist-types/packages/peach-globals/src/index.d.ts +4 -2
  94. package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +12 -0
  95. package/dist-types/packages/peach-globals/src/sceneStreamBridgeContract.d.ts +5 -1
  96. package/kotlin/sdk.tar.gz +0 -0
  97. package/package.json +1 -1
  98. package/runtime-companion.json +1 -1
  99. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes +2 -0
  100. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStore.h +2 -0
  101. package/sdk/ios/wasm/include/errno.h +10 -0
  102. package/src/agent-daemon-client.ts +1 -1
  103. package/src/agent-prompt.ts +1 -8
  104. package/src/canvas-agent-note-delivery.ts +2 -5
  105. package/src/canvas-groups.ts +11 -3
  106. package/src/cloud-contract.ts +31 -1
  107. package/src/expo-kotlin-bundle.ts +1 -1
  108. package/src/native-static-libraries.ts +51 -4
  109. package/src/swift-compile.ts +184 -108
  110. package/src/swift-compiler-digest.ts +2 -0
  111. package/src/swift-guest-compile.ts +2 -0
  112. package/src/swift-guest-source-inputs.ts +2 -2
  113. package/src/swift-header-compiler.ts +185 -0
  114. package/src/swift-header-dependencies.ts +174 -0
  115. package/src/swift-objc-compile.ts +18 -24
  116. package/src/vite-plugin.ts +4 -1
  117. package/dist-types/packages/peach-engine/src/render-worker/accessibilityHostContract.d.ts +0 -65
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (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.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (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;
@@ -39,6 +39,8 @@ __export(cloud_contract_exports, {
39
39
  RNX_CLOUD_TEST_FILES_MAX_BYTES: () => RNX_CLOUD_TEST_FILES_MAX_BYTES,
40
40
  RNX_CLOUD_TEST_FILES_MAX_COUNT: () => RNX_CLOUD_TEST_FILES_MAX_COUNT,
41
41
  RNX_CLOUD_TOKEN_SCOPES: () => RNX_CLOUD_TOKEN_SCOPES,
42
+ agentActionTarget: () => agentActionTarget,
43
+ agentActionTargetName: () => agentActionTargetName,
42
44
  isRnxCloudCommandScope: () => isRnxCloudCommandScope,
43
45
  isRnxCloudCommandType: () => isRnxCloudCommandType,
44
46
  isRnxCloudSimStatus: () => isRnxCloudSimStatus,
@@ -67,6 +69,23 @@ function readAgentIdentity(value) {
67
69
  if (id === null || name === null || machine === null || step === null) return null;
68
70
  return { id, name, machine, step };
69
71
  }
72
+ var TEXT_FIELD_TYPE = /text ?(input|field)/i;
73
+ function agentActionTarget(target) {
74
+ if (!target) return void 0;
75
+ const clean = (value) => {
76
+ const text2 = value?.trim().replace(/\s+/g, " ");
77
+ return text2 ? text2.slice(0, AGENT_IDENTITY_MAX_CHARS) : void 0;
78
+ };
79
+ const id = clean(target.id);
80
+ const testID = clean(target.testID);
81
+ const text = TEXT_FIELD_TYPE.test(target.type ?? "") ? void 0 : clean(target.text);
82
+ if (!id && !testID && !text) return void 0;
83
+ return { ...id && { id }, ...testID && { testID }, ...text && { text } };
84
+ }
85
+ function agentActionTargetName(target) {
86
+ const safe = agentActionTarget(target);
87
+ return safe?.text ?? safe?.testID ?? safe?.id ?? null;
88
+ }
70
89
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
71
90
  var RNX_CLOUD_DESIGN_MAX_STORAGE_ENTRIES = 256;
72
91
  var RNX_CLOUD_DESIGN_MAX_STORAGE_BYTES = 1024 * 1024;
@@ -206,6 +225,8 @@ function isRnxCloudSimStatus(value) {
206
225
  RNX_CLOUD_TEST_FILES_MAX_BYTES,
207
226
  RNX_CLOUD_TEST_FILES_MAX_COUNT,
208
227
  RNX_CLOUD_TOKEN_SCOPES,
228
+ agentActionTarget,
229
+ agentActionTargetName,
209
230
  isRnxCloudCommandScope,
210
231
  isRnxCloudCommandType,
211
232
  isRnxCloudSimStatus,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var AGENT_IDENTITY_MAX_CHARS = 200;
@@ -16,6 +16,23 @@ function readAgentIdentity(value) {
16
16
  if (id === null || name === null || machine === null || step === null) return null;
17
17
  return { id, name, machine, step };
18
18
  }
19
+ var TEXT_FIELD_TYPE = /text ?(input|field)/i;
20
+ function agentActionTarget(target) {
21
+ if (!target) return void 0;
22
+ const clean = (value) => {
23
+ const text2 = value?.trim().replace(/\s+/g, " ");
24
+ return text2 ? text2.slice(0, AGENT_IDENTITY_MAX_CHARS) : void 0;
25
+ };
26
+ const id = clean(target.id);
27
+ const testID = clean(target.testID);
28
+ const text = TEXT_FIELD_TYPE.test(target.type ?? "") ? void 0 : clean(target.text);
29
+ if (!id && !testID && !text) return void 0;
30
+ return { ...id && { id }, ...testID && { testID }, ...text && { text } };
31
+ }
32
+ function agentActionTargetName(target) {
33
+ const safe = agentActionTarget(target);
34
+ return safe?.text ?? safe?.testID ?? safe?.id ?? null;
35
+ }
19
36
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
20
37
  var RNX_CLOUD_DESIGN_MAX_STORAGE_ENTRIES = 256;
21
38
  var RNX_CLOUD_DESIGN_MAX_STORAGE_BYTES = 1024 * 1024;
@@ -154,6 +171,8 @@ export {
154
171
  RNX_CLOUD_TEST_FILES_MAX_BYTES,
155
172
  RNX_CLOUD_TEST_FILES_MAX_COUNT,
156
173
  RNX_CLOUD_TOKEN_SCOPES,
174
+ agentActionTarget,
175
+ agentActionTargetName,
157
176
  isRnxCloudCommandScope,
158
177
  isRnxCloudCommandType,
159
178
  isRnxCloudSimStatus,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (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.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (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.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (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);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (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.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (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;
@@ -2476,7 +2476,7 @@ function isValidRuntimeVersion(value) {
2476
2476
  }
2477
2477
 
2478
2478
  // runtime-companion.json
2479
- var runtime_companion_default = { abi: 1, sha256: "9bc75c6ccfa87cb58eff71992a2fafa21b4e7acbb37f0b4bef6f74279c98317a", file: "node/cli-9bc75c6ccfa87cb58eff71992a2fafa21b4e7acbb37f0b4bef6f74279c98317a.cjs" };
2479
+ var runtime_companion_default = { abi: 1, sha256: "50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474", file: "node/cli-50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474.cjs" };
2480
2480
 
2481
2481
  // src/answeredNativePackages.ts
2482
2482
  var import_node_async_hooks = require("node:async_hooks");
@@ -2616,6 +2616,23 @@ var NativeURL = globalThis.URL;
2616
2616
 
2617
2617
  // src/cloud-contract.ts
2618
2618
  var AGENT_IDENTITY_MAX_CHARS = 200;
2619
+ var TEXT_FIELD_TYPE = /text ?(input|field)/i;
2620
+ function agentActionTarget(target) {
2621
+ if (!target) return void 0;
2622
+ const clean = (value) => {
2623
+ const text2 = value?.trim().replace(/\s+/g, " ");
2624
+ return text2 ? text2.slice(0, AGENT_IDENTITY_MAX_CHARS) : void 0;
2625
+ };
2626
+ const id = clean(target.id);
2627
+ const testID = clean(target.testID);
2628
+ const text = TEXT_FIELD_TYPE.test(target.type ?? "") ? void 0 : clean(target.text);
2629
+ if (!id && !testID && !text) return void 0;
2630
+ return { ...id && { id }, ...testID && { testID }, ...text && { text } };
2631
+ }
2632
+ function agentActionTargetName(target) {
2633
+ const safe2 = agentActionTarget(target);
2634
+ return safe2?.text ?? safe2?.testID ?? safe2?.id ?? null;
2635
+ }
2619
2636
  var RNX_CLOUD_DESIGN_MAX_STORAGE_BYTES = 1024 * 1024;
2620
2637
  var RNX_CLOUD_COMMAND_SCOPES = {
2621
2638
  state: "read",
@@ -3148,23 +3165,19 @@ function isOpenPending() {
3148
3165
  function clip(text) {
3149
3166
  return text.length > AGENT_IDENTITY_MAX_CHARS ? `${text.slice(0, AGENT_IDENTITY_MAX_CHARS - 1)}\u2026` : text;
3150
3167
  }
3151
- function targetName(target) {
3152
- const name2 = target?.text?.trim() || target?.testID?.trim() || target?.id?.trim();
3153
- return name2 ? name2.replace(/\s+/g, " ") : null;
3154
- }
3155
3168
  function verb(action, target) {
3156
3169
  return target ? `${action} ${target}` : action;
3157
3170
  }
3158
3171
  function describeStep(step) {
3159
3172
  switch (step.type) {
3160
3173
  case "tap":
3161
- return verb("Tapping", targetName(step.target));
3174
+ return verb("Tapping", agentActionTargetName(step.target));
3162
3175
  case "tapId":
3163
3176
  return verb("Tapping", step.id);
3164
3177
  case "doubleTap":
3165
3178
  return "Double tapping";
3166
3179
  case "longPress":
3167
- return verb("Long pressing", targetName(step.target));
3180
+ return verb("Long pressing", agentActionTargetName(step.target));
3168
3181
  case "drag":
3169
3182
  return "Dragging";
3170
3183
  case "pinch":
@@ -3207,9 +3220,9 @@ function describeStep(step) {
3207
3220
  function describeCommand(command) {
3208
3221
  switch (command.type) {
3209
3222
  case "tap":
3210
- return verb("Tapping", targetName(command.target));
3223
+ return verb("Tapping", agentActionTargetName(command.target));
3211
3224
  case "longPress":
3212
- return verb("Long pressing", targetName(command.target));
3225
+ return verb("Long pressing", agentActionTargetName(command.target));
3213
3226
  case "keyboard":
3214
3227
  return command.action === "dismiss" ? "Dismissing the keyboard" : command.action === "press" || command.action === "dispatchKey" ? "Pressing a key" : "Typing";
3215
3228
  case "screenshot":
@@ -3224,6 +3237,9 @@ function describeCommand(command) {
3224
3237
  return null;
3225
3238
  }
3226
3239
  }
3240
+ function cliAgentName(identityKey) {
3241
+ return readAgentId() ?? (process.env.PEACH_AGENT_ID?.trim() || formatLockOwner(identityKey));
3242
+ }
3227
3243
  function commandAgent(command) {
3228
3244
  const step = describeCommand(command);
3229
3245
  if (!step) return void 0;
@@ -3233,9 +3249,7 @@ function commandAgent(command) {
3233
3249
  if (!machine) return void 0;
3234
3250
  return {
3235
3251
  id: clip(identity.key),
3236
- name: clip(
3237
- readAgentId() ?? (process.env.PEACH_AGENT_ID?.trim() || formatLockOwner(identity.key))
3238
- ),
3252
+ name: clip(cliAgentName(identity.key)),
3239
3253
  machine: clip(machine),
3240
3254
  step: clip(step)
3241
3255
  };
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2421 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2423 | (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;