eas-cli 25.3.0 → 26.0.0

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.
Files changed (44) hide show
  1. package/README.md +198 -198
  2. package/build/build/createContext.d.ts +4 -3
  3. package/build/build/createContext.js +1 -4
  4. package/build/build/runBuildAndSubmit.d.ts +7 -2
  5. package/build/build/runBuildAndSubmit.js +9 -8
  6. package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +2 -2
  7. package/build/commandUtils/context/DynamicProjectConfigContextField.js +40 -61
  8. package/build/commandUtils/context/LoggedInContextField.js +1 -2
  9. package/build/commandUtils/context/MaybeLoggedInContextField.js +1 -2
  10. package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.js +3 -1
  11. package/build/commandUtils/context/PrivateProjectConfigContextField.js +3 -1
  12. package/build/commandUtils/context/contextUtils/getProjectIdAsync.d.ts +1 -0
  13. package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +5 -2
  14. package/build/commands/browse.js +1 -1
  15. package/build/commands/build/dev.js +3 -3
  16. package/build/commands/channel/delete.js +1 -1
  17. package/build/commands/channel/rollout.js +1 -1
  18. package/build/commands/credentials/configure-build.js +1 -1
  19. package/build/commands/deploy/alias/delete.js +1 -1
  20. package/build/commands/deploy/alias/index.js +1 -1
  21. package/build/commands/deploy/delete.js +1 -1
  22. package/build/commands/go.js +1 -1
  23. package/build/commands/observe/event.js +1 -1
  24. package/build/commands/observe/events.js +1 -1
  25. package/build/commands/project/new.js +1 -1
  26. package/build/commands/simulator/control.js +1 -1
  27. package/build/commands/simulator/get.js +14 -1
  28. package/build/commands/simulator/index.js +12 -4
  29. package/build/commands/workflow/cancel.js +1 -1
  30. package/build/commands/workflow/list.js +1 -1
  31. package/build/commands/workflow/logs.js +1 -1
  32. package/build/commands/workflow/run.js +1 -1
  33. package/build/commands/workflow/status.js +1 -1
  34. package/build/commands/workflow/view.js +1 -1
  35. package/build/graphql/generated.d.ts +146 -112
  36. package/build/graphql/generated.js +18 -8
  37. package/build/graphql/queries/DeviceRunSessionQuery.d.ts +8 -1
  38. package/build/graphql/queries/DeviceRunSessionQuery.js +67 -0
  39. package/build/simulator/jobRunErrors.d.ts +22 -0
  40. package/build/simulator/jobRunErrors.js +134 -0
  41. package/build/user/SessionManager.d.ts +10 -0
  42. package/build/user/SessionManager.js +12 -0
  43. package/oclif.manifest.json +411 -411
  44. package/package.json +7 -7
@@ -9,7 +9,7 @@ const formatFields_1 = tslib_1.__importDefault(require("../../utils/formatFields
9
9
  const json_1 = require("../../utils/json");
10
10
  class WorkflowList extends EasCommand_1.default {
11
11
  static hidden = true;
12
- static description = 'List workflows for the current project';
12
+ static description = 'list workflows for the current project';
13
13
  static flags = {
14
14
  ...flags_1.EasJsonOnlyFlag,
15
15
  };
@@ -20,7 +20,7 @@ function printLogsForAllSteps(logs) {
20
20
  });
21
21
  }
22
22
  class WorkflowLogView extends EasCommand_1.default {
23
- static description = 'view logs for a workflow run, selecting a job and step to view. You can pass in either a workflow run ID or a job ID. If no ID is passed in, you will be prompted to select from recent workflow runs for the current project.';
23
+ static description = 'view logs for a workflow run, selecting a job and step to view. You can pass in either a workflow run ID or a job ID. If no ID is passed in, you will be prompted to select from recent workflow runs for the current project';
24
24
  static flags = {
25
25
  ...flags_1.EasJsonOnlyFlag,
26
26
  ...flags_1.EASNonInteractiveFlag,
@@ -72,7 +72,7 @@ function resolveWorkflowRunSshInput({ ssh, idleTimeoutSeconds, }) {
72
72
  return ssh ? { idleTimeoutSeconds } : null;
73
73
  }
74
74
  class WorkflowRun extends EasCommand_1.default {
75
- static description = 'run an EAS workflow. The entire local project directory will be packaged and uploaded to EAS servers for the workflow run, unless the --ref flag is used.';
75
+ static description = 'run an EAS workflow. The entire local project directory will be packaged and uploaded to EAS servers for the workflow run, unless the --ref flag is used';
76
76
  static args = {
77
77
  file: core_1.Args.string({
78
78
  description: 'Path to the workflow file to run',
@@ -26,7 +26,7 @@ const projectUtils_1 = require("../../project/projectUtils");
26
26
  const prompts_1 = require("../../prompts");
27
27
  const json_1 = require("../../utils/json");
28
28
  class WorkflowStatus extends EasCommand_1.default {
29
- static description = 'show the status of an existing workflow run. If no run ID is provided, you will be prompted to select from recent workflow runs for the current project.';
29
+ static description = 'show the status of an existing workflow run. If no run ID is provided, you will be prompted to select from recent workflow runs for the current project';
30
30
  static args = {
31
31
  WORKFLOW_RUN_ID: core_1.Args.string({
32
32
  description: 'A workflow run ID.',
@@ -29,7 +29,7 @@ const processedOutputs = job => {
29
29
  return result;
30
30
  };
31
31
  class WorkflowView extends EasCommand_1.default {
32
- static description = 'view details for a workflow run, including jobs. If no run ID is provided, you will be prompted to select from recent workflow runs for the current project.';
32
+ static description = 'view details for a workflow run, including jobs. If no run ID is provided, you will be prompted to select from recent workflow runs for the current project';
33
33
  static flags = {
34
34
  ...flags_1.EasJsonOnlyFlag,
35
35
  ...flags_1.EASNonInteractiveFlag,
@@ -221,12 +221,26 @@ export type Account = {
221
221
  /** Convex team connections for this account */
222
222
  convexTeamConnections: Array<ConvexTeamConnection>;
223
223
  createdAt: Scalars['DateTime']['output'];
224
+ /**
225
+ * Whether the account turned on credentials protection. When protection is on, reading,
226
+ * creating, changing, or deleting build, submission, and push credentials needs the
227
+ * PUBLISH_PROTECTED permission, in every project of the account.
228
+ */
229
+ credentialsProtectionEnabled: Scalars['Boolean']['output'];
224
230
  /** Simulator sessions for all apps associated with this account, sorted newest first. */
225
231
  deviceRunSessionsPaginated: AccountDeviceRunSessionsConnection;
226
232
  displayName?: Maybe<Scalars['String']['output']>;
227
233
  /** Environment secrets for an account */
228
234
  environmentSecrets: Array<EnvironmentSecret>;
229
235
  environmentVariableEnvironments: Array<Scalars['EnvironmentVariableEnvironment']['output']>;
236
+ /**
237
+ * Whether the account turned on environment variable protection. When protection is on,
238
+ * reading, using, creating, changing, or deleting an environment variable whose environments are
239
+ * exclusively production needs the PUBLISH_PROTECTED permission, whatever its visibility, in
240
+ * every project of the account. Expo can also turn protection on for an account; this field
241
+ * does not show that.
242
+ */
243
+ environmentVariableProtectionEnabled: Scalars['Boolean']['output'];
230
244
  /** Environment variables for an account */
231
245
  environmentVariables: Array<EnvironmentVariable>;
232
246
  /** Environment variables for an account with decrypted secret values */
@@ -728,8 +742,23 @@ export type AccountMutation = {
728
742
  requestRefund?: Maybe<Scalars['Boolean']['output']>;
729
743
  /** Revoke specified Permissions for Actor. Actor must already have at least one permission on the account. */
730
744
  revokeActorPermissions: Account;
745
+ /**
746
+ * Set whether credentials protection is on for this account. When it is on, reading, creating,
747
+ * changing, or deleting build, submission, and push credentials needs the PUBLISH_PROTECTED
748
+ * permission on the account, in every project of the account. Requires the ADMIN permission on
749
+ * the account.
750
+ */
751
+ setCredentialsProtectionEnabled: Account;
731
752
  /** Set the display name for the account. Pass null to clear it and fall back to the account identifier. */
732
753
  setDisplayName: Account;
754
+ /**
755
+ * Set whether environment variable protection is on for this account. When it is on, reading,
756
+ * using, creating, changing, or deleting an environment variable whose environments are
757
+ * exclusively production needs the PUBLISH_PROTECTED permission on the account, whatever its
758
+ * visibility, in every project of the account. Requires the ADMIN permission on the account.
759
+ * Turning protection off also requires a sudo session.
760
+ */
761
+ setEnvironmentVariableProtectionEnabled: Account;
733
762
  /** Set whether EAS Observe ingestion is paused for this account. */
734
763
  setObserveIngestionPaused: Account;
735
764
  /** Require authorization to send push notifications for experiences owned by this account */
@@ -782,10 +811,18 @@ export type AccountMutation_RevokeActorPermissionsArgs = {
782
811
  actorID: Scalars['ID']['input'];
783
812
  permissions?: InputMaybe<Array<InputMaybe<Permission>>>;
784
813
  };
814
+ export type AccountMutation_SetCredentialsProtectionEnabledArgs = {
815
+ accountID: Scalars['ID']['input'];
816
+ credentialsProtectionEnabled: Scalars['Boolean']['input'];
817
+ };
785
818
  export type AccountMutation_SetDisplayNameArgs = {
786
819
  accountID: Scalars['ID']['input'];
787
820
  displayName?: InputMaybe<Scalars['String']['input']>;
788
821
  };
822
+ export type AccountMutation_SetEnvironmentVariableProtectionEnabledArgs = {
823
+ accountID: Scalars['ID']['input'];
824
+ environmentVariableProtectionEnabled: Scalars['Boolean']['input'];
825
+ };
789
826
  export type AccountMutation_SetObserveIngestionPausedArgs = {
790
827
  accountID: Scalars['ID']['input'];
791
828
  paused: Scalars['Boolean']['input'];
@@ -1048,6 +1085,10 @@ export type AgentDeviceRunSessionRemoteConfig = {
1048
1085
  */
1049
1086
  webPreviewUrl?: Maybe<Scalars['String']['output']>;
1050
1087
  };
1088
+ export declare enum AgentKind {
1089
+ ClaudeCode = "CLAUDE_CODE",
1090
+ Codex = "CODEX"
1091
+ }
1051
1092
  export declare enum AgentProvider {
1052
1093
  Anthropic = "ANTHROPIC",
1053
1094
  Openai = "OPENAI"
@@ -1105,6 +1146,37 @@ export declare enum AgentProviderConnectionStatus {
1105
1146
  UnableToVerify = "UNABLE_TO_VERIFY",
1106
1147
  Valid = "VALID"
1107
1148
  }
1149
+ export type AgentRun = {
1150
+ __typename?: 'AgentRun';
1151
+ agentKind: AgentKind;
1152
+ createdAt: Scalars['DateTime']['output'];
1153
+ id: Scalars['ID']['output'];
1154
+ maxDurationSeconds: Scalars['Int']['output'];
1155
+ prompt?: Maybe<Scalars['String']['output']>;
1156
+ turtleJobRun: JobRun;
1157
+ updatedAt: Scalars['DateTime']['output'];
1158
+ };
1159
+ export type AgentRunConnection = {
1160
+ __typename?: 'AgentRunConnection';
1161
+ edges: Array<AgentRunEdge>;
1162
+ pageInfo: PageInfo;
1163
+ };
1164
+ export type AgentRunEdge = {
1165
+ __typename?: 'AgentRunEdge';
1166
+ cursor: Scalars['String']['output'];
1167
+ node: AgentRun;
1168
+ };
1169
+ export type AgentRunFilterInput = {
1170
+ agentKinds?: InputMaybe<Array<AgentKind>>;
1171
+ statuses?: InputMaybe<Array<JobRunStatus>>;
1172
+ };
1173
+ export type AgentRunQuery = {
1174
+ __typename?: 'AgentRunQuery';
1175
+ byId: AgentRun;
1176
+ };
1177
+ export type AgentRunQuery_ByIdArgs = {
1178
+ agentRunId: Scalars['ID']['input'];
1179
+ };
1108
1180
  export type AndroidAppBuildCredentials = {
1109
1181
  __typename?: 'AndroidAppBuildCredentials';
1110
1182
  androidKeystore?: Maybe<AndroidKeystore>;
@@ -1408,6 +1480,8 @@ export type App = Project & {
1408
1480
  __typename?: 'App';
1409
1481
  /** Coalesced project activity for an app */
1410
1482
  activityTimelineProjectActivities: Array<ActivityTimelineProjectActivity>;
1483
+ /** Agent runs for this project, newest first. Empty filters include all runs. */
1484
+ agentRunsPaginated: AgentRunConnection;
1411
1485
  /** Android app credentials for the project */
1412
1486
  androidAppCredentials: Array<AndroidAppCredentials>;
1413
1487
  appStoreConnectApp?: Maybe<AppStoreConnectApp>;
@@ -1568,6 +1642,14 @@ export type App_ActivityTimelineProjectActivitiesArgs = {
1568
1642
  limit: Scalars['Int']['input'];
1569
1643
  };
1570
1644
  /** Represents an Exponent App (or Experience in legacy terms) */
1645
+ export type App_AgentRunsPaginatedArgs = {
1646
+ after?: InputMaybe<Scalars['String']['input']>;
1647
+ before?: InputMaybe<Scalars['String']['input']>;
1648
+ filter?: InputMaybe<AgentRunFilterInput>;
1649
+ first?: InputMaybe<Scalars['Int']['input']>;
1650
+ last?: InputMaybe<Scalars['Int']['input']>;
1651
+ };
1652
+ /** Represents an Exponent App (or Experience in legacy terms) */
1571
1653
  export type App_AndroidAppCredentialsArgs = {
1572
1654
  filter?: InputMaybe<AndroidAppCredentialsFilter>;
1573
1655
  };
@@ -2063,11 +2145,6 @@ export type AppObserve = {
2063
2145
  * @deprecated Use overview.stability instead.
2064
2146
  */
2065
2147
  overviewStability: AppObserveOverviewStability;
2066
- /**
2067
- * Per-version, per-platform metric summaries for the Overview version-comparison matrix.
2068
- * @deprecated Use overview.versionComparison instead.
2069
- */
2070
- overviewVersionComparison: AppObserveOverviewVersionComparison;
2071
2148
  /** One session's metrics and logs for the timeline (ENG-26160). Unknown session ids yield empty lists. */
2072
2149
  session: AppObserveSession;
2073
2150
  /** @deprecated Use metrics.timeSeries instead. */
@@ -2082,11 +2159,6 @@ export type AppObserve = {
2082
2159
  * universe used by `appVersions` headline counts.
2083
2160
  */
2084
2161
  uniqueActiveUserCount: Scalars['Int']['output'];
2085
- /**
2086
- * Update download activity (the Recent updates list). Not available on the free tier or legacy plans.
2087
- * @deprecated Use easUpdates.list instead.
2088
- */
2089
- updates: AppObserveUpdatesConnection;
2090
2162
  /** Namespaced successor API (ENG-26160). Prefer over the flat `customEventNames`/`customEventList` fields. */
2091
2163
  userEvents: AppObserveUserEvents;
2092
2164
  };
@@ -2151,9 +2223,6 @@ export type AppObserve_OverviewEngagementArgs = {
2151
2223
  export type AppObserve_OverviewStabilityArgs = {
2152
2224
  input: AppObserveOverviewStabilityInput;
2153
2225
  };
2154
- export type AppObserve_OverviewVersionComparisonArgs = {
2155
- input: AppObserveOverviewVersionComparisonInput;
2156
- };
2157
2226
  export type AppObserve_SessionArgs = {
2158
2227
  id: Scalars['ID']['input'];
2159
2228
  };
@@ -2163,9 +2232,6 @@ export type AppObserve_TimeSeriesArgs = {
2163
2232
  export type AppObserve_UniqueActiveUserCountArgs = {
2164
2233
  input: AppObserveReleasesInput;
2165
2234
  };
2166
- export type AppObserve_UpdatesArgs = {
2167
- input: AppObserveUpdatesInput;
2168
- };
2169
2235
  export type AppObserveAppBuildEmbeddedSummary = {
2170
2236
  __typename?: 'AppObserveAppBuildEmbeddedSummary';
2171
2237
  eventCount: Scalars['Int']['output'];
@@ -3459,28 +3525,6 @@ export type AppObserveUpdatesConnection = {
3459
3525
  totalCount: Scalars['Int']['output'];
3460
3526
  totalDownloads: Scalars['Int']['output'];
3461
3527
  };
3462
- export type AppObserveUpdatesInput = {
3463
- after?: InputMaybe<Scalars['String']['input']>;
3464
- appBuildNumber?: InputMaybe<Scalars['String']['input']>;
3465
- appUpdateId?: InputMaybe<Scalars['String']['input']>;
3466
- appVersion?: InputMaybe<Scalars['String']['input']>;
3467
- endTime: Scalars['DateTime']['input'];
3468
- environment?: InputMaybe<Scalars['String']['input']>;
3469
- first?: InputMaybe<Scalars['Int']['input']>;
3470
- orderBy?: InputMaybe<AppObserveUpdatesOrderBy>;
3471
- platform?: InputMaybe<AppObservePlatform>;
3472
- /** Filter to these platforms. Cannot be set together with platform. */
3473
- platforms?: InputMaybe<Array<AppObservePlatform>>;
3474
- startTime: Scalars['DateTime']['input'];
3475
- };
3476
- export type AppObserveUpdatesOrderBy = {
3477
- direction: AppObserveUpdatesOrderByDirection;
3478
- field: AppObserveUpdatesOrderByField;
3479
- };
3480
- export declare enum AppObserveUpdatesOrderByDirection {
3481
- Asc = "ASC",
3482
- Desc = "DESC"
3483
- }
3484
3528
  export declare enum AppObserveUpdatesOrderByField {
3485
3529
  DownloadCount = "DOWNLOAD_COUNT",
3486
3530
  FirstSeenAt = "FIRST_SEEN_AT",
@@ -4636,6 +4680,7 @@ export declare enum AuthProviderIdentifier {
4636
4680
  MsEntraId = "MS_ENTRA_ID",
4637
4681
  Okta = "OKTA",
4638
4682
  OneLogin = "ONE_LOGIN",
4683
+ Rippling = "RIPPLING",
4639
4684
  StubIdp = "STUB_IDP"
4640
4685
  }
4641
4686
  export type AverageAssetMetrics = {
@@ -4765,6 +4810,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
4765
4810
  embeddedUpdate?: Maybe<EmbeddedUpdate>;
4766
4811
  enqueuedAt?: Maybe<Scalars['DateTime']['output']>;
4767
4812
  error?: Maybe<BuildError>;
4813
+ /** @deprecated Build wait estimates are no longer available. This field returns null. */
4768
4814
  estimatedWaitTimeLeftSeconds?: Maybe<Scalars['Int']['output']>;
4769
4815
  expirationDate?: Maybe<Scalars['DateTime']['output']>;
4770
4816
  fingerprint?: Maybe<Fingerprint>;
@@ -4772,7 +4818,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
4772
4818
  gitCommitMessage?: Maybe<Scalars['String']['output']>;
4773
4819
  gitRef?: Maybe<Scalars['String']['output']>;
4774
4820
  id: Scalars['ID']['output'];
4775
- /** Queue position is 1-indexed */
4821
+ /** @deprecated Build queue position is no longer available. This field returns null. */
4776
4822
  initialQueuePosition?: Maybe<Scalars['Int']['output']>;
4777
4823
  initiatingActor?: Maybe<Actor>;
4778
4824
  iosEnterpriseProvisioning?: Maybe<BuildIosEnterpriseProvisioning>;
@@ -4795,7 +4841,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
4795
4841
  projectMetadataFileUrl?: Maybe<Scalars['String']['output']>;
4796
4842
  projectRootDirectory?: Maybe<Scalars['String']['output']>;
4797
4843
  provisioningStartedAt?: Maybe<Scalars['DateTime']['output']>;
4798
- /** Queue position is 1-indexed */
4844
+ /** @deprecated Build queue position is no longer available. This field returns null. */
4799
4845
  queuePosition?: Maybe<Scalars['Int']['output']>;
4800
4846
  reactNativeVersion?: Maybe<Scalars['String']['output']>;
4801
4847
  releaseChannel?: Maybe<Scalars['String']['output']>;
@@ -5079,6 +5125,11 @@ export type BuildOrBuildJob = {
5079
5125
  id: Scalars['ID']['output'];
5080
5126
  };
5081
5127
  export type BuildParamsInput = {
5128
+ /**
5129
+ * The role of the EXPO_TOKEN that the build gets. The caller must have at least this role on the
5130
+ * account, or the mutation fails. Without it, the token has the default permissions.
5131
+ */
5132
+ expoTokenRole?: InputMaybe<JobExpoTokenRole>;
5082
5133
  reactNativeVersion?: InputMaybe<Scalars['String']['input']>;
5083
5134
  resourceClass: BuildResourceClass;
5084
5135
  sdkVersion?: InputMaybe<Scalars['String']['input']>;
@@ -5480,21 +5531,6 @@ export type CreateConvexTeamConnectionInput = {
5480
5531
  convexTeamName?: InputMaybe<Scalars['String']['input']>;
5481
5532
  deploymentRegion: Scalars['String']['input'];
5482
5533
  };
5483
- export type CreateDeviceRunSessionArtifactUploadSessionInput = {
5484
- filename: Scalars['String']['input'];
5485
- kind?: InputMaybe<Scalars['String']['input']>;
5486
- metadata?: InputMaybe<Scalars['JSONObject']['input']>;
5487
- name: Scalars['String']['input'];
5488
- size: Scalars['ByteSize']['input'];
5489
- };
5490
- export type CreateDeviceRunSessionArtifactUploadSessionResult = {
5491
- __typename?: 'CreateDeviceRunSessionArtifactUploadSessionResult';
5492
- uploadSession: DeviceRunSessionArtifactUploadSession;
5493
- };
5494
- export type CreateDeviceRunSessionEventLogUploadSessionResult = {
5495
- __typename?: 'CreateDeviceRunSessionEventLogUploadSessionResult';
5496
- uploadSession: DeviceRunSessionEventLogUploadSession;
5497
- };
5498
5534
  export type CreateDeviceRunSessionInput = {
5499
5535
  /**
5500
5536
  * The coding agent sending this request, recorded for analytics only and never used for
@@ -5527,6 +5563,14 @@ export type CreateDeviceRunSessionInput = {
5527
5563
  * Mutually exclusive with buildFingerprint, applicationArchiveUrl, and expoGo.
5528
5564
  */
5529
5565
  buildId?: InputMaybe<Scalars['ID']['input']>;
5566
+ /**
5567
+ * Origins of pages that may call the session's preview host API cross-origin, for example to
5568
+ * render the device with @expo/hub-client. Framing the preview does not need this. Same value
5569
+ * rules as frameAncestors. At most 10. The page still needs the preview token from remoteConfig.
5570
+ * If omitted, only expo.dev may call the preview API cross-origin. Available on Production and
5571
+ * Enterprise plans.
5572
+ */
5573
+ corsOrigins?: InputMaybe<Array<Scalars['String']['input']>>;
5530
5574
  /**
5531
5575
  * Where the virtual device's proxied network traffic exits to the internet. If
5532
5576
  * omitted, all traffic exits from EAS infrastructure.
@@ -5544,6 +5588,7 @@ export type CreateDeviceRunSessionInput = {
5544
5588
  * as https://*.example.com; plain http is accepted for localhost only. At most 10. The
5545
5589
  * embedding page still needs the preview token from remoteConfig, and whoever embeds the
5546
5590
  * preview can also control the device. If omitted, only expo.dev may embed the preview.
5591
+ * Available on Production and Enterprise plans.
5547
5592
  */
5548
5593
  frameAncestors?: InputMaybe<Array<Scalars['String']['input']>>;
5549
5594
  /** iOS Simulator options. Only supported when platform is IOS. */
@@ -5555,7 +5600,7 @@ export type CreateDeviceRunSessionInput = {
5555
5600
  launchArgs?: InputMaybe<Array<Scalars['String']['input']>>;
5556
5601
  /**
5557
5602
  * Stop the session automatically after this many minutes without observed
5558
- * session activity. Must be positive and smaller than the session's maximum
5603
+ * session activity. Must be positive and no greater than the session's maximum
5559
5604
  * duration (maxRunTimeMinutes when set). Only supported for
5560
5605
  * agent-device, argent, and Appium sessions. If omitted, the session has no idle
5561
5606
  * timeout.
@@ -5675,13 +5720,6 @@ export type CreateGitHubRepositorySettingsInput = {
5675
5720
  baseDirectory: Scalars['String']['input'];
5676
5721
  };
5677
5722
  export type CreateIosDeviceRunSessionInput = {
5678
- /**
5679
- * Origins of pages that may call the session's preview host API cross-origin, for example to
5680
- * render the device with @expo/hub-client. Framing the preview does not need this. Same value
5681
- * rules as frameAncestors. At most 10. The page still needs the preview token from remoteConfig.
5682
- * If omitted, only expo.dev may call the preview API cross-origin.
5683
- */
5684
- corsOrigins?: InputMaybe<Array<Scalars['String']['input']>>;
5685
5723
  /** Simulator device name or UDID to use for the session (e.g. "iPhone 16 Pro"). */
5686
5724
  deviceIdentifier?: InputMaybe<Scalars['String']['input']>;
5687
5725
  };
@@ -5716,6 +5754,7 @@ export type CreateSandboxInput = {
5716
5754
  agentRunId?: InputMaybe<Scalars['ID']['input']>;
5717
5755
  appId: Scalars['ID']['input'];
5718
5756
  image?: InputMaybe<Scalars['String']['input']>;
5757
+ maxDurationSeconds?: InputMaybe<Scalars['Int']['input']>;
5719
5758
  operatingSystem: SandboxOperatingSystem;
5720
5759
  projectArchive?: InputMaybe<SandboxProjectArchiveInput>;
5721
5760
  resourceClass: SandboxResourceClass;
@@ -6147,11 +6186,6 @@ export type DeviceRunSessionArtifactQuery = {
6147
6186
  export type DeviceRunSessionArtifactQuery_ByIdArgs = {
6148
6187
  deviceRunSessionArtifactId: Scalars['ID']['input'];
6149
6188
  };
6150
- export type DeviceRunSessionArtifactUploadSession = {
6151
- __typename?: 'DeviceRunSessionArtifactUploadSession';
6152
- headers: Scalars['JSONObject']['output'];
6153
- url: Scalars['String']['output'];
6154
- };
6155
6189
  /**
6156
6190
  * Where the virtual device's proxied network traffic exits to the internet. When
6157
6191
  * unset, all traffic exits from EAS infrastructure.
@@ -6167,11 +6201,6 @@ export declare enum DeviceRunSessionEgress {
6167
6201
  */
6168
6202
  Local = "LOCAL"
6169
6203
  }
6170
- export type DeviceRunSessionEventLogUploadSession = {
6171
- __typename?: 'DeviceRunSessionEventLogUploadSession';
6172
- headers: Scalars['JSONObject']['output'];
6173
- url: Scalars['String']['output'];
6174
- };
6175
6204
  export type DeviceRunSessionFilterInput = {
6176
6205
  /** Case-insensitive match anywhere in the session name. */
6177
6206
  name?: InputMaybe<Scalars['String']['input']>;
@@ -6183,20 +6212,8 @@ export type DeviceRunSessionFilterInput = {
6183
6212
  };
6184
6213
  export type DeviceRunSessionMutation = {
6185
6214
  __typename?: 'DeviceRunSessionMutation';
6186
- /** Create an upload session for an artifact while the backing job run is not in a final state */
6187
- createArtifactUploadSession: CreateDeviceRunSessionArtifactUploadSessionResult;
6188
6215
  /** Create a device run session */
6189
6216
  createDeviceRunSession: DeviceRunSession;
6190
- /**
6191
- * Create or reuse a standard artifact and a two-hour upload URL for repeatedly
6192
- * overwriting its structured event log while the backing job run is running.
6193
- */
6194
- createEventLogUploadSession: CreateDeviceRunSessionEventLogUploadSessionResult;
6195
- /**
6196
- * Create or renew a two-hour upload URL for overwriting the session preview.
6197
- * Reuses one WebP artifact while the backing job run is active.
6198
- */
6199
- createPreviewUploadSession: CreateDeviceRunSessionArtifactUploadSessionResult;
6200
6217
  /**
6201
6218
  * Permanently delete a finished session and its artifacts. The backing job,
6202
6219
  * if present, must also have finished. Returns the deleted session ID.
@@ -6208,37 +6225,21 @@ export type DeviceRunSessionMutation = {
6208
6225
  * ERRORED).
6209
6226
  */
6210
6227
  ensureDeviceRunSessionStopped: DeviceRunSession;
6211
- /** Mark a device run session as started and persist remote connection details */
6212
- startDeviceRunSession: DeviceRunSession;
6213
6228
  /**
6214
6229
  * Update a device run session name and tags, including on sessions
6215
6230
  * that have already finished.
6216
6231
  */
6217
6232
  updateDeviceRunSession: DeviceRunSession;
6218
6233
  };
6219
- export type DeviceRunSessionMutation_CreateArtifactUploadSessionArgs = {
6220
- deviceRunSessionId: Scalars['ID']['input'];
6221
- input: CreateDeviceRunSessionArtifactUploadSessionInput;
6222
- };
6223
6234
  export type DeviceRunSessionMutation_CreateDeviceRunSessionArgs = {
6224
6235
  deviceRunSessionInput: CreateDeviceRunSessionInput;
6225
6236
  };
6226
- export type DeviceRunSessionMutation_CreateEventLogUploadSessionArgs = {
6227
- deviceRunSessionId: Scalars['ID']['input'];
6228
- };
6229
- export type DeviceRunSessionMutation_CreatePreviewUploadSessionArgs = {
6230
- deviceRunSessionId: Scalars['ID']['input'];
6231
- };
6232
6237
  export type DeviceRunSessionMutation_DeleteDeviceRunSessionArgs = {
6233
6238
  deviceRunSessionId: Scalars['ID']['input'];
6234
6239
  };
6235
6240
  export type DeviceRunSessionMutation_EnsureDeviceRunSessionStoppedArgs = {
6236
6241
  deviceRunSessionId: Scalars['ID']['input'];
6237
6242
  };
6238
- export type DeviceRunSessionMutation_StartDeviceRunSessionArgs = {
6239
- deviceRunSessionId: Scalars['ID']['input'];
6240
- remoteConfig: Scalars['JSONObject']['input'];
6241
- };
6242
6243
  export type DeviceRunSessionMutation_UpdateDeviceRunSessionArgs = {
6243
6244
  deviceRunSessionId: Scalars['ID']['input'];
6244
6245
  input: UpdateDeviceRunSessionInput;
@@ -6481,7 +6482,9 @@ export declare enum EntityTypeName {
6481
6482
  ConvexProjectEntity = "ConvexProjectEntity",
6482
6483
  ConvexTeamConnectionEntity = "ConvexTeamConnectionEntity",
6483
6484
  CustomerEntity = "CustomerEntity",
6485
+ /** @deprecated This entity type was deleted. Existing audit logs can still reference it. */
6484
6486
  EchoProjectEntity = "EchoProjectEntity",
6487
+ /** @deprecated This entity type was deleted. Existing audit logs can still reference it. */
6485
6488
  EchoVersionEntity = "EchoVersionEntity",
6486
6489
  EnvironmentVariableEntity = "EnvironmentVariableEntity",
6487
6490
  GoogleServiceAccountKeyEntity = "GoogleServiceAccountKeyEntity",
@@ -7304,18 +7307,10 @@ export type GitHubUserMutation = {
7304
7307
  __typename?: 'GitHubUserMutation';
7305
7308
  /** Delete a GitHub User by ID */
7306
7309
  deleteGitHubUser: DeleteGitHubUserResult;
7307
- /**
7308
- * Generate a GitHub User Access Token
7309
- * @deprecated This mutation is scheduled for removal.
7310
- */
7311
- generateGitHubUserAccessToken?: Maybe<Scalars['String']['output']>;
7312
7310
  };
7313
7311
  export type GitHubUserMutation_DeleteGitHubUserArgs = {
7314
7312
  id: Scalars['ID']['input'];
7315
7313
  };
7316
- export type GitHubUserMutation_GenerateGitHubUserAccessTokenArgs = {
7317
- githubAppRegistrationId?: InputMaybe<Scalars['ID']['input']>;
7318
- };
7319
7314
  export type GoogleServiceAccountKey = {
7320
7315
  __typename?: 'GoogleServiceAccountKey';
7321
7316
  account: Account;
@@ -7676,9 +7671,16 @@ export type IosSubmissionConfigInput = {
7676
7671
  groups?: InputMaybe<Array<Scalars['String']['input']>>;
7677
7672
  isVerboseFastlaneEnabled?: InputMaybe<Scalars['Boolean']['input']>;
7678
7673
  };
7674
+ /** A role that a build can request for its EXPO_TOKEN. */
7675
+ export declare enum JobExpoTokenRole {
7676
+ Developer = "DEVELOPER",
7677
+ ReleaseManager = "RELEASE_MANAGER",
7678
+ Runner = "RUNNER"
7679
+ }
7679
7680
  /** Represents a Turtle Job Run */
7680
7681
  export type JobRun = {
7681
7682
  __typename?: 'JobRun';
7683
+ agentRun?: Maybe<AgentRun>;
7682
7684
  app: App;
7683
7685
  artifacts: Array<WorkflowArtifact>;
7684
7686
  createdAt: Scalars['DateTime']['output'];
@@ -8542,7 +8544,7 @@ export type RootMutation = {
8542
8544
  deployments: DeploymentsMutation;
8543
8545
  /** Mutations that assign or modify DevDomainNames for apps */
8544
8546
  devDomainName: AppDevDomainNameMutation;
8545
- /** Mutations that create, start, stop, and update device run sessions */
8547
+ /** Mutations that create, stop, update, and delete device run sessions */
8546
8548
  deviceRunSession: DeviceRunSessionMutation;
8547
8549
  /** Mutations for Discord users */
8548
8550
  discordUser: DiscordUserMutation;
@@ -8655,6 +8657,7 @@ export type RootQuery = {
8655
8657
  account: AccountQuery;
8656
8658
  /** Top-level query object for querying AccountSSOConfigurationPublicData */
8657
8659
  accountSSOConfigurationPublicData: AccountSsoConfigurationPublicDataQuery;
8660
+ agentRuns: AgentRunQuery;
8658
8661
  app: AppQuery;
8659
8662
  /**
8660
8663
  * Look up app by app id
@@ -8942,6 +8945,7 @@ export type Sandbox = {
8942
8945
  finishedAt?: Maybe<Scalars['DateTime']['output']>;
8943
8946
  id: Scalars['ID']['output'];
8944
8947
  lastUsedAt: Scalars['DateTime']['output'];
8948
+ maxDurationSeconds?: Maybe<Scalars['Int']['output']>;
8945
8949
  startedAt?: Maybe<Scalars['DateTime']['output']>;
8946
8950
  status: SandboxStatus;
8947
8951
  turtleJobRun: JobRun;
@@ -9167,8 +9171,6 @@ export type ServeSimRunSessionRemoteConfig = {
9167
9171
  /** Session token gating the preview. Null when the preview runs ungated. */
9168
9172
  previewToken?: Maybe<Scalars['String']['output']>;
9169
9173
  previewUrl: Scalars['String']['output'];
9170
- /** @deprecated Use previewUrl instead. */
9171
- streamUrl?: Maybe<Scalars['String']['output']>;
9172
9174
  };
9173
9175
  export type SetSupabaseConnectionOrganizationInput = {
9174
9176
  organizationSlug: Scalars['String']['input'];
@@ -10305,10 +10307,14 @@ export type UsageBudget = {
10305
10307
  export type UsageBudgetLimits = {
10306
10308
  __typename?: 'UsageBudgetLimits';
10307
10309
  builds?: Maybe<Scalars['Int']['output']>;
10310
+ concurrentSandboxes?: Maybe<Scalars['Int']['output']>;
10311
+ sandboxMinutes?: Maybe<Scalars['Int']['output']>;
10308
10312
  simulatorMinutes?: Maybe<Scalars['Int']['output']>;
10309
10313
  };
10310
10314
  export type UsageBudgetLimitsInput = {
10311
10315
  builds?: InputMaybe<Scalars['Int']['input']>;
10316
+ concurrentSandboxes?: InputMaybe<Scalars['Int']['input']>;
10317
+ sandboxMinutes?: InputMaybe<Scalars['Int']['input']>;
10312
10318
  simulatorMinutes?: InputMaybe<Scalars['Int']['input']>;
10313
10319
  };
10314
10320
  export type UsageBudgetMutation = {
@@ -10329,6 +10335,10 @@ export type UsageBudgetRemaining = {
10329
10335
  __typename?: 'UsageBudgetRemaining';
10330
10336
  /** Available builds, or null when there is no build limit. */
10331
10337
  builds?: Maybe<Scalars['Int']['output']>;
10338
+ /** Available sandbox slots, including starting and running sandboxes, or null when unlimited. */
10339
+ concurrentSandboxes?: Maybe<Scalars['Int']['output']>;
10340
+ /** Available minutes after completed usage and active reservations, or null when unlimited. */
10341
+ sandboxMinutes?: Maybe<Scalars['Float']['output']>;
10332
10342
  /** Available minutes after completed usage and active reservations, or null when unlimited. */
10333
10343
  simulatorMinutes?: Maybe<Scalars['Float']['output']>;
10334
10344
  };
@@ -19651,6 +19661,30 @@ export type DeviceRunSessionEventsByIdQuery = {
19651
19661
  };
19652
19662
  };
19653
19663
  };
19664
+ export type DeviceRunSessionJobRunErrorsByIdQueryVariables = Exact<{
19665
+ deviceRunSessionId: Scalars['ID']['input'];
19666
+ }>;
19667
+ export type DeviceRunSessionJobRunErrorsByIdQuery = {
19668
+ __typename?: 'RootQuery';
19669
+ deviceRunSessions: {
19670
+ __typename?: 'DeviceRunSessionQuery';
19671
+ byId: {
19672
+ __typename?: 'DeviceRunSession';
19673
+ id: string;
19674
+ turtleJobRun?: {
19675
+ __typename?: 'JobRun';
19676
+ id: string;
19677
+ logFileUrls: Array<string>;
19678
+ errors: Array<{
19679
+ __typename?: 'JobRunError';
19680
+ errorCode: string;
19681
+ message: string;
19682
+ docsUrl?: string | null;
19683
+ }>;
19684
+ } | null;
19685
+ };
19686
+ };
19687
+ };
19654
19688
  export type DeviceRunSessionByIdQueryVariables = Exact<{
19655
19689
  deviceRunSessionId: Scalars['ID']['input'];
19656
19690
  }>;