asteroid-odyssey 1.3.8 → 1.3.10
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 +874 -92
- package/dist/index.d.ts +874 -92
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -639,6 +639,14 @@ type AgentProfile = {
|
|
|
639
639
|
* The last update time of the agent profile
|
|
640
640
|
*/
|
|
641
641
|
updated_at: string;
|
|
642
|
+
/**
|
|
643
|
+
* Whether to enable tracing snapshots for the profile
|
|
644
|
+
*/
|
|
645
|
+
tracing_snapshots: boolean;
|
|
646
|
+
/**
|
|
647
|
+
* Whether to enable extra stealth for the profile
|
|
648
|
+
*/
|
|
649
|
+
extra_stealth: boolean;
|
|
642
650
|
};
|
|
643
651
|
type CreateAgentProfileRequest = {
|
|
644
652
|
/**
|
|
@@ -671,6 +679,14 @@ type CreateAgentProfileRequest = {
|
|
|
671
679
|
* Optional list of cookies to create with the profile
|
|
672
680
|
*/
|
|
673
681
|
cookies: Array<Cookie>;
|
|
682
|
+
/**
|
|
683
|
+
* Whether to enable tracing snapshots for the profile
|
|
684
|
+
*/
|
|
685
|
+
tracing_snapshots?: boolean;
|
|
686
|
+
/**
|
|
687
|
+
* Whether to enable extra stealth for the profile
|
|
688
|
+
*/
|
|
689
|
+
extra_stealth?: boolean;
|
|
674
690
|
};
|
|
675
691
|
type UpdateAgentProfileRequest = {
|
|
676
692
|
/**
|
|
@@ -707,6 +723,14 @@ type UpdateAgentProfileRequest = {
|
|
|
707
723
|
* List of cookie IDs to delete from the profile
|
|
708
724
|
*/
|
|
709
725
|
cookies_to_delete?: Array<string>;
|
|
726
|
+
/**
|
|
727
|
+
* Whether to enable tracing snapshots for the profile
|
|
728
|
+
*/
|
|
729
|
+
tracing_snapshots?: boolean;
|
|
730
|
+
/**
|
|
731
|
+
* Whether to enable extra stealth for the profile
|
|
732
|
+
*/
|
|
733
|
+
extra_stealth?: boolean;
|
|
710
734
|
};
|
|
711
735
|
/**
|
|
712
736
|
* Two-letter country code for proxy location
|
|
@@ -715,7 +739,7 @@ type CountryCode = 'us' | 'uk' | 'fr' | 'it' | 'jp' | 'au' | 'de' | 'fi' | 'ca';
|
|
|
715
739
|
/**
|
|
716
740
|
* Type of proxy to use
|
|
717
741
|
*/
|
|
718
|
-
type ProxyType = 'residential' | 'mobile';
|
|
742
|
+
type ProxyType = 'basic' | 'residential' | 'mobile';
|
|
719
743
|
type Credential = {
|
|
720
744
|
/**
|
|
721
745
|
* The unique identifier for this credential
|
|
@@ -746,53 +770,6 @@ type GetOpenApiResponses = {
|
|
|
746
770
|
*/
|
|
747
771
|
200: unknown;
|
|
748
772
|
};
|
|
749
|
-
type UploadExecutionFilesData = {
|
|
750
|
-
body: {
|
|
751
|
-
/**
|
|
752
|
-
* Files to upload to the execution
|
|
753
|
-
*/
|
|
754
|
-
files?: Array<Blob | File>;
|
|
755
|
-
};
|
|
756
|
-
path: {
|
|
757
|
-
/**
|
|
758
|
-
* The ID of the execution
|
|
759
|
-
*/
|
|
760
|
-
id: string;
|
|
761
|
-
};
|
|
762
|
-
query?: never;
|
|
763
|
-
url: '/execution/{id}/files';
|
|
764
|
-
};
|
|
765
|
-
type UploadExecutionFilesErrors = {
|
|
766
|
-
/**
|
|
767
|
-
* Bad request
|
|
768
|
-
*/
|
|
769
|
-
400: ErrorResponse;
|
|
770
|
-
/**
|
|
771
|
-
* Unauthorized
|
|
772
|
-
*/
|
|
773
|
-
401: ErrorResponse;
|
|
774
|
-
/**
|
|
775
|
-
* Execution not found
|
|
776
|
-
*/
|
|
777
|
-
404: ErrorResponse;
|
|
778
|
-
};
|
|
779
|
-
type UploadExecutionFilesError = UploadExecutionFilesErrors[keyof UploadExecutionFilesErrors];
|
|
780
|
-
type UploadExecutionFilesResponses = {
|
|
781
|
-
/**
|
|
782
|
-
* Files uploaded successfully
|
|
783
|
-
*/
|
|
784
|
-
200: {
|
|
785
|
-
/**
|
|
786
|
-
* Success message
|
|
787
|
-
*/
|
|
788
|
-
message?: string;
|
|
789
|
-
/**
|
|
790
|
-
* IDs of the uploaded files
|
|
791
|
-
*/
|
|
792
|
-
file_ids?: Array<string>;
|
|
793
|
-
};
|
|
794
|
-
};
|
|
795
|
-
type UploadExecutionFilesResponse = UploadExecutionFilesResponses[keyof UploadExecutionFilesResponses];
|
|
796
773
|
type HealthCheckData = {
|
|
797
774
|
body?: never;
|
|
798
775
|
path?: never;
|
|
@@ -1258,15 +1235,118 @@ type types_gen$1_UpdateAgentProfileErrors = UpdateAgentProfileErrors;
|
|
|
1258
1235
|
type types_gen$1_UpdateAgentProfileRequest = UpdateAgentProfileRequest;
|
|
1259
1236
|
type types_gen$1_UpdateAgentProfileResponse = UpdateAgentProfileResponse;
|
|
1260
1237
|
type types_gen$1_UpdateAgentProfileResponses = UpdateAgentProfileResponses;
|
|
1261
|
-
type types_gen$1_UploadExecutionFilesData = UploadExecutionFilesData;
|
|
1262
|
-
type types_gen$1_UploadExecutionFilesError = UploadExecutionFilesError;
|
|
1263
|
-
type types_gen$1_UploadExecutionFilesErrors = UploadExecutionFilesErrors;
|
|
1264
|
-
type types_gen$1_UploadExecutionFilesResponse = UploadExecutionFilesResponse;
|
|
1265
|
-
type types_gen$1_UploadExecutionFilesResponses = UploadExecutionFilesResponses;
|
|
1266
1238
|
declare namespace types_gen$1 {
|
|
1267
|
-
export type { types_gen$1_AgentExecutionRequest as AgentExecutionRequest, types_gen$1_AgentProfile as AgentProfile, types_gen$1_BrowserSessionRecordingResponse as BrowserSessionRecordingResponse, ClientOptions$1 as ClientOptions, types_gen$1_Cookie as Cookie, types_gen$1_CountryCode as CountryCode, types_gen$1_CreateAgentProfileData as CreateAgentProfileData, types_gen$1_CreateAgentProfileError as CreateAgentProfileError, types_gen$1_CreateAgentProfileErrors as CreateAgentProfileErrors, types_gen$1_CreateAgentProfileRequest as CreateAgentProfileRequest, types_gen$1_CreateAgentProfileResponse as CreateAgentProfileResponse, types_gen$1_CreateAgentProfileResponses as CreateAgentProfileResponses, types_gen$1_Credential as Credential, types_gen$1_DeleteAgentProfileData as DeleteAgentProfileData, types_gen$1_DeleteAgentProfileError as DeleteAgentProfileError, types_gen$1_DeleteAgentProfileErrors as DeleteAgentProfileErrors, types_gen$1_DeleteAgentProfileResponse as DeleteAgentProfileResponse, types_gen$1_DeleteAgentProfileResponses as DeleteAgentProfileResponses, types_gen$1_ErrorResponse as ErrorResponse, types_gen$1_ExecuteAgentData as ExecuteAgentData, types_gen$1_ExecuteAgentError as ExecuteAgentError, types_gen$1_ExecuteAgentErrors as ExecuteAgentErrors, types_gen$1_ExecuteAgentResponse as ExecuteAgentResponse, types_gen$1_ExecuteAgentResponses as ExecuteAgentResponses, types_gen$1_ExecuteAgentStructuredData as ExecuteAgentStructuredData, types_gen$1_ExecuteAgentStructuredError as ExecuteAgentStructuredError, types_gen$1_ExecuteAgentStructuredErrors as ExecuteAgentStructuredErrors, types_gen$1_ExecuteAgentStructuredResponse as ExecuteAgentStructuredResponse, types_gen$1_ExecuteAgentStructuredResponses as ExecuteAgentStructuredResponses, types_gen$1_ExecutionResponse as ExecutionResponse, types_gen$1_ExecutionResult as ExecutionResult, types_gen$1_ExecutionResultResponse as ExecutionResultResponse, types_gen$1_ExecutionStatusResponse as ExecutionStatusResponse, types_gen$1_GetAgentProfileData as GetAgentProfileData, types_gen$1_GetAgentProfileError as GetAgentProfileError, types_gen$1_GetAgentProfileErrors as GetAgentProfileErrors, types_gen$1_GetAgentProfileResponse as GetAgentProfileResponse, types_gen$1_GetAgentProfileResponses as GetAgentProfileResponses, types_gen$1_GetAgentProfilesData as GetAgentProfilesData, types_gen$1_GetAgentProfilesError as GetAgentProfilesError, types_gen$1_GetAgentProfilesErrors as GetAgentProfilesErrors, types_gen$1_GetAgentProfilesResponse as GetAgentProfilesResponse, types_gen$1_GetAgentProfilesResponses as GetAgentProfilesResponses, types_gen$1_GetBrowserSessionRecordingData as GetBrowserSessionRecordingData, types_gen$1_GetBrowserSessionRecordingError as GetBrowserSessionRecordingError, types_gen$1_GetBrowserSessionRecordingErrors as GetBrowserSessionRecordingErrors, types_gen$1_GetBrowserSessionRecordingResponse as GetBrowserSessionRecordingResponse, types_gen$1_GetBrowserSessionRecordingResponses as GetBrowserSessionRecordingResponses, types_gen$1_GetCredentialsPublicKeyData as GetCredentialsPublicKeyData, types_gen$1_GetCredentialsPublicKeyErrors as GetCredentialsPublicKeyErrors, types_gen$1_GetCredentialsPublicKeyResponse as GetCredentialsPublicKeyResponse, types_gen$1_GetCredentialsPublicKeyResponses as GetCredentialsPublicKeyResponses, types_gen$1_GetExecutionResultData as GetExecutionResultData, types_gen$1_GetExecutionResultError as GetExecutionResultError, types_gen$1_GetExecutionResultErrors as GetExecutionResultErrors, types_gen$1_GetExecutionResultResponse as GetExecutionResultResponse, types_gen$1_GetExecutionResultResponses as GetExecutionResultResponses, types_gen$1_GetExecutionStatusData as GetExecutionStatusData, types_gen$1_GetExecutionStatusError as GetExecutionStatusError, types_gen$1_GetExecutionStatusErrors as GetExecutionStatusErrors, types_gen$1_GetExecutionStatusResponse as GetExecutionStatusResponse, types_gen$1_GetExecutionStatusResponses as GetExecutionStatusResponses, types_gen$1_GetOpenApiData as GetOpenApiData, types_gen$1_GetOpenApiResponses as GetOpenApiResponses, types_gen$1_HealthCheckData as HealthCheckData, types_gen$1_HealthCheckError as HealthCheckError, types_gen$1_HealthCheckErrors as HealthCheckErrors, types_gen$1_HealthCheckResponse as HealthCheckResponse, types_gen$1_HealthCheckResponses as HealthCheckResponses, types_gen$1_ProxyType as ProxyType, types_gen$1_Status as Status, types_gen$1_StructuredAgentExecutionRequest as StructuredAgentExecutionRequest, types_gen$1_UpdateAgentProfileData as UpdateAgentProfileData, types_gen$1_UpdateAgentProfileError as UpdateAgentProfileError, types_gen$1_UpdateAgentProfileErrors as UpdateAgentProfileErrors, types_gen$1_UpdateAgentProfileRequest as UpdateAgentProfileRequest, types_gen$1_UpdateAgentProfileResponse as UpdateAgentProfileResponse, types_gen$1_UpdateAgentProfileResponses as UpdateAgentProfileResponses
|
|
1239
|
+
export type { types_gen$1_AgentExecutionRequest as AgentExecutionRequest, types_gen$1_AgentProfile as AgentProfile, types_gen$1_BrowserSessionRecordingResponse as BrowserSessionRecordingResponse, ClientOptions$1 as ClientOptions, types_gen$1_Cookie as Cookie, types_gen$1_CountryCode as CountryCode, types_gen$1_CreateAgentProfileData as CreateAgentProfileData, types_gen$1_CreateAgentProfileError as CreateAgentProfileError, types_gen$1_CreateAgentProfileErrors as CreateAgentProfileErrors, types_gen$1_CreateAgentProfileRequest as CreateAgentProfileRequest, types_gen$1_CreateAgentProfileResponse as CreateAgentProfileResponse, types_gen$1_CreateAgentProfileResponses as CreateAgentProfileResponses, types_gen$1_Credential as Credential, types_gen$1_DeleteAgentProfileData as DeleteAgentProfileData, types_gen$1_DeleteAgentProfileError as DeleteAgentProfileError, types_gen$1_DeleteAgentProfileErrors as DeleteAgentProfileErrors, types_gen$1_DeleteAgentProfileResponse as DeleteAgentProfileResponse, types_gen$1_DeleteAgentProfileResponses as DeleteAgentProfileResponses, types_gen$1_ErrorResponse as ErrorResponse, types_gen$1_ExecuteAgentData as ExecuteAgentData, types_gen$1_ExecuteAgentError as ExecuteAgentError, types_gen$1_ExecuteAgentErrors as ExecuteAgentErrors, types_gen$1_ExecuteAgentResponse as ExecuteAgentResponse, types_gen$1_ExecuteAgentResponses as ExecuteAgentResponses, types_gen$1_ExecuteAgentStructuredData as ExecuteAgentStructuredData, types_gen$1_ExecuteAgentStructuredError as ExecuteAgentStructuredError, types_gen$1_ExecuteAgentStructuredErrors as ExecuteAgentStructuredErrors, types_gen$1_ExecuteAgentStructuredResponse as ExecuteAgentStructuredResponse, types_gen$1_ExecuteAgentStructuredResponses as ExecuteAgentStructuredResponses, types_gen$1_ExecutionResponse as ExecutionResponse, types_gen$1_ExecutionResult as ExecutionResult, types_gen$1_ExecutionResultResponse as ExecutionResultResponse, types_gen$1_ExecutionStatusResponse as ExecutionStatusResponse, types_gen$1_GetAgentProfileData as GetAgentProfileData, types_gen$1_GetAgentProfileError as GetAgentProfileError, types_gen$1_GetAgentProfileErrors as GetAgentProfileErrors, types_gen$1_GetAgentProfileResponse as GetAgentProfileResponse, types_gen$1_GetAgentProfileResponses as GetAgentProfileResponses, types_gen$1_GetAgentProfilesData as GetAgentProfilesData, types_gen$1_GetAgentProfilesError as GetAgentProfilesError, types_gen$1_GetAgentProfilesErrors as GetAgentProfilesErrors, types_gen$1_GetAgentProfilesResponse as GetAgentProfilesResponse, types_gen$1_GetAgentProfilesResponses as GetAgentProfilesResponses, types_gen$1_GetBrowserSessionRecordingData as GetBrowserSessionRecordingData, types_gen$1_GetBrowserSessionRecordingError as GetBrowserSessionRecordingError, types_gen$1_GetBrowserSessionRecordingErrors as GetBrowserSessionRecordingErrors, types_gen$1_GetBrowserSessionRecordingResponse as GetBrowserSessionRecordingResponse, types_gen$1_GetBrowserSessionRecordingResponses as GetBrowserSessionRecordingResponses, types_gen$1_GetCredentialsPublicKeyData as GetCredentialsPublicKeyData, types_gen$1_GetCredentialsPublicKeyErrors as GetCredentialsPublicKeyErrors, types_gen$1_GetCredentialsPublicKeyResponse as GetCredentialsPublicKeyResponse, types_gen$1_GetCredentialsPublicKeyResponses as GetCredentialsPublicKeyResponses, types_gen$1_GetExecutionResultData as GetExecutionResultData, types_gen$1_GetExecutionResultError as GetExecutionResultError, types_gen$1_GetExecutionResultErrors as GetExecutionResultErrors, types_gen$1_GetExecutionResultResponse as GetExecutionResultResponse, types_gen$1_GetExecutionResultResponses as GetExecutionResultResponses, types_gen$1_GetExecutionStatusData as GetExecutionStatusData, types_gen$1_GetExecutionStatusError as GetExecutionStatusError, types_gen$1_GetExecutionStatusErrors as GetExecutionStatusErrors, types_gen$1_GetExecutionStatusResponse as GetExecutionStatusResponse, types_gen$1_GetExecutionStatusResponses as GetExecutionStatusResponses, types_gen$1_GetOpenApiData as GetOpenApiData, types_gen$1_GetOpenApiResponses as GetOpenApiResponses, types_gen$1_HealthCheckData as HealthCheckData, types_gen$1_HealthCheckError as HealthCheckError, types_gen$1_HealthCheckErrors as HealthCheckErrors, types_gen$1_HealthCheckResponse as HealthCheckResponse, types_gen$1_HealthCheckResponses as HealthCheckResponses, types_gen$1_ProxyType as ProxyType, types_gen$1_Status as Status, types_gen$1_StructuredAgentExecutionRequest as StructuredAgentExecutionRequest, types_gen$1_UpdateAgentProfileData as UpdateAgentProfileData, types_gen$1_UpdateAgentProfileError as UpdateAgentProfileError, types_gen$1_UpdateAgentProfileErrors as UpdateAgentProfileErrors, types_gen$1_UpdateAgentProfileRequest as UpdateAgentProfileRequest, types_gen$1_UpdateAgentProfileResponse as UpdateAgentProfileResponse, types_gen$1_UpdateAgentProfileResponses as UpdateAgentProfileResponses };
|
|
1268
1240
|
}
|
|
1269
1241
|
|
|
1242
|
+
type ActivityActionCompletedInfoApiCall = {
|
|
1243
|
+
actionName: 'api_call';
|
|
1244
|
+
info: AgentsExecutionApiCallCompletedDetails;
|
|
1245
|
+
};
|
|
1246
|
+
type ActivityActionCompletedInfoBrowserFileUpload = {
|
|
1247
|
+
actionName: 'browser_file_upload';
|
|
1248
|
+
info: AgentsExecutionFileUploadCompletedDetails;
|
|
1249
|
+
};
|
|
1250
|
+
type ActivityActionCompletedInfoBrowserNavigate = {
|
|
1251
|
+
actionName: 'browser_navigate';
|
|
1252
|
+
info: AgentsExecutionNavigationDetails;
|
|
1253
|
+
};
|
|
1254
|
+
type ActivityActionCompletedInfoBrowserSnapshotWithSelectors = {
|
|
1255
|
+
actionName: 'browser_snapshot_with_selectors';
|
|
1256
|
+
info: AgentsExecutionBrowserSnapshotCompletedDetails;
|
|
1257
|
+
};
|
|
1258
|
+
type ActivityActionCompletedInfoGetMail = {
|
|
1259
|
+
actionName: 'get_mail';
|
|
1260
|
+
info: AgentsExecutionGetMailCompletedDetails;
|
|
1261
|
+
};
|
|
1262
|
+
type ActivityActionCompletedInfoGoToUrl = {
|
|
1263
|
+
actionName: 'go_to_url';
|
|
1264
|
+
info: AgentsExecutionNavigationDetails;
|
|
1265
|
+
};
|
|
1266
|
+
type ActivityActionCompletedInfoHybridPlaywright = {
|
|
1267
|
+
actionName: 'hybrid_playwright';
|
|
1268
|
+
info: AgentsExecutionPlaywrightScriptCompletedDetails;
|
|
1269
|
+
};
|
|
1270
|
+
type ActivityActionCompletedInfoListFiles = {
|
|
1271
|
+
actionName: 'list_files';
|
|
1272
|
+
info: AgentsExecutionFileListCompletedDetails;
|
|
1273
|
+
};
|
|
1274
|
+
type ActivityActionCompletedInfoPlaywrightScript = {
|
|
1275
|
+
actionName: 'playwright_script';
|
|
1276
|
+
info: AgentsExecutionPlaywrightScriptCompletedDetails;
|
|
1277
|
+
};
|
|
1278
|
+
type ActivityActionCompletedInfoReadFiles = {
|
|
1279
|
+
actionName: 'read_files';
|
|
1280
|
+
info: AgentsExecutionFileReadCompletedDetails;
|
|
1281
|
+
};
|
|
1282
|
+
type ActivityActionCompletedInfoReadScratchpad = {
|
|
1283
|
+
actionName: 'read_scratchpad';
|
|
1284
|
+
info: AgentsExecutionScratchpadCompletedDetails;
|
|
1285
|
+
};
|
|
1286
|
+
type ActivityActionCompletedInfoScriptpadRead = {
|
|
1287
|
+
actionName: 'scriptpad_read';
|
|
1288
|
+
info: AgentsExecutionScriptpadReadCompletedDetails;
|
|
1289
|
+
};
|
|
1290
|
+
type ActivityActionCompletedInfoScriptpadRunFunction = {
|
|
1291
|
+
actionName: 'scriptpad_run_function';
|
|
1292
|
+
info: AgentsExecutionRunFunctionCompletedDetails;
|
|
1293
|
+
};
|
|
1294
|
+
type ActivityActionCompletedInfoScriptpadSearchReplace = {
|
|
1295
|
+
actionName: 'scriptpad_search_replace';
|
|
1296
|
+
info: AgentsExecutionScriptpadSearchReplaceCompletedDetails;
|
|
1297
|
+
};
|
|
1298
|
+
type ActivityActionCompletedInfoUploadFile = {
|
|
1299
|
+
actionName: 'upload_file';
|
|
1300
|
+
info: AgentsExecutionFileUploadCompletedDetails;
|
|
1301
|
+
};
|
|
1302
|
+
type ActivityActionCompletedInfoUploadLocalFile = {
|
|
1303
|
+
actionName: 'upload_local_file';
|
|
1304
|
+
info: AgentsExecutionFileUploadCompletedDetails;
|
|
1305
|
+
};
|
|
1306
|
+
type ActivityActionCompletedInfoWriteScratchpad = {
|
|
1307
|
+
actionName: 'write_scratchpad';
|
|
1308
|
+
info: AgentsExecutionScratchpadCompletedDetails;
|
|
1309
|
+
};
|
|
1310
|
+
type ActivityActionStartedInfoBrowserNavigate = {
|
|
1311
|
+
actionName: 'browser_navigate';
|
|
1312
|
+
info: AgentsExecutionNavigationDetails;
|
|
1313
|
+
};
|
|
1314
|
+
type ActivityActionStartedInfoGetDatetime = {
|
|
1315
|
+
actionName: 'get_datetime';
|
|
1316
|
+
info: AgentsExecutionGetDatetimeDetails;
|
|
1317
|
+
};
|
|
1318
|
+
type ActivityActionStartedInfoGoToUrl = {
|
|
1319
|
+
actionName: 'go_to_url';
|
|
1320
|
+
info: AgentsExecutionNavigationDetails;
|
|
1321
|
+
};
|
|
1322
|
+
type ActivityActionStartedInfoHybridPlaywright = {
|
|
1323
|
+
actionName: 'hybrid_playwright';
|
|
1324
|
+
info: AgentsExecutionPlaywrightScriptStartedDetails;
|
|
1325
|
+
};
|
|
1326
|
+
type ActivityActionStartedInfoPlaywrightScript = {
|
|
1327
|
+
actionName: 'playwright_script';
|
|
1328
|
+
info: AgentsExecutionPlaywrightScriptStartedDetails;
|
|
1329
|
+
};
|
|
1330
|
+
type ActivityActionStartedInfoReadScratchpad = {
|
|
1331
|
+
actionName: 'read_scratchpad';
|
|
1332
|
+
info: AgentsExecutionScratchpadCompletedDetails;
|
|
1333
|
+
};
|
|
1334
|
+
type ActivityActionStartedInfoScriptpadRead = {
|
|
1335
|
+
actionName: 'scriptpad_read';
|
|
1336
|
+
info: AgentsExecutionScriptpadReadCompletedDetails;
|
|
1337
|
+
};
|
|
1338
|
+
type ActivityActionStartedInfoScriptpadRunFunction = {
|
|
1339
|
+
actionName: 'scriptpad_run_function';
|
|
1340
|
+
info: AgentsExecutionRunFunctionCompletedDetails;
|
|
1341
|
+
};
|
|
1342
|
+
type ActivityActionStartedInfoScriptpadSearchReplace = {
|
|
1343
|
+
actionName: 'scriptpad_search_replace';
|
|
1344
|
+
info: AgentsExecutionScriptpadSearchReplaceCompletedDetails;
|
|
1345
|
+
};
|
|
1346
|
+
type ActivityActionStartedInfoWriteScratchpad = {
|
|
1347
|
+
actionName: 'write_scratchpad';
|
|
1348
|
+
info: AgentsExecutionScratchpadCompletedDetails;
|
|
1349
|
+
};
|
|
1270
1350
|
type ActivityPayloadUnionActionCompleted = {
|
|
1271
1351
|
activityType: 'action_completed';
|
|
1272
1352
|
data: AgentsExecutionActivityActionCompletedPayload;
|
|
@@ -1287,9 +1367,13 @@ type ActivityPayloadUnionGeneric = {
|
|
|
1287
1367
|
activityType: 'generic';
|
|
1288
1368
|
data: AgentsExecutionActivityGenericPayload;
|
|
1289
1369
|
};
|
|
1290
|
-
type
|
|
1291
|
-
activityType: '
|
|
1292
|
-
data:
|
|
1370
|
+
type ActivityPayloadUnionPlaywrightScriptGenerated = {
|
|
1371
|
+
activityType: 'playwright_script_generated';
|
|
1372
|
+
data: AgentsExecutionActivityPlaywrightScriptGeneratedPayload;
|
|
1373
|
+
};
|
|
1374
|
+
type ActivityPayloadUnionReasoning = {
|
|
1375
|
+
activityType: 'reasoning';
|
|
1376
|
+
data: AgentsExecutionActivityReasoningPayload;
|
|
1293
1377
|
};
|
|
1294
1378
|
type ActivityPayloadUnionStatusChanged = {
|
|
1295
1379
|
activityType: 'status_changed';
|
|
@@ -1315,6 +1399,10 @@ type ActivityPayloadUnionUserMessageReceived = {
|
|
|
1315
1399
|
activityType: 'user_message_received';
|
|
1316
1400
|
data: AgentsExecutionActivityUserMessageReceivedPayload;
|
|
1317
1401
|
};
|
|
1402
|
+
type ActivityPayloadUnionWorkflowUpdated = {
|
|
1403
|
+
activityType: 'workflow_updated';
|
|
1404
|
+
data: AgentsExecutionActivityWorkflowUpdatedPayload;
|
|
1405
|
+
};
|
|
1318
1406
|
type AgentsAgentBase = {
|
|
1319
1407
|
id: CommonUuid;
|
|
1320
1408
|
name: string;
|
|
@@ -1322,21 +1410,121 @@ type AgentsAgentBase = {
|
|
|
1322
1410
|
organizationId?: CommonUuid;
|
|
1323
1411
|
userId: CommonUuid;
|
|
1324
1412
|
};
|
|
1413
|
+
type AgentsAgentExecuteAgentRequest = {
|
|
1414
|
+
/**
|
|
1415
|
+
* The ID of the agent profile to use. Note this is not the agent ID
|
|
1416
|
+
*/
|
|
1417
|
+
agentProfileId?: CommonUuid;
|
|
1418
|
+
/**
|
|
1419
|
+
* Dynamic data to be merged into the placeholders defined in prompts
|
|
1420
|
+
*/
|
|
1421
|
+
dynamicData?: {
|
|
1422
|
+
[key: string]: unknown;
|
|
1423
|
+
};
|
|
1424
|
+
/**
|
|
1425
|
+
* Array of temporary files to attach to the execution. Must have been pre-uploaded using the stage file endpoint
|
|
1426
|
+
*/
|
|
1427
|
+
tempFiles?: Array<AgentsFilesTempFile>;
|
|
1428
|
+
/**
|
|
1429
|
+
* Optional metadata key-value pairs (string keys and string values) for organizing and filtering executions
|
|
1430
|
+
*/
|
|
1431
|
+
metadata?: {
|
|
1432
|
+
[key: string]: unknown;
|
|
1433
|
+
};
|
|
1434
|
+
/**
|
|
1435
|
+
* The version of the agent to execute. If not provided, the latest version will be used.
|
|
1436
|
+
*/
|
|
1437
|
+
version?: number;
|
|
1438
|
+
};
|
|
1439
|
+
type AgentsAgentExecuteAgentResponse = {
|
|
1440
|
+
/**
|
|
1441
|
+
* The ID of the newly created execution
|
|
1442
|
+
*/
|
|
1443
|
+
executionId: CommonUuid;
|
|
1444
|
+
};
|
|
1325
1445
|
type AgentsAgentSortField = 'name' | 'created_at';
|
|
1446
|
+
type AgentsExecutionActionName = 'browser_navigate' | 'browser_navigate_back' | 'browser_click' | 'browser_type' | 'browser_select_option' | 'browser_wait_for' | 'browser_hover' | 'browser_drag' | 'browser_handle_dialog' | 'browser_press_key' | 'browser_take_screenshot' | 'browser_snapshot' | 'browser_evaluate' | 'browser_mouse_move_xy' | 'browser_mouse_click_xy' | 'browser_mouse_drag_xy' | 'browser_file_upload' | 'browser_tabs' | 'browser_console_messages' | 'browser_fill_form' | 'click' | 'double_click' | 'type' | 'move' | 'drag' | 'scroll' | 'screenshot' | 'keypress' | 'wait' | 'go_to_url' | 'get_text' | 'get_mail' | 'refresh_page' | 'read_clipboard' | 'list_files' | 'read_files' | 'send_user_message' | 'zoom_in' | 'zoom_out' | 'read_scratchpad' | 'write_scratchpad' | 'upload_file' | 'download_file' | 'get_execution_file' | 'upload_local_file' | 'google_sheets_get_data' | 'google_sheets_set_value' | 'generate_totp_secret' | 'get_datetime' | 'text_output' | 'reasoning' | 'url' | 'api_call' | 'playwright_script' | 'hybrid_playwright' | 'scriptpad_run_function' | 'scriptpad_read' | 'scriptpad_search_replace' | 'browser_snapshot_with_selectors';
|
|
1326
1447
|
type AgentsExecutionActivity = {
|
|
1327
1448
|
id: CommonUuid;
|
|
1328
1449
|
payload: AgentsExecutionActivityPayloadUnion;
|
|
1329
1450
|
executionId: CommonUuid;
|
|
1330
1451
|
timestamp: string;
|
|
1331
1452
|
};
|
|
1453
|
+
type AgentsExecutionActivityActionCompletedInfo = ({
|
|
1454
|
+
actionName: 'api_call';
|
|
1455
|
+
} & ActivityActionCompletedInfoApiCall) | ({
|
|
1456
|
+
actionName: 'browser_navigate';
|
|
1457
|
+
} & ActivityActionCompletedInfoBrowserNavigate) | ({
|
|
1458
|
+
actionName: 'go_to_url';
|
|
1459
|
+
} & ActivityActionCompletedInfoGoToUrl) | ({
|
|
1460
|
+
actionName: 'read_scratchpad';
|
|
1461
|
+
} & ActivityActionCompletedInfoReadScratchpad) | ({
|
|
1462
|
+
actionName: 'write_scratchpad';
|
|
1463
|
+
} & ActivityActionCompletedInfoWriteScratchpad) | ({
|
|
1464
|
+
actionName: 'playwright_script';
|
|
1465
|
+
} & ActivityActionCompletedInfoPlaywrightScript) | ({
|
|
1466
|
+
actionName: 'hybrid_playwright';
|
|
1467
|
+
} & ActivityActionCompletedInfoHybridPlaywright) | ({
|
|
1468
|
+
actionName: 'read_files';
|
|
1469
|
+
} & ActivityActionCompletedInfoReadFiles) | ({
|
|
1470
|
+
actionName: 'list_files';
|
|
1471
|
+
} & ActivityActionCompletedInfoListFiles) | ({
|
|
1472
|
+
actionName: 'upload_file';
|
|
1473
|
+
} & ActivityActionCompletedInfoUploadFile) | ({
|
|
1474
|
+
actionName: 'upload_local_file';
|
|
1475
|
+
} & ActivityActionCompletedInfoUploadLocalFile) | ({
|
|
1476
|
+
actionName: 'browser_file_upload';
|
|
1477
|
+
} & ActivityActionCompletedInfoBrowserFileUpload) | ({
|
|
1478
|
+
actionName: 'get_mail';
|
|
1479
|
+
} & ActivityActionCompletedInfoGetMail) | ({
|
|
1480
|
+
actionName: 'scriptpad_run_function';
|
|
1481
|
+
} & ActivityActionCompletedInfoScriptpadRunFunction) | ({
|
|
1482
|
+
actionName: 'scriptpad_read';
|
|
1483
|
+
} & ActivityActionCompletedInfoScriptpadRead) | ({
|
|
1484
|
+
actionName: 'scriptpad_search_replace';
|
|
1485
|
+
} & ActivityActionCompletedInfoScriptpadSearchReplace) | ({
|
|
1486
|
+
actionName: 'browser_snapshot_with_selectors';
|
|
1487
|
+
} & ActivityActionCompletedInfoBrowserSnapshotWithSelectors);
|
|
1332
1488
|
type AgentsExecutionActivityActionCompletedPayload = {
|
|
1333
1489
|
message: string;
|
|
1490
|
+
actionName: AgentsExecutionActionName;
|
|
1491
|
+
actionId?: string;
|
|
1492
|
+
duration?: number;
|
|
1493
|
+
info?: AgentsExecutionActivityActionCompletedInfo;
|
|
1334
1494
|
};
|
|
1335
1495
|
type AgentsExecutionActivityActionFailedPayload = {
|
|
1336
1496
|
message: string;
|
|
1337
|
-
|
|
1497
|
+
actionName: AgentsExecutionActionName;
|
|
1498
|
+
actionId?: string;
|
|
1499
|
+
duration?: number;
|
|
1500
|
+
};
|
|
1501
|
+
type AgentsExecutionActivityActionStartedInfo = ({
|
|
1502
|
+
actionName: 'browser_navigate';
|
|
1503
|
+
} & ActivityActionStartedInfoBrowserNavigate) | ({
|
|
1504
|
+
actionName: 'go_to_url';
|
|
1505
|
+
} & ActivityActionStartedInfoGoToUrl) | ({
|
|
1506
|
+
actionName: 'read_scratchpad';
|
|
1507
|
+
} & ActivityActionStartedInfoReadScratchpad) | ({
|
|
1508
|
+
actionName: 'write_scratchpad';
|
|
1509
|
+
} & ActivityActionStartedInfoWriteScratchpad) | ({
|
|
1510
|
+
actionName: 'scriptpad_run_function';
|
|
1511
|
+
} & ActivityActionStartedInfoScriptpadRunFunction) | ({
|
|
1512
|
+
actionName: 'playwright_script';
|
|
1513
|
+
} & ActivityActionStartedInfoPlaywrightScript) | ({
|
|
1514
|
+
actionName: 'hybrid_playwright';
|
|
1515
|
+
} & ActivityActionStartedInfoHybridPlaywright) | ({
|
|
1516
|
+
actionName: 'scriptpad_read';
|
|
1517
|
+
} & ActivityActionStartedInfoScriptpadRead) | ({
|
|
1518
|
+
actionName: 'scriptpad_search_replace';
|
|
1519
|
+
} & ActivityActionStartedInfoScriptpadSearchReplace) | ({
|
|
1520
|
+
actionName: 'get_datetime';
|
|
1521
|
+
} & ActivityActionStartedInfoGetDatetime);
|
|
1338
1522
|
type AgentsExecutionActivityActionStartedPayload = {
|
|
1339
1523
|
message: string;
|
|
1524
|
+
actionName: AgentsExecutionActionName;
|
|
1525
|
+
actionId?: string;
|
|
1526
|
+
duration?: number;
|
|
1527
|
+
info?: AgentsExecutionActivityActionStartedInfo;
|
|
1340
1528
|
};
|
|
1341
1529
|
type AgentsExecutionActivityFileAddedPayload = {
|
|
1342
1530
|
fileId: CommonUuid;
|
|
@@ -1349,14 +1537,13 @@ type AgentsExecutionActivityFileAddedPayload = {
|
|
|
1349
1537
|
type AgentsExecutionActivityGenericPayload = {
|
|
1350
1538
|
message: string;
|
|
1351
1539
|
};
|
|
1352
|
-
type AgentsExecutionActivityGraphUpdatedPayload = {
|
|
1353
|
-
graphUpdate: Array<AgentsExecutionGraphUpdate>;
|
|
1354
|
-
};
|
|
1355
1540
|
type AgentsExecutionActivityPayloadUnion = ({
|
|
1356
1541
|
activityType: 'terminal';
|
|
1357
1542
|
} & ActivityPayloadUnionTerminal) | ({
|
|
1358
1543
|
activityType: 'generic';
|
|
1359
1544
|
} & ActivityPayloadUnionGeneric) | ({
|
|
1545
|
+
activityType: 'reasoning';
|
|
1546
|
+
} & ActivityPayloadUnionReasoning) | ({
|
|
1360
1547
|
activityType: 'step_started';
|
|
1361
1548
|
} & ActivityPayloadUnionStepStarted) | ({
|
|
1362
1549
|
activityType: 'step_completed';
|
|
@@ -1375,8 +1562,21 @@ type AgentsExecutionActivityPayloadUnion = ({
|
|
|
1375
1562
|
} & ActivityPayloadUnionUserMessageReceived) | ({
|
|
1376
1563
|
activityType: 'file_added';
|
|
1377
1564
|
} & ActivityPayloadUnionFileAdded) | ({
|
|
1378
|
-
activityType: '
|
|
1379
|
-
} &
|
|
1565
|
+
activityType: 'workflow_updated';
|
|
1566
|
+
} & ActivityPayloadUnionWorkflowUpdated) | ({
|
|
1567
|
+
activityType: 'playwright_script_generated';
|
|
1568
|
+
} & ActivityPayloadUnionPlaywrightScriptGenerated);
|
|
1569
|
+
type AgentsExecutionActivityPlaywrightScriptGeneratedPayload = {
|
|
1570
|
+
nodeId: CommonUuid;
|
|
1571
|
+
nodeName: string;
|
|
1572
|
+
script: string;
|
|
1573
|
+
llmVars?: Array<AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar>;
|
|
1574
|
+
context: string;
|
|
1575
|
+
oldScript?: string;
|
|
1576
|
+
};
|
|
1577
|
+
type AgentsExecutionActivityReasoningPayload = {
|
|
1578
|
+
reasoning: string;
|
|
1579
|
+
};
|
|
1380
1580
|
type AgentsExecutionActivityStatusChangedPayload = {
|
|
1381
1581
|
status: AgentsExecutionStatus;
|
|
1382
1582
|
completedPayload?: AgentsExecutionCompletedPayload;
|
|
@@ -1394,31 +1594,221 @@ type AgentsExecutionActivityStepStartedPayload = {
|
|
|
1394
1594
|
type AgentsExecutionActivityTransitionedNodePayload = {
|
|
1395
1595
|
newNodeUUID: CommonUuid;
|
|
1396
1596
|
newNodeName: string;
|
|
1597
|
+
newNodeType: string;
|
|
1598
|
+
fromNodeDuration?: number;
|
|
1397
1599
|
};
|
|
1398
1600
|
type AgentsExecutionActivityUserMessageReceivedPayload = {
|
|
1399
1601
|
message: string;
|
|
1400
1602
|
userUUID: CommonUuid;
|
|
1401
1603
|
};
|
|
1604
|
+
type AgentsExecutionActivityWorkflowUpdatedPayload = {
|
|
1605
|
+
workflowUpdate: Array<AgentsExecutionWorkflowUpdate>;
|
|
1606
|
+
};
|
|
1607
|
+
type AgentsExecutionAgentRulesDetails = {
|
|
1608
|
+
agentRules: string;
|
|
1609
|
+
};
|
|
1610
|
+
type AgentsExecutionApiCallCompletedDetails = {
|
|
1611
|
+
statusCode: string;
|
|
1612
|
+
responseBody: string;
|
|
1613
|
+
requestMethod?: string;
|
|
1614
|
+
requestUrl?: string;
|
|
1615
|
+
};
|
|
1402
1616
|
type AgentsExecutionAwaitingConfirmationPayload = {
|
|
1403
1617
|
reason: string;
|
|
1404
1618
|
};
|
|
1619
|
+
type AgentsExecutionBrowserSnapshotCompletedDetails = {
|
|
1620
|
+
url: string;
|
|
1621
|
+
title: string;
|
|
1622
|
+
};
|
|
1405
1623
|
type AgentsExecutionCancelReason = 'timeout' | 'max_steps' | 'user_requested';
|
|
1406
1624
|
type AgentsExecutionCancelledPayload = {
|
|
1407
1625
|
reason: AgentsExecutionCancelReason;
|
|
1408
1626
|
};
|
|
1627
|
+
/**
|
|
1628
|
+
* User comment on an execution
|
|
1629
|
+
*/
|
|
1630
|
+
type AgentsExecutionComment = {
|
|
1631
|
+
/**
|
|
1632
|
+
* Unique identifier for the comment
|
|
1633
|
+
*/
|
|
1634
|
+
id: CommonUuid;
|
|
1635
|
+
/**
|
|
1636
|
+
* Execution this comment belongs to
|
|
1637
|
+
*/
|
|
1638
|
+
executionId: CommonUuid;
|
|
1639
|
+
/**
|
|
1640
|
+
* User who created the comment
|
|
1641
|
+
*/
|
|
1642
|
+
userId: CommonUuid;
|
|
1643
|
+
/**
|
|
1644
|
+
* Comment content
|
|
1645
|
+
*/
|
|
1646
|
+
content: string;
|
|
1647
|
+
/**
|
|
1648
|
+
* Whether the comment is public
|
|
1649
|
+
*/
|
|
1650
|
+
public: boolean;
|
|
1651
|
+
/**
|
|
1652
|
+
* When the comment was created
|
|
1653
|
+
*/
|
|
1654
|
+
createdAt: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* When the comment was last updated
|
|
1657
|
+
*/
|
|
1658
|
+
updatedAt?: string;
|
|
1659
|
+
};
|
|
1409
1660
|
type AgentsExecutionCompletedPayload = {
|
|
1410
|
-
outcome:
|
|
1661
|
+
outcome: string;
|
|
1662
|
+
reasoning: string;
|
|
1663
|
+
result: unknown;
|
|
1664
|
+
lessons_learned?: string;
|
|
1665
|
+
};
|
|
1666
|
+
/**
|
|
1667
|
+
* Execution result containing outcome, reasoning, and result data
|
|
1668
|
+
*/
|
|
1669
|
+
type AgentsExecutionExecutionResult = {
|
|
1670
|
+
/**
|
|
1671
|
+
* Unique identifier for the result
|
|
1672
|
+
*/
|
|
1673
|
+
id: CommonUuid;
|
|
1674
|
+
/**
|
|
1675
|
+
* Execution this result belongs to
|
|
1676
|
+
*/
|
|
1677
|
+
executionId: CommonUuid;
|
|
1678
|
+
/**
|
|
1679
|
+
* Outcome of the execution (success or failure)
|
|
1680
|
+
*/
|
|
1681
|
+
outcome: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* AI reasoning for the outcome
|
|
1684
|
+
*/
|
|
1411
1685
|
reasoning: string;
|
|
1412
|
-
|
|
1686
|
+
/**
|
|
1687
|
+
* Result data as JSON
|
|
1688
|
+
*/
|
|
1413
1689
|
result: unknown;
|
|
1690
|
+
/**
|
|
1691
|
+
* When the result was created
|
|
1692
|
+
*/
|
|
1693
|
+
createdAt: string;
|
|
1414
1694
|
};
|
|
1415
1695
|
type AgentsExecutionFailedPayload = {
|
|
1416
1696
|
reason: string;
|
|
1697
|
+
os_error?: CommonOsError;
|
|
1417
1698
|
};
|
|
1418
|
-
type
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1699
|
+
type AgentsExecutionFileListCompletedDetails = {
|
|
1700
|
+
fileNames: Array<string>;
|
|
1701
|
+
};
|
|
1702
|
+
type AgentsExecutionFileReadCompletedDetails = {
|
|
1703
|
+
fileNames: Array<string>;
|
|
1704
|
+
errorCount?: number;
|
|
1705
|
+
totalSizeBytes?: number;
|
|
1706
|
+
};
|
|
1707
|
+
type AgentsExecutionFileUploadCompletedDetails = {
|
|
1708
|
+
fileNames: Array<string>;
|
|
1709
|
+
};
|
|
1710
|
+
type AgentsExecutionGetDatetimeDetails = {
|
|
1711
|
+
tzTimezoneIdentifier: string;
|
|
1712
|
+
};
|
|
1713
|
+
type AgentsExecutionGetMailCompletedDetails = {
|
|
1714
|
+
emailCount: number;
|
|
1715
|
+
emails: Array<unknown>;
|
|
1716
|
+
};
|
|
1717
|
+
/**
|
|
1718
|
+
* Human-applied label for categorizing executions
|
|
1719
|
+
*/
|
|
1720
|
+
type AgentsExecutionHumanLabel = {
|
|
1721
|
+
/**
|
|
1722
|
+
* Unique identifier for the label
|
|
1723
|
+
*/
|
|
1724
|
+
id: CommonUuid;
|
|
1725
|
+
/**
|
|
1726
|
+
* Organization this label belongs to
|
|
1727
|
+
*/
|
|
1728
|
+
organizationId: CommonUuid;
|
|
1729
|
+
/**
|
|
1730
|
+
* Display name of the label
|
|
1731
|
+
*/
|
|
1732
|
+
name: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* Hex color code for the label (e.g., #FF5733)
|
|
1735
|
+
*/
|
|
1736
|
+
color: string;
|
|
1737
|
+
/**
|
|
1738
|
+
* When the label was created
|
|
1739
|
+
*/
|
|
1740
|
+
createdAt: string;
|
|
1741
|
+
};
|
|
1742
|
+
/**
|
|
1743
|
+
* Represents a single execution in a list view
|
|
1744
|
+
*/
|
|
1745
|
+
type AgentsExecutionListItem = {
|
|
1746
|
+
/**
|
|
1747
|
+
* The unique identifier of the execution
|
|
1748
|
+
*/
|
|
1749
|
+
id: CommonUuid;
|
|
1750
|
+
/**
|
|
1751
|
+
* The ID of the agent that was executed
|
|
1752
|
+
*/
|
|
1753
|
+
agentId: CommonUuid;
|
|
1754
|
+
/**
|
|
1755
|
+
* The ID of the workflow that was executed
|
|
1756
|
+
*/
|
|
1757
|
+
workflowId: CommonUuid;
|
|
1758
|
+
/**
|
|
1759
|
+
* The version of the agent that was executed
|
|
1760
|
+
*/
|
|
1761
|
+
agentVersion: number;
|
|
1762
|
+
/**
|
|
1763
|
+
* Whether the agent version was modified from the original
|
|
1764
|
+
*/
|
|
1765
|
+
agentVersionDirty: boolean;
|
|
1766
|
+
/**
|
|
1767
|
+
* The current status of the execution
|
|
1768
|
+
*/
|
|
1769
|
+
status: AgentsExecutionStatus;
|
|
1770
|
+
/**
|
|
1771
|
+
* When the execution was created
|
|
1772
|
+
*/
|
|
1773
|
+
createdAt: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* When the execution reached a terminal state (if applicable)
|
|
1776
|
+
*/
|
|
1777
|
+
terminalAt?: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* The organization this execution belongs to
|
|
1780
|
+
*/
|
|
1781
|
+
organizationId: CommonUuid;
|
|
1782
|
+
/**
|
|
1783
|
+
* The agent display name
|
|
1784
|
+
*/
|
|
1785
|
+
agentName: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Execution result with outcome, reasoning, and result data
|
|
1788
|
+
*/
|
|
1789
|
+
executionResult?: AgentsExecutionExecutionResult;
|
|
1790
|
+
/**
|
|
1791
|
+
* Execution duration in seconds (only present for terminal executions)
|
|
1792
|
+
*/
|
|
1793
|
+
duration?: number;
|
|
1794
|
+
/**
|
|
1795
|
+
* Human-applied labels for this execution
|
|
1796
|
+
*/
|
|
1797
|
+
humanLabels: Array<AgentsExecutionHumanLabel>;
|
|
1798
|
+
/**
|
|
1799
|
+
* Comments on this execution
|
|
1800
|
+
*/
|
|
1801
|
+
comments: Array<AgentsExecutionComment>;
|
|
1802
|
+
/**
|
|
1803
|
+
* Optional metadata key-value pairs attached to this execution
|
|
1804
|
+
*/
|
|
1805
|
+
metadata?: {
|
|
1806
|
+
[key: string]: unknown;
|
|
1807
|
+
};
|
|
1808
|
+
};
|
|
1809
|
+
type AgentsExecutionNavigationDetails = {
|
|
1810
|
+
url: string;
|
|
1811
|
+
pageTitle?: string;
|
|
1422
1812
|
};
|
|
1423
1813
|
type AgentsExecutionNodeDetails = {
|
|
1424
1814
|
nodeID: CommonUuid;
|
|
@@ -1428,6 +1818,48 @@ type AgentsExecutionNodeDetails = {
|
|
|
1428
1818
|
type AgentsExecutionPausedPayload = {
|
|
1429
1819
|
reason: string;
|
|
1430
1820
|
};
|
|
1821
|
+
type AgentsExecutionPlaywrightScriptCompletedDetails = {
|
|
1822
|
+
scriptContent: string;
|
|
1823
|
+
executionTimeMs?: number;
|
|
1824
|
+
consoleLogs?: Array<string>;
|
|
1825
|
+
failedLine?: number;
|
|
1826
|
+
errorMessage?: string;
|
|
1827
|
+
success: boolean;
|
|
1828
|
+
result?: string;
|
|
1829
|
+
llmVars?: Array<string>;
|
|
1830
|
+
};
|
|
1831
|
+
type AgentsExecutionPlaywrightScriptStartedDetails = {
|
|
1832
|
+
llmVars?: Array<string>;
|
|
1833
|
+
};
|
|
1834
|
+
type AgentsExecutionRunFunctionCompletedDetails = {
|
|
1835
|
+
functionName: string;
|
|
1836
|
+
arguments: unknown;
|
|
1837
|
+
success: boolean;
|
|
1838
|
+
result?: string;
|
|
1839
|
+
errorMessage?: string;
|
|
1840
|
+
};
|
|
1841
|
+
type AgentsExecutionScratchpadCompletedDetails = {
|
|
1842
|
+
operation: 'read' | 'write';
|
|
1843
|
+
content?: string;
|
|
1844
|
+
contentTruncated?: boolean;
|
|
1845
|
+
};
|
|
1846
|
+
type AgentsExecutionScriptpadReadCompletedDetails = {
|
|
1847
|
+
totalLines: number;
|
|
1848
|
+
readLines?: number;
|
|
1849
|
+
offset?: number;
|
|
1850
|
+
limit?: number;
|
|
1851
|
+
scriptpad?: string;
|
|
1852
|
+
};
|
|
1853
|
+
type AgentsExecutionScriptpadSearchReplaceCompletedDetails = {
|
|
1854
|
+
linesChanged?: number;
|
|
1855
|
+
totalLines: number;
|
|
1856
|
+
replaceAll: boolean;
|
|
1857
|
+
scriptpad?: string;
|
|
1858
|
+
};
|
|
1859
|
+
/**
|
|
1860
|
+
* Fields that can be used for sorting executions
|
|
1861
|
+
*/
|
|
1862
|
+
type AgentsExecutionSortField = 'created_at' | 'status';
|
|
1431
1863
|
type AgentsExecutionStatus = 'starting' | 'running' | 'paused' | 'awaiting_confirmation' | 'completed' | 'cancelled' | 'failed' | 'paused_by_agent';
|
|
1432
1864
|
type AgentsExecutionTerminalPayload = {
|
|
1433
1865
|
reason: 'unsubscribe' | 'complete' | 'error';
|
|
@@ -1441,6 +1873,12 @@ type AgentsExecutionUpdateType = 'add' | 'edit' | 'delete';
|
|
|
1441
1873
|
type AgentsExecutionUserMessagesAddTextBody = {
|
|
1442
1874
|
message: string;
|
|
1443
1875
|
};
|
|
1876
|
+
type AgentsExecutionWorkflowUpdate = {
|
|
1877
|
+
updateType: AgentsExecutionUpdateType;
|
|
1878
|
+
agentRulesDetails?: AgentsExecutionAgentRulesDetails;
|
|
1879
|
+
nodeDetails?: AgentsExecutionNodeDetails;
|
|
1880
|
+
transitionDetails?: AgentsExecutionTransitionDetails;
|
|
1881
|
+
};
|
|
1444
1882
|
type AgentsFilesFile = {
|
|
1445
1883
|
id: CommonUuid;
|
|
1446
1884
|
executionId: CommonUuid;
|
|
@@ -1455,6 +1893,19 @@ type AgentsFilesFile = {
|
|
|
1455
1893
|
signedUrl: string;
|
|
1456
1894
|
};
|
|
1457
1895
|
type AgentsFilesFilePart = Blob | File;
|
|
1896
|
+
type AgentsFilesTempFile = {
|
|
1897
|
+
id: CommonUuid;
|
|
1898
|
+
name: string;
|
|
1899
|
+
};
|
|
1900
|
+
type AgentsFilesTempFilesResponse = {
|
|
1901
|
+
tempFiles: Array<AgentsFilesTempFile>;
|
|
1902
|
+
};
|
|
1903
|
+
type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar = {
|
|
1904
|
+
name: string;
|
|
1905
|
+
type: AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType;
|
|
1906
|
+
description: string;
|
|
1907
|
+
};
|
|
1908
|
+
type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType = 'string' | 'number' | 'boolean';
|
|
1458
1909
|
type CommonBadRequestErrorBody = {
|
|
1459
1910
|
code: 400;
|
|
1460
1911
|
message: string;
|
|
@@ -1471,10 +1922,53 @@ type CommonNotFoundErrorBody = {
|
|
|
1471
1922
|
code: 404;
|
|
1472
1923
|
message: string;
|
|
1473
1924
|
};
|
|
1925
|
+
type CommonOsError = {
|
|
1926
|
+
message: string;
|
|
1927
|
+
};
|
|
1474
1928
|
type CommonSortDirection = 'asc' | 'desc';
|
|
1475
1929
|
type CommonUuid = string;
|
|
1476
1930
|
type Version = 'v1';
|
|
1477
1931
|
type AgentsAgentSearch = string;
|
|
1932
|
+
/**
|
|
1933
|
+
* Filter by agent ID
|
|
1934
|
+
*/
|
|
1935
|
+
type AgentsExecutionSearchAgentId = CommonUuid;
|
|
1936
|
+
/**
|
|
1937
|
+
* Filter by agent version
|
|
1938
|
+
*/
|
|
1939
|
+
type AgentsExecutionSearchAgentVersion = number;
|
|
1940
|
+
/**
|
|
1941
|
+
* Filter executions created after this timestamp
|
|
1942
|
+
*/
|
|
1943
|
+
type AgentsExecutionSearchCreatedAfter = string;
|
|
1944
|
+
/**
|
|
1945
|
+
* Filter executions created before this timestamp
|
|
1946
|
+
*/
|
|
1947
|
+
type AgentsExecutionSearchCreatedBefore = string;
|
|
1948
|
+
/**
|
|
1949
|
+
* Search by execution ID (partial, case-insensitive match)
|
|
1950
|
+
*/
|
|
1951
|
+
type AgentsExecutionSearchExecutionId = string;
|
|
1952
|
+
/**
|
|
1953
|
+
* Filter by human labels (can specify multiple label IDs, there is an 'OR' condition applied to these)
|
|
1954
|
+
*/
|
|
1955
|
+
type AgentsExecutionSearchHumanLabels = Array<CommonUuid>;
|
|
1956
|
+
/**
|
|
1957
|
+
* Filter by metadata key - must be used together with metadataValue
|
|
1958
|
+
*/
|
|
1959
|
+
type AgentsExecutionSearchMetadataKey = string;
|
|
1960
|
+
/**
|
|
1961
|
+
* Filter by metadata value - must be used together with metadataKey
|
|
1962
|
+
*/
|
|
1963
|
+
type AgentsExecutionSearchMetadataValue = string;
|
|
1964
|
+
/**
|
|
1965
|
+
* Filter by execution result outcome (partial, case-insensitive match)
|
|
1966
|
+
*/
|
|
1967
|
+
type AgentsExecutionSearchOutcomeLabel = string;
|
|
1968
|
+
/**
|
|
1969
|
+
* Filter by execution status (can specify multiple, there is an 'OR' condition applied to these)
|
|
1970
|
+
*/
|
|
1971
|
+
type AgentsExecutionSearchStatus = Array<AgentsExecutionStatus>;
|
|
1478
1972
|
type CommonPaginationPage = number;
|
|
1479
1973
|
type CommonPaginationPageSize = number;
|
|
1480
1974
|
type AgentListData = {
|
|
@@ -1485,12 +1979,20 @@ type AgentListData = {
|
|
|
1485
1979
|
pageSize: number;
|
|
1486
1980
|
page: number;
|
|
1487
1981
|
searchName?: string;
|
|
1488
|
-
|
|
1489
|
-
|
|
1982
|
+
sortField?: AgentsAgentSortField;
|
|
1983
|
+
sortDirection?: CommonSortDirection;
|
|
1490
1984
|
};
|
|
1491
1985
|
url: '/agents';
|
|
1492
1986
|
};
|
|
1493
1987
|
type AgentListErrors = {
|
|
1988
|
+
/**
|
|
1989
|
+
* The server could not understand the request due to invalid syntax.
|
|
1990
|
+
*/
|
|
1991
|
+
400: 'Invalid request parameters.';
|
|
1992
|
+
/**
|
|
1993
|
+
* The server cannot find the requested resource.
|
|
1994
|
+
*/
|
|
1995
|
+
404: 'Organization not found.';
|
|
1494
1996
|
/**
|
|
1495
1997
|
* An unexpected error response.
|
|
1496
1998
|
*/
|
|
@@ -1509,6 +2011,116 @@ type AgentListResponses = {
|
|
|
1509
2011
|
};
|
|
1510
2012
|
};
|
|
1511
2013
|
type AgentListResponse = AgentListResponses[keyof AgentListResponses];
|
|
2014
|
+
type AgentExecutePostData = {
|
|
2015
|
+
/**
|
|
2016
|
+
* Execution request parameters
|
|
2017
|
+
*/
|
|
2018
|
+
body: AgentsAgentExecuteAgentRequest;
|
|
2019
|
+
path: {
|
|
2020
|
+
/**
|
|
2021
|
+
* The ID of the agent to execute
|
|
2022
|
+
*/
|
|
2023
|
+
agentId: CommonUuid;
|
|
2024
|
+
};
|
|
2025
|
+
query?: never;
|
|
2026
|
+
url: '/agents/{agentId}/execute';
|
|
2027
|
+
};
|
|
2028
|
+
type AgentExecutePostErrors = {
|
|
2029
|
+
/**
|
|
2030
|
+
* An unexpected error response.
|
|
2031
|
+
*/
|
|
2032
|
+
default: CommonError;
|
|
2033
|
+
};
|
|
2034
|
+
type AgentExecutePostError = AgentExecutePostErrors[keyof AgentExecutePostErrors];
|
|
2035
|
+
type AgentExecutePostResponses = {
|
|
2036
|
+
/**
|
|
2037
|
+
* The request has been accepted for processing, but processing has not yet completed.
|
|
2038
|
+
*/
|
|
2039
|
+
202: AgentsAgentExecuteAgentResponse;
|
|
2040
|
+
};
|
|
2041
|
+
type AgentExecutePostResponse = AgentExecutePostResponses[keyof AgentExecutePostResponses];
|
|
2042
|
+
type ExecutionsListData = {
|
|
2043
|
+
body?: never;
|
|
2044
|
+
path?: never;
|
|
2045
|
+
query: {
|
|
2046
|
+
/**
|
|
2047
|
+
* Optional organization ID filter (required for customer queries)
|
|
2048
|
+
*/
|
|
2049
|
+
organizationId?: CommonUuid;
|
|
2050
|
+
pageSize: number;
|
|
2051
|
+
page: number;
|
|
2052
|
+
/**
|
|
2053
|
+
* Search by execution ID (partial, case-insensitive match)
|
|
2054
|
+
*/
|
|
2055
|
+
executionId?: string;
|
|
2056
|
+
/**
|
|
2057
|
+
* Filter by agent ID
|
|
2058
|
+
*/
|
|
2059
|
+
agentId?: CommonUuid;
|
|
2060
|
+
/**
|
|
2061
|
+
* Filter by execution status (can specify multiple, there is an 'OR' condition applied to these)
|
|
2062
|
+
*/
|
|
2063
|
+
status?: Array<AgentsExecutionStatus>;
|
|
2064
|
+
/**
|
|
2065
|
+
* Filter by agent version
|
|
2066
|
+
*/
|
|
2067
|
+
agentVersion?: number;
|
|
2068
|
+
/**
|
|
2069
|
+
* Filter executions created after this timestamp
|
|
2070
|
+
*/
|
|
2071
|
+
createdAfter?: string;
|
|
2072
|
+
/**
|
|
2073
|
+
* Filter executions created before this timestamp
|
|
2074
|
+
*/
|
|
2075
|
+
createdBefore?: string;
|
|
2076
|
+
/**
|
|
2077
|
+
* Filter by human labels (can specify multiple label IDs, there is an 'OR' condition applied to these)
|
|
2078
|
+
*/
|
|
2079
|
+
humanLabels?: Array<CommonUuid>;
|
|
2080
|
+
/**
|
|
2081
|
+
* Filter by execution result outcome (partial, case-insensitive match)
|
|
2082
|
+
*/
|
|
2083
|
+
outcomeLabel?: string;
|
|
2084
|
+
/**
|
|
2085
|
+
* Filter by metadata key - must be used together with metadataValue
|
|
2086
|
+
*/
|
|
2087
|
+
metadataKey?: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Filter by metadata value - must be used together with metadataKey
|
|
2090
|
+
*/
|
|
2091
|
+
metadataValue?: string;
|
|
2092
|
+
sortField?: AgentsExecutionSortField;
|
|
2093
|
+
sortDirection?: CommonSortDirection;
|
|
2094
|
+
};
|
|
2095
|
+
url: '/executions';
|
|
2096
|
+
};
|
|
2097
|
+
type ExecutionsListErrors = {
|
|
2098
|
+
/**
|
|
2099
|
+
* The server could not understand the request due to invalid syntax.
|
|
2100
|
+
*/
|
|
2101
|
+
400: CommonBadRequestErrorBody;
|
|
2102
|
+
/**
|
|
2103
|
+
* Access is forbidden.
|
|
2104
|
+
*/
|
|
2105
|
+
403: CommonForbiddenErrorBody;
|
|
2106
|
+
/**
|
|
2107
|
+
* The server cannot find the requested resource.
|
|
2108
|
+
*/
|
|
2109
|
+
404: CommonNotFoundErrorBody;
|
|
2110
|
+
};
|
|
2111
|
+
type ExecutionsListError = ExecutionsListErrors[keyof ExecutionsListErrors];
|
|
2112
|
+
type ExecutionsListResponses = {
|
|
2113
|
+
/**
|
|
2114
|
+
* The request has succeeded.
|
|
2115
|
+
*/
|
|
2116
|
+
200: {
|
|
2117
|
+
items: Array<AgentsExecutionListItem>;
|
|
2118
|
+
page: number;
|
|
2119
|
+
pageSize: number;
|
|
2120
|
+
total: number;
|
|
2121
|
+
};
|
|
2122
|
+
};
|
|
2123
|
+
type ExecutionsListResponse = ExecutionsListResponses[keyof ExecutionsListResponses];
|
|
1512
2124
|
type ExecutionActivitiesGetData = {
|
|
1513
2125
|
body?: never;
|
|
1514
2126
|
path: {
|
|
@@ -1578,6 +2190,10 @@ type ExecutionContextFilesUploadData = {
|
|
|
1578
2190
|
files: Array<AgentsFilesFilePart>;
|
|
1579
2191
|
};
|
|
1580
2192
|
path: {
|
|
2193
|
+
/**
|
|
2194
|
+
* Upload files to a running execution
|
|
2195
|
+
* Upload files to a running execution that is already in progress. If you want to attach files to an execution that is not yet running, see the /temp-files endpoint.
|
|
2196
|
+
*/
|
|
1581
2197
|
executionId: CommonUuid;
|
|
1582
2198
|
};
|
|
1583
2199
|
query?: never;
|
|
@@ -1637,63 +2253,171 @@ type ExecutionUserMessagesAddResponses = {
|
|
|
1637
2253
|
201: 'User message added.';
|
|
1638
2254
|
};
|
|
1639
2255
|
type ExecutionUserMessagesAddResponse = ExecutionUserMessagesAddResponses[keyof ExecutionUserMessagesAddResponses];
|
|
2256
|
+
type TempFilesStageData = {
|
|
2257
|
+
body: {
|
|
2258
|
+
files: Array<AgentsFilesFilePart>;
|
|
2259
|
+
};
|
|
2260
|
+
path: {
|
|
2261
|
+
organizationId: CommonUuid;
|
|
2262
|
+
};
|
|
2263
|
+
query?: never;
|
|
2264
|
+
url: '/temp-files/{organizationId}';
|
|
2265
|
+
};
|
|
2266
|
+
type TempFilesStageErrors = {
|
|
2267
|
+
/**
|
|
2268
|
+
* The server could not understand the request due to invalid syntax.
|
|
2269
|
+
*/
|
|
2270
|
+
400: 'Invalid file upload request.';
|
|
2271
|
+
/**
|
|
2272
|
+
* Access is forbidden.
|
|
2273
|
+
*/
|
|
2274
|
+
403: 'User is not a member of the organization.';
|
|
2275
|
+
/**
|
|
2276
|
+
* Server error
|
|
2277
|
+
*/
|
|
2278
|
+
500: 'Internal server error.';
|
|
2279
|
+
};
|
|
2280
|
+
type TempFilesStageError = TempFilesStageErrors[keyof TempFilesStageErrors];
|
|
2281
|
+
type TempFilesStageResponses = {
|
|
2282
|
+
/**
|
|
2283
|
+
* The request has succeeded.
|
|
2284
|
+
*/
|
|
2285
|
+
200: AgentsFilesTempFilesResponse;
|
|
2286
|
+
};
|
|
2287
|
+
type TempFilesStageResponse = TempFilesStageResponses[keyof TempFilesStageResponses];
|
|
1640
2288
|
type ClientOptions = {
|
|
1641
2289
|
baseUrl: 'https://odyssey.asteroid.ai/agents/v2' | (string & {});
|
|
1642
2290
|
};
|
|
1643
2291
|
|
|
2292
|
+
type types_gen_ActivityActionCompletedInfoApiCall = ActivityActionCompletedInfoApiCall;
|
|
2293
|
+
type types_gen_ActivityActionCompletedInfoBrowserFileUpload = ActivityActionCompletedInfoBrowserFileUpload;
|
|
2294
|
+
type types_gen_ActivityActionCompletedInfoBrowserNavigate = ActivityActionCompletedInfoBrowserNavigate;
|
|
2295
|
+
type types_gen_ActivityActionCompletedInfoBrowserSnapshotWithSelectors = ActivityActionCompletedInfoBrowserSnapshotWithSelectors;
|
|
2296
|
+
type types_gen_ActivityActionCompletedInfoGetMail = ActivityActionCompletedInfoGetMail;
|
|
2297
|
+
type types_gen_ActivityActionCompletedInfoGoToUrl = ActivityActionCompletedInfoGoToUrl;
|
|
2298
|
+
type types_gen_ActivityActionCompletedInfoHybridPlaywright = ActivityActionCompletedInfoHybridPlaywright;
|
|
2299
|
+
type types_gen_ActivityActionCompletedInfoListFiles = ActivityActionCompletedInfoListFiles;
|
|
2300
|
+
type types_gen_ActivityActionCompletedInfoPlaywrightScript = ActivityActionCompletedInfoPlaywrightScript;
|
|
2301
|
+
type types_gen_ActivityActionCompletedInfoReadFiles = ActivityActionCompletedInfoReadFiles;
|
|
2302
|
+
type types_gen_ActivityActionCompletedInfoReadScratchpad = ActivityActionCompletedInfoReadScratchpad;
|
|
2303
|
+
type types_gen_ActivityActionCompletedInfoScriptpadRead = ActivityActionCompletedInfoScriptpadRead;
|
|
2304
|
+
type types_gen_ActivityActionCompletedInfoScriptpadRunFunction = ActivityActionCompletedInfoScriptpadRunFunction;
|
|
2305
|
+
type types_gen_ActivityActionCompletedInfoScriptpadSearchReplace = ActivityActionCompletedInfoScriptpadSearchReplace;
|
|
2306
|
+
type types_gen_ActivityActionCompletedInfoUploadFile = ActivityActionCompletedInfoUploadFile;
|
|
2307
|
+
type types_gen_ActivityActionCompletedInfoUploadLocalFile = ActivityActionCompletedInfoUploadLocalFile;
|
|
2308
|
+
type types_gen_ActivityActionCompletedInfoWriteScratchpad = ActivityActionCompletedInfoWriteScratchpad;
|
|
2309
|
+
type types_gen_ActivityActionStartedInfoBrowserNavigate = ActivityActionStartedInfoBrowserNavigate;
|
|
2310
|
+
type types_gen_ActivityActionStartedInfoGetDatetime = ActivityActionStartedInfoGetDatetime;
|
|
2311
|
+
type types_gen_ActivityActionStartedInfoGoToUrl = ActivityActionStartedInfoGoToUrl;
|
|
2312
|
+
type types_gen_ActivityActionStartedInfoHybridPlaywright = ActivityActionStartedInfoHybridPlaywright;
|
|
2313
|
+
type types_gen_ActivityActionStartedInfoPlaywrightScript = ActivityActionStartedInfoPlaywrightScript;
|
|
2314
|
+
type types_gen_ActivityActionStartedInfoReadScratchpad = ActivityActionStartedInfoReadScratchpad;
|
|
2315
|
+
type types_gen_ActivityActionStartedInfoScriptpadRead = ActivityActionStartedInfoScriptpadRead;
|
|
2316
|
+
type types_gen_ActivityActionStartedInfoScriptpadRunFunction = ActivityActionStartedInfoScriptpadRunFunction;
|
|
2317
|
+
type types_gen_ActivityActionStartedInfoScriptpadSearchReplace = ActivityActionStartedInfoScriptpadSearchReplace;
|
|
2318
|
+
type types_gen_ActivityActionStartedInfoWriteScratchpad = ActivityActionStartedInfoWriteScratchpad;
|
|
1644
2319
|
type types_gen_ActivityPayloadUnionActionCompleted = ActivityPayloadUnionActionCompleted;
|
|
1645
2320
|
type types_gen_ActivityPayloadUnionActionFailed = ActivityPayloadUnionActionFailed;
|
|
1646
2321
|
type types_gen_ActivityPayloadUnionActionStarted = ActivityPayloadUnionActionStarted;
|
|
1647
2322
|
type types_gen_ActivityPayloadUnionFileAdded = ActivityPayloadUnionFileAdded;
|
|
1648
2323
|
type types_gen_ActivityPayloadUnionGeneric = ActivityPayloadUnionGeneric;
|
|
1649
|
-
type
|
|
2324
|
+
type types_gen_ActivityPayloadUnionPlaywrightScriptGenerated = ActivityPayloadUnionPlaywrightScriptGenerated;
|
|
2325
|
+
type types_gen_ActivityPayloadUnionReasoning = ActivityPayloadUnionReasoning;
|
|
1650
2326
|
type types_gen_ActivityPayloadUnionStatusChanged = ActivityPayloadUnionStatusChanged;
|
|
1651
2327
|
type types_gen_ActivityPayloadUnionStepCompleted = ActivityPayloadUnionStepCompleted;
|
|
1652
2328
|
type types_gen_ActivityPayloadUnionStepStarted = ActivityPayloadUnionStepStarted;
|
|
1653
2329
|
type types_gen_ActivityPayloadUnionTerminal = ActivityPayloadUnionTerminal;
|
|
1654
2330
|
type types_gen_ActivityPayloadUnionTransitionedNode = ActivityPayloadUnionTransitionedNode;
|
|
1655
2331
|
type types_gen_ActivityPayloadUnionUserMessageReceived = ActivityPayloadUnionUserMessageReceived;
|
|
2332
|
+
type types_gen_ActivityPayloadUnionWorkflowUpdated = ActivityPayloadUnionWorkflowUpdated;
|
|
2333
|
+
type types_gen_AgentExecutePostData = AgentExecutePostData;
|
|
2334
|
+
type types_gen_AgentExecutePostError = AgentExecutePostError;
|
|
2335
|
+
type types_gen_AgentExecutePostErrors = AgentExecutePostErrors;
|
|
2336
|
+
type types_gen_AgentExecutePostResponse = AgentExecutePostResponse;
|
|
2337
|
+
type types_gen_AgentExecutePostResponses = AgentExecutePostResponses;
|
|
1656
2338
|
type types_gen_AgentListData = AgentListData;
|
|
1657
2339
|
type types_gen_AgentListError = AgentListError;
|
|
1658
2340
|
type types_gen_AgentListErrors = AgentListErrors;
|
|
1659
2341
|
type types_gen_AgentListResponse = AgentListResponse;
|
|
1660
2342
|
type types_gen_AgentListResponses = AgentListResponses;
|
|
1661
2343
|
type types_gen_AgentsAgentBase = AgentsAgentBase;
|
|
2344
|
+
type types_gen_AgentsAgentExecuteAgentRequest = AgentsAgentExecuteAgentRequest;
|
|
2345
|
+
type types_gen_AgentsAgentExecuteAgentResponse = AgentsAgentExecuteAgentResponse;
|
|
1662
2346
|
type types_gen_AgentsAgentSearch = AgentsAgentSearch;
|
|
1663
2347
|
type types_gen_AgentsAgentSortField = AgentsAgentSortField;
|
|
2348
|
+
type types_gen_AgentsExecutionActionName = AgentsExecutionActionName;
|
|
1664
2349
|
type types_gen_AgentsExecutionActivity = AgentsExecutionActivity;
|
|
2350
|
+
type types_gen_AgentsExecutionActivityActionCompletedInfo = AgentsExecutionActivityActionCompletedInfo;
|
|
1665
2351
|
type types_gen_AgentsExecutionActivityActionCompletedPayload = AgentsExecutionActivityActionCompletedPayload;
|
|
1666
2352
|
type types_gen_AgentsExecutionActivityActionFailedPayload = AgentsExecutionActivityActionFailedPayload;
|
|
2353
|
+
type types_gen_AgentsExecutionActivityActionStartedInfo = AgentsExecutionActivityActionStartedInfo;
|
|
1667
2354
|
type types_gen_AgentsExecutionActivityActionStartedPayload = AgentsExecutionActivityActionStartedPayload;
|
|
1668
2355
|
type types_gen_AgentsExecutionActivityFileAddedPayload = AgentsExecutionActivityFileAddedPayload;
|
|
1669
2356
|
type types_gen_AgentsExecutionActivityGenericPayload = AgentsExecutionActivityGenericPayload;
|
|
1670
|
-
type types_gen_AgentsExecutionActivityGraphUpdatedPayload = AgentsExecutionActivityGraphUpdatedPayload;
|
|
1671
2357
|
type types_gen_AgentsExecutionActivityPayloadUnion = AgentsExecutionActivityPayloadUnion;
|
|
2358
|
+
type types_gen_AgentsExecutionActivityPlaywrightScriptGeneratedPayload = AgentsExecutionActivityPlaywrightScriptGeneratedPayload;
|
|
2359
|
+
type types_gen_AgentsExecutionActivityReasoningPayload = AgentsExecutionActivityReasoningPayload;
|
|
1672
2360
|
type types_gen_AgentsExecutionActivityStatusChangedPayload = AgentsExecutionActivityStatusChangedPayload;
|
|
1673
2361
|
type types_gen_AgentsExecutionActivityStepCompletedPayload = AgentsExecutionActivityStepCompletedPayload;
|
|
1674
2362
|
type types_gen_AgentsExecutionActivityStepStartedPayload = AgentsExecutionActivityStepStartedPayload;
|
|
1675
2363
|
type types_gen_AgentsExecutionActivityTransitionedNodePayload = AgentsExecutionActivityTransitionedNodePayload;
|
|
1676
2364
|
type types_gen_AgentsExecutionActivityUserMessageReceivedPayload = AgentsExecutionActivityUserMessageReceivedPayload;
|
|
2365
|
+
type types_gen_AgentsExecutionActivityWorkflowUpdatedPayload = AgentsExecutionActivityWorkflowUpdatedPayload;
|
|
2366
|
+
type types_gen_AgentsExecutionAgentRulesDetails = AgentsExecutionAgentRulesDetails;
|
|
2367
|
+
type types_gen_AgentsExecutionApiCallCompletedDetails = AgentsExecutionApiCallCompletedDetails;
|
|
1677
2368
|
type types_gen_AgentsExecutionAwaitingConfirmationPayload = AgentsExecutionAwaitingConfirmationPayload;
|
|
2369
|
+
type types_gen_AgentsExecutionBrowserSnapshotCompletedDetails = AgentsExecutionBrowserSnapshotCompletedDetails;
|
|
1678
2370
|
type types_gen_AgentsExecutionCancelReason = AgentsExecutionCancelReason;
|
|
1679
2371
|
type types_gen_AgentsExecutionCancelledPayload = AgentsExecutionCancelledPayload;
|
|
2372
|
+
type types_gen_AgentsExecutionComment = AgentsExecutionComment;
|
|
1680
2373
|
type types_gen_AgentsExecutionCompletedPayload = AgentsExecutionCompletedPayload;
|
|
2374
|
+
type types_gen_AgentsExecutionExecutionResult = AgentsExecutionExecutionResult;
|
|
1681
2375
|
type types_gen_AgentsExecutionFailedPayload = AgentsExecutionFailedPayload;
|
|
1682
|
-
type
|
|
2376
|
+
type types_gen_AgentsExecutionFileListCompletedDetails = AgentsExecutionFileListCompletedDetails;
|
|
2377
|
+
type types_gen_AgentsExecutionFileReadCompletedDetails = AgentsExecutionFileReadCompletedDetails;
|
|
2378
|
+
type types_gen_AgentsExecutionFileUploadCompletedDetails = AgentsExecutionFileUploadCompletedDetails;
|
|
2379
|
+
type types_gen_AgentsExecutionGetDatetimeDetails = AgentsExecutionGetDatetimeDetails;
|
|
2380
|
+
type types_gen_AgentsExecutionGetMailCompletedDetails = AgentsExecutionGetMailCompletedDetails;
|
|
2381
|
+
type types_gen_AgentsExecutionHumanLabel = AgentsExecutionHumanLabel;
|
|
2382
|
+
type types_gen_AgentsExecutionListItem = AgentsExecutionListItem;
|
|
2383
|
+
type types_gen_AgentsExecutionNavigationDetails = AgentsExecutionNavigationDetails;
|
|
1683
2384
|
type types_gen_AgentsExecutionNodeDetails = AgentsExecutionNodeDetails;
|
|
1684
2385
|
type types_gen_AgentsExecutionPausedPayload = AgentsExecutionPausedPayload;
|
|
2386
|
+
type types_gen_AgentsExecutionPlaywrightScriptCompletedDetails = AgentsExecutionPlaywrightScriptCompletedDetails;
|
|
2387
|
+
type types_gen_AgentsExecutionPlaywrightScriptStartedDetails = AgentsExecutionPlaywrightScriptStartedDetails;
|
|
2388
|
+
type types_gen_AgentsExecutionRunFunctionCompletedDetails = AgentsExecutionRunFunctionCompletedDetails;
|
|
2389
|
+
type types_gen_AgentsExecutionScratchpadCompletedDetails = AgentsExecutionScratchpadCompletedDetails;
|
|
2390
|
+
type types_gen_AgentsExecutionScriptpadReadCompletedDetails = AgentsExecutionScriptpadReadCompletedDetails;
|
|
2391
|
+
type types_gen_AgentsExecutionScriptpadSearchReplaceCompletedDetails = AgentsExecutionScriptpadSearchReplaceCompletedDetails;
|
|
2392
|
+
type types_gen_AgentsExecutionSearchAgentId = AgentsExecutionSearchAgentId;
|
|
2393
|
+
type types_gen_AgentsExecutionSearchAgentVersion = AgentsExecutionSearchAgentVersion;
|
|
2394
|
+
type types_gen_AgentsExecutionSearchCreatedAfter = AgentsExecutionSearchCreatedAfter;
|
|
2395
|
+
type types_gen_AgentsExecutionSearchCreatedBefore = AgentsExecutionSearchCreatedBefore;
|
|
2396
|
+
type types_gen_AgentsExecutionSearchExecutionId = AgentsExecutionSearchExecutionId;
|
|
2397
|
+
type types_gen_AgentsExecutionSearchHumanLabels = AgentsExecutionSearchHumanLabels;
|
|
2398
|
+
type types_gen_AgentsExecutionSearchMetadataKey = AgentsExecutionSearchMetadataKey;
|
|
2399
|
+
type types_gen_AgentsExecutionSearchMetadataValue = AgentsExecutionSearchMetadataValue;
|
|
2400
|
+
type types_gen_AgentsExecutionSearchOutcomeLabel = AgentsExecutionSearchOutcomeLabel;
|
|
2401
|
+
type types_gen_AgentsExecutionSearchStatus = AgentsExecutionSearchStatus;
|
|
2402
|
+
type types_gen_AgentsExecutionSortField = AgentsExecutionSortField;
|
|
1685
2403
|
type types_gen_AgentsExecutionStatus = AgentsExecutionStatus;
|
|
1686
2404
|
type types_gen_AgentsExecutionTerminalPayload = AgentsExecutionTerminalPayload;
|
|
1687
2405
|
type types_gen_AgentsExecutionTransitionDetails = AgentsExecutionTransitionDetails;
|
|
1688
2406
|
type types_gen_AgentsExecutionUpdateType = AgentsExecutionUpdateType;
|
|
1689
2407
|
type types_gen_AgentsExecutionUserMessagesAddTextBody = AgentsExecutionUserMessagesAddTextBody;
|
|
2408
|
+
type types_gen_AgentsExecutionWorkflowUpdate = AgentsExecutionWorkflowUpdate;
|
|
1690
2409
|
type types_gen_AgentsFilesFile = AgentsFilesFile;
|
|
1691
2410
|
type types_gen_AgentsFilesFilePart = AgentsFilesFilePart;
|
|
2411
|
+
type types_gen_AgentsFilesTempFile = AgentsFilesTempFile;
|
|
2412
|
+
type types_gen_AgentsFilesTempFilesResponse = AgentsFilesTempFilesResponse;
|
|
2413
|
+
type types_gen_AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar = AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar;
|
|
2414
|
+
type types_gen_AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType = AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType;
|
|
1692
2415
|
type types_gen_ClientOptions = ClientOptions;
|
|
1693
2416
|
type types_gen_CommonBadRequestErrorBody = CommonBadRequestErrorBody;
|
|
1694
2417
|
type types_gen_CommonError = CommonError;
|
|
1695
2418
|
type types_gen_CommonForbiddenErrorBody = CommonForbiddenErrorBody;
|
|
1696
2419
|
type types_gen_CommonNotFoundErrorBody = CommonNotFoundErrorBody;
|
|
2420
|
+
type types_gen_CommonOsError = CommonOsError;
|
|
1697
2421
|
type types_gen_CommonPaginationPage = CommonPaginationPage;
|
|
1698
2422
|
type types_gen_CommonPaginationPageSize = CommonPaginationPageSize;
|
|
1699
2423
|
type types_gen_CommonSortDirection = CommonSortDirection;
|
|
@@ -1718,9 +2442,19 @@ type types_gen_ExecutionUserMessagesAddError = ExecutionUserMessagesAddError;
|
|
|
1718
2442
|
type types_gen_ExecutionUserMessagesAddErrors = ExecutionUserMessagesAddErrors;
|
|
1719
2443
|
type types_gen_ExecutionUserMessagesAddResponse = ExecutionUserMessagesAddResponse;
|
|
1720
2444
|
type types_gen_ExecutionUserMessagesAddResponses = ExecutionUserMessagesAddResponses;
|
|
2445
|
+
type types_gen_ExecutionsListData = ExecutionsListData;
|
|
2446
|
+
type types_gen_ExecutionsListError = ExecutionsListError;
|
|
2447
|
+
type types_gen_ExecutionsListErrors = ExecutionsListErrors;
|
|
2448
|
+
type types_gen_ExecutionsListResponse = ExecutionsListResponse;
|
|
2449
|
+
type types_gen_ExecutionsListResponses = ExecutionsListResponses;
|
|
2450
|
+
type types_gen_TempFilesStageData = TempFilesStageData;
|
|
2451
|
+
type types_gen_TempFilesStageError = TempFilesStageError;
|
|
2452
|
+
type types_gen_TempFilesStageErrors = TempFilesStageErrors;
|
|
2453
|
+
type types_gen_TempFilesStageResponse = TempFilesStageResponse;
|
|
2454
|
+
type types_gen_TempFilesStageResponses = TempFilesStageResponses;
|
|
1721
2455
|
type types_gen_Version = Version;
|
|
1722
2456
|
declare namespace types_gen {
|
|
1723
|
-
export type { types_gen_ActivityPayloadUnionActionCompleted as ActivityPayloadUnionActionCompleted, types_gen_ActivityPayloadUnionActionFailed as ActivityPayloadUnionActionFailed, types_gen_ActivityPayloadUnionActionStarted as ActivityPayloadUnionActionStarted, types_gen_ActivityPayloadUnionFileAdded as ActivityPayloadUnionFileAdded, types_gen_ActivityPayloadUnionGeneric as ActivityPayloadUnionGeneric, types_gen_ActivityPayloadUnionGraphUpdated as ActivityPayloadUnionGraphUpdated, types_gen_ActivityPayloadUnionStatusChanged as ActivityPayloadUnionStatusChanged, types_gen_ActivityPayloadUnionStepCompleted as ActivityPayloadUnionStepCompleted, types_gen_ActivityPayloadUnionStepStarted as ActivityPayloadUnionStepStarted, types_gen_ActivityPayloadUnionTerminal as ActivityPayloadUnionTerminal, types_gen_ActivityPayloadUnionTransitionedNode as ActivityPayloadUnionTransitionedNode, types_gen_ActivityPayloadUnionUserMessageReceived as ActivityPayloadUnionUserMessageReceived, types_gen_AgentListData as AgentListData, types_gen_AgentListError as AgentListError, types_gen_AgentListErrors as AgentListErrors, types_gen_AgentListResponse as AgentListResponse, types_gen_AgentListResponses as AgentListResponses, types_gen_AgentsAgentBase as AgentsAgentBase, types_gen_AgentsAgentSearch as AgentsAgentSearch, types_gen_AgentsAgentSortField as AgentsAgentSortField, types_gen_AgentsExecutionActivity as AgentsExecutionActivity, types_gen_AgentsExecutionActivityActionCompletedPayload as AgentsExecutionActivityActionCompletedPayload, types_gen_AgentsExecutionActivityActionFailedPayload as AgentsExecutionActivityActionFailedPayload, types_gen_AgentsExecutionActivityActionStartedPayload as AgentsExecutionActivityActionStartedPayload, types_gen_AgentsExecutionActivityFileAddedPayload as AgentsExecutionActivityFileAddedPayload, types_gen_AgentsExecutionActivityGenericPayload as AgentsExecutionActivityGenericPayload, types_gen_AgentsExecutionActivityGraphUpdatedPayload as AgentsExecutionActivityGraphUpdatedPayload, types_gen_AgentsExecutionActivityPayloadUnion as AgentsExecutionActivityPayloadUnion, types_gen_AgentsExecutionActivityStatusChangedPayload as AgentsExecutionActivityStatusChangedPayload, types_gen_AgentsExecutionActivityStepCompletedPayload as AgentsExecutionActivityStepCompletedPayload, types_gen_AgentsExecutionActivityStepStartedPayload as AgentsExecutionActivityStepStartedPayload, types_gen_AgentsExecutionActivityTransitionedNodePayload as AgentsExecutionActivityTransitionedNodePayload, types_gen_AgentsExecutionActivityUserMessageReceivedPayload as AgentsExecutionActivityUserMessageReceivedPayload, types_gen_AgentsExecutionAwaitingConfirmationPayload as AgentsExecutionAwaitingConfirmationPayload, types_gen_AgentsExecutionCancelReason as AgentsExecutionCancelReason, types_gen_AgentsExecutionCancelledPayload as AgentsExecutionCancelledPayload, types_gen_AgentsExecutionCompletedPayload as AgentsExecutionCompletedPayload, types_gen_AgentsExecutionFailedPayload as AgentsExecutionFailedPayload, types_gen_AgentsExecutionGraphUpdate as AgentsExecutionGraphUpdate, types_gen_AgentsExecutionNodeDetails as AgentsExecutionNodeDetails, types_gen_AgentsExecutionPausedPayload as AgentsExecutionPausedPayload, types_gen_AgentsExecutionStatus as AgentsExecutionStatus, types_gen_AgentsExecutionTerminalPayload as AgentsExecutionTerminalPayload, types_gen_AgentsExecutionTransitionDetails as AgentsExecutionTransitionDetails, types_gen_AgentsExecutionUpdateType as AgentsExecutionUpdateType, types_gen_AgentsExecutionUserMessagesAddTextBody as AgentsExecutionUserMessagesAddTextBody, types_gen_AgentsFilesFile as AgentsFilesFile, types_gen_AgentsFilesFilePart as AgentsFilesFilePart, types_gen_ClientOptions as ClientOptions, types_gen_CommonBadRequestErrorBody as CommonBadRequestErrorBody, types_gen_CommonError as CommonError, types_gen_CommonForbiddenErrorBody as CommonForbiddenErrorBody, types_gen_CommonNotFoundErrorBody as CommonNotFoundErrorBody, types_gen_CommonPaginationPage as CommonPaginationPage, types_gen_CommonPaginationPageSize as CommonPaginationPageSize, types_gen_CommonSortDirection as CommonSortDirection, types_gen_CommonUuid as CommonUuid, types_gen_ExecutionActivitiesGetData as ExecutionActivitiesGetData, types_gen_ExecutionActivitiesGetError as ExecutionActivitiesGetError, types_gen_ExecutionActivitiesGetErrors as ExecutionActivitiesGetErrors, types_gen_ExecutionActivitiesGetResponse as ExecutionActivitiesGetResponse, types_gen_ExecutionActivitiesGetResponses as ExecutionActivitiesGetResponses, types_gen_ExecutionContextFilesGetData as ExecutionContextFilesGetData, types_gen_ExecutionContextFilesGetError as ExecutionContextFilesGetError, types_gen_ExecutionContextFilesGetErrors as ExecutionContextFilesGetErrors, types_gen_ExecutionContextFilesGetResponse as ExecutionContextFilesGetResponse, types_gen_ExecutionContextFilesGetResponses as ExecutionContextFilesGetResponses, types_gen_ExecutionContextFilesUploadData as ExecutionContextFilesUploadData, types_gen_ExecutionContextFilesUploadError as ExecutionContextFilesUploadError, types_gen_ExecutionContextFilesUploadErrors as ExecutionContextFilesUploadErrors, types_gen_ExecutionContextFilesUploadResponse as ExecutionContextFilesUploadResponse, types_gen_ExecutionContextFilesUploadResponses as ExecutionContextFilesUploadResponses, types_gen_ExecutionUserMessagesAddData as ExecutionUserMessagesAddData, types_gen_ExecutionUserMessagesAddError as ExecutionUserMessagesAddError, types_gen_ExecutionUserMessagesAddErrors as ExecutionUserMessagesAddErrors, types_gen_ExecutionUserMessagesAddResponse as ExecutionUserMessagesAddResponse, types_gen_ExecutionUserMessagesAddResponses as ExecutionUserMessagesAddResponses, types_gen_Version as Version };
|
|
2457
|
+
export type { types_gen_ActivityActionCompletedInfoApiCall as ActivityActionCompletedInfoApiCall, types_gen_ActivityActionCompletedInfoBrowserFileUpload as ActivityActionCompletedInfoBrowserFileUpload, types_gen_ActivityActionCompletedInfoBrowserNavigate as ActivityActionCompletedInfoBrowserNavigate, types_gen_ActivityActionCompletedInfoBrowserSnapshotWithSelectors as ActivityActionCompletedInfoBrowserSnapshotWithSelectors, types_gen_ActivityActionCompletedInfoGetMail as ActivityActionCompletedInfoGetMail, types_gen_ActivityActionCompletedInfoGoToUrl as ActivityActionCompletedInfoGoToUrl, types_gen_ActivityActionCompletedInfoHybridPlaywright as ActivityActionCompletedInfoHybridPlaywright, types_gen_ActivityActionCompletedInfoListFiles as ActivityActionCompletedInfoListFiles, types_gen_ActivityActionCompletedInfoPlaywrightScript as ActivityActionCompletedInfoPlaywrightScript, types_gen_ActivityActionCompletedInfoReadFiles as ActivityActionCompletedInfoReadFiles, types_gen_ActivityActionCompletedInfoReadScratchpad as ActivityActionCompletedInfoReadScratchpad, types_gen_ActivityActionCompletedInfoScriptpadRead as ActivityActionCompletedInfoScriptpadRead, types_gen_ActivityActionCompletedInfoScriptpadRunFunction as ActivityActionCompletedInfoScriptpadRunFunction, types_gen_ActivityActionCompletedInfoScriptpadSearchReplace as ActivityActionCompletedInfoScriptpadSearchReplace, types_gen_ActivityActionCompletedInfoUploadFile as ActivityActionCompletedInfoUploadFile, types_gen_ActivityActionCompletedInfoUploadLocalFile as ActivityActionCompletedInfoUploadLocalFile, types_gen_ActivityActionCompletedInfoWriteScratchpad as ActivityActionCompletedInfoWriteScratchpad, types_gen_ActivityActionStartedInfoBrowserNavigate as ActivityActionStartedInfoBrowserNavigate, types_gen_ActivityActionStartedInfoGetDatetime as ActivityActionStartedInfoGetDatetime, types_gen_ActivityActionStartedInfoGoToUrl as ActivityActionStartedInfoGoToUrl, types_gen_ActivityActionStartedInfoHybridPlaywright as ActivityActionStartedInfoHybridPlaywright, types_gen_ActivityActionStartedInfoPlaywrightScript as ActivityActionStartedInfoPlaywrightScript, types_gen_ActivityActionStartedInfoReadScratchpad as ActivityActionStartedInfoReadScratchpad, types_gen_ActivityActionStartedInfoScriptpadRead as ActivityActionStartedInfoScriptpadRead, types_gen_ActivityActionStartedInfoScriptpadRunFunction as ActivityActionStartedInfoScriptpadRunFunction, types_gen_ActivityActionStartedInfoScriptpadSearchReplace as ActivityActionStartedInfoScriptpadSearchReplace, types_gen_ActivityActionStartedInfoWriteScratchpad as ActivityActionStartedInfoWriteScratchpad, types_gen_ActivityPayloadUnionActionCompleted as ActivityPayloadUnionActionCompleted, types_gen_ActivityPayloadUnionActionFailed as ActivityPayloadUnionActionFailed, types_gen_ActivityPayloadUnionActionStarted as ActivityPayloadUnionActionStarted, types_gen_ActivityPayloadUnionFileAdded as ActivityPayloadUnionFileAdded, types_gen_ActivityPayloadUnionGeneric as ActivityPayloadUnionGeneric, types_gen_ActivityPayloadUnionPlaywrightScriptGenerated as ActivityPayloadUnionPlaywrightScriptGenerated, types_gen_ActivityPayloadUnionReasoning as ActivityPayloadUnionReasoning, types_gen_ActivityPayloadUnionStatusChanged as ActivityPayloadUnionStatusChanged, types_gen_ActivityPayloadUnionStepCompleted as ActivityPayloadUnionStepCompleted, types_gen_ActivityPayloadUnionStepStarted as ActivityPayloadUnionStepStarted, types_gen_ActivityPayloadUnionTerminal as ActivityPayloadUnionTerminal, types_gen_ActivityPayloadUnionTransitionedNode as ActivityPayloadUnionTransitionedNode, types_gen_ActivityPayloadUnionUserMessageReceived as ActivityPayloadUnionUserMessageReceived, types_gen_ActivityPayloadUnionWorkflowUpdated as ActivityPayloadUnionWorkflowUpdated, types_gen_AgentExecutePostData as AgentExecutePostData, types_gen_AgentExecutePostError as AgentExecutePostError, types_gen_AgentExecutePostErrors as AgentExecutePostErrors, types_gen_AgentExecutePostResponse as AgentExecutePostResponse, types_gen_AgentExecutePostResponses as AgentExecutePostResponses, types_gen_AgentListData as AgentListData, types_gen_AgentListError as AgentListError, types_gen_AgentListErrors as AgentListErrors, types_gen_AgentListResponse as AgentListResponse, types_gen_AgentListResponses as AgentListResponses, types_gen_AgentsAgentBase as AgentsAgentBase, types_gen_AgentsAgentExecuteAgentRequest as AgentsAgentExecuteAgentRequest, types_gen_AgentsAgentExecuteAgentResponse as AgentsAgentExecuteAgentResponse, types_gen_AgentsAgentSearch as AgentsAgentSearch, types_gen_AgentsAgentSortField as AgentsAgentSortField, types_gen_AgentsExecutionActionName as AgentsExecutionActionName, types_gen_AgentsExecutionActivity as AgentsExecutionActivity, types_gen_AgentsExecutionActivityActionCompletedInfo as AgentsExecutionActivityActionCompletedInfo, types_gen_AgentsExecutionActivityActionCompletedPayload as AgentsExecutionActivityActionCompletedPayload, types_gen_AgentsExecutionActivityActionFailedPayload as AgentsExecutionActivityActionFailedPayload, types_gen_AgentsExecutionActivityActionStartedInfo as AgentsExecutionActivityActionStartedInfo, types_gen_AgentsExecutionActivityActionStartedPayload as AgentsExecutionActivityActionStartedPayload, types_gen_AgentsExecutionActivityFileAddedPayload as AgentsExecutionActivityFileAddedPayload, types_gen_AgentsExecutionActivityGenericPayload as AgentsExecutionActivityGenericPayload, types_gen_AgentsExecutionActivityPayloadUnion as AgentsExecutionActivityPayloadUnion, types_gen_AgentsExecutionActivityPlaywrightScriptGeneratedPayload as AgentsExecutionActivityPlaywrightScriptGeneratedPayload, types_gen_AgentsExecutionActivityReasoningPayload as AgentsExecutionActivityReasoningPayload, types_gen_AgentsExecutionActivityStatusChangedPayload as AgentsExecutionActivityStatusChangedPayload, types_gen_AgentsExecutionActivityStepCompletedPayload as AgentsExecutionActivityStepCompletedPayload, types_gen_AgentsExecutionActivityStepStartedPayload as AgentsExecutionActivityStepStartedPayload, types_gen_AgentsExecutionActivityTransitionedNodePayload as AgentsExecutionActivityTransitionedNodePayload, types_gen_AgentsExecutionActivityUserMessageReceivedPayload as AgentsExecutionActivityUserMessageReceivedPayload, types_gen_AgentsExecutionActivityWorkflowUpdatedPayload as AgentsExecutionActivityWorkflowUpdatedPayload, types_gen_AgentsExecutionAgentRulesDetails as AgentsExecutionAgentRulesDetails, types_gen_AgentsExecutionApiCallCompletedDetails as AgentsExecutionApiCallCompletedDetails, types_gen_AgentsExecutionAwaitingConfirmationPayload as AgentsExecutionAwaitingConfirmationPayload, types_gen_AgentsExecutionBrowserSnapshotCompletedDetails as AgentsExecutionBrowserSnapshotCompletedDetails, types_gen_AgentsExecutionCancelReason as AgentsExecutionCancelReason, types_gen_AgentsExecutionCancelledPayload as AgentsExecutionCancelledPayload, types_gen_AgentsExecutionComment as AgentsExecutionComment, types_gen_AgentsExecutionCompletedPayload as AgentsExecutionCompletedPayload, types_gen_AgentsExecutionExecutionResult as AgentsExecutionExecutionResult, types_gen_AgentsExecutionFailedPayload as AgentsExecutionFailedPayload, types_gen_AgentsExecutionFileListCompletedDetails as AgentsExecutionFileListCompletedDetails, types_gen_AgentsExecutionFileReadCompletedDetails as AgentsExecutionFileReadCompletedDetails, types_gen_AgentsExecutionFileUploadCompletedDetails as AgentsExecutionFileUploadCompletedDetails, types_gen_AgentsExecutionGetDatetimeDetails as AgentsExecutionGetDatetimeDetails, types_gen_AgentsExecutionGetMailCompletedDetails as AgentsExecutionGetMailCompletedDetails, types_gen_AgentsExecutionHumanLabel as AgentsExecutionHumanLabel, types_gen_AgentsExecutionListItem as AgentsExecutionListItem, types_gen_AgentsExecutionNavigationDetails as AgentsExecutionNavigationDetails, types_gen_AgentsExecutionNodeDetails as AgentsExecutionNodeDetails, types_gen_AgentsExecutionPausedPayload as AgentsExecutionPausedPayload, types_gen_AgentsExecutionPlaywrightScriptCompletedDetails as AgentsExecutionPlaywrightScriptCompletedDetails, types_gen_AgentsExecutionPlaywrightScriptStartedDetails as AgentsExecutionPlaywrightScriptStartedDetails, types_gen_AgentsExecutionRunFunctionCompletedDetails as AgentsExecutionRunFunctionCompletedDetails, types_gen_AgentsExecutionScratchpadCompletedDetails as AgentsExecutionScratchpadCompletedDetails, types_gen_AgentsExecutionScriptpadReadCompletedDetails as AgentsExecutionScriptpadReadCompletedDetails, types_gen_AgentsExecutionScriptpadSearchReplaceCompletedDetails as AgentsExecutionScriptpadSearchReplaceCompletedDetails, types_gen_AgentsExecutionSearchAgentId as AgentsExecutionSearchAgentId, types_gen_AgentsExecutionSearchAgentVersion as AgentsExecutionSearchAgentVersion, types_gen_AgentsExecutionSearchCreatedAfter as AgentsExecutionSearchCreatedAfter, types_gen_AgentsExecutionSearchCreatedBefore as AgentsExecutionSearchCreatedBefore, types_gen_AgentsExecutionSearchExecutionId as AgentsExecutionSearchExecutionId, types_gen_AgentsExecutionSearchHumanLabels as AgentsExecutionSearchHumanLabels, types_gen_AgentsExecutionSearchMetadataKey as AgentsExecutionSearchMetadataKey, types_gen_AgentsExecutionSearchMetadataValue as AgentsExecutionSearchMetadataValue, types_gen_AgentsExecutionSearchOutcomeLabel as AgentsExecutionSearchOutcomeLabel, types_gen_AgentsExecutionSearchStatus as AgentsExecutionSearchStatus, types_gen_AgentsExecutionSortField as AgentsExecutionSortField, types_gen_AgentsExecutionStatus as AgentsExecutionStatus, types_gen_AgentsExecutionTerminalPayload as AgentsExecutionTerminalPayload, types_gen_AgentsExecutionTransitionDetails as AgentsExecutionTransitionDetails, types_gen_AgentsExecutionUpdateType as AgentsExecutionUpdateType, types_gen_AgentsExecutionUserMessagesAddTextBody as AgentsExecutionUserMessagesAddTextBody, types_gen_AgentsExecutionWorkflowUpdate as AgentsExecutionWorkflowUpdate, types_gen_AgentsFilesFile as AgentsFilesFile, types_gen_AgentsFilesFilePart as AgentsFilesFilePart, types_gen_AgentsFilesTempFile as AgentsFilesTempFile, types_gen_AgentsFilesTempFilesResponse as AgentsFilesTempFilesResponse, types_gen_AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar as AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, types_gen_AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType as AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, types_gen_ClientOptions as ClientOptions, types_gen_CommonBadRequestErrorBody as CommonBadRequestErrorBody, types_gen_CommonError as CommonError, types_gen_CommonForbiddenErrorBody as CommonForbiddenErrorBody, types_gen_CommonNotFoundErrorBody as CommonNotFoundErrorBody, types_gen_CommonOsError as CommonOsError, types_gen_CommonPaginationPage as CommonPaginationPage, types_gen_CommonPaginationPageSize as CommonPaginationPageSize, types_gen_CommonSortDirection as CommonSortDirection, types_gen_CommonUuid as CommonUuid, types_gen_ExecutionActivitiesGetData as ExecutionActivitiesGetData, types_gen_ExecutionActivitiesGetError as ExecutionActivitiesGetError, types_gen_ExecutionActivitiesGetErrors as ExecutionActivitiesGetErrors, types_gen_ExecutionActivitiesGetResponse as ExecutionActivitiesGetResponse, types_gen_ExecutionActivitiesGetResponses as ExecutionActivitiesGetResponses, types_gen_ExecutionContextFilesGetData as ExecutionContextFilesGetData, types_gen_ExecutionContextFilesGetError as ExecutionContextFilesGetError, types_gen_ExecutionContextFilesGetErrors as ExecutionContextFilesGetErrors, types_gen_ExecutionContextFilesGetResponse as ExecutionContextFilesGetResponse, types_gen_ExecutionContextFilesGetResponses as ExecutionContextFilesGetResponses, types_gen_ExecutionContextFilesUploadData as ExecutionContextFilesUploadData, types_gen_ExecutionContextFilesUploadError as ExecutionContextFilesUploadError, types_gen_ExecutionContextFilesUploadErrors as ExecutionContextFilesUploadErrors, types_gen_ExecutionContextFilesUploadResponse as ExecutionContextFilesUploadResponse, types_gen_ExecutionContextFilesUploadResponses as ExecutionContextFilesUploadResponses, types_gen_ExecutionUserMessagesAddData as ExecutionUserMessagesAddData, types_gen_ExecutionUserMessagesAddError as ExecutionUserMessagesAddError, types_gen_ExecutionUserMessagesAddErrors as ExecutionUserMessagesAddErrors, types_gen_ExecutionUserMessagesAddResponse as ExecutionUserMessagesAddResponse, types_gen_ExecutionUserMessagesAddResponses as ExecutionUserMessagesAddResponses, types_gen_ExecutionsListData as ExecutionsListData, types_gen_ExecutionsListError as ExecutionsListError, types_gen_ExecutionsListErrors as ExecutionsListErrors, types_gen_ExecutionsListResponse as ExecutionsListResponse, types_gen_ExecutionsListResponses as ExecutionsListResponses, types_gen_TempFilesStageData as TempFilesStageData, types_gen_TempFilesStageError as TempFilesStageError, types_gen_TempFilesStageErrors as TempFilesStageErrors, types_gen_TempFilesStageResponse as TempFilesStageResponse, types_gen_TempFilesStageResponses as TempFilesStageResponses, types_gen_Version as Version };
|
|
1724
2458
|
}
|
|
1725
2459
|
|
|
1726
2460
|
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$2<TData, ThrowOnError> & {
|
|
@@ -1740,10 +2474,6 @@ type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boole
|
|
|
1740
2474
|
* Get the OpenAPI schema
|
|
1741
2475
|
*/
|
|
1742
2476
|
declare const getOpenApi: <ThrowOnError extends boolean = false>(options?: Options$1<GetOpenApiData, ThrowOnError>) => RequestResult<GetOpenApiResponses, unknown, ThrowOnError, "fields">;
|
|
1743
|
-
/**
|
|
1744
|
-
* Upload files to an execution
|
|
1745
|
-
*/
|
|
1746
|
-
declare const uploadExecutionFiles$1: <ThrowOnError extends boolean = false>(options: Options$1<UploadExecutionFilesData, ThrowOnError>) => RequestResult<UploadExecutionFilesResponses, UploadExecutionFilesErrors, ThrowOnError, "fields">;
|
|
1747
2477
|
/**
|
|
1748
2478
|
* Check the health of the API
|
|
1749
2479
|
*/
|
|
@@ -1806,7 +2536,7 @@ declare const sdk_gen$1_executeAgentStructured: typeof executeAgentStructured;
|
|
|
1806
2536
|
declare const sdk_gen$1_getOpenApi: typeof getOpenApi;
|
|
1807
2537
|
declare const sdk_gen$1_healthCheck: typeof healthCheck;
|
|
1808
2538
|
declare namespace sdk_gen$1 {
|
|
1809
|
-
export { type Options$1 as Options, createAgentProfile$1 as createAgentProfile, deleteAgentProfile$1 as deleteAgentProfile, executeAgent$1 as executeAgent, sdk_gen$1_executeAgentStructured as executeAgentStructured, getAgentProfile$1 as getAgentProfile, getAgentProfiles$1 as getAgentProfiles, getBrowserSessionRecording$1 as getBrowserSessionRecording, getCredentialsPublicKey$1 as getCredentialsPublicKey, getExecutionResult$1 as getExecutionResult, getExecutionStatus$1 as getExecutionStatus, sdk_gen$1_getOpenApi as getOpenApi, sdk_gen$1_healthCheck as healthCheck, updateAgentProfile$1 as updateAgentProfile
|
|
2539
|
+
export { type Options$1 as Options, createAgentProfile$1 as createAgentProfile, deleteAgentProfile$1 as deleteAgentProfile, executeAgent$1 as executeAgent, sdk_gen$1_executeAgentStructured as executeAgentStructured, getAgentProfile$1 as getAgentProfile, getAgentProfiles$1 as getAgentProfiles, getBrowserSessionRecording$1 as getBrowserSessionRecording, getCredentialsPublicKey$1 as getCredentialsPublicKey, getExecutionResult$1 as getExecutionResult, getExecutionStatus$1 as getExecutionStatus, sdk_gen$1_getOpenApi as getOpenApi, sdk_gen$1_healthCheck as healthCheck, updateAgentProfile$1 as updateAgentProfile };
|
|
1810
2540
|
}
|
|
1811
2541
|
|
|
1812
2542
|
type Options<TData extends TDataShape$1 = TDataShape$1, ThrowOnError extends boolean = boolean> = Options$3<TData, ThrowOnError> & {
|
|
@@ -1823,6 +2553,16 @@ type Options<TData extends TDataShape$1 = TDataShape$1, ThrowOnError extends boo
|
|
|
1823
2553
|
meta?: Record<string, unknown>;
|
|
1824
2554
|
};
|
|
1825
2555
|
declare const agentList: <ThrowOnError extends boolean = false>(options: Options<AgentListData, ThrowOnError>) => RequestResult$1<AgentListResponses, AgentListErrors, ThrowOnError, "fields">;
|
|
2556
|
+
/**
|
|
2557
|
+
* Execute an agent
|
|
2558
|
+
* Start an execution for the given agent.
|
|
2559
|
+
*/
|
|
2560
|
+
declare const agentExecutePost: <ThrowOnError extends boolean = false>(options: Options<AgentExecutePostData, ThrowOnError>) => RequestResult$1<AgentExecutePostResponses, AgentExecutePostErrors, ThrowOnError, "fields">;
|
|
2561
|
+
/**
|
|
2562
|
+
* List executions
|
|
2563
|
+
* List executions with filtering and pagination
|
|
2564
|
+
*/
|
|
2565
|
+
declare const executionsList: <ThrowOnError extends boolean = false>(options: Options<ExecutionsListData, ThrowOnError>) => RequestResult$1<ExecutionsListResponses, ExecutionsListErrors, ThrowOnError, "fields">;
|
|
1826
2566
|
/**
|
|
1827
2567
|
* Retrieve execution activities
|
|
1828
2568
|
* Get activities for an execution
|
|
@@ -1835,15 +2575,23 @@ declare const executionContextFilesUpload: <ThrowOnError extends boolean = false
|
|
|
1835
2575
|
* Add a user message to an execution
|
|
1836
2576
|
*/
|
|
1837
2577
|
declare const executionUserMessagesAdd: <ThrowOnError extends boolean = false>(options: Options<ExecutionUserMessagesAddData, ThrowOnError>) => RequestResult$1<ExecutionUserMessagesAddResponses, ExecutionUserMessagesAddErrors, ThrowOnError, "fields">;
|
|
2578
|
+
/**
|
|
2579
|
+
* Stage a file for an execution
|
|
2580
|
+
* Stage a file prior to starting an execution, so that it can be used when the execution is started. See the /agents/{agentId}/execute to understand how to pass the returned file information to the execution endpoint.
|
|
2581
|
+
*/
|
|
2582
|
+
declare const tempFilesStage: <ThrowOnError extends boolean = false>(options: Options<TempFilesStageData, ThrowOnError>) => RequestResult$1<TempFilesStageResponses, TempFilesStageErrors, ThrowOnError, "fields">;
|
|
1838
2583
|
|
|
1839
2584
|
type sdk_gen_Options<TData extends TDataShape$1 = TDataShape$1, ThrowOnError extends boolean = boolean> = Options<TData, ThrowOnError>;
|
|
2585
|
+
declare const sdk_gen_agentExecutePost: typeof agentExecutePost;
|
|
1840
2586
|
declare const sdk_gen_agentList: typeof agentList;
|
|
1841
2587
|
declare const sdk_gen_executionActivitiesGet: typeof executionActivitiesGet;
|
|
1842
2588
|
declare const sdk_gen_executionContextFilesGet: typeof executionContextFilesGet;
|
|
1843
2589
|
declare const sdk_gen_executionContextFilesUpload: typeof executionContextFilesUpload;
|
|
1844
2590
|
declare const sdk_gen_executionUserMessagesAdd: typeof executionUserMessagesAdd;
|
|
2591
|
+
declare const sdk_gen_executionsList: typeof executionsList;
|
|
2592
|
+
declare const sdk_gen_tempFilesStage: typeof tempFilesStage;
|
|
1845
2593
|
declare namespace sdk_gen {
|
|
1846
|
-
export { type sdk_gen_Options as Options, sdk_gen_agentList as agentList, sdk_gen_executionActivitiesGet as executionActivitiesGet, sdk_gen_executionContextFilesGet as executionContextFilesGet, sdk_gen_executionContextFilesUpload as executionContextFilesUpload, sdk_gen_executionUserMessagesAdd as executionUserMessagesAdd };
|
|
2594
|
+
export { type sdk_gen_Options as Options, sdk_gen_agentExecutePost as agentExecutePost, sdk_gen_agentList as agentList, sdk_gen_executionActivitiesGet as executionActivitiesGet, sdk_gen_executionContextFilesGet as executionContextFilesGet, sdk_gen_executionContextFilesUpload as executionContextFilesUpload, sdk_gen_executionUserMessagesAdd as executionUserMessagesAdd, sdk_gen_executionsList as executionsList, sdk_gen_tempFilesStage as tempFilesStage };
|
|
1847
2595
|
}
|
|
1848
2596
|
|
|
1849
2597
|
/**
|
|
@@ -1869,7 +2617,7 @@ declare const AsteroidClient: (apiKey: string, options?: {
|
|
|
1869
2617
|
type AsteroidClient = ReturnType<typeof AsteroidClient>;
|
|
1870
2618
|
/** --- V1 --- */
|
|
1871
2619
|
/**
|
|
1872
|
-
* Execute an agent with parameters including optional agent profile ID.
|
|
2620
|
+
* Execute an agent with parameters including optional agent profile ID, dynamic data, and metadata.
|
|
1873
2621
|
*
|
|
1874
2622
|
* @param client - The API client.
|
|
1875
2623
|
* @param agentId - The ID of the agent to execute.
|
|
@@ -1878,11 +2626,12 @@ type AsteroidClient = ReturnType<typeof AsteroidClient>;
|
|
|
1878
2626
|
*
|
|
1879
2627
|
* @example
|
|
1880
2628
|
* const executionId = await executeAgent(client, 'my-agent-id', {
|
|
1881
|
-
*
|
|
1882
|
-
*
|
|
2629
|
+
* agentProfileId: 'profile-123',
|
|
2630
|
+
* dynamicData: { input: "some dynamic value" },
|
|
2631
|
+
* metadata: { environment: "production", userId: "user-123" }
|
|
1883
2632
|
* });
|
|
1884
2633
|
*/
|
|
1885
|
-
declare const executeAgent: (client: AsteroidClient, agentId: string, executionData:
|
|
2634
|
+
declare const executeAgent: (client: AsteroidClient, agentId: string, executionData: AgentsAgentExecuteAgentRequest) => Promise<string>;
|
|
1886
2635
|
/**
|
|
1887
2636
|
* Get the current status for an execution.
|
|
1888
2637
|
*
|
|
@@ -1939,18 +2688,15 @@ declare const getBrowserSessionRecording: (client: AsteroidClient, executionId:
|
|
|
1939
2688
|
* @param client - The API client.
|
|
1940
2689
|
* @param executionId - The execution identifier.
|
|
1941
2690
|
* @param files - Array of files to upload.
|
|
1942
|
-
* @returns
|
|
2691
|
+
* @returns A success message.
|
|
1943
2692
|
*
|
|
1944
2693
|
* @example
|
|
1945
2694
|
* const fileInput = document.getElementById('file-input') as HTMLInputElement;
|
|
1946
2695
|
* const files = Array.from(fileInput.files || []);
|
|
1947
2696
|
* const result = await uploadExecutionFiles(client, executionId, files);
|
|
1948
|
-
* console.log(result
|
|
2697
|
+
* console.log(result); // "Files uploaded."
|
|
1949
2698
|
*/
|
|
1950
|
-
declare const uploadExecutionFiles: (client: AsteroidClient, executionId: string, files: Array<Blob | globalThis.File>) => Promise<
|
|
1951
|
-
message?: string;
|
|
1952
|
-
file_ids?: string[];
|
|
1953
|
-
}>;
|
|
2699
|
+
declare const uploadExecutionFiles: (client: AsteroidClient, executionId: string, files: Array<Blob | globalThis.File>) => Promise<string>;
|
|
1954
2700
|
/**
|
|
1955
2701
|
* Get agent profiles for an organization (or all organizations for the user if not specified).
|
|
1956
2702
|
*
|
|
@@ -2105,5 +2851,41 @@ declare const downloadExecutionFile: (client: AsteroidClient, file: AgentsFilesF
|
|
|
2105
2851
|
* @returns The list of agents.
|
|
2106
2852
|
*/
|
|
2107
2853
|
declare const getAgents: (client: AsteroidClient, organizationId: string, page: number, pageSize: number) => Promise<AgentsAgentBase[]>;
|
|
2854
|
+
/**
|
|
2855
|
+
* Get a paginated list of executions with optional filtering.
|
|
2856
|
+
*
|
|
2857
|
+
* @param client - The API client.
|
|
2858
|
+
* @param options - Filtering and pagination options.
|
|
2859
|
+
* @returns Paginated execution list with metadata.
|
|
2860
|
+
*
|
|
2861
|
+
* @example
|
|
2862
|
+
* // Get all executions for an organization
|
|
2863
|
+
* const result = await getExecutions(client, {
|
|
2864
|
+
* organizationId: 'org_123',
|
|
2865
|
+
* page: 1,
|
|
2866
|
+
* pageSize: 20
|
|
2867
|
+
* });
|
|
2868
|
+
*
|
|
2869
|
+
* @example
|
|
2870
|
+
* // Filter by agent and status
|
|
2871
|
+
* const result = await getExecutions(client, {
|
|
2872
|
+
* organizationId: 'org_123',
|
|
2873
|
+
* agentId: 'agent_456',
|
|
2874
|
+
* status: ['completed', 'failed'],
|
|
2875
|
+
* page: 1,
|
|
2876
|
+
* pageSize: 20,
|
|
2877
|
+
* sortField: 'created_at',
|
|
2878
|
+
* sortDirection: 'desc'
|
|
2879
|
+
* });
|
|
2880
|
+
*
|
|
2881
|
+
* @example
|
|
2882
|
+
* // Search by execution ID
|
|
2883
|
+
* const result = await getExecutions(client, {
|
|
2884
|
+
* executionId: 'exec_',
|
|
2885
|
+
* page: 1,
|
|
2886
|
+
* pageSize: 20
|
|
2887
|
+
* });
|
|
2888
|
+
*/
|
|
2889
|
+
declare const getExecutions: (client: AsteroidClient, options: ExecutionsListData) => Promise<ExecutionsListResponses["200"]>;
|
|
2108
2890
|
|
|
2109
|
-
export { sdk_gen$1 as AgentsV1SDK, types_gen$1 as AgentsV1Types, sdk_gen as AgentsV2SDK, types_gen as AgentsV2Types, AsteroidClient, addMessageToExecution, createAgentProfile, deleteAgentProfile, downloadExecutionFile, executeAgent, getAgentProfile, getAgentProfiles, getAgents, getBrowserSessionRecording, getCredentialsPublicKey, getExecutionFiles, getExecutionResult, getExecutionStatus, getLastNExecutionActivities, updateAgentProfile, uploadExecutionFiles, waitForExecutionResult };
|
|
2891
|
+
export { sdk_gen$1 as AgentsV1SDK, types_gen$1 as AgentsV1Types, sdk_gen as AgentsV2SDK, types_gen as AgentsV2Types, AsteroidClient, addMessageToExecution, createAgentProfile, deleteAgentProfile, downloadExecutionFile, executeAgent, getAgentProfile, getAgentProfiles, getAgents, getBrowserSessionRecording, getCredentialsPublicKey, getExecutionFiles, getExecutionResult, getExecutionStatus, getExecutions, getLastNExecutionActivities, updateAgentProfile, uploadExecutionFiles, waitForExecutionResult };
|