@agentrix/shared 2.20.0 → 2.22.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.
|
@@ -15,6 +15,22 @@ declare const WorkerExecutionModeSchema: z.ZodEnum<{
|
|
|
15
15
|
oneshot: "oneshot";
|
|
16
16
|
}>;
|
|
17
17
|
declare function normalizeWorkerExecutionMode(value: unknown): WorkerExecutionMode;
|
|
18
|
+
declare const taskExecutionModes: readonly ["local", "cloud", "none"];
|
|
19
|
+
type TaskExecutionMode = (typeof taskExecutionModes)[number];
|
|
20
|
+
type TaskExecutionTarget = {
|
|
21
|
+
machineId?: string | null;
|
|
22
|
+
cloudId?: string | null;
|
|
23
|
+
};
|
|
24
|
+
declare function getTaskExecutionMode(target: TaskExecutionTarget): TaskExecutionMode;
|
|
25
|
+
declare function isCloudTaskExecution<T extends TaskExecutionTarget>(target: T): target is T & {
|
|
26
|
+
cloudId: string;
|
|
27
|
+
};
|
|
28
|
+
declare function isLocalTaskExecution<T extends TaskExecutionTarget>(target: T): target is T & {
|
|
29
|
+
machineId: string;
|
|
30
|
+
cloudId?: null | undefined;
|
|
31
|
+
};
|
|
32
|
+
declare function supportsTaskUserCwd(target: TaskExecutionTarget): boolean;
|
|
33
|
+
declare function getTaskExecutionMachineRouteId(target: TaskExecutionTarget): string | null;
|
|
18
34
|
declare const TaskTodoSchema: z.ZodObject<{
|
|
19
35
|
agentId: z.ZodString;
|
|
20
36
|
title: z.ZodString;
|
|
@@ -65,6 +81,7 @@ declare const StartTaskRequestSchema: z.ZodObject<{
|
|
|
65
81
|
title: z.ZodString;
|
|
66
82
|
instructions: z.ZodString;
|
|
67
83
|
}, z.core.$strip>>>;
|
|
84
|
+
supportedFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
68
85
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
69
86
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
70
87
|
branchName: z.ZodOptional<z.ZodString>;
|
|
@@ -101,6 +118,7 @@ declare const startTaskSchema: z.ZodObject<{
|
|
|
101
118
|
title: z.ZodString;
|
|
102
119
|
instructions: z.ZodString;
|
|
103
120
|
}, z.core.$strip>>>;
|
|
121
|
+
supportedFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
104
122
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
105
123
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
106
124
|
branchName: z.ZodOptional<z.ZodString>;
|
|
@@ -113,6 +131,7 @@ declare const StartTaskResponseSchema: z.ZodObject<{
|
|
|
113
131
|
chatId: z.ZodString;
|
|
114
132
|
agentId: z.ZodString;
|
|
115
133
|
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
134
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
116
135
|
userId: z.ZodString;
|
|
117
136
|
state: z.ZodString;
|
|
118
137
|
machineId: z.ZodNullable<z.ZodString>;
|
|
@@ -214,6 +233,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
214
233
|
rootTaskId: z.ZodNullable<z.ZodString>;
|
|
215
234
|
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
216
235
|
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
236
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
217
237
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
218
238
|
createdAt: z.ZodString;
|
|
219
239
|
updatedAt: z.ZodString;
|
|
@@ -290,6 +310,7 @@ declare const EnsureIssueRootTaskResponseSchema: z.ZodObject<{
|
|
|
290
310
|
rootTaskId: z.ZodNullable<z.ZodString>;
|
|
291
311
|
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
292
312
|
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
313
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
293
314
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
294
315
|
createdAt: z.ZodString;
|
|
295
316
|
updatedAt: z.ZodString;
|
|
@@ -380,6 +401,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
380
401
|
rootTaskId: z.ZodNullable<z.ZodString>;
|
|
381
402
|
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
382
403
|
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
404
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
383
405
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
384
406
|
createdAt: z.ZodString;
|
|
385
407
|
updatedAt: z.ZodString;
|
|
@@ -697,6 +719,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
697
719
|
rootTaskId: z.ZodNullable<z.ZodString>;
|
|
698
720
|
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
699
721
|
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
722
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
700
723
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
701
724
|
createdAt: z.ZodString;
|
|
702
725
|
updatedAt: z.ZodString;
|
|
@@ -783,6 +806,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
783
806
|
rootTaskId: z.ZodNullable<z.ZodString>;
|
|
784
807
|
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
785
808
|
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
809
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
786
810
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
787
811
|
createdAt: z.ZodString;
|
|
788
812
|
updatedAt: z.ZodString;
|
|
@@ -871,6 +895,7 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
871
895
|
rootTaskId: z.ZodNullable<z.ZodString>;
|
|
872
896
|
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
873
897
|
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
898
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
874
899
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
875
900
|
createdAt: z.ZodString;
|
|
876
901
|
updatedAt: z.ZodString;
|
|
@@ -902,6 +927,7 @@ declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
|
902
927
|
human: "human";
|
|
903
928
|
system: "system";
|
|
904
929
|
agent: "agent";
|
|
930
|
+
channel: "channel";
|
|
905
931
|
}>;
|
|
906
932
|
senderId: z.ZodString;
|
|
907
933
|
senderName: z.ZodString;
|
|
@@ -2002,6 +2028,7 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
2002
2028
|
title: z.ZodString;
|
|
2003
2029
|
instructions: z.ZodString;
|
|
2004
2030
|
}, z.core.$strip>>>;
|
|
2031
|
+
supportedFeatures: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2005
2032
|
taskType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2006
2033
|
chat: "chat";
|
|
2007
2034
|
work: "work";
|
|
@@ -2011,6 +2038,10 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
2011
2038
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2012
2039
|
agentGitUrl: z.ZodOptional<z.ZodString>;
|
|
2013
2040
|
agentGitSubDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2041
|
+
channelReplyTarget: z.ZodOptional<z.ZodObject<{
|
|
2042
|
+
channelId: z.ZodString;
|
|
2043
|
+
chatId: z.ZodString;
|
|
2044
|
+
}, z.core.$strip>>;
|
|
2014
2045
|
}, z.core.$strip>;
|
|
2015
2046
|
declare const createTaskSchema: z.ZodObject<{
|
|
2016
2047
|
eventId: z.ZodString;
|
|
@@ -2063,6 +2094,7 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
2063
2094
|
title: z.ZodString;
|
|
2064
2095
|
instructions: z.ZodString;
|
|
2065
2096
|
}, z.core.$strip>>>;
|
|
2097
|
+
supportedFeatures: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2066
2098
|
taskType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2067
2099
|
chat: "chat";
|
|
2068
2100
|
work: "work";
|
|
@@ -2072,6 +2104,10 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
2072
2104
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2073
2105
|
agentGitUrl: z.ZodOptional<z.ZodString>;
|
|
2074
2106
|
agentGitSubDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2107
|
+
channelReplyTarget: z.ZodOptional<z.ZodObject<{
|
|
2108
|
+
channelId: z.ZodString;
|
|
2109
|
+
chatId: z.ZodString;
|
|
2110
|
+
}, z.core.$strip>>;
|
|
2075
2111
|
event: z.ZodString;
|
|
2076
2112
|
eventData: z.ZodAny;
|
|
2077
2113
|
}, z.core.$strip>;
|
|
@@ -2127,6 +2163,7 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
2127
2163
|
title: z.ZodString;
|
|
2128
2164
|
instructions: z.ZodString;
|
|
2129
2165
|
}, z.core.$strip>>>;
|
|
2166
|
+
supportedFeatures: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2130
2167
|
taskType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2131
2168
|
chat: "chat";
|
|
2132
2169
|
work: "work";
|
|
@@ -2136,6 +2173,10 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
2136
2173
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2137
2174
|
agentGitUrl: z.ZodOptional<z.ZodString>;
|
|
2138
2175
|
agentGitSubDir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2176
|
+
channelReplyTarget: z.ZodOptional<z.ZodObject<{
|
|
2177
|
+
channelId: z.ZodString;
|
|
2178
|
+
chatId: z.ZodString;
|
|
2179
|
+
}, z.core.$strip>>;
|
|
2139
2180
|
agentSessionId: z.ZodString;
|
|
2140
2181
|
event: z.ZodString;
|
|
2141
2182
|
eventData: z.ZodAny;
|
|
@@ -2185,10 +2226,10 @@ type PreviewProjectType = z.infer<typeof PreviewProjectTypeSchema>;
|
|
|
2185
2226
|
* Preview rendering method
|
|
2186
2227
|
*/
|
|
2187
2228
|
declare const PreviewMethodSchema: z.ZodEnum<{
|
|
2229
|
+
none: "none";
|
|
2188
2230
|
simple: "simple";
|
|
2189
2231
|
bundled: "bundled";
|
|
2190
2232
|
gallery: "gallery";
|
|
2191
|
-
none: "none";
|
|
2192
2233
|
}>;
|
|
2193
2234
|
type PreviewMethod = z.infer<typeof PreviewMethodSchema>;
|
|
2194
2235
|
/**
|
|
@@ -2205,10 +2246,10 @@ declare const PreviewMetadataSchema: z.ZodObject<{
|
|
|
2205
2246
|
nextjs: "nextjs";
|
|
2206
2247
|
}>;
|
|
2207
2248
|
previewMethod: z.ZodEnum<{
|
|
2249
|
+
none: "none";
|
|
2208
2250
|
simple: "simple";
|
|
2209
2251
|
bundled: "bundled";
|
|
2210
2252
|
gallery: "gallery";
|
|
2211
|
-
none: "none";
|
|
2212
2253
|
}>;
|
|
2213
2254
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2214
2255
|
projectPath: z.ZodString;
|
|
@@ -2242,10 +2283,10 @@ declare const TaskArtifactsSummarySchema: z.ZodObject<{
|
|
|
2242
2283
|
nextjs: "nextjs";
|
|
2243
2284
|
}>;
|
|
2244
2285
|
previewMethod: z.ZodEnum<{
|
|
2286
|
+
none: "none";
|
|
2245
2287
|
simple: "simple";
|
|
2246
2288
|
bundled: "bundled";
|
|
2247
2289
|
gallery: "gallery";
|
|
2248
|
-
none: "none";
|
|
2249
2290
|
}>;
|
|
2250
2291
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2251
2292
|
projectPath: z.ZodString;
|
|
@@ -2276,6 +2317,7 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2276
2317
|
human: "human";
|
|
2277
2318
|
system: "system";
|
|
2278
2319
|
agent: "agent";
|
|
2320
|
+
channel: "channel";
|
|
2279
2321
|
}>;
|
|
2280
2322
|
senderId: z.ZodString;
|
|
2281
2323
|
senderName: z.ZodString;
|
|
@@ -2301,10 +2343,10 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2301
2343
|
nextjs: "nextjs";
|
|
2302
2344
|
}>;
|
|
2303
2345
|
previewMethod: z.ZodEnum<{
|
|
2346
|
+
none: "none";
|
|
2304
2347
|
simple: "simple";
|
|
2305
2348
|
bundled: "bundled";
|
|
2306
2349
|
gallery: "gallery";
|
|
2307
|
-
none: "none";
|
|
2308
2350
|
}>;
|
|
2309
2351
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2310
2352
|
projectPath: z.ZodString;
|
|
@@ -2314,6 +2356,10 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2314
2356
|
}, z.core.$strip>>;
|
|
2315
2357
|
}, z.core.$strip>>;
|
|
2316
2358
|
navigateToTaskId: z.ZodOptional<z.ZodString>;
|
|
2359
|
+
channelReplyTarget: z.ZodOptional<z.ZodObject<{
|
|
2360
|
+
channelId: z.ZodString;
|
|
2361
|
+
chatId: z.ZodString;
|
|
2362
|
+
}, z.core.$strip>>;
|
|
2317
2363
|
}, z.core.$strip>;
|
|
2318
2364
|
type TaskMessageEventData = z.infer<typeof TaskMessageSchema>;
|
|
2319
2365
|
declare const TaskModelUsageSchema: z.ZodObject<{
|
|
@@ -2575,10 +2621,10 @@ declare const SubTaskResultUpdatedEventSchema: z.ZodObject<{
|
|
|
2575
2621
|
nextjs: "nextjs";
|
|
2576
2622
|
}>;
|
|
2577
2623
|
previewMethod: z.ZodEnum<{
|
|
2624
|
+
none: "none";
|
|
2578
2625
|
simple: "simple";
|
|
2579
2626
|
bundled: "bundled";
|
|
2580
2627
|
gallery: "gallery";
|
|
2581
|
-
none: "none";
|
|
2582
2628
|
}>;
|
|
2583
2629
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2584
2630
|
projectPath: z.ZodString;
|
|
@@ -3038,6 +3084,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
3038
3084
|
rootTaskId: z.ZodNullable<z.ZodString>;
|
|
3039
3085
|
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
3040
3086
|
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
3087
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
3041
3088
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
3042
3089
|
createdAt: z.ZodString;
|
|
3043
3090
|
updatedAt: z.ZodString;
|
|
@@ -3717,5 +3764,5 @@ declare class MissingAgentFileError extends AgentError {
|
|
|
3717
3764
|
constructor(filePath: string);
|
|
3718
3765
|
}
|
|
3719
3766
|
|
|
3720
|
-
export {
|
|
3721
|
-
export type {
|
|
3767
|
+
export { ProjectEntrySchema as $, resumeTaskRequestSchema as B, ResumeTaskResponseSchema as C, DEFAULT_WORKER_EXECUTION_MODE as D, EnsureIssueRootTaskRequestSchema as E, CancelTaskRequestSchema as G, cancelTaskRequestSchema as I, CancelTaskResponseSchema as J, ListTasksRequestSchema as L, StopTaskRequestSchema as M, stopTaskRequestSchema as O, StopTaskResponseSchema as Q, ResumeTaskRequestSchema as R, StartTaskRequestSchema as S, PermissionResponseRequestSchema as V, permissionResponseRequestSchema as Y, PermissionResponseResponseSchema as Z, WorkerExecutionModeSchema as a, ProjectDirectoryResponseSchema as a1, QueryEventsRequestSchema as a3, FillEventsRequestSchema as a7, SendTaskMessageRequestSchema as aA, SendTaskMessageResponseSchema as aC, ShowModalRequestSchema as aE, ShowModalResponseSchema as aG, GetTaskSessionResponseSchema as aI, ListSubTasksRequestSchema as aK, SubTaskSummarySchema as aM, ListSubTasksResponseSchema as aO, ListRecentTasksRequestSchema as aQ, RecentTaskSummarySchema as aS, ListRecentTasksResponseSchema as aU, FindTaskByAgentRequestSchema as aW, FindTaskByAgentResponseSchema as aY, HiveListingTypeSchema as a_, CreateMergeRequestSchema as aa, createMergeRequestSchema as ac, CreateMergeRequestResponseSchema as ad, ApprovePrRequestSchema as af, ApprovePrResponseSchema as ah, CreateTaskShareSchema as aj, CreateTaskShareResponseSchema as al, ArchiveTaskRequestSchema as an, ArchiveTaskResponseSchema as ap, UnarchiveTaskRequestSchema as ar, UnarchiveTaskResponseSchema as at, UpdateTaskTitleRequestSchema as av, UpdateTaskTitleResponseSchema as ax, HiveAuthorTypeSchema as b0, HiveListingStatusSchema as b2, HiveSortSchema as b4, HiveListingSchema as b6, PublishToHiveRequestSchema as b8, HiveReviewListResponseSchema as bA, HiveCommentSchema as bC, CreateHiveCommentRequestSchema as bE, UpdateHiveCommentRequestSchema as bG, HiveCommentListResponseSchema as bI, HiveInstalledItemSchema as bK, HiveInstalledResponseSchema as bM, HiveMyListingsResponseSchema as bO, AskUserOptionSchema as bQ, AskUserQuestionSchema as bS, AskUserMessageSchema as bU, AskUserResponseStatusSchema as bW, AskUserResponseReasonSchema as bX, AskUserResponseMessageSchema as b_, PublishToHiveResponseSchema as ba, HiveListQuerySchema as bc, HiveListResponseSchema as be, UpdateHiveListingRequestSchema as bg, UpdateHiveVersionRequestSchema as bi, HiveInstallRequestSchema as bk, HiveInstallSchema as bm, HiveInstallResponseSchema as bo, RecordHiveInstallRequestSchema as bq, RecordHiveInstallResponseSchema as bs, HiveReviewSchema as bu, CreateHiveReviewRequestSchema as bw, UpdateHiveReviewRequestSchema as by, isLocalTaskExecution as c, TaskArtifactsStatsSchema as c$, TaskAgentInfoSchema as c4, isAskUserMessage as c6, isAskUserResponseMessage as c7, isCompanionHeartbeatMessage as c8, isCompanionReminderMessage as c9, WorkerExitSchema as cA, WorkerRunningSchema as cC, WorkerPermissionModeSchema as cE, WorkerStatusRequestSchema as cG, WorkerStatusValueSchema as cI, WorkerStatusSnapshotSchema as cK, ChatWorkersStatusRequestSchema as cM, ChatWorkersStatusResponseSchema as cO, ListModelsEventSchema as cQ, baseTaskSchema as cS, createTaskSchema as cT, resumeTaskSchema as cV, cancelTaskSchema as cX, StopTaskSchema as cZ, isSubTaskAskUserMessage as ca, isSDKMessage as cb, isSDKUserMessage as cc, createEventId as cd, EventAckSchema as ce, AppAliveEventSchema as cg, ApiServerAliveEventSchema as ci, MachineAliveEventSchema as ck, ShutdownMachineSchema as cm, WorkerInitializingSchema as co, WorkerInitializedSchema as cq, WorkerPermissionModeValueSchema as cs, WorkerReadySchema as cu, ActiveAgentSchema as cw, WorkerAliveEventSchema as cy, getTaskExecutionMachineRouteId as d, HivePublishEventSchema as d$, PreviewProjectTypeSchema as d1, PreviewMethodSchema as d3, PreviewMetadataSchema as d5, TaskArtifactsSummarySchema as d6, TaskMessageSchema as d8, WorkspaceFileRequestSchema as dA, WorkspaceFileResponseSchema as dC, UpdateTaskAgentSessionIdEventSchema as dE, TaskInfoUpdateEventDataSchema as dG, TaskSlashCommandSchema as dI, TaskSlashCommandsUpdateEventDataSchema as dK, MergeRequestEventSchema as dM, TaskStoppedEventSchema as dO, SubTaskResultUpdatedEventSchema as dQ, SubTaskAskUserEventSchema as dS, MergePullRequestEventSchema as dU, DeployAgentEventSchema as dX, DeployAgentCompleteEventSchema as dZ, TaskModelUsageSchema as da, TaskUsageReportEventSchema as dc, ShowModalEventDataSchema as df, ChangeTaskTitleEventSchema as dh, TaskStateChangeEventSchema as dj, CreditExhaustedEventSchema as dl, RtcIceServerSchema as dn, RtcIceServersRequestSchema as dq, RtcIceServersResponseSchema as ds, MachineRtcRequestSchema as du, MachineRtcResponseSchema as dw, RtcSignalSchema as dy, TaskTodoSchema as e, AgentMetadataSchema as e$, HivePublishCompleteEventSchema as e1, HiveInstallEventSchema as e3, HiveInstallCompleteEventSchema as e5, AssociateRepoEventDataSchema as e7, UpdateAgentInfoEventSchema as e8, SeqSyncResponseEventDataSchema as eB, EventSchemaMap as eF, workerTaskEvents as eH, RpcCallEventSchema as eI, MachineRpcCallEventSchema as eK, RpcResponseSchema as eM, setAgentContext as eQ, getAgentContext as eR, FRAMEWORK_TYPES as e_, SystemMessageSchema as ed, DaemonGitlabOperationSchema as ef, DaemonGitlabRequestSchema as eh, DaemonGitlabResponseSchema as ej, RepositoryInboxProviderSchema as el, RepositoryInboxWebhookSchema as em, CompanionHeartbeatRequestSchema as eo, CompanionHeartbeatResponseSchema as eq, CompanionInitRequestSchema as es, CompanionInitResponseSchema as eu, ResetTaskSessionSchema as ew, SeqSyncRequestEventDataSchema as ez, ClaudeConfigSchema as f0, AgentError as f1, AgentNotFoundError as f2, AgentConfigValidationError as f3, FrameworkNotSupportedError as f4, AgentLoadError as f5, MissingAgentFileError as f6, getTaskExecutionMode as g, TaskUsageSummarySchema as h, isCloudTaskExecution as i, startTaskSchema as l, StartTaskResponseSchema as m, normalizeWorkerExecutionMode as n, TaskItemSchema as q, supportsTaskUserCwd as s, taskExecutionModes as t, EnsureIssueRootTaskResponseSchema as u, workerExecutionModes as w, ListTasksResponseSchema as y };
|
|
3768
|
+
export type { ResumeTaskRequest as A, ResumeTaskResponse as F, CancelTaskRequest as H, CancelTaskResponse as K, StopTaskRequest as N, PreviewMetadata as P, TaskExecutionMode as T, StopTaskResponse as U, WorkerExecutionMode as W, PermissionResponseRequest as X, PermissionResponseResponse as _, HiveListingType as a$, ProjectEntry as a0, ProjectDirectoryResponse as a2, QueryEventsRequest as a4, TaskEvent as a5, QueryEventsResponse as a6, FillEventsRequest as a8, FillEventsResponse as a9, SendTaskMessageRequest as aB, SendTaskMessageResponse as aD, ShowModalRequest as aF, ShowModalResponse as aH, GetTaskSessionResponse as aJ, ListSubTasksRequest as aL, SubTaskSummary as aN, ListSubTasksResponse as aP, ListRecentTasksRequest as aR, RecentTaskSummary as aT, ListRecentTasksResponse as aV, FindTaskByAgentRequest as aX, FindTaskByAgentResponse as aZ, CreateMergeRequestRequest as ab, CreateMergeRequestResponse as ae, ApprovePrRequest as ag, ApprovePrResponse as ai, CreateTaskShareRequest as ak, CreateTaskShareResponse as am, ArchiveTaskRequest as ao, ArchiveTaskResponse as aq, UnarchiveTaskRequest as as, UnarchiveTaskResponse as au, UpdateTaskTitleRequest as aw, UpdateTaskTitleResponse as ay, SendMessageTarget as az, TaskExecutionTarget as b, AskUserResponseMessage as b$, HiveAuthorType as b1, HiveListingStatus as b3, HiveSort as b5, HiveListing as b7, PublishToHiveRequest as b9, HiveReviewListResponse as bB, HiveComment as bD, CreateHiveCommentRequest as bF, UpdateHiveCommentRequest as bH, HiveCommentListResponse as bJ, HiveInstalledItem as bL, HiveInstalledResponse as bN, HiveMyListingsResponse as bP, AskUserOption as bR, AskUserQuestion as bT, AskUserMessage as bV, AskUserResponseStatus as bY, AskUserResponseReason as bZ, PublishToHiveResponse as bb, HiveListQuery as bd, HiveListResponse as bf, UpdateHiveListingRequest as bh, UpdateHiveVersionRequest as bj, HiveInstallRequest as bl, HiveInstall as bn, HiveInstallResponse as bp, RecordHiveInstallRequest as br, RecordHiveInstallResponse as bt, HiveReview as bv, CreateHiveReviewRequest as bx, UpdateHiveReviewRequest as bz, CompanionHeartbeatMessage as c0, CompanionReminderMessage as c1, SubTaskAskUserMessage as c2, TaskMessagePayload as c3, TaskAgentInfo as c5, WorkerExitEventData as cB, WorkerRunningEventData as cD, WorkerPermissionModeEventData as cF, WorkerStatusRequestEventData as cH, WorkerStatusValue as cJ, WorkerStatusSnapshot as cL, ChatWorkersStatusRequestEventData as cN, ChatWorkersStatusResponseEventData as cP, ListModelsEventData as cR, CreateTaskEventData as cU, ResumeTaskEventData as cW, CancelTaskEventData as cY, StopTaskEventData as c_, EventAckData as cf, AppAliveEventData as ch, ApiServerAliveEventData as cj, MachineAliveEventData as cl, ShutdownMachineData as cn, WorkerInitializingEventData as cp, WorkerInitializedEventData as cr, WorkerPermissionModeValue as ct, WorkerReadyEventData as cv, ActiveAgent as cx, WorkerAliveEventData as cz, TaskArtifactsStats as d0, PreviewProjectType as d2, PreviewMethod as d4, TaskArtifactsSummary as d7, TaskMessageEventData as d9, WorkspaceFileRequestEventData as dB, WorkspaceFileResponseEventData as dD, UpdateTaskAgentSessionIdEventData as dF, TaskInfoUpdateEventData as dH, TaskSlashCommand as dJ, TaskSlashCommandsUpdateEventData as dL, MergeRequestEventData as dN, TaskStoppedEventData as dP, SubTaskResultUpdatedEventData as dR, SubTaskAskUserEventData as dT, MergePullRequestEventData as dV, MergePullRequestAck as dW, DeployAgentEventData as dY, DeployAgentCompleteEventData as d_, TaskModelUsage as db, TaskUsageReportEventData as dd, TaskState as de, ShowModalEventData as dg, ChangeTaskTitleEventData as di, TaskStateChangeEventData as dk, CreditExhaustedEventData as dm, RtcIceServer as dp, RtcIceServersRequestEventData as dr, RtcIceServersResponseEventData as dt, MachineRtcRequestEventData as dv, MachineRtcResponseEventData as dx, RtcSignalEventData as dz, HivePublishEventData as e0, HivePublishCompleteEventData as e2, HiveInstallEventData as e4, HiveInstallCompleteEventData as e6, UpdateAgentInfoEventData as e9, SeqSyncRequestEventData as eA, SeqSyncResponseEventData as eC, EventMap as eD, EventName as eE, WorkerTaskEvent as eG, RpcCallEventData as eJ, MachineRpcCallEventData as eL, RpcResponseData as eN, AgentContext as eO, AgentrixContext as eP, FrameworkType as eS, AgentMetadata as eT, ClaudeAgentConfig as eU, AgentConfig as eV, ValidationResult as eW, LoadAgentOptions as eX, RepositoryInitHookInput as eY, HookFactory as eZ, AssociateRepoEventData as ea, SystemMessageType as eb, PrStateChangedData as ec, SystemMessageEventData as ee, DaemonGitlabOperation as eg, DaemonGitlabRequestEventData as ei, DaemonGitlabResponseEventData as ek, RepositoryInboxWebhookEventData as en, CompanionHeartbeatRequestData as ep, CompanionHeartbeatResponseData as er, CompanionInitRequestData as et, CompanionInitResponseData as ev, ResetTaskSessionEventData as ex, EventData as ey, TaskTodo as f, TaskUsageSummary as j, StartTaskRequest as k, StartTaskResponse as o, EnsureIssueRootTaskRequest as p, TaskItem as r, EnsureIssueRootTaskResponse as v, ListTasksRequest as x, ListTasksResponse as z };
|
package/dist/index.cjs
CHANGED
|
@@ -48,7 +48,7 @@ const FileStatsSchema = zod.z.object({
|
|
|
48
48
|
insertions: zod.z.number(),
|
|
49
49
|
deletions: zod.z.number()
|
|
50
50
|
});
|
|
51
|
-
const SenderTypeSchema = zod.z.enum(["human", "system", "agent"]);
|
|
51
|
+
const SenderTypeSchema = zod.z.enum(["human", "system", "agent", "channel"]);
|
|
52
52
|
|
|
53
53
|
const UserBasicInfoSchema = zod.z.object({
|
|
54
54
|
id: IdSchema,
|
|
@@ -261,6 +261,27 @@ function normalizeWorkerExecutionMode(value) {
|
|
|
261
261
|
const parsed = WorkerExecutionModeSchema.safeParse(value);
|
|
262
262
|
return parsed.success ? parsed.data : DEFAULT_WORKER_EXECUTION_MODE;
|
|
263
263
|
}
|
|
264
|
+
const taskExecutionModes = ["local", "cloud", "none"];
|
|
265
|
+
function getTaskExecutionMode(target) {
|
|
266
|
+
if (target.cloudId) return "cloud";
|
|
267
|
+
if (target.machineId) return "local";
|
|
268
|
+
return "none";
|
|
269
|
+
}
|
|
270
|
+
function isCloudTaskExecution(target) {
|
|
271
|
+
return getTaskExecutionMode(target) === "cloud";
|
|
272
|
+
}
|
|
273
|
+
function isLocalTaskExecution(target) {
|
|
274
|
+
return getTaskExecutionMode(target) === "local";
|
|
275
|
+
}
|
|
276
|
+
function supportsTaskUserCwd(target) {
|
|
277
|
+
return isLocalTaskExecution(target);
|
|
278
|
+
}
|
|
279
|
+
function getTaskExecutionMachineRouteId(target) {
|
|
280
|
+
if (target.cloudId) {
|
|
281
|
+
return target.machineId ? `${target.cloudId}:${target.machineId}` : null;
|
|
282
|
+
}
|
|
283
|
+
return target.machineId ?? null;
|
|
284
|
+
}
|
|
264
285
|
const TaskTodoSchema = zod.z.object({
|
|
265
286
|
agentId: zod.z.string(),
|
|
266
287
|
title: zod.z.string().min(1).max(200),
|
|
@@ -293,7 +314,7 @@ const StartTaskRequestSchema = zod.z.object({
|
|
|
293
314
|
forceUserCwd: zod.z.boolean().optional(),
|
|
294
315
|
// For local mode: force using user-provided cwd (no worktree)
|
|
295
316
|
machineId: zod.z.string().optional(),
|
|
296
|
-
// For local mode: specific machine
|
|
317
|
+
// For local mode: specific machine; for persisted cloud tasks: selected deviceId
|
|
297
318
|
cloudId: zod.z.string().optional(),
|
|
298
319
|
// For cloud mode: cloud ID
|
|
299
320
|
model: zod.z.string().min(1).optional(),
|
|
@@ -317,6 +338,7 @@ const StartTaskRequestSchema = zod.z.object({
|
|
|
317
338
|
// Source task ID for independent tasks (inherits encryption keys without parent binding)
|
|
318
339
|
todos: zod.z.array(TaskTodoSchema).optional(),
|
|
319
340
|
// Structured todos for group tasks
|
|
341
|
+
supportedFeatures: zod.z.array(zod.z.string()).optional(),
|
|
320
342
|
// Independent task mode (agent-initiated, no parent binding)
|
|
321
343
|
autoNavigate: zod.z.boolean().optional(),
|
|
322
344
|
// Auto-navigate App UI to this task after creation
|
|
@@ -349,9 +371,11 @@ const StartTaskResponseSchema = zod.z.object({
|
|
|
349
371
|
chatId: IdSchema,
|
|
350
372
|
agentId: zod.z.string(),
|
|
351
373
|
taskAgentIds: zod.z.array(zod.z.string()),
|
|
374
|
+
supportedFeatures: zod.z.array(zod.z.string()),
|
|
352
375
|
userId: zod.z.string(),
|
|
353
376
|
state: zod.z.string(),
|
|
354
377
|
machineId: zod.z.string().nullable(),
|
|
378
|
+
// LocalMachine ID, or selected cloud deviceId when cloudId is set
|
|
355
379
|
cloudId: zod.z.string().nullable(),
|
|
356
380
|
model: zod.z.string().nullable().optional(),
|
|
357
381
|
repositoryId: zod.z.string().nullable(),
|
|
@@ -384,6 +408,7 @@ const TaskItemSchema = zod.z.object({
|
|
|
384
408
|
// Worker execution status (null = disconnected)
|
|
385
409
|
agentId: zod.z.string(),
|
|
386
410
|
machineId: zod.z.string().nullable(),
|
|
411
|
+
// LocalMachine ID, or selected cloud deviceId when cloudId is set
|
|
387
412
|
cloudId: zod.z.string().nullable(),
|
|
388
413
|
model: zod.z.string().nullable().optional(),
|
|
389
414
|
repositoryId: zod.z.string().nullable(),
|
|
@@ -429,6 +454,7 @@ const TaskItemSchema = zod.z.object({
|
|
|
429
454
|
// Direct parent task ID. Root task has parentTaskId = null
|
|
430
455
|
taskAgentIds: zod.z.array(zod.z.string()),
|
|
431
456
|
// Persisted agent IDs for this task
|
|
457
|
+
supportedFeatures: zod.z.array(zod.z.string()),
|
|
432
458
|
autoNavigate: zod.z.boolean().optional(),
|
|
433
459
|
// Runtime-only: auto-navigate App UI to this task (not persisted)
|
|
434
460
|
createdAt: zod.z.string(),
|
|
@@ -1158,8 +1184,9 @@ const GitHubIssueSchema = zod.z.object({
|
|
|
1158
1184
|
assigneeIdentities: zod.z.array(zod.z.lazy(() => RepositoryActorIdentitySchema)).optional()
|
|
1159
1185
|
});
|
|
1160
1186
|
const ListIssuesQuerySchema = zod.z.object({
|
|
1161
|
-
q: zod.z.string().optional()
|
|
1187
|
+
q: zod.z.string().optional(),
|
|
1162
1188
|
// Search query
|
|
1189
|
+
state: zod.z.enum(["open", "closed", "all"]).optional()
|
|
1163
1190
|
});
|
|
1164
1191
|
const ListIssuesResponseSchema = zod.z.object({
|
|
1165
1192
|
issues: zod.z.array(GitHubIssueListItemSchema),
|
|
@@ -1170,7 +1197,8 @@ const RepositoryReferenceListItemSchema = zod.z.object({
|
|
|
1170
1197
|
kind: RepositoryReferenceKindSchema,
|
|
1171
1198
|
number: zod.z.number(),
|
|
1172
1199
|
title: zod.z.string(),
|
|
1173
|
-
html_url: zod.z.string().url()
|
|
1200
|
+
html_url: zod.z.string().url(),
|
|
1201
|
+
state: zod.z.enum(["open", "closed", "merged"]).optional()
|
|
1174
1202
|
});
|
|
1175
1203
|
const RepositoryActorIdentitySchema = zod.z.object({
|
|
1176
1204
|
providerUserId: zod.z.string().optional(),
|
|
@@ -1215,7 +1243,8 @@ const RepositoryReferenceCommentsResponseSchema = zod.z.object({
|
|
|
1215
1243
|
comments: zod.z.array(RepositoryReferenceCommentSchema)
|
|
1216
1244
|
});
|
|
1217
1245
|
const ListReferencesQuerySchema = zod.z.object({
|
|
1218
|
-
q: zod.z.string().optional()
|
|
1246
|
+
q: zod.z.string().optional(),
|
|
1247
|
+
state: zod.z.enum(["open", "closed", "merged", "all"]).optional()
|
|
1219
1248
|
});
|
|
1220
1249
|
const GetReferenceQuerySchema = zod.z.object({
|
|
1221
1250
|
kind: RepositoryReferenceKindSchema
|
|
@@ -2540,6 +2569,8 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
2540
2569
|
// Agents available for this task
|
|
2541
2570
|
todos: zod.z.array(TaskTodoSchema).optional(),
|
|
2542
2571
|
// Structured todos for group tasks
|
|
2572
|
+
supportedFeatures: zod.z.array(zod.z.string()).optional().default([]),
|
|
2573
|
+
// Feature flags enabled for this task
|
|
2543
2574
|
taskType: zod.z.enum(["chat", "work", "shadow"]).optional().default("work"),
|
|
2544
2575
|
// Task type: 'chat' for main chat, 'work' for task execution, 'shadow' for companion shadow
|
|
2545
2576
|
customTitle: zod.z.string().min(1).max(200).optional(),
|
|
@@ -2548,8 +2579,13 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
2548
2579
|
// Optional structured output schema for the runner
|
|
2549
2580
|
agentGitUrl: zod.z.string().optional(),
|
|
2550
2581
|
// Agent git clone URL for auto-install on first run
|
|
2551
|
-
agentGitSubDir: zod.z.string().nullable().optional()
|
|
2582
|
+
agentGitSubDir: zod.z.string().nullable().optional(),
|
|
2552
2583
|
// Agent subdirectory within the git repo
|
|
2584
|
+
channelReplyTarget: zod.z.object({
|
|
2585
|
+
channelId: zod.z.string(),
|
|
2586
|
+
chatId: zod.z.string()
|
|
2587
|
+
}).optional()
|
|
2588
|
+
// Local daemon channel target for external-channel task replies
|
|
2553
2589
|
});
|
|
2554
2590
|
const createTaskSchema = baseTaskSchema.extend({
|
|
2555
2591
|
event: zod.z.string(),
|
|
@@ -2638,7 +2674,12 @@ const TaskMessageSchema = EventBaseSchema.extend({
|
|
|
2638
2674
|
artifacts: TaskArtifactsSummarySchema.optional(),
|
|
2639
2675
|
// Navigation hint: tells App to navigate to the specified task after rendering this message
|
|
2640
2676
|
// Sent in plaintext (outside encryption) so App can act on it before decryption
|
|
2641
|
-
navigateToTaskId: zod.z.string().optional()
|
|
2677
|
+
navigateToTaskId: zod.z.string().optional(),
|
|
2678
|
+
channelReplyTarget: zod.z.object({
|
|
2679
|
+
channelId: zod.z.string(),
|
|
2680
|
+
chatId: zod.z.string()
|
|
2681
|
+
}).optional()
|
|
2682
|
+
// Local daemon channel target for external-channel task replies
|
|
2642
2683
|
}).refine(
|
|
2643
2684
|
(data) => {
|
|
2644
2685
|
return !!data.message !== !!data.encryptedMessage;
|
|
@@ -4103,10 +4144,14 @@ exports.encryptWithEphemeralKey = encryptWithEphemeralKey;
|
|
|
4103
4144
|
exports.generateAESKey = generateAESKey;
|
|
4104
4145
|
exports.generateAESKeyBase64 = generateAESKeyBase64;
|
|
4105
4146
|
exports.getRandomBytes = getRandomBytes;
|
|
4147
|
+
exports.getTaskExecutionMachineRouteId = getTaskExecutionMachineRouteId;
|
|
4148
|
+
exports.getTaskExecutionMode = getTaskExecutionMode;
|
|
4106
4149
|
exports.isAskUserMessage = isAskUserMessage;
|
|
4107
4150
|
exports.isAskUserResponseMessage = isAskUserResponseMessage;
|
|
4151
|
+
exports.isCloudTaskExecution = isCloudTaskExecution;
|
|
4108
4152
|
exports.isCompanionHeartbeatMessage = isCompanionHeartbeatMessage;
|
|
4109
4153
|
exports.isCompanionReminderMessage = isCompanionReminderMessage;
|
|
4154
|
+
exports.isLocalTaskExecution = isLocalTaskExecution;
|
|
4110
4155
|
exports.isSDKMessage = isSDKMessage;
|
|
4111
4156
|
exports.isSDKUserMessage = isSDKUserMessage;
|
|
4112
4157
|
exports.isSubTaskAskUserMessage = isSubTaskAskUserMessage;
|
|
@@ -4118,6 +4163,8 @@ exports.resumeTaskSchema = resumeTaskSchema;
|
|
|
4118
4163
|
exports.splitRtcChunkFrame = splitRtcChunkFrame;
|
|
4119
4164
|
exports.startTaskSchema = startTaskSchema;
|
|
4120
4165
|
exports.stopTaskRequestSchema = stopTaskRequestSchema;
|
|
4166
|
+
exports.supportsTaskUserCwd = supportsTaskUserCwd;
|
|
4167
|
+
exports.taskExecutionModes = taskExecutionModes;
|
|
4121
4168
|
exports.userAuth = userAuth;
|
|
4122
4169
|
exports.workerAuth = workerAuth;
|
|
4123
4170
|
exports.workerExecutionModes = workerExecutionModes;
|
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 { cp as ActiveAgent, co as ActiveAgentSchema, eN as AgentConfig, eX as AgentConfigValidationError, eG as AgentContext, eV as AgentError, eZ as AgentLoadError, eL as AgentMetadata, eT as AgentMetadataSchema, eW as AgentNotFoundError, eH as AgentrixContext, cb as ApiServerAliveEventData, ca as ApiServerAliveEventSchema, c9 as AppAliveEventData, c8 as AppAliveEventSchema, a8 as ApprovePrRequest, a7 as ApprovePrRequestSchema, aa as ApprovePrResponse, a9 as ApprovePrResponseSchema, ag as ArchiveTaskRequest, af as ArchiveTaskRequestSchema, ai as ArchiveTaskResponse, ah as ArchiveTaskResponseSchema, bN as AskUserMessage, bM as AskUserMessageSchema, bJ as AskUserOption, bI as AskUserOptionSchema, bL as AskUserQuestion, bK as AskUserQuestionSchema, bT as AskUserResponseMessage, bS as AskUserResponseMessageSchema, bR as AskUserResponseReason, bP as AskUserResponseReasonSchema, bQ as AskUserResponseStatus, bO as AskUserResponseStatusSchema, e2 as AssociateRepoEventData, d$ as AssociateRepoEventDataSchema, cQ as CancelTaskEventData, v as CancelTaskRequest, C as CancelTaskRequestSchema, z as CancelTaskResponse, y as CancelTaskResponseSchema, da as ChangeTaskTitleEventData, d9 as ChangeTaskTitleEventSchema, cF as ChatWorkersStatusRequestEventData, cE as ChatWorkersStatusRequestSchema, cH as ChatWorkersStatusResponseEventData, cG as ChatWorkersStatusResponseSchema, eM as ClaudeAgentConfig, eU as ClaudeConfigSchema, bU as CompanionHeartbeatMessage, eh as CompanionHeartbeatRequestData, eg as CompanionHeartbeatRequestSchema, ej as CompanionHeartbeatResponseData, ei as CompanionHeartbeatResponseSchema, el as CompanionInitRequestData, ek as CompanionInitRequestSchema, en as CompanionInitResponseData, em as CompanionInitResponseSchema, bV as CompanionReminderMessage, bx as CreateHiveCommentRequest, bw as CreateHiveCommentRequestSchema, bp as CreateHiveReviewRequest, bo as CreateHiveReviewRequestSchema, a3 as CreateMergeRequestRequest, a6 as CreateMergeRequestResponse, a5 as CreateMergeRequestResponseSchema, a2 as CreateMergeRequestSchema, cM as CreateTaskEventData, ac as CreateTaskShareRequest, ae as CreateTaskShareResponse, ad as CreateTaskShareResponseSchema, ab as CreateTaskShareSchema, de as CreditExhaustedEventData, dd as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, e8 as DaemonGitlabOperation, e7 as DaemonGitlabOperationSchema, ea as DaemonGitlabRequestEventData, e9 as DaemonGitlabRequestSchema, ec as DaemonGitlabResponseEventData, eb as DaemonGitlabResponseSchema, dS as DeployAgentCompleteEventData, dR as DeployAgentCompleteEventSchema, dQ as DeployAgentEventData, dP as DeployAgentEventSchema, h as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, l as EnsureIssueRootTaskResponse, k as EnsureIssueRootTaskResponseSchema, c7 as EventAckData, c6 as EventAckSchema, eq as EventData, ev as EventMap, ew as EventName, ex as EventSchemaMap, eS as FRAMEWORK_TYPES, a0 as FillEventsRequest, $ as FillEventsRequestSchema, a1 as FillEventsResponse, aP as FindTaskByAgentRequest, aO as FindTaskByAgentRequestSchema, aR as FindTaskByAgentResponse, aQ as FindTaskByAgentResponseSchema, eY as FrameworkNotSupportedError, eK as FrameworkType, aB as GetTaskSessionResponse, aA as GetTaskSessionResponseSchema, aV as HiveAuthorType, aU as HiveAuthorTypeSchema, bv as HiveComment, bB as HiveCommentListResponse, bA as HiveCommentListResponseSchema, bu as HiveCommentSchema, bf as HiveInstall, d_ as HiveInstallCompleteEventData, dZ as HiveInstallCompleteEventSchema, dY as HiveInstallEventData, dX as HiveInstallEventSchema, bd as HiveInstallRequest, bc as HiveInstallRequestSchema, bh as HiveInstallResponse, bg as HiveInstallResponseSchema, be as HiveInstallSchema, bD as HiveInstalledItem, bC as HiveInstalledItemSchema, bF as HiveInstalledResponse, bE as HiveInstalledResponseSchema, b5 as HiveListQuery, b4 as HiveListQuerySchema, b7 as HiveListResponse, b6 as HiveListResponseSchema, a$ as HiveListing, a_ as HiveListingSchema, aX as HiveListingStatus, aW as HiveListingStatusSchema, aT as HiveListingType, aS as HiveListingTypeSchema, bH as HiveMyListingsResponse, bG as HiveMyListingsResponseSchema, dW as HivePublishCompleteEventData, dV as HivePublishCompleteEventSchema, dU as HivePublishEventData, dT as HivePublishEventSchema, bn as HiveReview, bt as HiveReviewListResponse, bs as HiveReviewListResponseSchema, bm as HiveReviewSchema, aZ as HiveSort, aY as HiveSortSchema, eR as HookFactory, cJ as ListModelsEventData, cI as ListModelsEventSchema, aJ as ListRecentTasksRequest, aI as ListRecentTasksRequestSchema, aN as ListRecentTasksResponse, aM as ListRecentTasksResponseSchema, aD as ListSubTasksRequest, aC as ListSubTasksRequestSchema, aH as ListSubTasksResponse, aG as ListSubTasksResponseSchema, m as ListTasksRequest, L as ListTasksRequestSchema, p as ListTasksResponse, o as ListTasksResponseSchema, eP as LoadAgentOptions, cd as MachineAliveEventData, cc as MachineAliveEventSchema, eD as MachineRpcCallEventData, eC as MachineRpcCallEventSchema, dm as MachineRtcRequestEventData, dl as MachineRtcRequestSchema, dp as MachineRtcResponseEventData, dn as MachineRtcResponseSchema, dO as MergePullRequestAck, dN as MergePullRequestEventData, dM as MergePullRequestEventSchema, dF as MergeRequestEventData, dE as MergeRequestEventSchema, e_ as MissingAgentFileError, J as PermissionResponseRequest, I as PermissionResponseRequestSchema, N as PermissionResponseResponse, M as PermissionResponseResponseSchema, e4 as PrStateChangedData, cZ as PreviewMetadataSchema, cY as PreviewMethod, cX as PreviewMethodSchema, cW as PreviewProjectType, cV as PreviewProjectTypeSchema, V as ProjectDirectoryResponse, U as ProjectDirectoryResponseSchema, Q as ProjectEntry, O as ProjectEntrySchema, b1 as PublishToHiveRequest, b0 as PublishToHiveRequestSchema, b3 as PublishToHiveResponse, b2 as PublishToHiveResponseSchema, Y as QueryEventsRequest, X as QueryEventsRequestSchema, _ as QueryEventsResponse, aL as RecentTaskSummary, aK as RecentTaskSummarySchema, bj as RecordHiveInstallRequest, bi as RecordHiveInstallRequestSchema, bl as RecordHiveInstallResponse, bk as RecordHiveInstallResponseSchema, ed as RepositoryInboxProviderSchema, ef as RepositoryInboxWebhookEventData, ee as RepositoryInboxWebhookSchema, eQ as RepositoryInitHookInput, ep as ResetTaskSessionEventData, eo as ResetTaskSessionSchema, cO as ResumeTaskEventData, q as ResumeTaskRequest, R as ResumeTaskRequestSchema, u as ResumeTaskResponse, t as ResumeTaskResponseSchema, eB as RpcCallEventData, eA as RpcCallEventSchema, eF as RpcResponseData, eE as RpcResponseSchema, dg as RtcIceServer, df as RtcIceServerSchema, di as RtcIceServersRequestEventData, dh as RtcIceServersRequestSchema, dk as RtcIceServersResponseEventData, dj as RtcIceServersResponseSchema, dr as RtcSignalEventData, dq as RtcSignalSchema, ar as SendMessageTarget, at as SendTaskMessageRequest, as as SendTaskMessageRequestSchema, av as SendTaskMessageResponse, au as SendTaskMessageResponseSchema, es as SeqSyncRequestEventData, er as SeqSyncRequestEventDataSchema, eu as SeqSyncResponseEventData, et as SeqSyncResponseEventDataSchema, d8 as ShowModalEventData, d7 as ShowModalEventDataSchema, ax as ShowModalRequest, aw as ShowModalRequestSchema, az as ShowModalResponse, ay as ShowModalResponseSchema, cf as ShutdownMachineData, ce as ShutdownMachineSchema, e as StartTaskRequest, S as StartTaskRequestSchema, g as StartTaskResponse, f as StartTaskResponseSchema, cS as StopTaskEventData, B as StopTaskRequest, A as StopTaskRequestSchema, H as StopTaskResponse, G as StopTaskResponseSchema, cR as StopTaskSchema, dL as SubTaskAskUserEventData, dK as SubTaskAskUserEventSchema, bW as SubTaskAskUserMessage, dJ as SubTaskResultUpdatedEventData, dI as SubTaskResultUpdatedEventSchema, aF as SubTaskSummary, aE as SubTaskSummarySchema, e6 as SystemMessageEventData, e5 as SystemMessageSchema, e3 as SystemMessageType, bZ as TaskAgentInfo, bY as TaskAgentInfoSchema, cU as TaskArtifactsStats, cT as TaskArtifactsStatsSchema, c$ as TaskArtifactsSummary, c_ as TaskArtifactsSummarySchema, Z as TaskEvent, dz as TaskInfoUpdateEventData, dy as TaskInfoUpdateEventDataSchema, j as TaskItem, i as TaskItemSchema, d1 as TaskMessageEventData, bX as TaskMessagePayload, d0 as TaskMessageSchema, d3 as TaskModelUsage, d2 as TaskModelUsageSchema, dB as TaskSlashCommand, dA as TaskSlashCommandSchema, dD as TaskSlashCommandsUpdateEventData, dC as TaskSlashCommandsUpdateEventDataSchema, d6 as TaskState, dc as TaskStateChangeEventData, db as TaskStateChangeEventSchema, dH as TaskStoppedEventData, dG as TaskStoppedEventSchema, b as TaskTodo, T as TaskTodoSchema, d5 as TaskUsageReportEventData, d4 as TaskUsageReportEventSchema, d as TaskUsageSummary, c as TaskUsageSummarySchema, ak as UnarchiveTaskRequest, aj as UnarchiveTaskRequestSchema, am as UnarchiveTaskResponse, al as UnarchiveTaskResponseSchema, e1 as UpdateAgentInfoEventData, e0 as UpdateAgentInfoEventSchema, bz as UpdateHiveCommentRequest, by as UpdateHiveCommentRequestSchema, b9 as UpdateHiveListingRequest, b8 as UpdateHiveListingRequestSchema, br as UpdateHiveReviewRequest, bq as UpdateHiveReviewRequestSchema, bb as UpdateHiveVersionRequest, ba as UpdateHiveVersionRequestSchema, dx as UpdateTaskAgentSessionIdEventData, dw as UpdateTaskAgentSessionIdEventSchema, ao as UpdateTaskTitleRequest, an as UpdateTaskTitleRequestSchema, aq as UpdateTaskTitleResponse, ap as UpdateTaskTitleResponseSchema, eO as ValidationResult, cr as WorkerAliveEventData, cq as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, ct as WorkerExitEventData, cs as WorkerExitSchema, cj as WorkerInitializedEventData, ci as WorkerInitializedSchema, ch as WorkerInitializingEventData, cg as WorkerInitializingSchema, cx as WorkerPermissionModeEventData, cw as WorkerPermissionModeSchema, cl as WorkerPermissionModeValue, ck as WorkerPermissionModeValueSchema, cn as WorkerReadyEventData, cm as WorkerReadySchema, cv as WorkerRunningEventData, cu as WorkerRunningSchema, cz as WorkerStatusRequestEventData, cy as WorkerStatusRequestSchema, cD as WorkerStatusSnapshot, cC as WorkerStatusSnapshotSchema, cB as WorkerStatusValue, cA as WorkerStatusValueSchema, ey as WorkerTaskEvent, dt as WorkspaceFileRequestEventData, ds as WorkspaceFileRequestSchema, dv as WorkspaceFileResponseEventData, du as WorkspaceFileResponseSchema, cK as baseTaskSchema, x as cancelTaskRequestSchema, cP as cancelTaskSchema, c5 as createEventId, a4 as createMergeRequestSchema, cL as createTaskSchema, eJ as getAgentContext, b_ as isAskUserMessage, b$ as isAskUserResponseMessage, c0 as isCompanionHeartbeatMessage, c1 as isCompanionReminderMessage, c3 as isSDKMessage, c4 as isSDKUserMessage, c2 as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, K as permissionResponseRequestSchema, r as resumeTaskRequestSchema, cN as resumeTaskSchema, eI as setAgentContext, s as startTaskSchema, F as stopTaskRequestSchema, w as workerExecutionModes, ez as workerTaskEvents } from './errors-DdMRkkh3.cjs';
|
|
2
|
+
import { P as PreviewMetadata } from './errors-BQihmdbe.cjs';
|
|
3
|
+
export { cx as ActiveAgent, cw as ActiveAgentSchema, eV as AgentConfig, f3 as AgentConfigValidationError, eO as AgentContext, f1 as AgentError, f5 as AgentLoadError, eT as AgentMetadata, e$ as AgentMetadataSchema, f2 as AgentNotFoundError, eP as AgentrixContext, cj as ApiServerAliveEventData, ci as ApiServerAliveEventSchema, ch as AppAliveEventData, cg as AppAliveEventSchema, ag as ApprovePrRequest, af as ApprovePrRequestSchema, ai as ApprovePrResponse, ah as ApprovePrResponseSchema, ao as ArchiveTaskRequest, an as ArchiveTaskRequestSchema, aq as ArchiveTaskResponse, ap as ArchiveTaskResponseSchema, bV as AskUserMessage, bU as AskUserMessageSchema, bR as AskUserOption, bQ as AskUserOptionSchema, bT as AskUserQuestion, bS as AskUserQuestionSchema, b$ as AskUserResponseMessage, b_ as AskUserResponseMessageSchema, bZ as AskUserResponseReason, bX as AskUserResponseReasonSchema, bY as AskUserResponseStatus, bW as AskUserResponseStatusSchema, ea as AssociateRepoEventData, e7 as AssociateRepoEventDataSchema, cY as CancelTaskEventData, H as CancelTaskRequest, G as CancelTaskRequestSchema, K as CancelTaskResponse, J as CancelTaskResponseSchema, di as ChangeTaskTitleEventData, dh as ChangeTaskTitleEventSchema, cN as ChatWorkersStatusRequestEventData, cM as ChatWorkersStatusRequestSchema, cP as ChatWorkersStatusResponseEventData, cO as ChatWorkersStatusResponseSchema, eU as ClaudeAgentConfig, f0 as ClaudeConfigSchema, c0 as CompanionHeartbeatMessage, ep as CompanionHeartbeatRequestData, eo as CompanionHeartbeatRequestSchema, er as CompanionHeartbeatResponseData, eq as CompanionHeartbeatResponseSchema, et as CompanionInitRequestData, es as CompanionInitRequestSchema, ev as CompanionInitResponseData, eu as CompanionInitResponseSchema, c1 as CompanionReminderMessage, bF as CreateHiveCommentRequest, bE as CreateHiveCommentRequestSchema, bx as CreateHiveReviewRequest, bw as CreateHiveReviewRequestSchema, ab as CreateMergeRequestRequest, ae as CreateMergeRequestResponse, ad as CreateMergeRequestResponseSchema, aa as CreateMergeRequestSchema, cU as CreateTaskEventData, ak as CreateTaskShareRequest, am as CreateTaskShareResponse, al as CreateTaskShareResponseSchema, aj as CreateTaskShareSchema, dm as CreditExhaustedEventData, dl as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eg as DaemonGitlabOperation, ef as DaemonGitlabOperationSchema, ei as DaemonGitlabRequestEventData, eh as DaemonGitlabRequestSchema, ek as DaemonGitlabResponseEventData, ej as DaemonGitlabResponseSchema, d_ as DeployAgentCompleteEventData, dZ as DeployAgentCompleteEventSchema, dY as DeployAgentEventData, dX as DeployAgentEventSchema, p as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, v as EnsureIssueRootTaskResponse, u as EnsureIssueRootTaskResponseSchema, cf as EventAckData, ce as EventAckSchema, ey as EventData, eD as EventMap, eE as EventName, eF as EventSchemaMap, e_ as FRAMEWORK_TYPES, a8 as FillEventsRequest, a7 as FillEventsRequestSchema, a9 as FillEventsResponse, aX as FindTaskByAgentRequest, aW as FindTaskByAgentRequestSchema, aZ as FindTaskByAgentResponse, aY as FindTaskByAgentResponseSchema, f4 as FrameworkNotSupportedError, eS as FrameworkType, aJ as GetTaskSessionResponse, aI as GetTaskSessionResponseSchema, b1 as HiveAuthorType, b0 as HiveAuthorTypeSchema, bD as HiveComment, bJ as HiveCommentListResponse, bI as HiveCommentListResponseSchema, bC as HiveCommentSchema, bn as HiveInstall, e6 as HiveInstallCompleteEventData, e5 as HiveInstallCompleteEventSchema, e4 as HiveInstallEventData, e3 as HiveInstallEventSchema, bl as HiveInstallRequest, bk as HiveInstallRequestSchema, bp as HiveInstallResponse, bo as HiveInstallResponseSchema, bm as HiveInstallSchema, bL as HiveInstalledItem, bK as HiveInstalledItemSchema, bN as HiveInstalledResponse, bM as HiveInstalledResponseSchema, bd as HiveListQuery, bc as HiveListQuerySchema, bf as HiveListResponse, be as HiveListResponseSchema, b7 as HiveListing, b6 as HiveListingSchema, b3 as HiveListingStatus, b2 as HiveListingStatusSchema, a$ as HiveListingType, a_ as HiveListingTypeSchema, bP as HiveMyListingsResponse, bO as HiveMyListingsResponseSchema, e2 as HivePublishCompleteEventData, e1 as HivePublishCompleteEventSchema, e0 as HivePublishEventData, d$ as HivePublishEventSchema, bv as HiveReview, bB as HiveReviewListResponse, bA as HiveReviewListResponseSchema, bu as HiveReviewSchema, b5 as HiveSort, b4 as HiveSortSchema, eZ as HookFactory, cR as ListModelsEventData, cQ as ListModelsEventSchema, aR as ListRecentTasksRequest, aQ as ListRecentTasksRequestSchema, aV as ListRecentTasksResponse, aU as ListRecentTasksResponseSchema, aL as ListSubTasksRequest, aK as ListSubTasksRequestSchema, aP as ListSubTasksResponse, aO as ListSubTasksResponseSchema, x as ListTasksRequest, L as ListTasksRequestSchema, z as ListTasksResponse, y as ListTasksResponseSchema, eX as LoadAgentOptions, cl as MachineAliveEventData, ck as MachineAliveEventSchema, eL as MachineRpcCallEventData, eK as MachineRpcCallEventSchema, dv as MachineRtcRequestEventData, du as MachineRtcRequestSchema, dx as MachineRtcResponseEventData, dw as MachineRtcResponseSchema, dW as MergePullRequestAck, dV as MergePullRequestEventData, dU as MergePullRequestEventSchema, dN as MergeRequestEventData, dM as MergeRequestEventSchema, f6 as MissingAgentFileError, X as PermissionResponseRequest, V as PermissionResponseRequestSchema, _ as PermissionResponseResponse, Z as PermissionResponseResponseSchema, ec as PrStateChangedData, d5 as PreviewMetadataSchema, d4 as PreviewMethod, d3 as PreviewMethodSchema, d2 as PreviewProjectType, d1 as PreviewProjectTypeSchema, a2 as ProjectDirectoryResponse, a1 as ProjectDirectoryResponseSchema, a0 as ProjectEntry, $ as ProjectEntrySchema, b9 as PublishToHiveRequest, b8 as PublishToHiveRequestSchema, bb as PublishToHiveResponse, ba as PublishToHiveResponseSchema, a4 as QueryEventsRequest, a3 as QueryEventsRequestSchema, a6 as QueryEventsResponse, aT as RecentTaskSummary, aS as RecentTaskSummarySchema, br as RecordHiveInstallRequest, bq as RecordHiveInstallRequestSchema, bt as RecordHiveInstallResponse, bs as RecordHiveInstallResponseSchema, el as RepositoryInboxProviderSchema, en as RepositoryInboxWebhookEventData, em as RepositoryInboxWebhookSchema, eY as RepositoryInitHookInput, ex as ResetTaskSessionEventData, ew as ResetTaskSessionSchema, cW as ResumeTaskEventData, A as ResumeTaskRequest, R as ResumeTaskRequestSchema, F as ResumeTaskResponse, C as ResumeTaskResponseSchema, eJ as RpcCallEventData, eI as RpcCallEventSchema, eN as RpcResponseData, eM as RpcResponseSchema, dp as RtcIceServer, dn as RtcIceServerSchema, dr as RtcIceServersRequestEventData, dq as RtcIceServersRequestSchema, dt as RtcIceServersResponseEventData, ds as RtcIceServersResponseSchema, dz as RtcSignalEventData, dy as RtcSignalSchema, az as SendMessageTarget, aB as SendTaskMessageRequest, aA as SendTaskMessageRequestSchema, aD as SendTaskMessageResponse, aC as SendTaskMessageResponseSchema, eA as SeqSyncRequestEventData, ez as SeqSyncRequestEventDataSchema, eC as SeqSyncResponseEventData, eB as SeqSyncResponseEventDataSchema, dg as ShowModalEventData, df as ShowModalEventDataSchema, aF as ShowModalRequest, aE as ShowModalRequestSchema, aH as ShowModalResponse, aG as ShowModalResponseSchema, cn as ShutdownMachineData, cm as ShutdownMachineSchema, k as StartTaskRequest, S as StartTaskRequestSchema, o as StartTaskResponse, m as StartTaskResponseSchema, c_ as StopTaskEventData, N as StopTaskRequest, M as StopTaskRequestSchema, U as StopTaskResponse, Q as StopTaskResponseSchema, cZ as StopTaskSchema, dT as SubTaskAskUserEventData, dS as SubTaskAskUserEventSchema, c2 as SubTaskAskUserMessage, dR as SubTaskResultUpdatedEventData, dQ as SubTaskResultUpdatedEventSchema, aN as SubTaskSummary, aM as SubTaskSummarySchema, ee as SystemMessageEventData, ed as SystemMessageSchema, eb as SystemMessageType, c5 as TaskAgentInfo, c4 as TaskAgentInfoSchema, d0 as TaskArtifactsStats, c$ as TaskArtifactsStatsSchema, d7 as TaskArtifactsSummary, d6 as TaskArtifactsSummarySchema, a5 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, dH as TaskInfoUpdateEventData, dG as TaskInfoUpdateEventDataSchema, r as TaskItem, q as TaskItemSchema, d9 as TaskMessageEventData, c3 as TaskMessagePayload, d8 as TaskMessageSchema, db as TaskModelUsage, da as TaskModelUsageSchema, dJ as TaskSlashCommand, dI as TaskSlashCommandSchema, dL as TaskSlashCommandsUpdateEventData, dK as TaskSlashCommandsUpdateEventDataSchema, de as TaskState, dk as TaskStateChangeEventData, dj as TaskStateChangeEventSchema, dP as TaskStoppedEventData, dO as TaskStoppedEventSchema, f as TaskTodo, e as TaskTodoSchema, dd as TaskUsageReportEventData, dc as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, as as UnarchiveTaskRequest, ar as UnarchiveTaskRequestSchema, au as UnarchiveTaskResponse, at as UnarchiveTaskResponseSchema, e9 as UpdateAgentInfoEventData, e8 as UpdateAgentInfoEventSchema, bH as UpdateHiveCommentRequest, bG as UpdateHiveCommentRequestSchema, bh as UpdateHiveListingRequest, bg as UpdateHiveListingRequestSchema, bz as UpdateHiveReviewRequest, by as UpdateHiveReviewRequestSchema, bj as UpdateHiveVersionRequest, bi as UpdateHiveVersionRequestSchema, dF as UpdateTaskAgentSessionIdEventData, dE as UpdateTaskAgentSessionIdEventSchema, aw as UpdateTaskTitleRequest, av as UpdateTaskTitleRequestSchema, ay as UpdateTaskTitleResponse, ax as UpdateTaskTitleResponseSchema, eW as ValidationResult, cz as WorkerAliveEventData, cy as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, cB as WorkerExitEventData, cA as WorkerExitSchema, cr as WorkerInitializedEventData, cq as WorkerInitializedSchema, cp as WorkerInitializingEventData, co as WorkerInitializingSchema, cF as WorkerPermissionModeEventData, cE as WorkerPermissionModeSchema, ct as WorkerPermissionModeValue, cs as WorkerPermissionModeValueSchema, cv as WorkerReadyEventData, cu as WorkerReadySchema, cD as WorkerRunningEventData, cC as WorkerRunningSchema, cH as WorkerStatusRequestEventData, cG as WorkerStatusRequestSchema, cL as WorkerStatusSnapshot, cK as WorkerStatusSnapshotSchema, cJ as WorkerStatusValue, cI as WorkerStatusValueSchema, eG as WorkerTaskEvent, dB as WorkspaceFileRequestEventData, dA as WorkspaceFileRequestSchema, dD as WorkspaceFileResponseEventData, dC as WorkspaceFileResponseSchema, cS as baseTaskSchema, I as cancelTaskRequestSchema, cX as cancelTaskSchema, cd as createEventId, ac as createMergeRequestSchema, cT as createTaskSchema, eR as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, c6 as isAskUserMessage, c7 as isAskUserResponseMessage, i as isCloudTaskExecution, c8 as isCompanionHeartbeatMessage, c9 as isCompanionReminderMessage, c as isLocalTaskExecution, cb as isSDKMessage, cc as isSDKUserMessage, ca as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, Y as permissionResponseRequestSchema, B as resumeTaskRequestSchema, cV as resumeTaskSchema, eQ as setAgentContext, l as startTaskSchema, O as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, eH as workerTaskEvents } from './errors-BQihmdbe.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
@@ -59,6 +59,7 @@ declare const SenderTypeSchema: z.ZodEnum<{
|
|
|
59
59
|
human: "human";
|
|
60
60
|
system: "system";
|
|
61
61
|
agent: "agent";
|
|
62
|
+
channel: "channel";
|
|
62
63
|
}>;
|
|
63
64
|
type SenderType = z.infer<typeof SenderTypeSchema>;
|
|
64
65
|
|
|
@@ -940,6 +941,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
940
941
|
rootTaskId: z.ZodNullable<z.ZodString>;
|
|
941
942
|
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
942
943
|
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
944
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
943
945
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
944
946
|
createdAt: z.ZodString;
|
|
945
947
|
updatedAt: z.ZodString;
|
|
@@ -1542,9 +1544,9 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1542
1544
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1543
1545
|
ownerType: z.ZodEnum<{
|
|
1544
1546
|
agent: "agent";
|
|
1547
|
+
cloud: "cloud";
|
|
1545
1548
|
"draft-agent": "draft-agent";
|
|
1546
1549
|
machine: "machine";
|
|
1547
|
-
cloud: "cloud";
|
|
1548
1550
|
}>;
|
|
1549
1551
|
ownerId: z.ZodString;
|
|
1550
1552
|
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -2362,6 +2364,11 @@ type GitHubIssue = z.infer<typeof GitHubIssueSchema>;
|
|
|
2362
2364
|
*/
|
|
2363
2365
|
declare const ListIssuesQuerySchema: z.ZodObject<{
|
|
2364
2366
|
q: z.ZodOptional<z.ZodString>;
|
|
2367
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
2368
|
+
open: "open";
|
|
2369
|
+
closed: "closed";
|
|
2370
|
+
all: "all";
|
|
2371
|
+
}>>;
|
|
2365
2372
|
}, z.core.$strip>;
|
|
2366
2373
|
type ListIssuesQuery = z.infer<typeof ListIssuesQuerySchema>;
|
|
2367
2374
|
/**
|
|
@@ -2398,6 +2405,11 @@ declare const RepositoryReferenceListItemSchema: z.ZodObject<{
|
|
|
2398
2405
|
number: z.ZodNumber;
|
|
2399
2406
|
title: z.ZodString;
|
|
2400
2407
|
html_url: z.ZodString;
|
|
2408
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
2409
|
+
open: "open";
|
|
2410
|
+
closed: "closed";
|
|
2411
|
+
merged: "merged";
|
|
2412
|
+
}>>;
|
|
2401
2413
|
}, z.core.$strip>;
|
|
2402
2414
|
type RepositoryReferenceListItem = z.infer<typeof RepositoryReferenceListItemSchema>;
|
|
2403
2415
|
declare const RepositoryActorIdentitySchema: z.ZodObject<{
|
|
@@ -2520,6 +2532,12 @@ declare const RepositoryReferenceCommentsResponseSchema: z.ZodObject<{
|
|
|
2520
2532
|
type RepositoryReferenceCommentsResponse = z.infer<typeof RepositoryReferenceCommentsResponseSchema>;
|
|
2521
2533
|
declare const ListReferencesQuerySchema: z.ZodObject<{
|
|
2522
2534
|
q: z.ZodOptional<z.ZodString>;
|
|
2535
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
2536
|
+
open: "open";
|
|
2537
|
+
closed: "closed";
|
|
2538
|
+
merged: "merged";
|
|
2539
|
+
all: "all";
|
|
2540
|
+
}>>;
|
|
2523
2541
|
}, z.core.$strip>;
|
|
2524
2542
|
type ListReferencesQuery = z.infer<typeof ListReferencesQuerySchema>;
|
|
2525
2543
|
declare const GetReferenceQuerySchema: z.ZodObject<{
|
|
@@ -2540,6 +2558,11 @@ declare const ListReferencesResponseSchema: z.ZodObject<{
|
|
|
2540
2558
|
number: z.ZodNumber;
|
|
2541
2559
|
title: z.ZodString;
|
|
2542
2560
|
html_url: z.ZodString;
|
|
2561
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
2562
|
+
open: "open";
|
|
2563
|
+
closed: "closed";
|
|
2564
|
+
merged: "merged";
|
|
2565
|
+
}>>;
|
|
2543
2566
|
}, z.core.$strip>>;
|
|
2544
2567
|
total_count: z.ZodNumber;
|
|
2545
2568
|
}, z.core.$strip>;
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { eX as LoadAgentOptions, eV as AgentConfig, eW as ValidationResult, eS as FrameworkType } from './errors-BQihmdbe.cjs';
|
|
2
|
+
export { f3 as AgentConfigValidationError, eO as AgentContext, f1 as AgentError, f5 as AgentLoadError, eT as AgentMetadata, e$ as AgentMetadataSchema, f2 as AgentNotFoundError, eP as AgentrixContext, eU as ClaudeAgentConfig, f0 as ClaudeConfigSchema, e_ as FRAMEWORK_TYPES, f4 as FrameworkNotSupportedError, eZ as HookFactory, f6 as MissingAgentFileError, eY as RepositoryInitHookInput, eR as getAgentContext, eQ as setAgentContext } from './errors-BQihmdbe.cjs';
|
|
3
3
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
4
4
|
import '@anthropic-ai/claude-agent-sdk';
|
|
5
5
|
import 'zod';
|