asteroid-odyssey 1.7.274 → 1.7.286

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.
package/dist/index.d.mts CHANGED
@@ -1837,6 +1837,19 @@ type AgentsExecutionTerminalPayload = {
1837
1837
  reason: 'unsubscribe' | 'complete' | 'error';
1838
1838
  message?: string;
1839
1839
  };
1840
+ /**
1841
+ * Steel browser provider configuration
1842
+ */
1843
+ type AgentsExecutionSteelProviderConfig = {
1844
+ /**
1845
+ * Provider type discriminator
1846
+ */
1847
+ type: 'steel';
1848
+ /**
1849
+ * Steel session ID
1850
+ */
1851
+ sessionId?: string;
1852
+ };
1840
1853
  type AgentsExecutionStatus = 'queued' | 'starting' | 'running' | 'paused' | 'awaiting_confirmation' | 'completed' | 'cancelled' | 'failed' | 'paused_by_agent';
1841
1854
  /**
1842
1855
  * Fields that can be used for sorting executions
@@ -2071,6 +2084,64 @@ type AgentsExecutionPausedPayload = {
2071
2084
  type AgentsExecutionAskUserQuestion = {
2072
2085
  questions: Array<AgentsExecutionQuestionItem>;
2073
2086
  };
2087
+ /**
2088
+ * OS environment state
2089
+ */
2090
+ type AgentsExecutionOsState = {
2091
+ /**
2092
+ * Environment type discriminator
2093
+ */
2094
+ environmentType: 'os';
2095
+ /**
2096
+ * OS provider name
2097
+ */
2098
+ provider: AgentsWorkflowOsProvider;
2099
+ /**
2100
+ * Screen width
2101
+ */
2102
+ width: number;
2103
+ /**
2104
+ * Screen height
2105
+ */
2106
+ height: number;
2107
+ /**
2108
+ * Live view URL
2109
+ */
2110
+ liveViewUrl?: string;
2111
+ /**
2112
+ * Recording URL
2113
+ */
2114
+ recordingUrl?: string;
2115
+ /**
2116
+ * Whether a recording exists (provider URL or durable GCS object persisted). Use this to gate the player rather than recordingUrl, which is empty for GCS-only recordings.
2117
+ */
2118
+ hasRecording: boolean;
2119
+ /**
2120
+ * When the environment recording started (video time-zero anchor)
2121
+ */
2122
+ recordingStartedAt?: string;
2123
+ /**
2124
+ * Environment's public egress IP address (detected at startup)
2125
+ */
2126
+ egressIp?: string;
2127
+ /**
2128
+ * Provider-specific configuration
2129
+ */
2130
+ providerConfig?: AgentsExecutionDaytonaProviderConfig;
2131
+ };
2132
+ /**
2133
+ * Daytona OS provider configuration
2134
+ */
2135
+ type AgentsExecutionDaytonaProviderConfig = {
2136
+ /**
2137
+ * Daytona sandbox ID
2138
+ */
2139
+ sandboxId?: string;
2140
+ /**
2141
+ * Sandbox URL
2142
+ */
2143
+ sandboxUrl?: string;
2144
+ };
2074
2145
  type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails = {
2075
2146
  actionName: 'obs_snapshot_with_selectors';
2076
2147
  url: string;
@@ -2367,6 +2438,80 @@ type AgentsExecutionExtApiCallCompletedDetails = {
2367
2438
  requestMethod?: string;
2368
2439
  requestUrl?: string;
2369
2440
  };
2441
+ /**
2442
+ * Discriminated union of environment states (discriminated by environmentType)
2443
+ */
2444
+ type AgentsExecutionEnvironmentState = AgentsExecutionBrowserState | AgentsExecutionOsState;
2445
+ /**
2446
+ * Anchor browser provider configuration
2447
+ */
2448
+ type AgentsExecutionAnchorProviderConfig = {
2449
+ /**
2450
+ * Provider type discriminator
2451
+ */
2452
+ type: 'anchor';
2453
+ /**
2454
+ * Anchor session ID
2455
+ */
2456
+ sessionId?: CommonUuid;
2457
+ /**
2458
+ * Anchor session URL
2459
+ */
2460
+ sessionUrl?: string;
2461
+ };
2462
+ /**
2463
+ * Browser provider configuration (discriminated by type)
2464
+ */
2465
+ type AgentsExecutionBrowserProviderConfig = ({
2466
+ type: 'anchor';
2467
+ } & AgentsExecutionAnchorProviderConfig) | ({
2468
+ type: 'steel';
2469
+ } & AgentsExecutionSteelProviderConfig);
2470
+ /**
2471
+ * Browser environment state
2472
+ */
2473
+ type AgentsExecutionBrowserState = {
2474
+ /**
2475
+ * Environment type discriminator
2476
+ */
2477
+ environmentType: 'browser';
2478
+ /**
2479
+ * Browser provider name
2480
+ */
2481
+ provider: AgentsWorkflowBrowserProvider;
2482
+ /**
2483
+ * Browser viewport width
2484
+ */
2485
+ width: number;
2486
+ /**
2487
+ * Browser viewport height
2488
+ */
2489
+ height: number;
2490
+ /**
2491
+ * Live view/debugger URL
2492
+ */
2493
+ liveViewUrl?: string;
2494
+ /**
2495
+ * Recording URL (available after execution completes)
2496
+ */
2497
+ recordingUrl?: string;
2498
+ /**
2499
+ * Whether a recording exists (provider URL or durable GCS object persisted). Use this to gate the player rather than recordingUrl, which is empty for GCS-only recordings.
2500
+ */
2501
+ hasRecording: boolean;
2502
+ /**
2503
+ * When the environment recording started (video time-zero anchor)
2504
+ */
2505
+ recordingStartedAt?: string;
2506
+ /**
2507
+ * Browser's public IP address (detected at startup)
2508
+ */
2509
+ browserIp?: string;
2510
+ /**
2511
+ * Provider-specific configuration
2512
+ */
2513
+ providerConfig?: AgentsExecutionBrowserProviderConfig;
2514
+ };
2370
2515
  type AgentsExecutionElementFileUploadCompletedDetails = {
2371
2516
  actionName: 'element_file_upload';
2372
2517
  fileNames: Array<string>;
@@ -2701,31 +2846,21 @@ type AgentsEnvironmentWorkflowEnvironmentSource = {
2701
2846
  workflowId?: CommonUuid;
2702
2847
  };
2703
2848
  /**
2704
- * Response from starting a live environment. Shape mirrors the legacy `POST /agents/{id}/workflows/{wid}/live-environment` response so callers can share rendering code; `environmentId` is the new wire handle astro stores for `stop` / `attach`.
2849
+ * Request to start an environment. The agent is a binding carried in the body, not a path segment an environment belongs to an organisation, and the agent tells provisioning which workflow, profile and organisation to boot against.
2705
2850
  */
2706
- type AgentsEnvironmentStartEnvironmentResponse = {
2707
- /**
2708
- * The newly-provisioned environment.
2709
- */
2710
- environmentId: CommonUuid;
2851
+ type AgentsEnvironmentStartEnvironmentRequest = {
2711
2852
  /**
2712
- * The environment type the workflow is configured for.
2853
+ * The agent to bind the environment to. Gates access, and supplies the organisation the environment is stamped with.
2713
2854
  */
2714
- environmentType: AgentsWorkflowEnvironmentType;
2715
- /**
2716
- * Chrome DevTools Protocol websocket URL. Present only for browser environments.
2717
- */
2718
- cdpUrl?: string;
2855
+ agentId: CommonUuid;
2719
2856
  /**
2720
- * Provider-specific CUA connection details. Present for Anchor browsers and Daytona OS environments.
2857
+ * Where the environment spec comes from. Omit for the server default (a browser env at the computer-use resolution).
2721
2858
  */
2722
- cua?: AgentsWorkflowLiveEnvironmentCuaConnection;
2859
+ source?: AgentsEnvironmentEnvironmentSource;
2723
2860
  /**
2724
- * Decrypted credential placeholders for the attached agent profile, keyed by ##NAME## placeholder. Present only when agentProfileId was supplied and the profile has credentials.
2861
+ * Optional agent profile to attach. The profile id is stamped onto the env row for the session's lifetime, so later reads resolve against the stamped profile rather than the agent's current one. Its decrypted credentials come back on the response's `connection` only for service-to-service callers they are never returned to an API key or a browser.
2725
2862
  */
2726
- credentials?: {
2727
- [key: string]: unknown;
2728
- };
2863
+ agentProfileId?: CommonUuid;
2729
2864
  };
2730
2865
  /**
2731
2866
  * OS template for the explicit spec arm. Every field is optional with a server default.
@@ -2749,6 +2884,16 @@ type AgentsEnvironmentSpecOsTemplate = {
2749
2884
  */
2750
2885
  osType?: AgentsWorkflowOsType;
2751
2886
  };
2887
+ /**
2888
+ * Browser template for the explicit spec arm. Every field is optional with a server default.
2889
+ */
2890
+ type AgentsEnvironmentSpecBrowserTemplate = {
2891
+ type: 'browser';
2892
+ /**
2893
+ * Browser provider. Omit for the server's configured default provider.
2894
+ */
2895
+ provider?: AgentsWorkflowBrowserProvider;
2896
+ };
2752
2897
  /**
2753
2898
  * Environment template for the explicit spec arm — a looser sibling of the workflow's own EnvironmentTemplate where every field has a server default, so callers can say as little as `{type: "os"}`.
2754
2899
  */
@@ -2758,139 +2903,227 @@ type AgentsEnvironmentSpecEnvironmentTemplate = ({
2758
2903
  type: 'os';
2759
2904
  } & AgentsEnvironmentSpecOsTemplate);
2760
2905
  /**
2761
- * Browser template for the explicit spec arm. Every field is optional with a server default.
2906
+ * Environment spec supplied inline provisioning does not read any workflow. This is how a live env is started without touching (or even having) a workflow definition.
2762
2907
  */
2763
- type AgentsEnvironmentSpecBrowserTemplate = {
2764
- type: 'browser';
2908
+ type AgentsEnvironmentExplicitEnvironmentSource = {
2909
+ kind: 'spec';
2765
2910
  /**
2766
- * Browser provider. Omit for the server's configured default provider.
2911
+ * Environment template. Omit entirely for the server default (browser).
2767
2912
  */
2768
- provider?: AgentsWorkflowBrowserProvider;
2913
+ template?: AgentsEnvironmentSpecEnvironmentTemplate;
2914
+ /**
2915
+ * Viewport width in pixels. Omit for the default (1280, the computer-use resolution). Ignored for OS environments — they always run at the fixed computer-use resolution.
2916
+ */
2917
+ viewportWidth?: number;
2918
+ /**
2919
+ * Viewport height in pixels. Omit for the default (800, the computer-use resolution). Ignored for OS environments — they always run at the fixed computer-use resolution.
2920
+ */
2921
+ viewportHeight?: number;
2922
+ /**
2923
+ * Session lifetime in minutes before the reaper tears the env down. Clamped server-side to the astro session cap. Omit for the default.
2924
+ */
2925
+ sessionTimeoutMins?: number;
2926
+ };
2927
+ /**
2928
+ * Where the environment spec comes from: copied from a workflow, or supplied inline.
2929
+ */
2930
+ type AgentsEnvironmentEnvironmentSource = ({
2931
+ kind: 'workflow';
2932
+ } & AgentsEnvironmentWorkflowEnvironmentSource) | ({
2933
+ kind: 'spec';
2934
+ } & AgentsEnvironmentExplicitEnvironmentSource);
2935
+ /**
2936
+ * Response for the list endpoint, ordered by createdAt DESC. Empty array when nothing matches the filters.
2937
+ */
2938
+ type AgentsEnvironmentListEnvironmentsResponse = {
2939
+ /**
2940
+ * The matching environments.
2941
+ */
2942
+ environments: Array<AgentsEnvironmentEnvironmentSummary>;
2769
2943
  };
2770
2944
  /**
2771
- * Status of a running environment. Mirrors the StatusRequested / StatusProvisioning / StatusReady values of the env subdomain's status machine — terminal states (stopped/failed/dead) are intentionally excluded because the list endpoint only returns envs astro could attach to.
2945
+ * Every state an environment can be in, terminal included.
2772
2946
  */
2773
- type AgentsEnvironmentRunningEnvironmentStatus = 'requested' | 'provisioning' | 'ready';
2947
+ type AgentsEnvironmentEnvironmentStatus = 'requested' | 'provisioning' | 'ready' | 'stopping' | 'stopped' | 'failed' | 'dead';
2774
2948
  /**
2775
- * Lightweight summary of a running environment for the list endpoint. Owner-agnostic covers both execution- and astro-owned envs; narrow with the `ownerType` query param if you only want one kind. Connection details (cdpUrl/cua/credentials) are intentionally omitted callers fetch those via GET /environments/{id}/live-environment once they pick one to attach to.
2949
+ * A standalone environment: it belongs to the organisation rather than to a chat or an execution, and outlives both. Booted by an API key today; the agent binding arrives with the workflow it was started from.
2776
2950
  */
2777
- type AgentsEnvironmentRunningEnvironment = {
2951
+ type AgentsEnvironmentExternalEnvironmentOwner = {
2952
+ type: 'external';
2953
+ /**
2954
+ * The agent the environment is bound to.
2955
+ */
2956
+ agentId: CommonUuid;
2957
+ /**
2958
+ * The API key that booted it, when one did. Absent for environments booted by a signed-in user.
2959
+ */
2960
+ createdByApiKeyId?: CommonUuid;
2961
+ };
2962
+ /**
2963
+ * An astro build conversation owns the environment: it lives as long as the chat driving it.
2964
+ */
2965
+ type AgentsEnvironmentAstroEnvironmentOwner = {
2966
+ type: 'astro';
2967
+ /**
2968
+ * The agent the conversation is building.
2969
+ */
2970
+ agentId: CommonUuid;
2971
+ /**
2972
+ * The astro chat that booted the environment.
2973
+ */
2974
+ chatId: CommonUuid;
2975
+ };
2976
+ /**
2977
+ * An execution owns the environment: it was booted to run that execution and dies with it.
2978
+ */
2979
+ type AgentsEnvironmentExecutionEnvironmentOwner = {
2980
+ type: 'execution';
2981
+ /**
2982
+ * The agent the execution runs on behalf of.
2983
+ */
2984
+ agentId: CommonUuid;
2985
+ /**
2986
+ * The execution that booted the environment.
2987
+ */
2988
+ executionId: CommonUuid;
2989
+ };
2990
+ /**
2991
+ * Who the environment belongs to. Discriminated on `type`, mirroring the storage-side agent_environment.owner_type, so each owner kind carries exactly the identity it has — an execution id only exists for execution-owned envs, a chat id only for astro-owned ones. A future owner kind (warm pools, org sessions) joins as a member rather than as another optional column.
2992
+ */
2993
+ type AgentsEnvironmentEnvironmentOwner = ({
2994
+ type: 'execution';
2995
+ } & AgentsEnvironmentExecutionEnvironmentOwner) | ({
2996
+ type: 'astro';
2997
+ } & AgentsEnvironmentAstroEnvironmentOwner) | ({
2998
+ type: 'external';
2999
+ } & AgentsEnvironmentExternalEnvironmentOwner);
3000
+ /**
3001
+ * An environment as it appears in a list. Carries everything a row needs; the provider `state` is fetched with the environment itself, because resolving it mints a signed recording URL per environment and a list would mint one per row.
3002
+ */
3003
+ type AgentsEnvironmentEnvironmentSummary = {
2778
3004
  /**
2779
3005
  * Environment identifier.
2780
3006
  */
2781
- environmentId: CommonUuid;
3007
+ id: CommonUuid;
3008
+ /**
3009
+ * The organisation the environment belongs to.
3010
+ */
3011
+ organizationId: CommonUuid;
3012
+ /**
3013
+ * Who the environment belongs to, and the identity that owner carries.
3014
+ */
3015
+ owner: AgentsEnvironmentEnvironmentOwner;
2782
3016
  /**
2783
3017
  * Browser or OS.
2784
3018
  */
2785
3019
  environmentType: AgentsWorkflowEnvironmentType;
2786
3020
  /**
2787
- * Polymorphic owner kind (execution or astro).
3021
+ * Operating system for OS environments. Absent for browser environments; linux when an OS environment predates explicit osType storage.
2788
3022
  */
2789
- ownerType: AgentsEnvironmentEnvironmentOwnerType;
3023
+ osType?: AgentsWorkflowOsType;
2790
3024
  /**
2791
- * Current status always one of the non-terminal values.
3025
+ * Current status, terminal states included. Lists exclude terminal environments unless `includeTerminal` is set.
2792
3026
  */
2793
- status: AgentsEnvironmentRunningEnvironmentStatus;
3027
+ status: AgentsEnvironmentEnvironmentStatus;
2794
3028
  /**
2795
- * When the env row was created.
3029
+ * Profile snapshot the environment was booted against, if any.
2796
3030
  */
2797
- createdAt: string;
3031
+ agentProfileId?: CommonUuid;
2798
3032
  /**
2799
- * When the env first became ready, if it has reached that state.
3033
+ * Whether a playable recording has been persisted (GCS object or provider URL). The playable URL itself is minted on the by-id read.
2800
3034
  */
2801
- readyAt?: string;
3035
+ hasRecording: boolean;
2802
3036
  /**
2803
- * When the reaper will tear the env down if no graceful Stop arrives first.
3037
+ * When the environment row was created.
2804
3038
  */
2805
- expiresAt: string;
3039
+ createdAt: string;
2806
3040
  /**
2807
- * Populated for astro-owned envs the conversation that booted the env.
3041
+ * When the environment first became ready, if it reached that state.
2808
3042
  */
2809
- conversationId?: CommonUuid;
3043
+ readyAt?: string;
2810
3044
  /**
2811
- * Populated for execution-owned envs the execution that booted the env.
3045
+ * When the environment reached a terminal state. Set after Stop runs.
2812
3046
  */
2813
- executionId?: CommonUuid;
3047
+ stoppedAt?: string;
2814
3048
  /**
2815
- * Profile snapshot the env was booted against, if any.
3049
+ * When the reaper will tear the environment down if no graceful Stop arrives first.
2816
3050
  */
2817
- agentProfileId?: CommonUuid;
3051
+ expiresAt: string;
2818
3052
  };
2819
3053
  /**
2820
- * Environment owner kind. Mirrors the storage-side discriminator on agent_environment.owner_type. `execution` covers envs booted via the legacy execution-paused path; `astro` covers envs booted by the execution-free live_environment flow.
2821
- */
2822
- type AgentsEnvironmentEnvironmentOwnerType = 'execution' | 'astro' | 'external';
2823
- /**
2824
- * Connection details for a running environment, returned by the env-id attach endpoint. All fields are optional: an env that's still bootstrapping (no CDP URL yet) returns an empty response so the caller can proceed without browser tools.
3054
+ * How to drive a running environment. All fields are optional an env that is still bootstrapping has no CDP URL yet, and a caller can proceed without browser tools.
2825
3055
  */
2826
- type AgentsEnvironmentLiveEnvironmentDetails = {
3056
+ type AgentsEnvironmentEnvironmentConnection = {
2827
3057
  /**
2828
- * Chrome DevTools Protocol websocket URL. Present only for browser environments with a ready CDP endpoint.
3058
+ * Chrome DevTools Protocol websocket URL. Present only for browser environments with a ready CDP endpoint. Proxied on the browser and API-key surfaces; the raw provider URL is only ever handed to service-to-service callers.
2829
3059
  */
2830
3060
  cdpUrl?: string;
2831
3061
  /**
2832
- * Provider-specific CUA connection details. Present for Anchor browsers and Daytona OS environments.
3062
+ * Provider-specific CUA connection details. Present for Anchor browsers and Daytona OS environments. Carries session handles, not credentials — the caller resolves provider API keys from its own config.
2833
3063
  */
2834
3064
  cua?: AgentsWorkflowLiveEnvironmentCuaConnection;
2835
- /**
2836
- * Decrypted credential placeholders for the env's stamped agent profile, keyed by ##NAME## placeholder. Present only when the env has an attached profile with credentials. Internal-only.
2837
- */
2838
- credentials?: {
2839
- [key: string]: unknown;
2840
- };
2841
3065
  };
2842
3066
  /**
2843
- * Response for the list endpoint. Astro hits this when it doesn't have an environment id in slip state and wants to see what it can attach to before deciding to start fresh.
3067
+ * A single environment: what it is, its provider state, and how to drive it. `state` is the same shape the execution endpoint returns, so the LiveView/OsLiveView components render either without branching.
2844
3068
  */
2845
- type AgentsEnvironmentListEnvironmentsResponse = {
3069
+ type AgentsEnvironmentEnvironment = {
2846
3070
  /**
2847
- * All currently-running envs owned by the agent in question, ordered by createdAt DESC. Empty array when no envs are running.
3071
+ * Environment identifier.
2848
3072
  */
2849
- environments: Array<AgentsEnvironmentRunningEnvironment>;
2850
- };
2851
- /**
2852
- * Request to start a standalone live environment via the external (agents-API-key) API. Unlike the internal StartEnvironmentRequest there is no owner field — the env is stamped with an `external` owner for the path agent, and takes the agent's own organisation (not the caller's). Provisioning reads no workflow unless a workflow source is passed.
2853
- */
2854
- type AgentsEnvironmentExternalStartEnvironmentRequest = {
3073
+ id: CommonUuid;
2855
3074
  /**
2856
- * Where the environment spec comes from. Omit for the server default (a browser env at the computer-use resolution).
3075
+ * The organisation the environment belongs to.
2857
3076
  */
2858
- source?: AgentsEnvironmentEnvironmentSource;
3077
+ organizationId: CommonUuid;
2859
3078
  /**
2860
- * Optional agent profile to attach. When supplied, the profile's decrypted credentials are returned as the ##NAME## placeholder map and the profile id is stamped onto the env row for the session's lifetime.
3079
+ * Who the environment belongs to, and the identity that owner carries.
3080
+ */
3081
+ owner: AgentsEnvironmentEnvironmentOwner;
3082
+ /**
3083
+ * Browser or OS.
3084
+ */
3085
+ environmentType: AgentsWorkflowEnvironmentType;
3086
+ /**
3087
+ * Operating system for OS environments. Absent for browser environments; linux when an OS environment predates explicit osType storage.
3088
+ */
3089
+ osType?: AgentsWorkflowOsType;
3090
+ /**
3091
+ * Current status, terminal states included. Lists exclude terminal environments unless `includeTerminal` is set.
3092
+ */
3093
+ status: AgentsEnvironmentEnvironmentStatus;
3094
+ /**
3095
+ * Profile snapshot the environment was booted against, if any.
2861
3096
  */
2862
3097
  agentProfileId?: CommonUuid;
2863
- };
2864
- /**
2865
- * Environment spec supplied inline — provisioning does not read any workflow. This is how a live env is started without touching (or even having) a workflow definition.
2866
- */
2867
- type AgentsEnvironmentExplicitEnvironmentSource = {
2868
- kind: 'spec';
2869
3098
  /**
2870
- * Environment template. Omit entirely for the server default (browser).
3099
+ * Whether a playable recording has been persisted (GCS object or provider URL). The playable URL itself is minted on the by-id read.
2871
3100
  */
2872
- template?: AgentsEnvironmentSpecEnvironmentTemplate;
3101
+ hasRecording: boolean;
2873
3102
  /**
2874
- * Viewport width in pixels. Omit for the default (1280, the computer-use resolution). Ignored for OS environments — they always run at the fixed computer-use resolution.
3103
+ * When the environment row was created.
2875
3104
  */
2876
- viewportWidth?: number;
3105
+ createdAt: string;
2877
3106
  /**
2878
- * Viewport height in pixels. Omit for the default (800, the computer-use resolution). Ignored for OS environments — they always run at the fixed computer-use resolution.
3107
+ * When the environment first became ready, if it reached that state.
2879
3108
  */
2880
- viewportHeight?: number;
3109
+ readyAt?: string;
2881
3110
  /**
2882
- * Session lifetime in minutes before the reaper tears the env down. Clamped server-side to the astro session cap. Omit for the default.
3111
+ * When the environment reached a terminal state. Set after Stop runs.
2883
3112
  */
2884
- sessionTimeoutMins?: number;
3113
+ stoppedAt?: string;
3114
+ /**
3115
+ * When the reaper will tear the environment down if no graceful Stop arrives first.
3116
+ */
3117
+ expiresAt: string;
3118
+ /**
3119
+ * Environment state (browser or OS): live-view URL, viewport, provider config and a freshly-minted recording URL when one exists.
3120
+ */
3121
+ state: AgentsExecutionEnvironmentState;
3122
+ /**
3123
+ * How to connect to it.
3124
+ */
3125
+ connection: AgentsEnvironmentEnvironmentConnection;
2885
3126
  };
2886
- /**
2887
- * Where the environment spec comes from: copied from a workflow, or supplied inline.
2888
- */
2889
- type AgentsEnvironmentEnvironmentSource = ({
2890
- kind: 'workflow';
2891
- } & AgentsEnvironmentWorkflowEnvironmentSource) | ({
2892
- kind: 'spec';
2893
- } & AgentsEnvironmentExplicitEnvironmentSource);
2894
3127
  /**
2895
3128
  * A single documentation search result
2896
3129
  */
@@ -4308,88 +4541,6 @@ type AgentByIdUpdateResponses = {
4308
4541
  */
4309
4542
  200: unknown;
4310
4543
  };
4311
- type AgentEnvironmentsListData = {
4312
- body?: never;
4313
- path: {
4314
- /**
4315
- * The agent whose environments to list.
4316
- */
4317
- agentId: CommonUuid;
4318
- };
4319
- query?: never;
4320
- url: '/agents/{agentId}/environments';
4321
- };
4322
- type AgentEnvironmentsListErrors = {
4323
- /**
4324
- * The server could not understand the request due to invalid syntax.
4325
- */
4326
- 400: CommonBadRequestErrorBody;
4327
- /**
4328
- * Access is unauthorized.
4329
- */
4330
- 401: CommonUnauthorizedErrorBody;
4331
- /**
4332
- * Access is forbidden.
4333
- */
4334
- 403: CommonForbiddenErrorBody;
4335
- /**
4336
- * The server cannot find the requested resource.
4337
- */
4338
- 404: CommonNotFoundErrorBody;
4339
- /**
4340
- * Server error
4341
- */
4342
- 500: CommonInternalServerErrorBody;
4343
- };
4344
- type AgentEnvironmentsListError = AgentEnvironmentsListErrors[keyof AgentEnvironmentsListErrors];
4345
- type AgentEnvironmentsListResponses = {
4346
- /**
4347
- * The request has succeeded.
4348
- */
4349
- 200: AgentsEnvironmentListEnvironmentsResponse;
4350
- };
4351
- type AgentEnvironmentsListResponse = AgentEnvironmentsListResponses[keyof AgentEnvironmentsListResponses];
4352
- type AgentEnvironmentsStartData = {
4353
- body: AgentsEnvironmentExternalStartEnvironmentRequest;
4354
- path: {
4355
- /**
4356
- * The agent the environment belongs to.
4357
- */
4358
- agentId: CommonUuid;
4359
- };
4360
- query?: never;
4361
- url: '/agents/{agentId}/environments';
4362
- };
4363
- type AgentEnvironmentsStartErrors = {
4364
- /**
4365
- * The server could not understand the request due to invalid syntax.
4366
- */
4367
- 400: CommonBadRequestErrorBody;
4368
- /**
4369
- * Access is unauthorized.
4370
- */
4371
- 401: CommonUnauthorizedErrorBody;
4372
- /**
4373
- * Access is forbidden.
4374
- */
4375
- 403: CommonForbiddenErrorBody;
4376
- /**
4377
- * The server cannot find the requested resource.
4378
- */
4379
- 404: CommonNotFoundErrorBody;
4380
- /**
4381
- * Server error
4382
- */
4383
- 500: CommonInternalServerErrorBody;
4384
- };
4385
- type AgentEnvironmentsStartError = AgentEnvironmentsStartErrors[keyof AgentEnvironmentsStartErrors];
4386
- type AgentEnvironmentsStartResponses = {
4387
- /**
4388
- * The request has succeeded.
4389
- */
4390
- 200: AgentsEnvironmentStartEnvironmentResponse;
4391
- };
4392
- type AgentEnvironmentsStartResponse = AgentEnvironmentsStartResponses[keyof AgentEnvironmentsStartResponses];
4393
4544
  type AgentExecutePostData = {
4394
4545
  /**
4395
4546
  * Execution request parameters
@@ -4855,23 +5006,22 @@ type DocsSearchSearchResponses = {
4855
5006
  200: AgentsDocsSearchDocsResponse;
4856
5007
  };
4857
5008
  type DocsSearchSearchResponse = DocsSearchSearchResponses[keyof DocsSearchSearchResponses];
4858
- type EnvironmentLiveEnvironmentData = {
5009
+ type EnvironmentsListData = {
4859
5010
  body?: never;
4860
- path: {
5011
+ path?: never;
5012
+ query: {
4861
5013
  /**
4862
- * The environment whose connection details to resolve.
5014
+ * The agent whose environments to list. Gates access, and supplies the organisation.
4863
5015
  */
4864
- environmentId: CommonUuid;
4865
- };
4866
- query?: {
5016
+ agentId: CommonUuid;
4867
5017
  /**
4868
- * Optional assertion that the env belongs to this agent; resolution fails (404) on mismatch. Omit it access is already gated on the env's own agent and organisation.
5018
+ * Include stopped, failed and dead environments. Omit for running environments only.
4869
5019
  */
4870
- expectedAgentId?: CommonUuid;
5020
+ includeTerminal?: boolean;
4871
5021
  };
4872
- url: '/environments/{environmentId}/live-environment';
5022
+ url: '/environments';
4873
5023
  };
4874
- type EnvironmentLiveEnvironmentErrors = {
5024
+ type EnvironmentsListErrors = {
4875
5025
  /**
4876
5026
  * The server could not understand the request due to invalid syntax.
4877
5027
  */
@@ -4893,31 +5043,103 @@ type EnvironmentLiveEnvironmentErrors = {
4893
5043
  */
4894
5044
  500: CommonInternalServerErrorBody;
4895
5045
  };
4896
- type EnvironmentLiveEnvironmentError = EnvironmentLiveEnvironmentErrors[keyof EnvironmentLiveEnvironmentErrors];
4897
- type EnvironmentLiveEnvironmentResponses = {
5046
+ type EnvironmentsListError = EnvironmentsListErrors[keyof EnvironmentsListErrors];
5047
+ type EnvironmentsListResponses = {
4898
5048
  /**
4899
5049
  * The request has succeeded.
4900
5050
  */
4901
- 200: AgentsEnvironmentLiveEnvironmentDetails;
5051
+ 200: AgentsEnvironmentListEnvironmentsResponse;
4902
5052
  };
4903
- type EnvironmentLiveEnvironmentResponse = EnvironmentLiveEnvironmentResponses[keyof EnvironmentLiveEnvironmentResponses];
4904
- type EnvironmentStopData = {
5053
+ type EnvironmentsListResponse = EnvironmentsListResponses[keyof EnvironmentsListResponses];
5054
+ type EnvironmentsStartData = {
5055
+ body: AgentsEnvironmentStartEnvironmentRequest;
5056
+ path?: never;
5057
+ query?: never;
5058
+ url: '/environments';
5059
+ };
5060
+ type EnvironmentsStartErrors = {
5061
+ /**
5062
+ * The server could not understand the request due to invalid syntax.
5063
+ */
5064
+ 400: CommonBadRequestErrorBody;
5065
+ /**
5066
+ * Access is unauthorized.
5067
+ */
5068
+ 401: CommonUnauthorizedErrorBody;
5069
+ /**
5070
+ * Access is forbidden.
5071
+ */
5072
+ 403: CommonForbiddenErrorBody;
5073
+ /**
5074
+ * The server cannot find the requested resource.
5075
+ */
5076
+ 404: CommonNotFoundErrorBody;
5077
+ /**
5078
+ * Server error
5079
+ */
5080
+ 500: CommonInternalServerErrorBody;
5081
+ };
5082
+ type EnvironmentsStartError = EnvironmentsStartErrors[keyof EnvironmentsStartErrors];
5083
+ type EnvironmentsStartResponses = {
5084
+ /**
5085
+ * The request has succeeded.
5086
+ */
5087
+ 200: AgentsEnvironmentEnvironment;
5088
+ };
5089
+ type EnvironmentsStartResponse = EnvironmentsStartResponses[keyof EnvironmentsStartResponses];
5090
+ type EnvironmentByIdGetData = {
4905
5091
  body?: never;
4906
5092
  path: {
4907
5093
  /**
4908
- * The environment to stop.
5094
+ * The environment to read.
4909
5095
  */
4910
5096
  environmentId: CommonUuid;
4911
5097
  };
4912
- query?: {
5098
+ query?: never;
5099
+ url: '/environments/{environmentId}';
5100
+ };
5101
+ type EnvironmentByIdGetErrors = {
5102
+ /**
5103
+ * The server could not understand the request due to invalid syntax.
5104
+ */
5105
+ 400: CommonBadRequestErrorBody;
5106
+ /**
5107
+ * Access is unauthorized.
5108
+ */
5109
+ 401: CommonUnauthorizedErrorBody;
5110
+ /**
5111
+ * Access is forbidden.
5112
+ */
5113
+ 403: CommonForbiddenErrorBody;
5114
+ /**
5115
+ * The server cannot find the requested resource.
5116
+ */
5117
+ 404: CommonNotFoundErrorBody;
5118
+ /**
5119
+ * Server error
5120
+ */
5121
+ 500: CommonInternalServerErrorBody;
5122
+ };
5123
+ type EnvironmentByIdGetError = EnvironmentByIdGetErrors[keyof EnvironmentByIdGetErrors];
5124
+ type EnvironmentByIdGetResponses = {
5125
+ /**
5126
+ * The request has succeeded.
5127
+ */
5128
+ 200: AgentsEnvironmentEnvironment;
5129
+ };
5130
+ type EnvironmentByIdGetResponse = EnvironmentByIdGetResponses[keyof EnvironmentByIdGetResponses];
5131
+ type EnvironmentByIdStopData = {
5132
+ body?: never;
5133
+ path: {
4913
5134
  /**
4914
- * Optional assertion that the env belongs to this agent; the stop fails (404) on mismatch. Omit it — access is already gated on the env's own agent and organisation.
5135
+ * The environment to stop.
4915
5136
  */
4916
- expectedAgentId?: CommonUuid;
5137
+ environmentId: CommonUuid;
4917
5138
  };
5139
+ query?: never;
4918
5140
  url: '/environments/{environmentId}/stop';
4919
5141
  };
4920
- type EnvironmentStopErrors = {
5142
+ type EnvironmentByIdStopErrors = {
4921
5143
  /**
4922
5144
  * The server could not understand the request due to invalid syntax.
4923
5145
  */
@@ -4939,14 +5161,14 @@ type EnvironmentStopErrors = {
4939
5161
  */
4940
5162
  500: CommonInternalServerErrorBody;
4941
5163
  };
4942
- type EnvironmentStopError = EnvironmentStopErrors[keyof EnvironmentStopErrors];
4943
- type EnvironmentStopResponses = {
5164
+ type EnvironmentByIdStopError = EnvironmentByIdStopErrors[keyof EnvironmentByIdStopErrors];
5165
+ type EnvironmentByIdStopResponses = {
4944
5166
  /**
4945
5167
  * There is no content to send for this request, but the headers may be useful.
4946
5168
  */
4947
5169
  204: void;
4948
5170
  };
4949
- type EnvironmentStopResponse = EnvironmentStopResponses[keyof EnvironmentStopResponses];
5171
+ type EnvironmentByIdStopResponse = EnvironmentByIdStopResponses[keyof EnvironmentByIdStopResponses];
4950
5172
  type ExecutionsListData = {
4951
5173
  body?: never;
4952
5174
  path?: never;
@@ -5679,18 +5901,6 @@ declare const agentByIdDelete: <ThrowOnError extends boolean = false>(options: O
5679
5901
  * Update mutable agent fields.
5680
5902
  */
5681
5903
  declare const agentByIdUpdate: <ThrowOnError extends boolean = false>(options: Options<AgentByIdUpdateData, ThrowOnError>) => RequestResult<AgentByIdUpdateResponses, AgentByIdUpdateErrors, ThrowOnError, "fields">;
5682
- /**
5683
- * List running environments (external)
5684
- *
5685
- * List the currently-running external-owned environments for this agent, to rediscover an env to attach to. Only external-owned environments are ever returned: an agent's execution- and astro-owned environments are private to those owners.
5686
- */
5687
- declare const agentEnvironmentsList: <ThrowOnError extends boolean = false>(options: Options<AgentEnvironmentsListData, ThrowOnError>) => RequestResult<AgentEnvironmentsListResponses, AgentEnvironmentsListErrors, ThrowOnError, "fields">;
5688
- /**
5689
- * Start live environment (external)
5690
- *
5691
- * Start a standalone live environment for the agent. Returns the (proxied) CDP URL or Daytona connection details once the env is ready; optionally returns decrypted credentials when agentProfileId is supplied. The env is stamped with an `external` owner and reaped on its session TTL.
5692
- */
5693
- declare const agentEnvironmentsStart: <ThrowOnError extends boolean = false>(options: Options<AgentEnvironmentsStartData, ThrowOnError>) => RequestResult<AgentEnvironmentsStartResponses, AgentEnvironmentsStartErrors, ThrowOnError, "fields">;
5694
5904
  /**
5695
5905
  * Execute an agent
5696
5906
  *
@@ -5758,17 +5968,29 @@ declare const contextGet: <ThrowOnError extends boolean = false>(options?: Optio
5758
5968
  */
5759
5969
  declare const docsSearchSearch: <ThrowOnError extends boolean = false>(options: Options<DocsSearchSearchData, ThrowOnError>) => RequestResult<DocsSearchSearchResponses, DocsSearchSearchErrors, ThrowOnError, "fields">;
5760
5970
  /**
5761
- * Resolve live environment by id (external)
5971
+ * List environments
5972
+ *
5973
+ * List the standalone environments bound to an agent, newest first. Only environments this API key's organisation started are returned; those owned by an execution or an astro conversation are private to those owners. Terminal environments are excluded unless `includeTerminal` is set.
5974
+ */
5975
+ declare const environmentsList: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsListData, ThrowOnError>) => RequestResult<EnvironmentsListResponses, EnvironmentsListErrors, ThrowOnError, "fields">;
5976
+ /**
5977
+ * Start environment
5978
+ *
5979
+ * Start an environment. Blocks until it is ready (or the provider fails) and returns the environment together with its connection details, so a caller boots in one round trip. The agent in the body gates access and supplies the organisation.
5980
+ */
5981
+ declare const environmentsStart: <ThrowOnError extends boolean = false>(options: Options<EnvironmentsStartData, ThrowOnError>) => RequestResult<EnvironmentsStartResponses, EnvironmentsStartErrors, ThrowOnError, "fields">;
5982
+ /**
5983
+ * Get environment
5762
5984
  *
5763
- * Resolve live-environment connection details (proxied CDP URL / CUA) by env id. External-owned envs only; access is gated on the env's agent belonging to the caller's organisation. Returns 404 if either gate fails.
5985
+ * Read an environment, including the provider state the live view renders from. Terminal environments are returned too, so the caller can play the recording.
5764
5986
  */
5765
- declare const environmentLiveEnvironment: <ThrowOnError extends boolean = false>(options: Options<EnvironmentLiveEnvironmentData, ThrowOnError>) => RequestResult<EnvironmentLiveEnvironmentResponses, EnvironmentLiveEnvironmentErrors, ThrowOnError, "fields">;
5987
+ declare const environmentByIdGet: <ThrowOnError extends boolean = false>(options: Options<EnvironmentByIdGetData, ThrowOnError>) => RequestResult<EnvironmentByIdGetResponses, EnvironmentByIdGetErrors, ThrowOnError, "fields">;
5766
5988
  /**
5767
- * Stop environment by id (external)
5989
+ * Stop environment
5768
5990
  *
5769
- * Stop an external-owned environment by id. Idempotent already-terminal envs are a no-op (204). External-owned only; other owners return 404.
5991
+ * Stop an environment. Runs the full teardown (clean browser → persist recording → clean sandbox → mark stopped). Idempotent: an already-terminal environment is a no-op.
5770
5992
  */
5771
- declare const environmentStop: <ThrowOnError extends boolean = false>(options: Options<EnvironmentStopData, ThrowOnError>) => RequestResult<EnvironmentStopResponses, EnvironmentStopErrors, ThrowOnError, "fields">;
5993
+ declare const environmentByIdStop: <ThrowOnError extends boolean = false>(options: Options<EnvironmentByIdStopData, ThrowOnError>) => RequestResult<EnvironmentByIdStopResponses, EnvironmentByIdStopErrors, ThrowOnError, "fields">;
5772
5994
  /**
5773
5995
  * List executions
5774
5996
  *
@@ -5870,4 +6092,4 @@ declare const schemaValidationValidate: <ThrowOnError extends boolean = false>(o
5870
6092
  */
5871
6093
  declare const tempFilesStage: <ThrowOnError extends boolean = false>(options: Options<TempFilesStageData, ThrowOnError>) => RequestResult<TempFilesStageResponses, TempFilesStageErrors, ThrowOnError, "fields">;
5872
6094
 
5873
- export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentByIdUpdateData, type AgentByIdUpdateError, type AgentByIdUpdateErrors, type AgentByIdUpdateResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentEnvironmentsListData, type AgentEnvironmentsListError, type AgentEnvironmentsListErrors, type AgentEnvironmentsListResponse, type AgentEnvironmentsListResponses, type AgentEnvironmentsStartData, type AgentEnvironmentsStartError, type AgentEnvironmentsStartErrors, type AgentEnvironmentsStartResponse, type AgentEnvironmentsStartResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentExternalCreateRequest, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentUpdateRequest, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsEnvironmentEnvironmentOwnerType, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalStartEnvironmentRequest, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentLiveEnvironmentDetails, type AgentsEnvironmentRunningEnvironment, type AgentsEnvironmentRunningEnvironmentStatus, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentResponse, type AgentsEnvironmentWorkflowEnvironmentSource, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionPausedPayload, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentTemplate, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowLiveEnvironmentCuaConnection, type AgentsWorkflowLiveEnvironmentCuaProvider, type AgentsWorkflowOsProvider, type AgentsWorkflowOsTemplateConfig, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type EnvironmentLiveEnvironmentData, type EnvironmentLiveEnvironmentError, type EnvironmentLiveEnvironmentErrors, type EnvironmentLiveEnvironmentResponse, type EnvironmentLiveEnvironmentResponses, type EnvironmentStopData, type EnvironmentStopError, type EnvironmentStopErrors, type EnvironmentStopResponse, type EnvironmentStopResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentEnvironmentsList, agentEnvironmentsStart, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, availableToolsList, client, contextGet, docsSearchSearch, environmentLiveEnvironment, environmentStop, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage };
6095
+ export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentByIdUpdateData, type AgentByIdUpdateError, type AgentByIdUpdateErrors, type AgentByIdUpdateResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentExternalCreateRequest, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentUpdateRequest, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsEnvironmentAstroEnvironmentOwner, type AgentsEnvironmentEnvironment, type AgentsEnvironmentEnvironmentConnection, type AgentsEnvironmentEnvironmentOwner, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentEnvironmentStatus, type AgentsEnvironmentEnvironmentSummary, type AgentsEnvironmentExecutionEnvironmentOwner, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalEnvironmentOwner, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentRequest, type AgentsEnvironmentWorkflowEnvironmentSource, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionAnchorProviderConfig, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBrowserProviderConfig, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionBrowserState, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionDaytonaProviderConfig, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionEnvironmentState, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionOsState, type AgentsExecutionPausedPayload, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionSteelProviderConfig, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentTemplate, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowLiveEnvironmentCuaConnection, type AgentsWorkflowLiveEnvironmentCuaProvider, type AgentsWorkflowOsProvider, type AgentsWorkflowOsTemplateConfig, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type EnvironmentByIdGetData, type EnvironmentByIdGetError, type EnvironmentByIdGetErrors, type EnvironmentByIdGetResponse, type EnvironmentByIdGetResponses, type EnvironmentByIdStopData, type EnvironmentByIdStopError, type EnvironmentByIdStopErrors, type EnvironmentByIdStopResponse, type EnvironmentByIdStopResponses, type EnvironmentsListData, type EnvironmentsListError, type EnvironmentsListErrors, type EnvironmentsListResponse, type EnvironmentsListResponses, type EnvironmentsStartData, type EnvironmentsStartError, type EnvironmentsStartErrors, type EnvironmentsStartResponse, type EnvironmentsStartResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, availableToolsList, client, contextGet, docsSearchSearch, environmentByIdGet, environmentByIdStop, environmentsList, environmentsStart, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, schemaValidationValidate, tempFilesStage };