@agentrix/shared 2.0.5 → 2.0.6
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.d.cts +80 -80
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -277,11 +277,11 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
277
277
|
avatarUrl: string;
|
|
278
278
|
}>, "many">>;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
encryptedSecret: string | null;
|
|
281
280
|
id: string;
|
|
282
281
|
username: string;
|
|
283
282
|
email: string | null;
|
|
284
283
|
avatar: string | null;
|
|
284
|
+
encryptedSecret: string | null;
|
|
285
285
|
secretSalt: string | null;
|
|
286
286
|
createdAt: string;
|
|
287
287
|
oauthAccounts?: {
|
|
@@ -291,11 +291,11 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
291
291
|
avatarUrl: string;
|
|
292
292
|
}[] | undefined;
|
|
293
293
|
}, {
|
|
294
|
-
encryptedSecret: string | null;
|
|
295
294
|
id: string;
|
|
296
295
|
username: string;
|
|
297
296
|
email: string | null;
|
|
298
297
|
avatar: string | null;
|
|
298
|
+
encryptedSecret: string | null;
|
|
299
299
|
secretSalt: string | null;
|
|
300
300
|
createdAt: string;
|
|
301
301
|
oauthAccounts?: {
|
|
@@ -307,11 +307,11 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
307
307
|
}>;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
user: {
|
|
310
|
-
encryptedSecret: string | null;
|
|
311
310
|
id: string;
|
|
312
311
|
username: string;
|
|
313
312
|
email: string | null;
|
|
314
313
|
avatar: string | null;
|
|
314
|
+
encryptedSecret: string | null;
|
|
315
315
|
secretSalt: string | null;
|
|
316
316
|
createdAt: string;
|
|
317
317
|
oauthAccounts?: {
|
|
@@ -323,11 +323,11 @@ declare const UserProfileResponseSchema: z.ZodObject<{
|
|
|
323
323
|
};
|
|
324
324
|
}, {
|
|
325
325
|
user: {
|
|
326
|
-
encryptedSecret: string | null;
|
|
327
326
|
id: string;
|
|
328
327
|
username: string;
|
|
329
328
|
email: string | null;
|
|
330
329
|
avatar: string | null;
|
|
330
|
+
encryptedSecret: string | null;
|
|
331
331
|
secretSalt: string | null;
|
|
332
332
|
createdAt: string;
|
|
333
333
|
oauthAccounts?: {
|
|
@@ -593,13 +593,13 @@ declare const MachineAuthAuthorizedResponseSchema: z.ZodObject<{
|
|
|
593
593
|
token: z.ZodString;
|
|
594
594
|
content: z.ZodString;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
596
|
-
token: string;
|
|
597
596
|
id: string;
|
|
597
|
+
token: string;
|
|
598
598
|
state: "authorized";
|
|
599
599
|
content: string;
|
|
600
600
|
}, {
|
|
601
|
-
token: string;
|
|
602
601
|
id: string;
|
|
602
|
+
token: string;
|
|
603
603
|
state: "authorized";
|
|
604
604
|
content: string;
|
|
605
605
|
}>;
|
|
@@ -3650,9 +3650,9 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
3650
3650
|
}>>;
|
|
3651
3651
|
}, "strip", z.ZodTypeAny, {
|
|
3652
3652
|
type: "claude" | "codex";
|
|
3653
|
-
signature: string | null;
|
|
3654
3653
|
id: string;
|
|
3655
3654
|
avatar: string | null;
|
|
3655
|
+
signature: string | null;
|
|
3656
3656
|
userId: string;
|
|
3657
3657
|
permissions: {
|
|
3658
3658
|
role: string;
|
|
@@ -3690,9 +3690,9 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
3690
3690
|
} | null;
|
|
3691
3691
|
}, {
|
|
3692
3692
|
type: "claude" | "codex";
|
|
3693
|
-
signature: string | null;
|
|
3694
3693
|
id: string;
|
|
3695
3694
|
avatar: string | null;
|
|
3695
|
+
signature: string | null;
|
|
3696
3696
|
userId: string;
|
|
3697
3697
|
permissions: {
|
|
3698
3698
|
role: string;
|
|
@@ -3858,9 +3858,9 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3858
3858
|
}>>;
|
|
3859
3859
|
}, "strip", z.ZodTypeAny, {
|
|
3860
3860
|
type: "claude" | "codex";
|
|
3861
|
-
signature: string | null;
|
|
3862
3861
|
id: string;
|
|
3863
3862
|
avatar: string | null;
|
|
3863
|
+
signature: string | null;
|
|
3864
3864
|
userId: string;
|
|
3865
3865
|
permissions: {
|
|
3866
3866
|
role: string;
|
|
@@ -3898,9 +3898,9 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3898
3898
|
} | null;
|
|
3899
3899
|
}, {
|
|
3900
3900
|
type: "claude" | "codex";
|
|
3901
|
-
signature: string | null;
|
|
3902
3901
|
id: string;
|
|
3903
3902
|
avatar: string | null;
|
|
3903
|
+
signature: string | null;
|
|
3904
3904
|
userId: string;
|
|
3905
3905
|
permissions: {
|
|
3906
3906
|
role: string;
|
|
@@ -3940,9 +3940,9 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3940
3940
|
}, "strip", z.ZodTypeAny, {
|
|
3941
3941
|
agents: {
|
|
3942
3942
|
type: "claude" | "codex";
|
|
3943
|
-
signature: string | null;
|
|
3944
3943
|
id: string;
|
|
3945
3944
|
avatar: string | null;
|
|
3945
|
+
signature: string | null;
|
|
3946
3946
|
userId: string;
|
|
3947
3947
|
permissions: {
|
|
3948
3948
|
role: string;
|
|
@@ -3982,9 +3982,9 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3982
3982
|
}, {
|
|
3983
3983
|
agents: {
|
|
3984
3984
|
type: "claude" | "codex";
|
|
3985
|
-
signature: string | null;
|
|
3986
3985
|
id: string;
|
|
3987
3986
|
avatar: string | null;
|
|
3987
|
+
signature: string | null;
|
|
3988
3988
|
userId: string;
|
|
3989
3989
|
permissions: {
|
|
3990
3990
|
role: string;
|
|
@@ -4150,9 +4150,9 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
4150
4150
|
}>>;
|
|
4151
4151
|
}, "strip", z.ZodTypeAny, {
|
|
4152
4152
|
type: "claude" | "codex";
|
|
4153
|
-
signature: string | null;
|
|
4154
4153
|
id: string;
|
|
4155
4154
|
avatar: string | null;
|
|
4155
|
+
signature: string | null;
|
|
4156
4156
|
userId: string;
|
|
4157
4157
|
permissions: {
|
|
4158
4158
|
role: string;
|
|
@@ -4190,9 +4190,9 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
4190
4190
|
} | null;
|
|
4191
4191
|
}, {
|
|
4192
4192
|
type: "claude" | "codex";
|
|
4193
|
-
signature: string | null;
|
|
4194
4193
|
id: string;
|
|
4195
4194
|
avatar: string | null;
|
|
4195
|
+
signature: string | null;
|
|
4196
4196
|
userId: string;
|
|
4197
4197
|
permissions: {
|
|
4198
4198
|
role: string;
|
|
@@ -4346,8 +4346,8 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
4346
4346
|
guildMsg: string;
|
|
4347
4347
|
placeholderMsg: string;
|
|
4348
4348
|
supportLocal: boolean;
|
|
4349
|
-
signature?: string | undefined;
|
|
4350
4349
|
avatar?: string | undefined;
|
|
4350
|
+
signature?: string | undefined;
|
|
4351
4351
|
description?: string | undefined;
|
|
4352
4352
|
gitRepoId?: string | undefined;
|
|
4353
4353
|
config?: {
|
|
@@ -4374,8 +4374,8 @@ declare const CreateAgentRequestSchema: z.ZodObject<{
|
|
|
4374
4374
|
}, {
|
|
4375
4375
|
type: "claude" | "codex";
|
|
4376
4376
|
name: string;
|
|
4377
|
-
signature?: string | undefined;
|
|
4378
4377
|
avatar?: string | undefined;
|
|
4378
|
+
signature?: string | undefined;
|
|
4379
4379
|
description?: string | undefined;
|
|
4380
4380
|
guildMsg?: string | undefined;
|
|
4381
4381
|
placeholderMsg?: string | undefined;
|
|
@@ -4531,9 +4531,9 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
4531
4531
|
}>>;
|
|
4532
4532
|
}, "strip", z.ZodTypeAny, {
|
|
4533
4533
|
type: "claude" | "codex";
|
|
4534
|
-
signature: string | null;
|
|
4535
4534
|
id: string;
|
|
4536
4535
|
avatar: string | null;
|
|
4536
|
+
signature: string | null;
|
|
4537
4537
|
userId: string;
|
|
4538
4538
|
permissions: {
|
|
4539
4539
|
role: string;
|
|
@@ -4571,9 +4571,9 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
4571
4571
|
} | null;
|
|
4572
4572
|
}, {
|
|
4573
4573
|
type: "claude" | "codex";
|
|
4574
|
-
signature: string | null;
|
|
4575
4574
|
id: string;
|
|
4576
4575
|
avatar: string | null;
|
|
4576
|
+
signature: string | null;
|
|
4577
4577
|
userId: string;
|
|
4578
4578
|
permissions: {
|
|
4579
4579
|
role: string;
|
|
@@ -4723,8 +4723,8 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
4723
4723
|
}>>>;
|
|
4724
4724
|
}, "strip", z.ZodTypeAny, {
|
|
4725
4725
|
type?: "claude" | "codex" | undefined;
|
|
4726
|
-
signature?: string | null | undefined;
|
|
4727
4726
|
avatar?: string | null | undefined;
|
|
4727
|
+
signature?: string | null | undefined;
|
|
4728
4728
|
name?: string | undefined;
|
|
4729
4729
|
description?: string | null | undefined;
|
|
4730
4730
|
guildMsg?: string | undefined;
|
|
@@ -4754,8 +4754,8 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
4754
4754
|
} | null | undefined;
|
|
4755
4755
|
}, {
|
|
4756
4756
|
type?: "claude" | "codex" | undefined;
|
|
4757
|
-
signature?: string | null | undefined;
|
|
4758
4757
|
avatar?: string | null | undefined;
|
|
4758
|
+
signature?: string | null | undefined;
|
|
4759
4759
|
name?: string | undefined;
|
|
4760
4760
|
description?: string | null | undefined;
|
|
4761
4761
|
guildMsg?: string | undefined;
|
|
@@ -4912,9 +4912,9 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
4912
4912
|
}>>;
|
|
4913
4913
|
}, "strip", z.ZodTypeAny, {
|
|
4914
4914
|
type: "claude" | "codex";
|
|
4915
|
-
signature: string | null;
|
|
4916
4915
|
id: string;
|
|
4917
4916
|
avatar: string | null;
|
|
4917
|
+
signature: string | null;
|
|
4918
4918
|
userId: string;
|
|
4919
4919
|
permissions: {
|
|
4920
4920
|
role: string;
|
|
@@ -4952,9 +4952,9 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
4952
4952
|
} | null;
|
|
4953
4953
|
}, {
|
|
4954
4954
|
type: "claude" | "codex";
|
|
4955
|
-
signature: string | null;
|
|
4956
4955
|
id: string;
|
|
4957
4956
|
avatar: string | null;
|
|
4957
|
+
signature: string | null;
|
|
4958
4958
|
userId: string;
|
|
4959
4959
|
permissions: {
|
|
4960
4960
|
role: string;
|
|
@@ -5637,9 +5637,9 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
5637
5637
|
}>>;
|
|
5638
5638
|
}, "strip", z.ZodTypeAny, {
|
|
5639
5639
|
type: "claude" | "codex";
|
|
5640
|
-
signature: string | null;
|
|
5641
5640
|
id: string;
|
|
5642
5641
|
avatar: string | null;
|
|
5642
|
+
signature: string | null;
|
|
5643
5643
|
userId: string;
|
|
5644
5644
|
permissions: {
|
|
5645
5645
|
role: string;
|
|
@@ -5677,9 +5677,9 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
5677
5677
|
} | null;
|
|
5678
5678
|
}, {
|
|
5679
5679
|
type: "claude" | "codex";
|
|
5680
|
-
signature: string | null;
|
|
5681
5680
|
id: string;
|
|
5682
5681
|
avatar: string | null;
|
|
5682
|
+
signature: string | null;
|
|
5683
5683
|
userId: string;
|
|
5684
5684
|
permissions: {
|
|
5685
5685
|
role: string;
|
|
@@ -5966,9 +5966,9 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
5966
5966
|
}, "strip", z.ZodTypeAny, {
|
|
5967
5967
|
agents: {
|
|
5968
5968
|
type: "claude" | "codex";
|
|
5969
|
-
signature: string | null;
|
|
5970
5969
|
id: string;
|
|
5971
5970
|
avatar: string | null;
|
|
5971
|
+
signature: string | null;
|
|
5972
5972
|
userId: string;
|
|
5973
5973
|
permissions: {
|
|
5974
5974
|
role: string;
|
|
@@ -6055,9 +6055,9 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6055
6055
|
}, {
|
|
6056
6056
|
agents: {
|
|
6057
6057
|
type: "claude" | "codex";
|
|
6058
|
-
signature: string | null;
|
|
6059
6058
|
id: string;
|
|
6060
6059
|
avatar: string | null;
|
|
6060
|
+
signature: string | null;
|
|
6061
6061
|
userId: string;
|
|
6062
6062
|
permissions: {
|
|
6063
6063
|
role: string;
|
|
@@ -7237,8 +7237,8 @@ declare const OAuthServerSchema: z.ZodObject<{
|
|
|
7237
7237
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
7238
7238
|
}, "strip", z.ZodTypeAny, {
|
|
7239
7239
|
id: string;
|
|
7240
|
-
createdAt: string;
|
|
7241
7240
|
provider: string;
|
|
7241
|
+
createdAt: string;
|
|
7242
7242
|
updatedAt: string;
|
|
7243
7243
|
displayName: string;
|
|
7244
7244
|
authorizeUrl: string;
|
|
@@ -7253,8 +7253,8 @@ declare const OAuthServerSchema: z.ZodObject<{
|
|
|
7253
7253
|
avatar?: string | undefined;
|
|
7254
7254
|
}, {
|
|
7255
7255
|
id: string;
|
|
7256
|
-
createdAt: string | Date;
|
|
7257
7256
|
provider: string;
|
|
7257
|
+
createdAt: string | Date;
|
|
7258
7258
|
updatedAt: string | Date;
|
|
7259
7259
|
displayName: string;
|
|
7260
7260
|
authorizeUrl: string;
|
|
@@ -7283,16 +7283,16 @@ declare const OAuthServerPublicSchema: z.ZodObject<{
|
|
|
7283
7283
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
7284
7284
|
}, "strip", z.ZodTypeAny, {
|
|
7285
7285
|
id: string;
|
|
7286
|
-
createdAt: string;
|
|
7287
7286
|
provider: string;
|
|
7287
|
+
createdAt: string;
|
|
7288
7288
|
updatedAt: string;
|
|
7289
7289
|
displayName: string;
|
|
7290
7290
|
enabled: boolean;
|
|
7291
7291
|
avatar?: string | undefined;
|
|
7292
7292
|
}, {
|
|
7293
7293
|
id: string;
|
|
7294
|
-
createdAt: string | Date;
|
|
7295
7294
|
provider: string;
|
|
7295
|
+
createdAt: string | Date;
|
|
7296
7296
|
updatedAt: string | Date;
|
|
7297
7297
|
displayName: string;
|
|
7298
7298
|
enabled: boolean;
|
|
@@ -7358,8 +7358,8 @@ declare const CreateOAuthServerResponseSchema: z.ZodObject<{
|
|
|
7358
7358
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
7359
7359
|
}, "strip", z.ZodTypeAny, {
|
|
7360
7360
|
id: string;
|
|
7361
|
-
createdAt: string;
|
|
7362
7361
|
provider: string;
|
|
7362
|
+
createdAt: string;
|
|
7363
7363
|
updatedAt: string;
|
|
7364
7364
|
displayName: string;
|
|
7365
7365
|
authorizeUrl: string;
|
|
@@ -7374,8 +7374,8 @@ declare const CreateOAuthServerResponseSchema: z.ZodObject<{
|
|
|
7374
7374
|
avatar?: string | undefined;
|
|
7375
7375
|
}, {
|
|
7376
7376
|
id: string;
|
|
7377
|
-
createdAt: string | Date;
|
|
7378
7377
|
provider: string;
|
|
7378
|
+
createdAt: string | Date;
|
|
7379
7379
|
updatedAt: string | Date;
|
|
7380
7380
|
displayName: string;
|
|
7381
7381
|
authorizeUrl: string;
|
|
@@ -7419,8 +7419,8 @@ declare const ListOAuthServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
7419
7419
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
7420
7420
|
}, "strip", z.ZodTypeAny, {
|
|
7421
7421
|
id: string;
|
|
7422
|
-
createdAt: string;
|
|
7423
7422
|
provider: string;
|
|
7423
|
+
createdAt: string;
|
|
7424
7424
|
updatedAt: string;
|
|
7425
7425
|
displayName: string;
|
|
7426
7426
|
authorizeUrl: string;
|
|
@@ -7435,8 +7435,8 @@ declare const ListOAuthServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
7435
7435
|
avatar?: string | undefined;
|
|
7436
7436
|
}, {
|
|
7437
7437
|
id: string;
|
|
7438
|
-
createdAt: string | Date;
|
|
7439
7438
|
provider: string;
|
|
7439
|
+
createdAt: string | Date;
|
|
7440
7440
|
updatedAt: string | Date;
|
|
7441
7441
|
displayName: string;
|
|
7442
7442
|
authorizeUrl: string;
|
|
@@ -7472,8 +7472,8 @@ declare const GetOAuthServerResponseSchema: z.ZodObject<{
|
|
|
7472
7472
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
7473
7473
|
}, "strip", z.ZodTypeAny, {
|
|
7474
7474
|
id: string;
|
|
7475
|
-
createdAt: string;
|
|
7476
7475
|
provider: string;
|
|
7476
|
+
createdAt: string;
|
|
7477
7477
|
updatedAt: string;
|
|
7478
7478
|
displayName: string;
|
|
7479
7479
|
authorizeUrl: string;
|
|
@@ -7488,8 +7488,8 @@ declare const GetOAuthServerResponseSchema: z.ZodObject<{
|
|
|
7488
7488
|
avatar?: string | undefined;
|
|
7489
7489
|
}, {
|
|
7490
7490
|
id: string;
|
|
7491
|
-
createdAt: string | Date;
|
|
7492
7491
|
provider: string;
|
|
7492
|
+
createdAt: string | Date;
|
|
7493
7493
|
updatedAt: string | Date;
|
|
7494
7494
|
displayName: string;
|
|
7495
7495
|
authorizeUrl: string;
|
|
@@ -7563,8 +7563,8 @@ declare const UpdateOAuthServerResponseSchema: z.ZodObject<{
|
|
|
7563
7563
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
7564
7564
|
}, "strip", z.ZodTypeAny, {
|
|
7565
7565
|
id: string;
|
|
7566
|
-
createdAt: string;
|
|
7567
7566
|
provider: string;
|
|
7567
|
+
createdAt: string;
|
|
7568
7568
|
updatedAt: string;
|
|
7569
7569
|
displayName: string;
|
|
7570
7570
|
authorizeUrl: string;
|
|
@@ -7579,8 +7579,8 @@ declare const UpdateOAuthServerResponseSchema: z.ZodObject<{
|
|
|
7579
7579
|
avatar?: string | undefined;
|
|
7580
7580
|
}, {
|
|
7581
7581
|
id: string;
|
|
7582
|
-
createdAt: string | Date;
|
|
7583
7582
|
provider: string;
|
|
7583
|
+
createdAt: string | Date;
|
|
7584
7584
|
updatedAt: string | Date;
|
|
7585
7585
|
displayName: string;
|
|
7586
7586
|
authorizeUrl: string;
|
|
@@ -7635,8 +7635,8 @@ declare const ToggleOAuthServerResponseSchema: z.ZodObject<{
|
|
|
7635
7635
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
7636
7636
|
}, "strip", z.ZodTypeAny, {
|
|
7637
7637
|
id: string;
|
|
7638
|
-
createdAt: string;
|
|
7639
7638
|
provider: string;
|
|
7639
|
+
createdAt: string;
|
|
7640
7640
|
updatedAt: string;
|
|
7641
7641
|
displayName: string;
|
|
7642
7642
|
authorizeUrl: string;
|
|
@@ -7651,8 +7651,8 @@ declare const ToggleOAuthServerResponseSchema: z.ZodObject<{
|
|
|
7651
7651
|
avatar?: string | undefined;
|
|
7652
7652
|
}, {
|
|
7653
7653
|
id: string;
|
|
7654
|
-
createdAt: string | Date;
|
|
7655
7654
|
provider: string;
|
|
7655
|
+
createdAt: string | Date;
|
|
7656
7656
|
updatedAt: string | Date;
|
|
7657
7657
|
displayName: string;
|
|
7658
7658
|
authorizeUrl: string;
|
|
@@ -7680,16 +7680,16 @@ declare const ListOAuthServersPublicResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
7680
7680
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
7681
7681
|
}, "strip", z.ZodTypeAny, {
|
|
7682
7682
|
id: string;
|
|
7683
|
-
createdAt: string;
|
|
7684
7683
|
provider: string;
|
|
7684
|
+
createdAt: string;
|
|
7685
7685
|
updatedAt: string;
|
|
7686
7686
|
displayName: string;
|
|
7687
7687
|
enabled: boolean;
|
|
7688
7688
|
avatar?: string | undefined;
|
|
7689
7689
|
}, {
|
|
7690
7690
|
id: string;
|
|
7691
|
-
createdAt: string | Date;
|
|
7692
7691
|
provider: string;
|
|
7692
|
+
createdAt: string | Date;
|
|
7693
7693
|
updatedAt: string | Date;
|
|
7694
7694
|
displayName: string;
|
|
7695
7695
|
enabled: boolean;
|
|
@@ -8761,11 +8761,11 @@ declare const AppAliveEventSchema: z.ZodObject<{
|
|
|
8761
8761
|
} & {
|
|
8762
8762
|
timestamp: z.ZodString;
|
|
8763
8763
|
}, "strip", z.ZodTypeAny, {
|
|
8764
|
-
eventId: string;
|
|
8765
8764
|
timestamp: string;
|
|
8766
|
-
}, {
|
|
8767
8765
|
eventId: string;
|
|
8766
|
+
}, {
|
|
8768
8767
|
timestamp: string;
|
|
8768
|
+
eventId: string;
|
|
8769
8769
|
}>;
|
|
8770
8770
|
type AppAliveEventData = z.infer<typeof AppAliveEventSchema>;
|
|
8771
8771
|
declare const ApiServerAliveEventSchema: z.ZodObject<{
|
|
@@ -8773,11 +8773,11 @@ declare const ApiServerAliveEventSchema: z.ZodObject<{
|
|
|
8773
8773
|
} & {
|
|
8774
8774
|
timestamp: z.ZodString;
|
|
8775
8775
|
}, "strip", z.ZodTypeAny, {
|
|
8776
|
-
eventId: string;
|
|
8777
8776
|
timestamp: string;
|
|
8778
|
-
}, {
|
|
8779
8777
|
eventId: string;
|
|
8778
|
+
}, {
|
|
8780
8779
|
timestamp: string;
|
|
8780
|
+
eventId: string;
|
|
8781
8781
|
}>;
|
|
8782
8782
|
type ApiServerAliveEventData = z.infer<typeof ApiServerAliveEventSchema>;
|
|
8783
8783
|
declare const MachineAliveEventSchema: z.ZodObject<{
|
|
@@ -8788,13 +8788,13 @@ declare const MachineAliveEventSchema: z.ZodObject<{
|
|
|
8788
8788
|
controlPort: z.ZodOptional<z.ZodNumber>;
|
|
8789
8789
|
}, "strip", z.ZodTypeAny, {
|
|
8790
8790
|
machineId: string;
|
|
8791
|
-
eventId: string;
|
|
8792
8791
|
timestamp: string;
|
|
8792
|
+
eventId: string;
|
|
8793
8793
|
controlPort?: number | undefined;
|
|
8794
8794
|
}, {
|
|
8795
8795
|
machineId: string;
|
|
8796
|
-
eventId: string;
|
|
8797
8796
|
timestamp: string;
|
|
8797
|
+
eventId: string;
|
|
8798
8798
|
controlPort?: number | undefined;
|
|
8799
8799
|
}>;
|
|
8800
8800
|
type MachineAliveEventData = z.infer<typeof MachineAliveEventSchema>;
|
|
@@ -8823,14 +8823,14 @@ declare const WorkerInitializingSchema: z.ZodObject<{
|
|
|
8823
8823
|
}, "strip", z.ZodTypeAny, {
|
|
8824
8824
|
machineId: string;
|
|
8825
8825
|
taskId: string;
|
|
8826
|
-
eventId: string;
|
|
8827
8826
|
timestamp: string;
|
|
8827
|
+
eventId: string;
|
|
8828
8828
|
cwd?: string | undefined;
|
|
8829
8829
|
}, {
|
|
8830
8830
|
machineId: string;
|
|
8831
8831
|
taskId: string;
|
|
8832
|
-
eventId: string;
|
|
8833
8832
|
timestamp: string;
|
|
8833
|
+
eventId: string;
|
|
8834
8834
|
cwd?: string | undefined;
|
|
8835
8835
|
}>;
|
|
8836
8836
|
type WorkerInitializingEventData = z.infer<typeof WorkerInitializingSchema>;
|
|
@@ -8844,14 +8844,14 @@ declare const WorkerInitializedSchema: z.ZodObject<{
|
|
|
8844
8844
|
}, "strip", z.ZodTypeAny, {
|
|
8845
8845
|
machineId: string;
|
|
8846
8846
|
taskId: string;
|
|
8847
|
-
eventId: string;
|
|
8848
8847
|
timestamp: string;
|
|
8848
|
+
eventId: string;
|
|
8849
8849
|
cwd?: string | undefined;
|
|
8850
8850
|
}, {
|
|
8851
8851
|
machineId: string;
|
|
8852
8852
|
taskId: string;
|
|
8853
|
-
eventId: string;
|
|
8854
8853
|
timestamp: string;
|
|
8854
|
+
eventId: string;
|
|
8855
8855
|
cwd?: string | undefined;
|
|
8856
8856
|
}>;
|
|
8857
8857
|
type WorkerInitializedEventData = z.infer<typeof WorkerInitializedSchema>;
|
|
@@ -8865,14 +8865,14 @@ declare const WorkerReadySchema: z.ZodObject<{
|
|
|
8865
8865
|
}, "strip", z.ZodTypeAny, {
|
|
8866
8866
|
machineId: string;
|
|
8867
8867
|
taskId: string;
|
|
8868
|
-
eventId: string;
|
|
8869
8868
|
timestamp: string;
|
|
8869
|
+
eventId: string;
|
|
8870
8870
|
duration?: number | undefined;
|
|
8871
8871
|
}, {
|
|
8872
8872
|
machineId: string;
|
|
8873
8873
|
taskId: string;
|
|
8874
|
-
eventId: string;
|
|
8875
8874
|
timestamp: string;
|
|
8875
|
+
eventId: string;
|
|
8876
8876
|
duration?: number | undefined;
|
|
8877
8877
|
}>;
|
|
8878
8878
|
type WorkerReadyEventData = z.infer<typeof WorkerReadySchema>;
|
|
@@ -8887,14 +8887,14 @@ declare const WorkerAliveEventSchema: z.ZodObject<{
|
|
|
8887
8887
|
status: string;
|
|
8888
8888
|
machineId: string;
|
|
8889
8889
|
taskId: string;
|
|
8890
|
-
eventId: string;
|
|
8891
8890
|
timestamp: string;
|
|
8891
|
+
eventId: string;
|
|
8892
8892
|
}, {
|
|
8893
8893
|
status: string;
|
|
8894
8894
|
machineId: string;
|
|
8895
8895
|
taskId: string;
|
|
8896
|
-
eventId: string;
|
|
8897
8896
|
timestamp: string;
|
|
8897
|
+
eventId: string;
|
|
8898
8898
|
}>;
|
|
8899
8899
|
type WorkerAliveEventData = z.infer<typeof WorkerAliveEventSchema>;
|
|
8900
8900
|
declare const WorkerExitSchema: z.ZodObject<{
|
|
@@ -8907,14 +8907,14 @@ declare const WorkerExitSchema: z.ZodObject<{
|
|
|
8907
8907
|
}, "strip", z.ZodTypeAny, {
|
|
8908
8908
|
machineId: string;
|
|
8909
8909
|
taskId: string;
|
|
8910
|
-
eventId: string;
|
|
8911
8910
|
timestamp: string;
|
|
8911
|
+
eventId: string;
|
|
8912
8912
|
reason?: string | undefined;
|
|
8913
8913
|
}, {
|
|
8914
8914
|
machineId: string;
|
|
8915
8915
|
taskId: string;
|
|
8916
|
-
eventId: string;
|
|
8917
8916
|
timestamp: string;
|
|
8917
|
+
eventId: string;
|
|
8918
8918
|
reason?: string | undefined;
|
|
8919
8919
|
}>;
|
|
8920
8920
|
type WorkerExitEventData = z.infer<typeof WorkerExitSchema>;
|
|
@@ -8927,13 +8927,13 @@ declare const WorkerRunningSchema: z.ZodObject<{
|
|
|
8927
8927
|
}, "strip", z.ZodTypeAny, {
|
|
8928
8928
|
machineId: string;
|
|
8929
8929
|
taskId: string;
|
|
8930
|
-
eventId: string;
|
|
8931
8930
|
timestamp: string;
|
|
8931
|
+
eventId: string;
|
|
8932
8932
|
}, {
|
|
8933
8933
|
machineId: string;
|
|
8934
8934
|
taskId: string;
|
|
8935
|
-
eventId: string;
|
|
8936
8935
|
timestamp: string;
|
|
8936
|
+
eventId: string;
|
|
8937
8937
|
}>;
|
|
8938
8938
|
type WorkerRunningEventData = z.infer<typeof WorkerRunningSchema>;
|
|
8939
8939
|
declare const WorkerStatusRequestSchema: z.ZodObject<{
|
|
@@ -8943,12 +8943,12 @@ declare const WorkerStatusRequestSchema: z.ZodObject<{
|
|
|
8943
8943
|
timestamp: z.ZodString;
|
|
8944
8944
|
}, "strip", z.ZodTypeAny, {
|
|
8945
8945
|
taskId: string;
|
|
8946
|
-
eventId: string;
|
|
8947
8946
|
timestamp: string;
|
|
8947
|
+
eventId: string;
|
|
8948
8948
|
}, {
|
|
8949
8949
|
taskId: string;
|
|
8950
|
-
eventId: string;
|
|
8951
8950
|
timestamp: string;
|
|
8951
|
+
eventId: string;
|
|
8952
8952
|
}>;
|
|
8953
8953
|
type WorkerStatusRequestEventData = z.infer<typeof WorkerStatusRequestSchema>;
|
|
8954
8954
|
declare const baseTaskSchema: z.ZodObject<{
|
|
@@ -8992,9 +8992,9 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
8992
8992
|
gitUrl?: string | undefined;
|
|
8993
8993
|
model?: string | undefined;
|
|
8994
8994
|
fallbackModel?: string | undefined;
|
|
8995
|
-
maxTurns?: number | undefined;
|
|
8996
8995
|
api_base_url?: string | undefined;
|
|
8997
8996
|
api_key?: string | undefined;
|
|
8997
|
+
maxTurns?: number | undefined;
|
|
8998
8998
|
environmentVariables?: Record<string, string> | undefined;
|
|
8999
8999
|
}, {
|
|
9000
9000
|
userId: string;
|
|
@@ -9011,12 +9011,12 @@ declare const baseTaskSchema: z.ZodObject<{
|
|
|
9011
9011
|
userCwd?: string | undefined;
|
|
9012
9012
|
agentDir?: string | undefined;
|
|
9013
9013
|
gitUrl?: string | undefined;
|
|
9014
|
+
agentType?: string | undefined;
|
|
9014
9015
|
model?: string | undefined;
|
|
9015
9016
|
fallbackModel?: string | undefined;
|
|
9016
|
-
maxTurns?: number | undefined;
|
|
9017
|
-
agentType?: string | undefined;
|
|
9018
9017
|
api_base_url?: string | undefined;
|
|
9019
9018
|
api_key?: string | undefined;
|
|
9019
|
+
maxTurns?: number | undefined;
|
|
9020
9020
|
environmentVariables?: Record<string, string> | undefined;
|
|
9021
9021
|
}>;
|
|
9022
9022
|
declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -9065,9 +9065,9 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9065
9065
|
gitUrl?: string | undefined;
|
|
9066
9066
|
model?: string | undefined;
|
|
9067
9067
|
fallbackModel?: string | undefined;
|
|
9068
|
-
maxTurns?: number | undefined;
|
|
9069
9068
|
api_base_url?: string | undefined;
|
|
9070
9069
|
api_key?: string | undefined;
|
|
9070
|
+
maxTurns?: number | undefined;
|
|
9071
9071
|
environmentVariables?: Record<string, string> | undefined;
|
|
9072
9072
|
}, {
|
|
9073
9073
|
userId: string;
|
|
@@ -9086,12 +9086,12 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9086
9086
|
userCwd?: string | undefined;
|
|
9087
9087
|
agentDir?: string | undefined;
|
|
9088
9088
|
gitUrl?: string | undefined;
|
|
9089
|
+
agentType?: string | undefined;
|
|
9089
9090
|
model?: string | undefined;
|
|
9090
9091
|
fallbackModel?: string | undefined;
|
|
9091
|
-
maxTurns?: number | undefined;
|
|
9092
|
-
agentType?: string | undefined;
|
|
9093
9092
|
api_base_url?: string | undefined;
|
|
9094
9093
|
api_key?: string | undefined;
|
|
9094
|
+
maxTurns?: number | undefined;
|
|
9095
9095
|
environmentVariables?: Record<string, string> | undefined;
|
|
9096
9096
|
}>, {
|
|
9097
9097
|
userId: string;
|
|
@@ -9113,9 +9113,9 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9113
9113
|
gitUrl?: string | undefined;
|
|
9114
9114
|
model?: string | undefined;
|
|
9115
9115
|
fallbackModel?: string | undefined;
|
|
9116
|
-
maxTurns?: number | undefined;
|
|
9117
9116
|
api_base_url?: string | undefined;
|
|
9118
9117
|
api_key?: string | undefined;
|
|
9118
|
+
maxTurns?: number | undefined;
|
|
9119
9119
|
environmentVariables?: Record<string, string> | undefined;
|
|
9120
9120
|
}, {
|
|
9121
9121
|
userId: string;
|
|
@@ -9134,12 +9134,12 @@ declare const createTaskSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9134
9134
|
userCwd?: string | undefined;
|
|
9135
9135
|
agentDir?: string | undefined;
|
|
9136
9136
|
gitUrl?: string | undefined;
|
|
9137
|
+
agentType?: string | undefined;
|
|
9137
9138
|
model?: string | undefined;
|
|
9138
9139
|
fallbackModel?: string | undefined;
|
|
9139
|
-
maxTurns?: number | undefined;
|
|
9140
|
-
agentType?: string | undefined;
|
|
9141
9140
|
api_base_url?: string | undefined;
|
|
9142
9141
|
api_key?: string | undefined;
|
|
9142
|
+
maxTurns?: number | undefined;
|
|
9143
9143
|
environmentVariables?: Record<string, string> | undefined;
|
|
9144
9144
|
}>;
|
|
9145
9145
|
type CreateTaskEventData = z.infer<typeof createTaskSchema>;
|
|
@@ -9193,9 +9193,9 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
9193
9193
|
gitUrl?: string | undefined;
|
|
9194
9194
|
model?: string | undefined;
|
|
9195
9195
|
fallbackModel?: string | undefined;
|
|
9196
|
-
maxTurns?: number | undefined;
|
|
9197
9196
|
api_base_url?: string | undefined;
|
|
9198
9197
|
api_key?: string | undefined;
|
|
9198
|
+
maxTurns?: number | undefined;
|
|
9199
9199
|
environmentVariables?: Record<string, string> | undefined;
|
|
9200
9200
|
event?: string | undefined;
|
|
9201
9201
|
eventData?: any;
|
|
@@ -9217,12 +9217,12 @@ declare const resumeTaskSchema: z.ZodObject<{
|
|
|
9217
9217
|
userCwd?: string | undefined;
|
|
9218
9218
|
agentDir?: string | undefined;
|
|
9219
9219
|
gitUrl?: string | undefined;
|
|
9220
|
+
agentType?: string | undefined;
|
|
9220
9221
|
model?: string | undefined;
|
|
9221
9222
|
fallbackModel?: string | undefined;
|
|
9222
|
-
maxTurns?: number | undefined;
|
|
9223
|
-
agentType?: string | undefined;
|
|
9224
9223
|
api_base_url?: string | undefined;
|
|
9225
9224
|
api_key?: string | undefined;
|
|
9225
|
+
maxTurns?: number | undefined;
|
|
9226
9226
|
environmentVariables?: Record<string, string> | undefined;
|
|
9227
9227
|
event?: string | undefined;
|
|
9228
9228
|
eventData?: any;
|
|
@@ -9335,18 +9335,18 @@ declare const TaskArtifactsUpdatedEventSchema: z.ZodObject<{
|
|
|
9335
9335
|
}>;
|
|
9336
9336
|
}, "strip", z.ZodTypeAny, {
|
|
9337
9337
|
taskId: string;
|
|
9338
|
-
eventId: string;
|
|
9339
9338
|
stats: {
|
|
9340
9339
|
totalInsertions: number;
|
|
9341
9340
|
totalDeletions: number;
|
|
9342
9341
|
};
|
|
9342
|
+
eventId: string;
|
|
9343
9343
|
}, {
|
|
9344
9344
|
taskId: string;
|
|
9345
|
-
eventId: string;
|
|
9346
9345
|
stats: {
|
|
9347
9346
|
totalInsertions: number;
|
|
9348
9347
|
totalDeletions: number;
|
|
9349
9348
|
};
|
|
9349
|
+
eventId: string;
|
|
9350
9350
|
}>;
|
|
9351
9351
|
type TaskArtifactsUpdatedEventData = z.infer<typeof TaskArtifactsUpdatedEventSchema>;
|
|
9352
9352
|
declare const ShowModalEventDataSchema: z.ZodObject<{
|
|
@@ -9360,16 +9360,16 @@ declare const ShowModalEventDataSchema: z.ZodObject<{
|
|
|
9360
9360
|
modalData: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
9361
9361
|
}, "strip", z.ZodTypeAny, {
|
|
9362
9362
|
taskId: string;
|
|
9363
|
-
eventId: string;
|
|
9364
9363
|
timestamp: string;
|
|
9364
|
+
eventId: string;
|
|
9365
9365
|
modalName: string;
|
|
9366
9366
|
modalData: Record<string, any>;
|
|
9367
9367
|
chatId?: string | undefined;
|
|
9368
9368
|
sequence?: number | undefined;
|
|
9369
9369
|
}, {
|
|
9370
9370
|
taskId: string;
|
|
9371
|
-
eventId: string;
|
|
9372
9371
|
timestamp: string;
|
|
9372
|
+
eventId: string;
|
|
9373
9373
|
modalName: string;
|
|
9374
9374
|
modalData: Record<string, any>;
|
|
9375
9375
|
chatId?: string | undefined;
|
|
@@ -10330,8 +10330,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10330
10330
|
newState: "open" | "closed" | "merged";
|
|
10331
10331
|
changedAt: string;
|
|
10332
10332
|
};
|
|
10333
|
-
eventId: string;
|
|
10334
10333
|
timestamp: string;
|
|
10334
|
+
eventId: string;
|
|
10335
10335
|
}, {
|
|
10336
10336
|
type: "machine-online" | "machine-offline" | "chat-added" | "chat-removed" | "chat-member-added" | "chat-member-removed" | "repo-added" | "repo-removed" | "pr-state-changed" | "draft-agent-added";
|
|
10337
10337
|
data: {
|
|
@@ -10418,8 +10418,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10418
10418
|
newState: "open" | "closed" | "merged";
|
|
10419
10419
|
changedAt: string;
|
|
10420
10420
|
};
|
|
10421
|
-
eventId: string;
|
|
10422
10421
|
timestamp: string;
|
|
10422
|
+
eventId: string;
|
|
10423
10423
|
}>;
|
|
10424
10424
|
type SystemMessageEventData = z.infer<typeof SystemMessageSchema>;
|
|
10425
10425
|
type EventData = AppAliveEventData | ApiServerAliveEventData | MachineAliveEventData | ShutdownMachineData | WorkerInitializingEventData | WorkerInitializedEventData | WorkerReadyEventData | WorkerAliveEventData | WorkerExitEventData | WorkerRunningEventData | WorkerStatusRequestEventData | CreateTaskEventData | ResumeTaskEventData | CancelTaskEventData | StopTaskEventData | TaskMessageEventData | ChangeTaskTitleEventData | TaskStateChangeEventData | UpdateTaskAgentSessionIdEventData | TaskInfoUpdateEventData | TaskArtifactsUpdatedEventData | MergeRequestEventData | SystemMessageEventData | CreditExhaustedEventData | RtcIceServersRequestEventData | RtcIceServersResponseEventData | MachineRtcRequestEventData | MachineRtcResponseEventData | RtcSignalEventData | WorkspaceFileRequestEventData | WorkspaceFileResponseEventData;
|