peachsim 0.1.2377 → 0.1.2379
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/serve.ts +3 -1
- package/cli/outbound-endpoints.ts +7 -0
- 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 +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 +1 -1
- 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/font-config.d.ts +2 -38
- package/dist-types/packages/peach-engine/src/engine/systemFontAssetContract.d.ts +38 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/node-runtime.json +1 -1
- package/package.json +1 -1
- package/src/host/syncNetHelperContract.ts +19 -0
- package/src/host/syncNetHelperSource.ts +11 -0
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2379 | (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.2379 | (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.2379 | (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.2379 | (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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2379 | (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.2379 | (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.2379 | (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.2379 | (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.2379 | (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.2379 | (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.2379 | (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,8 +1,10 @@
|
|
|
1
1
|
import { SF_PRO_FONT_URL } from './generated/sf-pro-font.d.ts';
|
|
2
|
+
import { type FontVerticalMetrics, type SystemNamedFace } from './systemFontAssetContract.d.ts';
|
|
2
3
|
import type { DeviceSpec, RuntimePlatform } from '../../../../../src/device-catalog.ts';
|
|
3
4
|
import type { CanvasKitRenderingApi } from './canvaskit-api.d.ts';
|
|
4
5
|
import type { SootSimStyle } from './types.d.ts';
|
|
5
6
|
import type { FontMgr, ParagraphStyle } from 'canvaskit-wasm';
|
|
7
|
+
export { ANDROID_EMOJI_FONT_FILES, ANDROID_NAMED_FACES, IOS_FONT_DATA_FILES, IOS_NAMED_FACES, SF_COMPACT_KEYCAP_FONT_FAMILY, SF_COMPACT_KEYCAP_METRICS, SYSTEM_COMPANION_FONT_FILES, type FontVerticalMetrics, type SystemNamedFace, } from './systemFontAssetContract.d.ts';
|
|
6
8
|
export declare function getTextFontWeightMap(ck: Pick<CanvasKitRenderingApi, 'FontWeight'>): Record<string, import("canvaskit-wasm").EmbindEnumEntity>;
|
|
7
9
|
export declare const DEFAULT_FONT_FAMILY = "SF Pro";
|
|
8
10
|
export declare const SF_PRO_VERTICAL_METRICS: {
|
|
@@ -18,41 +20,11 @@ export declare const SF_PRO_GRADED_FONT_FAMILY = "SF Pro Graded";
|
|
|
18
20
|
export declare const SF_COMPACT_FONT_FAMILY = "SF Compact";
|
|
19
21
|
export declare const NEW_YORK_FONT_FAMILY = ".NewYork";
|
|
20
22
|
export declare const SF_MONO_FONT_FAMILY = "SF Mono";
|
|
21
|
-
export declare const SF_COMPACT_KEYCAP_FONT_FAMILY = ".SFCompact-LightG3";
|
|
22
|
-
export declare const SF_COMPACT_KEYCAP_METRICS: {
|
|
23
|
-
ascender: number;
|
|
24
|
-
descender: number;
|
|
25
|
-
lineGap: number;
|
|
26
|
-
unitsPerEm: number;
|
|
27
|
-
capHeight: number;
|
|
28
|
-
xHeight: number;
|
|
29
|
-
};
|
|
30
|
-
export declare const SYSTEM_COMPANION_FONT_FILES: {
|
|
31
|
-
readonly italic: 'sf-pro-italic.woff2';
|
|
32
|
-
readonly variant: 'sf-pro-variant.woff2';
|
|
33
|
-
readonly rounded: 'sf-pro-rounded.woff2';
|
|
34
|
-
readonly graded: 'sf-pro-graded.woff2';
|
|
35
|
-
readonly compact: 'sf-compact.woff2';
|
|
36
|
-
readonly serif: 'new-york.woff2';
|
|
37
|
-
readonly mono: 'sf-mono.woff2';
|
|
38
|
-
};
|
|
39
|
-
export interface SystemNamedFace {
|
|
40
|
-
family: string;
|
|
41
|
-
postScript: string;
|
|
42
|
-
file: string;
|
|
43
|
-
weight: number;
|
|
44
|
-
italic: boolean;
|
|
45
|
-
metrics: FontVerticalMetrics;
|
|
46
|
-
}
|
|
47
|
-
export declare const IOS_NAMED_FACES: readonly SystemNamedFace[];
|
|
48
|
-
export declare const IOS_FONT_DATA_FILES: ReadonlyMap<string, string>;
|
|
49
|
-
export declare const ANDROID_NAMED_FACES: readonly SystemNamedFace[];
|
|
50
23
|
export declare function resolveSystemNamedFace(fontFamily: string | undefined, fontWeight: unknown, fontStyle: unknown): SystemNamedFace | null;
|
|
51
24
|
export declare const ANDROID_FONT_FAMILY = "Roboto";
|
|
52
25
|
export declare const ANDROID_EMOJI_FONT_FAMILY = "Noto Color Emoji";
|
|
53
26
|
export declare const ANDROID_EMOJI_FLAGS_FONT_FAMILY = "Noto Color Emoji Flags";
|
|
54
27
|
export declare const ANDROID_EMOJI_FONT_FAMILIES: readonly ["Noto Color Emoji", "Noto Color Emoji Flags"];
|
|
55
|
-
export declare const ANDROID_EMOJI_FONT_FILES: readonly [string, 'emoji/noto-color-emoji-flags.ttf'];
|
|
56
28
|
export declare const EMOJI_FONT_FAMILY = "SootSimEmojiMetrics";
|
|
57
29
|
export declare function noteLanguageSubsetFamily(family: string): void;
|
|
58
30
|
export declare function normalizeFontWeight(fontWeight: unknown): number;
|
|
@@ -107,14 +79,6 @@ export declare function makeParagraphBuilder(ck: CanvasKitRenderingApi, style: P
|
|
|
107
79
|
export declare function registerEngineAppFontFace(aliases: readonly string[], face: AppFontFaceStyle): void;
|
|
108
80
|
export declare function isFontFamilyRegistered(family: string): boolean;
|
|
109
81
|
export declare function getRegisteredFontFamilies(): string[];
|
|
110
|
-
export interface FontVerticalMetrics {
|
|
111
|
-
ascender: number;
|
|
112
|
-
descender: number;
|
|
113
|
-
lineGap: number;
|
|
114
|
-
unitsPerEm: number;
|
|
115
|
-
capHeight?: number;
|
|
116
|
-
xHeight?: number;
|
|
117
|
-
}
|
|
118
82
|
export declare function registerEngineFontVerticalMetrics(family: string, metrics: FontVerticalMetrics): void;
|
|
119
83
|
export declare function getRegisteredFontVerticalMetrics(family: string | undefined, fontWeight?: unknown, fontStyle?: unknown): FontVerticalMetrics | undefined;
|
|
120
84
|
export declare function resetRegisteredFontFamilies(): void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface FontVerticalMetrics {
|
|
2
|
+
ascender: number;
|
|
3
|
+
descender: number;
|
|
4
|
+
lineGap: number;
|
|
5
|
+
unitsPerEm: number;
|
|
6
|
+
capHeight?: number;
|
|
7
|
+
xHeight?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const ANDROID_EMOJI_FONT_FILES: readonly [string, 'emoji/noto-color-emoji-flags.ttf'];
|
|
10
|
+
export declare const SF_COMPACT_KEYCAP_FONT_FAMILY = ".SFCompact-LightG3";
|
|
11
|
+
export declare const SF_COMPACT_KEYCAP_METRICS: {
|
|
12
|
+
ascender: number;
|
|
13
|
+
descender: number;
|
|
14
|
+
lineGap: number;
|
|
15
|
+
unitsPerEm: number;
|
|
16
|
+
capHeight: number;
|
|
17
|
+
xHeight: number;
|
|
18
|
+
};
|
|
19
|
+
export declare const SYSTEM_COMPANION_FONT_FILES: {
|
|
20
|
+
readonly italic: 'sf-pro-italic.woff2';
|
|
21
|
+
readonly variant: 'sf-pro-variant.woff2';
|
|
22
|
+
readonly rounded: 'sf-pro-rounded.woff2';
|
|
23
|
+
readonly graded: 'sf-pro-graded.woff2';
|
|
24
|
+
readonly compact: 'sf-compact.woff2';
|
|
25
|
+
readonly serif: 'new-york.woff2';
|
|
26
|
+
readonly mono: 'sf-mono.woff2';
|
|
27
|
+
};
|
|
28
|
+
export interface SystemNamedFace {
|
|
29
|
+
family: string;
|
|
30
|
+
postScript: string;
|
|
31
|
+
file: string;
|
|
32
|
+
weight: number;
|
|
33
|
+
italic: boolean;
|
|
34
|
+
metrics: FontVerticalMetrics;
|
|
35
|
+
}
|
|
36
|
+
export declare const IOS_NAMED_FACES: readonly SystemNamedFace[];
|
|
37
|
+
export declare const IOS_FONT_DATA_FILES: ReadonlyMap<string, string>;
|
|
38
|
+
export declare const ANDROID_NAMED_FACES: readonly SystemNamedFace[];
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/node-runtime.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"archiveSha256":"
|
|
1
|
+
{"abi":1,"archiveSha256":"bdbbf0d489ea2893ee3c57b65c96ab6ce24a5dfa11897bd8e307d214b8c2f358","entrySha256":"fa210f4818a7e1753aa7758fd2fbd9ddcfad5bc6d457c077260b7363725e9507"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface SyncNetChannel {
|
|
2
|
+
mailbox: SharedArrayBuffer
|
|
3
|
+
// int32 cells: [pulse counter, failed flag]
|
|
4
|
+
liveness: SharedArrayBuffer
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface SyncNetHelper {
|
|
8
|
+
readonly ready: Promise<void>
|
|
9
|
+
post(requests: unknown[]): void
|
|
10
|
+
terminate(): void
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// starts the helper realm; it writes replies to the channel's mailbox, then
|
|
14
|
+
// calls wake. ended runs when its realm exits or fails while the guest runs
|
|
15
|
+
export type SpawnSyncNetHelper = (
|
|
16
|
+
channel: SyncNetChannel,
|
|
17
|
+
wake: () => void,
|
|
18
|
+
ended: () => void,
|
|
19
|
+
) => SyncNetHelper
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SpawnSyncNetHelper } from './syncNetHelperContract'
|
|
2
|
+
|
|
3
|
+
let source: SpawnSyncNetHelper | undefined
|
|
4
|
+
|
|
5
|
+
export function setSwiftSyncNetHelperSource(next: SpawnSyncNetHelper): void {
|
|
6
|
+
source = next
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function getSwiftSyncNetHelperSource(): SpawnSyncNetHelper | undefined {
|
|
10
|
+
return source
|
|
11
|
+
}
|