@agentrix/shared 2.33.0 → 2.34.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { P as PreviewMetadata } from './errors-CmTesmvL.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-CmTesmvL.cjs';
2
+ import { P as PreviewMetadata } from './errors-DxB8EzbU.cjs';
3
+ export { cZ as ActiveAgent, cY as ActiveAgentSchema, fQ as AgentConfig, fZ as AgentConfigValidationError, fJ as AgentContext, fX as AgentError, f$ as AgentLoadError, fO as AgentMetadata, fV as AgentMetadataSchema, fY as AgentNotFoundError, fK 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, fP as ClaudeAgentConfig, fW as ClaudeConfigSchema, cd as CompanionHeartbeatMessage, eT as CompanionHeartbeatRequestData, eS as CompanionHeartbeatRequestSchema, eV as CompanionHeartbeatResponseData, eU as CompanionHeartbeatResponseSchema, e$ as CompanionInitRequestData, e_ as CompanionInitRequestSchema, f1 as CompanionInitResponseData, f0 as CompanionInitResponseSchema, cf as CompanionMemoryOrganizationMessage, eX as CompanionMemoryOrganizationRequestData, eW as CompanionMemoryOrganizationRequestSchema, eZ as CompanionMemoryOrganizationResponseData, eY 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, eK as DaemonGitlabOperation, eJ as DaemonGitlabOperationSchema, eM as DaemonGitlabRequestEventData, eL as DaemonGitlabRequestSchema, eO as DaemonGitlabResponseEventData, eN 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, f4 as EventData, f9 as EventMap, fa as EventName, fb as EventSchemaMap, fr as ExecuteMachineActionResponse, fq as ExecuteMachineActionResponseSchema, fU as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, f_ as FrameworkNotSupportedError, fN as FrameworkType, bY as GetStreamVersionQuery, bX as GetStreamVersionQuerySchema, aO as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, eG as GitServerUserUpdatedData, 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, fT 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, fS as LoadAgentOptions, fp as MachineActionPending, fo as MachineActionPendingSchema, fn as MachineActionRequestEventData, fm as MachineActionRequestSchema, cN as MachineAliveEventData, cM as MachineAliveEventSchema, ff as MachineControlAction, fe as MachineControlActionSchema, ft as MachineControlCommandEventData, fs as MachineControlCommandSchema, fj as MachineControlErrorCode, fi as MachineControlErrorCodeSchema, fl as MachineControlPingResult, fk as MachineControlPingResultSchema, fx as MachineControlProgressEventData, fw as MachineControlProgressSchema, fv as MachineControlProgressStatus, fu as MachineControlProgressStatusSchema, fC as MachineControlRelayContext, fh as MachineControlTarget, fg as MachineControlTargetSchema, fB as MachineControlUpdatedEventData, fA as MachineControlUpdatedSchema, fz as MachineControlUpdatedStatus, fy as MachineControlUpdatedStatusSchema, fG as MachineRpcCallEventData, fF 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, g0 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, eP as RepositoryInboxProviderSchema, eR as RepositoryInboxWebhookEventData, eQ as RepositoryInboxWebhookSchema, f3 as ResetTaskSessionEventData, f2 as ResetTaskSessionSchema, eF as ResourceLimitsUpdatedData, dm as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fE as RpcCallEventData, fD as RpcCallEventSchema, fI as RpcResponseData, fH 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, f6 as SeqSyncRequestEventData, f5 as SeqSyncRequestEventDataSchema, f8 as SeqSyncResponseEventData, f7 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, eI as SystemMessageEventData, eH 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, fR 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, fc 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, fM 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, fL as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, fd as workerTaskEvents } from './errors-DxB8EzbU.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
- human: "human";
60
59
  system: "system";
60
+ human: "human";
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";
1561
1562
  agent: "agent";
1562
1563
  cloud: "cloud";
1563
1564
  "draft-agent": "draft-agent";
1564
- machine: "machine";
1565
1565
  }>;
1566
1566
  ownerId: z.ZodString;
1567
1567
  variables: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -2634,6 +2634,405 @@ declare const CreateCloudResponseSchema: z.ZodObject<{
2634
2634
  }, z.core.$strip>;
2635
2635
  type CreateCloudResponse = z.infer<typeof CreateCloudResponseSchema>;
2636
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
+ expired: "expired";
2864
+ renews: "renews";
2865
+ cancels_at_period_end: "cancels_at_period_end";
2866
+ canceled: "canceled";
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
+ expired: "expired";
2953
+ renews: "renews";
2954
+ cancels_at_period_end: "cancels_at_period_end";
2955
+ canceled: "canceled";
2956
+ }>;
2957
+ }, z.core.$strip>;
2958
+ type ConsoleUserSubscriptionResponse = z.infer<typeof ConsoleUserSubscriptionResponseSchema>;
2959
+ declare const ConsoleApiKeyMetadataSchema: z.ZodObject<{
2960
+ name: z.ZodString;
2961
+ enabled: z.ZodBoolean;
2962
+ id: z.ZodString;
2963
+ createdAt: z.ZodString;
2964
+ expiresAt: z.ZodNullable<z.ZodString>;
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
+ enabled: z.ZodBoolean;
2973
+ id: z.ZodString;
2974
+ createdAt: z.ZodString;
2975
+ expiresAt: z.ZodNullable<z.ZodString>;
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
+ status: z.ZodString;
2985
+ id: z.ZodString;
2986
+ createdAt: z.ZodString;
2987
+ controlPort: z.ZodNullable<z.ZodNumber>;
2988
+ updatedAt: z.ZodString;
2989
+ metadata: z.ZodNullable<z.ZodString>;
2990
+ owner: z.ZodString;
2991
+ approval: z.ZodString;
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
+
2637
3036
  /**
2638
3037
  * OAuth Server Admin API schemas
2639
3038
  * For managing OAuth provider configurations via console API
@@ -3222,16 +3621,16 @@ declare const SubscriptionPlanSchema: z.ZodObject<{
3222
3621
  }, z.core.$strip>;
3223
3622
  type SubscriptionPlan = z.infer<typeof SubscriptionPlanSchema>;
3224
3623
  declare const UserEntitlementSourceSchema: z.ZodEnum<{
3225
- free_plan: "free_plan";
3226
3624
  subscription: "subscription";
3625
+ free_plan: "free_plan";
3227
3626
  manual: "manual";
3228
3627
  }>;
3229
3628
  declare const UserEntitlementSchema: z.ZodObject<{
3230
3629
  id: z.ZodString;
3231
3630
  userId: z.ZodString;
3232
3631
  source: z.ZodEnum<{
3233
- free_plan: "free_plan";
3234
3632
  subscription: "subscription";
3633
+ free_plan: "free_plan";
3235
3634
  manual: "manual";
3236
3635
  }>;
3237
3636
  subscriptionId: z.ZodNullable<z.ZodString>;
@@ -3358,8 +3757,8 @@ declare const GetSubscriptionResponseSchema: z.ZodObject<{
3358
3757
  id: z.ZodString;
3359
3758
  userId: z.ZodString;
3360
3759
  source: z.ZodEnum<{
3361
- free_plan: "free_plan";
3362
3760
  subscription: "subscription";
3761
+ free_plan: "free_plan";
3363
3762
  manual: "manual";
3364
3763
  }>;
3365
3764
  subscriptionId: z.ZodNullable<z.ZodString>;
@@ -3723,9 +4122,9 @@ declare const PrivateCloudInviteSchema: z.ZodObject<{
3723
4122
  maxUses: z.ZodNumber;
3724
4123
  usedCount: z.ZodNumber;
3725
4124
  status: z.ZodEnum<{
4125
+ expired: "expired";
3726
4126
  active: "active";
3727
4127
  revoked: "revoked";
3728
- expired: "expired";
3729
4128
  consumed: "consumed";
3730
4129
  }>;
3731
4130
  createdAt: z.ZodString;
@@ -3750,9 +4149,9 @@ declare const CreatePrivateCloudInviteResponseSchema: z.ZodObject<{
3750
4149
  maxUses: z.ZodNumber;
3751
4150
  usedCount: z.ZodNumber;
3752
4151
  status: z.ZodEnum<{
4152
+ expired: "expired";
3753
4153
  active: "active";
3754
4154
  revoked: "revoked";
3755
- expired: "expired";
3756
4155
  consumed: "consumed";
3757
4156
  }>;
3758
4157
  createdAt: z.ZodString;
@@ -3857,6 +4256,11 @@ declare const ListPrivateCloudMachinesResponseSchema: z.ZodObject<{
3857
4256
  }, z.core.$strip>>;
3858
4257
  }, z.core.$strip>;
3859
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>;
3860
4264
  declare const RemovePrivateCloudMemberResponseSchema: z.ZodObject<{
3861
4265
  success: z.ZodLiteral<true>;
3862
4266
  message: z.ZodString;
@@ -4124,12 +4528,12 @@ type CiProvider = z.infer<typeof CiProviderSchema>;
4124
4528
  declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4125
4529
  type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
4126
4530
  declare const CiRunStatusSchema: z.ZodEnum<{
4127
- running: "running";
4531
+ timeout: "timeout";
4128
4532
  failed: "failed";
4533
+ running: "running";
4129
4534
  completed: "completed";
4130
- queued: "queued";
4131
4535
  canceled: "canceled";
4132
- timeout: "timeout";
4536
+ queued: "queued";
4133
4537
  }>;
4134
4538
  type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
4135
4539
  declare const CiRunResponseModeSchema: z.ZodEnum<{
@@ -4217,8 +4621,8 @@ type CreateCiRunRequest = z.infer<typeof CreateCiRunRequestSchema>;
4217
4621
  declare const CreateCiRunResponseSchema: z.ZodObject<{
4218
4622
  runId: z.ZodString;
4219
4623
  status: z.ZodEnum<{
4220
- running: "running";
4221
4624
  failed: "failed";
4625
+ running: "running";
4222
4626
  completed: "completed";
4223
4627
  queued: "queued";
4224
4628
  }>;
@@ -4228,12 +4632,12 @@ type CreateCiRunResponse = z.infer<typeof CreateCiRunResponseSchema>;
4228
4632
  declare const CiRunStatusResponseSchema: z.ZodObject<{
4229
4633
  runId: z.ZodString;
4230
4634
  status: z.ZodEnum<{
4231
- running: "running";
4635
+ timeout: "timeout";
4232
4636
  failed: "failed";
4637
+ running: "running";
4233
4638
  completed: "completed";
4234
- queued: "queued";
4235
4639
  canceled: "canceled";
4236
- timeout: "timeout";
4640
+ queued: "queued";
4237
4641
  }>;
4238
4642
  result: z.ZodString;
4239
4643
  structuredOutput: z.ZodOptional<z.ZodUnknown>;
@@ -4485,6 +4889,31 @@ declare function userAuth(token: string): AuthPayload;
4485
4889
  declare function machineAuth(token: string, machineId: string): AuthPayload;
4486
4890
  declare function workerAuth(token: string, machineId: string, taskId: string): AuthPayload;
4487
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
+
4488
4917
  declare const AGENTRIX_DEV_INIT_FEATURE = "agentrix-dev-init";
4489
4918
 
4490
4919
  /**
@@ -4736,5 +5165,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
4736
5165
  */
4737
5166
  declare function decodeGitPath(rawPath: string): string;
4738
5167
 
4739
- 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 };
4740
- 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 };