@agentrix/shared 2.16.1 → 2.17.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-BN4dUGJQ.d.cts → errors-Cfur_d00.d.cts} +12 -12
- package/dist/index.cjs +39 -0
- package/dist/index.d.cts +121 -31
- package/dist/node.d.cts +2 -2
- package/package.json +1 -1
|
@@ -892,15 +892,15 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
892
892
|
* - 'user': Broadcasts SDKAssistantMessage to users viewing the task
|
|
893
893
|
*/
|
|
894
894
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
895
|
-
message: z.ZodCustom<
|
|
895
|
+
message: z.ZodCustom<SDKUserMessage | SDKAssistantMessage, SDKUserMessage | SDKAssistantMessage>;
|
|
896
896
|
target: z.ZodEnum<{
|
|
897
|
-
user: "user";
|
|
898
897
|
agent: "agent";
|
|
898
|
+
user: "user";
|
|
899
899
|
}>;
|
|
900
900
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
901
901
|
senderType: z.ZodEnum<{
|
|
902
|
-
system: "system";
|
|
903
902
|
human: "human";
|
|
903
|
+
system: "system";
|
|
904
904
|
agent: "agent";
|
|
905
905
|
}>;
|
|
906
906
|
senderId: z.ZodString;
|
|
@@ -1152,14 +1152,14 @@ declare const AskUserMessageSchema: z.ZodObject<{
|
|
|
1152
1152
|
}, z.core.$strip>;
|
|
1153
1153
|
type AskUserMessage = z.infer<typeof AskUserMessageSchema>;
|
|
1154
1154
|
declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
1155
|
+
timeout: "timeout";
|
|
1155
1156
|
answered: "answered";
|
|
1156
1157
|
cancelled: "cancelled";
|
|
1157
|
-
timeout: "timeout";
|
|
1158
1158
|
}>;
|
|
1159
1159
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
1160
|
-
timeout: "timeout";
|
|
1161
|
-
user: "user";
|
|
1162
1160
|
system: "system";
|
|
1161
|
+
user: "user";
|
|
1162
|
+
timeout: "timeout";
|
|
1163
1163
|
}>;
|
|
1164
1164
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
1165
1165
|
type AskUserResponseReason = z.infer<typeof AskUserResponseReasonSchema>;
|
|
@@ -1175,14 +1175,14 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
1175
1175
|
details: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1176
1176
|
rememberAnswers: z.ZodOptional<z.ZodArray<z.ZodBoolean>>;
|
|
1177
1177
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1178
|
+
timeout: "timeout";
|
|
1178
1179
|
answered: "answered";
|
|
1179
1180
|
cancelled: "cancelled";
|
|
1180
|
-
timeout: "timeout";
|
|
1181
1181
|
}>>;
|
|
1182
1182
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
1183
|
-
timeout: "timeout";
|
|
1184
|
-
user: "user";
|
|
1185
1183
|
system: "system";
|
|
1184
|
+
user: "user";
|
|
1185
|
+
timeout: "timeout";
|
|
1186
1186
|
}>>;
|
|
1187
1187
|
}, z.core.$strip>;
|
|
1188
1188
|
type AskUserResponseMessage = z.infer<typeof AskUserResponseMessageSchema>;
|
|
@@ -1789,9 +1789,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
1789
1789
|
taskId: z.ZodString;
|
|
1790
1790
|
chatId: z.ZodOptional<z.ZodString>;
|
|
1791
1791
|
from: z.ZodEnum<{
|
|
1792
|
+
machine: "machine";
|
|
1792
1793
|
app: "app";
|
|
1793
1794
|
"api-server": "api-server";
|
|
1794
|
-
machine: "machine";
|
|
1795
1795
|
worker: "worker";
|
|
1796
1796
|
}>;
|
|
1797
1797
|
opCode: z.ZodOptional<z.ZodString>;
|
|
@@ -1802,8 +1802,8 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
1802
1802
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
1803
1803
|
agentId: z.ZodOptional<z.ZodString>;
|
|
1804
1804
|
senderType: z.ZodEnum<{
|
|
1805
|
-
system: "system";
|
|
1806
1805
|
human: "human";
|
|
1806
|
+
system: "system";
|
|
1807
1807
|
agent: "agent";
|
|
1808
1808
|
}>;
|
|
1809
1809
|
senderId: z.ZodString;
|
|
@@ -1949,8 +1949,8 @@ declare const RtcSignalSchema: z.ZodObject<{
|
|
|
1949
1949
|
machineId: z.ZodString;
|
|
1950
1950
|
sessionId: z.ZodString;
|
|
1951
1951
|
from: z.ZodEnum<{
|
|
1952
|
-
app: "app";
|
|
1953
1952
|
machine: "machine";
|
|
1953
|
+
app: "app";
|
|
1954
1954
|
}>;
|
|
1955
1955
|
signal: z.ZodAny;
|
|
1956
1956
|
userId: z.ZodOptional<z.ZodString>;
|
package/dist/index.cjs
CHANGED
|
@@ -79,6 +79,36 @@ const DevCreateUserResponseSchema = zod.z.object({
|
|
|
79
79
|
token: zod.z.string(),
|
|
80
80
|
user: UserBasicInfoSchema
|
|
81
81
|
});
|
|
82
|
+
const EmailLoginCodeRequestSchema = zod.z.object({
|
|
83
|
+
email: zod.z.string().trim().email()
|
|
84
|
+
});
|
|
85
|
+
const EmailLoginCodeResponseSchema = zod.z.object({
|
|
86
|
+
success: zod.z.literal(true),
|
|
87
|
+
expiresIn: zod.z.number(),
|
|
88
|
+
resendAvailableIn: zod.z.number().optional()
|
|
89
|
+
});
|
|
90
|
+
const EmailLoginVerifyRequestSchema = zod.z.object({
|
|
91
|
+
email: zod.z.string().trim().email(),
|
|
92
|
+
code: zod.z.string().regex(/^\d{6}$/)
|
|
93
|
+
});
|
|
94
|
+
const EmailLoginVerifyResponseSchema = zod.z.object({
|
|
95
|
+
token: zod.z.string(),
|
|
96
|
+
user: UserWithOAuthAccountsSchema
|
|
97
|
+
});
|
|
98
|
+
const EmailPasswordLoginRequestSchema = zod.z.object({
|
|
99
|
+
email: zod.z.string().trim().email()
|
|
100
|
+
});
|
|
101
|
+
const EmailPasswordLoginResponseSchema = zod.z.object({
|
|
102
|
+
token: zod.z.string(),
|
|
103
|
+
user: UserWithOAuthAccountsSchema.extend({
|
|
104
|
+
encryptedSecret: zod.z.string(),
|
|
105
|
+
secretSalt: zod.z.string()
|
|
106
|
+
})
|
|
107
|
+
});
|
|
108
|
+
const ProfileEmailCodeRequestSchema = zod.z.object({
|
|
109
|
+
email: zod.z.string().trim().email()
|
|
110
|
+
});
|
|
111
|
+
const ProfileEmailCodeResponseSchema = EmailLoginCodeResponseSchema;
|
|
82
112
|
const UserProfileResponseSchema = zod.z.object({
|
|
83
113
|
user: UserBasicInfoSchema.extend({
|
|
84
114
|
encryptedSecret: zod.z.string().nullable(),
|
|
@@ -94,6 +124,7 @@ const UserProfileResponseSchema = zod.z.object({
|
|
|
94
124
|
const UpdateUserProfileRequestSchema = zod.z.object({
|
|
95
125
|
username: zod.z.string().min(1).optional(),
|
|
96
126
|
email: zod.z.string().trim().email().optional(),
|
|
127
|
+
emailVerificationCode: zod.z.string().regex(/^\d{6}$/).optional(),
|
|
97
128
|
avatar: zod.z.string().nullable().optional()
|
|
98
129
|
});
|
|
99
130
|
const UpdateUserProfileResponseSchema = UserProfileResponseSchema;
|
|
@@ -3724,6 +3755,12 @@ exports.DisplayConfigSchema = DisplayConfigSchema;
|
|
|
3724
3755
|
exports.DraftAgentConfigSchema = DraftAgentConfigSchema;
|
|
3725
3756
|
exports.DraftAgentSchema = DraftAgentSchema;
|
|
3726
3757
|
exports.ENTRY_FILE_PATTERNS = ENTRY_FILE_PATTERNS;
|
|
3758
|
+
exports.EmailLoginCodeRequestSchema = EmailLoginCodeRequestSchema;
|
|
3759
|
+
exports.EmailLoginCodeResponseSchema = EmailLoginCodeResponseSchema;
|
|
3760
|
+
exports.EmailLoginVerifyRequestSchema = EmailLoginVerifyRequestSchema;
|
|
3761
|
+
exports.EmailLoginVerifyResponseSchema = EmailLoginVerifyResponseSchema;
|
|
3762
|
+
exports.EmailPasswordLoginRequestSchema = EmailPasswordLoginRequestSchema;
|
|
3763
|
+
exports.EmailPasswordLoginResponseSchema = EmailPasswordLoginResponseSchema;
|
|
3727
3764
|
exports.EnsureIssueRootTaskRequestSchema = EnsureIssueRootTaskRequestSchema;
|
|
3728
3765
|
exports.EnsureIssueRootTaskResponseSchema = EnsureIssueRootTaskResponseSchema;
|
|
3729
3766
|
exports.EnsureRepoChatRequestSchema = EnsureRepoChatRequestSchema;
|
|
@@ -3857,6 +3894,8 @@ exports.PrivateCloudEntitlementSchema = PrivateCloudEntitlementSchema;
|
|
|
3857
3894
|
exports.PrivateCloudInviteSchema = PrivateCloudInviteSchema;
|
|
3858
3895
|
exports.PrivateCloudMemberSchema = PrivateCloudMemberSchema;
|
|
3859
3896
|
exports.PrivateCloudSummarySchema = PrivateCloudSummarySchema;
|
|
3897
|
+
exports.ProfileEmailCodeRequestSchema = ProfileEmailCodeRequestSchema;
|
|
3898
|
+
exports.ProfileEmailCodeResponseSchema = ProfileEmailCodeResponseSchema;
|
|
3860
3899
|
exports.ProjectDirectoryResponseSchema = ProjectDirectoryResponseSchema;
|
|
3861
3900
|
exports.ProjectEntrySchema = ProjectEntrySchema;
|
|
3862
3901
|
exports.PublicResourceItemSchema = PublicResourceItemSchema;
|
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 { bz as ActiveAgent, by as ActiveAgentSchema, dX as AgentConfig, e5 as AgentConfigValidationError, dQ as AgentContext, e3 as AgentError, e7 as AgentLoadError, dV as AgentMetadata, e1 as AgentMetadataSchema, e4 as AgentNotFoundError, dR as AgentrixContext, bl as ApiServerAliveEventData, bk as ApiServerAliveEventSchema, bj as AppAliveEventData, bi as AppAliveEventSchema, a8 as ApprovePrRequest, a7 as ApprovePrRequestSchema, aa as ApprovePrResponse, a9 as ApprovePrResponseSchema, ag as ArchiveTaskRequest, af as ArchiveTaskRequestSchema, ai as ArchiveTaskResponse, ah as ArchiveTaskResponseSchema, aX as AskUserMessage, aW as AskUserMessageSchema, aT as AskUserOption, aS as AskUserOptionSchema, aV as AskUserQuestion, aU as AskUserQuestionSchema, b1 as AskUserResponseMessage, b0 as AskUserResponseMessageSchema, a$ as AskUserResponseReason, aZ as AskUserResponseReasonSchema, a_ as AskUserResponseStatus, aY as AskUserResponseStatusSchema, db as AssociateRepoEventData, d8 as AssociateRepoEventDataSchema, b_ as CancelTaskEventData, v as CancelTaskRequest, C as CancelTaskRequestSchema, z as CancelTaskResponse, y as CancelTaskResponseSchema, ck as ChangeTaskTitleEventData, cj as ChangeTaskTitleEventSchema, bP as ChatWorkersStatusRequestEventData, bO as ChatWorkersStatusRequestSchema, bR as ChatWorkersStatusResponseEventData, bQ as ChatWorkersStatusResponseSchema, dW as ClaudeAgentConfig, e2 as ClaudeConfigSchema, b2 as CompanionHeartbeatMessage, dr as CompanionHeartbeatRequestData, dq as CompanionHeartbeatRequestSchema, dt as CompanionHeartbeatResponseData, ds as CompanionHeartbeatResponseSchema, dv as CompanionInitRequestData, du as CompanionInitRequestSchema, dx as CompanionInitResponseData, dw as CompanionInitResponseSchema, b3 as CompanionReminderMessage, a3 as CreateMergeRequestRequest, a6 as CreateMergeRequestResponse, a5 as CreateMergeRequestResponseSchema, a2 as CreateMergeRequestSchema, bW as CreateTaskEventData, ac as CreateTaskShareRequest, ae as CreateTaskShareResponse, ad as CreateTaskShareResponseSchema, ab as CreateTaskShareSchema, co as CreditExhaustedEventData, cn as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, dh as DaemonGitlabOperation, dg as DaemonGitlabOperationSchema, dj as DaemonGitlabRequestEventData, di as DaemonGitlabRequestSchema, dl as DaemonGitlabResponseEventData, dk as DaemonGitlabResponseSchema, c$ as DeployAgentCompleteEventData, c_ as DeployAgentCompleteEventSchema, cZ as DeployAgentEventData, cY as DeployAgentEventSchema, h as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, l as EnsureIssueRootTaskResponse, k as EnsureIssueRootTaskResponseSchema, bh as EventAckData, bg as EventAckSchema, dA as EventData, dF as EventMap, dG as EventName, dH as EventSchemaMap, e0 as FRAMEWORK_TYPES, a0 as FillEventsRequest, $ as FillEventsRequestSchema, a1 as FillEventsResponse, aP as FindTaskByAgentRequest, aO as FindTaskByAgentRequestSchema, aR as FindTaskByAgentResponse, aQ as FindTaskByAgentResponseSchema, e6 as FrameworkNotSupportedError, dU as FrameworkType, aB as GetTaskSessionResponse, aA as GetTaskSessionResponseSchema, d7 as HiveInstallCompleteEventData, d6 as HiveInstallCompleteEventSchema, d5 as HiveInstallEventData, d4 as HiveInstallEventSchema, d3 as HivePublishCompleteEventData, d2 as HivePublishCompleteEventSchema, d1 as HivePublishEventData, d0 as HivePublishEventSchema, d$ as HookFactory, bT as ListModelsEventData, bS as ListModelsEventSchema, aJ as ListRecentTasksRequest, aI as ListRecentTasksRequestSchema, aN as ListRecentTasksResponse, aM as ListRecentTasksResponseSchema, aD as ListSubTasksRequest, aC as ListSubTasksRequestSchema, aH as ListSubTasksResponse, aG as ListSubTasksResponseSchema, m as ListTasksRequest, L as ListTasksRequestSchema, p as ListTasksResponse, o as ListTasksResponseSchema, dZ as LoadAgentOptions, bn as MachineAliveEventData, bm as MachineAliveEventSchema, dN as MachineRpcCallEventData, dM as MachineRpcCallEventSchema, cw as MachineRtcRequestEventData, cv as MachineRtcRequestSchema, cy as MachineRtcResponseEventData, cx as MachineRtcResponseSchema, cX as MergePullRequestAck, cW as MergePullRequestEventData, cV as MergePullRequestEventSchema, cO as MergeRequestEventData, cN as MergeRequestEventSchema, e8 as MissingAgentFileError, J as PermissionResponseRequest, I as PermissionResponseRequestSchema, N as PermissionResponseResponse, M as PermissionResponseResponseSchema, dd as PrStateChangedData, c7 as PreviewMetadataSchema, c6 as PreviewMethod, c5 as PreviewMethodSchema, c4 as PreviewProjectType, c3 as PreviewProjectTypeSchema, V as ProjectDirectoryResponse, U as ProjectDirectoryResponseSchema, Q as ProjectEntry, O as ProjectEntrySchema, Y as QueryEventsRequest, X as QueryEventsRequestSchema, _ as QueryEventsResponse, aL as RecentTaskSummary, aK as RecentTaskSummarySchema, dm as RepositoryInboxProviderSchema, dp as RepositoryInboxWebhookEventData, dn as RepositoryInboxWebhookSchema, d_ as RepositoryInitHookInput, dz as ResetTaskSessionEventData, dy as ResetTaskSessionSchema, bY as ResumeTaskEventData, q as ResumeTaskRequest, R as ResumeTaskRequestSchema, u as ResumeTaskResponse, t as ResumeTaskResponseSchema, dL as RpcCallEventData, dK as RpcCallEventSchema, dP as RpcResponseData, dO as RpcResponseSchema, cq as RtcIceServer, cp as RtcIceServerSchema, cs as RtcIceServersRequestEventData, cr as RtcIceServersRequestSchema, cu as RtcIceServersResponseEventData, ct as RtcIceServersResponseSchema, cA as RtcSignalEventData, cz as RtcSignalSchema, ar as SendMessageTarget, at as SendTaskMessageRequest, as as SendTaskMessageRequestSchema, av as SendTaskMessageResponse, au as SendTaskMessageResponseSchema, dC as SeqSyncRequestEventData, dB as SeqSyncRequestEventDataSchema, dE as SeqSyncResponseEventData, dD as SeqSyncResponseEventDataSchema, ci as ShowModalEventData, ch as ShowModalEventDataSchema, ax as ShowModalRequest, aw as ShowModalRequestSchema, az as ShowModalResponse, ay as ShowModalResponseSchema, bp as ShutdownMachineData, bo as ShutdownMachineSchema, e as StartTaskRequest, S as StartTaskRequestSchema, g as StartTaskResponse, f as StartTaskResponseSchema, c0 as StopTaskEventData, B as StopTaskRequest, A as StopTaskRequestSchema, H as StopTaskResponse, G as StopTaskResponseSchema, b$ as StopTaskSchema, cU as SubTaskAskUserEventData, cT as SubTaskAskUserEventSchema, b4 as SubTaskAskUserMessage, cS as SubTaskResultUpdatedEventData, cR as SubTaskResultUpdatedEventSchema, aF as SubTaskSummary, aE as SubTaskSummarySchema, df as SystemMessageEventData, de as SystemMessageSchema, dc as SystemMessageType, b7 as TaskAgentInfo, b6 as TaskAgentInfoSchema, c2 as TaskArtifactsStats, c1 as TaskArtifactsStatsSchema, c9 as TaskArtifactsSummary, c8 as TaskArtifactsSummarySchema, Z as TaskEvent, cI as TaskInfoUpdateEventData, cH as TaskInfoUpdateEventDataSchema, j as TaskItem, i as TaskItemSchema, cb as TaskMessageEventData, b5 as TaskMessagePayload, ca as TaskMessageSchema, cd as TaskModelUsage, cc as TaskModelUsageSchema, cK as TaskSlashCommand, cJ as TaskSlashCommandSchema, cM as TaskSlashCommandsUpdateEventData, cL as TaskSlashCommandsUpdateEventDataSchema, cg as TaskState, cm as TaskStateChangeEventData, cl as TaskStateChangeEventSchema, cQ as TaskStoppedEventData, cP as TaskStoppedEventSchema, b as TaskTodo, T as TaskTodoSchema, cf as TaskUsageReportEventData, ce as TaskUsageReportEventSchema, d as TaskUsageSummary, c as TaskUsageSummarySchema, ak as UnarchiveTaskRequest, aj as UnarchiveTaskRequestSchema, am as UnarchiveTaskResponse, al as UnarchiveTaskResponseSchema, da as UpdateAgentInfoEventData, d9 as UpdateAgentInfoEventSchema, cG as UpdateTaskAgentSessionIdEventData, cF as UpdateTaskAgentSessionIdEventSchema, ao as UpdateTaskTitleRequest, an as UpdateTaskTitleRequestSchema, aq as UpdateTaskTitleResponse, ap as UpdateTaskTitleResponseSchema, dY as ValidationResult, bB as WorkerAliveEventData, bA as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, bD as WorkerExitEventData, bC as WorkerExitSchema, bt as WorkerInitializedEventData, bs as WorkerInitializedSchema, br as WorkerInitializingEventData, bq as WorkerInitializingSchema, bH as WorkerPermissionModeEventData, bG as WorkerPermissionModeSchema, bv as WorkerPermissionModeValue, bu as WorkerPermissionModeValueSchema, bx as WorkerReadyEventData, bw as WorkerReadySchema, bF as WorkerRunningEventData, bE as WorkerRunningSchema, bJ as WorkerStatusRequestEventData, bI as WorkerStatusRequestSchema, bN as WorkerStatusSnapshot, bM as WorkerStatusSnapshotSchema, bL as WorkerStatusValue, bK as WorkerStatusValueSchema, dI as WorkerTaskEvent, cC as WorkspaceFileRequestEventData, cB as WorkspaceFileRequestSchema, cE as WorkspaceFileResponseEventData, cD as WorkspaceFileResponseSchema, bU as baseTaskSchema, x as cancelTaskRequestSchema, bZ as cancelTaskSchema, bf as createEventId, a4 as createMergeRequestSchema, bV as createTaskSchema, dT as getAgentContext, b8 as isAskUserMessage, b9 as isAskUserResponseMessage, ba as isCompanionHeartbeatMessage, bb as isCompanionReminderMessage, bd as isSDKMessage, be as isSDKUserMessage, bc as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, K as permissionResponseRequestSchema, r as resumeTaskRequestSchema, bX as resumeTaskSchema, dS as setAgentContext, s as startTaskSchema, F as stopTaskRequestSchema, w as workerExecutionModes, dJ as workerTaskEvents } from './errors-
|
|
2
|
+
import { P as PreviewMetadata } from './errors-Cfur_d00.cjs';
|
|
3
|
+
export { bz as ActiveAgent, by as ActiveAgentSchema, dX as AgentConfig, e5 as AgentConfigValidationError, dQ as AgentContext, e3 as AgentError, e7 as AgentLoadError, dV as AgentMetadata, e1 as AgentMetadataSchema, e4 as AgentNotFoundError, dR as AgentrixContext, bl as ApiServerAliveEventData, bk as ApiServerAliveEventSchema, bj as AppAliveEventData, bi as AppAliveEventSchema, a8 as ApprovePrRequest, a7 as ApprovePrRequestSchema, aa as ApprovePrResponse, a9 as ApprovePrResponseSchema, ag as ArchiveTaskRequest, af as ArchiveTaskRequestSchema, ai as ArchiveTaskResponse, ah as ArchiveTaskResponseSchema, aX as AskUserMessage, aW as AskUserMessageSchema, aT as AskUserOption, aS as AskUserOptionSchema, aV as AskUserQuestion, aU as AskUserQuestionSchema, b1 as AskUserResponseMessage, b0 as AskUserResponseMessageSchema, a$ as AskUserResponseReason, aZ as AskUserResponseReasonSchema, a_ as AskUserResponseStatus, aY as AskUserResponseStatusSchema, db as AssociateRepoEventData, d8 as AssociateRepoEventDataSchema, b_ as CancelTaskEventData, v as CancelTaskRequest, C as CancelTaskRequestSchema, z as CancelTaskResponse, y as CancelTaskResponseSchema, ck as ChangeTaskTitleEventData, cj as ChangeTaskTitleEventSchema, bP as ChatWorkersStatusRequestEventData, bO as ChatWorkersStatusRequestSchema, bR as ChatWorkersStatusResponseEventData, bQ as ChatWorkersStatusResponseSchema, dW as ClaudeAgentConfig, e2 as ClaudeConfigSchema, b2 as CompanionHeartbeatMessage, dr as CompanionHeartbeatRequestData, dq as CompanionHeartbeatRequestSchema, dt as CompanionHeartbeatResponseData, ds as CompanionHeartbeatResponseSchema, dv as CompanionInitRequestData, du as CompanionInitRequestSchema, dx as CompanionInitResponseData, dw as CompanionInitResponseSchema, b3 as CompanionReminderMessage, a3 as CreateMergeRequestRequest, a6 as CreateMergeRequestResponse, a5 as CreateMergeRequestResponseSchema, a2 as CreateMergeRequestSchema, bW as CreateTaskEventData, ac as CreateTaskShareRequest, ae as CreateTaskShareResponse, ad as CreateTaskShareResponseSchema, ab as CreateTaskShareSchema, co as CreditExhaustedEventData, cn as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, dh as DaemonGitlabOperation, dg as DaemonGitlabOperationSchema, dj as DaemonGitlabRequestEventData, di as DaemonGitlabRequestSchema, dl as DaemonGitlabResponseEventData, dk as DaemonGitlabResponseSchema, c$ as DeployAgentCompleteEventData, c_ as DeployAgentCompleteEventSchema, cZ as DeployAgentEventData, cY as DeployAgentEventSchema, h as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, l as EnsureIssueRootTaskResponse, k as EnsureIssueRootTaskResponseSchema, bh as EventAckData, bg as EventAckSchema, dA as EventData, dF as EventMap, dG as EventName, dH as EventSchemaMap, e0 as FRAMEWORK_TYPES, a0 as FillEventsRequest, $ as FillEventsRequestSchema, a1 as FillEventsResponse, aP as FindTaskByAgentRequest, aO as FindTaskByAgentRequestSchema, aR as FindTaskByAgentResponse, aQ as FindTaskByAgentResponseSchema, e6 as FrameworkNotSupportedError, dU as FrameworkType, aB as GetTaskSessionResponse, aA as GetTaskSessionResponseSchema, d7 as HiveInstallCompleteEventData, d6 as HiveInstallCompleteEventSchema, d5 as HiveInstallEventData, d4 as HiveInstallEventSchema, d3 as HivePublishCompleteEventData, d2 as HivePublishCompleteEventSchema, d1 as HivePublishEventData, d0 as HivePublishEventSchema, d$ as HookFactory, bT as ListModelsEventData, bS as ListModelsEventSchema, aJ as ListRecentTasksRequest, aI as ListRecentTasksRequestSchema, aN as ListRecentTasksResponse, aM as ListRecentTasksResponseSchema, aD as ListSubTasksRequest, aC as ListSubTasksRequestSchema, aH as ListSubTasksResponse, aG as ListSubTasksResponseSchema, m as ListTasksRequest, L as ListTasksRequestSchema, p as ListTasksResponse, o as ListTasksResponseSchema, dZ as LoadAgentOptions, bn as MachineAliveEventData, bm as MachineAliveEventSchema, dN as MachineRpcCallEventData, dM as MachineRpcCallEventSchema, cw as MachineRtcRequestEventData, cv as MachineRtcRequestSchema, cy as MachineRtcResponseEventData, cx as MachineRtcResponseSchema, cX as MergePullRequestAck, cW as MergePullRequestEventData, cV as MergePullRequestEventSchema, cO as MergeRequestEventData, cN as MergeRequestEventSchema, e8 as MissingAgentFileError, J as PermissionResponseRequest, I as PermissionResponseRequestSchema, N as PermissionResponseResponse, M as PermissionResponseResponseSchema, dd as PrStateChangedData, c7 as PreviewMetadataSchema, c6 as PreviewMethod, c5 as PreviewMethodSchema, c4 as PreviewProjectType, c3 as PreviewProjectTypeSchema, V as ProjectDirectoryResponse, U as ProjectDirectoryResponseSchema, Q as ProjectEntry, O as ProjectEntrySchema, Y as QueryEventsRequest, X as QueryEventsRequestSchema, _ as QueryEventsResponse, aL as RecentTaskSummary, aK as RecentTaskSummarySchema, dm as RepositoryInboxProviderSchema, dp as RepositoryInboxWebhookEventData, dn as RepositoryInboxWebhookSchema, d_ as RepositoryInitHookInput, dz as ResetTaskSessionEventData, dy as ResetTaskSessionSchema, bY as ResumeTaskEventData, q as ResumeTaskRequest, R as ResumeTaskRequestSchema, u as ResumeTaskResponse, t as ResumeTaskResponseSchema, dL as RpcCallEventData, dK as RpcCallEventSchema, dP as RpcResponseData, dO as RpcResponseSchema, cq as RtcIceServer, cp as RtcIceServerSchema, cs as RtcIceServersRequestEventData, cr as RtcIceServersRequestSchema, cu as RtcIceServersResponseEventData, ct as RtcIceServersResponseSchema, cA as RtcSignalEventData, cz as RtcSignalSchema, ar as SendMessageTarget, at as SendTaskMessageRequest, as as SendTaskMessageRequestSchema, av as SendTaskMessageResponse, au as SendTaskMessageResponseSchema, dC as SeqSyncRequestEventData, dB as SeqSyncRequestEventDataSchema, dE as SeqSyncResponseEventData, dD as SeqSyncResponseEventDataSchema, ci as ShowModalEventData, ch as ShowModalEventDataSchema, ax as ShowModalRequest, aw as ShowModalRequestSchema, az as ShowModalResponse, ay as ShowModalResponseSchema, bp as ShutdownMachineData, bo as ShutdownMachineSchema, e as StartTaskRequest, S as StartTaskRequestSchema, g as StartTaskResponse, f as StartTaskResponseSchema, c0 as StopTaskEventData, B as StopTaskRequest, A as StopTaskRequestSchema, H as StopTaskResponse, G as StopTaskResponseSchema, b$ as StopTaskSchema, cU as SubTaskAskUserEventData, cT as SubTaskAskUserEventSchema, b4 as SubTaskAskUserMessage, cS as SubTaskResultUpdatedEventData, cR as SubTaskResultUpdatedEventSchema, aF as SubTaskSummary, aE as SubTaskSummarySchema, df as SystemMessageEventData, de as SystemMessageSchema, dc as SystemMessageType, b7 as TaskAgentInfo, b6 as TaskAgentInfoSchema, c2 as TaskArtifactsStats, c1 as TaskArtifactsStatsSchema, c9 as TaskArtifactsSummary, c8 as TaskArtifactsSummarySchema, Z as TaskEvent, cI as TaskInfoUpdateEventData, cH as TaskInfoUpdateEventDataSchema, j as TaskItem, i as TaskItemSchema, cb as TaskMessageEventData, b5 as TaskMessagePayload, ca as TaskMessageSchema, cd as TaskModelUsage, cc as TaskModelUsageSchema, cK as TaskSlashCommand, cJ as TaskSlashCommandSchema, cM as TaskSlashCommandsUpdateEventData, cL as TaskSlashCommandsUpdateEventDataSchema, cg as TaskState, cm as TaskStateChangeEventData, cl as TaskStateChangeEventSchema, cQ as TaskStoppedEventData, cP as TaskStoppedEventSchema, b as TaskTodo, T as TaskTodoSchema, cf as TaskUsageReportEventData, ce as TaskUsageReportEventSchema, d as TaskUsageSummary, c as TaskUsageSummarySchema, ak as UnarchiveTaskRequest, aj as UnarchiveTaskRequestSchema, am as UnarchiveTaskResponse, al as UnarchiveTaskResponseSchema, da as UpdateAgentInfoEventData, d9 as UpdateAgentInfoEventSchema, cG as UpdateTaskAgentSessionIdEventData, cF as UpdateTaskAgentSessionIdEventSchema, ao as UpdateTaskTitleRequest, an as UpdateTaskTitleRequestSchema, aq as UpdateTaskTitleResponse, ap as UpdateTaskTitleResponseSchema, dY as ValidationResult, bB as WorkerAliveEventData, bA as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, bD as WorkerExitEventData, bC as WorkerExitSchema, bt as WorkerInitializedEventData, bs as WorkerInitializedSchema, br as WorkerInitializingEventData, bq as WorkerInitializingSchema, bH as WorkerPermissionModeEventData, bG as WorkerPermissionModeSchema, bv as WorkerPermissionModeValue, bu as WorkerPermissionModeValueSchema, bx as WorkerReadyEventData, bw as WorkerReadySchema, bF as WorkerRunningEventData, bE as WorkerRunningSchema, bJ as WorkerStatusRequestEventData, bI as WorkerStatusRequestSchema, bN as WorkerStatusSnapshot, bM as WorkerStatusSnapshotSchema, bL as WorkerStatusValue, bK as WorkerStatusValueSchema, dI as WorkerTaskEvent, cC as WorkspaceFileRequestEventData, cB as WorkspaceFileRequestSchema, cE as WorkspaceFileResponseEventData, cD as WorkspaceFileResponseSchema, bU as baseTaskSchema, x as cancelTaskRequestSchema, bZ as cancelTaskSchema, bf as createEventId, a4 as createMergeRequestSchema, bV as createTaskSchema, dT as getAgentContext, b8 as isAskUserMessage, b9 as isAskUserResponseMessage, ba as isCompanionHeartbeatMessage, bb as isCompanionReminderMessage, bd as isSDKMessage, be as isSDKUserMessage, bc as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, K as permissionResponseRequestSchema, r as resumeTaskRequestSchema, bX as resumeTaskSchema, dS as setAgentContext, s as startTaskSchema, F as stopTaskRequestSchema, w as workerExecutionModes, dJ as workerTaskEvents } from './errors-Cfur_d00.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
|
}>;
|
|
63
63
|
type SenderType = z.infer<typeof SenderTypeSchema>;
|
|
@@ -134,6 +134,95 @@ declare const DevCreateUserResponseSchema: z.ZodObject<{
|
|
|
134
134
|
}, z.core.$strip>;
|
|
135
135
|
}, z.core.$strip>;
|
|
136
136
|
type DevCreateUserResponse = z.infer<typeof DevCreateUserResponseSchema>;
|
|
137
|
+
/**
|
|
138
|
+
* POST /v1/auth/email/code - Request a passwordless login code.
|
|
139
|
+
*/
|
|
140
|
+
declare const EmailLoginCodeRequestSchema: z.ZodObject<{
|
|
141
|
+
email: z.ZodString;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
type EmailLoginCodeRequest = z.infer<typeof EmailLoginCodeRequestSchema>;
|
|
144
|
+
/**
|
|
145
|
+
* POST /v1/auth/email/code - Response schema.
|
|
146
|
+
*/
|
|
147
|
+
declare const EmailLoginCodeResponseSchema: z.ZodObject<{
|
|
148
|
+
success: z.ZodLiteral<true>;
|
|
149
|
+
expiresIn: z.ZodNumber;
|
|
150
|
+
resendAvailableIn: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
type EmailLoginCodeResponse = z.infer<typeof EmailLoginCodeResponseSchema>;
|
|
153
|
+
/**
|
|
154
|
+
* POST /v1/auth/email/verify - Verify login code and issue JWT.
|
|
155
|
+
*/
|
|
156
|
+
declare const EmailLoginVerifyRequestSchema: z.ZodObject<{
|
|
157
|
+
email: z.ZodString;
|
|
158
|
+
code: z.ZodString;
|
|
159
|
+
}, z.core.$strip>;
|
|
160
|
+
type EmailLoginVerifyRequest = z.infer<typeof EmailLoginVerifyRequestSchema>;
|
|
161
|
+
/**
|
|
162
|
+
* POST /v1/auth/email/verify - Response schema.
|
|
163
|
+
*/
|
|
164
|
+
declare const EmailLoginVerifyResponseSchema: z.ZodObject<{
|
|
165
|
+
token: z.ZodString;
|
|
166
|
+
user: z.ZodObject<{
|
|
167
|
+
id: z.ZodString;
|
|
168
|
+
username: z.ZodString;
|
|
169
|
+
email: z.ZodNullable<z.ZodString>;
|
|
170
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
171
|
+
role: z.ZodOptional<z.ZodString>;
|
|
172
|
+
oauthAccounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
173
|
+
provider: z.ZodString;
|
|
174
|
+
username: z.ZodString;
|
|
175
|
+
email: z.ZodNullable<z.ZodString>;
|
|
176
|
+
avatarUrl: z.ZodString;
|
|
177
|
+
}, z.core.$strip>>>;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
type EmailLoginVerifyResponse = z.infer<typeof EmailLoginVerifyResponseSchema>;
|
|
181
|
+
/**
|
|
182
|
+
* POST /v1/auth/email/password-login - Login with email and locally verified password.
|
|
183
|
+
*/
|
|
184
|
+
declare const EmailPasswordLoginRequestSchema: z.ZodObject<{
|
|
185
|
+
email: z.ZodString;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
type EmailPasswordLoginRequest = z.infer<typeof EmailPasswordLoginRequestSchema>;
|
|
188
|
+
/**
|
|
189
|
+
* POST /v1/auth/email/password-login - Response schema.
|
|
190
|
+
*/
|
|
191
|
+
declare const EmailPasswordLoginResponseSchema: z.ZodObject<{
|
|
192
|
+
token: z.ZodString;
|
|
193
|
+
user: z.ZodObject<{
|
|
194
|
+
id: z.ZodString;
|
|
195
|
+
username: z.ZodString;
|
|
196
|
+
email: z.ZodNullable<z.ZodString>;
|
|
197
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
198
|
+
role: z.ZodOptional<z.ZodString>;
|
|
199
|
+
oauthAccounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
200
|
+
provider: z.ZodString;
|
|
201
|
+
username: z.ZodString;
|
|
202
|
+
email: z.ZodNullable<z.ZodString>;
|
|
203
|
+
avatarUrl: z.ZodString;
|
|
204
|
+
}, z.core.$strip>>>;
|
|
205
|
+
encryptedSecret: z.ZodString;
|
|
206
|
+
secretSalt: z.ZodString;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
type EmailPasswordLoginResponse = z.infer<typeof EmailPasswordLoginResponseSchema>;
|
|
210
|
+
/**
|
|
211
|
+
* POST /v1/auth/email/profile-code - Request a code before changing profile email.
|
|
212
|
+
*/
|
|
213
|
+
declare const ProfileEmailCodeRequestSchema: z.ZodObject<{
|
|
214
|
+
email: z.ZodString;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
type ProfileEmailCodeRequest = z.infer<typeof ProfileEmailCodeRequestSchema>;
|
|
217
|
+
/**
|
|
218
|
+
* POST /v1/auth/email/profile-code - Response schema.
|
|
219
|
+
*/
|
|
220
|
+
declare const ProfileEmailCodeResponseSchema: z.ZodObject<{
|
|
221
|
+
success: z.ZodLiteral<true>;
|
|
222
|
+
expiresIn: z.ZodNumber;
|
|
223
|
+
resendAvailableIn: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
type ProfileEmailCodeResponse = z.infer<typeof ProfileEmailCodeResponseSchema>;
|
|
137
226
|
/**
|
|
138
227
|
* GET /v1/auth/me - Response schema
|
|
139
228
|
*/
|
|
@@ -164,6 +253,7 @@ type UserProfileResponse = z.infer<typeof UserProfileResponseSchema>;
|
|
|
164
253
|
declare const UpdateUserProfileRequestSchema: z.ZodObject<{
|
|
165
254
|
username: z.ZodOptional<z.ZodString>;
|
|
166
255
|
email: z.ZodOptional<z.ZodString>;
|
|
256
|
+
emailVerificationCode: z.ZodOptional<z.ZodString>;
|
|
167
257
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
168
258
|
}, z.core.$strip>;
|
|
169
259
|
type UpdateUserProfileRequest = z.infer<typeof UpdateUserProfileRequestSchema>;
|
|
@@ -333,8 +423,8 @@ type MachineApprovalStatusQuery = z.infer<typeof MachineApprovalStatusQuerySchem
|
|
|
333
423
|
*/
|
|
334
424
|
declare const ApprovalStatusResponseSchema: z.ZodObject<{
|
|
335
425
|
status: z.ZodEnum<{
|
|
336
|
-
pending: "pending";
|
|
337
426
|
approved: "approved";
|
|
427
|
+
pending: "pending";
|
|
338
428
|
}>;
|
|
339
429
|
}, z.core.$strip>;
|
|
340
430
|
type ApprovalStatusResponse = z.infer<typeof ApprovalStatusResponseSchema>;
|
|
@@ -1368,9 +1458,9 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1368
1458
|
*/
|
|
1369
1459
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1370
1460
|
ownerType: z.ZodEnum<{
|
|
1371
|
-
machine: "machine";
|
|
1372
1461
|
agent: "agent";
|
|
1373
1462
|
"draft-agent": "draft-agent";
|
|
1463
|
+
machine: "machine";
|
|
1374
1464
|
cloud: "cloud";
|
|
1375
1465
|
}>;
|
|
1376
1466
|
ownerId: z.ZodString;
|
|
@@ -1753,8 +1843,8 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
1753
1843
|
member: "member";
|
|
1754
1844
|
}>>;
|
|
1755
1845
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
1756
|
-
pending: "pending";
|
|
1757
1846
|
active: "active";
|
|
1847
|
+
pending: "pending";
|
|
1758
1848
|
revoked: "revoked";
|
|
1759
1849
|
}>>;
|
|
1760
1850
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1796,8 +1886,8 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
1796
1886
|
member: "member";
|
|
1797
1887
|
}>>;
|
|
1798
1888
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
1799
|
-
pending: "pending";
|
|
1800
1889
|
active: "active";
|
|
1890
|
+
pending: "pending";
|
|
1801
1891
|
revoked: "revoked";
|
|
1802
1892
|
}>>;
|
|
1803
1893
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3217,8 +3307,8 @@ declare const PrivateCloudSummarySchema: z.ZodObject<{
|
|
|
3217
3307
|
member: "member";
|
|
3218
3308
|
}>>;
|
|
3219
3309
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3220
|
-
pending: "pending";
|
|
3221
3310
|
active: "active";
|
|
3311
|
+
pending: "pending";
|
|
3222
3312
|
revoked: "revoked";
|
|
3223
3313
|
}>>;
|
|
3224
3314
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3257,8 +3347,8 @@ declare const ListPrivateCloudsResponseSchema: z.ZodObject<{
|
|
|
3257
3347
|
member: "member";
|
|
3258
3348
|
}>>;
|
|
3259
3349
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3260
|
-
pending: "pending";
|
|
3261
3350
|
active: "active";
|
|
3351
|
+
pending: "pending";
|
|
3262
3352
|
revoked: "revoked";
|
|
3263
3353
|
}>>;
|
|
3264
3354
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3309,8 +3399,8 @@ declare const CreatePrivateCloudResponseSchema: z.ZodObject<{
|
|
|
3309
3399
|
member: "member";
|
|
3310
3400
|
}>>;
|
|
3311
3401
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3312
|
-
pending: "pending";
|
|
3313
3402
|
active: "active";
|
|
3403
|
+
pending: "pending";
|
|
3314
3404
|
revoked: "revoked";
|
|
3315
3405
|
}>>;
|
|
3316
3406
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3404,8 +3494,8 @@ declare const AcceptPrivateCloudInviteResponseSchema: z.ZodObject<{
|
|
|
3404
3494
|
member: "member";
|
|
3405
3495
|
}>>;
|
|
3406
3496
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3407
|
-
pending: "pending";
|
|
3408
3497
|
active: "active";
|
|
3498
|
+
pending: "pending";
|
|
3409
3499
|
revoked: "revoked";
|
|
3410
3500
|
}>>;
|
|
3411
3501
|
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3436,8 +3526,8 @@ declare const PrivateCloudMemberSchema: z.ZodObject<{
|
|
|
3436
3526
|
member: "member";
|
|
3437
3527
|
}>;
|
|
3438
3528
|
status: z.ZodEnum<{
|
|
3439
|
-
pending: "pending";
|
|
3440
3529
|
active: "active";
|
|
3530
|
+
pending: "pending";
|
|
3441
3531
|
revoked: "revoked";
|
|
3442
3532
|
}>;
|
|
3443
3533
|
createdAt: z.ZodString;
|
|
@@ -3453,8 +3543,8 @@ declare const ListPrivateCloudMembersResponseSchema: z.ZodObject<{
|
|
|
3453
3543
|
member: "member";
|
|
3454
3544
|
}>;
|
|
3455
3545
|
status: z.ZodEnum<{
|
|
3456
|
-
pending: "pending";
|
|
3457
3546
|
active: "active";
|
|
3547
|
+
pending: "pending";
|
|
3458
3548
|
revoked: "revoked";
|
|
3459
3549
|
}>;
|
|
3460
3550
|
createdAt: z.ZodString;
|
|
@@ -3701,12 +3791,12 @@ type CiProvider = z.infer<typeof CiProviderSchema>;
|
|
|
3701
3791
|
declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3702
3792
|
type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
|
|
3703
3793
|
declare const CiRunStatusSchema: z.ZodEnum<{
|
|
3704
|
-
timeout: "timeout";
|
|
3705
|
-
failed: "failed";
|
|
3706
3794
|
running: "running";
|
|
3795
|
+
failed: "failed";
|
|
3707
3796
|
completed: "completed";
|
|
3708
3797
|
queued: "queued";
|
|
3709
3798
|
canceled: "canceled";
|
|
3799
|
+
timeout: "timeout";
|
|
3710
3800
|
}>;
|
|
3711
3801
|
type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
|
|
3712
3802
|
declare const CiRunRepoSchema: z.ZodObject<{
|
|
@@ -3784,8 +3874,8 @@ type CreateCiRunRequest = z.infer<typeof CreateCiRunRequestSchema>;
|
|
|
3784
3874
|
declare const CreateCiRunResponseSchema: z.ZodObject<{
|
|
3785
3875
|
runId: z.ZodString;
|
|
3786
3876
|
status: z.ZodEnum<{
|
|
3787
|
-
failed: "failed";
|
|
3788
3877
|
running: "running";
|
|
3878
|
+
failed: "failed";
|
|
3789
3879
|
completed: "completed";
|
|
3790
3880
|
queued: "queued";
|
|
3791
3881
|
}>;
|
|
@@ -3795,12 +3885,12 @@ type CreateCiRunResponse = z.infer<typeof CreateCiRunResponseSchema>;
|
|
|
3795
3885
|
declare const CiRunStatusResponseSchema: z.ZodObject<{
|
|
3796
3886
|
runId: z.ZodString;
|
|
3797
3887
|
status: z.ZodEnum<{
|
|
3798
|
-
timeout: "timeout";
|
|
3799
|
-
failed: "failed";
|
|
3800
3888
|
running: "running";
|
|
3889
|
+
failed: "failed";
|
|
3801
3890
|
completed: "completed";
|
|
3802
3891
|
queued: "queued";
|
|
3803
3892
|
canceled: "canceled";
|
|
3893
|
+
timeout: "timeout";
|
|
3804
3894
|
}>;
|
|
3805
3895
|
result: z.ZodString;
|
|
3806
3896
|
structuredOutput: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -4047,8 +4137,8 @@ declare const HiveListingTypeSchema: z.ZodEnum<{
|
|
|
4047
4137
|
}>;
|
|
4048
4138
|
type HiveListingType = z.infer<typeof HiveListingTypeSchema>;
|
|
4049
4139
|
declare const HiveAuthorTypeSchema: z.ZodEnum<{
|
|
4050
|
-
user: "user";
|
|
4051
4140
|
agent: "agent";
|
|
4141
|
+
user: "user";
|
|
4052
4142
|
}>;
|
|
4053
4143
|
type HiveAuthorType = z.infer<typeof HiveAuthorTypeSchema>;
|
|
4054
4144
|
declare const HiveListingStatusSchema: z.ZodEnum<{
|
|
@@ -4078,8 +4168,8 @@ declare const HiveListingSchema: z.ZodObject<{
|
|
|
4078
4168
|
version: z.ZodString;
|
|
4079
4169
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4080
4170
|
authorType: z.ZodEnum<{
|
|
4081
|
-
user: "user";
|
|
4082
4171
|
agent: "agent";
|
|
4172
|
+
user: "user";
|
|
4083
4173
|
}>;
|
|
4084
4174
|
authorId: z.ZodString;
|
|
4085
4175
|
authorName: z.ZodString;
|
|
@@ -4119,8 +4209,8 @@ declare const PublishToHiveRequestSchema: z.ZodObject<{
|
|
|
4119
4209
|
category: z.ZodOptional<z.ZodString>;
|
|
4120
4210
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4121
4211
|
authorType: z.ZodEnum<{
|
|
4122
|
-
user: "user";
|
|
4123
4212
|
agent: "agent";
|
|
4213
|
+
user: "user";
|
|
4124
4214
|
}>;
|
|
4125
4215
|
authorId: z.ZodString;
|
|
4126
4216
|
machineId: z.ZodOptional<z.ZodString>;
|
|
@@ -4165,8 +4255,8 @@ declare const HiveListResponseSchema: z.ZodObject<{
|
|
|
4165
4255
|
version: z.ZodString;
|
|
4166
4256
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4167
4257
|
authorType: z.ZodEnum<{
|
|
4168
|
-
user: "user";
|
|
4169
4258
|
agent: "agent";
|
|
4259
|
+
user: "user";
|
|
4170
4260
|
}>;
|
|
4171
4261
|
authorId: z.ZodString;
|
|
4172
4262
|
authorName: z.ZodString;
|
|
@@ -4246,8 +4336,8 @@ declare const HiveReviewSchema: z.ZodObject<{
|
|
|
4246
4336
|
id: z.ZodString;
|
|
4247
4337
|
hiveListingId: z.ZodString;
|
|
4248
4338
|
authorType: z.ZodEnum<{
|
|
4249
|
-
user: "user";
|
|
4250
4339
|
agent: "agent";
|
|
4340
|
+
user: "user";
|
|
4251
4341
|
}>;
|
|
4252
4342
|
authorId: z.ZodString;
|
|
4253
4343
|
authorName: z.ZodString;
|
|
@@ -4273,8 +4363,8 @@ declare const HiveReviewListResponseSchema: z.ZodObject<{
|
|
|
4273
4363
|
id: z.ZodString;
|
|
4274
4364
|
hiveListingId: z.ZodString;
|
|
4275
4365
|
authorType: z.ZodEnum<{
|
|
4276
|
-
user: "user";
|
|
4277
4366
|
agent: "agent";
|
|
4367
|
+
user: "user";
|
|
4278
4368
|
}>;
|
|
4279
4369
|
authorId: z.ZodString;
|
|
4280
4370
|
authorName: z.ZodString;
|
|
@@ -4294,8 +4384,8 @@ declare const HiveCommentSchema: z.ZodObject<{
|
|
|
4294
4384
|
hiveListingId: z.ZodString;
|
|
4295
4385
|
parentId: z.ZodNullable<z.ZodString>;
|
|
4296
4386
|
authorType: z.ZodEnum<{
|
|
4297
|
-
user: "user";
|
|
4298
4387
|
agent: "agent";
|
|
4388
|
+
user: "user";
|
|
4299
4389
|
}>;
|
|
4300
4390
|
authorId: z.ZodString;
|
|
4301
4391
|
authorName: z.ZodString;
|
|
@@ -4320,8 +4410,8 @@ declare const HiveCommentListResponseSchema: z.ZodObject<{
|
|
|
4320
4410
|
hiveListingId: z.ZodString;
|
|
4321
4411
|
parentId: z.ZodNullable<z.ZodString>;
|
|
4322
4412
|
authorType: z.ZodEnum<{
|
|
4323
|
-
user: "user";
|
|
4324
4413
|
agent: "agent";
|
|
4414
|
+
user: "user";
|
|
4325
4415
|
}>;
|
|
4326
4416
|
authorId: z.ZodString;
|
|
4327
4417
|
authorName: z.ZodString;
|
|
@@ -4361,8 +4451,8 @@ declare const HiveInstalledItemSchema: z.ZodObject<{
|
|
|
4361
4451
|
version: z.ZodString;
|
|
4362
4452
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4363
4453
|
authorType: z.ZodEnum<{
|
|
4364
|
-
user: "user";
|
|
4365
4454
|
agent: "agent";
|
|
4455
|
+
user: "user";
|
|
4366
4456
|
}>;
|
|
4367
4457
|
authorId: z.ZodString;
|
|
4368
4458
|
authorName: z.ZodString;
|
|
@@ -4416,8 +4506,8 @@ declare const HiveInstalledResponseSchema: z.ZodObject<{
|
|
|
4416
4506
|
version: z.ZodString;
|
|
4417
4507
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4418
4508
|
authorType: z.ZodEnum<{
|
|
4419
|
-
user: "user";
|
|
4420
4509
|
agent: "agent";
|
|
4510
|
+
user: "user";
|
|
4421
4511
|
}>;
|
|
4422
4512
|
authorId: z.ZodString;
|
|
4423
4513
|
authorName: z.ZodString;
|
|
@@ -4459,8 +4549,8 @@ declare const HiveMyListingsResponseSchema: z.ZodObject<{
|
|
|
4459
4549
|
version: z.ZodString;
|
|
4460
4550
|
avatar: z.ZodNullable<z.ZodString>;
|
|
4461
4551
|
authorType: z.ZodEnum<{
|
|
4462
|
-
user: "user";
|
|
4463
4552
|
agent: "agent";
|
|
4553
|
+
user: "user";
|
|
4464
4554
|
}>;
|
|
4465
4555
|
authorId: z.ZodString;
|
|
4466
4556
|
authorName: z.ZodString;
|
|
@@ -4746,5 +4836,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
4746
4836
|
*/
|
|
4747
4837
|
declare function decodeGitPath(rawPath: string): string;
|
|
4748
4838
|
|
|
4749
|
-
export { AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, CancelSubscriptionResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, 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, CreateHiveCommentRequestSchema, CreateHiveReviewRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, 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, GitServerSchema, HiveAuthorTypeSchema, HiveCommentListResponseSchema, HiveCommentSchema, HiveInstallRequestSchema, HiveInstallResponseSchema, HiveInstallSchema, HiveInstalledItemSchema, HiveInstalledResponseSchema, HiveListQuerySchema, HiveListResponseSchema, HiveListingSchema, HiveListingStatusSchema, HiveListingTypeSchema, HiveMyListingsResponseSchema, HiveReviewListResponseSchema, HiveReviewSchema, HiveSortSchema, 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, 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, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, PublishToHiveRequestSchema, PublishToHiveResponseSchema, 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, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateHiveCommentRequestSchema, UpdateHiveListingRequestSchema, UpdateHiveReviewRequestSchema, UpdateHiveVersionRequestSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, 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 };
|
|
4750
|
-
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, CancelSubscriptionResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, 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, CreateHiveCommentRequest, CreateHiveReviewRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, 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, HiveAuthorType, HiveComment, HiveCommentListResponse, HiveInstall, HiveInstallRequest, HiveInstallResponse, HiveInstalledItem, HiveInstalledResponse, HiveListQuery, HiveListResponse, HiveListing, HiveListingStatus, HiveListingType, HiveMyListingsResponse, HiveReview, HiveReviewListResponse, HiveSort, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, 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, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, PublishToHiveRequest, PublishToHiveResponse, 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, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateHiveCommentRequest, UpdateHiveListingRequest, UpdateHiveReviewRequest, UpdateHiveVersionRequest, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
|
4839
|
+
export { AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, CancelSubscriptionResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, 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, CreateHiveCommentRequestSchema, CreateHiveReviewRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, 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, GitServerSchema, HiveAuthorTypeSchema, HiveCommentListResponseSchema, HiveCommentSchema, HiveInstallRequestSchema, HiveInstallResponseSchema, HiveInstallSchema, HiveInstalledItemSchema, HiveInstalledResponseSchema, HiveListQuerySchema, HiveListResponseSchema, HiveListingSchema, HiveListingStatusSchema, HiveListingTypeSchema, HiveMyListingsResponseSchema, HiveReviewListResponseSchema, HiveReviewSchema, HiveSortSchema, 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, 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, PublishToHiveRequestSchema, PublishToHiveResponseSchema, 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, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateHiveCommentRequestSchema, UpdateHiveListingRequestSchema, UpdateHiveReviewRequestSchema, UpdateHiveVersionRequestSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, 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 };
|
|
4840
|
+
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, CancelSubscriptionResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, 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, CreateHiveCommentRequest, CreateHiveReviewRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, 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, HiveAuthorType, HiveComment, HiveCommentListResponse, HiveInstall, HiveInstallRequest, HiveInstallResponse, HiveInstalledItem, HiveInstalledResponse, HiveListQuery, HiveListResponse, HiveListing, HiveListingStatus, HiveListingType, HiveMyListingsResponse, HiveReview, HiveReviewListResponse, HiveSort, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, 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, PublishToHiveRequest, PublishToHiveResponse, 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, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateHiveCommentRequest, UpdateHiveListingRequest, UpdateHiveReviewRequest, UpdateHiveVersionRequest, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dZ as LoadAgentOptions, dX as AgentConfig, dY as ValidationResult, dU as FrameworkType } from './errors-
|
|
2
|
-
export { e5 as AgentConfigValidationError, dQ as AgentContext, e3 as AgentError, e7 as AgentLoadError, dV as AgentMetadata, e1 as AgentMetadataSchema, e4 as AgentNotFoundError, dR as AgentrixContext, dW as ClaudeAgentConfig, e2 as ClaudeConfigSchema, e0 as FRAMEWORK_TYPES, e6 as FrameworkNotSupportedError, d$ as HookFactory, e8 as MissingAgentFileError, d_ as RepositoryInitHookInput, dT as getAgentContext, dS as setAgentContext } from './errors-
|
|
1
|
+
import { dZ as LoadAgentOptions, dX as AgentConfig, dY as ValidationResult, dU as FrameworkType } from './errors-Cfur_d00.cjs';
|
|
2
|
+
export { e5 as AgentConfigValidationError, dQ as AgentContext, e3 as AgentError, e7 as AgentLoadError, dV as AgentMetadata, e1 as AgentMetadataSchema, e4 as AgentNotFoundError, dR as AgentrixContext, dW as ClaudeAgentConfig, e2 as ClaudeConfigSchema, e0 as FRAMEWORK_TYPES, e6 as FrameworkNotSupportedError, d$ as HookFactory, e8 as MissingAgentFileError, d_ as RepositoryInitHookInput, dT as getAgentContext, dS as setAgentContext } from './errors-Cfur_d00.cjs';
|
|
3
3
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
4
4
|
import '@anthropic-ai/claude-agent-sdk';
|
|
5
5
|
import 'zod';
|