peachsim 0.1.2301 → 0.1.2303
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/commands/inspect.ts +2 -1
- 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 +496 -312
- 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 +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +447 -263
- 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 +493 -309
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- 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 +546 -362
- package/dist-lib/swift-compile.cjs +3 -17
- package/dist-lib/swift-compile.mjs +3 -16
- 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 +75 -18
- package/dist-lib/vite.cjs +4 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +5 -20
- package/dist-types/packages/peach-engine/src/components/native-ui/webview-frame-bridge.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +15 -2
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +4 -0
- package/java-platform/licenses/fdlibm.txt +3 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Modules/module.modulemap +52 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewController.h +1 -1
- package/src/core-data-model.ts +92 -3
- package/src/expo-native-workspace.ts +111 -39
- package/src/one-sdk-preparation.ts +61 -5
- package/src/swift-compile.ts +1 -25
- package/src/swift-packages.ts +22 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (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;
|
|
@@ -46,7 +46,6 @@ __export(swift_compile_exports, {
|
|
|
46
46
|
foundationOwnerOf: () => foundationOwnerOf,
|
|
47
47
|
frameworkLinkClosure: () => frameworkLinkClosure,
|
|
48
48
|
lowerAVAssetURLCluster: () => lowerAVAssetURLCluster,
|
|
49
|
-
lowerNSValueTimeBox: () => lowerNSValueTimeBox,
|
|
50
49
|
missingSwiftModules: () => missingSwiftModules,
|
|
51
50
|
neutralizedNativeMain: () => neutralizedNativeMain,
|
|
52
51
|
objcApplicationMainCall: () => objcApplicationMainCall,
|
|
@@ -13501,7 +13500,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13501
13500
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13502
13501
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13503
13502
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13504
|
-
var compilerSourceDigest = true ? "
|
|
13503
|
+
var compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13505
13504
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13506
13505
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
13507
13506
|
hash.update(`swift-compile
|
|
@@ -14050,18 +14049,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
14050
14049
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14051
14050
|
return out;
|
|
14052
14051
|
}
|
|
14053
|
-
function lowerNSValueTimeBox(source) {
|
|
14054
|
-
const masked = swiftCodeMask(source);
|
|
14055
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
14056
|
-
const edits = [];
|
|
14057
|
-
let hit;
|
|
14058
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
14059
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
14060
|
-
let out = source;
|
|
14061
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
14062
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14063
|
-
return out;
|
|
14064
|
-
}
|
|
14065
14052
|
function swiftCodeMask(source) {
|
|
14066
14053
|
const chars = source.split("");
|
|
14067
14054
|
const blank = (from, to) => {
|
|
@@ -14784,7 +14771,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
14784
14771
|
continue;
|
|
14785
14772
|
}
|
|
14786
14773
|
}
|
|
14787
|
-
return
|
|
14774
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
14788
14775
|
}
|
|
14789
14776
|
function swiftSourceClosure(files, roots) {
|
|
14790
14777
|
const sources = /* @__PURE__ */ new Map();
|
|
@@ -18104,7 +18091,6 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
18104
18091
|
foundationOwnerOf,
|
|
18105
18092
|
frameworkLinkClosure,
|
|
18106
18093
|
lowerAVAssetURLCluster,
|
|
18107
|
-
lowerNSValueTimeBox,
|
|
18108
18094
|
missingSwiftModules,
|
|
18109
18095
|
neutralizedNativeMain,
|
|
18110
18096
|
objcApplicationMainCall,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (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);
|
|
@@ -13487,7 +13487,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13487
13487
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13488
13488
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13489
13489
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13490
|
-
var compilerSourceDigest = true ? "
|
|
13490
|
+
var compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
13491
13491
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13492
13492
|
const hash = createHash13("sha256");
|
|
13493
13493
|
hash.update(`swift-compile
|
|
@@ -14036,18 +14036,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
14036
14036
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14037
14037
|
return out;
|
|
14038
14038
|
}
|
|
14039
|
-
function lowerNSValueTimeBox(source) {
|
|
14040
|
-
const masked = swiftCodeMask(source);
|
|
14041
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
14042
|
-
const edits = [];
|
|
14043
|
-
let hit;
|
|
14044
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
14045
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
14046
|
-
let out = source;
|
|
14047
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
14048
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
14049
|
-
return out;
|
|
14050
|
-
}
|
|
14051
14039
|
function swiftCodeMask(source) {
|
|
14052
14040
|
const chars = source.split("");
|
|
14053
14041
|
const blank = (from, to) => {
|
|
@@ -14770,7 +14758,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
14770
14758
|
continue;
|
|
14771
14759
|
}
|
|
14772
14760
|
}
|
|
14773
|
-
return
|
|
14761
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
14774
14762
|
}
|
|
14775
14763
|
function swiftSourceClosure(files, roots) {
|
|
14776
14764
|
const sources = /* @__PURE__ */ new Map();
|
|
@@ -18089,7 +18077,6 @@ export {
|
|
|
18089
18077
|
foundationOwnerOf,
|
|
18090
18078
|
frameworkLinkClosure,
|
|
18091
18079
|
lowerAVAssetURLCluster,
|
|
18092
|
-
lowerNSValueTimeBox,
|
|
18093
18080
|
missingSwiftModules,
|
|
18094
18081
|
neutralizedNativeMain,
|
|
18095
18082
|
objcApplicationMainCall,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (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.2303 | (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.2303 | (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.2303 | (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.2303 | (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;
|
|
@@ -18314,7 +18314,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
18314
18314
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
18315
18315
|
var MULTI_MANIFEST_VERSION = 68;
|
|
18316
18316
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
18317
|
-
var compilerSourceDigest = true ? "
|
|
18317
|
+
var compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
18318
18318
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
18319
18319
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
18320
18320
|
hash.update(`swift-compile
|
|
@@ -18863,18 +18863,6 @@ function lowerAVAssetURLCluster(source) {
|
|
|
18863
18863
|
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
18864
18864
|
return out;
|
|
18865
18865
|
}
|
|
18866
|
-
function lowerNSValueTimeBox(source) {
|
|
18867
|
-
const masked = swiftCodeMask(source);
|
|
18868
|
-
const pattern = /\bNSValue\s*\(\s*time\s*:/g;
|
|
18869
|
-
const edits = [];
|
|
18870
|
-
let hit;
|
|
18871
|
-
while ((hit = pattern.exec(masked)) !== null)
|
|
18872
|
-
edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
|
|
18873
|
-
let out = source;
|
|
18874
|
-
for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
|
|
18875
|
-
out = out.slice(0, at) + insert + out.slice(at + remove);
|
|
18876
|
-
return out;
|
|
18877
|
-
}
|
|
18878
18866
|
function swiftCodeMask(source) {
|
|
18879
18867
|
const chars = source.split("");
|
|
18880
18868
|
const blank = (from, to) => {
|
|
@@ -19597,7 +19585,7 @@ function swiftSourceAsIOS(source, overlayFrameworks, swiftPackage) {
|
|
|
19597
19585
|
continue;
|
|
19598
19586
|
}
|
|
19599
19587
|
}
|
|
19600
|
-
return
|
|
19588
|
+
return lowerAVAssetURLCluster(out + conditioned.slice(copied));
|
|
19601
19589
|
}
|
|
19602
19590
|
function swiftApplicationEntry(file, source) {
|
|
19603
19591
|
const code = [...swiftConditionalLines(swiftCodeMask(source))].map(({ line, active }) => active === false ? " ".repeat(line.length) : line).join("\n");
|
|
@@ -24302,7 +24290,51 @@ function userInfo(source, owner) {
|
|
|
24302
24290
|
]);
|
|
24303
24291
|
return source.tools < 11 && owner.attrs.syncable !== "YES" ? [...entries, ["com.apple.syncservices.Syncable", "NO"]] : entries;
|
|
24304
24292
|
}
|
|
24293
|
+
function decimal(text5) {
|
|
24294
|
+
const match = /^([+-]?)(\d*)(?:\.(\d*))?(?:[eE]([+-]?\d+))?$/.exec(text5);
|
|
24295
|
+
if (!match) return null;
|
|
24296
|
+
const [, sign, whole = "", fraction = "", power] = match;
|
|
24297
|
+
if (whole + fraction === "") return null;
|
|
24298
|
+
let mantissa = BigInt(whole + fraction);
|
|
24299
|
+
let exponent = Number(power ?? 0) - fraction.length;
|
|
24300
|
+
if (mantissa === 0n) {
|
|
24301
|
+
if (power !== void 0) return null;
|
|
24302
|
+
const zero = {
|
|
24303
|
+
kind: "decimal",
|
|
24304
|
+
length: 0,
|
|
24305
|
+
negative: false,
|
|
24306
|
+
compact: false,
|
|
24307
|
+
mantissa: Buffer.alloc(16)
|
|
24308
|
+
};
|
|
24309
|
+
return { ...zero, exponent: sign === "-" ? 0 : exponent };
|
|
24310
|
+
}
|
|
24311
|
+
while (mantissa % 10n === 0n) {
|
|
24312
|
+
mantissa /= 10n;
|
|
24313
|
+
exponent++;
|
|
24314
|
+
}
|
|
24315
|
+
if (mantissa >> 128n !== 0n || exponent < -128 || exponent > 127) return null;
|
|
24316
|
+
const words2 = Buffer.alloc(16);
|
|
24317
|
+
let length = 0;
|
|
24318
|
+
for (let word = 0; word < 8; word++) {
|
|
24319
|
+
const value = Number(mantissa >> BigInt(16 * word) & 0xffffn);
|
|
24320
|
+
words2.writeUInt16LE(value, 2 * word);
|
|
24321
|
+
if (value !== 0) length = word + 1;
|
|
24322
|
+
}
|
|
24323
|
+
return {
|
|
24324
|
+
kind: "decimal",
|
|
24325
|
+
exponent,
|
|
24326
|
+
length,
|
|
24327
|
+
negative: sign === "-",
|
|
24328
|
+
compact: true,
|
|
24329
|
+
mantissa: words2
|
|
24330
|
+
};
|
|
24331
|
+
}
|
|
24305
24332
|
function defaultValue(model, member, type) {
|
|
24333
|
+
const interval = member.attrs.defaultDateTimeInterval;
|
|
24334
|
+
if (type === "Date" && interval !== void 0 && Number.isFinite(Number(interval)))
|
|
24335
|
+
return { kind: "date", time: Math.floor(Number(interval) / 60) * 60 };
|
|
24336
|
+
if (interval !== void 0)
|
|
24337
|
+
refuse2(model, `${member.attrs.name} has the ${type} date interval ${interval}`);
|
|
24306
24338
|
const text5 = member.attrs.defaultValueString;
|
|
24307
24339
|
if (text5 === void 0) return null;
|
|
24308
24340
|
if (type.startsWith("Integer ") && /^-?\d+$/.test(text5)) return Number(text5);
|
|
@@ -24310,6 +24342,8 @@ function defaultValue(model, member, type) {
|
|
|
24310
24342
|
return Number(text5);
|
|
24311
24343
|
if (type === "Boolean" && (text5 === "YES" || text5 === "NO")) return text5 === "YES";
|
|
24312
24344
|
if (type === "String") return text5;
|
|
24345
|
+
const scanned = type === "Decimal" ? decimal(text5) : null;
|
|
24346
|
+
if (scanned) return scanned;
|
|
24313
24347
|
refuse2(model, `${member.attrs.name} has the ${type} default ${JSON.stringify(text5)}`);
|
|
24314
24348
|
}
|
|
24315
24349
|
var common = (source, member) => ({
|
|
@@ -24326,6 +24360,7 @@ function attribute(source, member) {
|
|
|
24326
24360
|
"transient",
|
|
24327
24361
|
"attributeType",
|
|
24328
24362
|
"defaultValueString",
|
|
24363
|
+
"defaultDateTimeInterval",
|
|
24329
24364
|
"usesScalarValueType",
|
|
24330
24365
|
"customClassName",
|
|
24331
24366
|
"valueTransformerName",
|
|
@@ -24502,7 +24537,15 @@ var classChains = {
|
|
|
24502
24537
|
NSMutableDictionary: ["NSMutableDictionary", "NSDictionary", "NSObject"],
|
|
24503
24538
|
NSArray: ["NSArray", "NSObject"],
|
|
24504
24539
|
NSMutableArray: ["NSMutableArray", "NSArray", "NSObject"],
|
|
24505
|
-
NSSet: ["NSSet", "NSObject"]
|
|
24540
|
+
NSSet: ["NSSet", "NSObject"],
|
|
24541
|
+
NSDate: ["NSDate", "NSObject"],
|
|
24542
|
+
NSDecimalNumberPlaceholder: [
|
|
24543
|
+
"NSDecimalNumberPlaceholder",
|
|
24544
|
+
"NSDecimalNumber",
|
|
24545
|
+
"NSNumber",
|
|
24546
|
+
"NSValue",
|
|
24547
|
+
"NSObject"
|
|
24548
|
+
]
|
|
24506
24549
|
};
|
|
24507
24550
|
var KeyedArchive = class {
|
|
24508
24551
|
objects = ["$null"];
|
|
@@ -24551,6 +24594,20 @@ var KeyedArchive = class {
|
|
|
24551
24594
|
});
|
|
24552
24595
|
}
|
|
24553
24596
|
};
|
|
24597
|
+
function archiveDefault(archive, value) {
|
|
24598
|
+
if (value === null) return NULL;
|
|
24599
|
+
if (typeof value !== "object") return archive.add(value);
|
|
24600
|
+
if (value.kind === "date")
|
|
24601
|
+
return archive.fill(archive.reserve(), "NSDate", { "NS.time": value.time });
|
|
24602
|
+
return archive.fill(archive.reserve(), "NSDecimalNumberPlaceholder", {
|
|
24603
|
+
"NS.compact": value.compact,
|
|
24604
|
+
"NS.exponent": value.exponent,
|
|
24605
|
+
"NS.length": value.length,
|
|
24606
|
+
"NS.mantissa": value.mantissa,
|
|
24607
|
+
"NS.mantissa.bo": 1,
|
|
24608
|
+
"NS.negative": value.negative
|
|
24609
|
+
});
|
|
24610
|
+
}
|
|
24554
24611
|
function archiveModel(model) {
|
|
24555
24612
|
const archive = new KeyedArchive();
|
|
24556
24613
|
const modelIndex = archive.reserve();
|
|
@@ -24581,7 +24638,7 @@ function archiveModel(model) {
|
|
|
24581
24638
|
...shared,
|
|
24582
24639
|
NSAttributeType: property.type,
|
|
24583
24640
|
NSAttributeValueClassName: archive.string(property.className),
|
|
24584
|
-
NSDefaultValue:
|
|
24641
|
+
NSDefaultValue: archiveDefault(archive, property.defaultValue),
|
|
24585
24642
|
NSFlagsKey: property.flags,
|
|
24586
24643
|
NSValueTransformerName: archive.string(property.transformer),
|
|
24587
24644
|
...property.transient ? { NSIsTransient: true } : {},
|
|
@@ -32549,7 +32606,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
32549
32606
|
return hash.digest("hex");
|
|
32550
32607
|
}
|
|
32551
32608
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
32552
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
32609
|
+
var STANDIN_SOURCE_DIGEST = true ? "ef95f9c4acc6f2d45a1510da2a7e3653243ffb1335362bc0d4996631fc6f0df3" : standinSourceDigest();
|
|
32553
32610
|
|
|
32554
32611
|
// src/swift-standins.ts
|
|
32555
32612
|
var import_node_child_process31 = require("node:child_process");
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (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;
|
|
@@ -2742,7 +2742,7 @@ var init_src = __esm({
|
|
|
2742
2742
|
var runtime_companion_default;
|
|
2743
2743
|
var init_runtime_companion = __esm({
|
|
2744
2744
|
"runtime-companion.json"() {
|
|
2745
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
2745
|
+
runtime_companion_default = { abi: 1, sha256: "0688d30cb1cc3cd8d500d66cefa68e1e54456e3a4cd15b621932e4800fc69b1d", file: "node/cli-0688d30cb1cc3cd8d500d66cefa68e1e54456e3a4cd15b621932e4800fc69b1d.cjs" };
|
|
2746
2746
|
}
|
|
2747
2747
|
});
|
|
2748
2748
|
|
|
@@ -3105,7 +3105,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3105
3105
|
var init_swift_standin_digest = __esm({
|
|
3106
3106
|
"src/swift-standin-digest.ts"() {
|
|
3107
3107
|
"use strict";
|
|
3108
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3108
|
+
STANDIN_SOURCE_DIGEST = true ? "ef95f9c4acc6f2d45a1510da2a7e3653243ffb1335362bc0d4996631fc6f0df3" : standinSourceDigest();
|
|
3109
3109
|
}
|
|
3110
3110
|
});
|
|
3111
3111
|
|
|
@@ -4758,7 +4758,7 @@ var init_swift_compile = __esm({
|
|
|
4758
4758
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4759
4759
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4760
4760
|
).join("");
|
|
4761
|
-
compilerSourceDigest = true ? "
|
|
4761
|
+
compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4762
4762
|
CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
4763
4763
|
"CFAllocator",
|
|
4764
4764
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2303 | (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-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts
CHANGED
|
@@ -48,9 +48,7 @@ interface HandlerEntry {
|
|
|
48
48
|
cleanupConsumed: boolean;
|
|
49
49
|
cleanupRuns: number;
|
|
50
50
|
activationCount: number;
|
|
51
|
-
yieldedToDescendantScroll: boolean;
|
|
52
51
|
simultaneousNativeScroll: boolean;
|
|
53
|
-
onExternalStateChange: ((newState: number) => void) | null;
|
|
54
52
|
pointerHandlers: {
|
|
55
53
|
onDown: (event: SeamPointerEvent) => void;
|
|
56
54
|
onMove: (event: SeamPointerEvent) => void;
|
|
@@ -89,24 +87,11 @@ export declare function emitStateChangeDirect(event: GestureEvent): void;
|
|
|
89
87
|
export declare function setNodeResolver(fn: ((handlerTag: number, viewTag: number) => unknown) | null): void;
|
|
90
88
|
export declare function setStateChangeInterceptor(fn: ((event: GestureEvent, emit: (event: GestureEvent) => void) => void) | null): void;
|
|
91
89
|
export declare function hitSlopContainsLocalPoint(hitSlop: unknown, localX: number, localY: number, width: number, height: number): boolean;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
lastT: number;
|
|
98
|
-
velocityX: number;
|
|
99
|
-
velocityY: number;
|
|
100
|
-
velocitySamples: Array<{
|
|
101
|
-
x: number;
|
|
102
|
-
y: number;
|
|
103
|
-
t: number;
|
|
104
|
-
}>;
|
|
105
|
-
active: boolean;
|
|
106
|
-
pastHysteresis: boolean;
|
|
107
|
-
prevCount: number;
|
|
108
|
-
}
|
|
109
|
-
export declare function estimatePanVelocity(samples: PanRecognizerState['velocitySamples']): {
|
|
90
|
+
export declare function estimatePanVelocity(samples: Array<{
|
|
91
|
+
x: number;
|
|
92
|
+
y: number;
|
|
93
|
+
t: number;
|
|
94
|
+
}>): {
|
|
110
95
|
x: number;
|
|
111
96
|
y: number;
|
|
112
97
|
};
|
|
@@ -13,6 +13,7 @@ export type WebViewFrameBridgeConfig = {
|
|
|
13
13
|
webKit?: SootSimWebKitConfiguration;
|
|
14
14
|
defaultStyle: string;
|
|
15
15
|
colorScheme: 'light' | 'dark';
|
|
16
|
+
iosWebKitCss: boolean;
|
|
16
17
|
deviceScale?: number;
|
|
17
18
|
injectedObjectJson?: string;
|
|
18
19
|
expoDomWebViewGlobalsSource?: string;
|
|
@@ -94,6 +94,7 @@ export declare const E_OVERFLOW = 8;
|
|
|
94
94
|
export declare const E_DISPLAY = 9;
|
|
95
95
|
export declare const E_KIND = 10;
|
|
96
96
|
export declare const E_TEXT_ROUNDING = 11;
|
|
97
|
+
export declare const E_SWIFTUI_LAYOUT = 12;
|
|
97
98
|
export declare const UNIT_UNDEFINED = 0;
|
|
98
99
|
export declare const UNIT_POINT = 1;
|
|
99
100
|
export declare const UNIT_PERCENT = 2;
|
|
@@ -439,6 +439,7 @@ export interface CompositorFramePhaseSample {
|
|
|
439
439
|
javascriptMs: number;
|
|
440
440
|
layoutMs: number;
|
|
441
441
|
paintMs: number;
|
|
442
|
+
layersMs: number;
|
|
442
443
|
prewarmMs: number;
|
|
443
444
|
textureUploadMs: number;
|
|
444
445
|
gpuSubmitMs: number;
|
|
@@ -475,6 +476,7 @@ export interface CompositorProductionStats {
|
|
|
475
476
|
javascript: CompositorTimingSummary;
|
|
476
477
|
layout: CompositorTimingSummary;
|
|
477
478
|
paint: CompositorTimingSummary;
|
|
479
|
+
layers: CompositorTimingSummary;
|
|
478
480
|
prewarm: CompositorTimingSummary;
|
|
479
481
|
textureUpload: CompositorTimingSummary;
|
|
480
482
|
gpuSubmit: CompositorTimingSummary;
|
|
@@ -1214,6 +1216,8 @@ export interface CompositorStats {
|
|
|
1214
1216
|
transactions: number;
|
|
1215
1217
|
commits: number;
|
|
1216
1218
|
ops: number;
|
|
1219
|
+
rasters: number;
|
|
1220
|
+
rephased: number;
|
|
1217
1221
|
};
|
|
1218
1222
|
layerClaims: {
|
|
1219
1223
|
live: Readonly<Record<string, number>>;
|
|
@@ -19,10 +19,18 @@ export type GestureRecognizerEvent = {
|
|
|
19
19
|
absoluteX: number;
|
|
20
20
|
absoluteY: number;
|
|
21
21
|
duration: number;
|
|
22
|
+
translationX: number;
|
|
23
|
+
translationY: number;
|
|
24
|
+
velocityX: number;
|
|
25
|
+
velocityY: number;
|
|
26
|
+
motion: boolean;
|
|
27
|
+
lastPointer: boolean;
|
|
28
|
+
timestamp: number;
|
|
22
29
|
};
|
|
23
30
|
export interface GestureRecognizerHost {
|
|
24
31
|
locate(tag: number, x: number, y: number): GestureRecognizerLocation | null;
|
|
25
32
|
publish(event: GestureRecognizerEvent): void;
|
|
33
|
+
scrollAxes(tag: number): number;
|
|
26
34
|
emit: Emit;
|
|
27
35
|
cancelNative: CancelNative;
|
|
28
36
|
}
|
|
@@ -45,6 +53,7 @@ interface GestureArbitrationNative {
|
|
|
45
53
|
peachArbitration?: (kind: number, id: number, tag: number, oldState: number, visible: number) => void;
|
|
46
54
|
peachGestureLocate?: (index: number, tag: number, x: number, y: number) => number;
|
|
47
55
|
peachGestureEvent?: (index: number) => void;
|
|
56
|
+
peachGestureScrollAxes?: (index: number, tag: number) => number;
|
|
48
57
|
_peach_arbitration_buffer(size: number): number;
|
|
49
58
|
_peach_gesture_locate_buffer(): number;
|
|
50
59
|
_peach_gesture_event_buffer(): number;
|
|
@@ -52,11 +61,13 @@ interface GestureArbitrationNative {
|
|
|
52
61
|
_peach_gesture_update(index: number, tag: number, length: number): void;
|
|
53
62
|
_peach_gesture_remove(index: number, tag: number): void;
|
|
54
63
|
_peach_gesture_set_android(index: number, android: number): void;
|
|
55
|
-
_peach_gesture_feed(index: number, tag: number, phase: number, time: number, length: number): void;
|
|
64
|
+
_peach_gesture_feed(index: number, tag: number, phase: number, time: number, timestamp: number, length: number): void;
|
|
56
65
|
_peach_gesture_advance(index: number, now: number): void;
|
|
57
66
|
_peach_gesture_next_deadline(index: number): number;
|
|
58
67
|
_peach_gesture_state(index: number, tag: number): number;
|
|
59
68
|
_peach_gesture_activations(index: number, tag: number): number;
|
|
69
|
+
_peach_gesture_cleanups(index: number, tag: number): number;
|
|
70
|
+
_peach_gesture_yielded(index: number, tag: number): number;
|
|
60
71
|
_peach_gesture_set_state(index: number, tag: number, state: number, manualPointers: number): void;
|
|
61
72
|
_peach_gesture_cancel(index: number, tag: number): void;
|
|
62
73
|
_peach_gesture_reset_for_pointer(index: number, tag: number): void;
|
|
@@ -96,12 +107,14 @@ export declare class GestureArbitrator {
|
|
|
96
107
|
addRecognizer(tag: number, config: readonly number[]): void;
|
|
97
108
|
updateRecognizer(tag: number, config: readonly number[]): void;
|
|
98
109
|
removeRecognizer(tag: number): void;
|
|
99
|
-
feedRecognizer(tag: number, phase: keyof typeof RECOGNIZER_PHASE, event: GestureRecognizerPointer, time: number, android: boolean): void;
|
|
110
|
+
feedRecognizer(tag: number, phase: keyof typeof RECOGNIZER_PHASE, event: GestureRecognizerPointer, time: number, timestamp: number, android: boolean): void;
|
|
100
111
|
setRecognizerState(tag: number, state: number, manualPointers: number | null, android: boolean): void;
|
|
101
112
|
cancelRecognizer(tag: number): void;
|
|
102
113
|
resetRecognizerForPointer(tag: number): void;
|
|
103
114
|
recognizerState(tag: number): number;
|
|
104
115
|
recognizerActivations(tag: number): number;
|
|
116
|
+
recognizerCleanups(tag: number): number;
|
|
117
|
+
recognizerYielded(tag: number): boolean;
|
|
105
118
|
private releaseEvents;
|
|
106
119
|
upsert(graph: GestureArbitrationGraph, cancelNative: CancelNative, emit: Emit): boolean;
|
|
107
120
|
drop(handlerTag: number, cancelNative: CancelNative, emit: Emit): void;
|
|
@@ -752,6 +752,10 @@ export interface NotificationBusInterface {
|
|
|
752
752
|
getCategories: () => NotifCategory[];
|
|
753
753
|
deleteCategory: (id: string) => void;
|
|
754
754
|
getInitialNotification: () => NotifSpec | null;
|
|
755
|
+
getLastResponse: () => NotifEvent | null;
|
|
756
|
+
clearLastResponse: () => void;
|
|
757
|
+
getPendingResponses: () => NotifEvent[];
|
|
758
|
+
acknowledgeResponse: (identifier: string) => void;
|
|
755
759
|
on: (type: NotifEventType, cb: (event: NotifEvent) => void) => () => void;
|
|
756
760
|
onAny: (cb: (event: NotifEvent) => void) => () => void;
|
|
757
761
|
}
|
|
@@ -70,3 +70,6 @@ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
70
70
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
71
71
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
72
72
|
SUCH DAMAGE.
|
|
73
|
+
|
|
74
|
+
JavaHypot.kt is derived from Bionic/FreeBSD e_hypot.c under the SunSoft notice.
|
|
75
|
+
https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/e_hypot.c
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"0688d30cb1cc3cd8d500d66cefa68e1e54456e3a4cd15b621932e4800fc69b1d","file":"node/cli-0688d30cb1cc3cd8d500d66cefa68e1e54456e3a4cd15b621932e4800fc69b1d.cjs"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
framework module Accelerate {
|
|
2
|
+
umbrella header "Accelerate.h"
|
|
3
|
+
export *
|
|
4
|
+
module * { export * }
|
|
5
|
+
|
|
6
|
+
framework module vImage [extern_c] {
|
|
7
|
+
umbrella header "vImage.h"
|
|
8
|
+
export *
|
|
9
|
+
module * { export * }
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
framework module vecLib {
|
|
13
|
+
umbrella header "vecLib.h"
|
|
14
|
+
export *
|
|
15
|
+
module * { export * }
|
|
16
|
+
|
|
17
|
+
module vDSP_translate {
|
|
18
|
+
requires x86, !x86_64
|
|
19
|
+
header "vDSP_translate.h"
|
|
20
|
+
export *
|
|
21
|
+
}
|
|
22
|
+
module Sparse_Solve {
|
|
23
|
+
header "Sparse/Solve.h"
|
|
24
|
+
// Sparse/SolveImplementation.h should not be included without
|
|
25
|
+
// context/directly. Make it textual, same for its dependency
|
|
26
|
+
// SolveImplementationTyped.h
|
|
27
|
+
textual header "Sparse/SolveImplementation.h"
|
|
28
|
+
textual header "Sparse/SolveImplementationTyped.h"
|
|
29
|
+
export *
|
|
30
|
+
}
|
|
31
|
+
module LinearAlgebra {
|
|
32
|
+
header "LinearAlgebra/LinearAlgebra.h"
|
|
33
|
+
// These headers aren't supposed to be included directly or
|
|
34
|
+
// have their own submodules since they depend on context.
|
|
35
|
+
textual header "LinearAlgebra/object.h"
|
|
36
|
+
textual header "LinearAlgebra/matrix.h"
|
|
37
|
+
textual header "LinearAlgebra/vector.h"
|
|
38
|
+
textual header "LinearAlgebra/splat.h"
|
|
39
|
+
textual header "LinearAlgebra/arithmetic.h"
|
|
40
|
+
textual header "LinearAlgebra/linear_systems.h"
|
|
41
|
+
textual header "LinearAlgebra/norms.h"
|
|
42
|
+
export *
|
|
43
|
+
}
|
|
44
|
+
module Quadrature {
|
|
45
|
+
header "Quadrature/Quadrature.h"
|
|
46
|
+
// These headers aren't supposed to be included directly or
|
|
47
|
+
// have their own submodules since they depend on context.
|
|
48
|
+
textual header "Quadrature/Integration.h"
|
|
49
|
+
export *
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|