@agentrix/shared 2.8.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{errors-BjRlOFVZ.d.cts → errors-bwLB4nUC.d.cts} +29 -13
- package/dist/index.cjs +46 -0
- package/dist/index.d.cts +110 -6
- package/dist/node.d.cts +2 -2
- package/package.json +1 -1
|
@@ -775,15 +775,15 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
775
775
|
* - 'user': Broadcasts SDKAssistantMessage to users viewing the task
|
|
776
776
|
*/
|
|
777
777
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
778
|
-
message: z.ZodCustom<
|
|
778
|
+
message: z.ZodCustom<SDKUserMessage | SDKAssistantMessage, SDKUserMessage | SDKAssistantMessage>;
|
|
779
779
|
target: z.ZodEnum<{
|
|
780
|
-
user: "user";
|
|
781
780
|
agent: "agent";
|
|
781
|
+
user: "user";
|
|
782
782
|
}>;
|
|
783
783
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
784
784
|
senderType: z.ZodEnum<{
|
|
785
|
-
system: "system";
|
|
786
785
|
human: "human";
|
|
786
|
+
system: "system";
|
|
787
787
|
agent: "agent";
|
|
788
788
|
}>;
|
|
789
789
|
senderId: z.ZodString;
|
|
@@ -1027,9 +1027,9 @@ declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
|
1027
1027
|
timeout: "timeout";
|
|
1028
1028
|
}>;
|
|
1029
1029
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
1030
|
-
timeout: "timeout";
|
|
1031
|
-
user: "user";
|
|
1032
1030
|
system: "system";
|
|
1031
|
+
user: "user";
|
|
1032
|
+
timeout: "timeout";
|
|
1033
1033
|
}>;
|
|
1034
1034
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
1035
1035
|
type AskUserResponseReason = z.infer<typeof AskUserResponseReasonSchema>;
|
|
@@ -1050,9 +1050,9 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
1050
1050
|
timeout: "timeout";
|
|
1051
1051
|
}>>;
|
|
1052
1052
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
1053
|
-
timeout: "timeout";
|
|
1054
|
-
user: "user";
|
|
1055
1053
|
system: "system";
|
|
1054
|
+
user: "user";
|
|
1055
|
+
timeout: "timeout";
|
|
1056
1056
|
}>>;
|
|
1057
1057
|
}, z.core.$strip>;
|
|
1058
1058
|
type AskUserResponseMessage = z.infer<typeof AskUserResponseMessageSchema>;
|
|
@@ -1627,9 +1627,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
1627
1627
|
taskId: z.ZodString;
|
|
1628
1628
|
chatId: z.ZodOptional<z.ZodString>;
|
|
1629
1629
|
from: z.ZodEnum<{
|
|
1630
|
+
machine: "machine";
|
|
1630
1631
|
app: "app";
|
|
1631
1632
|
"api-server": "api-server";
|
|
1632
|
-
machine: "machine";
|
|
1633
1633
|
worker: "worker";
|
|
1634
1634
|
}>;
|
|
1635
1635
|
opCode: z.ZodOptional<z.ZodString>;
|
|
@@ -1640,8 +1640,8 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
1640
1640
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
1641
1641
|
agentId: z.ZodOptional<z.ZodString>;
|
|
1642
1642
|
senderType: z.ZodEnum<{
|
|
1643
|
-
system: "system";
|
|
1644
1643
|
human: "human";
|
|
1644
|
+
system: "system";
|
|
1645
1645
|
agent: "agent";
|
|
1646
1646
|
}>;
|
|
1647
1647
|
senderId: z.ZodString;
|
|
@@ -1762,8 +1762,8 @@ declare const RtcSignalSchema: z.ZodObject<{
|
|
|
1762
1762
|
machineId: z.ZodString;
|
|
1763
1763
|
sessionId: z.ZodString;
|
|
1764
1764
|
from: z.ZodEnum<{
|
|
1765
|
-
app: "app";
|
|
1766
1765
|
machine: "machine";
|
|
1766
|
+
app: "app";
|
|
1767
1767
|
}>;
|
|
1768
1768
|
signal: z.ZodAny;
|
|
1769
1769
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -2077,6 +2077,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
2077
2077
|
id: z.ZodString;
|
|
2078
2078
|
}, z.core.$strip>>, z.ZodObject<{
|
|
2079
2079
|
id: z.ZodString;
|
|
2080
|
+
serverRepoId: z.ZodString;
|
|
2080
2081
|
owner: z.ZodString;
|
|
2081
2082
|
name: z.ZodString;
|
|
2082
2083
|
fullName: z.ZodString;
|
|
@@ -2332,12 +2333,25 @@ declare const CompanionHeartbeatResponseSchema: z.ZodObject<{
|
|
|
2332
2333
|
chatId: z.ZodString;
|
|
2333
2334
|
}, z.core.$strip>;
|
|
2334
2335
|
type CompanionHeartbeatResponseData = z.infer<typeof CompanionHeartbeatResponseSchema>;
|
|
2336
|
+
declare const CompanionInitRequestSchema: z.ZodObject<{
|
|
2337
|
+
eventId: z.ZodString;
|
|
2338
|
+
machineId: z.ZodString;
|
|
2339
|
+
agentId: z.ZodString;
|
|
2340
|
+
chatId: z.ZodString;
|
|
2341
|
+
userId: z.ZodString;
|
|
2342
|
+
}, z.core.$strip>;
|
|
2343
|
+
type CompanionInitRequestData = z.infer<typeof CompanionInitRequestSchema>;
|
|
2344
|
+
declare const CompanionInitResponseSchema: z.ZodObject<{
|
|
2345
|
+
eventId: z.ZodString;
|
|
2346
|
+
success: z.ZodBoolean;
|
|
2347
|
+
}, z.core.$strip>;
|
|
2348
|
+
type CompanionInitResponseData = z.infer<typeof CompanionInitResponseSchema>;
|
|
2335
2349
|
declare const ResetTaskSessionSchema: z.ZodObject<{
|
|
2336
2350
|
eventId: z.ZodString;
|
|
2337
2351
|
taskId: z.ZodString;
|
|
2338
2352
|
}, z.core.$strip>;
|
|
2339
2353
|
type ResetTaskSessionEventData = z.infer<typeof ResetTaskSessionSchema>;
|
|
2340
|
-
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerInitializedEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | WorkerPermissionModeEventData | WorkerStatusRequestEventData | ChatWorkersStatusRequestEventData | ChatWorkersStatusResponseEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskInfoUpdateEventData | TaskSlashCommandsUpdateEventData | MergeRequestEventData | TaskStoppedEventData | SubTaskResultUpdatedEventData | SystemMessageEventData | CreditExhaustedEventData | RtcIceServersRequestEventData | RtcIceServersResponseEventData | MachineRtcRequestEventData | MachineRtcResponseEventData | RtcSignalEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData | UpdateAgentInfoEventData | DaemonGitlabRequestEventData | DaemonGitlabResponseEventData | CompanionHeartbeatRequestData | CompanionHeartbeatResponseData | ResetTaskSessionEventData | SeqSyncRequestEventData | SeqSyncResponseEventData;
|
|
2354
|
+
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerInitializedEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | WorkerPermissionModeEventData | WorkerStatusRequestEventData | ChatWorkersStatusRequestEventData | ChatWorkersStatusResponseEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskInfoUpdateEventData | TaskSlashCommandsUpdateEventData | MergeRequestEventData | TaskStoppedEventData | SubTaskResultUpdatedEventData | SystemMessageEventData | CreditExhaustedEventData | RtcIceServersRequestEventData | RtcIceServersResponseEventData | MachineRtcRequestEventData | MachineRtcResponseEventData | RtcSignalEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData | UpdateAgentInfoEventData | DaemonGitlabRequestEventData | DaemonGitlabResponseEventData | CompanionHeartbeatRequestData | CompanionHeartbeatResponseData | CompanionInitRequestData | CompanionInitResponseData | ResetTaskSessionEventData | SeqSyncRequestEventData | SeqSyncResponseEventData;
|
|
2341
2355
|
declare const SeqSyncRequestEventDataSchema: z.ZodObject<{
|
|
2342
2356
|
eventId: z.ZodString;
|
|
2343
2357
|
tasks: z.ZodArray<z.ZodObject<{
|
|
@@ -2401,6 +2415,8 @@ type EventMap = {
|
|
|
2401
2415
|
"daemon-gitlab-response": DaemonGitlabResponseEventData;
|
|
2402
2416
|
"request-companion-heartbeat": CompanionHeartbeatRequestData;
|
|
2403
2417
|
"companion-heartbeat-response": CompanionHeartbeatResponseData;
|
|
2418
|
+
"request-companion-init": CompanionInitRequestData;
|
|
2419
|
+
"companion-init-response": CompanionInitResponseData;
|
|
2404
2420
|
"reset-task-session": ResetTaskSessionEventData;
|
|
2405
2421
|
"event-ack": EventAckData;
|
|
2406
2422
|
"seq-sync-request": SeqSyncRequestEventData;
|
|
@@ -2857,5 +2873,5 @@ declare class MissingAgentFileError extends AgentError {
|
|
|
2857
2873
|
constructor(filePath: string);
|
|
2858
2874
|
}
|
|
2859
2875
|
|
|
2860
|
-
export { CompanionHeartbeatRequestSchema as $, AskUserQuestionSchema as C, AskUserResponseMessageSchema as E, AskUserResponseReasonSchema as G, AskUserResponseStatusSchema as I, AssociateRepoEventDataSchema as K, CancelTaskRequestSchema as N, CancelTaskResponseSchema as Q, ChangeTaskTitleEventSchema as S, ChatWorkersStatusRequestSchema as U, ChatWorkersStatusResponseSchema as W, ClaudeConfigSchema as Y, ActiveAgentSchema as a,
|
|
2861
|
-
export type { ActiveAgent as A, AskUserQuestion as B, AskUserResponseMessage as D, AskUserResponseReason as F, AskUserResponseStatus as H, AssociateRepoEventData as J, CancelTaskEventData as L, CancelTaskRequest as M, CancelTaskResponse as O, PreviewMetadata as P, ChangeTaskTitleEventData as R, ChatWorkersStatusRequestEventData as T, ChatWorkersStatusResponseEventData as V, ClaudeAgentConfig as X, CompanionHeartbeatMessage as Z, CompanionHeartbeatRequestData as _, CompanionHeartbeatResponseData as a0,
|
|
2876
|
+
export { CompanionHeartbeatRequestSchema as $, AskUserQuestionSchema as C, AskUserResponseMessageSchema as E, AskUserResponseReasonSchema as G, AskUserResponseStatusSchema as I, AssociateRepoEventDataSchema as K, CancelTaskRequestSchema as N, CancelTaskResponseSchema as Q, ChangeTaskTitleEventSchema as S, ChatWorkersStatusRequestSchema as U, ChatWorkersStatusResponseSchema as W, ClaudeConfigSchema as Y, ActiveAgentSchema as a, CompanionHeartbeatResponseSchema as a1, CompanionInitRequestSchema as a3, CompanionInitResponseSchema as a5, CreateMergeRequestResponseSchema as a9, EventSchemaMap as aB, FRAMEWORK_TYPES as aC, FillEventsRequestSchema as aE, FindTaskByAgentRequestSchema as aH, FindTaskByAgentResponseSchema as aJ, FrameworkNotSupportedError as aK, GetTaskSessionResponseSchema as aN, ListRecentTasksRequestSchema as aQ, ListRecentTasksResponseSchema as aS, ListSubTasksRequestSchema as aU, ListSubTasksResponseSchema as aW, ListTasksRequestSchema as aY, ListTasksResponseSchema as a_, CreateMergeRequestSchema as aa, CreateTaskShareResponseSchema as ae, CreateTaskShareSchema as af, CreditExhaustedEventSchema as ah, DaemonGitlabOperationSchema as aj, DaemonGitlabRequestSchema as al, DaemonGitlabResponseSchema as an, DeployAgentCompleteEventSchema as ap, DeployAgentEventSchema as ar, EnsureIssueRootTaskRequestSchema as at, EnsureIssueRootTaskResponseSchema as av, EventAckSchema as ax, ShowModalRequestSchema as b$, MachineAliveEventSchema as b1, MachineRtcRequestSchema as b3, MachineRtcResponseSchema as b5, MergePullRequestEventSchema as b8, ResumeTaskRequestSchema as bA, ResumeTaskResponseSchema as bC, RpcCallEventSchema as bE, RpcResponseSchema as bG, RtcIceServerSchema as bI, RtcIceServersRequestSchema as bK, RtcIceServersResponseSchema as bM, RtcSignalSchema as bO, SendTaskMessageRequestSchema as bR, SendTaskMessageResponseSchema as bT, SeqSyncRequestEventDataSchema as bV, SeqSyncResponseEventDataSchema as bX, ShowModalEventDataSchema as bZ, MergeRequestEventSchema as ba, MissingAgentFileError as bb, PermissionResponseRequestSchema as bd, PermissionResponseResponseSchema as bf, PreviewMetadataSchema as bh, PreviewMethodSchema as bj, PreviewProjectTypeSchema as bl, ProjectDirectoryResponseSchema as bn, ProjectEntrySchema as bp, QueryEventsRequestSchema as br, RecentTaskSummarySchema as bu, ResetTaskSessionSchema as bx, AgentConfigValidationError as c, WorkerExitSchema as c$, ShowModalResponseSchema as c1, ShutdownMachineSchema as c3, StartTaskRequestSchema as c5, StartTaskResponseSchema as c7, TaskSlashCommandSchema as cB, TaskSlashCommandsUpdateEventDataSchema as cD, TaskStateChangeEventSchema as cG, TaskStoppedEventSchema as cI, TaskTodoSchema as cK, UnarchiveTaskRequestSchema as cM, UnarchiveTaskResponseSchema as cO, UpdateAgentInfoEventSchema as cQ, UpdateTaskAgentSessionIdEventSchema as cS, UpdateTaskTitleRequestSchema as cU, UpdateTaskTitleResponseSchema as cW, WorkerAliveEventSchema as cZ, StopTaskRequestSchema as ca, StopTaskResponseSchema as cc, StopTaskSchema as cd, SubTaskResultUpdatedEventSchema as cg, SubTaskSummarySchema as ci, SystemMessageSchema as ck, TaskAgentInfoSchema as cn, TaskArtifactsStatsSchema as cp, TaskArtifactsSummarySchema as cr, TaskInfoUpdateEventDataSchema as cu, TaskItemSchema as cw, TaskMessageSchema as cz, WorkerInitializedSchema as d1, WorkerInitializingSchema as d3, WorkerPermissionModeSchema as d5, WorkerPermissionModeValueSchema as d7, WorkerReadySchema as d9, isSDKUserMessage as dA, isSubTaskAskUserMessage as dB, permissionResponseRequestSchema as dC, resumeTaskRequestSchema as dD, resumeTaskSchema as dE, setAgentContext as dF, startTaskSchema as dG, stopTaskRequestSchema as dH, workerTaskEvents as dI, WorkerRunningSchema as db, WorkerStatusRequestSchema as dd, WorkerStatusSnapshotSchema as df, WorkerStatusValueSchema as dh, WorkspaceFileRequestSchema as dk, WorkspaceFileResponseSchema as dm, baseTaskSchema as dn, cancelTaskRequestSchema as dp, cancelTaskSchema as dq, createEventId as dr, createMergeRequestSchema as ds, createTaskSchema as dt, getAgentContext as du, isAskUserMessage as dv, isAskUserResponseMessage as dw, isCompanionHeartbeatMessage as dx, isCompanionReminderMessage as dy, isSDKMessage as dz, AgentError as e, AgentLoadError as f, AgentMetadataSchema as h, AgentNotFoundError as i, ApiServerAliveEventSchema as l, AppAliveEventSchema as n, ApprovePrRequestSchema as p, ApprovePrResponseSchema as r, ArchiveTaskRequestSchema as t, ArchiveTaskResponseSchema as v, AskUserMessageSchema as x, AskUserOptionSchema as z };
|
|
2877
|
+
export type { ActiveAgent as A, AskUserQuestion as B, AskUserResponseMessage as D, AskUserResponseReason as F, AskUserResponseStatus as H, AssociateRepoEventData as J, CancelTaskEventData as L, CancelTaskRequest as M, CancelTaskResponse as O, PreviewMetadata as P, ChangeTaskTitleEventData as R, ChatWorkersStatusRequestEventData as T, ChatWorkersStatusResponseEventData as V, ClaudeAgentConfig as X, CompanionHeartbeatMessage as Z, CompanionHeartbeatRequestData as _, LoadAgentOptions as a$, CompanionHeartbeatResponseData as a0, CompanionInitRequestData as a2, CompanionInitResponseData as a4, CompanionReminderMessage as a6, CreateMergeRequestRequest as a7, CreateMergeRequestResponse as a8, EventName as aA, FillEventsRequest as aD, FillEventsResponse as aF, FindTaskByAgentRequest as aG, FindTaskByAgentResponse as aI, FrameworkType as aL, GetTaskSessionResponse as aM, HookFactory as aO, ListRecentTasksRequest as aP, ListRecentTasksResponse as aR, ListSubTasksRequest as aT, ListSubTasksResponse as aV, ListTasksRequest as aX, ListTasksResponse as aZ, CreateTaskEventData as ab, CreateTaskShareRequest as ac, CreateTaskShareResponse as ad, CreditExhaustedEventData as ag, DaemonGitlabOperation as ai, DaemonGitlabRequestEventData as ak, DaemonGitlabResponseEventData as am, DeployAgentCompleteEventData as ao, DeployAgentEventData as aq, EnsureIssueRootTaskRequest as as, EnsureIssueRootTaskResponse as au, EventAckData as aw, EventData as ay, EventMap as az, AgentConfig as b, MachineAliveEventData as b0, MachineRtcRequestEventData as b2, MachineRtcResponseEventData as b4, MergePullRequestAck as b6, MergePullRequestEventData as b7, MergeRequestEventData as b9, ResumeTaskResponse as bB, RpcCallEventData as bD, RpcResponseData as bF, RtcIceServer as bH, RtcIceServersRequestEventData as bJ, RtcIceServersResponseEventData as bL, RtcSignalEventData as bN, SendMessageTarget as bP, SendTaskMessageRequest as bQ, SendTaskMessageResponse as bS, SeqSyncRequestEventData as bU, SeqSyncResponseEventData as bW, ShowModalEventData as bY, ShowModalRequest as b_, PermissionResponseRequest as bc, PermissionResponseResponse as be, PrStateChangedData as bg, PreviewMethod as bi, PreviewProjectType as bk, ProjectDirectoryResponse as bm, ProjectEntry as bo, QueryEventsRequest as bq, QueryEventsResponse as bs, RecentTaskSummary as bt, RepositoryInitHookInput as bv, ResetTaskSessionEventData as bw, ResumeTaskEventData as by, ResumeTaskRequest as bz, ShowModalResponse as c0, ShutdownMachineData as c2, StartTaskRequest as c4, StartTaskResponse as c6, StopTaskEventData as c8, StopTaskRequest as c9, TaskSlashCommand as cA, TaskSlashCommandsUpdateEventData as cC, TaskState as cE, TaskStateChangeEventData as cF, TaskStoppedEventData as cH, TaskTodo as cJ, UnarchiveTaskRequest as cL, UnarchiveTaskResponse as cN, UpdateAgentInfoEventData as cP, UpdateTaskAgentSessionIdEventData as cR, UpdateTaskTitleRequest as cT, UpdateTaskTitleResponse as cV, ValidationResult as cX, WorkerAliveEventData as cY, WorkerExitEventData as c_, StopTaskResponse as cb, SubTaskAskUserMessage as ce, SubTaskResultUpdatedEventData as cf, SubTaskSummary as ch, SystemMessageEventData as cj, SystemMessageType as cl, TaskAgentInfo as cm, TaskArtifactsStats as co, TaskArtifactsSummary as cq, TaskEvent as cs, TaskInfoUpdateEventData as ct, TaskItem as cv, TaskMessageEventData as cx, TaskMessagePayload as cy, AgentContext as d, WorkerInitializedEventData as d0, WorkerInitializingEventData as d2, WorkerPermissionModeEventData as d4, WorkerPermissionModeValue as d6, WorkerReadyEventData as d8, WorkerRunningEventData as da, WorkerStatusRequestEventData as dc, WorkerStatusSnapshot as de, WorkerStatusValue as dg, WorkerTaskEvent as di, WorkspaceFileRequestEventData as dj, WorkspaceFileResponseEventData as dl, AgentMetadata as g, AgentrixContext as j, ApiServerAliveEventData as k, AppAliveEventData as m, ApprovePrRequest as o, ApprovePrResponse as q, ArchiveTaskRequest as s, ArchiveTaskResponse as u, AskUserMessage as w, AskUserOption as y };
|
package/dist/index.cjs
CHANGED
|
@@ -984,6 +984,7 @@ const ListFilesResponseSchema = zod.z.object({
|
|
|
984
984
|
|
|
985
985
|
const RepositorySchema = zod.z.object({
|
|
986
986
|
id: IdSchema,
|
|
987
|
+
serverRepoId: zod.z.string(),
|
|
987
988
|
owner: zod.z.string(),
|
|
988
989
|
name: zod.z.string(),
|
|
989
990
|
fullName: zod.z.string(),
|
|
@@ -1436,6 +1437,32 @@ const SearchContactCandidatesResponseSchema = zod.z.object({
|
|
|
1436
1437
|
candidates: zod.z.array(ContactCandidateSchema)
|
|
1437
1438
|
});
|
|
1438
1439
|
|
|
1440
|
+
const UserInboxSubjectTypeSchema = zod.z.enum(["issue", "reference", "task"]);
|
|
1441
|
+
const UserInboxStatusSchema = zod.z.enum(["needs_reply", "needs_review"]);
|
|
1442
|
+
const UserInboxItemSchema = zod.z.object({
|
|
1443
|
+
id: IdSchema,
|
|
1444
|
+
userId: IdSchema,
|
|
1445
|
+
repositoryId: IdSchema,
|
|
1446
|
+
subjectType: UserInboxSubjectTypeSchema,
|
|
1447
|
+
subjectId: zod.z.string().min(1),
|
|
1448
|
+
targetSubjectType: UserInboxSubjectTypeSchema.nullable().optional(),
|
|
1449
|
+
targetSubjectId: zod.z.string().min(1).nullable().optional(),
|
|
1450
|
+
status: UserInboxStatusSchema,
|
|
1451
|
+
title: zod.z.string(),
|
|
1452
|
+
body: zod.z.string().nullable().optional(),
|
|
1453
|
+
isResolved: zod.z.boolean(),
|
|
1454
|
+
openedAt: DateSchema,
|
|
1455
|
+
resolvedAt: DateSchema.nullable(),
|
|
1456
|
+
metadataJson: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional()
|
|
1457
|
+
});
|
|
1458
|
+
const ListUserInboxResponseSchema = zod.z.object({
|
|
1459
|
+
items: zod.z.array(UserInboxItemSchema)
|
|
1460
|
+
});
|
|
1461
|
+
const ResolveUserInboxItemResponseSchema = zod.z.object({
|
|
1462
|
+
success: zod.z.boolean(),
|
|
1463
|
+
item: UserInboxItemSchema
|
|
1464
|
+
});
|
|
1465
|
+
|
|
1439
1466
|
const RpcCallEventSchema = zod.z.object({
|
|
1440
1467
|
eventId: zod.z.string(),
|
|
1441
1468
|
taskId: zod.z.string(),
|
|
@@ -2344,6 +2371,15 @@ const CompanionHeartbeatResponseSchema = EventBaseSchema.extend({
|
|
|
2344
2371
|
taskId: zod.z.string(),
|
|
2345
2372
|
chatId: zod.z.string()
|
|
2346
2373
|
});
|
|
2374
|
+
const CompanionInitRequestSchema = EventBaseSchema.extend({
|
|
2375
|
+
machineId: zod.z.string(),
|
|
2376
|
+
agentId: zod.z.string(),
|
|
2377
|
+
chatId: zod.z.string(),
|
|
2378
|
+
userId: zod.z.string()
|
|
2379
|
+
});
|
|
2380
|
+
const CompanionInitResponseSchema = EventBaseSchema.extend({
|
|
2381
|
+
success: zod.z.boolean()
|
|
2382
|
+
});
|
|
2347
2383
|
const ResetTaskSessionSchema = EventBaseSchema.extend({
|
|
2348
2384
|
taskId: zod.z.string()
|
|
2349
2385
|
});
|
|
@@ -2420,6 +2456,9 @@ const EventSchemaMap = {
|
|
|
2420
2456
|
// Companion heartbeat events
|
|
2421
2457
|
"request-companion-heartbeat": CompanionHeartbeatRequestSchema,
|
|
2422
2458
|
"companion-heartbeat-response": CompanionHeartbeatResponseSchema,
|
|
2459
|
+
// Companion init events
|
|
2460
|
+
"request-companion-init": CompanionInitRequestSchema,
|
|
2461
|
+
"companion-init-response": CompanionInitResponseSchema,
|
|
2423
2462
|
"reset-task-session": ResetTaskSessionSchema,
|
|
2424
2463
|
// Ack events
|
|
2425
2464
|
"event-ack": EventAckSchema,
|
|
@@ -2964,6 +3003,8 @@ exports.CloudSchema = CloudSchema;
|
|
|
2964
3003
|
exports.CompanionEnsureResponseSchema = CompanionEnsureResponseSchema;
|
|
2965
3004
|
exports.CompanionHeartbeatRequestSchema = CompanionHeartbeatRequestSchema;
|
|
2966
3005
|
exports.CompanionHeartbeatResponseSchema = CompanionHeartbeatResponseSchema;
|
|
3006
|
+
exports.CompanionInitRequestSchema = CompanionInitRequestSchema;
|
|
3007
|
+
exports.CompanionInitResponseSchema = CompanionInitResponseSchema;
|
|
2967
3008
|
exports.CompanionWorkspaceFileSchema = CompanionWorkspaceFileSchema;
|
|
2968
3009
|
exports.ConfirmUploadRequestSchema = ConfirmUploadRequestSchema;
|
|
2969
3010
|
exports.ConfirmUploadResponseSchema = ConfirmUploadResponseSchema;
|
|
@@ -3075,6 +3116,7 @@ exports.ListTasksRequestSchema = ListTasksRequestSchema;
|
|
|
3075
3116
|
exports.ListTasksResponseSchema = ListTasksResponseSchema;
|
|
3076
3117
|
exports.ListTransactionsQuerySchema = ListTransactionsQuerySchema;
|
|
3077
3118
|
exports.ListTransactionsResponseSchema = ListTransactionsResponseSchema;
|
|
3119
|
+
exports.ListUserInboxResponseSchema = ListUserInboxResponseSchema;
|
|
3078
3120
|
exports.LocalMachineSchema = LocalMachineSchema;
|
|
3079
3121
|
exports.LogoutResponseSchema = LogoutResponseSchema;
|
|
3080
3122
|
exports.MachineAliveEventSchema = MachineAliveEventSchema;
|
|
@@ -3128,6 +3170,7 @@ exports.RepositorySchema = RepositorySchema;
|
|
|
3128
3170
|
exports.ResetSecretRequestSchema = ResetSecretRequestSchema;
|
|
3129
3171
|
exports.ResetSecretResponseSchema = ResetSecretResponseSchema;
|
|
3130
3172
|
exports.ResetTaskSessionSchema = ResetTaskSessionSchema;
|
|
3173
|
+
exports.ResolveUserInboxItemResponseSchema = ResolveUserInboxItemResponseSchema;
|
|
3131
3174
|
exports.ResumeTaskRequestSchema = ResumeTaskRequestSchema;
|
|
3132
3175
|
exports.ResumeTaskResponseSchema = ResumeTaskResponseSchema;
|
|
3133
3176
|
exports.RpcCallEventSchema = RpcCallEventSchema;
|
|
@@ -3206,6 +3249,9 @@ exports.UpdateUserProfileResponseSchema = UpdateUserProfileResponseSchema;
|
|
|
3206
3249
|
exports.UploadUrlResultSchema = UploadUrlResultSchema;
|
|
3207
3250
|
exports.UserBalanceResponseSchema = UserBalanceResponseSchema;
|
|
3208
3251
|
exports.UserBasicInfoSchema = UserBasicInfoSchema;
|
|
3252
|
+
exports.UserInboxItemSchema = UserInboxItemSchema;
|
|
3253
|
+
exports.UserInboxStatusSchema = UserInboxStatusSchema;
|
|
3254
|
+
exports.UserInboxSubjectTypeSchema = UserInboxSubjectTypeSchema;
|
|
3209
3255
|
exports.UserProfileResponseSchema = UserProfileResponseSchema;
|
|
3210
3256
|
exports.UserWithOAuthAccountsSchema = UserWithOAuthAccountsSchema;
|
|
3211
3257
|
exports.ValidateMachineResponseSchema = ValidateMachineResponseSchema;
|
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 { A as ActiveAgent, a as ActiveAgentSchema, b as AgentConfig, c as AgentConfigValidationError, d as AgentContext, e as AgentError, f as AgentLoadError, g as AgentMetadata, h as AgentMetadataSchema, i as AgentNotFoundError, j as AgentrixContext, k as ApiServerAliveEventData, l as ApiServerAliveEventSchema, m as AppAliveEventData, n as AppAliveEventSchema, o as ApprovePrRequest, p as ApprovePrRequestSchema, q as ApprovePrResponse, r as ApprovePrResponseSchema, s as ArchiveTaskRequest, t as ArchiveTaskRequestSchema, u as ArchiveTaskResponse, v as ArchiveTaskResponseSchema, w as AskUserMessage, x as AskUserMessageSchema, y as AskUserOption, z as AskUserOptionSchema, B as AskUserQuestion, C as AskUserQuestionSchema, D as AskUserResponseMessage, E as AskUserResponseMessageSchema, F as AskUserResponseReason, G as AskUserResponseReasonSchema, H as AskUserResponseStatus, I as AskUserResponseStatusSchema, J as AssociateRepoEventData, K as AssociateRepoEventDataSchema, L as CancelTaskEventData, M as CancelTaskRequest, N as CancelTaskRequestSchema, O as CancelTaskResponse, Q as CancelTaskResponseSchema, R as ChangeTaskTitleEventData, S as ChangeTaskTitleEventSchema, T as ChatWorkersStatusRequestEventData, U as ChatWorkersStatusRequestSchema, V as ChatWorkersStatusResponseEventData, W as ChatWorkersStatusResponseSchema, X as ClaudeAgentConfig, Y as ClaudeConfigSchema, Z as CompanionHeartbeatMessage, _ as CompanionHeartbeatRequestData, $ as CompanionHeartbeatRequestSchema, a0 as CompanionHeartbeatResponseData, a1 as CompanionHeartbeatResponseSchema, a2 as
|
|
2
|
+
import { P as PreviewMetadata } from './errors-bwLB4nUC.cjs';
|
|
3
|
+
export { A as ActiveAgent, a as ActiveAgentSchema, b as AgentConfig, c as AgentConfigValidationError, d as AgentContext, e as AgentError, f as AgentLoadError, g as AgentMetadata, h as AgentMetadataSchema, i as AgentNotFoundError, j as AgentrixContext, k as ApiServerAliveEventData, l as ApiServerAliveEventSchema, m as AppAliveEventData, n as AppAliveEventSchema, o as ApprovePrRequest, p as ApprovePrRequestSchema, q as ApprovePrResponse, r as ApprovePrResponseSchema, s as ArchiveTaskRequest, t as ArchiveTaskRequestSchema, u as ArchiveTaskResponse, v as ArchiveTaskResponseSchema, w as AskUserMessage, x as AskUserMessageSchema, y as AskUserOption, z as AskUserOptionSchema, B as AskUserQuestion, C as AskUserQuestionSchema, D as AskUserResponseMessage, E as AskUserResponseMessageSchema, F as AskUserResponseReason, G as AskUserResponseReasonSchema, H as AskUserResponseStatus, I as AskUserResponseStatusSchema, J as AssociateRepoEventData, K as AssociateRepoEventDataSchema, L as CancelTaskEventData, M as CancelTaskRequest, N as CancelTaskRequestSchema, O as CancelTaskResponse, Q as CancelTaskResponseSchema, R as ChangeTaskTitleEventData, S as ChangeTaskTitleEventSchema, T as ChatWorkersStatusRequestEventData, U as ChatWorkersStatusRequestSchema, V as ChatWorkersStatusResponseEventData, W as ChatWorkersStatusResponseSchema, X as ClaudeAgentConfig, Y as ClaudeConfigSchema, Z as CompanionHeartbeatMessage, _ as CompanionHeartbeatRequestData, $ as CompanionHeartbeatRequestSchema, a0 as CompanionHeartbeatResponseData, a1 as CompanionHeartbeatResponseSchema, a2 as CompanionInitRequestData, a3 as CompanionInitRequestSchema, a4 as CompanionInitResponseData, a5 as CompanionInitResponseSchema, a6 as CompanionReminderMessage, a7 as CreateMergeRequestRequest, a8 as CreateMergeRequestResponse, a9 as CreateMergeRequestResponseSchema, aa as CreateMergeRequestSchema, ab as CreateTaskEventData, ac as CreateTaskShareRequest, ad as CreateTaskShareResponse, ae as CreateTaskShareResponseSchema, af as CreateTaskShareSchema, ag as CreditExhaustedEventData, ah as CreditExhaustedEventSchema, ai as DaemonGitlabOperation, aj as DaemonGitlabOperationSchema, ak as DaemonGitlabRequestEventData, al as DaemonGitlabRequestSchema, am as DaemonGitlabResponseEventData, an as DaemonGitlabResponseSchema, ao as DeployAgentCompleteEventData, ap as DeployAgentCompleteEventSchema, aq as DeployAgentEventData, ar as DeployAgentEventSchema, as as EnsureIssueRootTaskRequest, at as EnsureIssueRootTaskRequestSchema, au as EnsureIssueRootTaskResponse, av as EnsureIssueRootTaskResponseSchema, aw as EventAckData, ax as EventAckSchema, ay as EventData, az as EventMap, aA as EventName, aB as EventSchemaMap, aC as FRAMEWORK_TYPES, aD as FillEventsRequest, aE as FillEventsRequestSchema, aF as FillEventsResponse, aG as FindTaskByAgentRequest, aH as FindTaskByAgentRequestSchema, aI as FindTaskByAgentResponse, aJ as FindTaskByAgentResponseSchema, aK as FrameworkNotSupportedError, aL as FrameworkType, aM as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, aO as HookFactory, aP as ListRecentTasksRequest, aQ as ListRecentTasksRequestSchema, aR as ListRecentTasksResponse, aS as ListRecentTasksResponseSchema, aT as ListSubTasksRequest, aU as ListSubTasksRequestSchema, aV as ListSubTasksResponse, aW as ListSubTasksResponseSchema, aX as ListTasksRequest, aY as ListTasksRequestSchema, aZ as ListTasksResponse, a_ as ListTasksResponseSchema, a$ as LoadAgentOptions, b0 as MachineAliveEventData, b1 as MachineAliveEventSchema, b2 as MachineRtcRequestEventData, b3 as MachineRtcRequestSchema, b4 as MachineRtcResponseEventData, b5 as MachineRtcResponseSchema, b6 as MergePullRequestAck, b7 as MergePullRequestEventData, b8 as MergePullRequestEventSchema, b9 as MergeRequestEventData, ba as MergeRequestEventSchema, bb as MissingAgentFileError, bc as PermissionResponseRequest, bd as PermissionResponseRequestSchema, be as PermissionResponseResponse, bf as PermissionResponseResponseSchema, bg as PrStateChangedData, bh as PreviewMetadataSchema, bi as PreviewMethod, bj as PreviewMethodSchema, bk as PreviewProjectType, bl as PreviewProjectTypeSchema, bm as ProjectDirectoryResponse, bn as ProjectDirectoryResponseSchema, bo as ProjectEntry, bp as ProjectEntrySchema, bq as QueryEventsRequest, br as QueryEventsRequestSchema, bs as QueryEventsResponse, bt as RecentTaskSummary, bu as RecentTaskSummarySchema, bv as RepositoryInitHookInput, bw as ResetTaskSessionEventData, bx as ResetTaskSessionSchema, by as ResumeTaskEventData, bz as ResumeTaskRequest, bA as ResumeTaskRequestSchema, bB as ResumeTaskResponse, bC as ResumeTaskResponseSchema, bD as RpcCallEventData, bE as RpcCallEventSchema, bF as RpcResponseData, bG as RpcResponseSchema, bH as RtcIceServer, bI as RtcIceServerSchema, bJ as RtcIceServersRequestEventData, bK as RtcIceServersRequestSchema, bL as RtcIceServersResponseEventData, bM as RtcIceServersResponseSchema, bN as RtcSignalEventData, bO as RtcSignalSchema, bP as SendMessageTarget, bQ as SendTaskMessageRequest, bR as SendTaskMessageRequestSchema, bS as SendTaskMessageResponse, bT as SendTaskMessageResponseSchema, bU as SeqSyncRequestEventData, bV as SeqSyncRequestEventDataSchema, bW as SeqSyncResponseEventData, bX as SeqSyncResponseEventDataSchema, bY as ShowModalEventData, bZ as ShowModalEventDataSchema, b_ as ShowModalRequest, b$ as ShowModalRequestSchema, c0 as ShowModalResponse, c1 as ShowModalResponseSchema, c2 as ShutdownMachineData, c3 as ShutdownMachineSchema, c4 as StartTaskRequest, c5 as StartTaskRequestSchema, c6 as StartTaskResponse, c7 as StartTaskResponseSchema, c8 as StopTaskEventData, c9 as StopTaskRequest, ca as StopTaskRequestSchema, cb as StopTaskResponse, cc as StopTaskResponseSchema, cd as StopTaskSchema, ce as SubTaskAskUserMessage, cf as SubTaskResultUpdatedEventData, cg as SubTaskResultUpdatedEventSchema, ch as SubTaskSummary, ci as SubTaskSummarySchema, cj as SystemMessageEventData, ck as SystemMessageSchema, cl as SystemMessageType, cm as TaskAgentInfo, cn as TaskAgentInfoSchema, co as TaskArtifactsStats, cp as TaskArtifactsStatsSchema, cq as TaskArtifactsSummary, cr as TaskArtifactsSummarySchema, cs as TaskEvent, ct as TaskInfoUpdateEventData, cu as TaskInfoUpdateEventDataSchema, cv as TaskItem, cw as TaskItemSchema, cx as TaskMessageEventData, cy as TaskMessagePayload, cz as TaskMessageSchema, cA as TaskSlashCommand, cB as TaskSlashCommandSchema, cC as TaskSlashCommandsUpdateEventData, cD as TaskSlashCommandsUpdateEventDataSchema, cE as TaskState, cF as TaskStateChangeEventData, cG as TaskStateChangeEventSchema, cH as TaskStoppedEventData, cI as TaskStoppedEventSchema, cJ as TaskTodo, cK as TaskTodoSchema, cL as UnarchiveTaskRequest, cM as UnarchiveTaskRequestSchema, cN as UnarchiveTaskResponse, cO as UnarchiveTaskResponseSchema, cP as UpdateAgentInfoEventData, cQ as UpdateAgentInfoEventSchema, cR as UpdateTaskAgentSessionIdEventData, cS as UpdateTaskAgentSessionIdEventSchema, cT as UpdateTaskTitleRequest, cU as UpdateTaskTitleRequestSchema, cV as UpdateTaskTitleResponse, cW as UpdateTaskTitleResponseSchema, cX as ValidationResult, cY as WorkerAliveEventData, cZ as WorkerAliveEventSchema, c_ as WorkerExitEventData, c$ as WorkerExitSchema, d0 as WorkerInitializedEventData, d1 as WorkerInitializedSchema, d2 as WorkerInitializingEventData, d3 as WorkerInitializingSchema, d4 as WorkerPermissionModeEventData, d5 as WorkerPermissionModeSchema, d6 as WorkerPermissionModeValue, d7 as WorkerPermissionModeValueSchema, d8 as WorkerReadyEventData, d9 as WorkerReadySchema, da as WorkerRunningEventData, db as WorkerRunningSchema, dc as WorkerStatusRequestEventData, dd as WorkerStatusRequestSchema, de as WorkerStatusSnapshot, df as WorkerStatusSnapshotSchema, dg as WorkerStatusValue, dh as WorkerStatusValueSchema, di as WorkerTaskEvent, dj as WorkspaceFileRequestEventData, dk as WorkspaceFileRequestSchema, dl as WorkspaceFileResponseEventData, dm as WorkspaceFileResponseSchema, dn as baseTaskSchema, dp as cancelTaskRequestSchema, dq as cancelTaskSchema, dr as createEventId, ds as createMergeRequestSchema, dt as createTaskSchema, du as getAgentContext, dv as isAskUserMessage, dw as isAskUserResponseMessage, dx as isCompanionHeartbeatMessage, dy as isCompanionReminderMessage, dz as isSDKMessage, dA as isSDKUserMessage, dB as isSubTaskAskUserMessage, dC as permissionResponseRequestSchema, dD as resumeTaskRequestSchema, dE as resumeTaskSchema, dF as setAgentContext, dG as startTaskSchema, dH as stopTaskRequestSchema, dI as workerTaskEvents } from './errors-bwLB4nUC.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
|
|
@@ -55,8 +55,8 @@ declare const FileStatsSchema: z.ZodObject<{
|
|
|
55
55
|
}, z.core.$strip>;
|
|
56
56
|
type FileStats = z.infer<typeof FileStatsSchema>;
|
|
57
57
|
declare const SenderTypeSchema: z.ZodEnum<{
|
|
58
|
-
system: "system";
|
|
59
58
|
human: "human";
|
|
59
|
+
system: "system";
|
|
60
60
|
agent: "agent";
|
|
61
61
|
}>;
|
|
62
62
|
type SenderType = z.infer<typeof SenderTypeSchema>;
|
|
@@ -1352,9 +1352,9 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1352
1352
|
*/
|
|
1353
1353
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1354
1354
|
ownerType: z.ZodEnum<{
|
|
1355
|
-
machine: "machine";
|
|
1356
1355
|
agent: "agent";
|
|
1357
1356
|
"draft-agent": "draft-agent";
|
|
1357
|
+
machine: "machine";
|
|
1358
1358
|
cloud: "cloud";
|
|
1359
1359
|
}>;
|
|
1360
1360
|
ownerId: z.ZodString;
|
|
@@ -1923,6 +1923,7 @@ type ListFilesResponse = z.infer<typeof ListFilesResponseSchema>;
|
|
|
1923
1923
|
*/
|
|
1924
1924
|
declare const RepositorySchema: z.ZodObject<{
|
|
1925
1925
|
id: z.ZodString;
|
|
1926
|
+
serverRepoId: z.ZodString;
|
|
1926
1927
|
owner: z.ZodString;
|
|
1927
1928
|
name: z.ZodString;
|
|
1928
1929
|
fullName: z.ZodString;
|
|
@@ -1941,6 +1942,7 @@ type Repository = z.infer<typeof RepositorySchema>;
|
|
|
1941
1942
|
declare const ListRepositoriesResponseSchema: z.ZodObject<{
|
|
1942
1943
|
repositories: z.ZodArray<z.ZodObject<{
|
|
1943
1944
|
id: z.ZodString;
|
|
1945
|
+
serverRepoId: z.ZodString;
|
|
1944
1946
|
owner: z.ZodString;
|
|
1945
1947
|
name: z.ZodString;
|
|
1946
1948
|
fullName: z.ZodString;
|
|
@@ -1960,6 +1962,7 @@ type ListRepositoriesResponse = z.infer<typeof ListRepositoriesResponseSchema>;
|
|
|
1960
1962
|
declare const GetRepositoryResponseSchema: z.ZodObject<{
|
|
1961
1963
|
repository: z.ZodObject<{
|
|
1962
1964
|
id: z.ZodString;
|
|
1965
|
+
serverRepoId: z.ZodString;
|
|
1963
1966
|
owner: z.ZodString;
|
|
1964
1967
|
name: z.ZodString;
|
|
1965
1968
|
fullName: z.ZodString;
|
|
@@ -3133,6 +3136,107 @@ declare const SearchContactCandidatesResponseSchema: z.ZodObject<{
|
|
|
3133
3136
|
}, z.core.$strip>;
|
|
3134
3137
|
type SearchContactCandidatesResponse = z.infer<typeof SearchContactCandidatesResponseSchema>;
|
|
3135
3138
|
|
|
3139
|
+
declare const UserInboxSubjectTypeSchema: z.ZodEnum<{
|
|
3140
|
+
task: "task";
|
|
3141
|
+
issue: "issue";
|
|
3142
|
+
reference: "reference";
|
|
3143
|
+
}>;
|
|
3144
|
+
type UserInboxSubjectType = z.infer<typeof UserInboxSubjectTypeSchema>;
|
|
3145
|
+
declare const UserInboxStatusSchema: z.ZodEnum<{
|
|
3146
|
+
needs_reply: "needs_reply";
|
|
3147
|
+
needs_review: "needs_review";
|
|
3148
|
+
}>;
|
|
3149
|
+
type UserInboxStatus = z.infer<typeof UserInboxStatusSchema>;
|
|
3150
|
+
declare const UserInboxItemSchema: z.ZodObject<{
|
|
3151
|
+
id: z.ZodString;
|
|
3152
|
+
userId: z.ZodString;
|
|
3153
|
+
repositoryId: z.ZodString;
|
|
3154
|
+
subjectType: z.ZodEnum<{
|
|
3155
|
+
task: "task";
|
|
3156
|
+
issue: "issue";
|
|
3157
|
+
reference: "reference";
|
|
3158
|
+
}>;
|
|
3159
|
+
subjectId: z.ZodString;
|
|
3160
|
+
targetSubjectType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3161
|
+
task: "task";
|
|
3162
|
+
issue: "issue";
|
|
3163
|
+
reference: "reference";
|
|
3164
|
+
}>>>;
|
|
3165
|
+
targetSubjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3166
|
+
status: z.ZodEnum<{
|
|
3167
|
+
needs_reply: "needs_reply";
|
|
3168
|
+
needs_review: "needs_review";
|
|
3169
|
+
}>;
|
|
3170
|
+
title: z.ZodString;
|
|
3171
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3172
|
+
isResolved: z.ZodBoolean;
|
|
3173
|
+
openedAt: z.ZodString;
|
|
3174
|
+
resolvedAt: z.ZodNullable<z.ZodString>;
|
|
3175
|
+
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3176
|
+
}, z.core.$strip>;
|
|
3177
|
+
type UserInboxItem = z.infer<typeof UserInboxItemSchema>;
|
|
3178
|
+
declare const ListUserInboxResponseSchema: z.ZodObject<{
|
|
3179
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3180
|
+
id: z.ZodString;
|
|
3181
|
+
userId: z.ZodString;
|
|
3182
|
+
repositoryId: z.ZodString;
|
|
3183
|
+
subjectType: z.ZodEnum<{
|
|
3184
|
+
task: "task";
|
|
3185
|
+
issue: "issue";
|
|
3186
|
+
reference: "reference";
|
|
3187
|
+
}>;
|
|
3188
|
+
subjectId: z.ZodString;
|
|
3189
|
+
targetSubjectType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3190
|
+
task: "task";
|
|
3191
|
+
issue: "issue";
|
|
3192
|
+
reference: "reference";
|
|
3193
|
+
}>>>;
|
|
3194
|
+
targetSubjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3195
|
+
status: z.ZodEnum<{
|
|
3196
|
+
needs_reply: "needs_reply";
|
|
3197
|
+
needs_review: "needs_review";
|
|
3198
|
+
}>;
|
|
3199
|
+
title: z.ZodString;
|
|
3200
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3201
|
+
isResolved: z.ZodBoolean;
|
|
3202
|
+
openedAt: z.ZodString;
|
|
3203
|
+
resolvedAt: z.ZodNullable<z.ZodString>;
|
|
3204
|
+
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3205
|
+
}, z.core.$strip>>;
|
|
3206
|
+
}, z.core.$strip>;
|
|
3207
|
+
type ListUserInboxResponse = z.infer<typeof ListUserInboxResponseSchema>;
|
|
3208
|
+
declare const ResolveUserInboxItemResponseSchema: z.ZodObject<{
|
|
3209
|
+
success: z.ZodBoolean;
|
|
3210
|
+
item: z.ZodObject<{
|
|
3211
|
+
id: z.ZodString;
|
|
3212
|
+
userId: z.ZodString;
|
|
3213
|
+
repositoryId: z.ZodString;
|
|
3214
|
+
subjectType: z.ZodEnum<{
|
|
3215
|
+
task: "task";
|
|
3216
|
+
issue: "issue";
|
|
3217
|
+
reference: "reference";
|
|
3218
|
+
}>;
|
|
3219
|
+
subjectId: z.ZodString;
|
|
3220
|
+
targetSubjectType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3221
|
+
task: "task";
|
|
3222
|
+
issue: "issue";
|
|
3223
|
+
reference: "reference";
|
|
3224
|
+
}>>>;
|
|
3225
|
+
targetSubjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3226
|
+
status: z.ZodEnum<{
|
|
3227
|
+
needs_reply: "needs_reply";
|
|
3228
|
+
needs_review: "needs_review";
|
|
3229
|
+
}>;
|
|
3230
|
+
title: z.ZodString;
|
|
3231
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3232
|
+
isResolved: z.ZodBoolean;
|
|
3233
|
+
openedAt: z.ZodString;
|
|
3234
|
+
resolvedAt: z.ZodNullable<z.ZodString>;
|
|
3235
|
+
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3236
|
+
}, z.core.$strip>;
|
|
3237
|
+
}, z.core.$strip>;
|
|
3238
|
+
type ResolveUserInboxItemResponse = z.infer<typeof ResolveUserInboxItemResponseSchema>;
|
|
3239
|
+
|
|
3136
3240
|
type ClientType = 'user' | 'worker' | 'machine';
|
|
3137
3241
|
interface AuthPayload {
|
|
3138
3242
|
token: string;
|
|
@@ -3391,5 +3495,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
3391
3495
|
*/
|
|
3392
3496
|
declare function decodeGitPath(rawPath: string): string;
|
|
3393
3497
|
|
|
3394
|
-
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, 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, 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, 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 };
|
|
3395
|
-
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, 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, 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, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
|
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 };
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { c as AgentConfigValidationError, d as AgentContext, e as AgentError, f as AgentLoadError, g as AgentMetadata, h as AgentMetadataSchema, i as AgentNotFoundError, j as AgentrixContext, X as ClaudeAgentConfig, Y as ClaudeConfigSchema,
|
|
1
|
+
import { a$ as LoadAgentOptions, b as AgentConfig, cX as ValidationResult, aL as FrameworkType } from './errors-bwLB4nUC.cjs';
|
|
2
|
+
export { c as AgentConfigValidationError, d as AgentContext, e as AgentError, f as AgentLoadError, g as AgentMetadata, h as AgentMetadataSchema, i as AgentNotFoundError, j as AgentrixContext, X as ClaudeAgentConfig, Y as ClaudeConfigSchema, aC as FRAMEWORK_TYPES, aK as FrameworkNotSupportedError, aO as HookFactory, bb as MissingAgentFileError, bv as RepositoryInitHookInput, du as getAgentContext, dF as setAgentContext } from './errors-bwLB4nUC.cjs';
|
|
3
3
|
import '@anthropic-ai/claude-agent-sdk';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|