@agentrix/shared 2.32.0 → 2.34.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.
- package/dist/{errors-Br-r7N--.d.cts → errors-CG2gbkBJ.d.cts} +57 -36
- package/dist/index.cjs +291 -120
- package/dist/index.d.cts +460 -18
- package/dist/node.d.cts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { P as PreviewMetadata } from './errors-
|
|
3
|
-
export { cZ as ActiveAgent, cY as ActiveAgentSchema, fO as AgentConfig, fX as AgentConfigValidationError, fH as AgentContext, fV as AgentError, fZ as AgentLoadError, fM as AgentMetadata, fT as AgentMetadataSchema, fW as AgentNotFoundError, fI as AgentrixContext, cL as ApiServerAliveEventData, cK as ApiServerAliveEventSchema, cJ as AppAliveEventData, cI as AppAliveEventSchema, aj as ApprovePrRequest, ai as ApprovePrRequestSchema, al as ApprovePrResponse, ak as ApprovePrResponseSchema, ar as ArchiveTaskRequest, aq as ArchiveTaskRequestSchema, at as ArchiveTaskResponse, as as ArchiveTaskResponseSchema, c6 as AskUserMessage, c5 as AskUserMessageSchema, c2 as AskUserOption, c1 as AskUserOptionSchema, c4 as AskUserQuestion, c3 as AskUserQuestionSchema, cc as AskUserResponseMessage, cb as AskUserResponseMessageSchema, ca as AskUserResponseReason, c8 as AskUserResponseReasonSchema, c9 as AskUserResponseStatus, c7 as AskUserResponseStatusSchema, eC as AssociateRepoEventData, ez as AssociateRepoEventDataSchema, dp as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dL as ChangeTaskTitleEventData, dK as ChangeTaskTitleEventSchema, dd as ChatWorkersStatusRequestEventData, dc as ChatWorkersStatusRequestSchema, df as ChatWorkersStatusResponseEventData, de as ChatWorkersStatusResponseSchema, fN as ClaudeAgentConfig, fU as ClaudeConfigSchema, cd as CompanionHeartbeatMessage, eR as CompanionHeartbeatRequestData, eQ as CompanionHeartbeatRequestSchema, eT as CompanionHeartbeatResponseData, eS as CompanionHeartbeatResponseSchema, eZ as CompanionInitRequestData, eY as CompanionInitRequestSchema, e$ as CompanionInitResponseData, e_ as CompanionInitResponseSchema, cf as CompanionMemoryOrganizationMessage, eV as CompanionMemoryOrganizationRequestData, eU as CompanionMemoryOrganizationRequestSchema, eX as CompanionMemoryOrganizationResponseData, eW as CompanionMemoryOrganizationResponseSchema, ce as CompanionReminderMessage, bK as CreateHiveCommentRequest, bJ as CreateHiveCommentRequestSchema, bC as CreateHiveReviewRequest, bB as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, dk as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dP as CreditExhaustedEventData, dO as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eI as DaemonGitlabOperation, eH as DaemonGitlabOperationSchema, eK as DaemonGitlabRequestEventData, eJ as DaemonGitlabRequestSchema, eM as DaemonGitlabResponseEventData, eL as DaemonGitlabResponseSchema, eq as DeployAgentCompleteEventData, ep as DeployAgentCompleteEventSchema, eo as DeployAgentEventData, en as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cw as EventAckData, cv as EventAckSchema, f2 as EventData, f7 as EventMap, f8 as EventName, f9 as EventSchemaMap, fp as ExecuteMachineActionResponse, fo as ExecuteMachineActionResponseSchema, fS as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, fY as FrameworkNotSupportedError, fL as FrameworkType, bY as GetStreamVersionQuery, bX as GetStreamVersionQuerySchema, aO as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, b6 as HiveAuthorType, b5 as HiveAuthorTypeSchema, bI as HiveComment, bO as HiveCommentListResponse, bN as HiveCommentListResponseSchema, bH as HiveCommentSchema, bs as HiveInstall, ey as HiveInstallCompleteEventData, ex as HiveInstallCompleteEventSchema, ew as HiveInstallEventData, ev as HiveInstallEventSchema, bq as HiveInstallRequest, bp as HiveInstallRequestSchema, bu as HiveInstallResponse, bt as HiveInstallResponseSchema, br as HiveInstallSchema, bQ as HiveInstalledItem, bP as HiveInstalledItemSchema, bS as HiveInstalledResponse, bR as HiveInstalledResponseSchema, bi as HiveListQuery, bh as HiveListQuerySchema, bk as HiveListResponse, bj as HiveListResponseSchema, bc as HiveListing, bb as HiveListingSchema, b8 as HiveListingStatus, b7 as HiveListingStatusSchema, b4 as HiveListingType, b3 as HiveListingTypeSchema, bU as HiveMyListingsResponse, bT as HiveMyListingsResponseSchema, eu as HivePublishCompleteEventData, et as HivePublishCompleteEventSchema, es as HivePublishEventData, er as HivePublishEventSchema, bA as HiveReview, bG as HiveReviewListResponse, bF as HiveReviewListResponseSchema, bz as HiveReviewSchema, ba as HiveSort, b9 as HiveSortSchema, fR as HookFactory, dh as ListModelsEventData, dg as ListModelsEventSchema, aW as ListRecentTasksRequest, aV as ListRecentTasksRequestSchema, a_ as ListRecentTasksResponse, aZ as ListRecentTasksResponseSchema, aQ as ListSubTasksRequest, aP as ListSubTasksRequestSchema, aU as ListSubTasksResponse, aT as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, fQ as LoadAgentOptions, fn as MachineActionPending, fm as MachineActionPendingSchema, fl as MachineActionRequestEventData, fk as MachineActionRequestSchema, cN as MachineAliveEventData, cM as MachineAliveEventSchema, fd as MachineControlAction, fc as MachineControlActionSchema, fr as MachineControlCommandEventData, fq as MachineControlCommandSchema, fh as MachineControlErrorCode, fg as MachineControlErrorCodeSchema, fj as MachineControlPingResult, fi as MachineControlPingResultSchema, fv as MachineControlProgressEventData, fu as MachineControlProgressSchema, ft as MachineControlProgressStatus, fs as MachineControlProgressStatusSchema, fA as MachineControlRelayContext, ff as MachineControlTarget, fe as MachineControlTargetSchema, fz as MachineControlUpdatedEventData, fy as MachineControlUpdatedSchema, fx as MachineControlUpdatedStatus, fw as MachineControlUpdatedStatusSchema, fE as MachineRpcCallEventData, fD as MachineRpcCallEventSchema, dX as MachineRtcRequestEventData, dW as MachineRtcRequestSchema, dZ as MachineRtcResponseEventData, dY as MachineRtcResponseSchema, em as MergePullRequestAck, el as MergePullRequestEventData, ek as MergePullRequestEventSchema, ed as MergeRequestEventData, ec as MergeRequestEventSchema, f_ as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, eE as PrStateChangedData, dy as PreviewMetadataSchema, dx as PreviewMethod, dw as PreviewMethodSchema, dv as PreviewProjectType, du as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, be as PublishToHiveRequest, bd as PublishToHiveRequestSchema, bg as PublishToHiveResponse, bf as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, aY as RecentTaskSummary, aX as RecentTaskSummarySchema, bw as RecordHiveInstallRequest, bv as RecordHiveInstallRequestSchema, by as RecordHiveInstallResponse, bx as RecordHiveInstallResponseSchema, eN as RepositoryInboxProviderSchema, eP as RepositoryInboxWebhookEventData, eO as RepositoryInboxWebhookSchema, f1 as ResetTaskSessionEventData, f0 as ResetTaskSessionSchema, dm as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fC as RpcCallEventData, fB as RpcCallEventSchema, fG as RpcResponseData, fF as RpcResponseSchema, dR as RtcIceServer, dQ as RtcIceServerSchema, dT as RtcIceServersRequestEventData, dS as RtcIceServersRequestSchema, dV as RtcIceServersResponseEventData, dU as RtcIceServersResponseSchema, d$ as RtcSignalEventData, d_ as RtcSignalSchema, aE as SendMessageTarget, aG as SendTaskMessageRequest, aF as SendTaskMessageRequestSchema, aI as SendTaskMessageResponse, aH as SendTaskMessageResponseSchema, f4 as SeqSyncRequestEventData, f3 as SeqSyncRequestEventDataSchema, f6 as SeqSyncResponseEventData, f5 as SeqSyncResponseEventDataSchema, dJ as ShowModalEventData, dI as ShowModalEventDataSchema, aK as ShowModalRequest, aJ as ShowModalRequestSchema, aM as ShowModalResponse, aL as ShowModalResponseSchema, cP as ShutdownMachineData, cO as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, dr as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, dq as StopTaskSchema, b_ as StreamVersionResponse, bZ as StreamVersionResponseSchema, ej as SubTaskAskUserEventData, ei as SubTaskAskUserEventSchema, cg as SubTaskAskUserMessage, eh as SubTaskResultUpdatedEventData, eg as SubTaskResultUpdatedEventSchema, aS as SubTaskSummary, aR as SubTaskSummarySchema, c0 as SyncAvailableEvent, b$ as SyncAvailableEventSchema, bW as SyncStreamType, bV as SyncStreamTypeSchema, eG as SystemMessageEventData, eF as SystemMessageSchema, eD as SystemMessageType, ck as TaskAgentInfo, cj as TaskAgentInfoSchema, dt as TaskArtifactsStats, ds as TaskArtifactsStatsSchema, dA as TaskArtifactsSummary, dz as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, e7 as TaskInfoUpdateEventData, e6 as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dC as TaskMessageEventData, ci as TaskMessagePayload, dB as TaskMessageSchema, dE as TaskModelUsage, dD as TaskModelUsageSchema, k as TaskPreviewUrlSchema, e9 as TaskSlashCommand, e8 as TaskSlashCommandSchema, eb as TaskSlashCommandsUpdateEventData, ea as TaskSlashCommandsUpdateEventDataSchema, dH as TaskState, dN as TaskStateChangeEventData, dM as TaskStateChangeEventSchema, ef as TaskStoppedEventData, ee as TaskStoppedEventSchema, ch as TaskSystemMessage, f as TaskTodo, e as TaskTodoSchema, dG as TaskUsageReportEventData, dF as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, eB as UpdateAgentInfoEventData, eA as UpdateAgentInfoEventSchema, bM as UpdateHiveCommentRequest, bL as UpdateHiveCommentRequestSchema, bm as UpdateHiveListingRequest, bl as UpdateHiveListingRequestSchema, bE as UpdateHiveReviewRequest, bD as UpdateHiveReviewRequestSchema, bo as UpdateHiveVersionRequest, bn as UpdateHiveVersionRequestSchema, e5 as UpdateTaskAgentSessionIdEventData, e4 as UpdateTaskAgentSessionIdEventSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aD as UpdateTaskPreviewUrlResponse, aC as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, fP as ValidationResult, cA as VisionPlanActionEventData, cz as VisionPlanActionEventSchema, cy as VisionPlanCardEventData, cx as VisionPlanCardEventSchema, cC as VisionPlanReviewWriteEventData, cB as VisionPlanReviewWriteEventSchema, c$ as WorkerAliveEventData, c_ as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, d1 as WorkerExitEventData, d0 as WorkerExitSchema, cT as WorkerInitializedEventData, cS as WorkerInitializedSchema, cR as WorkerInitializingEventData, cQ as WorkerInitializingSchema, d5 as WorkerPermissionModeEventData, d4 as WorkerPermissionModeSchema, cV as WorkerPermissionModeValue, cU as WorkerPermissionModeValueSchema, cX as WorkerReadyEventData, cW as WorkerReadySchema, d3 as WorkerRunningEventData, d2 as WorkerRunningSchema, d7 as WorkerStatusRequestEventData, d6 as WorkerStatusRequestSchema, db as WorkerStatusSnapshot, da as WorkerStatusSnapshotSchema, d9 as WorkerStatusValue, d8 as WorkerStatusValueSchema, fa as WorkerTaskEvent, cD as WorkspaceFileMutationOperationSchema, cF as WorkspaceFileMutationRequestEventData, cE as WorkspaceFileMutationRequestSchema, cH as WorkspaceFileMutationResponseEventData, cG as WorkspaceFileMutationResponseSchema, e1 as WorkspaceFileRequestEventData, e0 as WorkspaceFileRequestSchema, e3 as WorkspaceFileResponseEventData, e2 as WorkspaceFileResponseSchema, di as baseTaskSchema, K as cancelTaskRequestSchema, dn as cancelTaskSchema, cu as createEventId, af as createMergeRequestSchema, dj as createTaskSchema, fK as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cl as isAskUserMessage, cm as isAskUserResponseMessage, i as isCloudTaskExecution, cn as isCompanionHeartbeatMessage, cp as isCompanionMemoryOrganizationMessage, co as isCompanionReminderMessage, c as isLocalTaskExecution, cs as isSDKMessage, ct as isSDKUserMessage, cq as isSubTaskAskUserMessage, cr as isTaskSystemMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, dl as resumeTaskSchema, fJ as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, fb as workerTaskEvents } from './errors-Br-r7N--.cjs';
|
|
2
|
+
import { P as PreviewMetadata } from './errors-CG2gbkBJ.cjs';
|
|
3
|
+
export { cZ as ActiveAgent, cY as ActiveAgentSchema, fP as AgentConfig, fY as AgentConfigValidationError, fI as AgentContext, fW as AgentError, f_ as AgentLoadError, fN as AgentMetadata, fU as AgentMetadataSchema, fX as AgentNotFoundError, fJ as AgentrixContext, cL as ApiServerAliveEventData, cK as ApiServerAliveEventSchema, cJ as AppAliveEventData, cI as AppAliveEventSchema, aj as ApprovePrRequest, ai as ApprovePrRequestSchema, al as ApprovePrResponse, ak as ApprovePrResponseSchema, ar as ArchiveTaskRequest, aq as ArchiveTaskRequestSchema, at as ArchiveTaskResponse, as as ArchiveTaskResponseSchema, c6 as AskUserMessage, c5 as AskUserMessageSchema, c2 as AskUserOption, c1 as AskUserOptionSchema, c4 as AskUserQuestion, c3 as AskUserQuestionSchema, cc as AskUserResponseMessage, cb as AskUserResponseMessageSchema, ca as AskUserResponseReason, c8 as AskUserResponseReasonSchema, c9 as AskUserResponseStatus, c7 as AskUserResponseStatusSchema, eC as AssociateRepoEventData, ez as AssociateRepoEventDataSchema, dp as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dL as ChangeTaskTitleEventData, dK as ChangeTaskTitleEventSchema, dd as ChatWorkersStatusRequestEventData, dc as ChatWorkersStatusRequestSchema, df as ChatWorkersStatusResponseEventData, de as ChatWorkersStatusResponseSchema, fO as ClaudeAgentConfig, fV as ClaudeConfigSchema, cd as CompanionHeartbeatMessage, eS as CompanionHeartbeatRequestData, eR as CompanionHeartbeatRequestSchema, eU as CompanionHeartbeatResponseData, eT as CompanionHeartbeatResponseSchema, e_ as CompanionInitRequestData, eZ as CompanionInitRequestSchema, f0 as CompanionInitResponseData, e$ as CompanionInitResponseSchema, cf as CompanionMemoryOrganizationMessage, eW as CompanionMemoryOrganizationRequestData, eV as CompanionMemoryOrganizationRequestSchema, eY as CompanionMemoryOrganizationResponseData, eX as CompanionMemoryOrganizationResponseSchema, ce as CompanionReminderMessage, bK as CreateHiveCommentRequest, bJ as CreateHiveCommentRequestSchema, bC as CreateHiveReviewRequest, bB as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, dk as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dP as CreditExhaustedEventData, dO as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eJ as DaemonGitlabOperation, eI as DaemonGitlabOperationSchema, eL as DaemonGitlabRequestEventData, eK as DaemonGitlabRequestSchema, eN as DaemonGitlabResponseEventData, eM as DaemonGitlabResponseSchema, eq as DeployAgentCompleteEventData, ep as DeployAgentCompleteEventSchema, eo as DeployAgentEventData, en as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cw as EventAckData, cv as EventAckSchema, f3 as EventData, f8 as EventMap, f9 as EventName, fa as EventSchemaMap, fq as ExecuteMachineActionResponse, fp as ExecuteMachineActionResponseSchema, fT as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, fZ as FrameworkNotSupportedError, fM as FrameworkType, bY as GetStreamVersionQuery, bX as GetStreamVersionQuerySchema, aO as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, b6 as HiveAuthorType, b5 as HiveAuthorTypeSchema, bI as HiveComment, bO as HiveCommentListResponse, bN as HiveCommentListResponseSchema, bH as HiveCommentSchema, bs as HiveInstall, ey as HiveInstallCompleteEventData, ex as HiveInstallCompleteEventSchema, ew as HiveInstallEventData, ev as HiveInstallEventSchema, bq as HiveInstallRequest, bp as HiveInstallRequestSchema, bu as HiveInstallResponse, bt as HiveInstallResponseSchema, br as HiveInstallSchema, bQ as HiveInstalledItem, bP as HiveInstalledItemSchema, bS as HiveInstalledResponse, bR as HiveInstalledResponseSchema, bi as HiveListQuery, bh as HiveListQuerySchema, bk as HiveListResponse, bj as HiveListResponseSchema, bc as HiveListing, bb as HiveListingSchema, b8 as HiveListingStatus, b7 as HiveListingStatusSchema, b4 as HiveListingType, b3 as HiveListingTypeSchema, bU as HiveMyListingsResponse, bT as HiveMyListingsResponseSchema, eu as HivePublishCompleteEventData, et as HivePublishCompleteEventSchema, es as HivePublishEventData, er as HivePublishEventSchema, bA as HiveReview, bG as HiveReviewListResponse, bF as HiveReviewListResponseSchema, bz as HiveReviewSchema, ba as HiveSort, b9 as HiveSortSchema, fS as HookFactory, dh as ListModelsEventData, dg as ListModelsEventSchema, aW as ListRecentTasksRequest, aV as ListRecentTasksRequestSchema, a_ as ListRecentTasksResponse, aZ as ListRecentTasksResponseSchema, aQ as ListSubTasksRequest, aP as ListSubTasksRequestSchema, aU as ListSubTasksResponse, aT as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, fR as LoadAgentOptions, fo as MachineActionPending, fn as MachineActionPendingSchema, fm as MachineActionRequestEventData, fl as MachineActionRequestSchema, cN as MachineAliveEventData, cM as MachineAliveEventSchema, fe as MachineControlAction, fd as MachineControlActionSchema, fs as MachineControlCommandEventData, fr as MachineControlCommandSchema, fi as MachineControlErrorCode, fh as MachineControlErrorCodeSchema, fk as MachineControlPingResult, fj as MachineControlPingResultSchema, fw as MachineControlProgressEventData, fv as MachineControlProgressSchema, fu as MachineControlProgressStatus, ft as MachineControlProgressStatusSchema, fB as MachineControlRelayContext, fg as MachineControlTarget, ff as MachineControlTargetSchema, fA as MachineControlUpdatedEventData, fz as MachineControlUpdatedSchema, fy as MachineControlUpdatedStatus, fx as MachineControlUpdatedStatusSchema, fF as MachineRpcCallEventData, fE as MachineRpcCallEventSchema, dX as MachineRtcRequestEventData, dW as MachineRtcRequestSchema, dZ as MachineRtcResponseEventData, dY as MachineRtcResponseSchema, em as MergePullRequestAck, el as MergePullRequestEventData, ek as MergePullRequestEventSchema, ed as MergeRequestEventData, ec as MergeRequestEventSchema, f$ as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, eE as PrStateChangedData, dy as PreviewMetadataSchema, dx as PreviewMethod, dw as PreviewMethodSchema, dv as PreviewProjectType, du as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, be as PublishToHiveRequest, bd as PublishToHiveRequestSchema, bg as PublishToHiveResponse, bf as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, aY as RecentTaskSummary, aX as RecentTaskSummarySchema, bw as RecordHiveInstallRequest, bv as RecordHiveInstallRequestSchema, by as RecordHiveInstallResponse, bx as RecordHiveInstallResponseSchema, eO as RepositoryInboxProviderSchema, eQ as RepositoryInboxWebhookEventData, eP as RepositoryInboxWebhookSchema, f2 as ResetTaskSessionEventData, f1 as ResetTaskSessionSchema, eF as ResourceLimitsUpdatedData, dm as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fD as RpcCallEventData, fC as RpcCallEventSchema, fH as RpcResponseData, fG as RpcResponseSchema, dR as RtcIceServer, dQ as RtcIceServerSchema, dT as RtcIceServersRequestEventData, dS as RtcIceServersRequestSchema, dV as RtcIceServersResponseEventData, dU as RtcIceServersResponseSchema, d$ as RtcSignalEventData, d_ as RtcSignalSchema, aE as SendMessageTarget, aG as SendTaskMessageRequest, aF as SendTaskMessageRequestSchema, aI as SendTaskMessageResponse, aH as SendTaskMessageResponseSchema, f5 as SeqSyncRequestEventData, f4 as SeqSyncRequestEventDataSchema, f7 as SeqSyncResponseEventData, f6 as SeqSyncResponseEventDataSchema, dJ as ShowModalEventData, dI as ShowModalEventDataSchema, aK as ShowModalRequest, aJ as ShowModalRequestSchema, aM as ShowModalResponse, aL as ShowModalResponseSchema, cP as ShutdownMachineData, cO as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, dr as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, dq as StopTaskSchema, b_ as StreamVersionResponse, bZ as StreamVersionResponseSchema, ej as SubTaskAskUserEventData, ei as SubTaskAskUserEventSchema, cg as SubTaskAskUserMessage, eh as SubTaskResultUpdatedEventData, eg as SubTaskResultUpdatedEventSchema, aS as SubTaskSummary, aR as SubTaskSummarySchema, c0 as SyncAvailableEvent, b$ as SyncAvailableEventSchema, bW as SyncStreamType, bV as SyncStreamTypeSchema, eH as SystemMessageEventData, eG as SystemMessageSchema, eD as SystemMessageType, ck as TaskAgentInfo, cj as TaskAgentInfoSchema, dt as TaskArtifactsStats, ds as TaskArtifactsStatsSchema, dA as TaskArtifactsSummary, dz as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, e7 as TaskInfoUpdateEventData, e6 as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dC as TaskMessageEventData, ci as TaskMessagePayload, dB as TaskMessageSchema, dE as TaskModelUsage, dD as TaskModelUsageSchema, k as TaskPreviewUrlSchema, e9 as TaskSlashCommand, e8 as TaskSlashCommandSchema, eb as TaskSlashCommandsUpdateEventData, ea as TaskSlashCommandsUpdateEventDataSchema, dH as TaskState, dN as TaskStateChangeEventData, dM as TaskStateChangeEventSchema, ef as TaskStoppedEventData, ee as TaskStoppedEventSchema, ch as TaskSystemMessage, f as TaskTodo, e as TaskTodoSchema, dG as TaskUsageReportEventData, dF as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, eB as UpdateAgentInfoEventData, eA as UpdateAgentInfoEventSchema, bM as UpdateHiveCommentRequest, bL as UpdateHiveCommentRequestSchema, bm as UpdateHiveListingRequest, bl as UpdateHiveListingRequestSchema, bE as UpdateHiveReviewRequest, bD as UpdateHiveReviewRequestSchema, bo as UpdateHiveVersionRequest, bn as UpdateHiveVersionRequestSchema, e5 as UpdateTaskAgentSessionIdEventData, e4 as UpdateTaskAgentSessionIdEventSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aD as UpdateTaskPreviewUrlResponse, aC as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, fQ as ValidationResult, cA as VisionPlanActionEventData, cz as VisionPlanActionEventSchema, cy as VisionPlanCardEventData, cx as VisionPlanCardEventSchema, cC as VisionPlanReviewWriteEventData, cB as VisionPlanReviewWriteEventSchema, c$ as WorkerAliveEventData, c_ as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, d1 as WorkerExitEventData, d0 as WorkerExitSchema, cT as WorkerInitializedEventData, cS as WorkerInitializedSchema, cR as WorkerInitializingEventData, cQ as WorkerInitializingSchema, d5 as WorkerPermissionModeEventData, d4 as WorkerPermissionModeSchema, cV as WorkerPermissionModeValue, cU as WorkerPermissionModeValueSchema, cX as WorkerReadyEventData, cW as WorkerReadySchema, d3 as WorkerRunningEventData, d2 as WorkerRunningSchema, d7 as WorkerStatusRequestEventData, d6 as WorkerStatusRequestSchema, db as WorkerStatusSnapshot, da as WorkerStatusSnapshotSchema, d9 as WorkerStatusValue, d8 as WorkerStatusValueSchema, fb as WorkerTaskEvent, cD as WorkspaceFileMutationOperationSchema, cF as WorkspaceFileMutationRequestEventData, cE as WorkspaceFileMutationRequestSchema, cH as WorkspaceFileMutationResponseEventData, cG as WorkspaceFileMutationResponseSchema, e1 as WorkspaceFileRequestEventData, e0 as WorkspaceFileRequestSchema, e3 as WorkspaceFileResponseEventData, e2 as WorkspaceFileResponseSchema, di as baseTaskSchema, K as cancelTaskRequestSchema, dn as cancelTaskSchema, cu as createEventId, af as createMergeRequestSchema, dj as createTaskSchema, fL as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cl as isAskUserMessage, cm as isAskUserResponseMessage, i as isCloudTaskExecution, cn as isCompanionHeartbeatMessage, cp as isCompanionMemoryOrganizationMessage, co as isCompanionReminderMessage, c as isLocalTaskExecution, cs as isSDKMessage, ct as isSDKUserMessage, cq as isSubTaskAskUserMessage, cr as isTaskSystemMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, dl as resumeTaskSchema, fK as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, fc as workerTaskEvents } from './errors-CG2gbkBJ.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
@@ -56,8 +56,8 @@ declare const FileStatsSchema: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
type FileStats = z.infer<typeof FileStatsSchema>;
|
|
58
58
|
declare const SenderTypeSchema: z.ZodEnum<{
|
|
59
|
-
system: "system";
|
|
60
59
|
human: "human";
|
|
60
|
+
system: "system";
|
|
61
61
|
agent: "agent";
|
|
62
62
|
channel: "channel";
|
|
63
63
|
}>;
|
|
@@ -1558,10 +1558,10 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1558
1558
|
*/
|
|
1559
1559
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1560
1560
|
ownerType: z.ZodEnum<{
|
|
1561
|
-
machine: "machine";
|
|
1562
1561
|
agent: "agent";
|
|
1563
1562
|
cloud: "cloud";
|
|
1564
1563
|
"draft-agent": "draft-agent";
|
|
1564
|
+
machine: "machine";
|
|
1565
1565
|
}>;
|
|
1566
1566
|
ownerId: z.ZodString;
|
|
1567
1567
|
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -1952,6 +1952,7 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
1952
1952
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
1953
1953
|
pending: "pending";
|
|
1954
1954
|
active: "active";
|
|
1955
|
+
suspended: "suspended";
|
|
1955
1956
|
revoked: "revoked";
|
|
1956
1957
|
}>>;
|
|
1957
1958
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1996,6 +1997,7 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
1996
1997
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
1997
1998
|
pending: "pending";
|
|
1998
1999
|
active: "active";
|
|
2000
|
+
suspended: "suspended";
|
|
1999
2001
|
revoked: "revoked";
|
|
2000
2002
|
}>>;
|
|
2001
2003
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2632,6 +2634,405 @@ declare const CreateCloudResponseSchema: z.ZodObject<{
|
|
|
2632
2634
|
}, z.core.$strip>;
|
|
2633
2635
|
type CreateCloudResponse = z.infer<typeof CreateCloudResponseSchema>;
|
|
2634
2636
|
|
|
2637
|
+
/**
|
|
2638
|
+
* Console user operations HTTP schemas.
|
|
2639
|
+
* Admin-only account visibility and low-risk account operations.
|
|
2640
|
+
*/
|
|
2641
|
+
|
|
2642
|
+
declare const ConsoleUserRoleSchema: z.ZodEnum<{
|
|
2643
|
+
user: "user";
|
|
2644
|
+
admin: "admin";
|
|
2645
|
+
}>;
|
|
2646
|
+
type ConsoleUserRole = z.infer<typeof ConsoleUserRoleSchema>;
|
|
2647
|
+
declare const SetConsoleUserRoleRequestSchema: z.ZodObject<{
|
|
2648
|
+
role: z.ZodEnum<{
|
|
2649
|
+
user: "user";
|
|
2650
|
+
admin: "admin";
|
|
2651
|
+
}>;
|
|
2652
|
+
}, z.core.$strip>;
|
|
2653
|
+
type SetConsoleUserRoleRequest = z.infer<typeof SetConsoleUserRoleRequestSchema>;
|
|
2654
|
+
declare const ConsoleUsersListQuerySchema: z.ZodObject<{
|
|
2655
|
+
q: z.ZodOptional<z.ZodString>;
|
|
2656
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
2657
|
+
user: "user";
|
|
2658
|
+
admin: "admin";
|
|
2659
|
+
}>>;
|
|
2660
|
+
subscriptionStatus: z.ZodOptional<z.ZodString>;
|
|
2661
|
+
planType: z.ZodOptional<z.ZodString>;
|
|
2662
|
+
page: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number, string | undefined>>;
|
|
2663
|
+
limit: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number, string | undefined>>;
|
|
2664
|
+
}, z.core.$strip>;
|
|
2665
|
+
type ConsoleUsersListQuery = z.infer<typeof ConsoleUsersListQuerySchema>;
|
|
2666
|
+
declare const ConsoleSubscriptionSummarySchema: z.ZodObject<{
|
|
2667
|
+
status: z.ZodNullable<z.ZodString>;
|
|
2668
|
+
planType: z.ZodNullable<z.ZodString>;
|
|
2669
|
+
planName: z.ZodNullable<z.ZodString>;
|
|
2670
|
+
currentPeriodEnd: z.ZodNullable<z.ZodString>;
|
|
2671
|
+
cancelAtPeriodEnd: z.ZodNullable<z.ZodBoolean>;
|
|
2672
|
+
}, z.core.$strip>;
|
|
2673
|
+
type ConsoleSubscriptionSummary = z.infer<typeof ConsoleSubscriptionSummarySchema>;
|
|
2674
|
+
declare const ConsoleApiKeySummarySchema: z.ZodObject<{
|
|
2675
|
+
total: z.ZodNumber;
|
|
2676
|
+
enabled: z.ZodNumber;
|
|
2677
|
+
disabled: z.ZodNumber;
|
|
2678
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
2679
|
+
}, z.core.$strip>;
|
|
2680
|
+
type ConsoleApiKeySummary = z.infer<typeof ConsoleApiKeySummarySchema>;
|
|
2681
|
+
declare const ConsoleUserListItemSchema: z.ZodObject<{
|
|
2682
|
+
id: z.ZodString;
|
|
2683
|
+
username: z.ZodString;
|
|
2684
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2685
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
2686
|
+
role: z.ZodString;
|
|
2687
|
+
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
2688
|
+
createdAt: z.ZodString;
|
|
2689
|
+
updatedAt: z.ZodString;
|
|
2690
|
+
subscriptionSummary: z.ZodObject<{
|
|
2691
|
+
status: z.ZodNullable<z.ZodString>;
|
|
2692
|
+
planType: z.ZodNullable<z.ZodString>;
|
|
2693
|
+
planName: z.ZodNullable<z.ZodString>;
|
|
2694
|
+
currentPeriodEnd: z.ZodNullable<z.ZodString>;
|
|
2695
|
+
cancelAtPeriodEnd: z.ZodNullable<z.ZodBoolean>;
|
|
2696
|
+
}, z.core.$strip>;
|
|
2697
|
+
apiKeySummary: z.ZodObject<{
|
|
2698
|
+
total: z.ZodNumber;
|
|
2699
|
+
enabled: z.ZodNumber;
|
|
2700
|
+
disabled: z.ZodNumber;
|
|
2701
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
2702
|
+
}, z.core.$strip>;
|
|
2703
|
+
}, z.core.$strip>;
|
|
2704
|
+
type ConsoleUserListItem = z.infer<typeof ConsoleUserListItemSchema>;
|
|
2705
|
+
declare const ListConsoleUsersResponseSchema: z.ZodObject<{
|
|
2706
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2707
|
+
id: z.ZodString;
|
|
2708
|
+
username: z.ZodString;
|
|
2709
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2710
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
2711
|
+
role: z.ZodString;
|
|
2712
|
+
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
2713
|
+
createdAt: z.ZodString;
|
|
2714
|
+
updatedAt: z.ZodString;
|
|
2715
|
+
subscriptionSummary: z.ZodObject<{
|
|
2716
|
+
status: z.ZodNullable<z.ZodString>;
|
|
2717
|
+
planType: z.ZodNullable<z.ZodString>;
|
|
2718
|
+
planName: z.ZodNullable<z.ZodString>;
|
|
2719
|
+
currentPeriodEnd: z.ZodNullable<z.ZodString>;
|
|
2720
|
+
cancelAtPeriodEnd: z.ZodNullable<z.ZodBoolean>;
|
|
2721
|
+
}, z.core.$strip>;
|
|
2722
|
+
apiKeySummary: z.ZodObject<{
|
|
2723
|
+
total: z.ZodNumber;
|
|
2724
|
+
enabled: z.ZodNumber;
|
|
2725
|
+
disabled: z.ZodNumber;
|
|
2726
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
2727
|
+
}, z.core.$strip>;
|
|
2728
|
+
}, z.core.$strip>>;
|
|
2729
|
+
total: z.ZodNumber;
|
|
2730
|
+
page: z.ZodNumber;
|
|
2731
|
+
limit: z.ZodNumber;
|
|
2732
|
+
totalPages: z.ZodNumber;
|
|
2733
|
+
}, z.core.$strip>;
|
|
2734
|
+
type ListConsoleUsersResponse = z.infer<typeof ListConsoleUsersResponseSchema>;
|
|
2735
|
+
declare const ConsoleUserProfileSchema: z.ZodObject<{
|
|
2736
|
+
id: z.ZodString;
|
|
2737
|
+
username: z.ZodString;
|
|
2738
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2739
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
2740
|
+
role: z.ZodString;
|
|
2741
|
+
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
2742
|
+
createdAt: z.ZodString;
|
|
2743
|
+
updatedAt: z.ZodString;
|
|
2744
|
+
}, z.core.$strip>;
|
|
2745
|
+
type ConsoleUserProfile = z.infer<typeof ConsoleUserProfileSchema>;
|
|
2746
|
+
declare const ConsoleUserOverviewResponseSchema: z.ZodObject<{
|
|
2747
|
+
user: z.ZodObject<{
|
|
2748
|
+
id: z.ZodString;
|
|
2749
|
+
username: z.ZodString;
|
|
2750
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2751
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
2752
|
+
role: z.ZodString;
|
|
2753
|
+
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
2754
|
+
createdAt: z.ZodString;
|
|
2755
|
+
updatedAt: z.ZodString;
|
|
2756
|
+
}, z.core.$strip>;
|
|
2757
|
+
oauthAccounts: z.ZodArray<z.ZodObject<{
|
|
2758
|
+
provider: z.ZodString;
|
|
2759
|
+
username: z.ZodString;
|
|
2760
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2761
|
+
avatarUrl: z.ZodString;
|
|
2762
|
+
}, z.core.$strip>>;
|
|
2763
|
+
gitServerAccounts: z.ZodArray<z.ZodObject<{
|
|
2764
|
+
gitServerId: z.ZodString;
|
|
2765
|
+
providerUserId: z.ZodString;
|
|
2766
|
+
username: z.ZodString;
|
|
2767
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
2768
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2769
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
2770
|
+
authSource: z.ZodString;
|
|
2771
|
+
oauthAccountId: z.ZodNullable<z.ZodString>;
|
|
2772
|
+
lastSyncedAt: z.ZodString;
|
|
2773
|
+
}, z.core.$strip>>;
|
|
2774
|
+
}, z.core.$strip>;
|
|
2775
|
+
type ConsoleUserOverviewResponse = z.infer<typeof ConsoleUserOverviewResponseSchema>;
|
|
2776
|
+
declare const ConsoleBillingModuleErrorSchema: z.ZodObject<{
|
|
2777
|
+
error: z.ZodString;
|
|
2778
|
+
message: z.ZodString;
|
|
2779
|
+
}, z.core.$strip>;
|
|
2780
|
+
type ConsoleBillingModuleError = z.infer<typeof ConsoleBillingModuleErrorSchema>;
|
|
2781
|
+
declare const ConsoleStripeRechargeOrderSchema: z.ZodObject<{
|
|
2782
|
+
id: z.ZodString;
|
|
2783
|
+
stripeCustomerId: z.ZodString;
|
|
2784
|
+
stripeCheckoutSessionId: z.ZodNullable<z.ZodString>;
|
|
2785
|
+
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
2786
|
+
amountUsd: z.ZodNumber;
|
|
2787
|
+
credits: z.ZodNumber;
|
|
2788
|
+
paymentStatus: z.ZodString;
|
|
2789
|
+
creditStatus: z.ZodString;
|
|
2790
|
+
creditedTransactionId: z.ZodNullable<z.ZodString>;
|
|
2791
|
+
createdAt: z.ZodString;
|
|
2792
|
+
updatedAt: z.ZodString;
|
|
2793
|
+
}, z.core.$strip>;
|
|
2794
|
+
type ConsoleStripeRechargeOrder = z.infer<typeof ConsoleStripeRechargeOrderSchema>;
|
|
2795
|
+
declare const ConsoleUserBillingResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2796
|
+
status: z.ZodLiteral<"available">;
|
|
2797
|
+
balance: z.ZodObject<{
|
|
2798
|
+
userId: z.ZodString;
|
|
2799
|
+
balance: z.ZodNumber;
|
|
2800
|
+
currentCreditsPackageId: z.ZodNullable<z.ZodString>;
|
|
2801
|
+
balanceRefreshAt: z.ZodNullable<z.ZodString>;
|
|
2802
|
+
lastCalculatedAt: z.ZodString;
|
|
2803
|
+
}, z.core.$strip>;
|
|
2804
|
+
creditsBuckets: z.ZodArray<z.ZodObject<{
|
|
2805
|
+
expiredAt: z.ZodString;
|
|
2806
|
+
remaining: z.ZodNumber;
|
|
2807
|
+
}, z.core.$strip>>;
|
|
2808
|
+
transactions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2809
|
+
id: z.ZodString;
|
|
2810
|
+
userId: z.ZodString;
|
|
2811
|
+
creditsPackageId: z.ZodString;
|
|
2812
|
+
packageName: z.ZodOptional<z.ZodString>;
|
|
2813
|
+
amount: z.ZodNumber;
|
|
2814
|
+
balanceBefore: z.ZodNumber;
|
|
2815
|
+
balanceAfter: z.ZodNumber;
|
|
2816
|
+
type: z.ZodEnum<{
|
|
2817
|
+
user_recharge: "user_recharge";
|
|
2818
|
+
system_bonus: "system_bonus";
|
|
2819
|
+
refund: "refund";
|
|
2820
|
+
}>;
|
|
2821
|
+
paymentMethod: z.ZodNullable<z.ZodString>;
|
|
2822
|
+
paymentId: z.ZodNullable<z.ZodString>;
|
|
2823
|
+
metadata: z.ZodAny;
|
|
2824
|
+
createdAt: z.ZodString;
|
|
2825
|
+
transactionType: z.ZodLiteral<"charge">;
|
|
2826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2827
|
+
id: z.ZodString;
|
|
2828
|
+
userId: z.ZodString;
|
|
2829
|
+
taskId: z.ZodString;
|
|
2830
|
+
agentId: z.ZodString;
|
|
2831
|
+
creditsPackageId: z.ZodString;
|
|
2832
|
+
packageName: z.ZodOptional<z.ZodString>;
|
|
2833
|
+
amount: z.ZodNumber;
|
|
2834
|
+
balanceBefore: z.ZodNumber;
|
|
2835
|
+
balanceAfter: z.ZodNumber;
|
|
2836
|
+
metadata: z.ZodAny;
|
|
2837
|
+
createdAt: z.ZodString;
|
|
2838
|
+
transactionType: z.ZodLiteral<"consume">;
|
|
2839
|
+
}, z.core.$strip>]>>;
|
|
2840
|
+
stripeRechargeOrders: z.ZodArray<z.ZodObject<{
|
|
2841
|
+
id: z.ZodString;
|
|
2842
|
+
stripeCustomerId: z.ZodString;
|
|
2843
|
+
stripeCheckoutSessionId: z.ZodNullable<z.ZodString>;
|
|
2844
|
+
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
2845
|
+
amountUsd: z.ZodNumber;
|
|
2846
|
+
credits: z.ZodNumber;
|
|
2847
|
+
paymentStatus: z.ZodString;
|
|
2848
|
+
creditStatus: z.ZodString;
|
|
2849
|
+
creditedTransactionId: z.ZodNullable<z.ZodString>;
|
|
2850
|
+
createdAt: z.ZodString;
|
|
2851
|
+
updatedAt: z.ZodString;
|
|
2852
|
+
}, z.core.$strip>>;
|
|
2853
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2854
|
+
status: z.ZodLiteral<"unavailable">;
|
|
2855
|
+
error: z.ZodObject<{
|
|
2856
|
+
error: z.ZodString;
|
|
2857
|
+
message: z.ZodString;
|
|
2858
|
+
}, z.core.$strip>;
|
|
2859
|
+
}, z.core.$strip>], "status">;
|
|
2860
|
+
type ConsoleUserBillingResponse = z.infer<typeof ConsoleUserBillingResponseSchema>;
|
|
2861
|
+
declare const ConsoleSubscriptionRenewalStatusSchema: z.ZodEnum<{
|
|
2862
|
+
none: "none";
|
|
2863
|
+
renews: "renews";
|
|
2864
|
+
cancels_at_period_end: "cancels_at_period_end";
|
|
2865
|
+
canceled: "canceled";
|
|
2866
|
+
expired: "expired";
|
|
2867
|
+
}>;
|
|
2868
|
+
type ConsoleSubscriptionRenewalStatus = z.infer<typeof ConsoleSubscriptionRenewalStatusSchema>;
|
|
2869
|
+
declare const ConsoleUserSubscriptionResponseSchema: z.ZodObject<{
|
|
2870
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
2871
|
+
id: z.ZodString;
|
|
2872
|
+
userId: z.ZodString;
|
|
2873
|
+
stripeSubscriptionId: z.ZodString;
|
|
2874
|
+
stripeCustomerId: z.ZodString;
|
|
2875
|
+
stripePriceId: z.ZodString;
|
|
2876
|
+
status: z.ZodString;
|
|
2877
|
+
currentPeriodStart: z.ZodString;
|
|
2878
|
+
currentPeriodEnd: z.ZodString;
|
|
2879
|
+
cancelAtPeriodEnd: z.ZodBoolean;
|
|
2880
|
+
canceledAt: z.ZodNullable<z.ZodString>;
|
|
2881
|
+
createdAt: z.ZodString;
|
|
2882
|
+
updatedAt: z.ZodString;
|
|
2883
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2884
|
+
id: z.ZodString;
|
|
2885
|
+
name: z.ZodString;
|
|
2886
|
+
type: z.ZodEnum<{
|
|
2887
|
+
free: "free";
|
|
2888
|
+
plus: "plus";
|
|
2889
|
+
pro: "pro";
|
|
2890
|
+
enterprise: "enterprise";
|
|
2891
|
+
lite: "lite";
|
|
2892
|
+
max: "max";
|
|
2893
|
+
}>;
|
|
2894
|
+
stripePriceId: z.ZodNullable<z.ZodString>;
|
|
2895
|
+
price: z.ZodNumber;
|
|
2896
|
+
credits: z.ZodNumber;
|
|
2897
|
+
features: z.ZodArray<z.ZodString>;
|
|
2898
|
+
popular: z.ZodBoolean;
|
|
2899
|
+
enabled: z.ZodBoolean;
|
|
2900
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
2901
|
+
maxPrivateClouds: z.ZodNumber;
|
|
2902
|
+
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
2903
|
+
maxPrivateCloudMembers: z.ZodNumber;
|
|
2904
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
2905
|
+
createdAt: z.ZodString;
|
|
2906
|
+
updatedAt: z.ZodString;
|
|
2907
|
+
}, z.core.$strip>>>;
|
|
2908
|
+
}, z.core.$strip>>;
|
|
2909
|
+
effectivePlan: z.ZodNullable<z.ZodObject<{
|
|
2910
|
+
id: z.ZodString;
|
|
2911
|
+
name: z.ZodString;
|
|
2912
|
+
type: z.ZodEnum<{
|
|
2913
|
+
free: "free";
|
|
2914
|
+
plus: "plus";
|
|
2915
|
+
pro: "pro";
|
|
2916
|
+
enterprise: "enterprise";
|
|
2917
|
+
lite: "lite";
|
|
2918
|
+
max: "max";
|
|
2919
|
+
}>;
|
|
2920
|
+
stripePriceId: z.ZodNullable<z.ZodString>;
|
|
2921
|
+
price: z.ZodNumber;
|
|
2922
|
+
credits: z.ZodNumber;
|
|
2923
|
+
features: z.ZodArray<z.ZodString>;
|
|
2924
|
+
popular: z.ZodBoolean;
|
|
2925
|
+
enabled: z.ZodBoolean;
|
|
2926
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
2927
|
+
maxPrivateClouds: z.ZodNumber;
|
|
2928
|
+
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
2929
|
+
maxPrivateCloudMembers: z.ZodNumber;
|
|
2930
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
2931
|
+
createdAt: z.ZodString;
|
|
2932
|
+
updatedAt: z.ZodString;
|
|
2933
|
+
}, z.core.$strip>>;
|
|
2934
|
+
effectiveEntitlement: z.ZodNullable<z.ZodObject<{
|
|
2935
|
+
id: z.ZodString;
|
|
2936
|
+
userId: z.ZodString;
|
|
2937
|
+
source: z.ZodEnum<{
|
|
2938
|
+
subscription: "subscription";
|
|
2939
|
+
free_plan: "free_plan";
|
|
2940
|
+
manual: "manual";
|
|
2941
|
+
}>;
|
|
2942
|
+
subscriptionId: z.ZodNullable<z.ZodString>;
|
|
2943
|
+
planId: z.ZodNullable<z.ZodString>;
|
|
2944
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
2945
|
+
maxPrivateClouds: z.ZodNumber;
|
|
2946
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
2947
|
+
createdAt: z.ZodString;
|
|
2948
|
+
updatedAt: z.ZodString;
|
|
2949
|
+
}, z.core.$strip>>;
|
|
2950
|
+
renewalStatus: z.ZodEnum<{
|
|
2951
|
+
none: "none";
|
|
2952
|
+
renews: "renews";
|
|
2953
|
+
cancels_at_period_end: "cancels_at_period_end";
|
|
2954
|
+
canceled: "canceled";
|
|
2955
|
+
expired: "expired";
|
|
2956
|
+
}>;
|
|
2957
|
+
}, z.core.$strip>;
|
|
2958
|
+
type ConsoleUserSubscriptionResponse = z.infer<typeof ConsoleUserSubscriptionResponseSchema>;
|
|
2959
|
+
declare const ConsoleApiKeyMetadataSchema: z.ZodObject<{
|
|
2960
|
+
name: z.ZodString;
|
|
2961
|
+
id: z.ZodString;
|
|
2962
|
+
createdAt: z.ZodString;
|
|
2963
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2964
|
+
enabled: z.ZodBoolean;
|
|
2965
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
2966
|
+
keyPrefix: z.ZodString;
|
|
2967
|
+
}, z.core.$strip>;
|
|
2968
|
+
type ConsoleApiKeyMetadata = z.infer<typeof ConsoleApiKeyMetadataSchema>;
|
|
2969
|
+
declare const ConsoleUserApiKeysResponseSchema: z.ZodObject<{
|
|
2970
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2971
|
+
name: z.ZodString;
|
|
2972
|
+
id: z.ZodString;
|
|
2973
|
+
createdAt: z.ZodString;
|
|
2974
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2975
|
+
enabled: z.ZodBoolean;
|
|
2976
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
2977
|
+
keyPrefix: z.ZodString;
|
|
2978
|
+
}, z.core.$strip>>;
|
|
2979
|
+
total: z.ZodNumber;
|
|
2980
|
+
}, z.core.$strip>;
|
|
2981
|
+
type ConsoleUserApiKeysResponse = z.infer<typeof ConsoleUserApiKeysResponseSchema>;
|
|
2982
|
+
declare const ConsoleUserMachinesResponseSchema: z.ZodObject<{
|
|
2983
|
+
localMachines: z.ZodArray<z.ZodObject<{
|
|
2984
|
+
id: z.ZodString;
|
|
2985
|
+
createdAt: z.ZodString;
|
|
2986
|
+
status: z.ZodString;
|
|
2987
|
+
updatedAt: z.ZodString;
|
|
2988
|
+
owner: z.ZodString;
|
|
2989
|
+
metadata: z.ZodNullable<z.ZodString>;
|
|
2990
|
+
approval: z.ZodString;
|
|
2991
|
+
controlPort: z.ZodNullable<z.ZodNumber>;
|
|
2992
|
+
}, z.core.$strip>>;
|
|
2993
|
+
privateClouds: z.ZodArray<z.ZodObject<{
|
|
2994
|
+
id: z.ZodString;
|
|
2995
|
+
owner: z.ZodString;
|
|
2996
|
+
name: z.ZodString;
|
|
2997
|
+
type: z.ZodEnum<{
|
|
2998
|
+
public: "public";
|
|
2999
|
+
private: "private";
|
|
3000
|
+
}>;
|
|
3001
|
+
status: z.ZodEnum<{
|
|
3002
|
+
active: "active";
|
|
3003
|
+
suspended: "suspended";
|
|
3004
|
+
}>;
|
|
3005
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
3006
|
+
owner: "owner";
|
|
3007
|
+
admin: "admin";
|
|
3008
|
+
member: "member";
|
|
3009
|
+
}>>;
|
|
3010
|
+
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3011
|
+
pending: "pending";
|
|
3012
|
+
active: "active";
|
|
3013
|
+
suspended: "suspended";
|
|
3014
|
+
revoked: "revoked";
|
|
3015
|
+
}>>;
|
|
3016
|
+
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3017
|
+
maxMemberCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3018
|
+
machineCount: z.ZodOptional<z.ZodNumber>;
|
|
3019
|
+
onlineMachineCount: z.ZodOptional<z.ZodNumber>;
|
|
3020
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
3021
|
+
createdAt: z.ZodString;
|
|
3022
|
+
updatedAt: z.ZodString;
|
|
3023
|
+
machines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3024
|
+
id: z.ZodString;
|
|
3025
|
+
cloudId: z.ZodString;
|
|
3026
|
+
deviceId: z.ZodString;
|
|
3027
|
+
status: z.ZodString;
|
|
3028
|
+
metadata: z.ZodNullable<z.ZodString>;
|
|
3029
|
+
createdAt: z.ZodString;
|
|
3030
|
+
updatedAt: z.ZodString;
|
|
3031
|
+
}, z.core.$strip>>>;
|
|
3032
|
+
}, z.core.$strip>>;
|
|
3033
|
+
}, z.core.$strip>;
|
|
3034
|
+
type ConsoleUserMachinesResponse = z.infer<typeof ConsoleUserMachinesResponseSchema>;
|
|
3035
|
+
|
|
2635
3036
|
/**
|
|
2636
3037
|
* OAuth Server Admin API schemas
|
|
2637
3038
|
* For managing OAuth provider configurations via console API
|
|
@@ -3220,20 +3621,22 @@ declare const SubscriptionPlanSchema: z.ZodObject<{
|
|
|
3220
3621
|
}, z.core.$strip>;
|
|
3221
3622
|
type SubscriptionPlan = z.infer<typeof SubscriptionPlanSchema>;
|
|
3222
3623
|
declare const UserEntitlementSourceSchema: z.ZodEnum<{
|
|
3223
|
-
free_plan: "free_plan";
|
|
3224
3624
|
subscription: "subscription";
|
|
3625
|
+
free_plan: "free_plan";
|
|
3225
3626
|
manual: "manual";
|
|
3226
3627
|
}>;
|
|
3227
3628
|
declare const UserEntitlementSchema: z.ZodObject<{
|
|
3228
3629
|
id: z.ZodString;
|
|
3229
3630
|
userId: z.ZodString;
|
|
3230
3631
|
source: z.ZodEnum<{
|
|
3231
|
-
free_plan: "free_plan";
|
|
3232
3632
|
subscription: "subscription";
|
|
3633
|
+
free_plan: "free_plan";
|
|
3233
3634
|
manual: "manual";
|
|
3234
3635
|
}>;
|
|
3235
3636
|
subscriptionId: z.ZodNullable<z.ZodString>;
|
|
3236
3637
|
planId: z.ZodNullable<z.ZodString>;
|
|
3638
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
3639
|
+
maxPrivateClouds: z.ZodNumber;
|
|
3237
3640
|
maxOnlineLocalMachines: z.ZodNumber;
|
|
3238
3641
|
createdAt: z.ZodString;
|
|
3239
3642
|
updatedAt: z.ZodString;
|
|
@@ -3354,12 +3757,14 @@ declare const GetSubscriptionResponseSchema: z.ZodObject<{
|
|
|
3354
3757
|
id: z.ZodString;
|
|
3355
3758
|
userId: z.ZodString;
|
|
3356
3759
|
source: z.ZodEnum<{
|
|
3357
|
-
free_plan: "free_plan";
|
|
3358
3760
|
subscription: "subscription";
|
|
3761
|
+
free_plan: "free_plan";
|
|
3359
3762
|
manual: "manual";
|
|
3360
3763
|
}>;
|
|
3361
3764
|
subscriptionId: z.ZodNullable<z.ZodString>;
|
|
3362
3765
|
planId: z.ZodNullable<z.ZodString>;
|
|
3766
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
3767
|
+
maxPrivateClouds: z.ZodNumber;
|
|
3363
3768
|
maxOnlineLocalMachines: z.ZodNumber;
|
|
3364
3769
|
createdAt: z.ZodString;
|
|
3365
3770
|
updatedAt: z.ZodString;
|
|
@@ -3586,6 +3991,7 @@ declare const PrivateCloudSummarySchema: z.ZodObject<{
|
|
|
3586
3991
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3587
3992
|
pending: "pending";
|
|
3588
3993
|
active: "active";
|
|
3994
|
+
suspended: "suspended";
|
|
3589
3995
|
revoked: "revoked";
|
|
3590
3996
|
}>>;
|
|
3591
3997
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3627,6 +4033,7 @@ declare const ListPrivateCloudsResponseSchema: z.ZodObject<{
|
|
|
3627
4033
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3628
4034
|
pending: "pending";
|
|
3629
4035
|
active: "active";
|
|
4036
|
+
suspended: "suspended";
|
|
3630
4037
|
revoked: "revoked";
|
|
3631
4038
|
}>>;
|
|
3632
4039
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3680,6 +4087,7 @@ declare const CreatePrivateCloudResponseSchema: z.ZodObject<{
|
|
|
3680
4087
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3681
4088
|
pending: "pending";
|
|
3682
4089
|
active: "active";
|
|
4090
|
+
suspended: "suspended";
|
|
3683
4091
|
revoked: "revoked";
|
|
3684
4092
|
}>>;
|
|
3685
4093
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3714,9 +4122,9 @@ declare const PrivateCloudInviteSchema: z.ZodObject<{
|
|
|
3714
4122
|
maxUses: z.ZodNumber;
|
|
3715
4123
|
usedCount: z.ZodNumber;
|
|
3716
4124
|
status: z.ZodEnum<{
|
|
3717
|
-
expired: "expired";
|
|
3718
4125
|
active: "active";
|
|
3719
4126
|
revoked: "revoked";
|
|
4127
|
+
expired: "expired";
|
|
3720
4128
|
consumed: "consumed";
|
|
3721
4129
|
}>;
|
|
3722
4130
|
createdAt: z.ZodString;
|
|
@@ -3741,9 +4149,9 @@ declare const CreatePrivateCloudInviteResponseSchema: z.ZodObject<{
|
|
|
3741
4149
|
maxUses: z.ZodNumber;
|
|
3742
4150
|
usedCount: z.ZodNumber;
|
|
3743
4151
|
status: z.ZodEnum<{
|
|
3744
|
-
expired: "expired";
|
|
3745
4152
|
active: "active";
|
|
3746
4153
|
revoked: "revoked";
|
|
4154
|
+
expired: "expired";
|
|
3747
4155
|
consumed: "consumed";
|
|
3748
4156
|
}>;
|
|
3749
4157
|
createdAt: z.ZodString;
|
|
@@ -3776,6 +4184,7 @@ declare const AcceptPrivateCloudInviteResponseSchema: z.ZodObject<{
|
|
|
3776
4184
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3777
4185
|
pending: "pending";
|
|
3778
4186
|
active: "active";
|
|
4187
|
+
suspended: "suspended";
|
|
3779
4188
|
revoked: "revoked";
|
|
3780
4189
|
}>>;
|
|
3781
4190
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3809,6 +4218,7 @@ declare const PrivateCloudMemberSchema: z.ZodObject<{
|
|
|
3809
4218
|
status: z.ZodEnum<{
|
|
3810
4219
|
pending: "pending";
|
|
3811
4220
|
active: "active";
|
|
4221
|
+
suspended: "suspended";
|
|
3812
4222
|
revoked: "revoked";
|
|
3813
4223
|
}>;
|
|
3814
4224
|
createdAt: z.ZodString;
|
|
@@ -3827,6 +4237,7 @@ declare const ListPrivateCloudMembersResponseSchema: z.ZodObject<{
|
|
|
3827
4237
|
status: z.ZodEnum<{
|
|
3828
4238
|
pending: "pending";
|
|
3829
4239
|
active: "active";
|
|
4240
|
+
suspended: "suspended";
|
|
3830
4241
|
revoked: "revoked";
|
|
3831
4242
|
}>;
|
|
3832
4243
|
createdAt: z.ZodString;
|
|
@@ -3845,6 +4256,11 @@ declare const ListPrivateCloudMachinesResponseSchema: z.ZodObject<{
|
|
|
3845
4256
|
}, z.core.$strip>>;
|
|
3846
4257
|
}, z.core.$strip>;
|
|
3847
4258
|
type ListPrivateCloudMachinesResponse = z.infer<typeof ListPrivateCloudMachinesResponseSchema>;
|
|
4259
|
+
declare const UnbindPrivateCloudMachineResponseSchema: z.ZodObject<{
|
|
4260
|
+
success: z.ZodLiteral<true>;
|
|
4261
|
+
message: z.ZodString;
|
|
4262
|
+
}, z.core.$strip>;
|
|
4263
|
+
type UnbindPrivateCloudMachineResponse = z.infer<typeof UnbindPrivateCloudMachineResponseSchema>;
|
|
3848
4264
|
declare const RemovePrivateCloudMemberResponseSchema: z.ZodObject<{
|
|
3849
4265
|
success: z.ZodLiteral<true>;
|
|
3850
4266
|
message: z.ZodString;
|
|
@@ -3870,6 +4286,7 @@ declare const UpdatePrivateCloudMemberRoleResponseSchema: z.ZodObject<{
|
|
|
3870
4286
|
status: z.ZodEnum<{
|
|
3871
4287
|
pending: "pending";
|
|
3872
4288
|
active: "active";
|
|
4289
|
+
suspended: "suspended";
|
|
3873
4290
|
revoked: "revoked";
|
|
3874
4291
|
}>;
|
|
3875
4292
|
createdAt: z.ZodString;
|
|
@@ -4111,12 +4528,12 @@ type CiProvider = z.infer<typeof CiProviderSchema>;
|
|
|
4111
4528
|
declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4112
4529
|
type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
|
|
4113
4530
|
declare const CiRunStatusSchema: z.ZodEnum<{
|
|
4114
|
-
timeout: "timeout";
|
|
4115
|
-
failed: "failed";
|
|
4116
4531
|
running: "running";
|
|
4532
|
+
failed: "failed";
|
|
4117
4533
|
completed: "completed";
|
|
4118
|
-
queued: "queued";
|
|
4119
4534
|
canceled: "canceled";
|
|
4535
|
+
queued: "queued";
|
|
4536
|
+
timeout: "timeout";
|
|
4120
4537
|
}>;
|
|
4121
4538
|
type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
|
|
4122
4539
|
declare const CiRunResponseModeSchema: z.ZodEnum<{
|
|
@@ -4204,8 +4621,8 @@ type CreateCiRunRequest = z.infer<typeof CreateCiRunRequestSchema>;
|
|
|
4204
4621
|
declare const CreateCiRunResponseSchema: z.ZodObject<{
|
|
4205
4622
|
runId: z.ZodString;
|
|
4206
4623
|
status: z.ZodEnum<{
|
|
4207
|
-
failed: "failed";
|
|
4208
4624
|
running: "running";
|
|
4625
|
+
failed: "failed";
|
|
4209
4626
|
completed: "completed";
|
|
4210
4627
|
queued: "queued";
|
|
4211
4628
|
}>;
|
|
@@ -4215,12 +4632,12 @@ type CreateCiRunResponse = z.infer<typeof CreateCiRunResponseSchema>;
|
|
|
4215
4632
|
declare const CiRunStatusResponseSchema: z.ZodObject<{
|
|
4216
4633
|
runId: z.ZodString;
|
|
4217
4634
|
status: z.ZodEnum<{
|
|
4218
|
-
timeout: "timeout";
|
|
4219
|
-
failed: "failed";
|
|
4220
4635
|
running: "running";
|
|
4636
|
+
failed: "failed";
|
|
4221
4637
|
completed: "completed";
|
|
4222
|
-
queued: "queued";
|
|
4223
4638
|
canceled: "canceled";
|
|
4639
|
+
queued: "queued";
|
|
4640
|
+
timeout: "timeout";
|
|
4224
4641
|
}>;
|
|
4225
4642
|
result: z.ZodString;
|
|
4226
4643
|
structuredOutput: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -4472,6 +4889,31 @@ declare function userAuth(token: string): AuthPayload;
|
|
|
4472
4889
|
declare function machineAuth(token: string, machineId: string): AuthPayload;
|
|
4473
4890
|
declare function workerAuth(token: string, machineId: string, taskId: string): AuthPayload;
|
|
4474
4891
|
|
|
4892
|
+
declare const SocketAuthErrorCodeSchema: z.ZodEnum<{
|
|
4893
|
+
local_machine_limit_reached: "local_machine_limit_reached";
|
|
4894
|
+
machine_limited: "machine_limited";
|
|
4895
|
+
machine_binding_revoked: "machine_binding_revoked";
|
|
4896
|
+
machine_token_invalid: "machine_token_invalid";
|
|
4897
|
+
cloud_machine_device_required: "cloud_machine_device_required";
|
|
4898
|
+
cloud_machine_not_found: "cloud_machine_not_found";
|
|
4899
|
+
machine_auth_failed: "machine_auth_failed";
|
|
4900
|
+
}>;
|
|
4901
|
+
type SocketAuthErrorCode = z.infer<typeof SocketAuthErrorCodeSchema>;
|
|
4902
|
+
declare const SocketAuthErrorDataSchema: z.ZodObject<{
|
|
4903
|
+
code: z.ZodEnum<{
|
|
4904
|
+
local_machine_limit_reached: "local_machine_limit_reached";
|
|
4905
|
+
machine_limited: "machine_limited";
|
|
4906
|
+
machine_binding_revoked: "machine_binding_revoked";
|
|
4907
|
+
machine_token_invalid: "machine_token_invalid";
|
|
4908
|
+
cloud_machine_device_required: "cloud_machine_device_required";
|
|
4909
|
+
cloud_machine_not_found: "cloud_machine_not_found";
|
|
4910
|
+
machine_auth_failed: "machine_auth_failed";
|
|
4911
|
+
}>;
|
|
4912
|
+
message: z.ZodString;
|
|
4913
|
+
action: z.ZodOptional<z.ZodString>;
|
|
4914
|
+
}, z.core.$strip>;
|
|
4915
|
+
type SocketAuthErrorData = z.infer<typeof SocketAuthErrorDataSchema>;
|
|
4916
|
+
|
|
4475
4917
|
declare const AGENTRIX_DEV_INIT_FEATURE = "agentrix-dev-init";
|
|
4476
4918
|
|
|
4477
4919
|
/**
|
|
@@ -4723,5 +5165,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
4723
5165
|
*/
|
|
4724
5166
|
declare function decodeGitPath(rawPath: string): string;
|
|
4725
5167
|
|
|
4726
|
-
export { AGENTRIX_DEV_INIT_FEATURE, AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunResponseModeSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudRoleSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCiRunRequestSchema, CreateCiRunResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, CurrentSubscriptionPlanTypeSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EmailLoginCodeRequestSchema, EmailLoginCodeResponseSchema, EmailLoginVerifyRequestSchema, EmailLoginVerifyResponseSchema, EmailPasswordLoginRequestSchema, EmailPasswordLoginResponseSchema, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerAccountInfoSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, JsonSchemaDocumentSchema, ListAdminResourcesResponseSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachineModelsResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMachinesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListPublicResourcesQuerySchema, ListPublicResourcesResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, ProfileEmailCodeRequestSchema, ProfileEmailCodeResponseSchema, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, ResourceMetadataSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, StopSubscriptionResponseSchema, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionPlanTypeSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskBranchBindingSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdatePrivateCloudMemberRoleRequestSchema, UpdatePrivateCloudMemberRoleResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserEntitlementSchema, UserEntitlementSourceSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
4727
|
-
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunResponseMode, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CloudRole, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCiRunRequest, CreateCiRunResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, CurrentSubscriptionPlanType, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EmailLoginCodeRequest, EmailLoginCodeResponse, EmailLoginVerifyRequest, EmailLoginVerifyResponse, EmailPasswordLoginRequest, EmailPasswordLoginResponse, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, GitServerAccountInfo, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMachinesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListPublicResourcesQuery, ListPublicResourcesResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, ProfileEmailCodeRequest, ProfileEmailCodeResponse, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, ResourceMetadata, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, StopSubscriptionResponse, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionPlanType, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskBranchBinding, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdatePrivateCloudMemberRoleRequest, UpdatePrivateCloudMemberRoleResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserEntitlement, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
|
5168
|
+
export { AGENTRIX_DEV_INIT_FEATURE, AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunResponseModeSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudRoleSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsoleApiKeyMetadataSchema, ConsoleApiKeySummarySchema, ConsoleBillingModuleErrorSchema, ConsoleStripeRechargeOrderSchema, ConsoleSubscriptionRenewalStatusSchema, ConsoleSubscriptionSummarySchema, ConsoleUserApiKeysResponseSchema, ConsoleUserBillingResponseSchema, ConsoleUserListItemSchema, ConsoleUserMachinesResponseSchema, ConsoleUserOverviewResponseSchema, ConsoleUserProfileSchema, ConsoleUserRoleSchema, ConsoleUserSubscriptionResponseSchema, ConsoleUsersListQuerySchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCiRunRequestSchema, CreateCiRunResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, CurrentSubscriptionPlanTypeSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EmailLoginCodeRequestSchema, EmailLoginCodeResponseSchema, EmailLoginVerifyRequestSchema, EmailLoginVerifyResponseSchema, EmailPasswordLoginRequestSchema, EmailPasswordLoginResponseSchema, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerAccountInfoSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, JsonSchemaDocumentSchema, ListAdminResourcesResponseSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListConsoleUsersResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachineModelsResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMachinesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListPublicResourcesQuerySchema, ListPublicResourcesResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, ProfileEmailCodeRequestSchema, ProfileEmailCodeResponseSchema, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, ResourceMetadataSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetConsoleUserRoleRequestSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, SocketAuthErrorCodeSchema, SocketAuthErrorDataSchema, StatsQuerySchema, StopSubscriptionResponseSchema, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionPlanTypeSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskBranchBindingSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnbindPrivateCloudMachineResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdatePrivateCloudMemberRoleRequestSchema, UpdatePrivateCloudMemberRoleResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserEntitlementSchema, UserEntitlementSourceSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
5169
|
+
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunResponseMode, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CloudRole, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsoleApiKeyMetadata, ConsoleApiKeySummary, ConsoleBillingModuleError, ConsoleStripeRechargeOrder, ConsoleSubscriptionRenewalStatus, ConsoleSubscriptionSummary, ConsoleUserApiKeysResponse, ConsoleUserBillingResponse, ConsoleUserListItem, ConsoleUserMachinesResponse, ConsoleUserOverviewResponse, ConsoleUserProfile, ConsoleUserRole, ConsoleUserSubscriptionResponse, ConsoleUsersListQuery, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCiRunRequest, CreateCiRunResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, CurrentSubscriptionPlanType, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EmailLoginCodeRequest, EmailLoginCodeResponse, EmailLoginVerifyRequest, EmailLoginVerifyResponse, EmailPasswordLoginRequest, EmailPasswordLoginResponse, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, GitServerAccountInfo, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListConsoleUsersResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMachinesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListPublicResourcesQuery, ListPublicResourcesResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, ProfileEmailCodeRequest, ProfileEmailCodeResponse, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, ResourceMetadata, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetConsoleUserRoleRequest, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, SocketAuthErrorCode, SocketAuthErrorData, StatsQuery, StopSubscriptionResponse, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionPlanType, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskBranchBinding, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnbindPrivateCloudMachineResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdatePrivateCloudMemberRoleRequest, UpdatePrivateCloudMemberRoleResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserEntitlement, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|