runcloud 0.1.113 → 0.1.114

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.
@@ -736,6 +736,9 @@ async function createSimulatorSession(platform, opts) {
736
736
  function registerSimulatorCommands(program, platform) {
737
737
  const label = platform === 'android' ? 'Android emulator' : 'iOS simulator';
738
738
  const article = platform === 'android' ? 'an' : 'an';
739
+ const orientationHelp = platform === 'ios'
740
+ ? 'portrait, landscape_left, or landscape_right; portrait_upside_down returns unsupported_action on iPhone Simulator sessions'
741
+ : 'portrait, portrait_upside_down, landscape_left, or landscape_right';
739
742
  const simulator = program
740
743
  .command(platform)
741
744
  .description(`Create, inspect, interact with, capture, and release ${label} sessions`);
@@ -864,7 +867,7 @@ function registerSimulatorCommands(program, platform) {
864
867
  .command('rotate')
865
868
  .description(`Set the absolute display orientation for ${article} ${label} session`)
866
869
  .argument('<id>', 'session id')
867
- .argument('<orientation>', 'portrait, portrait_upside_down, landscape_left, or landscape_right')).action((id, rawOrientation, opts) => action(() => runSimulatorInteraction(platform, id, {
870
+ .argument('<orientation>', orientationHelp)).action((id, rawOrientation, opts) => action(() => runSimulatorInteraction(platform, id, {
868
871
  action: 'rotate',
869
872
  orientation: simulatorOrientation(rawOrientation),
870
873
  }, opts), opts));
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLI_VERSION = '0.1.113';
1
+ export const CLI_VERSION = '0.1.114';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runcloud",
3
- "version": "0.1.113",
3
+ "version": "0.1.114",
4
4
  "description": "Create and control run.cloud remote mobile simulators and cloud sandboxes",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
Binary file
@@ -76,6 +76,10 @@ not support Digital Crown input, and Android does not support iOS render-debug
76
76
  controls or the `capsLock`, `numLock`, and `scrollLock` keys. Handle structured
77
77
  `unsupported_action` errors instead of retrying them.
78
78
 
79
+ Current iPhone Simulator sessions support `portrait`, `landscape_left`, and
80
+ `landscape_right`. The shared `portrait_upside_down` value is supported on
81
+ Android and returns a non-retryable `unsupported_action` on iOS.
82
+
79
83
  An acknowledgement means input dispatch completed. Confirm visible app effects
80
84
  with a screenshot or the signed viewer when the outcome matters.
81
85
 
Binary file