peachsim 0.1.2084 → 0.1.2085
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +8 -2
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +1 -1
- 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 +7 -2
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +1 -1
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +8 -3
- 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/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/animated.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/native-animation-driver.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/rn-spring.d.ts +1 -0
- package/package.json +1 -1
- package/src/one-sdk-bundle.ts +12 -1
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2085 | (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);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2085 | (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;
|
|
@@ -12375,7 +12375,7 @@ var init_registry = __esm({
|
|
|
12375
12375
|
{
|
|
12376
12376
|
range: ">=4.0.0",
|
|
12377
12377
|
coverage: 0,
|
|
12378
|
-
note: "the reference iOS simulator performs this package's behavior. Peach currently provides only this unsupported shape: GiphySDK.configure noop; GiphyDialog.show/hide accept; GiphyContent.searchQuery / trending construct config objects; full Direction / MediaType / Rating / Theme / ContentType / ImageType enum surface. imports and API shape receive no behavior credit",
|
|
12378
|
+
note: "the reference iOS simulator performs this package's behavior. Peach currently provides only this unsupported shape: GiphySDK.configure noop; GiphyDialog.show/hide accept; GiphyContent.searchQuery / trending construct config objects; full Direction / MediaType / Rating / Theme / ContentType / ImageType enum surface. imports and API shape receive no behavior credit. compared 6.0.3 with 7.0.0: the 7.0.0 pod requires Xcode 26.4 or later, GiphyMediaView gains onLoad and onError, and the Fabric grid, media and video views are not recycled",
|
|
12379
12379
|
missing: "no native picker UI; no real GIF delivery. recommended swap: @giphy/js-sdk + custom React UI on web"
|
|
12380
12380
|
}
|
|
12381
12381
|
]
|
|
@@ -84654,8 +84654,13 @@ public func peachOneSDK(_ pointer: UnsafePointer<UInt8>, _ length: Int32) -> Uns
|
|
|
84654
84654
|
async function compileOneSDKApp(appRoot, origin, moduleRootOverride) {
|
|
84655
84655
|
const selected = await selectOneSDK(appRoot);
|
|
84656
84656
|
if (!selected) return null;
|
|
84657
|
-
const { one, frameworks } = selected;
|
|
84658
84657
|
const preparedRoot = await prepareNativeAppRoot(appRoot);
|
|
84658
|
+
return compilePreparedOneSDKApp(appRoot, preparedRoot, origin, moduleRootOverride);
|
|
84659
|
+
}
|
|
84660
|
+
async function compilePreparedOneSDKApp(appRoot, preparedRoot, origin, moduleRootOverride) {
|
|
84661
|
+
const selected = await selectOneSDK(appRoot);
|
|
84662
|
+
if (!selected) throw new Error("prepared app has no One SDK imports");
|
|
84663
|
+
const { one, frameworks } = selected;
|
|
84659
84664
|
const sourceRoot = import_node_path97.default.join(preparedRoot, ONE_SDK_SOURCE_DIRECTORY);
|
|
84660
84665
|
const generated = readOneSDKSourceManifest(
|
|
84661
84666
|
JSON.parse(import_node_fs99.default.readFileSync(import_node_path97.default.join(sourceRoot, "manifest.json"), "utf8"))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2085 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2085 | (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.2085 | (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.2085 | (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.2085 | (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.2085 | (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/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2085 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2085 | (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;
|
|
@@ -52,8 +52,10 @@ export declare function getAnimatedDebugState(): {
|
|
|
52
52
|
startStack: string | undefined;
|
|
53
53
|
}[];
|
|
54
54
|
};
|
|
55
|
+
export declare function collectAnimatedValueReads<T>(reads: Set<AnimatedValue>, run: () => T): T;
|
|
55
56
|
export declare class AnimatedValue {
|
|
56
57
|
_value: number;
|
|
58
|
+
_parkedSample: (() => number) | null;
|
|
57
59
|
private _nativeDrivenValue;
|
|
58
60
|
private _modelValue;
|
|
59
61
|
_activeEngineAnimation: Animation | null;
|
|
@@ -34,11 +34,18 @@ export declare function getNativeFrameAnimationGraphForValue(value: NativeAnimat
|
|
|
34
34
|
export declare function setNativeAnimationRemoteReleaseCallback(cb: ((value: AnimatedValue) => void) | null): void;
|
|
35
35
|
export declare function setGraphPresentationFlush(cb: (() => void) | null): (() => void) | null;
|
|
36
36
|
export declare function flushGraphPresentations(): void;
|
|
37
|
+
export declare function setPresentedExternalGraphsPark(park: boolean): void;
|
|
38
|
+
type ParkableValue = AnimatedValue & {
|
|
39
|
+
_parkedSample: (() => number) | null;
|
|
40
|
+
_setHeldValue(value: number): void;
|
|
41
|
+
};
|
|
42
|
+
export declare function parkExternalValueGraph(value: ParkableValue, sample: () => number, wake: () => void): boolean;
|
|
37
43
|
export declare function subscribeExternalValueAnimationGraphChanges(listener: (value: object, graph: NativeAnimationGraph | null) => void): () => void;
|
|
38
44
|
export declare function setExternalValueAnimationGraph(value: AnimatedValue, graph: NativeAnimationGraph): void;
|
|
39
45
|
export declare function clearExternalValueAnimationGraph(value: AnimatedValue): void;
|
|
40
46
|
export declare function setExternalValueGraphPresented(value: AnimatedValue, presented: boolean): void;
|
|
41
47
|
export declare function isExternalValueGraphPresented(value: AnimatedValue): boolean;
|
|
48
|
+
export declare function presentedGraphParksOwner(value: AnimatedValue): boolean;
|
|
42
49
|
export declare function getNativeAnimationGraphForValue(value: AnimatedValue): NativeAnimationGraph | null;
|
|
43
50
|
export declare function setNativeAnimationLockstepActive(active: boolean): void;
|
|
44
51
|
export declare function setNativeAnimationRemoteDriven(value: AnimatedValue, driven: boolean): void;
|
|
@@ -50,4 +50,5 @@ export declare function evaluateRNSpringAt(fromValue: number, resolved: Pick<Res
|
|
|
50
50
|
position: number;
|
|
51
51
|
velocity: number;
|
|
52
52
|
};
|
|
53
|
+
export declare function sampleRNSpringThrough(sampler: SpringSampler, now: number): SpringSample;
|
|
53
54
|
export declare function createRNSpringSampler(fromValue: number, resolved: ResolvedSpring, toValue: number, previous?: SpringSampler | null, startedAt?: number | null): SpringSampler;
|
package/package.json
CHANGED
package/src/one-sdk-bundle.ts
CHANGED
|
@@ -20,8 +20,19 @@ export async function compileOneSDKApp(
|
|
|
20
20
|
) {
|
|
21
21
|
const selected = await selectOneSDK(appRoot)
|
|
22
22
|
if (!selected) return null
|
|
23
|
-
const { one, frameworks } = selected
|
|
24
23
|
const preparedRoot = await prepareNativeAppRoot(appRoot)
|
|
24
|
+
return compilePreparedOneSDKApp(appRoot, preparedRoot, origin, moduleRootOverride)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export async function compilePreparedOneSDKApp(
|
|
28
|
+
appRoot: string,
|
|
29
|
+
preparedRoot: string,
|
|
30
|
+
origin: string,
|
|
31
|
+
moduleRootOverride?: string,
|
|
32
|
+
) {
|
|
33
|
+
const selected = await selectOneSDK(appRoot)
|
|
34
|
+
if (!selected) throw new Error('prepared app has no One SDK imports')
|
|
35
|
+
const { one, frameworks } = selected
|
|
25
36
|
const sourceRoot = path.join(preparedRoot, ONE_SDK_SOURCE_DIRECTORY)
|
|
26
37
|
const generated = readOneSDKSourceManifest(
|
|
27
38
|
JSON.parse(fs.readFileSync(path.join(sourceRoot, 'manifest.json'), 'utf8')),
|