runcloud 0.2.142 → 0.2.143

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.
@@ -950,7 +950,7 @@ async function createSimulatorSession(platform, opts) {
950
950
  .filter((id) => typeof id === 'string' && id.length > 0),
951
951
  ];
952
952
  return await client().post(`/run-cloud/${platform}`, {
953
- ...(platform === 'android' ? { expoSdkProfile: opts.expoSdkProfile } : {}),
953
+ ...(platform === 'android' ? { expoSdkProfile: opts.expoSdkProfile ?? 'expo-54' } : {}),
954
954
  ...(opts.orgId ? { orgId: opts.orgId } : {}),
955
955
  model: opts.model,
956
956
  region: opts.region,
@@ -1042,7 +1042,7 @@ function registerSimulatorCommands(program, platform) {
1042
1042
  .option('--json', 'output JSON', false)
1043
1043
  .addOption(new Option('--dev-host <host>', 'dev-only: target a specific simulator fleet host').hideHelp());
1044
1044
  if (platform === 'android') {
1045
- createCommand.addOption(new Option('--expo-sdk-profile <profile>', 'required immutable Expo SDK capacity profile').choices(['expo-54', 'expo-57']).makeOptionMandatory());
1045
+ createCommand.addOption(new Option('--expo-sdk-profile <profile>', 'preinstalled Expo Go version; omit when installing a custom APK').choices(['expo-54']));
1046
1046
  }
1047
1047
  createCommand
1048
1048
  .action((opts) => action(async () => {
@@ -1661,7 +1661,7 @@ export function registerRunCloud(program) {
1661
1661
  .option('--inactivity-timeout <duration>', 'idle timeout such as 60s, 3m, or none')
1662
1662
  .option('--hard-timeout <duration>', 'maximum lifetime such as 10m or 1h')
1663
1663
  .option('--codec <auto|mjpeg|webrtc>', 'viewer codec', 'auto')
1664
- .addOption(new Option('--expo-sdk-profile <profile>', 'required for Android: immutable Expo SDK capacity profile').choices(['expo-54', 'expo-57']))
1664
+ .addOption(new Option('--expo-sdk-profile <profile>', 'preinstalled Expo Go version; omit when launching a custom APK').choices(['expo-54']))
1665
1665
  .option('--json', 'output JSON', false)
1666
1666
  .action((opts) => action(async () => {
1667
1667
  if (Boolean(opts.asset) === Boolean(opts.build)) {
@@ -1670,9 +1670,6 @@ export function registerRunCloud(program) {
1670
1670
  if (opts.platform !== 'ios' && opts.platform !== 'android') {
1671
1671
  throw new Error('--platform must be ios or android');
1672
1672
  }
1673
- if (opts.platform === 'android' && !opts.expoSdkProfile) {
1674
- throw new Error('--expo-sdk-profile is required when --platform android');
1675
- }
1676
1673
  if (opts.platform === 'ios' && opts.expoSdkProfile) {
1677
1674
  throw new Error('--expo-sdk-profile is supported only when --platform android');
1678
1675
  }
@@ -1681,7 +1678,7 @@ export function registerRunCloud(program) {
1681
1678
  platform: opts.platform,
1682
1679
  ...(opts.orgId ? { orgId: opts.orgId } : {}),
1683
1680
  session: {
1684
- ...(opts.platform === 'android' ? { expoSdkProfile: opts.expoSdkProfile } : {}),
1681
+ ...(opts.platform === 'android' ? { expoSdkProfile: opts.expoSdkProfile ?? 'expo-54' } : {}),
1685
1682
  ...(opts.model ? { model: opts.model } : {}),
1686
1683
  ...(opts.region ? { region: opts.region } : {}),
1687
1684
  ...(opts.displayName ? { displayName: opts.displayName } : {}),
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLI_VERSION = '0.2.142';
1
+ export const CLI_VERSION = '0.2.143';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runcloud",
3
- "version": "0.2.142",
3
+ "version": "0.2.143",
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
Binary file