peachsim 0.1.1928 → 0.1.1930
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/outbound-endpoints.ts +1 -1
- 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 +9 -4
- 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 +9 -4
- 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 +3 -1
- package/dist-lib/menu.mjs +3 -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 +9 -4
- 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/package.json +1 -1
- package/src/host/websocket-proxy.ts +14 -5
- package/src/menu.ts +9 -0
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1930 | (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.1930 | (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;
|
|
@@ -91502,12 +91502,17 @@ function handleWebSocketProxyUpgrade(req, socket, head, forwardOrigin = true) {
|
|
|
91502
91502
|
}
|
|
91503
91503
|
function relayWebSocketUpgrade(req, socket, head, targetUrl, policyUrl, upstreamHeaders) {
|
|
91504
91504
|
let settled = false;
|
|
91505
|
-
const request = targetUrl.protocol === "wss:" ? import_https2.request : import_http3.request;
|
|
91506
91505
|
const upstreamRequestUrl = new URL(policyUrl);
|
|
91507
91506
|
upstreamRequestUrl.protocol = targetUrl.protocol === "wss:" ? "https:" : "http:";
|
|
91508
|
-
const upstreamRequest = request(upstreamRequestUrl, {
|
|
91507
|
+
const upstreamRequest = targetUrl.protocol === "wss:" ? (0, import_https2.request)(upstreamRequestUrl, {
|
|
91509
91508
|
method: "GET",
|
|
91510
|
-
headers: upstreamHeaders
|
|
91509
|
+
headers: upstreamHeaders,
|
|
91510
|
+
agent: false,
|
|
91511
|
+
rejectUnauthorized: upstreamRequestUrl.hostname !== "127.0.0.1"
|
|
91512
|
+
}) : (0, import_http3.request)(upstreamRequestUrl, {
|
|
91513
|
+
method: "GET",
|
|
91514
|
+
headers: upstreamHeaders,
|
|
91515
|
+
agent: false
|
|
91511
91516
|
});
|
|
91512
91517
|
let destroyUpstreamSocket = () => {
|
|
91513
91518
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1930 | (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.1930 | (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.1930 | (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.1930 | (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.1930 | (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.1930 | (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.1930 | (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.1930 | (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/package.json
CHANGED
|
@@ -532,13 +532,22 @@ function relayWebSocketUpgrade(
|
|
|
532
532
|
upstreamHeaders: Record<string, string>,
|
|
533
533
|
) {
|
|
534
534
|
let settled = false
|
|
535
|
-
const request = targetUrl.protocol === 'wss:' ? requestHttps : requestHttp
|
|
536
535
|
const upstreamRequestUrl = new URL(policyUrl)
|
|
537
536
|
upstreamRequestUrl.protocol = targetUrl.protocol === 'wss:' ? 'https:' : 'http:'
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
537
|
+
// a network.remap fixture is a loopback listener with a private certificate
|
|
538
|
+
const upstreamRequest =
|
|
539
|
+
targetUrl.protocol === 'wss:'
|
|
540
|
+
? requestHttps(upstreamRequestUrl, {
|
|
541
|
+
method: 'GET',
|
|
542
|
+
headers: upstreamHeaders,
|
|
543
|
+
agent: false,
|
|
544
|
+
rejectUnauthorized: upstreamRequestUrl.hostname !== '127.0.0.1',
|
|
545
|
+
})
|
|
546
|
+
: requestHttp(upstreamRequestUrl, {
|
|
547
|
+
method: 'GET',
|
|
548
|
+
headers: upstreamHeaders,
|
|
549
|
+
agent: false,
|
|
550
|
+
})
|
|
542
551
|
let destroyUpstreamSocket = () => {}
|
|
543
552
|
upstreamRequest.once('socket', (upstreamSocket) => {
|
|
544
553
|
destroyUpstreamSocket = () => upstreamSocket.destroy()
|
package/src/menu.ts
CHANGED
|
@@ -116,10 +116,15 @@ export type SootSimMenuItemDef =
|
|
|
116
116
|
actionPayload?: string
|
|
117
117
|
shortcutLabel?: string
|
|
118
118
|
showInShortcutDocs?: boolean
|
|
119
|
+
// the way a rotate press turns the body from its stance: a press back to the stance the
|
|
120
|
+
// device rests in turns opposite to the turn that left it
|
|
121
|
+
turns?: SootSimTurn
|
|
119
122
|
items?: SootSimMenuItemDef[]
|
|
120
123
|
hiddenIn?: SootSimMenuPlatform
|
|
121
124
|
}
|
|
122
125
|
|
|
126
|
+
export type SootSimTurn = 'left' | 'right'
|
|
127
|
+
|
|
123
128
|
export type SootSimMenuDef = {
|
|
124
129
|
label: string
|
|
125
130
|
items: SootSimMenuItemDef[]
|
|
@@ -163,6 +168,8 @@ export interface SootSimMenuState {
|
|
|
163
168
|
// whether flipping orientation changes the current spec's geometry.
|
|
164
169
|
// computed engine-side; the menu never reads the device catalog.
|
|
165
170
|
canRotate: boolean
|
|
171
|
+
// the way each rotate press turns the body, where the surface knows its stance
|
|
172
|
+
rotateTurns?: Record<SootSimTurn, SootSimTurn>
|
|
166
173
|
}
|
|
167
174
|
|
|
168
175
|
export interface SootSimMenuDeviceChoice {
|
|
@@ -429,6 +436,7 @@ function deviceMenu(
|
|
|
429
436
|
label: 'Rotate Left',
|
|
430
437
|
accelerator: 'CmdOrCtrl+Left',
|
|
431
438
|
action: 'rotate-left',
|
|
439
|
+
turns: state.rotateTurns?.left,
|
|
432
440
|
browserAccelerator: true,
|
|
433
441
|
shortcutLabel: 'rotate left',
|
|
434
442
|
showInShortcutDocs: true,
|
|
@@ -437,6 +445,7 @@ function deviceMenu(
|
|
|
437
445
|
label: 'Rotate Right',
|
|
438
446
|
accelerator: 'CmdOrCtrl+Right',
|
|
439
447
|
action: 'rotate-right',
|
|
448
|
+
turns: state.rotateTurns?.right,
|
|
440
449
|
browserAccelerator: true,
|
|
441
450
|
shortcutLabel: 'rotate right',
|
|
442
451
|
showInShortcutDocs: true,
|