eas-cli 25.3.0 → 27.1.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 (81) hide show
  1. package/README.md +268 -198
  2. package/build/build/build.js +6 -0
  3. package/build/build/createContext.d.ts +4 -3
  4. package/build/build/createContext.js +1 -4
  5. package/build/build/errors.d.ts +2 -0
  6. package/build/build/errors.js +4 -1
  7. package/build/build/evaluateConfigWithEnvVarsAsync.js +1 -3
  8. package/build/build/runBuildAndSubmit.d.ts +7 -2
  9. package/build/build/runBuildAndSubmit.js +9 -8
  10. package/build/build/utils/expoTokenRole.d.ts +4 -0
  11. package/build/build/utils/expoTokenRole.js +14 -0
  12. package/build/commandUtils/EasCommand.js +3 -3
  13. package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +2 -2
  14. package/build/commandUtils/context/DynamicProjectConfigContextField.js +40 -61
  15. package/build/commandUtils/context/LoggedInContextField.js +1 -2
  16. package/build/commandUtils/context/MaybeLoggedInContextField.js +1 -2
  17. package/build/commandUtils/context/OptionalPrivateProjectConfigContextField.js +3 -1
  18. package/build/commandUtils/context/PrivateProjectConfigContextField.js +3 -1
  19. package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +2 -1
  20. package/build/commandUtils/context/contextUtils/getProjectIdAsync.d.ts +1 -0
  21. package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +5 -2
  22. package/build/commandUtils/workflow/referencedFiles.d.ts +6 -0
  23. package/build/commandUtils/workflow/referencedFiles.js +63 -0
  24. package/build/commandUtils/workflow/types.d.ts +1 -1
  25. package/build/commandUtils/workflow/utils.js +34 -5
  26. package/build/commands/account/login.js +6 -0
  27. package/build/commands/account/view.d.ts +0 -7
  28. package/build/commands/account/view.js +4 -74
  29. package/build/commands/browse.js +1 -1
  30. package/build/commands/build/dev.js +3 -3
  31. package/build/commands/channel/delete.js +1 -1
  32. package/build/commands/channel/rollout.js +1 -1
  33. package/build/commands/credentials/configure-build.js +1 -1
  34. package/build/commands/deploy/alias/delete.js +1 -1
  35. package/build/commands/deploy/alias/index.js +1 -1
  36. package/build/commands/deploy/delete.js +1 -1
  37. package/build/commands/go.js +1 -1
  38. package/build/commands/observe/event.js +1 -1
  39. package/build/commands/observe/events.js +1 -1
  40. package/build/commands/project/new.js +1 -1
  41. package/build/commands/simulator/control.js +42 -7
  42. package/build/commands/simulator/get.js +14 -1
  43. package/build/commands/simulator/index.js +12 -4
  44. package/build/commands/simulator/logs.d.ts +22 -0
  45. package/build/commands/simulator/logs.js +188 -0
  46. package/build/commands/workflow/cancel.js +9 -20
  47. package/build/commands/workflow/list.js +1 -1
  48. package/build/commands/workflow/logs.js +1 -1
  49. package/build/commands/workflow/run.js +10 -1
  50. package/build/commands/workflow/runs.js +1 -1
  51. package/build/commands/workflow/status.js +1 -1
  52. package/build/commands/workflow/view.js +1 -1
  53. package/build/graphql/generated.d.ts +438 -115
  54. package/build/graphql/generated.js +40 -9
  55. package/build/graphql/mutations/WorkflowRevisionMutation.d.ts +3 -2
  56. package/build/graphql/mutations/WorkflowRevisionMutation.js +12 -3
  57. package/build/graphql/queries/DeviceRunSessionQuery.d.ts +8 -1
  58. package/build/graphql/queries/DeviceRunSessionQuery.js +67 -0
  59. package/build/graphql/queries/WorkflowRunQuery.js +6 -0
  60. package/build/graphql/types/WorkflowRun.js +1 -0
  61. package/build/help.js +13 -6
  62. package/build/log.d.ts +2 -0
  63. package/build/log.js +10 -0
  64. package/build/project/projectStatus.js +1 -0
  65. package/build/simulator/artifacts.d.ts +9 -0
  66. package/build/simulator/artifacts.js +97 -0
  67. package/build/simulator/download.d.ts +2 -0
  68. package/build/simulator/download.js +57 -0
  69. package/build/simulator/events.js +2 -10
  70. package/build/simulator/jobRunErrors.d.ts +22 -0
  71. package/build/simulator/jobRunErrors.js +134 -0
  72. package/build/simulator/preview.d.ts +26 -0
  73. package/build/simulator/preview.js +156 -0
  74. package/build/simulator/utils.d.ts +5 -0
  75. package/build/simulator/utils.js +42 -0
  76. package/build/user/SessionManager.d.ts +10 -0
  77. package/build/user/SessionManager.js +12 -0
  78. package/build/user/accountPermissions.d.ts +11 -0
  79. package/build/user/accountPermissions.js +89 -0
  80. package/oclif.manifest.json +169 -21
  81. package/package.json +7 -7
@@ -221,12 +221,25 @@ 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.
241
+ */
242
+ environmentVariableProtectionEnabled: Scalars['Boolean']['output'];
230
243
  /** Environment variables for an account */
231
244
  environmentVariables: Array<EnvironmentVariable>;
232
245
  /** Environment variables for an account with decrypted secret values */
@@ -728,8 +741,23 @@ export type AccountMutation = {
728
741
  requestRefund?: Maybe<Scalars['Boolean']['output']>;
729
742
  /** Revoke specified Permissions for Actor. Actor must already have at least one permission on the account. */
730
743
  revokeActorPermissions: Account;
744
+ /**
745
+ * Set whether credentials protection is on for this account. When it is on, reading, creating,
746
+ * changing, or deleting build, submission, and push credentials needs the PUBLISH_PROTECTED
747
+ * permission on the account, in every project of the account. Requires the ADMIN permission on
748
+ * the account.
749
+ */
750
+ setCredentialsProtectionEnabled: Account;
731
751
  /** Set the display name for the account. Pass null to clear it and fall back to the account identifier. */
732
752
  setDisplayName: Account;
753
+ /**
754
+ * Set whether environment variable protection is on for this account. When it is on, reading,
755
+ * using, creating, changing, or deleting an environment variable whose environments are
756
+ * exclusively production needs the PUBLISH_PROTECTED permission on the account, whatever its
757
+ * visibility, in every project of the account. Requires the ADMIN permission on the account.
758
+ * Turning protection off also requires a sudo session.
759
+ */
760
+ setEnvironmentVariableProtectionEnabled: Account;
733
761
  /** Set whether EAS Observe ingestion is paused for this account. */
734
762
  setObserveIngestionPaused: Account;
735
763
  /** Require authorization to send push notifications for experiences owned by this account */
@@ -782,10 +810,18 @@ export type AccountMutation_RevokeActorPermissionsArgs = {
782
810
  actorID: Scalars['ID']['input'];
783
811
  permissions?: InputMaybe<Array<InputMaybe<Permission>>>;
784
812
  };
813
+ export type AccountMutation_SetCredentialsProtectionEnabledArgs = {
814
+ accountID: Scalars['ID']['input'];
815
+ credentialsProtectionEnabled: Scalars['Boolean']['input'];
816
+ };
785
817
  export type AccountMutation_SetDisplayNameArgs = {
786
818
  accountID: Scalars['ID']['input'];
787
819
  displayName?: InputMaybe<Scalars['String']['input']>;
788
820
  };
821
+ export type AccountMutation_SetEnvironmentVariableProtectionEnabledArgs = {
822
+ accountID: Scalars['ID']['input'];
823
+ environmentVariableProtectionEnabled: Scalars['Boolean']['input'];
824
+ };
789
825
  export type AccountMutation_SetObserveIngestionPausedArgs = {
790
826
  accountID: Scalars['ID']['input'];
791
827
  paused: Scalars['Boolean']['input'];
@@ -955,6 +991,7 @@ export type ActivityTimelineProjectActivity = {
955
991
  };
956
992
  export declare enum ActivityTimelineProjectActivityType {
957
993
  Build = "BUILD",
994
+ DeviceRunSession = "DEVICE_RUN_SESSION",
958
995
  Submission = "SUBMISSION",
959
996
  Update = "UPDATE",
960
997
  Worker = "WORKER",
@@ -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,16 +2145,13 @@ 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
- /** One session's metrics and logs for the timeline (ENG-26160). Unknown session ids yield empty lists. */
2148
+ /** One session's metrics, logs and spans for the timeline (ENG-26160). Unknown session ids yield empty lists. */
2072
2149
  session: AppObserveSession;
2073
2150
  /** @deprecated Use metrics.timeSeries instead. */
2074
2151
  timeSeries: AppObserveTimeSeries;
2075
2152
  totalEventCount: Scalars['Int']['output'];
2153
+ /** Trace spans: today the HTTP request spans recorded with the SDK's networkTraces option (ENG-28448). */
2154
+ traces: AppObserveTraces;
2076
2155
  /**
2077
2156
  * Approximate count of unique users (`eas_client_id`) with at least one
2078
2157
  * supported-metric event in `[startTime, endTime)`. Uses a ClickHouse
@@ -2082,11 +2161,6 @@ export type AppObserve = {
2082
2161
  * universe used by `appVersions` headline counts.
2083
2162
  */
2084
2163
  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
2164
  /** Namespaced successor API (ENG-26160). Prefer over the flat `customEventNames`/`customEventList` fields. */
2091
2165
  userEvents: AppObserveUserEvents;
2092
2166
  };
@@ -2151,9 +2225,6 @@ export type AppObserve_OverviewEngagementArgs = {
2151
2225
  export type AppObserve_OverviewStabilityArgs = {
2152
2226
  input: AppObserveOverviewStabilityInput;
2153
2227
  };
2154
- export type AppObserve_OverviewVersionComparisonArgs = {
2155
- input: AppObserveOverviewVersionComparisonInput;
2156
- };
2157
2228
  export type AppObserve_SessionArgs = {
2158
2229
  id: Scalars['ID']['input'];
2159
2230
  };
@@ -2163,9 +2234,6 @@ export type AppObserve_TimeSeriesArgs = {
2163
2234
  export type AppObserve_UniqueActiveUserCountArgs = {
2164
2235
  input: AppObserveReleasesInput;
2165
2236
  };
2166
- export type AppObserve_UpdatesArgs = {
2167
- input: AppObserveUpdatesInput;
2168
- };
2169
2237
  export type AppObserveAppBuildEmbeddedSummary = {
2170
2238
  __typename?: 'AppObserveAppBuildEmbeddedSummary';
2171
2239
  eventCount: Scalars['Int']['output'];
@@ -3352,6 +3420,8 @@ export type AppObserveSession = {
3352
3420
  logs: AppObserveLogConnection;
3353
3421
  /** Metric samples in the session. */
3354
3422
  metrics: AppObserveMetricConnection;
3423
+ /** Trace spans in the session. Defaults to oldest first. */
3424
+ spans: AppObserveSpanConnection;
3355
3425
  };
3356
3426
  export type AppObserveSession_LogsArgs = {
3357
3427
  after?: InputMaybe<Scalars['String']['input']>;
@@ -3367,6 +3437,177 @@ export type AppObserveSession_MetricsArgs = {
3367
3437
  last?: InputMaybe<Scalars['Int']['input']>;
3368
3438
  orderBy?: InputMaybe<AppObserveMetricsListOrderBy>;
3369
3439
  };
3440
+ export type AppObserveSession_SpansArgs = {
3441
+ after?: InputMaybe<Scalars['String']['input']>;
3442
+ filter?: InputMaybe<AppObserveSessionSpanFilter>;
3443
+ first?: InputMaybe<Scalars['Int']['input']>;
3444
+ orderBy?: InputMaybe<AppObserveSpanListOrderBy>;
3445
+ };
3446
+ /** Filters for the spans of one session. The session already bounds the query. */
3447
+ export type AppObserveSessionSpanFilter = {
3448
+ hosts?: InputMaybe<Array<Scalars['String']['input']>>;
3449
+ httpStatusCodes?: InputMaybe<Array<Scalars['Int']['input']>>;
3450
+ kinds?: InputMaybe<Array<AppObserveSpanKind>>;
3451
+ minDurationMs?: InputMaybe<Scalars['Float']['input']>;
3452
+ names?: InputMaybe<Array<Scalars['String']['input']>>;
3453
+ rootOnly?: InputMaybe<Scalars['Boolean']['input']>;
3454
+ statusCodes?: InputMaybe<Array<AppObserveSpanStatusCode>>;
3455
+ };
3456
+ export type AppObserveSpan = {
3457
+ __typename?: 'AppObserveSpan';
3458
+ appBuildNumber: Scalars['String']['output'];
3459
+ appEasBuildId?: Maybe<Scalars['String']['output']>;
3460
+ appIdentifier: Scalars['String']['output'];
3461
+ appUpdateId?: Maybe<Scalars['String']['output']>;
3462
+ appVersion: Scalars['String']['output'];
3463
+ /** Span attributes other than those extracted to dedicated fields. */
3464
+ attributes: Array<AppObserveEventProperty>;
3465
+ clientVersion?: Maybe<Scalars['String']['output']>;
3466
+ countryCode?: Maybe<Scalars['String']['output']>;
3467
+ deviceLanguageTag?: Maybe<Scalars['String']['output']>;
3468
+ deviceModel: Scalars['String']['output'];
3469
+ deviceOs: Scalars['String']['output'];
3470
+ deviceOsVersion: Scalars['String']['output'];
3471
+ droppedAttributesCount: Scalars['Int']['output'];
3472
+ droppedEventsCount: Scalars['Int']['output'];
3473
+ /** Span links are not stored; this counts the links received. */
3474
+ droppedLinksCount: Scalars['Int']['output'];
3475
+ /** Keeps sub-millisecond precision. */
3476
+ durationMs: Scalars['Float']['output'];
3477
+ easClientId: Scalars['String']['output'];
3478
+ endTimestamp: Scalars['DateTime']['output'];
3479
+ environment?: Maybe<Scalars['String']['output']>;
3480
+ events: Array<AppObserveSpanEvent>;
3481
+ expoSdkVersion?: Maybe<Scalars['String']['output']>;
3482
+ /** Null when the span is not an HTTP request span. */
3483
+ http?: Maybe<AppObserveSpanHttp>;
3484
+ id: Scalars['ID']['output'];
3485
+ ingestedAt?: Maybe<Scalars['DateTime']['output']>;
3486
+ kind: AppObserveSpanKind;
3487
+ /** Per the producer's semantic conventions: the HTTP method for request spans. */
3488
+ name: Scalars['String']['output'];
3489
+ /** Null for a root span. */
3490
+ parentSpanId?: Maybe<Scalars['String']['output']>;
3491
+ reactNativeVersion?: Maybe<Scalars['String']['output']>;
3492
+ sessionId?: Maybe<Scalars['String']['output']>;
3493
+ spanId: Scalars['String']['output'];
3494
+ startTimestamp: Scalars['DateTime']['output'];
3495
+ statusCode: AppObserveSpanStatusCode;
3496
+ statusMessage?: Maybe<Scalars['String']['output']>;
3497
+ traceId: Scalars['String']['output'];
3498
+ };
3499
+ export type AppObserveSpanAttributeFilter = {
3500
+ key: Scalars['String']['input'];
3501
+ value: Scalars['String']['input'];
3502
+ };
3503
+ export type AppObserveSpanConnection = {
3504
+ __typename?: 'AppObserveSpanConnection';
3505
+ edges: Array<AppObserveSpanEdge>;
3506
+ pageInfo: PageInfo;
3507
+ };
3508
+ export type AppObserveSpanEdge = {
3509
+ __typename?: 'AppObserveSpanEdge';
3510
+ cursor: Scalars['String']['output'];
3511
+ node: AppObserveSpan;
3512
+ };
3513
+ export type AppObserveSpanEvent = {
3514
+ __typename?: 'AppObserveSpanEvent';
3515
+ /** The event's attributes as a JSON object. */
3516
+ attributes: Scalars['JSON']['output'];
3517
+ name: Scalars['String']['output'];
3518
+ timestamp: Scalars['DateTime']['output'];
3519
+ };
3520
+ /** HTTP request fields of a span, from the OpenTelemetry HTTP client semantic conventions. */
3521
+ export type AppObserveSpanHttp = {
3522
+ __typename?: 'AppObserveSpanHttp';
3523
+ /** Set when the request failed before a response: an NSURLError code on iOS, an exception class on Android. */
3524
+ errorType?: Maybe<Scalars['String']['output']>;
3525
+ method?: Maybe<Scalars['String']['output']>;
3526
+ protocolVersion?: Maybe<Scalars['String']['output']>;
3527
+ /** On-the-wire bytes including headers. */
3528
+ requestSize?: Maybe<Scalars['Int']['output']>;
3529
+ responseSize?: Maybe<Scalars['Int']['output']>;
3530
+ /** Null when the request got no response. */
3531
+ statusCode?: Maybe<Scalars['Int']['output']>;
3532
+ /** Credentials and signing query parameters are redacted at ingestion. */
3533
+ urlFull?: Maybe<Scalars['String']['output']>;
3534
+ urlHost?: Maybe<Scalars['String']['output']>;
3535
+ };
3536
+ export declare enum AppObserveSpanKind {
3537
+ Client = "CLIENT",
3538
+ Consumer = "CONSUMER",
3539
+ Internal = "INTERNAL",
3540
+ Producer = "PRODUCER",
3541
+ Server = "SERVER",
3542
+ Unspecified = "UNSPECIFIED"
3543
+ }
3544
+ export type AppObserveSpanListFilter = {
3545
+ appBuildNumber?: InputMaybe<Scalars['String']['input']>;
3546
+ appEasBuildId?: InputMaybe<Scalars['String']['input']>;
3547
+ appUpdateId?: InputMaybe<Scalars['String']['input']>;
3548
+ appVersion?: InputMaybe<Scalars['String']['input']>;
3549
+ /** At most 5. Matches spans whose attribute has exactly this value. */
3550
+ attributeFilters?: InputMaybe<Array<AppObserveSpanAttributeFilter>>;
3551
+ easClientId?: InputMaybe<Scalars['String']['input']>;
3552
+ endTime: Scalars['DateTime']['input'];
3553
+ environment?: InputMaybe<Scalars['String']['input']>;
3554
+ /** HTTP request spans to any of these hosts. */
3555
+ hosts?: InputMaybe<Array<Scalars['String']['input']>>;
3556
+ /** HTTP request spans with any of these response status codes. */
3557
+ httpStatusCodes?: InputMaybe<Array<Scalars['Int']['input']>>;
3558
+ isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
3559
+ kinds?: InputMaybe<Array<AppObserveSpanKind>>;
3560
+ minDurationMs?: InputMaybe<Scalars['Float']['input']>;
3561
+ /** Span names, such as GET or POST. The cheapest filter: span name is in the table's sort key. */
3562
+ names?: InputMaybe<Array<Scalars['String']['input']>>;
3563
+ /** Filter to these platforms. */
3564
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
3565
+ /** Only spans with no parent. */
3566
+ rootOnly?: InputMaybe<Scalars['Boolean']['input']>;
3567
+ sessionId?: InputMaybe<Scalars['String']['input']>;
3568
+ startTime: Scalars['DateTime']['input'];
3569
+ statusCodes?: InputMaybe<Array<AppObserveSpanStatusCode>>;
3570
+ /** 32-character hex trace id. */
3571
+ traceId?: InputMaybe<Scalars['String']['input']>;
3572
+ };
3573
+ export type AppObserveSpanListOrderBy = {
3574
+ direction: AppObserveOrderDirection;
3575
+ field: AppObserveSpanListOrderByField;
3576
+ };
3577
+ export declare enum AppObserveSpanListOrderByField {
3578
+ StartTimestamp = "START_TIMESTAMP"
3579
+ }
3580
+ export type AppObserveSpanName = {
3581
+ __typename?: 'AppObserveSpanName';
3582
+ count: Scalars['Int']['output'];
3583
+ kind: AppObserveSpanKind;
3584
+ name: Scalars['String']['output'];
3585
+ };
3586
+ export type AppObserveSpanNames = {
3587
+ __typename?: 'AppObserveSpanNames';
3588
+ /** True when more names exist than were returned (top-N truncation). */
3589
+ isTruncated: Scalars['Boolean']['output'];
3590
+ names: Array<AppObserveSpanName>;
3591
+ };
3592
+ export type AppObserveSpanNamesInput = {
3593
+ appBuildNumber?: InputMaybe<Scalars['String']['input']>;
3594
+ appEasBuildId?: InputMaybe<Scalars['String']['input']>;
3595
+ appUpdateId?: InputMaybe<Scalars['String']['input']>;
3596
+ appVersion?: InputMaybe<Scalars['String']['input']>;
3597
+ endTime: Scalars['DateTime']['input'];
3598
+ environment?: InputMaybe<Scalars['String']['input']>;
3599
+ isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
3600
+ /** Maximum names to return, 1 to 500. Defaults to 100. */
3601
+ limit?: InputMaybe<Scalars['Int']['input']>;
3602
+ /** Filter to these platforms. */
3603
+ platforms?: InputMaybe<Array<AppObservePlatform>>;
3604
+ startTime: Scalars['DateTime']['input'];
3605
+ };
3606
+ export declare enum AppObserveSpanStatusCode {
3607
+ Error = "ERROR",
3608
+ Ok = "OK",
3609
+ Unset = "UNSET"
3610
+ }
3370
3611
  /** Stability-tile filters. No release filters: the tiles always span all versions. */
3371
3612
  export type AppObserveStabilityInput = {
3372
3613
  /** Series bucket size. Defaults to one day. */
@@ -3425,6 +3666,60 @@ export type AppObserveTimeSeriesStatistics = {
3425
3666
  p90?: Maybe<Scalars['Float']['output']>;
3426
3667
  p99?: Maybe<Scalars['Float']['output']>;
3427
3668
  };
3669
+ export type AppObserveTrace = {
3670
+ __typename?: 'AppObserveTrace';
3671
+ id: Scalars['ID']['output'];
3672
+ /** True when the trace has more spans than were returned. */
3673
+ isTruncated: Scalars['Boolean']['output'];
3674
+ /** Oldest first. The root span, when present, is the one with no parent. */
3675
+ spans: Array<AppObserveSpan>;
3676
+ };
3677
+ /**
3678
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3679
+ * API is generic so other span producers can be added without a schema change.
3680
+ */
3681
+ export type AppObserveTraces = {
3682
+ __typename?: 'AppObserveTraces';
3683
+ /** Distinct span names and kinds with counts over the time range, most frequent first. */
3684
+ names: AppObserveSpanNames;
3685
+ /** A single span by id. Null when missing or aged out of retention. */
3686
+ span?: Maybe<AppObserveSpan>;
3687
+ /** Individual spans. Defaults to newest first. */
3688
+ spans: AppObserveSpanConnection;
3689
+ /** All spans of one trace by its 32-character hex trace id. Null when unknown or aged out of retention. */
3690
+ trace?: Maybe<AppObserveTrace>;
3691
+ };
3692
+ /**
3693
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3694
+ * API is generic so other span producers can be added without a schema change.
3695
+ */
3696
+ export type AppObserveTraces_NamesArgs = {
3697
+ input: AppObserveSpanNamesInput;
3698
+ };
3699
+ /**
3700
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3701
+ * API is generic so other span producers can be added without a schema change.
3702
+ */
3703
+ export type AppObserveTraces_SpanArgs = {
3704
+ id: Scalars['ID']['input'];
3705
+ };
3706
+ /**
3707
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3708
+ * API is generic so other span producers can be added without a schema change.
3709
+ */
3710
+ export type AppObserveTraces_SpansArgs = {
3711
+ after?: InputMaybe<Scalars['String']['input']>;
3712
+ filter: AppObserveSpanListFilter;
3713
+ first?: InputMaybe<Scalars['Int']['input']>;
3714
+ orderBy?: InputMaybe<AppObserveSpanListOrderBy>;
3715
+ };
3716
+ /**
3717
+ * Trace spans (app_traces rows, one per span). Today the SDK records only HTTP request spans; the
3718
+ * API is generic so other span producers can be added without a schema change.
3719
+ */
3720
+ export type AppObserveTraces_TraceArgs = {
3721
+ id: Scalars['ID']['input'];
3722
+ };
3428
3723
  export type AppObserveUpdate = {
3429
3724
  __typename?: 'AppObserveUpdate';
3430
3725
  appUpdateId: Scalars['String']['output'];
@@ -3459,28 +3754,6 @@ export type AppObserveUpdatesConnection = {
3459
3754
  totalCount: Scalars['Int']['output'];
3460
3755
  totalDownloads: Scalars['Int']['output'];
3461
3756
  };
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
3757
  export declare enum AppObserveUpdatesOrderByField {
3485
3758
  DownloadCount = "DOWNLOAD_COUNT",
3486
3759
  FirstSeenAt = "FIRST_SEEN_AT",
@@ -4636,6 +4909,7 @@ export declare enum AuthProviderIdentifier {
4636
4909
  MsEntraId = "MS_ENTRA_ID",
4637
4910
  Okta = "OKTA",
4638
4911
  OneLogin = "ONE_LOGIN",
4912
+ Rippling = "RIPPLING",
4639
4913
  StubIdp = "STUB_IDP"
4640
4914
  }
4641
4915
  export type AverageAssetMetrics = {
@@ -4765,6 +5039,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
4765
5039
  embeddedUpdate?: Maybe<EmbeddedUpdate>;
4766
5040
  enqueuedAt?: Maybe<Scalars['DateTime']['output']>;
4767
5041
  error?: Maybe<BuildError>;
5042
+ /** @deprecated Build wait estimates are no longer available. This field returns null. */
4768
5043
  estimatedWaitTimeLeftSeconds?: Maybe<Scalars['Int']['output']>;
4769
5044
  expirationDate?: Maybe<Scalars['DateTime']['output']>;
4770
5045
  fingerprint?: Maybe<Fingerprint>;
@@ -4772,7 +5047,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
4772
5047
  gitCommitMessage?: Maybe<Scalars['String']['output']>;
4773
5048
  gitRef?: Maybe<Scalars['String']['output']>;
4774
5049
  id: Scalars['ID']['output'];
4775
- /** Queue position is 1-indexed */
5050
+ /** @deprecated Build queue position is no longer available. This field returns null. */
4776
5051
  initialQueuePosition?: Maybe<Scalars['Int']['output']>;
4777
5052
  initiatingActor?: Maybe<Actor>;
4778
5053
  iosEnterpriseProvisioning?: Maybe<BuildIosEnterpriseProvisioning>;
@@ -4795,7 +5070,7 @@ export type Build = ActivityTimelineProjectActivity & BuildOrBuildJob & {
4795
5070
  projectMetadataFileUrl?: Maybe<Scalars['String']['output']>;
4796
5071
  projectRootDirectory?: Maybe<Scalars['String']['output']>;
4797
5072
  provisioningStartedAt?: Maybe<Scalars['DateTime']['output']>;
4798
- /** Queue position is 1-indexed */
5073
+ /** @deprecated Build queue position is no longer available. This field returns null. */
4799
5074
  queuePosition?: Maybe<Scalars['Int']['output']>;
4800
5075
  reactNativeVersion?: Maybe<Scalars['String']['output']>;
4801
5076
  releaseChannel?: Maybe<Scalars['String']['output']>;
@@ -5079,6 +5354,11 @@ export type BuildOrBuildJob = {
5079
5354
  id: Scalars['ID']['output'];
5080
5355
  };
5081
5356
  export type BuildParamsInput = {
5357
+ /**
5358
+ * The role of the EXPO_TOKEN that the build gets. The caller must have at least this role on the
5359
+ * account, or the mutation fails. Without it, the token has the default permissions.
5360
+ */
5361
+ expoTokenRole?: InputMaybe<JobExpoTokenRole>;
5082
5362
  reactNativeVersion?: InputMaybe<Scalars['String']['input']>;
5083
5363
  resourceClass: BuildResourceClass;
5084
5364
  sdkVersion?: InputMaybe<Scalars['String']['input']>;
@@ -5480,21 +5760,6 @@ export type CreateConvexTeamConnectionInput = {
5480
5760
  convexTeamName?: InputMaybe<Scalars['String']['input']>;
5481
5761
  deploymentRegion: Scalars['String']['input'];
5482
5762
  };
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
5763
  export type CreateDeviceRunSessionInput = {
5499
5764
  /**
5500
5765
  * The coding agent sending this request, recorded for analytics only and never used for
@@ -5527,6 +5792,14 @@ export type CreateDeviceRunSessionInput = {
5527
5792
  * Mutually exclusive with buildFingerprint, applicationArchiveUrl, and expoGo.
5528
5793
  */
5529
5794
  buildId?: InputMaybe<Scalars['ID']['input']>;
5795
+ /**
5796
+ * Origins of pages that may call the session's preview host API cross-origin, for example to
5797
+ * render the device with @expo/hub-client. Framing the preview does not need this. Same value
5798
+ * rules as frameAncestors. At most 10. The page still needs the preview token from remoteConfig.
5799
+ * If omitted, only expo.dev may call the preview API cross-origin. Available on Production and
5800
+ * Enterprise plans.
5801
+ */
5802
+ corsOrigins?: InputMaybe<Array<Scalars['String']['input']>>;
5530
5803
  /**
5531
5804
  * Where the virtual device's proxied network traffic exits to the internet. If
5532
5805
  * omitted, all traffic exits from EAS infrastructure.
@@ -5544,6 +5817,7 @@ export type CreateDeviceRunSessionInput = {
5544
5817
  * as https://*.example.com; plain http is accepted for localhost only. At most 10. The
5545
5818
  * embedding page still needs the preview token from remoteConfig, and whoever embeds the
5546
5819
  * preview can also control the device. If omitted, only expo.dev may embed the preview.
5820
+ * Available on Production and Enterprise plans.
5547
5821
  */
5548
5822
  frameAncestors?: InputMaybe<Array<Scalars['String']['input']>>;
5549
5823
  /** iOS Simulator options. Only supported when platform is IOS. */
@@ -5555,7 +5829,7 @@ export type CreateDeviceRunSessionInput = {
5555
5829
  launchArgs?: InputMaybe<Array<Scalars['String']['input']>>;
5556
5830
  /**
5557
5831
  * Stop the session automatically after this many minutes without observed
5558
- * session activity. Must be positive and smaller than the session's maximum
5832
+ * session activity. Must be positive and no greater than the session's maximum
5559
5833
  * duration (maxRunTimeMinutes when set). Only supported for
5560
5834
  * agent-device, argent, and Appium sessions. If omitted, the session has no idle
5561
5835
  * timeout.
@@ -5675,13 +5949,6 @@ export type CreateGitHubRepositorySettingsInput = {
5675
5949
  baseDirectory: Scalars['String']['input'];
5676
5950
  };
5677
5951
  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
5952
  /** Simulator device name or UDID to use for the session (e.g. "iPhone 16 Pro"). */
5686
5953
  deviceIdentifier?: InputMaybe<Scalars['String']['input']>;
5687
5954
  };
@@ -5716,6 +5983,7 @@ export type CreateSandboxInput = {
5716
5983
  agentRunId?: InputMaybe<Scalars['ID']['input']>;
5717
5984
  appId: Scalars['ID']['input'];
5718
5985
  image?: InputMaybe<Scalars['String']['input']>;
5986
+ maxDurationSeconds?: InputMaybe<Scalars['Int']['input']>;
5719
5987
  operatingSystem: SandboxOperatingSystem;
5720
5988
  projectArchive?: InputMaybe<SandboxProjectArchiveInput>;
5721
5989
  resourceClass: SandboxResourceClass;
@@ -6079,8 +6347,10 @@ export type DeploymentsMutation_DeleteWorkerDeploymentByIdentifierArgs = {
6079
6347
  appId: Scalars['ID']['input'];
6080
6348
  deploymentIdentifier: Scalars['ID']['input'];
6081
6349
  };
6082
- export type DeviceRunSession = {
6350
+ export type DeviceRunSession = ActivityTimelineProjectActivity & {
6083
6351
  __typename?: 'DeviceRunSession';
6352
+ activityTimestamp: Scalars['DateTime']['output'];
6353
+ actor?: Maybe<Actor>;
6084
6354
  app: App;
6085
6355
  /**
6086
6356
  * Direct application archive URL installed and launched for this session. Null when
@@ -6147,11 +6417,6 @@ export type DeviceRunSessionArtifactQuery = {
6147
6417
  export type DeviceRunSessionArtifactQuery_ByIdArgs = {
6148
6418
  deviceRunSessionArtifactId: Scalars['ID']['input'];
6149
6419
  };
6150
- export type DeviceRunSessionArtifactUploadSession = {
6151
- __typename?: 'DeviceRunSessionArtifactUploadSession';
6152
- headers: Scalars['JSONObject']['output'];
6153
- url: Scalars['String']['output'];
6154
- };
6155
6420
  /**
6156
6421
  * Where the virtual device's proxied network traffic exits to the internet. When
6157
6422
  * unset, all traffic exits from EAS infrastructure.
@@ -6167,11 +6432,6 @@ export declare enum DeviceRunSessionEgress {
6167
6432
  */
6168
6433
  Local = "LOCAL"
6169
6434
  }
6170
- export type DeviceRunSessionEventLogUploadSession = {
6171
- __typename?: 'DeviceRunSessionEventLogUploadSession';
6172
- headers: Scalars['JSONObject']['output'];
6173
- url: Scalars['String']['output'];
6174
- };
6175
6435
  export type DeviceRunSessionFilterInput = {
6176
6436
  /** Case-insensitive match anywhere in the session name. */
6177
6437
  name?: InputMaybe<Scalars['String']['input']>;
@@ -6183,20 +6443,8 @@ export type DeviceRunSessionFilterInput = {
6183
6443
  };
6184
6444
  export type DeviceRunSessionMutation = {
6185
6445
  __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
6446
  /** Create a device run session */
6189
6447
  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
6448
  /**
6201
6449
  * Permanently delete a finished session and its artifacts. The backing job,
6202
6450
  * if present, must also have finished. Returns the deleted session ID.
@@ -6208,37 +6456,21 @@ export type DeviceRunSessionMutation = {
6208
6456
  * ERRORED).
6209
6457
  */
6210
6458
  ensureDeviceRunSessionStopped: DeviceRunSession;
6211
- /** Mark a device run session as started and persist remote connection details */
6212
- startDeviceRunSession: DeviceRunSession;
6213
6459
  /**
6214
6460
  * Update a device run session name and tags, including on sessions
6215
6461
  * that have already finished.
6216
6462
  */
6217
6463
  updateDeviceRunSession: DeviceRunSession;
6218
6464
  };
6219
- export type DeviceRunSessionMutation_CreateArtifactUploadSessionArgs = {
6220
- deviceRunSessionId: Scalars['ID']['input'];
6221
- input: CreateDeviceRunSessionArtifactUploadSessionInput;
6222
- };
6223
6465
  export type DeviceRunSessionMutation_CreateDeviceRunSessionArgs = {
6224
6466
  deviceRunSessionInput: CreateDeviceRunSessionInput;
6225
6467
  };
6226
- export type DeviceRunSessionMutation_CreateEventLogUploadSessionArgs = {
6227
- deviceRunSessionId: Scalars['ID']['input'];
6228
- };
6229
- export type DeviceRunSessionMutation_CreatePreviewUploadSessionArgs = {
6230
- deviceRunSessionId: Scalars['ID']['input'];
6231
- };
6232
6468
  export type DeviceRunSessionMutation_DeleteDeviceRunSessionArgs = {
6233
6469
  deviceRunSessionId: Scalars['ID']['input'];
6234
6470
  };
6235
6471
  export type DeviceRunSessionMutation_EnsureDeviceRunSessionStoppedArgs = {
6236
6472
  deviceRunSessionId: Scalars['ID']['input'];
6237
6473
  };
6238
- export type DeviceRunSessionMutation_StartDeviceRunSessionArgs = {
6239
- deviceRunSessionId: Scalars['ID']['input'];
6240
- remoteConfig: Scalars['JSONObject']['input'];
6241
- };
6242
6474
  export type DeviceRunSessionMutation_UpdateDeviceRunSessionArgs = {
6243
6475
  deviceRunSessionId: Scalars['ID']['input'];
6244
6476
  input: UpdateDeviceRunSessionInput;
@@ -6481,7 +6713,9 @@ export declare enum EntityTypeName {
6481
6713
  ConvexProjectEntity = "ConvexProjectEntity",
6482
6714
  ConvexTeamConnectionEntity = "ConvexTeamConnectionEntity",
6483
6715
  CustomerEntity = "CustomerEntity",
6716
+ /** @deprecated This entity type was deleted. Existing audit logs can still reference it. */
6484
6717
  EchoProjectEntity = "EchoProjectEntity",
6718
+ /** @deprecated This entity type was deleted. Existing audit logs can still reference it. */
6485
6719
  EchoVersionEntity = "EchoVersionEntity",
6486
6720
  EnvironmentVariableEntity = "EnvironmentVariableEntity",
6487
6721
  GoogleServiceAccountKeyEntity = "GoogleServiceAccountKeyEntity",
@@ -7304,18 +7538,10 @@ export type GitHubUserMutation = {
7304
7538
  __typename?: 'GitHubUserMutation';
7305
7539
  /** Delete a GitHub User by ID */
7306
7540
  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
7541
  };
7313
7542
  export type GitHubUserMutation_DeleteGitHubUserArgs = {
7314
7543
  id: Scalars['ID']['input'];
7315
7544
  };
7316
- export type GitHubUserMutation_GenerateGitHubUserAccessTokenArgs = {
7317
- githubAppRegistrationId?: InputMaybe<Scalars['ID']['input']>;
7318
- };
7319
7545
  export type GoogleServiceAccountKey = {
7320
7546
  __typename?: 'GoogleServiceAccountKey';
7321
7547
  account: Account;
@@ -7676,9 +7902,16 @@ export type IosSubmissionConfigInput = {
7676
7902
  groups?: InputMaybe<Array<Scalars['String']['input']>>;
7677
7903
  isVerboseFastlaneEnabled?: InputMaybe<Scalars['Boolean']['input']>;
7678
7904
  };
7905
+ /** A role that a build can request for its EXPO_TOKEN. */
7906
+ export declare enum JobExpoTokenRole {
7907
+ Developer = "DEVELOPER",
7908
+ ReleaseManager = "RELEASE_MANAGER",
7909
+ Runner = "RUNNER"
7910
+ }
7679
7911
  /** Represents a Turtle Job Run */
7680
7912
  export type JobRun = {
7681
7913
  __typename?: 'JobRun';
7914
+ agentRun?: Maybe<AgentRun>;
7682
7915
  app: App;
7683
7916
  artifacts: Array<WorkflowArtifact>;
7684
7917
  createdAt: Scalars['DateTime']['output'];
@@ -8542,7 +8775,7 @@ export type RootMutation = {
8542
8775
  deployments: DeploymentsMutation;
8543
8776
  /** Mutations that assign or modify DevDomainNames for apps */
8544
8777
  devDomainName: AppDevDomainNameMutation;
8545
- /** Mutations that create, start, stop, and update device run sessions */
8778
+ /** Mutations that create, stop, update, and delete device run sessions */
8546
8779
  deviceRunSession: DeviceRunSessionMutation;
8547
8780
  /** Mutations for Discord users */
8548
8781
  discordUser: DiscordUserMutation;
@@ -8655,6 +8888,7 @@ export type RootQuery = {
8655
8888
  account: AccountQuery;
8656
8889
  /** Top-level query object for querying AccountSSOConfigurationPublicData */
8657
8890
  accountSSOConfigurationPublicData: AccountSsoConfigurationPublicDataQuery;
8891
+ agentRuns: AgentRunQuery;
8658
8892
  app: AppQuery;
8659
8893
  /**
8660
8894
  * Look up app by app id
@@ -8942,6 +9176,7 @@ export type Sandbox = {
8942
9176
  finishedAt?: Maybe<Scalars['DateTime']['output']>;
8943
9177
  id: Scalars['ID']['output'];
8944
9178
  lastUsedAt: Scalars['DateTime']['output'];
9179
+ maxDurationSeconds?: Maybe<Scalars['Int']['output']>;
8945
9180
  startedAt?: Maybe<Scalars['DateTime']['output']>;
8946
9181
  status: SandboxStatus;
8947
9182
  turtleJobRun: JobRun;
@@ -9167,8 +9402,6 @@ export type ServeSimRunSessionRemoteConfig = {
9167
9402
  /** Session token gating the preview. Null when the preview runs ungated. */
9168
9403
  previewToken?: Maybe<Scalars['String']['output']>;
9169
9404
  previewUrl: Scalars['String']['output'];
9170
- /** @deprecated Use previewUrl instead. */
9171
- streamUrl?: Maybe<Scalars['String']['output']>;
9172
9405
  };
9173
9406
  export type SetSupabaseConnectionOrganizationInput = {
9174
9407
  organizationSlug: Scalars['String']['input'];
@@ -10305,10 +10538,14 @@ export type UsageBudget = {
10305
10538
  export type UsageBudgetLimits = {
10306
10539
  __typename?: 'UsageBudgetLimits';
10307
10540
  builds?: Maybe<Scalars['Int']['output']>;
10541
+ concurrentSandboxes?: Maybe<Scalars['Int']['output']>;
10542
+ sandboxMinutes?: Maybe<Scalars['Int']['output']>;
10308
10543
  simulatorMinutes?: Maybe<Scalars['Int']['output']>;
10309
10544
  };
10310
10545
  export type UsageBudgetLimitsInput = {
10311
10546
  builds?: InputMaybe<Scalars['Int']['input']>;
10547
+ concurrentSandboxes?: InputMaybe<Scalars['Int']['input']>;
10548
+ sandboxMinutes?: InputMaybe<Scalars['Int']['input']>;
10312
10549
  simulatorMinutes?: InputMaybe<Scalars['Int']['input']>;
10313
10550
  };
10314
10551
  export type UsageBudgetMutation = {
@@ -10329,6 +10566,10 @@ export type UsageBudgetRemaining = {
10329
10566
  __typename?: 'UsageBudgetRemaining';
10330
10567
  /** Available builds, or null when there is no build limit. */
10331
10568
  builds?: Maybe<Scalars['Int']['output']>;
10569
+ /** Available sandbox slots, including starting and running sandboxes, or null when unlimited. */
10570
+ concurrentSandboxes?: Maybe<Scalars['Int']['output']>;
10571
+ /** Available minutes after completed usage and active reservations, or null when unlimited. */
10572
+ sandboxMinutes?: Maybe<Scalars['Float']['output']>;
10332
10573
  /** Available minutes after completed usage and active reservations, or null when unlimited. */
10333
10574
  simulatorMinutes?: Maybe<Scalars['Float']['output']>;
10334
10575
  };
@@ -11873,6 +12114,13 @@ export type WorkflowJob = {
11873
12114
  __typename?: 'WorkflowJob';
11874
12115
  allDeviceTestCaseResults: Array<WorkflowDeviceTestCaseResult>;
11875
12116
  approvals: Array<WorkflowJobApproval>;
12117
+ /**
12118
+ * The workflow run started by a WORKFLOW_CALL job. Null for other job types, while the
12119
+ * called run is not created yet, and for a failed call that never started a run. A call
12120
+ * job copied by "re-run from failed jobs" resolves to the called run of the attempt it
12121
+ * was copied from.
12122
+ */
12123
+ childWorkflowRun?: Maybe<WorkflowRun>;
11876
12124
  createdAt: Scalars['DateTime']['output'];
11877
12125
  credentialsAppleDeviceRegistrationRequest?: Maybe<AppleDeviceRegistrationRequest>;
11878
12126
  /**
@@ -11988,6 +12236,7 @@ export declare enum WorkflowJobType {
11988
12236
  Custom = "CUSTOM",
11989
12237
  Deploy = "DEPLOY",
11990
12238
  Doc = "DOC",
12239
+ Email = "EMAIL",
11991
12240
  Fingerprint = "FINGERPRINT",
11992
12241
  GetBuild = "GET_BUILD",
11993
12242
  GithubComment = "GITHUB_COMMENT",
@@ -12026,6 +12275,10 @@ export type WorkflowQuery_ByAppIdAndFileNameArgs = {
12026
12275
  export type WorkflowQuery_ByIdArgs = {
12027
12276
  workflowId: Scalars['ID']['input'];
12028
12277
  };
12278
+ export type WorkflowReferencedFileInput = {
12279
+ fileName: Scalars['String']['input'];
12280
+ yamlConfig: Scalars['String']['input'];
12281
+ };
12029
12282
  export type WorkflowRevision = {
12030
12283
  __typename?: 'WorkflowRevision';
12031
12284
  blobSha: Scalars['String']['output'];
@@ -12043,6 +12296,12 @@ export type WorkflowRevisionEdge = {
12043
12296
  };
12044
12297
  export type WorkflowRevisionInput = {
12045
12298
  fileName: Scalars['String']['input'];
12299
+ /**
12300
+ * Other workflow files of the project that `uses` jobs reference, by bare file name.
12301
+ * Required when the workflow has `uses` jobs. Every uploaded file is stored as a
12302
+ * revision and pinned on the run, whether or not a job calls it.
12303
+ */
12304
+ referencedFiles?: InputMaybe<Array<WorkflowReferencedFileInput>>;
12046
12305
  yamlConfig: Scalars['String']['input'];
12047
12306
  };
12048
12307
  export type WorkflowRevisionMutation = {
@@ -12062,6 +12321,7 @@ export type WorkflowRevisionMutation_GetWorkflowRevisionsFromGitRefArgs = {
12062
12321
  };
12063
12322
  export type WorkflowRevisionMutation_ValidateWorkflowYamlConfigArgs = {
12064
12323
  appId: Scalars['ID']['input'];
12324
+ referencedFiles?: InputMaybe<Array<WorkflowReferencedFileInput>>;
12065
12325
  yamlConfig: Scalars['String']['input'];
12066
12326
  };
12067
12327
  export type WorkflowRevisionQuery = {
@@ -12081,6 +12341,12 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12081
12341
  activityTimestamp: Scalars['DateTime']['output'];
12082
12342
  actor?: Maybe<Actor>;
12083
12343
  app: App;
12344
+ /**
12345
+ * The run currently holding the concurrency group this run is waiting for.
12346
+ * Null for runs that are not waiting, and briefly null while the group's
12347
+ * next run is being promoted.
12348
+ */
12349
+ blockingWorkflowRun?: Maybe<WorkflowRun>;
12084
12350
  /**
12085
12351
  * Why the server canceled this run. Null for manually canceled runs and for
12086
12352
  * runs canceled before the reason was recorded.
@@ -12100,6 +12366,11 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12100
12366
  jobs: Array<WorkflowJob>;
12101
12367
  /** Snapshot of the workflow's name at run creation. */
12102
12368
  name: Scalars['String']['output'];
12369
+ /**
12370
+ * The WORKFLOW_CALL job of another run that started this run. Null for runs started by
12371
+ * a trigger, a manual dispatch or a retry. Called runs are omitted from run lists.
12372
+ */
12373
+ parentWorkflowJob?: Maybe<WorkflowJob>;
12103
12374
  pullRequestNumber?: Maybe<Scalars['Int']['output']>;
12104
12375
  requestedGitRef?: Maybe<Scalars['String']['output']>;
12105
12376
  retriedWorkflowRun?: Maybe<WorkflowRun>;
@@ -12114,7 +12385,7 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12114
12385
  workflow: Workflow;
12115
12386
  workflowRevision?: Maybe<WorkflowRevision>;
12116
12387
  };
12117
- export type WorkflowRunCancelReason = WorkflowRunCancelReasonConcurrencyGroup | WorkflowRunCancelReasonWorkflowCall;
12388
+ export type WorkflowRunCancelReason = WorkflowRunCancelReasonConcurrencyGroup | WorkflowRunCancelReasonConcurrencyGroupQueueFull | WorkflowRunCancelReasonConcurrencyGroupReplaced | WorkflowRunCancelReasonWorkflowCall;
12118
12389
  export type WorkflowRunCancelReasonConcurrencyGroup = {
12119
12390
  __typename?: 'WorkflowRunCancelReasonConcurrencyGroup';
12120
12391
  /**
@@ -12123,6 +12394,22 @@ export type WorkflowRunCancelReasonConcurrencyGroup = {
12123
12394
  */
12124
12395
  cancelingWorkflowRun?: Maybe<WorkflowRun>;
12125
12396
  };
12397
+ export type WorkflowRunCancelReasonConcurrencyGroupQueueFull = {
12398
+ __typename?: 'WorkflowRunCancelReasonConcurrencyGroupQueueFull';
12399
+ /**
12400
+ * The waiting-run capacity the concurrency group's queue was at when this
12401
+ * run arrived.
12402
+ */
12403
+ maximumWaitingRuns: Scalars['Int']['output'];
12404
+ };
12405
+ export type WorkflowRunCancelReasonConcurrencyGroupReplaced = {
12406
+ __typename?: 'WorkflowRunCancelReasonConcurrencyGroupReplaced';
12407
+ /**
12408
+ * The newer run that took this run's place in the concurrency group's waiting
12409
+ * slot. Null if that run no longer exists.
12410
+ */
12411
+ replacingWorkflowRun?: Maybe<WorkflowRun>;
12412
+ };
12126
12413
  export type WorkflowRunCancelReasonWorkflowCall = {
12127
12414
  __typename?: 'WorkflowRunCancelReasonWorkflowCall';
12128
12415
  /**
@@ -17647,6 +17934,7 @@ export type GetOrCreateWorkflowRevisionFromGitRefMutation = {
17647
17934
  export type ValidateWorkflowYamlConfigMutationVariables = Exact<{
17648
17935
  appId: Scalars['ID']['input'];
17649
17936
  yamlConfig: Scalars['String']['input'];
17937
+ referencedFiles?: InputMaybe<Array<WorkflowReferencedFileInput> | WorkflowReferencedFileInput>;
17650
17938
  }>;
17651
17939
  export type ValidateWorkflowYamlConfigMutation = {
17652
17940
  __typename?: 'RootMutation';
@@ -18281,6 +18569,7 @@ export type AppByIdWorkflowRunsFilteredByStatusQuery = {
18281
18569
  triggeringSchedule?: string | null;
18282
18570
  createdAt: any;
18283
18571
  updatedAt: any;
18572
+ finalizedAt?: any | null;
18284
18573
  actor?: {
18285
18574
  __typename: 'PartnerActor';
18286
18575
  id: string;
@@ -19651,6 +19940,30 @@ export type DeviceRunSessionEventsByIdQuery = {
19651
19940
  };
19652
19941
  };
19653
19942
  };
19943
+ export type DeviceRunSessionJobRunErrorsByIdQueryVariables = Exact<{
19944
+ deviceRunSessionId: Scalars['ID']['input'];
19945
+ }>;
19946
+ export type DeviceRunSessionJobRunErrorsByIdQuery = {
19947
+ __typename?: 'RootQuery';
19948
+ deviceRunSessions: {
19949
+ __typename?: 'DeviceRunSessionQuery';
19950
+ byId: {
19951
+ __typename?: 'DeviceRunSession';
19952
+ id: string;
19953
+ turtleJobRun?: {
19954
+ __typename?: 'JobRun';
19955
+ id: string;
19956
+ logFileUrls: Array<string>;
19957
+ errors: Array<{
19958
+ __typename?: 'JobRunError';
19959
+ errorCode: string;
19960
+ message: string;
19961
+ docsUrl?: string | null;
19962
+ }>;
19963
+ } | null;
19964
+ };
19965
+ };
19966
+ };
19654
19967
  export type DeviceRunSessionByIdQueryVariables = Exact<{
19655
19968
  deviceRunSessionId: Scalars['ID']['input'];
19656
19969
  }>;
@@ -22575,6 +22888,13 @@ export type WorkflowRunByIdWithJobsQuery = {
22575
22888
  triggeringSchedule?: string | null;
22576
22889
  createdAt: any;
22577
22890
  updatedAt: any;
22891
+ finalizedAt?: any | null;
22892
+ blockingWorkflowRun?: {
22893
+ __typename?: 'WorkflowRun';
22894
+ id: string;
22895
+ name: string;
22896
+ status: WorkflowRunStatus;
22897
+ } | null;
22578
22898
  workflow: {
22579
22899
  __typename?: 'Workflow';
22580
22900
  id: string;
@@ -22584,6 +22904,7 @@ export type WorkflowRunByIdWithJobsQuery = {
22584
22904
  __typename?: 'App';
22585
22905
  id: string;
22586
22906
  name: string;
22907
+ slug: string;
22587
22908
  ownerAccount: {
22588
22909
  __typename?: 'Account';
22589
22910
  id: string;
@@ -22771,6 +23092,7 @@ export type WorkflowRunsForAppIdFileNameAndStatusQuery = {
22771
23092
  triggeringSchedule?: string | null;
22772
23093
  createdAt: any;
22773
23094
  updatedAt: any;
23095
+ finalizedAt?: any | null;
22774
23096
  actor?: {
22775
23097
  __typename: 'PartnerActor';
22776
23098
  id: string;
@@ -24532,6 +24854,7 @@ export type WorkflowRunFragment = {
24532
24854
  triggeringSchedule?: string | null;
24533
24855
  createdAt: any;
24534
24856
  updatedAt: any;
24857
+ finalizedAt?: any | null;
24535
24858
  actor?: {
24536
24859
  __typename: 'PartnerActor';
24537
24860
  id: string;