@sixb/client 0.1.23 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/README.md +1 -1
  2. package/dist/agent-streams.d.ts +9 -2
  3. package/dist/agent-streams.d.ts.map +1 -1
  4. package/dist/browser.js +2 -2
  5. package/dist/browser.js.map +1 -1
  6. package/dist/{chunk-263m4e9p.js → chunk-1wdszw1c.js} +19 -13
  7. package/dist/{chunk-263m4e9p.js.map → chunk-1wdszw1c.js.map} +5 -5
  8. package/dist/{chunk-59f4fbnk.js → chunk-2qsekqcn.js} +108 -51
  9. package/dist/chunk-2qsekqcn.js.map +19 -0
  10. package/dist/{chunk-k2j71x7a.js → chunk-fnd56xxz.js} +2 -2
  11. package/dist/{chunk-k2j71x7a.js.map → chunk-fnd56xxz.js.map} +1 -1
  12. package/dist/chunk-j9t5h44d.js.map +1 -1
  13. package/dist/{chunk-9gz30dxy.js → chunk-mk0w4zr1.js} +1 -1
  14. package/dist/{chunk-9gz30dxy.js.map → chunk-mk0w4zr1.js.map} +1 -1
  15. package/dist/{chunk-tttfv49k.js → chunk-s2pagg09.js} +52 -4
  16. package/dist/chunk-s2pagg09.js.map +11 -0
  17. package/dist/{chunk-1v736aje.js → chunk-sh0f609h.js} +1 -1
  18. package/dist/connectors/queries.d.ts.map +1 -1
  19. package/dist/generated/@tanstack/react-query.gen.d.ts +2443 -96
  20. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  21. package/dist/generated/index.d.ts +2 -2
  22. package/dist/generated/index.d.ts.map +1 -1
  23. package/dist/generated/sdk.gen.d.ts +48 -16
  24. package/dist/generated/sdk.gen.d.ts.map +1 -1
  25. package/dist/generated/types.gen.d.ts +1233 -268
  26. package/dist/generated/types.gen.d.ts.map +1 -1
  27. package/dist/hooks.d.ts +3 -1
  28. package/dist/hooks.d.ts.map +1 -1
  29. package/dist/hooks.js +359 -77
  30. package/dist/hooks.js.map +9 -7
  31. package/dist/index.js +23 -15
  32. package/dist/index.js.map +1 -1
  33. package/dist/logs.js +3 -3
  34. package/dist/models.js +19 -11
  35. package/dist/models.js.map +1 -1
  36. package/dist/object-query-live-updates.d.ts +34 -0
  37. package/dist/object-query-live-updates.d.ts.map +1 -0
  38. package/dist/object-query-reads.d.ts +8 -0
  39. package/dist/object-query-reads.d.ts.map +1 -0
  40. package/dist/query.d.ts.map +1 -1
  41. package/dist/query.js +3 -3
  42. package/dist/useAgentActivityStream.d.ts +4 -1
  43. package/dist/useAgentActivityStream.d.ts.map +1 -1
  44. package/dist/useDesktop.d.ts +22 -0
  45. package/dist/useDesktop.d.ts.map +1 -0
  46. package/dist/users-hooks.d.ts +9 -5
  47. package/dist/users-hooks.d.ts.map +1 -1
  48. package/package.json +2 -2
  49. package/src/agent-streams.ts +16 -2
  50. package/src/generated/@tanstack/react-query.gen.ts +241 -106
  51. package/src/generated/index.ts +47 -24
  52. package/src/generated/sdk.gen.ts +222 -85
  53. package/src/generated/types.gen.ts +1394 -245
  54. package/src/hooks.ts +6 -0
  55. package/src/object-query-live-updates.ts +276 -0
  56. package/src/object-query-reads.ts +72 -0
  57. package/src/query.ts +5 -0
  58. package/src/useAgentActivityStream.ts +11 -0
  59. package/src/useDesktop.ts +50 -0
  60. package/src/users-hooks.ts +36 -5
  61. package/dist/chunk-59f4fbnk.js.map +0 -19
  62. package/dist/chunk-tttfv49k.js.map +0 -10
  63. /package/dist/{chunk-1v736aje.js.map → chunk-sh0f609h.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { type DefaultError, type InfiniteData, type UseMutationOptions } from "@tanstack/react-query";
2
2
  import { type Options } from "../sdk.gen";
3
- import type { AbortFileUploadData, AbortFileUploadError, AbortFileUploadResponse, AddAgentThreadParticipantsData, AddAgentThreadParticipantsError, AddAgentThreadParticipantsResponse, AddConnectorConnectionData, AddConnectorConnectionError, AddConnectorConnectionResponse, AppendTelemetryData, AppendTelemetryError, AppendTelemetryResponse, CancelAgentRunByIdData, CancelAgentRunByIdError, CancelAgentRunByIdResponse, CancelAgentRunData, CancelAgentRunError, CancelAgentRunResponse, CancelWorkflowInterventionData, CancelWorkflowInterventionError, CancelWorkflowInterventionResponse, CancelWorkflowRunData, CancelWorkflowRunError, CancelWorkflowRunResponse, CaptureActivityData, CaptureActivityError, CaptureActivityResponse, ClearArtifactStateData, ClearArtifactStateError, ClearArtifactStateResponse, CompleteFileUploadData, CompleteFileUploadError, CompleteFileUploadResponse, CountObjectsData, CountObjectsError, CountObjectsResponse, CreateAgentThreadData, CreateAgentThreadError, CreateAgentThreadResponse, CreateAiLimitPolicyData, CreateAiLimitPolicyError, CreateAiLimitPolicyResponse, CreateArtifactData, CreateArtifactError, CreateArtifactFrameData, CreateArtifactFrameError, CreateArtifactFrameResponse, CreateArtifactResponse, CreateAuthInvitationData, CreateAuthInvitationError, CreateAuthInvitationResponse, CreateAuthPersonalAccessTokenData, CreateAuthPersonalAccessTokenError, CreateAuthPersonalAccessTokenResponse, CreateAuthServiceAccountAccessTokenData, CreateAuthServiceAccountAccessTokenError, CreateAuthServiceAccountAccessTokenResponse, CreateAuthServiceAccountData, CreateAuthServiceAccountError, CreateAuthServiceAccountResponse, CreateDeviceAuthorizationData, CreateDeviceAuthorizationError, CreateDeviceAuthorizationResponse, CreateFileUploadData, CreateFileUploadError, CreateFileUploadResponse, DecideAgentApprovalData, DecideAgentApprovalError, DecideAgentApprovalResponse, DeleteAgentMemoryData, DeleteAgentMemoryError, DeleteAgentMemoryResponse, DeleteAiLimitPolicyData, DeleteAiLimitPolicyError, DeleteAiLimitPolicyResponse, DeleteArtifactData, DeleteArtifactError, DeleteArtifactResponse, DeleteArtifactStateValueData, DeleteArtifactStateValueError, DeleteArtifactStateValueResponse, DisableAuthServiceAccountData, DisableAuthServiceAccountError, DisableAuthServiceAccountResponse, DisconnectConnectorConnectionData, DisconnectConnectorConnectionError, DisconnectConnectorConnectionResponse, ExchangeDeviceAuthorizationData, ExchangeDeviceAuthorizationResponse, ExchangeSharedAccessData, ExchangeSharedAccessError, ExchangeSharedAccessResponse, ExistsObjectsData, ExistsObjectsError, ExistsObjectsResponse, FacetObjectsData, FacetObjectsError, FacetObjectsResponse, ForkAgentThreadData, ForkAgentThreadError, ForkAgentThreadResponse, GenerateImagesData, GenerateImagesError, GenerateImagesResponse, GenerateSpeechData, GenerateSpeechError, GenerateSpeechResponse, GenerateTextData, GenerateTextError, GenerateTextResponse, GetActionData, GetActionRunData, GetActionRunError, GetActionRunFileContentData, GetActionRunFileContentResponse, GetActivityCalendarData, GetActivityCalendarError, GetActivityCaptureConfigData, GetActivityCaptureConfigError, GetActivitySummaryData, GetActivitySummaryError, GetActivityVisitTimelineData, GetActivityVisitTimelineError, GetAgentChildFileContentData, GetAgentChildFileContentResponse, GetAgentData, GetAgentMemoryData, GetAgentMemoryError, GetAgentMessageFileContentData, GetAgentMessageFileContentResponse, GetAgentPreferencesData, GetAgentPreferencesError, GetAgentRunData, GetAgentRunError, GetAgentThreadData, GetAgentThreadError, GetAiAccountingOverviewData, GetAiAccountingOverviewError, GetAiLimitStatusData, GetAiLimitStatusError, GetAiLimitSubjectOptionsData, GetAiLimitSubjectOptionsError, GetAiModelCallFileContentData, GetAiModelCallFileContentResponse, GetAiModelCallFilesData, GetArtifactData, GetArtifactError, GetArtifactFileContentData, GetArtifactFileContentResponse, GetArtifactQueryData, GetArtifactQueryError, GetArtifactStateData, GetArtifactStateError, GetArtifactVersionData, GetArtifactVersionError, GetAuthAccessManagementOptionsData, GetAuthAccessManagementOptionsError, GetAuthInvitationOptionsData, GetAuthInvitationOptionsError, GetAuthMembershipOptionsData, GetAuthMembershipOptionsError, GetAuthProfileData, GetAuthProfileError, GetAuthSessionData, GetBulkTelemetryHistoryData, GetBulkTelemetryHistoryError, GetBulkTelemetryHistoryResponse, GetConnectorConnectionRunData, GetConnectorConnectionRunError, GetConnectorData, GetDatasetData, GetDatasetError, GetDatasetVersionData, GetDatasetVersionError, GetLatestTelemetryData, GetLatestTelemetryError, GetObjectByUniquePropertyData, GetObjectByUniquePropertyError, GetObjectByUniquePropertyResponse, GetObjectData, GetObjectFileContentData, GetObjectFileContentResponse, GetObjectTypeData, GetObservedAgentChildFileContentData, GetObservedAgentChildFileContentResponse, GetObservedAgentMessageFileContentData, GetObservedAgentMessageFileContentResponse, GetObservedAgentThreadData, GetObservedAgentThreadError, GetPipelineData, GetPipelineRunData, GetPipelineRunError, GetProjectInfoData, GetProjectionData, GetProjectionRunData, GetProjectionRunError, GetRuleData, GetSharedAccessSessionData, GetSharedAccessSessionError, GetStatusData, GetSyncData, GetTelemetryHistoryData, GetTelemetryHistoryError, GetUserData, GetUserError, GetWorkflowAgentNodeExecutionData, GetWorkflowAgentNodeExecutionError, GetWorkflowData, GetWorkflowInterventionData, GetWorkflowInterventionError, GetWorkflowNodeRunFileContentData, GetWorkflowNodeRunFileContentResponse, GetWorkflowRunData, GetWorkflowRunError, GetWorkflowRunFileContentData, GetWorkflowRunFileContentResponse, IssueSharedAccessGrantData, IssueSharedAccessGrantError, IssueSharedAccessGrantResponse, ListActionRunsData, ListActionRunsError, ListActionsData, ListActivityConnectionsData, ListActivityConnectionsError, ListActivityUsersData, ListActivityUsersError, ListActivityVisitsData, ListActivityVisitsError, ListAgentApprovalsData, ListAgentApprovalsError, ListAgentMemoryRevisionsData, ListAgentMemoryRevisionsError, ListAgentThreadApprovalsData, ListAgentThreadApprovalsError, ListAgentThreadChildrenData, ListAgentThreadChildrenError, ListAgentThreadMessagesData, ListAgentThreadMessagesError, ListAgentThreadRunsData, ListAgentThreadRunsError, ListAgentThreadsData, ListAgentThreadsError, ListAiLimitPoliciesData, ListAiLimitPoliciesError, ListAiModelCallGroupsData, ListAiModelCallGroupsError, ListAiModelCallsData, ListAiModelCallsError, ListArtifactsData, ListArtifactsError, ListAuthAccessTokensData, ListAuthAccessTokensError, ListAuthInvitationsData, ListAuthInvitationsError, ListAuthMembersData, ListAuthMembersError, ListAuthServiceAccountAccessTokensData, ListAuthServiceAccountAccessTokensError, ListAuthServiceAccountsData, ListAuthServiceAccountsError, ListAuthSessionsData, ListConnectorConnectionsData, ListConnectorConnectionsError, ListConnectorsData, ListDatasetRowsData, ListDatasetRowsError, ListDatasetsData, ListDatasetVersionsData, ListDatasetVersionsError, ListEventsData, ListEventsError, ListLogsData, ListLogsError, ListModelsData, ListObjectsData, ListObjectsError, ListObjectTypesData, ListObservedAgentThreadChildrenData, ListObservedAgentThreadChildrenError, ListObservedAgentThreadMessagesData, ListObservedAgentThreadMessagesError, ListObservedAgentThreadRunsData, ListObservedAgentThreadRunsError, ListPendingConnectorConnectionRunsData, ListPendingConnectorConnectionRunsError, ListPipelineRunsData, ListPipelineRunsError, ListPipelinesData, ListProjectionRunsData, ListProjectionRunsError, ListProjectionsData, ListRuleStatesData, ListRuleStatesError, ListRulesData, ListSharedAccessGrantsData, ListSharedAccessGrantsError, ListSyncRunsData, ListSyncRunsError, ListSyncsData, ListUsersData, ListUsersError, ListWebhookRunsData, ListWebhookRunsError, ListWorkflowInterventionsData, ListWorkflowInterventionsError, ListWorkflowRunsData, ListWorkflowRunsError, ListWorkflowsData, PostAgentThreadMessageData, PostAgentThreadMessageError, PostAgentThreadMessageResponse, PublishArtifactVersionData, PublishArtifactVersionError, PublishArtifactVersionResponse, QueryObjectLinksData, QueryObjectLinksError, QueryObjectLinksResponse, QueryObjectsData, QueryObjectsError, QueryObjectsResponse, ReactivateAuthMemberData, ReactivateAuthMemberError, ReactivateAuthMemberResponse, ReauthorizeConnectorConnectionData, ReauthorizeConnectorConnectionError, ReauthorizeConnectorConnectionResponse, RecreateAgentThreadSandboxData, RecreateAgentThreadSandboxError, RecreateAgentThreadSandboxResponse, RefreshAuthSessionData, RefreshAuthSessionError, RefreshAuthSessionResponse, RemoveAgentThreadParticipantData, RemoveAgentThreadParticipantError, RemoveObjectLinkData, RemoveObjectLinkError, RemoveObjectLinkResponse, RequestActionData, RequestActionError, RequestActionResponse, RequestPipelineRunData, RequestPipelineRunError, RequestPipelineRunResponse, RequestSyncRunData, RequestSyncRunError, RequestSyncRunResponse, RequestWorkflowRunData, RequestWorkflowRunError, RequestWorkflowRunResponse, RetryAgentRunData, RetryAgentRunError, RetryAgentRunResponse, RevokeAuthAccessTokenData, RevokeAuthAccessTokenError, RevokeAuthAccessTokenResponse, RevokeAuthInvitationData, RevokeAuthInvitationError, RevokeAuthInvitationResponse, RevokeAuthServiceAccountAccessTokenData, RevokeAuthServiceAccountAccessTokenError, RevokeAuthServiceAccountAccessTokenResponse, RevokeAuthSessionData, RevokeAuthSessionError, RevokeAuthSessionResponse, RevokeConnectorConnectionData, RevokeConnectorConnectionError, RevokeConnectorConnectionResponse, RevokeSharedAccessGrantData, RevokeSharedAccessGrantError, RevokeSharedAccessGrantResponse, SaveAgentMemoryData, SaveAgentMemoryError, SaveAgentMemoryResponse, SearchObjectsData, SearchObjectsError, SelectConnectorConnectionRunAccountData, SelectConnectorConnectionRunAccountError, SelectConnectorConnectionRunAccountResponse, SetAgentThreadApprovalModeData, SetAgentThreadApprovalModeError, SetAgentThreadApprovalModeResponse, SetArtifactStateData, SetArtifactStateError, SetArtifactStateResponse, SignFileUploadPartData, SignFileUploadPartError, SignFileUploadPartResponse, SignOutAllData, SignOutAllError, SignOutAllResponse, SignOutData, SignOutError, SignOutResponse, SignOutSharedAccessData, SignOutSharedAccessError, SignOutSharedAccessResponse, StartConnectorConnectionRunData, StartConnectorConnectionRunError, StartConnectorConnectionRunResponse, SubmitWorkflowInterventionData, SubmitWorkflowInterventionError, SubmitWorkflowInterventionResponse, SuspendAuthMemberData, SuspendAuthMemberError, SuspendAuthMemberResponse, TranscribeAudioData, TranscribeAudioError, TranscribeAudioResponse, UpdateAgentPreferencesData, UpdateAgentPreferencesError, UpdateAgentPreferencesResponse, UpdateAiLimitPolicyData, UpdateAiLimitPolicyError, UpdateAiLimitPolicyResponse, UpdateAuthMemberGroupsData, UpdateAuthMemberGroupsError, UpdateAuthMemberGroupsResponse, UpdateAuthProfileData, UpdateAuthProfileError, UpdateAuthProfileResponse, UploadFileContentData, UploadFileContentError, UploadFileContentResponse, UploadFileRawData, UploadFileRawError, UploadFileRawResponse, UpsertObjectData, UpsertObjectError, UpsertObjectLinkData, UpsertObjectLinkError, UpsertObjectLinkResponse, UpsertObjectResponse } from "../types.gen";
3
+ import type { AbortFileUploadData, AbortFileUploadError, AbortFileUploadResponse, AddAgentThreadParticipantsData, AddAgentThreadParticipantsError, AddAgentThreadParticipantsResponse, AddConnectorConnectionData, AddConnectorConnectionError, AddConnectorConnectionResponse, CancelAgentRunByIdData, CancelAgentRunByIdError, CancelAgentRunByIdResponse, CancelAgentRunData, CancelAgentRunError, CancelAgentRunResponse, CancelWorkflowInterventionData, CancelWorkflowInterventionError, CancelWorkflowInterventionResponse, CancelWorkflowRunData, CancelWorkflowRunError, CancelWorkflowRunResponse, CaptureActivityData, CaptureActivityError, CaptureActivityResponse, ClearArtifactStateData, ClearArtifactStateError, ClearArtifactStateResponse, CompleteFileUploadData, CompleteFileUploadError, CompleteFileUploadResponse, CountObjectsData, CountObjectsError, CountObjectsResponse, CreateAgentThreadData, CreateAgentThreadError, CreateAgentThreadResponse, CreateAiLimitPolicyData, CreateAiLimitPolicyError, CreateAiLimitPolicyResponse, CreateArtifactData, CreateArtifactError, CreateArtifactFrameData, CreateArtifactFrameError, CreateArtifactFrameResponse, CreateArtifactResponse, CreateAuthInvitationData, CreateAuthInvitationError, CreateAuthInvitationResponse, CreateAuthPersonalAccessTokenData, CreateAuthPersonalAccessTokenError, CreateAuthPersonalAccessTokenResponse, CreateAuthServiceAccountAccessTokenData, CreateAuthServiceAccountAccessTokenError, CreateAuthServiceAccountAccessTokenResponse, CreateAuthServiceAccountData, CreateAuthServiceAccountError, CreateAuthServiceAccountResponse, CreateDeviceAuthorizationData, CreateDeviceAuthorizationError, CreateDeviceAuthorizationResponse, CreateFileUploadData, CreateFileUploadError, CreateFileUploadResponse, DecideAgentApprovalData, DecideAgentApprovalError, DecideAgentApprovalResponse, DeleteAgentMemoryData, DeleteAgentMemoryError, DeleteAgentMemoryResponse, DeleteAiLimitPolicyData, DeleteAiLimitPolicyError, DeleteAiLimitPolicyResponse, DeleteArtifactData, DeleteArtifactError, DeleteArtifactResponse, DeleteArtifactStateValueData, DeleteArtifactStateValueError, DeleteArtifactStateValueResponse, DisableAuthServiceAccountData, DisableAuthServiceAccountError, DisableAuthServiceAccountResponse, DisconnectConnectorConnectionData, DisconnectConnectorConnectionError, DisconnectConnectorConnectionResponse, ExchangeDeviceAuthorizationData, ExchangeDeviceAuthorizationResponse, ExchangeSharedAccessData, ExchangeSharedAccessError, ExchangeSharedAccessResponse, ExistsObjectsData, ExistsObjectsError, ExistsObjectsResponse, FacetObjectsData, FacetObjectsError, FacetObjectsResponse, ForkAgentThreadData, ForkAgentThreadError, ForkAgentThreadResponse, GenerateImagesData, GenerateImagesError, GenerateImagesResponse, GenerateSpeechData, GenerateSpeechError, GenerateSpeechResponse, GenerateTextData, GenerateTextError, GenerateTextResponse, GetActionData, GetActionRunData, GetActionRunError, GetActionRunFileContentData, GetActionRunFileContentResponse, GetActivityCalendarData, GetActivityCalendarError, GetActivityCaptureConfigData, GetActivityCaptureConfigError, GetActivitySummaryData, GetActivitySummaryError, GetActivityVisitTimelineData, GetActivityVisitTimelineError, GetAgentChildFileContentData, GetAgentChildFileContentResponse, GetAgentData, GetAgentMemoryData, GetAgentMemoryError, GetAgentMessageFileContentData, GetAgentMessageFileContentResponse, GetAgentPreferencesData, GetAgentPreferencesError, GetAgentRunData, GetAgentRunError, GetAgentThreadContextData, GetAgentThreadContextError, GetAgentThreadData, GetAgentThreadError, GetAiAccountingOverviewData, GetAiAccountingOverviewError, GetAiLimitStatusData, GetAiLimitStatusError, GetAiLimitSubjectOptionsData, GetAiLimitSubjectOptionsError, GetAiModelCallFileContentData, GetAiModelCallFileContentResponse, GetAiModelCallFilesData, GetArtifactData, GetArtifactError, GetArtifactFileContentData, GetArtifactFileContentResponse, GetArtifactQueryData, GetArtifactQueryError, GetArtifactStateData, GetArtifactStateError, GetArtifactVersionData, GetArtifactVersionError, GetAuthAccessManagementOptionsData, GetAuthAccessManagementOptionsError, GetAuthInvitationOptionsData, GetAuthInvitationOptionsError, GetAuthMembershipOptionsData, GetAuthMembershipOptionsError, GetAuthProfileData, GetAuthProfileError, GetAuthSessionData, GetBulkTelemetryHistoryData, GetBulkTelemetryHistoryError, GetBulkTelemetryHistoryResponse, GetConnectorConnectionRunData, GetConnectorConnectionRunError, GetConnectorData, GetDatasetData, GetDatasetError, GetDatasetVersionData, GetDatasetVersionError, GetDatasetVersionLineageData, GetDatasetVersionLineageError, GetLatestTelemetryData, GetLatestTelemetryError, GetObjectByUniquePropertyData, GetObjectByUniquePropertyError, GetObjectByUniquePropertyResponse, GetObjectData, GetObjectFileContentData, GetObjectFileContentResponse, GetObjectLineageData, GetObjectLinkLineageData, GetObjectLinkLineageError, GetObjectTypeData, GetObservedAgentChildFileContentData, GetObservedAgentChildFileContentResponse, GetObservedAgentMessageFileContentData, GetObservedAgentMessageFileContentResponse, GetObservedAgentThreadData, GetObservedAgentThreadError, GetPipelineData, GetPipelineRunData, GetPipelineRunError, GetProjectInfoData, GetProjectionData, GetProjectionRunData, GetProjectionRunError, GetRuleData, GetSharedAccessSessionData, GetSharedAccessSessionError, GetStatusData, GetSyncData, GetTelemetryHistoryData, GetTelemetryHistoryError, GetUserData, GetUserError, GetWorkflowAgentNodeExecutionData, GetWorkflowAgentNodeExecutionError, GetWorkflowData, GetWorkflowInterventionData, GetWorkflowInterventionError, GetWorkflowNodeRunFileContentData, GetWorkflowNodeRunFileContentResponse, GetWorkflowRunData, GetWorkflowRunError, GetWorkflowRunFileContentData, GetWorkflowRunFileContentResponse, HoldAgentComputerSessionData, HoldAgentComputerSessionError, HoldAgentComputerSessionResponse, IssueSharedAccessGrantData, IssueSharedAccessGrantError, IssueSharedAccessGrantResponse, ListActionRunsData, ListActionRunsError, ListActionsData, ListActivityConnectionsData, ListActivityConnectionsError, ListActivityUsersData, ListActivityUsersError, ListActivityVisitsData, ListActivityVisitsError, ListAgentApprovalsData, ListAgentApprovalsError, ListAgentMemoryRevisionsData, ListAgentMemoryRevisionsError, ListAgentThreadApprovalsData, ListAgentThreadApprovalsError, ListAgentThreadChildrenData, ListAgentThreadChildrenError, ListAgentThreadMessagesData, ListAgentThreadMessagesError, ListAgentThreadRunsData, ListAgentThreadRunsError, ListAgentThreadsData, ListAgentThreadsError, ListAiLimitPoliciesData, ListAiLimitPoliciesError, ListAiModelCallGroupsData, ListAiModelCallGroupsError, ListAiModelCallsData, ListAiModelCallsError, ListArtifactsData, ListArtifactsError, ListAuthAccessTokensData, ListAuthAccessTokensError, ListAuthInvitationsData, ListAuthInvitationsError, ListAuthMembersData, ListAuthMembersError, ListAuthServiceAccountAccessTokensData, ListAuthServiceAccountAccessTokensError, ListAuthServiceAccountsData, ListAuthServiceAccountsError, ListAuthSessionsData, ListConnectorConnectionsData, ListConnectorConnectionsError, ListConnectorsData, ListDatasetRowsData, ListDatasetRowsError, ListDatasetsData, ListDatasetVersionsData, ListDatasetVersionsError, ListEventsData, ListEventsError, ListLogsData, ListLogsError, ListModelsData, ListObjectsData, ListObjectsError, ListObjectTypesData, ListObservedAgentThreadChildrenData, ListObservedAgentThreadChildrenError, ListObservedAgentThreadMessagesData, ListObservedAgentThreadMessagesError, ListObservedAgentThreadRunsData, ListObservedAgentThreadRunsError, ListPendingConnectorConnectionRunsData, ListPendingConnectorConnectionRunsError, ListPipelineRunsData, ListPipelineRunsError, ListPipelinesData, ListProjectionRunsData, ListProjectionRunsError, ListProjectionsData, ListRuleStatesData, ListRuleStatesError, ListRulesData, ListSharedAccessGrantsData, ListSharedAccessGrantsError, ListSyncRunsData, ListSyncRunsError, ListSyncsData, ListUsersData, ListUsersError, ListWebhookRunsData, ListWebhookRunsError, ListWorkflowInterventionsData, ListWorkflowInterventionsError, ListWorkflowRunsData, ListWorkflowRunsError, ListWorkflowsData, MoveAgentThreadToCloudData, MoveAgentThreadToCloudError, MoveAgentThreadToCloudResponse, MoveAgentThreadToComputerData, MoveAgentThreadToComputerError, MoveAgentThreadToComputerResponse, PostAgentThreadMessageData, PostAgentThreadMessageError, PostAgentThreadMessageResponse, PublishArtifactVersionData, PublishArtifactVersionError, PublishArtifactVersionResponse, QueryObjectLinksData, QueryObjectLinksError, QueryObjectLinksResponse, QueryObjectsData, QueryObjectsError, QueryObjectsResponse, ReactivateAuthMemberData, ReactivateAuthMemberError, ReactivateAuthMemberResponse, ReauthorizeConnectorConnectionData, ReauthorizeConnectorConnectionError, ReauthorizeConnectorConnectionResponse, RecreateAgentThreadSandboxData, RecreateAgentThreadSandboxError, RecreateAgentThreadSandboxResponse, RefreshAuthSessionData, RefreshAuthSessionError, RefreshAuthSessionResponse, ReleaseAgentComputerSessionData, ReleaseAgentComputerSessionError, RemoveAgentThreadParticipantData, RemoveAgentThreadParticipantError, RequestActionData, RequestActionError, RequestActionResponse, RequestPipelineRunData, RequestPipelineRunError, RequestPipelineRunResponse, RequestSyncRunData, RequestSyncRunError, RequestSyncRunResponse, RequestWorkflowRunData, RequestWorkflowRunError, RequestWorkflowRunResponse, RetryAgentRunData, RetryAgentRunError, RetryAgentRunResponse, RevokeAuthAccessTokenData, RevokeAuthAccessTokenError, RevokeAuthAccessTokenResponse, RevokeAuthInvitationData, RevokeAuthInvitationError, RevokeAuthInvitationResponse, RevokeAuthServiceAccountAccessTokenData, RevokeAuthServiceAccountAccessTokenError, RevokeAuthServiceAccountAccessTokenResponse, RevokeAuthSessionData, RevokeAuthSessionError, RevokeAuthSessionResponse, RevokeConnectorConnectionData, RevokeConnectorConnectionError, RevokeConnectorConnectionResponse, RevokeSharedAccessGrantData, RevokeSharedAccessGrantError, RevokeSharedAccessGrantResponse, SaveAgentMemoryData, SaveAgentMemoryError, SaveAgentMemoryResponse, SearchObjectsData, SearchObjectsError, SelectConnectorConnectionRunAccountData, SelectConnectorConnectionRunAccountError, SelectConnectorConnectionRunAccountResponse, SetAgentThreadApprovalModeData, SetAgentThreadApprovalModeError, SetAgentThreadApprovalModeResponse, SetArtifactStateData, SetArtifactStateError, SetArtifactStateResponse, SignFileUploadPartData, SignFileUploadPartError, SignFileUploadPartResponse, SignOutAllData, SignOutAllError, SignOutAllResponse, SignOutData, SignOutError, SignOutResponse, SignOutSharedAccessData, SignOutSharedAccessError, SignOutSharedAccessResponse, StartConnectorConnectionRunData, StartConnectorConnectionRunError, StartConnectorConnectionRunResponse, SubmitWorkflowInterventionData, SubmitWorkflowInterventionError, SubmitWorkflowInterventionResponse, SuspendAuthMemberData, SuspendAuthMemberError, SuspendAuthMemberResponse, TranscribeAudioData, TranscribeAudioError, TranscribeAudioResponse, UpdateAgentPreferencesData, UpdateAgentPreferencesError, UpdateAgentPreferencesResponse, UpdateAiLimitPolicyData, UpdateAiLimitPolicyError, UpdateAiLimitPolicyResponse, UpdateAuthMemberGroupsData, UpdateAuthMemberGroupsError, UpdateAuthMemberGroupsResponse, UpdateAuthProfileData, UpdateAuthProfileError, UpdateAuthProfileResponse, UploadFileContentData, UploadFileContentError, UploadFileContentResponse, UploadFileRawData, UploadFileRawError, UploadFileRawResponse } from "../types.gen";
4
4
  /**
5
5
  * Start device authorization
6
6
  */
@@ -41,6 +41,14 @@ export declare const getAuthSessionOptions: (options?: Options<GetAuthSessionDat
41
41
  avatarUrl?: string;
42
42
  groupIds: Array<string>;
43
43
  };
44
+ access: {
45
+ members: boolean;
46
+ serviceAccounts: boolean;
47
+ usage: boolean;
48
+ activity: boolean;
49
+ console: boolean;
50
+ logs: boolean;
51
+ };
44
52
  session: {
45
53
  id: string;
46
54
  expiresAt: string;
@@ -58,6 +66,14 @@ export declare const getAuthSessionOptions: (options?: Options<GetAuthSessionDat
58
66
  avatarUrl?: string;
59
67
  groupIds: Array<string>;
60
68
  };
69
+ access: {
70
+ members: boolean;
71
+ serviceAccounts: boolean;
72
+ usage: boolean;
73
+ activity: boolean;
74
+ console: boolean;
75
+ logs: boolean;
76
+ };
61
77
  session: {
62
78
  id: string;
63
79
  expiresAt: string;
@@ -80,6 +96,14 @@ export declare const getAuthSessionOptions: (options?: Options<GetAuthSessionDat
80
96
  avatarUrl?: string;
81
97
  groupIds: Array<string>;
82
98
  };
99
+ access: {
100
+ members: boolean;
101
+ serviceAccounts: boolean;
102
+ usage: boolean;
103
+ activity: boolean;
104
+ console: boolean;
105
+ logs: boolean;
106
+ };
83
107
  session: {
84
108
  id: string;
85
109
  expiresAt: string;
@@ -108,6 +132,14 @@ export declare const getAuthSessionOptions: (options?: Options<GetAuthSessionDat
108
132
  avatarUrl?: string;
109
133
  groupIds: Array<string>;
110
134
  };
135
+ access: {
136
+ members: boolean;
137
+ serviceAccounts: boolean;
138
+ usage: boolean;
139
+ activity: boolean;
140
+ console: boolean;
141
+ logs: boolean;
142
+ };
111
143
  session: {
112
144
  id: string;
113
145
  expiresAt: string;
@@ -537,7 +569,11 @@ export declare const listAuthServiceAccountAccessTokensOptions: (options: Option
537
569
  createdAt: string;
538
570
  expiresAt: string;
539
571
  revokedAt?: string;
540
- lastUsedAt?: string;
572
+ lastUsedAt
573
+ /**
574
+ * List auth service accounts
575
+ */
576
+ ?: string;
541
577
  lastUsedUserAgent?: string;
542
578
  lastUsedIpAddress?: string;
543
579
  }>;
@@ -556,7 +592,11 @@ export declare const listAuthServiceAccountAccessTokensOptions: (options: Option
556
592
  createdAt: string;
557
593
  expiresAt: string;
558
594
  revokedAt?: string;
559
- lastUsedAt?: string;
595
+ lastUsedAt
596
+ /**
597
+ * List auth service accounts
598
+ */
599
+ ?: string;
560
600
  lastUsedUserAgent?: string;
561
601
  lastUsedIpAddress?: string;
562
602
  }>;
@@ -580,7 +620,11 @@ export declare const listAuthServiceAccountAccessTokensOptions: (options: Option
580
620
  createdAt: string;
581
621
  expiresAt: string;
582
622
  revokedAt?: string;
583
- lastUsedAt?: string;
623
+ lastUsedAt
624
+ /**
625
+ * List auth service accounts
626
+ */
627
+ ?: string;
584
628
  lastUsedUserAgent?: string;
585
629
  lastUsedIpAddress?: string;
586
630
  }>;
@@ -610,7 +654,11 @@ export declare const listAuthServiceAccountAccessTokensOptions: (options: Option
610
654
  createdAt: string;
611
655
  expiresAt: string;
612
656
  revokedAt?: string;
613
- lastUsedAt?: string;
657
+ lastUsedAt
658
+ /**
659
+ * List auth service accounts
660
+ */
661
+ ?: string;
614
662
  lastUsedUserAgent?: string;
615
663
  lastUsedIpAddress?: string;
616
664
  }>;
@@ -1022,6 +1070,7 @@ export declare const listAuthMembersOptions: (options?: Options<ListAuthMembersD
1022
1070
  suspend: boolean;
1023
1071
  reactivate: boolean;
1024
1072
  };
1073
+ lastActiveAt?: string;
1025
1074
  }>;
1026
1075
  hasMore: boolean;
1027
1076
  total: number;
@@ -1043,6 +1092,7 @@ export declare const listAuthMembersOptions: (options?: Options<ListAuthMembersD
1043
1092
  suspend: boolean;
1044
1093
  reactivate: boolean;
1045
1094
  };
1095
+ lastActiveAt?: string;
1046
1096
  }>;
1047
1097
  hasMore: boolean;
1048
1098
  total: number;
@@ -1069,6 +1119,7 @@ export declare const listAuthMembersOptions: (options?: Options<ListAuthMembersD
1069
1119
  suspend: boolean;
1070
1120
  reactivate: boolean;
1071
1121
  };
1122
+ lastActiveAt?: string;
1072
1123
  }>;
1073
1124
  hasMore: boolean;
1074
1125
  total: number;
@@ -1101,6 +1152,7 @@ export declare const listAuthMembersOptions: (options?: Options<ListAuthMembersD
1101
1152
  suspend: boolean;
1102
1153
  reactivate: boolean;
1103
1154
  };
1155
+ lastActiveAt?: string;
1104
1156
  }>;
1105
1157
  hasMore: boolean;
1106
1158
  total: number;
@@ -1130,6 +1182,7 @@ export declare const listAuthMembersInfiniteOptions: (options?: Options<ListAuth
1130
1182
  suspend: boolean;
1131
1183
  reactivate: boolean;
1132
1184
  };
1185
+ lastActiveAt?: string;
1133
1186
  }>;
1134
1187
  hasMore: boolean;
1135
1188
  total: number;
@@ -1151,6 +1204,7 @@ export declare const listAuthMembersInfiniteOptions: (options?: Options<ListAuth
1151
1204
  suspend: boolean;
1152
1205
  reactivate: boolean;
1153
1206
  };
1207
+ lastActiveAt?: string;
1154
1208
  }>;
1155
1209
  hasMore: boolean;
1156
1210
  total: number;
@@ -1177,6 +1231,7 @@ export declare const listAuthMembersInfiniteOptions: (options?: Options<ListAuth
1177
1231
  suspend: boolean;
1178
1232
  reactivate: boolean;
1179
1233
  };
1234
+ lastActiveAt?: string;
1180
1235
  }>;
1181
1236
  hasMore: boolean;
1182
1237
  total: number;
@@ -1202,6 +1257,7 @@ export declare const listAuthMembersInfiniteOptions: (options?: Options<ListAuth
1202
1257
  suspend: boolean;
1203
1258
  reactivate: boolean;
1204
1259
  };
1260
+ lastActiveAt?: string;
1205
1261
  }>;
1206
1262
  hasMore: boolean;
1207
1263
  total: number;
@@ -1230,6 +1286,7 @@ export declare const listAuthMembersInfiniteOptions: (options?: Options<ListAuth
1230
1286
  suspend: boolean;
1231
1287
  reactivate: boolean;
1232
1288
  };
1289
+ lastActiveAt?: string;
1233
1290
  }>;
1234
1291
  hasMore: boolean;
1235
1292
  total: number;
@@ -1355,6 +1412,57 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1355
1412
  start: string;
1356
1413
  end: string;
1357
1414
  }>;
1415
+ modelSeries: Array<{
1416
+ providerId: string;
1417
+ modelId: string;
1418
+ series: Array<{
1419
+ modelCallCount: number;
1420
+ usage: {
1421
+ inputTokens?: number;
1422
+ outputTokens?: number;
1423
+ totalTokens?: number;
1424
+ uncachedInputTokens?: number;
1425
+ cacheReadInputTokens?: number;
1426
+ cacheWriteInputTokens?: number;
1427
+ textOutputTokens?: number;
1428
+ reasoningOutputTokens?: number;
1429
+ audioDurationMs?: number;
1430
+ imageOutputTokens?: number;
1431
+ audioOutputTokens?: number;
1432
+ outputImages?: number;
1433
+ inputCharacters?: number;
1434
+ reportingStatus: "complete" | "partial" | "unavailable";
1435
+ };
1436
+ usageCoverage: {
1437
+ completeCallCount: number;
1438
+ fieldCallCounts: {
1439
+ inputTokens: number;
1440
+ outputTokens: number;
1441
+ uncachedInputTokens: number;
1442
+ cacheReadInputTokens: number;
1443
+ cacheWriteInputTokens: number;
1444
+ textOutputTokens: number;
1445
+ reasoningOutputTokens: number;
1446
+ audioDurationMs: number;
1447
+ imageOutputTokens: number;
1448
+ audioOutputTokens: number;
1449
+ outputImages: number;
1450
+ inputCharacters: number;
1451
+ };
1452
+ };
1453
+ costs: {
1454
+ amounts: Array<{
1455
+ currency: string;
1456
+ amountNanos: string;
1457
+ }>;
1458
+ ratedCallCount: number;
1459
+ unpriceableCallCount: number;
1460
+ unvaluedCallCount: number;
1461
+ };
1462
+ start: string;
1463
+ end: string;
1464
+ }>;
1465
+ }>;
1358
1466
  models: Array<{
1359
1467
  modelCallCount: number;
1360
1468
  usage: {
@@ -1402,6 +1510,57 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1402
1510
  providerId: string;
1403
1511
  modelId: string;
1404
1512
  }>;
1513
+ people: Array<{
1514
+ modelCallCount: number;
1515
+ usage: {
1516
+ inputTokens?: number;
1517
+ outputTokens?: number;
1518
+ totalTokens?: number;
1519
+ uncachedInputTokens?: number;
1520
+ cacheReadInputTokens?: number;
1521
+ cacheWriteInputTokens?: number;
1522
+ textOutputTokens?: number;
1523
+ reasoningOutputTokens?: number;
1524
+ audioDurationMs?: number;
1525
+ imageOutputTokens?: number;
1526
+ audioOutputTokens?: number;
1527
+ outputImages?: number;
1528
+ inputCharacters?: number;
1529
+ reportingStatus: "complete" | "partial" | "unavailable";
1530
+ };
1531
+ usageCoverage: {
1532
+ completeCallCount: number;
1533
+ fieldCallCounts: {
1534
+ inputTokens: number;
1535
+ outputTokens: number;
1536
+ uncachedInputTokens: number;
1537
+ cacheReadInputTokens: number;
1538
+ cacheWriteInputTokens: number;
1539
+ textOutputTokens: number;
1540
+ reasoningOutputTokens: number;
1541
+ audioDurationMs: number;
1542
+ imageOutputTokens: number;
1543
+ audioOutputTokens: number;
1544
+ outputImages: number;
1545
+ inputCharacters: number;
1546
+ };
1547
+ };
1548
+ costs: {
1549
+ amounts: Array<{
1550
+ currency: string;
1551
+ amountNanos: string;
1552
+ }>;
1553
+ ratedCallCount: number;
1554
+ unpriceableCallCount: number;
1555
+ unvaluedCallCount: number;
1556
+ };
1557
+ requester?: {
1558
+ type: "user" | "serviceAccount";
1559
+ id: string;
1560
+ name?: string;
1561
+ email?: string;
1562
+ };
1563
+ }>;
1405
1564
  kinds: Array<{
1406
1565
  modelCallCount: number;
1407
1566
  usage: {
@@ -1685,6 +1844,57 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1685
1844
  start: string;
1686
1845
  end: string;
1687
1846
  }>;
1847
+ modelSeries: Array<{
1848
+ providerId: string;
1849
+ modelId: string;
1850
+ series: Array<{
1851
+ modelCallCount: number;
1852
+ usage: {
1853
+ inputTokens?: number;
1854
+ outputTokens?: number;
1855
+ totalTokens?: number;
1856
+ uncachedInputTokens?: number;
1857
+ cacheReadInputTokens?: number;
1858
+ cacheWriteInputTokens?: number;
1859
+ textOutputTokens?: number;
1860
+ reasoningOutputTokens?: number;
1861
+ audioDurationMs?: number;
1862
+ imageOutputTokens?: number;
1863
+ audioOutputTokens?: number;
1864
+ outputImages?: number;
1865
+ inputCharacters?: number;
1866
+ reportingStatus: "complete" | "partial" | "unavailable";
1867
+ };
1868
+ usageCoverage: {
1869
+ completeCallCount: number;
1870
+ fieldCallCounts: {
1871
+ inputTokens: number;
1872
+ outputTokens: number;
1873
+ uncachedInputTokens: number;
1874
+ cacheReadInputTokens: number;
1875
+ cacheWriteInputTokens: number;
1876
+ textOutputTokens: number;
1877
+ reasoningOutputTokens: number;
1878
+ audioDurationMs: number;
1879
+ imageOutputTokens: number;
1880
+ audioOutputTokens: number;
1881
+ outputImages: number;
1882
+ inputCharacters: number;
1883
+ };
1884
+ };
1885
+ costs: {
1886
+ amounts: Array<{
1887
+ currency: string;
1888
+ amountNanos: string;
1889
+ }>;
1890
+ ratedCallCount: number;
1891
+ unpriceableCallCount: number;
1892
+ unvaluedCallCount: number;
1893
+ };
1894
+ start: string;
1895
+ end: string;
1896
+ }>;
1897
+ }>;
1688
1898
  models: Array<{
1689
1899
  modelCallCount: number;
1690
1900
  usage: {
@@ -1732,6 +1942,57 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1732
1942
  providerId: string;
1733
1943
  modelId: string;
1734
1944
  }>;
1945
+ people: Array<{
1946
+ modelCallCount: number;
1947
+ usage: {
1948
+ inputTokens?: number;
1949
+ outputTokens?: number;
1950
+ totalTokens?: number;
1951
+ uncachedInputTokens?: number;
1952
+ cacheReadInputTokens?: number;
1953
+ cacheWriteInputTokens?: number;
1954
+ textOutputTokens?: number;
1955
+ reasoningOutputTokens?: number;
1956
+ audioDurationMs?: number;
1957
+ imageOutputTokens?: number;
1958
+ audioOutputTokens?: number;
1959
+ outputImages?: number;
1960
+ inputCharacters?: number;
1961
+ reportingStatus: "complete" | "partial" | "unavailable";
1962
+ };
1963
+ usageCoverage: {
1964
+ completeCallCount: number;
1965
+ fieldCallCounts: {
1966
+ inputTokens: number;
1967
+ outputTokens: number;
1968
+ uncachedInputTokens: number;
1969
+ cacheReadInputTokens: number;
1970
+ cacheWriteInputTokens: number;
1971
+ textOutputTokens: number;
1972
+ reasoningOutputTokens: number;
1973
+ audioDurationMs: number;
1974
+ imageOutputTokens: number;
1975
+ audioOutputTokens: number;
1976
+ outputImages: number;
1977
+ inputCharacters: number;
1978
+ };
1979
+ };
1980
+ costs: {
1981
+ amounts: Array<{
1982
+ currency: string;
1983
+ amountNanos: string;
1984
+ }>;
1985
+ ratedCallCount: number;
1986
+ unpriceableCallCount: number;
1987
+ unvaluedCallCount: number;
1988
+ };
1989
+ requester?: {
1990
+ type: "user" | "serviceAccount";
1991
+ id: string;
1992
+ name?: string;
1993
+ email?: string;
1994
+ };
1995
+ }>;
1735
1996
  kinds: Array<{
1736
1997
  modelCallCount: number;
1737
1998
  usage: {
@@ -2020,6 +2281,57 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
2020
2281
  start: string;
2021
2282
  end: string;
2022
2283
  }>;
2284
+ modelSeries: Array<{
2285
+ providerId: string;
2286
+ modelId: string;
2287
+ series: Array<{
2288
+ modelCallCount: number;
2289
+ usage: {
2290
+ inputTokens?: number;
2291
+ outputTokens?: number;
2292
+ totalTokens?: number;
2293
+ uncachedInputTokens?: number;
2294
+ cacheReadInputTokens?: number;
2295
+ cacheWriteInputTokens?: number;
2296
+ textOutputTokens?: number;
2297
+ reasoningOutputTokens?: number;
2298
+ audioDurationMs?: number;
2299
+ imageOutputTokens?: number;
2300
+ audioOutputTokens?: number;
2301
+ outputImages?: number;
2302
+ inputCharacters?: number;
2303
+ reportingStatus: "complete" | "partial" | "unavailable";
2304
+ };
2305
+ usageCoverage: {
2306
+ completeCallCount: number;
2307
+ fieldCallCounts: {
2308
+ inputTokens: number;
2309
+ outputTokens: number;
2310
+ uncachedInputTokens: number;
2311
+ cacheReadInputTokens: number;
2312
+ cacheWriteInputTokens: number;
2313
+ textOutputTokens: number;
2314
+ reasoningOutputTokens: number;
2315
+ audioDurationMs: number;
2316
+ imageOutputTokens: number;
2317
+ audioOutputTokens: number;
2318
+ outputImages: number;
2319
+ inputCharacters: number;
2320
+ };
2321
+ };
2322
+ costs: {
2323
+ amounts: Array<{
2324
+ currency: string;
2325
+ amountNanos: string;
2326
+ }>;
2327
+ ratedCallCount: number;
2328
+ unpriceableCallCount: number;
2329
+ unvaluedCallCount: number;
2330
+ };
2331
+ start: string;
2332
+ end: string;
2333
+ }>;
2334
+ }>;
2023
2335
  models: Array<{
2024
2336
  modelCallCount: number;
2025
2337
  usage: {
@@ -2067,7 +2379,58 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
2067
2379
  providerId: string;
2068
2380
  modelId: string;
2069
2381
  }>;
2070
- kinds: Array<{
2382
+ people: Array<{
2383
+ modelCallCount: number;
2384
+ usage: {
2385
+ inputTokens?: number;
2386
+ outputTokens?: number;
2387
+ totalTokens?: number;
2388
+ uncachedInputTokens?: number;
2389
+ cacheReadInputTokens?: number;
2390
+ cacheWriteInputTokens?: number;
2391
+ textOutputTokens?: number;
2392
+ reasoningOutputTokens?: number;
2393
+ audioDurationMs?: number;
2394
+ imageOutputTokens?: number;
2395
+ audioOutputTokens?: number;
2396
+ outputImages?: number;
2397
+ inputCharacters?: number;
2398
+ reportingStatus: "complete" | "partial" | "unavailable";
2399
+ };
2400
+ usageCoverage: {
2401
+ completeCallCount: number;
2402
+ fieldCallCounts: {
2403
+ inputTokens: number;
2404
+ outputTokens: number;
2405
+ uncachedInputTokens: number;
2406
+ cacheReadInputTokens: number;
2407
+ cacheWriteInputTokens: number;
2408
+ textOutputTokens: number;
2409
+ reasoningOutputTokens: number;
2410
+ audioDurationMs: number;
2411
+ imageOutputTokens: number;
2412
+ audioOutputTokens: number;
2413
+ outputImages: number;
2414
+ inputCharacters: number;
2415
+ };
2416
+ };
2417
+ costs: {
2418
+ amounts: Array<{
2419
+ currency: string;
2420
+ amountNanos: string;
2421
+ }>;
2422
+ ratedCallCount: number;
2423
+ unpriceableCallCount: number;
2424
+ unvaluedCallCount: number;
2425
+ };
2426
+ requester?: {
2427
+ type: "user" | "serviceAccount";
2428
+ id: string;
2429
+ name?: string;
2430
+ email?: string;
2431
+ };
2432
+ }>;
2433
+ kinds: Array<{
2071
2434
  modelCallCount: number;
2072
2435
  usage: {
2073
2436
  inputTokens?: number;
@@ -2361,6 +2724,57 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
2361
2724
  start: string;
2362
2725
  end: string;
2363
2726
  }>;
2727
+ modelSeries: Array<{
2728
+ providerId: string;
2729
+ modelId: string;
2730
+ series: Array<{
2731
+ modelCallCount: number;
2732
+ usage: {
2733
+ inputTokens?: number;
2734
+ outputTokens?: number;
2735
+ totalTokens?: number;
2736
+ uncachedInputTokens?: number;
2737
+ cacheReadInputTokens?: number;
2738
+ cacheWriteInputTokens?: number;
2739
+ textOutputTokens?: number;
2740
+ reasoningOutputTokens?: number;
2741
+ audioDurationMs?: number;
2742
+ imageOutputTokens?: number;
2743
+ audioOutputTokens?: number;
2744
+ outputImages?: number;
2745
+ inputCharacters?: number;
2746
+ reportingStatus: "complete" | "partial" | "unavailable";
2747
+ };
2748
+ usageCoverage: {
2749
+ completeCallCount: number;
2750
+ fieldCallCounts: {
2751
+ inputTokens: number;
2752
+ outputTokens: number;
2753
+ uncachedInputTokens: number;
2754
+ cacheReadInputTokens: number;
2755
+ cacheWriteInputTokens: number;
2756
+ textOutputTokens: number;
2757
+ reasoningOutputTokens: number;
2758
+ audioDurationMs: number;
2759
+ imageOutputTokens: number;
2760
+ audioOutputTokens: number;
2761
+ outputImages: number;
2762
+ inputCharacters: number;
2763
+ };
2764
+ };
2765
+ costs: {
2766
+ amounts: Array<{
2767
+ currency: string;
2768
+ amountNanos: string;
2769
+ }>;
2770
+ ratedCallCount: number;
2771
+ unpriceableCallCount: number;
2772
+ unvaluedCallCount: number;
2773
+ };
2774
+ start: string;
2775
+ end: string;
2776
+ }>;
2777
+ }>;
2364
2778
  models: Array<{
2365
2779
  modelCallCount: number;
2366
2780
  usage: {
@@ -2408,6 +2822,57 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
2408
2822
  providerId: string;
2409
2823
  modelId: string;
2410
2824
  }>;
2825
+ people: Array<{
2826
+ modelCallCount: number;
2827
+ usage: {
2828
+ inputTokens?: number;
2829
+ outputTokens?: number;
2830
+ totalTokens?: number;
2831
+ uncachedInputTokens?: number;
2832
+ cacheReadInputTokens?: number;
2833
+ cacheWriteInputTokens?: number;
2834
+ textOutputTokens?: number;
2835
+ reasoningOutputTokens?: number;
2836
+ audioDurationMs?: number;
2837
+ imageOutputTokens?: number;
2838
+ audioOutputTokens?: number;
2839
+ outputImages?: number;
2840
+ inputCharacters?: number;
2841
+ reportingStatus: "complete" | "partial" | "unavailable";
2842
+ };
2843
+ usageCoverage: {
2844
+ completeCallCount: number;
2845
+ fieldCallCounts: {
2846
+ inputTokens: number;
2847
+ outputTokens: number;
2848
+ uncachedInputTokens: number;
2849
+ cacheReadInputTokens: number;
2850
+ cacheWriteInputTokens: number;
2851
+ textOutputTokens: number;
2852
+ reasoningOutputTokens: number;
2853
+ audioDurationMs: number;
2854
+ imageOutputTokens: number;
2855
+ audioOutputTokens: number;
2856
+ outputImages: number;
2857
+ inputCharacters: number;
2858
+ };
2859
+ };
2860
+ costs: {
2861
+ amounts: Array<{
2862
+ currency: string;
2863
+ amountNanos: string;
2864
+ }>;
2865
+ ratedCallCount: number;
2866
+ unpriceableCallCount: number;
2867
+ unvaluedCallCount: number;
2868
+ };
2869
+ requester?: {
2870
+ type: "user" | "serviceAccount";
2871
+ id: string;
2872
+ name?: string;
2873
+ email?: string;
2874
+ };
2875
+ }>;
2411
2876
  kinds: Array<{
2412
2877
  modelCallCount: number;
2413
2878
  usage: {
@@ -2632,7 +3097,13 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
2632
3097
  uncachedInputTokens?: number;
2633
3098
  cacheReadInputTokens?: number;
2634
3099
  cacheWriteInputTokens?: number;
2635
- textOutputTokens?: number;
3100
+ textOutputTokens
3101
+ /**
3102
+ * List dataset versions
3103
+ */
3104
+ ? /**
3105
+ * List dataset versions
3106
+ */: number;
2636
3107
  reasoningOutputTokens?: number;
2637
3108
  audioDurationMs?: number;
2638
3109
  imageOutputTokens?: number;
@@ -2805,7 +3276,13 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
2805
3276
  uncachedInputTokens?: number;
2806
3277
  cacheReadInputTokens?: number;
2807
3278
  cacheWriteInputTokens?: number;
2808
- textOutputTokens?: number;
3279
+ textOutputTokens
3280
+ /**
3281
+ * List dataset versions
3282
+ */
3283
+ ? /**
3284
+ * List dataset versions
3285
+ */: number;
2809
3286
  reasoningOutputTokens?: number;
2810
3287
  audioDurationMs?: number;
2811
3288
  imageOutputTokens?: number;
@@ -2983,7 +3460,13 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
2983
3460
  uncachedInputTokens?: number;
2984
3461
  cacheReadInputTokens?: number;
2985
3462
  cacheWriteInputTokens?: number;
2986
- textOutputTokens?: number;
3463
+ textOutputTokens
3464
+ /**
3465
+ * List dataset versions
3466
+ */
3467
+ ? /**
3468
+ * List dataset versions
3469
+ */: number;
2987
3470
  reasoningOutputTokens?: number;
2988
3471
  audioDurationMs?: number;
2989
3472
  imageOutputTokens?: number;
@@ -3167,7 +3650,13 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
3167
3650
  uncachedInputTokens?: number;
3168
3651
  cacheReadInputTokens?: number;
3169
3652
  cacheWriteInputTokens?: number;
3170
- textOutputTokens?: number;
3653
+ textOutputTokens
3654
+ /**
3655
+ * List dataset versions
3656
+ */
3657
+ ? /**
3658
+ * List dataset versions
3659
+ */: number;
3171
3660
  reasoningOutputTokens?: number;
3172
3661
  audioDurationMs?: number;
3173
3662
  imageOutputTokens?: number;
@@ -3348,7 +3837,13 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
3348
3837
  uncachedInputTokens?: number;
3349
3838
  cacheReadInputTokens?: number;
3350
3839
  cacheWriteInputTokens?: number;
3351
- textOutputTokens?: number;
3840
+ textOutputTokens
3841
+ /**
3842
+ * List dataset versions
3843
+ */
3844
+ ? /**
3845
+ * List dataset versions
3846
+ */: number;
3352
3847
  reasoningOutputTokens?: number;
3353
3848
  audioDurationMs?: number;
3354
3849
  imageOutputTokens?: number;
@@ -3521,7 +4016,13 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
3521
4016
  uncachedInputTokens?: number;
3522
4017
  cacheReadInputTokens?: number;
3523
4018
  cacheWriteInputTokens?: number;
3524
- textOutputTokens?: number;
4019
+ textOutputTokens
4020
+ /**
4021
+ * List dataset versions
4022
+ */
4023
+ ? /**
4024
+ * List dataset versions
4025
+ */: number;
3525
4026
  reasoningOutputTokens?: number;
3526
4027
  audioDurationMs?: number;
3527
4028
  imageOutputTokens?: number;
@@ -3699,7 +4200,13 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
3699
4200
  uncachedInputTokens?: number;
3700
4201
  cacheReadInputTokens?: number;
3701
4202
  cacheWriteInputTokens?: number;
3702
- textOutputTokens?: number;
4203
+ textOutputTokens
4204
+ /**
4205
+ * List dataset versions
4206
+ */
4207
+ ? /**
4208
+ * List dataset versions
4209
+ */: number;
3703
4210
  reasoningOutputTokens?: number;
3704
4211
  audioDurationMs?: number;
3705
4212
  imageOutputTokens?: number;
@@ -3876,7 +4383,13 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
3876
4383
  uncachedInputTokens?: number;
3877
4384
  cacheReadInputTokens?: number;
3878
4385
  cacheWriteInputTokens?: number;
3879
- textOutputTokens?: number;
4386
+ textOutputTokens
4387
+ /**
4388
+ * List dataset versions
4389
+ */
4390
+ ? /**
4391
+ * List dataset versions
4392
+ */: number;
3880
4393
  reasoningOutputTokens?: number;
3881
4394
  audioDurationMs?: number;
3882
4395
  imageOutputTokens?: number;
@@ -4056,7 +4569,13 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
4056
4569
  uncachedInputTokens?: number;
4057
4570
  cacheReadInputTokens?: number;
4058
4571
  cacheWriteInputTokens?: number;
4059
- textOutputTokens?: number;
4572
+ textOutputTokens
4573
+ /**
4574
+ * List dataset versions
4575
+ */
4576
+ ? /**
4577
+ * List dataset versions
4578
+ */: number;
4060
4579
  reasoningOutputTokens?: number;
4061
4580
  audioDurationMs?: number;
4062
4581
  imageOutputTokens?: number;
@@ -4891,6 +5410,8 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
4891
5410
  };
4892
5411
  modelCallCount: number;
4893
5412
  totalTokens?: number;
5413
+ inputTokens?: number;
5414
+ cacheReadInputTokens?: number;
4894
5415
  outputImages?: number;
4895
5416
  inputCharacters?: number;
4896
5417
  audioDurationMs?: number;
@@ -4936,6 +5457,8 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
4936
5457
  };
4937
5458
  modelCallCount: number;
4938
5459
  totalTokens?: number;
5460
+ inputTokens?: number;
5461
+ cacheReadInputTokens?: number;
4939
5462
  outputImages?: number;
4940
5463
  inputCharacters?: number;
4941
5464
  audioDurationMs?: number;
@@ -4953,10 +5476,27 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
4953
5476
  models: Array<{
4954
5477
  providerId: string;
4955
5478
  modelId: string;
5479
+ modelCallCount: number;
5480
+ costs: {
5481
+ amounts: Array<{
5482
+ currency: string;
5483
+ amountNanos: string;
5484
+ }>;
5485
+ ratedCallCount: number;
5486
+ unpriceableCallCount: number;
5487
+ unvaluedCallCount: number;
5488
+ };
4956
5489
  }>;
4957
5490
  label?: string;
5491
+ prompt?: string;
4958
5492
  }>;
4959
5493
  canOpenThread: boolean;
5494
+ requester?: {
5495
+ type: "user" | "serviceAccount";
5496
+ id: string;
5497
+ name?: string;
5498
+ email?: string;
5499
+ };
4960
5500
  }>;
4961
5501
  total: number;
4962
5502
  hasMore: boolean;
@@ -4991,6 +5531,8 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
4991
5531
  };
4992
5532
  modelCallCount: number;
4993
5533
  totalTokens?: number;
5534
+ inputTokens?: number;
5535
+ cacheReadInputTokens?: number;
4994
5536
  outputImages?: number;
4995
5537
  inputCharacters?: number;
4996
5538
  audioDurationMs?: number;
@@ -5036,6 +5578,8 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
5036
5578
  };
5037
5579
  modelCallCount: number;
5038
5580
  totalTokens?: number;
5581
+ inputTokens?: number;
5582
+ cacheReadInputTokens?: number;
5039
5583
  outputImages?: number;
5040
5584
  inputCharacters?: number;
5041
5585
  audioDurationMs?: number;
@@ -5053,10 +5597,27 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
5053
5597
  models: Array<{
5054
5598
  providerId: string;
5055
5599
  modelId: string;
5600
+ modelCallCount: number;
5601
+ costs: {
5602
+ amounts: Array<{
5603
+ currency: string;
5604
+ amountNanos: string;
5605
+ }>;
5606
+ ratedCallCount: number;
5607
+ unpriceableCallCount: number;
5608
+ unvaluedCallCount: number;
5609
+ };
5056
5610
  }>;
5057
5611
  label?: string;
5612
+ prompt?: string;
5058
5613
  }>;
5059
5614
  canOpenThread: boolean;
5615
+ requester?: {
5616
+ type: "user" | "serviceAccount";
5617
+ id: string;
5618
+ name?: string;
5619
+ email?: string;
5620
+ };
5060
5621
  }>;
5061
5622
  total: number;
5062
5623
  hasMore: boolean;
@@ -5096,6 +5657,8 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
5096
5657
  };
5097
5658
  modelCallCount: number;
5098
5659
  totalTokens?: number;
5660
+ inputTokens?: number;
5661
+ cacheReadInputTokens?: number;
5099
5662
  outputImages?: number;
5100
5663
  inputCharacters?: number;
5101
5664
  audioDurationMs?: number;
@@ -5141,6 +5704,8 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
5141
5704
  };
5142
5705
  modelCallCount: number;
5143
5706
  totalTokens?: number;
5707
+ inputTokens?: number;
5708
+ cacheReadInputTokens?: number;
5144
5709
  outputImages?: number;
5145
5710
  inputCharacters?: number;
5146
5711
  audioDurationMs?: number;
@@ -5158,10 +5723,27 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
5158
5723
  models: Array<{
5159
5724
  providerId: string;
5160
5725
  modelId: string;
5726
+ modelCallCount: number;
5727
+ costs: {
5728
+ amounts: Array<{
5729
+ currency: string;
5730
+ amountNanos: string;
5731
+ }>;
5732
+ ratedCallCount: number;
5733
+ unpriceableCallCount: number;
5734
+ unvaluedCallCount: number;
5735
+ };
5161
5736
  }>;
5162
5737
  label?: string;
5738
+ prompt?: string;
5163
5739
  }>;
5164
5740
  canOpenThread: boolean;
5741
+ requester?: {
5742
+ type: "user" | "serviceAccount";
5743
+ id: string;
5744
+ name?: string;
5745
+ email?: string;
5746
+ };
5165
5747
  }>;
5166
5748
  total: number;
5167
5749
  hasMore: boolean;
@@ -5207,6 +5789,8 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
5207
5789
  };
5208
5790
  modelCallCount: number;
5209
5791
  totalTokens?: number;
5792
+ inputTokens?: number;
5793
+ cacheReadInputTokens?: number;
5210
5794
  outputImages?: number;
5211
5795
  inputCharacters?: number;
5212
5796
  audioDurationMs?: number;
@@ -5252,6 +5836,8 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
5252
5836
  };
5253
5837
  modelCallCount: number;
5254
5838
  totalTokens?: number;
5839
+ inputTokens?: number;
5840
+ cacheReadInputTokens?: number;
5255
5841
  outputImages?: number;
5256
5842
  inputCharacters?: number;
5257
5843
  audioDurationMs?: number;
@@ -5269,10 +5855,27 @@ export declare const listAiModelCallGroupsOptions: (options: Options<ListAiModel
5269
5855
  models: Array<{
5270
5856
  providerId: string;
5271
5857
  modelId: string;
5858
+ modelCallCount: number;
5859
+ costs: {
5860
+ amounts: Array<{
5861
+ currency: string;
5862
+ amountNanos: string;
5863
+ }>;
5864
+ ratedCallCount: number;
5865
+ unpriceableCallCount: number;
5866
+ unvaluedCallCount: number;
5867
+ };
5272
5868
  }>;
5273
5869
  label?: string;
5870
+ prompt?: string;
5274
5871
  }>;
5275
5872
  canOpenThread: boolean;
5873
+ requester?: {
5874
+ type: "user" | "serviceAccount";
5875
+ id: string;
5876
+ name?: string;
5877
+ email?: string;
5878
+ };
5276
5879
  }>;
5277
5880
  total: number;
5278
5881
  hasMore: boolean;
@@ -5315,6 +5918,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5315
5918
  };
5316
5919
  modelCallCount: number;
5317
5920
  totalTokens?: number;
5921
+ inputTokens?: number;
5922
+ cacheReadInputTokens?: number;
5318
5923
  outputImages?: number;
5319
5924
  inputCharacters?: number;
5320
5925
  audioDurationMs?: number;
@@ -5360,6 +5965,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5360
5965
  };
5361
5966
  modelCallCount: number;
5362
5967
  totalTokens?: number;
5968
+ inputTokens?: number;
5969
+ cacheReadInputTokens?: number;
5363
5970
  outputImages?: number;
5364
5971
  inputCharacters?: number;
5365
5972
  audioDurationMs?: number;
@@ -5377,10 +5984,27 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5377
5984
  models: Array<{
5378
5985
  providerId: string;
5379
5986
  modelId: string;
5987
+ modelCallCount: number;
5988
+ costs: {
5989
+ amounts: Array<{
5990
+ currency: string;
5991
+ amountNanos: string;
5992
+ }>;
5993
+ ratedCallCount: number;
5994
+ unpriceableCallCount: number;
5995
+ unvaluedCallCount: number;
5996
+ };
5380
5997
  }>;
5381
5998
  label?: string;
5999
+ prompt?: string;
5382
6000
  }>;
5383
6001
  canOpenThread: boolean;
6002
+ requester?: {
6003
+ type: "user" | "serviceAccount";
6004
+ id: string;
6005
+ name?: string;
6006
+ email?: string;
6007
+ };
5384
6008
  }>;
5385
6009
  total: number;
5386
6010
  hasMore: boolean;
@@ -5415,6 +6039,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5415
6039
  };
5416
6040
  modelCallCount: number;
5417
6041
  totalTokens?: number;
6042
+ inputTokens?: number;
6043
+ cacheReadInputTokens?: number;
5418
6044
  outputImages?: number;
5419
6045
  inputCharacters?: number;
5420
6046
  audioDurationMs?: number;
@@ -5460,6 +6086,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5460
6086
  };
5461
6087
  modelCallCount: number;
5462
6088
  totalTokens?: number;
6089
+ inputTokens?: number;
6090
+ cacheReadInputTokens?: number;
5463
6091
  outputImages?: number;
5464
6092
  inputCharacters?: number;
5465
6093
  audioDurationMs?: number;
@@ -5477,10 +6105,27 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5477
6105
  models: Array<{
5478
6106
  providerId: string;
5479
6107
  modelId: string;
6108
+ modelCallCount: number;
6109
+ costs: {
6110
+ amounts: Array<{
6111
+ currency: string;
6112
+ amountNanos: string;
6113
+ }>;
6114
+ ratedCallCount: number;
6115
+ unpriceableCallCount: number;
6116
+ unvaluedCallCount: number;
6117
+ };
5480
6118
  }>;
5481
6119
  label?: string;
6120
+ prompt?: string;
5482
6121
  }>;
5483
6122
  canOpenThread: boolean;
6123
+ requester?: {
6124
+ type: "user" | "serviceAccount";
6125
+ id: string;
6126
+ name?: string;
6127
+ email?: string;
6128
+ };
5484
6129
  }>;
5485
6130
  total: number;
5486
6131
  hasMore: boolean;
@@ -5520,6 +6165,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5520
6165
  };
5521
6166
  modelCallCount: number;
5522
6167
  totalTokens?: number;
6168
+ inputTokens?: number;
6169
+ cacheReadInputTokens?: number;
5523
6170
  outputImages?: number;
5524
6171
  inputCharacters?: number;
5525
6172
  audioDurationMs?: number;
@@ -5565,6 +6212,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5565
6212
  };
5566
6213
  modelCallCount: number;
5567
6214
  totalTokens?: number;
6215
+ inputTokens?: number;
6216
+ cacheReadInputTokens?: number;
5568
6217
  outputImages?: number;
5569
6218
  inputCharacters?: number;
5570
6219
  audioDurationMs?: number;
@@ -5582,10 +6231,27 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5582
6231
  models: Array<{
5583
6232
  providerId: string;
5584
6233
  modelId: string;
6234
+ modelCallCount: number;
6235
+ costs: {
6236
+ amounts: Array<{
6237
+ currency: string;
6238
+ amountNanos: string;
6239
+ }>;
6240
+ ratedCallCount: number;
6241
+ unpriceableCallCount: number;
6242
+ unvaluedCallCount: number;
6243
+ };
5585
6244
  }>;
5586
6245
  label?: string;
6246
+ prompt?: string;
5587
6247
  }>;
5588
6248
  canOpenThread: boolean;
6249
+ requester?: {
6250
+ type: "user" | "serviceAccount";
6251
+ id: string;
6252
+ name?: string;
6253
+ email?: string;
6254
+ };
5589
6255
  }>;
5590
6256
  total: number;
5591
6257
  hasMore: boolean;
@@ -5624,6 +6290,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5624
6290
  };
5625
6291
  modelCallCount: number;
5626
6292
  totalTokens?: number;
6293
+ inputTokens?: number;
6294
+ cacheReadInputTokens?: number;
5627
6295
  outputImages?: number;
5628
6296
  inputCharacters?: number;
5629
6297
  audioDurationMs?: number;
@@ -5669,6 +6337,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5669
6337
  };
5670
6338
  modelCallCount: number;
5671
6339
  totalTokens?: number;
6340
+ inputTokens?: number;
6341
+ cacheReadInputTokens?: number;
5672
6342
  outputImages?: number;
5673
6343
  inputCharacters?: number;
5674
6344
  audioDurationMs?: number;
@@ -5686,10 +6356,27 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5686
6356
  models: Array<{
5687
6357
  providerId: string;
5688
6358
  modelId: string;
6359
+ modelCallCount: number;
6360
+ costs: {
6361
+ amounts: Array<{
6362
+ currency: string;
6363
+ amountNanos: string;
6364
+ }>;
6365
+ ratedCallCount: number;
6366
+ unpriceableCallCount: number;
6367
+ unvaluedCallCount: number;
6368
+ };
5689
6369
  }>;
5690
6370
  label?: string;
6371
+ prompt?: string;
5691
6372
  }>;
5692
6373
  canOpenThread: boolean;
6374
+ requester?: {
6375
+ type: "user" | "serviceAccount";
6376
+ id: string;
6377
+ name?: string;
6378
+ email?: string;
6379
+ };
5693
6380
  }>;
5694
6381
  total: number;
5695
6382
  hasMore: boolean;
@@ -5731,6 +6418,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5731
6418
  };
5732
6419
  modelCallCount: number;
5733
6420
  totalTokens?: number;
6421
+ inputTokens?: number;
6422
+ cacheReadInputTokens?: number;
5734
6423
  outputImages?: number;
5735
6424
  inputCharacters?: number;
5736
6425
  audioDurationMs?: number;
@@ -5776,6 +6465,8 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5776
6465
  };
5777
6466
  modelCallCount: number;
5778
6467
  totalTokens?: number;
6468
+ inputTokens?: number;
6469
+ cacheReadInputTokens?: number;
5779
6470
  outputImages?: number;
5780
6471
  inputCharacters?: number;
5781
6472
  audioDurationMs?: number;
@@ -5793,10 +6484,27 @@ export declare const listAiModelCallGroupsInfiniteOptions: (options: Options<Lis
5793
6484
  models: Array<{
5794
6485
  providerId: string;
5795
6486
  modelId: string;
6487
+ modelCallCount: number;
6488
+ costs: {
6489
+ amounts: Array<{
6490
+ currency: string;
6491
+ amountNanos: string;
6492
+ }>;
6493
+ ratedCallCount: number;
6494
+ unpriceableCallCount: number;
6495
+ unvaluedCallCount: number;
6496
+ };
5796
6497
  }>;
5797
6498
  label?: string;
6499
+ prompt?: string;
5798
6500
  }>;
5799
6501
  canOpenThread: boolean;
6502
+ requester?: {
6503
+ type: "user" | "serviceAccount";
6504
+ id: string;
6505
+ name?: string;
6506
+ email?: string;
6507
+ };
5800
6508
  }>;
5801
6509
  total: number;
5802
6510
  hasMore: boolean;
@@ -7566,6 +8274,7 @@ export declare const listDatasetVersionsOptions: (options: Options<ListDatasetVe
7566
8274
  kind: "sync" | "pipeline" | "ingest";
7567
8275
  id?: string;
7568
8276
  runId?: string;
8277
+ stepId?: string;
7569
8278
  };
7570
8279
  inputs?: Array<{
7571
8280
  datasetId: string;
@@ -7593,6 +8302,7 @@ export declare const listDatasetVersionsOptions: (options: Options<ListDatasetVe
7593
8302
  kind: "sync" | "pipeline" | "ingest";
7594
8303
  id?: string;
7595
8304
  runId?: string;
8305
+ stepId?: string;
7596
8306
  };
7597
8307
  inputs?: Array<{
7598
8308
  datasetId: string;
@@ -7625,6 +8335,7 @@ export declare const listDatasetVersionsOptions: (options: Options<ListDatasetVe
7625
8335
  kind: "sync" | "pipeline" | "ingest";
7626
8336
  id?: string;
7627
8337
  runId?: string;
8338
+ stepId?: string;
7628
8339
  };
7629
8340
  inputs?: Array<{
7630
8341
  datasetId: string;
@@ -7663,6 +8374,7 @@ export declare const listDatasetVersionsOptions: (options: Options<ListDatasetVe
7663
8374
  kind: "sync" | "pipeline" | "ingest";
7664
8375
  id?: string;
7665
8376
  runId?: string;
8377
+ stepId?: string;
7666
8378
  };
7667
8379
  inputs?: Array<{
7668
8380
  datasetId: string;
@@ -7701,6 +8413,7 @@ export declare const getDatasetVersionOptions: (options: Options<GetDatasetVersi
7701
8413
  kind: "sync" | "pipeline" | "ingest";
7702
8414
  id?: string;
7703
8415
  runId?: string;
8416
+ stepId?: string;
7704
8417
  };
7705
8418
  inputs?: Array<{
7706
8419
  datasetId: string;
@@ -7725,6 +8438,7 @@ export declare const getDatasetVersionOptions: (options: Options<GetDatasetVersi
7725
8438
  kind: "sync" | "pipeline" | "ingest";
7726
8439
  id?: string;
7727
8440
  runId?: string;
8441
+ stepId?: string;
7728
8442
  };
7729
8443
  inputs?: Array<{
7730
8444
  datasetId: string;
@@ -7754,6 +8468,7 @@ export declare const getDatasetVersionOptions: (options: Options<GetDatasetVersi
7754
8468
  kind: "sync" | "pipeline" | "ingest";
7755
8469
  id?: string;
7756
8470
  runId?: string;
8471
+ stepId?: string;
7757
8472
  };
7758
8473
  inputs?: Array<{
7759
8474
  datasetId: string;
@@ -7789,6 +8504,7 @@ export declare const getDatasetVersionOptions: (options: Options<GetDatasetVersi
7789
8504
  kind: "sync" | "pipeline" | "ingest";
7790
8505
  id?: string;
7791
8506
  runId?: string;
8507
+ stepId?: string;
7792
8508
  };
7793
8509
  inputs?: Array<{
7794
8510
  datasetId: string;
@@ -7800,6 +8516,156 @@ export declare const getDatasetVersionOptions: (options: Options<GetDatasetVersi
7800
8516
  [dataTagErrorSymbol]: GetDatasetVersionError;
7801
8517
  };
7802
8518
  };
8519
+ export declare const getDatasetVersionLineageQueryKey: (options: Options<GetDatasetVersionLineageData>) => [Pick<Options<GetDatasetVersionLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
8520
+ _id: string;
8521
+ _infinite?: boolean;
8522
+ tags?: ReadonlyArray<string>;
8523
+ }];
8524
+ /**
8525
+ * Get the versions a dataset version is computed from
8526
+ *
8527
+ * Walks the version's inputs upstream, `depth` steps (1 to 20, default 5). A version whose dataset the caller cannot view is left out with everything upstream of it, and counted in `restricted`.
8528
+ */
8529
+ export declare const getDatasetVersionLineageOptions: (options: Options<GetDatasetVersionLineageData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
8530
+ nodes: Array<{
8531
+ datasetId: string;
8532
+ versionId: string;
8533
+ parentVersionId?: string;
8534
+ mode: "snapshot" | "append" | "merge" | "schema";
8535
+ createdAt: string;
8536
+ producer?: {
8537
+ kind: "sync" | "pipeline" | "ingest";
8538
+ id?: string;
8539
+ runId?: string;
8540
+ stepId?: string;
8541
+ };
8542
+ } | {
8543
+ datasetId: string;
8544
+ versionId: string;
8545
+ expired: true;
8546
+ }>;
8547
+ edges: Array<{
8548
+ from: {
8549
+ datasetId: string;
8550
+ versionId: string;
8551
+ };
8552
+ to: {
8553
+ datasetId: string;
8554
+ versionId: string;
8555
+ };
8556
+ }>;
8557
+ restricted: number;
8558
+ truncated: boolean;
8559
+ }, GetDatasetVersionLineageError, {
8560
+ nodes: Array<{
8561
+ datasetId: string;
8562
+ versionId: string;
8563
+ parentVersionId?: string;
8564
+ mode: "snapshot" | "append" | "merge" | "schema";
8565
+ createdAt: string;
8566
+ producer?: {
8567
+ kind: "sync" | "pipeline" | "ingest";
8568
+ id?: string;
8569
+ runId?: string;
8570
+ stepId?: string;
8571
+ };
8572
+ } | {
8573
+ datasetId: string;
8574
+ versionId: string;
8575
+ expired: true;
8576
+ }>;
8577
+ edges: Array<{
8578
+ from: {
8579
+ datasetId: string;
8580
+ versionId: string;
8581
+ };
8582
+ to: {
8583
+ datasetId: string;
8584
+ versionId: string;
8585
+ };
8586
+ }>;
8587
+ restricted: number;
8588
+ truncated: boolean;
8589
+ }, [Pick<Options<GetDatasetVersionLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
8590
+ _id: string;
8591
+ _infinite?: boolean;
8592
+ tags?: ReadonlyArray<string>;
8593
+ }]>, "queryFn"> & {
8594
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
8595
+ nodes: Array<{
8596
+ datasetId: string;
8597
+ versionId: string;
8598
+ parentVersionId?: string;
8599
+ mode: "snapshot" | "append" | "merge" | "schema";
8600
+ createdAt: string;
8601
+ producer?: {
8602
+ kind: "sync" | "pipeline" | "ingest";
8603
+ id?: string;
8604
+ runId?: string;
8605
+ stepId?: string;
8606
+ };
8607
+ } | {
8608
+ datasetId: string;
8609
+ versionId: string;
8610
+ expired: true;
8611
+ }>;
8612
+ edges: Array<{
8613
+ from: {
8614
+ datasetId: string;
8615
+ versionId: string;
8616
+ };
8617
+ to: {
8618
+ datasetId: string;
8619
+ versionId: string;
8620
+ };
8621
+ }>;
8622
+ restricted: number;
8623
+ truncated: boolean;
8624
+ }, [Pick<Options<GetDatasetVersionLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
8625
+ _id: string;
8626
+ _infinite?: boolean;
8627
+ tags?: ReadonlyArray<string>;
8628
+ }], never> | undefined;
8629
+ } & {
8630
+ queryKey: [Pick<Options<GetDatasetVersionLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
8631
+ _id: string;
8632
+ _infinite?: boolean;
8633
+ tags?: ReadonlyArray<string>;
8634
+ }] & {
8635
+ [dataTagSymbol]: {
8636
+ nodes: Array<{
8637
+ datasetId: string;
8638
+ versionId: string;
8639
+ parentVersionId?: string;
8640
+ mode: "snapshot" | "append" | "merge" | "schema";
8641
+ createdAt: string;
8642
+ producer?: {
8643
+ kind: "sync" | "pipeline" | "ingest";
8644
+ id?: string;
8645
+ runId?: string;
8646
+ stepId?: string;
8647
+ };
8648
+ } | {
8649
+ datasetId: string;
8650
+ versionId: string;
8651
+ expired: true;
8652
+ }>;
8653
+ edges: Array<{
8654
+ from: {
8655
+ datasetId: string;
8656
+ versionId: string;
8657
+ };
8658
+ to: {
8659
+ datasetId: string;
8660
+ versionId: string;
8661
+ };
8662
+ }>;
8663
+ restricted: number;
8664
+ truncated: boolean;
8665
+ };
8666
+ [dataTagErrorSymbol]: GetDatasetVersionLineageError;
8667
+ };
8668
+ };
7803
8669
  export declare const listDatasetRowsQueryKey: (options: Options<ListDatasetRowsData>) => [Pick<Options<ListDatasetRowsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
7804
8670
  _id: string;
7805
8671
  _infinite?: boolean;
@@ -7828,6 +8694,7 @@ export declare const listDatasetRowsOptions: (options: Options<ListDatasetRowsDa
7828
8694
  kind: "sync" | "pipeline" | "ingest";
7829
8695
  id?: string;
7830
8696
  runId?: string;
8697
+ stepId?: string;
7831
8698
  };
7832
8699
  inputs?: Array<{
7833
8700
  datasetId: string;
@@ -7870,6 +8737,7 @@ export declare const listDatasetRowsOptions: (options: Options<ListDatasetRowsDa
7870
8737
  kind: "sync" | "pipeline" | "ingest";
7871
8738
  id?: string;
7872
8739
  runId?: string;
8740
+ stepId?: string;
7873
8741
  };
7874
8742
  inputs?: Array<{
7875
8743
  datasetId: string;
@@ -7917,6 +8785,7 @@ export declare const listDatasetRowsOptions: (options: Options<ListDatasetRowsDa
7917
8785
  kind: "sync" | "pipeline" | "ingest";
7918
8786
  id?: string;
7919
8787
  runId?: string;
8788
+ stepId?: string;
7920
8789
  };
7921
8790
  inputs?: Array<{
7922
8791
  datasetId: string;
@@ -7970,6 +8839,7 @@ export declare const listDatasetRowsOptions: (options: Options<ListDatasetRowsDa
7970
8839
  kind: "sync" | "pipeline" | "ingest";
7971
8840
  id?: string;
7972
8841
  runId?: string;
8842
+ stepId?: string;
7973
8843
  };
7974
8844
  inputs?: Array<{
7975
8845
  datasetId: string;
@@ -8020,6 +8890,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
8020
8890
  kind: "sync" | "pipeline" | "ingest";
8021
8891
  id?: string;
8022
8892
  runId?: string;
8893
+ stepId?: string;
8023
8894
  };
8024
8895
  inputs?: Array<{
8025
8896
  datasetId: string;
@@ -8062,6 +8933,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
8062
8933
  kind: "sync" | "pipeline" | "ingest";
8063
8934
  id?: string;
8064
8935
  runId?: string;
8936
+ stepId?: string;
8065
8937
  };
8066
8938
  inputs?: Array<{
8067
8939
  datasetId: string;
@@ -8109,6 +8981,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
8109
8981
  kind: "sync" | "pipeline" | "ingest";
8110
8982
  id?: string;
8111
8983
  runId?: string;
8984
+ stepId?: string;
8112
8985
  };
8113
8986
  inputs?: Array<{
8114
8987
  datasetId: string;
@@ -8155,6 +9028,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
8155
9028
  kind: "sync" | "pipeline" | "ingest";
8156
9029
  id?: string;
8157
9030
  runId?: string;
9031
+ stepId?: string;
8158
9032
  };
8159
9033
  inputs?: Array<{
8160
9034
  datasetId: string;
@@ -8204,6 +9078,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
8204
9078
  kind: "sync" | "pipeline" | "ingest";
8205
9079
  id?: string;
8206
9080
  runId?: string;
9081
+ stepId?: string;
8207
9082
  };
8208
9083
  inputs?: Array<{
8209
9084
  datasetId: string;
@@ -12615,7 +13490,7 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
12615
13490
  } | {
12616
13491
  kind: "error";
12617
13492
  error: {
12618
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
13493
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
12619
13494
  message: string;
12620
13495
  retryable: boolean;
12621
13496
  at: string;
@@ -12694,6 +13569,17 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
12694
13569
  output: string | number | boolean | Array<unknown> | {
12695
13570
  [key: string]: unknown;
12696
13571
  } | null;
13572
+ outputFile?: {
13573
+ fileRef: {
13574
+ blobId: string;
13575
+ digest: string;
13576
+ sizeBytes: number;
13577
+ fileName?: string;
13578
+ mediaType?: string;
13579
+ logicalPath?: string;
13580
+ };
13581
+ path: string;
13582
+ };
12697
13583
  } | {
12698
13584
  type: "tool-call";
12699
13585
  toolCallId: string;
@@ -12722,7 +13608,7 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
12722
13608
  } | null>;
12723
13609
  failurePhase?: "agent-loop" | "structured-finalizer";
12724
13610
  error?: {
12725
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
13611
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
12726
13612
  message: string;
12727
13613
  retryable: boolean;
12728
13614
  at: string;
@@ -12819,7 +13705,7 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
12819
13705
  } | {
12820
13706
  kind: "error";
12821
13707
  error: {
12822
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
13708
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
12823
13709
  message: string;
12824
13710
  retryable: boolean;
12825
13711
  at: string;
@@ -12898,6 +13784,17 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
12898
13784
  output: string | number | boolean | Array<unknown> | {
12899
13785
  [key: string]: unknown;
12900
13786
  } | null;
13787
+ outputFile?: {
13788
+ fileRef: {
13789
+ blobId: string;
13790
+ digest: string;
13791
+ sizeBytes: number;
13792
+ fileName?: string;
13793
+ mediaType?: string;
13794
+ logicalPath?: string;
13795
+ };
13796
+ path: string;
13797
+ };
12901
13798
  } | {
12902
13799
  type: "tool-call";
12903
13800
  toolCallId: string;
@@ -12926,7 +13823,7 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
12926
13823
  } | null>;
12927
13824
  failurePhase?: "agent-loop" | "structured-finalizer";
12928
13825
  error?: {
12929
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
13826
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
12930
13827
  message: string;
12931
13828
  retryable: boolean;
12932
13829
  at: string;
@@ -13028,7 +13925,7 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
13028
13925
  } | {
13029
13926
  kind: "error";
13030
13927
  error: {
13031
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
13928
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
13032
13929
  message: string;
13033
13930
  retryable: boolean;
13034
13931
  at: string;
@@ -13107,6 +14004,17 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
13107
14004
  output: string | number | boolean | Array<unknown> | {
13108
14005
  [key: string]: unknown;
13109
14006
  } | null;
14007
+ outputFile?: {
14008
+ fileRef: {
14009
+ blobId: string;
14010
+ digest: string;
14011
+ sizeBytes: number;
14012
+ fileName?: string;
14013
+ mediaType?: string;
14014
+ logicalPath?: string;
14015
+ };
14016
+ path: string;
14017
+ };
13110
14018
  } | {
13111
14019
  type: "tool-call";
13112
14020
  toolCallId: string;
@@ -13135,7 +14043,7 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
13135
14043
  } | null>;
13136
14044
  failurePhase?: "agent-loop" | "structured-finalizer";
13137
14045
  error?: {
13138
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
14046
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
13139
14047
  message: string;
13140
14048
  retryable: boolean;
13141
14049
  at: string;
@@ -13243,7 +14151,7 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
13243
14151
  } | {
13244
14152
  kind: "error";
13245
14153
  error: {
13246
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
14154
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
13247
14155
  message: string;
13248
14156
  retryable: boolean;
13249
14157
  at: string;
@@ -13322,6 +14230,17 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
13322
14230
  output: string | number | boolean | Array<unknown> | {
13323
14231
  [key: string]: unknown;
13324
14232
  } | null;
14233
+ outputFile?: {
14234
+ fileRef: {
14235
+ blobId: string;
14236
+ digest: string;
14237
+ sizeBytes: number;
14238
+ fileName?: string;
14239
+ mediaType?: string;
14240
+ logicalPath?: string;
14241
+ };
14242
+ path: string;
14243
+ };
13325
14244
  } | {
13326
14245
  type: "tool-call";
13327
14246
  toolCallId: string;
@@ -13350,7 +14269,7 @@ export declare const getWorkflowAgentNodeExecutionOptions: (options: Options<Get
13350
14269
  } | null>;
13351
14270
  failurePhase?: "agent-loop" | "structured-finalizer";
13352
14271
  error?: {
13353
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
14272
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
13354
14273
  message: string;
13355
14274
  retryable: boolean;
13356
14275
  at: string;
@@ -15920,10 +16839,492 @@ export declare const getObjectOptions: (options: Options<GetObjectData>) => impo
15920
16839
  };
15921
16840
  };
15922
16841
  };
16842
+ export declare const getObjectLineageQueryKey: (options: Options<GetObjectLineageData>) => [Pick<Options<GetObjectLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
16843
+ _id: string;
16844
+ _infinite?: boolean;
16845
+ tags?: ReadonlyArray<string>;
16846
+ }];
15923
16847
  /**
15924
- * Create or update object
16848
+ * Get where an object's values come from
16849
+ *
16850
+ * What makes the object exist and what decided each property it holds, for the current state. Steps the caller cannot view are left out and counted in `restricted`.
15925
16851
  */
15926
- export declare const upsertObjectMutation: (options?: Partial<Options<UpsertObjectData>>) => UseMutationOptions<UpsertObjectResponse, UpsertObjectError, Options<UpsertObjectData>>;
16852
+ export declare const getObjectLineageOptions: (options: Options<GetObjectLineageData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
16853
+ objectTypeId: string;
16854
+ primaryId: string;
16855
+ existence: {
16856
+ source: string;
16857
+ };
16858
+ sources: {
16859
+ [key: string]: {
16860
+ kind: "projection";
16861
+ projectionId: string;
16862
+ projectionRunId?: string;
16863
+ datasetVersion?: {
16864
+ datasetId: string;
16865
+ versionId: string;
16866
+ };
16867
+ rowOrigins?: Array<{
16868
+ datasetId: string;
16869
+ column: string;
16870
+ }>;
16871
+ } | {
16872
+ kind: "edit";
16873
+ commitId: string | null;
16874
+ committedAt: string;
16875
+ requestedBy?: {
16876
+ type: "user" | "serviceAccount";
16877
+ id: string;
16878
+ };
16879
+ executor?: {
16880
+ type: "request";
16881
+ requestId: string;
16882
+ } | {
16883
+ type: "primitive";
16884
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
16885
+ id: string;
16886
+ runId: string;
16887
+ } | {
16888
+ type: "agent";
16889
+ runId: string;
16890
+ } | {
16891
+ type: "kernel";
16892
+ operation: {
16893
+ type: "ontology.recover";
16894
+ recoveryId: string;
16895
+ } | {
16896
+ type: "ontology.indexVectors";
16897
+ indexingId: string;
16898
+ };
16899
+ };
16900
+ action?: {
16901
+ actionId: string;
16902
+ runId: string;
16903
+ };
16904
+ } | {
16905
+ kind: "telemetry";
16906
+ commitId: string;
16907
+ committedAt: string;
16908
+ projectionId?: string;
16909
+ requestedBy?: {
16910
+ type: "user" | "serviceAccount";
16911
+ id: string;
16912
+ };
16913
+ executor?: {
16914
+ type: "request";
16915
+ requestId: string;
16916
+ } | {
16917
+ type: "primitive";
16918
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
16919
+ id: string;
16920
+ runId: string;
16921
+ } | {
16922
+ type: "agent";
16923
+ runId: string;
16924
+ } | {
16925
+ type: "kernel";
16926
+ operation: {
16927
+ type: "ontology.recover";
16928
+ recoveryId: string;
16929
+ } | {
16930
+ type: "ontology.indexVectors";
16931
+ indexingId: string;
16932
+ };
16933
+ };
16934
+ } | {
16935
+ kind: "identity";
16936
+ };
16937
+ };
16938
+ properties: {
16939
+ [key: string]: {
16940
+ source: string;
16941
+ column?: string;
16942
+ origins?: Array<{
16943
+ datasetId: string;
16944
+ column: string;
16945
+ }>;
16946
+ removed?: true;
16947
+ at?: string;
16948
+ replaced?: {
16949
+ source: string;
16950
+ column?: string;
16951
+ value?: string | number | boolean | Array<unknown> | {
16952
+ [key: string]: unknown;
16953
+ } | null;
16954
+ };
16955
+ resolution?: {
16956
+ strategy: "editsWin";
16957
+ } | {
16958
+ strategy: "mostRecent";
16959
+ sourceUpdatedAt: string;
16960
+ editedAt?: string;
16961
+ };
16962
+ };
16963
+ };
16964
+ restricted: number;
16965
+ }, {
16966
+ error: string;
16967
+ }, {
16968
+ objectTypeId: string;
16969
+ primaryId: string;
16970
+ existence: {
16971
+ source: string;
16972
+ };
16973
+ sources: {
16974
+ [key: string]: {
16975
+ kind: "projection";
16976
+ projectionId: string;
16977
+ projectionRunId?: string;
16978
+ datasetVersion?: {
16979
+ datasetId: string;
16980
+ versionId: string;
16981
+ };
16982
+ rowOrigins?: Array<{
16983
+ datasetId: string;
16984
+ column: string;
16985
+ }>;
16986
+ } | {
16987
+ kind: "edit";
16988
+ commitId: string | null;
16989
+ committedAt: string;
16990
+ requestedBy?: {
16991
+ type: "user" | "serviceAccount";
16992
+ id: string;
16993
+ };
16994
+ executor?: {
16995
+ type: "request";
16996
+ requestId: string;
16997
+ } | {
16998
+ type: "primitive";
16999
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
17000
+ id: string;
17001
+ runId: string;
17002
+ } | {
17003
+ type: "agent";
17004
+ runId: string;
17005
+ } | {
17006
+ type: "kernel";
17007
+ operation: {
17008
+ type: "ontology.recover";
17009
+ recoveryId: string;
17010
+ } | {
17011
+ type: "ontology.indexVectors";
17012
+ indexingId: string;
17013
+ };
17014
+ };
17015
+ action?: {
17016
+ actionId: string;
17017
+ runId: string;
17018
+ };
17019
+ } | {
17020
+ kind: "telemetry";
17021
+ commitId: string;
17022
+ committedAt: string;
17023
+ projectionId?: string;
17024
+ requestedBy?: {
17025
+ type: "user" | "serviceAccount";
17026
+ id: string;
17027
+ };
17028
+ executor?: {
17029
+ type: "request";
17030
+ requestId: string;
17031
+ } | {
17032
+ type: "primitive";
17033
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
17034
+ id: string;
17035
+ runId: string;
17036
+ } | {
17037
+ type: "agent";
17038
+ runId: string;
17039
+ } | {
17040
+ type: "kernel";
17041
+ operation: {
17042
+ type: "ontology.recover";
17043
+ recoveryId: string;
17044
+ } | {
17045
+ type: "ontology.indexVectors";
17046
+ indexingId: string;
17047
+ };
17048
+ };
17049
+ } | {
17050
+ kind: "identity";
17051
+ };
17052
+ };
17053
+ properties: {
17054
+ [key: string]: {
17055
+ source: string;
17056
+ column?: string;
17057
+ origins?: Array<{
17058
+ datasetId: string;
17059
+ column: string;
17060
+ }>;
17061
+ removed?: true;
17062
+ at?: string;
17063
+ replaced?: {
17064
+ source: string;
17065
+ column?: string;
17066
+ value?: string | number | boolean | Array<unknown> | {
17067
+ [key: string]: unknown;
17068
+ } | null;
17069
+ };
17070
+ resolution?: {
17071
+ strategy: "editsWin";
17072
+ } | {
17073
+ strategy: "mostRecent";
17074
+ sourceUpdatedAt: string;
17075
+ editedAt?: string;
17076
+ };
17077
+ };
17078
+ };
17079
+ restricted: number;
17080
+ }, [Pick<Options<GetObjectLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
17081
+ _id: string;
17082
+ _infinite?: boolean;
17083
+ tags?: ReadonlyArray<string>;
17084
+ }]>, "queryFn"> & {
17085
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
17086
+ objectTypeId: string;
17087
+ primaryId: string;
17088
+ existence: {
17089
+ source: string;
17090
+ };
17091
+ sources: {
17092
+ [key: string]: {
17093
+ kind: "projection";
17094
+ projectionId: string;
17095
+ projectionRunId?: string;
17096
+ datasetVersion?: {
17097
+ datasetId: string;
17098
+ versionId: string;
17099
+ };
17100
+ rowOrigins?: Array<{
17101
+ datasetId: string;
17102
+ column: string;
17103
+ }>;
17104
+ } | {
17105
+ kind: "edit";
17106
+ commitId: string | null;
17107
+ committedAt: string;
17108
+ requestedBy?: {
17109
+ type: "user" | "serviceAccount";
17110
+ id: string;
17111
+ };
17112
+ executor?: {
17113
+ type: "request";
17114
+ requestId: string;
17115
+ } | {
17116
+ type: "primitive";
17117
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
17118
+ id: string;
17119
+ runId: string;
17120
+ } | {
17121
+ type: "agent";
17122
+ runId: string;
17123
+ } | {
17124
+ type: "kernel";
17125
+ operation: {
17126
+ type: "ontology.recover";
17127
+ recoveryId: string;
17128
+ } | {
17129
+ type: "ontology.indexVectors";
17130
+ indexingId: string;
17131
+ };
17132
+ };
17133
+ action?: {
17134
+ actionId: string;
17135
+ runId: string;
17136
+ };
17137
+ } | {
17138
+ kind: "telemetry";
17139
+ commitId: string;
17140
+ committedAt: string;
17141
+ projectionId?: string;
17142
+ requestedBy?: {
17143
+ type: "user" | "serviceAccount";
17144
+ id: string;
17145
+ };
17146
+ executor?: {
17147
+ type: "request";
17148
+ requestId: string;
17149
+ } | {
17150
+ type: "primitive";
17151
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
17152
+ id: string;
17153
+ runId: string;
17154
+ } | {
17155
+ type: "agent";
17156
+ runId: string;
17157
+ } | {
17158
+ type: "kernel";
17159
+ operation: {
17160
+ type: "ontology.recover";
17161
+ recoveryId: string;
17162
+ } | {
17163
+ type: "ontology.indexVectors";
17164
+ indexingId: string;
17165
+ };
17166
+ };
17167
+ } | {
17168
+ kind: "identity";
17169
+ };
17170
+ };
17171
+ properties: {
17172
+ [key: string]: {
17173
+ source: string;
17174
+ column?: string;
17175
+ origins?: Array<{
17176
+ datasetId: string;
17177
+ column: string;
17178
+ }>;
17179
+ removed?: true;
17180
+ at?: string;
17181
+ replaced?: {
17182
+ source: string;
17183
+ column?: string;
17184
+ value?: string | number | boolean | Array<unknown> | {
17185
+ [key: string]: unknown;
17186
+ } | null;
17187
+ };
17188
+ resolution?: {
17189
+ strategy: "editsWin";
17190
+ } | {
17191
+ strategy: "mostRecent";
17192
+ sourceUpdatedAt: string;
17193
+ editedAt?: string;
17194
+ };
17195
+ };
17196
+ };
17197
+ restricted: number;
17198
+ }, [Pick<Options<GetObjectLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
17199
+ _id: string;
17200
+ _infinite?: boolean;
17201
+ tags?: ReadonlyArray<string>;
17202
+ }], never> | undefined;
17203
+ } & {
17204
+ queryKey: [Pick<Options<GetObjectLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
17205
+ _id: string;
17206
+ _infinite?: boolean;
17207
+ tags?: ReadonlyArray<string>;
17208
+ }] & {
17209
+ [dataTagSymbol]: {
17210
+ objectTypeId: string;
17211
+ primaryId: string;
17212
+ existence: {
17213
+ source: string;
17214
+ };
17215
+ sources: {
17216
+ [key: string]: {
17217
+ kind: "projection";
17218
+ projectionId: string;
17219
+ projectionRunId?: string;
17220
+ datasetVersion?: {
17221
+ datasetId: string;
17222
+ versionId: string;
17223
+ };
17224
+ rowOrigins?: Array<{
17225
+ datasetId: string;
17226
+ column: string;
17227
+ }>;
17228
+ } | {
17229
+ kind: "edit";
17230
+ commitId: string | null;
17231
+ committedAt: string;
17232
+ requestedBy?: {
17233
+ type: "user" | "serviceAccount";
17234
+ id: string;
17235
+ };
17236
+ executor?: {
17237
+ type: "request";
17238
+ requestId: string;
17239
+ } | {
17240
+ type: "primitive";
17241
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
17242
+ id: string;
17243
+ runId: string;
17244
+ } | {
17245
+ type: "agent";
17246
+ runId: string;
17247
+ } | {
17248
+ type: "kernel";
17249
+ operation: {
17250
+ type: "ontology.recover";
17251
+ recoveryId: string;
17252
+ } | {
17253
+ type: "ontology.indexVectors";
17254
+ indexingId: string;
17255
+ };
17256
+ };
17257
+ action?: {
17258
+ actionId: string;
17259
+ runId: string;
17260
+ };
17261
+ } | {
17262
+ kind: "telemetry";
17263
+ commitId: string;
17264
+ committedAt: string;
17265
+ projectionId?: string;
17266
+ requestedBy?: {
17267
+ type: "user" | "serviceAccount";
17268
+ id: string;
17269
+ };
17270
+ executor?: {
17271
+ type: "request";
17272
+ requestId: string;
17273
+ } | {
17274
+ type: "primitive";
17275
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
17276
+ id: string;
17277
+ runId: string;
17278
+ } | {
17279
+ type: "agent";
17280
+ runId: string;
17281
+ } | {
17282
+ type: "kernel";
17283
+ operation: {
17284
+ type: "ontology.recover";
17285
+ recoveryId: string;
17286
+ } | {
17287
+ type: "ontology.indexVectors";
17288
+ indexingId: string;
17289
+ };
17290
+ };
17291
+ } | {
17292
+ kind: "identity";
17293
+ };
17294
+ };
17295
+ properties: {
17296
+ [key: string]: {
17297
+ source: string;
17298
+ column?: string;
17299
+ origins?: Array<{
17300
+ datasetId: string;
17301
+ column: string;
17302
+ }>;
17303
+ removed?: true;
17304
+ at?: string;
17305
+ replaced?: {
17306
+ source: string;
17307
+ column?: string;
17308
+ value?: string | number | boolean | Array<unknown> | {
17309
+ [key: string]: unknown;
17310
+ } | null;
17311
+ };
17312
+ resolution?: {
17313
+ strategy: "editsWin";
17314
+ } | {
17315
+ strategy: "mostRecent";
17316
+ sourceUpdatedAt: string;
17317
+ editedAt?: string;
17318
+ };
17319
+ };
17320
+ };
17321
+ restricted: number;
17322
+ };
17323
+ [dataTagErrorSymbol]: {
17324
+ error: string;
17325
+ };
17326
+ };
17327
+ };
15927
17328
  /**
15928
17329
  * Get object by a unique property
15929
17330
  *
@@ -17011,6 +18412,14 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
17011
18412
  [key: string]: unknown;
17012
18413
  } | null;
17013
18414
  };
18415
+ runsOn?: "computer";
18416
+ computer?: {
18417
+ id: string;
18418
+ name: string;
18419
+ folder: string;
18420
+ online: boolean;
18421
+ };
18422
+ movedAt?: string;
17014
18423
  status: "active" | "archived";
17015
18424
  activeRunId: string | null;
17016
18425
  lastMessageAt?: string;
@@ -17064,6 +18473,14 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
17064
18473
  [key: string]: unknown;
17065
18474
  } | null;
17066
18475
  };
18476
+ runsOn?: "computer";
18477
+ computer?: {
18478
+ id: string;
18479
+ name: string;
18480
+ folder: string;
18481
+ online: boolean;
18482
+ };
18483
+ movedAt?: string;
17067
18484
  status: "active" | "archived";
17068
18485
  activeRunId: string | null;
17069
18486
  lastMessageAt?: string;
@@ -17122,6 +18539,14 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
17122
18539
  [key: string]: unknown;
17123
18540
  } | null;
17124
18541
  };
18542
+ runsOn?: "computer";
18543
+ computer?: {
18544
+ id: string;
18545
+ name: string;
18546
+ folder: string;
18547
+ online: boolean;
18548
+ };
18549
+ movedAt?: string;
17125
18550
  status: "active" | "archived";
17126
18551
  activeRunId: string | null;
17127
18552
  lastMessageAt?: string;
@@ -17186,6 +18611,14 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
17186
18611
  [key: string]: unknown;
17187
18612
  } | null;
17188
18613
  };
18614
+ runsOn?: "computer";
18615
+ computer?: {
18616
+ id: string;
18617
+ name: string;
18618
+ folder: string;
18619
+ online: boolean;
18620
+ };
18621
+ movedAt?: string;
17189
18622
  status: "active" | "archived";
17190
18623
  activeRunId: string | null;
17191
18624
  lastMessageAt?: string;
@@ -17247,6 +18680,14 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
17247
18680
  [key: string]: unknown;
17248
18681
  } | null;
17249
18682
  };
18683
+ runsOn?: "computer";
18684
+ computer?: {
18685
+ id: string;
18686
+ name: string;
18687
+ folder: string;
18688
+ online: boolean;
18689
+ };
18690
+ movedAt?: string;
17250
18691
  status: "active" | "archived";
17251
18692
  activeRunId: string | null;
17252
18693
  lastMessageAt?: string;
@@ -17300,6 +18741,14 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
17300
18741
  [key: string]: unknown;
17301
18742
  } | null;
17302
18743
  };
18744
+ runsOn?: "computer";
18745
+ computer?: {
18746
+ id: string;
18747
+ name: string;
18748
+ folder: string;
18749
+ online: boolean;
18750
+ };
18751
+ movedAt?: string;
17303
18752
  status: "active" | "archived";
17304
18753
  activeRunId: string | null;
17305
18754
  lastMessageAt?: string;
@@ -17358,6 +18807,14 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
17358
18807
  [key: string]: unknown;
17359
18808
  } | null;
17360
18809
  };
18810
+ runsOn?: "computer";
18811
+ computer?: {
18812
+ id: string;
18813
+ name: string;
18814
+ folder: string;
18815
+ online: boolean;
18816
+ };
18817
+ movedAt?: string;
17361
18818
  status: "active" | "archived";
17362
18819
  activeRunId: string | null;
17363
18820
  lastMessageAt?: string;
@@ -17415,6 +18872,14 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
17415
18872
  [key: string]: unknown;
17416
18873
  } | null;
17417
18874
  };
18875
+ runsOn?: "computer";
18876
+ computer?: {
18877
+ id: string;
18878
+ name: string;
18879
+ folder: string;
18880
+ online: boolean;
18881
+ };
18882
+ movedAt?: string;
17418
18883
  status: "active" | "archived";
17419
18884
  activeRunId: string | null;
17420
18885
  lastMessageAt?: string;
@@ -17475,6 +18940,14 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
17475
18940
  [key: string]: unknown;
17476
18941
  } | null;
17477
18942
  };
18943
+ runsOn?: "computer";
18944
+ computer?: {
18945
+ id: string;
18946
+ name: string;
18947
+ folder: string;
18948
+ online: boolean;
18949
+ };
18950
+ movedAt?: string;
17478
18951
  status: "active" | "archived";
17479
18952
  activeRunId: string | null;
17480
18953
  lastMessageAt?: string;
@@ -17543,6 +19016,14 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
17543
19016
  [key: string]: unknown;
17544
19017
  } | null;
17545
19018
  };
19019
+ runsOn?: "computer";
19020
+ computer?: {
19021
+ id: string;
19022
+ name: string;
19023
+ folder: string;
19024
+ online: boolean;
19025
+ };
19026
+ movedAt?: string;
17546
19027
  status: "active" | "archived";
17547
19028
  activeRunId: string | null;
17548
19029
  lastMessageAt?: string;
@@ -17592,6 +19073,14 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
17592
19073
  [key: string]: unknown;
17593
19074
  } | null;
17594
19075
  };
19076
+ runsOn?: "computer";
19077
+ computer?: {
19078
+ id: string;
19079
+ name: string;
19080
+ folder: string;
19081
+ online: boolean;
19082
+ };
19083
+ movedAt?: string;
17595
19084
  status: "active" | "archived";
17596
19085
  activeRunId: string | null;
17597
19086
  lastMessageAt?: string;
@@ -17646,6 +19135,14 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
17646
19135
  [key: string]: unknown;
17647
19136
  } | null;
17648
19137
  };
19138
+ runsOn?: "computer";
19139
+ computer?: {
19140
+ id: string;
19141
+ name: string;
19142
+ folder: string;
19143
+ online: boolean;
19144
+ };
19145
+ movedAt?: string;
17649
19146
  status: "active" | "archived";
17650
19147
  activeRunId: string | null;
17651
19148
  lastMessageAt?: string;
@@ -17706,6 +19203,14 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
17706
19203
  [key: string]: unknown;
17707
19204
  } | null;
17708
19205
  };
19206
+ runsOn?: "computer";
19207
+ computer?: {
19208
+ id: string;
19209
+ name: string;
19210
+ folder: string;
19211
+ online: boolean;
19212
+ };
19213
+ movedAt?: string;
17709
19214
  status: "active" | "archived";
17710
19215
  activeRunId: string | null;
17711
19216
  lastMessageAt?: string;
@@ -17721,7 +19226,7 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
17721
19226
  /**
17722
19227
  * Add participants to an agent thread
17723
19228
  *
17724
- * Only the thread's owner adds participants: active users of the project, by id or by email. They read the whole conversation, its files and its live stream, and send messages that run with their own rights. Nothing checks what they may see: the conversation holds what the Agent read with the rights of whoever asked.
19229
+ * Only the thread's owner adds participants: active users of the project, by id or by email. They read the whole conversation, its files and its live stream, and send messages that run with their own rights; a thread that runs on its owner's computer they only read. Nothing checks what they may see: the conversation holds what the Agent read with the rights of whoever asked.
17725
19230
  */
17726
19231
  export declare const addAgentThreadParticipantsMutation: (options?: Partial<Options<AddAgentThreadParticipantsData>>) => UseMutationOptions<AddAgentThreadParticipantsResponse, AddAgentThreadParticipantsError, Options<AddAgentThreadParticipantsData>>;
17727
19232
  /**
@@ -17809,7 +19314,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
17809
19314
  } | {
17810
19315
  kind: "error";
17811
19316
  error: {
17812
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
19317
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
17813
19318
  message: string;
17814
19319
  retryable: boolean;
17815
19320
  at: string;
@@ -17888,6 +19393,17 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
17888
19393
  output: string | number | boolean | Array<unknown> | {
17889
19394
  [key: string]: unknown;
17890
19395
  } | null;
19396
+ outputFile?: {
19397
+ fileRef: {
19398
+ blobId: string;
19399
+ digest: string;
19400
+ sizeBytes: number;
19401
+ fileName?: string;
19402
+ mediaType?: string;
19403
+ logicalPath?: string;
19404
+ };
19405
+ path: string;
19406
+ };
17891
19407
  } | {
17892
19408
  type: "tool-call";
17893
19409
  toolCallId: string;
@@ -17919,6 +19435,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
17919
19435
  }>;
17920
19436
  compaction?: {
17921
19437
  checkpointId: string;
19438
+ reason: "threshold" | "overflow";
17922
19439
  summary: string;
17923
19440
  createdAt: string;
17924
19441
  };
@@ -17999,7 +19516,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
17999
19516
  } | {
18000
19517
  kind: "error";
18001
19518
  error: {
18002
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
19519
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
18003
19520
  message: string;
18004
19521
  retryable: boolean;
18005
19522
  at: string;
@@ -18078,6 +19595,17 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
18078
19595
  output: string | number | boolean | Array<unknown> | {
18079
19596
  [key: string]: unknown;
18080
19597
  } | null;
19598
+ outputFile?: {
19599
+ fileRef: {
19600
+ blobId: string;
19601
+ digest: string;
19602
+ sizeBytes: number;
19603
+ fileName?: string;
19604
+ mediaType?: string;
19605
+ logicalPath?: string;
19606
+ };
19607
+ path: string;
19608
+ };
18081
19609
  } | {
18082
19610
  type: "tool-call";
18083
19611
  toolCallId: string;
@@ -18109,6 +19637,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
18109
19637
  }>;
18110
19638
  compaction?: {
18111
19639
  checkpointId: string;
19640
+ reason: "threshold" | "overflow";
18112
19641
  summary: string;
18113
19642
  createdAt: string;
18114
19643
  };
@@ -18194,7 +19723,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
18194
19723
  } | {
18195
19724
  kind: "error";
18196
19725
  error: {
18197
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
19726
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
18198
19727
  message: string;
18199
19728
  retryable: boolean;
18200
19729
  at: string;
@@ -18273,6 +19802,17 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
18273
19802
  output: string | number | boolean | Array<unknown> | {
18274
19803
  [key: string]: unknown;
18275
19804
  } | null;
19805
+ outputFile?: {
19806
+ fileRef: {
19807
+ blobId: string;
19808
+ digest: string;
19809
+ sizeBytes: number;
19810
+ fileName?: string;
19811
+ mediaType?: string;
19812
+ logicalPath?: string;
19813
+ };
19814
+ path: string;
19815
+ };
18276
19816
  } | {
18277
19817
  type: "tool-call";
18278
19818
  toolCallId: string;
@@ -18304,6 +19844,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
18304
19844
  }>;
18305
19845
  compaction?: {
18306
19846
  checkpointId: string;
19847
+ reason: "threshold" | "overflow";
18307
19848
  summary: string;
18308
19849
  createdAt: string;
18309
19850
  };
@@ -18395,7 +19936,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
18395
19936
  } | {
18396
19937
  kind: "error";
18397
19938
  error: {
18398
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
19939
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
18399
19940
  message: string;
18400
19941
  retryable: boolean;
18401
19942
  at: string;
@@ -18474,6 +20015,17 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
18474
20015
  output: string | number | boolean | Array<unknown> | {
18475
20016
  [key: string]: unknown;
18476
20017
  } | null;
20018
+ outputFile?: {
20019
+ fileRef: {
20020
+ blobId: string;
20021
+ digest: string;
20022
+ sizeBytes: number;
20023
+ fileName?: string;
20024
+ mediaType?: string;
20025
+ logicalPath?: string;
20026
+ };
20027
+ path: string;
20028
+ };
18477
20029
  } | {
18478
20030
  type: "tool-call";
18479
20031
  toolCallId: string;
@@ -18505,6 +20057,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
18505
20057
  }>;
18506
20058
  compaction?: {
18507
20059
  checkpointId: string;
20060
+ reason: "threshold" | "overflow";
18508
20061
  summary: string;
18509
20062
  createdAt: string;
18510
20063
  };
@@ -18593,7 +20146,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
18593
20146
  } | {
18594
20147
  kind: "error";
18595
20148
  error: {
18596
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20149
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
18597
20150
  message: string;
18598
20151
  retryable: boolean;
18599
20152
  at: string;
@@ -18672,6 +20225,17 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
18672
20225
  output: string | number | boolean | Array<unknown> | {
18673
20226
  [key: string]: unknown;
18674
20227
  } | null;
20228
+ outputFile?: {
20229
+ fileRef: {
20230
+ blobId: string;
20231
+ digest: string;
20232
+ sizeBytes: number;
20233
+ fileName?: string;
20234
+ mediaType?: string;
20235
+ logicalPath?: string;
20236
+ };
20237
+ path: string;
20238
+ };
18675
20239
  } | {
18676
20240
  type: "tool-call";
18677
20241
  toolCallId: string;
@@ -18703,6 +20267,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
18703
20267
  }>;
18704
20268
  compaction?: {
18705
20269
  checkpointId: string;
20270
+ reason: "threshold" | "overflow";
18706
20271
  summary: string;
18707
20272
  createdAt: string;
18708
20273
  };
@@ -18783,7 +20348,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
18783
20348
  } | {
18784
20349
  kind: "error";
18785
20350
  error: {
18786
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20351
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
18787
20352
  message: string;
18788
20353
  retryable: boolean;
18789
20354
  at: string;
@@ -18862,6 +20427,17 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
18862
20427
  output: string | number | boolean | Array<unknown> | {
18863
20428
  [key: string]: unknown;
18864
20429
  } | null;
20430
+ outputFile?: {
20431
+ fileRef: {
20432
+ blobId: string;
20433
+ digest: string;
20434
+ sizeBytes: number;
20435
+ fileName?: string;
20436
+ mediaType?: string;
20437
+ logicalPath?: string;
20438
+ };
20439
+ path: string;
20440
+ };
18865
20441
  } | {
18866
20442
  type: "tool-call";
18867
20443
  toolCallId: string;
@@ -18893,6 +20469,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
18893
20469
  }>;
18894
20470
  compaction?: {
18895
20471
  checkpointId: string;
20472
+ reason: "threshold" | "overflow";
18896
20473
  summary: string;
18897
20474
  createdAt: string;
18898
20475
  };
@@ -18978,7 +20555,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
18978
20555
  } | {
18979
20556
  kind: "error";
18980
20557
  error: {
18981
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20558
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
18982
20559
  message: string;
18983
20560
  retryable: boolean;
18984
20561
  at: string;
@@ -19057,6 +20634,17 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
19057
20634
  output: string | number | boolean | Array<unknown> | {
19058
20635
  [key: string]: unknown;
19059
20636
  } | null;
20637
+ outputFile?: {
20638
+ fileRef: {
20639
+ blobId: string;
20640
+ digest: string;
20641
+ sizeBytes: number;
20642
+ fileName?: string;
20643
+ mediaType?: string;
20644
+ logicalPath?: string;
20645
+ };
20646
+ path: string;
20647
+ };
19060
20648
  } | {
19061
20649
  type: "tool-call";
19062
20650
  toolCallId: string;
@@ -19088,6 +20676,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
19088
20676
  }>;
19089
20677
  compaction?: {
19090
20678
  checkpointId: string;
20679
+ reason: "threshold" | "overflow";
19091
20680
  summary: string;
19092
20681
  createdAt: string;
19093
20682
  };
@@ -19172,7 +20761,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
19172
20761
  } | {
19173
20762
  kind: "error";
19174
20763
  error: {
19175
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20764
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
19176
20765
  message: string;
19177
20766
  retryable: boolean;
19178
20767
  at: string;
@@ -19251,6 +20840,17 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
19251
20840
  output: string | number | boolean | Array<unknown> | {
19252
20841
  [key: string]: unknown;
19253
20842
  } | null;
20843
+ outputFile?: {
20844
+ fileRef: {
20845
+ blobId: string;
20846
+ digest: string;
20847
+ sizeBytes: number;
20848
+ fileName?: string;
20849
+ mediaType?: string;
20850
+ logicalPath?: string;
20851
+ };
20852
+ path: string;
20853
+ };
19254
20854
  } | {
19255
20855
  type: "tool-call";
19256
20856
  toolCallId: string;
@@ -19282,6 +20882,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
19282
20882
  }>;
19283
20883
  compaction?: {
19284
20884
  checkpointId: string;
20885
+ reason: "threshold" | "overflow";
19285
20886
  summary: string;
19286
20887
  createdAt: string;
19287
20888
  };
@@ -19369,7 +20970,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
19369
20970
  } | {
19370
20971
  kind: "error";
19371
20972
  error: {
19372
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20973
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
19373
20974
  message: string;
19374
20975
  retryable: boolean;
19375
20976
  at: string;
@@ -19448,6 +21049,17 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
19448
21049
  output: string | number | boolean | Array<unknown> | {
19449
21050
  [key: string]: unknown;
19450
21051
  } | null;
21052
+ outputFile?: {
21053
+ fileRef: {
21054
+ blobId: string;
21055
+ digest: string;
21056
+ sizeBytes: number;
21057
+ fileName?: string;
21058
+ mediaType?: string;
21059
+ logicalPath?: string;
21060
+ };
21061
+ path: string;
21062
+ };
19451
21063
  } | {
19452
21064
  type: "tool-call";
19453
21065
  toolCallId: string;
@@ -19479,6 +21091,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
19479
21091
  }>;
19480
21092
  compaction?: {
19481
21093
  checkpointId: string;
21094
+ reason: "threshold" | "overflow";
19482
21095
  summary: string;
19483
21096
  createdAt: string;
19484
21097
  };
@@ -19544,6 +21157,132 @@ export declare const cancelAgentRunMutation: (options?: Partial<Options<CancelAg
19544
21157
  * Only whoever asked for the run can retry it: it runs again with their rights.
19545
21158
  */
19546
21159
  export declare const retryAgentRunMutation: (options?: Partial<Options<RetryAgentRunData>>) => UseMutationOptions<RetryAgentRunResponse, RetryAgentRunError, Options<RetryAgentRunData>>;
21160
+ export declare const getAgentThreadContextQueryKey: (options: Options<GetAgentThreadContextData>) => [Pick<Options<GetAgentThreadContextData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21161
+ _id: string;
21162
+ _infinite?: boolean;
21163
+ tags?: ReadonlyArray<string>;
21164
+ }];
21165
+ /**
21166
+ * Measure an agent thread's context against a model's limits
21167
+ *
21168
+ * What the conversation's next request starts from, the model's limit, and the latest compaction. Read by the context meter after each turn.
21169
+ */
21170
+ export declare const getAgentThreadContextOptions: (options: Options<GetAgentThreadContextData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
21171
+ model: {
21172
+ provider: string;
21173
+ modelId: string;
21174
+ };
21175
+ windowTokens: number;
21176
+ limitTokens: number;
21177
+ usedTokens?: number;
21178
+ parts?: Array<{
21179
+ part: "system" | "instructions" | "memory" | "skills" | "ontology" | "tools" | "summary" | "messages" | "toolResults" | "files";
21180
+ tokens: number;
21181
+ }>;
21182
+ lastCall?: {
21183
+ inputTokens: number;
21184
+ outputTokens?: number;
21185
+ cacheReadInputTokens?: number;
21186
+ occurredAt: string;
21187
+ };
21188
+ lastCompaction?: {
21189
+ reason: "threshold" | "overflow";
21190
+ createdAt: string;
21191
+ estimatedInputTokensBefore: number;
21192
+ estimatedInputTokensAfter: number;
21193
+ };
21194
+ }, GetAgentThreadContextError, {
21195
+ model: {
21196
+ provider: string;
21197
+ modelId: string;
21198
+ };
21199
+ windowTokens: number;
21200
+ limitTokens: number;
21201
+ usedTokens?: number;
21202
+ parts?: Array<{
21203
+ part: "system" | "instructions" | "memory" | "skills" | "ontology" | "tools" | "summary" | "messages" | "toolResults" | "files";
21204
+ tokens: number;
21205
+ }>;
21206
+ lastCall?: {
21207
+ inputTokens: number;
21208
+ outputTokens?: number;
21209
+ cacheReadInputTokens?: number;
21210
+ occurredAt: string;
21211
+ };
21212
+ lastCompaction?: {
21213
+ reason: "threshold" | "overflow";
21214
+ createdAt: string;
21215
+ estimatedInputTokensBefore: number;
21216
+ estimatedInputTokensAfter: number;
21217
+ };
21218
+ }, [Pick<Options<GetAgentThreadContextData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21219
+ _id: string;
21220
+ _infinite?: boolean;
21221
+ tags?: ReadonlyArray<string>;
21222
+ }]>, "queryFn"> & {
21223
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
21224
+ model: {
21225
+ provider: string;
21226
+ modelId: string;
21227
+ };
21228
+ windowTokens: number;
21229
+ limitTokens: number;
21230
+ usedTokens?: number;
21231
+ parts?: Array<{
21232
+ part: "system" | "instructions" | "memory" | "skills" | "ontology" | "tools" | "summary" | "messages" | "toolResults" | "files";
21233
+ tokens: number;
21234
+ }>;
21235
+ lastCall?: {
21236
+ inputTokens: number;
21237
+ outputTokens?: number;
21238
+ cacheReadInputTokens?: number;
21239
+ occurredAt: string;
21240
+ };
21241
+ lastCompaction?: {
21242
+ reason: "threshold" | "overflow";
21243
+ createdAt: string;
21244
+ estimatedInputTokensBefore: number;
21245
+ estimatedInputTokensAfter: number;
21246
+ };
21247
+ }, [Pick<Options<GetAgentThreadContextData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21248
+ _id: string;
21249
+ _infinite?: boolean;
21250
+ tags?: ReadonlyArray<string>;
21251
+ }], never> | undefined;
21252
+ } & {
21253
+ queryKey: [Pick<Options<GetAgentThreadContextData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21254
+ _id: string;
21255
+ _infinite?: boolean;
21256
+ tags?: ReadonlyArray<string>;
21257
+ }] & {
21258
+ [dataTagSymbol]: {
21259
+ model: {
21260
+ provider: string;
21261
+ modelId: string;
21262
+ };
21263
+ windowTokens: number;
21264
+ limitTokens: number;
21265
+ usedTokens?: number;
21266
+ parts?: Array<{
21267
+ part: "system" | "instructions" | "memory" | "skills" | "ontology" | "tools" | "summary" | "messages" | "toolResults" | "files";
21268
+ tokens: number;
21269
+ }>;
21270
+ lastCall?: {
21271
+ inputTokens: number;
21272
+ outputTokens?: number;
21273
+ cacheReadInputTokens?: number;
21274
+ occurredAt: string;
21275
+ };
21276
+ lastCompaction?: {
21277
+ reason: "threshold" | "overflow";
21278
+ createdAt: string;
21279
+ estimatedInputTokensBefore: number;
21280
+ estimatedInputTokensAfter: number;
21281
+ };
21282
+ };
21283
+ [dataTagErrorSymbol]: GetAgentThreadContextError;
21284
+ };
21285
+ };
19547
21286
  export declare const listAgentThreadRunsQueryKey: (options: Options<ListAgentThreadRunsData>) => [Pick<Options<ListAgentThreadRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
19548
21287
  _id: string;
19549
21288
  _infinite?: boolean;
@@ -19574,6 +21313,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
19574
21313
  budgetTokens: number;
19575
21314
  };
19576
21315
  approvalMode?: "manual" | "accept-edits" | "auto";
21316
+ runsOn?: "computer";
19577
21317
  modelId?: string;
19578
21318
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19579
21319
  usage?: {
@@ -19608,7 +21348,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
19608
21348
  message: string;
19609
21349
  }>;
19610
21350
  error?: {
19611
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
21351
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19612
21352
  message: string;
19613
21353
  retryable: boolean;
19614
21354
  at: string;
@@ -19649,6 +21389,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
19649
21389
  budgetTokens: number;
19650
21390
  };
19651
21391
  approvalMode?: "manual" | "accept-edits" | "auto";
21392
+ runsOn?: "computer";
19652
21393
  modelId?: string;
19653
21394
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19654
21395
  usage?: {
@@ -19683,7 +21424,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
19683
21424
  message: string;
19684
21425
  }>;
19685
21426
  error?: {
19686
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
21427
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19687
21428
  message: string;
19688
21429
  retryable: boolean;
19689
21430
  at: string;
@@ -19729,6 +21470,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
19729
21470
  budgetTokens: number;
19730
21471
  };
19731
21472
  approvalMode?: "manual" | "accept-edits" | "auto";
21473
+ runsOn?: "computer";
19732
21474
  modelId?: string;
19733
21475
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19734
21476
  usage?: {
@@ -19763,7 +21505,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
19763
21505
  message: string;
19764
21506
  }>;
19765
21507
  error?: {
19766
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
21508
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19767
21509
  message: string;
19768
21510
  retryable: boolean;
19769
21511
  at: string;
@@ -19815,6 +21557,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
19815
21557
  budgetTokens: number;
19816
21558
  };
19817
21559
  approvalMode?: "manual" | "accept-edits" | "auto";
21560
+ runsOn?: "computer";
19818
21561
  modelId?: string;
19819
21562
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19820
21563
  usage?: {
@@ -19849,7 +21592,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
19849
21592
  message: string;
19850
21593
  }>;
19851
21594
  error?: {
19852
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
21595
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19853
21596
  message: string;
19854
21597
  retryable: boolean;
19855
21598
  at: string;
@@ -19898,6 +21641,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
19898
21641
  budgetTokens: number;
19899
21642
  };
19900
21643
  approvalMode?: "manual" | "accept-edits" | "auto";
21644
+ runsOn?: "computer";
19901
21645
  modelId?: string;
19902
21646
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19903
21647
  usage?: {
@@ -19932,7 +21676,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
19932
21676
  message: string;
19933
21677
  }>;
19934
21678
  error?: {
19935
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
21679
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19936
21680
  message: string;
19937
21681
  retryable: boolean;
19938
21682
  at: string;
@@ -19973,6 +21717,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
19973
21717
  budgetTokens: number;
19974
21718
  };
19975
21719
  approvalMode?: "manual" | "accept-edits" | "auto";
21720
+ runsOn?: "computer";
19976
21721
  modelId?: string;
19977
21722
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19978
21723
  usage?: {
@@ -20007,7 +21752,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
20007
21752
  message: string;
20008
21753
  }>;
20009
21754
  error?: {
20010
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
21755
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20011
21756
  message: string;
20012
21757
  retryable: boolean;
20013
21758
  at: string;
@@ -20053,6 +21798,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
20053
21798
  budgetTokens: number;
20054
21799
  };
20055
21800
  approvalMode?: "manual" | "accept-edits" | "auto";
21801
+ runsOn?: "computer";
20056
21802
  modelId?: string;
20057
21803
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20058
21804
  usage?: {
@@ -20087,7 +21833,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
20087
21833
  message: string;
20088
21834
  }>;
20089
21835
  error?: {
20090
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
21836
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20091
21837
  message: string;
20092
21838
  retryable: boolean;
20093
21839
  at: string;
@@ -20132,6 +21878,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
20132
21878
  budgetTokens: number;
20133
21879
  };
20134
21880
  approvalMode?: "manual" | "accept-edits" | "auto";
21881
+ runsOn?: "computer";
20135
21882
  modelId?: string;
20136
21883
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20137
21884
  usage?: {
@@ -20166,7 +21913,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
20166
21913
  message: string;
20167
21914
  }>;
20168
21915
  error?: {
20169
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
21916
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20170
21917
  message: string;
20171
21918
  retryable: boolean;
20172
21919
  at: string;
@@ -20214,6 +21961,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
20214
21961
  budgetTokens: number;
20215
21962
  };
20216
21963
  approvalMode?: "manual" | "accept-edits" | "auto";
21964
+ runsOn?: "computer";
20217
21965
  modelId?: string;
20218
21966
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20219
21967
  usage?: {
@@ -20248,7 +21996,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
20248
21996
  message: string;
20249
21997
  }>;
20250
21998
  error?: {
20251
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
21999
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20252
22000
  message: string;
20253
22001
  retryable: boolean;
20254
22002
  at: string;
@@ -20302,6 +22050,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
20302
22050
  budgetTokens: number;
20303
22051
  };
20304
22052
  approvalMode?: "manual" | "accept-edits" | "auto";
22053
+ runsOn?: "computer";
20305
22054
  modelId?: string;
20306
22055
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20307
22056
  usage?: {
@@ -20336,7 +22085,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
20336
22085
  message: string;
20337
22086
  }>;
20338
22087
  error?: {
20339
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
22088
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20340
22089
  message: string;
20341
22090
  retryable: boolean;
20342
22091
  at: string;
@@ -20373,6 +22122,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
20373
22122
  budgetTokens: number;
20374
22123
  };
20375
22124
  approvalMode?: "manual" | "accept-edits" | "auto";
22125
+ runsOn?: "computer";
20376
22126
  modelId?: string;
20377
22127
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20378
22128
  usage?: {
@@ -20407,7 +22157,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
20407
22157
  message: string;
20408
22158
  }>;
20409
22159
  error?: {
20410
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
22160
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20411
22161
  message: string;
20412
22162
  retryable: boolean;
20413
22163
  at: string;
@@ -20449,6 +22199,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
20449
22199
  budgetTokens: number;
20450
22200
  };
20451
22201
  approvalMode?: "manual" | "accept-edits" | "auto";
22202
+ runsOn?: "computer";
20452
22203
  modelId?: string;
20453
22204
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20454
22205
  usage?: {
@@ -20483,7 +22234,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
20483
22234
  message: string;
20484
22235
  }>;
20485
22236
  error?: {
20486
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
22237
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20487
22238
  message: string;
20488
22239
  retryable: boolean;
20489
22240
  at: string;
@@ -20531,6 +22282,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
20531
22282
  budgetTokens: number;
20532
22283
  };
20533
22284
  approvalMode?: "manual" | "accept-edits" | "auto";
22285
+ runsOn?: "computer";
20534
22286
  modelId?: string;
20535
22287
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20536
22288
  usage?: {
@@ -20565,7 +22317,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
20565
22317
  message: string;
20566
22318
  }>;
20567
22319
  error?: {
20568
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
22320
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20569
22321
  message: string;
20570
22322
  retryable: boolean;
20571
22323
  at: string;
@@ -20659,6 +22411,30 @@ export declare const getAgentChildFileContentOptions: (options: Options<GetAgent
20659
22411
  [dataTagErrorSymbol]: unknown;
20660
22412
  };
20661
22413
  };
22414
+ /**
22415
+ * Move a thread from your computer to the cloud
22416
+ *
22417
+ * Its turns run in the cloud from now on, starting with the one waiting for the computer, if any. The files it worked on stay on the computer. Refused while a turn runs there or waits on approvals.
22418
+ */
22419
+ export declare const moveAgentThreadToCloudMutation: (options?: Partial<Options<MoveAgentThreadToCloudData>>) => UseMutationOptions<MoveAgentThreadToCloudResponse, MoveAgentThreadToCloudError, Options<MoveAgentThreadToCloudData>>;
22420
+ /**
22421
+ * Move a thread to one of your computers, in a folder there
22422
+ *
22423
+ * A thread that runs on its owner's computer runs there alone, in one folder: only `sixb` open in that folder claims its turns. Its owner moves it to another folder or computer. Refused while a turn runs or waits on approvals.
22424
+ */
22425
+ export declare const moveAgentThreadToComputerMutation: (options?: Partial<Options<MoveAgentThreadToComputerData>>) => UseMutationOptions<MoveAgentThreadToComputerResponse, MoveAgentThreadToComputerError, Options<MoveAgentThreadToComputerData>>;
22426
+ /**
22427
+ * Close a computer session
22428
+ *
22429
+ * `sixb` closes its session when it quits.
22430
+ */
22431
+ export declare const releaseAgentComputerSessionMutation: (options?: Partial<Options<ReleaseAgentComputerSessionData>>) => UseMutationOptions<unknown, ReleaseAgentComputerSessionError, Options<ReleaseAgentComputerSessionData>>;
22432
+ /**
22433
+ * Open or renew a computer session
22434
+ *
22435
+ * `sixb` holds one while it is open: your threads on this computer, in this folder, read as online, and you can continue them from anywhere. It lapses a minute after its last renewal. The answer lists the turns waiting for it.
22436
+ */
22437
+ export declare const holdAgentComputerSessionMutation: (options?: Partial<Options<HoldAgentComputerSessionData>>) => UseMutationOptions<HoldAgentComputerSessionResponse, HoldAgentComputerSessionError, Options<HoldAgentComputerSessionData>>;
20662
22438
  export declare const getAgentPreferencesQueryKey: (options?: Options<GetAgentPreferencesData>) => [Pick<Options<GetAgentPreferencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
20663
22439
  _id: string;
20664
22440
  _infinite?: boolean;
@@ -20796,7 +22572,7 @@ export declare const listAgentThreadApprovalsOptions: (options: Options<ListAgen
20796
22572
  } | {
20797
22573
  kind: "error";
20798
22574
  error: {
20799
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22575
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20800
22576
  message: string;
20801
22577
  retryable: boolean;
20802
22578
  at: string;
@@ -20887,7 +22663,7 @@ export declare const listAgentThreadApprovalsOptions: (options: Options<ListAgen
20887
22663
  } | {
20888
22664
  kind: "error";
20889
22665
  error: {
20890
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22666
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20891
22667
  message: string;
20892
22668
  retryable: boolean;
20893
22669
  at: string;
@@ -20983,7 +22759,7 @@ export declare const listAgentThreadApprovalsOptions: (options: Options<ListAgen
20983
22759
  } | {
20984
22760
  kind: "error";
20985
22761
  error: {
20986
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22762
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20987
22763
  message: string;
20988
22764
  retryable: boolean;
20989
22765
  at: string;
@@ -21085,7 +22861,7 @@ export declare const listAgentThreadApprovalsOptions: (options: Options<ListAgen
21085
22861
  } | {
21086
22862
  kind: "error";
21087
22863
  error: {
21088
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22864
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21089
22865
  message: string;
21090
22866
  retryable: boolean;
21091
22867
  at: string;
@@ -21186,7 +22962,7 @@ export declare const listAgentThreadApprovalsInfiniteOptions: (options: Options<
21186
22962
  } | {
21187
22963
  kind: "error";
21188
22964
  error: {
21189
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22965
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21190
22966
  message: string;
21191
22967
  retryable: boolean;
21192
22968
  at: string;
@@ -21277,7 +23053,7 @@ export declare const listAgentThreadApprovalsInfiniteOptions: (options: Options<
21277
23053
  } | {
21278
23054
  kind: "error";
21279
23055
  error: {
21280
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23056
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21281
23057
  message: string;
21282
23058
  retryable: boolean;
21283
23059
  at: string;
@@ -21373,7 +23149,7 @@ export declare const listAgentThreadApprovalsInfiniteOptions: (options: Options<
21373
23149
  } | {
21374
23150
  kind: "error";
21375
23151
  error: {
21376
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23152
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21377
23153
  message: string;
21378
23154
  retryable: boolean;
21379
23155
  at: string;
@@ -21468,7 +23244,7 @@ export declare const listAgentThreadApprovalsInfiniteOptions: (options: Options<
21468
23244
  } | {
21469
23245
  kind: "error";
21470
23246
  error: {
21471
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23247
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21472
23248
  message: string;
21473
23249
  retryable: boolean;
21474
23250
  at: string;
@@ -21566,7 +23342,7 @@ export declare const listAgentThreadApprovalsInfiniteOptions: (options: Options<
21566
23342
  } | {
21567
23343
  kind: "error";
21568
23344
  error: {
21569
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23345
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21570
23346
  message: string;
21571
23347
  retryable: boolean;
21572
23348
  at: string;
@@ -21677,7 +23453,7 @@ export declare const listAgentApprovalsOptions: (options?: Options<ListAgentAppr
21677
23453
  } | {
21678
23454
  kind: "error";
21679
23455
  error: {
21680
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23456
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21681
23457
  message: string;
21682
23458
  retryable: boolean;
21683
23459
  at: string;
@@ -21768,7 +23544,7 @@ export declare const listAgentApprovalsOptions: (options?: Options<ListAgentAppr
21768
23544
  } | {
21769
23545
  kind: "error";
21770
23546
  error: {
21771
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23547
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21772
23548
  message: string;
21773
23549
  retryable: boolean;
21774
23550
  at: string;
@@ -21864,7 +23640,7 @@ export declare const listAgentApprovalsOptions: (options?: Options<ListAgentAppr
21864
23640
  } | {
21865
23641
  kind: "error";
21866
23642
  error: {
21867
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23643
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21868
23644
  message: string;
21869
23645
  retryable: boolean;
21870
23646
  at: string;
@@ -21966,7 +23742,7 @@ export declare const listAgentApprovalsOptions: (options?: Options<ListAgentAppr
21966
23742
  } | {
21967
23743
  kind: "error";
21968
23744
  error: {
21969
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23745
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21970
23746
  message: string;
21971
23747
  retryable: boolean;
21972
23748
  at: string;
@@ -22067,7 +23843,7 @@ export declare const listAgentApprovalsInfiniteOptions: (options?: Options<ListA
22067
23843
  } | {
22068
23844
  kind: "error";
22069
23845
  error: {
22070
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23846
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22071
23847
  message: string;
22072
23848
  retryable: boolean;
22073
23849
  at: string;
@@ -22158,7 +23934,7 @@ export declare const listAgentApprovalsInfiniteOptions: (options?: Options<ListA
22158
23934
  } | {
22159
23935
  kind: "error";
22160
23936
  error: {
22161
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23937
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22162
23938
  message: string;
22163
23939
  retryable: boolean;
22164
23940
  at: string;
@@ -22254,7 +24030,7 @@ export declare const listAgentApprovalsInfiniteOptions: (options?: Options<ListA
22254
24030
  } | {
22255
24031
  kind: "error";
22256
24032
  error: {
22257
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
24033
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22258
24034
  message: string;
22259
24035
  retryable: boolean;
22260
24036
  at: string;
@@ -22349,7 +24125,7 @@ export declare const listAgentApprovalsInfiniteOptions: (options?: Options<ListA
22349
24125
  } | {
22350
24126
  kind: "error";
22351
24127
  error: {
22352
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
24128
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22353
24129
  message: string;
22354
24130
  retryable: boolean;
22355
24131
  at: string;
@@ -22447,7 +24223,7 @@ export declare const listAgentApprovalsInfiniteOptions: (options?: Options<ListA
22447
24223
  } | {
22448
24224
  kind: "error";
22449
24225
  error: {
22450
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
24226
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22451
24227
  message: string;
22452
24228
  retryable: boolean;
22453
24229
  at: string;
@@ -22518,6 +24294,14 @@ export declare const getObservedAgentThreadOptions: (options: Options<GetObserve
22518
24294
  [key: string]: unknown;
22519
24295
  } | null;
22520
24296
  };
24297
+ runsOn?: "computer";
24298
+ computer?: {
24299
+ id: string;
24300
+ name: string;
24301
+ folder: string;
24302
+ online: boolean;
24303
+ };
24304
+ movedAt?: string;
22521
24305
  status: "active" | "archived";
22522
24306
  activeRunId: string | null;
22523
24307
  lastMessageAt?: string;
@@ -22567,6 +24351,14 @@ export declare const getObservedAgentThreadOptions: (options: Options<GetObserve
22567
24351
  [key: string]: unknown;
22568
24352
  } | null;
22569
24353
  };
24354
+ runsOn?: "computer";
24355
+ computer?: {
24356
+ id: string;
24357
+ name: string;
24358
+ folder: string;
24359
+ online: boolean;
24360
+ };
24361
+ movedAt?: string;
22570
24362
  status: "active" | "archived";
22571
24363
  activeRunId: string | null;
22572
24364
  lastMessageAt?: string;
@@ -22621,6 +24413,14 @@ export declare const getObservedAgentThreadOptions: (options: Options<GetObserve
22621
24413
  [key: string]: unknown;
22622
24414
  } | null;
22623
24415
  };
24416
+ runsOn?: "computer";
24417
+ computer?: {
24418
+ id: string;
24419
+ name: string;
24420
+ folder: string;
24421
+ online: boolean;
24422
+ };
24423
+ movedAt?: string;
22624
24424
  status: "active" | "archived";
22625
24425
  activeRunId: string | null;
22626
24426
  lastMessageAt?: string;
@@ -22681,6 +24481,14 @@ export declare const getObservedAgentThreadOptions: (options: Options<GetObserve
22681
24481
  [key: string]: unknown;
22682
24482
  } | null;
22683
24483
  };
24484
+ runsOn?: "computer";
24485
+ computer?: {
24486
+ id: string;
24487
+ name: string;
24488
+ folder: string;
24489
+ online: boolean;
24490
+ };
24491
+ movedAt?: string;
22684
24492
  status: "active" | "archived";
22685
24493
  activeRunId: string | null;
22686
24494
  lastMessageAt?: string;
@@ -22766,7 +24574,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
22766
24574
  } | {
22767
24575
  kind: "error";
22768
24576
  error: {
22769
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
24577
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22770
24578
  message: string;
22771
24579
  retryable: boolean;
22772
24580
  at: string;
@@ -22845,6 +24653,17 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
22845
24653
  output: string | number | boolean | Array<unknown> | {
22846
24654
  [key: string]: unknown;
22847
24655
  } | null;
24656
+ outputFile?: {
24657
+ fileRef: {
24658
+ blobId: string;
24659
+ digest: string;
24660
+ sizeBytes: number;
24661
+ fileName?: string;
24662
+ mediaType?: string;
24663
+ logicalPath?: string;
24664
+ };
24665
+ path: string;
24666
+ };
22848
24667
  } | {
22849
24668
  type: "tool-call";
22850
24669
  toolCallId: string;
@@ -22876,6 +24695,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
22876
24695
  }>;
22877
24696
  compaction?: {
22878
24697
  checkpointId: string;
24698
+ reason: "threshold" | "overflow";
22879
24699
  summary: string;
22880
24700
  createdAt: string;
22881
24701
  };
@@ -22956,7 +24776,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
22956
24776
  } | {
22957
24777
  kind: "error";
22958
24778
  error: {
22959
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
24779
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
22960
24780
  message: string;
22961
24781
  retryable: boolean;
22962
24782
  at: string;
@@ -23035,6 +24855,17 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
23035
24855
  output: string | number | boolean | Array<unknown> | {
23036
24856
  [key: string]: unknown;
23037
24857
  } | null;
24858
+ outputFile?: {
24859
+ fileRef: {
24860
+ blobId: string;
24861
+ digest: string;
24862
+ sizeBytes: number;
24863
+ fileName?: string;
24864
+ mediaType?: string;
24865
+ logicalPath?: string;
24866
+ };
24867
+ path: string;
24868
+ };
23038
24869
  } | {
23039
24870
  type: "tool-call";
23040
24871
  toolCallId: string;
@@ -23066,6 +24897,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
23066
24897
  }>;
23067
24898
  compaction?: {
23068
24899
  checkpointId: string;
24900
+ reason: "threshold" | "overflow";
23069
24901
  summary: string;
23070
24902
  createdAt: string;
23071
24903
  };
@@ -23151,7 +24983,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
23151
24983
  } | {
23152
24984
  kind: "error";
23153
24985
  error: {
23154
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
24986
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23155
24987
  message: string;
23156
24988
  retryable: boolean;
23157
24989
  at: string;
@@ -23230,6 +25062,17 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
23230
25062
  output: string | number | boolean | Array<unknown> | {
23231
25063
  [key: string]: unknown;
23232
25064
  } | null;
25065
+ outputFile?: {
25066
+ fileRef: {
25067
+ blobId: string;
25068
+ digest: string;
25069
+ sizeBytes: number;
25070
+ fileName?: string;
25071
+ mediaType?: string;
25072
+ logicalPath?: string;
25073
+ };
25074
+ path: string;
25075
+ };
23233
25076
  } | {
23234
25077
  type: "tool-call";
23235
25078
  toolCallId: string;
@@ -23261,6 +25104,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
23261
25104
  }>;
23262
25105
  compaction?: {
23263
25106
  checkpointId: string;
25107
+ reason: "threshold" | "overflow";
23264
25108
  summary: string;
23265
25109
  createdAt: string;
23266
25110
  };
@@ -23352,7 +25196,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
23352
25196
  } | {
23353
25197
  kind: "error";
23354
25198
  error: {
23355
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
25199
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23356
25200
  message: string;
23357
25201
  retryable: boolean;
23358
25202
  at: string;
@@ -23431,6 +25275,17 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
23431
25275
  output: string | number | boolean | Array<unknown> | {
23432
25276
  [key: string]: unknown;
23433
25277
  } | null;
25278
+ outputFile?: {
25279
+ fileRef: {
25280
+ blobId: string;
25281
+ digest: string;
25282
+ sizeBytes: number;
25283
+ fileName?: string;
25284
+ mediaType?: string;
25285
+ logicalPath?: string;
25286
+ };
25287
+ path: string;
25288
+ };
23434
25289
  } | {
23435
25290
  type: "tool-call";
23436
25291
  toolCallId: string;
@@ -23462,6 +25317,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
23462
25317
  }>;
23463
25318
  compaction?: {
23464
25319
  checkpointId: string;
25320
+ reason: "threshold" | "overflow";
23465
25321
  summary: string;
23466
25322
  createdAt: string;
23467
25323
  };
@@ -23552,7 +25408,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
23552
25408
  } | {
23553
25409
  kind: "error";
23554
25410
  error: {
23555
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
25411
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23556
25412
  message: string;
23557
25413
  retryable: boolean;
23558
25414
  at: string;
@@ -23631,6 +25487,17 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
23631
25487
  output: string | number | boolean | Array<unknown> | {
23632
25488
  [key: string]: unknown;
23633
25489
  } | null;
25490
+ outputFile?: {
25491
+ fileRef: {
25492
+ blobId: string;
25493
+ digest: string;
25494
+ sizeBytes: number;
25495
+ fileName?: string;
25496
+ mediaType?: string;
25497
+ logicalPath?: string;
25498
+ };
25499
+ path: string;
25500
+ };
23634
25501
  } | {
23635
25502
  type: "tool-call";
23636
25503
  toolCallId: string;
@@ -23662,6 +25529,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
23662
25529
  }>;
23663
25530
  compaction?: {
23664
25531
  checkpointId: string;
25532
+ reason: "threshold" | "overflow";
23665
25533
  summary: string;
23666
25534
  createdAt: string;
23667
25535
  };
@@ -23742,7 +25610,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
23742
25610
  } | {
23743
25611
  kind: "error";
23744
25612
  error: {
23745
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
25613
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23746
25614
  message: string;
23747
25615
  retryable: boolean;
23748
25616
  at: string;
@@ -23821,6 +25689,17 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
23821
25689
  output: string | number | boolean | Array<unknown> | {
23822
25690
  [key: string]: unknown;
23823
25691
  } | null;
25692
+ outputFile?: {
25693
+ fileRef: {
25694
+ blobId: string;
25695
+ digest: string;
25696
+ sizeBytes: number;
25697
+ fileName?: string;
25698
+ mediaType?: string;
25699
+ logicalPath?: string;
25700
+ };
25701
+ path: string;
25702
+ };
23824
25703
  } | {
23825
25704
  type: "tool-call";
23826
25705
  toolCallId: string;
@@ -23852,6 +25731,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
23852
25731
  }>;
23853
25732
  compaction?: {
23854
25733
  checkpointId: string;
25734
+ reason: "threshold" | "overflow";
23855
25735
  summary: string;
23856
25736
  createdAt: string;
23857
25737
  };
@@ -23937,7 +25817,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
23937
25817
  } | {
23938
25818
  kind: "error";
23939
25819
  error: {
23940
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
25820
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
23941
25821
  message: string;
23942
25822
  retryable: boolean;
23943
25823
  at: string;
@@ -24016,6 +25896,17 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
24016
25896
  output: string | number | boolean | Array<unknown> | {
24017
25897
  [key: string]: unknown;
24018
25898
  } | null;
25899
+ outputFile?: {
25900
+ fileRef: {
25901
+ blobId: string;
25902
+ digest: string;
25903
+ sizeBytes: number;
25904
+ fileName?: string;
25905
+ mediaType?: string;
25906
+ logicalPath?: string;
25907
+ };
25908
+ path: string;
25909
+ };
24019
25910
  } | {
24020
25911
  type: "tool-call";
24021
25912
  toolCallId: string;
@@ -24047,6 +25938,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
24047
25938
  }>;
24048
25939
  compaction?: {
24049
25940
  checkpointId: string;
25941
+ reason: "threshold" | "overflow";
24050
25942
  summary: string;
24051
25943
  createdAt: string;
24052
25944
  };
@@ -24131,7 +26023,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
24131
26023
  } | {
24132
26024
  kind: "error";
24133
26025
  error: {
24134
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
26026
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
24135
26027
  message: string;
24136
26028
  retryable: boolean;
24137
26029
  at: string;
@@ -24210,6 +26102,17 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
24210
26102
  output: string | number | boolean | Array<unknown> | {
24211
26103
  [key: string]: unknown;
24212
26104
  } | null;
26105
+ outputFile?: {
26106
+ fileRef: {
26107
+ blobId: string;
26108
+ digest: string;
26109
+ sizeBytes: number;
26110
+ fileName?: string;
26111
+ mediaType?: string;
26112
+ logicalPath?: string;
26113
+ };
26114
+ path: string;
26115
+ };
24213
26116
  } | {
24214
26117
  type: "tool-call";
24215
26118
  toolCallId: string;
@@ -24241,6 +26144,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
24241
26144
  }>;
24242
26145
  compaction?: {
24243
26146
  checkpointId: string;
26147
+ reason: "threshold" | "overflow";
24244
26148
  summary: string;
24245
26149
  createdAt: string;
24246
26150
  };
@@ -24328,7 +26232,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
24328
26232
  } | {
24329
26233
  kind: "error";
24330
26234
  error: {
24331
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
26235
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
24332
26236
  message: string;
24333
26237
  retryable: boolean;
24334
26238
  at: string;
@@ -24407,6 +26311,17 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
24407
26311
  output: string | number | boolean | Array<unknown> | {
24408
26312
  [key: string]: unknown;
24409
26313
  } | null;
26314
+ outputFile?: {
26315
+ fileRef: {
26316
+ blobId: string;
26317
+ digest: string;
26318
+ sizeBytes: number;
26319
+ fileName?: string;
26320
+ mediaType?: string;
26321
+ logicalPath?: string;
26322
+ };
26323
+ path: string;
26324
+ };
24410
26325
  } | {
24411
26326
  type: "tool-call";
24412
26327
  toolCallId: string;
@@ -24438,6 +26353,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
24438
26353
  }>;
24439
26354
  compaction?: {
24440
26355
  checkpointId: string;
26356
+ reason: "threshold" | "overflow";
24441
26357
  summary: string;
24442
26358
  createdAt: string;
24443
26359
  };
@@ -24521,6 +26437,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
24521
26437
  budgetTokens: number;
24522
26438
  };
24523
26439
  approvalMode?: "manual" | "accept-edits" | "auto";
26440
+ runsOn?: "computer";
24524
26441
  modelId?: string;
24525
26442
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
24526
26443
  usage?: {
@@ -24555,7 +26472,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
24555
26472
  message: string;
24556
26473
  }>;
24557
26474
  error?: {
24558
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26475
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
24559
26476
  message: string;
24560
26477
  retryable: boolean;
24561
26478
  at: string;
@@ -24596,6 +26513,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
24596
26513
  budgetTokens: number;
24597
26514
  };
24598
26515
  approvalMode?: "manual" | "accept-edits" | "auto";
26516
+ runsOn?: "computer";
24599
26517
  modelId?: string;
24600
26518
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
24601
26519
  usage?: {
@@ -24630,7 +26548,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
24630
26548
  message: string;
24631
26549
  }>;
24632
26550
  error?: {
24633
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26551
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
24634
26552
  message: string;
24635
26553
  retryable: boolean;
24636
26554
  at: string;
@@ -24676,6 +26594,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
24676
26594
  budgetTokens: number;
24677
26595
  };
24678
26596
  approvalMode?: "manual" | "accept-edits" | "auto";
26597
+ runsOn?: "computer";
24679
26598
  modelId?: string;
24680
26599
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
24681
26600
  usage?: {
@@ -24710,7 +26629,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
24710
26629
  message: string;
24711
26630
  }>;
24712
26631
  error?: {
24713
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26632
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
24714
26633
  message: string;
24715
26634
  retryable: boolean;
24716
26635
  at: string;
@@ -24762,6 +26681,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
24762
26681
  budgetTokens: number;
24763
26682
  };
24764
26683
  approvalMode?: "manual" | "accept-edits" | "auto";
26684
+ runsOn?: "computer";
24765
26685
  modelId?: string;
24766
26686
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
24767
26687
  usage?: {
@@ -24796,7 +26716,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
24796
26716
  message: string;
24797
26717
  }>;
24798
26718
  error?: {
24799
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26719
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
24800
26720
  message: string;
24801
26721
  retryable: boolean;
24802
26722
  at: string;
@@ -24847,6 +26767,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
24847
26767
  budgetTokens: number;
24848
26768
  };
24849
26769
  approvalMode?: "manual" | "accept-edits" | "auto";
26770
+ runsOn?: "computer";
24850
26771
  modelId?: string;
24851
26772
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
24852
26773
  usage?: {
@@ -24881,7 +26802,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
24881
26802
  message: string;
24882
26803
  }>;
24883
26804
  error?: {
24884
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26805
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
24885
26806
  message: string;
24886
26807
  retryable: boolean;
24887
26808
  at: string;
@@ -24922,6 +26843,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
24922
26843
  budgetTokens: number;
24923
26844
  };
24924
26845
  approvalMode?: "manual" | "accept-edits" | "auto";
26846
+ runsOn?: "computer";
24925
26847
  modelId?: string;
24926
26848
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
24927
26849
  usage?: {
@@ -24956,7 +26878,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
24956
26878
  message: string;
24957
26879
  }>;
24958
26880
  error?: {
24959
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26881
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
24960
26882
  message: string;
24961
26883
  retryable: boolean;
24962
26884
  at: string;
@@ -25002,6 +26924,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
25002
26924
  budgetTokens: number;
25003
26925
  };
25004
26926
  approvalMode?: "manual" | "accept-edits" | "auto";
26927
+ runsOn?: "computer";
25005
26928
  modelId?: string;
25006
26929
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
25007
26930
  usage?: {
@@ -25036,7 +26959,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
25036
26959
  message: string;
25037
26960
  }>;
25038
26961
  error?: {
25039
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26962
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
25040
26963
  message: string;
25041
26964
  retryable: boolean;
25042
26965
  at: string;
@@ -25081,6 +27004,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
25081
27004
  budgetTokens: number;
25082
27005
  };
25083
27006
  approvalMode?: "manual" | "accept-edits" | "auto";
27007
+ runsOn?: "computer";
25084
27008
  modelId?: string;
25085
27009
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
25086
27010
  usage?: {
@@ -25115,7 +27039,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
25115
27039
  message: string;
25116
27040
  }>;
25117
27041
  error?: {
25118
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
27042
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
25119
27043
  message: string;
25120
27044
  retryable: boolean;
25121
27045
  at: string;
@@ -25163,6 +27087,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
25163
27087
  budgetTokens: number;
25164
27088
  };
25165
27089
  approvalMode?: "manual" | "accept-edits" | "auto";
27090
+ runsOn?: "computer";
25166
27091
  modelId?: string;
25167
27092
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
25168
27093
  usage?: {
@@ -25197,7 +27122,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
25197
27122
  message: string;
25198
27123
  }>;
25199
27124
  error?: {
25200
- code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
27125
+ code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
25201
27126
  message: string;
25202
27127
  retryable: boolean;
25203
27128
  at: string;
@@ -25770,7 +27695,7 @@ export declare const listArtifactsInfiniteOptions: (options?: Options<ListArtifa
25770
27695
  /**
25771
27696
  * Create an artifact
25772
27697
  *
25773
- * Creates an artifact owned by the caller, with its first version. Store each file with POST /api/files first.
27698
+ * Creates an artifact owned by the caller, with its first version. Store each file with POST /api/files first. With a run token, it is created in the run's conversation, owned by the conversation's owner and authored by the run's requester.
25774
27699
  */
25775
27700
  export declare const createArtifactMutation: (options?: Partial<Options<CreateArtifactData>>) => UseMutationOptions<CreateArtifactResponse, CreateArtifactError, Options<CreateArtifactData>>;
25776
27701
  /**
@@ -25992,7 +27917,7 @@ export declare const setArtifactStateMutation: (options?: Partial<Options<SetArt
25992
27917
  /**
25993
27918
  * Publish an artifact's next version
25994
27919
  *
25995
- * The kind must be the artifact's. The new version becomes the latest. With baseVersion, it is refused with 409 artifact_moved when another version was published since.
27920
+ * The kind must be the artifact's. The new version becomes the latest. With baseVersion, it is refused with 409 artifact_moved when another version was published since. With a run token, only an artifact the run's conversation shares or its requester owns; the version is shared in that conversation. A run that lost its execution gets 409 execution_lost.
25996
27921
  */
25997
27922
  export declare const publishArtifactVersionMutation: (options?: Partial<Options<PublishArtifactVersionData>>) => UseMutationOptions<PublishArtifactVersionResponse, PublishArtifactVersionError, Options<PublishArtifactVersionData>>;
25998
27923
  /**
@@ -28249,18 +30174,416 @@ export declare const listModelsOptions: (options?: Options<ListModelsData>) => i
28249
30174
  [dataTagErrorSymbol]: Error;
28250
30175
  };
28251
30176
  };
30177
+ export declare const getObjectLinkLineageQueryKey: (options: Options<GetObjectLinkLineageData>) => [Pick<Options<GetObjectLinkLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
30178
+ _id: string;
30179
+ _infinite?: boolean;
30180
+ tags?: ReadonlyArray<string>;
30181
+ }];
28252
30182
  /**
28253
- * Remove object link
28254
- */
28255
- export declare const removeObjectLinkMutation: (options?: Partial<Options<RemoveObjectLinkData>>) => UseMutationOptions<RemoveObjectLinkResponse, RemoveObjectLinkError, Options<RemoveObjectLinkData>>;
28256
- /**
28257
- * Create or update object link
28258
- */
28259
- export declare const upsertObjectLinkMutation: (options?: Partial<Options<UpsertObjectLinkData>>) => UseMutationOptions<UpsertObjectLinkResponse, UpsertObjectLinkError, Options<UpsertObjectLinkData>>;
28260
- /**
28261
- * Append telemetry point
30183
+ * Get where an object link comes from
30184
+ *
30185
+ * What makes the link exist, for the current state. Steps the caller cannot view are left out and counted in `restricted`.
28262
30186
  */
28263
- export declare const appendTelemetryMutation: (options?: Partial<Options<AppendTelemetryData>>) => UseMutationOptions<AppendTelemetryResponse, AppendTelemetryError, Options<AppendTelemetryData>>;
30187
+ export declare const getObjectLinkLineageOptions: (options: Options<GetObjectLinkLineageData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
30188
+ sourceTypeId: string;
30189
+ sourceId: string;
30190
+ linkId: string;
30191
+ targetTypeId: string;
30192
+ targetId: string;
30193
+ existence: {
30194
+ source: string;
30195
+ columns?: Array<string>;
30196
+ origins?: Array<{
30197
+ datasetId: string;
30198
+ column: string;
30199
+ }>;
30200
+ };
30201
+ sources: {
30202
+ [key: string]: {
30203
+ kind: "projection";
30204
+ projectionId: string;
30205
+ projectionRunId?: string;
30206
+ datasetVersion?: {
30207
+ datasetId: string;
30208
+ versionId: string;
30209
+ };
30210
+ rowOrigins?: Array<{
30211
+ datasetId: string;
30212
+ column: string;
30213
+ }>;
30214
+ } | {
30215
+ kind: "edit";
30216
+ commitId: string | null;
30217
+ committedAt: string;
30218
+ requestedBy?: {
30219
+ type: "user" | "serviceAccount";
30220
+ id: string;
30221
+ };
30222
+ executor?: {
30223
+ type: "request";
30224
+ requestId: string;
30225
+ } | {
30226
+ type: "primitive";
30227
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
30228
+ id: string;
30229
+ runId: string;
30230
+ } | {
30231
+ type: "agent";
30232
+ runId: string;
30233
+ } | {
30234
+ type: "kernel";
30235
+ operation: {
30236
+ type: "ontology.recover";
30237
+ recoveryId: string;
30238
+ } | {
30239
+ type: "ontology.indexVectors";
30240
+ indexingId: string;
30241
+ };
30242
+ };
30243
+ action?: {
30244
+ actionId: string;
30245
+ runId: string;
30246
+ };
30247
+ } | {
30248
+ kind: "telemetry";
30249
+ commitId: string;
30250
+ committedAt: string;
30251
+ projectionId?: string;
30252
+ requestedBy?: {
30253
+ type: "user" | "serviceAccount";
30254
+ id: string;
30255
+ };
30256
+ executor?: {
30257
+ type: "request";
30258
+ requestId: string;
30259
+ } | {
30260
+ type: "primitive";
30261
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
30262
+ id: string;
30263
+ runId: string;
30264
+ } | {
30265
+ type: "agent";
30266
+ runId: string;
30267
+ } | {
30268
+ type: "kernel";
30269
+ operation: {
30270
+ type: "ontology.recover";
30271
+ recoveryId: string;
30272
+ } | {
30273
+ type: "ontology.indexVectors";
30274
+ indexingId: string;
30275
+ };
30276
+ };
30277
+ } | {
30278
+ kind: "identity";
30279
+ };
30280
+ };
30281
+ restricted: number;
30282
+ }, GetObjectLinkLineageError, {
30283
+ sourceTypeId: string;
30284
+ sourceId: string;
30285
+ linkId: string;
30286
+ targetTypeId: string;
30287
+ targetId: string;
30288
+ existence: {
30289
+ source: string;
30290
+ columns?: Array<string>;
30291
+ origins?: Array<{
30292
+ datasetId: string;
30293
+ column: string;
30294
+ }>;
30295
+ };
30296
+ sources: {
30297
+ [key: string]: {
30298
+ kind: "projection";
30299
+ projectionId: string;
30300
+ projectionRunId?: string;
30301
+ datasetVersion?: {
30302
+ datasetId: string;
30303
+ versionId: string;
30304
+ };
30305
+ rowOrigins?: Array<{
30306
+ datasetId: string;
30307
+ column: string;
30308
+ }>;
30309
+ } | {
30310
+ kind: "edit";
30311
+ commitId: string | null;
30312
+ committedAt: string;
30313
+ requestedBy?: {
30314
+ type: "user" | "serviceAccount";
30315
+ id: string;
30316
+ };
30317
+ executor?: {
30318
+ type: "request";
30319
+ requestId: string;
30320
+ } | {
30321
+ type: "primitive";
30322
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
30323
+ id: string;
30324
+ runId: string;
30325
+ } | {
30326
+ type: "agent";
30327
+ runId: string;
30328
+ } | {
30329
+ type: "kernel";
30330
+ operation: {
30331
+ type: "ontology.recover";
30332
+ recoveryId: string;
30333
+ } | {
30334
+ type: "ontology.indexVectors";
30335
+ indexingId: string;
30336
+ };
30337
+ };
30338
+ action?: {
30339
+ actionId: string;
30340
+ runId: string;
30341
+ };
30342
+ } | {
30343
+ kind: "telemetry";
30344
+ commitId: string;
30345
+ committedAt: string;
30346
+ projectionId?: string;
30347
+ requestedBy?: {
30348
+ type: "user" | "serviceAccount";
30349
+ id: string;
30350
+ };
30351
+ executor?: {
30352
+ type: "request";
30353
+ requestId: string;
30354
+ } | {
30355
+ type: "primitive";
30356
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
30357
+ id: string;
30358
+ runId: string;
30359
+ } | {
30360
+ type: "agent";
30361
+ runId: string;
30362
+ } | {
30363
+ type: "kernel";
30364
+ operation: {
30365
+ type: "ontology.recover";
30366
+ recoveryId: string;
30367
+ } | {
30368
+ type: "ontology.indexVectors";
30369
+ indexingId: string;
30370
+ };
30371
+ };
30372
+ } | {
30373
+ kind: "identity";
30374
+ };
30375
+ };
30376
+ restricted: number;
30377
+ }, [Pick<Options<GetObjectLinkLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
30378
+ _id: string;
30379
+ _infinite?: boolean;
30380
+ tags?: ReadonlyArray<string>;
30381
+ }]>, "queryFn"> & {
30382
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
30383
+ sourceTypeId: string;
30384
+ sourceId: string;
30385
+ linkId: string;
30386
+ targetTypeId: string;
30387
+ targetId: string;
30388
+ existence: {
30389
+ source: string;
30390
+ columns?: Array<string>;
30391
+ origins?: Array<{
30392
+ datasetId: string;
30393
+ column: string;
30394
+ }>;
30395
+ };
30396
+ sources: {
30397
+ [key: string]: {
30398
+ kind: "projection";
30399
+ projectionId: string;
30400
+ projectionRunId?: string;
30401
+ datasetVersion?: {
30402
+ datasetId: string;
30403
+ versionId: string;
30404
+ };
30405
+ rowOrigins?: Array<{
30406
+ datasetId: string;
30407
+ column: string;
30408
+ }>;
30409
+ } | {
30410
+ kind: "edit";
30411
+ commitId: string | null;
30412
+ committedAt: string;
30413
+ requestedBy?: {
30414
+ type: "user" | "serviceAccount";
30415
+ id: string;
30416
+ };
30417
+ executor?: {
30418
+ type: "request";
30419
+ requestId: string;
30420
+ } | {
30421
+ type: "primitive";
30422
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
30423
+ id: string;
30424
+ runId: string;
30425
+ } | {
30426
+ type: "agent";
30427
+ runId: string;
30428
+ } | {
30429
+ type: "kernel";
30430
+ operation: {
30431
+ type: "ontology.recover";
30432
+ recoveryId: string;
30433
+ } | {
30434
+ type: "ontology.indexVectors";
30435
+ indexingId: string;
30436
+ };
30437
+ };
30438
+ action?: {
30439
+ actionId: string;
30440
+ runId: string;
30441
+ };
30442
+ } | {
30443
+ kind: "telemetry";
30444
+ commitId: string;
30445
+ committedAt: string;
30446
+ projectionId?: string;
30447
+ requestedBy?: {
30448
+ type: "user" | "serviceAccount";
30449
+ id: string;
30450
+ };
30451
+ executor?: {
30452
+ type: "request";
30453
+ requestId: string;
30454
+ } | {
30455
+ type: "primitive";
30456
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
30457
+ id: string;
30458
+ runId: string;
30459
+ } | {
30460
+ type: "agent";
30461
+ runId: string;
30462
+ } | {
30463
+ type: "kernel";
30464
+ operation: {
30465
+ type: "ontology.recover";
30466
+ recoveryId: string;
30467
+ } | {
30468
+ type: "ontology.indexVectors";
30469
+ indexingId: string;
30470
+ };
30471
+ };
30472
+ } | {
30473
+ kind: "identity";
30474
+ };
30475
+ };
30476
+ restricted: number;
30477
+ }, [Pick<Options<GetObjectLinkLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
30478
+ _id: string;
30479
+ _infinite?: boolean;
30480
+ tags?: ReadonlyArray<string>;
30481
+ }], never> | undefined;
30482
+ } & {
30483
+ queryKey: [Pick<Options<GetObjectLinkLineageData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
30484
+ _id: string;
30485
+ _infinite?: boolean;
30486
+ tags?: ReadonlyArray<string>;
30487
+ }] & {
30488
+ [dataTagSymbol]: {
30489
+ sourceTypeId: string;
30490
+ sourceId: string;
30491
+ linkId: string;
30492
+ targetTypeId: string;
30493
+ targetId: string;
30494
+ existence: {
30495
+ source: string;
30496
+ columns?: Array<string>;
30497
+ origins?: Array<{
30498
+ datasetId: string;
30499
+ column: string;
30500
+ }>;
30501
+ };
30502
+ sources: {
30503
+ [key: string]: {
30504
+ kind: "projection";
30505
+ projectionId: string;
30506
+ projectionRunId?: string;
30507
+ datasetVersion?: {
30508
+ datasetId: string;
30509
+ versionId: string;
30510
+ };
30511
+ rowOrigins?: Array<{
30512
+ datasetId: string;
30513
+ column: string;
30514
+ }>;
30515
+ } | {
30516
+ kind: "edit";
30517
+ commitId: string | null;
30518
+ committedAt: string;
30519
+ requestedBy?: {
30520
+ type: "user" | "serviceAccount";
30521
+ id: string;
30522
+ };
30523
+ executor?: {
30524
+ type: "request";
30525
+ requestId: string;
30526
+ } | {
30527
+ type: "primitive";
30528
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
30529
+ id: string;
30530
+ runId: string;
30531
+ } | {
30532
+ type: "agent";
30533
+ runId: string;
30534
+ } | {
30535
+ type: "kernel";
30536
+ operation: {
30537
+ type: "ontology.recover";
30538
+ recoveryId: string;
30539
+ } | {
30540
+ type: "ontology.indexVectors";
30541
+ indexingId: string;
30542
+ };
30543
+ };
30544
+ action?: {
30545
+ actionId: string;
30546
+ runId: string;
30547
+ };
30548
+ } | {
30549
+ kind: "telemetry";
30550
+ commitId: string;
30551
+ committedAt: string;
30552
+ projectionId?: string;
30553
+ requestedBy?: {
30554
+ type: "user" | "serviceAccount";
30555
+ id: string;
30556
+ };
30557
+ executor?: {
30558
+ type: "request";
30559
+ requestId: string;
30560
+ } | {
30561
+ type: "primitive";
30562
+ kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
30563
+ id: string;
30564
+ runId: string;
30565
+ } | {
30566
+ type: "agent";
30567
+ runId: string;
30568
+ } | {
30569
+ type: "kernel";
30570
+ operation: {
30571
+ type: "ontology.recover";
30572
+ recoveryId: string;
30573
+ } | {
30574
+ type: "ontology.indexVectors";
30575
+ indexingId: string;
30576
+ };
30577
+ };
30578
+ } | {
30579
+ kind: "identity";
30580
+ };
30581
+ };
30582
+ restricted: number;
30583
+ };
30584
+ [dataTagErrorSymbol]: GetObjectLinkLineageError;
30585
+ };
30586
+ };
28264
30587
  /**
28265
30588
  * Get bulk telemetry history
28266
30589
  */
@@ -32670,6 +34993,9 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
32670
34993
  properties: {
32671
34994
  [key: string]: string;
32672
34995
  };
34996
+ users?: {
34997
+ [key: string]: "email";
34998
+ };
32673
34999
  links: {
32674
35000
  [key: string]: {
32675
35001
  linkId: string;
@@ -33102,6 +35428,9 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
33102
35428
  properties: {
33103
35429
  [key: string]: string;
33104
35430
  };
35431
+ users?: {
35432
+ [key: string]: "email";
35433
+ };
33105
35434
  links: {
33106
35435
  [key: string]: {
33107
35436
  linkId: string;
@@ -33539,6 +35868,9 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
33539
35868
  properties: {
33540
35869
  [key: string]: string;
33541
35870
  };
35871
+ users?: {
35872
+ [key: string]: "email";
35873
+ };
33542
35874
  links: {
33543
35875
  [key: string]: {
33544
35876
  linkId: string;
@@ -33982,6 +36314,9 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
33982
36314
  properties: {
33983
36315
  [key: string]: string;
33984
36316
  };
36317
+ users?: {
36318
+ [key: string]: "email";
36319
+ };
33985
36320
  links: {
33986
36321
  [key: string]: {
33987
36322
  linkId: string;
@@ -34425,6 +36760,9 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
34425
36760
  properties: {
34426
36761
  [key: string]: string;
34427
36762
  };
36763
+ users?: {
36764
+ [key: string]: "email";
36765
+ };
34428
36766
  links: {
34429
36767
  [key: string]: {
34430
36768
  linkId: string;
@@ -34855,6 +37193,9 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
34855
37193
  properties: {
34856
37194
  [key: string]: string;
34857
37195
  };
37196
+ users?: {
37197
+ [key: string]: "email";
37198
+ };
34858
37199
  links: {
34859
37200
  [key: string]: {
34860
37201
  linkId: string;
@@ -35288,6 +37629,9 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
35288
37629
  properties: {
35289
37630
  [key: string]: string;
35290
37631
  };
37632
+ users?: {
37633
+ [key: string]: "email";
37634
+ };
35291
37635
  links: {
35292
37636
  [key: string]: {
35293
37637
  linkId: string;
@@ -35727,6 +38071,9 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
35727
38071
  properties: {
35728
38072
  [key: string]: string;
35729
38073
  };
38074
+ users?: {
38075
+ [key: string]: "email";
38076
+ };
35730
38077
  links: {
35731
38078
  [key: string]: {
35732
38079
  linkId: string;