peachsim 0.1.2270 → 0.1.2272
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/app-catalog.ts +13 -5
- package/cli/bridge-flow-runner.ts +1 -1
- package/cli/commands/control.ts +10 -1
- package/cli/commands/flow.ts +117 -23
- package/cli/commands/shell-url.ts +10 -2
- package/cli/commands/upload.ts +49 -39
- 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 +82 -76
- 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 +71 -68
- 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 +77 -74
- package/dist-lib/host/fetch-proxy-handler.cjs +6 -6
- 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 +23 -17
- 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 +23 -17
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +3 -3
- 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 +90 -81
- package/dist-lib/swift-compile.cjs +31 -14
- package/dist-lib/swift-compile.mjs +31 -14
- 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 +22 -11
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +33 -16
- package/dist-lib/vite.cjs +6 -6
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -8
- package/dist-types/packages/peach-engine/src/engine/layout-engine.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/text-metric-policy.d.ts +27 -0
- package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/screenshots/tokens.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/settings/device-rotation-bus.d.ts +23 -0
- package/dist-types/packages/peach-engine/src/settings/device-turn.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/settings/display-hold.d.ts +19 -0
- package/dist-types/packages/peach-engine/src/settings/duo-fold-effect.d.ts +26 -0
- package/dist-types/packages/peach-engine/src/settings/duo-fold.d.ts +13 -0
- package/dist-types/packages/peach-engine/src/settings/index.d.ts +20 -0
- package/dist-types/packages/peach-engine/src/settings/schema.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/settings/store.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/recordingBridgeContract.d.ts +12 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/ui/popover-placement.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/nitro-adapter.lock.json +279 -279
- package/src/nitro-superset.lock.json +4 -4
- package/src/react-native-autolinking.ts +27 -12
- package/src/swift-distribution.lock.json +12 -11
- package/src/swift-toolchain.ts +24 -10
- package/src/swift-wasm-prune.ts +11 -2
- package/src/turbo-compile.ts +1 -1
- package/src/turbo-runtime.lock.json +22 -22
- package/src/turbo-source.ts +19 -37
- package/dist-types/packages/peach-engine/src/ios/constants.d.ts +0 -15
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { DuoFoldFace, DuoFoldLook } from './duo-fold-bus.d.ts';
|
|
2
|
+
export declare const DUO_FOLD_IMAGE_MAX_SIDE = 1200;
|
|
3
|
+
export declare function duoFoldLookFade(look: DuoFoldLook | null, now: number): number;
|
|
4
|
+
export declare function duoFoldLookStrength(look: DuoFoldLook | null, now: number): number;
|
|
5
|
+
export declare function duoFoldInnerBrightness(progress: number, strength: number, changesDisplay: boolean): number;
|
|
6
|
+
type Vec2 = readonly [number, number];
|
|
7
|
+
export type DuoFoldFacePose = {
|
|
8
|
+
hinge: Vec2;
|
|
9
|
+
free: Vec2;
|
|
10
|
+
display: 'outer' | 'inner';
|
|
11
|
+
turn: number;
|
|
12
|
+
strength: number;
|
|
13
|
+
camera: {
|
|
14
|
+
center: Vec2;
|
|
15
|
+
radius: Vec2;
|
|
16
|
+
} | null;
|
|
17
|
+
};
|
|
18
|
+
export declare function drawDuoFoldEffect(target: HTMLCanvasElement, source: HTMLCanvasElement, pose: DuoFoldFacePose): boolean;
|
|
19
|
+
export declare class DuoFoldEffectPass {
|
|
20
|
+
private readonly programs;
|
|
21
|
+
private readonly framebuffer;
|
|
22
|
+
constructor(gl: WebGL2RenderingContext);
|
|
23
|
+
draw(source: DuoFoldFace | ImageData, revision: number, pose: DuoFoldFacePose, target: WebGLTexture): boolean;
|
|
24
|
+
destroy(): void;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type DeviceSpec } from '../../../../../src/device-catalog.ts';
|
|
2
|
+
import { type DuoFoldFace } from './duo-fold-bus.d.ts';
|
|
3
|
+
export declare const DUO_BOOK_PROGRESS: number;
|
|
4
|
+
export interface DuoFoldDisplay {
|
|
5
|
+
prepare: (() => Promise<void>) | null;
|
|
6
|
+
departing(spec: DeviceSpec): DuoFoldFace | null;
|
|
7
|
+
subscribe(listener: () => void): () => void;
|
|
8
|
+
presented(): DuoFoldFace | null;
|
|
9
|
+
frameToken(): number;
|
|
10
|
+
markDirty(): void;
|
|
11
|
+
}
|
|
12
|
+
export declare const pageDuoFoldDisplay: DuoFoldDisplay;
|
|
13
|
+
export declare function installDuoFoldEngine(search: string, display: DuoFoldDisplay): void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { settingsStore } from './store.d.ts';
|
|
2
|
+
export { getDefaults } from './schema.d.ts';
|
|
3
|
+
export { settingsSchema, getSettingsByGroup, } from '../../../../../src/settingsContract.ts';
|
|
4
|
+
export { type AgentProvider, type SettingsValues, type SettingKey, type SettingGroup, type SettingDef, type A11yMode, type ColorScheme, type Orientation, } from '../../../../../src/settingsContract.ts';
|
|
5
|
+
export { getDevice, getRuntimePlatform, isDeviceResolvableById, listDeviceModelsByPlatform, resolveDeviceFrameCorners, resolveDeviceFrameGeometry, resolveDeviceFitBox, resolveDevicePostureBox, supportsOrientationChange, deviceTurnDirection, displayHold, landscapePhysicalCutouts, physicalCameraRect, formatCornerRadii, scaleCornerRadii, } from './devices.d.ts';
|
|
6
|
+
export { devices, getDeviceByName, isDeviceModel, listDeviceModels, listSelectableDeviceModels, cornerRadii, DEFAULT_DEVICE, DEFAULT_DEVICE_BY_PLATFORM, } from '../../../../../src/device-catalog.ts';
|
|
7
|
+
export { type DeviceSpec, type DeviceModel, type FrameInsets, type RuntimePlatform, type SizeClass, type CornerRadii, type DeviceHousing, type LandscapeSide, type DisplayHold, } from '../../../../../src/device-catalog.ts';
|
|
8
|
+
export { isRuntimePlatform, parseRuntimePlatform, } from '../../../../../src/runtimePlatformContract.ts';
|
|
9
|
+
export { getDeviceSpec, peekDeviceSpec, publishDeviceSpec, onDeviceSpecChange, } from './device-spec-bus.d.ts';
|
|
10
|
+
export { getDuoFoldProgress, getDuoFoldPage, getDuoFoldPose, getDuoFoldRest, getDuoFoldSweep, getDuoFoldLookNow, getDuoFoldLook, duoFoldAwaitingBackFace, duoBodyAngle, duoFoldStance, duoSweepFromAngle, isDuoFoldActive, isDuoFoldReady, subscribeDuoFoldProgress, publishDuoFold, duoFoldAngle, duoFoldPosture, duoRestLandscapeSide, duoRestOrientation, duoRestPosture, duoRestTurned, duoRestTurnsBody, duoSweepTiming, DUO_REST_PROGRESS, } from './duo-fold-bus.d.ts';
|
|
11
|
+
export type { DuoFoldFace, DuoFoldPosture, DuoFoldPage, DuoFoldRest, DuoFoldLook, } from './duo-fold-bus.d.ts';
|
|
12
|
+
export { installDuoFoldEngine, DUO_BOOK_PROGRESS } from './duo-fold.d.ts';
|
|
13
|
+
export { getDeviceRotation, subscribeDeviceRotation } from './device-rotation-bus.d.ts';
|
|
14
|
+
export { displayHoldOf, turnBox, unturnBox, unturnClient, type ClientBox, } from './display-hold.d.ts';
|
|
15
|
+
export type { DeviceRotationState } from './device-rotation-bus.d.ts';
|
|
16
|
+
export { drawInterfaceRotation, duoSweepInterfaceRotation, interfaceRotationFrame, } from './interface-rotation.d.ts';
|
|
17
|
+
export type { InterfaceRotation } from './interface-rotation.d.ts';
|
|
18
|
+
export { deviceTurn } from './device-turn.d.ts';
|
|
19
|
+
export { drawDuoFoldEffect, DuoFoldEffectPass, DUO_FOLD_IMAGE_MAX_SIDE, duoFoldInnerBrightness, duoFoldLookFade, duoFoldLookStrength, } from './duo-fold-effect.d.ts';
|
|
20
|
+
export type { DuoFoldFacePose } from './duo-fold-effect.d.ts';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type LandscapeSide } from '../../../../../src/device-catalog.ts';
|
|
2
|
+
import { type SettingsValues } from '../../../../../src/settingsContract.ts';
|
|
3
|
+
export type { LandscapeSide };
|
|
4
|
+
export declare function readUrlSettingOverrides(search?: string): Partial<SettingsValues>;
|
|
5
|
+
export declare function getDefaults(): SettingsValues;
|
|
@@ -29,7 +29,7 @@ export declare const settingsStore: {
|
|
|
29
29
|
requestInterfacePose(pose: InterfacePose): void;
|
|
30
30
|
getSceneVerticalBar(): SceneVerticalBar;
|
|
31
31
|
setSceneVerticalBar(bar: SceneVerticalBar): void;
|
|
32
|
-
getA11yMode(): import("
|
|
32
|
+
getA11yMode(): import("./index.d.ts").A11yMode;
|
|
33
33
|
setA11yMode(mode: SettingsValues['a11yMode']): void;
|
|
34
34
|
getInspectMode(): boolean;
|
|
35
35
|
setInspectMode(on: boolean): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type { NativeBuildOptions } from './nativeBuildOptionsContract.d.ts';
|
|
2
2
|
export { isPreviewCaptureKind } from './recordingBridgeContract.d.ts';
|
|
3
|
-
export type { PreviewCaptureKind, NativeScreenCaptureState, PeachRecordingMode, PeachRecordingStartOptions, SceneVideoOptions, SootSimRecorderBridge, SootSimCapturedFrame, SootSimCapturedSurfacePresentation, SootSimEventRecorderBridge, SootSimPreviewRecorder, } from './recordingBridgeContract.d.ts';
|
|
3
|
+
export type { PreviewCaptureKind, NativeScreenCaptureState, PeachRecordingMode, PeachRecordingStartOptions, SceneVideoOptions, SootSimRecorderBridge, SootSimCapturedFrame, SootSimCapturedSurfacePresentation, SootSimEventRecorderBridge, SootSimPreviewRecorder, SootSimRecordedPreviewSnapshot, } from './recordingBridgeContract.d.ts';
|
|
4
4
|
export { SOOTSIM_KEYBOARD_TOOLBAR_GROUP_PROP, createDefaultSootSim, ensureSootSim, getSootSim, } from './globalsContract.d.ts';
|
|
5
5
|
export type { Emitter, SootSimChrome, SootSimBridges, SootSimEngineSnapshot, SootSimRenderMode, SootSimTransformedBundle, SootSimConnection, SootSimShellPathRoute, SootSimShellRouteSnapshot, SootSimRouter, SootSimState, SootSimDebugChannels, SootSimDebugEvent, SootSimDebugState, SootSimGlobals, SootSimLegacyGlobals, SootSimMetroAssetRecord, SootSimMetroRequire, SootSimTenantLocation, SootSimTenantNavigator, SootSimTenantScreen, SootSimWorkerTextInputBridge, SootSimWorkerTextInputBridgeGlobal, PeachPageServingAuthority, SootSimTenantEnvironment, SootSimMetroDefine, SootSimDirectGlobals, } from './globalsContract.d.ts';
|
|
6
6
|
export { SOOTSIM_NATIVE_PUBLIC_INSTANCE, isSootSimNativePublicInstance, withSootSimNativePublicInstanceTags, } from './nativeViewContract.d.ts';
|
|
@@ -141,12 +141,24 @@ export interface SootSimCapturedSurfacePresentation {
|
|
|
141
141
|
scale: number;
|
|
142
142
|
animations: number;
|
|
143
143
|
}
|
|
144
|
+
export type SootSimRecordedPreviewSnapshot = {
|
|
145
|
+
id: string;
|
|
146
|
+
label: string;
|
|
147
|
+
kind: 'landing' | 'interaction' | 'final' | 'manual';
|
|
148
|
+
eventIndex?: number;
|
|
149
|
+
t?: number;
|
|
150
|
+
width?: number;
|
|
151
|
+
height?: number;
|
|
152
|
+
contentType: 'image/png' | 'image/webp';
|
|
153
|
+
base64: string;
|
|
154
|
+
};
|
|
144
155
|
export interface SootSimEventRecorderBridge {
|
|
145
156
|
[key: string]: unknown;
|
|
146
157
|
start?(videoStartedAtMs?: number | null): Promise<boolean>;
|
|
147
158
|
startPrelude?(): boolean;
|
|
148
159
|
markVisibleStart?(videoStartedAtMs?: number | null): Promise<boolean>;
|
|
149
160
|
stop?(): SootSimReplayEvent[];
|
|
161
|
+
drainSnapshots?(): Promise<SootSimRecordedPreviewSnapshot[]>;
|
|
150
162
|
clear?(): void;
|
|
151
163
|
getEvents?(): SootSimReplayEvent[];
|
|
152
164
|
isRecording?(): boolean;
|
|
@@ -229,6 +229,7 @@ export interface SootSimEngineConfig {
|
|
|
229
229
|
width: number;
|
|
230
230
|
height: number;
|
|
231
231
|
} | null;
|
|
232
|
+
swiftUILayoutHeight: (view: unknown, pixel: number) => number | null;
|
|
232
233
|
AnimatedValue: any;
|
|
233
234
|
registerNativeAnimation: (value: any, step: (now: number) => boolean, callback?: (result: {
|
|
234
235
|
finished: boolean;
|
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":"afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c","file":"node/cli-afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c.cjs"}
|