@agentrix/shared 2.24.0 → 2.27.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-BQihmdbe.d.cts → errors-D1Ifuw6J.d.cts} +189 -30
- package/dist/index.cjs +84 -1
- package/dist/index.d.cts +23 -11
- package/dist/node.d.cts +2 -2
- package/package.json +1 -1
|
@@ -47,6 +47,11 @@ declare const TaskUsageSummarySchema: z.ZodObject<{
|
|
|
47
47
|
models: z.ZodArray<z.ZodString>;
|
|
48
48
|
}, z.core.$strip>;
|
|
49
49
|
type TaskUsageSummary = z.infer<typeof TaskUsageSummarySchema>;
|
|
50
|
+
declare const TaskPreviewUrlSchema: z.ZodString;
|
|
51
|
+
declare const UpdateTaskPreviewUrlRequestSchema: z.ZodObject<{
|
|
52
|
+
previewUrl: z.ZodString;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
type UpdateTaskPreviewUrlRequest = z.infer<typeof UpdateTaskPreviewUrlRequestSchema>;
|
|
50
55
|
/**
|
|
51
56
|
* POST /v1/tasks/start - Request schema
|
|
52
57
|
*/
|
|
@@ -82,6 +87,10 @@ declare const StartTaskRequestSchema: z.ZodObject<{
|
|
|
82
87
|
instructions: z.ZodString;
|
|
83
88
|
}, z.core.$strip>>>;
|
|
84
89
|
supportedFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
|
+
preferredLanguage: z.ZodOptional<z.ZodEnum<{
|
|
91
|
+
en: "en";
|
|
92
|
+
"zh-Hans": "zh-Hans";
|
|
93
|
+
}>>;
|
|
85
94
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
86
95
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
87
96
|
branchName: z.ZodOptional<z.ZodString>;
|
|
@@ -119,6 +128,10 @@ declare const startTaskSchema: z.ZodObject<{
|
|
|
119
128
|
instructions: z.ZodString;
|
|
120
129
|
}, z.core.$strip>>>;
|
|
121
130
|
supportedFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
131
|
+
preferredLanguage: z.ZodOptional<z.ZodEnum<{
|
|
132
|
+
en: "en";
|
|
133
|
+
"zh-Hans": "zh-Hans";
|
|
134
|
+
}>>;
|
|
122
135
|
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
123
136
|
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
124
137
|
branchName: z.ZodOptional<z.ZodString>;
|
|
@@ -202,6 +215,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
202
215
|
directory: "directory";
|
|
203
216
|
"git-server": "git-server";
|
|
204
217
|
}>>;
|
|
218
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
205
219
|
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
206
220
|
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
207
221
|
pullRequestState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -279,6 +293,7 @@ declare const EnsureIssueRootTaskResponseSchema: z.ZodObject<{
|
|
|
279
293
|
directory: "directory";
|
|
280
294
|
"git-server": "git-server";
|
|
281
295
|
}>>;
|
|
296
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
282
297
|
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
283
298
|
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
284
299
|
pullRequestState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -370,6 +385,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
370
385
|
directory: "directory";
|
|
371
386
|
"git-server": "git-server";
|
|
372
387
|
}>>;
|
|
388
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
373
389
|
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
374
390
|
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
375
391
|
pullRequestState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -688,6 +704,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
688
704
|
directory: "directory";
|
|
689
705
|
"git-server": "git-server";
|
|
690
706
|
}>>;
|
|
707
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
691
708
|
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
692
709
|
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
693
710
|
pullRequestState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -775,6 +792,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
775
792
|
directory: "directory";
|
|
776
793
|
"git-server": "git-server";
|
|
777
794
|
}>>;
|
|
795
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
778
796
|
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
779
797
|
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
780
798
|
pullRequestState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -864,6 +882,7 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
864
882
|
directory: "directory";
|
|
865
883
|
"git-server": "git-server";
|
|
866
884
|
}>>;
|
|
885
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
867
886
|
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
868
887
|
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
869
888
|
pullRequestState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -902,6 +921,86 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
902
921
|
}, z.core.$strip>;
|
|
903
922
|
}, z.core.$strip>;
|
|
904
923
|
type UpdateTaskTitleResponse = z.infer<typeof UpdateTaskTitleResponseSchema>;
|
|
924
|
+
declare const UpdateTaskPreviewUrlResponseSchema: z.ZodObject<{
|
|
925
|
+
success: z.ZodBoolean;
|
|
926
|
+
task: z.ZodObject<{
|
|
927
|
+
id: z.ZodString;
|
|
928
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
929
|
+
chat: "chat";
|
|
930
|
+
work: "work";
|
|
931
|
+
shadow: "shadow";
|
|
932
|
+
}>>;
|
|
933
|
+
chatId: z.ZodString;
|
|
934
|
+
userId: z.ZodString;
|
|
935
|
+
state: z.ZodString;
|
|
936
|
+
workerStatus: z.ZodNullable<z.ZodEnum<{
|
|
937
|
+
initializing: "initializing";
|
|
938
|
+
ready: "ready";
|
|
939
|
+
running: "running";
|
|
940
|
+
}>>;
|
|
941
|
+
agentId: z.ZodString;
|
|
942
|
+
machineId: z.ZodNullable<z.ZodString>;
|
|
943
|
+
cloudId: z.ZodNullable<z.ZodString>;
|
|
944
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
945
|
+
repositoryId: z.ZodNullable<z.ZodString>;
|
|
946
|
+
baseBranch: z.ZodNullable<z.ZodString>;
|
|
947
|
+
branchName: z.ZodNullable<z.ZodString>;
|
|
948
|
+
workerExecutionMode: z.ZodEnum<{
|
|
949
|
+
loop: "loop";
|
|
950
|
+
oneshot: "oneshot";
|
|
951
|
+
}>;
|
|
952
|
+
title: z.ZodNullable<z.ZodString>;
|
|
953
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
954
|
+
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
955
|
+
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
956
|
+
ownerEncryptedDataKey: z.ZodNullable<z.ZodString>;
|
|
957
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
958
|
+
userCwd: z.ZodNullable<z.ZodString>;
|
|
959
|
+
forceUserCwd: z.ZodNullable<z.ZodBoolean>;
|
|
960
|
+
repositorySourceType: z.ZodNullable<z.ZodEnum<{
|
|
961
|
+
temporary: "temporary";
|
|
962
|
+
directory: "directory";
|
|
963
|
+
"git-server": "git-server";
|
|
964
|
+
}>>;
|
|
965
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
966
|
+
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
967
|
+
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
968
|
+
pullRequestState: z.ZodNullable<z.ZodEnum<{
|
|
969
|
+
open: "open";
|
|
970
|
+
closed: "closed";
|
|
971
|
+
merged: "merged";
|
|
972
|
+
}>>;
|
|
973
|
+
pullRequestStateChangedAt: z.ZodNullable<z.ZodString>;
|
|
974
|
+
issueNumber: z.ZodNullable<z.ZodNumber>;
|
|
975
|
+
gitStats: z.ZodNullable<z.ZodObject<{
|
|
976
|
+
totalInsertions: z.ZodNumber;
|
|
977
|
+
totalDeletions: z.ZodNumber;
|
|
978
|
+
files: z.ZodArray<z.ZodObject<{
|
|
979
|
+
path: z.ZodString;
|
|
980
|
+
insertions: z.ZodNumber;
|
|
981
|
+
deletions: z.ZodNumber;
|
|
982
|
+
}, z.core.$strip>>;
|
|
983
|
+
}, z.core.$strip>>;
|
|
984
|
+
usageSummary: z.ZodNullable<z.ZodObject<{
|
|
985
|
+
inputTokens: z.ZodNumber;
|
|
986
|
+
outputTokens: z.ZodNumber;
|
|
987
|
+
cacheReadInputTokens: z.ZodNumber;
|
|
988
|
+
cacheCreationInputTokens: z.ZodNumber;
|
|
989
|
+
webSearchRequests: z.ZodNumber;
|
|
990
|
+
totalTokens: z.ZodNumber;
|
|
991
|
+
models: z.ZodArray<z.ZodString>;
|
|
992
|
+
}, z.core.$strip>>;
|
|
993
|
+
totalDuration: z.ZodNullable<z.ZodNumber>;
|
|
994
|
+
rootTaskId: z.ZodNullable<z.ZodString>;
|
|
995
|
+
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
996
|
+
taskAgentIds: z.ZodArray<z.ZodString>;
|
|
997
|
+
supportedFeatures: z.ZodArray<z.ZodString>;
|
|
998
|
+
autoNavigate: z.ZodOptional<z.ZodBoolean>;
|
|
999
|
+
createdAt: z.ZodString;
|
|
1000
|
+
updatedAt: z.ZodString;
|
|
1001
|
+
}, z.core.$strip>;
|
|
1002
|
+
}, z.core.$strip>;
|
|
1003
|
+
type UpdateTaskPreviewUrlResponse = z.infer<typeof UpdateTaskPreviewUrlResponseSchema>;
|
|
905
1004
|
/**
|
|
906
1005
|
* Message target type
|
|
907
1006
|
* - 'agent': Send to task's agent worker (injects as user message)
|
|
@@ -917,15 +1016,15 @@ type SendMessageTarget = 'agent' | 'user';
|
|
|
917
1016
|
* - 'user': Broadcasts SDKAssistantMessage to users viewing the task
|
|
918
1017
|
*/
|
|
919
1018
|
declare const SendTaskMessageRequestSchema: z.ZodObject<{
|
|
920
|
-
message: z.ZodCustom<
|
|
1019
|
+
message: z.ZodCustom<SDKAssistantMessage | SDKUserMessage, SDKAssistantMessage | SDKUserMessage>;
|
|
921
1020
|
target: z.ZodEnum<{
|
|
922
|
-
agent: "agent";
|
|
923
1021
|
user: "user";
|
|
1022
|
+
agent: "agent";
|
|
924
1023
|
}>;
|
|
925
1024
|
fromTaskId: z.ZodOptional<z.ZodString>;
|
|
926
1025
|
senderType: z.ZodEnum<{
|
|
927
|
-
human: "human";
|
|
928
1026
|
system: "system";
|
|
1027
|
+
human: "human";
|
|
929
1028
|
agent: "agent";
|
|
930
1029
|
channel: "channel";
|
|
931
1030
|
}>;
|
|
@@ -1069,8 +1168,8 @@ declare const HiveListingTypeSchema: z.ZodEnum<{
|
|
|
1069
1168
|
}>;
|
|
1070
1169
|
type HiveListingType = z.infer<typeof HiveListingTypeSchema>;
|
|
1071
1170
|
declare const HiveAuthorTypeSchema: z.ZodEnum<{
|
|
1072
|
-
agent: "agent";
|
|
1073
1171
|
user: "user";
|
|
1172
|
+
agent: "agent";
|
|
1074
1173
|
}>;
|
|
1075
1174
|
type HiveAuthorType = z.infer<typeof HiveAuthorTypeSchema>;
|
|
1076
1175
|
declare const HiveListingStatusSchema: z.ZodEnum<{
|
|
@@ -1100,8 +1199,8 @@ declare const HiveListingSchema: z.ZodObject<{
|
|
|
1100
1199
|
version: z.ZodString;
|
|
1101
1200
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1102
1201
|
authorType: z.ZodEnum<{
|
|
1103
|
-
agent: "agent";
|
|
1104
1202
|
user: "user";
|
|
1203
|
+
agent: "agent";
|
|
1105
1204
|
}>;
|
|
1106
1205
|
authorId: z.ZodString;
|
|
1107
1206
|
authorName: z.ZodString;
|
|
@@ -1141,8 +1240,8 @@ declare const PublishToHiveRequestSchema: z.ZodObject<{
|
|
|
1141
1240
|
category: z.ZodOptional<z.ZodString>;
|
|
1142
1241
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1143
1242
|
authorType: z.ZodEnum<{
|
|
1144
|
-
agent: "agent";
|
|
1145
1243
|
user: "user";
|
|
1244
|
+
agent: "agent";
|
|
1146
1245
|
}>;
|
|
1147
1246
|
authorId: z.ZodString;
|
|
1148
1247
|
machineId: z.ZodOptional<z.ZodString>;
|
|
@@ -1187,8 +1286,8 @@ declare const HiveListResponseSchema: z.ZodObject<{
|
|
|
1187
1286
|
version: z.ZodString;
|
|
1188
1287
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1189
1288
|
authorType: z.ZodEnum<{
|
|
1190
|
-
agent: "agent";
|
|
1191
1289
|
user: "user";
|
|
1290
|
+
agent: "agent";
|
|
1192
1291
|
}>;
|
|
1193
1292
|
authorId: z.ZodString;
|
|
1194
1293
|
authorName: z.ZodString;
|
|
@@ -1292,8 +1391,8 @@ declare const HiveReviewSchema: z.ZodObject<{
|
|
|
1292
1391
|
id: z.ZodString;
|
|
1293
1392
|
hiveListingId: z.ZodString;
|
|
1294
1393
|
authorType: z.ZodEnum<{
|
|
1295
|
-
agent: "agent";
|
|
1296
1394
|
user: "user";
|
|
1395
|
+
agent: "agent";
|
|
1297
1396
|
}>;
|
|
1298
1397
|
authorId: z.ZodString;
|
|
1299
1398
|
authorName: z.ZodString;
|
|
@@ -1319,8 +1418,8 @@ declare const HiveReviewListResponseSchema: z.ZodObject<{
|
|
|
1319
1418
|
id: z.ZodString;
|
|
1320
1419
|
hiveListingId: z.ZodString;
|
|
1321
1420
|
authorType: z.ZodEnum<{
|
|
1322
|
-
agent: "agent";
|
|
1323
1421
|
user: "user";
|
|
1422
|
+
agent: "agent";
|
|
1324
1423
|
}>;
|
|
1325
1424
|
authorId: z.ZodString;
|
|
1326
1425
|
authorName: z.ZodString;
|
|
@@ -1340,8 +1439,8 @@ declare const HiveCommentSchema: z.ZodObject<{
|
|
|
1340
1439
|
hiveListingId: z.ZodString;
|
|
1341
1440
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1342
1441
|
authorType: z.ZodEnum<{
|
|
1343
|
-
agent: "agent";
|
|
1344
1442
|
user: "user";
|
|
1443
|
+
agent: "agent";
|
|
1345
1444
|
}>;
|
|
1346
1445
|
authorId: z.ZodString;
|
|
1347
1446
|
authorName: z.ZodString;
|
|
@@ -1366,8 +1465,8 @@ declare const HiveCommentListResponseSchema: z.ZodObject<{
|
|
|
1366
1465
|
hiveListingId: z.ZodString;
|
|
1367
1466
|
parentId: z.ZodNullable<z.ZodString>;
|
|
1368
1467
|
authorType: z.ZodEnum<{
|
|
1369
|
-
agent: "agent";
|
|
1370
1468
|
user: "user";
|
|
1469
|
+
agent: "agent";
|
|
1371
1470
|
}>;
|
|
1372
1471
|
authorId: z.ZodString;
|
|
1373
1472
|
authorName: z.ZodString;
|
|
@@ -1407,8 +1506,8 @@ declare const HiveInstalledItemSchema: z.ZodObject<{
|
|
|
1407
1506
|
version: z.ZodString;
|
|
1408
1507
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1409
1508
|
authorType: z.ZodEnum<{
|
|
1410
|
-
agent: "agent";
|
|
1411
1509
|
user: "user";
|
|
1510
|
+
agent: "agent";
|
|
1412
1511
|
}>;
|
|
1413
1512
|
authorId: z.ZodString;
|
|
1414
1513
|
authorName: z.ZodString;
|
|
@@ -1462,8 +1561,8 @@ declare const HiveInstalledResponseSchema: z.ZodObject<{
|
|
|
1462
1561
|
version: z.ZodString;
|
|
1463
1562
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1464
1563
|
authorType: z.ZodEnum<{
|
|
1465
|
-
agent: "agent";
|
|
1466
1564
|
user: "user";
|
|
1565
|
+
agent: "agent";
|
|
1467
1566
|
}>;
|
|
1468
1567
|
authorId: z.ZodString;
|
|
1469
1568
|
authorName: z.ZodString;
|
|
@@ -1505,8 +1604,8 @@ declare const HiveMyListingsResponseSchema: z.ZodObject<{
|
|
|
1505
1604
|
version: z.ZodString;
|
|
1506
1605
|
avatar: z.ZodNullable<z.ZodString>;
|
|
1507
1606
|
authorType: z.ZodEnum<{
|
|
1508
|
-
agent: "agent";
|
|
1509
1607
|
user: "user";
|
|
1608
|
+
agent: "agent";
|
|
1510
1609
|
}>;
|
|
1511
1610
|
authorId: z.ZodString;
|
|
1512
1611
|
authorName: z.ZodString;
|
|
@@ -1534,6 +1633,40 @@ declare const HiveMyListingsResponseSchema: z.ZodObject<{
|
|
|
1534
1633
|
}, z.core.$strip>;
|
|
1535
1634
|
type HiveMyListingsResponse = z.infer<typeof HiveMyListingsResponseSchema>;
|
|
1536
1635
|
|
|
1636
|
+
declare const SyncStreamTypeSchema: z.ZodEnum<{
|
|
1637
|
+
repo_issues: "repo_issues";
|
|
1638
|
+
repo_merge_requests: "repo_merge_requests";
|
|
1639
|
+
}>;
|
|
1640
|
+
type SyncStreamType = z.infer<typeof SyncStreamTypeSchema>;
|
|
1641
|
+
declare const GetStreamVersionQuerySchema: z.ZodObject<{
|
|
1642
|
+
streamType: z.ZodEnum<{
|
|
1643
|
+
repo_issues: "repo_issues";
|
|
1644
|
+
repo_merge_requests: "repo_merge_requests";
|
|
1645
|
+
}>;
|
|
1646
|
+
streamId: z.ZodString;
|
|
1647
|
+
}, z.core.$strip>;
|
|
1648
|
+
type GetStreamVersionQuery = z.infer<typeof GetStreamVersionQuerySchema>;
|
|
1649
|
+
declare const StreamVersionResponseSchema: z.ZodObject<{
|
|
1650
|
+
streamType: z.ZodEnum<{
|
|
1651
|
+
repo_issues: "repo_issues";
|
|
1652
|
+
repo_merge_requests: "repo_merge_requests";
|
|
1653
|
+
}>;
|
|
1654
|
+
streamId: z.ZodString;
|
|
1655
|
+
version: z.ZodString;
|
|
1656
|
+
}, z.core.$strip>;
|
|
1657
|
+
type StreamVersionResponse = z.infer<typeof StreamVersionResponseSchema>;
|
|
1658
|
+
declare const SyncAvailableEventSchema: z.ZodObject<{
|
|
1659
|
+
eventId: z.ZodString;
|
|
1660
|
+
streamType: z.ZodEnum<{
|
|
1661
|
+
repo_issues: "repo_issues";
|
|
1662
|
+
repo_merge_requests: "repo_merge_requests";
|
|
1663
|
+
}>;
|
|
1664
|
+
streamId: z.ZodString;
|
|
1665
|
+
version: z.ZodString;
|
|
1666
|
+
timestamp: z.ZodString;
|
|
1667
|
+
}, z.core.$strip>;
|
|
1668
|
+
type SyncAvailableEvent = z.infer<typeof SyncAvailableEventSchema>;
|
|
1669
|
+
|
|
1537
1670
|
/**
|
|
1538
1671
|
* RPC (Remote Procedure Call) types and schemas for AgentrixContext
|
|
1539
1672
|
*
|
|
@@ -1649,14 +1782,14 @@ declare const AskUserMessageSchema: z.ZodObject<{
|
|
|
1649
1782
|
}, z.core.$strip>;
|
|
1650
1783
|
type AskUserMessage = z.infer<typeof AskUserMessageSchema>;
|
|
1651
1784
|
declare const AskUserResponseStatusSchema: z.ZodEnum<{
|
|
1652
|
-
timeout: "timeout";
|
|
1653
1785
|
answered: "answered";
|
|
1654
1786
|
cancelled: "cancelled";
|
|
1787
|
+
timeout: "timeout";
|
|
1655
1788
|
}>;
|
|
1656
1789
|
declare const AskUserResponseReasonSchema: z.ZodEnum<{
|
|
1657
|
-
system: "system";
|
|
1658
|
-
user: "user";
|
|
1659
1790
|
timeout: "timeout";
|
|
1791
|
+
user: "user";
|
|
1792
|
+
system: "system";
|
|
1660
1793
|
}>;
|
|
1661
1794
|
type AskUserResponseStatus = z.infer<typeof AskUserResponseStatusSchema>;
|
|
1662
1795
|
type AskUserResponseReason = z.infer<typeof AskUserResponseReasonSchema>;
|
|
@@ -1672,14 +1805,14 @@ declare const AskUserResponseMessageSchema: z.ZodObject<{
|
|
|
1672
1805
|
details: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1673
1806
|
rememberAnswers: z.ZodOptional<z.ZodArray<z.ZodBoolean>>;
|
|
1674
1807
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1675
|
-
timeout: "timeout";
|
|
1676
1808
|
answered: "answered";
|
|
1677
1809
|
cancelled: "cancelled";
|
|
1810
|
+
timeout: "timeout";
|
|
1678
1811
|
}>>;
|
|
1679
1812
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
1680
|
-
system: "system";
|
|
1681
|
-
user: "user";
|
|
1682
1813
|
timeout: "timeout";
|
|
1814
|
+
user: "user";
|
|
1815
|
+
system: "system";
|
|
1683
1816
|
}>>;
|
|
1684
1817
|
}, z.core.$strip>;
|
|
1685
1818
|
type AskUserResponseMessage = z.infer<typeof AskUserResponseMessageSchema>;
|
|
@@ -1692,6 +1825,9 @@ interface CompanionHeartbeatMessage {
|
|
|
1692
1825
|
timestamp: string;
|
|
1693
1826
|
triggerTime?: string;
|
|
1694
1827
|
triggerReasons?: string[];
|
|
1828
|
+
heartbeatTriggerCount?: number;
|
|
1829
|
+
maintenanceMode?: boolean;
|
|
1830
|
+
maintenanceModeType?: 'memory_organization';
|
|
1695
1831
|
}
|
|
1696
1832
|
/**
|
|
1697
1833
|
* Companion reminder message payload (Shadow → Main)
|
|
@@ -1984,6 +2120,8 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
1984
2120
|
chatId: z.ZodString;
|
|
1985
2121
|
agentId: z.ZodString;
|
|
1986
2122
|
agentType: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2123
|
+
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2124
|
+
cloudId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1987
2125
|
agentDir: z.ZodOptional<z.ZodString>;
|
|
1988
2126
|
gitUrl: z.ZodOptional<z.ZodString>;
|
|
1989
2127
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
@@ -2029,6 +2167,10 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
2029
2167
|
instructions: z.ZodString;
|
|
2030
2168
|
}, z.core.$strip>>>;
|
|
2031
2169
|
supportedFeatures: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2170
|
+
preferredLanguage: z.ZodOptional<z.ZodEnum<{
|
|
2171
|
+
en: "en";
|
|
2172
|
+
"zh-Hans": "zh-Hans";
|
|
2173
|
+
}>>;
|
|
2032
2174
|
taskType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2033
2175
|
chat: "chat";
|
|
2034
2176
|
work: "work";
|
|
@@ -2050,6 +2192,8 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
2050
2192
|
chatId: z.ZodString;
|
|
2051
2193
|
agentId: z.ZodString;
|
|
2052
2194
|
agentType: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2195
|
+
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2196
|
+
cloudId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2053
2197
|
agentDir: z.ZodOptional<z.ZodString>;
|
|
2054
2198
|
gitUrl: z.ZodOptional<z.ZodString>;
|
|
2055
2199
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
@@ -2095,6 +2239,10 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
2095
2239
|
instructions: z.ZodString;
|
|
2096
2240
|
}, z.core.$strip>>>;
|
|
2097
2241
|
supportedFeatures: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2242
|
+
preferredLanguage: z.ZodOptional<z.ZodEnum<{
|
|
2243
|
+
en: "en";
|
|
2244
|
+
"zh-Hans": "zh-Hans";
|
|
2245
|
+
}>>;
|
|
2098
2246
|
taskType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2099
2247
|
chat: "chat";
|
|
2100
2248
|
work: "work";
|
|
@@ -2119,6 +2267,8 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
2119
2267
|
chatId: z.ZodString;
|
|
2120
2268
|
agentId: z.ZodString;
|
|
2121
2269
|
agentType: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2270
|
+
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2271
|
+
cloudId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2122
2272
|
agentDir: z.ZodOptional<z.ZodString>;
|
|
2123
2273
|
gitUrl: z.ZodOptional<z.ZodString>;
|
|
2124
2274
|
baseBranch: z.ZodOptional<z.ZodString>;
|
|
@@ -2164,6 +2314,10 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
2164
2314
|
instructions: z.ZodString;
|
|
2165
2315
|
}, z.core.$strip>>>;
|
|
2166
2316
|
supportedFeatures: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2317
|
+
preferredLanguage: z.ZodOptional<z.ZodEnum<{
|
|
2318
|
+
en: "en";
|
|
2319
|
+
"zh-Hans": "zh-Hans";
|
|
2320
|
+
}>>;
|
|
2167
2321
|
taskType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2168
2322
|
chat: "chat";
|
|
2169
2323
|
work: "work";
|
|
@@ -2226,10 +2380,10 @@ type PreviewProjectType = z.infer<typeof PreviewProjectTypeSchema>;
|
|
|
2226
2380
|
* Preview rendering method
|
|
2227
2381
|
*/
|
|
2228
2382
|
declare const PreviewMethodSchema: z.ZodEnum<{
|
|
2229
|
-
none: "none";
|
|
2230
2383
|
simple: "simple";
|
|
2231
2384
|
bundled: "bundled";
|
|
2232
2385
|
gallery: "gallery";
|
|
2386
|
+
none: "none";
|
|
2233
2387
|
}>;
|
|
2234
2388
|
type PreviewMethod = z.infer<typeof PreviewMethodSchema>;
|
|
2235
2389
|
/**
|
|
@@ -2246,10 +2400,10 @@ declare const PreviewMetadataSchema: z.ZodObject<{
|
|
|
2246
2400
|
nextjs: "nextjs";
|
|
2247
2401
|
}>;
|
|
2248
2402
|
previewMethod: z.ZodEnum<{
|
|
2249
|
-
none: "none";
|
|
2250
2403
|
simple: "simple";
|
|
2251
2404
|
bundled: "bundled";
|
|
2252
2405
|
gallery: "gallery";
|
|
2406
|
+
none: "none";
|
|
2253
2407
|
}>;
|
|
2254
2408
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2255
2409
|
projectPath: z.ZodString;
|
|
@@ -2283,10 +2437,10 @@ declare const TaskArtifactsSummarySchema: z.ZodObject<{
|
|
|
2283
2437
|
nextjs: "nextjs";
|
|
2284
2438
|
}>;
|
|
2285
2439
|
previewMethod: z.ZodEnum<{
|
|
2286
|
-
none: "none";
|
|
2287
2440
|
simple: "simple";
|
|
2288
2441
|
bundled: "bundled";
|
|
2289
2442
|
gallery: "gallery";
|
|
2443
|
+
none: "none";
|
|
2290
2444
|
}>;
|
|
2291
2445
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2292
2446
|
projectPath: z.ZodString;
|
|
@@ -2301,9 +2455,9 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2301
2455
|
taskId: z.ZodString;
|
|
2302
2456
|
chatId: z.ZodOptional<z.ZodString>;
|
|
2303
2457
|
from: z.ZodEnum<{
|
|
2304
|
-
machine: "machine";
|
|
2305
2458
|
app: "app";
|
|
2306
2459
|
"api-server": "api-server";
|
|
2460
|
+
machine: "machine";
|
|
2307
2461
|
worker: "worker";
|
|
2308
2462
|
}>;
|
|
2309
2463
|
opCode: z.ZodOptional<z.ZodString>;
|
|
@@ -2314,8 +2468,8 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2314
2468
|
encryptedMessage: z.ZodOptional<z.ZodString>;
|
|
2315
2469
|
agentId: z.ZodOptional<z.ZodString>;
|
|
2316
2470
|
senderType: z.ZodEnum<{
|
|
2317
|
-
human: "human";
|
|
2318
2471
|
system: "system";
|
|
2472
|
+
human: "human";
|
|
2319
2473
|
agent: "agent";
|
|
2320
2474
|
channel: "channel";
|
|
2321
2475
|
}>;
|
|
@@ -2343,10 +2497,10 @@ declare const TaskMessageSchema: z.ZodObject<{
|
|
|
2343
2497
|
nextjs: "nextjs";
|
|
2344
2498
|
}>;
|
|
2345
2499
|
previewMethod: z.ZodEnum<{
|
|
2346
|
-
none: "none";
|
|
2347
2500
|
simple: "simple";
|
|
2348
2501
|
bundled: "bundled";
|
|
2349
2502
|
gallery: "gallery";
|
|
2503
|
+
none: "none";
|
|
2350
2504
|
}>;
|
|
2351
2505
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2352
2506
|
projectPath: z.ZodString;
|
|
@@ -2466,8 +2620,8 @@ declare const RtcSignalSchema: z.ZodObject<{
|
|
|
2466
2620
|
machineId: z.ZodString;
|
|
2467
2621
|
sessionId: z.ZodString;
|
|
2468
2622
|
from: z.ZodEnum<{
|
|
2469
|
-
machine: "machine";
|
|
2470
2623
|
app: "app";
|
|
2624
|
+
machine: "machine";
|
|
2471
2625
|
}>;
|
|
2472
2626
|
signal: z.ZodAny;
|
|
2473
2627
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -2621,10 +2775,10 @@ declare const SubTaskResultUpdatedEventSchema: z.ZodObject<{
|
|
|
2621
2775
|
nextjs: "nextjs";
|
|
2622
2776
|
}>;
|
|
2623
2777
|
previewMethod: z.ZodEnum<{
|
|
2624
|
-
none: "none";
|
|
2625
2778
|
simple: "simple";
|
|
2626
2779
|
bundled: "bundled";
|
|
2627
2780
|
gallery: "gallery";
|
|
2781
|
+
none: "none";
|
|
2628
2782
|
}>;
|
|
2629
2783
|
entryFile: z.ZodNullable<z.ZodString>;
|
|
2630
2784
|
projectPath: z.ZodString;
|
|
@@ -3053,6 +3207,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
3053
3207
|
directory: "directory";
|
|
3054
3208
|
"git-server": "git-server";
|
|
3055
3209
|
}>>;
|
|
3210
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
3056
3211
|
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
3057
3212
|
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
3058
3213
|
pullRequestState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -3171,6 +3326,9 @@ declare const CompanionHeartbeatRequestSchema: z.ZodObject<{
|
|
|
3171
3326
|
timestamp: z.ZodString;
|
|
3172
3327
|
triggerTime: z.ZodOptional<z.ZodString>;
|
|
3173
3328
|
triggerReasons: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3329
|
+
heartbeatTriggerCount: z.ZodOptional<z.ZodNumber>;
|
|
3330
|
+
maintenanceMode: z.ZodOptional<z.ZodBoolean>;
|
|
3331
|
+
maintenanceModeType: z.ZodOptional<z.ZodLiteral<"memory_organization">>;
|
|
3174
3332
|
}, z.core.$strip>;
|
|
3175
3333
|
type CompanionHeartbeatRequestData = z.infer<typeof CompanionHeartbeatRequestSchema>;
|
|
3176
3334
|
declare const CompanionHeartbeatResponseSchema: z.ZodObject<{
|
|
@@ -3255,6 +3413,7 @@ type EventMap = {
|
|
|
3255
3413
|
"associate-repo": AssociateRepoEventData;
|
|
3256
3414
|
"update-agent-info": UpdateAgentInfoEventData;
|
|
3257
3415
|
"system-message": SystemMessageEventData;
|
|
3416
|
+
"sync-available": SyncAvailableEvent;
|
|
3258
3417
|
"credit-exhausted": CreditExhaustedEventData;
|
|
3259
3418
|
"rtc-ice-servers-request": RtcIceServersRequestEventData;
|
|
3260
3419
|
"rtc-ice-servers-response": RtcIceServersResponseEventData;
|
|
@@ -3764,5 +3923,5 @@ declare class MissingAgentFileError extends AgentError {
|
|
|
3764
3923
|
constructor(filePath: string);
|
|
3765
3924
|
}
|
|
3766
3925
|
|
|
3767
|
-
export {
|
|
3768
|
-
export type {
|
|
3926
|
+
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, ChatWorkersStatusResponseSchema as c$, AskUserOptionSchema as c1, AskUserQuestionSchema as c3, AskUserMessageSchema as c5, AskUserResponseStatusSchema as c7, AskUserResponseReasonSchema as c8, WorkerInitializingSchema as cB, WorkerInitializedSchema as cD, WorkerPermissionModeValueSchema as cF, WorkerReadySchema as cH, ActiveAgentSchema as cJ, WorkerAliveEventSchema as cL, WorkerExitSchema as cN, WorkerRunningSchema as cP, WorkerPermissionModeSchema as cR, WorkerStatusRequestSchema as cT, WorkerStatusValueSchema as cV, WorkerStatusSnapshotSchema as cX, ChatWorkersStatusRequestSchema as cZ, AskUserResponseMessageSchema as cb, TaskAgentInfoSchema as ch, isAskUserMessage as cj, isAskUserResponseMessage as ck, isCompanionHeartbeatMessage as cl, isCompanionReminderMessage as cm, isSubTaskAskUserMessage as cn, isSDKMessage as co, isSDKUserMessage as cp, createEventId as cq, EventAckSchema as cr, AppAliveEventSchema as ct, ApiServerAliveEventSchema as cv, MachineAliveEventSchema as cx, ShutdownMachineSchema as cz, getTaskExecutionMachineRouteId as d, TaskStoppedEventSchema as d$, ListModelsEventSchema as d1, baseTaskSchema as d3, createTaskSchema as d4, resumeTaskSchema as d6, cancelTaskSchema as d8, RtcIceServerSchema as dB, RtcIceServersRequestSchema as dD, RtcIceServersResponseSchema as dF, MachineRtcRequestSchema as dH, MachineRtcResponseSchema as dJ, RtcSignalSchema as dL, WorkspaceFileRequestSchema as dN, WorkspaceFileResponseSchema as dP, UpdateTaskAgentSessionIdEventSchema as dR, TaskInfoUpdateEventDataSchema as dT, TaskSlashCommandSchema as dV, TaskSlashCommandsUpdateEventDataSchema as dX, MergeRequestEventSchema as dZ, StopTaskSchema as da, TaskArtifactsStatsSchema as dc, PreviewProjectTypeSchema as de, PreviewMethodSchema as dg, PreviewMetadataSchema as di, TaskArtifactsSummarySchema as dj, TaskMessageSchema as dl, TaskModelUsageSchema as dn, TaskUsageReportEventSchema as dq, ShowModalEventDataSchema as dt, ChangeTaskTitleEventSchema as dv, TaskStateChangeEventSchema as dx, CreditExhaustedEventSchema as dz, TaskTodoSchema as e, SubTaskResultUpdatedEventSchema as e1, SubTaskAskUserEventSchema as e3, MergePullRequestEventSchema as e5, DeployAgentEventSchema as e8, CompanionHeartbeatRequestSchema as eB, CompanionHeartbeatResponseSchema as eD, CompanionInitRequestSchema as eF, CompanionInitResponseSchema as eH, ResetTaskSessionSchema as eJ, SeqSyncRequestEventDataSchema as eM, SeqSyncResponseEventDataSchema as eO, EventSchemaMap as eS, workerTaskEvents as eU, RpcCallEventSchema as eV, MachineRpcCallEventSchema as eX, RpcResponseSchema as eZ, DeployAgentCompleteEventSchema as ea, HivePublishEventSchema as ec, HivePublishCompleteEventSchema as ee, HiveInstallEventSchema as eg, HiveInstallCompleteEventSchema as ei, AssociateRepoEventDataSchema as ek, UpdateAgentInfoEventSchema as el, SystemMessageSchema as eq, DaemonGitlabOperationSchema as es, DaemonGitlabRequestSchema as eu, DaemonGitlabResponseSchema as ew, RepositoryInboxProviderSchema as ey, RepositoryInboxWebhookSchema as ez, setAgentContext as f1, getAgentContext as f2, FRAMEWORK_TYPES as fb, AgentMetadataSchema as fc, ClaudeConfigSchema as fd, AgentError as fe, AgentNotFoundError as ff, AgentConfigValidationError as fg, FrameworkNotSupportedError as fh, AgentLoadError as fi, MissingAgentFileError as fj, 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 };
|
|
3927
|
+
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, ShutdownMachineData as cA, WorkerInitializingEventData as cC, WorkerInitializedEventData as cE, WorkerPermissionModeValue as cG, WorkerReadyEventData as cI, ActiveAgent as cK, WorkerAliveEventData as cM, WorkerExitEventData as cO, WorkerRunningEventData as cQ, WorkerPermissionModeEventData as cS, WorkerStatusRequestEventData as cU, WorkerStatusValue as cW, WorkerStatusSnapshot as cY, ChatWorkersStatusRequestEventData as c_, AskUserResponseReason as ca, AskUserResponseMessage as cc, CompanionHeartbeatMessage as cd, CompanionReminderMessage as ce, SubTaskAskUserMessage as cf, TaskMessagePayload as cg, TaskAgentInfo as ci, EventAckData as cs, AppAliveEventData as cu, ApiServerAliveEventData as cw, MachineAliveEventData as cy, ChatWorkersStatusResponseEventData as d0, ListModelsEventData as d2, CreateTaskEventData as d5, ResumeTaskEventData as d7, CancelTaskEventData as d9, CreditExhaustedEventData as dA, RtcIceServer as dC, RtcIceServersRequestEventData as dE, RtcIceServersResponseEventData as dG, MachineRtcRequestEventData as dI, MachineRtcResponseEventData as dK, RtcSignalEventData as dM, WorkspaceFileRequestEventData as dO, WorkspaceFileResponseEventData as dQ, UpdateTaskAgentSessionIdEventData as dS, TaskInfoUpdateEventData as dU, TaskSlashCommand as dW, TaskSlashCommandsUpdateEventData as dY, MergeRequestEventData as d_, StopTaskEventData as db, TaskArtifactsStats as dd, PreviewProjectType as df, PreviewMethod as dh, TaskArtifactsSummary as dk, TaskMessageEventData as dm, TaskModelUsage as dp, TaskUsageReportEventData as dr, TaskState as ds, ShowModalEventData as du, ChangeTaskTitleEventData as dw, TaskStateChangeEventData as dy, AgentContext as e$, TaskStoppedEventData as e0, SubTaskResultUpdatedEventData as e2, SubTaskAskUserEventData as e4, MergePullRequestEventData as e6, MergePullRequestAck as e7, DeployAgentEventData as e9, RepositoryInboxWebhookEventData as eA, CompanionHeartbeatRequestData as eC, CompanionHeartbeatResponseData as eE, CompanionInitRequestData as eG, CompanionInitResponseData as eI, ResetTaskSessionEventData as eK, EventData as eL, SeqSyncRequestEventData as eN, SeqSyncResponseEventData as eP, EventMap as eQ, EventName as eR, WorkerTaskEvent as eT, RpcCallEventData as eW, MachineRpcCallEventData as eY, RpcResponseData as e_, DeployAgentCompleteEventData as eb, HivePublishEventData as ed, HivePublishCompleteEventData as ef, HiveInstallEventData as eh, HiveInstallCompleteEventData as ej, UpdateAgentInfoEventData as em, AssociateRepoEventData as en, SystemMessageType as eo, PrStateChangedData as ep, SystemMessageEventData as er, DaemonGitlabOperation as et, DaemonGitlabRequestEventData as ev, DaemonGitlabResponseEventData as ex, TaskTodo as f, AgentrixContext as f0, FrameworkType as f3, AgentMetadata as f4, ClaudeAgentConfig as f5, AgentConfig as f6, ValidationResult as f7, LoadAgentOptions as f8, RepositoryInitHookInput as f9, HookFactory as fa, 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
|
@@ -296,6 +296,39 @@ const TaskUsageSummarySchema = zod.z.object({
|
|
|
296
296
|
totalTokens: zod.z.number().int().nonnegative(),
|
|
297
297
|
models: zod.z.array(zod.z.string())
|
|
298
298
|
});
|
|
299
|
+
const TaskPreviewUrlSchema = zod.z.string().trim().min(1).max(2048).superRefine((value, ctx) => {
|
|
300
|
+
let url;
|
|
301
|
+
try {
|
|
302
|
+
url = new URL(value);
|
|
303
|
+
} catch {
|
|
304
|
+
ctx.addIssue({
|
|
305
|
+
code: zod.z.ZodIssueCode.custom,
|
|
306
|
+
message: "Preview URL must be a valid absolute URL"
|
|
307
|
+
});
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
if (url.protocol !== "http:" && url.protocol !== "https:") {
|
|
311
|
+
ctx.addIssue({
|
|
312
|
+
code: zod.z.ZodIssueCode.custom,
|
|
313
|
+
message: "Preview URL must use http or https"
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
if (!url.hostname) {
|
|
317
|
+
ctx.addIssue({
|
|
318
|
+
code: zod.z.ZodIssueCode.custom,
|
|
319
|
+
message: "Preview URL must include a host"
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
if (url.username || url.password) {
|
|
323
|
+
ctx.addIssue({
|
|
324
|
+
code: zod.z.ZodIssueCode.custom,
|
|
325
|
+
message: "Preview URL must not include credentials"
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
const UpdateTaskPreviewUrlRequestSchema = zod.z.object({
|
|
330
|
+
previewUrl: TaskPreviewUrlSchema
|
|
331
|
+
});
|
|
299
332
|
const StartTaskRequestSchema = zod.z.object({
|
|
300
333
|
chatId: zod.z.string(),
|
|
301
334
|
customTitle: zod.z.string().min(1).max(200).optional(),
|
|
@@ -339,6 +372,7 @@ const StartTaskRequestSchema = zod.z.object({
|
|
|
339
372
|
todos: zod.z.array(TaskTodoSchema).optional(),
|
|
340
373
|
// Structured todos for group tasks
|
|
341
374
|
supportedFeatures: zod.z.array(zod.z.string()).optional(),
|
|
375
|
+
preferredLanguage: zod.z.enum(["en", "zh-Hans"]).optional(),
|
|
342
376
|
// Independent task mode (agent-initiated, no parent binding)
|
|
343
377
|
autoNavigate: zod.z.boolean().optional(),
|
|
344
378
|
// Auto-navigate App UI to this task after creation
|
|
@@ -431,6 +465,7 @@ const TaskItemSchema = zod.z.object({
|
|
|
431
465
|
// Force using user-provided cwd (no worktree)
|
|
432
466
|
repositorySourceType: zod.z.enum(["temporary", "directory", "git-server"]).nullable(),
|
|
433
467
|
// Repository source type
|
|
468
|
+
previewUrl: zod.z.string().nullable(),
|
|
434
469
|
pullRequestNumber: zod.z.number().nullable(),
|
|
435
470
|
pullRequestUrl: zod.z.string().nullable(),
|
|
436
471
|
pullRequestState: zod.z.enum(["open", "closed", "merged"]).nullable(),
|
|
@@ -626,6 +661,10 @@ const UpdateTaskTitleResponseSchema = zod.z.object({
|
|
|
626
661
|
success: zod.z.boolean(),
|
|
627
662
|
task: TaskItemSchema
|
|
628
663
|
});
|
|
664
|
+
const UpdateTaskPreviewUrlResponseSchema = zod.z.object({
|
|
665
|
+
success: zod.z.boolean(),
|
|
666
|
+
task: TaskItemSchema
|
|
667
|
+
});
|
|
629
668
|
const SendTaskMessageRequestSchema = zod.z.object({
|
|
630
669
|
message: zod.z.custom(
|
|
631
670
|
(data) => {
|
|
@@ -1743,6 +1782,7 @@ const CiRunStatusSchema = zod.z.enum([
|
|
|
1743
1782
|
"canceled",
|
|
1744
1783
|
"timeout"
|
|
1745
1784
|
]);
|
|
1785
|
+
const CiRunResponseModeSchema = zod.z.enum(["stream", "async"]);
|
|
1746
1786
|
const CiRunRepoSchema = zod.z.object({
|
|
1747
1787
|
gitServerId: zod.z.string().min(1),
|
|
1748
1788
|
serverRepoId: zod.z.string().min(1).optional(),
|
|
@@ -1777,6 +1817,7 @@ const CiRunContextSchema = zod.z.object({
|
|
|
1777
1817
|
});
|
|
1778
1818
|
const CreateCiRunRequestSchema = zod.z.object({
|
|
1779
1819
|
agent: zod.z.string().min(1),
|
|
1820
|
+
responseMode: CiRunResponseModeSchema.optional(),
|
|
1780
1821
|
title: zod.z.string().min(1).max(200).optional(),
|
|
1781
1822
|
prompt: zod.z.string().min(1),
|
|
1782
1823
|
outputSchema: JsonSchemaDocumentSchema.optional(),
|
|
@@ -2104,6 +2145,27 @@ const HiveMyListingsResponseSchema = zod.z.object({
|
|
|
2104
2145
|
listings: zod.z.array(HiveListingSchema)
|
|
2105
2146
|
});
|
|
2106
2147
|
|
|
2148
|
+
const SyncStreamTypeSchema = zod.z.enum([
|
|
2149
|
+
"repo_issues",
|
|
2150
|
+
"repo_merge_requests"
|
|
2151
|
+
]);
|
|
2152
|
+
const GetStreamVersionQuerySchema = zod.z.object({
|
|
2153
|
+
streamType: SyncStreamTypeSchema,
|
|
2154
|
+
streamId: zod.z.string().min(1)
|
|
2155
|
+
});
|
|
2156
|
+
const StreamVersionResponseSchema = zod.z.object({
|
|
2157
|
+
streamType: SyncStreamTypeSchema,
|
|
2158
|
+
streamId: zod.z.string(),
|
|
2159
|
+
version: zod.z.string()
|
|
2160
|
+
});
|
|
2161
|
+
const SyncAvailableEventSchema = zod.z.object({
|
|
2162
|
+
eventId: zod.z.string(),
|
|
2163
|
+
streamType: SyncStreamTypeSchema,
|
|
2164
|
+
streamId: zod.z.string(),
|
|
2165
|
+
version: zod.z.string(),
|
|
2166
|
+
timestamp: zod.z.string()
|
|
2167
|
+
});
|
|
2168
|
+
|
|
2107
2169
|
const RpcCallEventSchema = zod.z.object({
|
|
2108
2170
|
eventId: zod.z.string(),
|
|
2109
2171
|
taskId: zod.z.string(),
|
|
@@ -2557,6 +2619,10 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
2557
2619
|
chatId: zod.z.string(),
|
|
2558
2620
|
agentId: zod.z.string(),
|
|
2559
2621
|
agentType: zod.z.string().optional().default("claude"),
|
|
2622
|
+
machineId: zod.z.string().nullable().optional(),
|
|
2623
|
+
// Task execution target; local tasks have machineId
|
|
2624
|
+
cloudId: zod.z.string().nullable().optional(),
|
|
2625
|
+
// Task execution target; cloud tasks have cloudId
|
|
2560
2626
|
agentDir: zod.z.string().optional(),
|
|
2561
2627
|
// Absolute path to agent directory (only for draft agents)
|
|
2562
2628
|
gitUrl: zod.z.string().optional(),
|
|
@@ -2606,6 +2672,8 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
2606
2672
|
// Structured todos for group tasks
|
|
2607
2673
|
supportedFeatures: zod.z.array(zod.z.string()).optional().default([]),
|
|
2608
2674
|
// Feature flags enabled for this task
|
|
2675
|
+
preferredLanguage: zod.z.enum(["en", "zh-Hans"]).optional(),
|
|
2676
|
+
// User language preference for platform prompts
|
|
2609
2677
|
taskType: zod.z.enum(["chat", "work", "shadow"]).optional().default("work"),
|
|
2610
2678
|
// Task type: 'chat' for main chat, 'work' for task execution, 'shadow' for companion shadow
|
|
2611
2679
|
customTitle: zod.z.string().min(1).max(200).optional(),
|
|
@@ -3135,7 +3203,10 @@ const CompanionHeartbeatRequestSchema = EventBaseSchema.extend({
|
|
|
3135
3203
|
userId: zod.z.string(),
|
|
3136
3204
|
timestamp: zod.z.string(),
|
|
3137
3205
|
triggerTime: zod.z.string().optional(),
|
|
3138
|
-
triggerReasons: zod.z.array(zod.z.string()).optional()
|
|
3206
|
+
triggerReasons: zod.z.array(zod.z.string()).optional(),
|
|
3207
|
+
heartbeatTriggerCount: zod.z.number().int().nonnegative().optional(),
|
|
3208
|
+
maintenanceMode: zod.z.boolean().optional(),
|
|
3209
|
+
maintenanceModeType: zod.z.literal("memory_organization").optional()
|
|
3139
3210
|
});
|
|
3140
3211
|
const CompanionHeartbeatResponseSchema = EventBaseSchema.extend({
|
|
3141
3212
|
taskId: zod.z.string(),
|
|
@@ -3216,6 +3287,7 @@ const EventSchemaMap = {
|
|
|
3216
3287
|
"update-agent-info": UpdateAgentInfoEventSchema,
|
|
3217
3288
|
// System message events
|
|
3218
3289
|
"system-message": SystemMessageSchema,
|
|
3290
|
+
"sync-available": SyncAvailableEventSchema,
|
|
3219
3291
|
// Billing events
|
|
3220
3292
|
"credit-exhausted": CreditExhaustedEventSchema,
|
|
3221
3293
|
// RTC signaling events
|
|
@@ -3287,6 +3359,8 @@ function workerAuth(token, machineId, taskId) {
|
|
|
3287
3359
|
};
|
|
3288
3360
|
}
|
|
3289
3361
|
|
|
3362
|
+
const AGENTRIX_DEV_INIT_FEATURE = "agentrix-dev-init";
|
|
3363
|
+
|
|
3290
3364
|
const CompanionWorkspaceFileSchema = zod.z.object({
|
|
3291
3365
|
name: zod.z.string(),
|
|
3292
3366
|
path: zod.z.string(),
|
|
@@ -3741,6 +3815,7 @@ exports.getAgentContext = errors.getAgentContext;
|
|
|
3741
3815
|
exports.setAgentContext = errors.setAgentContext;
|
|
3742
3816
|
exports.buildGitLabWebhookEndpointPath = gitlabWebhook.buildGitLabWebhookEndpointPath;
|
|
3743
3817
|
exports.buildGitLabWebhookUrl = gitlabWebhook.buildGitLabWebhookUrl;
|
|
3818
|
+
exports.AGENTRIX_DEV_INIT_FEATURE = AGENTRIX_DEV_INIT_FEATURE;
|
|
3744
3819
|
exports.AcceptPrivateCloudInviteRequestSchema = AcceptPrivateCloudInviteRequestSchema;
|
|
3745
3820
|
exports.AcceptPrivateCloudInviteResponseSchema = AcceptPrivateCloudInviteResponseSchema;
|
|
3746
3821
|
exports.ActiveAgentSchema = ActiveAgentSchema;
|
|
@@ -3787,6 +3862,7 @@ exports.CiRunContextSchema = CiRunContextSchema;
|
|
|
3787
3862
|
exports.CiRunExecutionSchema = CiRunExecutionSchema;
|
|
3788
3863
|
exports.CiRunGitSchema = CiRunGitSchema;
|
|
3789
3864
|
exports.CiRunRepoSchema = CiRunRepoSchema;
|
|
3865
|
+
exports.CiRunResponseModeSchema = CiRunResponseModeSchema;
|
|
3790
3866
|
exports.CiRunStatusResponseSchema = CiRunStatusResponseSchema;
|
|
3791
3867
|
exports.CiRunStatusSchema = CiRunStatusSchema;
|
|
3792
3868
|
exports.CloudJoinApprovalRequestSchema = CloudJoinApprovalRequestSchema;
|
|
@@ -3893,6 +3969,7 @@ exports.GetOAuthServerResponseSchema = GetOAuthServerResponseSchema;
|
|
|
3893
3969
|
exports.GetPrivateCloudRunnerSecretResponseSchema = GetPrivateCloudRunnerSecretResponseSchema;
|
|
3894
3970
|
exports.GetReferenceQuerySchema = GetReferenceQuerySchema;
|
|
3895
3971
|
exports.GetRepositoryResponseSchema = GetRepositoryResponseSchema;
|
|
3972
|
+
exports.GetStreamVersionQuerySchema = GetStreamVersionQuerySchema;
|
|
3896
3973
|
exports.GetSubscriptionResponseSchema = GetSubscriptionResponseSchema;
|
|
3897
3974
|
exports.GetSubscriptionTiersResponseSchema = GetSubscriptionTiersResponseSchema;
|
|
3898
3975
|
exports.GetTaskSessionResponseSchema = GetTaskSessionResponseSchema;
|
|
@@ -4069,6 +4146,7 @@ exports.StopSubscriptionResponseSchema = StopSubscriptionResponseSchema;
|
|
|
4069
4146
|
exports.StopTaskRequestSchema = StopTaskRequestSchema;
|
|
4070
4147
|
exports.StopTaskResponseSchema = StopTaskResponseSchema;
|
|
4071
4148
|
exports.StopTaskSchema = StopTaskSchema;
|
|
4149
|
+
exports.StreamVersionResponseSchema = StreamVersionResponseSchema;
|
|
4072
4150
|
exports.StripeCheckoutClientSchema = StripeCheckoutClientSchema;
|
|
4073
4151
|
exports.SubTaskAskUserEventSchema = SubTaskAskUserEventSchema;
|
|
4074
4152
|
exports.SubTaskResultUpdatedEventSchema = SubTaskResultUpdatedEventSchema;
|
|
@@ -4077,11 +4155,13 @@ exports.SubscriptionPlanSchema = SubscriptionPlanSchema;
|
|
|
4077
4155
|
exports.SubscriptionPlanTypeSchema = SubscriptionPlanTypeSchema;
|
|
4078
4156
|
exports.SubscriptionSchema = SubscriptionSchema;
|
|
4079
4157
|
exports.SubscriptionTierSchema = SubscriptionTierSchema;
|
|
4158
|
+
exports.SyncAvailableEventSchema = SyncAvailableEventSchema;
|
|
4080
4159
|
exports.SyncCloudMachineResponseSchema = SyncCloudMachineResponseSchema;
|
|
4081
4160
|
exports.SyncLocalMachineResponseSchema = SyncLocalMachineResponseSchema;
|
|
4082
4161
|
exports.SyncMachineModelsRequestSchema = SyncMachineModelsRequestSchema;
|
|
4083
4162
|
exports.SyncMachineModelsResponseSchema = SyncMachineModelsResponseSchema;
|
|
4084
4163
|
exports.SyncMachineRequestSchema = SyncMachineRequestSchema;
|
|
4164
|
+
exports.SyncStreamTypeSchema = SyncStreamTypeSchema;
|
|
4085
4165
|
exports.SystemMessageSchema = SystemMessageSchema;
|
|
4086
4166
|
exports.TaskAgentInfoSchema = TaskAgentInfoSchema;
|
|
4087
4167
|
exports.TaskArtifactsStatsSchema = TaskArtifactsStatsSchema;
|
|
@@ -4090,6 +4170,7 @@ exports.TaskInfoUpdateEventDataSchema = TaskInfoUpdateEventDataSchema;
|
|
|
4090
4170
|
exports.TaskItemSchema = TaskItemSchema;
|
|
4091
4171
|
exports.TaskMessageSchema = TaskMessageSchema;
|
|
4092
4172
|
exports.TaskModelUsageSchema = TaskModelUsageSchema;
|
|
4173
|
+
exports.TaskPreviewUrlSchema = TaskPreviewUrlSchema;
|
|
4093
4174
|
exports.TaskSharePermissionsSchema = TaskSharePermissionsSchema;
|
|
4094
4175
|
exports.TaskSlashCommandSchema = TaskSlashCommandSchema;
|
|
4095
4176
|
exports.TaskSlashCommandsUpdateEventDataSchema = TaskSlashCommandsUpdateEventDataSchema;
|
|
@@ -4124,6 +4205,8 @@ exports.UpdateSubscriptionPlanRequestSchema = UpdateSubscriptionPlanRequestSchem
|
|
|
4124
4205
|
exports.UpdateSubscriptionRequestSchema = UpdateSubscriptionRequestSchema;
|
|
4125
4206
|
exports.UpdateSubscriptionResponseSchema = UpdateSubscriptionResponseSchema;
|
|
4126
4207
|
exports.UpdateTaskAgentSessionIdEventSchema = UpdateTaskAgentSessionIdEventSchema;
|
|
4208
|
+
exports.UpdateTaskPreviewUrlRequestSchema = UpdateTaskPreviewUrlRequestSchema;
|
|
4209
|
+
exports.UpdateTaskPreviewUrlResponseSchema = UpdateTaskPreviewUrlResponseSchema;
|
|
4127
4210
|
exports.UpdateTaskTitleRequestSchema = UpdateTaskTitleRequestSchema;
|
|
4128
4211
|
exports.UpdateTaskTitleResponseSchema = UpdateTaskTitleResponseSchema;
|
|
4129
4212
|
exports.UpdateUserProfileRequestSchema = UpdateUserProfileRequestSchema;
|
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 { cx as ActiveAgent, cw as ActiveAgentSchema, eV as AgentConfig, f3 as AgentConfigValidationError, eO as AgentContext, f1 as AgentError, f5 as AgentLoadError, eT as AgentMetadata, e$ as AgentMetadataSchema, f2 as AgentNotFoundError, eP as AgentrixContext, cj as ApiServerAliveEventData, ci as ApiServerAliveEventSchema, ch as AppAliveEventData, cg as AppAliveEventSchema, ag as ApprovePrRequest, af as ApprovePrRequestSchema, ai as ApprovePrResponse, ah as ApprovePrResponseSchema, ao as ArchiveTaskRequest, an as ArchiveTaskRequestSchema, aq as ArchiveTaskResponse, ap as ArchiveTaskResponseSchema, bV as AskUserMessage, bU as AskUserMessageSchema, bR as AskUserOption, bQ as AskUserOptionSchema, bT as AskUserQuestion, bS as AskUserQuestionSchema, b$ as AskUserResponseMessage, b_ as AskUserResponseMessageSchema, bZ as AskUserResponseReason, bX as AskUserResponseReasonSchema, bY as AskUserResponseStatus, bW as AskUserResponseStatusSchema, ea as AssociateRepoEventData, e7 as AssociateRepoEventDataSchema, cY as CancelTaskEventData, H as CancelTaskRequest, G as CancelTaskRequestSchema, K as CancelTaskResponse, J as CancelTaskResponseSchema, di as ChangeTaskTitleEventData, dh as ChangeTaskTitleEventSchema, cN as ChatWorkersStatusRequestEventData, cM as ChatWorkersStatusRequestSchema, cP as ChatWorkersStatusResponseEventData, cO as ChatWorkersStatusResponseSchema, eU as ClaudeAgentConfig, f0 as ClaudeConfigSchema, c0 as CompanionHeartbeatMessage, ep as CompanionHeartbeatRequestData, eo as CompanionHeartbeatRequestSchema, er as CompanionHeartbeatResponseData, eq as CompanionHeartbeatResponseSchema, et as CompanionInitRequestData, es as CompanionInitRequestSchema, ev as CompanionInitResponseData, eu as CompanionInitResponseSchema, c1 as CompanionReminderMessage, bF as CreateHiveCommentRequest, bE as CreateHiveCommentRequestSchema, bx as CreateHiveReviewRequest, bw as CreateHiveReviewRequestSchema, ab as CreateMergeRequestRequest, ae as CreateMergeRequestResponse, ad as CreateMergeRequestResponseSchema, aa as CreateMergeRequestSchema, cU as CreateTaskEventData, ak as CreateTaskShareRequest, am as CreateTaskShareResponse, al as CreateTaskShareResponseSchema, aj as CreateTaskShareSchema, dm as CreditExhaustedEventData, dl as CreditExhaustedEventSchema, D as DEFAULT_WORKER_EXECUTION_MODE, eg as DaemonGitlabOperation, ef as DaemonGitlabOperationSchema, ei as DaemonGitlabRequestEventData, eh as DaemonGitlabRequestSchema, ek as DaemonGitlabResponseEventData, ej as DaemonGitlabResponseSchema, d_ as DeployAgentCompleteEventData, dZ as DeployAgentCompleteEventSchema, dY as DeployAgentEventData, dX as DeployAgentEventSchema, p as EnsureIssueRootTaskRequest, E as EnsureIssueRootTaskRequestSchema, v as EnsureIssueRootTaskResponse, u as EnsureIssueRootTaskResponseSchema, cf as EventAckData, ce as EventAckSchema, ey as EventData, eD as EventMap, eE as EventName, eF as EventSchemaMap, e_ as FRAMEWORK_TYPES, a8 as FillEventsRequest, a7 as FillEventsRequestSchema, a9 as FillEventsResponse, aX as FindTaskByAgentRequest, aW as FindTaskByAgentRequestSchema, aZ as FindTaskByAgentResponse, aY as FindTaskByAgentResponseSchema, f4 as FrameworkNotSupportedError, eS as FrameworkType, aJ as GetTaskSessionResponse, aI as GetTaskSessionResponseSchema, b1 as HiveAuthorType, b0 as HiveAuthorTypeSchema, bD as HiveComment, bJ as HiveCommentListResponse, bI as HiveCommentListResponseSchema, bC as HiveCommentSchema, bn as HiveInstall, e6 as HiveInstallCompleteEventData, e5 as HiveInstallCompleteEventSchema, e4 as HiveInstallEventData, e3 as HiveInstallEventSchema, bl as HiveInstallRequest, bk as HiveInstallRequestSchema, bp as HiveInstallResponse, bo as HiveInstallResponseSchema, bm as HiveInstallSchema, bL as HiveInstalledItem, bK as HiveInstalledItemSchema, bN as HiveInstalledResponse, bM as HiveInstalledResponseSchema, bd as HiveListQuery, bc as HiveListQuerySchema, bf as HiveListResponse, be as HiveListResponseSchema, b7 as HiveListing, b6 as HiveListingSchema, b3 as HiveListingStatus, b2 as HiveListingStatusSchema, a$ as HiveListingType, a_ as HiveListingTypeSchema, bP as HiveMyListingsResponse, bO as HiveMyListingsResponseSchema, e2 as HivePublishCompleteEventData, e1 as HivePublishCompleteEventSchema, e0 as HivePublishEventData, d$ as HivePublishEventSchema, bv as HiveReview, bB as HiveReviewListResponse, bA as HiveReviewListResponseSchema, bu as HiveReviewSchema, b5 as HiveSort, b4 as HiveSortSchema, eZ as HookFactory, cR as ListModelsEventData, cQ as ListModelsEventSchema, aR as ListRecentTasksRequest, aQ as ListRecentTasksRequestSchema, aV as ListRecentTasksResponse, aU as ListRecentTasksResponseSchema, aL as ListSubTasksRequest, aK as ListSubTasksRequestSchema, aP as ListSubTasksResponse, aO as ListSubTasksResponseSchema, x as ListTasksRequest, L as ListTasksRequestSchema, z as ListTasksResponse, y as ListTasksResponseSchema, eX as LoadAgentOptions, cl as MachineAliveEventData, ck as MachineAliveEventSchema, eL as MachineRpcCallEventData, eK as MachineRpcCallEventSchema, dv as MachineRtcRequestEventData, du as MachineRtcRequestSchema, dx as MachineRtcResponseEventData, dw as MachineRtcResponseSchema, dW as MergePullRequestAck, dV as MergePullRequestEventData, dU as MergePullRequestEventSchema, dN as MergeRequestEventData, dM as MergeRequestEventSchema, f6 as MissingAgentFileError, X as PermissionResponseRequest, V as PermissionResponseRequestSchema, _ as PermissionResponseResponse, Z as PermissionResponseResponseSchema, ec as PrStateChangedData, d5 as PreviewMetadataSchema, d4 as PreviewMethod, d3 as PreviewMethodSchema, d2 as PreviewProjectType, d1 as PreviewProjectTypeSchema, a2 as ProjectDirectoryResponse, a1 as ProjectDirectoryResponseSchema, a0 as ProjectEntry, $ as ProjectEntrySchema, b9 as PublishToHiveRequest, b8 as PublishToHiveRequestSchema, bb as PublishToHiveResponse, ba as PublishToHiveResponseSchema, a4 as QueryEventsRequest, a3 as QueryEventsRequestSchema, a6 as QueryEventsResponse, aT as RecentTaskSummary, aS as RecentTaskSummarySchema, br as RecordHiveInstallRequest, bq as RecordHiveInstallRequestSchema, bt as RecordHiveInstallResponse, bs as RecordHiveInstallResponseSchema, el as RepositoryInboxProviderSchema, en as RepositoryInboxWebhookEventData, em as RepositoryInboxWebhookSchema, eY as RepositoryInitHookInput, ex as ResetTaskSessionEventData, ew as ResetTaskSessionSchema, cW as ResumeTaskEventData, A as ResumeTaskRequest, R as ResumeTaskRequestSchema, F as ResumeTaskResponse, C as ResumeTaskResponseSchema, eJ as RpcCallEventData, eI as RpcCallEventSchema, eN as RpcResponseData, eM as RpcResponseSchema, dp as RtcIceServer, dn as RtcIceServerSchema, dr as RtcIceServersRequestEventData, dq as RtcIceServersRequestSchema, dt as RtcIceServersResponseEventData, ds as RtcIceServersResponseSchema, dz as RtcSignalEventData, dy as RtcSignalSchema, az as SendMessageTarget, aB as SendTaskMessageRequest, aA as SendTaskMessageRequestSchema, aD as SendTaskMessageResponse, aC as SendTaskMessageResponseSchema, eA as SeqSyncRequestEventData, ez as SeqSyncRequestEventDataSchema, eC as SeqSyncResponseEventData, eB as SeqSyncResponseEventDataSchema, dg as ShowModalEventData, df as ShowModalEventDataSchema, aF as ShowModalRequest, aE as ShowModalRequestSchema, aH as ShowModalResponse, aG as ShowModalResponseSchema, cn as ShutdownMachineData, cm as ShutdownMachineSchema, k as StartTaskRequest, S as StartTaskRequestSchema, o as StartTaskResponse, m as StartTaskResponseSchema, c_ as StopTaskEventData, N as StopTaskRequest, M as StopTaskRequestSchema, U as StopTaskResponse, Q as StopTaskResponseSchema, cZ as StopTaskSchema, dT as SubTaskAskUserEventData, dS as SubTaskAskUserEventSchema, c2 as SubTaskAskUserMessage, dR as SubTaskResultUpdatedEventData, dQ as SubTaskResultUpdatedEventSchema, aN as SubTaskSummary, aM as SubTaskSummarySchema, ee as SystemMessageEventData, ed as SystemMessageSchema, eb as SystemMessageType, c5 as TaskAgentInfo, c4 as TaskAgentInfoSchema, d0 as TaskArtifactsStats, c$ as TaskArtifactsStatsSchema, d7 as TaskArtifactsSummary, d6 as TaskArtifactsSummarySchema, a5 as TaskEvent, T as TaskExecutionMode, b as TaskExecutionTarget, dH as TaskInfoUpdateEventData, dG as TaskInfoUpdateEventDataSchema, r as TaskItem, q as TaskItemSchema, d9 as TaskMessageEventData, c3 as TaskMessagePayload, d8 as TaskMessageSchema, db as TaskModelUsage, da as TaskModelUsageSchema, dJ as TaskSlashCommand, dI as TaskSlashCommandSchema, dL as TaskSlashCommandsUpdateEventData, dK as TaskSlashCommandsUpdateEventDataSchema, de as TaskState, dk as TaskStateChangeEventData, dj as TaskStateChangeEventSchema, dP as TaskStoppedEventData, dO as TaskStoppedEventSchema, f as TaskTodo, e as TaskTodoSchema, dd as TaskUsageReportEventData, dc as TaskUsageReportEventSchema, j as TaskUsageSummary, h as TaskUsageSummarySchema, as as UnarchiveTaskRequest, ar as UnarchiveTaskRequestSchema, au as UnarchiveTaskResponse, at as UnarchiveTaskResponseSchema, e9 as UpdateAgentInfoEventData, e8 as UpdateAgentInfoEventSchema, bH as UpdateHiveCommentRequest, bG as UpdateHiveCommentRequestSchema, bh as UpdateHiveListingRequest, bg as UpdateHiveListingRequestSchema, bz as UpdateHiveReviewRequest, by as UpdateHiveReviewRequestSchema, bj as UpdateHiveVersionRequest, bi as UpdateHiveVersionRequestSchema, dF as UpdateTaskAgentSessionIdEventData, dE as UpdateTaskAgentSessionIdEventSchema, aw as UpdateTaskTitleRequest, av as UpdateTaskTitleRequestSchema, ay as UpdateTaskTitleResponse, ax as UpdateTaskTitleResponseSchema, eW as ValidationResult, cz as WorkerAliveEventData, cy as WorkerAliveEventSchema, W as WorkerExecutionMode, a as WorkerExecutionModeSchema, cB as WorkerExitEventData, cA as WorkerExitSchema, cr as WorkerInitializedEventData, cq as WorkerInitializedSchema, cp as WorkerInitializingEventData, co as WorkerInitializingSchema, cF as WorkerPermissionModeEventData, cE as WorkerPermissionModeSchema, ct as WorkerPermissionModeValue, cs as WorkerPermissionModeValueSchema, cv as WorkerReadyEventData, cu as WorkerReadySchema, cD as WorkerRunningEventData, cC as WorkerRunningSchema, cH as WorkerStatusRequestEventData, cG as WorkerStatusRequestSchema, cL as WorkerStatusSnapshot, cK as WorkerStatusSnapshotSchema, cJ as WorkerStatusValue, cI as WorkerStatusValueSchema, eG as WorkerTaskEvent, dB as WorkspaceFileRequestEventData, dA as WorkspaceFileRequestSchema, dD as WorkspaceFileResponseEventData, dC as WorkspaceFileResponseSchema, cS as baseTaskSchema, I as cancelTaskRequestSchema, cX as cancelTaskSchema, cd as createEventId, ac as createMergeRequestSchema, cT as createTaskSchema, eR as getAgentContext, d as getTaskExecutionMachineRouteId, g as getTaskExecutionMode, c6 as isAskUserMessage, c7 as isAskUserResponseMessage, i as isCloudTaskExecution, c8 as isCompanionHeartbeatMessage, c9 as isCompanionReminderMessage, c as isLocalTaskExecution, cb as isSDKMessage, cc as isSDKUserMessage, ca as isSubTaskAskUserMessage, n as normalizeWorkerExecutionMode, Y as permissionResponseRequestSchema, B as resumeTaskRequestSchema, cV as resumeTaskSchema, eQ as setAgentContext, l as startTaskSchema, O as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, eH as workerTaskEvents } from './errors-BQihmdbe.cjs';
|
|
2
|
+
import { P as PreviewMetadata } from './errors-D1Ifuw6J.cjs';
|
|
3
|
+
export { cK as ActiveAgent, cJ as ActiveAgentSchema, f6 as AgentConfig, fg as AgentConfigValidationError, e$ as AgentContext, fe as AgentError, fi as AgentLoadError, f4 as AgentMetadata, fc as AgentMetadataSchema, ff as AgentNotFoundError, f0 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, f5 as ClaudeAgentConfig, fd 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, fb as FRAMEWORK_TYPES, ab as FillEventsRequest, aa as FillEventsRequestSchema, ac as FillEventsResponse, b0 as FindTaskByAgentRequest, a$ as FindTaskByAgentRequestSchema, b2 as FindTaskByAgentResponse, b1 as FindTaskByAgentResponseSchema, fh as FrameworkNotSupportedError, f3 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, fa 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, f8 as LoadAgentOptions, cy as MachineAliveEventData, cx as MachineAliveEventSchema, eY as MachineRpcCallEventData, eX 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, fj 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, f9 as RepositoryInitHookInput, eK as ResetTaskSessionEventData, eJ as ResetTaskSessionSchema, d7 as ResumeTaskEventData, C as ResumeTaskRequest, R as ResumeTaskRequestSchema, H as ResumeTaskResponse, G as ResumeTaskResponseSchema, eW as RpcCallEventData, eV as RpcCallEventSchema, e_ as RpcResponseData, eZ 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, f7 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, f2 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, f1 as setAgentContext, o as startTaskSchema, V as stopTaskRequestSchema, s as supportsTaskUserCwd, t as taskExecutionModes, w as workerExecutionModes, eU as workerTaskEvents } from './errors-D1Ifuw6J.cjs';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
|
|
6
6
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
@@ -56,8 +56,8 @@ declare const FileStatsSchema: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
type FileStats = z.infer<typeof FileStatsSchema>;
|
|
58
58
|
declare const SenderTypeSchema: z.ZodEnum<{
|
|
59
|
-
human: "human";
|
|
60
59
|
system: "system";
|
|
60
|
+
human: "human";
|
|
61
61
|
agent: "agent";
|
|
62
62
|
channel: "channel";
|
|
63
63
|
}>;
|
|
@@ -910,6 +910,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
910
910
|
directory: "directory";
|
|
911
911
|
"git-server": "git-server";
|
|
912
912
|
}>>;
|
|
913
|
+
previewUrl: z.ZodNullable<z.ZodString>;
|
|
913
914
|
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
914
915
|
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
915
916
|
pullRequestState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -1543,10 +1544,10 @@ type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
|
1543
1544
|
*/
|
|
1544
1545
|
declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
|
|
1545
1546
|
ownerType: z.ZodEnum<{
|
|
1547
|
+
machine: "machine";
|
|
1546
1548
|
agent: "agent";
|
|
1547
1549
|
cloud: "cloud";
|
|
1548
1550
|
"draft-agent": "draft-agent";
|
|
1549
|
-
machine: "machine";
|
|
1550
1551
|
}>;
|
|
1551
1552
|
ownerId: z.ZodString;
|
|
1552
1553
|
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -4044,14 +4045,19 @@ type CiProvider = z.infer<typeof CiProviderSchema>;
|
|
|
4044
4045
|
declare const JsonSchemaDocumentSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4045
4046
|
type JsonSchemaDocument = z.infer<typeof JsonSchemaDocumentSchema>;
|
|
4046
4047
|
declare const CiRunStatusSchema: z.ZodEnum<{
|
|
4047
|
-
|
|
4048
|
+
timeout: "timeout";
|
|
4048
4049
|
failed: "failed";
|
|
4050
|
+
running: "running";
|
|
4049
4051
|
completed: "completed";
|
|
4050
4052
|
queued: "queued";
|
|
4051
4053
|
canceled: "canceled";
|
|
4052
|
-
timeout: "timeout";
|
|
4053
4054
|
}>;
|
|
4054
4055
|
type CiRunStatus = z.infer<typeof CiRunStatusSchema>;
|
|
4056
|
+
declare const CiRunResponseModeSchema: z.ZodEnum<{
|
|
4057
|
+
stream: "stream";
|
|
4058
|
+
async: "async";
|
|
4059
|
+
}>;
|
|
4060
|
+
type CiRunResponseMode = z.infer<typeof CiRunResponseModeSchema>;
|
|
4055
4061
|
declare const CiRunRepoSchema: z.ZodObject<{
|
|
4056
4062
|
gitServerId: z.ZodString;
|
|
4057
4063
|
serverRepoId: z.ZodOptional<z.ZodString>;
|
|
@@ -4088,6 +4094,10 @@ declare const CiRunContextSchema: z.ZodObject<{
|
|
|
4088
4094
|
type CiRunContext = z.infer<typeof CiRunContextSchema>;
|
|
4089
4095
|
declare const CreateCiRunRequestSchema: z.ZodObject<{
|
|
4090
4096
|
agent: z.ZodString;
|
|
4097
|
+
responseMode: z.ZodOptional<z.ZodEnum<{
|
|
4098
|
+
stream: "stream";
|
|
4099
|
+
async: "async";
|
|
4100
|
+
}>>;
|
|
4091
4101
|
title: z.ZodOptional<z.ZodString>;
|
|
4092
4102
|
prompt: z.ZodString;
|
|
4093
4103
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4127,8 +4137,8 @@ type CreateCiRunRequest = z.infer<typeof CreateCiRunRequestSchema>;
|
|
|
4127
4137
|
declare const CreateCiRunResponseSchema: z.ZodObject<{
|
|
4128
4138
|
runId: z.ZodString;
|
|
4129
4139
|
status: z.ZodEnum<{
|
|
4130
|
-
running: "running";
|
|
4131
4140
|
failed: "failed";
|
|
4141
|
+
running: "running";
|
|
4132
4142
|
completed: "completed";
|
|
4133
4143
|
queued: "queued";
|
|
4134
4144
|
}>;
|
|
@@ -4138,12 +4148,12 @@ type CreateCiRunResponse = z.infer<typeof CreateCiRunResponseSchema>;
|
|
|
4138
4148
|
declare const CiRunStatusResponseSchema: z.ZodObject<{
|
|
4139
4149
|
runId: z.ZodString;
|
|
4140
4150
|
status: z.ZodEnum<{
|
|
4141
|
-
|
|
4151
|
+
timeout: "timeout";
|
|
4142
4152
|
failed: "failed";
|
|
4153
|
+
running: "running";
|
|
4143
4154
|
completed: "completed";
|
|
4144
4155
|
queued: "queued";
|
|
4145
4156
|
canceled: "canceled";
|
|
4146
|
-
timeout: "timeout";
|
|
4147
4157
|
}>;
|
|
4148
4158
|
result: z.ZodString;
|
|
4149
4159
|
structuredOutput: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -4395,6 +4405,8 @@ declare function userAuth(token: string): AuthPayload;
|
|
|
4395
4405
|
declare function machineAuth(token: string, machineId: string): AuthPayload;
|
|
4396
4406
|
declare function workerAuth(token: string, machineId: string, taskId: string): AuthPayload;
|
|
4397
4407
|
|
|
4408
|
+
declare const AGENTRIX_DEV_INIT_FEATURE = "agentrix-dev-init";
|
|
4409
|
+
|
|
4398
4410
|
/**
|
|
4399
4411
|
* Companion agent types
|
|
4400
4412
|
* Types for the self-evolving companion agent system
|
|
@@ -4642,5 +4654,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
4642
4654
|
*/
|
|
4643
4655
|
declare function decodeGitPath(rawPath: string): string;
|
|
4644
4656
|
|
|
4645
|
-
export { 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, 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, 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 };
|
|
4646
|
-
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, 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, 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 };
|
|
4657
|
+
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, 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 };
|
|
4658
|
+
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, 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 };
|
package/dist/node.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { f8 as LoadAgentOptions, f6 as AgentConfig, f7 as ValidationResult, f3 as FrameworkType } from './errors-D1Ifuw6J.cjs';
|
|
2
|
+
export { fg as AgentConfigValidationError, e$ as AgentContext, fe as AgentError, fi as AgentLoadError, f4 as AgentMetadata, fc as AgentMetadataSchema, ff as AgentNotFoundError, f0 as AgentrixContext, f5 as ClaudeAgentConfig, fd as ClaudeConfigSchema, fb as FRAMEWORK_TYPES, fh as FrameworkNotSupportedError, fa as HookFactory, fj as MissingAgentFileError, f9 as RepositoryInitHookInput, f2 as getAgentContext, f1 as setAgentContext } from './errors-D1Ifuw6J.cjs';
|
|
3
3
|
export { buildGitLabWebhookEndpointPath, buildGitLabWebhookUrl } from './gitlabWebhook.cjs';
|
|
4
4
|
import '@anthropic-ai/claude-agent-sdk';
|
|
5
5
|
import 'zod';
|