@agentrix/shared 2.0.13 → 2.1.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/index.cjs +53 -2
- package/dist/index.d.cts +80 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -234,6 +234,8 @@ const StartTaskRequestSchema = zod.z.object({
|
|
|
234
234
|
// Repository source type
|
|
235
235
|
dataEncryptionKey: zod.z.string().optional(),
|
|
236
236
|
// base64 sealed-box: app public key encrypted by machine public key
|
|
237
|
+
ownerEncryptedDataKey: zod.z.string().optional(),
|
|
238
|
+
// base64 secretbox: task data key encrypted by owner's machine AES key (local mode)
|
|
237
239
|
// Multi-agent collaboration fields
|
|
238
240
|
agentId: zod.z.string().optional(),
|
|
239
241
|
// Agent ID to execute the task (overrides chat's first agent)
|
|
@@ -299,6 +301,7 @@ const TaskItemSchema = zod.z.object({
|
|
|
299
301
|
// Custom task title (set by user, takes priority over title)
|
|
300
302
|
agentSessionId: zod.z.string().nullable(),
|
|
301
303
|
dataEncryptionKey: zod.z.string().nullable(),
|
|
304
|
+
ownerEncryptedDataKey: zod.z.string().nullable(),
|
|
302
305
|
cwd: zod.z.string().nullable(),
|
|
303
306
|
// Current working directory from CLI worker
|
|
304
307
|
userCwd: zod.z.string().nullable(),
|
|
@@ -1154,6 +1157,16 @@ const GitServerSchema = zod.z.object({
|
|
|
1154
1157
|
baseUrl: zod.z.string().url(),
|
|
1155
1158
|
apiUrl: zod.z.string().url(),
|
|
1156
1159
|
oauthServerId: zod.z.string().nullable(),
|
|
1160
|
+
ownerId: zod.z.string().nullable(),
|
|
1161
|
+
// null = public (admin-created), userId = private (user-created)
|
|
1162
|
+
authModeDefault: zod.z.string().default("oauth"),
|
|
1163
|
+
// "oauth" | "local_pat"
|
|
1164
|
+
executionMode: zod.z.string().default("server"),
|
|
1165
|
+
// "server" | "daemon_proxy"
|
|
1166
|
+
syncMode: zod.z.string().default("polling_only"),
|
|
1167
|
+
// "polling_only" | "hybrid" | "webhook_only"
|
|
1168
|
+
networkMode: zod.z.string().default("direct"),
|
|
1169
|
+
// "direct" | "tunnel"
|
|
1157
1170
|
enabled: zod.z.boolean(),
|
|
1158
1171
|
createdAt: zod.z.union([DateSchema, zod.z.date().transform((d) => d.toISOString())]),
|
|
1159
1172
|
updatedAt: zod.z.union([DateSchema, zod.z.date().transform((d) => d.toISOString())])
|
|
@@ -1350,6 +1363,8 @@ const baseTaskSchema = EventBaseSchema.extend({
|
|
|
1350
1363
|
// Existing repository ID (used to skip auto-association)
|
|
1351
1364
|
repositorySourceType: zod.z.enum(["temporary", "directory", "git-server"]).optional().default("temporary"),
|
|
1352
1365
|
// Repository source type (determines workspace mode)
|
|
1366
|
+
gitServerId: zod.z.string().optional(),
|
|
1367
|
+
// Git server ID (for local_pat mode: worker loads PAT locally)
|
|
1353
1368
|
environmentVariables: zod.z.record(zod.z.string(), zod.z.string()).optional(),
|
|
1354
1369
|
// Environment variables for task execution
|
|
1355
1370
|
// Multi-agent collaboration fields
|
|
@@ -1491,7 +1506,9 @@ const MachineRtcRequestSchema = EventBaseSchema.extend({
|
|
|
1491
1506
|
machineId: zod.z.string(),
|
|
1492
1507
|
sessionId: zod.z.string(),
|
|
1493
1508
|
role: zod.z.literal("app"),
|
|
1494
|
-
|
|
1509
|
+
taskId: zod.z.string().optional(),
|
|
1510
|
+
userId: zod.z.string().optional(),
|
|
1511
|
+
workspaceUserId: zod.z.string().optional()
|
|
1495
1512
|
});
|
|
1496
1513
|
const MachineRtcResponseSchema = EventBaseSchema.extend({
|
|
1497
1514
|
machineId: zod.z.string(),
|
|
@@ -1509,7 +1526,9 @@ const RtcSignalSchema = EventBaseSchema.extend({
|
|
|
1509
1526
|
sessionId: zod.z.string(),
|
|
1510
1527
|
from: zod.z.enum(["app", "machine"]),
|
|
1511
1528
|
signal: zod.z.any(),
|
|
1512
|
-
userId: zod.z.string().optional()
|
|
1529
|
+
userId: zod.z.string().optional(),
|
|
1530
|
+
taskId: zod.z.string().optional(),
|
|
1531
|
+
workspaceUserId: zod.z.string().optional()
|
|
1513
1532
|
});
|
|
1514
1533
|
const WorkspaceFileRequestSchema = EventBaseSchema.extend({
|
|
1515
1534
|
taskId: zod.z.string(),
|
|
@@ -1708,6 +1727,32 @@ const SystemMessageSchema = EventBaseSchema.extend({
|
|
|
1708
1727
|
]),
|
|
1709
1728
|
timestamp: zod.z.string()
|
|
1710
1729
|
});
|
|
1730
|
+
const DaemonGitlabOperationSchema = zod.z.enum([
|
|
1731
|
+
"listRepos",
|
|
1732
|
+
"listBranches",
|
|
1733
|
+
"createMergeRequest",
|
|
1734
|
+
"getMergeRequest",
|
|
1735
|
+
"listMergeRequests",
|
|
1736
|
+
"resolveGitAuthContext"
|
|
1737
|
+
]);
|
|
1738
|
+
const DaemonGitlabRequestSchema = EventBaseSchema.extend({
|
|
1739
|
+
requestId: zod.z.string(),
|
|
1740
|
+
userId: zod.z.string(),
|
|
1741
|
+
gitServerId: zod.z.string(),
|
|
1742
|
+
operation: DaemonGitlabOperationSchema,
|
|
1743
|
+
payload: zod.z.record(zod.z.string(), zod.z.unknown()),
|
|
1744
|
+
ttlMs: zod.z.number(),
|
|
1745
|
+
nonce: zod.z.string()
|
|
1746
|
+
});
|
|
1747
|
+
const DaemonGitlabResponseSchema = EventBaseSchema.extend({
|
|
1748
|
+
requestId: zod.z.string(),
|
|
1749
|
+
success: zod.z.boolean(),
|
|
1750
|
+
data: zod.z.unknown().optional(),
|
|
1751
|
+
errorCode: zod.z.string().optional(),
|
|
1752
|
+
errorMessage: zod.z.string().optional(),
|
|
1753
|
+
machineId: zod.z.string(),
|
|
1754
|
+
executionTimeMs: zod.z.number()
|
|
1755
|
+
});
|
|
1711
1756
|
const EventSchemaMap = {
|
|
1712
1757
|
// App events
|
|
1713
1758
|
"app-alive": AppAliveEventSchema,
|
|
@@ -1763,6 +1808,9 @@ const EventSchemaMap = {
|
|
|
1763
1808
|
"workspace-file-response": WorkspaceFileResponseSchema,
|
|
1764
1809
|
// RPC events
|
|
1765
1810
|
"rpc-call": RpcCallEventSchema,
|
|
1811
|
+
// Daemon GitLab proxy events
|
|
1812
|
+
"daemon-gitlab-request": DaemonGitlabRequestSchema,
|
|
1813
|
+
"daemon-gitlab-response": DaemonGitlabResponseSchema,
|
|
1766
1814
|
// Ack events
|
|
1767
1815
|
"event-ack": EventAckSchema
|
|
1768
1816
|
};
|
|
@@ -2724,6 +2772,9 @@ exports.CreateTaskShareResponseSchema = CreateTaskShareResponseSchema;
|
|
|
2724
2772
|
exports.CreateTaskShareSchema = CreateTaskShareSchema;
|
|
2725
2773
|
exports.CreditExhaustedEventSchema = CreditExhaustedEventSchema;
|
|
2726
2774
|
exports.CreditsPackageSchema = CreditsPackageSchema;
|
|
2775
|
+
exports.DaemonGitlabOperationSchema = DaemonGitlabOperationSchema;
|
|
2776
|
+
exports.DaemonGitlabRequestSchema = DaemonGitlabRequestSchema;
|
|
2777
|
+
exports.DaemonGitlabResponseSchema = DaemonGitlabResponseSchema;
|
|
2727
2778
|
exports.DateSchema = DateSchema;
|
|
2728
2779
|
exports.DeleteAgentResponseSchema = DeleteAgentResponseSchema;
|
|
2729
2780
|
exports.DeleteOAuthServerResponseSchema = DeleteOAuthServerResponseSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -427,6 +427,7 @@ declare const StartTaskRequestSchema: z.ZodObject<{
|
|
|
427
427
|
"git-server": "git-server";
|
|
428
428
|
}>>;
|
|
429
429
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
430
|
+
ownerEncryptedDataKey: z.ZodOptional<z.ZodString>;
|
|
430
431
|
agentId: z.ZodOptional<z.ZodString>;
|
|
431
432
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
432
433
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -453,6 +454,7 @@ declare const startTaskSchema: z.ZodObject<{
|
|
|
453
454
|
"git-server": "git-server";
|
|
454
455
|
}>>;
|
|
455
456
|
dataEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
457
|
+
ownerEncryptedDataKey: z.ZodOptional<z.ZodString>;
|
|
456
458
|
agentId: z.ZodOptional<z.ZodString>;
|
|
457
459
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
458
460
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -509,6 +511,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
509
511
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
510
512
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
511
513
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
514
|
+
ownerEncryptedDataKey: z.ZodNullable<z.ZodString>;
|
|
512
515
|
cwd: z.ZodNullable<z.ZodString>;
|
|
513
516
|
userCwd: z.ZodNullable<z.ZodString>;
|
|
514
517
|
forceUserCwd: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -579,6 +582,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
579
582
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
580
583
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
581
584
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
585
|
+
ownerEncryptedDataKey: z.ZodNullable<z.ZodString>;
|
|
582
586
|
cwd: z.ZodNullable<z.ZodString>;
|
|
583
587
|
userCwd: z.ZodNullable<z.ZodString>;
|
|
584
588
|
forceUserCwd: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -877,6 +881,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
877
881
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
878
882
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
879
883
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
884
|
+
ownerEncryptedDataKey: z.ZodNullable<z.ZodString>;
|
|
880
885
|
cwd: z.ZodNullable<z.ZodString>;
|
|
881
886
|
userCwd: z.ZodNullable<z.ZodString>;
|
|
882
887
|
forceUserCwd: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -944,6 +949,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
944
949
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
945
950
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
946
951
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
952
|
+
ownerEncryptedDataKey: z.ZodNullable<z.ZodString>;
|
|
947
953
|
cwd: z.ZodNullable<z.ZodString>;
|
|
948
954
|
userCwd: z.ZodNullable<z.ZodString>;
|
|
949
955
|
forceUserCwd: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -1013,6 +1019,7 @@ declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
|
1013
1019
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
1014
1020
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1015
1021
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1022
|
+
ownerEncryptedDataKey: z.ZodNullable<z.ZodString>;
|
|
1016
1023
|
cwd: z.ZodNullable<z.ZodString>;
|
|
1017
1024
|
userCwd: z.ZodNullable<z.ZodString>;
|
|
1018
1025
|
forceUserCwd: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -1460,6 +1467,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
1460
1467
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
1461
1468
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1462
1469
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1470
|
+
ownerEncryptedDataKey: z.ZodNullable<z.ZodString>;
|
|
1463
1471
|
cwd: z.ZodNullable<z.ZodString>;
|
|
1464
1472
|
userCwd: z.ZodNullable<z.ZodString>;
|
|
1465
1473
|
forceUserCwd: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -3221,6 +3229,11 @@ declare const GitServerSchema: z.ZodObject<{
|
|
|
3221
3229
|
baseUrl: z.ZodString;
|
|
3222
3230
|
apiUrl: z.ZodString;
|
|
3223
3231
|
oauthServerId: z.ZodNullable<z.ZodString>;
|
|
3232
|
+
ownerId: z.ZodNullable<z.ZodString>;
|
|
3233
|
+
authModeDefault: z.ZodDefault<z.ZodString>;
|
|
3234
|
+
executionMode: z.ZodDefault<z.ZodString>;
|
|
3235
|
+
syncMode: z.ZodDefault<z.ZodString>;
|
|
3236
|
+
networkMode: z.ZodDefault<z.ZodString>;
|
|
3224
3237
|
enabled: z.ZodBoolean;
|
|
3225
3238
|
createdAt: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodDate, z.ZodTransform<string, Date>>]>;
|
|
3226
3239
|
updatedAt: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodDate, z.ZodTransform<string, Date>>]>;
|
|
@@ -3236,6 +3249,11 @@ declare const ListGitServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
3236
3249
|
baseUrl: z.ZodString;
|
|
3237
3250
|
apiUrl: z.ZodString;
|
|
3238
3251
|
oauthServerId: z.ZodNullable<z.ZodString>;
|
|
3252
|
+
ownerId: z.ZodNullable<z.ZodString>;
|
|
3253
|
+
authModeDefault: z.ZodDefault<z.ZodString>;
|
|
3254
|
+
executionMode: z.ZodDefault<z.ZodString>;
|
|
3255
|
+
syncMode: z.ZodDefault<z.ZodString>;
|
|
3256
|
+
networkMode: z.ZodDefault<z.ZodString>;
|
|
3239
3257
|
enabled: z.ZodBoolean;
|
|
3240
3258
|
createdAt: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodDate, z.ZodTransform<string, Date>>]>;
|
|
3241
3259
|
updatedAt: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodDate, z.ZodTransform<string, Date>>]>;
|
|
@@ -3251,6 +3269,11 @@ declare const GetGitServerResponseSchema: z.ZodObject<{
|
|
|
3251
3269
|
baseUrl: z.ZodString;
|
|
3252
3270
|
apiUrl: z.ZodString;
|
|
3253
3271
|
oauthServerId: z.ZodNullable<z.ZodString>;
|
|
3272
|
+
ownerId: z.ZodNullable<z.ZodString>;
|
|
3273
|
+
authModeDefault: z.ZodDefault<z.ZodString>;
|
|
3274
|
+
executionMode: z.ZodDefault<z.ZodString>;
|
|
3275
|
+
syncMode: z.ZodDefault<z.ZodString>;
|
|
3276
|
+
networkMode: z.ZodDefault<z.ZodString>;
|
|
3254
3277
|
enabled: z.ZodBoolean;
|
|
3255
3278
|
createdAt: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodDate, z.ZodTransform<string, Date>>]>;
|
|
3256
3279
|
updatedAt: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodDate, z.ZodTransform<string, Date>>]>;
|
|
@@ -3552,6 +3575,7 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
3552
3575
|
directory: "directory";
|
|
3553
3576
|
"git-server": "git-server";
|
|
3554
3577
|
}>>>;
|
|
3578
|
+
gitServerId: z.ZodOptional<z.ZodString>;
|
|
3555
3579
|
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3556
3580
|
rootTaskId: z.ZodOptional<z.ZodString>;
|
|
3557
3581
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
@@ -3600,6 +3624,7 @@ declare const createTaskSchema: z.ZodObject<{
|
|
|
3600
3624
|
directory: "directory";
|
|
3601
3625
|
"git-server": "git-server";
|
|
3602
3626
|
}>>>;
|
|
3627
|
+
gitServerId: z.ZodOptional<z.ZodString>;
|
|
3603
3628
|
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3604
3629
|
rootTaskId: z.ZodOptional<z.ZodString>;
|
|
3605
3630
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
@@ -3651,6 +3676,7 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
3651
3676
|
directory: "directory";
|
|
3652
3677
|
"git-server": "git-server";
|
|
3653
3678
|
}>>>;
|
|
3679
|
+
gitServerId: z.ZodOptional<z.ZodString>;
|
|
3654
3680
|
environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3655
3681
|
rootTaskId: z.ZodOptional<z.ZodString>;
|
|
3656
3682
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
@@ -3907,7 +3933,9 @@ declare const MachineRtcRequestSchema: z.ZodObject<{
|
|
|
3907
3933
|
machineId: z.ZodString;
|
|
3908
3934
|
sessionId: z.ZodString;
|
|
3909
3935
|
role: z.ZodLiteral<"app">;
|
|
3936
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
3910
3937
|
userId: z.ZodOptional<z.ZodString>;
|
|
3938
|
+
workspaceUserId: z.ZodOptional<z.ZodString>;
|
|
3911
3939
|
}, z.core.$strip>;
|
|
3912
3940
|
type MachineRtcRequestEventData = z.infer<typeof MachineRtcRequestSchema>;
|
|
3913
3941
|
declare const MachineRtcResponseSchema: z.ZodObject<{
|
|
@@ -3933,6 +3961,8 @@ declare const RtcSignalSchema: z.ZodObject<{
|
|
|
3933
3961
|
}>;
|
|
3934
3962
|
signal: z.ZodAny;
|
|
3935
3963
|
userId: z.ZodOptional<z.ZodString>;
|
|
3964
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
3965
|
+
workspaceUserId: z.ZodOptional<z.ZodString>;
|
|
3936
3966
|
}, z.core.$strip>;
|
|
3937
3967
|
type RtcSignalEventData = z.infer<typeof RtcSignalSchema>;
|
|
3938
3968
|
declare const WorkspaceFileRequestSchema: z.ZodObject<{
|
|
@@ -4310,6 +4340,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
4310
4340
|
customTitle: z.ZodNullable<z.ZodString>;
|
|
4311
4341
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
4312
4342
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
4343
|
+
ownerEncryptedDataKey: z.ZodNullable<z.ZodString>;
|
|
4313
4344
|
cwd: z.ZodNullable<z.ZodString>;
|
|
4314
4345
|
userCwd: z.ZodNullable<z.ZodString>;
|
|
4315
4346
|
forceUserCwd: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -4345,7 +4376,51 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
4345
4376
|
timestamp: z.ZodString;
|
|
4346
4377
|
}, z.core.$strip>;
|
|
4347
4378
|
type SystemMessageEventData = z.infer<typeof SystemMessageSchema>;
|
|
4348
|
-
|
|
4379
|
+
declare const DaemonGitlabOperationSchema: z.ZodEnum<{
|
|
4380
|
+
listRepos: "listRepos";
|
|
4381
|
+
listBranches: "listBranches";
|
|
4382
|
+
createMergeRequest: "createMergeRequest";
|
|
4383
|
+
getMergeRequest: "getMergeRequest";
|
|
4384
|
+
listMergeRequests: "listMergeRequests";
|
|
4385
|
+
resolveGitAuthContext: "resolveGitAuthContext";
|
|
4386
|
+
}>;
|
|
4387
|
+
type DaemonGitlabOperation = z.infer<typeof DaemonGitlabOperationSchema>;
|
|
4388
|
+
/**
|
|
4389
|
+
* API → Daemon: Request to execute a GitLab operation via local PAT
|
|
4390
|
+
*/
|
|
4391
|
+
declare const DaemonGitlabRequestSchema: z.ZodObject<{
|
|
4392
|
+
eventId: z.ZodString;
|
|
4393
|
+
requestId: z.ZodString;
|
|
4394
|
+
userId: z.ZodString;
|
|
4395
|
+
gitServerId: z.ZodString;
|
|
4396
|
+
operation: z.ZodEnum<{
|
|
4397
|
+
listRepos: "listRepos";
|
|
4398
|
+
listBranches: "listBranches";
|
|
4399
|
+
createMergeRequest: "createMergeRequest";
|
|
4400
|
+
getMergeRequest: "getMergeRequest";
|
|
4401
|
+
listMergeRequests: "listMergeRequests";
|
|
4402
|
+
resolveGitAuthContext: "resolveGitAuthContext";
|
|
4403
|
+
}>;
|
|
4404
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4405
|
+
ttlMs: z.ZodNumber;
|
|
4406
|
+
nonce: z.ZodString;
|
|
4407
|
+
}, z.core.$strip>;
|
|
4408
|
+
type DaemonGitlabRequestEventData = z.infer<typeof DaemonGitlabRequestSchema>;
|
|
4409
|
+
/**
|
|
4410
|
+
* Daemon → API: Response from GitLab operation execution
|
|
4411
|
+
*/
|
|
4412
|
+
declare const DaemonGitlabResponseSchema: z.ZodObject<{
|
|
4413
|
+
eventId: z.ZodString;
|
|
4414
|
+
requestId: z.ZodString;
|
|
4415
|
+
success: z.ZodBoolean;
|
|
4416
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
4417
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
4418
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
4419
|
+
machineId: z.ZodString;
|
|
4420
|
+
executionTimeMs: z.ZodNumber;
|
|
4421
|
+
}, z.core.$strip>;
|
|
4422
|
+
type DaemonGitlabResponseEventData = z.infer<typeof DaemonGitlabResponseSchema>;
|
|
4423
|
+
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerInitializedEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | WorkerStatusRequestEventData | ChatWorkersStatusRequestEventData | ChatWorkersStatusResponseEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskInfoUpdateEventData | MergeRequestEventData | TaskStoppedEventData | SubTaskResultUpdatedEventData | SystemMessageEventData | CreditExhaustedEventData | RtcIceServersRequestEventData | RtcIceServersResponseEventData | MachineRtcRequestEventData | MachineRtcResponseEventData | RtcSignalEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData | DaemonGitlabRequestEventData | DaemonGitlabResponseEventData;
|
|
4349
4424
|
type EventMap = {
|
|
4350
4425
|
"app-alive": AppAliveEventData;
|
|
4351
4426
|
"api-server-alive": ApiServerAliveEventData;
|
|
@@ -4386,6 +4461,8 @@ type EventMap = {
|
|
|
4386
4461
|
"workspace-file-request": WorkspaceFileRequestEventData;
|
|
4387
4462
|
"workspace-file-response": WorkspaceFileResponseEventData;
|
|
4388
4463
|
"rpc-call": RpcCallEventData;
|
|
4464
|
+
"daemon-gitlab-request": DaemonGitlabRequestEventData;
|
|
4465
|
+
"daemon-gitlab-response": DaemonGitlabResponseEventData;
|
|
4389
4466
|
"event-ack": EventAckData;
|
|
4390
4467
|
};
|
|
4391
4468
|
type EventName = keyof EventMap;
|
|
@@ -5039,5 +5116,5 @@ declare const RELEVANT_DEPENDENCIES: readonly ["react", "react-dom", "vue", "vit
|
|
|
5039
5116
|
*/
|
|
5040
5117
|
declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata | null>;
|
|
5041
5118
|
|
|
5042
|
-
export { ActiveAgentSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AskUserResponseReasonSchema, AskUserResponseStatusSchema, AssociateRepoEventDataSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ChatWorkersStatusRequestSchema, ChatWorkersStatusResponseSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateDraftAgentRequestSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DeployAgentCompleteEventSchema, DeployAgentEventSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EnvironmentVariableSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FillEventsRequestSchema, FindTaskByAgentRequestSchema, FindTaskByAgentResponseSchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetTaskSessionResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListSubTasksRequestSchema, ListSubTasksResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineRtcRequestSchema, MachineRtcResponseSchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, PreviewMetadataSchema, PreviewMethodSchema, PreviewProjectTypeSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, QueryEventsRequestSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, STATIC_FILE_EXTENSIONS, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskResultUpdatedEventSchema, SubTaskSummarySchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskAgentInfoSchema, TaskArtifactsStatsSchema, TaskArtifactsSummarySchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTodoSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateChatContextRequestSchema, UpdateChatContextResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkerStatusValueSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, isSDKUserMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
5043
|
-
export type { ActiveAgent, AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentPermissions, AgentType, AgentrixContext, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AskUserResponseReason, AskUserResponseStatus, AssociateRepoEventData, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ChatWorkersStatusRequestEventData, ChatWorkersStatusResponseEventData, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateDraftAgentRequest, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DeployAgentCompleteEventData, DeployAgentEventData, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileSystemAdapter, FileVisibility, FillEventsRequest, FillEventsResponse, FindTaskByAgentRequest, FindTaskByAgentResponse, FrameworkType, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetTaskSessionResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, HookFactory, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListSubTasksRequest, ListSubTasksResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineRtcRequestEventData, MachineRtcResponseEventData, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, PreviewMetadata, PreviewMethod, PreviewProjectType, ProjectDirectoryResponse, ProjectEntry, PublishDraftAgentRequest, PublishDraftAgentResponse, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, RpcCallEventData, RpcResponseData, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, RtcIceServer, RtcIceServersRequestEventData, RtcIceServersResponseEventData, RtcSignalEventData, SendMessageTarget, SendTaskMessageRequest, SendTaskMessageResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskResultUpdatedEventData, SubTaskSummary, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskAgentInfo, TaskArtifactsStats, TaskArtifactsSummary, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTodo, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateChatContextRequest, UpdateChatContextResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerStatusValue, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|
|
5119
|
+
export { ActiveAgentSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AskUserResponseReasonSchema, AskUserResponseStatusSchema, AssociateRepoEventDataSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ChatWorkersStatusRequestSchema, ChatWorkersStatusResponseSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateDraftAgentRequestSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DaemonGitlabOperationSchema, DaemonGitlabRequestSchema, DaemonGitlabResponseSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DeployAgentCompleteEventSchema, DeployAgentEventSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EnvironmentVariableSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FillEventsRequestSchema, FindTaskByAgentRequestSchema, FindTaskByAgentResponseSchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetTaskSessionResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListSubTasksRequestSchema, ListSubTasksResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineRtcRequestSchema, MachineRtcResponseSchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, PreviewMetadataSchema, PreviewMethodSchema, PreviewProjectTypeSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, QueryEventsRequestSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, STATIC_FILE_EXTENSIONS, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskResultUpdatedEventSchema, SubTaskSummarySchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskAgentInfoSchema, TaskArtifactsStatsSchema, TaskArtifactsSummarySchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTodoSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateChatContextRequestSchema, UpdateChatContextResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkerStatusValueSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, isSDKUserMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
5120
|
+
export type { ActiveAgent, AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentPermissions, AgentType, AgentrixContext, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AskUserResponseReason, AskUserResponseStatus, AssociateRepoEventData, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ChatWorkersStatusRequestEventData, ChatWorkersStatusResponseEventData, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateDraftAgentRequest, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DaemonGitlabOperation, DaemonGitlabRequestEventData, DaemonGitlabResponseEventData, DeleteAgentResponse, DeleteOAuthServerResponse, DeployAgentCompleteEventData, DeployAgentEventData, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EnvironmentVariable, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileSystemAdapter, FileVisibility, FillEventsRequest, FillEventsResponse, FindTaskByAgentRequest, FindTaskByAgentResponse, FrameworkType, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetTaskSessionResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, HookFactory, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListSubTasksRequest, ListSubTasksResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineRtcRequestEventData, MachineRtcResponseEventData, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, PreviewMetadata, PreviewMethod, PreviewProjectType, ProjectDirectoryResponse, ProjectEntry, PublishDraftAgentRequest, PublishDraftAgentResponse, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, RpcCallEventData, RpcResponseData, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, RtcIceServer, RtcIceServersRequestEventData, RtcIceServersResponseEventData, RtcSignalEventData, SendMessageTarget, SendTaskMessageRequest, SendTaskMessageResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskResultUpdatedEventData, SubTaskSummary, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskAgentInfo, TaskArtifactsStats, TaskArtifactsSummary, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTodo, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateChatContextRequest, UpdateChatContextResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerStatusValue, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|