@agentrix/shared 2.40.0 → 2.41.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-w-U9apaD.d.cts → errors-D7iN2mjM.d.cts} +69 -17
- package/dist/index.cjs +24 -1
- package/dist/index.d.cts +37 -27
- package/dist/node.d.cts +2 -2
- package/package.json +1 -1
|
@@ -180,6 +180,10 @@ declare const StartTaskResponseSchema: z.ZodObject<{
|
|
|
180
180
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
181
181
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
182
182
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
183
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
184
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
185
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
186
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
187
|
branchName: z.ZodNullable<z.ZodString>;
|
|
184
188
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
185
189
|
none: "none";
|
|
@@ -234,6 +238,10 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
234
238
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
235
239
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
236
240
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
241
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
243
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
244
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
245
|
branchName: z.ZodNullable<z.ZodString>;
|
|
238
246
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
239
247
|
none: "none";
|
|
@@ -320,6 +328,10 @@ declare const EnsureIssueRootTaskResponseSchema: z.ZodObject<{
|
|
|
320
328
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
321
329
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
322
330
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
331
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
323
335
|
branchName: z.ZodNullable<z.ZodString>;
|
|
324
336
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
325
337
|
none: "none";
|
|
@@ -420,6 +432,10 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
420
432
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
421
433
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
422
434
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
435
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
436
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
437
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
438
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
423
439
|
branchName: z.ZodNullable<z.ZodString>;
|
|
424
440
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
425
441
|
none: "none";
|
|
@@ -747,6 +763,10 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
747
763
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
748
764
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
749
765
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
766
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
767
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
768
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
769
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
750
770
|
branchName: z.ZodNullable<z.ZodString>;
|
|
751
771
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
752
772
|
none: "none";
|
|
@@ -843,6 +863,10 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
843
863
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
844
864
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
845
865
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
866
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
867
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
868
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
869
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
846
870
|
branchName: z.ZodNullable<z.ZodString>;
|
|
847
871
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
848
872
|
none: "none";
|
|
@@ -941,6 +965,10 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
941
965
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
942
966
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
943
967
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
968
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
969
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
970
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
971
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
944
972
|
branchName: z.ZodNullable<z.ZodString>;
|
|
945
973
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
946
974
|
none: "none";
|
|
@@ -1039,6 +1067,10 @@ declare const UpdateTaskModelResponseSchema: z.ZodObject<{
|
|
|
1039
1067
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1040
1068
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1041
1069
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1070
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1071
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1072
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1073
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1042
1074
|
branchName: z.ZodNullable<z.ZodString>;
|
|
1043
1075
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
1044
1076
|
none: "none";
|
|
@@ -1127,6 +1159,10 @@ declare const UpdateTaskPreviewUrlResponseSchema: z.ZodObject<{
|
|
|
1127
1159
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1128
1160
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1129
1161
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1162
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1163
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1164
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1165
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1130
1166
|
branchName: z.ZodNullable<z.ZodString>;
|
|
1131
1167
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
1132
1168
|
none: "none";
|
|
@@ -1207,14 +1243,14 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
1207
1243
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
1208
1244
|
message: z.ZodCustom<SDKUserMessage | SDKAssistantMessage, SDKUserMessage | SDKAssistantMessage>;
|
|
1209
1245
|
target: z.ZodEnum<{
|
|
1210
|
-
user: "user";
|
|
1211
1246
|
agent: "agent";
|
|
1247
|
+
user: "user";
|
|
1212
1248
|
}>;
|
|
1213
1249
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
1214
1250
|
senderType: z.ZodEnum<{
|
|
1215
|
-
agent: "agent";
|
|
1216
1251
|
human: "human";
|
|
1217
1252
|
system: "system";
|
|
1253
|
+
agent: "agent";
|
|
1218
1254
|
channel: "channel";
|
|
1219
1255
|
}>;
|
|
1220
1256
|
senderId: z.ZodString;
|
|
@@ -1371,8 +1407,8 @@ declare const HiveListingTypeSchema: z.ZodEnum<{
|
|
|
1371
1407
|
}>;
|
|
1372
1408
|
type HiveListingType = z.infer<typeof HiveListingTypeSchema>;
|
|
1373
1409
|
declare const HiveAuthorTypeSchema: z.ZodEnum<{
|
|
1374
|
-
user: "user";
|
|
1375
1410
|
agent: "agent";
|
|
1411
|
+
user: "user";
|
|
1376
1412
|
}>;
|
|
1377
1413
|
type HiveAuthorType = z.infer<typeof HiveAuthorTypeSchema>;
|
|
1378
1414
|
declare const HiveListingStatusSchema: z.ZodEnum<{
|
|
@@ -1402,8 +1438,8 @@ declare const HiveListingSchema: z.ZodObject<{
|
|
|
1402
1438
|
version: z.ZodString;
|
|
1403
1439
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1404
1440
|
authorType: z.ZodEnum<{
|
|
1405
|
-
user: "user";
|
|
1406
1441
|
agent: "agent";
|
|
1442
|
+
user: "user";
|
|
1407
1443
|
}>;
|
|
1408
1444
|
authorId: z.ZodString;
|
|
1409
1445
|
authorName: z.ZodString;
|
|
@@ -1443,8 +1479,8 @@ declare const PublishToHiveRequestSchema: z.ZodObject<{
|
|
|
1443
1479
|
category: z.ZodOptional<z.ZodString>;
|
|
1444
1480
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1445
1481
|
authorType: z.ZodEnum<{
|
|
1446
|
-
user: "user";
|
|
1447
1482
|
agent: "agent";
|
|
1483
|
+
user: "user";
|
|
1448
1484
|
}>;
|
|
1449
1485
|
authorId: z.ZodString;
|
|
1450
1486
|
machineId: z.ZodOptional<z.ZodString>;
|
|
@@ -1489,8 +1525,8 @@ declare const HiveListResponseSchema: z.ZodObject<{
|
|
|
1489
1525
|
version: z.ZodString;
|
|
1490
1526
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1491
1527
|
authorType: z.ZodEnum<{
|
|
1492
|
-
user: "user";
|
|
1493
1528
|
agent: "agent";
|
|
1529
|
+
user: "user";
|
|
1494
1530
|
}>;
|
|
1495
1531
|
authorId: z.ZodString;
|
|
1496
1532
|
authorName: z.ZodString;
|
|
@@ -1594,8 +1630,8 @@ declare const HiveReviewSchema: z.ZodObject<{
|
|
|
1594
1630
|
id: z.ZodString;
|
|
1595
1631
|
hiveListingId: z.ZodString;
|
|
1596
1632
|
authorType: z.ZodEnum<{
|
|
1597
|
-
user: "user";
|
|
1598
1633
|
agent: "agent";
|
|
1634
|
+
user: "user";
|
|
1599
1635
|
}>;
|
|
1600
1636
|
authorId: z.ZodString;
|
|
1601
1637
|
authorName: z.ZodString;
|
|
@@ -1621,8 +1657,8 @@ declare const HiveReviewListResponseSchema: z.ZodObject<{
|
|
|
1621
1657
|
id: z.ZodString;
|
|
1622
1658
|
hiveListingId: z.ZodString;
|
|
1623
1659
|
authorType: z.ZodEnum<{
|
|
1624
|
-
user: "user";
|
|
1625
1660
|
agent: "agent";
|
|
1661
|
+
user: "user";
|
|
1626
1662
|
}>;
|
|
1627
1663
|
authorId: z.ZodString;
|
|
1628
1664
|
authorName: z.ZodString;
|
|
@@ -1642,8 +1678,8 @@ declare const HiveCommentSchema: z.ZodObject<{
|
|
|
1642
1678
|
hiveListingId: z.ZodString;
|
|
1643
1679
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1644
1680
|
authorType: z.ZodEnum<{
|
|
1645
|
-
user: "user";
|
|
1646
1681
|
agent: "agent";
|
|
1682
|
+
user: "user";
|
|
1647
1683
|
}>;
|
|
1648
1684
|
authorId: z.ZodString;
|
|
1649
1685
|
authorName: z.ZodString;
|
|
@@ -1668,8 +1704,8 @@ declare const HiveCommentListResponseSchema: z.ZodObject<{
|
|
|
1668
1704
|
hiveListingId: z.ZodString;
|
|
1669
1705
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1670
1706
|
authorType: z.ZodEnum<{
|
|
1671
|
-
user: "user";
|
|
1672
1707
|
agent: "agent";
|
|
1708
|
+
user: "user";
|
|
1673
1709
|
}>;
|
|
1674
1710
|
authorId: z.ZodString;
|
|
1675
1711
|
authorName: z.ZodString;
|
|
@@ -1709,8 +1745,8 @@ declare const HiveInstalledItemSchema: z.ZodObject<{
|
|
|
1709
1745
|
version: z.ZodString;
|
|
1710
1746
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1711
1747
|
authorType: z.ZodEnum<{
|
|
1712
|
-
user: "user";
|
|
1713
1748
|
agent: "agent";
|
|
1749
|
+
user: "user";
|
|
1714
1750
|
}>;
|
|
1715
1751
|
authorId: z.ZodString;
|
|
1716
1752
|
authorName: z.ZodString;
|
|
@@ -1764,8 +1800,8 @@ declare const HiveInstalledResponseSchema: z.ZodObject<{
|
|
|
1764
1800
|
version: z.ZodString;
|
|
1765
1801
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1766
1802
|
authorType: z.ZodEnum<{
|
|
1767
|
-
user: "user";
|
|
1768
1803
|
agent: "agent";
|
|
1804
|
+
user: "user";
|
|
1769
1805
|
}>;
|
|
1770
1806
|
authorId: z.ZodString;
|
|
1771
1807
|
authorName: z.ZodString;
|
|
@@ -1807,8 +1843,8 @@ declare const HiveMyListingsResponseSchema: z.ZodObject<{
|
|
|
1807
1843
|
version: z.ZodString;
|
|
1808
1844
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1809
1845
|
authorType: z.ZodEnum<{
|
|
1810
|
-
user: "user";
|
|
1811
1846
|
agent: "agent";
|
|
1847
|
+
user: "user";
|
|
1812
1848
|
}>;
|
|
1813
1849
|
authorId: z.ZodString;
|
|
1814
1850
|
authorName: z.ZodString;
|
|
@@ -2345,8 +2381,8 @@ declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
|
2345
2381
|
cancelled: "cancelled";
|
|
2346
2382
|
}>;
|
|
2347
2383
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
2348
|
-
user: "user";
|
|
2349
2384
|
system: "system";
|
|
2385
|
+
user: "user";
|
|
2350
2386
|
timeout: "timeout";
|
|
2351
2387
|
}>;
|
|
2352
2388
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
@@ -2368,8 +2404,8 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
2368
2404
|
cancelled: "cancelled";
|
|
2369
2405
|
}>>;
|
|
2370
2406
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
2371
|
-
user: "user";
|
|
2372
2407
|
system: "system";
|
|
2408
|
+
user: "user";
|
|
2373
2409
|
timeout: "timeout";
|
|
2374
2410
|
}>>;
|
|
2375
2411
|
}, z.core.$strip>;
|
|
@@ -2785,6 +2821,10 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
2785
2821
|
agentDir: z.ZodOptional<z.ZodString>;
|
|
2786
2822
|
gitUrl: z.ZodOptional<z.ZodString>;
|
|
2787
2823
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
2824
|
+
headRef: z.ZodOptional<z.ZodString>;
|
|
2825
|
+
headSha: z.ZodOptional<z.ZodString>;
|
|
2826
|
+
checkoutRef: z.ZodOptional<z.ZodString>;
|
|
2827
|
+
checkoutSha: z.ZodOptional<z.ZodString>;
|
|
2788
2828
|
branchName: z.ZodOptional<z.ZodString>;
|
|
2789
2829
|
branchBinding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2790
2830
|
none: "none";
|
|
@@ -2881,6 +2921,10 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
2881
2921
|
agentDir: z.ZodOptional<z.ZodString>;
|
|
2882
2922
|
gitUrl: z.ZodOptional<z.ZodString>;
|
|
2883
2923
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
2924
|
+
headRef: z.ZodOptional<z.ZodString>;
|
|
2925
|
+
headSha: z.ZodOptional<z.ZodString>;
|
|
2926
|
+
checkoutRef: z.ZodOptional<z.ZodString>;
|
|
2927
|
+
checkoutSha: z.ZodOptional<z.ZodString>;
|
|
2884
2928
|
branchName: z.ZodOptional<z.ZodString>;
|
|
2885
2929
|
branchBinding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2886
2930
|
none: "none";
|
|
@@ -2980,6 +3024,10 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
2980
3024
|
agentDir: z.ZodOptional<z.ZodString>;
|
|
2981
3025
|
gitUrl: z.ZodOptional<z.ZodString>;
|
|
2982
3026
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
3027
|
+
headRef: z.ZodOptional<z.ZodString>;
|
|
3028
|
+
headSha: z.ZodOptional<z.ZodString>;
|
|
3029
|
+
checkoutRef: z.ZodOptional<z.ZodString>;
|
|
3030
|
+
checkoutSha: z.ZodOptional<z.ZodString>;
|
|
2983
3031
|
branchName: z.ZodOptional<z.ZodString>;
|
|
2984
3032
|
branchBinding: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2985
3033
|
none: "none";
|
|
@@ -3194,9 +3242,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
3194
3242
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
3195
3243
|
agentId: z.ZodOptional<z.ZodString>;
|
|
3196
3244
|
senderType: z.ZodEnum<{
|
|
3197
|
-
agent: "agent";
|
|
3198
3245
|
human: "human";
|
|
3199
3246
|
system: "system";
|
|
3247
|
+
agent: "agent";
|
|
3200
3248
|
channel: "channel";
|
|
3201
3249
|
}>;
|
|
3202
3250
|
senderId: z.ZodString;
|
|
@@ -3772,8 +3820,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
3772
3820
|
chatId: z.ZodString;
|
|
3773
3821
|
memberCode: z.ZodString;
|
|
3774
3822
|
type: z.ZodEnum<{
|
|
3775
|
-
agent: "agent";
|
|
3776
3823
|
human: "human";
|
|
3824
|
+
agent: "agent";
|
|
3777
3825
|
}>;
|
|
3778
3826
|
role: z.ZodString;
|
|
3779
3827
|
createdAt: z.ZodString;
|
|
@@ -3954,6 +4002,10 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
3954
4002
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
3955
4003
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3956
4004
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
4005
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4006
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4007
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4008
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3957
4009
|
branchName: z.ZodNullable<z.ZodString>;
|
|
3958
4010
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
3959
4011
|
none: "none";
|
package/dist/index.cjs
CHANGED
|
@@ -282,6 +282,9 @@ const CiRunGitSchema = zod.z.object({
|
|
|
282
282
|
sha: zod.z.string().optional(),
|
|
283
283
|
baseRef: zod.z.string().optional(),
|
|
284
284
|
headRef: zod.z.string().optional(),
|
|
285
|
+
headSha: zod.z.string().optional(),
|
|
286
|
+
checkoutRef: zod.z.string().optional(),
|
|
287
|
+
checkoutSha: zod.z.string().optional(),
|
|
285
288
|
branchName: zod.z.string().optional(),
|
|
286
289
|
prNumber: zod.z.number().int().positive().optional(),
|
|
287
290
|
issueNumber: zod.z.number().int().positive().optional()
|
|
@@ -498,6 +501,10 @@ const StartTaskResponseSchema = zod.z.object({
|
|
|
498
501
|
repositoryId: zod.z.string().nullable(),
|
|
499
502
|
workspaceId: zod.z.string().nullable().optional(),
|
|
500
503
|
baseBranch: zod.z.string().nullable(),
|
|
504
|
+
headRef: zod.z.string().nullable().optional(),
|
|
505
|
+
headSha: zod.z.string().nullable().optional(),
|
|
506
|
+
checkoutRef: zod.z.string().nullable().optional(),
|
|
507
|
+
checkoutSha: zod.z.string().nullable().optional(),
|
|
501
508
|
branchName: zod.z.string().nullable(),
|
|
502
509
|
branchBinding: TaskBranchBindingSchema.default("none"),
|
|
503
510
|
workerExecutionMode: WorkerExecutionModeSchema,
|
|
@@ -535,8 +542,16 @@ const TaskItemSchema = zod.z.object({
|
|
|
535
542
|
repositoryId: zod.z.string().nullable(),
|
|
536
543
|
workspaceId: zod.z.string().nullable().optional(),
|
|
537
544
|
baseBranch: zod.z.string().nullable(),
|
|
545
|
+
headRef: zod.z.string().nullable().optional(),
|
|
546
|
+
// Observed PR/MR source branch context
|
|
547
|
+
headSha: zod.z.string().nullable().optional(),
|
|
548
|
+
// Observed PR/MR source commit context
|
|
549
|
+
checkoutRef: zod.z.string().nullable().optional(),
|
|
550
|
+
// Ref used to initialize the task workspace
|
|
551
|
+
checkoutSha: zod.z.string().nullable().optional(),
|
|
552
|
+
// SHA used to initialize the task workspace
|
|
538
553
|
branchName: zod.z.string().nullable(),
|
|
539
|
-
//
|
|
554
|
+
// Bound task branch, only meaningful when branchBinding is not none
|
|
540
555
|
branchBinding: TaskBranchBindingSchema.default("none"),
|
|
541
556
|
workerExecutionMode: WorkerExecutionModeSchema,
|
|
542
557
|
title: zod.z.string().nullable(),
|
|
@@ -3041,6 +3056,14 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
3041
3056
|
// Absolute path to agent directory (only for draft agents)
|
|
3042
3057
|
gitUrl: zod.z.string().optional(),
|
|
3043
3058
|
baseBranch: zod.z.string().optional(),
|
|
3059
|
+
headRef: zod.z.string().optional(),
|
|
3060
|
+
// Observed PR/MR source branch context
|
|
3061
|
+
headSha: zod.z.string().optional(),
|
|
3062
|
+
// Observed PR/MR source commit context
|
|
3063
|
+
checkoutRef: zod.z.string().optional(),
|
|
3064
|
+
// Ref used to initialize the workspace
|
|
3065
|
+
checkoutSha: zod.z.string().optional(),
|
|
3066
|
+
// SHA used to initialize the workspace
|
|
3044
3067
|
branchName: zod.z.string().optional(),
|
|
3045
3068
|
// Bound branch name when branchBinding is not none
|
|
3046
3069
|
branchBinding: TaskBranchBindingSchema.optional().default("none"),
|
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 { d1 as ActiveAgent, d0 as ActiveAgentSchema, g8 as AgentConfig, gh as AgentConfigValidationError, g1 as AgentContext, gf as AgentError, gj as AgentLoadError, g6 as AgentMetadata, gd as AgentMetadataSchema, gg as AgentNotFoundError, g2 as AgentrixContext, cP as ApiServerAliveEventData, cO as ApiServerAliveEventSchema, cN as AppAliveEventData, cM 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, ca as AskUserMessage, c9 as AskUserMessageSchema, c6 as AskUserOption, c5 as AskUserOptionSchema, c8 as AskUserQuestion, c7 as AskUserQuestionSchema, cg as AskUserResponseMessage, cf as AskUserResponseMessageSchema, ce as AskUserResponseReason, cc as AskUserResponseReasonSchema, cd as AskUserResponseStatus, cb as AskUserResponseStatusSchema, eG as AssociateRepoEventData, eD as AssociateRepoEventDataSchema, dt as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dP as ChangeTaskTitleEventData, dO as ChangeTaskTitleEventSchema, dh as ChatWorkersStatusRequestEventData, dg as ChatWorkersStatusRequestSchema, dj as ChatWorkersStatusResponseEventData, di as ChatWorkersStatusResponseSchema, g7 as ClaudeAgentConfig, ge as ClaudeConfigSchema, ch as CompanionHeartbeatMessage, eX as CompanionHeartbeatRequestData, eW as CompanionHeartbeatRequestSchema, eZ as CompanionHeartbeatResponseData, eY as CompanionHeartbeatResponseSchema, f3 as CompanionInitRequestData, f2 as CompanionInitRequestSchema, f5 as CompanionInitResponseData, f4 as CompanionInitResponseSchema, cj as CompanionMemoryOrganizationMessage, e$ as CompanionMemoryOrganizationRequestData, e_ as CompanionMemoryOrganizationRequestSchema, f1 as CompanionMemoryOrganizationResponseData, f0 as CompanionMemoryOrganizationResponseSchema, ci as CompanionReminderMessage, bO as CreateHiveCommentRequest, bN as CreateHiveCommentRequestSchema, bG as CreateHiveReviewRequest, bF as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, dp as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dT as CreditExhaustedEventData, dS as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eO as DaemonGitlabOperation, eN as DaemonGitlabOperationSchema, eQ as DaemonGitlabRequestEventData, eP as DaemonGitlabRequestSchema, eS as DaemonGitlabResponseEventData, eR as DaemonGitlabResponseSchema, eu as DeployAgentCompleteEventData, et as DeployAgentCompleteEventSchema, es as DeployAgentEventData, er as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cA as EventAckData, cz as EventAckSchema, f8 as EventData, ff as EventMap, fg as EventName, fh as EventSchemaMap, fz as ExecuteMachineActionResponse, fy as ExecuteMachineActionResponseSchema, gc as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b4 as FindTaskByAgentRequest, b3 as FindTaskByAgentRequestSchema, b6 as FindTaskByAgentResponse, b5 as FindTaskByAgentResponseSchema, gi as FrameworkNotSupportedError, g5 as FrameworkType, c0 as GetStreamVersionQuery, b$ as GetStreamVersionQuerySchema, aS as GetTaskSessionResponse, aR as GetTaskSessionResponseSchema, eK as GitServerUserUpdatedData, ba as HiveAuthorType, b9 as HiveAuthorTypeSchema, bM as HiveComment, bS as HiveCommentListResponse, bR as HiveCommentListResponseSchema, bL as HiveCommentSchema, bw as HiveInstall, eC as HiveInstallCompleteEventData, eB as HiveInstallCompleteEventSchema, eA as HiveInstallEventData, ez as HiveInstallEventSchema, bu as HiveInstallRequest, bt as HiveInstallRequestSchema, by as HiveInstallResponse, bx as HiveInstallResponseSchema, bv as HiveInstallSchema, bU as HiveInstalledItem, bT as HiveInstalledItemSchema, bW as HiveInstalledResponse, bV as HiveInstalledResponseSchema, bm as HiveListQuery, bl as HiveListQuerySchema, bo as HiveListResponse, bn as HiveListResponseSchema, bg as HiveListing, bf as HiveListingSchema, bc as HiveListingStatus, bb as HiveListingStatusSchema, b8 as HiveListingType, b7 as HiveListingTypeSchema, bY as HiveMyListingsResponse, bX as HiveMyListingsResponseSchema, ey as HivePublishCompleteEventData, ex as HivePublishCompleteEventSchema, ew as HivePublishEventData, ev as HivePublishEventSchema, bE as HiveReview, bK as HiveReviewListResponse, bJ as HiveReviewListResponseSchema, bD as HiveReviewSchema, be as HiveSort, bd as HiveSortSchema, gb as HookFactory, dl as ListModelsEventData, dk as ListModelsEventSchema, a_ as ListRecentTasksRequest, aZ as ListRecentTasksRequestSchema, b2 as ListRecentTasksResponse, b1 as ListRecentTasksResponseSchema, aU as ListSubTasksRequest, aT as ListSubTasksRequestSchema, aY as ListSubTasksResponse, aX as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, ga as LoadAgentOptions, fx as MachineActionPending, fw as MachineActionPendingSchema, fv as MachineActionRequestEventData, fu as MachineActionRequestSchema, cR as MachineAliveEventData, cQ as MachineAliveEventSchema, fl as MachineControlAction, fk as MachineControlActionSchema, fn as MachineControlAsyncAction, fm as MachineControlAsyncActionSchema, fB as MachineControlCommandEventData, fA as MachineControlCommandSchema, fr as MachineControlErrorCode, fq as MachineControlErrorCodeSchema, ft as MachineControlPingResult, fs as MachineControlPingResultSchema, fF as MachineControlProgressEventData, fE as MachineControlProgressSchema, fD as MachineControlProgressStatus, fC as MachineControlProgressStatusSchema, fK as MachineControlRelayContext, fp as MachineControlTarget, fo as MachineControlTargetSchema, fJ as MachineControlUpdatedEventData, fI as MachineControlUpdatedSchema, fH as MachineControlUpdatedStatus, fG as MachineControlUpdatedStatusSchema, f_ as MachineRpcCallEventData, fZ as MachineRpcCallEventSchema, d$ as MachineRtcRequestEventData, d_ as MachineRtcRequestSchema, e1 as MachineRtcResponseEventData, e0 as MachineRtcResponseSchema, eq as MergePullRequestAck, ep as MergePullRequestEventData, eo as MergePullRequestEventSchema, eh as MergeRequestEventData, eg as MergeRequestEventSchema, gk as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, eI as PrStateChangedData, dC as PreviewMetadataSchema, dB as PreviewMethod, dA as PreviewMethodSchema, dz as PreviewProjectType, dy as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, bi as PublishToHiveRequest, bh as PublishToHiveRequestSchema, bk as PublishToHiveResponse, bj as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, b0 as RecentTaskSummary, a$ as RecentTaskSummarySchema, bA as RecordHiveInstallRequest, bz as RecordHiveInstallRequestSchema, bC as RecordHiveInstallResponse, bB as RecordHiveInstallResponseSchema, eT as RepositoryInboxProviderSchema, eV as RepositoryInboxWebhookEventData, eU as RepositoryInboxWebhookSchema, f7 as ResetTaskSessionEventData, f6 as ResetTaskSessionSchema, eJ as ResourceLimitsUpdatedData, dr as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fY as RpcCallEventData, fX as RpcCallEventSchema, g0 as RpcResponseData, f$ as RpcResponseSchema, dV as RtcIceServer, dU as RtcIceServerSchema, dX as RtcIceServersRequestEventData, dW as RtcIceServersRequestSchema, dZ as RtcIceServersResponseEventData, dY as RtcIceServersResponseSchema, e3 as RtcSignalEventData, e2 as RtcSignalSchema, aI as SendMessageTarget, aK as SendTaskMessageRequest, aJ as SendTaskMessageRequestSchema, aM as SendTaskMessageResponse, aL as SendTaskMessageResponseSchema, fa as SeqSyncRequestEventData, f9 as SeqSyncRequestEventDataSchema, fc as SeqSyncResponseEventData, fb as SeqSyncResponseEventDataSchema, dN as ShowModalEventData, dM as ShowModalEventDataSchema, aO as ShowModalRequest, aN as ShowModalRequestSchema, aQ as ShowModalResponse, aP as ShowModalResponseSchema, cT as ShutdownMachineData, cS as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, dv as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, du as StopTaskSchema, fW as StorageCleanRequestItem, fV as StorageCleanRequestItemSchema, fO as StorageManagementDeleteMode, fN as StorageManagementDeleteModeSchema, fM as StorageManagementKind, fL as StorageManagementKindSchema, fS as StorageScanCategory, fR as StorageScanCategorySchema, fQ as StorageScanItem, fP as StorageScanItemSchema, fU as StorageScanResult, fT as StorageScanResultSchema, c2 as StreamVersionResponse, c1 as StreamVersionResponseSchema, en as SubTaskAskUserEventData, em as SubTaskAskUserEventSchema, ck as SubTaskAskUserMessage, el as SubTaskResultUpdatedEventData, ek as SubTaskResultUpdatedEventSchema, aW as SubTaskSummary, aV as SubTaskSummarySchema, c4 as SyncAvailableEvent, c3 as SyncAvailableEventSchema, b_ as SyncStreamType, bZ as SyncStreamTypeSchema, eM as SystemMessageEventData, eL as SystemMessageSchema, eH as SystemMessageType, co as TaskAgentInfo, cn as TaskAgentInfoSchema, dx as TaskArtifactsStats, dw as TaskArtifactsStatsSchema, dE as TaskArtifactsSummary, dD as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, eb as TaskInfoUpdateEventData, ea as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dG as TaskMessageEventData, cm as TaskMessagePayload, dF as TaskMessageSchema, dI as TaskModelUsage, dH as TaskModelUsageSchema, k as TaskPreviewUrlSchema, ed as TaskSlashCommand, ec as TaskSlashCommandSchema, ef as TaskSlashCommandsUpdateEventData, ee as TaskSlashCommandsUpdateEventDataSchema, dL as TaskState, dR as TaskStateChangeEventData, dQ as TaskStateChangeEventSchema, ej as TaskStoppedEventData, ei as TaskStoppedEventSchema, cl as TaskSystemMessage, f as TaskTodo, e as TaskTodoSchema, dK as TaskUsageReportEventData, dJ as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, eF as UpdateAgentInfoEventData, eE as UpdateAgentInfoEventSchema, bQ as UpdateHiveCommentRequest, bP as UpdateHiveCommentRequestSchema, bq as UpdateHiveListingRequest, bp as UpdateHiveListingRequestSchema, bI as UpdateHiveReviewRequest, bH as UpdateHiveReviewRequestSchema, bs as UpdateHiveVersionRequest, br as UpdateHiveVersionRequestSchema, e9 as UpdateTaskAgentSessionIdEventData, e8 as UpdateTaskAgentSessionIdEventSchema, aD as UpdateTaskModelRequest, aC as UpdateTaskModelRequestSchema, aF as UpdateTaskModelResponse, aE as UpdateTaskModelResponseSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aH as UpdateTaskPreviewUrlResponse, aG as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, g9 as ValidationResult, cE as VisionPlanActionEventData, cD as VisionPlanActionEventSchema, cC as VisionPlanCardEventData, cB as VisionPlanCardEventSchema, cG as VisionPlanReviewWriteEventData, cF as VisionPlanReviewWriteEventSchema, d3 as WorkerAliveEventData, d2 as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, d5 as WorkerExitEventData, d4 as WorkerExitSchema, cX as WorkerInitializedEventData, cW as WorkerInitializedSchema, cV as WorkerInitializingEventData, cU as WorkerInitializingSchema, d9 as WorkerPermissionModeEventData, d8 as WorkerPermissionModeSchema, cZ as WorkerPermissionModeValue, cY as WorkerPermissionModeValueSchema, c$ as WorkerReadyEventData, c_ as WorkerReadySchema, d7 as WorkerRunningEventData, d6 as WorkerRunningSchema, db as WorkerStatusRequestEventData, da as WorkerStatusRequestSchema, df as WorkerStatusSnapshot, de as WorkerStatusSnapshotSchema, dd as WorkerStatusValue, dc as WorkerStatusValueSchema, fi as WorkerTaskEvent, fe as WorkspaceCacheUpdateEventData, fd as WorkspaceCacheUpdateEventDataSchema, cH as WorkspaceFileMutationOperationSchema, cJ as WorkspaceFileMutationRequestEventData, cI as WorkspaceFileMutationRequestSchema, cL as WorkspaceFileMutationResponseEventData, cK as WorkspaceFileMutationResponseSchema, e5 as WorkspaceFileRequestEventData, e4 as WorkspaceFileRequestSchema, e7 as WorkspaceFileResponseEventData, e6 as WorkspaceFileResponseSchema, dm as baseTaskSchema, K as cancelTaskRequestSchema, ds as cancelTaskSchema, cy as createEventId, af as createMergeRequestSchema, dn as createTaskSchema, g4 as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cp as isAskUserMessage, cq as isAskUserResponseMessage, i as isCloudTaskExecution, cr as isCompanionHeartbeatMessage, ct as isCompanionMemoryOrganizationMessage, cs as isCompanionReminderMessage, c as isLocalTaskExecution, cw as isSDKMessage, cx as isSDKUserMessage, cu as isSubTaskAskUserMessage, cv as isTaskSystemMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, dq as resumeTaskSchema, g3 as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, fj as workerTaskEvents } from './errors-w-U9apaD.cjs';
|
|
2
|
+
import { P as PreviewMetadata } from './errors-D7iN2mjM.cjs';
|
|
3
|
+
export { d1 as ActiveAgent, d0 as ActiveAgentSchema, g8 as AgentConfig, gh as AgentConfigValidationError, g1 as AgentContext, gf as AgentError, gj as AgentLoadError, g6 as AgentMetadata, gd as AgentMetadataSchema, gg as AgentNotFoundError, g2 as AgentrixContext, cP as ApiServerAliveEventData, cO as ApiServerAliveEventSchema, cN as AppAliveEventData, cM 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, ca as AskUserMessage, c9 as AskUserMessageSchema, c6 as AskUserOption, c5 as AskUserOptionSchema, c8 as AskUserQuestion, c7 as AskUserQuestionSchema, cg as AskUserResponseMessage, cf as AskUserResponseMessageSchema, ce as AskUserResponseReason, cc as AskUserResponseReasonSchema, cd as AskUserResponseStatus, cb as AskUserResponseStatusSchema, eG as AssociateRepoEventData, eD as AssociateRepoEventDataSchema, dt as CancelTaskEventData, J as CancelTaskRequest, I as CancelTaskRequestSchema, N as CancelTaskResponse, M as CancelTaskResponseSchema, dP as ChangeTaskTitleEventData, dO as ChangeTaskTitleEventSchema, dh as ChatWorkersStatusRequestEventData, dg as ChatWorkersStatusRequestSchema, dj as ChatWorkersStatusResponseEventData, di as ChatWorkersStatusResponseSchema, g7 as ClaudeAgentConfig, ge as ClaudeConfigSchema, ch as CompanionHeartbeatMessage, eX as CompanionHeartbeatRequestData, eW as CompanionHeartbeatRequestSchema, eZ as CompanionHeartbeatResponseData, eY as CompanionHeartbeatResponseSchema, f3 as CompanionInitRequestData, f2 as CompanionInitRequestSchema, f5 as CompanionInitResponseData, f4 as CompanionInitResponseSchema, cj as CompanionMemoryOrganizationMessage, e$ as CompanionMemoryOrganizationRequestData, e_ as CompanionMemoryOrganizationRequestSchema, f1 as CompanionMemoryOrganizationResponseData, f0 as CompanionMemoryOrganizationResponseSchema, ci as CompanionReminderMessage, bO as CreateHiveCommentRequest, bN as CreateHiveCommentRequestSchema, bG as CreateHiveReviewRequest, bF as CreateHiveReviewRequestSchema, ae as CreateMergeRequestRequest, ah as CreateMergeRequestResponse, ag as CreateMergeRequestResponseSchema, ad as CreateMergeRequestSchema, dp as CreateTaskEventData, an as CreateTaskShareRequest, ap as CreateTaskShareResponse, ao as CreateTaskShareResponseSchema, am as CreateTaskShareSchema, dT as CreditExhaustedEventData, dS as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eO as DaemonGitlabOperation, eN as DaemonGitlabOperationSchema, eQ as DaemonGitlabRequestEventData, eP as DaemonGitlabRequestSchema, eS as DaemonGitlabResponseEventData, eR as DaemonGitlabResponseSchema, eu as DeployAgentCompleteEventData, et as DeployAgentCompleteEventSchema, es as DeployAgentEventData, er as DeployAgentEventSchema, r as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, y as EnsureIssueRootTaskResponse, x as EnsureIssueRootTaskResponseSchema, cA as EventAckData, cz as EventAckSchema, f8 as EventData, ff as EventMap, fg as EventName, fh as EventSchemaMap, fz as ExecuteMachineActionResponse, fy as ExecuteMachineActionResponseSchema, gc as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b4 as FindTaskByAgentRequest, b3 as FindTaskByAgentRequestSchema, b6 as FindTaskByAgentResponse, b5 as FindTaskByAgentResponseSchema, gi as FrameworkNotSupportedError, g5 as FrameworkType, c0 as GetStreamVersionQuery, b$ as GetStreamVersionQuerySchema, aS as GetTaskSessionResponse, aR as GetTaskSessionResponseSchema, eK as GitServerUserUpdatedData, ba as HiveAuthorType, b9 as HiveAuthorTypeSchema, bM as HiveComment, bS as HiveCommentListResponse, bR as HiveCommentListResponseSchema, bL as HiveCommentSchema, bw as HiveInstall, eC as HiveInstallCompleteEventData, eB as HiveInstallCompleteEventSchema, eA as HiveInstallEventData, ez as HiveInstallEventSchema, bu as HiveInstallRequest, bt as HiveInstallRequestSchema, by as HiveInstallResponse, bx as HiveInstallResponseSchema, bv as HiveInstallSchema, bU as HiveInstalledItem, bT as HiveInstalledItemSchema, bW as HiveInstalledResponse, bV as HiveInstalledResponseSchema, bm as HiveListQuery, bl as HiveListQuerySchema, bo as HiveListResponse, bn as HiveListResponseSchema, bg as HiveListing, bf as HiveListingSchema, bc as HiveListingStatus, bb as HiveListingStatusSchema, b8 as HiveListingType, b7 as HiveListingTypeSchema, bY as HiveMyListingsResponse, bX as HiveMyListingsResponseSchema, ey as HivePublishCompleteEventData, ex as HivePublishCompleteEventSchema, ew as HivePublishEventData, ev as HivePublishEventSchema, bE as HiveReview, bK as HiveReviewListResponse, bJ as HiveReviewListResponseSchema, bD as HiveReviewSchema, be as HiveSort, bd as HiveSortSchema, gb as HookFactory, dl as ListModelsEventData, dk as ListModelsEventSchema, a_ as ListRecentTasksRequest, aZ as ListRecentTasksRequestSchema, b2 as ListRecentTasksResponse, b1 as ListRecentTasksResponseSchema, aU as ListSubTasksRequest, aT as ListSubTasksRequestSchema, aY as ListSubTasksResponse, aX as ListSubTasksResponseSchema, z as ListTasksRequest, L as ListTasksRequestSchema, B as ListTasksResponse, A as ListTasksResponseSchema, ga as LoadAgentOptions, fx as MachineActionPending, fw as MachineActionPendingSchema, fv as MachineActionRequestEventData, fu as MachineActionRequestSchema, cR as MachineAliveEventData, cQ as MachineAliveEventSchema, fl as MachineControlAction, fk as MachineControlActionSchema, fn as MachineControlAsyncAction, fm as MachineControlAsyncActionSchema, fB as MachineControlCommandEventData, fA as MachineControlCommandSchema, fr as MachineControlErrorCode, fq as MachineControlErrorCodeSchema, ft as MachineControlPingResult, fs as MachineControlPingResultSchema, fF as MachineControlProgressEventData, fE as MachineControlProgressSchema, fD as MachineControlProgressStatus, fC as MachineControlProgressStatusSchema, fK as MachineControlRelayContext, fp as MachineControlTarget, fo as MachineControlTargetSchema, fJ as MachineControlUpdatedEventData, fI as MachineControlUpdatedSchema, fH as MachineControlUpdatedStatus, fG as MachineControlUpdatedStatusSchema, f_ as MachineRpcCallEventData, fZ as MachineRpcCallEventSchema, d$ as MachineRtcRequestEventData, d_ as MachineRtcRequestSchema, e1 as MachineRtcResponseEventData, e0 as MachineRtcResponseSchema, eq as MergePullRequestAck, ep as MergePullRequestEventData, eo as MergePullRequestEventSchema, eh as MergeRequestEventData, eg as MergeRequestEventSchema, gk as MissingAgentFileError, _ as PermissionResponseRequest, Z as PermissionResponseRequestSchema, a1 as PermissionResponseResponse, a0 as PermissionResponseResponseSchema, eI as PrStateChangedData, dC as PreviewMetadataSchema, dB as PreviewMethod, dA as PreviewMethodSchema, dz as PreviewProjectType, dy as PreviewProjectTypeSchema, a5 as ProjectDirectoryResponse, a4 as ProjectDirectoryResponseSchema, a3 as ProjectEntry, a2 as ProjectEntrySchema, bi as PublishToHiveRequest, bh as PublishToHiveRequestSchema, bk as PublishToHiveResponse, bj as PublishToHiveResponseSchema, a7 as QueryEventsRequest, a6 as QueryEventsRequestSchema, a9 as QueryEventsResponse, b0 as RecentTaskSummary, a$ as RecentTaskSummarySchema, bA as RecordHiveInstallRequest, bz as RecordHiveInstallRequestSchema, bC as RecordHiveInstallResponse, bB as RecordHiveInstallResponseSchema, eT as RepositoryInboxProviderSchema, eV as RepositoryInboxWebhookEventData, eU as RepositoryInboxWebhookSchema, f7 as ResetTaskSessionEventData, f6 as ResetTaskSessionSchema, eJ as ResourceLimitsUpdatedData, dr as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, fY as RpcCallEventData, fX as RpcCallEventSchema, g0 as RpcResponseData, f$ as RpcResponseSchema, dV as RtcIceServer, dU as RtcIceServerSchema, dX as RtcIceServersRequestEventData, dW as RtcIceServersRequestSchema, dZ as RtcIceServersResponseEventData, dY as RtcIceServersResponseSchema, e3 as RtcSignalEventData, e2 as RtcSignalSchema, aI as SendMessageTarget, aK as SendTaskMessageRequest, aJ as SendTaskMessageRequestSchema, aM as SendTaskMessageResponse, aL as SendTaskMessageResponseSchema, fa as SeqSyncRequestEventData, f9 as SeqSyncRequestEventDataSchema, fc as SeqSyncResponseEventData, fb as SeqSyncResponseEventDataSchema, dN as ShowModalEventData, dM as ShowModalEventDataSchema, aO as ShowModalRequest, aN as ShowModalRequestSchema, aQ as ShowModalResponse, aP as ShowModalResponseSchema, cT as ShutdownMachineData, cS as ShutdownMachineSchema, m as StartTaskRequest, S as StartTaskRequestSchema, q as StartTaskResponse, p as StartTaskResponseSchema, dv as StopTaskEventData, Q as StopTaskRequest, O as StopTaskRequestSchema, Y as StopTaskResponse, X as StopTaskResponseSchema, du as StopTaskSchema, fW as StorageCleanRequestItem, fV as StorageCleanRequestItemSchema, fO as StorageManagementDeleteMode, fN as StorageManagementDeleteModeSchema, fM as StorageManagementKind, fL as StorageManagementKindSchema, fS as StorageScanCategory, fR as StorageScanCategorySchema, fQ as StorageScanItem, fP as StorageScanItemSchema, fU as StorageScanResult, fT as StorageScanResultSchema, c2 as StreamVersionResponse, c1 as StreamVersionResponseSchema, en as SubTaskAskUserEventData, em as SubTaskAskUserEventSchema, ck as SubTaskAskUserMessage, el as SubTaskResultUpdatedEventData, ek as SubTaskResultUpdatedEventSchema, aW as SubTaskSummary, aV as SubTaskSummarySchema, c4 as SyncAvailableEvent, c3 as SyncAvailableEventSchema, b_ as SyncStreamType, bZ as SyncStreamTypeSchema, eM as SystemMessageEventData, eL as SystemMessageSchema, eH as SystemMessageType, co as TaskAgentInfo, cn as TaskAgentInfoSchema, dx as TaskArtifactsStats, dw as TaskArtifactsStatsSchema, dE as TaskArtifactsSummary, dD as TaskArtifactsSummarySchema, a8 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, eb as TaskInfoUpdateEventData, ea as TaskInfoUpdateEventDataSchema, v as TaskItem, u as TaskItemSchema, dG as TaskMessageEventData, cm as TaskMessagePayload, dF as TaskMessageSchema, dI as TaskModelUsage, dH as TaskModelUsageSchema, k as TaskPreviewUrlSchema, ed as TaskSlashCommand, ec as TaskSlashCommandSchema, ef as TaskSlashCommandsUpdateEventData, ee as TaskSlashCommandsUpdateEventDataSchema, dL as TaskState, dR as TaskStateChangeEventData, dQ as TaskStateChangeEventSchema, ej as TaskStoppedEventData, ei as TaskStoppedEventSchema, cl as TaskSystemMessage, f as TaskTodo, e as TaskTodoSchema, dK as TaskUsageReportEventData, dJ as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, av as UnarchiveTaskRequest, au as UnarchiveTaskRequestSchema, ax as UnarchiveTaskResponse, aw as UnarchiveTaskResponseSchema, eF as UpdateAgentInfoEventData, eE as UpdateAgentInfoEventSchema, bQ as UpdateHiveCommentRequest, bP as UpdateHiveCommentRequestSchema, bq as UpdateHiveListingRequest, bp as UpdateHiveListingRequestSchema, bI as UpdateHiveReviewRequest, bH as UpdateHiveReviewRequestSchema, bs as UpdateHiveVersionRequest, br as UpdateHiveVersionRequestSchema, e9 as UpdateTaskAgentSessionIdEventData, e8 as UpdateTaskAgentSessionIdEventSchema, aD as UpdateTaskModelRequest, aC as UpdateTaskModelRequestSchema, aF as UpdateTaskModelResponse, aE as UpdateTaskModelResponseSchema, l as UpdateTaskPreviewUrlRequest, U as UpdateTaskPreviewUrlRequestSchema, aH as UpdateTaskPreviewUrlResponse, aG as UpdateTaskPreviewUrlResponseSchema, az as UpdateTaskTitleRequest, ay as UpdateTaskTitleRequestSchema, aB as UpdateTaskTitleResponse, aA as UpdateTaskTitleResponseSchema, g9 as ValidationResult, cE as VisionPlanActionEventData, cD as VisionPlanActionEventSchema, cC as VisionPlanCardEventData, cB as VisionPlanCardEventSchema, cG as VisionPlanReviewWriteEventData, cF as VisionPlanReviewWriteEventSchema, d3 as WorkerAliveEventData, d2 as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, d5 as WorkerExitEventData, d4 as WorkerExitSchema, cX as WorkerInitializedEventData, cW as WorkerInitializedSchema, cV as WorkerInitializingEventData, cU as WorkerInitializingSchema, d9 as WorkerPermissionModeEventData, d8 as WorkerPermissionModeSchema, cZ as WorkerPermissionModeValue, cY as WorkerPermissionModeValueSchema, c$ as WorkerReadyEventData, c_ as WorkerReadySchema, d7 as WorkerRunningEventData, d6 as WorkerRunningSchema, db as WorkerStatusRequestEventData, da as WorkerStatusRequestSchema, df as WorkerStatusSnapshot, de as WorkerStatusSnapshotSchema, dd as WorkerStatusValue, dc as WorkerStatusValueSchema, fi as WorkerTaskEvent, fe as WorkspaceCacheUpdateEventData, fd as WorkspaceCacheUpdateEventDataSchema, cH as WorkspaceFileMutationOperationSchema, cJ as WorkspaceFileMutationRequestEventData, cI as WorkspaceFileMutationRequestSchema, cL as WorkspaceFileMutationResponseEventData, cK as WorkspaceFileMutationResponseSchema, e5 as WorkspaceFileRequestEventData, e4 as WorkspaceFileRequestSchema, e7 as WorkspaceFileResponseEventData, e6 as WorkspaceFileResponseSchema, dm as baseTaskSchema, K as cancelTaskRequestSchema, ds as cancelTaskSchema, cy as createEventId, af as createMergeRequestSchema, dn as createTaskSchema, g4 as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, cp as isAskUserMessage, cq as isAskUserResponseMessage, i as isCloudTaskExecution, cr as isCompanionHeartbeatMessage, ct as isCompanionMemoryOrganizationMessage, cs as isCompanionReminderMessage, c as isLocalTaskExecution, cw as isSDKMessage, cx as isSDKUserMessage, cu as isSubTaskAskUserMessage, cv as isTaskSystemMessage, n as normalizeWorkerExecutionMode, $ as permissionResponseRequestSchema, F as resumeTaskRequestSchema, dq as resumeTaskSchema, g3 as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, fj as workerTaskEvents } from './errors-D7iN2mjM.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
@@ -56,9 +56,9 @@ declare const FileStatsSchema: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
type FileStats = z.infer<typeof FileStatsSchema>;
|
|
58
58
|
declare const SenderTypeSchema: z.ZodEnum<{
|
|
59
|
-
agent: "agent";
|
|
60
59
|
human: "human";
|
|
61
60
|
system: "system";
|
|
61
|
+
agent: "agent";
|
|
62
62
|
channel: "channel";
|
|
63
63
|
}>;
|
|
64
64
|
type SenderType = z.infer<typeof SenderTypeSchema>;
|
|
@@ -620,8 +620,8 @@ declare const ChatMemberSchema: z.ZodObject<{
|
|
|
620
620
|
chatId: z.ZodString;
|
|
621
621
|
memberCode: z.ZodString;
|
|
622
622
|
type: z.ZodEnum<{
|
|
623
|
-
agent: "agent";
|
|
624
623
|
human: "human";
|
|
624
|
+
agent: "agent";
|
|
625
625
|
}>;
|
|
626
626
|
role: z.ZodString;
|
|
627
627
|
createdAt: z.ZodString;
|
|
@@ -673,8 +673,8 @@ declare const ChatWithMembersSchema: z.ZodObject<{
|
|
|
673
673
|
chatId: z.ZodString;
|
|
674
674
|
memberCode: z.ZodString;
|
|
675
675
|
type: z.ZodEnum<{
|
|
676
|
-
agent: "agent";
|
|
677
676
|
human: "human";
|
|
677
|
+
agent: "agent";
|
|
678
678
|
}>;
|
|
679
679
|
role: z.ZodString;
|
|
680
680
|
createdAt: z.ZodString;
|
|
@@ -688,8 +688,8 @@ type ChatWithMembers = z.infer<typeof ChatWithMembersSchema>;
|
|
|
688
688
|
declare const ChatMemberInputSchema: z.ZodObject<{
|
|
689
689
|
memberCode: z.ZodString;
|
|
690
690
|
type: z.ZodEnum<{
|
|
691
|
-
agent: "agent";
|
|
692
691
|
human: "human";
|
|
692
|
+
agent: "agent";
|
|
693
693
|
}>;
|
|
694
694
|
}, z.core.$strip>;
|
|
695
695
|
type ChatMemberInput = z.infer<typeof ChatMemberInputSchema>;
|
|
@@ -704,8 +704,8 @@ declare const CreateChatRequestSchema: z.ZodObject<{
|
|
|
704
704
|
members: z.ZodArray<z.ZodObject<{
|
|
705
705
|
memberCode: z.ZodString;
|
|
706
706
|
type: z.ZodEnum<{
|
|
707
|
-
agent: "agent";
|
|
708
707
|
human: "human";
|
|
708
|
+
agent: "agent";
|
|
709
709
|
}>;
|
|
710
710
|
}, z.core.$strip>>;
|
|
711
711
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -733,8 +733,8 @@ declare const CreateChatResponseSchema: z.ZodObject<{
|
|
|
733
733
|
chatId: z.ZodString;
|
|
734
734
|
memberCode: z.ZodString;
|
|
735
735
|
type: z.ZodEnum<{
|
|
736
|
-
agent: "agent";
|
|
737
736
|
human: "human";
|
|
737
|
+
agent: "agent";
|
|
738
738
|
}>;
|
|
739
739
|
role: z.ZodString;
|
|
740
740
|
createdAt: z.ZodString;
|
|
@@ -772,8 +772,8 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
772
772
|
chatId: z.ZodString;
|
|
773
773
|
memberCode: z.ZodString;
|
|
774
774
|
type: z.ZodEnum<{
|
|
775
|
-
agent: "agent";
|
|
776
775
|
human: "human";
|
|
776
|
+
agent: "agent";
|
|
777
777
|
}>;
|
|
778
778
|
role: z.ZodString;
|
|
779
779
|
createdAt: z.ZodString;
|
|
@@ -803,8 +803,8 @@ declare const GetChatResponseSchema: z.ZodObject<{
|
|
|
803
803
|
chatId: z.ZodString;
|
|
804
804
|
memberCode: z.ZodString;
|
|
805
805
|
type: z.ZodEnum<{
|
|
806
|
-
agent: "agent";
|
|
807
806
|
human: "human";
|
|
807
|
+
agent: "agent";
|
|
808
808
|
}>;
|
|
809
809
|
role: z.ZodString;
|
|
810
810
|
createdAt: z.ZodString;
|
|
@@ -821,8 +821,8 @@ declare const ListChatMembersResponseSchema: z.ZodObject<{
|
|
|
821
821
|
chatId: z.ZodString;
|
|
822
822
|
memberCode: z.ZodString;
|
|
823
823
|
type: z.ZodEnum<{
|
|
824
|
-
agent: "agent";
|
|
825
824
|
human: "human";
|
|
825
|
+
agent: "agent";
|
|
826
826
|
}>;
|
|
827
827
|
role: z.ZodString;
|
|
828
828
|
createdAt: z.ZodString;
|
|
@@ -838,8 +838,8 @@ declare const AddChatMemberRequestSchema: z.ZodObject<{
|
|
|
838
838
|
members: z.ZodArray<z.ZodObject<{
|
|
839
839
|
memberCode: z.ZodString;
|
|
840
840
|
type: z.ZodEnum<{
|
|
841
|
-
agent: "agent";
|
|
842
841
|
human: "human";
|
|
842
|
+
agent: "agent";
|
|
843
843
|
}>;
|
|
844
844
|
}, z.core.$strip>>;
|
|
845
845
|
}, z.core.$strip>;
|
|
@@ -853,8 +853,8 @@ declare const AddChatMemberResponseSchema: z.ZodObject<{
|
|
|
853
853
|
chatId: z.ZodString;
|
|
854
854
|
memberCode: z.ZodString;
|
|
855
855
|
type: z.ZodEnum<{
|
|
856
|
-
agent: "agent";
|
|
857
856
|
human: "human";
|
|
857
|
+
agent: "agent";
|
|
858
858
|
}>;
|
|
859
859
|
role: z.ZodString;
|
|
860
860
|
createdAt: z.ZodString;
|
|
@@ -870,8 +870,8 @@ declare const RemoveChatMemberRequestSchema: z.ZodObject<{
|
|
|
870
870
|
members: z.ZodArray<z.ZodObject<{
|
|
871
871
|
memberCode: z.ZodString;
|
|
872
872
|
type: z.ZodEnum<{
|
|
873
|
-
agent: "agent";
|
|
874
873
|
human: "human";
|
|
874
|
+
agent: "agent";
|
|
875
875
|
}>;
|
|
876
876
|
}, z.core.$strip>>;
|
|
877
877
|
}, z.core.$strip>;
|
|
@@ -906,6 +906,10 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
906
906
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
907
907
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
908
908
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
909
|
+
headRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
910
|
+
headSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
911
|
+
checkoutRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
912
|
+
checkoutSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
909
913
|
branchName: z.ZodNullable<z.ZodString>;
|
|
910
914
|
branchBinding: z.ZodDefault<z.ZodEnum<{
|
|
911
915
|
none: "none";
|
|
@@ -990,8 +994,8 @@ declare const EnsureRepoChatResponseSchema: z.ZodObject<{
|
|
|
990
994
|
chatId: z.ZodString;
|
|
991
995
|
memberCode: z.ZodString;
|
|
992
996
|
type: z.ZodEnum<{
|
|
993
|
-
agent: "agent";
|
|
994
997
|
human: "human";
|
|
998
|
+
agent: "agent";
|
|
995
999
|
}>;
|
|
996
1000
|
role: z.ZodString;
|
|
997
1001
|
createdAt: z.ZodString;
|
|
@@ -1020,8 +1024,8 @@ declare const EnsureWorkspaceChatResponseSchema: z.ZodObject<{
|
|
|
1020
1024
|
chatId: z.ZodString;
|
|
1021
1025
|
memberCode: z.ZodString;
|
|
1022
1026
|
type: z.ZodEnum<{
|
|
1023
|
-
agent: "agent";
|
|
1024
1027
|
human: "human";
|
|
1028
|
+
agent: "agent";
|
|
1025
1029
|
}>;
|
|
1026
1030
|
role: z.ZodString;
|
|
1027
1031
|
createdAt: z.ZodString;
|
|
@@ -1736,10 +1740,10 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1736
1740
|
*/
|
|
1737
1741
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1738
1742
|
ownerType: z.ZodEnum<{
|
|
1739
|
-
cloud: "cloud";
|
|
1740
1743
|
agent: "agent";
|
|
1741
|
-
|
|
1744
|
+
cloud: "cloud";
|
|
1742
1745
|
"draft-agent": "draft-agent";
|
|
1746
|
+
machine: "machine";
|
|
1743
1747
|
}>;
|
|
1744
1748
|
ownerId: z.ZodString;
|
|
1745
1749
|
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -3139,9 +3143,9 @@ declare const ConsoleApiKeyMetadataSchema: z.ZodObject<{
|
|
|
3139
3143
|
id: z.ZodString;
|
|
3140
3144
|
createdAt: z.ZodString;
|
|
3141
3145
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
3142
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3143
3146
|
enabled: z.ZodBoolean;
|
|
3144
3147
|
keyPrefix: z.ZodString;
|
|
3148
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3145
3149
|
}, z.core.$strip>;
|
|
3146
3150
|
type ConsoleApiKeyMetadata = z.infer<typeof ConsoleApiKeyMetadataSchema>;
|
|
3147
3151
|
declare const ConsoleUserApiKeysResponseSchema: z.ZodObject<{
|
|
@@ -3150,9 +3154,9 @@ declare const ConsoleUserApiKeysResponseSchema: z.ZodObject<{
|
|
|
3150
3154
|
id: z.ZodString;
|
|
3151
3155
|
createdAt: z.ZodString;
|
|
3152
3156
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
3153
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3154
3157
|
enabled: z.ZodBoolean;
|
|
3155
3158
|
keyPrefix: z.ZodString;
|
|
3159
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3156
3160
|
}, z.core.$strip>>;
|
|
3157
3161
|
total: z.ZodNumber;
|
|
3158
3162
|
}, z.core.$strip>;
|
|
@@ -4485,8 +4489,8 @@ type GetPrivateCloudRunnerSecretResponse = z.infer<typeof GetPrivateCloudRunnerS
|
|
|
4485
4489
|
* Contact target type
|
|
4486
4490
|
*/
|
|
4487
4491
|
declare const ContactTargetTypeSchema: z.ZodEnum<{
|
|
4488
|
-
agent: "agent";
|
|
4489
4492
|
human: "human";
|
|
4493
|
+
agent: "agent";
|
|
4490
4494
|
}>;
|
|
4491
4495
|
type ContactTargetType = z.infer<typeof ContactTargetTypeSchema>;
|
|
4492
4496
|
/**
|
|
@@ -4496,8 +4500,8 @@ declare const ContactSchema: z.ZodObject<{
|
|
|
4496
4500
|
id: z.ZodString;
|
|
4497
4501
|
userId: z.ZodString;
|
|
4498
4502
|
targetType: z.ZodEnum<{
|
|
4499
|
-
agent: "agent";
|
|
4500
4503
|
human: "human";
|
|
4504
|
+
agent: "agent";
|
|
4501
4505
|
}>;
|
|
4502
4506
|
targetId: z.ZodString;
|
|
4503
4507
|
displayNameSnapshot: z.ZodString;
|
|
@@ -4512,8 +4516,8 @@ type Contact = z.infer<typeof ContactSchema>;
|
|
|
4512
4516
|
*/
|
|
4513
4517
|
declare const ContactCandidateSchema: z.ZodObject<{
|
|
4514
4518
|
targetType: z.ZodEnum<{
|
|
4515
|
-
agent: "agent";
|
|
4516
4519
|
human: "human";
|
|
4520
|
+
agent: "agent";
|
|
4517
4521
|
}>;
|
|
4518
4522
|
targetId: z.ZodString;
|
|
4519
4523
|
displayName: z.ZodString;
|
|
@@ -4530,8 +4534,8 @@ declare const ListContactsResponseSchema: z.ZodObject<{
|
|
|
4530
4534
|
id: z.ZodString;
|
|
4531
4535
|
userId: z.ZodString;
|
|
4532
4536
|
targetType: z.ZodEnum<{
|
|
4533
|
-
agent: "agent";
|
|
4534
4537
|
human: "human";
|
|
4538
|
+
agent: "agent";
|
|
4535
4539
|
}>;
|
|
4536
4540
|
targetId: z.ZodString;
|
|
4537
4541
|
displayNameSnapshot: z.ZodString;
|
|
@@ -4547,8 +4551,8 @@ type ListContactsResponse = z.infer<typeof ListContactsResponseSchema>;
|
|
|
4547
4551
|
*/
|
|
4548
4552
|
declare const CreateContactRequestSchema: z.ZodObject<{
|
|
4549
4553
|
targetType: z.ZodEnum<{
|
|
4550
|
-
agent: "agent";
|
|
4551
4554
|
human: "human";
|
|
4555
|
+
agent: "agent";
|
|
4552
4556
|
}>;
|
|
4553
4557
|
targetId: z.ZodString;
|
|
4554
4558
|
}, z.core.$strip>;
|
|
@@ -4560,8 +4564,8 @@ declare const CreateContactResponseSchema: z.ZodObject<{
|
|
|
4560
4564
|
id: z.ZodString;
|
|
4561
4565
|
userId: z.ZodString;
|
|
4562
4566
|
targetType: z.ZodEnum<{
|
|
4563
|
-
agent: "agent";
|
|
4564
4567
|
human: "human";
|
|
4568
|
+
agent: "agent";
|
|
4565
4569
|
}>;
|
|
4566
4570
|
targetId: z.ZodString;
|
|
4567
4571
|
displayNameSnapshot: z.ZodString;
|
|
@@ -4593,8 +4597,8 @@ type SearchContactCandidatesQuery = z.infer<typeof SearchContactCandidatesQueryS
|
|
|
4593
4597
|
declare const SearchContactCandidatesResponseSchema: z.ZodObject<{
|
|
4594
4598
|
candidates: z.ZodArray<z.ZodObject<{
|
|
4595
4599
|
targetType: z.ZodEnum<{
|
|
4596
|
-
agent: "agent";
|
|
4597
4600
|
human: "human";
|
|
4601
|
+
agent: "agent";
|
|
4598
4602
|
}>;
|
|
4599
4603
|
targetId: z.ZodString;
|
|
4600
4604
|
displayName: z.ZodString;
|
|
@@ -4731,6 +4735,9 @@ declare const CiRunGitSchema: z.ZodObject<{
|
|
|
4731
4735
|
sha: z.ZodOptional<z.ZodString>;
|
|
4732
4736
|
baseRef: z.ZodOptional<z.ZodString>;
|
|
4733
4737
|
headRef: z.ZodOptional<z.ZodString>;
|
|
4738
|
+
headSha: z.ZodOptional<z.ZodString>;
|
|
4739
|
+
checkoutRef: z.ZodOptional<z.ZodString>;
|
|
4740
|
+
checkoutSha: z.ZodOptional<z.ZodString>;
|
|
4734
4741
|
branchName: z.ZodOptional<z.ZodString>;
|
|
4735
4742
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
4736
4743
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4774,6 +4781,9 @@ declare const CreateCiRunRequestSchema: z.ZodObject<{
|
|
|
4774
4781
|
sha: z.ZodOptional<z.ZodString>;
|
|
4775
4782
|
baseRef: z.ZodOptional<z.ZodString>;
|
|
4776
4783
|
headRef: z.ZodOptional<z.ZodString>;
|
|
4784
|
+
headSha: z.ZodOptional<z.ZodString>;
|
|
4785
|
+
checkoutRef: z.ZodOptional<z.ZodString>;
|
|
4786
|
+
checkoutSha: z.ZodOptional<z.ZodString>;
|
|
4777
4787
|
branchName: z.ZodOptional<z.ZodString>;
|
|
4778
4788
|
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
4779
4789
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ga as LoadAgentOptions, g8 as AgentConfig, g9 as ValidationResult, g5 as FrameworkType } from './errors-
|
|
2
|
-
export { gh as AgentConfigValidationError, g1 as AgentContext, gf as AgentError, gj as AgentLoadError, g6 as AgentMetadata, gd as AgentMetadataSchema, gg as AgentNotFoundError, g2 as AgentrixContext, g7 as ClaudeAgentConfig, ge as ClaudeConfigSchema, gc as FRAMEWORK_TYPES, gi as FrameworkNotSupportedError, gb as HookFactory, gk as MissingAgentFileError, g4 as getAgentContext, g3 as setAgentContext } from './errors-
|
|
1
|
+
import { ga as LoadAgentOptions, g8 as AgentConfig, g9 as ValidationResult, g5 as FrameworkType } from './errors-D7iN2mjM.cjs';
|
|
2
|
+
export { gh as AgentConfigValidationError, g1 as AgentContext, gf as AgentError, gj as AgentLoadError, g6 as AgentMetadata, gd as AgentMetadataSchema, gg as AgentNotFoundError, g2 as AgentrixContext, g7 as ClaudeAgentConfig, ge as ClaudeConfigSchema, gc as FRAMEWORK_TYPES, gi as FrameworkNotSupportedError, gb as HookFactory, gk as MissingAgentFileError, g4 as getAgentContext, g3 as setAgentContext } from './errors-D7iN2mjM.cjs';
|
|
3
3
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
4
4
|
import '@anthropic-ai/claude-agent-sdk';
|
|
5
5
|
import 'zod';
|