eas-cli 27.1.0 → 27.3.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 (43) hide show
  1. package/README.md +221 -146
  2. package/build/analytics/AnalyticsManager.d.ts +2 -0
  3. package/build/analytics/AnalyticsManager.js +2 -0
  4. package/build/build/build.d.ts +1 -2
  5. package/build/build/build.js +3 -4
  6. package/build/build/freeTierNearLimitAgentUpdatesTip.d.ts +98 -0
  7. package/build/build/freeTierNearLimitAgentUpdatesTip.js +205 -0
  8. package/build/build/runBuildAndSubmit.d.ts +2 -0
  9. package/build/build/runBuildAndSubmit.js +3 -0
  10. package/build/build/simulatorsLaunchHint.d.ts +7 -0
  11. package/build/build/simulatorsLaunchHint.js +40 -0
  12. package/build/commands/build/index.js +8 -1
  13. package/build/commands/observe/session.js +4 -3
  14. package/build/commands/observe/trace.d.ts +17 -0
  15. package/build/commands/observe/trace.js +58 -0
  16. package/build/commands/observe/traces.d.ts +33 -0
  17. package/build/commands/observe/traces.js +159 -0
  18. package/build/credentials/ios/appstore/capabilityIdentifiers.js +6 -3
  19. package/build/graphql/generated.d.ts +404 -0
  20. package/build/graphql/mutations/UserPreferenceMutation.d.ts +5 -0
  21. package/build/graphql/mutations/UserPreferenceMutation.js +24 -0
  22. package/build/graphql/queries/AccountQuery.d.ts +3 -1
  23. package/build/graphql/queries/AccountQuery.js +54 -0
  24. package/build/graphql/queries/ObserveQuery.d.ts +24 -1
  25. package/build/graphql/queries/ObserveQuery.js +114 -1
  26. package/build/graphql/queries/UserPreferenceQuery.d.ts +8 -0
  27. package/build/graphql/queries/UserPreferenceQuery.js +28 -0
  28. package/build/graphql/types/Observe.d.ts +1 -0
  29. package/build/graphql/types/Observe.js +53 -1
  30. package/build/observe/fetchSessions.d.ts +12 -1
  31. package/build/observe/fetchSessions.js +39 -2
  32. package/build/observe/fetchSpans.d.ts +27 -0
  33. package/build/observe/fetchSpans.js +36 -0
  34. package/build/observe/formatSessions.d.ts +3 -1
  35. package/build/observe/formatSessions.js +40 -3
  36. package/build/observe/formatSpans.d.ts +110 -0
  37. package/build/observe/formatSpans.js +250 -0
  38. package/build/observe/spanFilters.d.ts +5 -0
  39. package/build/observe/spanFilters.js +32 -0
  40. package/oclif.manifest.json +1493 -1143
  41. package/package.json +7 -7
  42. package/build/build/freeTierLimitGuidance.d.ts +0 -19
  43. package/build/build/freeTierLimitGuidance.js +0 -39
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eas-cli",
3
- "version": "27.1.0",
3
+ "version": "27.3.0",
4
4
  "description": "EAS command line tool",
5
5
  "keywords": [
6
6
  "cli",
@@ -44,16 +44,16 @@
44
44
  "copy-new-templates": "rimraf build/commandUtils/new/templates && mkdir -p build/commandUtils/new && cp -r src/commandUtils/new/templates build/commandUtils/new"
45
45
  },
46
46
  "dependencies": {
47
- "@expo/apple-utils": "2.2.1",
47
+ "@expo/apple-utils": "2.3.0",
48
48
  "@expo/code-signing-certificates": "0.0.5",
49
49
  "@expo/config": "55.0.10",
50
50
  "@expo/config-plugins": "55.0.7",
51
- "@expo/eas-build-job": "27.1.0",
52
- "@expo/eas-json": "27.1.0",
51
+ "@expo/eas-build-job": "27.3.0",
52
+ "@expo/eas-json": "27.3.0",
53
53
  "@expo/env": "^1.0.0",
54
54
  "@expo/experimentation": "0.0.5",
55
55
  "@expo/json-file": "8.3.3",
56
- "@expo/logger": "27.1.0",
56
+ "@expo/logger": "27.3.0",
57
57
  "@expo/multipart-body-parser": "2.0.0",
58
58
  "@expo/osascript": "2.1.4",
59
59
  "@expo/package-manager": "1.9.10",
@@ -65,7 +65,7 @@
65
65
  "@expo/results": "1.0.0",
66
66
  "@expo/rudder-sdk-node": "1.1.1",
67
67
  "@expo/spawn-async": "1.7.2",
68
- "@expo/steps": "27.1.0",
68
+ "@expo/steps": "27.3.0",
69
69
  "@expo/timeago.js": "1.0.0",
70
70
  "@oclif/core": "^4.8.3",
71
71
  "@oclif/plugin-autocomplete": "^3.2.40",
@@ -271,5 +271,5 @@
271
271
  "engines": {
272
272
  "node": "^20.18.3 || >=22.0.0"
273
273
  },
274
- "gitHead": "88e23aaa09673a3f6c3a23634167b3054d2e6fce"
274
+ "gitHead": "bc25602d655eb5d5e3f3174836e13b567cae919d"
275
275
  }
@@ -1,19 +0,0 @@
1
- import { Platform } from '@expo/eas-build-job';
2
- import { LazyExperimentationClient } from '../experimentation/LazyExperimentationClient';
3
- export declare const FREE_TIER_LIMIT_AGENT_GUIDANCE_EXPERIMENT_NAMESPACE = "cli-build-free-tier-limit-agent-guidance";
4
- export type FreeTierLimitAgentGuidanceVariant = 'control' | 'treatment';
5
- export type FreeTierLimitAgentGuidanceExperiment = {
6
- experimentation: LazyExperimentationClient;
7
- accountId: string;
8
- };
9
- export declare function getFreeTierLimitAgentGuidanceExperiment(ctx: {
10
- experimentation?: LazyExperimentationClient;
11
- accountId: string;
12
- }): FreeTierLimitAgentGuidanceExperiment | undefined;
13
- /**
14
- * Resolves the account's variant. Only runs driven by a coding agent are eligible. Other runs get
15
- * control before the client loads, so they make no config request and log no exposure.
16
- */
17
- export declare function resolveFreeTierLimitAgentGuidanceVariantAsync({ experimentation, accountId, }: FreeTierLimitAgentGuidanceExperiment): Promise<FreeTierLimitAgentGuidanceVariant>;
18
- export declare function formatFreeTierLimitAgentGuidance(platform: Platform): string;
19
- export declare function maybeAppendFreeTierLimitAgentGuidanceAsync(message: string, platform: Platform, experiment: FreeTierLimitAgentGuidanceExperiment | undefined): Promise<string>;
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FREE_TIER_LIMIT_AGENT_GUIDANCE_EXPERIMENT_NAMESPACE = void 0;
4
- exports.getFreeTierLimitAgentGuidanceExperiment = getFreeTierLimitAgentGuidanceExperiment;
5
- exports.resolveFreeTierLimitAgentGuidanceVariantAsync = resolveFreeTierLimitAgentGuidanceVariantAsync;
6
- exports.formatFreeTierLimitAgentGuidance = formatFreeTierLimitAgentGuidance;
7
- exports.maybeAppendFreeTierLimitAgentGuidanceAsync = maybeAppendFreeTierLimitAgentGuidanceAsync;
8
- const agent_1 = require("../analytics/agent");
9
- const platform_1 = require("../platform");
10
- exports.FREE_TIER_LIMIT_AGENT_GUIDANCE_EXPERIMENT_NAMESPACE = 'cli-build-free-tier-limit-agent-guidance';
11
- function getFreeTierLimitAgentGuidanceExperiment(ctx) {
12
- return ctx.experimentation
13
- ? { experimentation: ctx.experimentation, accountId: ctx.accountId }
14
- : undefined;
15
- }
16
- /**
17
- * Resolves the account's variant. Only runs driven by a coding agent are eligible. Other runs get
18
- * control before the client loads, so they make no config request and log no exposure.
19
- */
20
- async function resolveFreeTierLimitAgentGuidanceVariantAsync({ experimentation, accountId, }) {
21
- if (!(0, agent_1.getAgentTelemetryContext)()) {
22
- return 'control';
23
- }
24
- const client = await experimentation.getClientAsync();
25
- return client
26
- .getAccountNamespace(exports.FREE_TIER_LIMIT_AGENT_GUIDANCE_EXPERIMENT_NAMESPACE, { accountId })
27
- .getParam('variant', 'control');
28
- }
29
- function formatFreeTierLimitAgentGuidance(platform) {
30
- const platformName = platform_1.requestedPlatformDisplayNames[platform];
31
- return `Fix: Human required: ${platformName} builds for this account are blocked until the Free plan resets. Upgrading costs money, so an account owner or admin decides.`;
32
- }
33
- async function maybeAppendFreeTierLimitAgentGuidanceAsync(message, platform, experiment) {
34
- if (!experiment ||
35
- (await resolveFreeTierLimitAgentGuidanceVariantAsync(experiment)) !== 'treatment') {
36
- return message;
37
- }
38
- return `${message}\n${formatFreeTierLimitAgentGuidance(platform)}`;
39
- }