asteroid-odyssey 1.7.394 → 1.7.397

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -678,10 +678,6 @@ type AgentsEnvironmentEnvironmentConnection = {
678
678
  * Chrome DevTools Protocol websocket URL. Present only for browser environments with a ready CDP endpoint. Proxied on the browser and API-key surfaces; the raw provider URL is only ever handed to service-to-service callers.
679
679
  */
680
680
  cdpUrl?: string;
681
- /**
682
- * Provider-specific CUA connection details. Present for Anchor browsers and Daytona OS environments. Carries session handles, not credentials — the caller resolves provider API keys from its own config.
683
- */
684
- cua?: AgentsWorkflowLiveEnvironmentCuaConnection;
685
681
  };
686
682
  /**
687
683
  * Which lifecycle states a list should return. A coarser handle than the status enum, and the one a caller actually wants: what is still usable, what is finished, or everything.
@@ -2343,10 +2339,6 @@ type AgentsGraphModelsExternalSettings = {
2343
2339
  * Maximum timeout in minutes
2344
2340
  */
2345
2341
  max_timeout_mins: number;
2346
- /**
2347
- * Whether to use the new agent loop for execution (beta)
2348
- */
2349
- new_agent_loop?: boolean;
2350
2342
  };
2351
2343
  type AgentsGraphModelsNodesNode = {
2352
2344
  id: CommonUuid;
@@ -3498,35 +3490,6 @@ type AgentsWorkflowInput = {
3498
3490
  */
3499
3491
  description?: string;
3500
3492
  };
3501
- /**
3502
- * CUA provider connection metadata returned alongside a live environment. Credentials are NOT included — the caller resolves API keys from its own local config keyed by provider.
3503
- */
3504
- type AgentsWorkflowLiveEnvironmentCuaConnection = {
3505
- /**
3506
- * The CUA provider backing this session.
3507
- */
3508
- provider: AgentsWorkflowLiveEnvironmentCuaProvider;
3509
- /**
3510
- * Provider session ID. Anchor: browser session id. Daytona: sandbox id.
3511
- */
3512
- sessionId: string;
3513
- /**
3514
- * Base URL for the Anchor control plane. Optional; defaults to the Anchor SDK default. Set only when provider is anchor.
3515
- */
3516
- anchorBaseUrl?: string;
3517
- /**
3518
- * Per-sandbox base URL for the Daytona toolbox HTTP API. Set only when provider is daytona.
3519
- */
3520
- daytonaToolboxBaseUrl?: string;
3521
- /**
3522
- * Operating system of the Daytona sandbox. Set only when provider is daytona.
3523
- */
3524
- daytonaOsType?: AgentsWorkflowOsType;
3525
- };
3526
- /**
3527
- * CUA provider identifier.
3528
- */
3529
- type AgentsWorkflowLiveEnvironmentCuaProvider = "anchor" | "daytona";
3530
3493
  /**
3531
3494
  * OS provider type
3532
3495
  */
@@ -6886,4 +6849,4 @@ declare const tempFilesStage: <ThrowOnError extends boolean = false>(options: Op
6886
6849
  */
6887
6850
  declare const workflowSpecValidationValidate: <ThrowOnError extends boolean = false>(options: Options<WorkflowSpecValidationValidateData, ThrowOnError>) => RequestResult<WorkflowSpecValidationValidateResponses, WorkflowSpecValidationValidateErrors, ThrowOnError>;
6888
6851
 
6889
- export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentByIdUpdateData, type AgentByIdUpdateError, type AgentByIdUpdateErrors, type AgentByIdUpdateResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentWorkflowsValidateData, type AgentWorkflowsValidateError, type AgentWorkflowsValidateErrors, type AgentWorkflowsValidateResponse, type AgentWorkflowsValidateResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentExternalCreateRequest, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentUpdateRequest, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsEnvironmentAstroEnvironmentOwner, type AgentsEnvironmentEnvironment, type AgentsEnvironmentEnvironmentConnection, type AgentsEnvironmentEnvironmentLifecycle, type AgentsEnvironmentEnvironmentOwner, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentEnvironmentStatus, type AgentsEnvironmentEnvironmentSummary, type AgentsEnvironmentExecutionEnvironmentOwner, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalEnvironmentOwner, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentOrganizationEnvironmentOwner, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentRequest, type AgentsEnvironmentWarmPoolEnvironmentOwner, type AgentsEnvironmentWorkflowEnvironmentSource, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityOutputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionAnchorProviderConfig, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBatchBase, type AgentsExecutionBatchBatchConfig, type AgentsExecutionBatchBatchItem, type AgentsExecutionBatchCreateRequest, type AgentsExecutionBatchListFilterAgentId, type AgentsExecutionBatchListFilterStatus, type AgentsExecutionBatchMaxConcurrentConfig, type AgentsExecutionBatchStatus, type AgentsExecutionBatchTimeBatchingConfig, type AgentsExecutionBrowserProviderConfig, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionBrowserState, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionDaytonaProviderConfig, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionEnvironmentState, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionInputResolutionSource, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionOsState, type AgentsExecutionPausedPayload, type AgentsExecutionPhase, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchPhase, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionSteelProviderConfig, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWarmupTriggerContext, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsScheduledExecutionBase, type AgentsScheduledExecutionListFilterAgentId, type AgentsScheduledExecutionListFilterBatchId, type AgentsScheduledExecutionListFilterOrder, type AgentsScheduledExecutionListFilterStatus, type AgentsScheduledExecutionListFilterWorkflowId, type AgentsScheduledExecutionStatus, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalEnvironmentTemplate, type AgentsWorkflowExternalOsTemplateConfig, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowLiveEnvironmentCuaConnection, type AgentsWorkflowLiveEnvironmentCuaProvider, type AgentsWorkflowOsProvider, type AgentsWorkflowOsRegion, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowValidationIssue, type AgentsWorkflowWorkflowValidationResponse, type AgentsWorkflowWorkflowValidationSeverity, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type EnvironmentByIdGetData, type EnvironmentByIdGetError, type EnvironmentByIdGetErrors, type EnvironmentByIdGetResponse, type EnvironmentByIdGetResponses, type EnvironmentByIdStopData, type EnvironmentByIdStopError, type EnvironmentByIdStopErrors, type EnvironmentByIdStopResponse, type EnvironmentByIdStopResponses, type EnvironmentsListData, type EnvironmentsListError, type EnvironmentsListErrors, type EnvironmentsListResponse, type EnvironmentsListResponses, type EnvironmentsStartData, type EnvironmentsStartError, type EnvironmentsStartErrors, type EnvironmentsStartResponse, type EnvironmentsStartResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionBatchCancelData, type ExecutionBatchCancelError, type ExecutionBatchCancelErrors, type ExecutionBatchCancelResponse, type ExecutionBatchCancelResponses, type ExecutionBatchGetData, type ExecutionBatchGetError, type ExecutionBatchGetErrors, type ExecutionBatchGetResponse, type ExecutionBatchGetResponses, type ExecutionBatchPauseData, type ExecutionBatchPauseError, type ExecutionBatchPauseErrors, type ExecutionBatchPauseResponse, type ExecutionBatchPauseResponses, type ExecutionBatchResumeData, type ExecutionBatchResumeError, type ExecutionBatchResumeErrors, type ExecutionBatchResumeResponse, type ExecutionBatchResumeResponses, type ExecutionBatchesCreateData, type ExecutionBatchesCreateError, type ExecutionBatchesCreateErrors, type ExecutionBatchesCreateResponse, type ExecutionBatchesCreateResponses, type ExecutionBatchesListData, type ExecutionBatchesListError, type ExecutionBatchesListErrors, type ExecutionBatchesListResponse, type ExecutionBatchesListResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type ScheduledExecutionsListData, type ScheduledExecutionsListError, type ScheduledExecutionsListErrors, type ScheduledExecutionsListResponse, type ScheduledExecutionsListResponses, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, type WorkflowSpecValidationValidateData, type WorkflowSpecValidationValidateError, type WorkflowSpecValidationValidateErrors, type WorkflowSpecValidationValidateResponse, type WorkflowSpecValidationValidateResponses, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsValidate, availableToolsList, client, contextGet, docsSearchSearch, environmentByIdGet, environmentByIdStop, environmentsList, environmentsStart, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionBatchCancel, executionBatchGet, executionBatchPause, executionBatchResume, executionBatchesCreate, executionBatchesList, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, scheduledExecutionsList, schemaValidationValidate, tempFilesStage, workflowSpecValidationValidate };
6852
+ export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentByIdUpdateData, type AgentByIdUpdateError, type AgentByIdUpdateErrors, type AgentByIdUpdateResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentWorkflowsValidateData, type AgentWorkflowsValidateError, type AgentWorkflowsValidateErrors, type AgentWorkflowsValidateResponse, type AgentWorkflowsValidateResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentExternalCreateRequest, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentUpdateRequest, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsEnvironmentAstroEnvironmentOwner, type AgentsEnvironmentEnvironment, type AgentsEnvironmentEnvironmentConnection, type AgentsEnvironmentEnvironmentLifecycle, type AgentsEnvironmentEnvironmentOwner, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentEnvironmentStatus, type AgentsEnvironmentEnvironmentSummary, type AgentsEnvironmentExecutionEnvironmentOwner, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalEnvironmentOwner, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentOrganizationEnvironmentOwner, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentRequest, type AgentsEnvironmentWarmPoolEnvironmentOwner, type AgentsEnvironmentWorkflowEnvironmentSource, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityOutputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionAnchorProviderConfig, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBatchBase, type AgentsExecutionBatchBatchConfig, type AgentsExecutionBatchBatchItem, type AgentsExecutionBatchCreateRequest, type AgentsExecutionBatchListFilterAgentId, type AgentsExecutionBatchListFilterStatus, type AgentsExecutionBatchMaxConcurrentConfig, type AgentsExecutionBatchStatus, type AgentsExecutionBatchTimeBatchingConfig, type AgentsExecutionBrowserProviderConfig, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionBrowserState, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionDaytonaProviderConfig, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionEnvironmentState, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionInputResolutionSource, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionOsState, type AgentsExecutionPausedPayload, type AgentsExecutionPhase, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchPhase, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionSteelProviderConfig, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWarmupTriggerContext, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsScheduledExecutionBase, type AgentsScheduledExecutionListFilterAgentId, type AgentsScheduledExecutionListFilterBatchId, type AgentsScheduledExecutionListFilterOrder, type AgentsScheduledExecutionListFilterStatus, type AgentsScheduledExecutionListFilterWorkflowId, type AgentsScheduledExecutionStatus, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalEnvironmentTemplate, type AgentsWorkflowExternalOsTemplateConfig, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsRegion, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowValidationIssue, type AgentsWorkflowWorkflowValidationResponse, type AgentsWorkflowWorkflowValidationSeverity, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type EnvironmentByIdGetData, type EnvironmentByIdGetError, type EnvironmentByIdGetErrors, type EnvironmentByIdGetResponse, type EnvironmentByIdGetResponses, type EnvironmentByIdStopData, type EnvironmentByIdStopError, type EnvironmentByIdStopErrors, type EnvironmentByIdStopResponse, type EnvironmentByIdStopResponses, type EnvironmentsListData, type EnvironmentsListError, type EnvironmentsListErrors, type EnvironmentsListResponse, type EnvironmentsListResponses, type EnvironmentsStartData, type EnvironmentsStartError, type EnvironmentsStartErrors, type EnvironmentsStartResponse, type EnvironmentsStartResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionBatchCancelData, type ExecutionBatchCancelError, type ExecutionBatchCancelErrors, type ExecutionBatchCancelResponse, type ExecutionBatchCancelResponses, type ExecutionBatchGetData, type ExecutionBatchGetError, type ExecutionBatchGetErrors, type ExecutionBatchGetResponse, type ExecutionBatchGetResponses, type ExecutionBatchPauseData, type ExecutionBatchPauseError, type ExecutionBatchPauseErrors, type ExecutionBatchPauseResponse, type ExecutionBatchPauseResponses, type ExecutionBatchResumeData, type ExecutionBatchResumeError, type ExecutionBatchResumeErrors, type ExecutionBatchResumeResponse, type ExecutionBatchResumeResponses, type ExecutionBatchesCreateData, type ExecutionBatchesCreateError, type ExecutionBatchesCreateErrors, type ExecutionBatchesCreateResponse, type ExecutionBatchesCreateResponses, type ExecutionBatchesListData, type ExecutionBatchesListError, type ExecutionBatchesListErrors, type ExecutionBatchesListResponse, type ExecutionBatchesListResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type ScheduledExecutionsListData, type ScheduledExecutionsListError, type ScheduledExecutionsListErrors, type ScheduledExecutionsListResponse, type ScheduledExecutionsListResponses, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, type WorkflowSpecValidationValidateData, type WorkflowSpecValidationValidateError, type WorkflowSpecValidationValidateErrors, type WorkflowSpecValidationValidateResponse, type WorkflowSpecValidationValidateResponses, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsValidate, availableToolsList, client, contextGet, docsSearchSearch, environmentByIdGet, environmentByIdStop, environmentsList, environmentsStart, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionBatchCancel, executionBatchGet, executionBatchPause, executionBatchResume, executionBatchesCreate, executionBatchesList, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, scheduledExecutionsList, schemaValidationValidate, tempFilesStage, workflowSpecValidationValidate };
package/dist/index.d.ts CHANGED
@@ -678,10 +678,6 @@ type AgentsEnvironmentEnvironmentConnection = {
678
678
  * Chrome DevTools Protocol websocket URL. Present only for browser environments with a ready CDP endpoint. Proxied on the browser and API-key surfaces; the raw provider URL is only ever handed to service-to-service callers.
679
679
  */
680
680
  cdpUrl?: string;
681
- /**
682
- * Provider-specific CUA connection details. Present for Anchor browsers and Daytona OS environments. Carries session handles, not credentials — the caller resolves provider API keys from its own config.
683
- */
684
- cua?: AgentsWorkflowLiveEnvironmentCuaConnection;
685
681
  };
686
682
  /**
687
683
  * Which lifecycle states a list should return. A coarser handle than the status enum, and the one a caller actually wants: what is still usable, what is finished, or everything.
@@ -2343,10 +2339,6 @@ type AgentsGraphModelsExternalSettings = {
2343
2339
  * Maximum timeout in minutes
2344
2340
  */
2345
2341
  max_timeout_mins: number;
2346
- /**
2347
- * Whether to use the new agent loop for execution (beta)
2348
- */
2349
- new_agent_loop?: boolean;
2350
2342
  };
2351
2343
  type AgentsGraphModelsNodesNode = {
2352
2344
  id: CommonUuid;
@@ -3498,35 +3490,6 @@ type AgentsWorkflowInput = {
3498
3490
  */
3499
3491
  description?: string;
3500
3492
  };
3501
- /**
3502
- * CUA provider connection metadata returned alongside a live environment. Credentials are NOT included — the caller resolves API keys from its own local config keyed by provider.
3503
- */
3504
- type AgentsWorkflowLiveEnvironmentCuaConnection = {
3505
- /**
3506
- * The CUA provider backing this session.
3507
- */
3508
- provider: AgentsWorkflowLiveEnvironmentCuaProvider;
3509
- /**
3510
- * Provider session ID. Anchor: browser session id. Daytona: sandbox id.
3511
- */
3512
- sessionId: string;
3513
- /**
3514
- * Base URL for the Anchor control plane. Optional; defaults to the Anchor SDK default. Set only when provider is anchor.
3515
- */
3516
- anchorBaseUrl?: string;
3517
- /**
3518
- * Per-sandbox base URL for the Daytona toolbox HTTP API. Set only when provider is daytona.
3519
- */
3520
- daytonaToolboxBaseUrl?: string;
3521
- /**
3522
- * Operating system of the Daytona sandbox. Set only when provider is daytona.
3523
- */
3524
- daytonaOsType?: AgentsWorkflowOsType;
3525
- };
3526
- /**
3527
- * CUA provider identifier.
3528
- */
3529
- type AgentsWorkflowLiveEnvironmentCuaProvider = "anchor" | "daytona";
3530
3493
  /**
3531
3494
  * OS provider type
3532
3495
  */
@@ -6886,4 +6849,4 @@ declare const tempFilesStage: <ThrowOnError extends boolean = false>(options: Op
6886
6849
  */
6887
6850
  declare const workflowSpecValidationValidate: <ThrowOnError extends boolean = false>(options: Options<WorkflowSpecValidationValidateData, ThrowOnError>) => RequestResult<WorkflowSpecValidationValidateResponses, WorkflowSpecValidationValidateErrors, ThrowOnError>;
6888
6851
 
6889
- export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentByIdUpdateData, type AgentByIdUpdateError, type AgentByIdUpdateErrors, type AgentByIdUpdateResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentWorkflowsValidateData, type AgentWorkflowsValidateError, type AgentWorkflowsValidateErrors, type AgentWorkflowsValidateResponse, type AgentWorkflowsValidateResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentExternalCreateRequest, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentUpdateRequest, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsEnvironmentAstroEnvironmentOwner, type AgentsEnvironmentEnvironment, type AgentsEnvironmentEnvironmentConnection, type AgentsEnvironmentEnvironmentLifecycle, type AgentsEnvironmentEnvironmentOwner, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentEnvironmentStatus, type AgentsEnvironmentEnvironmentSummary, type AgentsEnvironmentExecutionEnvironmentOwner, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalEnvironmentOwner, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentOrganizationEnvironmentOwner, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentRequest, type AgentsEnvironmentWarmPoolEnvironmentOwner, type AgentsEnvironmentWorkflowEnvironmentSource, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityOutputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionAnchorProviderConfig, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBatchBase, type AgentsExecutionBatchBatchConfig, type AgentsExecutionBatchBatchItem, type AgentsExecutionBatchCreateRequest, type AgentsExecutionBatchListFilterAgentId, type AgentsExecutionBatchListFilterStatus, type AgentsExecutionBatchMaxConcurrentConfig, type AgentsExecutionBatchStatus, type AgentsExecutionBatchTimeBatchingConfig, type AgentsExecutionBrowserProviderConfig, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionBrowserState, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionDaytonaProviderConfig, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionEnvironmentState, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionInputResolutionSource, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionOsState, type AgentsExecutionPausedPayload, type AgentsExecutionPhase, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchPhase, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionSteelProviderConfig, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWarmupTriggerContext, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsScheduledExecutionBase, type AgentsScheduledExecutionListFilterAgentId, type AgentsScheduledExecutionListFilterBatchId, type AgentsScheduledExecutionListFilterOrder, type AgentsScheduledExecutionListFilterStatus, type AgentsScheduledExecutionListFilterWorkflowId, type AgentsScheduledExecutionStatus, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalEnvironmentTemplate, type AgentsWorkflowExternalOsTemplateConfig, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowLiveEnvironmentCuaConnection, type AgentsWorkflowLiveEnvironmentCuaProvider, type AgentsWorkflowOsProvider, type AgentsWorkflowOsRegion, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowValidationIssue, type AgentsWorkflowWorkflowValidationResponse, type AgentsWorkflowWorkflowValidationSeverity, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type EnvironmentByIdGetData, type EnvironmentByIdGetError, type EnvironmentByIdGetErrors, type EnvironmentByIdGetResponse, type EnvironmentByIdGetResponses, type EnvironmentByIdStopData, type EnvironmentByIdStopError, type EnvironmentByIdStopErrors, type EnvironmentByIdStopResponse, type EnvironmentByIdStopResponses, type EnvironmentsListData, type EnvironmentsListError, type EnvironmentsListErrors, type EnvironmentsListResponse, type EnvironmentsListResponses, type EnvironmentsStartData, type EnvironmentsStartError, type EnvironmentsStartErrors, type EnvironmentsStartResponse, type EnvironmentsStartResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionBatchCancelData, type ExecutionBatchCancelError, type ExecutionBatchCancelErrors, type ExecutionBatchCancelResponse, type ExecutionBatchCancelResponses, type ExecutionBatchGetData, type ExecutionBatchGetError, type ExecutionBatchGetErrors, type ExecutionBatchGetResponse, type ExecutionBatchGetResponses, type ExecutionBatchPauseData, type ExecutionBatchPauseError, type ExecutionBatchPauseErrors, type ExecutionBatchPauseResponse, type ExecutionBatchPauseResponses, type ExecutionBatchResumeData, type ExecutionBatchResumeError, type ExecutionBatchResumeErrors, type ExecutionBatchResumeResponse, type ExecutionBatchResumeResponses, type ExecutionBatchesCreateData, type ExecutionBatchesCreateError, type ExecutionBatchesCreateErrors, type ExecutionBatchesCreateResponse, type ExecutionBatchesCreateResponses, type ExecutionBatchesListData, type ExecutionBatchesListError, type ExecutionBatchesListErrors, type ExecutionBatchesListResponse, type ExecutionBatchesListResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type ScheduledExecutionsListData, type ScheduledExecutionsListError, type ScheduledExecutionsListErrors, type ScheduledExecutionsListResponse, type ScheduledExecutionsListResponses, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, type WorkflowSpecValidationValidateData, type WorkflowSpecValidationValidateError, type WorkflowSpecValidationValidateErrors, type WorkflowSpecValidationValidateResponse, type WorkflowSpecValidationValidateResponses, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsValidate, availableToolsList, client, contextGet, docsSearchSearch, environmentByIdGet, environmentByIdStop, environmentsList, environmentsStart, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionBatchCancel, executionBatchGet, executionBatchPause, executionBatchResume, executionBatchesCreate, executionBatchesList, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, scheduledExecutionsList, schemaValidationValidate, tempFilesStage, workflowSpecValidationValidate };
6852
+ export { type AdminCustomerActivityListData, type AdminCustomerActivityListError, type AdminCustomerActivityListErrors, type AdminCustomerActivityListResponse, type AdminCustomerActivityListResponses, type AdminCustomerActivityNotableListData, type AdminCustomerActivityNotableListError, type AdminCustomerActivityNotableListErrors, type AdminCustomerActivityNotableListResponse, type AdminCustomerActivityNotableListResponses, type AdminCustomerActivityWindowStatsListData, type AdminCustomerActivityWindowStatsListError, type AdminCustomerActivityWindowStatsListErrors, type AdminCustomerActivityWindowStatsListResponse, type AdminCustomerActivityWindowStatsListResponses, type AgentByIdDeleteData, type AgentByIdDeleteError, type AgentByIdDeleteErrors, type AgentByIdDeleteResponse, type AgentByIdDeleteResponses, type AgentByIdUpdateData, type AgentByIdUpdateError, type AgentByIdUpdateErrors, type AgentByIdUpdateResponses, type AgentCreateData, type AgentCreateError, type AgentCreateErrors, type AgentCreateResponse, type AgentCreateResponses, type AgentExecutePostData, type AgentExecutePostError, type AgentExecutePostErrors, type AgentExecutePostResponse, type AgentExecutePostResponses, type AgentListData, type AgentListError, type AgentListErrors, type AgentListResponse, type AgentListResponses, type AgentProfileClearBrowserCacheData, type AgentProfileClearBrowserCacheError, type AgentProfileClearBrowserCacheErrors, type AgentProfileClearBrowserCacheResponse, type AgentProfileClearBrowserCacheResponses, type AgentProfileDeleteData, type AgentProfileDeleteError, type AgentProfileDeleteErrors, type AgentProfileDeleteResponse, type AgentProfileDeleteResponses, type AgentProfileDuplicateData, type AgentProfileDuplicateError, type AgentProfileDuplicateErrors, type AgentProfileDuplicateResponse, type AgentProfileDuplicateResponses, type AgentProfileGetData, type AgentProfileGetError, type AgentProfileGetErrors, type AgentProfileGetInboxEmailData, type AgentProfileGetInboxEmailError, type AgentProfileGetInboxEmailErrors, type AgentProfileGetInboxEmailResponse, type AgentProfileGetInboxEmailResponses, type AgentProfileGetInboxEmailsData, type AgentProfileGetInboxEmailsError, type AgentProfileGetInboxEmailsErrors, type AgentProfileGetInboxEmailsResponse, type AgentProfileGetInboxEmailsResponses, type AgentProfileGetResponse, type AgentProfileGetResponses, type AgentProfilePoolDeleteData, type AgentProfilePoolDeleteError, type AgentProfilePoolDeleteErrors, type AgentProfilePoolDeleteResponse, type AgentProfilePoolDeleteResponses, type AgentProfilePoolGetData, type AgentProfilePoolGetError, type AgentProfilePoolGetErrors, type AgentProfilePoolGetResponse, type AgentProfilePoolGetResponses, type AgentProfilePoolMembersAddData, type AgentProfilePoolMembersAddError, type AgentProfilePoolMembersAddErrors, type AgentProfilePoolMembersAddResponse, type AgentProfilePoolMembersAddResponses, type AgentProfilePoolMembersListData, type AgentProfilePoolMembersListError, type AgentProfilePoolMembersListErrors, type AgentProfilePoolMembersListResponse, type AgentProfilePoolMembersListResponses, type AgentProfilePoolMembersRemoveData, type AgentProfilePoolMembersRemoveError, type AgentProfilePoolMembersRemoveErrors, type AgentProfilePoolMembersRemoveResponse, type AgentProfilePoolMembersRemoveResponses, type AgentProfilePoolUpdateData, type AgentProfilePoolUpdateError, type AgentProfilePoolUpdateErrors, type AgentProfilePoolUpdateResponse, type AgentProfilePoolUpdateResponses, type AgentProfilePoolsCreateData, type AgentProfilePoolsCreateError, type AgentProfilePoolsCreateErrors, type AgentProfilePoolsCreateResponse, type AgentProfilePoolsCreateResponses, type AgentProfilePoolsListData, type AgentProfilePoolsListError, type AgentProfilePoolsListErrors, type AgentProfilePoolsListResponse, type AgentProfilePoolsListResponses, type AgentProfileUpdateData, type AgentProfileUpdateError, type AgentProfileUpdateErrors, type AgentProfileUpdateResponse, type AgentProfileUpdateResponses, type AgentProfilesCreateData, type AgentProfilesCreateError, type AgentProfilesCreateErrors, type AgentProfilesCreateResponse, type AgentProfilesCreateResponses, type AgentProfilesListData, type AgentProfilesListError, type AgentProfilesListErrors, type AgentProfilesListResponse, type AgentProfilesListResponses, type AgentWorkflowsCreateData, type AgentWorkflowsCreateError, type AgentWorkflowsCreateErrors, type AgentWorkflowsCreateResponse, type AgentWorkflowsCreateResponses, type AgentWorkflowsDeleteWorkflowData, type AgentWorkflowsDeleteWorkflowError, type AgentWorkflowsDeleteWorkflowErrors, type AgentWorkflowsDeleteWorkflowResponse, type AgentWorkflowsDeleteWorkflowResponses, type AgentWorkflowsExecuteData, type AgentWorkflowsExecuteError, type AgentWorkflowsExecuteErrors, type AgentWorkflowsExecuteResponse, type AgentWorkflowsExecuteResponses, type AgentWorkflowsGetData, type AgentWorkflowsGetError, type AgentWorkflowsGetErrors, type AgentWorkflowsGetInputsData, type AgentWorkflowsGetInputsError, type AgentWorkflowsGetInputsErrors, type AgentWorkflowsGetInputsResponse, type AgentWorkflowsGetInputsResponses, type AgentWorkflowsGetOutputSchemasData, type AgentWorkflowsGetOutputSchemasError, type AgentWorkflowsGetOutputSchemasErrors, type AgentWorkflowsGetOutputSchemasResponse, type AgentWorkflowsGetOutputSchemasResponses, type AgentWorkflowsGetResponse, type AgentWorkflowsGetResponses, type AgentWorkflowsListData, type AgentWorkflowsListError, type AgentWorkflowsListErrors, type AgentWorkflowsListResponse, type AgentWorkflowsListResponses, type AgentWorkflowsPublishData, type AgentWorkflowsPublishError, type AgentWorkflowsPublishErrors, type AgentWorkflowsPublishResponse, type AgentWorkflowsPublishResponses, type AgentWorkflowsValidateData, type AgentWorkflowsValidateError, type AgentWorkflowsValidateErrors, type AgentWorkflowsValidateResponse, type AgentWorkflowsValidateResponses, type AgentsAgentAvailableTool, type AgentsAgentAvailableToolsResponse, type AgentsAgentBase, type AgentsAgentCreateResponse, type AgentsAgentExecuteAgentRequest, type AgentsAgentExecuteAgentResponse, type AgentsAgentExecutionOptions, type AgentsAgentExternalCreateRequest, type AgentsAgentSearch, type AgentsAgentSortField, type AgentsAgentUpdateRequest, type AgentsContextUserContextResponse, type AgentsContextUserOrganization, type AgentsCustomerActivityCustomerActivityList, type AgentsCustomerActivityCustomerActivityRow, type AgentsCustomerActivityCustomerWindowStatsList, type AgentsCustomerActivityCustomerWindowStatsRow, type AgentsCustomerActivityNotableActivityKind, type AgentsCustomerActivityNotableActivityList, type AgentsCustomerActivityNotableActivityRow, type AgentsCustomerActivityOrgWindowStat, type AgentsCustomerActivityRiskLevel, type AgentsDocsSearchDocsRequest, type AgentsDocsSearchDocsResponse, type AgentsDocsSearchResult, type AgentsEnvironmentAstroEnvironmentOwner, type AgentsEnvironmentEnvironment, type AgentsEnvironmentEnvironmentConnection, type AgentsEnvironmentEnvironmentLifecycle, type AgentsEnvironmentEnvironmentOwner, type AgentsEnvironmentEnvironmentSource, type AgentsEnvironmentEnvironmentStatus, type AgentsEnvironmentEnvironmentSummary, type AgentsEnvironmentExecutionEnvironmentOwner, type AgentsEnvironmentExplicitEnvironmentSource, type AgentsEnvironmentExternalEnvironmentOwner, type AgentsEnvironmentListEnvironmentsResponse, type AgentsEnvironmentOrganizationEnvironmentOwner, type AgentsEnvironmentSpecBrowserTemplate, type AgentsEnvironmentSpecEnvironmentTemplate, type AgentsEnvironmentSpecOsTemplate, type AgentsEnvironmentStartEnvironmentRequest, type AgentsEnvironmentWarmPoolEnvironmentOwner, type AgentsEnvironmentWorkflowEnvironmentSource, type AgentsExecutionActionName, type AgentsExecutionActivity, type AgentsExecutionActivityActionCompletedInfo, type AgentsExecutionActivityActionCompletedPayload, type AgentsExecutionActivityActionFailedPayload, type AgentsExecutionActivityActionStartedInfo, type AgentsExecutionActivityActionStartedPayload, type AgentsExecutionActivityCompactionPerformedPayload, type AgentsExecutionActivityCompactionStartedPayload, type AgentsExecutionActivityDisplay, type AgentsExecutionActivityFileAddedPayload, type AgentsExecutionActivityGenericPayload, type AgentsExecutionActivityInputSchemaResolvedPayload, type AgentsExecutionActivityOutputSchemaResolvedPayload, type AgentsExecutionActivityPayloadUnion, type AgentsExecutionActivityPlaywrightScriptGeneratedPayload, type AgentsExecutionActivityPresentationLevel, type AgentsExecutionActivityReasoningPayload, type AgentsExecutionActivityScriptVariablesSubstitutedPayload, type AgentsExecutionActivityStatusChangedPayload, type AgentsExecutionActivityStepCompletedPayload, type AgentsExecutionActivityStepStartedPayload, type AgentsExecutionActivityTodosUpdatedPayload, type AgentsExecutionActivityTransitionedNodePayload, type AgentsExecutionActivityUserMessageReceivedPayload, type AgentsExecutionAgentQueryContextCompletedDetails, type AgentsExecutionAgentQueryContextStartedDetails, type AgentsExecutionAnchorProviderConfig, type AgentsExecutionApiKeyRef, type AgentsExecutionApiTriggerContext, type AgentsExecutionAskUserQuestion, type AgentsExecutionAwaitingConfirmationPayload, type AgentsExecutionBatchBase, type AgentsExecutionBatchBatchConfig, type AgentsExecutionBatchBatchItem, type AgentsExecutionBatchCreateRequest, type AgentsExecutionBatchListFilterAgentId, type AgentsExecutionBatchListFilterStatus, type AgentsExecutionBatchMaxConcurrentConfig, type AgentsExecutionBatchStatus, type AgentsExecutionBatchTimeBatchingConfig, type AgentsExecutionBrowserProviderConfig, type AgentsExecutionBrowserRunCodeCompletedDetails, type AgentsExecutionBrowserRunCodeStartedDetails, type AgentsExecutionBrowserState, type AgentsExecutionCancelReason, type AgentsExecutionCancelledPayload, type AgentsExecutionComment, type AgentsExecutionCompletedPayload, type AgentsExecutionDaytonaProviderConfig, type AgentsExecutionElementFileUploadCompletedDetails, type AgentsExecutionEnvironmentState, type AgentsExecutionExecutionResult, type AgentsExecutionExtApiCallCompletedDetails, type AgentsExecutionExtGetMailCompletedDetails, type AgentsExecutionExtSendMailCompletedDetails, type AgentsExecutionExtSendMailStartedDetails, type AgentsExecutionFailedPayload, type AgentsExecutionFileListCompletedDetails, type AgentsExecutionFileReadCompletedDetails, type AgentsExecutionFileStageCompletedDetails, type AgentsExecutionHandoffPrepareCompletedDetails, type AgentsExecutionHandoffPrepareStartedDetails, type AgentsExecutionHandoffPrepareVariable, type AgentsExecutionHumanLabel, type AgentsExecutionInputResolutionSource, type AgentsExecutionListItem, type AgentsExecutionLlmCallPurpose, type AgentsExecutionLlmCallStartedDetails, type AgentsExecutionNavToCompletedDetails, type AgentsExecutionNavToStartedDetails, type AgentsExecutionNodeOutputItem, type AgentsExecutionObsSnapshotWithSelectorsCompletedDetails, type AgentsExecutionOsState, type AgentsExecutionPausedPayload, type AgentsExecutionPhase, type AgentsExecutionQuestionItem, type AgentsExecutionQuestionOption, type AgentsExecutionReadFileCompletedDetails, type AgentsExecutionReadFileStartedDetails, type AgentsExecutionScheduleRef, type AgentsExecutionScheduleTriggerContext, type AgentsExecutionScratchpadReadCompletedDetails, type AgentsExecutionScratchpadReadStartedDetails, type AgentsExecutionScratchpadWriteCompletedDetails, type AgentsExecutionScratchpadWriteStartedDetails, type AgentsExecutionScriptEvalCompletedDetails, type AgentsExecutionScriptEvalStartedDetails, type AgentsExecutionScriptFailure, type AgentsExecutionScriptHybridPlaywrightCompletedDetails, type AgentsExecutionScriptHybridPlaywrightStartedDetails, type AgentsExecutionScriptPadRunFunctionCompletedDetails, type AgentsExecutionScriptPlaywrightCompletedDetails, type AgentsExecutionScriptPlaywrightStartedDetails, type AgentsExecutionScriptpadReadCompletedDetails, type AgentsExecutionScriptpadReadStartedDetails, type AgentsExecutionScriptpadRunFunctionStartedDetails, type AgentsExecutionScriptpadSearchReplaceCompletedDetails, type AgentsExecutionScriptpadSearchReplaceStartedDetails, type AgentsExecutionScriptpadWriteCompletedDetails, type AgentsExecutionSdkBashCompletedDetails, type AgentsExecutionSdkBashStartedDetails, type AgentsExecutionSdkEditCompletedDetails, type AgentsExecutionSdkEditStartedDetails, type AgentsExecutionSdkGlobCompletedDetails, type AgentsExecutionSdkGlobStartedDetails, type AgentsExecutionSdkGrepCompletedDetails, type AgentsExecutionSdkGrepStartedDetails, type AgentsExecutionSdkReadCompletedDetails, type AgentsExecutionSdkReadStartedDetails, type AgentsExecutionSdkSkillCompletedDetails, type AgentsExecutionSdkSkillStartedDetails, type AgentsExecutionSdkWriteCompletedDetails, type AgentsExecutionSdkWriteStartedDetails, type AgentsExecutionSearchAgentId, type AgentsExecutionSearchAgentProfileIds, type AgentsExecutionSearchCreatedAfter, type AgentsExecutionSearchCreatedBefore, type AgentsExecutionSearchExecutionId, type AgentsExecutionSearchHasScriptFailures, type AgentsExecutionSearchHumanLabels, type AgentsExecutionSearchInputsKey, type AgentsExecutionSearchInputsValue, type AgentsExecutionSearchMetadataKey, type AgentsExecutionSearchMetadataValue, type AgentsExecutionSearchOutcomeLabel, type AgentsExecutionSearchPhase, type AgentsExecutionSearchStatus, type AgentsExecutionSearchTriggerSource, type AgentsExecutionSearchWorkflowVersion, type AgentsExecutionSortField, type AgentsExecutionStatus, type AgentsExecutionSteelProviderConfig, type AgentsExecutionTerminalPayload, type AgentsExecutionTodo, type AgentsExecutionTodoStatus, type AgentsExecutionTriggerContext, type AgentsExecutionTriggerRunner, type AgentsExecutionUiTriggerContext, type AgentsExecutionUpdateExecutionStatusRequest, type AgentsExecutionUpdateableStatus, type AgentsExecutionUserMessagesAddTextBody, type AgentsExecutionUtilGetDatetimeCompletedDetails, type AgentsExecutionUtilGetDatetimeStartedDetails, type AgentsExecutionWarmupTriggerContext, type AgentsFilesAgentFile, type AgentsFilesAgentFileCreatedBy, type AgentsFilesAgentFileDirectory, type AgentsFilesAgentFilesDirectoryListing, type AgentsFilesAgentFilesResponse, type AgentsFilesFile, type AgentsFilesFilePart, type AgentsFilesTempFile, type AgentsFilesTempFilesResponse, type AgentsGraphModelsAgentGraph, type AgentsGraphModelsExternalSettings, type AgentsGraphModelsNodesNode, type AgentsGraphModelsNodesNodePropertiesUnion, type AgentsGraphModelsNodesNodeType, type AgentsGraphModelsNodesPosition, type AgentsGraphModelsNodesPropertiesApiMethod, type AgentsGraphModelsNodesPropertiesApiProperties, type AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesIrisProperties, type AgentsGraphModelsNodesPropertiesNodeCapabilities, type AgentsGraphModelsNodesPropertiesOutcomeString, type AgentsGraphModelsNodesPropertiesOutputProperties, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVar, type AgentsGraphModelsNodesPropertiesPlaywrightScriptLlmVarType, type AgentsGraphModelsNodesPropertiesPlaywrightScriptProperties, type AgentsGraphModelsNodesPropertiesStartProperties, type AgentsGraphModelsNodesPropertiesUrlProperties, type AgentsGraphModelsNodesSize, type AgentsGraphModelsStickyNote, type AgentsGraphModelsTransitionsPropertiesIrisProperties, type AgentsGraphModelsTransitionsPropertiesOutcomeSuccessProperties, type AgentsGraphModelsTransitionsPropertiesSelectorProperties, type AgentsGraphModelsTransitionsTransition, type AgentsGraphModelsTransitionsTransitionPropertiesUnion, type AgentsGraphModelsTransitionsTransitionType, type AgentsProfileAddProfilesToPoolRequest, type AgentsProfileAgentProfile, type AgentsProfileAgentProfileInboxEmailsResponse, type AgentsProfileAgentProfilePool, type AgentsProfileAgentProfilePoolMember, type AgentsProfileCookie, type AgentsProfileCountryCode, type AgentsProfileCreateAgentProfilePoolRequest, type AgentsProfileCreateAgentProfileRequest, type AgentsProfileCredential, type AgentsProfileCredentialUpdate, type AgentsProfileCustomProxyConfigInput, type AgentsProfileCustomProxyConfigOutput, type AgentsProfileDuplicateAgentProfileRequest, type AgentsProfileFeature, type AgentsProfileOperatingSystem, type AgentsProfilePoolSearch, type AgentsProfilePoolSortField, type AgentsProfileProfileInboxEmail, type AgentsProfileProfileInboxEmailDetail, type AgentsProfileProxyMode, type AgentsProfileProxyType, type AgentsProfileRemoveProfilesFromPoolRequest, type AgentsProfileSameSite, type AgentsProfileSearchFeature, type AgentsProfileSearchOperatingSystem, type AgentsProfileSearchProxyMode, type AgentsProfileSearchSearchName, type AgentsProfileSelectionStrategy, type AgentsProfileSortField, type AgentsProfileUpdateAgentProfilePoolRequest, type AgentsProfileUpdateAgentProfileRequest, type AgentsScheduledExecutionBase, type AgentsScheduledExecutionListFilterAgentId, type AgentsScheduledExecutionListFilterBatchId, type AgentsScheduledExecutionListFilterOrder, type AgentsScheduledExecutionListFilterStatus, type AgentsScheduledExecutionListFilterWorkflowId, type AgentsScheduledExecutionStatus, type AgentsSchemaValidateSchemaRequest, type AgentsSchemaValidateSchemaResponse, type AgentsWorkflowBrowserProvider, type AgentsWorkflowBrowserTemplateConfig, type AgentsWorkflowCreateWorkflowResponse, type AgentsWorkflowEnvironmentType, type AgentsWorkflowExecuteWorkflowRequest, type AgentsWorkflowExecuteWorkflowResponse, type AgentsWorkflowExternalCreateWorkflowRequest, type AgentsWorkflowExternalEnvironmentTemplate, type AgentsWorkflowExternalOsTemplateConfig, type AgentsWorkflowExternalWorkflowSnapshot, type AgentsWorkflowInput, type AgentsWorkflowOsProvider, type AgentsWorkflowOsRegion, type AgentsWorkflowOsType, type AgentsWorkflowPublishWorkflowResponse, type AgentsWorkflowWorkflowFile, type AgentsWorkflowWorkflowInputs, type AgentsWorkflowWorkflowOutputSchemas, type AgentsWorkflowWorkflowRef, type AgentsWorkflowWorkflowValidationIssue, type AgentsWorkflowWorkflowValidationResponse, type AgentsWorkflowWorkflowValidationSeverity, type AvailableToolsListData, type AvailableToolsListError, type AvailableToolsListErrors, type AvailableToolsListResponse, type AvailableToolsListResponses, type ClientOptions, type CommonBadRequestErrorBody, type CommonConflictErrorBody, type CommonError, type CommonForbiddenErrorBody, type CommonInternalServerErrorBody, type CommonNotFoundErrorBody, type CommonOsError, type CommonPaginationPage, type CommonPaginationPageSize, type CommonPaymentRequiredErrorBody, type CommonSortDirection, type CommonUnauthorizedErrorBody, type CommonUuid, type ContextGetData, type ContextGetError, type ContextGetErrors, type ContextGetResponse, type ContextGetResponses, type CreateClientConfig, type DocsSearchSearchData, type DocsSearchSearchError, type DocsSearchSearchErrors, type DocsSearchSearchResponse, type DocsSearchSearchResponses, type EnvironmentByIdGetData, type EnvironmentByIdGetError, type EnvironmentByIdGetErrors, type EnvironmentByIdGetResponse, type EnvironmentByIdGetResponses, type EnvironmentByIdStopData, type EnvironmentByIdStopError, type EnvironmentByIdStopErrors, type EnvironmentByIdStopResponse, type EnvironmentByIdStopResponses, type EnvironmentsListData, type EnvironmentsListError, type EnvironmentsListErrors, type EnvironmentsListResponse, type EnvironmentsListResponses, type EnvironmentsStartData, type EnvironmentsStartError, type EnvironmentsStartErrors, type EnvironmentsStartResponse, type EnvironmentsStartResponses, type ExecutionActivitiesGetData, type ExecutionActivitiesGetError, type ExecutionActivitiesGetErrors, type ExecutionActivitiesGetResponse, type ExecutionActivitiesGetResponses, type ExecutionAgentFileDownloadRedirectData, type ExecutionAgentFileDownloadRedirectError, type ExecutionAgentFileDownloadRedirectErrors, type ExecutionAgentFilesGetData, type ExecutionAgentFilesGetError, type ExecutionAgentFilesGetErrors, type ExecutionAgentFilesGetResponse, type ExecutionAgentFilesGetResponses, type ExecutionBatchCancelData, type ExecutionBatchCancelError, type ExecutionBatchCancelErrors, type ExecutionBatchCancelResponse, type ExecutionBatchCancelResponses, type ExecutionBatchGetData, type ExecutionBatchGetError, type ExecutionBatchGetErrors, type ExecutionBatchGetResponse, type ExecutionBatchGetResponses, type ExecutionBatchPauseData, type ExecutionBatchPauseError, type ExecutionBatchPauseErrors, type ExecutionBatchPauseResponse, type ExecutionBatchPauseResponses, type ExecutionBatchResumeData, type ExecutionBatchResumeError, type ExecutionBatchResumeErrors, type ExecutionBatchResumeResponse, type ExecutionBatchResumeResponses, type ExecutionBatchesCreateData, type ExecutionBatchesCreateError, type ExecutionBatchesCreateErrors, type ExecutionBatchesCreateResponse, type ExecutionBatchesCreateResponses, type ExecutionBatchesListData, type ExecutionBatchesListError, type ExecutionBatchesListErrors, type ExecutionBatchesListResponse, type ExecutionBatchesListResponses, type ExecutionContextFileDownloadRedirectData, type ExecutionContextFileDownloadRedirectError, type ExecutionContextFileDownloadRedirectErrors, type ExecutionContextFilesGetData, type ExecutionContextFilesGetError, type ExecutionContextFilesGetErrors, type ExecutionContextFilesGetResponse, type ExecutionContextFilesGetResponses, type ExecutionContextFilesUploadData, type ExecutionContextFilesUploadError, type ExecutionContextFilesUploadErrors, type ExecutionContextFilesUploadResponse, type ExecutionContextFilesUploadResponses, type ExecutionDebugFileDownloadRedirectData, type ExecutionDebugFileDownloadRedirectError, type ExecutionDebugFileDownloadRedirectErrors, type ExecutionFileDownloadRedirectData, type ExecutionFileDownloadRedirectError, type ExecutionFileDownloadRedirectErrors, type ExecutionFilesGetData, type ExecutionFilesGetError, type ExecutionFilesGetErrors, type ExecutionFilesGetResponse, type ExecutionFilesGetResponses, type ExecutionGetData, type ExecutionGetError, type ExecutionGetErrors, type ExecutionGetResponse, type ExecutionGetResponses, type ExecutionRecordingRedirectData, type ExecutionRecordingRedirectError, type ExecutionRecordingRedirectErrors, type ExecutionStatusUpdateData, type ExecutionStatusUpdateError, type ExecutionStatusUpdateErrors, type ExecutionStatusUpdateResponse, type ExecutionStatusUpdateResponses, type ExecutionUserMessagesAddData, type ExecutionUserMessagesAddError, type ExecutionUserMessagesAddErrors, type ExecutionUserMessagesAddResponse, type ExecutionUserMessagesAddResponses, type ExecutionsListData, type ExecutionsListError, type ExecutionsListErrors, type ExecutionsListResponse, type ExecutionsListResponses, type Options, type ScheduledExecutionsListData, type ScheduledExecutionsListError, type ScheduledExecutionsListErrors, type ScheduledExecutionsListResponse, type ScheduledExecutionsListResponses, type SchemaValidationValidateData, type SchemaValidationValidateError, type SchemaValidationValidateErrors, type SchemaValidationValidateResponse, type SchemaValidationValidateResponses, type TempFilesStageData, type TempFilesStageError, type TempFilesStageErrors, type TempFilesStageResponse, type TempFilesStageResponses, type WorkflowSpecValidationValidateData, type WorkflowSpecValidationValidateError, type WorkflowSpecValidationValidateErrors, type WorkflowSpecValidationValidateResponse, type WorkflowSpecValidationValidateResponses, adminCustomerActivityList, adminCustomerActivityNotableList, adminCustomerActivityWindowStatsList, agentByIdDelete, agentByIdUpdate, agentCreate, agentExecutePost, agentList, agentProfileClearBrowserCache, agentProfileDelete, agentProfileDuplicate, agentProfileGet, agentProfileGetInboxEmail, agentProfileGetInboxEmails, agentProfilePoolDelete, agentProfilePoolGet, agentProfilePoolMembersAdd, agentProfilePoolMembersList, agentProfilePoolMembersRemove, agentProfilePoolUpdate, agentProfilePoolsCreate, agentProfilePoolsList, agentProfileUpdate, agentProfilesCreate, agentProfilesList, agentWorkflowsCreate, agentWorkflowsDeleteWorkflow, agentWorkflowsExecute, agentWorkflowsGet, agentWorkflowsGetInputs, agentWorkflowsGetOutputSchemas, agentWorkflowsList, agentWorkflowsPublish, agentWorkflowsValidate, availableToolsList, client, contextGet, docsSearchSearch, environmentByIdGet, environmentByIdStop, environmentsList, environmentsStart, executionActivitiesGet, executionAgentFileDownloadRedirect, executionAgentFilesGet, executionBatchCancel, executionBatchGet, executionBatchPause, executionBatchResume, executionBatchesCreate, executionBatchesList, executionContextFileDownloadRedirect, executionContextFilesGet, executionContextFilesUpload, executionDebugFileDownloadRedirect, executionFileDownloadRedirect, executionFilesGet, executionGet, executionRecordingRedirect, executionStatusUpdate, executionUserMessagesAdd, executionsList, scheduledExecutionsList, schemaValidationValidate, tempFilesStage, workflowSpecValidationValidate };
package/dist/index.js CHANGED
@@ -3,5 +3,5 @@
3
3
 
4
4
  `);f=V.pop()??"";for(let re of V){let oe=re.split(`
5
5
  `),k=[],z;for(let R of oe)if(R.startsWith("data:"))k.push(R.replace(/^data:\s*/,""));else if(R.startsWith("event:"))z=R.replace(/^event:\s*/,"");else if(R.startsWith("id:"))u=R.replace(/^id:\s*/,"");else if(R.startsWith("retry:")){let N=Number.parseInt(R.replace(/^retry:\s*/,""),10);Number.isNaN(N)||(d=N);}let S,j=!1;if(k.length){let R=k.join(`
6
- `);try{S=JSON.parse(R),j=!0;}catch{S=R;}}j&&(a&&await a(S),n&&(S=await n(S))),r?.({data:S,event:z,id:u,retry:d}),k.length&&(yield S);}}}finally{y.removeEventListener("abort",M),w.releaseLock();}break}catch(P){if(t?.(P),i!==void 0&&g>=i)break;let O=Math.min(d*2**(g-1),s??3e4);await m(O);}}}()}}var ne=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},se=e=>{switch(e){case "form":return ",";case "pipeDelimited":return "|";case "spaceDelimited":return "%20";default:return ","}},ie=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},G=({allowReserved:e,explode:t,name:r,style:n,value:a})=>{if(!t){let s=(e?a:a.map(l=>encodeURIComponent(l))).join(se(n));switch(n){case "label":return `.${s}`;case "matrix":return `;${r}=${s}`;case "simple":return s;default:return `${r}=${s}`}}let c=ne(n),i=a.map(s=>n==="label"||n==="simple"?e?s:encodeURIComponent(s):C({allowReserved:e,name:r,value:s})).join(c);return n==="label"||n==="matrix"?c+i:i},C=({allowReserved:e,name:t,value:r})=>{if(r==null)return "";if(typeof r=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return `${t}=${e?r:encodeURIComponent(r)}`},W=({allowReserved:e,explode:t,name:r,style:n,value:a,valueOnly:c})=>{if(a instanceof Date)return c?a.toISOString():`${r}=${a.toISOString()}`;if(n!=="deepObject"&&!t){let l=[];Object.entries(a).forEach(([p,u])=>{l=[...l,p,e?u:encodeURIComponent(u)];});let h=l.join(",");switch(n){case "form":return `${r}=${h}`;case "label":return `.${h}`;case "matrix":return `;${r}=${h}`;default:return h}}let i=ie(n),s=Object.entries(a).map(([l,h])=>C({allowReserved:e,name:n==="deepObject"?`${r}[${l}]`:l,value:h})).join(i);return n==="label"||n==="matrix"?i+s:s};var ae=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,n=t.match(ae);if(n)for(let a of n){let c=false,i=a.substring(1,a.length-1),s="simple";i.endsWith("*")&&(c=true,i=i.substring(0,i.length-1)),i.startsWith(".")?(i=i.substring(1),s="label"):i.startsWith(";")&&(i=i.substring(1),s="matrix");let l=e[i];if(l==null)continue;if(Array.isArray(l)){r=r.replace(a,G({explode:c,name:i,style:s,value:l}));continue}if(typeof l=="object"){r=r.replace(a,W({explode:c,name:i,style:s,value:l,valueOnly:true}));continue}if(s==="matrix"){r=r.replace(a,`;${C({name:i,value:l})}`);continue}let h=encodeURIComponent(s==="label"?`.${l}`:l);r=r.replace(a,h);}return r},$=({baseUrl:e,path:t,query:r,querySerializer:n,url:a})=>{let c=a.startsWith("/")?a:`/${a}`,i=(e??"")+c;t&&(i=le({path:t,url:i}));let s=r?n(r):"";return s.startsWith("?")&&(s=s.substring(1)),s&&(i+=`?${s}`),i};function q(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return "serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var Q=async(e,t)=>{let r=typeof t=="function"?await t(e):t;if(r)return e.scheme==="bearer"?`Bearer ${r}`:e.scheme==="basic"?`Basic ${btoa(r)}`:r};var J=({parameters:e={},...t}={})=>n=>{let a=[];if(n&&typeof n=="object")for(let c in n){let i=n[c];if(i==null)continue;let s=e[c]||t;if(Array.isArray(i)){let l=G({allowReserved:s.allowReserved,explode:true,name:c,style:"form",value:i,...s.array});l&&a.push(l);}else if(typeof i=="object"){let l=W({allowReserved:s.allowReserved,explode:true,name:c,style:"deepObject",value:i,...s.object});l&&a.push(l);}else {let l=C({allowReserved:s.allowReserved,name:c,value:i});l&&a.push(l);}}return a.join("&")},_=e=>{if(!e)return "stream";let t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return "json";if(t==="multipart/form-data")return "formData";if(["application/","audio/","image/","video/"].some(r=>t.startsWith(r)))return "blob";if(t.startsWith("text/"))return "text"}},ce=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false;async function Y(e){for(let t of e.security??[]){if(ce(e,t.name))continue;let r=await Q(t,e.auth);if(!r)continue;let n=t.name??"Authorization";switch(t.in){case "query":e.query||(e.query={}),e.query[n]=r;break;case "cookie":e.headers.append("Cookie",`${n}=${r}`);break;default:e.headers.set(n,r);break}}}var F=e=>$({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),U=(e,t)=>{let r={...e,...t};return r.baseUrl?.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=I(e.headers,t.headers),r},ue=e=>{let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t},I=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let n=r instanceof Headers?ue(r):Object.entries(r);for(let[a,c]of n)if(c===null)t.delete(a);else if(Array.isArray(c))for(let i of c)t.append(a,i);else c!==void 0&&t.set(a,typeof c=="object"?JSON.stringify(c):c);}return t},D=class{fns=[];clear(){this.fns=[];}eject(t){let r=this.getInterceptorIndex(t);this.fns[r]&&(this.fns[r]=null);}exists(t){let r=this.getInterceptorIndex(t);return !!this.fns[r]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,r){let n=this.getInterceptorIndex(t);return this.fns[n]?(this.fns[n]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new D,request:new D,response:new D}),pe=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),de={"Content-Type":"application/json"},T=(e={})=>({...L,headers:de,parseAs:"auto",querySerializer:pe,...e});var K=(e={})=>{let t=U(T(),e),r=()=>({...t}),n=p=>(t=U(t,p),r()),a=Z(),c=async p=>{let u={...t,...p,fetch:p.fetch??t.fetch??globalThis.fetch,headers:I(t.headers,p.headers),serializedBody:void 0};u.security&&await Y(u),u.requestValidator&&await u.requestValidator(u),u.body!==void 0&&u.bodySerializer&&(u.serializedBody=u.bodySerializer(u.body)),(u.body===void 0||u.serializedBody==="")&&u.headers.delete("Content-Type");let m=u,x=F(m);return {opts:m,url:x}},i=async p=>{let u=p.throwOnError??t.throwOnError,m=p.responseStyle??t.responseStyle,x,E;try{let{opts:d,url:g}=await c(p),y={redirect:"follow",...d,body:q(d)};x=new Request(g,y);for(let A of a.request.fns)A&&(x=await A(x,d));let b=d.fetch;E=await b(x);for(let A of a.response.fns)A&&(E=await A(E,x,d));let P={request:x,response:E};if(E.ok){let A=(d.parseAs==="auto"?_(E.headers.get("Content-Type")):d.parseAs)??"json";if(E.status===204||E.headers.get("Content-Length")==="0"){let f;switch(A){case "arrayBuffer":case "blob":case "text":f=await E[A]();break;case "formData":f=new FormData;break;case "stream":f=E.body;break;default:f={};break}return d.responseStyle==="data"?f:{data:f,...P}}let w;switch(A){case "arrayBuffer":case "blob":case "formData":case "text":w=await E[A]();break;case "json":{let f=await E.text();w=f?JSON.parse(f):{};break}case "stream":return d.responseStyle==="data"?E.body:{data:E.body,...P}}return A==="json"&&(d.responseValidator&&await d.responseValidator(w),d.responseTransformer&&(w=await d.responseTransformer(w))),d.responseStyle==="data"?w:{data:w,...P}}let O=await E.text(),B;try{B=JSON.parse(O);}catch{}throw B??O}catch(d){let g=d;for(let y of a.error.fns)y&&(g=await y(g,E,x,p));if(g=g||{},u)throw g;return m==="data"?void 0:{error:g,request:x,response:E}}},s=p=>u=>i({...u,method:p}),l=p=>async u=>{let{opts:m,url:x}=await c(u);return H({...m,body:m.body,method:p,onRequest:async(E,d)=>{let g=new Request(E,d);for(let y of a.request.fns)y&&(g=await y(g,m));return g},serializedBody:q(m),url:x})};return {buildUrl:p=>F({...t,...p}),connect:s("CONNECT"),delete:s("DELETE"),get:s("GET"),getConfig:r,head:s("HEAD"),interceptors:a,options:s("OPTIONS"),patch:s("PATCH"),post:s("POST"),put:s("PUT"),request:i,setConfig:n,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:s("TRACE")}};var o=K(T({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var Ee=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),Ae=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),xe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),he=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),ye=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),me=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Pe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Oe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),Se=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ce=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),De=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Te=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),be=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),ke=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ge=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),We=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e}),Ie=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),Be=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),qe=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),Ke=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),Me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),ze=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),je=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ne=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),Xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),He=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),$e=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/context",...e}),Qe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),Je=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments",...e}),_e=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ye=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments/{environmentId}",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments/{environmentId}/stop",...e}),et=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches",...e}),tt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}",...e}),ot=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/cancel",...e}),nt=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/pause",...e}),st=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/resume",...e}),it=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions",...e}),at=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),lt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),dt=e=>(e.client??o).post({...v,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),Et=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),gt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),At=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),ft=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),xt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),ht=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),mt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/scheduled-executions",...e}),wt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Rt=e=>(e.client??o).post({...v,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}}),Pt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}});
7
- exports.adminCustomerActivityList=Ee;exports.adminCustomerActivityNotableList=ge;exports.adminCustomerActivityWindowStatsList=Ae;exports.agentByIdDelete=Le;exports.agentByIdUpdate=qe;exports.agentCreate=Ie;exports.agentExecutePost=Fe;exports.agentList=We;exports.agentProfileClearBrowserCache=be;exports.agentProfileDelete=Ce;exports.agentProfileDuplicate=ke;exports.agentProfileGet=De;exports.agentProfileGetInboxEmail=Ge;exports.agentProfileGetInboxEmails=ve;exports.agentProfilePoolDelete=he;exports.agentProfilePoolGet=ye;exports.agentProfilePoolMembersAdd=Pe;exports.agentProfilePoolMembersList=Re;exports.agentProfilePoolMembersRemove=we;exports.agentProfilePoolUpdate=me;exports.agentProfilePoolsCreate=xe;exports.agentProfilePoolsList=fe;exports.agentProfileUpdate=Te;exports.agentProfilesCreate=Se;exports.agentProfilesList=Oe;exports.agentWorkflowsCreate=Ke;exports.agentWorkflowsDeleteWorkflow=Ve;exports.agentWorkflowsExecute=je;exports.agentWorkflowsGet=ze;exports.agentWorkflowsGetInputs=Ne;exports.agentWorkflowsGetOutputSchemas=Xe;exports.agentWorkflowsList=Ue;exports.agentWorkflowsPublish=He;exports.agentWorkflowsValidate=Me;exports.availableToolsList=Be;exports.client=o;exports.contextGet=$e;exports.docsSearchSearch=Qe;exports.environmentByIdGet=Ye;exports.environmentByIdStop=Ze;exports.environmentsList=Je;exports.environmentsStart=_e;exports.executionActivitiesGet=lt;exports.executionAgentFileDownloadRedirect=ut;exports.executionAgentFilesGet=ct;exports.executionBatchCancel=ot;exports.executionBatchGet=rt;exports.executionBatchPause=nt;exports.executionBatchResume=st;exports.executionBatchesCreate=tt;exports.executionBatchesList=et;exports.executionContextFileDownloadRedirect=Et;exports.executionContextFilesGet=pt;exports.executionContextFilesUpload=dt;exports.executionDebugFileDownloadRedirect=gt;exports.executionFileDownloadRedirect=ft;exports.executionFilesGet=At;exports.executionGet=at;exports.executionRecordingRedirect=xt;exports.executionStatusUpdate=ht;exports.executionUserMessagesAdd=yt;exports.executionsList=it;exports.scheduledExecutionsList=mt;exports.schemaValidationValidate=wt;exports.tempFilesStage=Rt;exports.workflowSpecValidationValidate=Pt;
6
+ `);try{S=JSON.parse(R),j=!0;}catch{S=R;}}j&&(a&&await a(S),n&&(S=await n(S))),r?.({data:S,event:z,id:u,retry:d}),k.length&&(yield S);}}}finally{y.removeEventListener("abort",M),w.releaseLock();}break}catch(P){if(t?.(P),i!==void 0&&g>=i)break;let O=Math.min(d*2**(g-1),s??3e4);await m(O);}}}()}}var ne=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},se=e=>{switch(e){case "form":return ",";case "pipeDelimited":return "|";case "spaceDelimited":return "%20";default:return ","}},ie=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},G=({allowReserved:e,explode:t,name:r,style:n,value:a})=>{if(!t){let s=(e?a:a.map(l=>encodeURIComponent(l))).join(se(n));switch(n){case "label":return `.${s}`;case "matrix":return `;${r}=${s}`;case "simple":return s;default:return `${r}=${s}`}}let c=ne(n),i=a.map(s=>n==="label"||n==="simple"?e?s:encodeURIComponent(s):D({allowReserved:e,name:r,value:s})).join(c);return n==="label"||n==="matrix"?c+i:i},D=({allowReserved:e,name:t,value:r})=>{if(r==null)return "";if(typeof r=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return `${t}=${e?r:encodeURIComponent(r)}`},I=({allowReserved:e,explode:t,name:r,style:n,value:a,valueOnly:c})=>{if(a instanceof Date)return c?a.toISOString():`${r}=${a.toISOString()}`;if(n!=="deepObject"&&!t){let l=[];Object.entries(a).forEach(([p,u])=>{l=[...l,p,e?u:encodeURIComponent(u)];});let h=l.join(",");switch(n){case "form":return `${r}=${h}`;case "label":return `.${h}`;case "matrix":return `;${r}=${h}`;default:return h}}let i=ie(n),s=Object.entries(a).map(([l,h])=>D({allowReserved:e,name:n==="deepObject"?`${r}[${l}]`:l,value:h})).join(i);return n==="label"||n==="matrix"?i+s:s};var ae=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,n=t.match(ae);if(n)for(let a of n){let c=false,i=a.substring(1,a.length-1),s="simple";i.endsWith("*")&&(c=true,i=i.substring(0,i.length-1)),i.startsWith(".")?(i=i.substring(1),s="label"):i.startsWith(";")&&(i=i.substring(1),s="matrix");let l=e[i];if(l==null)continue;if(Array.isArray(l)){r=r.replace(a,G({explode:c,name:i,style:s,value:l}));continue}if(typeof l=="object"){r=r.replace(a,I({explode:c,name:i,style:s,value:l,valueOnly:true}));continue}if(s==="matrix"){r=r.replace(a,`;${D({name:i,value:l})}`);continue}let h=encodeURIComponent(s==="label"?`.${l}`:l);r=r.replace(a,h);}return r},$=({baseUrl:e,path:t,query:r,querySerializer:n,url:a})=>{let c=a.startsWith("/")?a:`/${a}`,i=(e??"")+c;t&&(i=le({path:t,url:i}));let s=r?n(r):"";return s.startsWith("?")&&(s=s.substring(1)),s&&(i+=`?${s}`),i};function q(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return "serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var Q=async(e,t)=>{let r=typeof t=="function"?await t(e):t;if(r)return e.scheme==="bearer"?`Bearer ${r}`:e.scheme==="basic"?`Basic ${btoa(r)}`:r};var J=({parameters:e={},...t}={})=>n=>{let a=[];if(n&&typeof n=="object")for(let c in n){let i=n[c];if(i==null)continue;let s=e[c]||t;if(Array.isArray(i)){let l=G({allowReserved:s.allowReserved,explode:true,name:c,style:"form",value:i,...s.array});l&&a.push(l);}else if(typeof i=="object"){let l=I({allowReserved:s.allowReserved,explode:true,name:c,style:"deepObject",value:i,...s.object});l&&a.push(l);}else {let l=D({allowReserved:s.allowReserved,name:c,value:i});l&&a.push(l);}}return a.join("&")},_=e=>{if(!e)return "stream";let t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return "json";if(t==="multipart/form-data")return "formData";if(["application/","audio/","image/","video/"].some(r=>t.startsWith(r)))return "blob";if(t.startsWith("text/"))return "text"}},ce=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false;async function Y(e){for(let t of e.security??[]){if(ce(e,t.name))continue;let r=await Q(t,e.auth);if(!r)continue;let n=t.name??"Authorization";switch(t.in){case "query":e.query||(e.query={}),e.query[n]=r;break;case "cookie":e.headers.append("Cookie",`${n}=${r}`);break;default:e.headers.set(n,r);break}}}var F=e=>$({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),U=(e,t)=>{let r={...e,...t};return r.baseUrl?.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=W(e.headers,t.headers),r},ue=e=>{let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t},W=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let n=r instanceof Headers?ue(r):Object.entries(r);for(let[a,c]of n)if(c===null)t.delete(a);else if(Array.isArray(c))for(let i of c)t.append(a,i);else c!==void 0&&t.set(a,typeof c=="object"?JSON.stringify(c):c);}return t},C=class{fns=[];clear(){this.fns=[];}eject(t){let r=this.getInterceptorIndex(t);this.fns[r]&&(this.fns[r]=null);}exists(t){let r=this.getInterceptorIndex(t);return !!this.fns[r]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,r){let n=this.getInterceptorIndex(t);return this.fns[n]?(this.fns[n]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new C,request:new C,response:new C}),pe=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),de={"Content-Type":"application/json"},T=(e={})=>({...L,headers:de,parseAs:"auto",querySerializer:pe,...e});var K=(e={})=>{let t=U(T(),e),r=()=>({...t}),n=p=>(t=U(t,p),r()),a=Z(),c=async p=>{let u={...t,...p,fetch:p.fetch??t.fetch??globalThis.fetch,headers:W(t.headers,p.headers),serializedBody:void 0};u.security&&await Y(u),u.requestValidator&&await u.requestValidator(u),u.body!==void 0&&u.bodySerializer&&(u.serializedBody=u.bodySerializer(u.body)),(u.body===void 0||u.serializedBody==="")&&u.headers.delete("Content-Type");let m=u,x=F(m);return {opts:m,url:x}},i=async p=>{let u=p.throwOnError??t.throwOnError,m=p.responseStyle??t.responseStyle,x,E;try{let{opts:d,url:g}=await c(p),y={redirect:"follow",...d,body:q(d)};x=new Request(g,y);for(let A of a.request.fns)A&&(x=await A(x,d));let b=d.fetch;E=await b(x);for(let A of a.response.fns)A&&(E=await A(E,x,d));let P={request:x,response:E};if(E.ok){let A=(d.parseAs==="auto"?_(E.headers.get("Content-Type")):d.parseAs)??"json";if(E.status===204||E.headers.get("Content-Length")==="0"){let f;switch(A){case "arrayBuffer":case "blob":case "text":f=await E[A]();break;case "formData":f=new FormData;break;case "stream":f=E.body;break;default:f={};break}return d.responseStyle==="data"?f:{data:f,...P}}let w;switch(A){case "arrayBuffer":case "blob":case "formData":case "text":w=await E[A]();break;case "json":{let f=await E.text();w=f?JSON.parse(f):{};break}case "stream":return d.responseStyle==="data"?E.body:{data:E.body,...P}}return A==="json"&&(d.responseValidator&&await d.responseValidator(w),d.responseTransformer&&(w=await d.responseTransformer(w))),d.responseStyle==="data"?w:{data:w,...P}}let O=await E.text(),B;try{B=JSON.parse(O);}catch{}throw B??O}catch(d){let g=d;for(let y of a.error.fns)y&&(g=await y(g,E,x,p));if(g=g||{},u)throw g;return m==="data"?void 0:{error:g,request:x,response:E}}},s=p=>u=>i({...u,method:p}),l=p=>async u=>{let{opts:m,url:x}=await c(u);return H({...m,body:m.body,method:p,onRequest:async(E,d)=>{let g=new Request(E,d);for(let y of a.request.fns)y&&(g=await y(g,m));return g},serializedBody:q(m),url:x})};return {buildUrl:p=>F({...t,...p}),connect:s("CONNECT"),delete:s("DELETE"),get:s("GET"),getConfig:r,head:s("HEAD"),interceptors:a,options:s("OPTIONS"),patch:s("PATCH"),post:s("POST"),put:s("PUT"),request:i,setConfig:n,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:s("TRACE")}};var o=K(T({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var Ee=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),Ae=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),xe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),he=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),ye=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),me=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Pe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Oe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),Se=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),De=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Te=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),be=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),ke=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ge=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),Ie=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e}),We=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),Be=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),qe=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),Ke=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),Me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),ze=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),je=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ne=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),Xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),He=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),$e=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/context",...e}),Qe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),Je=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments",...e}),_e=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ye=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments/{environmentId}",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments/{environmentId}/stop",...e}),et=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches",...e}),tt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}",...e}),ot=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/cancel",...e}),nt=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/pause",...e}),st=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/resume",...e}),it=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions",...e}),at=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),lt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),dt=e=>(e.client??o).post({...v,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),Et=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),gt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),At=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),ft=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),xt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),ht=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),mt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/scheduled-executions",...e}),wt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Rt=e=>(e.client??o).post({...v,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}}),Pt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}});
7
+ exports.adminCustomerActivityList=Ee;exports.adminCustomerActivityNotableList=ge;exports.adminCustomerActivityWindowStatsList=Ae;exports.agentByIdDelete=Le;exports.agentByIdUpdate=qe;exports.agentCreate=We;exports.agentExecutePost=Fe;exports.agentList=Ie;exports.agentProfileClearBrowserCache=be;exports.agentProfileDelete=De;exports.agentProfileDuplicate=ke;exports.agentProfileGet=Ce;exports.agentProfileGetInboxEmail=Ge;exports.agentProfileGetInboxEmails=ve;exports.agentProfilePoolDelete=he;exports.agentProfilePoolGet=ye;exports.agentProfilePoolMembersAdd=Pe;exports.agentProfilePoolMembersList=Re;exports.agentProfilePoolMembersRemove=we;exports.agentProfilePoolUpdate=me;exports.agentProfilePoolsCreate=xe;exports.agentProfilePoolsList=fe;exports.agentProfileUpdate=Te;exports.agentProfilesCreate=Se;exports.agentProfilesList=Oe;exports.agentWorkflowsCreate=Ke;exports.agentWorkflowsDeleteWorkflow=Ve;exports.agentWorkflowsExecute=je;exports.agentWorkflowsGet=ze;exports.agentWorkflowsGetInputs=Ne;exports.agentWorkflowsGetOutputSchemas=Xe;exports.agentWorkflowsList=Ue;exports.agentWorkflowsPublish=He;exports.agentWorkflowsValidate=Me;exports.availableToolsList=Be;exports.client=o;exports.contextGet=$e;exports.docsSearchSearch=Qe;exports.environmentByIdGet=Ye;exports.environmentByIdStop=Ze;exports.environmentsList=Je;exports.environmentsStart=_e;exports.executionActivitiesGet=lt;exports.executionAgentFileDownloadRedirect=ut;exports.executionAgentFilesGet=ct;exports.executionBatchCancel=ot;exports.executionBatchGet=rt;exports.executionBatchPause=nt;exports.executionBatchResume=st;exports.executionBatchesCreate=tt;exports.executionBatchesList=et;exports.executionContextFileDownloadRedirect=Et;exports.executionContextFilesGet=pt;exports.executionContextFilesUpload=dt;exports.executionDebugFileDownloadRedirect=gt;exports.executionFileDownloadRedirect=ft;exports.executionFilesGet=At;exports.executionGet=at;exports.executionRecordingRedirect=xt;exports.executionStatusUpdate=ht;exports.executionUserMessagesAdd=yt;exports.executionsList=it;exports.scheduledExecutionsList=mt;exports.schemaValidationValidate=wt;exports.tempFilesStage=Rt;exports.workflowSpecValidationValidate=Pt;
package/dist/index.mjs CHANGED
@@ -3,5 +3,5 @@ var X=(e,t,r)=>{typeof r=="string"||r instanceof Blob?e.append(t,r):r instanceof
3
3
 
4
4
  `);f=V.pop()??"";for(let re of V){let oe=re.split(`
5
5
  `),k=[],z;for(let R of oe)if(R.startsWith("data:"))k.push(R.replace(/^data:\s*/,""));else if(R.startsWith("event:"))z=R.replace(/^event:\s*/,"");else if(R.startsWith("id:"))u=R.replace(/^id:\s*/,"");else if(R.startsWith("retry:")){let N=Number.parseInt(R.replace(/^retry:\s*/,""),10);Number.isNaN(N)||(d=N);}let S,j=!1;if(k.length){let R=k.join(`
6
- `);try{S=JSON.parse(R),j=!0;}catch{S=R;}}j&&(a&&await a(S),n&&(S=await n(S))),r?.({data:S,event:z,id:u,retry:d}),k.length&&(yield S);}}}finally{y.removeEventListener("abort",M),w.releaseLock();}break}catch(P){if(t?.(P),i!==void 0&&g>=i)break;let O=Math.min(d*2**(g-1),s??3e4);await m(O);}}}()}}var ne=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},se=e=>{switch(e){case "form":return ",";case "pipeDelimited":return "|";case "spaceDelimited":return "%20";default:return ","}},ie=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},G=({allowReserved:e,explode:t,name:r,style:n,value:a})=>{if(!t){let s=(e?a:a.map(l=>encodeURIComponent(l))).join(se(n));switch(n){case "label":return `.${s}`;case "matrix":return `;${r}=${s}`;case "simple":return s;default:return `${r}=${s}`}}let c=ne(n),i=a.map(s=>n==="label"||n==="simple"?e?s:encodeURIComponent(s):C({allowReserved:e,name:r,value:s})).join(c);return n==="label"||n==="matrix"?c+i:i},C=({allowReserved:e,name:t,value:r})=>{if(r==null)return "";if(typeof r=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return `${t}=${e?r:encodeURIComponent(r)}`},W=({allowReserved:e,explode:t,name:r,style:n,value:a,valueOnly:c})=>{if(a instanceof Date)return c?a.toISOString():`${r}=${a.toISOString()}`;if(n!=="deepObject"&&!t){let l=[];Object.entries(a).forEach(([p,u])=>{l=[...l,p,e?u:encodeURIComponent(u)];});let h=l.join(",");switch(n){case "form":return `${r}=${h}`;case "label":return `.${h}`;case "matrix":return `;${r}=${h}`;default:return h}}let i=ie(n),s=Object.entries(a).map(([l,h])=>C({allowReserved:e,name:n==="deepObject"?`${r}[${l}]`:l,value:h})).join(i);return n==="label"||n==="matrix"?i+s:s};var ae=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,n=t.match(ae);if(n)for(let a of n){let c=false,i=a.substring(1,a.length-1),s="simple";i.endsWith("*")&&(c=true,i=i.substring(0,i.length-1)),i.startsWith(".")?(i=i.substring(1),s="label"):i.startsWith(";")&&(i=i.substring(1),s="matrix");let l=e[i];if(l==null)continue;if(Array.isArray(l)){r=r.replace(a,G({explode:c,name:i,style:s,value:l}));continue}if(typeof l=="object"){r=r.replace(a,W({explode:c,name:i,style:s,value:l,valueOnly:true}));continue}if(s==="matrix"){r=r.replace(a,`;${C({name:i,value:l})}`);continue}let h=encodeURIComponent(s==="label"?`.${l}`:l);r=r.replace(a,h);}return r},$=({baseUrl:e,path:t,query:r,querySerializer:n,url:a})=>{let c=a.startsWith("/")?a:`/${a}`,i=(e??"")+c;t&&(i=le({path:t,url:i}));let s=r?n(r):"";return s.startsWith("?")&&(s=s.substring(1)),s&&(i+=`?${s}`),i};function q(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return "serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var Q=async(e,t)=>{let r=typeof t=="function"?await t(e):t;if(r)return e.scheme==="bearer"?`Bearer ${r}`:e.scheme==="basic"?`Basic ${btoa(r)}`:r};var J=({parameters:e={},...t}={})=>n=>{let a=[];if(n&&typeof n=="object")for(let c in n){let i=n[c];if(i==null)continue;let s=e[c]||t;if(Array.isArray(i)){let l=G({allowReserved:s.allowReserved,explode:true,name:c,style:"form",value:i,...s.array});l&&a.push(l);}else if(typeof i=="object"){let l=W({allowReserved:s.allowReserved,explode:true,name:c,style:"deepObject",value:i,...s.object});l&&a.push(l);}else {let l=C({allowReserved:s.allowReserved,name:c,value:i});l&&a.push(l);}}return a.join("&")},_=e=>{if(!e)return "stream";let t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return "json";if(t==="multipart/form-data")return "formData";if(["application/","audio/","image/","video/"].some(r=>t.startsWith(r)))return "blob";if(t.startsWith("text/"))return "text"}},ce=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false;async function Y(e){for(let t of e.security??[]){if(ce(e,t.name))continue;let r=await Q(t,e.auth);if(!r)continue;let n=t.name??"Authorization";switch(t.in){case "query":e.query||(e.query={}),e.query[n]=r;break;case "cookie":e.headers.append("Cookie",`${n}=${r}`);break;default:e.headers.set(n,r);break}}}var F=e=>$({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),U=(e,t)=>{let r={...e,...t};return r.baseUrl?.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=I(e.headers,t.headers),r},ue=e=>{let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t},I=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let n=r instanceof Headers?ue(r):Object.entries(r);for(let[a,c]of n)if(c===null)t.delete(a);else if(Array.isArray(c))for(let i of c)t.append(a,i);else c!==void 0&&t.set(a,typeof c=="object"?JSON.stringify(c):c);}return t},D=class{fns=[];clear(){this.fns=[];}eject(t){let r=this.getInterceptorIndex(t);this.fns[r]&&(this.fns[r]=null);}exists(t){let r=this.getInterceptorIndex(t);return !!this.fns[r]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,r){let n=this.getInterceptorIndex(t);return this.fns[n]?(this.fns[n]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new D,request:new D,response:new D}),pe=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),de={"Content-Type":"application/json"},T=(e={})=>({...L,headers:de,parseAs:"auto",querySerializer:pe,...e});var K=(e={})=>{let t=U(T(),e),r=()=>({...t}),n=p=>(t=U(t,p),r()),a=Z(),c=async p=>{let u={...t,...p,fetch:p.fetch??t.fetch??globalThis.fetch,headers:I(t.headers,p.headers),serializedBody:void 0};u.security&&await Y(u),u.requestValidator&&await u.requestValidator(u),u.body!==void 0&&u.bodySerializer&&(u.serializedBody=u.bodySerializer(u.body)),(u.body===void 0||u.serializedBody==="")&&u.headers.delete("Content-Type");let m=u,x=F(m);return {opts:m,url:x}},i=async p=>{let u=p.throwOnError??t.throwOnError,m=p.responseStyle??t.responseStyle,x,E;try{let{opts:d,url:g}=await c(p),y={redirect:"follow",...d,body:q(d)};x=new Request(g,y);for(let A of a.request.fns)A&&(x=await A(x,d));let b=d.fetch;E=await b(x);for(let A of a.response.fns)A&&(E=await A(E,x,d));let P={request:x,response:E};if(E.ok){let A=(d.parseAs==="auto"?_(E.headers.get("Content-Type")):d.parseAs)??"json";if(E.status===204||E.headers.get("Content-Length")==="0"){let f;switch(A){case "arrayBuffer":case "blob":case "text":f=await E[A]();break;case "formData":f=new FormData;break;case "stream":f=E.body;break;default:f={};break}return d.responseStyle==="data"?f:{data:f,...P}}let w;switch(A){case "arrayBuffer":case "blob":case "formData":case "text":w=await E[A]();break;case "json":{let f=await E.text();w=f?JSON.parse(f):{};break}case "stream":return d.responseStyle==="data"?E.body:{data:E.body,...P}}return A==="json"&&(d.responseValidator&&await d.responseValidator(w),d.responseTransformer&&(w=await d.responseTransformer(w))),d.responseStyle==="data"?w:{data:w,...P}}let O=await E.text(),B;try{B=JSON.parse(O);}catch{}throw B??O}catch(d){let g=d;for(let y of a.error.fns)y&&(g=await y(g,E,x,p));if(g=g||{},u)throw g;return m==="data"?void 0:{error:g,request:x,response:E}}},s=p=>u=>i({...u,method:p}),l=p=>async u=>{let{opts:m,url:x}=await c(u);return H({...m,body:m.body,method:p,onRequest:async(E,d)=>{let g=new Request(E,d);for(let y of a.request.fns)y&&(g=await y(g,m));return g},serializedBody:q(m),url:x})};return {buildUrl:p=>F({...t,...p}),connect:s("CONNECT"),delete:s("DELETE"),get:s("GET"),getConfig:r,head:s("HEAD"),interceptors:a,options:s("OPTIONS"),patch:s("PATCH"),post:s("POST"),put:s("PUT"),request:i,setConfig:n,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:s("TRACE")}};var o=K(T({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var Ee=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),Ae=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),xe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),he=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),ye=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),me=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Pe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Oe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),Se=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ce=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),De=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Te=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),be=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),ke=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ge=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),We=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e}),Ie=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),Be=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),qe=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),Ke=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),Me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),ze=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),je=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ne=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),Xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),He=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),$e=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/context",...e}),Qe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),Je=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments",...e}),_e=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ye=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments/{environmentId}",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments/{environmentId}/stop",...e}),et=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches",...e}),tt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}",...e}),ot=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/cancel",...e}),nt=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/pause",...e}),st=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/resume",...e}),it=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions",...e}),at=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),lt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),dt=e=>(e.client??o).post({...v,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),Et=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),gt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),At=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),ft=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),xt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),ht=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),mt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/scheduled-executions",...e}),wt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Rt=e=>(e.client??o).post({...v,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}}),Pt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}});
7
- export{Ee as adminCustomerActivityList,ge as adminCustomerActivityNotableList,Ae as adminCustomerActivityWindowStatsList,Le as agentByIdDelete,qe as agentByIdUpdate,Ie as agentCreate,Fe as agentExecutePost,We as agentList,be as agentProfileClearBrowserCache,Ce as agentProfileDelete,ke as agentProfileDuplicate,De as agentProfileGet,Ge as agentProfileGetInboxEmail,ve as agentProfileGetInboxEmails,he as agentProfilePoolDelete,ye as agentProfilePoolGet,Pe as agentProfilePoolMembersAdd,Re as agentProfilePoolMembersList,we as agentProfilePoolMembersRemove,me as agentProfilePoolUpdate,xe as agentProfilePoolsCreate,fe as agentProfilePoolsList,Te as agentProfileUpdate,Se as agentProfilesCreate,Oe as agentProfilesList,Ke as agentWorkflowsCreate,Ve as agentWorkflowsDeleteWorkflow,je as agentWorkflowsExecute,ze as agentWorkflowsGet,Ne as agentWorkflowsGetInputs,Xe as agentWorkflowsGetOutputSchemas,Ue as agentWorkflowsList,He as agentWorkflowsPublish,Me as agentWorkflowsValidate,Be as availableToolsList,o as client,$e as contextGet,Qe as docsSearchSearch,Ye as environmentByIdGet,Ze as environmentByIdStop,Je as environmentsList,_e as environmentsStart,lt as executionActivitiesGet,ut as executionAgentFileDownloadRedirect,ct as executionAgentFilesGet,ot as executionBatchCancel,rt as executionBatchGet,nt as executionBatchPause,st as executionBatchResume,tt as executionBatchesCreate,et as executionBatchesList,Et as executionContextFileDownloadRedirect,pt as executionContextFilesGet,dt as executionContextFilesUpload,gt as executionDebugFileDownloadRedirect,ft as executionFileDownloadRedirect,At as executionFilesGet,at as executionGet,xt as executionRecordingRedirect,ht as executionStatusUpdate,yt as executionUserMessagesAdd,it as executionsList,mt as scheduledExecutionsList,wt as schemaValidationValidate,Rt as tempFilesStage,Pt as workflowSpecValidationValidate};
6
+ `);try{S=JSON.parse(R),j=!0;}catch{S=R;}}j&&(a&&await a(S),n&&(S=await n(S))),r?.({data:S,event:z,id:u,retry:d}),k.length&&(yield S);}}}finally{y.removeEventListener("abort",M),w.releaseLock();}break}catch(P){if(t?.(P),i!==void 0&&g>=i)break;let O=Math.min(d*2**(g-1),s??3e4);await m(O);}}}()}}var ne=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},se=e=>{switch(e){case "form":return ",";case "pipeDelimited":return "|";case "spaceDelimited":return "%20";default:return ","}},ie=e=>{switch(e){case "label":return ".";case "matrix":return ";";case "simple":return ",";default:return "&"}},G=({allowReserved:e,explode:t,name:r,style:n,value:a})=>{if(!t){let s=(e?a:a.map(l=>encodeURIComponent(l))).join(se(n));switch(n){case "label":return `.${s}`;case "matrix":return `;${r}=${s}`;case "simple":return s;default:return `${r}=${s}`}}let c=ne(n),i=a.map(s=>n==="label"||n==="simple"?e?s:encodeURIComponent(s):D({allowReserved:e,name:r,value:s})).join(c);return n==="label"||n==="matrix"?c+i:i},D=({allowReserved:e,name:t,value:r})=>{if(r==null)return "";if(typeof r=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return `${t}=${e?r:encodeURIComponent(r)}`},I=({allowReserved:e,explode:t,name:r,style:n,value:a,valueOnly:c})=>{if(a instanceof Date)return c?a.toISOString():`${r}=${a.toISOString()}`;if(n!=="deepObject"&&!t){let l=[];Object.entries(a).forEach(([p,u])=>{l=[...l,p,e?u:encodeURIComponent(u)];});let h=l.join(",");switch(n){case "form":return `${r}=${h}`;case "label":return `.${h}`;case "matrix":return `;${r}=${h}`;default:return h}}let i=ie(n),s=Object.entries(a).map(([l,h])=>D({allowReserved:e,name:n==="deepObject"?`${r}[${l}]`:l,value:h})).join(i);return n==="label"||n==="matrix"?i+s:s};var ae=/\{[^{}]+\}/g,le=({path:e,url:t})=>{let r=t,n=t.match(ae);if(n)for(let a of n){let c=false,i=a.substring(1,a.length-1),s="simple";i.endsWith("*")&&(c=true,i=i.substring(0,i.length-1)),i.startsWith(".")?(i=i.substring(1),s="label"):i.startsWith(";")&&(i=i.substring(1),s="matrix");let l=e[i];if(l==null)continue;if(Array.isArray(l)){r=r.replace(a,G({explode:c,name:i,style:s,value:l}));continue}if(typeof l=="object"){r=r.replace(a,I({explode:c,name:i,style:s,value:l,valueOnly:true}));continue}if(s==="matrix"){r=r.replace(a,`;${D({name:i,value:l})}`);continue}let h=encodeURIComponent(s==="label"?`.${l}`:l);r=r.replace(a,h);}return r},$=({baseUrl:e,path:t,query:r,querySerializer:n,url:a})=>{let c=a.startsWith("/")?a:`/${a}`,i=(e??"")+c;t&&(i=le({path:t,url:i}));let s=r?n(r):"";return s.startsWith("?")&&(s=s.substring(1)),s&&(i+=`?${s}`),i};function q(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return "serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var Q=async(e,t)=>{let r=typeof t=="function"?await t(e):t;if(r)return e.scheme==="bearer"?`Bearer ${r}`:e.scheme==="basic"?`Basic ${btoa(r)}`:r};var J=({parameters:e={},...t}={})=>n=>{let a=[];if(n&&typeof n=="object")for(let c in n){let i=n[c];if(i==null)continue;let s=e[c]||t;if(Array.isArray(i)){let l=G({allowReserved:s.allowReserved,explode:true,name:c,style:"form",value:i,...s.array});l&&a.push(l);}else if(typeof i=="object"){let l=I({allowReserved:s.allowReserved,explode:true,name:c,style:"deepObject",value:i,...s.object});l&&a.push(l);}else {let l=D({allowReserved:s.allowReserved,name:c,value:i});l&&a.push(l);}}return a.join("&")},_=e=>{if(!e)return "stream";let t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return "json";if(t==="multipart/form-data")return "formData";if(["application/","audio/","image/","video/"].some(r=>t.startsWith(r)))return "blob";if(t.startsWith("text/"))return "text"}},ce=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):false;async function Y(e){for(let t of e.security??[]){if(ce(e,t.name))continue;let r=await Q(t,e.auth);if(!r)continue;let n=t.name??"Authorization";switch(t.in){case "query":e.query||(e.query={}),e.query[n]=r;break;case "cookie":e.headers.append("Cookie",`${n}=${r}`);break;default:e.headers.set(n,r);break}}}var F=e=>$({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:J(e.querySerializer),url:e.url}),U=(e,t)=>{let r={...e,...t};return r.baseUrl?.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=W(e.headers,t.headers),r},ue=e=>{let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t},W=(...e)=>{let t=new Headers;for(let r of e){if(!r)continue;let n=r instanceof Headers?ue(r):Object.entries(r);for(let[a,c]of n)if(c===null)t.delete(a);else if(Array.isArray(c))for(let i of c)t.append(a,i);else c!==void 0&&t.set(a,typeof c=="object"?JSON.stringify(c):c);}return t},C=class{fns=[];clear(){this.fns=[];}eject(t){let r=this.getInterceptorIndex(t);this.fns[r]&&(this.fns[r]=null);}exists(t){let r=this.getInterceptorIndex(t);return !!this.fns[r]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,r){let n=this.getInterceptorIndex(t);return this.fns[n]?(this.fns[n]=r,t):false}use(t){return this.fns.push(t),this.fns.length-1}},Z=()=>({error:new C,request:new C,response:new C}),pe=J({allowReserved:false,array:{explode:true,style:"form"},object:{explode:true,style:"deepObject"}}),de={"Content-Type":"application/json"},T=(e={})=>({...L,headers:de,parseAs:"auto",querySerializer:pe,...e});var K=(e={})=>{let t=U(T(),e),r=()=>({...t}),n=p=>(t=U(t,p),r()),a=Z(),c=async p=>{let u={...t,...p,fetch:p.fetch??t.fetch??globalThis.fetch,headers:W(t.headers,p.headers),serializedBody:void 0};u.security&&await Y(u),u.requestValidator&&await u.requestValidator(u),u.body!==void 0&&u.bodySerializer&&(u.serializedBody=u.bodySerializer(u.body)),(u.body===void 0||u.serializedBody==="")&&u.headers.delete("Content-Type");let m=u,x=F(m);return {opts:m,url:x}},i=async p=>{let u=p.throwOnError??t.throwOnError,m=p.responseStyle??t.responseStyle,x,E;try{let{opts:d,url:g}=await c(p),y={redirect:"follow",...d,body:q(d)};x=new Request(g,y);for(let A of a.request.fns)A&&(x=await A(x,d));let b=d.fetch;E=await b(x);for(let A of a.response.fns)A&&(E=await A(E,x,d));let P={request:x,response:E};if(E.ok){let A=(d.parseAs==="auto"?_(E.headers.get("Content-Type")):d.parseAs)??"json";if(E.status===204||E.headers.get("Content-Length")==="0"){let f;switch(A){case "arrayBuffer":case "blob":case "text":f=await E[A]();break;case "formData":f=new FormData;break;case "stream":f=E.body;break;default:f={};break}return d.responseStyle==="data"?f:{data:f,...P}}let w;switch(A){case "arrayBuffer":case "blob":case "formData":case "text":w=await E[A]();break;case "json":{let f=await E.text();w=f?JSON.parse(f):{};break}case "stream":return d.responseStyle==="data"?E.body:{data:E.body,...P}}return A==="json"&&(d.responseValidator&&await d.responseValidator(w),d.responseTransformer&&(w=await d.responseTransformer(w))),d.responseStyle==="data"?w:{data:w,...P}}let O=await E.text(),B;try{B=JSON.parse(O);}catch{}throw B??O}catch(d){let g=d;for(let y of a.error.fns)y&&(g=await y(g,E,x,p));if(g=g||{},u)throw g;return m==="data"?void 0:{error:g,request:x,response:E}}},s=p=>u=>i({...u,method:p}),l=p=>async u=>{let{opts:m,url:x}=await c(u);return H({...m,body:m.body,method:p,onRequest:async(E,d)=>{let g=new Request(E,d);for(let y of a.request.fns)y&&(g=await y(g,m));return g},serializedBody:q(m),url:x})};return {buildUrl:p=>F({...t,...p}),connect:s("CONNECT"),delete:s("DELETE"),get:s("GET"),getConfig:r,head:s("HEAD"),interceptors:a,options:s("OPTIONS"),patch:s("PATCH"),post:s("POST"),put:s("PUT"),request:i,setConfig:n,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:s("TRACE")}};var o=K(T({baseUrl:"https://odyssey.asteroid.ai/agents/v2"}));var Ee=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity",...e}),ge=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/notable",...e}),Ae=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/admin/customer-activity/window-stats",...e}),fe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e}),xe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools",...e,headers:{"Content-Type":"application/json",...e.headers}}),he=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),ye=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e}),me=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),we=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e}),Pe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profile-pools/{poolId}/members",...e,headers:{"Content-Type":"application/json",...e.headers}}),Oe=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e}),Se=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles",...e,headers:{"Content-Type":"application/json",...e.headers}}),De=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Ce=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e}),Te=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),be=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/clear-browser-cache",...e}),ke=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/duplicate",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails",...e}),Ge=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agent-profiles/{profileId}/inbox-emails/{emailId}",...e}),Ie=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e}),We=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents",...e,headers:{"Content-Type":"application/json",...e.headers}}),Be=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/available-tools",...e}),Le=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e}),qe=e=>(e.client??o).patch({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e}),Ke=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows",...e,headers:{"Content-Type":"application/json",...e.headers}}),Me=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??o).delete({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),ze=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}",...e}),je=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/execute",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ne=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/inputs",...e}),Xe=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/output-schemas",...e}),He=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/agents/{agentId}/workflows/{workflowId}/publish",...e}),$e=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/context",...e}),Qe=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/docs/search",...e,headers:{"Content-Type":"application/json",...e.headers}}),Je=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments",...e}),_e=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ye=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments/{environmentId}",...e}),Ze=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/environments/{environmentId}/stop",...e}),et=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches",...e}),tt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}",...e}),ot=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/cancel",...e}),nt=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/pause",...e}),st=e=>(e.client??o).put({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/execution-batches/{batchId}/resume",...e}),it=e=>(e?.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions",...e}),at=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}",...e}),lt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/activities",...e}),ct=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files",...e}),ut=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/agent-files/{fileId}/download",...e}),pt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e}),dt=e=>(e.client??o).post({...v,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files",...e,headers:{"Content-Type":null,...e.headers}}),Et=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/context-files/{fileId}/download",...e}),gt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/debug-files/{fileId}/download",...e}),At=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files",...e}),ft=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/files/{fileId}/download",...e}),xt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/recording",...e}),ht=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/status",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/executions/{executionId}/user-messages",...e,headers:{"Content-Type":"application/json",...e.headers}}),mt=e=>(e.client??o).get({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/scheduled-executions",...e}),wt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/schema/validate",...e,headers:{"Content-Type":"application/json",...e.headers}}),Rt=e=>(e.client??o).post({...v,security:[{name:"X-Api-Key",type:"apiKey"}],url:"/temp-files/{organizationId}",...e,headers:{"Content-Type":null,...e.headers}}),Pt=e=>(e.client??o).post({security:[{name:"X-Api-Key",type:"apiKey"}],url:"/workflows/validate",...e,headers:{"Content-Type":"application/json",...e.headers}});
7
+ export{Ee as adminCustomerActivityList,ge as adminCustomerActivityNotableList,Ae as adminCustomerActivityWindowStatsList,Le as agentByIdDelete,qe as agentByIdUpdate,We as agentCreate,Fe as agentExecutePost,Ie as agentList,be as agentProfileClearBrowserCache,De as agentProfileDelete,ke as agentProfileDuplicate,Ce as agentProfileGet,Ge as agentProfileGetInboxEmail,ve as agentProfileGetInboxEmails,he as agentProfilePoolDelete,ye as agentProfilePoolGet,Pe as agentProfilePoolMembersAdd,Re as agentProfilePoolMembersList,we as agentProfilePoolMembersRemove,me as agentProfilePoolUpdate,xe as agentProfilePoolsCreate,fe as agentProfilePoolsList,Te as agentProfileUpdate,Se as agentProfilesCreate,Oe as agentProfilesList,Ke as agentWorkflowsCreate,Ve as agentWorkflowsDeleteWorkflow,je as agentWorkflowsExecute,ze as agentWorkflowsGet,Ne as agentWorkflowsGetInputs,Xe as agentWorkflowsGetOutputSchemas,Ue as agentWorkflowsList,He as agentWorkflowsPublish,Me as agentWorkflowsValidate,Be as availableToolsList,o as client,$e as contextGet,Qe as docsSearchSearch,Ye as environmentByIdGet,Ze as environmentByIdStop,Je as environmentsList,_e as environmentsStart,lt as executionActivitiesGet,ut as executionAgentFileDownloadRedirect,ct as executionAgentFilesGet,ot as executionBatchCancel,rt as executionBatchGet,nt as executionBatchPause,st as executionBatchResume,tt as executionBatchesCreate,et as executionBatchesList,Et as executionContextFileDownloadRedirect,pt as executionContextFilesGet,dt as executionContextFilesUpload,gt as executionDebugFileDownloadRedirect,ft as executionFileDownloadRedirect,At as executionFilesGet,at as executionGet,xt as executionRecordingRedirect,ht as executionStatusUpdate,yt as executionUserMessagesAdd,it as executionsList,mt as scheduledExecutionsList,wt as schemaValidationValidate,Rt as tempFilesStage,Pt as workflowSpecValidationValidate};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.7.394",
3
+ "version": "1.7.397",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",