@agentrix/shared 2.28.1 → 2.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{errors-rbccBPEc.d.cts → errors-B5fHpdTT.d.cts} +161 -18
- package/dist/index.cjs +37 -6
- package/dist/index.d.cts +57 -4
- package/dist/node.d.cts +2 -2
- package/package.json +1 -1
|
@@ -62,6 +62,17 @@ declare const StartTaskRequestSchema: z.ZodObject<{
|
|
|
62
62
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
63
63
|
cwd: z.ZodOptional<z.ZodString>;
|
|
64
64
|
forceUserCwd: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
initPolicies: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
uncommittedChanges: z.ZodOptional<z.ZodEnum<{
|
|
67
|
+
Ignore: "Ignore";
|
|
68
|
+
Commit: "Commit";
|
|
69
|
+
Stash: "Stash";
|
|
70
|
+
}>>;
|
|
71
|
+
branchMismatch: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
Switch: "Switch";
|
|
73
|
+
Keep: "Keep";
|
|
74
|
+
}>>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
65
76
|
machineId: z.ZodOptional<z.ZodString>;
|
|
66
77
|
cloudId: z.ZodOptional<z.ZodString>;
|
|
67
78
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -103,6 +114,17 @@ declare const startTaskSchema: z.ZodObject<{
|
|
|
103
114
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
104
115
|
cwd: z.ZodOptional<z.ZodString>;
|
|
105
116
|
forceUserCwd: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
initPolicies: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
uncommittedChanges: z.ZodOptional<z.ZodEnum<{
|
|
119
|
+
Ignore: "Ignore";
|
|
120
|
+
Commit: "Commit";
|
|
121
|
+
Stash: "Stash";
|
|
122
|
+
}>>;
|
|
123
|
+
branchMismatch: z.ZodOptional<z.ZodEnum<{
|
|
124
|
+
Switch: "Switch";
|
|
125
|
+
Keep: "Keep";
|
|
126
|
+
}>>;
|
|
127
|
+
}, z.core.$strip>>;
|
|
106
128
|
machineId: z.ZodOptional<z.ZodString>;
|
|
107
129
|
cloudId: z.ZodOptional<z.ZodString>;
|
|
108
130
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -152,6 +174,13 @@ declare const StartTaskResponseSchema: z.ZodObject<{
|
|
|
152
174
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
175
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
154
176
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
177
|
+
branchName: z.ZodNullable<z.ZodString>;
|
|
178
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
179
|
+
none: "none";
|
|
180
|
+
explicit: "explicit";
|
|
181
|
+
"platform-managed": "platform-managed";
|
|
182
|
+
"external-observed": "external-observed";
|
|
183
|
+
}>>;
|
|
155
184
|
workerExecutionMode: z.ZodEnum<{
|
|
156
185
|
loop: "loop";
|
|
157
186
|
oneshot: "oneshot";
|
|
@@ -198,6 +227,12 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
198
227
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
199
228
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
200
229
|
branchName: z.ZodNullable<z.ZodString>;
|
|
230
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
231
|
+
none: "none";
|
|
232
|
+
explicit: "explicit";
|
|
233
|
+
"platform-managed": "platform-managed";
|
|
234
|
+
"external-observed": "external-observed";
|
|
235
|
+
}>>;
|
|
201
236
|
workerExecutionMode: z.ZodEnum<{
|
|
202
237
|
loop: "loop";
|
|
203
238
|
oneshot: "oneshot";
|
|
@@ -276,6 +311,12 @@ declare const EnsureIssueRootTaskResponseSchema: z.ZodObject<{
|
|
|
276
311
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
277
312
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
278
313
|
branchName: z.ZodNullable<z.ZodString>;
|
|
314
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
315
|
+
none: "none";
|
|
316
|
+
explicit: "explicit";
|
|
317
|
+
"platform-managed": "platform-managed";
|
|
318
|
+
"external-observed": "external-observed";
|
|
319
|
+
}>>;
|
|
279
320
|
workerExecutionMode: z.ZodEnum<{
|
|
280
321
|
loop: "loop";
|
|
281
322
|
oneshot: "oneshot";
|
|
@@ -368,6 +409,12 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
368
409
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
369
410
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
370
411
|
branchName: z.ZodNullable<z.ZodString>;
|
|
412
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
413
|
+
none: "none";
|
|
414
|
+
explicit: "explicit";
|
|
415
|
+
"platform-managed": "platform-managed";
|
|
416
|
+
"external-observed": "external-observed";
|
|
417
|
+
}>>;
|
|
371
418
|
workerExecutionMode: z.ZodEnum<{
|
|
372
419
|
loop: "loop";
|
|
373
420
|
oneshot: "oneshot";
|
|
@@ -687,6 +734,12 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
687
734
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
688
735
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
689
736
|
branchName: z.ZodNullable<z.ZodString>;
|
|
737
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
738
|
+
none: "none";
|
|
739
|
+
explicit: "explicit";
|
|
740
|
+
"platform-managed": "platform-managed";
|
|
741
|
+
"external-observed": "external-observed";
|
|
742
|
+
}>>;
|
|
690
743
|
workerExecutionMode: z.ZodEnum<{
|
|
691
744
|
loop: "loop";
|
|
692
745
|
oneshot: "oneshot";
|
|
@@ -775,6 +828,12 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
775
828
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
776
829
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
777
830
|
branchName: z.ZodNullable<z.ZodString>;
|
|
831
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
832
|
+
none: "none";
|
|
833
|
+
explicit: "explicit";
|
|
834
|
+
"platform-managed": "platform-managed";
|
|
835
|
+
"external-observed": "external-observed";
|
|
836
|
+
}>>;
|
|
778
837
|
workerExecutionMode: z.ZodEnum<{
|
|
779
838
|
loop: "loop";
|
|
780
839
|
oneshot: "oneshot";
|
|
@@ -865,6 +924,12 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
865
924
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
866
925
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
867
926
|
branchName: z.ZodNullable<z.ZodString>;
|
|
927
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
928
|
+
none: "none";
|
|
929
|
+
explicit: "explicit";
|
|
930
|
+
"platform-managed": "platform-managed";
|
|
931
|
+
"external-observed": "external-observed";
|
|
932
|
+
}>>;
|
|
868
933
|
workerExecutionMode: z.ZodEnum<{
|
|
869
934
|
loop: "loop";
|
|
870
935
|
oneshot: "oneshot";
|
|
@@ -945,6 +1010,12 @@ declare const UpdateTaskPreviewUrlResponseSchema: z.ZodObject<{
|
|
|
945
1010
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
946
1011
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
947
1012
|
branchName: z.ZodNullable<z.ZodString>;
|
|
1013
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
1014
|
+
none: "none";
|
|
1015
|
+
explicit: "explicit";
|
|
1016
|
+
"platform-managed": "platform-managed";
|
|
1017
|
+
"external-observed": "external-observed";
|
|
1018
|
+
}>>;
|
|
948
1019
|
workerExecutionMode: z.ZodEnum<{
|
|
949
1020
|
loop: "loop";
|
|
950
1021
|
oneshot: "oneshot";
|
|
@@ -1018,8 +1089,8 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
1018
1089
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
1019
1090
|
message: z.ZodCustom<SDKUserMessage | SDKAssistantMessage, SDKUserMessage | SDKAssistantMessage>;
|
|
1020
1091
|
target: z.ZodEnum<{
|
|
1021
|
-
agent: "agent";
|
|
1022
1092
|
user: "user";
|
|
1093
|
+
agent: "agent";
|
|
1023
1094
|
}>;
|
|
1024
1095
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
1025
1096
|
senderType: z.ZodEnum<{
|
|
@@ -1168,8 +1239,8 @@ declare const HiveListingTypeSchema: z.ZodEnum<{
|
|
|
1168
1239
|
}>;
|
|
1169
1240
|
type HiveListingType = z.infer<typeof HiveListingTypeSchema>;
|
|
1170
1241
|
declare const HiveAuthorTypeSchema: z.ZodEnum<{
|
|
1171
|
-
agent: "agent";
|
|
1172
1242
|
user: "user";
|
|
1243
|
+
agent: "agent";
|
|
1173
1244
|
}>;
|
|
1174
1245
|
type HiveAuthorType = z.infer<typeof HiveAuthorTypeSchema>;
|
|
1175
1246
|
declare const HiveListingStatusSchema: z.ZodEnum<{
|
|
@@ -1199,8 +1270,8 @@ declare const HiveListingSchema: z.ZodObject<{
|
|
|
1199
1270
|
version: z.ZodString;
|
|
1200
1271
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1201
1272
|
authorType: z.ZodEnum<{
|
|
1202
|
-
agent: "agent";
|
|
1203
1273
|
user: "user";
|
|
1274
|
+
agent: "agent";
|
|
1204
1275
|
}>;
|
|
1205
1276
|
authorId: z.ZodString;
|
|
1206
1277
|
authorName: z.ZodString;
|
|
@@ -1240,8 +1311,8 @@ declare const PublishToHiveRequestSchema: z.ZodObject<{
|
|
|
1240
1311
|
category: z.ZodOptional<z.ZodString>;
|
|
1241
1312
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1242
1313
|
authorType: z.ZodEnum<{
|
|
1243
|
-
agent: "agent";
|
|
1244
1314
|
user: "user";
|
|
1315
|
+
agent: "agent";
|
|
1245
1316
|
}>;
|
|
1246
1317
|
authorId: z.ZodString;
|
|
1247
1318
|
machineId: z.ZodOptional<z.ZodString>;
|
|
@@ -1286,8 +1357,8 @@ declare const HiveListResponseSchema: z.ZodObject<{
|
|
|
1286
1357
|
version: z.ZodString;
|
|
1287
1358
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1288
1359
|
authorType: z.ZodEnum<{
|
|
1289
|
-
agent: "agent";
|
|
1290
1360
|
user: "user";
|
|
1361
|
+
agent: "agent";
|
|
1291
1362
|
}>;
|
|
1292
1363
|
authorId: z.ZodString;
|
|
1293
1364
|
authorName: z.ZodString;
|
|
@@ -1391,8 +1462,8 @@ declare const HiveReviewSchema: z.ZodObject<{
|
|
|
1391
1462
|
id: z.ZodString;
|
|
1392
1463
|
hiveListingId: z.ZodString;
|
|
1393
1464
|
authorType: z.ZodEnum<{
|
|
1394
|
-
agent: "agent";
|
|
1395
1465
|
user: "user";
|
|
1466
|
+
agent: "agent";
|
|
1396
1467
|
}>;
|
|
1397
1468
|
authorId: z.ZodString;
|
|
1398
1469
|
authorName: z.ZodString;
|
|
@@ -1418,8 +1489,8 @@ declare const HiveReviewListResponseSchema: z.ZodObject<{
|
|
|
1418
1489
|
id: z.ZodString;
|
|
1419
1490
|
hiveListingId: z.ZodString;
|
|
1420
1491
|
authorType: z.ZodEnum<{
|
|
1421
|
-
agent: "agent";
|
|
1422
1492
|
user: "user";
|
|
1493
|
+
agent: "agent";
|
|
1423
1494
|
}>;
|
|
1424
1495
|
authorId: z.ZodString;
|
|
1425
1496
|
authorName: z.ZodString;
|
|
@@ -1439,8 +1510,8 @@ declare const HiveCommentSchema: z.ZodObject<{
|
|
|
1439
1510
|
hiveListingId: z.ZodString;
|
|
1440
1511
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1441
1512
|
authorType: z.ZodEnum<{
|
|
1442
|
-
agent: "agent";
|
|
1443
1513
|
user: "user";
|
|
1514
|
+
agent: "agent";
|
|
1444
1515
|
}>;
|
|
1445
1516
|
authorId: z.ZodString;
|
|
1446
1517
|
authorName: z.ZodString;
|
|
@@ -1465,8 +1536,8 @@ declare const HiveCommentListResponseSchema: z.ZodObject<{
|
|
|
1465
1536
|
hiveListingId: z.ZodString;
|
|
1466
1537
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1467
1538
|
authorType: z.ZodEnum<{
|
|
1468
|
-
agent: "agent";
|
|
1469
1539
|
user: "user";
|
|
1540
|
+
agent: "agent";
|
|
1470
1541
|
}>;
|
|
1471
1542
|
authorId: z.ZodString;
|
|
1472
1543
|
authorName: z.ZodString;
|
|
@@ -1506,8 +1577,8 @@ declare const HiveInstalledItemSchema: z.ZodObject<{
|
|
|
1506
1577
|
version: z.ZodString;
|
|
1507
1578
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1508
1579
|
authorType: z.ZodEnum<{
|
|
1509
|
-
agent: "agent";
|
|
1510
1580
|
user: "user";
|
|
1581
|
+
agent: "agent";
|
|
1511
1582
|
}>;
|
|
1512
1583
|
authorId: z.ZodString;
|
|
1513
1584
|
authorName: z.ZodString;
|
|
@@ -1561,8 +1632,8 @@ declare const HiveInstalledResponseSchema: z.ZodObject<{
|
|
|
1561
1632
|
version: z.ZodString;
|
|
1562
1633
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1563
1634
|
authorType: z.ZodEnum<{
|
|
1564
|
-
agent: "agent";
|
|
1565
1635
|
user: "user";
|
|
1636
|
+
agent: "agent";
|
|
1566
1637
|
}>;
|
|
1567
1638
|
authorId: z.ZodString;
|
|
1568
1639
|
authorName: z.ZodString;
|
|
@@ -1604,8 +1675,8 @@ declare const HiveMyListingsResponseSchema: z.ZodObject<{
|
|
|
1604
1675
|
version: z.ZodString;
|
|
1605
1676
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1606
1677
|
authorType: z.ZodEnum<{
|
|
1607
|
-
agent: "agent";
|
|
1608
1678
|
user: "user";
|
|
1679
|
+
agent: "agent";
|
|
1609
1680
|
}>;
|
|
1610
1681
|
authorId: z.ZodString;
|
|
1611
1682
|
authorName: z.ZodString;
|
|
@@ -1992,8 +2063,8 @@ declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
|
1992
2063
|
cancelled: "cancelled";
|
|
1993
2064
|
}>;
|
|
1994
2065
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
1995
|
-
system: "system";
|
|
1996
2066
|
user: "user";
|
|
2067
|
+
system: "system";
|
|
1997
2068
|
timeout: "timeout";
|
|
1998
2069
|
}>;
|
|
1999
2070
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
@@ -2015,8 +2086,8 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
2015
2086
|
cancelled: "cancelled";
|
|
2016
2087
|
}>>;
|
|
2017
2088
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
2018
|
-
system: "system";
|
|
2019
2089
|
user: "user";
|
|
2090
|
+
system: "system";
|
|
2020
2091
|
timeout: "timeout";
|
|
2021
2092
|
}>>;
|
|
2022
2093
|
}, z.core.$strip>;
|
|
@@ -2061,6 +2132,15 @@ interface SubTaskAskUserMessage {
|
|
|
2061
2132
|
questions: AskUserQuestion[];
|
|
2062
2133
|
status: 'pending' | 'answered' | 'timeout';
|
|
2063
2134
|
}
|
|
2135
|
+
/**
|
|
2136
|
+
* Task-scoped temporary system message payload.
|
|
2137
|
+
* Sent as a task-message when the worker wants to show a transient non-chat status.
|
|
2138
|
+
*/
|
|
2139
|
+
interface TaskSystemMessage {
|
|
2140
|
+
type: 'system';
|
|
2141
|
+
subtype: 'temporary';
|
|
2142
|
+
content: string;
|
|
2143
|
+
}
|
|
2064
2144
|
/**
|
|
2065
2145
|
* Union type for task message payload
|
|
2066
2146
|
* - SDKMessage: Normal agent messages
|
|
@@ -2069,8 +2149,9 @@ interface SubTaskAskUserMessage {
|
|
|
2069
2149
|
* - CompanionHeartbeatMessage: Scheduled heartbeat to wake up companion
|
|
2070
2150
|
* - CompanionReminderMessage: Shadow companion reminding main companion
|
|
2071
2151
|
* - SubTaskAskUserMessage: Sub task ask user card message
|
|
2152
|
+
* - TaskSystemMessage: Worker/system temporary status visible in task history
|
|
2072
2153
|
*/
|
|
2073
|
-
type TaskMessagePayload = SDKMessage | AskUserMessage | AskUserResponseMessage | CompanionHeartbeatMessage | CompanionReminderMessage | SubTaskAskUserMessage;
|
|
2154
|
+
type TaskMessagePayload = SDKMessage | AskUserMessage | AskUserResponseMessage | CompanionHeartbeatMessage | CompanionReminderMessage | SubTaskAskUserMessage | TaskSystemMessage;
|
|
2074
2155
|
|
|
2075
2156
|
declare const TaskAgentInfoSchema: z.ZodObject<{
|
|
2076
2157
|
id: z.ZodString;
|
|
@@ -2104,7 +2185,11 @@ declare function isCompanionReminderMessage(message: TaskMessagePayload): messag
|
|
|
2104
2185
|
*/
|
|
2105
2186
|
declare function isSubTaskAskUserMessage(message: TaskMessagePayload): message is SubTaskAskUserMessage;
|
|
2106
2187
|
/**
|
|
2107
|
-
* Type guard to check if message is
|
|
2188
|
+
* Type guard to check if message is a task-scoped temporary system message.
|
|
2189
|
+
*/
|
|
2190
|
+
declare function isTaskSystemMessage(message: TaskMessagePayload): message is TaskSystemMessage;
|
|
2191
|
+
/**
|
|
2192
|
+
* Type guard to check if message is SDKMessage (not ask_user related, not companion_heartbeat, not companion_reminder, not sub_task_ask_user, not task system message)
|
|
2108
2193
|
*/
|
|
2109
2194
|
declare function isSDKMessage(message: TaskMessagePayload): message is SDKMessage;
|
|
2110
2195
|
/**
|
|
@@ -2331,10 +2416,27 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
2331
2416
|
gitUrl: z.ZodOptional<z.ZodString>;
|
|
2332
2417
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
2333
2418
|
branchName: z.ZodOptional<z.ZodString>;
|
|
2419
|
+
branchBinding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2420
|
+
none: "none";
|
|
2421
|
+
explicit: "explicit";
|
|
2422
|
+
"platform-managed": "platform-managed";
|
|
2423
|
+
"external-observed": "external-observed";
|
|
2424
|
+
}>>>;
|
|
2334
2425
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2335
2426
|
userCwd: z.ZodOptional<z.ZodString>;
|
|
2336
2427
|
forceUserCwd: z.ZodOptional<z.ZodBoolean>;
|
|
2337
2428
|
useWorktree: z.ZodOptional<z.ZodBoolean>;
|
|
2429
|
+
initPolicies: z.ZodOptional<z.ZodObject<{
|
|
2430
|
+
uncommittedChanges: z.ZodOptional<z.ZodEnum<{
|
|
2431
|
+
Ignore: "Ignore";
|
|
2432
|
+
Commit: "Commit";
|
|
2433
|
+
Stash: "Stash";
|
|
2434
|
+
}>>;
|
|
2435
|
+
branchMismatch: z.ZodOptional<z.ZodEnum<{
|
|
2436
|
+
Switch: "Switch";
|
|
2437
|
+
Keep: "Keep";
|
|
2438
|
+
}>>;
|
|
2439
|
+
}, z.core.$strip>>;
|
|
2338
2440
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
2339
2441
|
model: z.ZodOptional<z.ZodString>;
|
|
2340
2442
|
fallbackModel: z.ZodOptional<z.ZodString>;
|
|
@@ -2403,10 +2505,27 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
2403
2505
|
gitUrl: z.ZodOptional<z.ZodString>;
|
|
2404
2506
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
2405
2507
|
branchName: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
branchBinding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2509
|
+
none: "none";
|
|
2510
|
+
explicit: "explicit";
|
|
2511
|
+
"platform-managed": "platform-managed";
|
|
2512
|
+
"external-observed": "external-observed";
|
|
2513
|
+
}>>>;
|
|
2406
2514
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2407
2515
|
userCwd: z.ZodOptional<z.ZodString>;
|
|
2408
2516
|
forceUserCwd: z.ZodOptional<z.ZodBoolean>;
|
|
2409
2517
|
useWorktree: z.ZodOptional<z.ZodBoolean>;
|
|
2518
|
+
initPolicies: z.ZodOptional<z.ZodObject<{
|
|
2519
|
+
uncommittedChanges: z.ZodOptional<z.ZodEnum<{
|
|
2520
|
+
Ignore: "Ignore";
|
|
2521
|
+
Commit: "Commit";
|
|
2522
|
+
Stash: "Stash";
|
|
2523
|
+
}>>;
|
|
2524
|
+
branchMismatch: z.ZodOptional<z.ZodEnum<{
|
|
2525
|
+
Switch: "Switch";
|
|
2526
|
+
Keep: "Keep";
|
|
2527
|
+
}>>;
|
|
2528
|
+
}, z.core.$strip>>;
|
|
2410
2529
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
2411
2530
|
model: z.ZodOptional<z.ZodString>;
|
|
2412
2531
|
fallbackModel: z.ZodOptional<z.ZodString>;
|
|
@@ -2478,10 +2597,27 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
2478
2597
|
gitUrl: z.ZodOptional<z.ZodString>;
|
|
2479
2598
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
2480
2599
|
branchName: z.ZodOptional<z.ZodString>;
|
|
2600
|
+
branchBinding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2601
|
+
none: "none";
|
|
2602
|
+
explicit: "explicit";
|
|
2603
|
+
"platform-managed": "platform-managed";
|
|
2604
|
+
"external-observed": "external-observed";
|
|
2605
|
+
}>>>;
|
|
2481
2606
|
cwd: z.ZodOptional<z.ZodString>;
|
|
2482
2607
|
userCwd: z.ZodOptional<z.ZodString>;
|
|
2483
2608
|
forceUserCwd: z.ZodOptional<z.ZodBoolean>;
|
|
2484
2609
|
useWorktree: z.ZodOptional<z.ZodBoolean>;
|
|
2610
|
+
initPolicies: z.ZodOptional<z.ZodObject<{
|
|
2611
|
+
uncommittedChanges: z.ZodOptional<z.ZodEnum<{
|
|
2612
|
+
Ignore: "Ignore";
|
|
2613
|
+
Commit: "Commit";
|
|
2614
|
+
Stash: "Stash";
|
|
2615
|
+
}>>;
|
|
2616
|
+
branchMismatch: z.ZodOptional<z.ZodEnum<{
|
|
2617
|
+
Switch: "Switch";
|
|
2618
|
+
Keep: "Keep";
|
|
2619
|
+
}>>;
|
|
2620
|
+
}, z.core.$strip>>;
|
|
2485
2621
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
2486
2622
|
model: z.ZodOptional<z.ZodString>;
|
|
2487
2623
|
fallbackModel: z.ZodOptional<z.ZodString>;
|
|
@@ -2929,6 +3065,7 @@ declare const MergeRequestEventSchema: z.ZodObject<{
|
|
|
2929
3065
|
taskId: z.ZodString;
|
|
2930
3066
|
summary: z.ZodString;
|
|
2931
3067
|
description: z.ZodOptional<z.ZodString>;
|
|
3068
|
+
sourceBranch: z.ZodString;
|
|
2932
3069
|
}, z.core.$strip>;
|
|
2933
3070
|
type MergeRequestEventData = z.infer<typeof MergeRequestEventSchema>;
|
|
2934
3071
|
/**
|
|
@@ -3395,6 +3532,12 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
3395
3532
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
3396
3533
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
3397
3534
|
branchName: z.ZodNullable<z.ZodString>;
|
|
3535
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
3536
|
+
none: "none";
|
|
3537
|
+
explicit: "explicit";
|
|
3538
|
+
"platform-managed": "platform-managed";
|
|
3539
|
+
"external-observed": "external-observed";
|
|
3540
|
+
}>>;
|
|
3398
3541
|
workerExecutionMode: z.ZodEnum<{
|
|
3399
3542
|
loop: "loop";
|
|
3400
3543
|
oneshot: "oneshot";
|
|
@@ -4133,5 +4276,5 @@ declare class MissingAgentFileError extends AgentError {
|
|
|
4133
4276
|
constructor(filePath: string);
|
|
4134
4277
|
}
|
|
4135
4278
|
|
|
4136
|
-
export { permissionResponseRequestSchema as $, ListTasksResponseSchema as A, DEFAULT_WORKER_EXECUTION_MODE as D, EnsureIssueRootTaskRequestSchema as E, resumeTaskRequestSchema as F, ResumeTaskResponseSchema as G, CancelTaskRequestSchema as I, cancelTaskRequestSchema as K, ListTasksRequestSchema as L, CancelTaskResponseSchema as M, StopTaskRequestSchema as O, ResumeTaskRequestSchema as R, StartTaskRequestSchema as S, UpdateTaskPreviewUrlRequestSchema as U, stopTaskRequestSchema as V, StopTaskResponseSchema as X, PermissionResponseRequestSchema as Z, WorkerExecutionModeSchema as a, FindTaskByAgentRequestSchema as a$, PermissionResponseResponseSchema as a0, ProjectEntrySchema as a2, ProjectDirectoryResponseSchema as a4, QueryEventsRequestSchema as a6, UpdateTaskTitleResponseSchema as aA, UpdateTaskPreviewUrlResponseSchema as aC, SendTaskMessageRequestSchema as aF, SendTaskMessageResponseSchema as aH, ShowModalRequestSchema as aJ, ShowModalResponseSchema as aL, GetTaskSessionResponseSchema as aN, ListSubTasksRequestSchema as aP, SubTaskSummarySchema as aR, ListSubTasksResponseSchema as aT, ListRecentTasksRequestSchema as aV, RecentTaskSummarySchema as aX, ListRecentTasksResponseSchema as aZ, FillEventsRequestSchema as aa, CreateMergeRequestSchema as ad, createMergeRequestSchema as af, CreateMergeRequestResponseSchema as ag, ApprovePrRequestSchema as ai, ApprovePrResponseSchema as ak, CreateTaskShareSchema as am, CreateTaskShareResponseSchema as ao, ArchiveTaskRequestSchema as aq, ArchiveTaskResponseSchema as as, UnarchiveTaskRequestSchema as au, UnarchiveTaskResponseSchema as aw, UpdateTaskTitleRequestSchema as ay, SyncAvailableEventSchema as b$, FindTaskByAgentResponseSchema as b1, HiveListingTypeSchema as b3, HiveAuthorTypeSchema as b5, HiveListingStatusSchema as b7, HiveSortSchema as b9, CreateHiveReviewRequestSchema as bB, UpdateHiveReviewRequestSchema as bD, HiveReviewListResponseSchema as bF, HiveCommentSchema as bH, CreateHiveCommentRequestSchema as bJ, UpdateHiveCommentRequestSchema as bL, HiveCommentListResponseSchema as bN, HiveInstalledItemSchema as bP, HiveInstalledResponseSchema as bR, HiveMyListingsResponseSchema as bT, SyncStreamTypeSchema as bV, GetStreamVersionQuerySchema as bX, StreamVersionResponseSchema as bZ, HiveListingSchema as bb, PublishToHiveRequestSchema as bd, PublishToHiveResponseSchema as bf, HiveListQuerySchema as bh, HiveListResponseSchema as bj, UpdateHiveListingRequestSchema as bl, UpdateHiveVersionRequestSchema as bn, HiveInstallRequestSchema as bp, HiveInstallSchema as br, HiveInstallResponseSchema as bt, RecordHiveInstallRequestSchema as bv, RecordHiveInstallResponseSchema as bx, HiveReviewSchema as bz, isLocalTaskExecution as c,
|
|
4137
|
-
export type { ListTasksResponse as B, ResumeTaskRequest as C, ResumeTaskResponse as H, CancelTaskRequest as J, CancelTaskResponse as N, PreviewMetadata as P, StopTaskRequest as Q, TaskExecutionMode as T, WorkerExecutionMode as W, StopTaskResponse as Y, PermissionResponseRequest as _, PermissionResponseResponse as a1, ProjectEntry as a3, ProjectDirectoryResponse as a5, QueryEventsRequest as a7, TaskEvent as a8, QueryEventsResponse as a9, UpdateTaskTitleResponse as aB, UpdateTaskPreviewUrlResponse as aD, SendMessageTarget as aE, SendTaskMessageRequest as aG, SendTaskMessageResponse as aI, ShowModalRequest as aK, ShowModalResponse as aM, GetTaskSessionResponse as aO, ListSubTasksRequest as aQ, SubTaskSummary as aS, ListSubTasksResponse as aU, ListRecentTasksRequest as aW, RecentTaskSummary as aY, ListRecentTasksResponse as a_, FillEventsRequest as ab, FillEventsResponse as ac, CreateMergeRequestRequest as ae, CreateMergeRequestResponse as ah, ApprovePrRequest as aj, ApprovePrResponse as al, CreateTaskShareRequest as an, CreateTaskShareResponse as ap, ArchiveTaskRequest as ar, ArchiveTaskResponse as at, UnarchiveTaskRequest as av, UnarchiveTaskResponse as ax, UpdateTaskTitleRequest as az, TaskExecutionTarget as b, FindTaskByAgentRequest as b0, FindTaskByAgentResponse as b2, HiveListingType as b4, HiveAuthorType as b6, HiveListingStatus as b8, HiveReview as bA, CreateHiveReviewRequest as bC, UpdateHiveReviewRequest as bE, HiveReviewListResponse as bG, HiveComment as bI, CreateHiveCommentRequest as bK, UpdateHiveCommentRequest as bM, HiveCommentListResponse as bO, HiveInstalledItem as bQ, HiveInstalledResponse as bS, HiveMyListingsResponse as bU, SyncStreamType as bW, GetStreamVersionQuery as bY, StreamVersionResponse as b_, HiveSort as ba, HiveListing as bc, PublishToHiveRequest as be, PublishToHiveResponse as bg, HiveListQuery as bi, HiveListResponse as bk, UpdateHiveListingRequest as bm, UpdateHiveVersionRequest as bo, HiveInstallRequest as bq, HiveInstall as bs, HiveInstallResponse as bu, RecordHiveInstallRequest as bw, RecordHiveInstallResponse as by, SyncAvailableEvent as c0, AskUserOption as c2, AskUserQuestion as c4, AskUserMessage as c6, AskUserResponseStatus as c9,
|
|
4279
|
+
export { permissionResponseRequestSchema as $, ListTasksResponseSchema as A, DEFAULT_WORKER_EXECUTION_MODE as D, EnsureIssueRootTaskRequestSchema as E, resumeTaskRequestSchema as F, ResumeTaskResponseSchema as G, CancelTaskRequestSchema as I, cancelTaskRequestSchema as K, ListTasksRequestSchema as L, CancelTaskResponseSchema as M, StopTaskRequestSchema as O, ResumeTaskRequestSchema as R, StartTaskRequestSchema as S, UpdateTaskPreviewUrlRequestSchema as U, stopTaskRequestSchema as V, StopTaskResponseSchema as X, PermissionResponseRequestSchema as Z, WorkerExecutionModeSchema as a, FindTaskByAgentRequestSchema as a$, PermissionResponseResponseSchema as a0, ProjectEntrySchema as a2, ProjectDirectoryResponseSchema as a4, QueryEventsRequestSchema as a6, UpdateTaskTitleResponseSchema as aA, UpdateTaskPreviewUrlResponseSchema as aC, SendTaskMessageRequestSchema as aF, SendTaskMessageResponseSchema as aH, ShowModalRequestSchema as aJ, ShowModalResponseSchema as aL, GetTaskSessionResponseSchema as aN, ListSubTasksRequestSchema as aP, SubTaskSummarySchema as aR, ListSubTasksResponseSchema as aT, ListRecentTasksRequestSchema as aV, RecentTaskSummarySchema as aX, ListRecentTasksResponseSchema as aZ, FillEventsRequestSchema as aa, CreateMergeRequestSchema as ad, createMergeRequestSchema as af, CreateMergeRequestResponseSchema as ag, ApprovePrRequestSchema as ai, ApprovePrResponseSchema as ak, CreateTaskShareSchema as am, CreateTaskShareResponseSchema as ao, ArchiveTaskRequestSchema as aq, ArchiveTaskResponseSchema as as, UnarchiveTaskRequestSchema as au, UnarchiveTaskResponseSchema as aw, UpdateTaskTitleRequestSchema as ay, SyncAvailableEventSchema as b$, FindTaskByAgentResponseSchema as b1, HiveListingTypeSchema as b3, HiveAuthorTypeSchema as b5, HiveListingStatusSchema as b7, HiveSortSchema as b9, CreateHiveReviewRequestSchema as bB, UpdateHiveReviewRequestSchema as bD, HiveReviewListResponseSchema as bF, HiveCommentSchema as bH, CreateHiveCommentRequestSchema as bJ, UpdateHiveCommentRequestSchema as bL, HiveCommentListResponseSchema as bN, HiveInstalledItemSchema as bP, HiveInstalledResponseSchema as bR, HiveMyListingsResponseSchema as bT, SyncStreamTypeSchema as bV, GetStreamVersionQuerySchema as bX, StreamVersionResponseSchema as bZ, HiveListingSchema as bb, PublishToHiveRequestSchema as bd, PublishToHiveResponseSchema as bf, HiveListQuerySchema as bh, HiveListResponseSchema as bj, UpdateHiveListingRequestSchema as bl, UpdateHiveVersionRequestSchema as bn, HiveInstallRequestSchema as bp, HiveInstallSchema as br, HiveInstallResponseSchema as bt, RecordHiveInstallRequestSchema as bv, RecordHiveInstallResponseSchema as bx, HiveReviewSchema as bz, isLocalTaskExecution as c, ChatWorkersStatusRequestSchema as c$, AskUserOptionSchema as c1, AskUserQuestionSchema as c3, AskUserMessageSchema as c5, AskUserResponseStatusSchema as c7, AskUserResponseReasonSchema as c8, ShutdownMachineSchema as cB, WorkerInitializingSchema as cD, WorkerInitializedSchema as cF, WorkerPermissionModeValueSchema as cH, WorkerReadySchema as cJ, ActiveAgentSchema as cL, WorkerAliveEventSchema as cN, WorkerExitSchema as cP, WorkerRunningSchema as cR, WorkerPermissionModeSchema as cT, WorkerStatusRequestSchema as cV, WorkerStatusValueSchema as cX, WorkerStatusSnapshotSchema as cZ, AskUserResponseMessageSchema as cb, TaskAgentInfoSchema as ci, isAskUserMessage as ck, isAskUserResponseMessage as cl, isCompanionHeartbeatMessage as cm, isCompanionReminderMessage as cn, isSubTaskAskUserMessage as co, isTaskSystemMessage as cp, isSDKMessage as cq, isSDKUserMessage as cr, createEventId as cs, EventAckSchema as ct, AppAliveEventSchema as cv, ApiServerAliveEventSchema as cx, MachineAliveEventSchema as cz, getTaskExecutionMachineRouteId as d, MergeRequestEventSchema as d$, ChatWorkersStatusResponseSchema as d1, ListModelsEventSchema as d3, baseTaskSchema as d5, createTaskSchema as d6, resumeTaskSchema as d8, CreditExhaustedEventSchema as dB, RtcIceServerSchema as dD, RtcIceServersRequestSchema as dF, RtcIceServersResponseSchema as dH, MachineRtcRequestSchema as dJ, MachineRtcResponseSchema as dL, RtcSignalSchema as dN, WorkspaceFileRequestSchema as dP, WorkspaceFileResponseSchema as dR, UpdateTaskAgentSessionIdEventSchema as dT, TaskInfoUpdateEventDataSchema as dV, TaskSlashCommandSchema as dX, TaskSlashCommandsUpdateEventDataSchema as dZ, cancelTaskSchema as da, StopTaskSchema as dc, TaskArtifactsStatsSchema as de, PreviewProjectTypeSchema as dg, PreviewMethodSchema as di, PreviewMetadataSchema as dk, TaskArtifactsSummarySchema as dl, TaskMessageSchema as dn, TaskModelUsageSchema as dq, TaskUsageReportEventSchema as ds, ShowModalEventDataSchema as dv, ChangeTaskTitleEventSchema as dx, TaskStateChangeEventSchema as dz, TaskTodoSchema as e, MachineControlErrorCodeSchema as e$, TaskStoppedEventSchema as e1, SubTaskResultUpdatedEventSchema as e3, SubTaskAskUserEventSchema as e5, MergePullRequestEventSchema as e7, RepositoryInboxProviderSchema as eA, RepositoryInboxWebhookSchema as eB, CompanionHeartbeatRequestSchema as eD, CompanionHeartbeatResponseSchema as eF, CompanionInitRequestSchema as eH, CompanionInitResponseSchema as eJ, ResetTaskSessionSchema as eL, SeqSyncRequestEventDataSchema as eO, SeqSyncResponseEventDataSchema as eQ, EventSchemaMap as eU, workerTaskEvents as eW, MachineControlActionSchema as eX, MachineControlTargetSchema as eZ, DeployAgentEventSchema as ea, DeployAgentCompleteEventSchema as ec, HivePublishEventSchema as ee, HivePublishCompleteEventSchema as eg, HiveInstallEventSchema as ei, HiveInstallCompleteEventSchema as ek, AssociateRepoEventDataSchema as em, UpdateAgentInfoEventSchema as en, SystemMessageSchema as es, DaemonGitlabOperationSchema as eu, DaemonGitlabRequestSchema as ew, DaemonGitlabResponseSchema as ey, MachineControlPingResultSchema as f1, MachineActionRequestSchema as f3, MachineActionPendingSchema as f5, ExecuteMachineActionResponseSchema as f7, MachineControlCommandSchema as f9, FRAMEWORK_TYPES as fC, AgentMetadataSchema as fD, ClaudeConfigSchema as fE, AgentError as fF, AgentNotFoundError as fG, AgentConfigValidationError as fH, FrameworkNotSupportedError as fI, AgentLoadError as fJ, MissingAgentFileError as fK, MachineControlProgressStatusSchema as fb, MachineControlProgressSchema as fd, MachineControlUpdatedStatusSchema as ff, MachineControlUpdatedSchema as fh, RpcCallEventSchema as fk, MachineRpcCallEventSchema as fm, RpcResponseSchema as fo, setAgentContext as fs, getAgentContext as ft, getTaskExecutionMode as g, TaskUsageSummarySchema as h, isCloudTaskExecution as i, TaskPreviewUrlSchema as k, normalizeWorkerExecutionMode as n, startTaskSchema as o, StartTaskResponseSchema as p, supportsTaskUserCwd as s, taskExecutionModes as t, TaskItemSchema as u, workerExecutionModes as w, EnsureIssueRootTaskResponseSchema as x };
|
|
4280
|
+
export type { ListTasksResponse as B, ResumeTaskRequest as C, ResumeTaskResponse as H, CancelTaskRequest as J, CancelTaskResponse as N, PreviewMetadata as P, StopTaskRequest as Q, TaskExecutionMode as T, WorkerExecutionMode as W, StopTaskResponse as Y, PermissionResponseRequest as _, PermissionResponseResponse as a1, ProjectEntry as a3, ProjectDirectoryResponse as a5, QueryEventsRequest as a7, TaskEvent as a8, QueryEventsResponse as a9, UpdateTaskTitleResponse as aB, UpdateTaskPreviewUrlResponse as aD, SendMessageTarget as aE, SendTaskMessageRequest as aG, SendTaskMessageResponse as aI, ShowModalRequest as aK, ShowModalResponse as aM, GetTaskSessionResponse as aO, ListSubTasksRequest as aQ, SubTaskSummary as aS, ListSubTasksResponse as aU, ListRecentTasksRequest as aW, RecentTaskSummary as aY, ListRecentTasksResponse as a_, FillEventsRequest as ab, FillEventsResponse as ac, CreateMergeRequestRequest as ae, CreateMergeRequestResponse as ah, ApprovePrRequest as aj, ApprovePrResponse as al, CreateTaskShareRequest as an, CreateTaskShareResponse as ap, ArchiveTaskRequest as ar, ArchiveTaskResponse as at, UnarchiveTaskRequest as av, UnarchiveTaskResponse as ax, UpdateTaskTitleRequest as az, TaskExecutionTarget as b, FindTaskByAgentRequest as b0, FindTaskByAgentResponse as b2, HiveListingType as b4, HiveAuthorType as b6, HiveListingStatus as b8, HiveReview as bA, CreateHiveReviewRequest as bC, UpdateHiveReviewRequest as bE, HiveReviewListResponse as bG, HiveComment as bI, CreateHiveCommentRequest as bK, UpdateHiveCommentRequest as bM, HiveCommentListResponse as bO, HiveInstalledItem as bQ, HiveInstalledResponse as bS, HiveMyListingsResponse as bU, SyncStreamType as bW, GetStreamVersionQuery as bY, StreamVersionResponse as b_, HiveSort as ba, HiveListing as bc, PublishToHiveRequest as be, PublishToHiveResponse as bg, HiveListQuery as bi, HiveListResponse as bk, UpdateHiveListingRequest as bm, UpdateHiveVersionRequest as bo, HiveInstallRequest as bq, HiveInstall as bs, HiveInstallResponse as bu, RecordHiveInstallRequest as bw, RecordHiveInstallResponse as by, SyncAvailableEvent as c0, AskUserOption as c2, AskUserQuestion as c4, AskUserMessage as c6, AskUserResponseStatus as c9, MachineAliveEventData as cA, ShutdownMachineData as cC, WorkerInitializingEventData as cE, WorkerInitializedEventData as cG, WorkerPermissionModeValue as cI, WorkerReadyEventData as cK, ActiveAgent as cM, WorkerAliveEventData as cO, WorkerExitEventData as cQ, WorkerRunningEventData as cS, WorkerPermissionModeEventData as cU, WorkerStatusRequestEventData as cW, WorkerStatusValue as cY, WorkerStatusSnapshot as c_, AskUserResponseReason as ca, AskUserResponseMessage as cc, CompanionHeartbeatMessage as cd, CompanionReminderMessage as ce, SubTaskAskUserMessage as cf, TaskSystemMessage as cg, TaskMessagePayload as ch, TaskAgentInfo as cj, EventAckData as cu, AppAliveEventData as cw, ApiServerAliveEventData as cy, ChatWorkersStatusRequestEventData as d0, ChatWorkersStatusResponseEventData as d2, ListModelsEventData as d4, CreateTaskEventData as d7, ResumeTaskEventData as d9, TaskStateChangeEventData as dA, CreditExhaustedEventData as dC, RtcIceServer as dE, RtcIceServersRequestEventData as dG, RtcIceServersResponseEventData as dI, MachineRtcRequestEventData as dK, MachineRtcResponseEventData as dM, RtcSignalEventData as dO, WorkspaceFileRequestEventData as dQ, WorkspaceFileResponseEventData as dS, UpdateTaskAgentSessionIdEventData as dU, TaskInfoUpdateEventData as dW, TaskSlashCommand as dY, TaskSlashCommandsUpdateEventData as d_, CancelTaskEventData as db, StopTaskEventData as dd, TaskArtifactsStats as df, PreviewProjectType as dh, PreviewMethod as dj, TaskArtifactsSummary as dm, TaskMessageEventData as dp, TaskModelUsage as dr, TaskUsageReportEventData as dt, TaskState as du, ShowModalEventData as dw, ChangeTaskTitleEventData as dy, MergeRequestEventData as e0, TaskStoppedEventData as e2, SubTaskResultUpdatedEventData as e4, SubTaskAskUserEventData as e6, MergePullRequestEventData as e8, MergePullRequestAck as e9, RepositoryInboxWebhookEventData as eC, CompanionHeartbeatRequestData as eE, CompanionHeartbeatResponseData as eG, CompanionInitRequestData as eI, CompanionInitResponseData as eK, ResetTaskSessionEventData as eM, EventData as eN, SeqSyncRequestEventData as eP, SeqSyncResponseEventData as eR, EventMap as eS, EventName as eT, WorkerTaskEvent as eV, MachineControlAction as eY, MachineControlTarget as e_, DeployAgentEventData as eb, DeployAgentCompleteEventData as ed, HivePublishEventData as ef, HivePublishCompleteEventData as eh, HiveInstallEventData as ej, HiveInstallCompleteEventData as el, UpdateAgentInfoEventData as eo, AssociateRepoEventData as ep, SystemMessageType as eq, PrStateChangedData as er, SystemMessageEventData as et, DaemonGitlabOperation as ev, DaemonGitlabRequestEventData as ex, DaemonGitlabResponseEventData as ez, TaskTodo as f, MachineControlErrorCode as f0, MachineControlPingResult as f2, MachineActionRequestEventData as f4, MachineActionPending as f6, ExecuteMachineActionResponse as f8, RepositoryInitHookInput as fA, HookFactory as fB, MachineControlCommandEventData as fa, MachineControlProgressStatus as fc, MachineControlProgressEventData as fe, MachineControlUpdatedStatus as fg, MachineControlUpdatedEventData as fi, MachineControlRelayContext as fj, RpcCallEventData as fl, MachineRpcCallEventData as fn, RpcResponseData as fp, AgentContext as fq, AgentrixContext as fr, FrameworkType as fu, AgentMetadata as fv, ClaudeAgentConfig as fw, AgentConfig as fx, ValidationResult as fy, LoadAgentOptions as fz, TaskUsageSummary as j, UpdateTaskPreviewUrlRequest as l, StartTaskRequest as m, StartTaskResponse as q, EnsureIssueRootTaskRequest as r, TaskItem as v, EnsureIssueRootTaskResponse as y, ListTasksRequest as z };
|
package/dist/index.cjs
CHANGED
|
@@ -49,6 +49,7 @@ const FileStatsSchema = zod.z.object({
|
|
|
49
49
|
deletions: zod.z.number()
|
|
50
50
|
});
|
|
51
51
|
const SenderTypeSchema = zod.z.enum(["human", "system", "agent", "channel"]);
|
|
52
|
+
const TaskBranchBindingSchema = zod.z.enum(["none", "explicit", "platform-managed", "external-observed"]);
|
|
52
53
|
|
|
53
54
|
const UserBasicInfoSchema = zod.z.object({
|
|
54
55
|
id: IdSchema,
|
|
@@ -346,6 +347,11 @@ const StartTaskRequestSchema = zod.z.object({
|
|
|
346
347
|
// For local mode: current working directory
|
|
347
348
|
forceUserCwd: zod.z.boolean().optional(),
|
|
348
349
|
// For local mode: force using user-provided cwd (no worktree)
|
|
350
|
+
initPolicies: zod.z.object({
|
|
351
|
+
uncommittedChanges: zod.z.enum(["Ignore", "Commit", "Stash"]).optional(),
|
|
352
|
+
branchMismatch: zod.z.enum(["Switch", "Keep"]).optional()
|
|
353
|
+
}).optional(),
|
|
354
|
+
// Worker workspace startup policies for local tasks
|
|
349
355
|
machineId: zod.z.string().optional(),
|
|
350
356
|
// For local mode: specific machine; for persisted cloud tasks: selected deviceId
|
|
351
357
|
cloudId: zod.z.string().optional(),
|
|
@@ -414,6 +420,8 @@ const StartTaskResponseSchema = zod.z.object({
|
|
|
414
420
|
model: zod.z.string().nullable().optional(),
|
|
415
421
|
repositoryId: zod.z.string().nullable(),
|
|
416
422
|
baseBranch: zod.z.string().nullable(),
|
|
423
|
+
branchName: zod.z.string().nullable(),
|
|
424
|
+
branchBinding: TaskBranchBindingSchema.default("none"),
|
|
417
425
|
workerExecutionMode: WorkerExecutionModeSchema,
|
|
418
426
|
title: zod.z.string().nullable(),
|
|
419
427
|
customTitle: zod.z.string().nullable(),
|
|
@@ -429,7 +437,7 @@ const EnsureIssueRootTaskRequestSchema = zod.z.object({
|
|
|
429
437
|
issueNumber: zod.z.number().int().positive(),
|
|
430
438
|
customTitle: zod.z.string().min(1).max(200).optional(),
|
|
431
439
|
branchName: zod.z.string().optional()
|
|
432
|
-
// Explicit branch name override
|
|
440
|
+
// Explicit branch name override
|
|
433
441
|
});
|
|
434
442
|
const TaskItemSchema = zod.z.object({
|
|
435
443
|
id: IdSchema,
|
|
@@ -449,6 +457,7 @@ const TaskItemSchema = zod.z.object({
|
|
|
449
457
|
baseBranch: zod.z.string().nullable(),
|
|
450
458
|
branchName: zod.z.string().nullable(),
|
|
451
459
|
// Explicit branch name override (e.g. issue/42/code)
|
|
460
|
+
branchBinding: TaskBranchBindingSchema.default("none"),
|
|
452
461
|
workerExecutionMode: WorkerExecutionModeSchema,
|
|
453
462
|
title: zod.z.string().nullable(),
|
|
454
463
|
// Task title (can be set by worker)
|
|
@@ -1009,6 +1018,7 @@ const PublishDraftAgentResponseSchema = zod.z.object({
|
|
|
1009
1018
|
// Deployment task ID
|
|
1010
1019
|
});
|
|
1011
1020
|
|
|
1021
|
+
const CloudRoleSchema = zod.z.enum(["owner", "admin", "member"]);
|
|
1012
1022
|
const LocalMachineSchema = zod.z.object({
|
|
1013
1023
|
id: IdSchema,
|
|
1014
1024
|
owner: IdSchema,
|
|
@@ -1041,7 +1051,7 @@ const CloudSchema = zod.z.object({
|
|
|
1041
1051
|
name: zod.z.string(),
|
|
1042
1052
|
type: zod.z.enum(["public", "private"]),
|
|
1043
1053
|
status: zod.z.enum(["active", "suspended"]),
|
|
1044
|
-
role:
|
|
1054
|
+
role: CloudRoleSchema.optional(),
|
|
1045
1055
|
userStatus: zod.z.enum(["active", "pending", "revoked"]).optional(),
|
|
1046
1056
|
maxMachineCount: zod.z.number().int().nonnegative().nullable().optional(),
|
|
1047
1057
|
maxMemberCount: zod.z.number().int().nonnegative().nullable().optional(),
|
|
@@ -1694,7 +1704,7 @@ const PrivateCloudMemberSchema = zod.z.object({
|
|
|
1694
1704
|
userId: IdSchema,
|
|
1695
1705
|
username: zod.z.string().nullable(),
|
|
1696
1706
|
avatar: zod.z.string().nullable(),
|
|
1697
|
-
role:
|
|
1707
|
+
role: CloudRoleSchema,
|
|
1698
1708
|
status: zod.z.enum(["active", "pending", "revoked"]),
|
|
1699
1709
|
createdAt: DateSchema
|
|
1700
1710
|
});
|
|
@@ -1705,6 +1715,12 @@ const ListPrivateCloudMachinesResponseSchema = zod.z.object({
|
|
|
1705
1715
|
machines: zod.z.array(CloudMachineSchema)
|
|
1706
1716
|
});
|
|
1707
1717
|
const RemovePrivateCloudMemberResponseSchema = SimpleSuccessSchema;
|
|
1718
|
+
const UpdatePrivateCloudMemberRoleRequestSchema = zod.z.object({
|
|
1719
|
+
role: zod.z.enum(["admin", "member"])
|
|
1720
|
+
});
|
|
1721
|
+
const UpdatePrivateCloudMemberRoleResponseSchema = zod.z.object({
|
|
1722
|
+
member: PrivateCloudMemberSchema
|
|
1723
|
+
});
|
|
1708
1724
|
const GetPrivateCloudRunnerSecretResponseSchema = zod.z.object({
|
|
1709
1725
|
secret: zod.z.string()
|
|
1710
1726
|
});
|
|
@@ -2580,8 +2596,11 @@ function isCompanionReminderMessage(message) {
|
|
|
2580
2596
|
function isSubTaskAskUserMessage(message) {
|
|
2581
2597
|
return typeof message === "object" && message !== null && "type" in message && message.type === "sub_task_ask_user";
|
|
2582
2598
|
}
|
|
2599
|
+
function isTaskSystemMessage(message) {
|
|
2600
|
+
return typeof message === "object" && message !== null && "type" in message && message.type === "system" && "subtype" in message && message.subtype === "temporary";
|
|
2601
|
+
}
|
|
2583
2602
|
function isSDKMessage(message) {
|
|
2584
|
-
return typeof message === "object" && message !== null && "type" in message && message.type !== "ask_user" && message.type !== "ask_user_response" && message.type !== "companion_heartbeat" && message.type !== "companion_reminder" && message.type !== "sub_task_ask_user";
|
|
2603
|
+
return typeof message === "object" && message !== null && "type" in message && message.type !== "ask_user" && message.type !== "ask_user_response" && message.type !== "companion_heartbeat" && message.type !== "companion_reminder" && message.type !== "sub_task_ask_user" && !isTaskSystemMessage(message);
|
|
2585
2604
|
}
|
|
2586
2605
|
function isSDKUserMessage(message) {
|
|
2587
2606
|
return isSDKMessage(message) && message.type === "user";
|
|
@@ -2716,7 +2735,8 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
2716
2735
|
gitUrl: zod.z.string().optional(),
|
|
2717
2736
|
baseBranch: zod.z.string().optional(),
|
|
2718
2737
|
branchName: zod.z.string().optional(),
|
|
2719
|
-
//
|
|
2738
|
+
// Bound branch name when branchBinding is not none
|
|
2739
|
+
branchBinding: TaskBranchBindingSchema.optional().default("none"),
|
|
2720
2740
|
cwd: zod.z.string().optional(),
|
|
2721
2741
|
// Current working directory for the task, only used under 'local' mode
|
|
2722
2742
|
userCwd: zod.z.string().optional(),
|
|
@@ -2725,6 +2745,11 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
2725
2745
|
// Force using user-provided cwd (no worktree)
|
|
2726
2746
|
useWorktree: zod.z.boolean().optional(),
|
|
2727
2747
|
// Whether the worker should use a git worktree when supported
|
|
2748
|
+
initPolicies: zod.z.object({
|
|
2749
|
+
uncommittedChanges: zod.z.enum(["Ignore", "Commit", "Stash"]).optional(),
|
|
2750
|
+
branchMismatch: zod.z.enum(["Switch", "Keep"]).optional()
|
|
2751
|
+
}).optional(),
|
|
2752
|
+
// Worker workspace startup policies
|
|
2728
2753
|
dataEncryptionKey: zod.z.string().optional(),
|
|
2729
2754
|
// User's public key for encrypting sensitive data
|
|
2730
2755
|
model: zod.z.string().optional(),
|
|
@@ -3031,7 +3056,8 @@ const TaskSlashCommandsUpdateEventDataSchema = EventBaseSchema.extend({
|
|
|
3031
3056
|
const MergeRequestEventSchema = EventBaseSchema.extend({
|
|
3032
3057
|
taskId: zod.z.string(),
|
|
3033
3058
|
summary: zod.z.string(),
|
|
3034
|
-
description: zod.z.string().optional()
|
|
3059
|
+
description: zod.z.string().optional(),
|
|
3060
|
+
sourceBranch: zod.z.string().min(1)
|
|
3035
3061
|
});
|
|
3036
3062
|
const TaskStoppedEventSchema = EventBaseSchema.extend({
|
|
3037
3063
|
taskId: zod.z.string()
|
|
@@ -3966,6 +3992,7 @@ exports.CloudJoinRequestSchema = CloudJoinRequestSchema;
|
|
|
3966
3992
|
exports.CloudJoinResultQuerySchema = CloudJoinResultQuerySchema;
|
|
3967
3993
|
exports.CloudJoinStatusQuerySchema = CloudJoinStatusQuerySchema;
|
|
3968
3994
|
exports.CloudMachineSchema = CloudMachineSchema;
|
|
3995
|
+
exports.CloudRoleSchema = CloudRoleSchema;
|
|
3969
3996
|
exports.CloudSchema = CloudSchema;
|
|
3970
3997
|
exports.CompanionEnsureResponseSchema = CompanionEnsureResponseSchema;
|
|
3971
3998
|
exports.CompanionHeartbeatRequestSchema = CompanionHeartbeatRequestSchema;
|
|
@@ -4275,6 +4302,7 @@ exports.SystemMessageSchema = SystemMessageSchema;
|
|
|
4275
4302
|
exports.TaskAgentInfoSchema = TaskAgentInfoSchema;
|
|
4276
4303
|
exports.TaskArtifactsStatsSchema = TaskArtifactsStatsSchema;
|
|
4277
4304
|
exports.TaskArtifactsSummarySchema = TaskArtifactsSummarySchema;
|
|
4305
|
+
exports.TaskBranchBindingSchema = TaskBranchBindingSchema;
|
|
4278
4306
|
exports.TaskInfoUpdateEventDataSchema = TaskInfoUpdateEventDataSchema;
|
|
4279
4307
|
exports.TaskItemSchema = TaskItemSchema;
|
|
4280
4308
|
exports.TaskMessageSchema = TaskMessageSchema;
|
|
@@ -4307,6 +4335,8 @@ exports.UpdateHiveReviewRequestSchema = UpdateHiveReviewRequestSchema;
|
|
|
4307
4335
|
exports.UpdateHiveVersionRequestSchema = UpdateHiveVersionRequestSchema;
|
|
4308
4336
|
exports.UpdateOAuthServerRequestSchema = UpdateOAuthServerRequestSchema;
|
|
4309
4337
|
exports.UpdateOAuthServerResponseSchema = UpdateOAuthServerResponseSchema;
|
|
4338
|
+
exports.UpdatePrivateCloudMemberRoleRequestSchema = UpdatePrivateCloudMemberRoleRequestSchema;
|
|
4339
|
+
exports.UpdatePrivateCloudMemberRoleResponseSchema = UpdatePrivateCloudMemberRoleResponseSchema;
|
|
4310
4340
|
exports.UpdateResourceRequestSchema = UpdateResourceRequestSchema;
|
|
4311
4341
|
exports.UpdateSecretRequestSchema = UpdateSecretRequestSchema;
|
|
4312
4342
|
exports.UpdateSecretResponseSchema = UpdateSecretResponseSchema;
|
|
@@ -4386,6 +4416,7 @@ exports.isLocalTaskExecution = isLocalTaskExecution;
|
|
|
4386
4416
|
exports.isSDKMessage = isSDKMessage;
|
|
4387
4417
|
exports.isSDKUserMessage = isSDKUserMessage;
|
|
4388
4418
|
exports.isSubTaskAskUserMessage = isSubTaskAskUserMessage;
|
|
4419
|
+
exports.isTaskSystemMessage = isTaskSystemMessage;
|
|
4389
4420
|
exports.machineAuth = machineAuth;
|
|
4390
4421
|
exports.normalizeWorkerExecutionMode = normalizeWorkerExecutionMode;
|
|
4391
4422
|
exports.permissionResponseRequestSchema = permissionResponseRequestSchema;
|
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 { cK as ActiveAgent, cJ as ActiveAgentSchema, fv as AgentConfig, fF as AgentConfigValidationError, fo as AgentContext, fD as AgentError, fH as AgentLoadError, ft as AgentMetadata, fB as AgentMetadataSchema, fE as AgentNotFoundError, fp as AgentrixContext, cw as ApiServerAliveEventData, cv as ApiServerAliveEventSchema, cu as AppAliveEventData, ct 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, en as AssociateRepoEventData, ek as AssociateRepoEventDataSchema, d9 as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dw as ChangeTaskTitleEventData, dv as ChangeTaskTitleEventSchema, c_ as ChatWorkersStatusRequestEventData, cZ as ChatWorkersStatusRequestSchema, d0 as ChatWorkersStatusResponseEventData, c$ as ChatWorkersStatusResponseSchema, fu as ClaudeAgentConfig, fC as ClaudeConfigSchema, cd as CompanionHeartbeatMessage, eC as CompanionHeartbeatRequestData, eB as CompanionHeartbeatRequestSchema, eE as CompanionHeartbeatResponseData, eD as CompanionHeartbeatResponseSchema, eG as CompanionInitRequestData, eF as CompanionInitRequestSchema, eI as CompanionInitResponseData, eH as CompanionInitResponseSchema, 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, d5 as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dA as CreditExhaustedEventData, dz as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, et as DaemonGitlabOperation, es as DaemonGitlabOperationSchema, ev as DaemonGitlabRequestEventData, eu as DaemonGitlabRequestSchema, ex as DaemonGitlabResponseEventData, ew as DaemonGitlabResponseSchema, eb as DeployAgentCompleteEventData, ea as DeployAgentCompleteEventSchema, e9 as DeployAgentEventData, e8 as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cs as EventAckData, cr as EventAckSchema, eL as EventData, eQ as EventMap, eR as EventName, eS as EventSchemaMap, f6 as ExecuteMachineActionResponse, f5 as ExecuteMachineActionResponseSchema, fA as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, fG as FrameworkNotSupportedError, fs as FrameworkType, bY as GetStreamVersionQuery, bX as GetStreamVersionQuerySchema, aO as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, b6 as HiveAuthorType, b5 as HiveAuthorTypeSchema, bI as HiveComment, bO as HiveCommentListResponse, bN as HiveCommentListResponseSchema, bH as HiveCommentSchema, bs as HiveInstall, ej as HiveInstallCompleteEventData, ei as HiveInstallCompleteEventSchema, eh as HiveInstallEventData, eg 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, ef as HivePublishCompleteEventData, ee as HivePublishCompleteEventSchema, ed as HivePublishEventData, ec as HivePublishEventSchema, bA as HiveReview, bG as HiveReviewListResponse, bF as HiveReviewListResponseSchema, bz as HiveReviewSchema, ba as HiveSort, b9 as HiveSortSchema, fz as HookFactory, d2 as ListModelsEventData, d1 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, fx as LoadAgentOptions, f4 as MachineActionPending, f3 as MachineActionPendingSchema, f2 as MachineActionRequestEventData, f1 as MachineActionRequestSchema, cy as MachineAliveEventData, cx as MachineAliveEventSchema, eW as MachineControlAction, eV as MachineControlActionSchema, f8 as MachineControlCommandEventData, f7 as MachineControlCommandSchema, e_ as MachineControlErrorCode, eZ as MachineControlErrorCodeSchema, f0 as MachineControlPingResult, e$ as MachineControlPingResultSchema, fc as MachineControlProgressEventData, fb as MachineControlProgressSchema, fa as MachineControlProgressStatus, f9 as MachineControlProgressStatusSchema, fh as MachineControlRelayContext, eY as MachineControlTarget, eX as MachineControlTargetSchema, fg as MachineControlUpdatedEventData, ff as MachineControlUpdatedSchema, fe as MachineControlUpdatedStatus, fd as MachineControlUpdatedStatusSchema, fl as MachineRpcCallEventData, fk as MachineRpcCallEventSchema, dI as MachineRtcRequestEventData, dH as MachineRtcRequestSchema, dK as MachineRtcResponseEventData, dJ as MachineRtcResponseSchema, e7 as MergePullRequestAck, e6 as MergePullRequestEventData, e5 as MergePullRequestEventSchema, d_ as MergeRequestEventData, dZ as MergeRequestEventSchema, fI as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, ep as PrStateChangedData, di as PreviewMetadataSchema, dh as PreviewMethod, dg as PreviewMethodSchema, df as PreviewProjectType, de 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, ey as RepositoryInboxProviderSchema, eA as RepositoryInboxWebhookEventData, ez as RepositoryInboxWebhookSchema, fy as RepositoryInitHookInput, eK as ResetTaskSessionEventData, eJ as ResetTaskSessionSchema, d7 as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fj as RpcCallEventData, fi as RpcCallEventSchema, fn as RpcResponseData, fm as RpcResponseSchema, dC as RtcIceServer, dB as RtcIceServerSchema, dE as RtcIceServersRequestEventData, dD as RtcIceServersRequestSchema, dG as RtcIceServersResponseEventData, dF as RtcIceServersResponseSchema, dM as RtcSignalEventData, dL as RtcSignalSchema, aE as SendMessageTarget, aG as SendTaskMessageRequest, aF as SendTaskMessageRequestSchema, aI as SendTaskMessageResponse, aH as SendTaskMessageResponseSchema, eN as SeqSyncRequestEventData, eM as SeqSyncRequestEventDataSchema, eP as SeqSyncResponseEventData, eO as SeqSyncResponseEventDataSchema, du as ShowModalEventData, dt as ShowModalEventDataSchema, aK as ShowModalRequest, aJ as ShowModalRequestSchema, aM as ShowModalResponse, aL as ShowModalResponseSchema, cA as ShutdownMachineData, cz as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, db as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, da as StopTaskSchema, b_ as StreamVersionResponse, bZ as StreamVersionResponseSchema, e4 as SubTaskAskUserEventData, e3 as SubTaskAskUserEventSchema, cf as SubTaskAskUserMessage, e2 as SubTaskResultUpdatedEventData, e1 as SubTaskResultUpdatedEventSchema, aS as SubTaskSummary, aR as SubTaskSummarySchema, c0 as SyncAvailableEvent, b$ as SyncAvailableEventSchema, bW as SyncStreamType, bV as SyncStreamTypeSchema, er as SystemMessageEventData, eq as SystemMessageSchema, eo as SystemMessageType, ci as TaskAgentInfo, ch as TaskAgentInfoSchema, dd as TaskArtifactsStats, dc as TaskArtifactsStatsSchema, dk as TaskArtifactsSummary, dj as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, dU as TaskInfoUpdateEventData, dT as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dm as TaskMessageEventData, cg as TaskMessagePayload, dl as TaskMessageSchema, dp as TaskModelUsage, dn as TaskModelUsageSchema, k as TaskPreviewUrlSchema, dW as TaskSlashCommand, dV as TaskSlashCommandSchema, dY as TaskSlashCommandsUpdateEventData, dX as TaskSlashCommandsUpdateEventDataSchema, ds as TaskState, dy as TaskStateChangeEventData, dx as TaskStateChangeEventSchema, e0 as TaskStoppedEventData, d$ as TaskStoppedEventSchema, f as TaskTodo, e as TaskTodoSchema, dr as TaskUsageReportEventData, dq as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, em as UpdateAgentInfoEventData, el 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, dS as UpdateTaskAgentSessionIdEventData, dR 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, fw as ValidationResult, cM as WorkerAliveEventData, cL as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, cO as WorkerExitEventData, cN as WorkerExitSchema, cE as WorkerInitializedEventData, cD as WorkerInitializedSchema, cC as WorkerInitializingEventData, cB as WorkerInitializingSchema, cS as WorkerPermissionModeEventData, cR as WorkerPermissionModeSchema, cG as WorkerPermissionModeValue, cF as WorkerPermissionModeValueSchema, cI as WorkerReadyEventData, cH as WorkerReadySchema, cQ as WorkerRunningEventData, cP as WorkerRunningSchema, cU as WorkerStatusRequestEventData, cT as WorkerStatusRequestSchema, cY as WorkerStatusSnapshot, cX as WorkerStatusSnapshotSchema, cW as WorkerStatusValue, cV as WorkerStatusValueSchema, eT as WorkerTaskEvent, dO as WorkspaceFileRequestEventData, dN as WorkspaceFileRequestSchema, dQ as WorkspaceFileResponseEventData, dP as WorkspaceFileResponseSchema, d3 as baseTaskSchema, K as cancelTaskRequestSchema, d8 as cancelTaskSchema, cq as createEventId, af as createMergeRequestSchema, d4 as createTaskSchema, fr as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cj as isAskUserMessage, ck as isAskUserResponseMessage, i as isCloudTaskExecution, cl as isCompanionHeartbeatMessage, cm as isCompanionReminderMessage, c as isLocalTaskExecution, co as isSDKMessage, cp as isSDKUserMessage, cn as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, d6 as resumeTaskSchema, fq as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, eU as workerTaskEvents } from './errors-rbccBPEc.cjs';
|
|
2
|
+
import { P as PreviewMetadata } from './errors-B5fHpdTT.cjs';
|
|
3
|
+
export { cM as ActiveAgent, cL as ActiveAgentSchema, fx as AgentConfig, fH as AgentConfigValidationError, fq as AgentContext, fF as AgentError, fJ as AgentLoadError, fv as AgentMetadata, fD as AgentMetadataSchema, fG as AgentNotFoundError, fr as AgentrixContext, cy as ApiServerAliveEventData, cx as ApiServerAliveEventSchema, cw as AppAliveEventData, cv 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, ep as AssociateRepoEventData, em as AssociateRepoEventDataSchema, db as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dy as ChangeTaskTitleEventData, dx as ChangeTaskTitleEventSchema, d0 as ChatWorkersStatusRequestEventData, c$ as ChatWorkersStatusRequestSchema, d2 as ChatWorkersStatusResponseEventData, d1 as ChatWorkersStatusResponseSchema, fw as ClaudeAgentConfig, fE as ClaudeConfigSchema, cd as CompanionHeartbeatMessage, eE as CompanionHeartbeatRequestData, eD as CompanionHeartbeatRequestSchema, eG as CompanionHeartbeatResponseData, eF as CompanionHeartbeatResponseSchema, eI as CompanionInitRequestData, eH as CompanionInitRequestSchema, eK as CompanionInitResponseData, eJ as CompanionInitResponseSchema, 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, d7 as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dC as CreditExhaustedEventData, dB as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, ev as DaemonGitlabOperation, eu as DaemonGitlabOperationSchema, ex as DaemonGitlabRequestEventData, ew as DaemonGitlabRequestSchema, ez as DaemonGitlabResponseEventData, ey as DaemonGitlabResponseSchema, ed as DeployAgentCompleteEventData, ec as DeployAgentCompleteEventSchema, eb as DeployAgentEventData, ea as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cu as EventAckData, ct as EventAckSchema, eN as EventData, eS as EventMap, eT as EventName, eU as EventSchemaMap, f8 as ExecuteMachineActionResponse, f7 as ExecuteMachineActionResponseSchema, fC as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, fI as FrameworkNotSupportedError, fu as FrameworkType, bY as GetStreamVersionQuery, bX as GetStreamVersionQuerySchema, aO as GetTaskSessionResponse, aN as GetTaskSessionResponseSchema, b6 as HiveAuthorType, b5 as HiveAuthorTypeSchema, bI as HiveComment, bO as HiveCommentListResponse, bN as HiveCommentListResponseSchema, bH as HiveCommentSchema, bs as HiveInstall, el as HiveInstallCompleteEventData, ek as HiveInstallCompleteEventSchema, ej as HiveInstallEventData, ei 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, eh as HivePublishCompleteEventData, eg as HivePublishCompleteEventSchema, ef as HivePublishEventData, ee as HivePublishEventSchema, bA as HiveReview, bG as HiveReviewListResponse, bF as HiveReviewListResponseSchema, bz as HiveReviewSchema, ba as HiveSort, b9 as HiveSortSchema, fB as HookFactory, d4 as ListModelsEventData, d3 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, fz as LoadAgentOptions, f6 as MachineActionPending, f5 as MachineActionPendingSchema, f4 as MachineActionRequestEventData, f3 as MachineActionRequestSchema, cA as MachineAliveEventData, cz as MachineAliveEventSchema, eY as MachineControlAction, eX as MachineControlActionSchema, fa as MachineControlCommandEventData, f9 as MachineControlCommandSchema, f0 as MachineControlErrorCode, e$ as MachineControlErrorCodeSchema, f2 as MachineControlPingResult, f1 as MachineControlPingResultSchema, fe as MachineControlProgressEventData, fd as MachineControlProgressSchema, fc as MachineControlProgressStatus, fb as MachineControlProgressStatusSchema, fj as MachineControlRelayContext, e_ as MachineControlTarget, eZ as MachineControlTargetSchema, fi as MachineControlUpdatedEventData, fh as MachineControlUpdatedSchema, fg as MachineControlUpdatedStatus, ff as MachineControlUpdatedStatusSchema, fn as MachineRpcCallEventData, fm as MachineRpcCallEventSchema, dK as MachineRtcRequestEventData, dJ as MachineRtcRequestSchema, dM as MachineRtcResponseEventData, dL as MachineRtcResponseSchema, e9 as MergePullRequestAck, e8 as MergePullRequestEventData, e7 as MergePullRequestEventSchema, e0 as MergeRequestEventData, d$ as MergeRequestEventSchema, fK as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, er as PrStateChangedData, dk as PreviewMetadataSchema, dj as PreviewMethod, di as PreviewMethodSchema, dh as PreviewProjectType, dg 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, eA as RepositoryInboxProviderSchema, eC as RepositoryInboxWebhookEventData, eB as RepositoryInboxWebhookSchema, fA as RepositoryInitHookInput, eM as ResetTaskSessionEventData, eL as ResetTaskSessionSchema, d9 as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fl as RpcCallEventData, fk as RpcCallEventSchema, fp as RpcResponseData, fo as RpcResponseSchema, dE as RtcIceServer, dD as RtcIceServerSchema, dG as RtcIceServersRequestEventData, dF as RtcIceServersRequestSchema, dI as RtcIceServersResponseEventData, dH as RtcIceServersResponseSchema, dO as RtcSignalEventData, dN as RtcSignalSchema, aE as SendMessageTarget, aG as SendTaskMessageRequest, aF as SendTaskMessageRequestSchema, aI as SendTaskMessageResponse, aH as SendTaskMessageResponseSchema, eP as SeqSyncRequestEventData, eO as SeqSyncRequestEventDataSchema, eR as SeqSyncResponseEventData, eQ as SeqSyncResponseEventDataSchema, dw as ShowModalEventData, dv as ShowModalEventDataSchema, aK as ShowModalRequest, aJ as ShowModalRequestSchema, aM as ShowModalResponse, aL as ShowModalResponseSchema, cC as ShutdownMachineData, cB as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, dd as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, dc as StopTaskSchema, b_ as StreamVersionResponse, bZ as StreamVersionResponseSchema, e6 as SubTaskAskUserEventData, e5 as SubTaskAskUserEventSchema, cf as SubTaskAskUserMessage, e4 as SubTaskResultUpdatedEventData, e3 as SubTaskResultUpdatedEventSchema, aS as SubTaskSummary, aR as SubTaskSummarySchema, c0 as SyncAvailableEvent, b$ as SyncAvailableEventSchema, bW as SyncStreamType, bV as SyncStreamTypeSchema, et as SystemMessageEventData, es as SystemMessageSchema, eq as SystemMessageType, cj as TaskAgentInfo, ci as TaskAgentInfoSchema, df as TaskArtifactsStats, de as TaskArtifactsStatsSchema, dm as TaskArtifactsSummary, dl as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, dW as TaskInfoUpdateEventData, dV as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dp as TaskMessageEventData, ch as TaskMessagePayload, dn as TaskMessageSchema, dr as TaskModelUsage, dq as TaskModelUsageSchema, k as TaskPreviewUrlSchema, dY as TaskSlashCommand, dX as TaskSlashCommandSchema, d_ as TaskSlashCommandsUpdateEventData, dZ as TaskSlashCommandsUpdateEventDataSchema, du as TaskState, dA as TaskStateChangeEventData, dz as TaskStateChangeEventSchema, e2 as TaskStoppedEventData, e1 as TaskStoppedEventSchema, cg as TaskSystemMessage, f as TaskTodo, e as TaskTodoSchema, dt as TaskUsageReportEventData, ds as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, eo as UpdateAgentInfoEventData, en 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, dU as UpdateTaskAgentSessionIdEventData, dT 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, fy as ValidationResult, cO as WorkerAliveEventData, cN as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, cQ as WorkerExitEventData, cP as WorkerExitSchema, cG as WorkerInitializedEventData, cF as WorkerInitializedSchema, cE as WorkerInitializingEventData, cD as WorkerInitializingSchema, cU as WorkerPermissionModeEventData, cT as WorkerPermissionModeSchema, cI as WorkerPermissionModeValue, cH as WorkerPermissionModeValueSchema, cK as WorkerReadyEventData, cJ as WorkerReadySchema, cS as WorkerRunningEventData, cR as WorkerRunningSchema, cW as WorkerStatusRequestEventData, cV as WorkerStatusRequestSchema, c_ as WorkerStatusSnapshot, cZ as WorkerStatusSnapshotSchema, cY as WorkerStatusValue, cX as WorkerStatusValueSchema, eV as WorkerTaskEvent, dQ as WorkspaceFileRequestEventData, dP as WorkspaceFileRequestSchema, dS as WorkspaceFileResponseEventData, dR as WorkspaceFileResponseSchema, d5 as baseTaskSchema, K as cancelTaskRequestSchema, da as cancelTaskSchema, cs as createEventId, af as createMergeRequestSchema, d6 as createTaskSchema, ft as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, ck as isAskUserMessage, cl as isAskUserResponseMessage, i as isCloudTaskExecution, cm as isCompanionHeartbeatMessage, cn as isCompanionReminderMessage, c as isLocalTaskExecution, cq as isSDKMessage, cr as isSDKUserMessage, co as isSubTaskAskUserMessage, cp as isTaskSystemMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, d8 as resumeTaskSchema, fs as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, eW as workerTaskEvents } from './errors-B5fHpdTT.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';
|
|
@@ -62,6 +62,13 @@ declare const SenderTypeSchema: z.ZodEnum<{
|
|
|
62
62
|
channel: "channel";
|
|
63
63
|
}>;
|
|
64
64
|
type SenderType = z.infer<typeof SenderTypeSchema>;
|
|
65
|
+
declare const TaskBranchBindingSchema: z.ZodEnum<{
|
|
66
|
+
none: "none";
|
|
67
|
+
explicit: "explicit";
|
|
68
|
+
"platform-managed": "platform-managed";
|
|
69
|
+
"external-observed": "external-observed";
|
|
70
|
+
}>;
|
|
71
|
+
type TaskBranchBinding = z.infer<typeof TaskBranchBindingSchema>;
|
|
65
72
|
|
|
66
73
|
/**
|
|
67
74
|
* User HTTP schemas
|
|
@@ -893,6 +900,12 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
893
900
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
894
901
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
895
902
|
branchName: z.ZodNullable<z.ZodString>;
|
|
903
|
+
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
904
|
+
none: "none";
|
|
905
|
+
explicit: "explicit";
|
|
906
|
+
"platform-managed": "platform-managed";
|
|
907
|
+
"external-observed": "external-observed";
|
|
908
|
+
}>>;
|
|
896
909
|
workerExecutionMode: z.ZodEnum<{
|
|
897
910
|
loop: "loop";
|
|
898
911
|
oneshot: "oneshot";
|
|
@@ -1881,6 +1894,12 @@ type PublishDraftAgentResponse = z.infer<typeof PublishDraftAgentResponseSchema>
|
|
|
1881
1894
|
* Machine management endpoints (both cloud and local)
|
|
1882
1895
|
*/
|
|
1883
1896
|
|
|
1897
|
+
declare const CloudRoleSchema: z.ZodEnum<{
|
|
1898
|
+
owner: "owner";
|
|
1899
|
+
admin: "admin";
|
|
1900
|
+
member: "member";
|
|
1901
|
+
}>;
|
|
1902
|
+
type CloudRole = z.infer<typeof CloudRoleSchema>;
|
|
1884
1903
|
/**
|
|
1885
1904
|
* Local machine schema
|
|
1886
1905
|
*/
|
|
@@ -1926,6 +1945,7 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
1926
1945
|
}>;
|
|
1927
1946
|
role: z.ZodOptional<z.ZodEnum<{
|
|
1928
1947
|
owner: "owner";
|
|
1948
|
+
admin: "admin";
|
|
1929
1949
|
member: "member";
|
|
1930
1950
|
}>>;
|
|
1931
1951
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1969,6 +1989,7 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
1969
1989
|
}>;
|
|
1970
1990
|
role: z.ZodOptional<z.ZodEnum<{
|
|
1971
1991
|
owner: "owner";
|
|
1992
|
+
admin: "admin";
|
|
1972
1993
|
member: "member";
|
|
1973
1994
|
}>>;
|
|
1974
1995
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3558,6 +3579,7 @@ declare const PrivateCloudSummarySchema: z.ZodObject<{
|
|
|
3558
3579
|
}>;
|
|
3559
3580
|
role: z.ZodOptional<z.ZodEnum<{
|
|
3560
3581
|
owner: "owner";
|
|
3582
|
+
admin: "admin";
|
|
3561
3583
|
member: "member";
|
|
3562
3584
|
}>>;
|
|
3563
3585
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3598,6 +3620,7 @@ declare const ListPrivateCloudsResponseSchema: z.ZodObject<{
|
|
|
3598
3620
|
}>;
|
|
3599
3621
|
role: z.ZodOptional<z.ZodEnum<{
|
|
3600
3622
|
owner: "owner";
|
|
3623
|
+
admin: "admin";
|
|
3601
3624
|
member: "member";
|
|
3602
3625
|
}>>;
|
|
3603
3626
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3650,6 +3673,7 @@ declare const CreatePrivateCloudResponseSchema: z.ZodObject<{
|
|
|
3650
3673
|
}>;
|
|
3651
3674
|
role: z.ZodOptional<z.ZodEnum<{
|
|
3652
3675
|
owner: "owner";
|
|
3676
|
+
admin: "admin";
|
|
3653
3677
|
member: "member";
|
|
3654
3678
|
}>>;
|
|
3655
3679
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3745,6 +3769,7 @@ declare const AcceptPrivateCloudInviteResponseSchema: z.ZodObject<{
|
|
|
3745
3769
|
}>;
|
|
3746
3770
|
role: z.ZodOptional<z.ZodEnum<{
|
|
3747
3771
|
owner: "owner";
|
|
3772
|
+
admin: "admin";
|
|
3748
3773
|
member: "member";
|
|
3749
3774
|
}>>;
|
|
3750
3775
|
userStatus: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3777,6 +3802,7 @@ declare const PrivateCloudMemberSchema: z.ZodObject<{
|
|
|
3777
3802
|
avatar: z.ZodNullable<z.ZodString>;
|
|
3778
3803
|
role: z.ZodEnum<{
|
|
3779
3804
|
owner: "owner";
|
|
3805
|
+
admin: "admin";
|
|
3780
3806
|
member: "member";
|
|
3781
3807
|
}>;
|
|
3782
3808
|
status: z.ZodEnum<{
|
|
@@ -3794,6 +3820,7 @@ declare const ListPrivateCloudMembersResponseSchema: z.ZodObject<{
|
|
|
3794
3820
|
avatar: z.ZodNullable<z.ZodString>;
|
|
3795
3821
|
role: z.ZodEnum<{
|
|
3796
3822
|
owner: "owner";
|
|
3823
|
+
admin: "admin";
|
|
3797
3824
|
member: "member";
|
|
3798
3825
|
}>;
|
|
3799
3826
|
status: z.ZodEnum<{
|
|
@@ -3822,6 +3849,32 @@ declare const RemovePrivateCloudMemberResponseSchema: z.ZodObject<{
|
|
|
3822
3849
|
message: z.ZodString;
|
|
3823
3850
|
}, z.core.$strip>;
|
|
3824
3851
|
type RemovePrivateCloudMemberResponse = z.infer<typeof RemovePrivateCloudMemberResponseSchema>;
|
|
3852
|
+
declare const UpdatePrivateCloudMemberRoleRequestSchema: z.ZodObject<{
|
|
3853
|
+
role: z.ZodEnum<{
|
|
3854
|
+
admin: "admin";
|
|
3855
|
+
member: "member";
|
|
3856
|
+
}>;
|
|
3857
|
+
}, z.core.$strip>;
|
|
3858
|
+
type UpdatePrivateCloudMemberRoleRequest = z.infer<typeof UpdatePrivateCloudMemberRoleRequestSchema>;
|
|
3859
|
+
declare const UpdatePrivateCloudMemberRoleResponseSchema: z.ZodObject<{
|
|
3860
|
+
member: z.ZodObject<{
|
|
3861
|
+
userId: z.ZodString;
|
|
3862
|
+
username: z.ZodNullable<z.ZodString>;
|
|
3863
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
3864
|
+
role: z.ZodEnum<{
|
|
3865
|
+
owner: "owner";
|
|
3866
|
+
admin: "admin";
|
|
3867
|
+
member: "member";
|
|
3868
|
+
}>;
|
|
3869
|
+
status: z.ZodEnum<{
|
|
3870
|
+
pending: "pending";
|
|
3871
|
+
active: "active";
|
|
3872
|
+
revoked: "revoked";
|
|
3873
|
+
}>;
|
|
3874
|
+
createdAt: z.ZodString;
|
|
3875
|
+
}, z.core.$strip>;
|
|
3876
|
+
}, z.core.$strip>;
|
|
3877
|
+
type UpdatePrivateCloudMemberRoleResponse = z.infer<typeof UpdatePrivateCloudMemberRoleResponseSchema>;
|
|
3825
3878
|
declare const GetPrivateCloudRunnerSecretResponseSchema: z.ZodObject<{
|
|
3826
3879
|
secret: z.ZodString;
|
|
3827
3880
|
}, z.core.$strip>;
|
|
@@ -4668,5 +4721,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
4668
4721
|
*/
|
|
4669
4722
|
declare function decodeGitPath(rawPath: string): string;
|
|
4670
4723
|
|
|
4671
|
-
export { AGENTRIX_DEV_INIT_FEATURE, AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunResponseModeSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCiRunRequestSchema, CreateCiRunResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, CurrentSubscriptionPlanTypeSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EmailLoginCodeRequestSchema, EmailLoginCodeResponseSchema, EmailLoginVerifyRequestSchema, EmailLoginVerifyResponseSchema, EmailPasswordLoginRequestSchema, EmailPasswordLoginResponseSchema, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerAccountInfoSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, JsonSchemaDocumentSchema, ListAdminResourcesResponseSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachineModelsResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMachinesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListPublicResourcesQuerySchema, ListPublicResourcesResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, ProfileEmailCodeRequestSchema, ProfileEmailCodeResponseSchema, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, ResourceMetadataSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, StopSubscriptionResponseSchema, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionPlanTypeSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserEntitlementSchema, UserEntitlementSourceSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
4672
|
-
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunResponseMode, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCiRunRequest, CreateCiRunResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, CurrentSubscriptionPlanType, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EmailLoginCodeRequest, EmailLoginCodeResponse, EmailLoginVerifyRequest, EmailLoginVerifyResponse, EmailPasswordLoginRequest, EmailPasswordLoginResponse, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, GitServerAccountInfo, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMachinesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListPublicResourcesQuery, ListPublicResourcesResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, ProfileEmailCodeRequest, ProfileEmailCodeResponse, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, ResourceMetadata, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, StopSubscriptionResponse, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionPlanType, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserEntitlement, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
|
4724
|
+
export { AGENTRIX_DEV_INIT_FEATURE, AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunResponseModeSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudRoleSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCiRunRequestSchema, CreateCiRunResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, CurrentSubscriptionPlanTypeSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EmailLoginCodeRequestSchema, EmailLoginCodeResponseSchema, EmailLoginVerifyRequestSchema, EmailLoginVerifyResponseSchema, EmailPasswordLoginRequestSchema, EmailPasswordLoginResponseSchema, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerAccountInfoSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, JsonSchemaDocumentSchema, ListAdminResourcesResponseSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachineModelsResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMachinesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListPublicResourcesQuerySchema, ListPublicResourcesResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, ProfileEmailCodeRequestSchema, ProfileEmailCodeResponseSchema, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, ResourceMetadataSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, StopSubscriptionResponseSchema, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionPlanTypeSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskBranchBindingSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdatePrivateCloudMemberRoleRequestSchema, UpdatePrivateCloudMemberRoleResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserEntitlementSchema, UserEntitlementSourceSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
4725
|
+
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunResponseMode, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CloudRole, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCiRunRequest, CreateCiRunResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, CurrentSubscriptionPlanType, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EmailLoginCodeRequest, EmailLoginCodeResponse, EmailLoginVerifyRequest, EmailLoginVerifyResponse, EmailPasswordLoginRequest, EmailPasswordLoginResponse, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, GitServerAccountInfo, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMachinesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListPublicResourcesQuery, ListPublicResourcesResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, ProfileEmailCodeRequest, ProfileEmailCodeResponse, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, ResourceMetadata, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, StopSubscriptionResponse, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionPlanType, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskBranchBinding, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdatePrivateCloudMemberRoleRequest, UpdatePrivateCloudMemberRoleResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserEntitlement, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { fz as LoadAgentOptions, fx as AgentConfig, fy as ValidationResult, fu as FrameworkType } from './errors-B5fHpdTT.cjs';
|
|
2
|
+
export { fH as AgentConfigValidationError, fq as AgentContext, fF as AgentError, fJ as AgentLoadError, fv as AgentMetadata, fD as AgentMetadataSchema, fG as AgentNotFoundError, fr as AgentrixContext, fw as ClaudeAgentConfig, fE as ClaudeConfigSchema, fC as FRAMEWORK_TYPES, fI as FrameworkNotSupportedError, fB as HookFactory, fK as MissingAgentFileError, fA as RepositoryInitHookInput, ft as getAgentContext, fs as setAgentContext } from './errors-B5fHpdTT.cjs';
|
|
3
3
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
4
4
|
import '@anthropic-ai/claude-agent-sdk';
|
|
5
5
|
import 'zod';
|