@agentrix/shared 2.8.1 → 2.10.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-bwLB4nUC.d.cts → errors-CjePCqwd.d.cts} +65 -2
- package/dist/index.cjs +156 -3
- package/dist/index.d.cts +404 -5
- package/dist/node.d.cts +2 -2
- package/package.json +1 -1
|
@@ -7,6 +7,14 @@ import { z } from 'zod';
|
|
|
7
7
|
* Extended with multi-agent collaboration support and custom task titles
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
declare const workerExecutionModes: readonly ["loop", "oneshot"];
|
|
11
|
+
type WorkerExecutionMode = (typeof workerExecutionModes)[number];
|
|
12
|
+
declare const DEFAULT_WORKER_EXECUTION_MODE: WorkerExecutionMode;
|
|
13
|
+
declare const WorkerExecutionModeSchema: z.ZodEnum<{
|
|
14
|
+
loop: "loop";
|
|
15
|
+
oneshot: "oneshot";
|
|
16
|
+
}>;
|
|
17
|
+
declare function normalizeWorkerExecutionMode(value: unknown): WorkerExecutionMode;
|
|
10
18
|
declare const TaskTodoSchema: z.ZodObject<{
|
|
11
19
|
agentId: z.ZodString;
|
|
12
20
|
title: z.ZodString;
|
|
@@ -27,6 +35,10 @@ declare const StartTaskRequestSchema: z.ZodObject<{
|
|
|
27
35
|
cloudId: z.ZodOptional<z.ZodString>;
|
|
28
36
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
29
37
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
38
|
+
workerExecutionMode: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
loop: "loop";
|
|
40
|
+
oneshot: "oneshot";
|
|
41
|
+
}>>;
|
|
30
42
|
repositorySourceType: z.ZodOptional<z.ZodEnum<{
|
|
31
43
|
temporary: "temporary";
|
|
32
44
|
directory: "directory";
|
|
@@ -58,6 +70,10 @@ declare const startTaskSchema: z.ZodObject<{
|
|
|
58
70
|
cloudId: z.ZodOptional<z.ZodString>;
|
|
59
71
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
60
72
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
73
|
+
workerExecutionMode: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
loop: "loop";
|
|
75
|
+
oneshot: "oneshot";
|
|
76
|
+
}>>;
|
|
61
77
|
repositorySourceType: z.ZodOptional<z.ZodEnum<{
|
|
62
78
|
temporary: "temporary";
|
|
63
79
|
directory: "directory";
|
|
@@ -91,6 +107,10 @@ declare const StartTaskResponseSchema: z.ZodObject<{
|
|
|
91
107
|
cloudId: z.ZodNullable<z.ZodString>;
|
|
92
108
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
93
109
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
110
|
+
workerExecutionMode: z.ZodEnum<{
|
|
111
|
+
loop: "loop";
|
|
112
|
+
oneshot: "oneshot";
|
|
113
|
+
}>;
|
|
94
114
|
title: z.ZodNullable<z.ZodString>;
|
|
95
115
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
96
116
|
userCwd: z.ZodNullable<z.ZodString>;
|
|
@@ -132,6 +152,10 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
132
152
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
133
153
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
134
154
|
branchName: z.ZodNullable<z.ZodString>;
|
|
155
|
+
workerExecutionMode: z.ZodEnum<{
|
|
156
|
+
loop: "loop";
|
|
157
|
+
oneshot: "oneshot";
|
|
158
|
+
}>;
|
|
135
159
|
title: z.ZodNullable<z.ZodString>;
|
|
136
160
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
137
161
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -194,6 +218,10 @@ declare const EnsureIssueRootTaskResponseSchema: z.ZodObject<{
|
|
|
194
218
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
195
219
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
196
220
|
branchName: z.ZodNullable<z.ZodString>;
|
|
221
|
+
workerExecutionMode: z.ZodEnum<{
|
|
222
|
+
loop: "loop";
|
|
223
|
+
oneshot: "oneshot";
|
|
224
|
+
}>;
|
|
197
225
|
title: z.ZodNullable<z.ZodString>;
|
|
198
226
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
199
227
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -270,6 +298,10 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
270
298
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
271
299
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
272
300
|
branchName: z.ZodNullable<z.ZodString>;
|
|
301
|
+
workerExecutionMode: z.ZodEnum<{
|
|
302
|
+
loop: "loop";
|
|
303
|
+
oneshot: "oneshot";
|
|
304
|
+
}>;
|
|
273
305
|
title: z.ZodNullable<z.ZodString>;
|
|
274
306
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
275
307
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -573,6 +605,10 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
573
605
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
574
606
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
575
607
|
branchName: z.ZodNullable<z.ZodString>;
|
|
608
|
+
workerExecutionMode: z.ZodEnum<{
|
|
609
|
+
loop: "loop";
|
|
610
|
+
oneshot: "oneshot";
|
|
611
|
+
}>;
|
|
576
612
|
title: z.ZodNullable<z.ZodString>;
|
|
577
613
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
578
614
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -645,6 +681,10 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
645
681
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
646
682
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
647
683
|
branchName: z.ZodNullable<z.ZodString>;
|
|
684
|
+
workerExecutionMode: z.ZodEnum<{
|
|
685
|
+
loop: "loop";
|
|
686
|
+
oneshot: "oneshot";
|
|
687
|
+
}>;
|
|
648
688
|
title: z.ZodNullable<z.ZodString>;
|
|
649
689
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
650
690
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -719,6 +759,10 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
719
759
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
720
760
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
721
761
|
branchName: z.ZodNullable<z.ZodString>;
|
|
762
|
+
workerExecutionMode: z.ZodEnum<{
|
|
763
|
+
loop: "loop";
|
|
764
|
+
oneshot: "oneshot";
|
|
765
|
+
}>;
|
|
722
766
|
title: z.ZodNullable<z.ZodString>;
|
|
723
767
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
724
768
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -1356,9 +1400,14 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
1356
1400
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
1357
1401
|
model: z.ZodOptional<z.ZodString>;
|
|
1358
1402
|
fallbackModel: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
visionModel: z.ZodOptional<z.ZodString>;
|
|
1359
1404
|
api_base_url: z.ZodOptional<z.ZodString>;
|
|
1360
1405
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1361
1406
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1407
|
+
workerExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1408
|
+
loop: "loop";
|
|
1409
|
+
oneshot: "oneshot";
|
|
1410
|
+
}>>>;
|
|
1362
1411
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
1363
1412
|
repositorySourceType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1364
1413
|
temporary: "temporary";
|
|
@@ -1410,9 +1459,14 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
1410
1459
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
1411
1460
|
model: z.ZodOptional<z.ZodString>;
|
|
1412
1461
|
fallbackModel: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
visionModel: z.ZodOptional<z.ZodString>;
|
|
1413
1463
|
api_base_url: z.ZodOptional<z.ZodString>;
|
|
1414
1464
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1415
1465
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1466
|
+
workerExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1467
|
+
loop: "loop";
|
|
1468
|
+
oneshot: "oneshot";
|
|
1469
|
+
}>>>;
|
|
1416
1470
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
1417
1471
|
repositorySourceType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1418
1472
|
temporary: "temporary";
|
|
@@ -1467,9 +1521,14 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
1467
1521
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
1468
1522
|
model: z.ZodOptional<z.ZodString>;
|
|
1469
1523
|
fallbackModel: z.ZodOptional<z.ZodString>;
|
|
1524
|
+
visionModel: z.ZodOptional<z.ZodString>;
|
|
1470
1525
|
api_base_url: z.ZodOptional<z.ZodString>;
|
|
1471
1526
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1472
1527
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1528
|
+
workerExecutionMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1529
|
+
loop: "loop";
|
|
1530
|
+
oneshot: "oneshot";
|
|
1531
|
+
}>>>;
|
|
1473
1532
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
1474
1533
|
repositorySourceType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1475
1534
|
temporary: "temporary";
|
|
@@ -2230,6 +2289,10 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
2230
2289
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
2231
2290
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
2232
2291
|
branchName: z.ZodNullable<z.ZodString>;
|
|
2292
|
+
workerExecutionMode: z.ZodEnum<{
|
|
2293
|
+
loop: "loop";
|
|
2294
|
+
oneshot: "oneshot";
|
|
2295
|
+
}>;
|
|
2233
2296
|
title: z.ZodNullable<z.ZodString>;
|
|
2234
2297
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
2235
2298
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -2873,5 +2936,5 @@ declare class MissingAgentFileError extends AgentError {
|
|
|
2873
2936
|
constructor(filePath: string);
|
|
2874
2937
|
}
|
|
2875
2938
|
|
|
2876
|
-
export {
|
|
2877
|
-
export type {
|
|
2939
|
+
export { stopTaskRequestSchema as A, StopTaskResponseSchema as B, CancelTaskRequestSchema as C, DEFAULT_WORKER_EXECUTION_MODE as D, EnsureIssueRootTaskRequestSchema as E, PermissionResponseRequestSchema as G, permissionResponseRequestSchema as I, PermissionResponseResponseSchema as J, ListTasksRequestSchema as L, ProjectEntrySchema as M, ProjectDirectoryResponseSchema as O, ResumeTaskRequestSchema as R, StartTaskRequestSchema as S, TaskTodoSchema as T, QueryEventsRequestSchema as U, FillEventsRequestSchema as Z, WorkerExecutionModeSchema as a, CreateMergeRequestSchema as a0, createMergeRequestSchema as a2, CreateMergeRequestResponseSchema as a3, ApprovePrRequestSchema as a5, ApprovePrResponseSchema as a7, CreateTaskShareSchema as a9, ListSubTasksRequestSchema as aA, SubTaskSummarySchema as aC, ListSubTasksResponseSchema as aE, ListRecentTasksRequestSchema as aG, RecentTaskSummarySchema as aI, ListRecentTasksResponseSchema as aK, FindTaskByAgentRequestSchema as aM, FindTaskByAgentResponseSchema as aO, AskUserOptionSchema as aQ, AskUserQuestionSchema as aS, AskUserMessageSchema as aU, AskUserResponseStatusSchema as aW, AskUserResponseReasonSchema as aX, AskUserResponseMessageSchema as a_, CreateTaskShareResponseSchema as ab, ArchiveTaskRequestSchema as ad, ArchiveTaskResponseSchema as af, UnarchiveTaskRequestSchema as ah, UnarchiveTaskResponseSchema as aj, UpdateTaskTitleRequestSchema as al, UpdateTaskTitleResponseSchema as an, SendTaskMessageRequestSchema as aq, SendTaskMessageResponseSchema as as, ShowModalRequestSchema as au, ShowModalResponseSchema as aw, GetTaskSessionResponseSchema as ay, PreviewProjectTypeSchema as b$, TaskAgentInfoSchema as b4, isAskUserMessage as b6, isAskUserResponseMessage as b7, isCompanionHeartbeatMessage as b8, isCompanionReminderMessage as b9, WorkerExitSchema as bA, WorkerRunningSchema as bC, WorkerPermissionModeSchema as bE, WorkerStatusRequestSchema as bG, WorkerStatusValueSchema as bI, WorkerStatusSnapshotSchema as bK, ChatWorkersStatusRequestSchema as bM, ChatWorkersStatusResponseSchema as bO, baseTaskSchema as bQ, createTaskSchema as bR, resumeTaskSchema as bT, cancelTaskSchema as bV, StopTaskSchema as bX, TaskArtifactsStatsSchema as bZ, isSubTaskAskUserMessage as ba, isSDKMessage as bb, isSDKUserMessage as bc, createEventId as bd, EventAckSchema as be, AppAliveEventSchema as bg, ApiServerAliveEventSchema as bi, MachineAliveEventSchema as bk, ShutdownMachineSchema as bm, WorkerInitializingSchema as bo, WorkerInitializedSchema as bq, WorkerPermissionModeValueSchema as bs, WorkerReadySchema as bu, ActiveAgentSchema as bw, WorkerAliveEventSchema as by, PreviewMethodSchema as c1, PreviewMetadataSchema as c3, TaskArtifactsSummarySchema as c4, TaskMessageSchema as c6, ShowModalEventDataSchema as c9, TaskSlashCommandSchema as cB, TaskSlashCommandsUpdateEventDataSchema as cD, MergeRequestEventSchema as cF, TaskStoppedEventSchema as cH, SubTaskResultUpdatedEventSchema as cJ, MergePullRequestEventSchema as cL, DeployAgentEventSchema as cO, DeployAgentCompleteEventSchema as cQ, AssociateRepoEventDataSchema as cS, UpdateAgentInfoEventSchema as cT, SystemMessageSchema as cY, DaemonGitlabOperationSchema as c_, ChangeTaskTitleEventSchema as cb, TaskStateChangeEventSchema as cd, CreditExhaustedEventSchema as cf, RtcIceServerSchema as ch, RtcIceServersRequestSchema as cj, RtcIceServersResponseSchema as cl, MachineRtcRequestSchema as cn, MachineRtcResponseSchema as cp, RtcSignalSchema as cr, WorkspaceFileRequestSchema as ct, WorkspaceFileResponseSchema as cv, UpdateTaskAgentSessionIdEventSchema as cx, TaskInfoUpdateEventDataSchema as cz, StartTaskResponseSchema as d, DaemonGitlabRequestSchema as d0, DaemonGitlabResponseSchema as d2, CompanionHeartbeatRequestSchema as d4, CompanionHeartbeatResponseSchema as d6, CompanionInitRequestSchema as d8, FRAMEWORK_TYPES as dF, AgentMetadataSchema as dG, ClaudeConfigSchema as dH, AgentError as dI, AgentNotFoundError as dJ, AgentConfigValidationError as dK, FrameworkNotSupportedError as dL, AgentLoadError as dM, MissingAgentFileError as dN, CompanionInitResponseSchema as da, ResetTaskSessionSchema as dc, SeqSyncRequestEventDataSchema as df, SeqSyncResponseEventDataSchema as dh, EventSchemaMap as dl, workerTaskEvents as dn, RpcCallEventSchema as dp, RpcResponseSchema as dr, setAgentContext as dv, getAgentContext as dw, TaskItemSchema as g, EnsureIssueRootTaskResponseSchema as i, ListTasksResponseSchema as l, normalizeWorkerExecutionMode as n, ResumeTaskResponseSchema as p, resumeTaskRequestSchema as r, startTaskSchema as s, cancelTaskRequestSchema as u, CancelTaskResponseSchema as v, workerExecutionModes as w, StopTaskRequestSchema as y };
|
|
2940
|
+
export type { FillEventsResponse as $, StopTaskResponse as F, PermissionResponseRequest as H, PermissionResponseResponse as K, ProjectEntry as N, PreviewMetadata as P, ProjectDirectoryResponse as Q, QueryEventsRequest as V, WorkerExecutionMode as W, TaskEvent as X, QueryEventsResponse as Y, FillEventsRequest as _, AskUserResponseMessage as a$, CreateMergeRequestRequest as a1, CreateMergeRequestResponse as a4, ApprovePrRequest as a6, ApprovePrResponse as a8, ListSubTasksRequest as aB, SubTaskSummary as aD, ListSubTasksResponse as aF, ListRecentTasksRequest as aH, RecentTaskSummary as aJ, ListRecentTasksResponse as aL, FindTaskByAgentRequest as aN, FindTaskByAgentResponse as aP, AskUserOption as aR, AskUserQuestion as aT, AskUserMessage as aV, AskUserResponseStatus as aY, AskUserResponseReason as aZ, CreateTaskShareRequest as aa, CreateTaskShareResponse as ac, ArchiveTaskRequest as ae, ArchiveTaskResponse as ag, UnarchiveTaskRequest as ai, UnarchiveTaskResponse as ak, UpdateTaskTitleRequest as am, UpdateTaskTitleResponse as ao, SendMessageTarget as ap, SendTaskMessageRequest as ar, SendTaskMessageResponse as at, ShowModalRequest as av, ShowModalResponse as ax, GetTaskSessionResponse as az, TaskTodo as b, CompanionHeartbeatMessage as b0, CompanionReminderMessage as b1, SubTaskAskUserMessage as b2, TaskMessagePayload as b3, TaskAgentInfo as b5, WorkerExitEventData as bB, WorkerRunningEventData as bD, WorkerPermissionModeEventData as bF, WorkerStatusRequestEventData as bH, WorkerStatusValue as bJ, WorkerStatusSnapshot as bL, ChatWorkersStatusRequestEventData as bN, ChatWorkersStatusResponseEventData as bP, CreateTaskEventData as bS, ResumeTaskEventData as bU, CancelTaskEventData as bW, StopTaskEventData as bY, TaskArtifactsStats as b_, EventAckData as bf, AppAliveEventData as bh, ApiServerAliveEventData as bj, MachineAliveEventData as bl, ShutdownMachineData as bn, WorkerInitializingEventData as bp, WorkerInitializedEventData as br, WorkerPermissionModeValue as bt, WorkerReadyEventData as bv, ActiveAgent as bx, WorkerAliveEventData as bz, StartTaskRequest as c, DaemonGitlabOperation as c$, PreviewProjectType as c0, PreviewMethod as c2, TaskArtifactsSummary as c5, TaskMessageEventData as c7, TaskState as c8, TaskInfoUpdateEventData as cA, TaskSlashCommand as cC, TaskSlashCommandsUpdateEventData as cE, MergeRequestEventData as cG, TaskStoppedEventData as cI, SubTaskResultUpdatedEventData as cK, MergePullRequestEventData as cM, MergePullRequestAck as cN, DeployAgentEventData as cP, DeployAgentCompleteEventData as cR, UpdateAgentInfoEventData as cU, AssociateRepoEventData as cV, SystemMessageType as cW, PrStateChangedData as cX, SystemMessageEventData as cZ, ShowModalEventData as ca, ChangeTaskTitleEventData as cc, TaskStateChangeEventData as ce, CreditExhaustedEventData as cg, RtcIceServer as ci, RtcIceServersRequestEventData as ck, RtcIceServersResponseEventData as cm, MachineRtcRequestEventData as co, MachineRtcResponseEventData as cq, RtcSignalEventData as cs, WorkspaceFileRequestEventData as cu, WorkspaceFileResponseEventData as cw, UpdateTaskAgentSessionIdEventData as cy, DaemonGitlabRequestEventData as d1, DaemonGitlabResponseEventData as d3, CompanionHeartbeatRequestData as d5, CompanionHeartbeatResponseData as d7, CompanionInitRequestData as d9, AgentConfig as dA, ValidationResult as dB, LoadAgentOptions as dC, RepositoryInitHookInput as dD, HookFactory as dE, CompanionInitResponseData as db, ResetTaskSessionEventData as dd, EventData as de, SeqSyncRequestEventData as dg, SeqSyncResponseEventData as di, EventMap as dj, EventName as dk, WorkerTaskEvent as dm, RpcCallEventData as dq, RpcResponseData as ds, AgentContext as dt, AgentrixContext as du, FrameworkType as dx, AgentMetadata as dy, ClaudeAgentConfig as dz, StartTaskResponse as e, EnsureIssueRootTaskRequest as f, TaskItem as h, EnsureIssueRootTaskResponse as j, ListTasksRequest as k, ListTasksResponse as m, ResumeTaskRequest as o, ResumeTaskResponse as q, CancelTaskRequest as t, CancelTaskResponse as x, StopTaskRequest as z };
|
package/dist/index.cjs
CHANGED
|
@@ -92,6 +92,7 @@ const UserProfileResponseSchema = zod.z.object({
|
|
|
92
92
|
});
|
|
93
93
|
const UpdateUserProfileRequestSchema = zod.z.object({
|
|
94
94
|
username: zod.z.string().min(1).optional(),
|
|
95
|
+
email: zod.z.string().trim().email().optional(),
|
|
95
96
|
avatar: zod.z.string().nullable().optional()
|
|
96
97
|
});
|
|
97
98
|
const UpdateUserProfileResponseSchema = UserProfileResponseSchema;
|
|
@@ -206,6 +207,13 @@ const ShareAuthResponseSchema = zod.z.object({
|
|
|
206
207
|
permissions: TaskSharePermissionsSchema
|
|
207
208
|
});
|
|
208
209
|
|
|
210
|
+
const workerExecutionModes = ["loop", "oneshot"];
|
|
211
|
+
const DEFAULT_WORKER_EXECUTION_MODE = "loop";
|
|
212
|
+
const WorkerExecutionModeSchema = zod.z.enum(workerExecutionModes);
|
|
213
|
+
function normalizeWorkerExecutionMode(value) {
|
|
214
|
+
const parsed = WorkerExecutionModeSchema.safeParse(value);
|
|
215
|
+
return parsed.success ? parsed.data : DEFAULT_WORKER_EXECUTION_MODE;
|
|
216
|
+
}
|
|
209
217
|
const TaskTodoSchema = zod.z.object({
|
|
210
218
|
agentId: zod.z.string(),
|
|
211
219
|
title: zod.z.string().min(1).max(200),
|
|
@@ -235,6 +243,7 @@ const StartTaskRequestSchema = zod.z.object({
|
|
|
235
243
|
repositoryId: zod.z.string().optional(),
|
|
236
244
|
baseBranch: zod.z.string().optional(),
|
|
237
245
|
// Base branch for the repository
|
|
246
|
+
workerExecutionMode: WorkerExecutionModeSchema.optional(),
|
|
238
247
|
repositorySourceType: zod.z.enum(["temporary", "directory", "git-server"]).optional(),
|
|
239
248
|
// Repository source type
|
|
240
249
|
dataEncryptionKey: zod.z.string().optional(),
|
|
@@ -288,6 +297,7 @@ const StartTaskResponseSchema = zod.z.object({
|
|
|
288
297
|
cloudId: zod.z.string().nullable(),
|
|
289
298
|
repositoryId: zod.z.string().nullable(),
|
|
290
299
|
baseBranch: zod.z.string().nullable(),
|
|
300
|
+
workerExecutionMode: WorkerExecutionModeSchema,
|
|
291
301
|
title: zod.z.string().nullable(),
|
|
292
302
|
customTitle: zod.z.string().nullable(),
|
|
293
303
|
userCwd: zod.z.string().nullable(),
|
|
@@ -320,6 +330,7 @@ const TaskItemSchema = zod.z.object({
|
|
|
320
330
|
baseBranch: zod.z.string().nullable(),
|
|
321
331
|
branchName: zod.z.string().nullable(),
|
|
322
332
|
// Explicit branch name override (e.g. issue/42/code)
|
|
333
|
+
workerExecutionMode: WorkerExecutionModeSchema,
|
|
323
334
|
title: zod.z.string().nullable(),
|
|
324
335
|
// Task title (can be set by worker)
|
|
325
336
|
customTitle: zod.z.string().nullable(),
|
|
@@ -900,6 +911,14 @@ const CloudSchema = zod.z.object({
|
|
|
900
911
|
owner: IdSchema,
|
|
901
912
|
name: zod.z.string(),
|
|
902
913
|
type: zod.z.enum(["public", "private"]),
|
|
914
|
+
status: zod.z.enum(["active", "suspended"]),
|
|
915
|
+
role: zod.z.enum(["owner", "member"]).optional(),
|
|
916
|
+
userStatus: zod.z.enum(["active", "pending", "revoked"]).optional(),
|
|
917
|
+
maxMachineCount: zod.z.number().int().nonnegative().nullable().optional(),
|
|
918
|
+
maxMemberCount: zod.z.number().int().nonnegative().nullable().optional(),
|
|
919
|
+
machineCount: zod.z.number().int().nonnegative().optional(),
|
|
920
|
+
onlineMachineCount: zod.z.number().int().nonnegative().optional(),
|
|
921
|
+
memberCount: zod.z.number().int().nonnegative().optional(),
|
|
903
922
|
createdAt: zod.z.string(),
|
|
904
923
|
// ISO 8601 string
|
|
905
924
|
updatedAt: zod.z.string(),
|
|
@@ -931,6 +950,25 @@ const SyncCloudMachineResponseSchema = zod.z.object({
|
|
|
931
950
|
metadata: zod.z.string().nullable()
|
|
932
951
|
})
|
|
933
952
|
});
|
|
953
|
+
const SyncMachineModelsRequestSchema = zod.z.object({
|
|
954
|
+
machineId: zod.z.string(),
|
|
955
|
+
models: zod.z.object({
|
|
956
|
+
claude: zod.z.object({
|
|
957
|
+
primaryModel: zod.z.string(),
|
|
958
|
+
fastModel: zod.z.string(),
|
|
959
|
+
subagentModel: zod.z.string()
|
|
960
|
+
}),
|
|
961
|
+
codex: zod.z.object({
|
|
962
|
+
model: zod.z.string()
|
|
963
|
+
}),
|
|
964
|
+
gemini: zod.z.object({
|
|
965
|
+
nanoBananaModel: zod.z.string()
|
|
966
|
+
})
|
|
967
|
+
})
|
|
968
|
+
});
|
|
969
|
+
const SyncMachineModelsResponseSchema = zod.z.object({
|
|
970
|
+
success: zod.z.literal(true)
|
|
971
|
+
});
|
|
934
972
|
const ValidateMachineResponseSchema = zod.z.object({
|
|
935
973
|
success: zod.z.literal(true),
|
|
936
974
|
machineId: zod.z.string().optional(),
|
|
@@ -1126,9 +1164,14 @@ const CreateCloudResponseSchema = zod.z.object({
|
|
|
1126
1164
|
id: IdSchema,
|
|
1127
1165
|
owner: zod.z.string(),
|
|
1128
1166
|
name: zod.z.string(),
|
|
1167
|
+
type: zod.z.enum(["public", "private"]),
|
|
1168
|
+
status: zod.z.enum(["active", "suspended"]),
|
|
1129
1169
|
secret: zod.z.string(),
|
|
1130
1170
|
// JWT token for cloud authentication
|
|
1131
|
-
|
|
1171
|
+
maxMachineCount: zod.z.number().int().nullable().optional(),
|
|
1172
|
+
maxMemberCount: zod.z.number().int().nullable().optional(),
|
|
1173
|
+
createdAt: DateSchema,
|
|
1174
|
+
updatedAt: DateSchema
|
|
1132
1175
|
});
|
|
1133
1176
|
|
|
1134
1177
|
const OAuthServerSchema = zod.z.object({
|
|
@@ -1192,6 +1235,14 @@ const RechargeResponseSchema = zod.z.object({
|
|
|
1192
1235
|
packageId: zod.z.string(),
|
|
1193
1236
|
newBalance: zod.z.number().nonnegative()
|
|
1194
1237
|
});
|
|
1238
|
+
const CreateDirectRechargeCheckoutRequestSchema = zod.z.object({
|
|
1239
|
+
successUrl: zod.z.string().url(),
|
|
1240
|
+
cancelUrl: zod.z.string().url(),
|
|
1241
|
+
amount: zod.z.number().int().positive()
|
|
1242
|
+
});
|
|
1243
|
+
const CreateDirectRechargeCheckoutResponseSchema = zod.z.object({
|
|
1244
|
+
url: zod.z.string().url()
|
|
1245
|
+
});
|
|
1195
1246
|
const UserBalanceResponseSchema = zod.z.object({
|
|
1196
1247
|
userId: zod.z.string(),
|
|
1197
1248
|
balance: zod.z.number().nonnegative(),
|
|
@@ -1320,6 +1371,10 @@ const SubscriptionPlanSchema = zod.z.object({
|
|
|
1320
1371
|
features: zod.z.array(zod.z.string()),
|
|
1321
1372
|
popular: zod.z.boolean(),
|
|
1322
1373
|
enabled: zod.z.boolean(),
|
|
1374
|
+
privateCloudEnabled: zod.z.boolean(),
|
|
1375
|
+
maxPrivateClouds: zod.z.number().int().nonnegative(),
|
|
1376
|
+
maxMachinesPerPrivateCloud: zod.z.number().int().nonnegative(),
|
|
1377
|
+
maxPrivateCloudMembers: zod.z.number().int().nonnegative(),
|
|
1323
1378
|
createdAt: DateSchema,
|
|
1324
1379
|
updatedAt: DateSchema
|
|
1325
1380
|
});
|
|
@@ -1385,18 +1440,90 @@ const CreateSubscriptionPlanRequestSchema = zod.z.object({
|
|
|
1385
1440
|
price: zod.z.number().positive(),
|
|
1386
1441
|
credits: zod.z.number().positive(),
|
|
1387
1442
|
features: zod.z.array(zod.z.string()),
|
|
1388
|
-
popular: zod.z.boolean().optional()
|
|
1443
|
+
popular: zod.z.boolean().optional(),
|
|
1444
|
+
privateCloudEnabled: zod.z.boolean().optional(),
|
|
1445
|
+
maxPrivateClouds: zod.z.number().int().nonnegative().optional(),
|
|
1446
|
+
maxMachinesPerPrivateCloud: zod.z.number().int().nonnegative().optional(),
|
|
1447
|
+
maxPrivateCloudMembers: zod.z.number().int().nonnegative().optional()
|
|
1389
1448
|
});
|
|
1390
1449
|
const UpdateSubscriptionPlanRequestSchema = zod.z.object({
|
|
1391
1450
|
name: zod.z.string().optional(),
|
|
1392
1451
|
features: zod.z.array(zod.z.string()).optional(),
|
|
1393
1452
|
popular: zod.z.boolean().optional(),
|
|
1394
|
-
enabled: zod.z.boolean().optional()
|
|
1453
|
+
enabled: zod.z.boolean().optional(),
|
|
1454
|
+
privateCloudEnabled: zod.z.boolean().optional(),
|
|
1455
|
+
maxPrivateClouds: zod.z.number().int().nonnegative().optional(),
|
|
1456
|
+
maxMachinesPerPrivateCloud: zod.z.number().int().nonnegative().optional(),
|
|
1457
|
+
maxPrivateCloudMembers: zod.z.number().int().nonnegative().optional()
|
|
1395
1458
|
});
|
|
1396
1459
|
const ListSubscriptionPlansResponseSchema = zod.z.object({
|
|
1397
1460
|
plans: zod.z.array(SubscriptionPlanSchema)
|
|
1398
1461
|
});
|
|
1399
1462
|
|
|
1463
|
+
const PrivateCloudEntitlementSchema = zod.z.object({
|
|
1464
|
+
enabled: zod.z.boolean(),
|
|
1465
|
+
maxPrivateClouds: zod.z.number().int().nonnegative(),
|
|
1466
|
+
maxMachinesPerPrivateCloud: zod.z.number().int().nonnegative(),
|
|
1467
|
+
maxPrivateCloudMembers: zod.z.number().int().nonnegative(),
|
|
1468
|
+
currentPrivateCloudCount: zod.z.number().int().nonnegative()
|
|
1469
|
+
});
|
|
1470
|
+
const PrivateCloudSummarySchema = CloudSchema.refine(
|
|
1471
|
+
(cloud) => cloud.type === "private",
|
|
1472
|
+
{ message: "Private cloud summary must have type=private" }
|
|
1473
|
+
);
|
|
1474
|
+
const ListPrivateCloudsResponseSchema = zod.z.object({
|
|
1475
|
+
clouds: zod.z.array(PrivateCloudSummarySchema),
|
|
1476
|
+
entitlement: PrivateCloudEntitlementSchema
|
|
1477
|
+
});
|
|
1478
|
+
const CreatePrivateCloudRequestSchema = zod.z.object({
|
|
1479
|
+
name: zod.z.string().trim().min(1).max(64)
|
|
1480
|
+
});
|
|
1481
|
+
const CreatePrivateCloudResponseSchema = zod.z.object({
|
|
1482
|
+
cloud: PrivateCloudSummarySchema,
|
|
1483
|
+
secret: zod.z.string()
|
|
1484
|
+
});
|
|
1485
|
+
const PrivateCloudInviteSchema = zod.z.object({
|
|
1486
|
+
id: IdSchema,
|
|
1487
|
+
cloudId: IdSchema,
|
|
1488
|
+
createdBy: IdSchema,
|
|
1489
|
+
role: zod.z.enum(["member"]),
|
|
1490
|
+
token: zod.z.string(),
|
|
1491
|
+
expiresAt: DateSchema,
|
|
1492
|
+
maxUses: zod.z.number().int().positive(),
|
|
1493
|
+
usedCount: zod.z.number().int().nonnegative(),
|
|
1494
|
+
status: zod.z.enum(["active", "expired", "consumed", "revoked"]),
|
|
1495
|
+
createdAt: DateSchema,
|
|
1496
|
+
updatedAt: DateSchema
|
|
1497
|
+
});
|
|
1498
|
+
const CreatePrivateCloudInviteRequestSchema = zod.z.object({
|
|
1499
|
+
expiresInDays: zod.z.number().int().positive().max(30).optional(),
|
|
1500
|
+
maxUses: zod.z.number().int().positive().max(100).optional()
|
|
1501
|
+
});
|
|
1502
|
+
const CreatePrivateCloudInviteResponseSchema = zod.z.object({
|
|
1503
|
+
invite: PrivateCloudInviteSchema
|
|
1504
|
+
});
|
|
1505
|
+
const AcceptPrivateCloudInviteRequestSchema = zod.z.object({
|
|
1506
|
+
token: zod.z.string().trim().min(1)
|
|
1507
|
+
});
|
|
1508
|
+
const AcceptPrivateCloudInviteResponseSchema = zod.z.object({
|
|
1509
|
+
cloud: PrivateCloudSummarySchema
|
|
1510
|
+
});
|
|
1511
|
+
const PrivateCloudMemberSchema = zod.z.object({
|
|
1512
|
+
userId: IdSchema,
|
|
1513
|
+
username: zod.z.string().nullable(),
|
|
1514
|
+
avatar: zod.z.string().nullable(),
|
|
1515
|
+
role: zod.z.enum(["owner", "member"]),
|
|
1516
|
+
status: zod.z.enum(["active", "pending", "revoked"]),
|
|
1517
|
+
createdAt: DateSchema
|
|
1518
|
+
});
|
|
1519
|
+
const ListPrivateCloudMembersResponseSchema = zod.z.object({
|
|
1520
|
+
members: zod.z.array(PrivateCloudMemberSchema)
|
|
1521
|
+
});
|
|
1522
|
+
const RemovePrivateCloudMemberResponseSchema = SimpleSuccessSchema;
|
|
1523
|
+
const GetPrivateCloudRunnerSecretResponseSchema = zod.z.object({
|
|
1524
|
+
secret: zod.z.string()
|
|
1525
|
+
});
|
|
1526
|
+
|
|
1400
1527
|
const ContactTargetTypeSchema = zod.z.enum(["human", "agent"]);
|
|
1401
1528
|
const ContactSchema = zod.z.object({
|
|
1402
1529
|
id: IdSchema,
|
|
@@ -1923,12 +2050,16 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
1923
2050
|
// AI model to use
|
|
1924
2051
|
fallbackModel: zod.z.string().optional(),
|
|
1925
2052
|
// Fallback AI model
|
|
2053
|
+
visionModel: zod.z.string().optional(),
|
|
2054
|
+
// Vision model for image analysis (set when primary model lacks vision)
|
|
1926
2055
|
api_base_url: zod.z.string().optional(),
|
|
1927
2056
|
// Custom API base URL
|
|
1928
2057
|
api_key: zod.z.string().optional(),
|
|
1929
2058
|
// Custom API key
|
|
1930
2059
|
maxTurns: zod.z.number().optional(),
|
|
1931
2060
|
// Maximum number of turns for the agent (default: 50)
|
|
2061
|
+
workerExecutionMode: WorkerExecutionModeSchema.optional().default(DEFAULT_WORKER_EXECUTION_MODE),
|
|
2062
|
+
// Worker lifecycle mode: loop (default) or oneshot
|
|
1932
2063
|
repositoryId: zod.z.string().optional(),
|
|
1933
2064
|
// Existing repository ID (used to skip auto-association)
|
|
1934
2065
|
repositorySourceType: zod.z.enum(["temporary", "directory", "git-server"]).optional().default("temporary"),
|
|
@@ -2957,6 +3088,8 @@ exports.FrameworkNotSupportedError = errors.FrameworkNotSupportedError;
|
|
|
2957
3088
|
exports.MissingAgentFileError = errors.MissingAgentFileError;
|
|
2958
3089
|
exports.getAgentContext = errors.getAgentContext;
|
|
2959
3090
|
exports.setAgentContext = errors.setAgentContext;
|
|
3091
|
+
exports.AcceptPrivateCloudInviteRequestSchema = AcceptPrivateCloudInviteRequestSchema;
|
|
3092
|
+
exports.AcceptPrivateCloudInviteResponseSchema = AcceptPrivateCloudInviteResponseSchema;
|
|
2960
3093
|
exports.ActiveAgentSchema = ActiveAgentSchema;
|
|
2961
3094
|
exports.AddChatMemberRequestSchema = AddChatMemberRequestSchema;
|
|
2962
3095
|
exports.AddChatMemberResponseSchema = AddChatMemberResponseSchema;
|
|
@@ -3022,6 +3155,8 @@ exports.CreateCloudRequestSchema = CreateCloudRequestSchema;
|
|
|
3022
3155
|
exports.CreateCloudResponseSchema = CreateCloudResponseSchema;
|
|
3023
3156
|
exports.CreateContactRequestSchema = CreateContactRequestSchema;
|
|
3024
3157
|
exports.CreateContactResponseSchema = CreateContactResponseSchema;
|
|
3158
|
+
exports.CreateDirectRechargeCheckoutRequestSchema = CreateDirectRechargeCheckoutRequestSchema;
|
|
3159
|
+
exports.CreateDirectRechargeCheckoutResponseSchema = CreateDirectRechargeCheckoutResponseSchema;
|
|
3025
3160
|
exports.CreateDraftAgentRequestSchema = CreateDraftAgentRequestSchema;
|
|
3026
3161
|
exports.CreateMergeRequestResponseSchema = CreateMergeRequestResponseSchema;
|
|
3027
3162
|
exports.CreateMergeRequestSchema = CreateMergeRequestSchema;
|
|
@@ -3029,12 +3164,17 @@ exports.CreateOAuthServerRequestSchema = CreateOAuthServerRequestSchema;
|
|
|
3029
3164
|
exports.CreateOAuthServerResponseSchema = CreateOAuthServerResponseSchema;
|
|
3030
3165
|
exports.CreatePortalRequestSchema = CreatePortalRequestSchema;
|
|
3031
3166
|
exports.CreatePortalResponseSchema = CreatePortalResponseSchema;
|
|
3167
|
+
exports.CreatePrivateCloudInviteRequestSchema = CreatePrivateCloudInviteRequestSchema;
|
|
3168
|
+
exports.CreatePrivateCloudInviteResponseSchema = CreatePrivateCloudInviteResponseSchema;
|
|
3169
|
+
exports.CreatePrivateCloudRequestSchema = CreatePrivateCloudRequestSchema;
|
|
3170
|
+
exports.CreatePrivateCloudResponseSchema = CreatePrivateCloudResponseSchema;
|
|
3032
3171
|
exports.CreateSubscriptionPlanRequestSchema = CreateSubscriptionPlanRequestSchema;
|
|
3033
3172
|
exports.CreateTaskShareResponseSchema = CreateTaskShareResponseSchema;
|
|
3034
3173
|
exports.CreateTaskShareSchema = CreateTaskShareSchema;
|
|
3035
3174
|
exports.CreditExhaustedEventSchema = CreditExhaustedEventSchema;
|
|
3036
3175
|
exports.CreditsBucketSchema = CreditsBucketSchema;
|
|
3037
3176
|
exports.CreditsPackageSchema = CreditsPackageSchema;
|
|
3177
|
+
exports.DEFAULT_WORKER_EXECUTION_MODE = DEFAULT_WORKER_EXECUTION_MODE;
|
|
3038
3178
|
exports.DaemonGitlabOperationSchema = DaemonGitlabOperationSchema;
|
|
3039
3179
|
exports.DaemonGitlabRequestSchema = DaemonGitlabRequestSchema;
|
|
3040
3180
|
exports.DaemonGitlabResponseSchema = DaemonGitlabResponseSchema;
|
|
@@ -3073,6 +3213,7 @@ exports.GetGitUrlQuerySchema = GetGitUrlQuerySchema;
|
|
|
3073
3213
|
exports.GetGitUrlResponseSchema = GetGitUrlResponseSchema;
|
|
3074
3214
|
exports.GetInstallUrlResponseSchema = GetInstallUrlResponseSchema;
|
|
3075
3215
|
exports.GetOAuthServerResponseSchema = GetOAuthServerResponseSchema;
|
|
3216
|
+
exports.GetPrivateCloudRunnerSecretResponseSchema = GetPrivateCloudRunnerSecretResponseSchema;
|
|
3076
3217
|
exports.GetReferenceQuerySchema = GetReferenceQuerySchema;
|
|
3077
3218
|
exports.GetRepositoryResponseSchema = GetRepositoryResponseSchema;
|
|
3078
3219
|
exports.GetSubscriptionResponseSchema = GetSubscriptionResponseSchema;
|
|
@@ -3104,6 +3245,8 @@ exports.ListOAuthServersQuerySchema = ListOAuthServersQuerySchema;
|
|
|
3104
3245
|
exports.ListOAuthServersResponseSchema = ListOAuthServersResponseSchema;
|
|
3105
3246
|
exports.ListPackagesQuerySchema = ListPackagesQuerySchema;
|
|
3106
3247
|
exports.ListPackagesResponseSchema = ListPackagesResponseSchema;
|
|
3248
|
+
exports.ListPrivateCloudMembersResponseSchema = ListPrivateCloudMembersResponseSchema;
|
|
3249
|
+
exports.ListPrivateCloudsResponseSchema = ListPrivateCloudsResponseSchema;
|
|
3107
3250
|
exports.ListRecentTasksRequestSchema = ListRecentTasksRequestSchema;
|
|
3108
3251
|
exports.ListRecentTasksResponseSchema = ListRecentTasksResponseSchema;
|
|
3109
3252
|
exports.ListReferencesQuerySchema = ListReferencesQuerySchema;
|
|
@@ -3147,6 +3290,10 @@ exports.PermissionResponseResponseSchema = PermissionResponseResponseSchema;
|
|
|
3147
3290
|
exports.PreviewMetadataSchema = PreviewMetadataSchema;
|
|
3148
3291
|
exports.PreviewMethodSchema = PreviewMethodSchema;
|
|
3149
3292
|
exports.PreviewProjectTypeSchema = PreviewProjectTypeSchema;
|
|
3293
|
+
exports.PrivateCloudEntitlementSchema = PrivateCloudEntitlementSchema;
|
|
3294
|
+
exports.PrivateCloudInviteSchema = PrivateCloudInviteSchema;
|
|
3295
|
+
exports.PrivateCloudMemberSchema = PrivateCloudMemberSchema;
|
|
3296
|
+
exports.PrivateCloudSummarySchema = PrivateCloudSummarySchema;
|
|
3150
3297
|
exports.ProjectDirectoryResponseSchema = ProjectDirectoryResponseSchema;
|
|
3151
3298
|
exports.ProjectEntrySchema = ProjectEntrySchema;
|
|
3152
3299
|
exports.PublishDraftAgentRequestSchema = PublishDraftAgentRequestSchema;
|
|
@@ -3159,6 +3306,7 @@ exports.RechargeResponseSchema = RechargeResponseSchema;
|
|
|
3159
3306
|
exports.RegisterCompanionRequestSchema = RegisterCompanionRequestSchema;
|
|
3160
3307
|
exports.RegisterCompanionResponseSchema = RegisterCompanionResponseSchema;
|
|
3161
3308
|
exports.RemoveChatMemberRequestSchema = RemoveChatMemberRequestSchema;
|
|
3309
|
+
exports.RemovePrivateCloudMemberResponseSchema = RemovePrivateCloudMemberResponseSchema;
|
|
3162
3310
|
exports.RepositoryActorIdentitySchema = RepositoryActorIdentitySchema;
|
|
3163
3311
|
exports.RepositoryReferenceCommentSchema = RepositoryReferenceCommentSchema;
|
|
3164
3312
|
exports.RepositoryReferenceCommentsResponseSchema = RepositoryReferenceCommentsResponseSchema;
|
|
@@ -3209,6 +3357,8 @@ exports.SubscriptionSchema = SubscriptionSchema;
|
|
|
3209
3357
|
exports.SubscriptionTierSchema = SubscriptionTierSchema;
|
|
3210
3358
|
exports.SyncCloudMachineResponseSchema = SyncCloudMachineResponseSchema;
|
|
3211
3359
|
exports.SyncLocalMachineResponseSchema = SyncLocalMachineResponseSchema;
|
|
3360
|
+
exports.SyncMachineModelsRequestSchema = SyncMachineModelsRequestSchema;
|
|
3361
|
+
exports.SyncMachineModelsResponseSchema = SyncMachineModelsResponseSchema;
|
|
3212
3362
|
exports.SyncMachineRequestSchema = SyncMachineRequestSchema;
|
|
3213
3363
|
exports.SystemMessageSchema = SystemMessageSchema;
|
|
3214
3364
|
exports.TaskAgentInfoSchema = TaskAgentInfoSchema;
|
|
@@ -3256,6 +3406,7 @@ exports.UserProfileResponseSchema = UserProfileResponseSchema;
|
|
|
3256
3406
|
exports.UserWithOAuthAccountsSchema = UserWithOAuthAccountsSchema;
|
|
3257
3407
|
exports.ValidateMachineResponseSchema = ValidateMachineResponseSchema;
|
|
3258
3408
|
exports.WorkerAliveEventSchema = WorkerAliveEventSchema;
|
|
3409
|
+
exports.WorkerExecutionModeSchema = WorkerExecutionModeSchema;
|
|
3259
3410
|
exports.WorkerExitSchema = WorkerExitSchema;
|
|
3260
3411
|
exports.WorkerInitializedSchema = WorkerInitializedSchema;
|
|
3261
3412
|
exports.WorkerInitializingSchema = WorkerInitializingSchema;
|
|
@@ -3306,6 +3457,7 @@ exports.isSDKMessage = isSDKMessage;
|
|
|
3306
3457
|
exports.isSDKUserMessage = isSDKUserMessage;
|
|
3307
3458
|
exports.isSubTaskAskUserMessage = isSubTaskAskUserMessage;
|
|
3308
3459
|
exports.machineAuth = machineAuth;
|
|
3460
|
+
exports.normalizeWorkerExecutionMode = normalizeWorkerExecutionMode;
|
|
3309
3461
|
exports.permissionResponseRequestSchema = permissionResponseRequestSchema;
|
|
3310
3462
|
exports.resumeTaskRequestSchema = resumeTaskRequestSchema;
|
|
3311
3463
|
exports.resumeTaskSchema = resumeTaskSchema;
|
|
@@ -3314,4 +3466,5 @@ exports.startTaskSchema = startTaskSchema;
|
|
|
3314
3466
|
exports.stopTaskRequestSchema = stopTaskRequestSchema;
|
|
3315
3467
|
exports.userAuth = userAuth;
|
|
3316
3468
|
exports.workerAuth = workerAuth;
|
|
3469
|
+
exports.workerExecutionModes = workerExecutionModes;
|
|
3317
3470
|
exports.workerTaskEvents = workerTaskEvents;
|
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 {
|
|
2
|
+
import { P as PreviewMetadata } from './errors-CjePCqwd.cjs';
|
|
3
|
+
export { bx as ActiveAgent, bw as ActiveAgentSchema, dA as AgentConfig, dK as AgentConfigValidationError, dt as AgentContext, dI as AgentError, dM as AgentLoadError, dy as AgentMetadata, dG as AgentMetadataSchema, dJ as AgentNotFoundError, du as AgentrixContext, bj as ApiServerAliveEventData, bi as ApiServerAliveEventSchema, bh as AppAliveEventData, bg as AppAliveEventSchema, a6 as ApprovePrRequest, a5 as ApprovePrRequestSchema, a8 as ApprovePrResponse, a7 as ApprovePrResponseSchema, ae as ArchiveTaskRequest, ad as ArchiveTaskRequestSchema, ag as ArchiveTaskResponse, af as ArchiveTaskResponseSchema, aV as AskUserMessage, aU as AskUserMessageSchema, aR as AskUserOption, aQ as AskUserOptionSchema, aT as AskUserQuestion, aS as AskUserQuestionSchema, a$ as AskUserResponseMessage, a_ as AskUserResponseMessageSchema, aZ as AskUserResponseReason, aX as AskUserResponseReasonSchema, aY as AskUserResponseStatus, aW as AskUserResponseStatusSchema, cV as AssociateRepoEventData, cS as AssociateRepoEventDataSchema, bW as CancelTaskEventData, t as CancelTaskRequest, C as CancelTaskRequestSchema, x as CancelTaskResponse, v as CancelTaskResponseSchema, cc as ChangeTaskTitleEventData, cb as ChangeTaskTitleEventSchema, bN as ChatWorkersStatusRequestEventData, bM as ChatWorkersStatusRequestSchema, bP as ChatWorkersStatusResponseEventData, bO as ChatWorkersStatusResponseSchema, dz as ClaudeAgentConfig, dH as ClaudeConfigSchema, b0 as CompanionHeartbeatMessage, d5 as CompanionHeartbeatRequestData, d4 as CompanionHeartbeatRequestSchema, d7 as CompanionHeartbeatResponseData, d6 as CompanionHeartbeatResponseSchema, d9 as CompanionInitRequestData, d8 as CompanionInitRequestSchema, db as CompanionInitResponseData, da as CompanionInitResponseSchema, b1 as CompanionReminderMessage, a1 as CreateMergeRequestRequest, a4 as CreateMergeRequestResponse, a3 as CreateMergeRequestResponseSchema, a0 as CreateMergeRequestSchema, bS as CreateTaskEventData, aa as CreateTaskShareRequest, ac as CreateTaskShareResponse, ab as CreateTaskShareResponseSchema, a9 as CreateTaskShareSchema, cg as CreditExhaustedEventData, cf as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, c$ as DaemonGitlabOperation, c_ as DaemonGitlabOperationSchema, d1 as DaemonGitlabRequestEventData, d0 as DaemonGitlabRequestSchema, d3 as DaemonGitlabResponseEventData, d2 as DaemonGitlabResponseSchema, cR as DeployAgentCompleteEventData, cQ as DeployAgentCompleteEventSchema, cP as DeployAgentEventData, cO as DeployAgentEventSchema, f as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, j as EnsureIssueRootTaskResponse, i as EnsureIssueRootTaskResponseSchema, bf as EventAckData, be as EventAckSchema, de as EventData, dj as EventMap, dk as EventName, dl as EventSchemaMap, dF as FRAMEWORK_TYPES, _ as FillEventsRequest, Z as FillEventsRequestSchema, $ as FillEventsResponse, aN as FindTaskByAgentRequest, aM as FindTaskByAgentRequestSchema, aP as FindTaskByAgentResponse, aO as FindTaskByAgentResponseSchema, dL as FrameworkNotSupportedError, dx as FrameworkType, az as GetTaskSessionResponse, ay as GetTaskSessionResponseSchema, dE as HookFactory, aH as ListRecentTasksRequest, aG as ListRecentTasksRequestSchema, aL as ListRecentTasksResponse, aK as ListRecentTasksResponseSchema, aB as ListSubTasksRequest, aA as ListSubTasksRequestSchema, aF as ListSubTasksResponse, aE as ListSubTasksResponseSchema, k as ListTasksRequest, L as ListTasksRequestSchema, m as ListTasksResponse, l as ListTasksResponseSchema, dC as LoadAgentOptions, bl as MachineAliveEventData, bk as MachineAliveEventSchema, co as MachineRtcRequestEventData, cn as MachineRtcRequestSchema, cq as MachineRtcResponseEventData, cp as MachineRtcResponseSchema, cN as MergePullRequestAck, cM as MergePullRequestEventData, cL as MergePullRequestEventSchema, cG as MergeRequestEventData, cF as MergeRequestEventSchema, dN as MissingAgentFileError, H as PermissionResponseRequest, G as PermissionResponseRequestSchema, K as PermissionResponseResponse, J as PermissionResponseResponseSchema, cX as PrStateChangedData, c3 as PreviewMetadataSchema, c2 as PreviewMethod, c1 as PreviewMethodSchema, c0 as PreviewProjectType, b$ as PreviewProjectTypeSchema, Q as ProjectDirectoryResponse, O as ProjectDirectoryResponseSchema, N as ProjectEntry, M as ProjectEntrySchema, V as QueryEventsRequest, U as QueryEventsRequestSchema, Y as QueryEventsResponse, aJ as RecentTaskSummary, aI as RecentTaskSummarySchema, dD as RepositoryInitHookInput, dd as ResetTaskSessionEventData, dc as ResetTaskSessionSchema, bU as ResumeTaskEventData, o as ResumeTaskRequest, R as ResumeTaskRequestSchema, q as ResumeTaskResponse, p as ResumeTaskResponseSchema, dq as RpcCallEventData, dp as RpcCallEventSchema, ds as RpcResponseData, dr as RpcResponseSchema, ci as RtcIceServer, ch as RtcIceServerSchema, ck as RtcIceServersRequestEventData, cj as RtcIceServersRequestSchema, cm as RtcIceServersResponseEventData, cl as RtcIceServersResponseSchema, cs as RtcSignalEventData, cr as RtcSignalSchema, ap as SendMessageTarget, ar as SendTaskMessageRequest, aq as SendTaskMessageRequestSchema, at as SendTaskMessageResponse, as as SendTaskMessageResponseSchema, dg as SeqSyncRequestEventData, df as SeqSyncRequestEventDataSchema, di as SeqSyncResponseEventData, dh as SeqSyncResponseEventDataSchema, ca as ShowModalEventData, c9 as ShowModalEventDataSchema, av as ShowModalRequest, au as ShowModalRequestSchema, ax as ShowModalResponse, aw as ShowModalResponseSchema, bn as ShutdownMachineData, bm as ShutdownMachineSchema, c as StartTaskRequest, S as StartTaskRequestSchema, e as StartTaskResponse, d as StartTaskResponseSchema, bY as StopTaskEventData, z as StopTaskRequest, y as StopTaskRequestSchema, F as StopTaskResponse, B as StopTaskResponseSchema, bX as StopTaskSchema, b2 as SubTaskAskUserMessage, cK as SubTaskResultUpdatedEventData, cJ as SubTaskResultUpdatedEventSchema, aD as SubTaskSummary, aC as SubTaskSummarySchema, cZ as SystemMessageEventData, cY as SystemMessageSchema, cW as SystemMessageType, b5 as TaskAgentInfo, b4 as TaskAgentInfoSchema, b_ as TaskArtifactsStats, bZ as TaskArtifactsStatsSchema, c5 as TaskArtifactsSummary, c4 as TaskArtifactsSummarySchema, X as TaskEvent, cA as TaskInfoUpdateEventData, cz as TaskInfoUpdateEventDataSchema, h as TaskItem, g as TaskItemSchema, c7 as TaskMessageEventData, b3 as TaskMessagePayload, c6 as TaskMessageSchema, cC as TaskSlashCommand, cB as TaskSlashCommandSchema, cE as TaskSlashCommandsUpdateEventData, cD as TaskSlashCommandsUpdateEventDataSchema, c8 as TaskState, ce as TaskStateChangeEventData, cd as TaskStateChangeEventSchema, cI as TaskStoppedEventData, cH as TaskStoppedEventSchema, b as TaskTodo, T as TaskTodoSchema, ai as UnarchiveTaskRequest, ah as UnarchiveTaskRequestSchema, ak as UnarchiveTaskResponse, aj as UnarchiveTaskResponseSchema, cU as UpdateAgentInfoEventData, cT as UpdateAgentInfoEventSchema, cy as UpdateTaskAgentSessionIdEventData, cx as UpdateTaskAgentSessionIdEventSchema, am as UpdateTaskTitleRequest, al as UpdateTaskTitleRequestSchema, ao as UpdateTaskTitleResponse, an as UpdateTaskTitleResponseSchema, dB as ValidationResult, bz as WorkerAliveEventData, by as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, bB as WorkerExitEventData, bA as WorkerExitSchema, br as WorkerInitializedEventData, bq as WorkerInitializedSchema, bp as WorkerInitializingEventData, bo as WorkerInitializingSchema, bF as WorkerPermissionModeEventData, bE as WorkerPermissionModeSchema, bt as WorkerPermissionModeValue, bs as WorkerPermissionModeValueSchema, bv as WorkerReadyEventData, bu as WorkerReadySchema, bD as WorkerRunningEventData, bC as WorkerRunningSchema, bH as WorkerStatusRequestEventData, bG as WorkerStatusRequestSchema, bL as WorkerStatusSnapshot, bK as WorkerStatusSnapshotSchema, bJ as WorkerStatusValue, bI as WorkerStatusValueSchema, dm as WorkerTaskEvent, cu as WorkspaceFileRequestEventData, ct as WorkspaceFileRequestSchema, cw as WorkspaceFileResponseEventData, cv as WorkspaceFileResponseSchema, bQ as baseTaskSchema, u as cancelTaskRequestSchema, bV as cancelTaskSchema, bd as createEventId, a2 as createMergeRequestSchema, bR as createTaskSchema, dw as getAgentContext, b6 as isAskUserMessage, b7 as isAskUserResponseMessage, b8 as isCompanionHeartbeatMessage, b9 as isCompanionReminderMessage, bb as isSDKMessage, bc as isSDKUserMessage, ba as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, I as permissionResponseRequestSchema, r as resumeTaskRequestSchema, bT as resumeTaskSchema, dv as setAgentContext, s as startTaskSchema, A as stopTaskRequestSchema, w as workerExecutionModes, dn as workerTaskEvents } from './errors-CjePCqwd.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
|
|
@@ -158,10 +158,11 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
158
158
|
type UserProfileResponse = z.infer<typeof UserProfileResponseSchema>;
|
|
159
159
|
/**
|
|
160
160
|
* PATCH /v1/auth/me - Request schema
|
|
161
|
-
* Update current user profile (nickname/avatar)
|
|
161
|
+
* Update current user profile (nickname/email/avatar)
|
|
162
162
|
*/
|
|
163
163
|
declare const UpdateUserProfileRequestSchema: z.ZodObject<{
|
|
164
164
|
username: z.ZodOptional<z.ZodString>;
|
|
165
|
+
email: z.ZodOptional<z.ZodString>;
|
|
165
166
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
167
|
}, z.core.$strip>;
|
|
167
168
|
type UpdateUserProfileRequest = z.infer<typeof UpdateUserProfileRequestSchema>;
|
|
@@ -716,6 +717,10 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
716
717
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
717
718
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
718
719
|
branchName: z.ZodNullable<z.ZodString>;
|
|
720
|
+
workerExecutionMode: z.ZodEnum<{
|
|
721
|
+
loop: "loop";
|
|
722
|
+
oneshot: "oneshot";
|
|
723
|
+
}>;
|
|
719
724
|
title: z.ZodNullable<z.ZodString>;
|
|
720
725
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
721
726
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
@@ -1719,6 +1724,24 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
1719
1724
|
public: "public";
|
|
1720
1725
|
private: "private";
|
|
1721
1726
|
}>;
|
|
1727
|
+
status: z.ZodEnum<{
|
|
1728
|
+
active: "active";
|
|
1729
|
+
suspended: "suspended";
|
|
1730
|
+
}>;
|
|
1731
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1732
|
+
owner: "owner";
|
|
1733
|
+
member: "member";
|
|
1734
|
+
}>>;
|
|
1735
|
+
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
1736
|
+
pending: "pending";
|
|
1737
|
+
active: "active";
|
|
1738
|
+
revoked: "revoked";
|
|
1739
|
+
}>>;
|
|
1740
|
+
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1741
|
+
maxMemberCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1742
|
+
machineCount: z.ZodOptional<z.ZodNumber>;
|
|
1743
|
+
onlineMachineCount: z.ZodOptional<z.ZodNumber>;
|
|
1744
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
1722
1745
|
createdAt: z.ZodString;
|
|
1723
1746
|
updatedAt: z.ZodString;
|
|
1724
1747
|
machines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1744,6 +1767,24 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
1744
1767
|
public: "public";
|
|
1745
1768
|
private: "private";
|
|
1746
1769
|
}>;
|
|
1770
|
+
status: z.ZodEnum<{
|
|
1771
|
+
active: "active";
|
|
1772
|
+
suspended: "suspended";
|
|
1773
|
+
}>;
|
|
1774
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1775
|
+
owner: "owner";
|
|
1776
|
+
member: "member";
|
|
1777
|
+
}>>;
|
|
1778
|
+
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
1779
|
+
pending: "pending";
|
|
1780
|
+
active: "active";
|
|
1781
|
+
revoked: "revoked";
|
|
1782
|
+
}>>;
|
|
1783
|
+
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1784
|
+
maxMemberCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1785
|
+
machineCount: z.ZodOptional<z.ZodNumber>;
|
|
1786
|
+
onlineMachineCount: z.ZodOptional<z.ZodNumber>;
|
|
1787
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
1747
1788
|
createdAt: z.ZodString;
|
|
1748
1789
|
updatedAt: z.ZodString;
|
|
1749
1790
|
machines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1799,6 +1840,34 @@ declare const SyncCloudMachineResponseSchema: z.ZodObject<{
|
|
|
1799
1840
|
}, z.core.$strip>;
|
|
1800
1841
|
}, z.core.$strip>;
|
|
1801
1842
|
type SyncCloudMachineResponse = z.infer<typeof SyncCloudMachineResponseSchema>;
|
|
1843
|
+
/**
|
|
1844
|
+
* POST /v1/machines/sync/models - Request schema
|
|
1845
|
+
* Desktop calls this after saving any model config change
|
|
1846
|
+
*/
|
|
1847
|
+
declare const SyncMachineModelsRequestSchema: z.ZodObject<{
|
|
1848
|
+
machineId: z.ZodString;
|
|
1849
|
+
models: z.ZodObject<{
|
|
1850
|
+
claude: z.ZodObject<{
|
|
1851
|
+
primaryModel: z.ZodString;
|
|
1852
|
+
fastModel: z.ZodString;
|
|
1853
|
+
subagentModel: z.ZodString;
|
|
1854
|
+
}, z.core.$strip>;
|
|
1855
|
+
codex: z.ZodObject<{
|
|
1856
|
+
model: z.ZodString;
|
|
1857
|
+
}, z.core.$strip>;
|
|
1858
|
+
gemini: z.ZodObject<{
|
|
1859
|
+
nanoBananaModel: z.ZodString;
|
|
1860
|
+
}, z.core.$strip>;
|
|
1861
|
+
}, z.core.$strip>;
|
|
1862
|
+
}, z.core.$strip>;
|
|
1863
|
+
type SyncMachineModelsRequest = z.infer<typeof SyncMachineModelsRequestSchema>;
|
|
1864
|
+
/**
|
|
1865
|
+
* POST /v1/machines/sync/models - Response schema
|
|
1866
|
+
*/
|
|
1867
|
+
declare const SyncMachineModelsResponseSchema: z.ZodObject<{
|
|
1868
|
+
success: z.ZodLiteral<true>;
|
|
1869
|
+
}, z.core.$strip>;
|
|
1870
|
+
type SyncMachineModelsResponse = z.infer<typeof SyncMachineModelsResponseSchema>;
|
|
1802
1871
|
/**
|
|
1803
1872
|
* GET /v1/machines/validate - Response schema
|
|
1804
1873
|
*/
|
|
@@ -2279,8 +2348,19 @@ declare const CreateCloudResponseSchema: z.ZodObject<{
|
|
|
2279
2348
|
id: z.ZodString;
|
|
2280
2349
|
owner: z.ZodString;
|
|
2281
2350
|
name: z.ZodString;
|
|
2351
|
+
type: z.ZodEnum<{
|
|
2352
|
+
public: "public";
|
|
2353
|
+
private: "private";
|
|
2354
|
+
}>;
|
|
2355
|
+
status: z.ZodEnum<{
|
|
2356
|
+
active: "active";
|
|
2357
|
+
suspended: "suspended";
|
|
2358
|
+
}>;
|
|
2282
2359
|
secret: z.ZodString;
|
|
2360
|
+
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2361
|
+
maxMemberCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2283
2362
|
createdAt: z.ZodString;
|
|
2363
|
+
updatedAt: z.ZodString;
|
|
2284
2364
|
}, z.core.$strip>;
|
|
2285
2365
|
type CreateCloudResponse = z.infer<typeof CreateCloudResponseSchema>;
|
|
2286
2366
|
|
|
@@ -2500,6 +2580,22 @@ declare const RechargeResponseSchema: z.ZodObject<{
|
|
|
2500
2580
|
newBalance: z.ZodNumber;
|
|
2501
2581
|
}, z.core.$strip>;
|
|
2502
2582
|
type RechargeResponse = z.infer<typeof RechargeResponseSchema>;
|
|
2583
|
+
/**
|
|
2584
|
+
* POST /v1/billing/direct-recharge/checkout - Request schema
|
|
2585
|
+
*/
|
|
2586
|
+
declare const CreateDirectRechargeCheckoutRequestSchema: z.ZodObject<{
|
|
2587
|
+
successUrl: z.ZodString;
|
|
2588
|
+
cancelUrl: z.ZodString;
|
|
2589
|
+
amount: z.ZodNumber;
|
|
2590
|
+
}, z.core.$strip>;
|
|
2591
|
+
type CreateDirectRechargeCheckoutRequest = z.infer<typeof CreateDirectRechargeCheckoutRequestSchema>;
|
|
2592
|
+
/**
|
|
2593
|
+
* POST /v1/billing/direct-recharge/checkout - Response schema
|
|
2594
|
+
*/
|
|
2595
|
+
declare const CreateDirectRechargeCheckoutResponseSchema: z.ZodObject<{
|
|
2596
|
+
url: z.ZodString;
|
|
2597
|
+
}, z.core.$strip>;
|
|
2598
|
+
type CreateDirectRechargeCheckoutResponse = z.infer<typeof CreateDirectRechargeCheckoutResponseSchema>;
|
|
2503
2599
|
/**
|
|
2504
2600
|
* GET /v1/billing/balance - Response schema
|
|
2505
2601
|
*/
|
|
@@ -2812,6 +2908,10 @@ declare const SubscriptionPlanSchema: z.ZodObject<{
|
|
|
2812
2908
|
features: z.ZodArray<z.ZodString>;
|
|
2813
2909
|
popular: z.ZodBoolean;
|
|
2814
2910
|
enabled: z.ZodBoolean;
|
|
2911
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
2912
|
+
maxPrivateClouds: z.ZodNumber;
|
|
2913
|
+
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
2914
|
+
maxPrivateCloudMembers: z.ZodNumber;
|
|
2815
2915
|
createdAt: z.ZodString;
|
|
2816
2916
|
updatedAt: z.ZodString;
|
|
2817
2917
|
}, z.core.$strip>;
|
|
@@ -2842,6 +2942,10 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
2842
2942
|
features: z.ZodArray<z.ZodString>;
|
|
2843
2943
|
popular: z.ZodBoolean;
|
|
2844
2944
|
enabled: z.ZodBoolean;
|
|
2945
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
2946
|
+
maxPrivateClouds: z.ZodNumber;
|
|
2947
|
+
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
2948
|
+
maxPrivateCloudMembers: z.ZodNumber;
|
|
2845
2949
|
createdAt: z.ZodString;
|
|
2846
2950
|
updatedAt: z.ZodString;
|
|
2847
2951
|
}, z.core.$strip>>>;
|
|
@@ -2874,6 +2978,10 @@ declare const GetSubscriptionResponseSchema: z.ZodObject<{
|
|
|
2874
2978
|
features: z.ZodArray<z.ZodString>;
|
|
2875
2979
|
popular: z.ZodBoolean;
|
|
2876
2980
|
enabled: z.ZodBoolean;
|
|
2981
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
2982
|
+
maxPrivateClouds: z.ZodNumber;
|
|
2983
|
+
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
2984
|
+
maxPrivateCloudMembers: z.ZodNumber;
|
|
2877
2985
|
createdAt: z.ZodString;
|
|
2878
2986
|
updatedAt: z.ZodString;
|
|
2879
2987
|
}, z.core.$strip>>>;
|
|
@@ -2975,6 +3083,10 @@ declare const CreateSubscriptionPlanRequestSchema: z.ZodObject<{
|
|
|
2975
3083
|
credits: z.ZodNumber;
|
|
2976
3084
|
features: z.ZodArray<z.ZodString>;
|
|
2977
3085
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
3086
|
+
privateCloudEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3087
|
+
maxPrivateClouds: z.ZodOptional<z.ZodNumber>;
|
|
3088
|
+
maxMachinesPerPrivateCloud: z.ZodOptional<z.ZodNumber>;
|
|
3089
|
+
maxPrivateCloudMembers: z.ZodOptional<z.ZodNumber>;
|
|
2978
3090
|
}, z.core.$strip>;
|
|
2979
3091
|
type CreateSubscriptionPlanRequest = z.infer<typeof CreateSubscriptionPlanRequestSchema>;
|
|
2980
3092
|
/**
|
|
@@ -2985,6 +3097,10 @@ declare const UpdateSubscriptionPlanRequestSchema: z.ZodObject<{
|
|
|
2985
3097
|
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2986
3098
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
2987
3099
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3100
|
+
privateCloudEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3101
|
+
maxPrivateClouds: z.ZodOptional<z.ZodNumber>;
|
|
3102
|
+
maxMachinesPerPrivateCloud: z.ZodOptional<z.ZodNumber>;
|
|
3103
|
+
maxPrivateCloudMembers: z.ZodOptional<z.ZodNumber>;
|
|
2988
3104
|
}, z.core.$strip>;
|
|
2989
3105
|
type UpdateSubscriptionPlanRequest = z.infer<typeof UpdateSubscriptionPlanRequestSchema>;
|
|
2990
3106
|
/**
|
|
@@ -3001,12 +3117,295 @@ declare const ListSubscriptionPlansResponseSchema: z.ZodObject<{
|
|
|
3001
3117
|
features: z.ZodArray<z.ZodString>;
|
|
3002
3118
|
popular: z.ZodBoolean;
|
|
3003
3119
|
enabled: z.ZodBoolean;
|
|
3120
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
3121
|
+
maxPrivateClouds: z.ZodNumber;
|
|
3122
|
+
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
3123
|
+
maxPrivateCloudMembers: z.ZodNumber;
|
|
3004
3124
|
createdAt: z.ZodString;
|
|
3005
3125
|
updatedAt: z.ZodString;
|
|
3006
3126
|
}, z.core.$strip>>;
|
|
3007
3127
|
}, z.core.$strip>;
|
|
3008
3128
|
type ListSubscriptionPlansResponse = z.infer<typeof ListSubscriptionPlansResponseSchema>;
|
|
3009
3129
|
|
|
3130
|
+
declare const PrivateCloudEntitlementSchema: z.ZodObject<{
|
|
3131
|
+
enabled: z.ZodBoolean;
|
|
3132
|
+
maxPrivateClouds: z.ZodNumber;
|
|
3133
|
+
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
3134
|
+
maxPrivateCloudMembers: z.ZodNumber;
|
|
3135
|
+
currentPrivateCloudCount: z.ZodNumber;
|
|
3136
|
+
}, z.core.$strip>;
|
|
3137
|
+
type PrivateCloudEntitlement = z.infer<typeof PrivateCloudEntitlementSchema>;
|
|
3138
|
+
declare const PrivateCloudSummarySchema: z.ZodObject<{
|
|
3139
|
+
id: z.ZodString;
|
|
3140
|
+
owner: z.ZodString;
|
|
3141
|
+
name: z.ZodString;
|
|
3142
|
+
type: z.ZodEnum<{
|
|
3143
|
+
public: "public";
|
|
3144
|
+
private: "private";
|
|
3145
|
+
}>;
|
|
3146
|
+
status: z.ZodEnum<{
|
|
3147
|
+
active: "active";
|
|
3148
|
+
suspended: "suspended";
|
|
3149
|
+
}>;
|
|
3150
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
3151
|
+
owner: "owner";
|
|
3152
|
+
member: "member";
|
|
3153
|
+
}>>;
|
|
3154
|
+
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3155
|
+
pending: "pending";
|
|
3156
|
+
active: "active";
|
|
3157
|
+
revoked: "revoked";
|
|
3158
|
+
}>>;
|
|
3159
|
+
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3160
|
+
maxMemberCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3161
|
+
machineCount: z.ZodOptional<z.ZodNumber>;
|
|
3162
|
+
onlineMachineCount: z.ZodOptional<z.ZodNumber>;
|
|
3163
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
3164
|
+
createdAt: z.ZodString;
|
|
3165
|
+
updatedAt: z.ZodString;
|
|
3166
|
+
machines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3167
|
+
id: z.ZodString;
|
|
3168
|
+
cloudId: z.ZodString;
|
|
3169
|
+
deviceId: z.ZodString;
|
|
3170
|
+
status: z.ZodString;
|
|
3171
|
+
metadata: z.ZodNullable<z.ZodString>;
|
|
3172
|
+
createdAt: z.ZodString;
|
|
3173
|
+
updatedAt: z.ZodString;
|
|
3174
|
+
}, z.core.$strip>>>;
|
|
3175
|
+
}, z.core.$strip>;
|
|
3176
|
+
type PrivateCloudSummary = z.infer<typeof PrivateCloudSummarySchema>;
|
|
3177
|
+
declare const ListPrivateCloudsResponseSchema: z.ZodObject<{
|
|
3178
|
+
clouds: z.ZodArray<z.ZodObject<{
|
|
3179
|
+
id: z.ZodString;
|
|
3180
|
+
owner: z.ZodString;
|
|
3181
|
+
name: z.ZodString;
|
|
3182
|
+
type: z.ZodEnum<{
|
|
3183
|
+
public: "public";
|
|
3184
|
+
private: "private";
|
|
3185
|
+
}>;
|
|
3186
|
+
status: z.ZodEnum<{
|
|
3187
|
+
active: "active";
|
|
3188
|
+
suspended: "suspended";
|
|
3189
|
+
}>;
|
|
3190
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
3191
|
+
owner: "owner";
|
|
3192
|
+
member: "member";
|
|
3193
|
+
}>>;
|
|
3194
|
+
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3195
|
+
pending: "pending";
|
|
3196
|
+
active: "active";
|
|
3197
|
+
revoked: "revoked";
|
|
3198
|
+
}>>;
|
|
3199
|
+
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3200
|
+
maxMemberCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3201
|
+
machineCount: z.ZodOptional<z.ZodNumber>;
|
|
3202
|
+
onlineMachineCount: z.ZodOptional<z.ZodNumber>;
|
|
3203
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
3204
|
+
createdAt: z.ZodString;
|
|
3205
|
+
updatedAt: z.ZodString;
|
|
3206
|
+
machines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3207
|
+
id: z.ZodString;
|
|
3208
|
+
cloudId: z.ZodString;
|
|
3209
|
+
deviceId: z.ZodString;
|
|
3210
|
+
status: z.ZodString;
|
|
3211
|
+
metadata: z.ZodNullable<z.ZodString>;
|
|
3212
|
+
createdAt: z.ZodString;
|
|
3213
|
+
updatedAt: z.ZodString;
|
|
3214
|
+
}, z.core.$strip>>>;
|
|
3215
|
+
}, z.core.$strip>>;
|
|
3216
|
+
entitlement: z.ZodObject<{
|
|
3217
|
+
enabled: z.ZodBoolean;
|
|
3218
|
+
maxPrivateClouds: z.ZodNumber;
|
|
3219
|
+
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
3220
|
+
maxPrivateCloudMembers: z.ZodNumber;
|
|
3221
|
+
currentPrivateCloudCount: z.ZodNumber;
|
|
3222
|
+
}, z.core.$strip>;
|
|
3223
|
+
}, z.core.$strip>;
|
|
3224
|
+
type ListPrivateCloudsResponse = z.infer<typeof ListPrivateCloudsResponseSchema>;
|
|
3225
|
+
declare const CreatePrivateCloudRequestSchema: z.ZodObject<{
|
|
3226
|
+
name: z.ZodString;
|
|
3227
|
+
}, z.core.$strip>;
|
|
3228
|
+
type CreatePrivateCloudRequest = z.infer<typeof CreatePrivateCloudRequestSchema>;
|
|
3229
|
+
declare const CreatePrivateCloudResponseSchema: z.ZodObject<{
|
|
3230
|
+
cloud: z.ZodObject<{
|
|
3231
|
+
id: z.ZodString;
|
|
3232
|
+
owner: z.ZodString;
|
|
3233
|
+
name: z.ZodString;
|
|
3234
|
+
type: z.ZodEnum<{
|
|
3235
|
+
public: "public";
|
|
3236
|
+
private: "private";
|
|
3237
|
+
}>;
|
|
3238
|
+
status: z.ZodEnum<{
|
|
3239
|
+
active: "active";
|
|
3240
|
+
suspended: "suspended";
|
|
3241
|
+
}>;
|
|
3242
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
3243
|
+
owner: "owner";
|
|
3244
|
+
member: "member";
|
|
3245
|
+
}>>;
|
|
3246
|
+
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3247
|
+
pending: "pending";
|
|
3248
|
+
active: "active";
|
|
3249
|
+
revoked: "revoked";
|
|
3250
|
+
}>>;
|
|
3251
|
+
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3252
|
+
maxMemberCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3253
|
+
machineCount: z.ZodOptional<z.ZodNumber>;
|
|
3254
|
+
onlineMachineCount: z.ZodOptional<z.ZodNumber>;
|
|
3255
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
3256
|
+
createdAt: z.ZodString;
|
|
3257
|
+
updatedAt: z.ZodString;
|
|
3258
|
+
machines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3259
|
+
id: z.ZodString;
|
|
3260
|
+
cloudId: z.ZodString;
|
|
3261
|
+
deviceId: z.ZodString;
|
|
3262
|
+
status: z.ZodString;
|
|
3263
|
+
metadata: z.ZodNullable<z.ZodString>;
|
|
3264
|
+
createdAt: z.ZodString;
|
|
3265
|
+
updatedAt: z.ZodString;
|
|
3266
|
+
}, z.core.$strip>>>;
|
|
3267
|
+
}, z.core.$strip>;
|
|
3268
|
+
secret: z.ZodString;
|
|
3269
|
+
}, z.core.$strip>;
|
|
3270
|
+
type CreatePrivateCloudResponse = z.infer<typeof CreatePrivateCloudResponseSchema>;
|
|
3271
|
+
declare const PrivateCloudInviteSchema: z.ZodObject<{
|
|
3272
|
+
id: z.ZodString;
|
|
3273
|
+
cloudId: z.ZodString;
|
|
3274
|
+
createdBy: z.ZodString;
|
|
3275
|
+
role: z.ZodEnum<{
|
|
3276
|
+
member: "member";
|
|
3277
|
+
}>;
|
|
3278
|
+
token: z.ZodString;
|
|
3279
|
+
expiresAt: z.ZodString;
|
|
3280
|
+
maxUses: z.ZodNumber;
|
|
3281
|
+
usedCount: z.ZodNumber;
|
|
3282
|
+
status: z.ZodEnum<{
|
|
3283
|
+
active: "active";
|
|
3284
|
+
revoked: "revoked";
|
|
3285
|
+
expired: "expired";
|
|
3286
|
+
consumed: "consumed";
|
|
3287
|
+
}>;
|
|
3288
|
+
createdAt: z.ZodString;
|
|
3289
|
+
updatedAt: z.ZodString;
|
|
3290
|
+
}, z.core.$strip>;
|
|
3291
|
+
type PrivateCloudInvite = z.infer<typeof PrivateCloudInviteSchema>;
|
|
3292
|
+
declare const CreatePrivateCloudInviteRequestSchema: z.ZodObject<{
|
|
3293
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
3294
|
+
maxUses: z.ZodOptional<z.ZodNumber>;
|
|
3295
|
+
}, z.core.$strip>;
|
|
3296
|
+
type CreatePrivateCloudInviteRequest = z.infer<typeof CreatePrivateCloudInviteRequestSchema>;
|
|
3297
|
+
declare const CreatePrivateCloudInviteResponseSchema: z.ZodObject<{
|
|
3298
|
+
invite: z.ZodObject<{
|
|
3299
|
+
id: z.ZodString;
|
|
3300
|
+
cloudId: z.ZodString;
|
|
3301
|
+
createdBy: z.ZodString;
|
|
3302
|
+
role: z.ZodEnum<{
|
|
3303
|
+
member: "member";
|
|
3304
|
+
}>;
|
|
3305
|
+
token: z.ZodString;
|
|
3306
|
+
expiresAt: z.ZodString;
|
|
3307
|
+
maxUses: z.ZodNumber;
|
|
3308
|
+
usedCount: z.ZodNumber;
|
|
3309
|
+
status: z.ZodEnum<{
|
|
3310
|
+
active: "active";
|
|
3311
|
+
revoked: "revoked";
|
|
3312
|
+
expired: "expired";
|
|
3313
|
+
consumed: "consumed";
|
|
3314
|
+
}>;
|
|
3315
|
+
createdAt: z.ZodString;
|
|
3316
|
+
updatedAt: z.ZodString;
|
|
3317
|
+
}, z.core.$strip>;
|
|
3318
|
+
}, z.core.$strip>;
|
|
3319
|
+
type CreatePrivateCloudInviteResponse = z.infer<typeof CreatePrivateCloudInviteResponseSchema>;
|
|
3320
|
+
declare const AcceptPrivateCloudInviteRequestSchema: z.ZodObject<{
|
|
3321
|
+
token: z.ZodString;
|
|
3322
|
+
}, z.core.$strip>;
|
|
3323
|
+
type AcceptPrivateCloudInviteRequest = z.infer<typeof AcceptPrivateCloudInviteRequestSchema>;
|
|
3324
|
+
declare const AcceptPrivateCloudInviteResponseSchema: z.ZodObject<{
|
|
3325
|
+
cloud: z.ZodObject<{
|
|
3326
|
+
id: z.ZodString;
|
|
3327
|
+
owner: z.ZodString;
|
|
3328
|
+
name: z.ZodString;
|
|
3329
|
+
type: z.ZodEnum<{
|
|
3330
|
+
public: "public";
|
|
3331
|
+
private: "private";
|
|
3332
|
+
}>;
|
|
3333
|
+
status: z.ZodEnum<{
|
|
3334
|
+
active: "active";
|
|
3335
|
+
suspended: "suspended";
|
|
3336
|
+
}>;
|
|
3337
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
3338
|
+
owner: "owner";
|
|
3339
|
+
member: "member";
|
|
3340
|
+
}>>;
|
|
3341
|
+
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3342
|
+
pending: "pending";
|
|
3343
|
+
active: "active";
|
|
3344
|
+
revoked: "revoked";
|
|
3345
|
+
}>>;
|
|
3346
|
+
maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3347
|
+
maxMemberCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3348
|
+
machineCount: z.ZodOptional<z.ZodNumber>;
|
|
3349
|
+
onlineMachineCount: z.ZodOptional<z.ZodNumber>;
|
|
3350
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
3351
|
+
createdAt: z.ZodString;
|
|
3352
|
+
updatedAt: z.ZodString;
|
|
3353
|
+
machines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3354
|
+
id: z.ZodString;
|
|
3355
|
+
cloudId: z.ZodString;
|
|
3356
|
+
deviceId: z.ZodString;
|
|
3357
|
+
status: z.ZodString;
|
|
3358
|
+
metadata: z.ZodNullable<z.ZodString>;
|
|
3359
|
+
createdAt: z.ZodString;
|
|
3360
|
+
updatedAt: z.ZodString;
|
|
3361
|
+
}, z.core.$strip>>>;
|
|
3362
|
+
}, z.core.$strip>;
|
|
3363
|
+
}, z.core.$strip>;
|
|
3364
|
+
type AcceptPrivateCloudInviteResponse = z.infer<typeof AcceptPrivateCloudInviteResponseSchema>;
|
|
3365
|
+
declare const PrivateCloudMemberSchema: z.ZodObject<{
|
|
3366
|
+
userId: z.ZodString;
|
|
3367
|
+
username: z.ZodNullable<z.ZodString>;
|
|
3368
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
3369
|
+
role: z.ZodEnum<{
|
|
3370
|
+
owner: "owner";
|
|
3371
|
+
member: "member";
|
|
3372
|
+
}>;
|
|
3373
|
+
status: z.ZodEnum<{
|
|
3374
|
+
pending: "pending";
|
|
3375
|
+
active: "active";
|
|
3376
|
+
revoked: "revoked";
|
|
3377
|
+
}>;
|
|
3378
|
+
createdAt: z.ZodString;
|
|
3379
|
+
}, z.core.$strip>;
|
|
3380
|
+
type PrivateCloudMember = z.infer<typeof PrivateCloudMemberSchema>;
|
|
3381
|
+
declare const ListPrivateCloudMembersResponseSchema: z.ZodObject<{
|
|
3382
|
+
members: z.ZodArray<z.ZodObject<{
|
|
3383
|
+
userId: z.ZodString;
|
|
3384
|
+
username: z.ZodNullable<z.ZodString>;
|
|
3385
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
3386
|
+
role: z.ZodEnum<{
|
|
3387
|
+
owner: "owner";
|
|
3388
|
+
member: "member";
|
|
3389
|
+
}>;
|
|
3390
|
+
status: z.ZodEnum<{
|
|
3391
|
+
pending: "pending";
|
|
3392
|
+
active: "active";
|
|
3393
|
+
revoked: "revoked";
|
|
3394
|
+
}>;
|
|
3395
|
+
createdAt: z.ZodString;
|
|
3396
|
+
}, z.core.$strip>>;
|
|
3397
|
+
}, z.core.$strip>;
|
|
3398
|
+
type ListPrivateCloudMembersResponse = z.infer<typeof ListPrivateCloudMembersResponseSchema>;
|
|
3399
|
+
declare const RemovePrivateCloudMemberResponseSchema: z.ZodObject<{
|
|
3400
|
+
success: z.ZodLiteral<true>;
|
|
3401
|
+
message: z.ZodString;
|
|
3402
|
+
}, z.core.$strip>;
|
|
3403
|
+
type RemovePrivateCloudMemberResponse = z.infer<typeof RemovePrivateCloudMemberResponseSchema>;
|
|
3404
|
+
declare const GetPrivateCloudRunnerSecretResponseSchema: z.ZodObject<{
|
|
3405
|
+
secret: z.ZodString;
|
|
3406
|
+
}, z.core.$strip>;
|
|
3407
|
+
type GetPrivateCloudRunnerSecretResponse = z.infer<typeof GetPrivateCloudRunnerSecretResponseSchema>;
|
|
3408
|
+
|
|
3010
3409
|
/**
|
|
3011
3410
|
* Contact HTTP request/response schemas
|
|
3012
3411
|
* Contact management endpoints
|
|
@@ -3495,5 +3894,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
3495
3894
|
*/
|
|
3496
3895
|
declare function decodeGitPath(rawPath: string): string;
|
|
3497
3896
|
|
|
3498
|
-
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelSubscriptionResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, 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, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, 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, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, 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 };
|
|
3499
|
-
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelSubscriptionResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, DeleteAgentResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, 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, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
|
3897
|
+
export { AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelSubscriptionResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, 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, IGNORED_DIRECTORIES, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, 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, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, 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 };
|
|
3898
|
+
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelSubscriptionResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, DeleteAgentResponse, 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, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, 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, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, 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 {
|
|
2
|
-
export {
|
|
1
|
+
import { dC as LoadAgentOptions, dA as AgentConfig, dB as ValidationResult, dx as FrameworkType } from './errors-CjePCqwd.cjs';
|
|
2
|
+
export { dK as AgentConfigValidationError, dt as AgentContext, dI as AgentError, dM as AgentLoadError, dy as AgentMetadata, dG as AgentMetadataSchema, dJ as AgentNotFoundError, du as AgentrixContext, dz as ClaudeAgentConfig, dH as ClaudeConfigSchema, dF as FRAMEWORK_TYPES, dL as FrameworkNotSupportedError, dE as HookFactory, dN as MissingAgentFileError, dD as RepositoryInitHookInput, dw as getAgentContext, dv as setAgentContext } from './errors-CjePCqwd.cjs';
|
|
3
3
|
import '@anthropic-ai/claude-agent-sdk';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|