Skip to content

Commit 2976bab

Browse files
committed
docs(fold): keep the scoped-set rationale on the reference surfaces
The terse fold command description restated the same CoreDevice-scope rationale the deep help topic and commands.md carry. The description now states only the refusal, its typed reason, and the fix; the why lives on the surfaces a user opens to read more.
1 parent 1f6e8c1 commit 2976bab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/commands/system/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const homeCommandDescription =
7272
'Send the selected device to its home screen. This leaves the app session open but moves the foreground away from the app.';
7373
const orientationCommandDescription = 'Set device orientation on iOS and Android';
7474
const foldCommandDescription =
75-
'Fold or unfold a foldable iPhone simulator (iPhone Duo) into the closed, half-open, or open pose, or follow timestamped angle keyframes, by sending a simulator HID hinge event, then read the hinge angle back from CoreDevice to confirm it. A pose change moves the app to a different panel with a different point size, so every ref and coordinate from before it is stale: re-snapshot after this command. Taps, long presses, and scrolling target the app window on its current panel in closed, half-open, and open poses. Simulator-only; requires the iOS simulator SDK; Device Hub and host Accessibility permission are not required. A simulator scoped to a non-default simulator set is refused with UNSUPPORTED_OPERATION and reason unsupported-device-scope before any hinge is touched, because CoreDevice cannot read back a scoped simulator; run fold against a simulator in the default set.';
75+
'Fold or unfold a foldable iPhone simulator (iPhone Duo) into the closed, half-open, or open pose, or follow timestamped angle keyframes, by sending a simulator HID hinge event, then read the hinge angle back from CoreDevice to confirm it. A pose change moves the app to a different panel with a different point size, so every ref and coordinate from before it is stale: re-snapshot after this command. Taps, long presses, and scrolling target the app window on its current panel in closed, half-open, and open poses. Simulator-only; requires the iOS simulator SDK; Device Hub and host Accessibility permission are not required. A simulator scoped to a non-default simulator set is refused with UNSUPPORTED_OPERATION and reason unsupported-device-scope; run fold against a simulator in the default set.';
7676
const appSwitcherCommandDescription =
7777
'Open the device app switcher to inspect or change foreground apps. This changes the visible system UI and may move focus away from the current app.';
7878
const keyboardCommandDescription =

0 commit comments

Comments
 (0)