peachsim 0.1.1971 → 0.1.1973
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/record.ts +12 -6
- 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 +74 -1
- package/dist-lib/bridge-contract-input.mjs +73 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +1 -1
- 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 +1 -1
- 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 +3 -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-globals/src/recordingBridgeContract.d.ts +2 -0
- package/package.json +1 -1
- package/src/bridge-contract-input.ts +85 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1973 | (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.1973 | (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/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1973 | (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/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1973 | (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.1973 | (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;
|
|
@@ -8706,9 +8706,9 @@ var init_registry = __esm({
|
|
|
8706
8706
|
stubType: "native",
|
|
8707
8707
|
versions: [
|
|
8708
8708
|
{
|
|
8709
|
-
range: ">=8.0.0",
|
|
8709
|
+
range: ">=8.0.0 <11.0.0",
|
|
8710
8710
|
coverage: 0.93,
|
|
8711
|
-
note: "full generic/internet credential CRUD via the NativeKeychainManager seam with all upstream constants. browsers have no Keychain access groups or biometric-gated reads, so the unavailable shape (canImplyAuthentication=true / getSupportedBiometryType=FACE_ID, the biometric prompt simply not gating the read) is consistent with how an iOS sim without enrolled biometrics behaves \u2014 apps with graceful-degradation paths take the right branch. every remaining gap is a physically-absent-on-an-iOS-sim feature (same tier as expo-secure-store).",
|
|
8711
|
+
note: "full generic/internet credential CRUD via the NativeKeychainManager seam with all upstream constants. browsers have no Keychain access groups or biometric-gated reads, so the unavailable shape (canImplyAuthentication=true / getSupportedBiometryType=FACE_ID, the biometric prompt simply not gating the read) is consistent with how an iOS sim without enrolled biometrics behaves \u2014 apps with graceful-degradation paths take the right branch. every remaining gap is a physically-absent-on-an-iOS-sim feature (same tier as expo-secure-store). verified through 10.x: 11 changes iOS error codes to E_* and passes accessGroup to internet resets, which this seam does not yet vary by package version.",
|
|
8712
8712
|
working: "setGenericPassword/getGenericPassword/resetGenericPassword/hasGenericPassword/getAllGenericPasswordServices, setInternetCredentials/getInternetCredentials/resetInternetCredentials/hasInternetCredentials, all constants (SECURITY_LEVEL, ACCESSIBLE, ACCESS_CONTROL, BIOMETRY_TYPE, STORAGE_TYPE)",
|
|
8713
8713
|
missing: "setSharedWebCredentials/requestSharedWebCredentials noop (Apple-website-association needed), ACCESS_CONTROL enforcement not real (no biometric gate), real biometric prompt before reads (would need WebAuthn through host bridge)"
|
|
8714
8714
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1973 | (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.1973 | (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.1973 | (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.1973 | (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.1973 | (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.1973 | (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.1973 | (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.1973 | (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;
|
|
@@ -79,6 +79,7 @@ export interface SootSimRecorderBridge {
|
|
|
79
79
|
startFrameCapture(opts: {
|
|
80
80
|
count: number;
|
|
81
81
|
durationMs: number;
|
|
82
|
+
layers?: 'full' | 'tenant' | 'shell';
|
|
82
83
|
maxWidth?: number;
|
|
83
84
|
observation?: 'presented';
|
|
84
85
|
surfaceId?: string;
|
|
@@ -118,6 +119,7 @@ export interface SootSimRecorderBridge {
|
|
|
118
119
|
frames: number;
|
|
119
120
|
durationMs: number;
|
|
120
121
|
maxWidth?: number;
|
|
122
|
+
layers?: 'full' | 'tenant' | 'shell';
|
|
121
123
|
}): Promise<{
|
|
122
124
|
data: string;
|
|
123
125
|
size: number;
|
package/package.json
CHANGED
|
@@ -8,6 +8,7 @@ import type {
|
|
|
8
8
|
DiagnosticsOptions,
|
|
9
9
|
DiagnosticsResult,
|
|
10
10
|
ResetOptions,
|
|
11
|
+
RecorderCommand,
|
|
11
12
|
SemanticWaitOptions,
|
|
12
13
|
SimSemanticQuery,
|
|
13
14
|
SimSemanticResolveSelector,
|
|
@@ -28,6 +29,90 @@ export class BridgeInputError extends Error {
|
|
|
28
29
|
|
|
29
30
|
export const SEMANTIC_WAIT_MAX_TIMEOUT_MS = 30_000
|
|
30
31
|
|
|
32
|
+
export function parseRecorderCommand(value: unknown): RecorderCommand {
|
|
33
|
+
const step = recordValue(value, 'recorder')
|
|
34
|
+
const method = stringValue(step.method, 'recorder.method')
|
|
35
|
+
if (method === 'available' || method === 'stop') return { method }
|
|
36
|
+
if (method === 'hold')
|
|
37
|
+
return { method, durationMs: numberValue(step.durationMs, 'recorder.durationMs') }
|
|
38
|
+
const options =
|
|
39
|
+
step.options === undefined ? {} : recordValue(step.options, 'recorder.options')
|
|
40
|
+
const layers = options.layers
|
|
41
|
+
if (
|
|
42
|
+
layers !== undefined &&
|
|
43
|
+
layers !== 'full' &&
|
|
44
|
+
layers !== 'tenant' &&
|
|
45
|
+
layers !== 'shell'
|
|
46
|
+
)
|
|
47
|
+
validationFailure('recorder.options.layers', 'must be full, tenant or shell')
|
|
48
|
+
if (method === 'getBlobBase64')
|
|
49
|
+
return {
|
|
50
|
+
method,
|
|
51
|
+
options: {
|
|
52
|
+
chunk: optionalNumber(options, 'chunk', 'recorder.options'),
|
|
53
|
+
offset: optionalNumber(options, 'offset', 'recorder.options'),
|
|
54
|
+
},
|
|
55
|
+
}
|
|
56
|
+
if (method === 'getFrameCaptureResult')
|
|
57
|
+
return {
|
|
58
|
+
method,
|
|
59
|
+
requestId: numberValue(step.requestId, 'recorder.requestId'),
|
|
60
|
+
options:
|
|
61
|
+
step.options === undefined
|
|
62
|
+
? undefined
|
|
63
|
+
: {
|
|
64
|
+
offset: numberValue(options.offset, 'recorder.options.offset'),
|
|
65
|
+
limit: numberValue(options.limit, 'recorder.options.limit'),
|
|
66
|
+
},
|
|
67
|
+
}
|
|
68
|
+
if (method === 'startFrameCapture') {
|
|
69
|
+
const observation = options.observation
|
|
70
|
+
if (observation !== undefined && observation !== 'presented')
|
|
71
|
+
validationFailure('recorder.options.observation', 'must be presented')
|
|
72
|
+
return {
|
|
73
|
+
method,
|
|
74
|
+
options: {
|
|
75
|
+
count: numberValue(options.count, 'recorder.options.count'),
|
|
76
|
+
durationMs: numberValue(options.durationMs, 'recorder.options.durationMs'),
|
|
77
|
+
layers,
|
|
78
|
+
maxWidth: optionalNumber(options, 'maxWidth', 'recorder.options'),
|
|
79
|
+
observation,
|
|
80
|
+
surfaceId:
|
|
81
|
+
options.surfaceId === undefined
|
|
82
|
+
? undefined
|
|
83
|
+
: stringValue(options.surfaceId, 'recorder.options.surfaceId'),
|
|
84
|
+
},
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (method === 'captureGif')
|
|
88
|
+
return {
|
|
89
|
+
method,
|
|
90
|
+
options: {
|
|
91
|
+
frames: numberValue(options.frames, 'recorder.options.frames'),
|
|
92
|
+
durationMs: numberValue(options.durationMs, 'recorder.options.durationMs'),
|
|
93
|
+
layers,
|
|
94
|
+
maxWidth: optionalNumber(options, 'maxWidth', 'recorder.options'),
|
|
95
|
+
},
|
|
96
|
+
}
|
|
97
|
+
if (method === 'start') {
|
|
98
|
+
const format = options.format
|
|
99
|
+
if (format !== undefined && format !== 'webm' && format !== 'mp4')
|
|
100
|
+
validationFailure('recorder.options.format', 'must be webm or mp4')
|
|
101
|
+
return {
|
|
102
|
+
method,
|
|
103
|
+
options: {
|
|
104
|
+
format,
|
|
105
|
+
layers,
|
|
106
|
+
fps: optionalNumber(options, 'fps', 'recorder.options'),
|
|
107
|
+
durationMs: optionalNumber(options, 'durationMs', 'recorder.options'),
|
|
108
|
+
scene: optionalBoolean(options, 'scene', 'recorder.options'),
|
|
109
|
+
sceneWithVideo: optionalBoolean(options, 'sceneWithVideo', 'recorder.options'),
|
|
110
|
+
},
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return validationFailure('recorder.method', `is unsupported: ${method}`)
|
|
114
|
+
}
|
|
115
|
+
|
|
31
116
|
function validationFailure(path: string, expectation: string): never {
|
|
32
117
|
throw new BridgeInputError(`${path} ${expectation}`)
|
|
33
118
|
}
|