@agentrix/shared 2.0.8 → 2.0.9
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 +16 -2
- package/dist/index.d.cts +583 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -663,7 +663,11 @@ const DraftAgentConfigSchema = zod.z.object({
|
|
|
663
663
|
// environment configuration (from CLI envVars)
|
|
664
664
|
environmentSchema: zod.z.array(EnvironmentVariableSchema).optional(),
|
|
665
665
|
// Display configuration (same as AgentCustomConfig)
|
|
666
|
-
displayConfig: DisplayConfigSchema.optional()
|
|
666
|
+
displayConfig: DisplayConfigSchema.optional(),
|
|
667
|
+
// Agent UI fields (stored in config for DraftAgent, but as top-level fields in Agent)
|
|
668
|
+
signature: zod.z.string().optional(),
|
|
669
|
+
guildMsg: zod.z.string().optional(),
|
|
670
|
+
placeholderMsg: zod.z.string().optional()
|
|
667
671
|
});
|
|
668
672
|
const CreateDraftAgentRequestSchema = zod.z.object({
|
|
669
673
|
name: zod.z.string().min(1, "Name is required"),
|
|
@@ -675,7 +679,9 @@ const CreateDraftAgentRequestSchema = zod.z.object({
|
|
|
675
679
|
taskId: zod.z.string(),
|
|
676
680
|
envVars: zod.z.array(EnvironmentVariableSchema).optional(),
|
|
677
681
|
// From CLI tool
|
|
678
|
-
|
|
682
|
+
signature: zod.z.string().optional(),
|
|
683
|
+
guildMsg: zod.z.string().optional(),
|
|
684
|
+
placeholderMsg: zod.z.string().optional()
|
|
679
685
|
});
|
|
680
686
|
const SetEnvironmentVariablesRequestSchema = zod.z.object({
|
|
681
687
|
ownerType: zod.z.enum(["draft-agent", "agent", "machine", "cloud"]),
|
|
@@ -704,6 +710,12 @@ const DraftAgentSchema = zod.z.object({
|
|
|
704
710
|
createdAt: zod.z.string(),
|
|
705
711
|
updatedAt: zod.z.string()
|
|
706
712
|
});
|
|
713
|
+
const UpdateDraftAgentRequestSchema = zod.z.object({
|
|
714
|
+
avatar: zod.z.string().nullable().optional(),
|
|
715
|
+
description: zod.z.string().nullable().optional(),
|
|
716
|
+
config: DraftAgentConfigSchema.partial().optional()
|
|
717
|
+
});
|
|
718
|
+
const UpdateDraftAgentResponseSchema = DraftAgentSchema;
|
|
707
719
|
const GetUserAgentsResponseSchema = zod.z.object({
|
|
708
720
|
agents: zod.z.array(AgentSchema),
|
|
709
721
|
// Published agents
|
|
@@ -2451,6 +2463,8 @@ exports.UnarchiveTaskRequestSchema = UnarchiveTaskRequestSchema;
|
|
|
2451
2463
|
exports.UnarchiveTaskResponseSchema = UnarchiveTaskResponseSchema;
|
|
2452
2464
|
exports.UpdateAgentRequestSchema = UpdateAgentRequestSchema;
|
|
2453
2465
|
exports.UpdateAgentResponseSchema = UpdateAgentResponseSchema;
|
|
2466
|
+
exports.UpdateDraftAgentRequestSchema = UpdateDraftAgentRequestSchema;
|
|
2467
|
+
exports.UpdateDraftAgentResponseSchema = UpdateDraftAgentResponseSchema;
|
|
2454
2468
|
exports.UpdateOAuthServerRequestSchema = UpdateOAuthServerRequestSchema;
|
|
2455
2469
|
exports.UpdateOAuthServerResponseSchema = UpdateOAuthServerResponseSchema;
|
|
2456
2470
|
exports.UpdateTaskAgentSessionIdEventSchema = UpdateTaskAgentSessionIdEventSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -5302,7 +5302,11 @@ declare const DraftAgentConfigSchema: z.ZodObject<{
|
|
|
5302
5302
|
permissionCanMergePr?: string | undefined;
|
|
5303
5303
|
permissionCanMergePrDesc?: string | undefined;
|
|
5304
5304
|
}>>>;
|
|
5305
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
5306
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
5307
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
5305
5308
|
}, "strip", z.ZodTypeAny, {
|
|
5309
|
+
signature?: string | undefined;
|
|
5306
5310
|
displayConfig?: Record<string, {
|
|
5307
5311
|
closed?: string | undefined;
|
|
5308
5312
|
merged?: string | undefined;
|
|
@@ -5322,6 +5326,8 @@ declare const DraftAgentConfigSchema: z.ZodObject<{
|
|
|
5322
5326
|
permissionCanMergePr?: string | undefined;
|
|
5323
5327
|
permissionCanMergePrDesc?: string | undefined;
|
|
5324
5328
|
}> | undefined;
|
|
5329
|
+
guildMsg?: string | undefined;
|
|
5330
|
+
placeholderMsg?: string | undefined;
|
|
5325
5331
|
environmentSchema?: {
|
|
5326
5332
|
type: "string" | "number" | "boolean" | "secret";
|
|
5327
5333
|
name: string;
|
|
@@ -5330,6 +5336,7 @@ declare const DraftAgentConfigSchema: z.ZodObject<{
|
|
|
5330
5336
|
defaultValue?: string | undefined;
|
|
5331
5337
|
}[] | undefined;
|
|
5332
5338
|
}, {
|
|
5339
|
+
signature?: string | undefined;
|
|
5333
5340
|
displayConfig?: Record<string, {
|
|
5334
5341
|
closed?: string | undefined;
|
|
5335
5342
|
merged?: string | undefined;
|
|
@@ -5349,6 +5356,8 @@ declare const DraftAgentConfigSchema: z.ZodObject<{
|
|
|
5349
5356
|
permissionCanMergePr?: string | undefined;
|
|
5350
5357
|
permissionCanMergePrDesc?: string | undefined;
|
|
5351
5358
|
}> | undefined;
|
|
5359
|
+
guildMsg?: string | undefined;
|
|
5360
|
+
placeholderMsg?: string | undefined;
|
|
5352
5361
|
environmentSchema?: {
|
|
5353
5362
|
type: "string" | "number" | "boolean" | "secret";
|
|
5354
5363
|
name: string;
|
|
@@ -5389,16 +5398,20 @@ declare const CreateDraftAgentRequestSchema: z.ZodObject<{
|
|
|
5389
5398
|
required?: boolean | undefined;
|
|
5390
5399
|
defaultValue?: string | undefined;
|
|
5391
5400
|
}>, "many">>;
|
|
5392
|
-
|
|
5401
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
5402
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
5403
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
5393
5404
|
}, "strip", z.ZodTypeAny, {
|
|
5394
5405
|
type: "claude" | "codex";
|
|
5395
5406
|
userId: string;
|
|
5396
5407
|
taskId: string;
|
|
5397
5408
|
name: string;
|
|
5398
5409
|
agentDir: string;
|
|
5399
|
-
isUpdate: boolean;
|
|
5400
5410
|
avatar?: string | undefined;
|
|
5411
|
+
signature?: string | undefined;
|
|
5401
5412
|
description?: string | undefined;
|
|
5413
|
+
guildMsg?: string | undefined;
|
|
5414
|
+
placeholderMsg?: string | undefined;
|
|
5402
5415
|
envVars?: {
|
|
5403
5416
|
type: "string" | "number" | "boolean" | "secret";
|
|
5404
5417
|
name: string;
|
|
@@ -5413,7 +5426,10 @@ declare const CreateDraftAgentRequestSchema: z.ZodObject<{
|
|
|
5413
5426
|
agentDir: string;
|
|
5414
5427
|
type?: "claude" | "codex" | undefined;
|
|
5415
5428
|
avatar?: string | undefined;
|
|
5429
|
+
signature?: string | undefined;
|
|
5416
5430
|
description?: string | undefined;
|
|
5431
|
+
guildMsg?: string | undefined;
|
|
5432
|
+
placeholderMsg?: string | undefined;
|
|
5417
5433
|
envVars?: {
|
|
5418
5434
|
type: "string" | "number" | "boolean" | "secret";
|
|
5419
5435
|
name: string;
|
|
@@ -5421,7 +5437,6 @@ declare const CreateDraftAgentRequestSchema: z.ZodObject<{
|
|
|
5421
5437
|
required?: boolean | undefined;
|
|
5422
5438
|
defaultValue?: string | undefined;
|
|
5423
5439
|
}[] | undefined;
|
|
5424
|
-
isUpdate?: boolean | undefined;
|
|
5425
5440
|
}>;
|
|
5426
5441
|
type CreateDraftAgentRequest = z.infer<typeof CreateDraftAgentRequestSchema>;
|
|
5427
5442
|
/**
|
|
@@ -5540,7 +5555,11 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5540
5555
|
permissionCanMergePr?: string | undefined;
|
|
5541
5556
|
permissionCanMergePrDesc?: string | undefined;
|
|
5542
5557
|
}>>>;
|
|
5558
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
5559
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
5560
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
5543
5561
|
}, "strip", z.ZodTypeAny, {
|
|
5562
|
+
signature?: string | undefined;
|
|
5544
5563
|
displayConfig?: Record<string, {
|
|
5545
5564
|
closed?: string | undefined;
|
|
5546
5565
|
merged?: string | undefined;
|
|
@@ -5560,6 +5579,8 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5560
5579
|
permissionCanMergePr?: string | undefined;
|
|
5561
5580
|
permissionCanMergePrDesc?: string | undefined;
|
|
5562
5581
|
}> | undefined;
|
|
5582
|
+
guildMsg?: string | undefined;
|
|
5583
|
+
placeholderMsg?: string | undefined;
|
|
5563
5584
|
environmentSchema?: {
|
|
5564
5585
|
type: "string" | "number" | "boolean" | "secret";
|
|
5565
5586
|
name: string;
|
|
@@ -5568,6 +5589,7 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5568
5589
|
defaultValue?: string | undefined;
|
|
5569
5590
|
}[] | undefined;
|
|
5570
5591
|
}, {
|
|
5592
|
+
signature?: string | undefined;
|
|
5571
5593
|
displayConfig?: Record<string, {
|
|
5572
5594
|
closed?: string | undefined;
|
|
5573
5595
|
merged?: string | undefined;
|
|
@@ -5587,6 +5609,8 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5587
5609
|
permissionCanMergePr?: string | undefined;
|
|
5588
5610
|
permissionCanMergePrDesc?: string | undefined;
|
|
5589
5611
|
}> | undefined;
|
|
5612
|
+
guildMsg?: string | undefined;
|
|
5613
|
+
placeholderMsg?: string | undefined;
|
|
5590
5614
|
environmentSchema?: {
|
|
5591
5615
|
type: "string" | "number" | "boolean" | "secret";
|
|
5592
5616
|
name: string;
|
|
@@ -5624,6 +5648,7 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5624
5648
|
description: string | null;
|
|
5625
5649
|
enable: boolean;
|
|
5626
5650
|
config: {
|
|
5651
|
+
signature?: string | undefined;
|
|
5627
5652
|
displayConfig?: Record<string, {
|
|
5628
5653
|
closed?: string | undefined;
|
|
5629
5654
|
merged?: string | undefined;
|
|
@@ -5643,6 +5668,8 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5643
5668
|
permissionCanMergePr?: string | undefined;
|
|
5644
5669
|
permissionCanMergePrDesc?: string | undefined;
|
|
5645
5670
|
}> | undefined;
|
|
5671
|
+
guildMsg?: string | undefined;
|
|
5672
|
+
placeholderMsg?: string | undefined;
|
|
5646
5673
|
environmentSchema?: {
|
|
5647
5674
|
type: "string" | "number" | "boolean" | "secret";
|
|
5648
5675
|
name: string;
|
|
@@ -5670,6 +5697,7 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5670
5697
|
description: string | null;
|
|
5671
5698
|
enable: boolean;
|
|
5672
5699
|
config: {
|
|
5700
|
+
signature?: string | undefined;
|
|
5673
5701
|
displayConfig?: Record<string, {
|
|
5674
5702
|
closed?: string | undefined;
|
|
5675
5703
|
merged?: string | undefined;
|
|
@@ -5689,6 +5717,8 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5689
5717
|
permissionCanMergePr?: string | undefined;
|
|
5690
5718
|
permissionCanMergePrDesc?: string | undefined;
|
|
5691
5719
|
}> | undefined;
|
|
5720
|
+
guildMsg?: string | undefined;
|
|
5721
|
+
placeholderMsg?: string | undefined;
|
|
5692
5722
|
environmentSchema?: {
|
|
5693
5723
|
type: "string" | "number" | "boolean" | "secret";
|
|
5694
5724
|
name: string;
|
|
@@ -5703,6 +5733,487 @@ declare const DraftAgentSchema: z.ZodObject<{
|
|
|
5703
5733
|
sourceTaskId: string | null;
|
|
5704
5734
|
}>;
|
|
5705
5735
|
type DraftAgent = z.infer<typeof DraftAgentSchema>;
|
|
5736
|
+
/**
|
|
5737
|
+
* Request schema for updating draft-agent
|
|
5738
|
+
*/
|
|
5739
|
+
declare const UpdateDraftAgentRequestSchema: z.ZodObject<{
|
|
5740
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5741
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5742
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
5743
|
+
environmentSchema: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5744
|
+
name: z.ZodString;
|
|
5745
|
+
type: z.ZodEnum<["string", "number", "boolean", "secret"]>;
|
|
5746
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5747
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
5748
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
5749
|
+
}, "strip", z.ZodTypeAny, {
|
|
5750
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5751
|
+
name: string;
|
|
5752
|
+
required: boolean;
|
|
5753
|
+
description?: string | undefined;
|
|
5754
|
+
defaultValue?: string | undefined;
|
|
5755
|
+
}, {
|
|
5756
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5757
|
+
name: string;
|
|
5758
|
+
description?: string | undefined;
|
|
5759
|
+
required?: boolean | undefined;
|
|
5760
|
+
defaultValue?: string | undefined;
|
|
5761
|
+
}>, "many">>>;
|
|
5762
|
+
displayConfig: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5763
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
5764
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
5765
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
5766
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
5767
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
5768
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
5769
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
5770
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
5771
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
5772
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
5773
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
5774
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
5775
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
5776
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
5777
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
5778
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
5779
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
5780
|
+
}, "strip", z.ZodTypeAny, {
|
|
5781
|
+
closed?: string | undefined;
|
|
5782
|
+
merged?: string | undefined;
|
|
5783
|
+
createPR?: string | undefined;
|
|
5784
|
+
viewPR?: string | undefined;
|
|
5785
|
+
mergePR?: string | undefined;
|
|
5786
|
+
approvePR?: string | undefined;
|
|
5787
|
+
recreatePR?: string | undefined;
|
|
5788
|
+
permissionCanSendMessage?: string | undefined;
|
|
5789
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5790
|
+
permissionCanCreatePr?: string | undefined;
|
|
5791
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5792
|
+
permissionCanApprovePr?: string | undefined;
|
|
5793
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5794
|
+
permissionCanViewPr?: string | undefined;
|
|
5795
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5796
|
+
permissionCanMergePr?: string | undefined;
|
|
5797
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5798
|
+
}, {
|
|
5799
|
+
closed?: string | undefined;
|
|
5800
|
+
merged?: string | undefined;
|
|
5801
|
+
createPR?: string | undefined;
|
|
5802
|
+
viewPR?: string | undefined;
|
|
5803
|
+
mergePR?: string | undefined;
|
|
5804
|
+
approvePR?: string | undefined;
|
|
5805
|
+
recreatePR?: string | undefined;
|
|
5806
|
+
permissionCanSendMessage?: string | undefined;
|
|
5807
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5808
|
+
permissionCanCreatePr?: string | undefined;
|
|
5809
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5810
|
+
permissionCanApprovePr?: string | undefined;
|
|
5811
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5812
|
+
permissionCanViewPr?: string | undefined;
|
|
5813
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5814
|
+
permissionCanMergePr?: string | undefined;
|
|
5815
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5816
|
+
}>>>>;
|
|
5817
|
+
signature: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5818
|
+
guildMsg: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5819
|
+
placeholderMsg: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5820
|
+
}, "strip", z.ZodTypeAny, {
|
|
5821
|
+
signature?: string | undefined;
|
|
5822
|
+
displayConfig?: Record<string, {
|
|
5823
|
+
closed?: string | undefined;
|
|
5824
|
+
merged?: string | undefined;
|
|
5825
|
+
createPR?: string | undefined;
|
|
5826
|
+
viewPR?: string | undefined;
|
|
5827
|
+
mergePR?: string | undefined;
|
|
5828
|
+
approvePR?: string | undefined;
|
|
5829
|
+
recreatePR?: string | undefined;
|
|
5830
|
+
permissionCanSendMessage?: string | undefined;
|
|
5831
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5832
|
+
permissionCanCreatePr?: string | undefined;
|
|
5833
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5834
|
+
permissionCanApprovePr?: string | undefined;
|
|
5835
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5836
|
+
permissionCanViewPr?: string | undefined;
|
|
5837
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5838
|
+
permissionCanMergePr?: string | undefined;
|
|
5839
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5840
|
+
}> | undefined;
|
|
5841
|
+
guildMsg?: string | undefined;
|
|
5842
|
+
placeholderMsg?: string | undefined;
|
|
5843
|
+
environmentSchema?: {
|
|
5844
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5845
|
+
name: string;
|
|
5846
|
+
required: boolean;
|
|
5847
|
+
description?: string | undefined;
|
|
5848
|
+
defaultValue?: string | undefined;
|
|
5849
|
+
}[] | undefined;
|
|
5850
|
+
}, {
|
|
5851
|
+
signature?: string | undefined;
|
|
5852
|
+
displayConfig?: Record<string, {
|
|
5853
|
+
closed?: string | undefined;
|
|
5854
|
+
merged?: string | undefined;
|
|
5855
|
+
createPR?: string | undefined;
|
|
5856
|
+
viewPR?: string | undefined;
|
|
5857
|
+
mergePR?: string | undefined;
|
|
5858
|
+
approvePR?: string | undefined;
|
|
5859
|
+
recreatePR?: string | undefined;
|
|
5860
|
+
permissionCanSendMessage?: string | undefined;
|
|
5861
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5862
|
+
permissionCanCreatePr?: string | undefined;
|
|
5863
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5864
|
+
permissionCanApprovePr?: string | undefined;
|
|
5865
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5866
|
+
permissionCanViewPr?: string | undefined;
|
|
5867
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5868
|
+
permissionCanMergePr?: string | undefined;
|
|
5869
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5870
|
+
}> | undefined;
|
|
5871
|
+
guildMsg?: string | undefined;
|
|
5872
|
+
placeholderMsg?: string | undefined;
|
|
5873
|
+
environmentSchema?: {
|
|
5874
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5875
|
+
name: string;
|
|
5876
|
+
description?: string | undefined;
|
|
5877
|
+
required?: boolean | undefined;
|
|
5878
|
+
defaultValue?: string | undefined;
|
|
5879
|
+
}[] | undefined;
|
|
5880
|
+
}>>;
|
|
5881
|
+
}, "strip", z.ZodTypeAny, {
|
|
5882
|
+
avatar?: string | null | undefined;
|
|
5883
|
+
description?: string | null | undefined;
|
|
5884
|
+
config?: {
|
|
5885
|
+
signature?: string | undefined;
|
|
5886
|
+
displayConfig?: Record<string, {
|
|
5887
|
+
closed?: string | undefined;
|
|
5888
|
+
merged?: string | undefined;
|
|
5889
|
+
createPR?: string | undefined;
|
|
5890
|
+
viewPR?: string | undefined;
|
|
5891
|
+
mergePR?: string | undefined;
|
|
5892
|
+
approvePR?: string | undefined;
|
|
5893
|
+
recreatePR?: string | undefined;
|
|
5894
|
+
permissionCanSendMessage?: string | undefined;
|
|
5895
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5896
|
+
permissionCanCreatePr?: string | undefined;
|
|
5897
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5898
|
+
permissionCanApprovePr?: string | undefined;
|
|
5899
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5900
|
+
permissionCanViewPr?: string | undefined;
|
|
5901
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5902
|
+
permissionCanMergePr?: string | undefined;
|
|
5903
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5904
|
+
}> | undefined;
|
|
5905
|
+
guildMsg?: string | undefined;
|
|
5906
|
+
placeholderMsg?: string | undefined;
|
|
5907
|
+
environmentSchema?: {
|
|
5908
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5909
|
+
name: string;
|
|
5910
|
+
required: boolean;
|
|
5911
|
+
description?: string | undefined;
|
|
5912
|
+
defaultValue?: string | undefined;
|
|
5913
|
+
}[] | undefined;
|
|
5914
|
+
} | undefined;
|
|
5915
|
+
}, {
|
|
5916
|
+
avatar?: string | null | undefined;
|
|
5917
|
+
description?: string | null | undefined;
|
|
5918
|
+
config?: {
|
|
5919
|
+
signature?: string | undefined;
|
|
5920
|
+
displayConfig?: Record<string, {
|
|
5921
|
+
closed?: string | undefined;
|
|
5922
|
+
merged?: string | undefined;
|
|
5923
|
+
createPR?: string | undefined;
|
|
5924
|
+
viewPR?: string | undefined;
|
|
5925
|
+
mergePR?: string | undefined;
|
|
5926
|
+
approvePR?: string | undefined;
|
|
5927
|
+
recreatePR?: string | undefined;
|
|
5928
|
+
permissionCanSendMessage?: string | undefined;
|
|
5929
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
5930
|
+
permissionCanCreatePr?: string | undefined;
|
|
5931
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
5932
|
+
permissionCanApprovePr?: string | undefined;
|
|
5933
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
5934
|
+
permissionCanViewPr?: string | undefined;
|
|
5935
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
5936
|
+
permissionCanMergePr?: string | undefined;
|
|
5937
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
5938
|
+
}> | undefined;
|
|
5939
|
+
guildMsg?: string | undefined;
|
|
5940
|
+
placeholderMsg?: string | undefined;
|
|
5941
|
+
environmentSchema?: {
|
|
5942
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5943
|
+
name: string;
|
|
5944
|
+
description?: string | undefined;
|
|
5945
|
+
required?: boolean | undefined;
|
|
5946
|
+
defaultValue?: string | undefined;
|
|
5947
|
+
}[] | undefined;
|
|
5948
|
+
} | undefined;
|
|
5949
|
+
}>;
|
|
5950
|
+
type UpdateDraftAgentRequest = z.infer<typeof UpdateDraftAgentRequestSchema>;
|
|
5951
|
+
/**
|
|
5952
|
+
* Response schema for updating draft-agent
|
|
5953
|
+
*/
|
|
5954
|
+
declare const UpdateDraftAgentResponseSchema: z.ZodObject<{
|
|
5955
|
+
id: z.ZodString;
|
|
5956
|
+
name: z.ZodString;
|
|
5957
|
+
displayName: z.ZodString;
|
|
5958
|
+
agentDir: z.ZodString;
|
|
5959
|
+
type: z.ZodEnum<["claude", "codex"]>;
|
|
5960
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
5961
|
+
userId: z.ZodString;
|
|
5962
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5963
|
+
enable: z.ZodBoolean;
|
|
5964
|
+
config: z.ZodNullable<z.ZodObject<{
|
|
5965
|
+
environmentSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5966
|
+
name: z.ZodString;
|
|
5967
|
+
type: z.ZodEnum<["string", "number", "boolean", "secret"]>;
|
|
5968
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5969
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
5970
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
5971
|
+
}, "strip", z.ZodTypeAny, {
|
|
5972
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5973
|
+
name: string;
|
|
5974
|
+
required: boolean;
|
|
5975
|
+
description?: string | undefined;
|
|
5976
|
+
defaultValue?: string | undefined;
|
|
5977
|
+
}, {
|
|
5978
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
5979
|
+
name: string;
|
|
5980
|
+
description?: string | undefined;
|
|
5981
|
+
required?: boolean | undefined;
|
|
5982
|
+
defaultValue?: string | undefined;
|
|
5983
|
+
}>, "many">>;
|
|
5984
|
+
displayConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5985
|
+
createPR: z.ZodOptional<z.ZodString>;
|
|
5986
|
+
viewPR: z.ZodOptional<z.ZodString>;
|
|
5987
|
+
mergePR: z.ZodOptional<z.ZodString>;
|
|
5988
|
+
approvePR: z.ZodOptional<z.ZodString>;
|
|
5989
|
+
merged: z.ZodOptional<z.ZodString>;
|
|
5990
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
5991
|
+
recreatePR: z.ZodOptional<z.ZodString>;
|
|
5992
|
+
permissionCanSendMessage: z.ZodOptional<z.ZodString>;
|
|
5993
|
+
permissionCanSendMessageDesc: z.ZodOptional<z.ZodString>;
|
|
5994
|
+
permissionCanCreatePr: z.ZodOptional<z.ZodString>;
|
|
5995
|
+
permissionCanCreatePrDesc: z.ZodOptional<z.ZodString>;
|
|
5996
|
+
permissionCanApprovePr: z.ZodOptional<z.ZodString>;
|
|
5997
|
+
permissionCanApprovePrDesc: z.ZodOptional<z.ZodString>;
|
|
5998
|
+
permissionCanViewPr: z.ZodOptional<z.ZodString>;
|
|
5999
|
+
permissionCanViewPrDesc: z.ZodOptional<z.ZodString>;
|
|
6000
|
+
permissionCanMergePr: z.ZodOptional<z.ZodString>;
|
|
6001
|
+
permissionCanMergePrDesc: z.ZodOptional<z.ZodString>;
|
|
6002
|
+
}, "strip", z.ZodTypeAny, {
|
|
6003
|
+
closed?: string | undefined;
|
|
6004
|
+
merged?: string | undefined;
|
|
6005
|
+
createPR?: string | undefined;
|
|
6006
|
+
viewPR?: string | undefined;
|
|
6007
|
+
mergePR?: string | undefined;
|
|
6008
|
+
approvePR?: string | undefined;
|
|
6009
|
+
recreatePR?: string | undefined;
|
|
6010
|
+
permissionCanSendMessage?: string | undefined;
|
|
6011
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
6012
|
+
permissionCanCreatePr?: string | undefined;
|
|
6013
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
6014
|
+
permissionCanApprovePr?: string | undefined;
|
|
6015
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
6016
|
+
permissionCanViewPr?: string | undefined;
|
|
6017
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
6018
|
+
permissionCanMergePr?: string | undefined;
|
|
6019
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
6020
|
+
}, {
|
|
6021
|
+
closed?: string | undefined;
|
|
6022
|
+
merged?: string | undefined;
|
|
6023
|
+
createPR?: string | undefined;
|
|
6024
|
+
viewPR?: string | undefined;
|
|
6025
|
+
mergePR?: string | undefined;
|
|
6026
|
+
approvePR?: string | undefined;
|
|
6027
|
+
recreatePR?: string | undefined;
|
|
6028
|
+
permissionCanSendMessage?: string | undefined;
|
|
6029
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
6030
|
+
permissionCanCreatePr?: string | undefined;
|
|
6031
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
6032
|
+
permissionCanApprovePr?: string | undefined;
|
|
6033
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
6034
|
+
permissionCanViewPr?: string | undefined;
|
|
6035
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
6036
|
+
permissionCanMergePr?: string | undefined;
|
|
6037
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
6038
|
+
}>>>;
|
|
6039
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
6040
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
6041
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
6042
|
+
}, "strip", z.ZodTypeAny, {
|
|
6043
|
+
signature?: string | undefined;
|
|
6044
|
+
displayConfig?: Record<string, {
|
|
6045
|
+
closed?: string | undefined;
|
|
6046
|
+
merged?: string | undefined;
|
|
6047
|
+
createPR?: string | undefined;
|
|
6048
|
+
viewPR?: string | undefined;
|
|
6049
|
+
mergePR?: string | undefined;
|
|
6050
|
+
approvePR?: string | undefined;
|
|
6051
|
+
recreatePR?: string | undefined;
|
|
6052
|
+
permissionCanSendMessage?: string | undefined;
|
|
6053
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
6054
|
+
permissionCanCreatePr?: string | undefined;
|
|
6055
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
6056
|
+
permissionCanApprovePr?: string | undefined;
|
|
6057
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
6058
|
+
permissionCanViewPr?: string | undefined;
|
|
6059
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
6060
|
+
permissionCanMergePr?: string | undefined;
|
|
6061
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
6062
|
+
}> | undefined;
|
|
6063
|
+
guildMsg?: string | undefined;
|
|
6064
|
+
placeholderMsg?: string | undefined;
|
|
6065
|
+
environmentSchema?: {
|
|
6066
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
6067
|
+
name: string;
|
|
6068
|
+
required: boolean;
|
|
6069
|
+
description?: string | undefined;
|
|
6070
|
+
defaultValue?: string | undefined;
|
|
6071
|
+
}[] | undefined;
|
|
6072
|
+
}, {
|
|
6073
|
+
signature?: string | undefined;
|
|
6074
|
+
displayConfig?: Record<string, {
|
|
6075
|
+
closed?: string | undefined;
|
|
6076
|
+
merged?: string | undefined;
|
|
6077
|
+
createPR?: string | undefined;
|
|
6078
|
+
viewPR?: string | undefined;
|
|
6079
|
+
mergePR?: string | undefined;
|
|
6080
|
+
approvePR?: string | undefined;
|
|
6081
|
+
recreatePR?: string | undefined;
|
|
6082
|
+
permissionCanSendMessage?: string | undefined;
|
|
6083
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
6084
|
+
permissionCanCreatePr?: string | undefined;
|
|
6085
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
6086
|
+
permissionCanApprovePr?: string | undefined;
|
|
6087
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
6088
|
+
permissionCanViewPr?: string | undefined;
|
|
6089
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
6090
|
+
permissionCanMergePr?: string | undefined;
|
|
6091
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
6092
|
+
}> | undefined;
|
|
6093
|
+
guildMsg?: string | undefined;
|
|
6094
|
+
placeholderMsg?: string | undefined;
|
|
6095
|
+
environmentSchema?: {
|
|
6096
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
6097
|
+
name: string;
|
|
6098
|
+
description?: string | undefined;
|
|
6099
|
+
required?: boolean | undefined;
|
|
6100
|
+
defaultValue?: string | undefined;
|
|
6101
|
+
}[] | undefined;
|
|
6102
|
+
}>>;
|
|
6103
|
+
permissions: z.ZodNullable<z.ZodObject<{
|
|
6104
|
+
role: z.ZodString;
|
|
6105
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6106
|
+
}, "strip", z.ZodTypeAny, {
|
|
6107
|
+
role: string;
|
|
6108
|
+
paths?: string[] | undefined;
|
|
6109
|
+
}, {
|
|
6110
|
+
role: string;
|
|
6111
|
+
paths?: string[] | undefined;
|
|
6112
|
+
}>>;
|
|
6113
|
+
publishedAgentId: z.ZodNullable<z.ZodString>;
|
|
6114
|
+
sourceTaskId: z.ZodNullable<z.ZodString>;
|
|
6115
|
+
createdAt: z.ZodString;
|
|
6116
|
+
updatedAt: z.ZodString;
|
|
6117
|
+
}, "strip", z.ZodTypeAny, {
|
|
6118
|
+
type: "claude" | "codex";
|
|
6119
|
+
id: string;
|
|
6120
|
+
avatar: string | null;
|
|
6121
|
+
createdAt: string;
|
|
6122
|
+
userId: string;
|
|
6123
|
+
permissions: {
|
|
6124
|
+
role: string;
|
|
6125
|
+
paths?: string[] | undefined;
|
|
6126
|
+
} | null;
|
|
6127
|
+
updatedAt: string;
|
|
6128
|
+
name: string;
|
|
6129
|
+
description: string | null;
|
|
6130
|
+
enable: boolean;
|
|
6131
|
+
config: {
|
|
6132
|
+
signature?: string | undefined;
|
|
6133
|
+
displayConfig?: Record<string, {
|
|
6134
|
+
closed?: string | undefined;
|
|
6135
|
+
merged?: string | undefined;
|
|
6136
|
+
createPR?: string | undefined;
|
|
6137
|
+
viewPR?: string | undefined;
|
|
6138
|
+
mergePR?: string | undefined;
|
|
6139
|
+
approvePR?: string | undefined;
|
|
6140
|
+
recreatePR?: string | undefined;
|
|
6141
|
+
permissionCanSendMessage?: string | undefined;
|
|
6142
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
6143
|
+
permissionCanCreatePr?: string | undefined;
|
|
6144
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
6145
|
+
permissionCanApprovePr?: string | undefined;
|
|
6146
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
6147
|
+
permissionCanViewPr?: string | undefined;
|
|
6148
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
6149
|
+
permissionCanMergePr?: string | undefined;
|
|
6150
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
6151
|
+
}> | undefined;
|
|
6152
|
+
guildMsg?: string | undefined;
|
|
6153
|
+
placeholderMsg?: string | undefined;
|
|
6154
|
+
environmentSchema?: {
|
|
6155
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
6156
|
+
name: string;
|
|
6157
|
+
required: boolean;
|
|
6158
|
+
description?: string | undefined;
|
|
6159
|
+
defaultValue?: string | undefined;
|
|
6160
|
+
}[] | undefined;
|
|
6161
|
+
} | null;
|
|
6162
|
+
agentDir: string;
|
|
6163
|
+
displayName: string;
|
|
6164
|
+
publishedAgentId: string | null;
|
|
6165
|
+
sourceTaskId: string | null;
|
|
6166
|
+
}, {
|
|
6167
|
+
type: "claude" | "codex";
|
|
6168
|
+
id: string;
|
|
6169
|
+
avatar: string | null;
|
|
6170
|
+
createdAt: string;
|
|
6171
|
+
userId: string;
|
|
6172
|
+
permissions: {
|
|
6173
|
+
role: string;
|
|
6174
|
+
paths?: string[] | undefined;
|
|
6175
|
+
} | null;
|
|
6176
|
+
updatedAt: string;
|
|
6177
|
+
name: string;
|
|
6178
|
+
description: string | null;
|
|
6179
|
+
enable: boolean;
|
|
6180
|
+
config: {
|
|
6181
|
+
signature?: string | undefined;
|
|
6182
|
+
displayConfig?: Record<string, {
|
|
6183
|
+
closed?: string | undefined;
|
|
6184
|
+
merged?: string | undefined;
|
|
6185
|
+
createPR?: string | undefined;
|
|
6186
|
+
viewPR?: string | undefined;
|
|
6187
|
+
mergePR?: string | undefined;
|
|
6188
|
+
approvePR?: string | undefined;
|
|
6189
|
+
recreatePR?: string | undefined;
|
|
6190
|
+
permissionCanSendMessage?: string | undefined;
|
|
6191
|
+
permissionCanSendMessageDesc?: string | undefined;
|
|
6192
|
+
permissionCanCreatePr?: string | undefined;
|
|
6193
|
+
permissionCanCreatePrDesc?: string | undefined;
|
|
6194
|
+
permissionCanApprovePr?: string | undefined;
|
|
6195
|
+
permissionCanApprovePrDesc?: string | undefined;
|
|
6196
|
+
permissionCanViewPr?: string | undefined;
|
|
6197
|
+
permissionCanViewPrDesc?: string | undefined;
|
|
6198
|
+
permissionCanMergePr?: string | undefined;
|
|
6199
|
+
permissionCanMergePrDesc?: string | undefined;
|
|
6200
|
+
}> | undefined;
|
|
6201
|
+
guildMsg?: string | undefined;
|
|
6202
|
+
placeholderMsg?: string | undefined;
|
|
6203
|
+
environmentSchema?: {
|
|
6204
|
+
type: "string" | "number" | "boolean" | "secret";
|
|
6205
|
+
name: string;
|
|
6206
|
+
description?: string | undefined;
|
|
6207
|
+
required?: boolean | undefined;
|
|
6208
|
+
defaultValue?: string | undefined;
|
|
6209
|
+
}[] | undefined;
|
|
6210
|
+
} | null;
|
|
6211
|
+
agentDir: string;
|
|
6212
|
+
displayName: string;
|
|
6213
|
+
publishedAgentId: string | null;
|
|
6214
|
+
sourceTaskId: string | null;
|
|
6215
|
+
}>;
|
|
6216
|
+
type UpdateDraftAgentResponse = z.infer<typeof UpdateDraftAgentResponseSchema>;
|
|
5706
6217
|
/**
|
|
5707
6218
|
* Response for user agents endpoint (agents + draft agents)
|
|
5708
6219
|
*/
|
|
@@ -5995,7 +6506,11 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
5995
6506
|
permissionCanMergePr?: string | undefined;
|
|
5996
6507
|
permissionCanMergePrDesc?: string | undefined;
|
|
5997
6508
|
}>>>;
|
|
6509
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
6510
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
6511
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
5998
6512
|
}, "strip", z.ZodTypeAny, {
|
|
6513
|
+
signature?: string | undefined;
|
|
5999
6514
|
displayConfig?: Record<string, {
|
|
6000
6515
|
closed?: string | undefined;
|
|
6001
6516
|
merged?: string | undefined;
|
|
@@ -6015,6 +6530,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6015
6530
|
permissionCanMergePr?: string | undefined;
|
|
6016
6531
|
permissionCanMergePrDesc?: string | undefined;
|
|
6017
6532
|
}> | undefined;
|
|
6533
|
+
guildMsg?: string | undefined;
|
|
6534
|
+
placeholderMsg?: string | undefined;
|
|
6018
6535
|
environmentSchema?: {
|
|
6019
6536
|
type: "string" | "number" | "boolean" | "secret";
|
|
6020
6537
|
name: string;
|
|
@@ -6023,6 +6540,7 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6023
6540
|
defaultValue?: string | undefined;
|
|
6024
6541
|
}[] | undefined;
|
|
6025
6542
|
}, {
|
|
6543
|
+
signature?: string | undefined;
|
|
6026
6544
|
displayConfig?: Record<string, {
|
|
6027
6545
|
closed?: string | undefined;
|
|
6028
6546
|
merged?: string | undefined;
|
|
@@ -6042,6 +6560,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6042
6560
|
permissionCanMergePr?: string | undefined;
|
|
6043
6561
|
permissionCanMergePrDesc?: string | undefined;
|
|
6044
6562
|
}> | undefined;
|
|
6563
|
+
guildMsg?: string | undefined;
|
|
6564
|
+
placeholderMsg?: string | undefined;
|
|
6045
6565
|
environmentSchema?: {
|
|
6046
6566
|
type: "string" | "number" | "boolean" | "secret";
|
|
6047
6567
|
name: string;
|
|
@@ -6079,6 +6599,7 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6079
6599
|
description: string | null;
|
|
6080
6600
|
enable: boolean;
|
|
6081
6601
|
config: {
|
|
6602
|
+
signature?: string | undefined;
|
|
6082
6603
|
displayConfig?: Record<string, {
|
|
6083
6604
|
closed?: string | undefined;
|
|
6084
6605
|
merged?: string | undefined;
|
|
@@ -6098,6 +6619,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6098
6619
|
permissionCanMergePr?: string | undefined;
|
|
6099
6620
|
permissionCanMergePrDesc?: string | undefined;
|
|
6100
6621
|
}> | undefined;
|
|
6622
|
+
guildMsg?: string | undefined;
|
|
6623
|
+
placeholderMsg?: string | undefined;
|
|
6101
6624
|
environmentSchema?: {
|
|
6102
6625
|
type: "string" | "number" | "boolean" | "secret";
|
|
6103
6626
|
name: string;
|
|
@@ -6125,6 +6648,7 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6125
6648
|
description: string | null;
|
|
6126
6649
|
enable: boolean;
|
|
6127
6650
|
config: {
|
|
6651
|
+
signature?: string | undefined;
|
|
6128
6652
|
displayConfig?: Record<string, {
|
|
6129
6653
|
closed?: string | undefined;
|
|
6130
6654
|
merged?: string | undefined;
|
|
@@ -6144,6 +6668,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6144
6668
|
permissionCanMergePr?: string | undefined;
|
|
6145
6669
|
permissionCanMergePrDesc?: string | undefined;
|
|
6146
6670
|
}> | undefined;
|
|
6671
|
+
guildMsg?: string | undefined;
|
|
6672
|
+
placeholderMsg?: string | undefined;
|
|
6147
6673
|
environmentSchema?: {
|
|
6148
6674
|
type: "string" | "number" | "boolean" | "secret";
|
|
6149
6675
|
name: string;
|
|
@@ -6214,6 +6740,7 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6214
6740
|
description: string | null;
|
|
6215
6741
|
enable: boolean;
|
|
6216
6742
|
config: {
|
|
6743
|
+
signature?: string | undefined;
|
|
6217
6744
|
displayConfig?: Record<string, {
|
|
6218
6745
|
closed?: string | undefined;
|
|
6219
6746
|
merged?: string | undefined;
|
|
@@ -6233,6 +6760,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6233
6760
|
permissionCanMergePr?: string | undefined;
|
|
6234
6761
|
permissionCanMergePrDesc?: string | undefined;
|
|
6235
6762
|
}> | undefined;
|
|
6763
|
+
guildMsg?: string | undefined;
|
|
6764
|
+
placeholderMsg?: string | undefined;
|
|
6236
6765
|
environmentSchema?: {
|
|
6237
6766
|
type: "string" | "number" | "boolean" | "secret";
|
|
6238
6767
|
name: string;
|
|
@@ -6303,6 +6832,7 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6303
6832
|
description: string | null;
|
|
6304
6833
|
enable: boolean;
|
|
6305
6834
|
config: {
|
|
6835
|
+
signature?: string | undefined;
|
|
6306
6836
|
displayConfig?: Record<string, {
|
|
6307
6837
|
closed?: string | undefined;
|
|
6308
6838
|
merged?: string | undefined;
|
|
@@ -6322,6 +6852,8 @@ declare const GetUserAgentsResponseSchema: z.ZodObject<{
|
|
|
6322
6852
|
permissionCanMergePr?: string | undefined;
|
|
6323
6853
|
permissionCanMergePrDesc?: string | undefined;
|
|
6324
6854
|
}> | undefined;
|
|
6855
|
+
guildMsg?: string | undefined;
|
|
6856
|
+
placeholderMsg?: string | undefined;
|
|
6325
6857
|
environmentSchema?: {
|
|
6326
6858
|
type: "string" | "number" | "boolean" | "secret";
|
|
6327
6859
|
name: string;
|
|
@@ -10540,7 +11072,11 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10540
11072
|
permissionCanMergePr?: string | undefined;
|
|
10541
11073
|
permissionCanMergePrDesc?: string | undefined;
|
|
10542
11074
|
}>>>;
|
|
11075
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
11076
|
+
guildMsg: z.ZodOptional<z.ZodString>;
|
|
11077
|
+
placeholderMsg: z.ZodOptional<z.ZodString>;
|
|
10543
11078
|
}, "strip", z.ZodTypeAny, {
|
|
11079
|
+
signature?: string | undefined;
|
|
10544
11080
|
displayConfig?: Record<string, {
|
|
10545
11081
|
closed?: string | undefined;
|
|
10546
11082
|
merged?: string | undefined;
|
|
@@ -10560,6 +11096,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10560
11096
|
permissionCanMergePr?: string | undefined;
|
|
10561
11097
|
permissionCanMergePrDesc?: string | undefined;
|
|
10562
11098
|
}> | undefined;
|
|
11099
|
+
guildMsg?: string | undefined;
|
|
11100
|
+
placeholderMsg?: string | undefined;
|
|
10563
11101
|
environmentSchema?: {
|
|
10564
11102
|
type: "string" | "number" | "boolean" | "secret";
|
|
10565
11103
|
name: string;
|
|
@@ -10568,6 +11106,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10568
11106
|
defaultValue?: string | undefined;
|
|
10569
11107
|
}[] | undefined;
|
|
10570
11108
|
}, {
|
|
11109
|
+
signature?: string | undefined;
|
|
10571
11110
|
displayConfig?: Record<string, {
|
|
10572
11111
|
closed?: string | undefined;
|
|
10573
11112
|
merged?: string | undefined;
|
|
@@ -10587,6 +11126,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10587
11126
|
permissionCanMergePr?: string | undefined;
|
|
10588
11127
|
permissionCanMergePrDesc?: string | undefined;
|
|
10589
11128
|
}> | undefined;
|
|
11129
|
+
guildMsg?: string | undefined;
|
|
11130
|
+
placeholderMsg?: string | undefined;
|
|
10590
11131
|
environmentSchema?: {
|
|
10591
11132
|
type: "string" | "number" | "boolean" | "secret";
|
|
10592
11133
|
name: string;
|
|
@@ -10624,6 +11165,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10624
11165
|
description: string | null;
|
|
10625
11166
|
enable: boolean;
|
|
10626
11167
|
config: {
|
|
11168
|
+
signature?: string | undefined;
|
|
10627
11169
|
displayConfig?: Record<string, {
|
|
10628
11170
|
closed?: string | undefined;
|
|
10629
11171
|
merged?: string | undefined;
|
|
@@ -10643,6 +11185,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10643
11185
|
permissionCanMergePr?: string | undefined;
|
|
10644
11186
|
permissionCanMergePrDesc?: string | undefined;
|
|
10645
11187
|
}> | undefined;
|
|
11188
|
+
guildMsg?: string | undefined;
|
|
11189
|
+
placeholderMsg?: string | undefined;
|
|
10646
11190
|
environmentSchema?: {
|
|
10647
11191
|
type: "string" | "number" | "boolean" | "secret";
|
|
10648
11192
|
name: string;
|
|
@@ -10670,6 +11214,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10670
11214
|
description: string | null;
|
|
10671
11215
|
enable: boolean;
|
|
10672
11216
|
config: {
|
|
11217
|
+
signature?: string | undefined;
|
|
10673
11218
|
displayConfig?: Record<string, {
|
|
10674
11219
|
closed?: string | undefined;
|
|
10675
11220
|
merged?: string | undefined;
|
|
@@ -10689,6 +11234,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10689
11234
|
permissionCanMergePr?: string | undefined;
|
|
10690
11235
|
permissionCanMergePrDesc?: string | undefined;
|
|
10691
11236
|
}> | undefined;
|
|
11237
|
+
guildMsg?: string | undefined;
|
|
11238
|
+
placeholderMsg?: string | undefined;
|
|
10692
11239
|
environmentSchema?: {
|
|
10693
11240
|
type: "string" | "number" | "boolean" | "secret";
|
|
10694
11241
|
name: string;
|
|
@@ -10735,6 +11282,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10735
11282
|
description: string | null;
|
|
10736
11283
|
enable: boolean;
|
|
10737
11284
|
config: {
|
|
11285
|
+
signature?: string | undefined;
|
|
10738
11286
|
displayConfig?: Record<string, {
|
|
10739
11287
|
closed?: string | undefined;
|
|
10740
11288
|
merged?: string | undefined;
|
|
@@ -10754,6 +11302,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10754
11302
|
permissionCanMergePr?: string | undefined;
|
|
10755
11303
|
permissionCanMergePrDesc?: string | undefined;
|
|
10756
11304
|
}> | undefined;
|
|
11305
|
+
guildMsg?: string | undefined;
|
|
11306
|
+
placeholderMsg?: string | undefined;
|
|
10757
11307
|
environmentSchema?: {
|
|
10758
11308
|
type: "string" | "number" | "boolean" | "secret";
|
|
10759
11309
|
name: string;
|
|
@@ -10824,6 +11374,7 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10824
11374
|
description: string | null;
|
|
10825
11375
|
enable: boolean;
|
|
10826
11376
|
config: {
|
|
11377
|
+
signature?: string | undefined;
|
|
10827
11378
|
displayConfig?: Record<string, {
|
|
10828
11379
|
closed?: string | undefined;
|
|
10829
11380
|
merged?: string | undefined;
|
|
@@ -10843,6 +11394,8 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
10843
11394
|
permissionCanMergePr?: string | undefined;
|
|
10844
11395
|
permissionCanMergePrDesc?: string | undefined;
|
|
10845
11396
|
}> | undefined;
|
|
11397
|
+
guildMsg?: string | undefined;
|
|
11398
|
+
placeholderMsg?: string | undefined;
|
|
10846
11399
|
environmentSchema?: {
|
|
10847
11400
|
type: "string" | "number" | "boolean" | "secret";
|
|
10848
11401
|
name: string;
|
|
@@ -11000,9 +11553,9 @@ interface AgentrixContext {
|
|
|
11000
11553
|
*/
|
|
11001
11554
|
getChatAgents(): Record<string, string>;
|
|
11002
11555
|
/**
|
|
11003
|
-
*
|
|
11556
|
+
* Create a new draft agent in the database
|
|
11004
11557
|
*/
|
|
11005
|
-
|
|
11558
|
+
createDraftAgent(params: {
|
|
11006
11559
|
name: string;
|
|
11007
11560
|
agentDir: string;
|
|
11008
11561
|
type?: 'claude' | 'codex';
|
|
@@ -11015,11 +11568,33 @@ interface AgentrixContext {
|
|
|
11015
11568
|
required: boolean;
|
|
11016
11569
|
defaultValue?: string;
|
|
11017
11570
|
}>;
|
|
11018
|
-
|
|
11571
|
+
signature?: string;
|
|
11572
|
+
guildMsg?: string;
|
|
11573
|
+
placeholderMsg?: string;
|
|
11019
11574
|
}): Promise<{
|
|
11020
11575
|
agentId: string;
|
|
11021
11576
|
displayName: string;
|
|
11022
11577
|
}>;
|
|
11578
|
+
/**
|
|
11579
|
+
* Update an existing draft agent in the database
|
|
11580
|
+
*/
|
|
11581
|
+
updateDraftAgent(id: string, updates: {
|
|
11582
|
+
avatar?: string | null;
|
|
11583
|
+
description?: string | null;
|
|
11584
|
+
config?: {
|
|
11585
|
+
environmentSchema?: Array<{
|
|
11586
|
+
name: string;
|
|
11587
|
+
type: 'string' | 'number' | 'boolean' | 'secret';
|
|
11588
|
+
description?: string;
|
|
11589
|
+
required: boolean;
|
|
11590
|
+
defaultValue?: string;
|
|
11591
|
+
}>;
|
|
11592
|
+
displayConfig?: Record<string, any>;
|
|
11593
|
+
signature?: string;
|
|
11594
|
+
guildMsg?: string;
|
|
11595
|
+
placeholderMsg?: string;
|
|
11596
|
+
};
|
|
11597
|
+
}): Promise<any>;
|
|
11023
11598
|
/**
|
|
11024
11599
|
* Create a sub task for multi-agent collaboration
|
|
11025
11600
|
* Automatically inherits chatId, rootTaskId, machineId/cloudId from current task
|
|
@@ -11481,5 +12056,5 @@ declare function decodeRtcChunkHeader(data: Uint8Array): RtcChunkHeader;
|
|
|
11481
12056
|
declare function buildRtcChunkFrame(header: RtcChunkHeader, payload: Uint8Array): Uint8Array;
|
|
11482
12057
|
declare function splitRtcChunkFrame(data: Uint8Array): RtcChunkFrame;
|
|
11483
12058
|
|
|
11484
|
-
export { 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, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, 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, 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, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, 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, ProjectDirectoryResponseSchema, ProjectEntrySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, QueryEventsRequestSchema, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskCompletedEventSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, isTaskArtifactsMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
11485
|
-
export type { 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, 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, 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, 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, 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, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskCompletedEventData, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsMessage, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|
|
12059
|
+
export { 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, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, 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, 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, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, 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, ProjectDirectoryResponseSchema, ProjectEntrySchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, QueryEventsRequestSchema, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, RpcCallEventSchema, RpcResponseSchema, RtcChunkFlags, RtcIceServerSchema, RtcIceServersRequestSchema, RtcIceServersResponseSchema, RtcSignalSchema, SendTaskMessageRequestSchema, SendTaskMessageResponseSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShowModalEventDataSchema, ShowModalRequestSchema, ShowModalResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SubTaskCompletedEventSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskStoppedEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializedSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkerStatusRequestSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, buildRtcChunkFrame, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, isTaskArtifactsMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, splitRtcChunkFrame, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
12060
|
+
export type { 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, 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, 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, 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, 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, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, ShowModalEventData, ShowModalRequest, ShowModalResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SubTaskCompletedEventData, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsMessage, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskStoppedEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializedEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerStatusRequestEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|