peachsim 0.1.647 → 0.1.648
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/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.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/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +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/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +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.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.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 +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +1067 -1064
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/src/swift-submit.ts +3 -1
- package/src/vite-plugin-swift.ts +10 -6
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.648 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/package.json
CHANGED
package/src/swift-submit.ts
CHANGED
|
@@ -44,8 +44,10 @@ export const MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024
|
|
|
44
44
|
* `peach.icu_data_v1` (`packages/sootsim-swift/src/icuData.ts`). a request
|
|
45
45
|
* without one comes from before this field, a host that is 0.
|
|
46
46
|
* 2: scroll anchors carry numeric unit coordinates to the kit.
|
|
47
|
+
* 3: the host provides `rnx.measure_text`, UIKitCore's synchronous text
|
|
48
|
+
* measure (`packages/sootsim-swift/src/mount.tsx`).
|
|
47
49
|
*/
|
|
48
|
-
export const SWIFT_HOST_ABI =
|
|
50
|
+
export const SWIFT_HOST_ABI = 3
|
|
49
51
|
|
|
50
52
|
export interface SwiftImageUpload {
|
|
51
53
|
/** the raster file picked for the asset (has the extension). */
|
package/src/vite-plugin-swift.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import fs from 'node:fs'
|
|
3
3
|
import path from 'node:path'
|
|
4
4
|
import { swiftEntryModuleEsm } from '../../sootsim-swift/src/entryModule'
|
|
5
|
+
import { swiftModuleInputFiles } from './swift-compile'
|
|
5
6
|
import {
|
|
6
7
|
artifactFor,
|
|
7
8
|
entryRootId,
|
|
@@ -133,12 +134,15 @@ export function swiftPlugin(options: SwiftPluginOptions = {}): Plugin {
|
|
|
133
134
|
this.addWatchFile(source)
|
|
134
135
|
this.addWatchFile(path.join(packagePath, 'Package.swift'))
|
|
135
136
|
// an edit to the linked SwiftUI module rebuilds the artifact without
|
|
136
|
-
// touching the project's own sources, so
|
|
137
|
-
//
|
|
138
|
-
//
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
137
|
+
// touching the project's own sources, so the module inputs the source
|
|
138
|
+
// stamp hashes gate the reload too. the module is never uploaded, so
|
|
139
|
+
// the compile service's source caps do not apply to it.
|
|
140
|
+
const moduleRoot = linkedModuleRoots(packagePath).find((root) =>
|
|
141
|
+
fs.existsSync(path.join(root, 'toolchain.json')),
|
|
142
|
+
)
|
|
143
|
+
if (moduleRoot)
|
|
144
|
+
for (const relative of swiftModuleInputFiles(moduleRoot))
|
|
145
|
+
this.addWatchFile(path.join(moduleRoot, relative))
|
|
142
146
|
let artifact: SwiftArtifact
|
|
143
147
|
try {
|
|
144
148
|
artifact = await artifactFor(project, entry)
|