@inkeep/agents-core 0.0.0-dev-20251001030148 → 0.0.0-dev-20251001042848
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/README.md +1 -7
- package/dist/{chunk-YVGNJIQZ.js → chunk-J7YOVSV7.js} +1 -1
- package/dist/{chunk-URSDNK76.js → chunk-KBRQN63H.js} +82 -206
- package/dist/{chunk-JXAL2ALG.js → chunk-R5V3UTGB.js} +1 -1
- package/dist/client-exports.cjs +80 -200
- package/dist/client-exports.d.cts +2 -2
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/db/schema.cjs +80 -204
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +1 -1
- package/dist/index.cjs +80 -208
- package/dist/index.d.cts +104 -102
- package/dist/index.d.ts +104 -102
- package/dist/index.js +6 -6
- package/dist/{schema-BQoMyAN6.d.ts → schema-BA1ATr-V.d.ts} +674 -663
- package/dist/{schema-B0z-X5Hq.d.cts → schema-CGo-G_SM.d.cts} +674 -663
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-8RXSemmL.d.cts → utility-ChGndcyd.d.cts} +874 -850
- package/dist/{utility-8RXSemmL.d.ts → utility-ChGndcyd.d.ts} +874 -850
- package/dist/validation/index.cjs +80 -200
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/package.json +4 -5
|
@@ -428,91 +428,15 @@ declare const ProjectModelSchema: z.ZodObject<{
|
|
|
428
428
|
}, z.core.$strip>>;
|
|
429
429
|
}, z.core.$strip>;
|
|
430
430
|
declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
431
|
-
|
|
432
|
-
name: "
|
|
433
|
-
tableName: "agents";
|
|
434
|
-
dataType: "string";
|
|
435
|
-
columnType: "SQLiteText";
|
|
436
|
-
data: string;
|
|
437
|
-
driverParam: string;
|
|
438
|
-
notNull: true;
|
|
439
|
-
hasDefault: false;
|
|
440
|
-
isPrimaryKey: false;
|
|
441
|
-
isAutoincrement: false;
|
|
442
|
-
hasRuntimeDefault: false;
|
|
443
|
-
enumValues: [string, ...string[]];
|
|
444
|
-
baseColumn: never;
|
|
445
|
-
identity: undefined;
|
|
446
|
-
generated: undefined;
|
|
447
|
-
}, {}, {
|
|
448
|
-
length: number | undefined;
|
|
449
|
-
}>;
|
|
450
|
-
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
451
|
-
name: "project_id";
|
|
452
|
-
tableName: "agents";
|
|
453
|
-
dataType: "string";
|
|
454
|
-
columnType: "SQLiteText";
|
|
455
|
-
data: string;
|
|
456
|
-
driverParam: string;
|
|
457
|
-
notNull: true;
|
|
458
|
-
hasDefault: false;
|
|
459
|
-
isPrimaryKey: false;
|
|
460
|
-
isAutoincrement: false;
|
|
461
|
-
hasRuntimeDefault: false;
|
|
462
|
-
enumValues: [string, ...string[]];
|
|
463
|
-
baseColumn: never;
|
|
464
|
-
identity: undefined;
|
|
465
|
-
generated: undefined;
|
|
466
|
-
}, {}, {
|
|
467
|
-
length: number | undefined;
|
|
468
|
-
}>;
|
|
469
|
-
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
470
|
-
name: "graph_id";
|
|
471
|
-
tableName: "agents";
|
|
472
|
-
dataType: "string";
|
|
473
|
-
columnType: "SQLiteText";
|
|
474
|
-
data: string;
|
|
475
|
-
driverParam: string;
|
|
476
|
-
notNull: true;
|
|
477
|
-
hasDefault: false;
|
|
478
|
-
isPrimaryKey: false;
|
|
479
|
-
isAutoincrement: false;
|
|
480
|
-
hasRuntimeDefault: false;
|
|
481
|
-
enumValues: [string, ...string[]];
|
|
482
|
-
baseColumn: never;
|
|
483
|
-
identity: undefined;
|
|
484
|
-
generated: undefined;
|
|
485
|
-
}, {}, {
|
|
486
|
-
length: number | undefined;
|
|
487
|
-
}>;
|
|
488
|
-
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
489
|
-
name: "id";
|
|
490
|
-
tableName: "agents";
|
|
491
|
-
dataType: "string";
|
|
492
|
-
columnType: "SQLiteText";
|
|
493
|
-
data: string;
|
|
494
|
-
driverParam: string;
|
|
495
|
-
notNull: true;
|
|
496
|
-
hasDefault: false;
|
|
497
|
-
isPrimaryKey: false;
|
|
498
|
-
isAutoincrement: false;
|
|
499
|
-
hasRuntimeDefault: false;
|
|
500
|
-
enumValues: [string, ...string[]];
|
|
501
|
-
baseColumn: never;
|
|
502
|
-
identity: undefined;
|
|
503
|
-
generated: undefined;
|
|
504
|
-
}, {}, {
|
|
505
|
-
length: number | undefined;
|
|
506
|
-
}>;
|
|
507
|
-
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
508
|
-
name: "name";
|
|
431
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
432
|
+
name: "created_at";
|
|
509
433
|
tableName: "agents";
|
|
510
434
|
dataType: "string";
|
|
511
435
|
columnType: "SQLiteText";
|
|
512
436
|
data: string;
|
|
513
437
|
driverParam: string;
|
|
514
438
|
notNull: true;
|
|
515
|
-
hasDefault:
|
|
439
|
+
hasDefault: true;
|
|
516
440
|
isPrimaryKey: false;
|
|
517
441
|
isAutoincrement: false;
|
|
518
442
|
hasRuntimeDefault: false;
|
|
@@ -523,15 +447,15 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
523
447
|
}, {}, {
|
|
524
448
|
length: number | undefined;
|
|
525
449
|
}>;
|
|
526
|
-
|
|
527
|
-
name: "
|
|
450
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
451
|
+
name: "updated_at";
|
|
528
452
|
tableName: "agents";
|
|
529
453
|
dataType: "string";
|
|
530
454
|
columnType: "SQLiteText";
|
|
531
455
|
data: string;
|
|
532
456
|
driverParam: string;
|
|
533
457
|
notNull: true;
|
|
534
|
-
hasDefault:
|
|
458
|
+
hasDefault: true;
|
|
535
459
|
isPrimaryKey: false;
|
|
536
460
|
isAutoincrement: false;
|
|
537
461
|
hasRuntimeDefault: false;
|
|
@@ -648,15 +572,15 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
648
572
|
stepCountIs?: number | undefined;
|
|
649
573
|
};
|
|
650
574
|
}>;
|
|
651
|
-
|
|
652
|
-
name: "
|
|
575
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
576
|
+
name: "name";
|
|
653
577
|
tableName: "agents";
|
|
654
578
|
dataType: "string";
|
|
655
579
|
columnType: "SQLiteText";
|
|
656
580
|
data: string;
|
|
657
581
|
driverParam: string;
|
|
658
582
|
notNull: true;
|
|
659
|
-
hasDefault:
|
|
583
|
+
hasDefault: false;
|
|
660
584
|
isPrimaryKey: false;
|
|
661
585
|
isAutoincrement: false;
|
|
662
586
|
hasRuntimeDefault: false;
|
|
@@ -667,15 +591,91 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
667
591
|
}, {}, {
|
|
668
592
|
length: number | undefined;
|
|
669
593
|
}>;
|
|
670
|
-
|
|
671
|
-
name: "
|
|
594
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
595
|
+
name: "description";
|
|
672
596
|
tableName: "agents";
|
|
673
597
|
dataType: "string";
|
|
674
598
|
columnType: "SQLiteText";
|
|
675
599
|
data: string;
|
|
676
600
|
driverParam: string;
|
|
677
601
|
notNull: true;
|
|
678
|
-
hasDefault:
|
|
602
|
+
hasDefault: false;
|
|
603
|
+
isPrimaryKey: false;
|
|
604
|
+
isAutoincrement: false;
|
|
605
|
+
hasRuntimeDefault: false;
|
|
606
|
+
enumValues: [string, ...string[]];
|
|
607
|
+
baseColumn: never;
|
|
608
|
+
identity: undefined;
|
|
609
|
+
generated: undefined;
|
|
610
|
+
}, {}, {
|
|
611
|
+
length: number | undefined;
|
|
612
|
+
}>;
|
|
613
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
614
|
+
name: "graph_id";
|
|
615
|
+
tableName: "agents";
|
|
616
|
+
dataType: "string";
|
|
617
|
+
columnType: "SQLiteText";
|
|
618
|
+
data: string;
|
|
619
|
+
driverParam: string;
|
|
620
|
+
notNull: true;
|
|
621
|
+
hasDefault: false;
|
|
622
|
+
isPrimaryKey: false;
|
|
623
|
+
isAutoincrement: false;
|
|
624
|
+
hasRuntimeDefault: false;
|
|
625
|
+
enumValues: [string, ...string[]];
|
|
626
|
+
baseColumn: never;
|
|
627
|
+
identity: undefined;
|
|
628
|
+
generated: undefined;
|
|
629
|
+
}, {}, {
|
|
630
|
+
length: number | undefined;
|
|
631
|
+
}>;
|
|
632
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
633
|
+
name: "project_id";
|
|
634
|
+
tableName: "agents";
|
|
635
|
+
dataType: "string";
|
|
636
|
+
columnType: "SQLiteText";
|
|
637
|
+
data: string;
|
|
638
|
+
driverParam: string;
|
|
639
|
+
notNull: true;
|
|
640
|
+
hasDefault: false;
|
|
641
|
+
isPrimaryKey: false;
|
|
642
|
+
isAutoincrement: false;
|
|
643
|
+
hasRuntimeDefault: false;
|
|
644
|
+
enumValues: [string, ...string[]];
|
|
645
|
+
baseColumn: never;
|
|
646
|
+
identity: undefined;
|
|
647
|
+
generated: undefined;
|
|
648
|
+
}, {}, {
|
|
649
|
+
length: number | undefined;
|
|
650
|
+
}>;
|
|
651
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
652
|
+
name: "tenant_id";
|
|
653
|
+
tableName: "agents";
|
|
654
|
+
dataType: "string";
|
|
655
|
+
columnType: "SQLiteText";
|
|
656
|
+
data: string;
|
|
657
|
+
driverParam: string;
|
|
658
|
+
notNull: true;
|
|
659
|
+
hasDefault: false;
|
|
660
|
+
isPrimaryKey: false;
|
|
661
|
+
isAutoincrement: false;
|
|
662
|
+
hasRuntimeDefault: false;
|
|
663
|
+
enumValues: [string, ...string[]];
|
|
664
|
+
baseColumn: never;
|
|
665
|
+
identity: undefined;
|
|
666
|
+
generated: undefined;
|
|
667
|
+
}, {}, {
|
|
668
|
+
length: number | undefined;
|
|
669
|
+
}>;
|
|
670
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
671
|
+
name: "id";
|
|
672
|
+
tableName: "agents";
|
|
673
|
+
dataType: "string";
|
|
674
|
+
columnType: "SQLiteText";
|
|
675
|
+
data: string;
|
|
676
|
+
driverParam: string;
|
|
677
|
+
notNull: true;
|
|
678
|
+
hasDefault: false;
|
|
679
679
|
isPrimaryKey: false;
|
|
680
680
|
isAutoincrement: false;
|
|
681
681
|
hasRuntimeDefault: false;
|
|
@@ -688,11 +688,8 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
688
688
|
}>;
|
|
689
689
|
}, undefined, undefined>;
|
|
690
690
|
declare const AgentInsertSchema: z.ZodObject<{
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
graphId: z.ZodString;
|
|
694
|
-
name: z.ZodString;
|
|
695
|
-
description: z.ZodString;
|
|
691
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
692
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
696
693
|
prompt: z.ZodString;
|
|
697
694
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
698
695
|
stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
@@ -704,8 +701,11 @@ declare const AgentInsertSchema: z.ZodObject<{
|
|
|
704
701
|
}, {
|
|
705
702
|
stepCountIs?: number | undefined;
|
|
706
703
|
}>>>>;
|
|
707
|
-
|
|
708
|
-
|
|
704
|
+
name: z.ZodString;
|
|
705
|
+
description: z.ZodString;
|
|
706
|
+
graphId: z.ZodString;
|
|
707
|
+
projectId: z.ZodString;
|
|
708
|
+
tenantId: z.ZodString;
|
|
709
709
|
id: z.ZodString;
|
|
710
710
|
models: z.ZodOptional<z.ZodObject<{
|
|
711
711
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -726,11 +726,8 @@ declare const AgentInsertSchema: z.ZodObject<{
|
|
|
726
726
|
in: {};
|
|
727
727
|
}>;
|
|
728
728
|
declare const AgentUpdateSchema: z.ZodObject<{
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
graphId: z.ZodOptional<z.ZodString>;
|
|
732
|
-
name: z.ZodOptional<z.ZodString>;
|
|
733
|
-
description: z.ZodOptional<z.ZodString>;
|
|
729
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
730
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
734
731
|
prompt: z.ZodOptional<z.ZodString>;
|
|
735
732
|
conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>;
|
|
736
733
|
stopWhen: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
@@ -742,8 +739,11 @@ declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
742
739
|
}, {
|
|
743
740
|
stepCountIs?: number | undefined;
|
|
744
741
|
}>>>>>;
|
|
745
|
-
|
|
746
|
-
|
|
742
|
+
name: z.ZodOptional<z.ZodString>;
|
|
743
|
+
description: z.ZodOptional<z.ZodString>;
|
|
744
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
745
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
746
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
747
747
|
id: z.ZodOptional<z.ZodString>;
|
|
748
748
|
models: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
749
749
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -899,15 +899,15 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
|
|
|
899
899
|
}>>>>>>;
|
|
900
900
|
}, z.core.$strip>;
|
|
901
901
|
declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
902
|
-
|
|
903
|
-
name: "
|
|
902
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
903
|
+
name: "created_at";
|
|
904
904
|
tableName: "agent_relations";
|
|
905
905
|
dataType: "string";
|
|
906
906
|
columnType: "SQLiteText";
|
|
907
907
|
data: string;
|
|
908
908
|
driverParam: string;
|
|
909
909
|
notNull: true;
|
|
910
|
-
hasDefault:
|
|
910
|
+
hasDefault: true;
|
|
911
911
|
isPrimaryKey: false;
|
|
912
912
|
isAutoincrement: false;
|
|
913
913
|
hasRuntimeDefault: false;
|
|
@@ -918,15 +918,15 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
918
918
|
}, {}, {
|
|
919
919
|
length: number | undefined;
|
|
920
920
|
}>;
|
|
921
|
-
|
|
922
|
-
name: "
|
|
921
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
922
|
+
name: "updated_at";
|
|
923
923
|
tableName: "agent_relations";
|
|
924
924
|
dataType: "string";
|
|
925
925
|
columnType: "SQLiteText";
|
|
926
926
|
data: string;
|
|
927
927
|
driverParam: string;
|
|
928
928
|
notNull: true;
|
|
929
|
-
hasDefault:
|
|
929
|
+
hasDefault: true;
|
|
930
930
|
isPrimaryKey: false;
|
|
931
931
|
isAutoincrement: false;
|
|
932
932
|
hasRuntimeDefault: false;
|
|
@@ -937,8 +937,8 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
937
937
|
}, {}, {
|
|
938
938
|
length: number | undefined;
|
|
939
939
|
}>;
|
|
940
|
-
|
|
941
|
-
name: "
|
|
940
|
+
sourceAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
941
|
+
name: "source_agent_id";
|
|
942
942
|
tableName: "agent_relations";
|
|
943
943
|
dataType: "string";
|
|
944
944
|
columnType: "SQLiteText";
|
|
@@ -956,14 +956,14 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
956
956
|
}, {}, {
|
|
957
957
|
length: number | undefined;
|
|
958
958
|
}>;
|
|
959
|
-
|
|
960
|
-
name: "
|
|
959
|
+
targetAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
960
|
+
name: "target_agent_id";
|
|
961
961
|
tableName: "agent_relations";
|
|
962
962
|
dataType: "string";
|
|
963
963
|
columnType: "SQLiteText";
|
|
964
964
|
data: string;
|
|
965
965
|
driverParam: string;
|
|
966
|
-
notNull:
|
|
966
|
+
notNull: false;
|
|
967
967
|
hasDefault: false;
|
|
968
968
|
isPrimaryKey: false;
|
|
969
969
|
isAutoincrement: false;
|
|
@@ -975,14 +975,14 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
975
975
|
}, {}, {
|
|
976
976
|
length: number | undefined;
|
|
977
977
|
}>;
|
|
978
|
-
|
|
979
|
-
name: "
|
|
978
|
+
externalAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
979
|
+
name: "external_agent_id";
|
|
980
980
|
tableName: "agent_relations";
|
|
981
981
|
dataType: "string";
|
|
982
982
|
columnType: "SQLiteText";
|
|
983
983
|
data: string;
|
|
984
984
|
driverParam: string;
|
|
985
|
-
notNull:
|
|
985
|
+
notNull: false;
|
|
986
986
|
hasDefault: false;
|
|
987
987
|
isPrimaryKey: false;
|
|
988
988
|
isAutoincrement: false;
|
|
@@ -994,8 +994,8 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
994
994
|
}, {}, {
|
|
995
995
|
length: number | undefined;
|
|
996
996
|
}>;
|
|
997
|
-
|
|
998
|
-
name: "
|
|
997
|
+
relationType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
998
|
+
name: "relation_type";
|
|
999
999
|
tableName: "agent_relations";
|
|
1000
1000
|
dataType: "string";
|
|
1001
1001
|
columnType: "SQLiteText";
|
|
@@ -1013,14 +1013,14 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1013
1013
|
}, {}, {
|
|
1014
1014
|
length: number | undefined;
|
|
1015
1015
|
}>;
|
|
1016
|
-
|
|
1017
|
-
name: "
|
|
1016
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1017
|
+
name: "graph_id";
|
|
1018
1018
|
tableName: "agent_relations";
|
|
1019
1019
|
dataType: "string";
|
|
1020
1020
|
columnType: "SQLiteText";
|
|
1021
1021
|
data: string;
|
|
1022
1022
|
driverParam: string;
|
|
1023
|
-
notNull:
|
|
1023
|
+
notNull: true;
|
|
1024
1024
|
hasDefault: false;
|
|
1025
1025
|
isPrimaryKey: false;
|
|
1026
1026
|
isAutoincrement: false;
|
|
@@ -1032,14 +1032,14 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1032
1032
|
}, {}, {
|
|
1033
1033
|
length: number | undefined;
|
|
1034
1034
|
}>;
|
|
1035
|
-
|
|
1036
|
-
name: "
|
|
1035
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1036
|
+
name: "project_id";
|
|
1037
1037
|
tableName: "agent_relations";
|
|
1038
1038
|
dataType: "string";
|
|
1039
1039
|
columnType: "SQLiteText";
|
|
1040
1040
|
data: string;
|
|
1041
1041
|
driverParam: string;
|
|
1042
|
-
notNull:
|
|
1042
|
+
notNull: true;
|
|
1043
1043
|
hasDefault: false;
|
|
1044
1044
|
isPrimaryKey: false;
|
|
1045
1045
|
isAutoincrement: false;
|
|
@@ -1051,15 +1051,15 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1051
1051
|
}, {}, {
|
|
1052
1052
|
length: number | undefined;
|
|
1053
1053
|
}>;
|
|
1054
|
-
|
|
1055
|
-
name: "
|
|
1054
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1055
|
+
name: "tenant_id";
|
|
1056
1056
|
tableName: "agent_relations";
|
|
1057
1057
|
dataType: "string";
|
|
1058
1058
|
columnType: "SQLiteText";
|
|
1059
1059
|
data: string;
|
|
1060
1060
|
driverParam: string;
|
|
1061
1061
|
notNull: true;
|
|
1062
|
-
hasDefault:
|
|
1062
|
+
hasDefault: false;
|
|
1063
1063
|
isPrimaryKey: false;
|
|
1064
1064
|
isAutoincrement: false;
|
|
1065
1065
|
hasRuntimeDefault: false;
|
|
@@ -1070,15 +1070,15 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1070
1070
|
}, {}, {
|
|
1071
1071
|
length: number | undefined;
|
|
1072
1072
|
}>;
|
|
1073
|
-
|
|
1074
|
-
name: "
|
|
1073
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1074
|
+
name: "id";
|
|
1075
1075
|
tableName: "agent_relations";
|
|
1076
1076
|
dataType: "string";
|
|
1077
1077
|
columnType: "SQLiteText";
|
|
1078
1078
|
data: string;
|
|
1079
1079
|
driverParam: string;
|
|
1080
1080
|
notNull: true;
|
|
1081
|
-
hasDefault:
|
|
1081
|
+
hasDefault: false;
|
|
1082
1082
|
isPrimaryKey: false;
|
|
1083
1083
|
isAutoincrement: false;
|
|
1084
1084
|
hasRuntimeDefault: false;
|
|
@@ -1091,11 +1091,11 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1091
1091
|
}>;
|
|
1092
1092
|
}, undefined, undefined>;
|
|
1093
1093
|
declare const AgentRelationInsertSchema: z.ZodObject<{
|
|
1094
|
-
tenantId: z.ZodString;
|
|
1095
|
-
projectId: z.ZodString;
|
|
1096
|
-
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1097
1094
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1098
1095
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1097
|
+
projectId: z.ZodString;
|
|
1098
|
+
tenantId: z.ZodString;
|
|
1099
1099
|
id: z.ZodString;
|
|
1100
1100
|
graphId: z.ZodString;
|
|
1101
1101
|
sourceAgentId: z.ZodString;
|
|
@@ -1106,11 +1106,11 @@ declare const AgentRelationInsertSchema: z.ZodObject<{
|
|
|
1106
1106
|
in: {};
|
|
1107
1107
|
}>;
|
|
1108
1108
|
declare const AgentRelationUpdateSchema: z.ZodObject<{
|
|
1109
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
1110
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
1111
|
-
relationType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1112
1109
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1113
1110
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1111
|
+
relationType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1112
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1113
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
1114
1114
|
id: z.ZodOptional<z.ZodString>;
|
|
1115
1115
|
graphId: z.ZodOptional<z.ZodString>;
|
|
1116
1116
|
sourceAgentId: z.ZodOptional<z.ZodString>;
|
|
@@ -1159,12 +1159,12 @@ declare const AgentRelationQuerySchema: z.ZodObject<{
|
|
|
1159
1159
|
externalAgentId: z.ZodOptional<z.ZodString>;
|
|
1160
1160
|
}, z.core.$strip>;
|
|
1161
1161
|
declare const ExternalAgentRelationInsertSchema: z.ZodObject<{
|
|
1162
|
-
tenantId: z.ZodString;
|
|
1163
|
-
projectId: z.ZodString;
|
|
1164
|
-
targetAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1165
|
-
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1166
1162
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1167
1163
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
targetAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1165
|
+
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1166
|
+
projectId: z.ZodString;
|
|
1167
|
+
tenantId: z.ZodString;
|
|
1168
1168
|
id: z.ZodString;
|
|
1169
1169
|
graphId: z.ZodString;
|
|
1170
1170
|
sourceAgentId: z.ZodString;
|
|
@@ -1184,34 +1184,15 @@ declare const ExternalAgentRelationApiInsertSchema: z.ZodObject<{
|
|
|
1184
1184
|
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1185
1185
|
}, z.core.$strip>;
|
|
1186
1186
|
declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
1187
|
-
|
|
1188
|
-
name: "
|
|
1189
|
-
tableName: "agent_graph";
|
|
1190
|
-
dataType: "string";
|
|
1191
|
-
columnType: "SQLiteText";
|
|
1192
|
-
data: string;
|
|
1193
|
-
driverParam: string;
|
|
1194
|
-
notNull: true;
|
|
1195
|
-
hasDefault: false;
|
|
1196
|
-
isPrimaryKey: false;
|
|
1197
|
-
isAutoincrement: false;
|
|
1198
|
-
hasRuntimeDefault: false;
|
|
1199
|
-
enumValues: [string, ...string[]];
|
|
1200
|
-
baseColumn: never;
|
|
1201
|
-
identity: undefined;
|
|
1202
|
-
generated: undefined;
|
|
1203
|
-
}, {}, {
|
|
1204
|
-
length: number | undefined;
|
|
1205
|
-
}>;
|
|
1206
|
-
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1207
|
-
name: "project_id";
|
|
1187
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1188
|
+
name: "created_at";
|
|
1208
1189
|
tableName: "agent_graph";
|
|
1209
1190
|
dataType: "string";
|
|
1210
1191
|
columnType: "SQLiteText";
|
|
1211
1192
|
data: string;
|
|
1212
1193
|
driverParam: string;
|
|
1213
1194
|
notNull: true;
|
|
1214
|
-
hasDefault:
|
|
1195
|
+
hasDefault: true;
|
|
1215
1196
|
isPrimaryKey: false;
|
|
1216
1197
|
isAutoincrement: false;
|
|
1217
1198
|
hasRuntimeDefault: false;
|
|
@@ -1222,15 +1203,15 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1222
1203
|
}, {}, {
|
|
1223
1204
|
length: number | undefined;
|
|
1224
1205
|
}>;
|
|
1225
|
-
|
|
1226
|
-
name: "
|
|
1206
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1207
|
+
name: "updated_at";
|
|
1227
1208
|
tableName: "agent_graph";
|
|
1228
1209
|
dataType: "string";
|
|
1229
1210
|
columnType: "SQLiteText";
|
|
1230
1211
|
data: string;
|
|
1231
1212
|
driverParam: string;
|
|
1232
1213
|
notNull: true;
|
|
1233
|
-
hasDefault:
|
|
1214
|
+
hasDefault: true;
|
|
1234
1215
|
isPrimaryKey: false;
|
|
1235
1216
|
isAutoincrement: false;
|
|
1236
1217
|
hasRuntimeDefault: false;
|
|
@@ -1451,15 +1432,15 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1451
1432
|
transferCountIs?: number | undefined;
|
|
1452
1433
|
};
|
|
1453
1434
|
}>;
|
|
1454
|
-
|
|
1455
|
-
name: "
|
|
1435
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1436
|
+
name: "project_id";
|
|
1456
1437
|
tableName: "agent_graph";
|
|
1457
1438
|
dataType: "string";
|
|
1458
1439
|
columnType: "SQLiteText";
|
|
1459
1440
|
data: string;
|
|
1460
1441
|
driverParam: string;
|
|
1461
1442
|
notNull: true;
|
|
1462
|
-
hasDefault:
|
|
1443
|
+
hasDefault: false;
|
|
1463
1444
|
isPrimaryKey: false;
|
|
1464
1445
|
isAutoincrement: false;
|
|
1465
1446
|
hasRuntimeDefault: false;
|
|
@@ -1470,15 +1451,34 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1470
1451
|
}, {}, {
|
|
1471
1452
|
length: number | undefined;
|
|
1472
1453
|
}>;
|
|
1473
|
-
|
|
1474
|
-
name: "
|
|
1454
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1455
|
+
name: "tenant_id";
|
|
1475
1456
|
tableName: "agent_graph";
|
|
1476
1457
|
dataType: "string";
|
|
1477
1458
|
columnType: "SQLiteText";
|
|
1478
1459
|
data: string;
|
|
1479
1460
|
driverParam: string;
|
|
1480
1461
|
notNull: true;
|
|
1481
|
-
hasDefault:
|
|
1462
|
+
hasDefault: false;
|
|
1463
|
+
isPrimaryKey: false;
|
|
1464
|
+
isAutoincrement: false;
|
|
1465
|
+
hasRuntimeDefault: false;
|
|
1466
|
+
enumValues: [string, ...string[]];
|
|
1467
|
+
baseColumn: never;
|
|
1468
|
+
identity: undefined;
|
|
1469
|
+
generated: undefined;
|
|
1470
|
+
}, {}, {
|
|
1471
|
+
length: number | undefined;
|
|
1472
|
+
}>;
|
|
1473
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1474
|
+
name: "id";
|
|
1475
|
+
tableName: "agent_graph";
|
|
1476
|
+
dataType: "string";
|
|
1477
|
+
columnType: "SQLiteText";
|
|
1478
|
+
data: string;
|
|
1479
|
+
driverParam: string;
|
|
1480
|
+
notNull: true;
|
|
1481
|
+
hasDefault: false;
|
|
1482
1482
|
isPrimaryKey: false;
|
|
1483
1483
|
isAutoincrement: false;
|
|
1484
1484
|
hasRuntimeDefault: false;
|
|
@@ -1491,8 +1491,8 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
1491
1491
|
}>;
|
|
1492
1492
|
}, undefined, undefined>;
|
|
1493
1493
|
declare const AgentGraphInsertSchema: z.ZodObject<{
|
|
1494
|
-
|
|
1495
|
-
|
|
1494
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1495
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1496
1496
|
name: z.ZodString;
|
|
1497
1497
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1498
1498
|
defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1617,16 +1617,16 @@ declare const AgentGraphInsertSchema: z.ZodObject<{
|
|
|
1617
1617
|
}, {
|
|
1618
1618
|
transferCountIs?: number | undefined;
|
|
1619
1619
|
}>>>>;
|
|
1620
|
-
|
|
1621
|
-
|
|
1620
|
+
projectId: z.ZodString;
|
|
1621
|
+
tenantId: z.ZodString;
|
|
1622
1622
|
id: z.ZodString;
|
|
1623
1623
|
}, {
|
|
1624
1624
|
out: {};
|
|
1625
1625
|
in: {};
|
|
1626
1626
|
}>;
|
|
1627
1627
|
declare const AgentGraphUpdateSchema: z.ZodObject<{
|
|
1628
|
-
|
|
1629
|
-
|
|
1628
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1629
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1630
1630
|
name: z.ZodOptional<z.ZodString>;
|
|
1631
1631
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1632
1632
|
defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1751,8 +1751,8 @@ declare const AgentGraphUpdateSchema: z.ZodObject<{
|
|
|
1751
1751
|
}, {
|
|
1752
1752
|
transferCountIs?: number | undefined;
|
|
1753
1753
|
}>>>>>;
|
|
1754
|
-
|
|
1755
|
-
|
|
1754
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1755
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
1756
1756
|
id: z.ZodOptional<z.ZodString>;
|
|
1757
1757
|
}, {
|
|
1758
1758
|
out: {};
|
|
@@ -2146,15 +2146,15 @@ declare const AgentGraphApiUpdateSchema: z.ZodObject<{
|
|
|
2146
2146
|
graphPrompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
2147
2147
|
}, z.core.$strip>;
|
|
2148
2148
|
declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
2149
|
-
|
|
2150
|
-
name: "
|
|
2149
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2150
|
+
name: "created_at";
|
|
2151
2151
|
tableName: "tasks";
|
|
2152
2152
|
dataType: "string";
|
|
2153
2153
|
columnType: "SQLiteText";
|
|
2154
2154
|
data: string;
|
|
2155
2155
|
driverParam: string;
|
|
2156
2156
|
notNull: true;
|
|
2157
|
-
hasDefault:
|
|
2157
|
+
hasDefault: true;
|
|
2158
2158
|
isPrimaryKey: false;
|
|
2159
2159
|
isAutoincrement: false;
|
|
2160
2160
|
hasRuntimeDefault: false;
|
|
@@ -2165,15 +2165,15 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2165
2165
|
}, {}, {
|
|
2166
2166
|
length: number | undefined;
|
|
2167
2167
|
}>;
|
|
2168
|
-
|
|
2169
|
-
name: "
|
|
2168
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2169
|
+
name: "updated_at";
|
|
2170
2170
|
tableName: "tasks";
|
|
2171
2171
|
dataType: "string";
|
|
2172
2172
|
columnType: "SQLiteText";
|
|
2173
2173
|
data: string;
|
|
2174
2174
|
driverParam: string;
|
|
2175
2175
|
notNull: true;
|
|
2176
|
-
hasDefault:
|
|
2176
|
+
hasDefault: true;
|
|
2177
2177
|
isPrimaryKey: false;
|
|
2178
2178
|
isAutoincrement: false;
|
|
2179
2179
|
hasRuntimeDefault: false;
|
|
@@ -2184,8 +2184,8 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2184
2184
|
}, {}, {
|
|
2185
2185
|
length: number | undefined;
|
|
2186
2186
|
}>;
|
|
2187
|
-
|
|
2188
|
-
name: "
|
|
2187
|
+
contextId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2188
|
+
name: "context_id";
|
|
2189
2189
|
tableName: "tasks";
|
|
2190
2190
|
dataType: "string";
|
|
2191
2191
|
columnType: "SQLiteText";
|
|
@@ -2203,8 +2203,8 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2203
2203
|
}, {}, {
|
|
2204
2204
|
length: number | undefined;
|
|
2205
2205
|
}>;
|
|
2206
|
-
|
|
2207
|
-
name: "
|
|
2206
|
+
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2207
|
+
name: "status";
|
|
2208
2208
|
tableName: "tasks";
|
|
2209
2209
|
dataType: "string";
|
|
2210
2210
|
columnType: "SQLiteText";
|
|
@@ -2222,8 +2222,27 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2222
2222
|
}, {}, {
|
|
2223
2223
|
length: number | undefined;
|
|
2224
2224
|
}>;
|
|
2225
|
-
|
|
2226
|
-
name: "
|
|
2225
|
+
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2226
|
+
name: "metadata";
|
|
2227
|
+
tableName: "tasks";
|
|
2228
|
+
dataType: "json";
|
|
2229
|
+
columnType: "SQLiteBlobJson";
|
|
2230
|
+
data: TaskMetadataConfig;
|
|
2231
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
2232
|
+
notNull: false;
|
|
2233
|
+
hasDefault: false;
|
|
2234
|
+
isPrimaryKey: false;
|
|
2235
|
+
isAutoincrement: false;
|
|
2236
|
+
hasRuntimeDefault: false;
|
|
2237
|
+
enumValues: undefined;
|
|
2238
|
+
baseColumn: never;
|
|
2239
|
+
identity: undefined;
|
|
2240
|
+
generated: undefined;
|
|
2241
|
+
}, {}, {
|
|
2242
|
+
$type: TaskMetadataConfig;
|
|
2243
|
+
}>;
|
|
2244
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2245
|
+
name: "agent_id";
|
|
2227
2246
|
tableName: "tasks";
|
|
2228
2247
|
dataType: "string";
|
|
2229
2248
|
columnType: "SQLiteText";
|
|
@@ -2241,27 +2260,27 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2241
2260
|
}, {}, {
|
|
2242
2261
|
length: number | undefined;
|
|
2243
2262
|
}>;
|
|
2244
|
-
|
|
2245
|
-
name: "
|
|
2263
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2264
|
+
name: "graph_id";
|
|
2246
2265
|
tableName: "tasks";
|
|
2247
|
-
dataType: "
|
|
2248
|
-
columnType: "
|
|
2249
|
-
data:
|
|
2250
|
-
driverParam:
|
|
2251
|
-
notNull:
|
|
2266
|
+
dataType: "string";
|
|
2267
|
+
columnType: "SQLiteText";
|
|
2268
|
+
data: string;
|
|
2269
|
+
driverParam: string;
|
|
2270
|
+
notNull: true;
|
|
2252
2271
|
hasDefault: false;
|
|
2253
2272
|
isPrimaryKey: false;
|
|
2254
2273
|
isAutoincrement: false;
|
|
2255
2274
|
hasRuntimeDefault: false;
|
|
2256
|
-
enumValues:
|
|
2275
|
+
enumValues: [string, ...string[]];
|
|
2257
2276
|
baseColumn: never;
|
|
2258
2277
|
identity: undefined;
|
|
2259
2278
|
generated: undefined;
|
|
2260
2279
|
}, {}, {
|
|
2261
|
-
|
|
2280
|
+
length: number | undefined;
|
|
2262
2281
|
}>;
|
|
2263
|
-
|
|
2264
|
-
name: "
|
|
2282
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2283
|
+
name: "project_id";
|
|
2265
2284
|
tableName: "tasks";
|
|
2266
2285
|
dataType: "string";
|
|
2267
2286
|
columnType: "SQLiteText";
|
|
@@ -2279,15 +2298,15 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2279
2298
|
}, {}, {
|
|
2280
2299
|
length: number | undefined;
|
|
2281
2300
|
}>;
|
|
2282
|
-
|
|
2283
|
-
name: "
|
|
2301
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2302
|
+
name: "tenant_id";
|
|
2284
2303
|
tableName: "tasks";
|
|
2285
2304
|
dataType: "string";
|
|
2286
2305
|
columnType: "SQLiteText";
|
|
2287
2306
|
data: string;
|
|
2288
2307
|
driverParam: string;
|
|
2289
2308
|
notNull: true;
|
|
2290
|
-
hasDefault:
|
|
2309
|
+
hasDefault: false;
|
|
2291
2310
|
isPrimaryKey: false;
|
|
2292
2311
|
isAutoincrement: false;
|
|
2293
2312
|
hasRuntimeDefault: false;
|
|
@@ -2298,15 +2317,15 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2298
2317
|
}, {}, {
|
|
2299
2318
|
length: number | undefined;
|
|
2300
2319
|
}>;
|
|
2301
|
-
|
|
2302
|
-
name: "
|
|
2320
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2321
|
+
name: "id";
|
|
2303
2322
|
tableName: "tasks";
|
|
2304
2323
|
dataType: "string";
|
|
2305
2324
|
columnType: "SQLiteText";
|
|
2306
2325
|
data: string;
|
|
2307
2326
|
driverParam: string;
|
|
2308
2327
|
notNull: true;
|
|
2309
|
-
hasDefault:
|
|
2328
|
+
hasDefault: false;
|
|
2310
2329
|
isPrimaryKey: false;
|
|
2311
2330
|
isAutoincrement: false;
|
|
2312
2331
|
hasRuntimeDefault: false;
|
|
@@ -2319,14 +2338,15 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2319
2338
|
}>;
|
|
2320
2339
|
}, undefined, undefined>;
|
|
2321
2340
|
declare const TaskInsertSchema: z.ZodObject<{
|
|
2322
|
-
|
|
2323
|
-
|
|
2341
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2342
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2324
2343
|
contextId: z.ZodString;
|
|
2325
2344
|
status: z.ZodString;
|
|
2326
2345
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
|
|
2327
|
-
agentId: z.ZodString;
|
|
2328
|
-
|
|
2329
|
-
|
|
2346
|
+
agentId: z.ZodString;
|
|
2347
|
+
graphId: z.ZodString;
|
|
2348
|
+
projectId: z.ZodString;
|
|
2349
|
+
tenantId: z.ZodString;
|
|
2330
2350
|
id: z.ZodString;
|
|
2331
2351
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
2332
2352
|
}, {
|
|
@@ -2334,14 +2354,15 @@ declare const TaskInsertSchema: z.ZodObject<{
|
|
|
2334
2354
|
in: {};
|
|
2335
2355
|
}>;
|
|
2336
2356
|
declare const TaskUpdateSchema: z.ZodObject<{
|
|
2337
|
-
|
|
2338
|
-
|
|
2357
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2358
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2339
2359
|
contextId: z.ZodOptional<z.ZodString>;
|
|
2340
2360
|
status: z.ZodOptional<z.ZodString>;
|
|
2341
2361
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>;
|
|
2342
2362
|
agentId: z.ZodOptional<z.ZodString>;
|
|
2343
|
-
|
|
2344
|
-
|
|
2363
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
2364
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
2345
2366
|
id: z.ZodOptional<z.ZodString>;
|
|
2346
2367
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2347
2368
|
}, {
|
|
@@ -2350,6 +2371,7 @@ declare const TaskUpdateSchema: z.ZodObject<{
|
|
|
2350
2371
|
}>;
|
|
2351
2372
|
declare const TaskApiSelectSchema: z.ZodObject<{
|
|
2352
2373
|
id: z.ZodString;
|
|
2374
|
+
graphId: z.ZodString;
|
|
2353
2375
|
createdAt: z.ZodString;
|
|
2354
2376
|
updatedAt: z.ZodString;
|
|
2355
2377
|
metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
|
|
@@ -2359,6 +2381,7 @@ declare const TaskApiSelectSchema: z.ZodObject<{
|
|
|
2359
2381
|
}, z.core.$strip>;
|
|
2360
2382
|
declare const TaskApiInsertSchema: z.ZodObject<{
|
|
2361
2383
|
id: z.ZodString;
|
|
2384
|
+
graphId: z.ZodString;
|
|
2362
2385
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
2363
2386
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2364
2387
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
|
|
@@ -2369,6 +2392,7 @@ declare const TaskApiInsertSchema: z.ZodObject<{
|
|
|
2369
2392
|
}, z.core.$strip>;
|
|
2370
2393
|
declare const TaskApiUpdateSchema: z.ZodObject<{
|
|
2371
2394
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2395
|
+
graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2372
2396
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
2373
2397
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
2374
2398
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
|
|
@@ -2378,15 +2402,15 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
|
|
|
2378
2402
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2379
2403
|
}, z.core.$strip>;
|
|
2380
2404
|
declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
2381
|
-
|
|
2382
|
-
name: "
|
|
2405
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2406
|
+
name: "created_at";
|
|
2383
2407
|
tableName: "task_relations";
|
|
2384
2408
|
dataType: "string";
|
|
2385
2409
|
columnType: "SQLiteText";
|
|
2386
2410
|
data: string;
|
|
2387
2411
|
driverParam: string;
|
|
2388
2412
|
notNull: true;
|
|
2389
|
-
hasDefault:
|
|
2413
|
+
hasDefault: true;
|
|
2390
2414
|
isPrimaryKey: false;
|
|
2391
2415
|
isAutoincrement: false;
|
|
2392
2416
|
hasRuntimeDefault: false;
|
|
@@ -2397,15 +2421,15 @@ declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2397
2421
|
}, {}, {
|
|
2398
2422
|
length: number | undefined;
|
|
2399
2423
|
}>;
|
|
2400
|
-
|
|
2401
|
-
name: "
|
|
2424
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2425
|
+
name: "updated_at";
|
|
2402
2426
|
tableName: "task_relations";
|
|
2403
2427
|
dataType: "string";
|
|
2404
2428
|
columnType: "SQLiteText";
|
|
2405
2429
|
data: string;
|
|
2406
2430
|
driverParam: string;
|
|
2407
2431
|
notNull: true;
|
|
2408
|
-
hasDefault:
|
|
2432
|
+
hasDefault: true;
|
|
2409
2433
|
isPrimaryKey: false;
|
|
2410
2434
|
isAutoincrement: false;
|
|
2411
2435
|
hasRuntimeDefault: false;
|
|
@@ -2416,8 +2440,8 @@ declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2416
2440
|
}, {}, {
|
|
2417
2441
|
length: number | undefined;
|
|
2418
2442
|
}>;
|
|
2419
|
-
|
|
2420
|
-
name: "
|
|
2443
|
+
parentTaskId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2444
|
+
name: "parent_task_id";
|
|
2421
2445
|
tableName: "task_relations";
|
|
2422
2446
|
dataType: "string";
|
|
2423
2447
|
columnType: "SQLiteText";
|
|
@@ -2435,8 +2459,8 @@ declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2435
2459
|
}, {}, {
|
|
2436
2460
|
length: number | undefined;
|
|
2437
2461
|
}>;
|
|
2438
|
-
|
|
2439
|
-
name: "
|
|
2462
|
+
childTaskId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2463
|
+
name: "child_task_id";
|
|
2440
2464
|
tableName: "task_relations";
|
|
2441
2465
|
dataType: "string";
|
|
2442
2466
|
columnType: "SQLiteText";
|
|
@@ -2454,15 +2478,15 @@ declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2454
2478
|
}, {}, {
|
|
2455
2479
|
length: number | undefined;
|
|
2456
2480
|
}>;
|
|
2457
|
-
|
|
2458
|
-
name: "
|
|
2481
|
+
relationType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2482
|
+
name: "relation_type";
|
|
2459
2483
|
tableName: "task_relations";
|
|
2460
2484
|
dataType: "string";
|
|
2461
2485
|
columnType: "SQLiteText";
|
|
2462
2486
|
data: string;
|
|
2463
2487
|
driverParam: string;
|
|
2464
|
-
notNull:
|
|
2465
|
-
hasDefault:
|
|
2488
|
+
notNull: false;
|
|
2489
|
+
hasDefault: true;
|
|
2466
2490
|
isPrimaryKey: false;
|
|
2467
2491
|
isAutoincrement: false;
|
|
2468
2492
|
hasRuntimeDefault: false;
|
|
@@ -2473,15 +2497,15 @@ declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2473
2497
|
}, {}, {
|
|
2474
2498
|
length: number | undefined;
|
|
2475
2499
|
}>;
|
|
2476
|
-
|
|
2477
|
-
name: "
|
|
2500
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2501
|
+
name: "project_id";
|
|
2478
2502
|
tableName: "task_relations";
|
|
2479
2503
|
dataType: "string";
|
|
2480
2504
|
columnType: "SQLiteText";
|
|
2481
2505
|
data: string;
|
|
2482
2506
|
driverParam: string;
|
|
2483
|
-
notNull:
|
|
2484
|
-
hasDefault:
|
|
2507
|
+
notNull: true;
|
|
2508
|
+
hasDefault: false;
|
|
2485
2509
|
isPrimaryKey: false;
|
|
2486
2510
|
isAutoincrement: false;
|
|
2487
2511
|
hasRuntimeDefault: false;
|
|
@@ -2492,15 +2516,15 @@ declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2492
2516
|
}, {}, {
|
|
2493
2517
|
length: number | undefined;
|
|
2494
2518
|
}>;
|
|
2495
|
-
|
|
2496
|
-
name: "
|
|
2519
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2520
|
+
name: "tenant_id";
|
|
2497
2521
|
tableName: "task_relations";
|
|
2498
2522
|
dataType: "string";
|
|
2499
2523
|
columnType: "SQLiteText";
|
|
2500
2524
|
data: string;
|
|
2501
2525
|
driverParam: string;
|
|
2502
2526
|
notNull: true;
|
|
2503
|
-
hasDefault:
|
|
2527
|
+
hasDefault: false;
|
|
2504
2528
|
isPrimaryKey: false;
|
|
2505
2529
|
isAutoincrement: false;
|
|
2506
2530
|
hasRuntimeDefault: false;
|
|
@@ -2511,15 +2535,15 @@ declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2511
2535
|
}, {}, {
|
|
2512
2536
|
length: number | undefined;
|
|
2513
2537
|
}>;
|
|
2514
|
-
|
|
2515
|
-
name: "
|
|
2538
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2539
|
+
name: "id";
|
|
2516
2540
|
tableName: "task_relations";
|
|
2517
2541
|
dataType: "string";
|
|
2518
2542
|
columnType: "SQLiteText";
|
|
2519
2543
|
data: string;
|
|
2520
2544
|
driverParam: string;
|
|
2521
2545
|
notNull: true;
|
|
2522
|
-
hasDefault:
|
|
2546
|
+
hasDefault: false;
|
|
2523
2547
|
isPrimaryKey: false;
|
|
2524
2548
|
isAutoincrement: false;
|
|
2525
2549
|
hasRuntimeDefault: false;
|
|
@@ -2532,11 +2556,11 @@ declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2532
2556
|
}>;
|
|
2533
2557
|
}, undefined, undefined>;
|
|
2534
2558
|
declare const TaskRelationInsertSchema: z.ZodObject<{
|
|
2535
|
-
tenantId: z.ZodString;
|
|
2536
|
-
projectId: z.ZodString;
|
|
2537
|
-
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2538
2559
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
2539
2560
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2561
|
+
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2562
|
+
projectId: z.ZodString;
|
|
2563
|
+
tenantId: z.ZodString;
|
|
2540
2564
|
id: z.ZodString;
|
|
2541
2565
|
parentTaskId: z.ZodString;
|
|
2542
2566
|
childTaskId: z.ZodString;
|
|
@@ -2545,11 +2569,11 @@ declare const TaskRelationInsertSchema: z.ZodObject<{
|
|
|
2545
2569
|
in: {};
|
|
2546
2570
|
}>;
|
|
2547
2571
|
declare const TaskRelationUpdateSchema: z.ZodObject<{
|
|
2548
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
2549
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
2550
|
-
relationType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2551
2572
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2552
2573
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2574
|
+
relationType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2575
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2576
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
2553
2577
|
id: z.ZodOptional<z.ZodString>;
|
|
2554
2578
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
2555
2579
|
childTaskId: z.ZodOptional<z.ZodString>;
|
|
@@ -2603,34 +2627,15 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
|
|
|
2603
2627
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2604
2628
|
}, z.core.$strip>;
|
|
2605
2629
|
declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
2606
|
-
|
|
2607
|
-
name: "
|
|
2608
|
-
tableName: "tools";
|
|
2609
|
-
dataType: "string";
|
|
2610
|
-
columnType: "SQLiteText";
|
|
2611
|
-
data: string;
|
|
2612
|
-
driverParam: string;
|
|
2613
|
-
notNull: true;
|
|
2614
|
-
hasDefault: false;
|
|
2615
|
-
isPrimaryKey: false;
|
|
2616
|
-
isAutoincrement: false;
|
|
2617
|
-
hasRuntimeDefault: false;
|
|
2618
|
-
enumValues: [string, ...string[]];
|
|
2619
|
-
baseColumn: never;
|
|
2620
|
-
identity: undefined;
|
|
2621
|
-
generated: undefined;
|
|
2622
|
-
}, {}, {
|
|
2623
|
-
length: number | undefined;
|
|
2624
|
-
}>;
|
|
2625
|
-
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2626
|
-
name: "project_id";
|
|
2630
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2631
|
+
name: "created_at";
|
|
2627
2632
|
tableName: "tools";
|
|
2628
2633
|
dataType: "string";
|
|
2629
2634
|
columnType: "SQLiteText";
|
|
2630
2635
|
data: string;
|
|
2631
2636
|
driverParam: string;
|
|
2632
2637
|
notNull: true;
|
|
2633
|
-
hasDefault:
|
|
2638
|
+
hasDefault: true;
|
|
2634
2639
|
isPrimaryKey: false;
|
|
2635
2640
|
isAutoincrement: false;
|
|
2636
2641
|
hasRuntimeDefault: false;
|
|
@@ -2641,15 +2646,15 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2641
2646
|
}, {}, {
|
|
2642
2647
|
length: number | undefined;
|
|
2643
2648
|
}>;
|
|
2644
|
-
|
|
2645
|
-
name: "
|
|
2649
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2650
|
+
name: "updated_at";
|
|
2646
2651
|
tableName: "tools";
|
|
2647
2652
|
dataType: "string";
|
|
2648
2653
|
columnType: "SQLiteText";
|
|
2649
2654
|
data: string;
|
|
2650
2655
|
driverParam: string;
|
|
2651
2656
|
notNull: true;
|
|
2652
|
-
hasDefault:
|
|
2657
|
+
hasDefault: true;
|
|
2653
2658
|
isPrimaryKey: false;
|
|
2654
2659
|
isAutoincrement: false;
|
|
2655
2660
|
hasRuntimeDefault: false;
|
|
@@ -2799,15 +2804,15 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2799
2804
|
}, {}, {
|
|
2800
2805
|
length: number | undefined;
|
|
2801
2806
|
}>;
|
|
2802
|
-
|
|
2803
|
-
name: "
|
|
2807
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2808
|
+
name: "project_id";
|
|
2804
2809
|
tableName: "tools";
|
|
2805
2810
|
dataType: "string";
|
|
2806
2811
|
columnType: "SQLiteText";
|
|
2807
2812
|
data: string;
|
|
2808
2813
|
driverParam: string;
|
|
2809
2814
|
notNull: true;
|
|
2810
|
-
hasDefault:
|
|
2815
|
+
hasDefault: false;
|
|
2811
2816
|
isPrimaryKey: false;
|
|
2812
2817
|
isAutoincrement: false;
|
|
2813
2818
|
hasRuntimeDefault: false;
|
|
@@ -2818,15 +2823,34 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2818
2823
|
}, {}, {
|
|
2819
2824
|
length: number | undefined;
|
|
2820
2825
|
}>;
|
|
2821
|
-
|
|
2822
|
-
name: "
|
|
2826
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2827
|
+
name: "tenant_id";
|
|
2823
2828
|
tableName: "tools";
|
|
2824
2829
|
dataType: "string";
|
|
2825
2830
|
columnType: "SQLiteText";
|
|
2826
2831
|
data: string;
|
|
2827
2832
|
driverParam: string;
|
|
2828
2833
|
notNull: true;
|
|
2829
|
-
hasDefault:
|
|
2834
|
+
hasDefault: false;
|
|
2835
|
+
isPrimaryKey: false;
|
|
2836
|
+
isAutoincrement: false;
|
|
2837
|
+
hasRuntimeDefault: false;
|
|
2838
|
+
enumValues: [string, ...string[]];
|
|
2839
|
+
baseColumn: never;
|
|
2840
|
+
identity: undefined;
|
|
2841
|
+
generated: undefined;
|
|
2842
|
+
}, {}, {
|
|
2843
|
+
length: number | undefined;
|
|
2844
|
+
}>;
|
|
2845
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2846
|
+
name: "id";
|
|
2847
|
+
tableName: "tools";
|
|
2848
|
+
dataType: "string";
|
|
2849
|
+
columnType: "SQLiteText";
|
|
2850
|
+
data: string;
|
|
2851
|
+
driverParam: string;
|
|
2852
|
+
notNull: true;
|
|
2853
|
+
hasDefault: false;
|
|
2830
2854
|
isPrimaryKey: false;
|
|
2831
2855
|
isAutoincrement: false;
|
|
2832
2856
|
hasRuntimeDefault: false;
|
|
@@ -2839,8 +2863,8 @@ declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2839
2863
|
}>;
|
|
2840
2864
|
}, undefined, undefined>;
|
|
2841
2865
|
declare const ToolInsertSchema: z.ZodObject<{
|
|
2842
|
-
|
|
2843
|
-
|
|
2866
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2867
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2844
2868
|
name: z.ZodString;
|
|
2845
2869
|
config: z.ZodType<{
|
|
2846
2870
|
type: "mcp";
|
|
@@ -2859,8 +2883,8 @@ declare const ToolInsertSchema: z.ZodObject<{
|
|
|
2859
2883
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
2860
2884
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
2861
2885
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2862
|
-
|
|
2863
|
-
|
|
2886
|
+
projectId: z.ZodString;
|
|
2887
|
+
tenantId: z.ZodString;
|
|
2864
2888
|
id: z.ZodString;
|
|
2865
2889
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2866
2890
|
}, {
|
|
@@ -2868,34 +2892,15 @@ declare const ToolInsertSchema: z.ZodObject<{
|
|
|
2868
2892
|
in: {};
|
|
2869
2893
|
}>;
|
|
2870
2894
|
declare const ConversationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
2871
|
-
|
|
2872
|
-
name: "
|
|
2873
|
-
tableName: "conversations";
|
|
2874
|
-
dataType: "string";
|
|
2875
|
-
columnType: "SQLiteText";
|
|
2876
|
-
data: string;
|
|
2877
|
-
driverParam: string;
|
|
2878
|
-
notNull: true;
|
|
2879
|
-
hasDefault: false;
|
|
2880
|
-
isPrimaryKey: false;
|
|
2881
|
-
isAutoincrement: false;
|
|
2882
|
-
hasRuntimeDefault: false;
|
|
2883
|
-
enumValues: [string, ...string[]];
|
|
2884
|
-
baseColumn: never;
|
|
2885
|
-
identity: undefined;
|
|
2886
|
-
generated: undefined;
|
|
2887
|
-
}, {}, {
|
|
2888
|
-
length: number | undefined;
|
|
2889
|
-
}>;
|
|
2890
|
-
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2891
|
-
name: "project_id";
|
|
2895
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2896
|
+
name: "created_at";
|
|
2892
2897
|
tableName: "conversations";
|
|
2893
2898
|
dataType: "string";
|
|
2894
2899
|
columnType: "SQLiteText";
|
|
2895
2900
|
data: string;
|
|
2896
2901
|
driverParam: string;
|
|
2897
2902
|
notNull: true;
|
|
2898
|
-
hasDefault:
|
|
2903
|
+
hasDefault: true;
|
|
2899
2904
|
isPrimaryKey: false;
|
|
2900
2905
|
isAutoincrement: false;
|
|
2901
2906
|
hasRuntimeDefault: false;
|
|
@@ -2906,15 +2911,15 @@ declare const ConversationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
2906
2911
|
}, {}, {
|
|
2907
2912
|
length: number | undefined;
|
|
2908
2913
|
}>;
|
|
2909
|
-
|
|
2910
|
-
name: "
|
|
2914
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2915
|
+
name: "updated_at";
|
|
2911
2916
|
tableName: "conversations";
|
|
2912
2917
|
dataType: "string";
|
|
2913
2918
|
columnType: "SQLiteText";
|
|
2914
2919
|
data: string;
|
|
2915
2920
|
driverParam: string;
|
|
2916
2921
|
notNull: true;
|
|
2917
|
-
hasDefault:
|
|
2922
|
+
hasDefault: true;
|
|
2918
2923
|
isPrimaryKey: false;
|
|
2919
2924
|
isAutoincrement: false;
|
|
2920
2925
|
hasRuntimeDefault: false;
|
|
@@ -3020,15 +3025,15 @@ declare const ConversationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3020
3025
|
}, {}, {
|
|
3021
3026
|
$type: ConversationMetadata;
|
|
3022
3027
|
}>;
|
|
3023
|
-
|
|
3024
|
-
name: "
|
|
3028
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3029
|
+
name: "project_id";
|
|
3025
3030
|
tableName: "conversations";
|
|
3026
3031
|
dataType: "string";
|
|
3027
3032
|
columnType: "SQLiteText";
|
|
3028
3033
|
data: string;
|
|
3029
3034
|
driverParam: string;
|
|
3030
3035
|
notNull: true;
|
|
3031
|
-
hasDefault:
|
|
3036
|
+
hasDefault: false;
|
|
3032
3037
|
isPrimaryKey: false;
|
|
3033
3038
|
isAutoincrement: false;
|
|
3034
3039
|
hasRuntimeDefault: false;
|
|
@@ -3039,15 +3044,34 @@ declare const ConversationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3039
3044
|
}, {}, {
|
|
3040
3045
|
length: number | undefined;
|
|
3041
3046
|
}>;
|
|
3042
|
-
|
|
3043
|
-
name: "
|
|
3047
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3048
|
+
name: "tenant_id";
|
|
3044
3049
|
tableName: "conversations";
|
|
3045
3050
|
dataType: "string";
|
|
3046
3051
|
columnType: "SQLiteText";
|
|
3047
3052
|
data: string;
|
|
3048
3053
|
driverParam: string;
|
|
3049
3054
|
notNull: true;
|
|
3050
|
-
hasDefault:
|
|
3055
|
+
hasDefault: false;
|
|
3056
|
+
isPrimaryKey: false;
|
|
3057
|
+
isAutoincrement: false;
|
|
3058
|
+
hasRuntimeDefault: false;
|
|
3059
|
+
enumValues: [string, ...string[]];
|
|
3060
|
+
baseColumn: never;
|
|
3061
|
+
identity: undefined;
|
|
3062
|
+
generated: undefined;
|
|
3063
|
+
}, {}, {
|
|
3064
|
+
length: number | undefined;
|
|
3065
|
+
}>;
|
|
3066
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3067
|
+
name: "id";
|
|
3068
|
+
tableName: "conversations";
|
|
3069
|
+
dataType: "string";
|
|
3070
|
+
columnType: "SQLiteText";
|
|
3071
|
+
data: string;
|
|
3072
|
+
driverParam: string;
|
|
3073
|
+
notNull: true;
|
|
3074
|
+
hasDefault: false;
|
|
3051
3075
|
isPrimaryKey: false;
|
|
3052
3076
|
isAutoincrement: false;
|
|
3053
3077
|
hasRuntimeDefault: false;
|
|
@@ -3060,15 +3084,15 @@ declare const ConversationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3060
3084
|
}>;
|
|
3061
3085
|
}, undefined, undefined>;
|
|
3062
3086
|
declare const ConversationInsertSchema: z.ZodObject<{
|
|
3063
|
-
|
|
3064
|
-
|
|
3087
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3088
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3065
3089
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3066
3090
|
activeAgentId: z.ZodString;
|
|
3067
3091
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3068
3092
|
lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3069
3093
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
3070
|
-
|
|
3071
|
-
|
|
3094
|
+
projectId: z.ZodString;
|
|
3095
|
+
tenantId: z.ZodString;
|
|
3072
3096
|
id: z.ZodString;
|
|
3073
3097
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
3074
3098
|
}, {
|
|
@@ -3076,15 +3100,15 @@ declare const ConversationInsertSchema: z.ZodObject<{
|
|
|
3076
3100
|
in: {};
|
|
3077
3101
|
}>;
|
|
3078
3102
|
declare const ConversationUpdateSchema: z.ZodObject<{
|
|
3079
|
-
|
|
3080
|
-
|
|
3103
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3104
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3081
3105
|
userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3082
3106
|
activeAgentId: z.ZodOptional<z.ZodString>;
|
|
3083
3107
|
title: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3084
3108
|
lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3085
3109
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>;
|
|
3086
|
-
|
|
3087
|
-
|
|
3110
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3111
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
3088
3112
|
id: z.ZodOptional<z.ZodString>;
|
|
3089
3113
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3090
3114
|
}, {
|
|
@@ -3112,46 +3136,27 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
|
|
|
3112
3136
|
activeAgentId: z.ZodString;
|
|
3113
3137
|
lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3114
3138
|
}, z.core.$strip>;
|
|
3115
|
-
declare const ConversationApiUpdateSchema: z.ZodObject<{
|
|
3116
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3117
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3118
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3119
|
-
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3120
|
-
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3121
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
3122
|
-
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3123
|
-
activeAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3124
|
-
lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3125
|
-
}, z.core.$strip>;
|
|
3126
|
-
declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
3127
|
-
|
|
3128
|
-
name: "
|
|
3129
|
-
tableName: "messages";
|
|
3130
|
-
dataType: "string";
|
|
3131
|
-
columnType: "SQLiteText";
|
|
3132
|
-
data: string;
|
|
3133
|
-
driverParam: string;
|
|
3134
|
-
notNull: true;
|
|
3135
|
-
hasDefault: false;
|
|
3136
|
-
isPrimaryKey: false;
|
|
3137
|
-
isAutoincrement: false;
|
|
3138
|
-
hasRuntimeDefault: false;
|
|
3139
|
-
enumValues: [string, ...string[]];
|
|
3140
|
-
baseColumn: never;
|
|
3141
|
-
identity: undefined;
|
|
3142
|
-
generated: undefined;
|
|
3143
|
-
}, {}, {
|
|
3144
|
-
length: number | undefined;
|
|
3145
|
-
}>;
|
|
3146
|
-
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3147
|
-
name: "project_id";
|
|
3139
|
+
declare const ConversationApiUpdateSchema: z.ZodObject<{
|
|
3140
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3141
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3142
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3143
|
+
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3144
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3145
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
3146
|
+
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3147
|
+
activeAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3148
|
+
lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3149
|
+
}, z.core.$strip>;
|
|
3150
|
+
declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
3151
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3152
|
+
name: "created_at";
|
|
3148
3153
|
tableName: "messages";
|
|
3149
3154
|
dataType: "string";
|
|
3150
3155
|
columnType: "SQLiteText";
|
|
3151
3156
|
data: string;
|
|
3152
3157
|
driverParam: string;
|
|
3153
3158
|
notNull: true;
|
|
3154
|
-
hasDefault:
|
|
3159
|
+
hasDefault: true;
|
|
3155
3160
|
isPrimaryKey: false;
|
|
3156
3161
|
isAutoincrement: false;
|
|
3157
3162
|
hasRuntimeDefault: false;
|
|
@@ -3162,15 +3167,15 @@ declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3162
3167
|
}, {}, {
|
|
3163
3168
|
length: number | undefined;
|
|
3164
3169
|
}>;
|
|
3165
|
-
|
|
3166
|
-
name: "
|
|
3170
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3171
|
+
name: "updated_at";
|
|
3167
3172
|
tableName: "messages";
|
|
3168
3173
|
dataType: "string";
|
|
3169
3174
|
columnType: "SQLiteText";
|
|
3170
3175
|
data: string;
|
|
3171
3176
|
driverParam: string;
|
|
3172
3177
|
notNull: true;
|
|
3173
|
-
hasDefault:
|
|
3178
|
+
hasDefault: true;
|
|
3174
3179
|
isPrimaryKey: false;
|
|
3175
3180
|
isAutoincrement: false;
|
|
3176
3181
|
hasRuntimeDefault: false;
|
|
@@ -3466,15 +3471,15 @@ declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3466
3471
|
}, {}, {
|
|
3467
3472
|
$type: MessageMetadata;
|
|
3468
3473
|
}>;
|
|
3469
|
-
|
|
3470
|
-
name: "
|
|
3474
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3475
|
+
name: "project_id";
|
|
3471
3476
|
tableName: "messages";
|
|
3472
3477
|
dataType: "string";
|
|
3473
3478
|
columnType: "SQLiteText";
|
|
3474
3479
|
data: string;
|
|
3475
3480
|
driverParam: string;
|
|
3476
3481
|
notNull: true;
|
|
3477
|
-
hasDefault:
|
|
3482
|
+
hasDefault: false;
|
|
3478
3483
|
isPrimaryKey: false;
|
|
3479
3484
|
isAutoincrement: false;
|
|
3480
3485
|
hasRuntimeDefault: false;
|
|
@@ -3485,15 +3490,34 @@ declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3485
3490
|
}, {}, {
|
|
3486
3491
|
length: number | undefined;
|
|
3487
3492
|
}>;
|
|
3488
|
-
|
|
3489
|
-
name: "
|
|
3493
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3494
|
+
name: "tenant_id";
|
|
3490
3495
|
tableName: "messages";
|
|
3491
3496
|
dataType: "string";
|
|
3492
3497
|
columnType: "SQLiteText";
|
|
3493
3498
|
data: string;
|
|
3494
3499
|
driverParam: string;
|
|
3495
3500
|
notNull: true;
|
|
3496
|
-
hasDefault:
|
|
3501
|
+
hasDefault: false;
|
|
3502
|
+
isPrimaryKey: false;
|
|
3503
|
+
isAutoincrement: false;
|
|
3504
|
+
hasRuntimeDefault: false;
|
|
3505
|
+
enumValues: [string, ...string[]];
|
|
3506
|
+
baseColumn: never;
|
|
3507
|
+
identity: undefined;
|
|
3508
|
+
generated: undefined;
|
|
3509
|
+
}, {}, {
|
|
3510
|
+
length: number | undefined;
|
|
3511
|
+
}>;
|
|
3512
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3513
|
+
name: "id";
|
|
3514
|
+
tableName: "messages";
|
|
3515
|
+
dataType: "string";
|
|
3516
|
+
columnType: "SQLiteText";
|
|
3517
|
+
data: string;
|
|
3518
|
+
driverParam: string;
|
|
3519
|
+
notNull: true;
|
|
3520
|
+
hasDefault: false;
|
|
3497
3521
|
isPrimaryKey: false;
|
|
3498
3522
|
isAutoincrement: false;
|
|
3499
3523
|
hasRuntimeDefault: false;
|
|
@@ -3506,8 +3530,8 @@ declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3506
3530
|
}>;
|
|
3507
3531
|
}, undefined, undefined>;
|
|
3508
3532
|
declare const MessageInsertSchema: z.ZodObject<{
|
|
3509
|
-
|
|
3510
|
-
|
|
3533
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3534
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3511
3535
|
role: z.ZodString;
|
|
3512
3536
|
fromAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3513
3537
|
toAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3521,8 +3545,8 @@ declare const MessageInsertSchema: z.ZodObject<{
|
|
|
3521
3545
|
a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3522
3546
|
a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3523
3547
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
|
|
3524
|
-
|
|
3525
|
-
|
|
3548
|
+
projectId: z.ZodString;
|
|
3549
|
+
tenantId: z.ZodString;
|
|
3526
3550
|
id: z.ZodString;
|
|
3527
3551
|
conversationId: z.ZodString;
|
|
3528
3552
|
taskId: z.ZodOptional<z.ZodString>;
|
|
@@ -3531,8 +3555,8 @@ declare const MessageInsertSchema: z.ZodObject<{
|
|
|
3531
3555
|
in: {};
|
|
3532
3556
|
}>;
|
|
3533
3557
|
declare const MessageUpdateSchema: z.ZodObject<{
|
|
3534
|
-
|
|
3535
|
-
|
|
3558
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3559
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3536
3560
|
role: z.ZodOptional<z.ZodString>;
|
|
3537
3561
|
fromAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3538
3562
|
toAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -3546,8 +3570,8 @@ declare const MessageUpdateSchema: z.ZodObject<{
|
|
|
3546
3570
|
a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3547
3571
|
a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3548
3572
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>;
|
|
3549
|
-
|
|
3550
|
-
|
|
3573
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3574
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
3551
3575
|
id: z.ZodOptional<z.ZodString>;
|
|
3552
3576
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
3553
3577
|
taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3616,34 +3640,15 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
|
|
|
3616
3640
|
a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3617
3641
|
}, z.core.$strip>;
|
|
3618
3642
|
declare const ContextCacheSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
3619
|
-
|
|
3620
|
-
name: "
|
|
3621
|
-
tableName: "context_cache";
|
|
3622
|
-
dataType: "string";
|
|
3623
|
-
columnType: "SQLiteText";
|
|
3624
|
-
data: string;
|
|
3625
|
-
driverParam: string;
|
|
3626
|
-
notNull: true;
|
|
3627
|
-
hasDefault: false;
|
|
3628
|
-
isPrimaryKey: false;
|
|
3629
|
-
isAutoincrement: false;
|
|
3630
|
-
hasRuntimeDefault: false;
|
|
3631
|
-
enumValues: [string, ...string[]];
|
|
3632
|
-
baseColumn: never;
|
|
3633
|
-
identity: undefined;
|
|
3634
|
-
generated: undefined;
|
|
3635
|
-
}, {}, {
|
|
3636
|
-
length: number | undefined;
|
|
3637
|
-
}>;
|
|
3638
|
-
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3639
|
-
name: "project_id";
|
|
3643
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3644
|
+
name: "created_at";
|
|
3640
3645
|
tableName: "context_cache";
|
|
3641
3646
|
dataType: "string";
|
|
3642
3647
|
columnType: "SQLiteText";
|
|
3643
3648
|
data: string;
|
|
3644
3649
|
driverParam: string;
|
|
3645
3650
|
notNull: true;
|
|
3646
|
-
hasDefault:
|
|
3651
|
+
hasDefault: true;
|
|
3647
3652
|
isPrimaryKey: false;
|
|
3648
3653
|
isAutoincrement: false;
|
|
3649
3654
|
hasRuntimeDefault: false;
|
|
@@ -3654,15 +3659,15 @@ declare const ContextCacheSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3654
3659
|
}, {}, {
|
|
3655
3660
|
length: number | undefined;
|
|
3656
3661
|
}>;
|
|
3657
|
-
|
|
3658
|
-
name: "
|
|
3662
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3663
|
+
name: "updated_at";
|
|
3659
3664
|
tableName: "context_cache";
|
|
3660
3665
|
dataType: "string";
|
|
3661
3666
|
columnType: "SQLiteText";
|
|
3662
3667
|
data: string;
|
|
3663
3668
|
driverParam: string;
|
|
3664
3669
|
notNull: true;
|
|
3665
|
-
hasDefault:
|
|
3670
|
+
hasDefault: true;
|
|
3666
3671
|
isPrimaryKey: false;
|
|
3667
3672
|
isAutoincrement: false;
|
|
3668
3673
|
hasRuntimeDefault: false;
|
|
@@ -3823,15 +3828,15 @@ declare const ContextCacheSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3823
3828
|
identity: undefined;
|
|
3824
3829
|
generated: undefined;
|
|
3825
3830
|
}, {}, {}>;
|
|
3826
|
-
|
|
3827
|
-
name: "
|
|
3831
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3832
|
+
name: "project_id";
|
|
3828
3833
|
tableName: "context_cache";
|
|
3829
3834
|
dataType: "string";
|
|
3830
3835
|
columnType: "SQLiteText";
|
|
3831
3836
|
data: string;
|
|
3832
3837
|
driverParam: string;
|
|
3833
3838
|
notNull: true;
|
|
3834
|
-
hasDefault:
|
|
3839
|
+
hasDefault: false;
|
|
3835
3840
|
isPrimaryKey: false;
|
|
3836
3841
|
isAutoincrement: false;
|
|
3837
3842
|
hasRuntimeDefault: false;
|
|
@@ -3842,15 +3847,15 @@ declare const ContextCacheSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3842
3847
|
}, {}, {
|
|
3843
3848
|
length: number | undefined;
|
|
3844
3849
|
}>;
|
|
3845
|
-
|
|
3846
|
-
name: "
|
|
3850
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3851
|
+
name: "tenant_id";
|
|
3847
3852
|
tableName: "context_cache";
|
|
3848
3853
|
dataType: "string";
|
|
3849
3854
|
columnType: "SQLiteText";
|
|
3850
3855
|
data: string;
|
|
3851
3856
|
driverParam: string;
|
|
3852
3857
|
notNull: true;
|
|
3853
|
-
hasDefault:
|
|
3858
|
+
hasDefault: false;
|
|
3854
3859
|
isPrimaryKey: false;
|
|
3855
3860
|
isAutoincrement: false;
|
|
3856
3861
|
hasRuntimeDefault: false;
|
|
@@ -3861,10 +3866,8 @@ declare const ContextCacheSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
3861
3866
|
}, {}, {
|
|
3862
3867
|
length: number | undefined;
|
|
3863
3868
|
}>;
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3867
|
-
name: "tenant_id";
|
|
3869
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3870
|
+
name: "id";
|
|
3868
3871
|
tableName: "context_cache";
|
|
3869
3872
|
dataType: "string";
|
|
3870
3873
|
columnType: "SQLiteText";
|
|
@@ -3882,15 +3885,17 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
3882
3885
|
}, {}, {
|
|
3883
3886
|
length: number | undefined;
|
|
3884
3887
|
}>;
|
|
3885
|
-
|
|
3886
|
-
|
|
3888
|
+
}, undefined, undefined>;
|
|
3889
|
+
declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
3890
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3891
|
+
name: "created_at";
|
|
3887
3892
|
tableName: "context_cache";
|
|
3888
3893
|
dataType: "string";
|
|
3889
3894
|
columnType: "SQLiteText";
|
|
3890
3895
|
data: string;
|
|
3891
3896
|
driverParam: string;
|
|
3892
3897
|
notNull: true;
|
|
3893
|
-
hasDefault:
|
|
3898
|
+
hasDefault: true;
|
|
3894
3899
|
isPrimaryKey: false;
|
|
3895
3900
|
isAutoincrement: false;
|
|
3896
3901
|
hasRuntimeDefault: false;
|
|
@@ -3901,15 +3906,15 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
3901
3906
|
}, {}, {
|
|
3902
3907
|
length: number | undefined;
|
|
3903
3908
|
}>;
|
|
3904
|
-
|
|
3905
|
-
name: "
|
|
3909
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3910
|
+
name: "updated_at";
|
|
3906
3911
|
tableName: "context_cache";
|
|
3907
3912
|
dataType: "string";
|
|
3908
3913
|
columnType: "SQLiteText";
|
|
3909
3914
|
data: string;
|
|
3910
3915
|
driverParam: string;
|
|
3911
3916
|
notNull: true;
|
|
3912
|
-
hasDefault:
|
|
3917
|
+
hasDefault: true;
|
|
3913
3918
|
isPrimaryKey: false;
|
|
3914
3919
|
isAutoincrement: false;
|
|
3915
3920
|
hasRuntimeDefault: false;
|
|
@@ -4070,15 +4075,15 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
4070
4075
|
identity: undefined;
|
|
4071
4076
|
generated: undefined;
|
|
4072
4077
|
}, {}, {}>;
|
|
4073
|
-
|
|
4074
|
-
name: "
|
|
4078
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4079
|
+
name: "project_id";
|
|
4075
4080
|
tableName: "context_cache";
|
|
4076
4081
|
dataType: "string";
|
|
4077
4082
|
columnType: "SQLiteText";
|
|
4078
4083
|
data: string;
|
|
4079
4084
|
driverParam: string;
|
|
4080
4085
|
notNull: true;
|
|
4081
|
-
hasDefault:
|
|
4086
|
+
hasDefault: false;
|
|
4082
4087
|
isPrimaryKey: false;
|
|
4083
4088
|
isAutoincrement: false;
|
|
4084
4089
|
hasRuntimeDefault: false;
|
|
@@ -4089,15 +4094,34 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
4089
4094
|
}, {}, {
|
|
4090
4095
|
length: number | undefined;
|
|
4091
4096
|
}>;
|
|
4092
|
-
|
|
4093
|
-
name: "
|
|
4097
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4098
|
+
name: "tenant_id";
|
|
4094
4099
|
tableName: "context_cache";
|
|
4095
4100
|
dataType: "string";
|
|
4096
4101
|
columnType: "SQLiteText";
|
|
4097
4102
|
data: string;
|
|
4098
4103
|
driverParam: string;
|
|
4099
4104
|
notNull: true;
|
|
4100
|
-
hasDefault:
|
|
4105
|
+
hasDefault: false;
|
|
4106
|
+
isPrimaryKey: false;
|
|
4107
|
+
isAutoincrement: false;
|
|
4108
|
+
hasRuntimeDefault: false;
|
|
4109
|
+
enumValues: [string, ...string[]];
|
|
4110
|
+
baseColumn: never;
|
|
4111
|
+
identity: undefined;
|
|
4112
|
+
generated: undefined;
|
|
4113
|
+
}, {}, {
|
|
4114
|
+
length: number | undefined;
|
|
4115
|
+
}>;
|
|
4116
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4117
|
+
name: "id";
|
|
4118
|
+
tableName: "context_cache";
|
|
4119
|
+
dataType: "string";
|
|
4120
|
+
columnType: "SQLiteText";
|
|
4121
|
+
data: string;
|
|
4122
|
+
driverParam: string;
|
|
4123
|
+
notNull: true;
|
|
4124
|
+
hasDefault: false;
|
|
4101
4125
|
isPrimaryKey: false;
|
|
4102
4126
|
isAutoincrement: false;
|
|
4103
4127
|
hasRuntimeDefault: false;
|
|
@@ -4110,9 +4134,8 @@ declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
4110
4134
|
}>;
|
|
4111
4135
|
}, undefined, undefined>;
|
|
4112
4136
|
declare const ContextCacheUpdateSchema: z.ZodObject<{
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
id: z.ZodOptional<z.ZodString>;
|
|
4137
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4138
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4116
4139
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
4117
4140
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
4118
4141
|
contextVariableKey: z.ZodOptional<z.ZodString>;
|
|
@@ -4121,8 +4144,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
|
|
|
4121
4144
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
4122
4145
|
fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4123
4146
|
fetchDurationMs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>;
|
|
4124
|
-
|
|
4125
|
-
|
|
4147
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4148
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
4149
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4126
4150
|
}, {
|
|
4127
4151
|
out: {};
|
|
4128
4152
|
in: {};
|
|
@@ -4167,15 +4191,15 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
|
|
|
4167
4191
|
fetchDurationMs: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>>;
|
|
4168
4192
|
}, z.core.$strip>;
|
|
4169
4193
|
declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
4170
|
-
|
|
4171
|
-
name: "
|
|
4194
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4195
|
+
name: "created_at";
|
|
4172
4196
|
tableName: "data_components";
|
|
4173
4197
|
dataType: "string";
|
|
4174
4198
|
columnType: "SQLiteText";
|
|
4175
4199
|
data: string;
|
|
4176
4200
|
driverParam: string;
|
|
4177
4201
|
notNull: true;
|
|
4178
|
-
hasDefault:
|
|
4202
|
+
hasDefault: true;
|
|
4179
4203
|
isPrimaryKey: false;
|
|
4180
4204
|
isAutoincrement: false;
|
|
4181
4205
|
hasRuntimeDefault: false;
|
|
@@ -4186,15 +4210,15 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4186
4210
|
}, {}, {
|
|
4187
4211
|
length: number | undefined;
|
|
4188
4212
|
}>;
|
|
4189
|
-
|
|
4190
|
-
name: "
|
|
4213
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4214
|
+
name: "updated_at";
|
|
4191
4215
|
tableName: "data_components";
|
|
4192
4216
|
dataType: "string";
|
|
4193
4217
|
columnType: "SQLiteText";
|
|
4194
4218
|
data: string;
|
|
4195
4219
|
driverParam: string;
|
|
4196
4220
|
notNull: true;
|
|
4197
|
-
hasDefault:
|
|
4221
|
+
hasDefault: true;
|
|
4198
4222
|
isPrimaryKey: false;
|
|
4199
4223
|
isAutoincrement: false;
|
|
4200
4224
|
hasRuntimeDefault: false;
|
|
@@ -4205,24 +4229,24 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4205
4229
|
}, {}, {
|
|
4206
4230
|
length: number | undefined;
|
|
4207
4231
|
}>;
|
|
4208
|
-
|
|
4209
|
-
name: "
|
|
4232
|
+
props: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4233
|
+
name: "props";
|
|
4210
4234
|
tableName: "data_components";
|
|
4211
|
-
dataType: "
|
|
4212
|
-
columnType: "
|
|
4213
|
-
data: string
|
|
4214
|
-
driverParam:
|
|
4215
|
-
notNull:
|
|
4235
|
+
dataType: "json";
|
|
4236
|
+
columnType: "SQLiteBlobJson";
|
|
4237
|
+
data: Record<string, unknown>;
|
|
4238
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
4239
|
+
notNull: false;
|
|
4216
4240
|
hasDefault: false;
|
|
4217
4241
|
isPrimaryKey: false;
|
|
4218
4242
|
isAutoincrement: false;
|
|
4219
4243
|
hasRuntimeDefault: false;
|
|
4220
|
-
enumValues:
|
|
4244
|
+
enumValues: undefined;
|
|
4221
4245
|
baseColumn: never;
|
|
4222
4246
|
identity: undefined;
|
|
4223
4247
|
generated: undefined;
|
|
4224
4248
|
}, {}, {
|
|
4225
|
-
|
|
4249
|
+
$type: Record<string, unknown>;
|
|
4226
4250
|
}>;
|
|
4227
4251
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4228
4252
|
name: "name";
|
|
@@ -4262,34 +4286,34 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4262
4286
|
}, {}, {
|
|
4263
4287
|
length: number | undefined;
|
|
4264
4288
|
}>;
|
|
4265
|
-
|
|
4266
|
-
name: "
|
|
4289
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4290
|
+
name: "project_id";
|
|
4267
4291
|
tableName: "data_components";
|
|
4268
|
-
dataType: "
|
|
4269
|
-
columnType: "
|
|
4270
|
-
data:
|
|
4271
|
-
driverParam:
|
|
4272
|
-
notNull:
|
|
4292
|
+
dataType: "string";
|
|
4293
|
+
columnType: "SQLiteText";
|
|
4294
|
+
data: string;
|
|
4295
|
+
driverParam: string;
|
|
4296
|
+
notNull: true;
|
|
4273
4297
|
hasDefault: false;
|
|
4274
4298
|
isPrimaryKey: false;
|
|
4275
4299
|
isAutoincrement: false;
|
|
4276
4300
|
hasRuntimeDefault: false;
|
|
4277
|
-
enumValues:
|
|
4301
|
+
enumValues: [string, ...string[]];
|
|
4278
4302
|
baseColumn: never;
|
|
4279
4303
|
identity: undefined;
|
|
4280
4304
|
generated: undefined;
|
|
4281
4305
|
}, {}, {
|
|
4282
|
-
|
|
4306
|
+
length: number | undefined;
|
|
4283
4307
|
}>;
|
|
4284
|
-
|
|
4285
|
-
name: "
|
|
4308
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4309
|
+
name: "tenant_id";
|
|
4286
4310
|
tableName: "data_components";
|
|
4287
4311
|
dataType: "string";
|
|
4288
4312
|
columnType: "SQLiteText";
|
|
4289
4313
|
data: string;
|
|
4290
4314
|
driverParam: string;
|
|
4291
4315
|
notNull: true;
|
|
4292
|
-
hasDefault:
|
|
4316
|
+
hasDefault: false;
|
|
4293
4317
|
isPrimaryKey: false;
|
|
4294
4318
|
isAutoincrement: false;
|
|
4295
4319
|
hasRuntimeDefault: false;
|
|
@@ -4300,15 +4324,15 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4300
4324
|
}, {}, {
|
|
4301
4325
|
length: number | undefined;
|
|
4302
4326
|
}>;
|
|
4303
|
-
|
|
4304
|
-
name: "
|
|
4327
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4328
|
+
name: "id";
|
|
4305
4329
|
tableName: "data_components";
|
|
4306
4330
|
dataType: "string";
|
|
4307
4331
|
columnType: "SQLiteText";
|
|
4308
4332
|
data: string;
|
|
4309
4333
|
driverParam: string;
|
|
4310
4334
|
notNull: true;
|
|
4311
|
-
hasDefault:
|
|
4335
|
+
hasDefault: false;
|
|
4312
4336
|
isPrimaryKey: false;
|
|
4313
4337
|
isAutoincrement: false;
|
|
4314
4338
|
hasRuntimeDefault: false;
|
|
@@ -4321,13 +4345,13 @@ declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4321
4345
|
}>;
|
|
4322
4346
|
}, undefined, undefined>;
|
|
4323
4347
|
declare const DataComponentInsertSchema: z.ZodObject<{
|
|
4324
|
-
tenantId: z.ZodString;
|
|
4325
|
-
projectId: z.ZodString;
|
|
4326
|
-
name: z.ZodString;
|
|
4327
|
-
description: z.ZodString;
|
|
4328
|
-
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
4329
4348
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4330
4349
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4350
|
+
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
4351
|
+
name: z.ZodString;
|
|
4352
|
+
description: z.ZodString;
|
|
4353
|
+
projectId: z.ZodString;
|
|
4354
|
+
tenantId: z.ZodString;
|
|
4331
4355
|
id: z.ZodString;
|
|
4332
4356
|
}, {
|
|
4333
4357
|
out: {};
|
|
@@ -4345,13 +4369,13 @@ declare const DataComponentBaseSchema: z.ZodObject<{
|
|
|
4345
4369
|
in: {};
|
|
4346
4370
|
}>;
|
|
4347
4371
|
declare const DataComponentUpdateSchema: z.ZodObject<{
|
|
4348
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
4349
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
4350
|
-
name: z.ZodOptional<z.ZodString>;
|
|
4351
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4352
|
-
props: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
|
|
4353
4372
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4354
4373
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4374
|
+
props: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
|
|
4375
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4376
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4377
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4378
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
4355
4379
|
id: z.ZodOptional<z.ZodString>;
|
|
4356
4380
|
}, {
|
|
4357
4381
|
out: {};
|
|
@@ -4382,8 +4406,8 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
|
|
|
4382
4406
|
props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
|
|
4383
4407
|
}, z.core.$strip>;
|
|
4384
4408
|
declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
4385
|
-
|
|
4386
|
-
name: "
|
|
4409
|
+
dataComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4410
|
+
name: "data_component_id";
|
|
4387
4411
|
tableName: "agent_data_components";
|
|
4388
4412
|
dataType: "string";
|
|
4389
4413
|
columnType: "SQLiteText";
|
|
@@ -4401,15 +4425,15 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
|
|
|
4401
4425
|
}, {}, {
|
|
4402
4426
|
length: number | undefined;
|
|
4403
4427
|
}>;
|
|
4404
|
-
|
|
4405
|
-
name: "
|
|
4428
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4429
|
+
name: "created_at";
|
|
4406
4430
|
tableName: "agent_data_components";
|
|
4407
4431
|
dataType: "string";
|
|
4408
4432
|
columnType: "SQLiteText";
|
|
4409
4433
|
data: string;
|
|
4410
4434
|
driverParam: string;
|
|
4411
4435
|
notNull: true;
|
|
4412
|
-
hasDefault:
|
|
4436
|
+
hasDefault: true;
|
|
4413
4437
|
isPrimaryKey: false;
|
|
4414
4438
|
isAutoincrement: false;
|
|
4415
4439
|
hasRuntimeDefault: false;
|
|
@@ -4420,8 +4444,8 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
|
|
|
4420
4444
|
}, {}, {
|
|
4421
4445
|
length: number | undefined;
|
|
4422
4446
|
}>;
|
|
4423
|
-
|
|
4424
|
-
name: "
|
|
4447
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4448
|
+
name: "agent_id";
|
|
4425
4449
|
tableName: "agent_data_components";
|
|
4426
4450
|
dataType: "string";
|
|
4427
4451
|
columnType: "SQLiteText";
|
|
@@ -4439,8 +4463,8 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
|
|
|
4439
4463
|
}, {}, {
|
|
4440
4464
|
length: number | undefined;
|
|
4441
4465
|
}>;
|
|
4442
|
-
|
|
4443
|
-
name: "
|
|
4466
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4467
|
+
name: "graph_id";
|
|
4444
4468
|
tableName: "agent_data_components";
|
|
4445
4469
|
dataType: "string";
|
|
4446
4470
|
columnType: "SQLiteText";
|
|
@@ -4458,8 +4482,8 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
|
|
|
4458
4482
|
}, {}, {
|
|
4459
4483
|
length: number | undefined;
|
|
4460
4484
|
}>;
|
|
4461
|
-
|
|
4462
|
-
name: "
|
|
4485
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4486
|
+
name: "project_id";
|
|
4463
4487
|
tableName: "agent_data_components";
|
|
4464
4488
|
dataType: "string";
|
|
4465
4489
|
columnType: "SQLiteText";
|
|
@@ -4477,8 +4501,8 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
|
|
|
4477
4501
|
}, {}, {
|
|
4478
4502
|
length: number | undefined;
|
|
4479
4503
|
}>;
|
|
4480
|
-
|
|
4481
|
-
name: "
|
|
4504
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4505
|
+
name: "tenant_id";
|
|
4482
4506
|
tableName: "agent_data_components";
|
|
4483
4507
|
dataType: "string";
|
|
4484
4508
|
columnType: "SQLiteText";
|
|
@@ -4496,15 +4520,15 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
|
|
|
4496
4520
|
}, {}, {
|
|
4497
4521
|
length: number | undefined;
|
|
4498
4522
|
}>;
|
|
4499
|
-
|
|
4500
|
-
name: "
|
|
4523
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4524
|
+
name: "id";
|
|
4501
4525
|
tableName: "agent_data_components";
|
|
4502
4526
|
dataType: "string";
|
|
4503
4527
|
columnType: "SQLiteText";
|
|
4504
4528
|
data: string;
|
|
4505
4529
|
driverParam: string;
|
|
4506
4530
|
notNull: true;
|
|
4507
|
-
hasDefault:
|
|
4531
|
+
hasDefault: false;
|
|
4508
4532
|
isPrimaryKey: false;
|
|
4509
4533
|
isAutoincrement: false;
|
|
4510
4534
|
hasRuntimeDefault: false;
|
|
@@ -4517,8 +4541,8 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
|
|
|
4517
4541
|
}>;
|
|
4518
4542
|
}, undefined, undefined>;
|
|
4519
4543
|
declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
4520
|
-
|
|
4521
|
-
name: "
|
|
4544
|
+
dataComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4545
|
+
name: "data_component_id";
|
|
4522
4546
|
tableName: "agent_data_components";
|
|
4523
4547
|
dataType: "string";
|
|
4524
4548
|
columnType: "SQLiteText";
|
|
@@ -4536,15 +4560,15 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
4536
4560
|
}, {}, {
|
|
4537
4561
|
length: number | undefined;
|
|
4538
4562
|
}>;
|
|
4539
|
-
|
|
4540
|
-
name: "
|
|
4563
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4564
|
+
name: "created_at";
|
|
4541
4565
|
tableName: "agent_data_components";
|
|
4542
4566
|
dataType: "string";
|
|
4543
4567
|
columnType: "SQLiteText";
|
|
4544
4568
|
data: string;
|
|
4545
4569
|
driverParam: string;
|
|
4546
4570
|
notNull: true;
|
|
4547
|
-
hasDefault:
|
|
4571
|
+
hasDefault: true;
|
|
4548
4572
|
isPrimaryKey: false;
|
|
4549
4573
|
isAutoincrement: false;
|
|
4550
4574
|
hasRuntimeDefault: false;
|
|
@@ -4555,8 +4579,8 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
4555
4579
|
}, {}, {
|
|
4556
4580
|
length: number | undefined;
|
|
4557
4581
|
}>;
|
|
4558
|
-
|
|
4559
|
-
name: "
|
|
4582
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4583
|
+
name: "agent_id";
|
|
4560
4584
|
tableName: "agent_data_components";
|
|
4561
4585
|
dataType: "string";
|
|
4562
4586
|
columnType: "SQLiteText";
|
|
@@ -4574,8 +4598,8 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
4574
4598
|
}, {}, {
|
|
4575
4599
|
length: number | undefined;
|
|
4576
4600
|
}>;
|
|
4577
|
-
|
|
4578
|
-
name: "
|
|
4601
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4602
|
+
name: "graph_id";
|
|
4579
4603
|
tableName: "agent_data_components";
|
|
4580
4604
|
dataType: "string";
|
|
4581
4605
|
columnType: "SQLiteText";
|
|
@@ -4593,8 +4617,8 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
4593
4617
|
}, {}, {
|
|
4594
4618
|
length: number | undefined;
|
|
4595
4619
|
}>;
|
|
4596
|
-
|
|
4597
|
-
name: "
|
|
4620
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4621
|
+
name: "project_id";
|
|
4598
4622
|
tableName: "agent_data_components";
|
|
4599
4623
|
dataType: "string";
|
|
4600
4624
|
columnType: "SQLiteText";
|
|
@@ -4612,8 +4636,8 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
4612
4636
|
}, {}, {
|
|
4613
4637
|
length: number | undefined;
|
|
4614
4638
|
}>;
|
|
4615
|
-
|
|
4616
|
-
name: "
|
|
4639
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4640
|
+
name: "tenant_id";
|
|
4617
4641
|
tableName: "agent_data_components";
|
|
4618
4642
|
dataType: "string";
|
|
4619
4643
|
columnType: "SQLiteText";
|
|
@@ -4631,15 +4655,15 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
4631
4655
|
}, {}, {
|
|
4632
4656
|
length: number | undefined;
|
|
4633
4657
|
}>;
|
|
4634
|
-
|
|
4635
|
-
name: "
|
|
4658
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4659
|
+
name: "id";
|
|
4636
4660
|
tableName: "agent_data_components";
|
|
4637
4661
|
dataType: "string";
|
|
4638
4662
|
columnType: "SQLiteText";
|
|
4639
4663
|
data: string;
|
|
4640
4664
|
driverParam: string;
|
|
4641
4665
|
notNull: true;
|
|
4642
|
-
hasDefault:
|
|
4666
|
+
hasDefault: false;
|
|
4643
4667
|
isPrimaryKey: false;
|
|
4644
4668
|
isAutoincrement: false;
|
|
4645
4669
|
hasRuntimeDefault: false;
|
|
@@ -4652,13 +4676,13 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
|
|
|
4652
4676
|
}>;
|
|
4653
4677
|
}, undefined, undefined>;
|
|
4654
4678
|
declare const AgentDataComponentUpdateSchema: z.ZodObject<{
|
|
4655
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
4656
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
4657
|
-
graphId: z.ZodOptional<z.ZodString>;
|
|
4658
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
4659
|
-
id: z.ZodOptional<z.ZodString>;
|
|
4660
4679
|
dataComponentId: z.ZodOptional<z.ZodString>;
|
|
4661
4680
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4681
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
4682
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
4683
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4684
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
4685
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4662
4686
|
}, {
|
|
4663
4687
|
out: {};
|
|
4664
4688
|
in: {};
|
|
@@ -4684,15 +4708,15 @@ declare const AgentDataComponentApiUpdateSchema: z.ZodObject<{
|
|
|
4684
4708
|
dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4685
4709
|
}, z.core.$strip>;
|
|
4686
4710
|
declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
4687
|
-
|
|
4688
|
-
name: "
|
|
4711
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4712
|
+
name: "created_at";
|
|
4689
4713
|
tableName: "artifact_components";
|
|
4690
4714
|
dataType: "string";
|
|
4691
4715
|
columnType: "SQLiteText";
|
|
4692
4716
|
data: string;
|
|
4693
4717
|
driverParam: string;
|
|
4694
4718
|
notNull: true;
|
|
4695
|
-
hasDefault:
|
|
4719
|
+
hasDefault: true;
|
|
4696
4720
|
isPrimaryKey: false;
|
|
4697
4721
|
isAutoincrement: false;
|
|
4698
4722
|
hasRuntimeDefault: false;
|
|
@@ -4703,15 +4727,15 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4703
4727
|
}, {}, {
|
|
4704
4728
|
length: number | undefined;
|
|
4705
4729
|
}>;
|
|
4706
|
-
|
|
4707
|
-
name: "
|
|
4730
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4731
|
+
name: "updated_at";
|
|
4708
4732
|
tableName: "artifact_components";
|
|
4709
4733
|
dataType: "string";
|
|
4710
4734
|
columnType: "SQLiteText";
|
|
4711
4735
|
data: string;
|
|
4712
4736
|
driverParam: string;
|
|
4713
4737
|
notNull: true;
|
|
4714
|
-
hasDefault:
|
|
4738
|
+
hasDefault: true;
|
|
4715
4739
|
isPrimaryKey: false;
|
|
4716
4740
|
isAutoincrement: false;
|
|
4717
4741
|
hasRuntimeDefault: false;
|
|
@@ -4722,24 +4746,43 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4722
4746
|
}, {}, {
|
|
4723
4747
|
length: number | undefined;
|
|
4724
4748
|
}>;
|
|
4725
|
-
|
|
4726
|
-
name: "
|
|
4749
|
+
summaryProps: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4750
|
+
name: "summary_props";
|
|
4727
4751
|
tableName: "artifact_components";
|
|
4728
|
-
dataType: "
|
|
4729
|
-
columnType: "
|
|
4730
|
-
data: string
|
|
4731
|
-
driverParam:
|
|
4732
|
-
notNull:
|
|
4752
|
+
dataType: "json";
|
|
4753
|
+
columnType: "SQLiteBlobJson";
|
|
4754
|
+
data: Record<string, unknown>;
|
|
4755
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
4756
|
+
notNull: false;
|
|
4733
4757
|
hasDefault: false;
|
|
4734
4758
|
isPrimaryKey: false;
|
|
4735
4759
|
isAutoincrement: false;
|
|
4736
4760
|
hasRuntimeDefault: false;
|
|
4737
|
-
enumValues:
|
|
4761
|
+
enumValues: undefined;
|
|
4738
4762
|
baseColumn: never;
|
|
4739
4763
|
identity: undefined;
|
|
4740
4764
|
generated: undefined;
|
|
4741
4765
|
}, {}, {
|
|
4742
|
-
|
|
4766
|
+
$type: Record<string, unknown>;
|
|
4767
|
+
}>;
|
|
4768
|
+
fullProps: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4769
|
+
name: "full_props";
|
|
4770
|
+
tableName: "artifact_components";
|
|
4771
|
+
dataType: "json";
|
|
4772
|
+
columnType: "SQLiteBlobJson";
|
|
4773
|
+
data: Record<string, unknown>;
|
|
4774
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
4775
|
+
notNull: false;
|
|
4776
|
+
hasDefault: false;
|
|
4777
|
+
isPrimaryKey: false;
|
|
4778
|
+
isAutoincrement: false;
|
|
4779
|
+
hasRuntimeDefault: false;
|
|
4780
|
+
enumValues: undefined;
|
|
4781
|
+
baseColumn: never;
|
|
4782
|
+
identity: undefined;
|
|
4783
|
+
generated: undefined;
|
|
4784
|
+
}, {}, {
|
|
4785
|
+
$type: Record<string, unknown>;
|
|
4743
4786
|
}>;
|
|
4744
4787
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4745
4788
|
name: "name";
|
|
@@ -4779,53 +4822,34 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4779
4822
|
}, {}, {
|
|
4780
4823
|
length: number | undefined;
|
|
4781
4824
|
}>;
|
|
4782
|
-
|
|
4783
|
-
name: "
|
|
4784
|
-
tableName: "artifact_components";
|
|
4785
|
-
dataType: "json";
|
|
4786
|
-
columnType: "SQLiteBlobJson";
|
|
4787
|
-
data: Record<string, unknown>;
|
|
4788
|
-
driverParam: Buffer<ArrayBufferLike>;
|
|
4789
|
-
notNull: false;
|
|
4790
|
-
hasDefault: false;
|
|
4791
|
-
isPrimaryKey: false;
|
|
4792
|
-
isAutoincrement: false;
|
|
4793
|
-
hasRuntimeDefault: false;
|
|
4794
|
-
enumValues: undefined;
|
|
4795
|
-
baseColumn: never;
|
|
4796
|
-
identity: undefined;
|
|
4797
|
-
generated: undefined;
|
|
4798
|
-
}, {}, {
|
|
4799
|
-
$type: Record<string, unknown>;
|
|
4800
|
-
}>;
|
|
4801
|
-
fullProps: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4802
|
-
name: "full_props";
|
|
4825
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4826
|
+
name: "project_id";
|
|
4803
4827
|
tableName: "artifact_components";
|
|
4804
|
-
dataType: "
|
|
4805
|
-
columnType: "
|
|
4806
|
-
data:
|
|
4807
|
-
driverParam:
|
|
4808
|
-
notNull:
|
|
4828
|
+
dataType: "string";
|
|
4829
|
+
columnType: "SQLiteText";
|
|
4830
|
+
data: string;
|
|
4831
|
+
driverParam: string;
|
|
4832
|
+
notNull: true;
|
|
4809
4833
|
hasDefault: false;
|
|
4810
4834
|
isPrimaryKey: false;
|
|
4811
4835
|
isAutoincrement: false;
|
|
4812
4836
|
hasRuntimeDefault: false;
|
|
4813
|
-
enumValues:
|
|
4837
|
+
enumValues: [string, ...string[]];
|
|
4814
4838
|
baseColumn: never;
|
|
4815
4839
|
identity: undefined;
|
|
4816
4840
|
generated: undefined;
|
|
4817
4841
|
}, {}, {
|
|
4818
|
-
|
|
4842
|
+
length: number | undefined;
|
|
4819
4843
|
}>;
|
|
4820
|
-
|
|
4821
|
-
name: "
|
|
4844
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4845
|
+
name: "tenant_id";
|
|
4822
4846
|
tableName: "artifact_components";
|
|
4823
4847
|
dataType: "string";
|
|
4824
4848
|
columnType: "SQLiteText";
|
|
4825
4849
|
data: string;
|
|
4826
4850
|
driverParam: string;
|
|
4827
4851
|
notNull: true;
|
|
4828
|
-
hasDefault:
|
|
4852
|
+
hasDefault: false;
|
|
4829
4853
|
isPrimaryKey: false;
|
|
4830
4854
|
isAutoincrement: false;
|
|
4831
4855
|
hasRuntimeDefault: false;
|
|
@@ -4836,15 +4860,15 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4836
4860
|
}, {}, {
|
|
4837
4861
|
length: number | undefined;
|
|
4838
4862
|
}>;
|
|
4839
|
-
|
|
4840
|
-
name: "
|
|
4863
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4864
|
+
name: "id";
|
|
4841
4865
|
tableName: "artifact_components";
|
|
4842
4866
|
dataType: "string";
|
|
4843
4867
|
columnType: "SQLiteText";
|
|
4844
4868
|
data: string;
|
|
4845
4869
|
driverParam: string;
|
|
4846
4870
|
notNull: true;
|
|
4847
|
-
hasDefault:
|
|
4871
|
+
hasDefault: false;
|
|
4848
4872
|
isPrimaryKey: false;
|
|
4849
4873
|
isAutoincrement: false;
|
|
4850
4874
|
hasRuntimeDefault: false;
|
|
@@ -4857,28 +4881,28 @@ declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
4857
4881
|
}>;
|
|
4858
4882
|
}, undefined, undefined>;
|
|
4859
4883
|
declare const ArtifactComponentInsertSchema: z.ZodObject<{
|
|
4860
|
-
tenantId: z.ZodString;
|
|
4861
|
-
projectId: z.ZodString;
|
|
4862
|
-
name: z.ZodString;
|
|
4863
|
-
description: z.ZodString;
|
|
4864
|
-
summaryProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
4865
|
-
fullProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
4866
4884
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4867
4885
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4886
|
+
summaryProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
4887
|
+
fullProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
4888
|
+
name: z.ZodString;
|
|
4889
|
+
description: z.ZodString;
|
|
4890
|
+
projectId: z.ZodString;
|
|
4891
|
+
tenantId: z.ZodString;
|
|
4868
4892
|
id: z.ZodString;
|
|
4869
4893
|
}, {
|
|
4870
4894
|
out: {};
|
|
4871
4895
|
in: {};
|
|
4872
4896
|
}>;
|
|
4873
4897
|
declare const ArtifactComponentUpdateSchema: z.ZodObject<{
|
|
4874
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
4875
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
4876
|
-
name: z.ZodOptional<z.ZodString>;
|
|
4877
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4878
|
-
summaryProps: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
|
|
4879
|
-
fullProps: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
|
|
4880
4898
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4881
4899
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4900
|
+
summaryProps: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
|
|
4901
|
+
fullProps: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>;
|
|
4902
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4903
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4904
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4905
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
4882
4906
|
id: z.ZodOptional<z.ZodString>;
|
|
4883
4907
|
}, {
|
|
4884
4908
|
out: {};
|
|
@@ -4913,8 +4937,8 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
|
|
|
4913
4937
|
fullProps: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
|
|
4914
4938
|
}, z.core.$strip>;
|
|
4915
4939
|
declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
4916
|
-
|
|
4917
|
-
name: "
|
|
4940
|
+
artifactComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4941
|
+
name: "artifact_component_id";
|
|
4918
4942
|
tableName: "agent_artifact_components";
|
|
4919
4943
|
dataType: "string";
|
|
4920
4944
|
columnType: "SQLiteText";
|
|
@@ -4932,15 +4956,15 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
|
|
|
4932
4956
|
}, {}, {
|
|
4933
4957
|
length: number | undefined;
|
|
4934
4958
|
}>;
|
|
4935
|
-
|
|
4936
|
-
name: "
|
|
4959
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4960
|
+
name: "created_at";
|
|
4937
4961
|
tableName: "agent_artifact_components";
|
|
4938
4962
|
dataType: "string";
|
|
4939
4963
|
columnType: "SQLiteText";
|
|
4940
4964
|
data: string;
|
|
4941
4965
|
driverParam: string;
|
|
4942
4966
|
notNull: true;
|
|
4943
|
-
hasDefault:
|
|
4967
|
+
hasDefault: true;
|
|
4944
4968
|
isPrimaryKey: false;
|
|
4945
4969
|
isAutoincrement: false;
|
|
4946
4970
|
hasRuntimeDefault: false;
|
|
@@ -4951,8 +4975,8 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
|
|
|
4951
4975
|
}, {}, {
|
|
4952
4976
|
length: number | undefined;
|
|
4953
4977
|
}>;
|
|
4954
|
-
|
|
4955
|
-
name: "
|
|
4978
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4979
|
+
name: "agent_id";
|
|
4956
4980
|
tableName: "agent_artifact_components";
|
|
4957
4981
|
dataType: "string";
|
|
4958
4982
|
columnType: "SQLiteText";
|
|
@@ -4970,8 +4994,8 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
|
|
|
4970
4994
|
}, {}, {
|
|
4971
4995
|
length: number | undefined;
|
|
4972
4996
|
}>;
|
|
4973
|
-
|
|
4974
|
-
name: "
|
|
4997
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4998
|
+
name: "graph_id";
|
|
4975
4999
|
tableName: "agent_artifact_components";
|
|
4976
5000
|
dataType: "string";
|
|
4977
5001
|
columnType: "SQLiteText";
|
|
@@ -4989,8 +5013,8 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
|
|
|
4989
5013
|
}, {}, {
|
|
4990
5014
|
length: number | undefined;
|
|
4991
5015
|
}>;
|
|
4992
|
-
|
|
4993
|
-
name: "
|
|
5016
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5017
|
+
name: "project_id";
|
|
4994
5018
|
tableName: "agent_artifact_components";
|
|
4995
5019
|
dataType: "string";
|
|
4996
5020
|
columnType: "SQLiteText";
|
|
@@ -5008,8 +5032,8 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
|
|
|
5008
5032
|
}, {}, {
|
|
5009
5033
|
length: number | undefined;
|
|
5010
5034
|
}>;
|
|
5011
|
-
|
|
5012
|
-
name: "
|
|
5035
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5036
|
+
name: "tenant_id";
|
|
5013
5037
|
tableName: "agent_artifact_components";
|
|
5014
5038
|
dataType: "string";
|
|
5015
5039
|
columnType: "SQLiteText";
|
|
@@ -5027,15 +5051,15 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
|
|
|
5027
5051
|
}, {}, {
|
|
5028
5052
|
length: number | undefined;
|
|
5029
5053
|
}>;
|
|
5030
|
-
|
|
5031
|
-
name: "
|
|
5054
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5055
|
+
name: "id";
|
|
5032
5056
|
tableName: "agent_artifact_components";
|
|
5033
5057
|
dataType: "string";
|
|
5034
5058
|
columnType: "SQLiteText";
|
|
5035
5059
|
data: string;
|
|
5036
5060
|
driverParam: string;
|
|
5037
5061
|
notNull: true;
|
|
5038
|
-
hasDefault:
|
|
5062
|
+
hasDefault: false;
|
|
5039
5063
|
isPrimaryKey: false;
|
|
5040
5064
|
isAutoincrement: false;
|
|
5041
5065
|
hasRuntimeDefault: false;
|
|
@@ -5048,10 +5072,10 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
|
|
|
5048
5072
|
}>;
|
|
5049
5073
|
}, undefined, undefined>;
|
|
5050
5074
|
declare const AgentArtifactComponentInsertSchema: z.ZodObject<{
|
|
5051
|
-
tenantId: z.ZodString;
|
|
5052
|
-
projectId: z.ZodString;
|
|
5053
|
-
graphId: z.ZodString;
|
|
5054
5075
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5076
|
+
graphId: z.ZodString;
|
|
5077
|
+
projectId: z.ZodString;
|
|
5078
|
+
tenantId: z.ZodString;
|
|
5055
5079
|
id: z.ZodString;
|
|
5056
5080
|
agentId: z.ZodString;
|
|
5057
5081
|
artifactComponentId: z.ZodString;
|
|
@@ -5060,10 +5084,10 @@ declare const AgentArtifactComponentInsertSchema: z.ZodObject<{
|
|
|
5060
5084
|
in: {};
|
|
5061
5085
|
}>;
|
|
5062
5086
|
declare const AgentArtifactComponentUpdateSchema: z.ZodObject<{
|
|
5063
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
5064
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
5065
|
-
graphId: z.ZodOptional<z.ZodString>;
|
|
5066
5087
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5088
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
5089
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5090
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5067
5091
|
id: z.ZodOptional<z.ZodString>;
|
|
5068
5092
|
agentId: z.ZodOptional<z.ZodString>;
|
|
5069
5093
|
artifactComponentId: z.ZodOptional<z.ZodString>;
|
|
@@ -5092,15 +5116,15 @@ declare const AgentArtifactComponentApiUpdateSchema: z.ZodObject<{
|
|
|
5092
5116
|
artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5093
5117
|
}, z.core.$strip>;
|
|
5094
5118
|
declare const ExternalAgentSelectSchema: z.ZodObject<{
|
|
5095
|
-
tenantId: z.ZodString;
|
|
5096
|
-
projectId: z.ZodString;
|
|
5097
|
-
graphId: z.ZodString;
|
|
5098
|
-
id: z.ZodString;
|
|
5099
|
-
name: z.ZodString;
|
|
5100
|
-
description: z.ZodString;
|
|
5101
|
-
baseUrl: z.ZodString;
|
|
5102
5119
|
createdAt: z.ZodString;
|
|
5103
5120
|
updatedAt: z.ZodString;
|
|
5121
|
+
baseUrl: z.ZodString;
|
|
5122
|
+
name: z.ZodString;
|
|
5123
|
+
description: z.ZodString;
|
|
5124
|
+
graphId: z.ZodString;
|
|
5125
|
+
projectId: z.ZodString;
|
|
5126
|
+
tenantId: z.ZodString;
|
|
5127
|
+
id: z.ZodString;
|
|
5104
5128
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5105
5129
|
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
5106
5130
|
}, {
|
|
@@ -5108,32 +5132,32 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
|
|
|
5108
5132
|
in: {};
|
|
5109
5133
|
}>;
|
|
5110
5134
|
declare const ExternalAgentInsertSchema: z.ZodObject<{
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
graphId: z.ZodString;
|
|
5114
|
-
name: z.ZodString;
|
|
5115
|
-
description: z.ZodString;
|
|
5135
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
5136
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5116
5137
|
baseUrl: z.ZodString;
|
|
5117
5138
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5118
5139
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
5119
|
-
|
|
5120
|
-
|
|
5140
|
+
name: z.ZodString;
|
|
5141
|
+
description: z.ZodString;
|
|
5142
|
+
graphId: z.ZodString;
|
|
5143
|
+
projectId: z.ZodString;
|
|
5144
|
+
tenantId: z.ZodString;
|
|
5121
5145
|
id: z.ZodString;
|
|
5122
5146
|
}, {
|
|
5123
5147
|
out: {};
|
|
5124
5148
|
in: {};
|
|
5125
5149
|
}>;
|
|
5126
5150
|
declare const ExternalAgentUpdateSchema: z.ZodObject<{
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
graphId: z.ZodOptional<z.ZodString>;
|
|
5130
|
-
name: z.ZodOptional<z.ZodString>;
|
|
5131
|
-
description: z.ZodOptional<z.ZodString>;
|
|
5151
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5152
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5132
5153
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
5133
5154
|
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5134
5155
|
headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
|
|
5135
|
-
|
|
5136
|
-
|
|
5156
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5157
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5158
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
5159
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5160
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5137
5161
|
id: z.ZodOptional<z.ZodString>;
|
|
5138
5162
|
}, {
|
|
5139
5163
|
out: {};
|
|
@@ -5252,16 +5276,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5252
5276
|
type: z.ZodLiteral<"external">;
|
|
5253
5277
|
}, z.core.$strip>], "type">;
|
|
5254
5278
|
declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
5255
|
-
|
|
5256
|
-
name: "
|
|
5279
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5280
|
+
name: "created_at";
|
|
5257
5281
|
tableName: "api_keys";
|
|
5258
5282
|
dataType: "string";
|
|
5259
5283
|
columnType: "SQLiteText";
|
|
5260
5284
|
data: string;
|
|
5261
5285
|
driverParam: string;
|
|
5262
5286
|
notNull: true;
|
|
5263
|
-
hasDefault:
|
|
5264
|
-
isPrimaryKey:
|
|
5287
|
+
hasDefault: true;
|
|
5288
|
+
isPrimaryKey: false;
|
|
5265
5289
|
isAutoincrement: false;
|
|
5266
5290
|
hasRuntimeDefault: false;
|
|
5267
5291
|
enumValues: [string, ...string[]];
|
|
@@ -5271,15 +5295,15 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5271
5295
|
}, {}, {
|
|
5272
5296
|
length: number | undefined;
|
|
5273
5297
|
}>;
|
|
5274
|
-
|
|
5275
|
-
name: "
|
|
5298
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5299
|
+
name: "updated_at";
|
|
5276
5300
|
tableName: "api_keys";
|
|
5277
5301
|
dataType: "string";
|
|
5278
5302
|
columnType: "SQLiteText";
|
|
5279
5303
|
data: string;
|
|
5280
5304
|
driverParam: string;
|
|
5281
5305
|
notNull: true;
|
|
5282
|
-
hasDefault:
|
|
5306
|
+
hasDefault: true;
|
|
5283
5307
|
isPrimaryKey: false;
|
|
5284
5308
|
isAutoincrement: false;
|
|
5285
5309
|
hasRuntimeDefault: false;
|
|
@@ -5290,8 +5314,8 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5290
5314
|
}, {}, {
|
|
5291
5315
|
length: number | undefined;
|
|
5292
5316
|
}>;
|
|
5293
|
-
|
|
5294
|
-
name: "
|
|
5317
|
+
publicId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5318
|
+
name: "public_id";
|
|
5295
5319
|
tableName: "api_keys";
|
|
5296
5320
|
dataType: "string";
|
|
5297
5321
|
columnType: "SQLiteText";
|
|
@@ -5309,8 +5333,8 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5309
5333
|
}, {}, {
|
|
5310
5334
|
length: number | undefined;
|
|
5311
5335
|
}>;
|
|
5312
|
-
|
|
5313
|
-
name: "
|
|
5336
|
+
keyHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5337
|
+
name: "key_hash";
|
|
5314
5338
|
tableName: "api_keys";
|
|
5315
5339
|
dataType: "string";
|
|
5316
5340
|
columnType: "SQLiteText";
|
|
@@ -5328,8 +5352,8 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5328
5352
|
}, {}, {
|
|
5329
5353
|
length: number | undefined;
|
|
5330
5354
|
}>;
|
|
5331
|
-
|
|
5332
|
-
name: "
|
|
5355
|
+
keyPrefix: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5356
|
+
name: "key_prefix";
|
|
5333
5357
|
tableName: "api_keys";
|
|
5334
5358
|
dataType: "string";
|
|
5335
5359
|
columnType: "SQLiteText";
|
|
@@ -5347,14 +5371,14 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5347
5371
|
}, {}, {
|
|
5348
5372
|
length: number | undefined;
|
|
5349
5373
|
}>;
|
|
5350
|
-
|
|
5351
|
-
name: "
|
|
5374
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5375
|
+
name: "name";
|
|
5352
5376
|
tableName: "api_keys";
|
|
5353
5377
|
dataType: "string";
|
|
5354
5378
|
columnType: "SQLiteText";
|
|
5355
5379
|
data: string;
|
|
5356
5380
|
driverParam: string;
|
|
5357
|
-
notNull:
|
|
5381
|
+
notNull: false;
|
|
5358
5382
|
hasDefault: false;
|
|
5359
5383
|
isPrimaryKey: false;
|
|
5360
5384
|
isAutoincrement: false;
|
|
@@ -5366,14 +5390,14 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5366
5390
|
}, {}, {
|
|
5367
5391
|
length: number | undefined;
|
|
5368
5392
|
}>;
|
|
5369
|
-
|
|
5370
|
-
name: "
|
|
5393
|
+
lastUsedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5394
|
+
name: "last_used_at";
|
|
5371
5395
|
tableName: "api_keys";
|
|
5372
5396
|
dataType: "string";
|
|
5373
5397
|
columnType: "SQLiteText";
|
|
5374
5398
|
data: string;
|
|
5375
5399
|
driverParam: string;
|
|
5376
|
-
notNull:
|
|
5400
|
+
notNull: false;
|
|
5377
5401
|
hasDefault: false;
|
|
5378
5402
|
isPrimaryKey: false;
|
|
5379
5403
|
isAutoincrement: false;
|
|
@@ -5385,8 +5409,8 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5385
5409
|
}, {}, {
|
|
5386
5410
|
length: number | undefined;
|
|
5387
5411
|
}>;
|
|
5388
|
-
|
|
5389
|
-
name: "
|
|
5412
|
+
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5413
|
+
name: "expires_at";
|
|
5390
5414
|
tableName: "api_keys";
|
|
5391
5415
|
dataType: "string";
|
|
5392
5416
|
columnType: "SQLiteText";
|
|
@@ -5404,14 +5428,14 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5404
5428
|
}, {}, {
|
|
5405
5429
|
length: number | undefined;
|
|
5406
5430
|
}>;
|
|
5407
|
-
|
|
5408
|
-
name: "
|
|
5431
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5432
|
+
name: "graph_id";
|
|
5409
5433
|
tableName: "api_keys";
|
|
5410
5434
|
dataType: "string";
|
|
5411
5435
|
columnType: "SQLiteText";
|
|
5412
5436
|
data: string;
|
|
5413
5437
|
driverParam: string;
|
|
5414
|
-
notNull:
|
|
5438
|
+
notNull: true;
|
|
5415
5439
|
hasDefault: false;
|
|
5416
5440
|
isPrimaryKey: false;
|
|
5417
5441
|
isAutoincrement: false;
|
|
@@ -5423,14 +5447,14 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5423
5447
|
}, {}, {
|
|
5424
5448
|
length: number | undefined;
|
|
5425
5449
|
}>;
|
|
5426
|
-
|
|
5427
|
-
name: "
|
|
5450
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5451
|
+
name: "project_id";
|
|
5428
5452
|
tableName: "api_keys";
|
|
5429
5453
|
dataType: "string";
|
|
5430
5454
|
columnType: "SQLiteText";
|
|
5431
5455
|
data: string;
|
|
5432
5456
|
driverParam: string;
|
|
5433
|
-
notNull:
|
|
5457
|
+
notNull: true;
|
|
5434
5458
|
hasDefault: false;
|
|
5435
5459
|
isPrimaryKey: false;
|
|
5436
5460
|
isAutoincrement: false;
|
|
@@ -5442,15 +5466,15 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5442
5466
|
}, {}, {
|
|
5443
5467
|
length: number | undefined;
|
|
5444
5468
|
}>;
|
|
5445
|
-
|
|
5446
|
-
name: "
|
|
5469
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5470
|
+
name: "tenant_id";
|
|
5447
5471
|
tableName: "api_keys";
|
|
5448
5472
|
dataType: "string";
|
|
5449
5473
|
columnType: "SQLiteText";
|
|
5450
5474
|
data: string;
|
|
5451
5475
|
driverParam: string;
|
|
5452
5476
|
notNull: true;
|
|
5453
|
-
hasDefault:
|
|
5477
|
+
hasDefault: false;
|
|
5454
5478
|
isPrimaryKey: false;
|
|
5455
5479
|
isAutoincrement: false;
|
|
5456
5480
|
hasRuntimeDefault: false;
|
|
@@ -5461,15 +5485,15 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5461
5485
|
}, {}, {
|
|
5462
5486
|
length: number | undefined;
|
|
5463
5487
|
}>;
|
|
5464
|
-
|
|
5465
|
-
name: "
|
|
5488
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5489
|
+
name: "id";
|
|
5466
5490
|
tableName: "api_keys";
|
|
5467
5491
|
dataType: "string";
|
|
5468
5492
|
columnType: "SQLiteText";
|
|
5469
5493
|
data: string;
|
|
5470
5494
|
driverParam: string;
|
|
5471
5495
|
notNull: true;
|
|
5472
|
-
hasDefault:
|
|
5496
|
+
hasDefault: false;
|
|
5473
5497
|
isPrimaryKey: false;
|
|
5474
5498
|
isAutoincrement: false;
|
|
5475
5499
|
hasRuntimeDefault: false;
|
|
@@ -5482,16 +5506,16 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
5482
5506
|
}>;
|
|
5483
5507
|
}, undefined, undefined>;
|
|
5484
5508
|
declare const ApiKeyInsertSchema: z.ZodObject<{
|
|
5485
|
-
|
|
5486
|
-
|
|
5509
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
5510
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5487
5511
|
publicId: z.ZodString;
|
|
5488
5512
|
keyHash: z.ZodString;
|
|
5489
5513
|
keyPrefix: z.ZodString;
|
|
5490
5514
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5491
5515
|
lastUsedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5492
5516
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5493
|
-
|
|
5494
|
-
|
|
5517
|
+
projectId: z.ZodString;
|
|
5518
|
+
tenantId: z.ZodString;
|
|
5495
5519
|
id: z.ZodString;
|
|
5496
5520
|
graphId: z.ZodString;
|
|
5497
5521
|
}, {
|
|
@@ -5572,10 +5596,10 @@ declare const CredentialReferenceSelectSchema: z.ZodObject<{
|
|
|
5572
5596
|
updatedAt: z.ZodString;
|
|
5573
5597
|
}, z.core.$strip>;
|
|
5574
5598
|
declare const CredentialReferenceInsertSchema: z.ZodObject<{
|
|
5575
|
-
tenantId: z.ZodString;
|
|
5576
|
-
projectId: z.ZodString;
|
|
5577
5599
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5578
5600
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5601
|
+
projectId: z.ZodString;
|
|
5602
|
+
tenantId: z.ZodString;
|
|
5579
5603
|
id: z.ZodString;
|
|
5580
5604
|
type: z.ZodString;
|
|
5581
5605
|
credentialStoreId: z.ZodString;
|
|
@@ -5585,10 +5609,10 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
|
|
|
5585
5609
|
in: {};
|
|
5586
5610
|
}>;
|
|
5587
5611
|
declare const CredentialReferenceUpdateSchema: z.ZodObject<{
|
|
5588
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
5589
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
5590
5612
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5591
5613
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5614
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5615
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5592
5616
|
id: z.ZodOptional<z.ZodString>;
|
|
5593
5617
|
type: z.ZodOptional<z.ZodString>;
|
|
5594
5618
|
credentialStoreId: z.ZodOptional<z.ZodString>;
|
|
@@ -5609,34 +5633,15 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
|
5609
5633
|
readonly nango: "nango";
|
|
5610
5634
|
}>;
|
|
5611
5635
|
tools: z.ZodOptional<z.ZodArray<drizzle_zod.BuildSchema<"select", {
|
|
5612
|
-
|
|
5613
|
-
name: "
|
|
5614
|
-
tableName: "tools";
|
|
5615
|
-
dataType: "string";
|
|
5616
|
-
columnType: "SQLiteText";
|
|
5617
|
-
data: string;
|
|
5618
|
-
driverParam: string;
|
|
5619
|
-
notNull: true;
|
|
5620
|
-
hasDefault: false;
|
|
5621
|
-
isPrimaryKey: false;
|
|
5622
|
-
isAutoincrement: false;
|
|
5623
|
-
hasRuntimeDefault: false;
|
|
5624
|
-
enumValues: [string, ...string[]];
|
|
5625
|
-
baseColumn: never;
|
|
5626
|
-
identity: undefined;
|
|
5627
|
-
generated: undefined;
|
|
5628
|
-
}, {}, {
|
|
5629
|
-
length: number | undefined;
|
|
5630
|
-
}>;
|
|
5631
|
-
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5632
|
-
name: "project_id";
|
|
5636
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5637
|
+
name: "created_at";
|
|
5633
5638
|
tableName: "tools";
|
|
5634
5639
|
dataType: "string";
|
|
5635
5640
|
columnType: "SQLiteText";
|
|
5636
5641
|
data: string;
|
|
5637
5642
|
driverParam: string;
|
|
5638
5643
|
notNull: true;
|
|
5639
|
-
hasDefault:
|
|
5644
|
+
hasDefault: true;
|
|
5640
5645
|
isPrimaryKey: false;
|
|
5641
5646
|
isAutoincrement: false;
|
|
5642
5647
|
hasRuntimeDefault: false;
|
|
@@ -5647,15 +5652,15 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
|
5647
5652
|
}, {}, {
|
|
5648
5653
|
length: number | undefined;
|
|
5649
5654
|
}>;
|
|
5650
|
-
|
|
5651
|
-
name: "
|
|
5655
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5656
|
+
name: "updated_at";
|
|
5652
5657
|
tableName: "tools";
|
|
5653
5658
|
dataType: "string";
|
|
5654
5659
|
columnType: "SQLiteText";
|
|
5655
5660
|
data: string;
|
|
5656
5661
|
driverParam: string;
|
|
5657
5662
|
notNull: true;
|
|
5658
|
-
hasDefault:
|
|
5663
|
+
hasDefault: true;
|
|
5659
5664
|
isPrimaryKey: false;
|
|
5660
5665
|
isAutoincrement: false;
|
|
5661
5666
|
hasRuntimeDefault: false;
|
|
@@ -5805,15 +5810,15 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
|
5805
5810
|
}, {}, {
|
|
5806
5811
|
length: number | undefined;
|
|
5807
5812
|
}>;
|
|
5808
|
-
|
|
5809
|
-
name: "
|
|
5813
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5814
|
+
name: "project_id";
|
|
5810
5815
|
tableName: "tools";
|
|
5811
5816
|
dataType: "string";
|
|
5812
5817
|
columnType: "SQLiteText";
|
|
5813
5818
|
data: string;
|
|
5814
5819
|
driverParam: string;
|
|
5815
5820
|
notNull: true;
|
|
5816
|
-
hasDefault:
|
|
5821
|
+
hasDefault: false;
|
|
5817
5822
|
isPrimaryKey: false;
|
|
5818
5823
|
isAutoincrement: false;
|
|
5819
5824
|
hasRuntimeDefault: false;
|
|
@@ -5824,15 +5829,34 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
|
5824
5829
|
}, {}, {
|
|
5825
5830
|
length: number | undefined;
|
|
5826
5831
|
}>;
|
|
5827
|
-
|
|
5828
|
-
name: "
|
|
5832
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5833
|
+
name: "tenant_id";
|
|
5829
5834
|
tableName: "tools";
|
|
5830
5835
|
dataType: "string";
|
|
5831
5836
|
columnType: "SQLiteText";
|
|
5832
5837
|
data: string;
|
|
5833
5838
|
driverParam: string;
|
|
5834
5839
|
notNull: true;
|
|
5835
|
-
hasDefault:
|
|
5840
|
+
hasDefault: false;
|
|
5841
|
+
isPrimaryKey: false;
|
|
5842
|
+
isAutoincrement: false;
|
|
5843
|
+
hasRuntimeDefault: false;
|
|
5844
|
+
enumValues: [string, ...string[]];
|
|
5845
|
+
baseColumn: never;
|
|
5846
|
+
identity: undefined;
|
|
5847
|
+
generated: undefined;
|
|
5848
|
+
}, {}, {
|
|
5849
|
+
length: number | undefined;
|
|
5850
|
+
}>;
|
|
5851
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5852
|
+
name: "id";
|
|
5853
|
+
tableName: "tools";
|
|
5854
|
+
dataType: "string";
|
|
5855
|
+
columnType: "SQLiteText";
|
|
5856
|
+
data: string;
|
|
5857
|
+
driverParam: string;
|
|
5858
|
+
notNull: true;
|
|
5859
|
+
hasDefault: false;
|
|
5836
5860
|
isPrimaryKey: false;
|
|
5837
5861
|
isAutoincrement: false;
|
|
5838
5862
|
hasRuntimeDefault: false;
|
|
@@ -5870,8 +5894,6 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
|
|
|
5870
5894
|
}>>;
|
|
5871
5895
|
}, z.core.$strip>;
|
|
5872
5896
|
declare const McpToolSchema: z.ZodObject<{
|
|
5873
|
-
tenantId: z.ZodString;
|
|
5874
|
-
projectId: z.ZodString;
|
|
5875
5897
|
name: z.ZodString;
|
|
5876
5898
|
config: z.ZodType<{
|
|
5877
5899
|
type: "mcp";
|
|
@@ -5890,6 +5912,8 @@ declare const McpToolSchema: z.ZodObject<{
|
|
|
5890
5912
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
5891
5913
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
5892
5914
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5915
|
+
projectId: z.ZodString;
|
|
5916
|
+
tenantId: z.ZodString;
|
|
5893
5917
|
id: z.ZodString;
|
|
5894
5918
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5895
5919
|
availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5958,8 +5982,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
|
|
|
5958
5982
|
in: {};
|
|
5959
5983
|
}>;
|
|
5960
5984
|
declare const ToolUpdateSchema: z.ZodObject<{
|
|
5961
|
-
|
|
5962
|
-
|
|
5985
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5986
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5963
5987
|
name: z.ZodOptional<z.ZodString>;
|
|
5964
5988
|
config: z.ZodOptional<z.ZodType<{
|
|
5965
5989
|
type: "mcp";
|
|
@@ -5978,8 +6002,8 @@ declare const ToolUpdateSchema: z.ZodObject<{
|
|
|
5978
6002
|
headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
|
|
5979
6003
|
capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
|
|
5980
6004
|
lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5981
|
-
|
|
5982
|
-
|
|
6005
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
6006
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5983
6007
|
id: z.ZodOptional<z.ZodString>;
|
|
5984
6008
|
imageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5985
6009
|
}, {
|
|
@@ -6109,14 +6133,14 @@ declare const FetchDefinitionSchema: z.ZodObject<{
|
|
|
6109
6133
|
}, z.core.$strip>>;
|
|
6110
6134
|
}, z.core.$strip>;
|
|
6111
6135
|
declare const ContextConfigSelectSchema: z.ZodObject<{
|
|
6112
|
-
tenantId: z.ZodString;
|
|
6113
|
-
projectId: z.ZodString;
|
|
6114
|
-
id: z.ZodString;
|
|
6115
|
-
name: z.ZodString;
|
|
6116
|
-
description: z.ZodString;
|
|
6117
|
-
contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
|
|
6118
6136
|
createdAt: z.ZodString;
|
|
6119
6137
|
updatedAt: z.ZodString;
|
|
6138
|
+
contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
|
|
6139
|
+
name: z.ZodString;
|
|
6140
|
+
description: z.ZodString;
|
|
6141
|
+
projectId: z.ZodString;
|
|
6142
|
+
tenantId: z.ZodString;
|
|
6143
|
+
id: z.ZodString;
|
|
6120
6144
|
requestContextSchema: z.ZodOptional<z.ZodUnknown>;
|
|
6121
6145
|
}, {
|
|
6122
6146
|
out: {};
|
|
@@ -6170,15 +6194,15 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
|
|
|
6170
6194
|
contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>>;
|
|
6171
6195
|
}, z.core.$strip>;
|
|
6172
6196
|
declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
6173
|
-
|
|
6174
|
-
name: "
|
|
6197
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6198
|
+
name: "created_at";
|
|
6175
6199
|
tableName: "agent_tool_relations";
|
|
6176
6200
|
dataType: "string";
|
|
6177
6201
|
columnType: "SQLiteText";
|
|
6178
6202
|
data: string;
|
|
6179
6203
|
driverParam: string;
|
|
6180
6204
|
notNull: true;
|
|
6181
|
-
hasDefault:
|
|
6205
|
+
hasDefault: true;
|
|
6182
6206
|
isPrimaryKey: false;
|
|
6183
6207
|
isAutoincrement: false;
|
|
6184
6208
|
hasRuntimeDefault: false;
|
|
@@ -6189,15 +6213,15 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6189
6213
|
}, {}, {
|
|
6190
6214
|
length: number | undefined;
|
|
6191
6215
|
}>;
|
|
6192
|
-
|
|
6193
|
-
name: "
|
|
6216
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6217
|
+
name: "updated_at";
|
|
6194
6218
|
tableName: "agent_tool_relations";
|
|
6195
6219
|
dataType: "string";
|
|
6196
6220
|
columnType: "SQLiteText";
|
|
6197
6221
|
data: string;
|
|
6198
6222
|
driverParam: string;
|
|
6199
6223
|
notNull: true;
|
|
6200
|
-
hasDefault:
|
|
6224
|
+
hasDefault: true;
|
|
6201
6225
|
isPrimaryKey: false;
|
|
6202
6226
|
isAutoincrement: false;
|
|
6203
6227
|
hasRuntimeDefault: false;
|
|
@@ -6208,8 +6232,8 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6208
6232
|
}, {}, {
|
|
6209
6233
|
length: number | undefined;
|
|
6210
6234
|
}>;
|
|
6211
|
-
|
|
6212
|
-
name: "
|
|
6235
|
+
toolId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6236
|
+
name: "tool_id";
|
|
6213
6237
|
tableName: "agent_tool_relations";
|
|
6214
6238
|
dataType: "string";
|
|
6215
6239
|
columnType: "SQLiteText";
|
|
@@ -6227,46 +6251,46 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6227
6251
|
}, {}, {
|
|
6228
6252
|
length: number | undefined;
|
|
6229
6253
|
}>;
|
|
6230
|
-
|
|
6231
|
-
name: "
|
|
6254
|
+
selectedTools: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6255
|
+
name: "selected_tools";
|
|
6232
6256
|
tableName: "agent_tool_relations";
|
|
6233
|
-
dataType: "
|
|
6234
|
-
columnType: "
|
|
6235
|
-
data: string;
|
|
6236
|
-
driverParam:
|
|
6237
|
-
notNull:
|
|
6257
|
+
dataType: "json";
|
|
6258
|
+
columnType: "SQLiteBlobJson";
|
|
6259
|
+
data: string[] | null;
|
|
6260
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
6261
|
+
notNull: false;
|
|
6238
6262
|
hasDefault: false;
|
|
6239
6263
|
isPrimaryKey: false;
|
|
6240
6264
|
isAutoincrement: false;
|
|
6241
6265
|
hasRuntimeDefault: false;
|
|
6242
|
-
enumValues:
|
|
6266
|
+
enumValues: undefined;
|
|
6243
6267
|
baseColumn: never;
|
|
6244
6268
|
identity: undefined;
|
|
6245
6269
|
generated: undefined;
|
|
6246
6270
|
}, {}, {
|
|
6247
|
-
|
|
6271
|
+
$type: string[] | null;
|
|
6248
6272
|
}>;
|
|
6249
|
-
|
|
6250
|
-
name: "
|
|
6273
|
+
headers: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6274
|
+
name: "headers";
|
|
6251
6275
|
tableName: "agent_tool_relations";
|
|
6252
|
-
dataType: "
|
|
6253
|
-
columnType: "
|
|
6254
|
-
data: string;
|
|
6255
|
-
driverParam:
|
|
6256
|
-
notNull:
|
|
6276
|
+
dataType: "json";
|
|
6277
|
+
columnType: "SQLiteBlobJson";
|
|
6278
|
+
data: Record<string, string> | null;
|
|
6279
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
6280
|
+
notNull: false;
|
|
6257
6281
|
hasDefault: false;
|
|
6258
6282
|
isPrimaryKey: false;
|
|
6259
6283
|
isAutoincrement: false;
|
|
6260
6284
|
hasRuntimeDefault: false;
|
|
6261
|
-
enumValues:
|
|
6285
|
+
enumValues: undefined;
|
|
6262
6286
|
baseColumn: never;
|
|
6263
6287
|
identity: undefined;
|
|
6264
6288
|
generated: undefined;
|
|
6265
6289
|
}, {}, {
|
|
6266
|
-
|
|
6290
|
+
$type: Record<string, string> | null;
|
|
6267
6291
|
}>;
|
|
6268
|
-
|
|
6269
|
-
name: "
|
|
6292
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6293
|
+
name: "agent_id";
|
|
6270
6294
|
tableName: "agent_tool_relations";
|
|
6271
6295
|
dataType: "string";
|
|
6272
6296
|
columnType: "SQLiteText";
|
|
@@ -6284,53 +6308,53 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6284
6308
|
}, {}, {
|
|
6285
6309
|
length: number | undefined;
|
|
6286
6310
|
}>;
|
|
6287
|
-
|
|
6288
|
-
name: "
|
|
6289
|
-
tableName: "agent_tool_relations";
|
|
6290
|
-
dataType: "
|
|
6291
|
-
columnType: "
|
|
6292
|
-
data: string
|
|
6293
|
-
driverParam:
|
|
6294
|
-
notNull:
|
|
6311
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6312
|
+
name: "graph_id";
|
|
6313
|
+
tableName: "agent_tool_relations";
|
|
6314
|
+
dataType: "string";
|
|
6315
|
+
columnType: "SQLiteText";
|
|
6316
|
+
data: string;
|
|
6317
|
+
driverParam: string;
|
|
6318
|
+
notNull: true;
|
|
6295
6319
|
hasDefault: false;
|
|
6296
6320
|
isPrimaryKey: false;
|
|
6297
6321
|
isAutoincrement: false;
|
|
6298
6322
|
hasRuntimeDefault: false;
|
|
6299
|
-
enumValues:
|
|
6323
|
+
enumValues: [string, ...string[]];
|
|
6300
6324
|
baseColumn: never;
|
|
6301
6325
|
identity: undefined;
|
|
6302
6326
|
generated: undefined;
|
|
6303
6327
|
}, {}, {
|
|
6304
|
-
|
|
6328
|
+
length: number | undefined;
|
|
6305
6329
|
}>;
|
|
6306
|
-
|
|
6307
|
-
name: "
|
|
6330
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6331
|
+
name: "project_id";
|
|
6308
6332
|
tableName: "agent_tool_relations";
|
|
6309
|
-
dataType: "
|
|
6310
|
-
columnType: "
|
|
6311
|
-
data:
|
|
6312
|
-
driverParam:
|
|
6313
|
-
notNull:
|
|
6333
|
+
dataType: "string";
|
|
6334
|
+
columnType: "SQLiteText";
|
|
6335
|
+
data: string;
|
|
6336
|
+
driverParam: string;
|
|
6337
|
+
notNull: true;
|
|
6314
6338
|
hasDefault: false;
|
|
6315
6339
|
isPrimaryKey: false;
|
|
6316
6340
|
isAutoincrement: false;
|
|
6317
6341
|
hasRuntimeDefault: false;
|
|
6318
|
-
enumValues:
|
|
6342
|
+
enumValues: [string, ...string[]];
|
|
6319
6343
|
baseColumn: never;
|
|
6320
6344
|
identity: undefined;
|
|
6321
6345
|
generated: undefined;
|
|
6322
6346
|
}, {}, {
|
|
6323
|
-
|
|
6347
|
+
length: number | undefined;
|
|
6324
6348
|
}>;
|
|
6325
|
-
|
|
6326
|
-
name: "
|
|
6349
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6350
|
+
name: "tenant_id";
|
|
6327
6351
|
tableName: "agent_tool_relations";
|
|
6328
6352
|
dataType: "string";
|
|
6329
6353
|
columnType: "SQLiteText";
|
|
6330
6354
|
data: string;
|
|
6331
6355
|
driverParam: string;
|
|
6332
6356
|
notNull: true;
|
|
6333
|
-
hasDefault:
|
|
6357
|
+
hasDefault: false;
|
|
6334
6358
|
isPrimaryKey: false;
|
|
6335
6359
|
isAutoincrement: false;
|
|
6336
6360
|
hasRuntimeDefault: false;
|
|
@@ -6341,15 +6365,15 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6341
6365
|
}, {}, {
|
|
6342
6366
|
length: number | undefined;
|
|
6343
6367
|
}>;
|
|
6344
|
-
|
|
6345
|
-
name: "
|
|
6368
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6369
|
+
name: "id";
|
|
6346
6370
|
tableName: "agent_tool_relations";
|
|
6347
6371
|
dataType: "string";
|
|
6348
6372
|
columnType: "SQLiteText";
|
|
6349
6373
|
data: string;
|
|
6350
6374
|
driverParam: string;
|
|
6351
6375
|
notNull: true;
|
|
6352
|
-
hasDefault:
|
|
6376
|
+
hasDefault: false;
|
|
6353
6377
|
isPrimaryKey: false;
|
|
6354
6378
|
isAutoincrement: false;
|
|
6355
6379
|
hasRuntimeDefault: false;
|
|
@@ -6362,11 +6386,11 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6362
6386
|
}>;
|
|
6363
6387
|
}, undefined, undefined>;
|
|
6364
6388
|
declare const AgentToolRelationInsertSchema: z.ZodObject<{
|
|
6365
|
-
tenantId: z.ZodString;
|
|
6366
|
-
projectId: z.ZodString;
|
|
6367
|
-
graphId: z.ZodString;
|
|
6368
6389
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
6369
6390
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6391
|
+
graphId: z.ZodString;
|
|
6392
|
+
projectId: z.ZodString;
|
|
6393
|
+
tenantId: z.ZodString;
|
|
6370
6394
|
id: z.ZodString;
|
|
6371
6395
|
agentId: z.ZodString;
|
|
6372
6396
|
toolId: z.ZodString;
|
|
@@ -6377,11 +6401,11 @@ declare const AgentToolRelationInsertSchema: z.ZodObject<{
|
|
|
6377
6401
|
in: {};
|
|
6378
6402
|
}>;
|
|
6379
6403
|
declare const AgentToolRelationUpdateSchema: z.ZodObject<{
|
|
6380
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
6381
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
6382
|
-
graphId: z.ZodOptional<z.ZodString>;
|
|
6383
6404
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6384
6405
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6406
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
6407
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
6408
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
6385
6409
|
id: z.ZodOptional<z.ZodString>;
|
|
6386
6410
|
agentId: z.ZodOptional<z.ZodString>;
|
|
6387
6411
|
toolId: z.ZodOptional<z.ZodString>;
|
|
@@ -6419,34 +6443,15 @@ declare const AgentToolRelationApiUpdateSchema: z.ZodObject<{
|
|
|
6419
6443
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6420
6444
|
}, z.core.$strip>;
|
|
6421
6445
|
declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
6422
|
-
|
|
6423
|
-
name: "
|
|
6424
|
-
tableName: "ledger_artifacts";
|
|
6425
|
-
dataType: "string";
|
|
6426
|
-
columnType: "SQLiteText";
|
|
6427
|
-
data: string;
|
|
6428
|
-
driverParam: string;
|
|
6429
|
-
notNull: true;
|
|
6430
|
-
hasDefault: false;
|
|
6431
|
-
isPrimaryKey: false;
|
|
6432
|
-
isAutoincrement: false;
|
|
6433
|
-
hasRuntimeDefault: false;
|
|
6434
|
-
enumValues: [string, ...string[]];
|
|
6435
|
-
baseColumn: never;
|
|
6436
|
-
identity: undefined;
|
|
6437
|
-
generated: undefined;
|
|
6438
|
-
}, {}, {
|
|
6439
|
-
length: number | undefined;
|
|
6440
|
-
}>;
|
|
6441
|
-
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6442
|
-
name: "project_id";
|
|
6446
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6447
|
+
name: "created_at";
|
|
6443
6448
|
tableName: "ledger_artifacts";
|
|
6444
6449
|
dataType: "string";
|
|
6445
6450
|
columnType: "SQLiteText";
|
|
6446
6451
|
data: string;
|
|
6447
6452
|
driverParam: string;
|
|
6448
6453
|
notNull: true;
|
|
6449
|
-
hasDefault:
|
|
6454
|
+
hasDefault: true;
|
|
6450
6455
|
isPrimaryKey: false;
|
|
6451
6456
|
isAutoincrement: false;
|
|
6452
6457
|
hasRuntimeDefault: false;
|
|
@@ -6457,15 +6462,15 @@ declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6457
6462
|
}, {}, {
|
|
6458
6463
|
length: number | undefined;
|
|
6459
6464
|
}>;
|
|
6460
|
-
|
|
6461
|
-
name: "
|
|
6465
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6466
|
+
name: "updated_at";
|
|
6462
6467
|
tableName: "ledger_artifacts";
|
|
6463
6468
|
dataType: "string";
|
|
6464
6469
|
columnType: "SQLiteText";
|
|
6465
6470
|
data: string;
|
|
6466
6471
|
driverParam: string;
|
|
6467
6472
|
notNull: true;
|
|
6468
|
-
hasDefault:
|
|
6473
|
+
hasDefault: true;
|
|
6469
6474
|
isPrimaryKey: false;
|
|
6470
6475
|
isAutoincrement: false;
|
|
6471
6476
|
hasRuntimeDefault: false;
|
|
@@ -6723,15 +6728,15 @@ declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6723
6728
|
}, {}, {
|
|
6724
6729
|
length: number | undefined;
|
|
6725
6730
|
}>;
|
|
6726
|
-
|
|
6727
|
-
name: "
|
|
6731
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6732
|
+
name: "project_id";
|
|
6728
6733
|
tableName: "ledger_artifacts";
|
|
6729
6734
|
dataType: "string";
|
|
6730
6735
|
columnType: "SQLiteText";
|
|
6731
6736
|
data: string;
|
|
6732
6737
|
driverParam: string;
|
|
6733
6738
|
notNull: true;
|
|
6734
|
-
hasDefault:
|
|
6739
|
+
hasDefault: false;
|
|
6735
6740
|
isPrimaryKey: false;
|
|
6736
6741
|
isAutoincrement: false;
|
|
6737
6742
|
hasRuntimeDefault: false;
|
|
@@ -6742,15 +6747,15 @@ declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6742
6747
|
}, {}, {
|
|
6743
6748
|
length: number | undefined;
|
|
6744
6749
|
}>;
|
|
6745
|
-
|
|
6746
|
-
name: "
|
|
6750
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6751
|
+
name: "tenant_id";
|
|
6747
6752
|
tableName: "ledger_artifacts";
|
|
6748
6753
|
dataType: "string";
|
|
6749
6754
|
columnType: "SQLiteText";
|
|
6750
6755
|
data: string;
|
|
6751
6756
|
driverParam: string;
|
|
6752
6757
|
notNull: true;
|
|
6753
|
-
hasDefault:
|
|
6758
|
+
hasDefault: false;
|
|
6754
6759
|
isPrimaryKey: false;
|
|
6755
6760
|
isAutoincrement: false;
|
|
6756
6761
|
hasRuntimeDefault: false;
|
|
@@ -6761,10 +6766,8 @@ declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6761
6766
|
}, {}, {
|
|
6762
6767
|
length: number | undefined;
|
|
6763
6768
|
}>;
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6767
|
-
name: "tenant_id";
|
|
6769
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6770
|
+
name: "id";
|
|
6768
6771
|
tableName: "ledger_artifacts";
|
|
6769
6772
|
dataType: "string";
|
|
6770
6773
|
columnType: "SQLiteText";
|
|
@@ -6782,15 +6785,17 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
6782
6785
|
}, {}, {
|
|
6783
6786
|
length: number | undefined;
|
|
6784
6787
|
}>;
|
|
6785
|
-
|
|
6786
|
-
|
|
6788
|
+
}, undefined, undefined>;
|
|
6789
|
+
declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
6790
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6791
|
+
name: "created_at";
|
|
6787
6792
|
tableName: "ledger_artifacts";
|
|
6788
6793
|
dataType: "string";
|
|
6789
6794
|
columnType: "SQLiteText";
|
|
6790
6795
|
data: string;
|
|
6791
6796
|
driverParam: string;
|
|
6792
6797
|
notNull: true;
|
|
6793
|
-
hasDefault:
|
|
6798
|
+
hasDefault: true;
|
|
6794
6799
|
isPrimaryKey: false;
|
|
6795
6800
|
isAutoincrement: false;
|
|
6796
6801
|
hasRuntimeDefault: false;
|
|
@@ -6801,15 +6806,15 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
6801
6806
|
}, {}, {
|
|
6802
6807
|
length: number | undefined;
|
|
6803
6808
|
}>;
|
|
6804
|
-
|
|
6805
|
-
name: "
|
|
6809
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6810
|
+
name: "updated_at";
|
|
6806
6811
|
tableName: "ledger_artifacts";
|
|
6807
6812
|
dataType: "string";
|
|
6808
6813
|
columnType: "SQLiteText";
|
|
6809
6814
|
data: string;
|
|
6810
6815
|
driverParam: string;
|
|
6811
6816
|
notNull: true;
|
|
6812
|
-
hasDefault:
|
|
6817
|
+
hasDefault: true;
|
|
6813
6818
|
isPrimaryKey: false;
|
|
6814
6819
|
isAutoincrement: false;
|
|
6815
6820
|
hasRuntimeDefault: false;
|
|
@@ -7067,15 +7072,15 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
7067
7072
|
}, {}, {
|
|
7068
7073
|
length: number | undefined;
|
|
7069
7074
|
}>;
|
|
7070
|
-
|
|
7071
|
-
name: "
|
|
7075
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7076
|
+
name: "project_id";
|
|
7072
7077
|
tableName: "ledger_artifacts";
|
|
7073
7078
|
dataType: "string";
|
|
7074
7079
|
columnType: "SQLiteText";
|
|
7075
7080
|
data: string;
|
|
7076
7081
|
driverParam: string;
|
|
7077
7082
|
notNull: true;
|
|
7078
|
-
hasDefault:
|
|
7083
|
+
hasDefault: false;
|
|
7079
7084
|
isPrimaryKey: false;
|
|
7080
7085
|
isAutoincrement: false;
|
|
7081
7086
|
hasRuntimeDefault: false;
|
|
@@ -7086,15 +7091,34 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
7086
7091
|
}, {}, {
|
|
7087
7092
|
length: number | undefined;
|
|
7088
7093
|
}>;
|
|
7089
|
-
|
|
7090
|
-
name: "
|
|
7094
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7095
|
+
name: "tenant_id";
|
|
7091
7096
|
tableName: "ledger_artifacts";
|
|
7092
7097
|
dataType: "string";
|
|
7093
7098
|
columnType: "SQLiteText";
|
|
7094
7099
|
data: string;
|
|
7095
7100
|
driverParam: string;
|
|
7096
7101
|
notNull: true;
|
|
7097
|
-
hasDefault:
|
|
7102
|
+
hasDefault: false;
|
|
7103
|
+
isPrimaryKey: false;
|
|
7104
|
+
isAutoincrement: false;
|
|
7105
|
+
hasRuntimeDefault: false;
|
|
7106
|
+
enumValues: [string, ...string[]];
|
|
7107
|
+
baseColumn: never;
|
|
7108
|
+
identity: undefined;
|
|
7109
|
+
generated: undefined;
|
|
7110
|
+
}, {}, {
|
|
7111
|
+
length: number | undefined;
|
|
7112
|
+
}>;
|
|
7113
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7114
|
+
name: "id";
|
|
7115
|
+
tableName: "ledger_artifacts";
|
|
7116
|
+
dataType: "string";
|
|
7117
|
+
columnType: "SQLiteText";
|
|
7118
|
+
data: string;
|
|
7119
|
+
driverParam: string;
|
|
7120
|
+
notNull: true;
|
|
7121
|
+
hasDefault: false;
|
|
7098
7122
|
isPrimaryKey: false;
|
|
7099
7123
|
isAutoincrement: false;
|
|
7100
7124
|
hasRuntimeDefault: false;
|
|
@@ -7107,9 +7131,8 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
7107
7131
|
}>;
|
|
7108
7132
|
}, undefined, undefined>;
|
|
7109
7133
|
declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
id: z.ZodOptional<z.ZodString>;
|
|
7134
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7135
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7113
7136
|
taskId: z.ZodOptional<z.ZodString>;
|
|
7114
7137
|
toolCallId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
7115
7138
|
contextId: z.ZodOptional<z.ZodString>;
|
|
@@ -7123,8 +7146,9 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
|
7123
7146
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
7124
7147
|
allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>;
|
|
7125
7148
|
derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
7126
|
-
|
|
7127
|
-
|
|
7149
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
7150
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
7151
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7128
7152
|
}, {
|
|
7129
7153
|
out: {};
|
|
7130
7154
|
in: {};
|
|
@@ -7525,53 +7549,15 @@ declare const RemovedResponseSchema: z.ZodObject<{
|
|
|
7525
7549
|
removed: z.ZodBoolean;
|
|
7526
7550
|
}, z.core.$strip>;
|
|
7527
7551
|
declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
7528
|
-
|
|
7529
|
-
name: "
|
|
7530
|
-
tableName: "projects";
|
|
7531
|
-
dataType: "string";
|
|
7532
|
-
columnType: "SQLiteText";
|
|
7533
|
-
data: string;
|
|
7534
|
-
driverParam: string;
|
|
7535
|
-
notNull: true;
|
|
7536
|
-
hasDefault: false;
|
|
7537
|
-
isPrimaryKey: false;
|
|
7538
|
-
isAutoincrement: false;
|
|
7539
|
-
hasRuntimeDefault: false;
|
|
7540
|
-
enumValues: [string, ...string[]];
|
|
7541
|
-
baseColumn: never;
|
|
7542
|
-
identity: undefined;
|
|
7543
|
-
generated: undefined;
|
|
7544
|
-
}, {}, {
|
|
7545
|
-
length: number | undefined;
|
|
7546
|
-
}>;
|
|
7547
|
-
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7548
|
-
name: "id";
|
|
7549
|
-
tableName: "projects";
|
|
7550
|
-
dataType: "string";
|
|
7551
|
-
columnType: "SQLiteText";
|
|
7552
|
-
data: string;
|
|
7553
|
-
driverParam: string;
|
|
7554
|
-
notNull: true;
|
|
7555
|
-
hasDefault: false;
|
|
7556
|
-
isPrimaryKey: false;
|
|
7557
|
-
isAutoincrement: false;
|
|
7558
|
-
hasRuntimeDefault: false;
|
|
7559
|
-
enumValues: [string, ...string[]];
|
|
7560
|
-
baseColumn: never;
|
|
7561
|
-
identity: undefined;
|
|
7562
|
-
generated: undefined;
|
|
7563
|
-
}, {}, {
|
|
7564
|
-
length: number | undefined;
|
|
7565
|
-
}>;
|
|
7566
|
-
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7567
|
-
name: "name";
|
|
7552
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7553
|
+
name: "created_at";
|
|
7568
7554
|
tableName: "projects";
|
|
7569
7555
|
dataType: "string";
|
|
7570
7556
|
columnType: "SQLiteText";
|
|
7571
7557
|
data: string;
|
|
7572
7558
|
driverParam: string;
|
|
7573
7559
|
notNull: true;
|
|
7574
|
-
hasDefault:
|
|
7560
|
+
hasDefault: true;
|
|
7575
7561
|
isPrimaryKey: false;
|
|
7576
7562
|
isAutoincrement: false;
|
|
7577
7563
|
hasRuntimeDefault: false;
|
|
@@ -7582,15 +7568,15 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
7582
7568
|
}, {}, {
|
|
7583
7569
|
length: number | undefined;
|
|
7584
7570
|
}>;
|
|
7585
|
-
|
|
7586
|
-
name: "
|
|
7571
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7572
|
+
name: "updated_at";
|
|
7587
7573
|
tableName: "projects";
|
|
7588
7574
|
dataType: "string";
|
|
7589
7575
|
columnType: "SQLiteText";
|
|
7590
7576
|
data: string;
|
|
7591
7577
|
driverParam: string;
|
|
7592
7578
|
notNull: true;
|
|
7593
|
-
hasDefault:
|
|
7579
|
+
hasDefault: true;
|
|
7594
7580
|
isPrimaryKey: false;
|
|
7595
7581
|
isAutoincrement: false;
|
|
7596
7582
|
hasRuntimeDefault: false;
|
|
@@ -7671,15 +7657,15 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
7671
7657
|
stepCountIs?: number | undefined;
|
|
7672
7658
|
};
|
|
7673
7659
|
}>;
|
|
7674
|
-
|
|
7675
|
-
name: "
|
|
7660
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7661
|
+
name: "name";
|
|
7676
7662
|
tableName: "projects";
|
|
7677
7663
|
dataType: "string";
|
|
7678
7664
|
columnType: "SQLiteText";
|
|
7679
7665
|
data: string;
|
|
7680
7666
|
driverParam: string;
|
|
7681
7667
|
notNull: true;
|
|
7682
|
-
hasDefault:
|
|
7668
|
+
hasDefault: false;
|
|
7683
7669
|
isPrimaryKey: false;
|
|
7684
7670
|
isAutoincrement: false;
|
|
7685
7671
|
hasRuntimeDefault: false;
|
|
@@ -7690,15 +7676,53 @@ declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
7690
7676
|
}, {}, {
|
|
7691
7677
|
length: number | undefined;
|
|
7692
7678
|
}>;
|
|
7693
|
-
|
|
7694
|
-
name: "
|
|
7679
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7680
|
+
name: "description";
|
|
7695
7681
|
tableName: "projects";
|
|
7696
7682
|
dataType: "string";
|
|
7697
7683
|
columnType: "SQLiteText";
|
|
7698
7684
|
data: string;
|
|
7699
7685
|
driverParam: string;
|
|
7700
7686
|
notNull: true;
|
|
7701
|
-
hasDefault:
|
|
7687
|
+
hasDefault: false;
|
|
7688
|
+
isPrimaryKey: false;
|
|
7689
|
+
isAutoincrement: false;
|
|
7690
|
+
hasRuntimeDefault: false;
|
|
7691
|
+
enumValues: [string, ...string[]];
|
|
7692
|
+
baseColumn: never;
|
|
7693
|
+
identity: undefined;
|
|
7694
|
+
generated: undefined;
|
|
7695
|
+
}, {}, {
|
|
7696
|
+
length: number | undefined;
|
|
7697
|
+
}>;
|
|
7698
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7699
|
+
name: "tenant_id";
|
|
7700
|
+
tableName: "projects";
|
|
7701
|
+
dataType: "string";
|
|
7702
|
+
columnType: "SQLiteText";
|
|
7703
|
+
data: string;
|
|
7704
|
+
driverParam: string;
|
|
7705
|
+
notNull: true;
|
|
7706
|
+
hasDefault: false;
|
|
7707
|
+
isPrimaryKey: false;
|
|
7708
|
+
isAutoincrement: false;
|
|
7709
|
+
hasRuntimeDefault: false;
|
|
7710
|
+
enumValues: [string, ...string[]];
|
|
7711
|
+
baseColumn: never;
|
|
7712
|
+
identity: undefined;
|
|
7713
|
+
generated: undefined;
|
|
7714
|
+
}, {}, {
|
|
7715
|
+
length: number | undefined;
|
|
7716
|
+
}>;
|
|
7717
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7718
|
+
name: "id";
|
|
7719
|
+
tableName: "projects";
|
|
7720
|
+
dataType: "string";
|
|
7721
|
+
columnType: "SQLiteText";
|
|
7722
|
+
data: string;
|
|
7723
|
+
driverParam: string;
|
|
7724
|
+
notNull: true;
|
|
7725
|
+
hasDefault: false;
|
|
7702
7726
|
isPrimaryKey: false;
|
|
7703
7727
|
isAutoincrement: false;
|
|
7704
7728
|
hasRuntimeDefault: false;
|