@yuriai/web 0.2.24-beta.1 → 0.2.24-beta.3
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/assets/{AgentAvatar-uHQNjXpd.js → AgentAvatar-pXIw9gfD.js} +1 -1
- package/dist/assets/{AssistantView-Drd8VDEa.js → AssistantView-BhZFw2Cv.js} +3 -3
- package/dist/assets/{DiagramView-DkCNPVGi.js → DiagramView-Dbq515rJ.js} +1 -1
- package/dist/assets/{FadeInOnReveal-C4jDW1zu.js → FadeInOnReveal-DAByozhu.js} +1 -1
- package/dist/assets/{GuiPluginSurface-3kvNh8k7.js → GuiPluginSurface-DqagyL80.js} +1 -1
- package/dist/assets/{GuiPluginWindow-CBFALwNv.js → GuiPluginWindow-qRoE_X8s.js} +1 -1
- package/dist/assets/{Icon-B0ebXdpZ.js → Icon-D_Favd2T.js} +1 -1
- package/dist/assets/{ImageLoadingPlaceholder-BsOal94e.js → ImageLoadingPlaceholder-BPEqdGkV.js} +1 -1
- package/dist/assets/{LoadingImage-DU15BNuP.js → LoadingImage-COJSLMyx.js} +1 -1
- package/dist/assets/{MarkdownRenderer--MUzfNV1.js → MarkdownRenderer-B-s7YqSL.js} +2 -2
- package/dist/assets/{MarkdownRendererImpl-CRQzKIUS.js → MarkdownRendererImpl-BzBvPqV7.js} +1 -1
- package/dist/assets/{MarkstreamRendererImpl-BwCal960.js → MarkstreamRendererImpl-CJMD1omq.js} +1 -1
- package/dist/assets/{MobileDetailNavigation-Do2TWnlQ.js → MobileDetailNavigation-qV0bjSXm.js} +1 -1
- package/dist/assets/{MobileResizableSheet-C5UIcZMP.js → MobileResizableSheet-Bsmt3nmq.js} +1 -1
- package/dist/assets/{MobileShareBridge-D1uMFffj.js → MobileShareBridge-WZoeoaFU.js} +1 -1
- package/dist/assets/{MobileTabPageHeader-qFcP_0DQ.js → MobileTabPageHeader-DF1Daadb.js} +1 -1
- package/dist/assets/{MultiRunWindow-ChKPsoQo.js → MultiRunWindow-BvYGtPO2.js} +1 -1
- package/dist/assets/{OnboardingScreen-D5tX10Ru.js → OnboardingScreen-BLabyWaq.js} +1 -1
- package/dist/assets/{OverlayScrollbar-Cd3itQWo.js → OverlayScrollbar-U7GvtZ-e.js} +1 -1
- package/dist/assets/{SettingsView-lVlHvszE.js → SettingsView-B-9lrgxO.js} +1 -1
- package/dist/assets/{SettingsWindow-BHTfrkKB.js → SettingsWindow-BkfHDw94.js} +1 -1
- package/dist/assets/{TerminalView-o9kbH9L7.js → TerminalView-Dti0mmf0.js} +1 -1
- package/dist/assets/{ToolOutputDialog-C-oQW3hF.js → ToolOutputDialog-CFzN2G3O.js} +1 -1
- package/dist/assets/{YuriLogo-mo6nZ3PX.js → YuriLogo-BFsNnpdF.js} +1 -1
- package/dist/assets/{appThemeRegistry-Dj_lXuWN.js → appThemeRegistry-ddjxKBYY.js} +1 -1
- package/dist/assets/{button-RqfOQVDY.js → button-K_jXf_uP.js} +1 -1
- package/dist/assets/{capgoAdapter-BBkQfU5y.js → capgoAdapter-CfiBEuyY.js} +1 -1
- package/dist/assets/{collapsible-Dv8u92TF.js → collapsible-DqW91GHI.js} +1 -1
- package/dist/assets/{diagram-ChmjoQ5M.js → diagram-Pn5Vu970.js} +1 -1
- package/dist/assets/{dialog-BNwN9E77.js → dialog-B87iVGV1.js} +1 -1
- package/dist/assets/{dropdown-menu.styles-BeD-5cZr.js → dropdown-menu.styles-zVps2mhA.js} +1 -1
- package/dist/assets/{es-BA49Soe0.js → es-Clj7CS2r.js} +3 -3
- package/dist/assets/{fileMentionTouchSelection-BOqFOFuS.js → fileMentionTouchSelection-DAlq-IMu.js} +1 -1
- package/dist/assets/{fileReferenceActions-B1o8IWgw.js → fileReferenceActions-DkLLKj6A.js} +1 -1
- package/dist/assets/{fr-BC5SbQkf.js → fr-dmrFQLCO.js} +2 -2
- package/dist/assets/{gitApi-BBTlZPHJ.js → gitApi-Cc5_-ECd.js} +1 -1
- package/dist/assets/{input-0mf9njqM.js → input-BcXfvvm_.js} +1 -1
- package/dist/assets/{insertionBoundaries-CeIZ6Ryc.js → insertionBoundaries-CiF86urY.js} +1 -1
- package/dist/assets/{ja-ZVSLBCEX.js → ja-Co0dxiN_.js} +2 -2
- package/dist/assets/{ko-UEhdI-6j.js → ko-BltElAGq.js} +2 -2
- package/dist/assets/{main-DmpGPZGl.js → main-CuxXN3r4.js} +4 -4
- package/dist/assets/{main-B5RgfV79.js → main-D2hnuWBp.js} +2 -2
- package/dist/assets/{markdownHeightCache-CghsqV5O.js → markdownHeightCache-BaLmCxOF.js} +1 -1
- package/dist/assets/{mcpQueries-BoO0luGM.js → mcpQueries-DFtOTbgS.js} +1 -1
- package/dist/assets/{miniChat-DqITTK1M.js → miniChat-DYDnq6tm.js} +2 -2
- package/dist/assets/{mobile-BIr1jV5q.js → mobile-HFAnAtlT.js} +2 -2
- package/dist/assets/{mobileBackNavigation-BX15eKz3.js → mobileBackNavigation-DF8MG6Tn.js} +1 -1
- package/dist/assets/{multirun-YUG6khun.js → multirun-BXIjRTr0.js} +1 -1
- package/dist/assets/{native-config-Bd2dhq7v.js → native-config-BIqrtXG9.js} +1 -1
- package/dist/assets/{pl-CtZa8Aps.js → pl-qd6Wnl7H.js} +3 -3
- package/dist/assets/{projectMeta-zvmpMSQf.js → projectMeta-Dy7Bf4x6.js} +1 -1
- package/dist/assets/{pt-BR-BLYFPwVu.js → pt-BR-CsOFfQXS.js} +2 -2
- package/dist/assets/{readiness-Cdk9qFe5.js → readiness-CN90zOX-.js} +1 -1
- package/dist/assets/{renderElectronMiniChatApp-BGE9uFhc.js → renderElectronMiniChatApp-DQkBUs_I.js} +2 -2
- package/dist/assets/renderMobileApp-ClNxnSzL.js +28 -0
- package/dist/assets/{runtimeConfig-D-CPiNCJ.js → runtimeConfig-C7KHdUM4.js} +1 -1
- package/dist/assets/{runtimeEndpointReset-DJiib7qk.js → runtimeEndpointReset-Cw6SUZAq.js} +3 -3
- package/dist/assets/{scheduledTaskNavigation-Dhcdlsyj.js → scheduledTaskNavigation-Bk2y-IY1.js} +1 -1
- package/dist/assets/{sessionChangeSummary-CG0wKqkP.js → sessionChangeSummary-CG6578Z-.js} +1 -1
- package/dist/assets/{sessionLookup-B61-CKn2.js → sessionLookup-DMQnsErT.js} +1 -1
- package/dist/assets/{sortable-tabs-strip-B2s-35-E.js → sortable-tabs-strip-DSfCVNk4.js} +1 -1
- package/dist/assets/{speechSettingsQueries-B8ZUB8kC.js → speechSettingsQueries-D_f5HIiw.js} +1 -1
- package/dist/assets/src-BvQKygLK.css +2 -0
- package/dist/assets/{store-DRfILWJT.js → store-7wItZZ7_.js} +2 -2
- package/dist/assets/{textarea-Brud1txt.js → textarea-BnV-WjE-.js} +1 -1
- package/dist/assets/toolHelpers-iEHVHQ9p.js +2 -0
- package/dist/assets/{tooltip-Bs7jQMa0.js → tooltip-8gf-KZqb.js} +1 -1
- package/dist/assets/{types-DuOMU6Kx.js → types-BWMfk5b0.js} +1 -1
- package/dist/assets/{uk-CLu6Q5Pq.js → uk-BNrdZFvK.js} +2 -2
- package/dist/assets/{useAppFontEffects-BbNLfgyg.js → useAppFontEffects-DVleC2Q0.js} +6 -6
- package/dist/assets/{useDesktopWindowControlsLayout-BobcZLtl.js → useDesktopWindowControlsLayout-DToe2F9i.js} +1 -1
- package/dist/assets/{useEffectiveDirectory-DFrDhjCc.js → useEffectiveDirectory-D5hjakQA.js} +1 -1
- package/dist/assets/{useMobileNavigationStore-BoltsZEH.js → useMobileNavigationStore-CZyV2Yi1.js} +6 -6
- package/dist/assets/{useWorkerHighlightedLines-BtEOUB_j.js → useWorkerHighlightedLines-yahvwgKf.js} +1 -1
- package/dist/assets/{zh-CN-794F19S6.js → zh-CN-DMvJXS23.js} +4 -4
- package/dist/assets/{zh-TW-CIVkGGCd.js → zh-TW-D0wsKLs1.js} +3 -3
- package/dist/index.html +6 -6
- package/dist/mini-chat.html +6 -6
- package/dist/mobile.html +6 -6
- package/package.json +1 -1
- package/server/lib/remote-desktop/DOCUMENTATION.md +19 -7
- package/dist/assets/renderMobileApp-6mtuJQ65.js +0 -28
- package/dist/assets/src-CTDGzqeS.css +0 -2
- package/dist/assets/toolHelpers-DL452NVK.js +0 -2
package/dist/index.html
CHANGED
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
opacity: 0.72;
|
|
561
561
|
}
|
|
562
562
|
</style>
|
|
563
|
-
<script type="module" crossorigin src="/assets/main-
|
|
563
|
+
<script type="module" crossorigin src="/assets/main-D2hnuWBp.js"></script>
|
|
564
564
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
565
565
|
<link rel="modulepreload" crossorigin href="/assets/runtime-auth-BaBM02zI.js">
|
|
566
566
|
<link rel="modulepreload" crossorigin href="/assets/runtime-switch-DhMY9eiB.js">
|
|
@@ -592,11 +592,11 @@
|
|
|
592
592
|
<link rel="modulepreload" crossorigin href="/assets/terminalApi-Cjd7Jry6.js">
|
|
593
593
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-xvItwYMc.js">
|
|
594
594
|
<link rel="modulepreload" crossorigin href="/assets/platform-wGCQUVxr.js">
|
|
595
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
596
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
597
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
598
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
599
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
595
|
+
<link rel="modulepreload" crossorigin href="/assets/types-BWMfk5b0.js">
|
|
596
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-CfiBEuyY.js">
|
|
597
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-BIqrtXG9.js">
|
|
598
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-C7KHdUM4.js">
|
|
599
|
+
<link rel="stylesheet" crossorigin href="/assets/src-BvQKygLK.css">
|
|
600
600
|
</head>
|
|
601
601
|
<body class="h-full bg-background text-foreground">
|
|
602
602
|
<!-- Keep the startup layer outside #root. React replaces every child of
|
package/dist/mini-chat.html
CHANGED
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
.dark #initial-loading img { filter: invert(1); }
|
|
78
78
|
</style>
|
|
79
79
|
|
|
80
|
-
<script type="module" crossorigin src="/assets/miniChat-
|
|
80
|
+
<script type="module" crossorigin src="/assets/miniChat-DYDnq6tm.js"></script>
|
|
81
81
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
82
82
|
<link rel="modulepreload" crossorigin href="/assets/runtime-auth-BaBM02zI.js">
|
|
83
83
|
<link rel="modulepreload" crossorigin href="/assets/runtime-switch-DhMY9eiB.js">
|
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
<link rel="modulepreload" crossorigin href="/assets/terminalApi-Cjd7Jry6.js">
|
|
110
110
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-xvItwYMc.js">
|
|
111
111
|
<link rel="modulepreload" crossorigin href="/assets/platform-wGCQUVxr.js">
|
|
112
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
113
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
114
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
115
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
116
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
112
|
+
<link rel="modulepreload" crossorigin href="/assets/types-BWMfk5b0.js">
|
|
113
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-CfiBEuyY.js">
|
|
114
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-BIqrtXG9.js">
|
|
115
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-C7KHdUM4.js">
|
|
116
|
+
<link rel="stylesheet" crossorigin href="/assets/src-BvQKygLK.css">
|
|
117
117
|
</head>
|
|
118
118
|
<body class="h-full bg-background text-foreground">
|
|
119
119
|
<div id="root" class="h-full">
|
package/dist/mobile.html
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
</script>
|
|
65
65
|
|
|
66
66
|
<style>.dark #mobile-startup-logo img { filter: invert(1); }</style>
|
|
67
|
-
<script type="module" crossorigin src="/assets/mobile-
|
|
67
|
+
<script type="module" crossorigin src="/assets/mobile-HFAnAtlT.js"></script>
|
|
68
68
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
69
69
|
<link rel="modulepreload" crossorigin href="/assets/runtime-auth-BaBM02zI.js">
|
|
70
70
|
<link rel="modulepreload" crossorigin href="/assets/runtime-switch-DhMY9eiB.js">
|
|
@@ -96,11 +96,11 @@
|
|
|
96
96
|
<link rel="modulepreload" crossorigin href="/assets/terminalApi-Cjd7Jry6.js">
|
|
97
97
|
<link rel="modulepreload" crossorigin href="/assets/runtime-file-download-xvItwYMc.js">
|
|
98
98
|
<link rel="modulepreload" crossorigin href="/assets/platform-wGCQUVxr.js">
|
|
99
|
-
<link rel="modulepreload" crossorigin href="/assets/types-
|
|
100
|
-
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-
|
|
101
|
-
<link rel="modulepreload" crossorigin href="/assets/native-config-
|
|
102
|
-
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-
|
|
103
|
-
<link rel="stylesheet" crossorigin href="/assets/src-
|
|
99
|
+
<link rel="modulepreload" crossorigin href="/assets/types-BWMfk5b0.js">
|
|
100
|
+
<link rel="modulepreload" crossorigin href="/assets/capgoAdapter-CfiBEuyY.js">
|
|
101
|
+
<link rel="modulepreload" crossorigin href="/assets/native-config-BIqrtXG9.js">
|
|
102
|
+
<link rel="modulepreload" crossorigin href="/assets/runtimeConfig-C7KHdUM4.js">
|
|
103
|
+
<link rel="stylesheet" crossorigin href="/assets/src-BvQKygLK.css">
|
|
104
104
|
</head>
|
|
105
105
|
<body class="h-full bg-background text-foreground">
|
|
106
106
|
<div id="root" class="h-full">
|
package/package.json
CHANGED
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
|
|
12
12
|
Remote desktop is opt-in. The native-only approval store also owns an `enabled` Boolean that defaults false when missing or malformed; pre-existing device approvals do not imply the feature is enabled. `/api/remote-desktop` exposes `{ supported, enabled }`, and WS upgrades are rejected with 403 while disabled, before starting native consent or capture. The native adapter checks the preference independently. Only local main-frame desktop IPC can inspect setup permissions, change the switch, or request a fixed macOS permission pane. There is no HTTP endpoint to enable it remotely.
|
|
13
13
|
|
|
14
|
-
The local desktop Settings → Remote instances → Remote desktop group checks Screen Recording, Accessibility for the app and the actual helper executable, and helper installation. The helper's check-only mode posts no input events. Enabling requires all checks to pass and a successful atomic preference write. Closing the switch immediately ends active and pending native sessions. Failed disable persistence leaves the current app run blocked rather than restoring remote access; a restart may still load the old persisted preference, so the failure is visible and must be retried.
|
|
14
|
+
The local desktop Settings → Remote instances → Remote desktop group checks Screen Recording, Accessibility for the app and the actual helper executable, and helper installation. The helper's check-only mode posts no input events. Enabling requires all checks to pass and a successful atomic preference write. Closing the switch immediately ends active and pending native sessions. Failed disable persistence leaves the current app run blocked rather than restoring remote access; a restart may still load the old persisted preference, so the failure is visible and must be retried. The existing serialized native store retains the enable preference; legacy device approval IDs are preserved but ignored. UI permission reads use Query, mutations refresh only their native setup/capability keys, stale runtime completions are rejected, and read failures preserve the last snapshot with explicit error feedback. Non-desktop and remote-runtime Settings cannot change local macOS grants. Unsupported desktop platforms show an unsupported state.
|
|
15
15
|
|
|
16
16
|
The WebSocket must authenticate a paired client or a real password-protected owner session. Password-less/forged owner cookies, loopback source, and raw bearer credentials in query parameters do not qualify. Browser sockets use the existing scoped `yuri_url_token`; the Host checks origin even when password auth is disabled. Both tunnel and URL-token allowlists include exactly `/api/remote-desktop/ws`. Desktop realtime proxying also permits this exact path. No Relay wire-frame types or crypto format change.
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Once enabled locally and system permissions are granted, authenticated paired devices and password-authenticated owner sessions start directly without a per-connection confirmation, approval checkbox, or visible sharing-control window. Startup rechecks Screen Recording and app/helper Accessibility without requesting new permissions; revoked/missing grants fail closed and must be restored from local Settings. The only capture BrowserWindow is hidden and remains isolated. No Stop/Forget preload methods or IPC listeners remain. Close the remote view, disable the local setting, or revoke device pairing to stop control. Remote client revocation remains authoritative; no authentication or origin gate is bypassed. macOS-owned permission prompts and recording indicators are not hidden.
|
|
19
19
|
|
|
20
|
-
There is one active or pending capture per Host.
|
|
20
|
+
There is one active or pending capture per Host. Stopping the Host, disabling the feature, closing the remote view/socket, backgrounding the phone, removing/changing a display, or a native failure stops the session. Client pings are every 5 seconds; 20 seconds without a ping ends the Host session. Active client revocation is checked every 5 seconds, failing closed on store failure. Maximum session length is one hour. Initial client startup has a 60-second deadline, capability requests a 10-second deadline, and native capture readiness has a 15-second deadline.
|
|
21
21
|
|
|
22
|
-
Runtime generation/transport identity are captured when opening the view. No input or delayed auth result can connect to a different Host. Failure is not an empty success. Reconnection is explicit
|
|
22
|
+
Runtime generation/transport identity are captured when opening the view. No input or delayed auth result can connect to a different Host. Failure is not an empty success. Reconnection is explicit. Closing a pending session aborts startup; a later permission check or source-discovery completion is immediately disposed. EOF on the helper's pipe releases a held mouse button.
|
|
23
23
|
|
|
24
24
|
## Media and control
|
|
25
25
|
|
|
@@ -35,18 +35,30 @@ Control always stays on the authenticated WS, including when video is P2P. `prot
|
|
|
35
35
|
|
|
36
36
|
## Mobile interaction and performance
|
|
37
37
|
|
|
38
|
-
The Projects homepage plus menu ends with a Remote desktop icon/action after instance choices. The chat header overflow menu exposes the same action. `MobileApp` owns one open state
|
|
38
|
+
The Projects homepage plus menu ends with a Remote desktop icon/action after instance choices. The chat header overflow menu exposes the same action. `MobileApp` owns one open state and one shared entry handler; the homepage receives it through `MobilePhoneShell` and its Projects container. `RemoteDesktopPanel` now renders an opaque, viewport-filling standalone page in a body portal, not a sheet/dialog. It registers `remote-desktop-page` as its own root route with `useMobileBackRoute`, reusing the shared hosted-browser history and native Back coordinator. Back returns to the unchanged source tab/chat; it does not pop the retained chat route. The underlying shell is inert, the native dock is covered and the native composer uses the existing reference-counted cover. Root route gestures remain enabled for this page while underlying header navigation is blocked. Closing/unmounting releases the connection and native cover.
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
The page uses the current runtime, not a separately selected machine. It defaults to Drag mode: one finger pans the local canvas and never sends mouse/scroll input, including long presses. Cursor mode sends tap/double-tap clicks, held-mouse drags and long-press right-clicks. Switching modes cancels pending input/releases a held mouse without losing zoom/pan. Two fingers zoom (0.5–5× while held) and pan locally in either mode without sending mouse input. Releasing the last finger below 1× restores the fit transform; 1× means the fitted screen, not one remote pixel per CSS pixel. Switching from a remote drag to pinching releases the mouse; lifting one finger after pinching never generates a click. Letterboxing is excluded from coordinate mapping.
|
|
41
|
+
|
|
42
|
+
Drag follows image-preview semantics: two short taps within 300ms and 24 CSS pixels zoom to 2.5× around the tapped point (clamped to visible bounds); another double tap while zoomed restores Fit. Cursor double taps remain native clicks and never zoom locally. At 1×, Drag movement follows the finger but snaps back to the original fit position when released; the same applies below 1×. Zoomed panning remains in place. Fit and double-tap transitions use a short transform-only settlement, disabled for reduced motion; pointer/pinch movement is immediate. Cancelling/resetting clears double-tap candidates so a new mode or pinch cannot inherit a stray tap.
|
|
43
|
+
|
|
44
|
+
Pointer moves are coalesced to one animation-frame update, zoom transforms update the DOM directly, and frames do not enter a shared store or React state. Repeated transport state notifications are deduplicated. A memo boundary isolates the open page from unrelated homepage streaming renders. Resize, close, cancellation and transport changes clear pending gestures. Text entry and common navigation keys are available in the floating keyboard panel.
|
|
45
|
+
|
|
46
|
+
Mobile controls use gamepad-style translucent icon buttons at the lower corners instead of a toolbar/menu: Drag and Cursor on the left, keyboard on the right. There is no scroll or Fit button. Floating Back and orientation controls sit at the top corners without a title bar. Buttons use the shared mobile glass style at 60% opacity (fully visible on hover, focus or selection). Text entry/navigation keys open above the buttons; controls are siblings of the remote pointer surface so their touches never become native desktop input. Hiding the keyboard does not reconnect or change modes. Transport names are not displayed.
|
|
47
|
+
|
|
48
|
+
`lib/remote-desktop/orientation.ts` and `useDesktopOrientation.ts` own page-local orientation. The entry action requests device-orientation permission where required (user activation on iOS). Tilt is classified using gravity projection and a dead zone: flat/ambiguous/invalid samples do nothing, and repeated samples in the same orientation do no state work. Meaningful physical orientation changes restore auto-follow after a manual toggle. Missing/denied sensors retain natural viewport behavior and the manual toggle still works. This never changes native supported-orientation lists, calls a global orientation lock, or rotates the document/other routes. Locked-portrait native shells use a 90° transform on this page only, with swapped logical dimensions, inverse touch coordinates and remapped safe-area edges. Resize resets gesture geometry, not the network connection. The shared keyboard-inset surface keeps inputs accessible; opening it does not reinterpret IME height changes as physical rotation. Exiting removes all sensor/resize/key listeners and page-local direction state. Native shell/global portrait restrictions are unchanged.
|
|
41
49
|
|
|
42
50
|
## Validation and remaining platform gates
|
|
43
51
|
|
|
44
52
|
Focused tests cover message validation, real auth/origin gates, revocation, single ownership, delayed startup/abort, real Relay WS dispatch/fragmentation, runtime switching, decoded-frame ACK, coordinate mapping, pinch cancellation, and 50 unrelated homepage renders. The Electron evidence fixture runs the production capture page/preload with a synthetic canvas, a real Chromium WebRTC receiver and JPEG fallback; it does not capture or control the user's desktop. A separate local visual fixture was checked in Chromium at 390×844 and 844×390 using the production panel and synthetic screen data. That checks panel layout, not physical-phone rendering or real desktop capture.
|
|
45
53
|
|
|
54
|
+
The standalone-page update was additionally checked at both viewport sizes with a synthetic remote screen. Injected orientation samples rotated only the page inside a locked-portrait viewport; actual Chromium CDP touch dispatch verified inverse cursor coordinates, Drag double-tap zoom/restore and 1× pan snap-back. Real browser history Back unmounted the page and retained the source draft. Focused tests also cover sensor denial/unavailability, noisy/flat/repeated samples, both inverse rotation directions, native back routing and no reconnection on direction/mode changes. These do not verify actual iPhone gyroscope permission prompts, device tilt signs, native dock/composer behavior or keyboard/safe areas on physical hardware; those remain device acceptance checks.
|
|
55
|
+
|
|
46
56
|
Development-only native acceptance additionally exercised the production adapter and input helper against the real macOS desktop: JPEG frames decoded at 1440×810, and a fixed 26-character test string reached an isolated test textarea through Quartz input. The focused test window reported native/window/DOM keyboard focus. An earlier run received frames but not the text; that run did not measure focus and its cause is unresolved. This is not yet a repeatability guarantee. No real screen images or user-entered text were retained. The permission probe returned granted Screen Recording and Accessibility when Electron was started through macOS Launch Services; starting the same executable as a shell child reported denied/untrusted. Permission checks must be made under the actual launch context rather than inferred from the app's path or a Settings toggle.
|
|
47
57
|
|
|
48
58
|
Additional local checks confirmed new capture can start while the Mac remains locked (108 non-black JPEG frames), and the user reported the one-shot dummy password input test succeeded; no login was submitted. Transitioning an existing capture into lock still ended the session, and a later transition trace timed out awaiting local consent. These are distinct outcomes: locked capture/input is not evidence that lock/unlock transitions or correct-password unlocking are reliable.
|
|
49
59
|
|
|
50
|
-
The native setup adapter was also exercised via Launch Services with real app/helper permissions: it reported default-off, all required permissions granted, then enabled and disabled correctly using a test-only in-memory preference store. The production Settings group was visually checked at 900px and 350px widths using simulated native status; that does not prove release-signed IPC/permission onboarding. Focused tests cover disabled authenticated upgrades, native default-off, enable checks and failed writes, pending
|
|
60
|
+
The native setup adapter was also exercised via Launch Services with real app/helper permissions: it reported default-off, all required permissions granted, then enabled and disabled correctly using a test-only in-memory preference store. The production Settings group was visually checked at 900px and 350px widths using simulated native status; that does not prove release-signed IPC/permission onboarding. Focused tests cover disabled authenticated upgrades, native default-off, enable checks and failed writes, pending startup cancellation, active-session stop, local-only IPC classification, setup UI guidance and failed refresh preservation.
|
|
61
|
+
|
|
62
|
+
After removing per-connection confirmation and the sharing window, a Launch Services probe enabled a test-only in-memory preference, started the production adapter directly, and decoded three real desktop JPEG frames at 1440×810 without saving images or sending input. The single capture window stayed invisible and not always-on-top, and shutdown left no windows. Synthetic tests additionally verify no confirmation dialog, no approval writes, no Stop/Forget IPC, permission-revocation failure, and cancellation during permission checking/source discovery. This does not verify release-signed behavior or physical-phone use.
|
|
51
63
|
|
|
52
64
|
These tests do **not** prove macOS TCC permission inheritance for a release-signed helper, successful password-based unlocking, reliable lock/unlock transitions, iPhone WKWebView playback/gestures, WAN codec negotiation, throughput, battery or latency. Before shipping, verify those on a signed preview installer and a physical phone, including permission denial/regrant, display changes, disconnect while dragging, direct connection, Relay-only fallback and optional TURN. Native main/preload/helper changes require a new desktop installer; UI OTA alone cannot provide them.
|