@agentrix/shared 2.36.0 → 2.37.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.
|
@@ -1107,15 +1107,15 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
1107
1107
|
* - 'user': Broadcasts SDKAssistantMessage to users viewing the task
|
|
1108
1108
|
*/
|
|
1109
1109
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
1110
|
-
message: z.ZodCustom<
|
|
1110
|
+
message: z.ZodCustom<SDKUserMessage | SDKAssistantMessage, SDKUserMessage | SDKAssistantMessage>;
|
|
1111
1111
|
target: z.ZodEnum<{
|
|
1112
|
-
user: "user";
|
|
1113
1112
|
agent: "agent";
|
|
1113
|
+
user: "user";
|
|
1114
1114
|
}>;
|
|
1115
1115
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
1116
1116
|
senderType: z.ZodEnum<{
|
|
1117
|
-
system: "system";
|
|
1118
1117
|
human: "human";
|
|
1118
|
+
system: "system";
|
|
1119
1119
|
agent: "agent";
|
|
1120
1120
|
channel: "channel";
|
|
1121
1121
|
}>;
|
|
@@ -1191,8 +1191,8 @@ declare const ListRecentTasksRequestSchema: z.ZodObject<{
|
|
|
1191
1191
|
chatId: z.ZodString;
|
|
1192
1192
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
1193
1193
|
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1194
|
-
active: "active";
|
|
1195
1194
|
all: "all";
|
|
1195
|
+
active: "active";
|
|
1196
1196
|
completed: "completed";
|
|
1197
1197
|
}>>>;
|
|
1198
1198
|
}, z.core.$strip>;
|
|
@@ -1259,8 +1259,8 @@ declare const HiveListingTypeSchema: z.ZodEnum<{
|
|
|
1259
1259
|
}>;
|
|
1260
1260
|
type HiveListingType = z.infer<typeof HiveListingTypeSchema>;
|
|
1261
1261
|
declare const HiveAuthorTypeSchema: z.ZodEnum<{
|
|
1262
|
-
user: "user";
|
|
1263
1262
|
agent: "agent";
|
|
1263
|
+
user: "user";
|
|
1264
1264
|
}>;
|
|
1265
1265
|
type HiveAuthorType = z.infer<typeof HiveAuthorTypeSchema>;
|
|
1266
1266
|
declare const HiveListingStatusSchema: z.ZodEnum<{
|
|
@@ -1290,8 +1290,8 @@ declare const HiveListingSchema: z.ZodObject<{
|
|
|
1290
1290
|
version: z.ZodString;
|
|
1291
1291
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1292
1292
|
authorType: z.ZodEnum<{
|
|
1293
|
-
user: "user";
|
|
1294
1293
|
agent: "agent";
|
|
1294
|
+
user: "user";
|
|
1295
1295
|
}>;
|
|
1296
1296
|
authorId: z.ZodString;
|
|
1297
1297
|
authorName: z.ZodString;
|
|
@@ -1331,8 +1331,8 @@ declare const PublishToHiveRequestSchema: z.ZodObject<{
|
|
|
1331
1331
|
category: z.ZodOptional<z.ZodString>;
|
|
1332
1332
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1333
1333
|
authorType: z.ZodEnum<{
|
|
1334
|
-
user: "user";
|
|
1335
1334
|
agent: "agent";
|
|
1335
|
+
user: "user";
|
|
1336
1336
|
}>;
|
|
1337
1337
|
authorId: z.ZodString;
|
|
1338
1338
|
machineId: z.ZodOptional<z.ZodString>;
|
|
@@ -1377,8 +1377,8 @@ declare const HiveListResponseSchema: z.ZodObject<{
|
|
|
1377
1377
|
version: z.ZodString;
|
|
1378
1378
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1379
1379
|
authorType: z.ZodEnum<{
|
|
1380
|
-
user: "user";
|
|
1381
1380
|
agent: "agent";
|
|
1381
|
+
user: "user";
|
|
1382
1382
|
}>;
|
|
1383
1383
|
authorId: z.ZodString;
|
|
1384
1384
|
authorName: z.ZodString;
|
|
@@ -1482,8 +1482,8 @@ declare const HiveReviewSchema: z.ZodObject<{
|
|
|
1482
1482
|
id: z.ZodString;
|
|
1483
1483
|
hiveListingId: z.ZodString;
|
|
1484
1484
|
authorType: z.ZodEnum<{
|
|
1485
|
-
user: "user";
|
|
1486
1485
|
agent: "agent";
|
|
1486
|
+
user: "user";
|
|
1487
1487
|
}>;
|
|
1488
1488
|
authorId: z.ZodString;
|
|
1489
1489
|
authorName: z.ZodString;
|
|
@@ -1509,8 +1509,8 @@ declare const HiveReviewListResponseSchema: z.ZodObject<{
|
|
|
1509
1509
|
id: z.ZodString;
|
|
1510
1510
|
hiveListingId: z.ZodString;
|
|
1511
1511
|
authorType: z.ZodEnum<{
|
|
1512
|
-
user: "user";
|
|
1513
1512
|
agent: "agent";
|
|
1513
|
+
user: "user";
|
|
1514
1514
|
}>;
|
|
1515
1515
|
authorId: z.ZodString;
|
|
1516
1516
|
authorName: z.ZodString;
|
|
@@ -1530,8 +1530,8 @@ declare const HiveCommentSchema: z.ZodObject<{
|
|
|
1530
1530
|
hiveListingId: z.ZodString;
|
|
1531
1531
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1532
1532
|
authorType: z.ZodEnum<{
|
|
1533
|
-
user: "user";
|
|
1534
1533
|
agent: "agent";
|
|
1534
|
+
user: "user";
|
|
1535
1535
|
}>;
|
|
1536
1536
|
authorId: z.ZodString;
|
|
1537
1537
|
authorName: z.ZodString;
|
|
@@ -1556,8 +1556,8 @@ declare const HiveCommentListResponseSchema: z.ZodObject<{
|
|
|
1556
1556
|
hiveListingId: z.ZodString;
|
|
1557
1557
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1558
1558
|
authorType: z.ZodEnum<{
|
|
1559
|
-
user: "user";
|
|
1560
1559
|
agent: "agent";
|
|
1560
|
+
user: "user";
|
|
1561
1561
|
}>;
|
|
1562
1562
|
authorId: z.ZodString;
|
|
1563
1563
|
authorName: z.ZodString;
|
|
@@ -1597,8 +1597,8 @@ declare const HiveInstalledItemSchema: z.ZodObject<{
|
|
|
1597
1597
|
version: z.ZodString;
|
|
1598
1598
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1599
1599
|
authorType: z.ZodEnum<{
|
|
1600
|
-
user: "user";
|
|
1601
1600
|
agent: "agent";
|
|
1601
|
+
user: "user";
|
|
1602
1602
|
}>;
|
|
1603
1603
|
authorId: z.ZodString;
|
|
1604
1604
|
authorName: z.ZodString;
|
|
@@ -1652,8 +1652,8 @@ declare const HiveInstalledResponseSchema: z.ZodObject<{
|
|
|
1652
1652
|
version: z.ZodString;
|
|
1653
1653
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1654
1654
|
authorType: z.ZodEnum<{
|
|
1655
|
-
user: "user";
|
|
1656
1655
|
agent: "agent";
|
|
1656
|
+
user: "user";
|
|
1657
1657
|
}>;
|
|
1658
1658
|
authorId: z.ZodString;
|
|
1659
1659
|
authorName: z.ZodString;
|
|
@@ -1695,8 +1695,8 @@ declare const HiveMyListingsResponseSchema: z.ZodObject<{
|
|
|
1695
1695
|
version: z.ZodString;
|
|
1696
1696
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1697
1697
|
authorType: z.ZodEnum<{
|
|
1698
|
-
user: "user";
|
|
1699
1698
|
agent: "agent";
|
|
1699
|
+
user: "user";
|
|
1700
1700
|
}>;
|
|
1701
1701
|
authorId: z.ZodString;
|
|
1702
1702
|
authorName: z.ZodString;
|
|
@@ -1940,8 +1940,8 @@ declare const MachineControlCommandSchema: z.ZodObject<{
|
|
|
1940
1940
|
}, z.core.$strip>;
|
|
1941
1941
|
type MachineControlCommandEventData = z.infer<typeof MachineControlCommandSchema>;
|
|
1942
1942
|
declare const MachineControlProgressStatusSchema: z.ZodEnum<{
|
|
1943
|
-
failed: "failed";
|
|
1944
1943
|
running: "running";
|
|
1944
|
+
failed: "failed";
|
|
1945
1945
|
succeeded: "succeeded";
|
|
1946
1946
|
}>;
|
|
1947
1947
|
type MachineControlProgressStatus = z.infer<typeof MachineControlProgressStatusSchema>;
|
|
@@ -1949,8 +1949,8 @@ declare const MachineControlProgressSchema: z.ZodObject<{
|
|
|
1949
1949
|
eventId: z.ZodString;
|
|
1950
1950
|
opCode: z.ZodString;
|
|
1951
1951
|
status: z.ZodEnum<{
|
|
1952
|
-
failed: "failed";
|
|
1953
1952
|
running: "running";
|
|
1953
|
+
failed: "failed";
|
|
1954
1954
|
succeeded: "succeeded";
|
|
1955
1955
|
}>;
|
|
1956
1956
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1975,10 +1975,10 @@ declare const MachineControlProgressSchema: z.ZodObject<{
|
|
|
1975
1975
|
}, z.core.$strip>;
|
|
1976
1976
|
type MachineControlProgressEventData = z.infer<typeof MachineControlProgressSchema>;
|
|
1977
1977
|
declare const MachineControlUpdatedStatusSchema: z.ZodEnum<{
|
|
1978
|
-
failed: "failed";
|
|
1979
1978
|
running: "running";
|
|
1980
|
-
|
|
1979
|
+
failed: "failed";
|
|
1981
1980
|
expired: "expired";
|
|
1981
|
+
succeeded: "succeeded";
|
|
1982
1982
|
}>;
|
|
1983
1983
|
type MachineControlUpdatedStatus = z.infer<typeof MachineControlUpdatedStatusSchema>;
|
|
1984
1984
|
declare const MachineControlUpdatedSchema: z.ZodObject<{
|
|
@@ -1990,10 +1990,10 @@ declare const MachineControlUpdatedSchema: z.ZodObject<{
|
|
|
1990
1990
|
}, z.core.$strip>;
|
|
1991
1991
|
action: z.ZodLiteral<"upgrade-cli">;
|
|
1992
1992
|
status: z.ZodEnum<{
|
|
1993
|
-
failed: "failed";
|
|
1994
1993
|
running: "running";
|
|
1995
|
-
|
|
1994
|
+
failed: "failed";
|
|
1996
1995
|
expired: "expired";
|
|
1996
|
+
succeeded: "succeeded";
|
|
1997
1997
|
}>;
|
|
1998
1998
|
message: z.ZodOptional<z.ZodString>;
|
|
1999
1999
|
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2094,14 +2094,14 @@ declare const AskUserMessageSchema: z.ZodObject<{
|
|
|
2094
2094
|
}, z.core.$strip>;
|
|
2095
2095
|
type AskUserMessage = z.infer<typeof AskUserMessageSchema>;
|
|
2096
2096
|
declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
2097
|
+
timeout: "timeout";
|
|
2097
2098
|
answered: "answered";
|
|
2098
2099
|
cancelled: "cancelled";
|
|
2099
|
-
timeout: "timeout";
|
|
2100
2100
|
}>;
|
|
2101
2101
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
2102
|
-
timeout: "timeout";
|
|
2103
|
-
user: "user";
|
|
2104
2102
|
system: "system";
|
|
2103
|
+
user: "user";
|
|
2104
|
+
timeout: "timeout";
|
|
2105
2105
|
}>;
|
|
2106
2106
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
2107
2107
|
type AskUserResponseReason = z.infer<typeof AskUserResponseReasonSchema>;
|
|
@@ -2117,14 +2117,14 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
2117
2117
|
details: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2118
2118
|
rememberAnswers: z.ZodOptional<z.ZodArray<z.ZodBoolean>>;
|
|
2119
2119
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2120
|
+
timeout: "timeout";
|
|
2120
2121
|
answered: "answered";
|
|
2121
2122
|
cancelled: "cancelled";
|
|
2122
|
-
timeout: "timeout";
|
|
2123
2123
|
}>>;
|
|
2124
2124
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
2125
|
-
timeout: "timeout";
|
|
2126
|
-
user: "user";
|
|
2127
2125
|
system: "system";
|
|
2126
|
+
user: "user";
|
|
2127
|
+
timeout: "timeout";
|
|
2128
2128
|
}>>;
|
|
2129
2129
|
}, z.core.$strip>;
|
|
2130
2130
|
type AskUserResponseMessage = z.infer<typeof AskUserResponseMessageSchema>;
|
|
@@ -2530,8 +2530,8 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
2530
2530
|
agentType: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2531
2531
|
allowFilesystemAgent: z.ZodOptional<z.ZodBoolean>;
|
|
2532
2532
|
agentSource: z.ZodOptional<z.ZodEnum<{
|
|
2533
|
-
registered: "registered";
|
|
2534
2533
|
draft: "draft";
|
|
2534
|
+
registered: "registered";
|
|
2535
2535
|
filesystem: "filesystem";
|
|
2536
2536
|
}>>;
|
|
2537
2537
|
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2626,8 +2626,8 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
2626
2626
|
agentType: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2627
2627
|
allowFilesystemAgent: z.ZodOptional<z.ZodBoolean>;
|
|
2628
2628
|
agentSource: z.ZodOptional<z.ZodEnum<{
|
|
2629
|
-
registered: "registered";
|
|
2630
2629
|
draft: "draft";
|
|
2630
|
+
registered: "registered";
|
|
2631
2631
|
filesystem: "filesystem";
|
|
2632
2632
|
}>>;
|
|
2633
2633
|
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2725,8 +2725,8 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
2725
2725
|
agentType: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2726
2726
|
allowFilesystemAgent: z.ZodOptional<z.ZodBoolean>;
|
|
2727
2727
|
agentSource: z.ZodOptional<z.ZodEnum<{
|
|
2728
|
-
registered: "registered";
|
|
2729
2728
|
draft: "draft";
|
|
2729
|
+
registered: "registered";
|
|
2730
2730
|
filesystem: "filesystem";
|
|
2731
2731
|
}>>;
|
|
2732
2732
|
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2935,9 +2935,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2935
2935
|
taskId: z.ZodString;
|
|
2936
2936
|
chatId: z.ZodOptional<z.ZodString>;
|
|
2937
2937
|
from: z.ZodEnum<{
|
|
2938
|
+
machine: "machine";
|
|
2938
2939
|
app: "app";
|
|
2939
2940
|
"api-server": "api-server";
|
|
2940
|
-
machine: "machine";
|
|
2941
2941
|
worker: "worker";
|
|
2942
2942
|
}>;
|
|
2943
2943
|
opCode: z.ZodOptional<z.ZodString>;
|
|
@@ -2948,8 +2948,8 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2948
2948
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
2949
2949
|
agentId: z.ZodOptional<z.ZodString>;
|
|
2950
2950
|
senderType: z.ZodEnum<{
|
|
2951
|
-
system: "system";
|
|
2952
2951
|
human: "human";
|
|
2952
|
+
system: "system";
|
|
2953
2953
|
agent: "agent";
|
|
2954
2954
|
channel: "channel";
|
|
2955
2955
|
}>;
|
|
@@ -3100,8 +3100,8 @@ declare const RtcSignalSchema: z.ZodObject<{
|
|
|
3100
3100
|
machineId: z.ZodString;
|
|
3101
3101
|
sessionId: z.ZodString;
|
|
3102
3102
|
from: z.ZodEnum<{
|
|
3103
|
-
app: "app";
|
|
3104
3103
|
machine: "machine";
|
|
3104
|
+
app: "app";
|
|
3105
3105
|
}>;
|
|
3106
3106
|
signal: z.ZodAny;
|
|
3107
3107
|
userId: z.ZodOptional<z.ZodString>;
|
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 { cZ as ActiveAgent, cY as ActiveAgentSchema, fS as AgentConfig, f$ as AgentConfigValidationError, fL as AgentContext, fZ as AgentError, g1 as AgentLoadError, fQ as AgentMetadata, fX as AgentMetadataSchema, f_ as AgentNotFoundError, fM as AgentrixContext, cL as ApiServerAliveEventData, cK as ApiServerAliveEventSchema, cJ as AppAliveEventData, cI as AppAliveEventSchema, aj as ApprovePrRequest, ai as ApprovePrRequestSchema, al as ApprovePrResponse, ak as ApprovePrResponseSchema, ar as ArchiveTaskRequest, aq as ArchiveTaskRequestSchema, at as ArchiveTaskResponse, as as ArchiveTaskResponseSchema, c6 as AskUserMessage, c5 as AskUserMessageSchema, c2 as AskUserOption, c1 as AskUserOptionSchema, c4 as AskUserQuestion, c3 as AskUserQuestionSchema, cc as AskUserResponseMessage, cb as AskUserResponseMessageSchema, ca as AskUserResponseReason, c8 as AskUserResponseReasonSchema, c9 as AskUserResponseStatus, c7 as AskUserResponseStatusSchema, eC as AssociateRepoEventData, ez as AssociateRepoEventDataSchema, dp as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dL as ChangeTaskTitleEventData, dK as ChangeTaskTitleEventSchema, dd as ChatWorkersStatusRequestEventData, dc as ChatWorkersStatusRequestSchema, df as ChatWorkersStatusResponseEventData, de as ChatWorkersStatusResponseSchema, fR as ClaudeAgentConfig, fY as ClaudeConfigSchema, cd as CompanionHeartbeatMessage, eT as CompanionHeartbeatRequestData, eS as CompanionHeartbeatRequestSchema, eV as CompanionHeartbeatResponseData, eU as CompanionHeartbeatResponseSchema, e$ as CompanionInitRequestData, e_ as CompanionInitRequestSchema, f1 as CompanionInitResponseData, f0 as CompanionInitResponseSchema, cf as CompanionMemoryOrganizationMessage, eX as CompanionMemoryOrganizationRequestData, eW as CompanionMemoryOrganizationRequestSchema, eZ as CompanionMemoryOrganizationResponseData, eY as CompanionMemoryOrganizationResponseSchema, ce as CompanionReminderMessage, bK as CreateHiveCommentRequest, bJ as CreateHiveCommentRequestSchema, bC as CreateHiveReviewRequest, bB as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, dk as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dP as CreditExhaustedEventData, dO as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eK as DaemonGitlabOperation, eJ as DaemonGitlabOperationSchema, eM as DaemonGitlabRequestEventData, eL as DaemonGitlabRequestSchema, eO as DaemonGitlabResponseEventData, eN as DaemonGitlabResponseSchema, eq as DeployAgentCompleteEventData, ep as DeployAgentCompleteEventSchema, eo as DeployAgentEventData, en as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cw as EventAckData, cv as EventAckSchema, f4 as EventData, fb as EventMap, fc as EventName, fd as EventSchemaMap, ft as ExecuteMachineActionResponse, fs as ExecuteMachineActionResponseSchema, fW as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, g0 as FrameworkNotSupportedError, fP as FrameworkType, bY as GetStreamVersionQuery, bX as GetStreamVersionQuerySchema, aO as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, eG as GitServerUserUpdatedData, b6 as HiveAuthorType, b5 as HiveAuthorTypeSchema, bI as HiveComment, bO as HiveCommentListResponse, bN as HiveCommentListResponseSchema, bH as HiveCommentSchema, bs as HiveInstall, ey as HiveInstallCompleteEventData, ex as HiveInstallCompleteEventSchema, ew as HiveInstallEventData, ev as HiveInstallEventSchema, bq as HiveInstallRequest, bp as HiveInstallRequestSchema, bu as HiveInstallResponse, bt as HiveInstallResponseSchema, br as HiveInstallSchema, bQ as HiveInstalledItem, bP as HiveInstalledItemSchema, bS as HiveInstalledResponse, bR as HiveInstalledResponseSchema, bi as HiveListQuery, bh as HiveListQuerySchema, bk as HiveListResponse, bj as HiveListResponseSchema, bc as HiveListing, bb as HiveListingSchema, b8 as HiveListingStatus, b7 as HiveListingStatusSchema, b4 as HiveListingType, b3 as HiveListingTypeSchema, bU as HiveMyListingsResponse, bT as HiveMyListingsResponseSchema, eu as HivePublishCompleteEventData, et as HivePublishCompleteEventSchema, es as HivePublishEventData, er as HivePublishEventSchema, bA as HiveReview, bG as HiveReviewListResponse, bF as HiveReviewListResponseSchema, bz as HiveReviewSchema, ba as HiveSort, b9 as HiveSortSchema, fV as HookFactory, dh as ListModelsEventData, dg as ListModelsEventSchema, aW as ListRecentTasksRequest, aV as ListRecentTasksRequestSchema, a_ as ListRecentTasksResponse, aZ as ListRecentTasksResponseSchema, aQ as ListSubTasksRequest, aP as ListSubTasksRequestSchema, aU as ListSubTasksResponse, aT as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, fU as LoadAgentOptions, fr as MachineActionPending, fq as MachineActionPendingSchema, fp as MachineActionRequestEventData, fo as MachineActionRequestSchema, cN as MachineAliveEventData, cM as MachineAliveEventSchema, fh as MachineControlAction, fg as MachineControlActionSchema, fv as MachineControlCommandEventData, fu as MachineControlCommandSchema, fl as MachineControlErrorCode, fk as MachineControlErrorCodeSchema, fn as MachineControlPingResult, fm as MachineControlPingResultSchema, fz as MachineControlProgressEventData, fy as MachineControlProgressSchema, fx as MachineControlProgressStatus, fw as MachineControlProgressStatusSchema, fE as MachineControlRelayContext, fj as MachineControlTarget, fi as MachineControlTargetSchema, fD as MachineControlUpdatedEventData, fC as MachineControlUpdatedSchema, fB as MachineControlUpdatedStatus, fA as MachineControlUpdatedStatusSchema, fI as MachineRpcCallEventData, fH as MachineRpcCallEventSchema, dX as MachineRtcRequestEventData, dW as MachineRtcRequestSchema, dZ as MachineRtcResponseEventData, dY as MachineRtcResponseSchema, em as MergePullRequestAck, el as MergePullRequestEventData, ek as MergePullRequestEventSchema, ed as MergeRequestEventData, ec as MergeRequestEventSchema, g2 as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, eE as PrStateChangedData, dy as PreviewMetadataSchema, dx as PreviewMethod, dw as PreviewMethodSchema, dv as PreviewProjectType, du as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, be as PublishToHiveRequest, bd as PublishToHiveRequestSchema, bg as PublishToHiveResponse, bf as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, aY as RecentTaskSummary, aX as RecentTaskSummarySchema, bw as RecordHiveInstallRequest, bv as RecordHiveInstallRequestSchema, by as RecordHiveInstallResponse, bx as RecordHiveInstallResponseSchema, eP as RepositoryInboxProviderSchema, eR as RepositoryInboxWebhookEventData, eQ as RepositoryInboxWebhookSchema, f3 as ResetTaskSessionEventData, f2 as ResetTaskSessionSchema, eF as ResourceLimitsUpdatedData, dm as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fG as RpcCallEventData, fF as RpcCallEventSchema, fK as RpcResponseData, fJ as RpcResponseSchema, dR as RtcIceServer, dQ as RtcIceServerSchema, dT as RtcIceServersRequestEventData, dS as RtcIceServersRequestSchema, dV as RtcIceServersResponseEventData, dU as RtcIceServersResponseSchema, d$ as RtcSignalEventData, d_ as RtcSignalSchema, aE as SendMessageTarget, aG as SendTaskMessageRequest, aF as SendTaskMessageRequestSchema, aI as SendTaskMessageResponse, aH as SendTaskMessageResponseSchema, f6 as SeqSyncRequestEventData, f5 as SeqSyncRequestEventDataSchema, f8 as SeqSyncResponseEventData, f7 as SeqSyncResponseEventDataSchema, dJ as ShowModalEventData, dI as ShowModalEventDataSchema, aK as ShowModalRequest, aJ as ShowModalRequestSchema, aM as ShowModalResponse, aL as ShowModalResponseSchema, cP as ShutdownMachineData, cO as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, dr as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, dq as StopTaskSchema, b_ as StreamVersionResponse, bZ as StreamVersionResponseSchema, ej as SubTaskAskUserEventData, ei as SubTaskAskUserEventSchema, cg as SubTaskAskUserMessage, eh as SubTaskResultUpdatedEventData, eg as SubTaskResultUpdatedEventSchema, aS as SubTaskSummary, aR as SubTaskSummarySchema, c0 as SyncAvailableEvent, b$ as SyncAvailableEventSchema, bW as SyncStreamType, bV as SyncStreamTypeSchema, eI as SystemMessageEventData, eH as SystemMessageSchema, eD as SystemMessageType, ck as TaskAgentInfo, cj as TaskAgentInfoSchema, dt as TaskArtifactsStats, ds as TaskArtifactsStatsSchema, dA as TaskArtifactsSummary, dz as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, e7 as TaskInfoUpdateEventData, e6 as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dC as TaskMessageEventData, ci as TaskMessagePayload, dB as TaskMessageSchema, dE as TaskModelUsage, dD as TaskModelUsageSchema, k as TaskPreviewUrlSchema, e9 as TaskSlashCommand, e8 as TaskSlashCommandSchema, eb as TaskSlashCommandsUpdateEventData, ea as TaskSlashCommandsUpdateEventDataSchema, dH as TaskState, dN as TaskStateChangeEventData, dM as TaskStateChangeEventSchema, ef as TaskStoppedEventData, ee as TaskStoppedEventSchema, ch as TaskSystemMessage, f as TaskTodo, e as TaskTodoSchema, dG as TaskUsageReportEventData, dF as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, eB as UpdateAgentInfoEventData, eA as UpdateAgentInfoEventSchema, bM as UpdateHiveCommentRequest, bL as UpdateHiveCommentRequestSchema, bm as UpdateHiveListingRequest, bl as UpdateHiveListingRequestSchema, bE as UpdateHiveReviewRequest, bD as UpdateHiveReviewRequestSchema, bo as UpdateHiveVersionRequest, bn as UpdateHiveVersionRequestSchema, e5 as UpdateTaskAgentSessionIdEventData, e4 as UpdateTaskAgentSessionIdEventSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aD as UpdateTaskPreviewUrlResponse, aC as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, fT as ValidationResult, cA as VisionPlanActionEventData, cz as VisionPlanActionEventSchema, cy as VisionPlanCardEventData, cx as VisionPlanCardEventSchema, cC as VisionPlanReviewWriteEventData, cB as VisionPlanReviewWriteEventSchema, c$ as WorkerAliveEventData, c_ as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, d1 as WorkerExitEventData, d0 as WorkerExitSchema, cT as WorkerInitializedEventData, cS as WorkerInitializedSchema, cR as WorkerInitializingEventData, cQ as WorkerInitializingSchema, d5 as WorkerPermissionModeEventData, d4 as WorkerPermissionModeSchema, cV as WorkerPermissionModeValue, cU as WorkerPermissionModeValueSchema, cX as WorkerReadyEventData, cW as WorkerReadySchema, d3 as WorkerRunningEventData, d2 as WorkerRunningSchema, d7 as WorkerStatusRequestEventData, d6 as WorkerStatusRequestSchema, db as WorkerStatusSnapshot, da as WorkerStatusSnapshotSchema, d9 as WorkerStatusValue, d8 as WorkerStatusValueSchema, fe as WorkerTaskEvent, fa as WorkspaceCacheUpdateEventData, f9 as WorkspaceCacheUpdateEventDataSchema, cD as WorkspaceFileMutationOperationSchema, cF as WorkspaceFileMutationRequestEventData, cE as WorkspaceFileMutationRequestSchema, cH as WorkspaceFileMutationResponseEventData, cG as WorkspaceFileMutationResponseSchema, e1 as WorkspaceFileRequestEventData, e0 as WorkspaceFileRequestSchema, e3 as WorkspaceFileResponseEventData, e2 as WorkspaceFileResponseSchema, di as baseTaskSchema, K as cancelTaskRequestSchema, dn as cancelTaskSchema, cu as createEventId, af as createMergeRequestSchema, dj as createTaskSchema, fO as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cl as isAskUserMessage, cm as isAskUserResponseMessage, i as isCloudTaskExecution, cn as isCompanionHeartbeatMessage, cp as isCompanionMemoryOrganizationMessage, co as isCompanionReminderMessage, c as isLocalTaskExecution, cs as isSDKMessage, ct as isSDKUserMessage, cq as isSubTaskAskUserMessage, cr as isTaskSystemMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, dl as resumeTaskSchema, fN as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, ff as workerTaskEvents } from './errors-BRNvmZV-.cjs';
|
|
2
|
+
import { P as PreviewMetadata } from './errors-DC4QxaMi.cjs';
|
|
3
|
+
export { cZ as ActiveAgent, cY as ActiveAgentSchema, fS as AgentConfig, f$ as AgentConfigValidationError, fL as AgentContext, fZ as AgentError, g1 as AgentLoadError, fQ as AgentMetadata, fX as AgentMetadataSchema, f_ as AgentNotFoundError, fM as AgentrixContext, cL as ApiServerAliveEventData, cK as ApiServerAliveEventSchema, cJ as AppAliveEventData, cI as AppAliveEventSchema, aj as ApprovePrRequest, ai as ApprovePrRequestSchema, al as ApprovePrResponse, ak as ApprovePrResponseSchema, ar as ArchiveTaskRequest, aq as ArchiveTaskRequestSchema, at as ArchiveTaskResponse, as as ArchiveTaskResponseSchema, c6 as AskUserMessage, c5 as AskUserMessageSchema, c2 as AskUserOption, c1 as AskUserOptionSchema, c4 as AskUserQuestion, c3 as AskUserQuestionSchema, cc as AskUserResponseMessage, cb as AskUserResponseMessageSchema, ca as AskUserResponseReason, c8 as AskUserResponseReasonSchema, c9 as AskUserResponseStatus, c7 as AskUserResponseStatusSchema, eC as AssociateRepoEventData, ez as AssociateRepoEventDataSchema, dp as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dL as ChangeTaskTitleEventData, dK as ChangeTaskTitleEventSchema, dd as ChatWorkersStatusRequestEventData, dc as ChatWorkersStatusRequestSchema, df as ChatWorkersStatusResponseEventData, de as ChatWorkersStatusResponseSchema, fR as ClaudeAgentConfig, fY as ClaudeConfigSchema, cd as CompanionHeartbeatMessage, eT as CompanionHeartbeatRequestData, eS as CompanionHeartbeatRequestSchema, eV as CompanionHeartbeatResponseData, eU as CompanionHeartbeatResponseSchema, e$ as CompanionInitRequestData, e_ as CompanionInitRequestSchema, f1 as CompanionInitResponseData, f0 as CompanionInitResponseSchema, cf as CompanionMemoryOrganizationMessage, eX as CompanionMemoryOrganizationRequestData, eW as CompanionMemoryOrganizationRequestSchema, eZ as CompanionMemoryOrganizationResponseData, eY as CompanionMemoryOrganizationResponseSchema, ce as CompanionReminderMessage, bK as CreateHiveCommentRequest, bJ as CreateHiveCommentRequestSchema, bC as CreateHiveReviewRequest, bB as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, dk as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dP as CreditExhaustedEventData, dO as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eK as DaemonGitlabOperation, eJ as DaemonGitlabOperationSchema, eM as DaemonGitlabRequestEventData, eL as DaemonGitlabRequestSchema, eO as DaemonGitlabResponseEventData, eN as DaemonGitlabResponseSchema, eq as DeployAgentCompleteEventData, ep as DeployAgentCompleteEventSchema, eo as DeployAgentEventData, en as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cw as EventAckData, cv as EventAckSchema, f4 as EventData, fb as EventMap, fc as EventName, fd as EventSchemaMap, ft as ExecuteMachineActionResponse, fs as ExecuteMachineActionResponseSchema, fW as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, g0 as FrameworkNotSupportedError, fP as FrameworkType, bY as GetStreamVersionQuery, bX as GetStreamVersionQuerySchema, aO as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, eG as GitServerUserUpdatedData, b6 as HiveAuthorType, b5 as HiveAuthorTypeSchema, bI as HiveComment, bO as HiveCommentListResponse, bN as HiveCommentListResponseSchema, bH as HiveCommentSchema, bs as HiveInstall, ey as HiveInstallCompleteEventData, ex as HiveInstallCompleteEventSchema, ew as HiveInstallEventData, ev as HiveInstallEventSchema, bq as HiveInstallRequest, bp as HiveInstallRequestSchema, bu as HiveInstallResponse, bt as HiveInstallResponseSchema, br as HiveInstallSchema, bQ as HiveInstalledItem, bP as HiveInstalledItemSchema, bS as HiveInstalledResponse, bR as HiveInstalledResponseSchema, bi as HiveListQuery, bh as HiveListQuerySchema, bk as HiveListResponse, bj as HiveListResponseSchema, bc as HiveListing, bb as HiveListingSchema, b8 as HiveListingStatus, b7 as HiveListingStatusSchema, b4 as HiveListingType, b3 as HiveListingTypeSchema, bU as HiveMyListingsResponse, bT as HiveMyListingsResponseSchema, eu as HivePublishCompleteEventData, et as HivePublishCompleteEventSchema, es as HivePublishEventData, er as HivePublishEventSchema, bA as HiveReview, bG as HiveReviewListResponse, bF as HiveReviewListResponseSchema, bz as HiveReviewSchema, ba as HiveSort, b9 as HiveSortSchema, fV as HookFactory, dh as ListModelsEventData, dg as ListModelsEventSchema, aW as ListRecentTasksRequest, aV as ListRecentTasksRequestSchema, a_ as ListRecentTasksResponse, aZ as ListRecentTasksResponseSchema, aQ as ListSubTasksRequest, aP as ListSubTasksRequestSchema, aU as ListSubTasksResponse, aT as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, fU as LoadAgentOptions, fr as MachineActionPending, fq as MachineActionPendingSchema, fp as MachineActionRequestEventData, fo as MachineActionRequestSchema, cN as MachineAliveEventData, cM as MachineAliveEventSchema, fh as MachineControlAction, fg as MachineControlActionSchema, fv as MachineControlCommandEventData, fu as MachineControlCommandSchema, fl as MachineControlErrorCode, fk as MachineControlErrorCodeSchema, fn as MachineControlPingResult, fm as MachineControlPingResultSchema, fz as MachineControlProgressEventData, fy as MachineControlProgressSchema, fx as MachineControlProgressStatus, fw as MachineControlProgressStatusSchema, fE as MachineControlRelayContext, fj as MachineControlTarget, fi as MachineControlTargetSchema, fD as MachineControlUpdatedEventData, fC as MachineControlUpdatedSchema, fB as MachineControlUpdatedStatus, fA as MachineControlUpdatedStatusSchema, fI as MachineRpcCallEventData, fH as MachineRpcCallEventSchema, dX as MachineRtcRequestEventData, dW as MachineRtcRequestSchema, dZ as MachineRtcResponseEventData, dY as MachineRtcResponseSchema, em as MergePullRequestAck, el as MergePullRequestEventData, ek as MergePullRequestEventSchema, ed as MergeRequestEventData, ec as MergeRequestEventSchema, g2 as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, eE as PrStateChangedData, dy as PreviewMetadataSchema, dx as PreviewMethod, dw as PreviewMethodSchema, dv as PreviewProjectType, du as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, be as PublishToHiveRequest, bd as PublishToHiveRequestSchema, bg as PublishToHiveResponse, bf as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, aY as RecentTaskSummary, aX as RecentTaskSummarySchema, bw as RecordHiveInstallRequest, bv as RecordHiveInstallRequestSchema, by as RecordHiveInstallResponse, bx as RecordHiveInstallResponseSchema, eP as RepositoryInboxProviderSchema, eR as RepositoryInboxWebhookEventData, eQ as RepositoryInboxWebhookSchema, f3 as ResetTaskSessionEventData, f2 as ResetTaskSessionSchema, eF as ResourceLimitsUpdatedData, dm as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fG as RpcCallEventData, fF as RpcCallEventSchema, fK as RpcResponseData, fJ as RpcResponseSchema, dR as RtcIceServer, dQ as RtcIceServerSchema, dT as RtcIceServersRequestEventData, dS as RtcIceServersRequestSchema, dV as RtcIceServersResponseEventData, dU as RtcIceServersResponseSchema, d$ as RtcSignalEventData, d_ as RtcSignalSchema, aE as SendMessageTarget, aG as SendTaskMessageRequest, aF as SendTaskMessageRequestSchema, aI as SendTaskMessageResponse, aH as SendTaskMessageResponseSchema, f6 as SeqSyncRequestEventData, f5 as SeqSyncRequestEventDataSchema, f8 as SeqSyncResponseEventData, f7 as SeqSyncResponseEventDataSchema, dJ as ShowModalEventData, dI as ShowModalEventDataSchema, aK as ShowModalRequest, aJ as ShowModalRequestSchema, aM as ShowModalResponse, aL as ShowModalResponseSchema, cP as ShutdownMachineData, cO as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, dr as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, dq as StopTaskSchema, b_ as StreamVersionResponse, bZ as StreamVersionResponseSchema, ej as SubTaskAskUserEventData, ei as SubTaskAskUserEventSchema, cg as SubTaskAskUserMessage, eh as SubTaskResultUpdatedEventData, eg as SubTaskResultUpdatedEventSchema, aS as SubTaskSummary, aR as SubTaskSummarySchema, c0 as SyncAvailableEvent, b$ as SyncAvailableEventSchema, bW as SyncStreamType, bV as SyncStreamTypeSchema, eI as SystemMessageEventData, eH as SystemMessageSchema, eD as SystemMessageType, ck as TaskAgentInfo, cj as TaskAgentInfoSchema, dt as TaskArtifactsStats, ds as TaskArtifactsStatsSchema, dA as TaskArtifactsSummary, dz as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, e7 as TaskInfoUpdateEventData, e6 as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dC as TaskMessageEventData, ci as TaskMessagePayload, dB as TaskMessageSchema, dE as TaskModelUsage, dD as TaskModelUsageSchema, k as TaskPreviewUrlSchema, e9 as TaskSlashCommand, e8 as TaskSlashCommandSchema, eb as TaskSlashCommandsUpdateEventData, ea as TaskSlashCommandsUpdateEventDataSchema, dH as TaskState, dN as TaskStateChangeEventData, dM as TaskStateChangeEventSchema, ef as TaskStoppedEventData, ee as TaskStoppedEventSchema, ch as TaskSystemMessage, f as TaskTodo, e as TaskTodoSchema, dG as TaskUsageReportEventData, dF as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, eB as UpdateAgentInfoEventData, eA as UpdateAgentInfoEventSchema, bM as UpdateHiveCommentRequest, bL as UpdateHiveCommentRequestSchema, bm as UpdateHiveListingRequest, bl as UpdateHiveListingRequestSchema, bE as UpdateHiveReviewRequest, bD as UpdateHiveReviewRequestSchema, bo as UpdateHiveVersionRequest, bn as UpdateHiveVersionRequestSchema, e5 as UpdateTaskAgentSessionIdEventData, e4 as UpdateTaskAgentSessionIdEventSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aD as UpdateTaskPreviewUrlResponse, aC as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, fT as ValidationResult, cA as VisionPlanActionEventData, cz as VisionPlanActionEventSchema, cy as VisionPlanCardEventData, cx as VisionPlanCardEventSchema, cC as VisionPlanReviewWriteEventData, cB as VisionPlanReviewWriteEventSchema, c$ as WorkerAliveEventData, c_ as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, d1 as WorkerExitEventData, d0 as WorkerExitSchema, cT as WorkerInitializedEventData, cS as WorkerInitializedSchema, cR as WorkerInitializingEventData, cQ as WorkerInitializingSchema, d5 as WorkerPermissionModeEventData, d4 as WorkerPermissionModeSchema, cV as WorkerPermissionModeValue, cU as WorkerPermissionModeValueSchema, cX as WorkerReadyEventData, cW as WorkerReadySchema, d3 as WorkerRunningEventData, d2 as WorkerRunningSchema, d7 as WorkerStatusRequestEventData, d6 as WorkerStatusRequestSchema, db as WorkerStatusSnapshot, da as WorkerStatusSnapshotSchema, d9 as WorkerStatusValue, d8 as WorkerStatusValueSchema, fe as WorkerTaskEvent, fa as WorkspaceCacheUpdateEventData, f9 as WorkspaceCacheUpdateEventDataSchema, cD as WorkspaceFileMutationOperationSchema, cF as WorkspaceFileMutationRequestEventData, cE as WorkspaceFileMutationRequestSchema, cH as WorkspaceFileMutationResponseEventData, cG as WorkspaceFileMutationResponseSchema, e1 as WorkspaceFileRequestEventData, e0 as WorkspaceFileRequestSchema, e3 as WorkspaceFileResponseEventData, e2 as WorkspaceFileResponseSchema, di as baseTaskSchema, K as cancelTaskRequestSchema, dn as cancelTaskSchema, cu as createEventId, af as createMergeRequestSchema, dj as createTaskSchema, fO as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cl as isAskUserMessage, cm as isAskUserResponseMessage, i as isCloudTaskExecution, cn as isCompanionHeartbeatMessage, cp as isCompanionMemoryOrganizationMessage, co as isCompanionReminderMessage, c as isLocalTaskExecution, cs as isSDKMessage, ct as isSDKUserMessage, cq as isSubTaskAskUserMessage, cr as isTaskSystemMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, dl as resumeTaskSchema, fN as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, ff as workerTaskEvents } from './errors-DC4QxaMi.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
@@ -56,8 +56,8 @@ declare const FileStatsSchema: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
type FileStats = z.infer<typeof FileStatsSchema>;
|
|
58
58
|
declare const SenderTypeSchema: z.ZodEnum<{
|
|
59
|
-
system: "system";
|
|
60
59
|
human: "human";
|
|
60
|
+
system: "system";
|
|
61
61
|
agent: "agent";
|
|
62
62
|
channel: "channel";
|
|
63
63
|
}>;
|
|
@@ -1430,7 +1430,7 @@ type GetAgentResponse = z.infer<typeof GetAgentResponseSchema>;
|
|
|
1430
1430
|
/**
|
|
1431
1431
|
* GET /v1/agents/:agentId/git-url - Response schema
|
|
1432
1432
|
* Returns the authenticated git clone URL for the agent's repository.
|
|
1433
|
-
* Used by
|
|
1433
|
+
* Used by CLI and worker paths to install agents and stage new versions.
|
|
1434
1434
|
*/
|
|
1435
1435
|
declare const GetAgentGitUrlResponseSchema: z.ZodObject<{
|
|
1436
1436
|
gitUrl: z.ZodString;
|
|
@@ -1736,9 +1736,9 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1736
1736
|
*/
|
|
1737
1737
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1738
1738
|
ownerType: z.ZodEnum<{
|
|
1739
|
-
machine: "machine";
|
|
1740
1739
|
agent: "agent";
|
|
1741
1740
|
cloud: "cloud";
|
|
1741
|
+
machine: "machine";
|
|
1742
1742
|
"draft-agent": "draft-agent";
|
|
1743
1743
|
}>;
|
|
1744
1744
|
ownerId: z.ZodString;
|
|
@@ -2128,8 +2128,8 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
2128
2128
|
member: "member";
|
|
2129
2129
|
}>>;
|
|
2130
2130
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
2131
|
-
active: "active";
|
|
2132
2131
|
pending: "pending";
|
|
2132
|
+
active: "active";
|
|
2133
2133
|
suspended: "suspended";
|
|
2134
2134
|
revoked: "revoked";
|
|
2135
2135
|
}>>;
|
|
@@ -2173,8 +2173,8 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
2173
2173
|
member: "member";
|
|
2174
2174
|
}>>;
|
|
2175
2175
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
2176
|
-
active: "active";
|
|
2177
2176
|
pending: "pending";
|
|
2177
|
+
active: "active";
|
|
2178
2178
|
suspended: "suspended";
|
|
2179
2179
|
revoked: "revoked";
|
|
2180
2180
|
}>>;
|
|
@@ -3038,10 +3038,10 @@ declare const ConsoleUserBillingResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3038
3038
|
type ConsoleUserBillingResponse = z.infer<typeof ConsoleUserBillingResponseSchema>;
|
|
3039
3039
|
declare const ConsoleSubscriptionRenewalStatusSchema: z.ZodEnum<{
|
|
3040
3040
|
none: "none";
|
|
3041
|
-
expired: "expired";
|
|
3042
3041
|
renews: "renews";
|
|
3043
3042
|
cancels_at_period_end: "cancels_at_period_end";
|
|
3044
3043
|
canceled: "canceled";
|
|
3044
|
+
expired: "expired";
|
|
3045
3045
|
}>;
|
|
3046
3046
|
type ConsoleSubscriptionRenewalStatus = z.infer<typeof ConsoleSubscriptionRenewalStatusSchema>;
|
|
3047
3047
|
declare const ConsoleUserSubscriptionResponseSchema: z.ZodObject<{
|
|
@@ -3127,31 +3127,31 @@ declare const ConsoleUserSubscriptionResponseSchema: z.ZodObject<{
|
|
|
3127
3127
|
}, z.core.$strip>>;
|
|
3128
3128
|
renewalStatus: z.ZodEnum<{
|
|
3129
3129
|
none: "none";
|
|
3130
|
-
expired: "expired";
|
|
3131
3130
|
renews: "renews";
|
|
3132
3131
|
cancels_at_period_end: "cancels_at_period_end";
|
|
3133
3132
|
canceled: "canceled";
|
|
3133
|
+
expired: "expired";
|
|
3134
3134
|
}>;
|
|
3135
3135
|
}, z.core.$strip>;
|
|
3136
3136
|
type ConsoleUserSubscriptionResponse = z.infer<typeof ConsoleUserSubscriptionResponseSchema>;
|
|
3137
3137
|
declare const ConsoleApiKeyMetadataSchema: z.ZodObject<{
|
|
3138
3138
|
name: z.ZodString;
|
|
3139
|
-
enabled: z.ZodBoolean;
|
|
3140
3139
|
id: z.ZodString;
|
|
3141
3140
|
createdAt: z.ZodString;
|
|
3142
3141
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
3143
3142
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3143
|
+
enabled: z.ZodBoolean;
|
|
3144
3144
|
keyPrefix: z.ZodString;
|
|
3145
3145
|
}, z.core.$strip>;
|
|
3146
3146
|
type ConsoleApiKeyMetadata = z.infer<typeof ConsoleApiKeyMetadataSchema>;
|
|
3147
3147
|
declare const ConsoleUserApiKeysResponseSchema: z.ZodObject<{
|
|
3148
3148
|
items: z.ZodArray<z.ZodObject<{
|
|
3149
3149
|
name: z.ZodString;
|
|
3150
|
-
enabled: z.ZodBoolean;
|
|
3151
3150
|
id: z.ZodString;
|
|
3152
3151
|
createdAt: z.ZodString;
|
|
3153
3152
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
3154
3153
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3154
|
+
enabled: z.ZodBoolean;
|
|
3155
3155
|
keyPrefix: z.ZodString;
|
|
3156
3156
|
}, z.core.$strip>>;
|
|
3157
3157
|
total: z.ZodNumber;
|
|
@@ -3159,14 +3159,14 @@ declare const ConsoleUserApiKeysResponseSchema: z.ZodObject<{
|
|
|
3159
3159
|
type ConsoleUserApiKeysResponse = z.infer<typeof ConsoleUserApiKeysResponseSchema>;
|
|
3160
3160
|
declare const ConsoleUserMachinesResponseSchema: z.ZodObject<{
|
|
3161
3161
|
localMachines: z.ZodArray<z.ZodObject<{
|
|
3162
|
-
status: z.ZodString;
|
|
3163
3162
|
id: z.ZodString;
|
|
3164
3163
|
createdAt: z.ZodString;
|
|
3165
|
-
|
|
3164
|
+
status: z.ZodString;
|
|
3166
3165
|
updatedAt: z.ZodString;
|
|
3167
|
-
metadata: z.ZodNullable<z.ZodString>;
|
|
3168
3166
|
owner: z.ZodString;
|
|
3167
|
+
metadata: z.ZodNullable<z.ZodString>;
|
|
3169
3168
|
approval: z.ZodString;
|
|
3169
|
+
controlPort: z.ZodNullable<z.ZodNumber>;
|
|
3170
3170
|
}, z.core.$strip>>;
|
|
3171
3171
|
privateClouds: z.ZodArray<z.ZodObject<{
|
|
3172
3172
|
id: z.ZodString;
|
|
@@ -3186,8 +3186,8 @@ declare const ConsoleUserMachinesResponseSchema: z.ZodObject<{
|
|
|
3186
3186
|
member: "member";
|
|
3187
3187
|
}>>;
|
|
3188
3188
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
3189
|
-
active: "active";
|
|
3190
3189
|
pending: "pending";
|
|
3190
|
+
active: "active";
|
|
3191
3191
|
suspended: "suspended";
|
|
3192
3192
|
revoked: "revoked";
|
|
3193
3193
|
}>>;
|
|
@@ -4167,8 +4167,8 @@ declare const PrivateCloudSummarySchema: z.ZodObject<{
|
|
|
4167
4167
|
member: "member";
|
|
4168
4168
|
}>>;
|
|
4169
4169
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
4170
|
-
active: "active";
|
|
4171
4170
|
pending: "pending";
|
|
4171
|
+
active: "active";
|
|
4172
4172
|
suspended: "suspended";
|
|
4173
4173
|
revoked: "revoked";
|
|
4174
4174
|
}>>;
|
|
@@ -4209,8 +4209,8 @@ declare const ListPrivateCloudsResponseSchema: z.ZodObject<{
|
|
|
4209
4209
|
member: "member";
|
|
4210
4210
|
}>>;
|
|
4211
4211
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
4212
|
-
active: "active";
|
|
4213
4212
|
pending: "pending";
|
|
4213
|
+
active: "active";
|
|
4214
4214
|
suspended: "suspended";
|
|
4215
4215
|
revoked: "revoked";
|
|
4216
4216
|
}>>;
|
|
@@ -4263,8 +4263,8 @@ declare const CreatePrivateCloudResponseSchema: z.ZodObject<{
|
|
|
4263
4263
|
member: "member";
|
|
4264
4264
|
}>>;
|
|
4265
4265
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
4266
|
-
active: "active";
|
|
4267
4266
|
pending: "pending";
|
|
4267
|
+
active: "active";
|
|
4268
4268
|
suspended: "suspended";
|
|
4269
4269
|
revoked: "revoked";
|
|
4270
4270
|
}>>;
|
|
@@ -4301,8 +4301,8 @@ declare const PrivateCloudInviteSchema: z.ZodObject<{
|
|
|
4301
4301
|
usedCount: z.ZodNumber;
|
|
4302
4302
|
status: z.ZodEnum<{
|
|
4303
4303
|
active: "active";
|
|
4304
|
-
expired: "expired";
|
|
4305
4304
|
revoked: "revoked";
|
|
4305
|
+
expired: "expired";
|
|
4306
4306
|
consumed: "consumed";
|
|
4307
4307
|
}>;
|
|
4308
4308
|
createdAt: z.ZodString;
|
|
@@ -4328,8 +4328,8 @@ declare const CreatePrivateCloudInviteResponseSchema: z.ZodObject<{
|
|
|
4328
4328
|
usedCount: z.ZodNumber;
|
|
4329
4329
|
status: z.ZodEnum<{
|
|
4330
4330
|
active: "active";
|
|
4331
|
-
expired: "expired";
|
|
4332
4331
|
revoked: "revoked";
|
|
4332
|
+
expired: "expired";
|
|
4333
4333
|
consumed: "consumed";
|
|
4334
4334
|
}>;
|
|
4335
4335
|
createdAt: z.ZodString;
|
|
@@ -4360,8 +4360,8 @@ declare const AcceptPrivateCloudInviteResponseSchema: z.ZodObject<{
|
|
|
4360
4360
|
member: "member";
|
|
4361
4361
|
}>>;
|
|
4362
4362
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
4363
|
-
active: "active";
|
|
4364
4363
|
pending: "pending";
|
|
4364
|
+
active: "active";
|
|
4365
4365
|
suspended: "suspended";
|
|
4366
4366
|
revoked: "revoked";
|
|
4367
4367
|
}>>;
|
|
@@ -4394,8 +4394,8 @@ declare const PrivateCloudMemberSchema: z.ZodObject<{
|
|
|
4394
4394
|
member: "member";
|
|
4395
4395
|
}>;
|
|
4396
4396
|
status: z.ZodEnum<{
|
|
4397
|
-
active: "active";
|
|
4398
4397
|
pending: "pending";
|
|
4398
|
+
active: "active";
|
|
4399
4399
|
suspended: "suspended";
|
|
4400
4400
|
revoked: "revoked";
|
|
4401
4401
|
}>;
|
|
@@ -4413,8 +4413,8 @@ declare const ListPrivateCloudMembersResponseSchema: z.ZodObject<{
|
|
|
4413
4413
|
member: "member";
|
|
4414
4414
|
}>;
|
|
4415
4415
|
status: z.ZodEnum<{
|
|
4416
|
-
active: "active";
|
|
4417
4416
|
pending: "pending";
|
|
4417
|
+
active: "active";
|
|
4418
4418
|
suspended: "suspended";
|
|
4419
4419
|
revoked: "revoked";
|
|
4420
4420
|
}>;
|
|
@@ -4462,8 +4462,8 @@ declare const UpdatePrivateCloudMemberRoleResponseSchema: z.ZodObject<{
|
|
|
4462
4462
|
member: "member";
|
|
4463
4463
|
}>;
|
|
4464
4464
|
status: z.ZodEnum<{
|
|
4465
|
-
active: "active";
|
|
4466
4465
|
pending: "pending";
|
|
4466
|
+
active: "active";
|
|
4467
4467
|
suspended: "suspended";
|
|
4468
4468
|
revoked: "revoked";
|
|
4469
4469
|
}>;
|
|
@@ -4706,12 +4706,12 @@ type CiProvider = z.infer<typeof CiProviderSchema>;
|
|
|
4706
4706
|
declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4707
4707
|
type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
|
|
4708
4708
|
declare const CiRunStatusSchema: z.ZodEnum<{
|
|
4709
|
-
timeout: "timeout";
|
|
4710
|
-
failed: "failed";
|
|
4711
4709
|
running: "running";
|
|
4710
|
+
failed: "failed";
|
|
4712
4711
|
completed: "completed";
|
|
4713
4712
|
canceled: "canceled";
|
|
4714
4713
|
queued: "queued";
|
|
4714
|
+
timeout: "timeout";
|
|
4715
4715
|
}>;
|
|
4716
4716
|
type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
|
|
4717
4717
|
declare const CiRunResponseModeSchema: z.ZodEnum<{
|
|
@@ -4799,8 +4799,8 @@ type CreateCiRunRequest = z.infer<typeof CreateCiRunRequestSchema>;
|
|
|
4799
4799
|
declare const CreateCiRunResponseSchema: z.ZodObject<{
|
|
4800
4800
|
runId: z.ZodString;
|
|
4801
4801
|
status: z.ZodEnum<{
|
|
4802
|
-
failed: "failed";
|
|
4803
4802
|
running: "running";
|
|
4803
|
+
failed: "failed";
|
|
4804
4804
|
completed: "completed";
|
|
4805
4805
|
queued: "queued";
|
|
4806
4806
|
}>;
|
|
@@ -4810,12 +4810,12 @@ type CreateCiRunResponse = z.infer<typeof CreateCiRunResponseSchema>;
|
|
|
4810
4810
|
declare const CiRunStatusResponseSchema: z.ZodObject<{
|
|
4811
4811
|
runId: z.ZodString;
|
|
4812
4812
|
status: z.ZodEnum<{
|
|
4813
|
-
timeout: "timeout";
|
|
4814
|
-
failed: "failed";
|
|
4815
4813
|
running: "running";
|
|
4814
|
+
failed: "failed";
|
|
4816
4815
|
completed: "completed";
|
|
4817
4816
|
canceled: "canceled";
|
|
4818
4817
|
queued: "queued";
|
|
4818
|
+
timeout: "timeout";
|
|
4819
4819
|
}>;
|
|
4820
4820
|
result: z.ZodString;
|
|
4821
4821
|
structuredOutput: z.ZodOptional<z.ZodUnknown>;
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fU as LoadAgentOptions, fS as AgentConfig, fT as ValidationResult, fP as FrameworkType } from './errors-
|
|
2
|
-
export { f$ as AgentConfigValidationError, fL as AgentContext, fZ as AgentError, g1 as AgentLoadError, fQ as AgentMetadata, fX as AgentMetadataSchema, f_ as AgentNotFoundError, fM as AgentrixContext, fR as ClaudeAgentConfig, fY as ClaudeConfigSchema, fW as FRAMEWORK_TYPES, g0 as FrameworkNotSupportedError, fV as HookFactory, g2 as MissingAgentFileError, fO as getAgentContext, fN as setAgentContext } from './errors-
|
|
1
|
+
import { fU as LoadAgentOptions, fS as AgentConfig, fT as ValidationResult, fP as FrameworkType } from './errors-DC4QxaMi.cjs';
|
|
2
|
+
export { f$ as AgentConfigValidationError, fL as AgentContext, fZ as AgentError, g1 as AgentLoadError, fQ as AgentMetadata, fX as AgentMetadataSchema, f_ as AgentNotFoundError, fM as AgentrixContext, fR as ClaudeAgentConfig, fY as ClaudeConfigSchema, fW as FRAMEWORK_TYPES, g0 as FrameworkNotSupportedError, fV as HookFactory, g2 as MissingAgentFileError, fO as getAgentContext, fN as setAgentContext } from './errors-DC4QxaMi.cjs';
|
|
3
3
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
4
4
|
import '@anthropic-ai/claude-agent-sdk';
|
|
5
5
|
import 'zod';
|