peachsim 0.1.722 → 0.1.723
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/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.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/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +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/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +30 -43
- 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 +16 -28
- 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 +16 -28
- 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/plist.cjs +3 -22
- package/dist-lib/plist.mjs +3 -22
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +6 -25
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +77 -90
- 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 +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/package.json +3 -2
- package/src/plist.ts +2 -21
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -599,8 +599,8 @@ ${METRO_MODULE_PATHS_PREFIX}`);
|
|
|
599
599
|
if (moduleFooter < 0) return withoutExisting + footer;
|
|
600
600
|
return withoutExisting.slice(0, moduleFooter) + footer + withoutExisting.slice(moduleFooter);
|
|
601
601
|
}
|
|
602
|
-
function plistString(
|
|
603
|
-
const match =
|
|
602
|
+
function plistString(plist2, key) {
|
|
603
|
+
const match = plist2.match(new RegExp(`<key>${key}</key>\\s*<string>([^<]*)</string>`));
|
|
604
604
|
return match ? match[1].trim() : null;
|
|
605
605
|
}
|
|
606
606
|
function resolveBuildSetting(value, settings, depth = 0) {
|
|
@@ -670,9 +670,9 @@ function appTargetReleaseSettings(pbxproj, targetName, infoPlistRelativePath) {
|
|
|
670
670
|
candidates.push({ name: match[1], settings });
|
|
671
671
|
}
|
|
672
672
|
const plistMatch = (settings) => {
|
|
673
|
-
const
|
|
674
|
-
if (!
|
|
675
|
-
const normalized =
|
|
673
|
+
const plist2 = settings.INFOPLIST_FILE;
|
|
674
|
+
if (!plist2) return false;
|
|
675
|
+
const normalized = plist2.replace(/^"|"$/g, "");
|
|
676
676
|
return normalized === infoPlistRelativePath || infoPlistRelativePath.endsWith(`/${normalized}`) || normalized.endsWith(`/${infoPlistRelativePath}`);
|
|
677
677
|
};
|
|
678
678
|
const named = (settings) => resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings) === targetName;
|
|
@@ -698,8 +698,8 @@ function nativeAppIdentityFromIos(files, parseInfoPlist) {
|
|
|
698
698
|
const appDelegatePattern = /(?:^|\/)ios\/([^/]+)\/AppDelegate\.(?:swift|mm|m)$/;
|
|
699
699
|
const targetName = Object.keys(files).filter((path6) => !path6.includes("/Pods/")).map((path6) => path6.match(appDelegatePattern)?.[1]).find((name) => name !== void 0 && applicationTargets.has(name)) ?? null;
|
|
700
700
|
if (!targetName) return null;
|
|
701
|
-
const
|
|
702
|
-
if (!
|
|
701
|
+
const plist2 = files[`ios/${targetName}/Info.plist`];
|
|
702
|
+
if (!plist2) return null;
|
|
703
703
|
const settings = appTargetReleaseSettings(
|
|
704
704
|
pbxproj,
|
|
705
705
|
targetName,
|
|
@@ -708,29 +708,29 @@ function nativeAppIdentityFromIos(files, parseInfoPlist) {
|
|
|
708
708
|
if (!settings) return null;
|
|
709
709
|
const bundleIdentifier = identityFieldFrom(
|
|
710
710
|
settings,
|
|
711
|
-
plistString(
|
|
711
|
+
plistString(plist2, "CFBundleIdentifier"),
|
|
712
712
|
settings.PRODUCT_BUNDLE_IDENTIFIER
|
|
713
713
|
);
|
|
714
714
|
if (!bundleIdentifier) return null;
|
|
715
715
|
const appVersion = identityFieldFrom(
|
|
716
716
|
settings,
|
|
717
|
-
plistString(
|
|
717
|
+
plistString(plist2, "CFBundleShortVersionString"),
|
|
718
718
|
settings.MARKETING_VERSION
|
|
719
719
|
);
|
|
720
720
|
const buildVersion = identityFieldFrom(
|
|
721
721
|
settings,
|
|
722
|
-
plistString(
|
|
722
|
+
plistString(plist2, "CFBundleVersion"),
|
|
723
723
|
settings.CURRENT_PROJECT_VERSION
|
|
724
724
|
);
|
|
725
725
|
if (!appVersion || !buildVersion) return null;
|
|
726
726
|
const bundleName = identityFieldFrom(
|
|
727
727
|
settings,
|
|
728
|
-
plistString(
|
|
728
|
+
plistString(plist2, "CFBundleName"),
|
|
729
729
|
settings.PRODUCT_NAME
|
|
730
730
|
) ?? resolvedIdentityField(resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings)) ?? resolvedIdentityField(targetName);
|
|
731
731
|
if (!bundleName) return null;
|
|
732
|
-
const applicationName = identityFieldFrom(settings, plistString(
|
|
733
|
-
const dictionary = parseInfoPlist(
|
|
732
|
+
const applicationName = identityFieldFrom(settings, plistString(plist2, "CFBundleDisplayName"), void 0) ?? bundleName;
|
|
733
|
+
const dictionary = parseInfoPlist(plist2);
|
|
734
734
|
if (!isRecord(dictionary)) throw new Error("native app Info.plist is not a dictionary");
|
|
735
735
|
const permissionUsageDescriptions = {};
|
|
736
736
|
for (const [key, value] of Object.entries(dictionary)) {
|
|
@@ -781,21 +781,9 @@ function isRecord2(value) {
|
|
|
781
781
|
}
|
|
782
782
|
|
|
783
783
|
// src/plist.ts
|
|
784
|
-
var import_plist = __toESM(require("
|
|
785
|
-
function resolvePlistParser(value) {
|
|
786
|
-
if (!isRecord2(value)) return null;
|
|
787
|
-
const direct = value.parse;
|
|
788
|
-
if (typeof direct === "function") {
|
|
789
|
-
return (source) => Reflect.apply(direct, value, [source]);
|
|
790
|
-
}
|
|
791
|
-
const nested = value.default;
|
|
792
|
-
if (!isRecord2(nested)) return null;
|
|
793
|
-
const nestedParse = nested.parse;
|
|
794
|
-
return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
|
|
795
|
-
}
|
|
796
|
-
var parsePlist = resolvePlistParser(import_plist.default);
|
|
784
|
+
var import_plist = __toESM(require("plist"), 1);
|
|
797
785
|
function parsePlistSource(source) {
|
|
798
|
-
return
|
|
786
|
+
return import_plist.default.parse(source);
|
|
799
787
|
}
|
|
800
788
|
|
|
801
789
|
// src/native-firebase-config.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -35,28 +35,9 @@ __export(plist_exports, {
|
|
|
35
35
|
parsePlistSource: () => parsePlistSource
|
|
36
36
|
});
|
|
37
37
|
module.exports = __toCommonJS(plist_exports);
|
|
38
|
-
var import_plist = __toESM(require("
|
|
39
|
-
|
|
40
|
-
// src/is-record.ts
|
|
41
|
-
function isRecord(value) {
|
|
42
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// src/plist.ts
|
|
46
|
-
function resolvePlistParser(value) {
|
|
47
|
-
if (!isRecord(value)) return null;
|
|
48
|
-
const direct = value.parse;
|
|
49
|
-
if (typeof direct === "function") {
|
|
50
|
-
return (source) => Reflect.apply(direct, value, [source]);
|
|
51
|
-
}
|
|
52
|
-
const nested = value.default;
|
|
53
|
-
if (!isRecord(nested)) return null;
|
|
54
|
-
const nestedParse = nested.parse;
|
|
55
|
-
return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
|
|
56
|
-
}
|
|
57
|
-
var parsePlist = resolvePlistParser(import_plist.default);
|
|
38
|
+
var import_plist = __toESM(require("plist"), 1);
|
|
58
39
|
function parsePlistSource(source) {
|
|
59
|
-
return
|
|
40
|
+
return import_plist.default.parse(source);
|
|
60
41
|
}
|
|
61
42
|
// Annotate the CommonJS export names for ESM import in node:
|
|
62
43
|
0 && (module.exports = {
|
package/dist-lib/plist.mjs
CHANGED
|
@@ -1,28 +1,9 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/plist.ts
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
// src/is-record.ts
|
|
7
|
-
function isRecord(value) {
|
|
8
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// src/plist.ts
|
|
12
|
-
function resolvePlistParser(value) {
|
|
13
|
-
if (!isRecord(value)) return null;
|
|
14
|
-
const direct = value.parse;
|
|
15
|
-
if (typeof direct === "function") {
|
|
16
|
-
return (source) => Reflect.apply(direct, value, [source]);
|
|
17
|
-
}
|
|
18
|
-
const nested = value.default;
|
|
19
|
-
if (!isRecord(nested)) return null;
|
|
20
|
-
const nestedParse = nested.parse;
|
|
21
|
-
return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
|
|
22
|
-
}
|
|
23
|
-
var parsePlist = resolvePlistParser(plistModule);
|
|
4
|
+
import plist from "plist";
|
|
24
5
|
function parsePlistSource(source) {
|
|
25
|
-
return
|
|
6
|
+
return plist.parse(source);
|
|
26
7
|
}
|
|
27
8
|
export {
|
|
28
9
|
parsePlistSource
|
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -289,28 +289,9 @@ var import_promises = require("node:fs/promises");
|
|
|
289
289
|
var import_node_path = require("node:path");
|
|
290
290
|
|
|
291
291
|
// src/plist.ts
|
|
292
|
-
var import_plist = __toESM(require("
|
|
293
|
-
|
|
294
|
-
// src/is-record.ts
|
|
295
|
-
function isRecord(value) {
|
|
296
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// src/plist.ts
|
|
300
|
-
function resolvePlistParser(value) {
|
|
301
|
-
if (!isRecord(value)) return null;
|
|
302
|
-
const direct = value.parse;
|
|
303
|
-
if (typeof direct === "function") {
|
|
304
|
-
return (source) => Reflect.apply(direct, value, [source]);
|
|
305
|
-
}
|
|
306
|
-
const nested = value.default;
|
|
307
|
-
if (!isRecord(nested)) return null;
|
|
308
|
-
const nestedParse = nested.parse;
|
|
309
|
-
return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
|
|
310
|
-
}
|
|
311
|
-
var parsePlist = resolvePlistParser(import_plist.default);
|
|
292
|
+
var import_plist = __toESM(require("plist"), 1);
|
|
312
293
|
function parsePlistSource(source) {
|
|
313
|
-
return
|
|
294
|
+
return import_plist.default.parse(source);
|
|
314
295
|
}
|
|
315
296
|
|
|
316
297
|
// src/settings-bundle.ts
|
|
@@ -319,7 +300,7 @@ var MAX_CHILD_DEPTH = 8;
|
|
|
319
300
|
var MAX_PLIST_FILES = 32;
|
|
320
301
|
var MAX_SPECIFIERS = 512;
|
|
321
302
|
var settingsBundleCache = /* @__PURE__ */ new Map();
|
|
322
|
-
function
|
|
303
|
+
function isRecord(value) {
|
|
323
304
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
324
305
|
}
|
|
325
306
|
function optionalString(value) {
|
|
@@ -448,7 +429,7 @@ async function parsePlistRecord(path) {
|
|
|
448
429
|
if (!metadata.isFile() || metadata.size > MAX_PLIST_BYTES) return null;
|
|
449
430
|
const source = await (0, import_promises.readFile)(path, "utf8");
|
|
450
431
|
const parsed = parsePlistSource(source);
|
|
451
|
-
return
|
|
432
|
+
return isRecord(parsed) ? parsed : null;
|
|
452
433
|
} catch {
|
|
453
434
|
return null;
|
|
454
435
|
}
|
|
@@ -484,7 +465,7 @@ function normalizeMultiValue(raw, key, title) {
|
|
|
484
465
|
};
|
|
485
466
|
}
|
|
486
467
|
async function normalizeSpecifier(raw, context) {
|
|
487
|
-
if (!
|
|
468
|
+
if (!isRecord(raw)) return null;
|
|
488
469
|
if (context.budget.specifiers >= MAX_SPECIFIERS) return null;
|
|
489
470
|
const type = requiredString(raw.Type);
|
|
490
471
|
if (!type) return null;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (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);
|