@inkeep/agents-core 0.41.2 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-client/base-client.d.ts +87 -8
- package/dist/api-client/base-client.js +174 -1
- package/dist/api-client/eval-api-client.d.ts +47 -0
- package/dist/api-client/eval-api-client.js +65 -0
- package/dist/api-client/index.d.ts +4 -0
- package/dist/api-client/index.js +5 -0
- package/dist/api-client/manage-api-client.d.ts +34 -0
- package/dist/api-client/manage-api-client.js +104 -0
- package/dist/auth/auth.d.ts +86 -20
- package/dist/auth/auth.js +60 -2
- package/dist/auth/authz/client.d.ts +87 -0
- package/dist/auth/authz/client.js +196 -0
- package/dist/auth/authz/config.d.ts +103 -0
- package/dist/auth/authz/config.js +93 -0
- package/dist/auth/authz/index.d.ts +5 -0
- package/dist/auth/authz/index.js +6 -0
- package/dist/auth/authz/permissions.d.ts +53 -0
- package/dist/auth/authz/permissions.js +83 -0
- package/dist/auth/authz/sync.d.ts +106 -0
- package/dist/auth/authz/sync.js +321 -0
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/auth/permissions.js +2 -181
- package/dist/client-exports.d.ts +9 -3
- package/dist/client-exports.js +4 -2
- package/dist/constants/context-breakdown.d.ts +61 -0
- package/dist/constants/context-breakdown.js +124 -0
- package/dist/constants/execution-limits-shared/defaults.d.ts +1 -1
- package/dist/constants/execution-limits-shared/defaults.js +1 -1
- package/dist/constants/execution-limits-shared/index.d.ts +1 -1
- package/dist/constants/otel-attributes.d.ts +4 -0
- package/dist/constants/otel-attributes.js +4 -0
- package/dist/context/ContextConfig.d.ts +2 -2
- package/dist/context/ContextConfig.js +3 -3
- package/dist/context/TemplateEngine.d.ts +0 -6
- package/dist/context/TemplateEngine.js +4 -19
- package/dist/context/index.d.ts +1 -5
- package/dist/context/index.js +1 -5
- package/dist/credential-stores/keychain-store.d.ts +20 -8
- package/dist/credential-stores/keychain-store.js +107 -43
- package/dist/credential-stuffer/CredentialStuffer.d.ts +1 -1
- package/dist/data-access/index.d.ts +34 -26
- package/dist/data-access/index.js +34 -26
- package/dist/data-access/manage/agentFull.d.ts +36 -0
- package/dist/data-access/{agentFull.js → manage/agentFull.js} +209 -7
- package/dist/data-access/{agents.d.ts → manage/agents.d.ts} +64 -63
- package/dist/data-access/{agents.js → manage/agents.js} +80 -27
- package/dist/data-access/{artifactComponents.d.ts → manage/artifactComponents.d.ts} +33 -33
- package/dist/data-access/{artifactComponents.js → manage/artifactComponents.js} +5 -5
- package/dist/data-access/{contextConfigs.d.ts → manage/contextConfigs.d.ts} +26 -26
- package/dist/data-access/{contextConfigs.js → manage/contextConfigs.js} +3 -3
- package/dist/data-access/{credentialReferences.d.ts → manage/credentialReferences.d.ts} +17 -17
- package/dist/data-access/{credentialReferences.js → manage/credentialReferences.js} +2 -2
- package/dist/data-access/{dataComponents.d.ts → manage/dataComponents.d.ts} +26 -26
- package/dist/data-access/{dataComponents.js → manage/dataComponents.js} +7 -7
- package/dist/data-access/manage/evalConfig.d.ts +221 -0
- package/dist/data-access/manage/evalConfig.js +275 -0
- package/dist/data-access/{externalAgents.d.ts → manage/externalAgents.d.ts} +16 -16
- package/dist/data-access/{externalAgents.js → manage/externalAgents.js} +2 -2
- package/dist/data-access/manage/functionTools.d.ts +242 -0
- package/dist/data-access/{functionTools.js → manage/functionTools.js} +124 -30
- package/dist/data-access/{functions.d.ts → manage/functions.d.ts} +9 -9
- package/dist/data-access/{functions.js → manage/functions.js} +3 -3
- package/dist/data-access/manage/projectFull.d.ts +38 -0
- package/dist/data-access/{projectFull.js → manage/projectFull.js} +64 -65
- package/dist/data-access/manage/projectLifecycle.d.ts +119 -0
- package/dist/data-access/manage/projectLifecycle.js +234 -0
- package/dist/data-access/manage/projects.d.ts +75 -0
- package/dist/data-access/{projects.js → manage/projects.js} +15 -16
- package/dist/data-access/{subAgentExternalAgentRelations.d.ts → manage/subAgentExternalAgentRelations.d.ts} +43 -43
- package/dist/data-access/{subAgentExternalAgentRelations.js → manage/subAgentExternalAgentRelations.js} +2 -2
- package/dist/data-access/{subAgentRelations.d.ts → manage/subAgentRelations.d.ts} +65 -65
- package/dist/data-access/{subAgentRelations.js → manage/subAgentRelations.js} +3 -3
- package/dist/data-access/{subAgentTeamAgentRelations.d.ts → manage/subAgentTeamAgentRelations.d.ts} +43 -43
- package/dist/data-access/{subAgentTeamAgentRelations.js → manage/subAgentTeamAgentRelations.js} +2 -2
- package/dist/data-access/{subAgents.d.ts → manage/subAgents.d.ts} +28 -28
- package/dist/data-access/{subAgents.js → manage/subAgents.js} +4 -4
- package/dist/data-access/{tools.d.ts → manage/tools.d.ts} +65 -52
- package/dist/data-access/{tools.js → manage/tools.js} +109 -64
- package/dist/data-access/manage/triggers.d.ts +106 -0
- package/dist/data-access/manage/triggers.js +81 -0
- package/dist/data-access/{apiKeys.d.ts → runtime/apiKeys.d.ts} +37 -37
- package/dist/data-access/{apiKeys.js → runtime/apiKeys.js} +3 -3
- package/dist/data-access/runtime/cascade-delete.d.ts +77 -0
- package/dist/data-access/runtime/cascade-delete.js +111 -0
- package/dist/data-access/{contextCache.d.ts → runtime/contextCache.d.ts} +13 -13
- package/dist/data-access/{contextCache.js → runtime/contextCache.js} +5 -5
- package/dist/data-access/{conversations.d.ts → runtime/conversations.d.ts} +80 -31
- package/dist/data-access/{conversations.js → runtime/conversations.js} +13 -7
- package/dist/data-access/runtime/evalRuns.d.ts +120 -0
- package/dist/data-access/runtime/evalRuns.js +168 -0
- package/dist/data-access/{ledgerArtifacts.d.ts → runtime/ledgerArtifacts.d.ts} +13 -13
- package/dist/data-access/{ledgerArtifacts.js → runtime/ledgerArtifacts.js} +3 -3
- package/dist/data-access/{messages.d.ts → runtime/messages.d.ts} +24 -24
- package/dist/data-access/{messages.js → runtime/messages.js} +2 -2
- package/dist/data-access/{organizations.d.ts → runtime/organizations.d.ts} +16 -7
- package/dist/data-access/{organizations.js → runtime/organizations.js} +16 -4
- package/dist/data-access/runtime/projects.d.ts +62 -0
- package/dist/data-access/runtime/projects.js +90 -0
- package/dist/data-access/runtime/tasks.d.ts +55 -0
- package/dist/data-access/{tasks.js → runtime/tasks.js} +2 -2
- package/dist/data-access/runtime/triggerInvocations.d.ts +62 -0
- package/dist/data-access/runtime/triggerInvocations.js +54 -0
- package/dist/data-access/runtime/users.d.ts +19 -0
- package/dist/data-access/{users.js → runtime/users.js} +2 -2
- package/dist/data-access/validation.d.ts +4 -4
- package/dist/data-access/validation.js +1 -1
- package/dist/db/clean.d.ts +8 -4
- package/dist/db/clean.js +14 -105
- package/dist/db/delete.d.ts +1 -1
- package/dist/db/delete.js +7 -10
- package/dist/db/manage/dolt-cleanup.d.ts +51 -0
- package/dist/db/manage/dolt-cleanup.js +132 -0
- package/dist/db/manage/manage-client.d.ts +26 -0
- package/dist/db/manage/manage-client.js +68 -0
- package/dist/db/{schema.d.ts → manage/manage-schema.d.ts} +1257 -969
- package/dist/db/{schema.js → manage/manage-schema.js} +436 -334
- package/dist/db/manage/test-manage-client.d.ts +27 -0
- package/dist/db/manage/test-manage-client.js +68 -0
- package/dist/db/runtime/runtime-client.d.ts +20 -0
- package/dist/db/runtime/runtime-client.js +30 -0
- package/dist/db/runtime/runtime-schema.d.ts +2834 -0
- package/dist/db/runtime/runtime-schema.js +483 -0
- package/dist/db/runtime/test-runtime-client.d.ts +27 -0
- package/dist/db/{test-client.js → runtime/test-runtime-client.js} +11 -25
- package/dist/db/utils.d.ts +6 -0
- package/dist/db/utils.js +42 -0
- package/dist/dolt/branch.d.ts +62 -0
- package/dist/dolt/branch.js +82 -0
- package/dist/dolt/branches-api.d.ts +108 -0
- package/dist/dolt/branches-api.js +162 -0
- package/dist/dolt/commit.d.ts +94 -0
- package/dist/dolt/commit.js +103 -0
- package/dist/dolt/diff.d.ts +27 -0
- package/dist/dolt/diff.js +21 -0
- package/dist/dolt/index.d.ts +10 -0
- package/dist/dolt/index.js +11 -0
- package/dist/dolt/merge.d.ts +63 -0
- package/dist/dolt/merge.js +81 -0
- package/dist/dolt/migrate-all-branches.d.ts +4 -0
- package/dist/dolt/migrate-all-branches.js +83 -0
- package/dist/dolt/migrate-dolt.d.ts +1 -0
- package/dist/dolt/migrate-dolt.js +25 -0
- package/dist/dolt/ref-helpers.d.ts +19 -0
- package/dist/dolt/ref-helpers.js +65 -0
- package/dist/dolt/ref-middleware.d.ts +82 -0
- package/dist/dolt/ref-middleware.js +217 -0
- package/dist/dolt/ref-scope.d.ts +101 -0
- package/dist/dolt/ref-scope.js +231 -0
- package/dist/dolt/schema-sync.d.ts +135 -0
- package/dist/dolt/schema-sync.js +255 -0
- package/dist/env.d.ts +6 -4
- package/dist/env.js +3 -2
- package/dist/index.d.ts +73 -46
- package/dist/index.js +76 -49
- package/dist/types/@napi-rs__keyring/index.d.ts +14 -0
- package/dist/types/entities.d.ts +81 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/types/utility.d.ts +46 -5
- package/dist/types/utility.js +2 -1
- package/dist/utils/JsonTransformer.d.ts +42 -0
- package/dist/utils/JsonTransformer.js +103 -0
- package/dist/utils/apiKeys.d.ts +5 -1
- package/dist/utils/apiKeys.js +11 -1
- package/dist/utils/colors.d.ts +34 -0
- package/dist/utils/colors.js +49 -0
- package/dist/utils/credential-store-utils.d.ts +1 -1
- package/dist/utils/format-messages.d.ts +1 -1
- package/dist/utils/index.d.ts +8 -4
- package/dist/utils/index.js +8 -4
- package/dist/utils/internal-service-auth.d.ts +79 -0
- package/dist/utils/internal-service-auth.js +140 -0
- package/dist/utils/jmespath-utils.d.ts +152 -0
- package/dist/utils/jmespath-utils.js +213 -0
- package/dist/utils/jwt-helpers.d.ts +56 -0
- package/dist/utils/jwt-helpers.js +90 -0
- package/dist/utils/mcp-client.d.ts +1 -1
- package/dist/utils/mcp-client.js +1 -1
- package/dist/utils/service-token-auth.d.ts +9 -27
- package/dist/utils/service-token-auth.js +48 -96
- package/dist/utils/signature-validation.d.ts +2 -0
- package/dist/utils/signature-validation.js +3 -0
- package/dist/utils/template-interpolation.d.ts +22 -0
- package/dist/utils/template-interpolation.js +62 -0
- package/dist/utils/third-party-mcp-servers/composio-client.d.ts +13 -1
- package/dist/utils/third-party-mcp-servers/composio-client.js +47 -29
- package/dist/utils/third-party-mcp-servers/index.d.ts +2 -2
- package/dist/utils/third-party-mcp-servers/index.js +2 -2
- package/dist/utils/trigger-auth.d.ts +85 -0
- package/dist/utils/trigger-auth.js +233 -0
- package/dist/validation/agentFull.js +2 -4
- package/dist/validation/dolt-schemas.d.ts +49 -0
- package/dist/validation/dolt-schemas.js +44 -0
- package/dist/validation/drizzle-schema-helpers.d.ts +4 -26
- package/dist/validation/drizzle-schema-helpers.js +5 -151
- package/dist/validation/index.d.ts +5 -4
- package/dist/validation/index.js +4 -3
- package/dist/validation/render-validation.js +19 -0
- package/dist/validation/schemas.d.ts +18223 -5148
- package/dist/validation/schemas.js +559 -12
- package/dist/validation/stream-event-schemas.d.ts +96 -1
- package/dist/validation/stream-event-schemas.js +67 -2
- package/drizzle/manage/0000_tearful_rhodey.sql +414 -0
- package/drizzle/manage/0001_broken_wendell_vaughn.sql +19 -0
- package/drizzle/manage/0002_bent_sunfire.sql +1 -0
- package/drizzle/manage/0003_tiny_captain_universe.sql +8 -0
- package/drizzle/manage/0004_curious_phil_sheldon.sql +2 -0
- package/drizzle/manage/0005_silent_shatterstar.sql +53 -0
- package/drizzle/manage/meta/0000_snapshot.json +2987 -0
- package/drizzle/manage/meta/0001_snapshot.json +3115 -0
- package/drizzle/manage/meta/0002_snapshot.json +3115 -0
- package/drizzle/manage/meta/0003_snapshot.json +3134 -0
- package/drizzle/manage/meta/0004_snapshot.json +3141 -0
- package/drizzle/manage/meta/0005_snapshot.json +3141 -0
- package/drizzle/manage/meta/_journal.json +48 -0
- package/drizzle/runtime/0008_silly_preak.sql +127 -0
- package/drizzle/runtime/0009_freezing_leo.sql +17 -0
- package/drizzle/runtime/meta/0008_snapshot.json +2263 -0
- package/drizzle/runtime/meta/0009_snapshot.json +2397 -0
- package/drizzle/{meta → runtime/meta}/_journal.json +14 -0
- package/package.json +56 -18
- package/spicedb/schema.zed +114 -0
- package/dist/context/ContextFetcher.d.ts +0 -73
- package/dist/context/ContextFetcher.js +0 -291
- package/dist/context/ContextResolver.d.ts +0 -60
- package/dist/context/ContextResolver.js +0 -278
- package/dist/context/context.d.ts +0 -27
- package/dist/context/context.js +0 -128
- package/dist/context/contextCache.d.ts +0 -58
- package/dist/context/contextCache.js +0 -177
- package/dist/data-access/agentFull.d.ts +0 -33
- package/dist/data-access/functionTools.d.ts +0 -169
- package/dist/data-access/projectFull.d.ts +0 -32
- package/dist/data-access/projects.d.ts +0 -71
- package/dist/data-access/tasks.d.ts +0 -45
- package/dist/data-access/users.d.ts +0 -19
- package/dist/db/client.d.ts +0 -20
- package/dist/db/client.js +0 -28
- package/dist/db/test-client.d.ts +0 -31
- package/dist/middleware/contextValidation.d.ts +0 -46
- package/dist/middleware/contextValidation.js +0 -280
- package/dist/middleware/index.d.ts +0 -2
- package/dist/middleware/index.js +0 -3
- package/dist/utils/execution.d.ts +0 -22
- package/dist/utils/execution.js +0 -25
- /package/drizzle/{0000_exotic_mysterio.sql → runtime/0000_exotic_mysterio.sql} +0 -0
- /package/drizzle/{0001_calm_sheva_callister.sql → runtime/0001_calm_sheva_callister.sql} +0 -0
- /package/drizzle/{0002_puzzling_goblin_queen.sql → runtime/0002_puzzling_goblin_queen.sql} +0 -0
- /package/drizzle/{0003_sweet_human_robot.sql → runtime/0003_sweet_human_robot.sql} +0 -0
- /package/drizzle/{0004_cuddly_shooting_star.sql → runtime/0004_cuddly_shooting_star.sql} +0 -0
- /package/drizzle/{0005_reflective_starfox.sql → runtime/0005_reflective_starfox.sql} +0 -0
- /package/drizzle/{0006_stale_thaddeus_ross.sql → runtime/0006_stale_thaddeus_ross.sql} +0 -0
- /package/drizzle/{0007_slim_karma.sql → runtime/0007_slim_karma.sql} +0 -0
- /package/drizzle/{meta → runtime/meta}/0000_snapshot.json +0 -0
- /package/drizzle/{meta → runtime/meta}/0001_snapshot.json +0 -0
- /package/drizzle/{meta → runtime/meta}/0003_snapshot.json +0 -0
- /package/drizzle/{meta → runtime/meta}/0005_snapshot.json +0 -0
- /package/drizzle/{meta → runtime/meta}/0006_snapshot.json +0 -0
- /package/drizzle/{meta → runtime/meta}/0007_snapshot.json +0 -0
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Part } from "../types/a2a.js";
|
|
3
|
-
import { ContextFetchDefinition, ConversationHistoryConfig, ConversationMetadata, MessageContent, MessageMetadata, TaskMetadataConfig, ToolMcpConfig, ToolServerCapabilities } from "../types/utility.js";
|
|
1
|
+
import { ContextFetchDefinition, ConversationHistoryConfig, DatasetItemExpectedOutput, DatasetItemInput, EvaluationSuiteFilterCriteria, Filter, PassCriteria, ToolMcpConfig, ToolServerCapabilities } from "../../types/utility.js";
|
|
4
2
|
import * as drizzle_orm20 from "drizzle-orm";
|
|
5
3
|
import * as drizzle_orm_pg_core208 from "drizzle-orm/pg-core";
|
|
6
4
|
|
|
7
|
-
//#region src/db/schema.d.ts
|
|
8
|
-
declare namespace
|
|
9
|
-
export {
|
|
5
|
+
//#region src/db/manage/manage-schema.d.ts
|
|
6
|
+
declare namespace manage_schema_d_exports {
|
|
7
|
+
export { agentRelations, agentToolRelationsRelations, agents, artifactComponents, artifactComponentsRelations, contextConfigs, contextConfigsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, dataset, datasetItem, datasetRunConfig, datasetRunConfigAgentRelations, evaluationJobConfig, evaluationJobConfigEvaluatorRelations, evaluationRunConfig, evaluationRunConfigEvaluationSuiteConfigRelations, evaluationSuiteConfig, evaluationSuiteConfigEvaluatorRelations, evaluator, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentExternalAgentRelations, subAgentExternalAgentRelationsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentTeamAgentRelations, subAgentTeamAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, tools, toolsRelations, triggers };
|
|
10
8
|
}
|
|
11
9
|
declare const projects: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
12
10
|
name: "projects";
|
|
@@ -652,13 +650,13 @@ declare const contextConfigs: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
652
650
|
};
|
|
653
651
|
dialect: "pg";
|
|
654
652
|
}>;
|
|
655
|
-
declare const
|
|
656
|
-
name: "
|
|
653
|
+
declare const triggers: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
654
|
+
name: "triggers";
|
|
657
655
|
schema: undefined;
|
|
658
656
|
columns: {
|
|
659
657
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
660
658
|
name: "created_at";
|
|
661
|
-
tableName: "
|
|
659
|
+
tableName: "triggers";
|
|
662
660
|
dataType: "string";
|
|
663
661
|
columnType: "PgTimestampString";
|
|
664
662
|
data: string;
|
|
@@ -675,7 +673,7 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
675
673
|
}, {}, {}>;
|
|
676
674
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
677
675
|
name: "updated_at";
|
|
678
|
-
tableName: "
|
|
676
|
+
tableName: "triggers";
|
|
679
677
|
dataType: "string";
|
|
680
678
|
columnType: "PgTimestampString";
|
|
681
679
|
data: string;
|
|
@@ -690,52 +688,75 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
690
688
|
identity: undefined;
|
|
691
689
|
generated: undefined;
|
|
692
690
|
}, {}, {}>;
|
|
693
|
-
|
|
694
|
-
name: "
|
|
695
|
-
tableName: "
|
|
696
|
-
dataType: "
|
|
697
|
-
columnType: "
|
|
698
|
-
data:
|
|
699
|
-
driverParam:
|
|
691
|
+
enabled: drizzle_orm_pg_core208.PgColumn<{
|
|
692
|
+
name: "enabled";
|
|
693
|
+
tableName: "triggers";
|
|
694
|
+
dataType: "boolean";
|
|
695
|
+
columnType: "PgBoolean";
|
|
696
|
+
data: boolean;
|
|
697
|
+
driverParam: boolean;
|
|
700
698
|
notNull: true;
|
|
699
|
+
hasDefault: true;
|
|
700
|
+
isPrimaryKey: false;
|
|
701
|
+
isAutoincrement: false;
|
|
702
|
+
hasRuntimeDefault: false;
|
|
703
|
+
enumValues: undefined;
|
|
704
|
+
baseColumn: never;
|
|
705
|
+
identity: undefined;
|
|
706
|
+
generated: undefined;
|
|
707
|
+
}, {}, {}>;
|
|
708
|
+
inputSchema: drizzle_orm_pg_core208.PgColumn<{
|
|
709
|
+
name: "input_schema";
|
|
710
|
+
tableName: "triggers";
|
|
711
|
+
dataType: "json";
|
|
712
|
+
columnType: "PgJsonb";
|
|
713
|
+
data: Record<string, unknown> | null;
|
|
714
|
+
driverParam: unknown;
|
|
715
|
+
notNull: false;
|
|
701
716
|
hasDefault: false;
|
|
702
717
|
isPrimaryKey: false;
|
|
703
718
|
isAutoincrement: false;
|
|
704
719
|
hasRuntimeDefault: false;
|
|
705
|
-
enumValues:
|
|
720
|
+
enumValues: undefined;
|
|
706
721
|
baseColumn: never;
|
|
707
722
|
identity: undefined;
|
|
708
723
|
generated: undefined;
|
|
709
724
|
}, {}, {
|
|
710
|
-
|
|
725
|
+
$type: Record<string, unknown> | null;
|
|
711
726
|
}>;
|
|
712
|
-
|
|
713
|
-
name: "
|
|
714
|
-
tableName: "
|
|
715
|
-
dataType: "
|
|
716
|
-
columnType: "
|
|
717
|
-
data:
|
|
718
|
-
|
|
719
|
-
|
|
727
|
+
outputTransform: drizzle_orm_pg_core208.PgColumn<{
|
|
728
|
+
name: "output_transform";
|
|
729
|
+
tableName: "triggers";
|
|
730
|
+
dataType: "json";
|
|
731
|
+
columnType: "PgJsonb";
|
|
732
|
+
data: {
|
|
733
|
+
jmespath?: string;
|
|
734
|
+
objectTransformation?: Record<string, string>;
|
|
735
|
+
} | null;
|
|
736
|
+
driverParam: unknown;
|
|
737
|
+
notNull: false;
|
|
720
738
|
hasDefault: false;
|
|
721
739
|
isPrimaryKey: false;
|
|
722
740
|
isAutoincrement: false;
|
|
723
741
|
hasRuntimeDefault: false;
|
|
724
|
-
enumValues:
|
|
742
|
+
enumValues: undefined;
|
|
725
743
|
baseColumn: never;
|
|
726
744
|
identity: undefined;
|
|
727
745
|
generated: undefined;
|
|
728
746
|
}, {}, {
|
|
729
|
-
|
|
747
|
+
$type: {
|
|
748
|
+
jmespath?: string;
|
|
749
|
+
objectTransformation?: Record<string, string>;
|
|
750
|
+
} | null;
|
|
730
751
|
}>;
|
|
731
|
-
|
|
732
|
-
name: "
|
|
733
|
-
tableName: "
|
|
752
|
+
messageTemplate: drizzle_orm_pg_core208.PgColumn<{
|
|
753
|
+
name: "message_template";
|
|
754
|
+
tableName: "triggers";
|
|
734
755
|
dataType: "string";
|
|
735
|
-
columnType: "
|
|
756
|
+
columnType: "PgText";
|
|
736
757
|
data: string;
|
|
737
758
|
driverParam: string;
|
|
738
|
-
notNull:
|
|
759
|
+
notNull: false;
|
|
739
760
|
hasDefault: false;
|
|
740
761
|
isPrimaryKey: false;
|
|
741
762
|
isAutoincrement: false;
|
|
@@ -744,17 +765,15 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
744
765
|
baseColumn: never;
|
|
745
766
|
identity: undefined;
|
|
746
767
|
generated: undefined;
|
|
747
|
-
}, {}, {
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
name: "value";
|
|
752
|
-
tableName: "context_cache";
|
|
768
|
+
}, {}, {}>;
|
|
769
|
+
authentication: drizzle_orm_pg_core208.PgColumn<{
|
|
770
|
+
name: "authentication";
|
|
771
|
+
tableName: "triggers";
|
|
753
772
|
dataType: "json";
|
|
754
773
|
columnType: "PgJsonb";
|
|
755
774
|
data: unknown;
|
|
756
775
|
driverParam: unknown;
|
|
757
|
-
notNull:
|
|
776
|
+
notNull: false;
|
|
758
777
|
hasDefault: false;
|
|
759
778
|
isPrimaryKey: false;
|
|
760
779
|
isAutoincrement: false;
|
|
@@ -766,9 +785,9 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
766
785
|
}, {}, {
|
|
767
786
|
$type: unknown;
|
|
768
787
|
}>;
|
|
769
|
-
|
|
770
|
-
name: "
|
|
771
|
-
tableName: "
|
|
788
|
+
signingSecretCredentialReferenceId: drizzle_orm_pg_core208.PgColumn<{
|
|
789
|
+
name: "signing_secret_credential_reference_id";
|
|
790
|
+
tableName: "triggers";
|
|
772
791
|
dataType: "string";
|
|
773
792
|
columnType: "PgVarchar";
|
|
774
793
|
data: string;
|
|
@@ -785,14 +804,39 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
785
804
|
}, {}, {
|
|
786
805
|
length: 256;
|
|
787
806
|
}>;
|
|
788
|
-
|
|
789
|
-
name: "
|
|
790
|
-
tableName: "
|
|
791
|
-
dataType: "
|
|
792
|
-
columnType: "
|
|
793
|
-
data:
|
|
794
|
-
|
|
795
|
-
|
|
807
|
+
signatureVerification: drizzle_orm_pg_core208.PgColumn<{
|
|
808
|
+
name: "signature_verification";
|
|
809
|
+
tableName: "triggers";
|
|
810
|
+
dataType: "json";
|
|
811
|
+
columnType: "PgJsonb";
|
|
812
|
+
data: {
|
|
813
|
+
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
814
|
+
encoding: "hex" | "base64";
|
|
815
|
+
signature: {
|
|
816
|
+
source: "query" | "body" | "header";
|
|
817
|
+
key: string;
|
|
818
|
+
prefix?: string | undefined;
|
|
819
|
+
regex?: string | undefined;
|
|
820
|
+
};
|
|
821
|
+
signedComponents: {
|
|
822
|
+
source: "literal" | "body" | "header";
|
|
823
|
+
required: boolean;
|
|
824
|
+
key?: string | undefined;
|
|
825
|
+
value?: string | undefined;
|
|
826
|
+
regex?: string | undefined;
|
|
827
|
+
}[];
|
|
828
|
+
componentJoin: {
|
|
829
|
+
strategy: "concatenate";
|
|
830
|
+
separator: string;
|
|
831
|
+
};
|
|
832
|
+
validation?: {
|
|
833
|
+
headerCaseSensitive: boolean;
|
|
834
|
+
allowEmptyBody: boolean;
|
|
835
|
+
normalizeUnicode: boolean;
|
|
836
|
+
} | undefined;
|
|
837
|
+
} | null;
|
|
838
|
+
driverParam: unknown;
|
|
839
|
+
notNull: false;
|
|
796
840
|
hasDefault: true;
|
|
797
841
|
isPrimaryKey: false;
|
|
798
842
|
isAutoincrement: false;
|
|
@@ -801,15 +845,42 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
801
845
|
baseColumn: never;
|
|
802
846
|
identity: undefined;
|
|
803
847
|
generated: undefined;
|
|
804
|
-
}, {}, {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
848
|
+
}, {}, {
|
|
849
|
+
$type: {
|
|
850
|
+
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
851
|
+
encoding: "hex" | "base64";
|
|
852
|
+
signature: {
|
|
853
|
+
source: "query" | "body" | "header";
|
|
854
|
+
key: string;
|
|
855
|
+
prefix?: string | undefined;
|
|
856
|
+
regex?: string | undefined;
|
|
857
|
+
};
|
|
858
|
+
signedComponents: {
|
|
859
|
+
source: "literal" | "body" | "header";
|
|
860
|
+
required: boolean;
|
|
861
|
+
key?: string | undefined;
|
|
862
|
+
value?: string | undefined;
|
|
863
|
+
regex?: string | undefined;
|
|
864
|
+
}[];
|
|
865
|
+
componentJoin: {
|
|
866
|
+
strategy: "concatenate";
|
|
867
|
+
separator: string;
|
|
868
|
+
};
|
|
869
|
+
validation?: {
|
|
870
|
+
headerCaseSensitive: boolean;
|
|
871
|
+
allowEmptyBody: boolean;
|
|
872
|
+
normalizeUnicode: boolean;
|
|
873
|
+
} | undefined;
|
|
874
|
+
} | null;
|
|
875
|
+
}>;
|
|
876
|
+
name: drizzle_orm_pg_core208.PgColumn<{
|
|
877
|
+
name: "name";
|
|
878
|
+
tableName: "triggers";
|
|
808
879
|
dataType: "string";
|
|
809
880
|
columnType: "PgVarchar";
|
|
810
881
|
data: string;
|
|
811
882
|
driverParam: string;
|
|
812
|
-
notNull:
|
|
883
|
+
notNull: true;
|
|
813
884
|
hasDefault: false;
|
|
814
885
|
isPrimaryKey: false;
|
|
815
886
|
isAutoincrement: false;
|
|
@@ -821,26 +892,45 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
821
892
|
}, {}, {
|
|
822
893
|
length: 256;
|
|
823
894
|
}>;
|
|
824
|
-
|
|
825
|
-
name: "
|
|
826
|
-
tableName: "
|
|
827
|
-
dataType: "
|
|
828
|
-
columnType: "
|
|
829
|
-
data:
|
|
830
|
-
driverParam: string
|
|
895
|
+
description: drizzle_orm_pg_core208.PgColumn<{
|
|
896
|
+
name: "description";
|
|
897
|
+
tableName: "triggers";
|
|
898
|
+
dataType: "string";
|
|
899
|
+
columnType: "PgText";
|
|
900
|
+
data: string;
|
|
901
|
+
driverParam: string;
|
|
831
902
|
notNull: false;
|
|
832
903
|
hasDefault: false;
|
|
833
904
|
isPrimaryKey: false;
|
|
834
905
|
isAutoincrement: false;
|
|
835
906
|
hasRuntimeDefault: false;
|
|
836
|
-
enumValues:
|
|
907
|
+
enumValues: [string, ...string[]];
|
|
837
908
|
baseColumn: never;
|
|
838
909
|
identity: undefined;
|
|
839
910
|
generated: undefined;
|
|
840
911
|
}, {}, {}>;
|
|
912
|
+
agentId: drizzle_orm_pg_core208.PgColumn<{
|
|
913
|
+
name: "agent_id";
|
|
914
|
+
tableName: "triggers";
|
|
915
|
+
dataType: "string";
|
|
916
|
+
columnType: "PgVarchar";
|
|
917
|
+
data: string;
|
|
918
|
+
driverParam: string;
|
|
919
|
+
notNull: true;
|
|
920
|
+
hasDefault: false;
|
|
921
|
+
isPrimaryKey: false;
|
|
922
|
+
isAutoincrement: false;
|
|
923
|
+
hasRuntimeDefault: false;
|
|
924
|
+
enumValues: [string, ...string[]];
|
|
925
|
+
baseColumn: never;
|
|
926
|
+
identity: undefined;
|
|
927
|
+
generated: undefined;
|
|
928
|
+
}, {}, {
|
|
929
|
+
length: 256;
|
|
930
|
+
}>;
|
|
841
931
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
842
932
|
name: "project_id";
|
|
843
|
-
tableName: "
|
|
933
|
+
tableName: "triggers";
|
|
844
934
|
dataType: "string";
|
|
845
935
|
columnType: "PgVarchar";
|
|
846
936
|
data: string;
|
|
@@ -859,7 +949,7 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
859
949
|
}>;
|
|
860
950
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
861
951
|
name: "tenant_id";
|
|
862
|
-
tableName: "
|
|
952
|
+
tableName: "triggers";
|
|
863
953
|
dataType: "string";
|
|
864
954
|
columnType: "PgVarchar";
|
|
865
955
|
data: string;
|
|
@@ -878,7 +968,7 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
878
968
|
}>;
|
|
879
969
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
880
970
|
name: "id";
|
|
881
|
-
tableName: "
|
|
971
|
+
tableName: "triggers";
|
|
882
972
|
dataType: "string";
|
|
883
973
|
columnType: "PgVarchar";
|
|
884
974
|
data: string;
|
|
@@ -1499,13 +1589,13 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1499
1589
|
};
|
|
1500
1590
|
dialect: "pg";
|
|
1501
1591
|
}>;
|
|
1502
|
-
declare const
|
|
1503
|
-
name: "
|
|
1592
|
+
declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
1593
|
+
name: "data_components";
|
|
1504
1594
|
schema: undefined;
|
|
1505
1595
|
columns: {
|
|
1506
1596
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
1507
1597
|
name: "created_at";
|
|
1508
|
-
tableName: "
|
|
1598
|
+
tableName: "data_components";
|
|
1509
1599
|
dataType: "string";
|
|
1510
1600
|
columnType: "PgTimestampString";
|
|
1511
1601
|
data: string;
|
|
@@ -1522,7 +1612,7 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1522
1612
|
}, {}, {}>;
|
|
1523
1613
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
1524
1614
|
name: "updated_at";
|
|
1525
|
-
tableName: "
|
|
1615
|
+
tableName: "data_components";
|
|
1526
1616
|
dataType: "string";
|
|
1527
1617
|
columnType: "PgTimestampString";
|
|
1528
1618
|
data: string;
|
|
@@ -1537,50 +1627,34 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1537
1627
|
identity: undefined;
|
|
1538
1628
|
generated: undefined;
|
|
1539
1629
|
}, {}, {}>;
|
|
1540
|
-
|
|
1541
|
-
name: "
|
|
1542
|
-
tableName: "
|
|
1543
|
-
dataType: "
|
|
1544
|
-
columnType: "
|
|
1545
|
-
data: string
|
|
1546
|
-
driverParam:
|
|
1547
|
-
notNull:
|
|
1548
|
-
hasDefault: false;
|
|
1549
|
-
isPrimaryKey: false;
|
|
1550
|
-
isAutoincrement: false;
|
|
1551
|
-
hasRuntimeDefault: false;
|
|
1552
|
-
enumValues: [string, ...string[]];
|
|
1553
|
-
baseColumn: never;
|
|
1554
|
-
identity: undefined;
|
|
1555
|
-
generated: undefined;
|
|
1556
|
-
}, {}, {
|
|
1557
|
-
length: 256;
|
|
1558
|
-
}>;
|
|
1559
|
-
status: drizzle_orm_pg_core208.PgColumn<{
|
|
1560
|
-
name: "status";
|
|
1561
|
-
tableName: "tasks";
|
|
1562
|
-
dataType: "string";
|
|
1563
|
-
columnType: "PgVarchar";
|
|
1564
|
-
data: string;
|
|
1565
|
-
driverParam: string;
|
|
1566
|
-
notNull: true;
|
|
1630
|
+
props: drizzle_orm_pg_core208.PgColumn<{
|
|
1631
|
+
name: "props";
|
|
1632
|
+
tableName: "data_components";
|
|
1633
|
+
dataType: "json";
|
|
1634
|
+
columnType: "PgJsonb";
|
|
1635
|
+
data: Record<string, unknown>;
|
|
1636
|
+
driverParam: unknown;
|
|
1637
|
+
notNull: false;
|
|
1567
1638
|
hasDefault: false;
|
|
1568
1639
|
isPrimaryKey: false;
|
|
1569
1640
|
isAutoincrement: false;
|
|
1570
1641
|
hasRuntimeDefault: false;
|
|
1571
|
-
enumValues:
|
|
1642
|
+
enumValues: undefined;
|
|
1572
1643
|
baseColumn: never;
|
|
1573
1644
|
identity: undefined;
|
|
1574
1645
|
generated: undefined;
|
|
1575
1646
|
}, {}, {
|
|
1576
|
-
|
|
1647
|
+
$type: Record<string, unknown>;
|
|
1577
1648
|
}>;
|
|
1578
|
-
|
|
1579
|
-
name: "
|
|
1580
|
-
tableName: "
|
|
1649
|
+
render: drizzle_orm_pg_core208.PgColumn<{
|
|
1650
|
+
name: "render";
|
|
1651
|
+
tableName: "data_components";
|
|
1581
1652
|
dataType: "json";
|
|
1582
1653
|
columnType: "PgJsonb";
|
|
1583
|
-
data:
|
|
1654
|
+
data: {
|
|
1655
|
+
component: string;
|
|
1656
|
+
mockData: Record<string, unknown>;
|
|
1657
|
+
};
|
|
1584
1658
|
driverParam: unknown;
|
|
1585
1659
|
notNull: false;
|
|
1586
1660
|
hasDefault: false;
|
|
@@ -1592,11 +1666,14 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1592
1666
|
identity: undefined;
|
|
1593
1667
|
generated: undefined;
|
|
1594
1668
|
}, {}, {
|
|
1595
|
-
$type:
|
|
1669
|
+
$type: {
|
|
1670
|
+
component: string;
|
|
1671
|
+
mockData: Record<string, unknown>;
|
|
1672
|
+
};
|
|
1596
1673
|
}>;
|
|
1597
|
-
|
|
1598
|
-
name: "
|
|
1599
|
-
tableName: "
|
|
1674
|
+
name: drizzle_orm_pg_core208.PgColumn<{
|
|
1675
|
+
name: "name";
|
|
1676
|
+
tableName: "data_components";
|
|
1600
1677
|
dataType: "string";
|
|
1601
1678
|
columnType: "PgVarchar";
|
|
1602
1679
|
data: string;
|
|
@@ -1613,14 +1690,14 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1613
1690
|
}, {}, {
|
|
1614
1691
|
length: 256;
|
|
1615
1692
|
}>;
|
|
1616
|
-
|
|
1617
|
-
name: "
|
|
1618
|
-
tableName: "
|
|
1693
|
+
description: drizzle_orm_pg_core208.PgColumn<{
|
|
1694
|
+
name: "description";
|
|
1695
|
+
tableName: "data_components";
|
|
1619
1696
|
dataType: "string";
|
|
1620
|
-
columnType: "
|
|
1697
|
+
columnType: "PgText";
|
|
1621
1698
|
data: string;
|
|
1622
1699
|
driverParam: string;
|
|
1623
|
-
notNull:
|
|
1700
|
+
notNull: false;
|
|
1624
1701
|
hasDefault: false;
|
|
1625
1702
|
isPrimaryKey: false;
|
|
1626
1703
|
isAutoincrement: false;
|
|
@@ -1629,12 +1706,10 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1629
1706
|
baseColumn: never;
|
|
1630
1707
|
identity: undefined;
|
|
1631
1708
|
generated: undefined;
|
|
1632
|
-
}, {}, {
|
|
1633
|
-
length: 256;
|
|
1634
|
-
}>;
|
|
1709
|
+
}, {}, {}>;
|
|
1635
1710
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
1636
1711
|
name: "project_id";
|
|
1637
|
-
tableName: "
|
|
1712
|
+
tableName: "data_components";
|
|
1638
1713
|
dataType: "string";
|
|
1639
1714
|
columnType: "PgVarchar";
|
|
1640
1715
|
data: string;
|
|
@@ -1653,7 +1728,7 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1653
1728
|
}>;
|
|
1654
1729
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
1655
1730
|
name: "tenant_id";
|
|
1656
|
-
tableName: "
|
|
1731
|
+
tableName: "data_components";
|
|
1657
1732
|
dataType: "string";
|
|
1658
1733
|
columnType: "PgVarchar";
|
|
1659
1734
|
data: string;
|
|
@@ -1672,7 +1747,7 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1672
1747
|
}>;
|
|
1673
1748
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
1674
1749
|
name: "id";
|
|
1675
|
-
tableName: "
|
|
1750
|
+
tableName: "data_components";
|
|
1676
1751
|
dataType: "string";
|
|
1677
1752
|
columnType: "PgVarchar";
|
|
1678
1753
|
data: string;
|
|
@@ -1692,30 +1767,32 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1692
1767
|
};
|
|
1693
1768
|
dialect: "pg";
|
|
1694
1769
|
}>;
|
|
1695
|
-
declare const
|
|
1696
|
-
name: "
|
|
1770
|
+
declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
1771
|
+
name: "sub_agent_data_components";
|
|
1697
1772
|
schema: undefined;
|
|
1698
1773
|
columns: {
|
|
1699
|
-
|
|
1700
|
-
name: "
|
|
1701
|
-
tableName: "
|
|
1774
|
+
dataComponentId: drizzle_orm_pg_core208.PgColumn<{
|
|
1775
|
+
name: "data_component_id";
|
|
1776
|
+
tableName: "sub_agent_data_components";
|
|
1702
1777
|
dataType: "string";
|
|
1703
|
-
columnType: "
|
|
1778
|
+
columnType: "PgVarchar";
|
|
1704
1779
|
data: string;
|
|
1705
1780
|
driverParam: string;
|
|
1706
1781
|
notNull: true;
|
|
1707
|
-
hasDefault:
|
|
1782
|
+
hasDefault: false;
|
|
1708
1783
|
isPrimaryKey: false;
|
|
1709
1784
|
isAutoincrement: false;
|
|
1710
1785
|
hasRuntimeDefault: false;
|
|
1711
|
-
enumValues:
|
|
1786
|
+
enumValues: [string, ...string[]];
|
|
1712
1787
|
baseColumn: never;
|
|
1713
1788
|
identity: undefined;
|
|
1714
1789
|
generated: undefined;
|
|
1715
|
-
}, {}, {
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1790
|
+
}, {}, {
|
|
1791
|
+
length: 256;
|
|
1792
|
+
}>;
|
|
1793
|
+
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
1794
|
+
name: "created_at";
|
|
1795
|
+
tableName: "sub_agent_data_components";
|
|
1719
1796
|
dataType: "string";
|
|
1720
1797
|
columnType: "PgTimestampString";
|
|
1721
1798
|
data: string;
|
|
@@ -1730,9 +1807,9 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1730
1807
|
identity: undefined;
|
|
1731
1808
|
generated: undefined;
|
|
1732
1809
|
}, {}, {}>;
|
|
1733
|
-
|
|
1734
|
-
name: "
|
|
1735
|
-
tableName: "
|
|
1810
|
+
subAgentId: drizzle_orm_pg_core208.PgColumn<{
|
|
1811
|
+
name: "sub_agent_id";
|
|
1812
|
+
tableName: "sub_agent_data_components";
|
|
1736
1813
|
dataType: "string";
|
|
1737
1814
|
columnType: "PgVarchar";
|
|
1738
1815
|
data: string;
|
|
@@ -1749,9 +1826,9 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1749
1826
|
}, {}, {
|
|
1750
1827
|
length: 256;
|
|
1751
1828
|
}>;
|
|
1752
|
-
|
|
1753
|
-
name: "
|
|
1754
|
-
tableName: "
|
|
1829
|
+
agentId: drizzle_orm_pg_core208.PgColumn<{
|
|
1830
|
+
name: "agent_id";
|
|
1831
|
+
tableName: "sub_agent_data_components";
|
|
1755
1832
|
dataType: "string";
|
|
1756
1833
|
columnType: "PgVarchar";
|
|
1757
1834
|
data: string;
|
|
@@ -1768,28 +1845,9 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1768
1845
|
}, {}, {
|
|
1769
1846
|
length: 256;
|
|
1770
1847
|
}>;
|
|
1771
|
-
relationType: drizzle_orm_pg_core208.PgColumn<{
|
|
1772
|
-
name: "relation_type";
|
|
1773
|
-
tableName: "task_relations";
|
|
1774
|
-
dataType: "string";
|
|
1775
|
-
columnType: "PgVarchar";
|
|
1776
|
-
data: string;
|
|
1777
|
-
driverParam: string;
|
|
1778
|
-
notNull: false;
|
|
1779
|
-
hasDefault: true;
|
|
1780
|
-
isPrimaryKey: false;
|
|
1781
|
-
isAutoincrement: false;
|
|
1782
|
-
hasRuntimeDefault: false;
|
|
1783
|
-
enumValues: [string, ...string[]];
|
|
1784
|
-
baseColumn: never;
|
|
1785
|
-
identity: undefined;
|
|
1786
|
-
generated: undefined;
|
|
1787
|
-
}, {}, {
|
|
1788
|
-
length: 256;
|
|
1789
|
-
}>;
|
|
1790
1848
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
1791
1849
|
name: "project_id";
|
|
1792
|
-
tableName: "
|
|
1850
|
+
tableName: "sub_agent_data_components";
|
|
1793
1851
|
dataType: "string";
|
|
1794
1852
|
columnType: "PgVarchar";
|
|
1795
1853
|
data: string;
|
|
@@ -1808,7 +1866,7 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1808
1866
|
}>;
|
|
1809
1867
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
1810
1868
|
name: "tenant_id";
|
|
1811
|
-
tableName: "
|
|
1869
|
+
tableName: "sub_agent_data_components";
|
|
1812
1870
|
dataType: "string";
|
|
1813
1871
|
columnType: "PgVarchar";
|
|
1814
1872
|
data: string;
|
|
@@ -1827,7 +1885,7 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1827
1885
|
}>;
|
|
1828
1886
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
1829
1887
|
name: "id";
|
|
1830
|
-
tableName: "
|
|
1888
|
+
tableName: "sub_agent_data_components";
|
|
1831
1889
|
dataType: "string";
|
|
1832
1890
|
columnType: "PgVarchar";
|
|
1833
1891
|
data: string;
|
|
@@ -1847,13 +1905,13 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1847
1905
|
};
|
|
1848
1906
|
dialect: "pg";
|
|
1849
1907
|
}>;
|
|
1850
|
-
declare const
|
|
1851
|
-
name: "
|
|
1908
|
+
declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
1909
|
+
name: "artifact_components";
|
|
1852
1910
|
schema: undefined;
|
|
1853
1911
|
columns: {
|
|
1854
1912
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
1855
1913
|
name: "created_at";
|
|
1856
|
-
tableName: "
|
|
1914
|
+
tableName: "artifact_components";
|
|
1857
1915
|
dataType: "string";
|
|
1858
1916
|
columnType: "PgTimestampString";
|
|
1859
1917
|
data: string;
|
|
@@ -1870,7 +1928,7 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1870
1928
|
}, {}, {}>;
|
|
1871
1929
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
1872
1930
|
name: "updated_at";
|
|
1873
|
-
tableName: "
|
|
1931
|
+
tableName: "artifact_components";
|
|
1874
1932
|
dataType: "string";
|
|
1875
1933
|
columnType: "PgTimestampString";
|
|
1876
1934
|
data: string;
|
|
@@ -1887,7 +1945,7 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1887
1945
|
}, {}, {}>;
|
|
1888
1946
|
props: drizzle_orm_pg_core208.PgColumn<{
|
|
1889
1947
|
name: "props";
|
|
1890
|
-
tableName: "
|
|
1948
|
+
tableName: "artifact_components";
|
|
1891
1949
|
dataType: "json";
|
|
1892
1950
|
columnType: "PgJsonb";
|
|
1893
1951
|
data: Record<string, unknown>;
|
|
@@ -1906,7 +1964,7 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1906
1964
|
}>;
|
|
1907
1965
|
render: drizzle_orm_pg_core208.PgColumn<{
|
|
1908
1966
|
name: "render";
|
|
1909
|
-
tableName: "
|
|
1967
|
+
tableName: "artifact_components";
|
|
1910
1968
|
dataType: "json";
|
|
1911
1969
|
columnType: "PgJsonb";
|
|
1912
1970
|
data: {
|
|
@@ -1931,7 +1989,7 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1931
1989
|
}>;
|
|
1932
1990
|
name: drizzle_orm_pg_core208.PgColumn<{
|
|
1933
1991
|
name: "name";
|
|
1934
|
-
tableName: "
|
|
1992
|
+
tableName: "artifact_components";
|
|
1935
1993
|
dataType: "string";
|
|
1936
1994
|
columnType: "PgVarchar";
|
|
1937
1995
|
data: string;
|
|
@@ -1950,7 +2008,7 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1950
2008
|
}>;
|
|
1951
2009
|
description: drizzle_orm_pg_core208.PgColumn<{
|
|
1952
2010
|
name: "description";
|
|
1953
|
-
tableName: "
|
|
2011
|
+
tableName: "artifact_components";
|
|
1954
2012
|
dataType: "string";
|
|
1955
2013
|
columnType: "PgText";
|
|
1956
2014
|
data: string;
|
|
@@ -1967,7 +2025,7 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1967
2025
|
}, {}, {}>;
|
|
1968
2026
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
1969
2027
|
name: "project_id";
|
|
1970
|
-
tableName: "
|
|
2028
|
+
tableName: "artifact_components";
|
|
1971
2029
|
dataType: "string";
|
|
1972
2030
|
columnType: "PgVarchar";
|
|
1973
2031
|
data: string;
|
|
@@ -1986,7 +2044,7 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1986
2044
|
}>;
|
|
1987
2045
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
1988
2046
|
name: "tenant_id";
|
|
1989
|
-
tableName: "
|
|
2047
|
+
tableName: "artifact_components";
|
|
1990
2048
|
dataType: "string";
|
|
1991
2049
|
columnType: "PgVarchar";
|
|
1992
2050
|
data: string;
|
|
@@ -2005,7 +2063,7 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2005
2063
|
}>;
|
|
2006
2064
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
2007
2065
|
name: "id";
|
|
2008
|
-
tableName: "
|
|
2066
|
+
tableName: "artifact_components";
|
|
2009
2067
|
dataType: "string";
|
|
2010
2068
|
columnType: "PgVarchar";
|
|
2011
2069
|
data: string;
|
|
@@ -2025,13 +2083,13 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2025
2083
|
};
|
|
2026
2084
|
dialect: "pg";
|
|
2027
2085
|
}>;
|
|
2028
|
-
declare const
|
|
2029
|
-
name: "
|
|
2086
|
+
declare const subAgentArtifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
2087
|
+
name: "sub_agent_artifact_components";
|
|
2030
2088
|
schema: undefined;
|
|
2031
2089
|
columns: {
|
|
2032
|
-
|
|
2033
|
-
name: "
|
|
2034
|
-
tableName: "
|
|
2090
|
+
artifactComponentId: drizzle_orm_pg_core208.PgColumn<{
|
|
2091
|
+
name: "artifact_component_id";
|
|
2092
|
+
tableName: "sub_agent_artifact_components";
|
|
2035
2093
|
dataType: "string";
|
|
2036
2094
|
columnType: "PgVarchar";
|
|
2037
2095
|
data: string;
|
|
@@ -2050,7 +2108,7 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2050
2108
|
}>;
|
|
2051
2109
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
2052
2110
|
name: "created_at";
|
|
2053
|
-
tableName: "
|
|
2111
|
+
tableName: "sub_agent_artifact_components";
|
|
2054
2112
|
dataType: "string";
|
|
2055
2113
|
columnType: "PgTimestampString";
|
|
2056
2114
|
data: string;
|
|
@@ -2067,7 +2125,7 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2067
2125
|
}, {}, {}>;
|
|
2068
2126
|
subAgentId: drizzle_orm_pg_core208.PgColumn<{
|
|
2069
2127
|
name: "sub_agent_id";
|
|
2070
|
-
tableName: "
|
|
2128
|
+
tableName: "sub_agent_artifact_components";
|
|
2071
2129
|
dataType: "string";
|
|
2072
2130
|
columnType: "PgVarchar";
|
|
2073
2131
|
data: string;
|
|
@@ -2086,7 +2144,7 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2086
2144
|
}>;
|
|
2087
2145
|
agentId: drizzle_orm_pg_core208.PgColumn<{
|
|
2088
2146
|
name: "agent_id";
|
|
2089
|
-
tableName: "
|
|
2147
|
+
tableName: "sub_agent_artifact_components";
|
|
2090
2148
|
dataType: "string";
|
|
2091
2149
|
columnType: "PgVarchar";
|
|
2092
2150
|
data: string;
|
|
@@ -2105,7 +2163,7 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2105
2163
|
}>;
|
|
2106
2164
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
2107
2165
|
name: "project_id";
|
|
2108
|
-
tableName: "
|
|
2166
|
+
tableName: "sub_agent_artifact_components";
|
|
2109
2167
|
dataType: "string";
|
|
2110
2168
|
columnType: "PgVarchar";
|
|
2111
2169
|
data: string;
|
|
@@ -2124,7 +2182,7 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2124
2182
|
}>;
|
|
2125
2183
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
2126
2184
|
name: "tenant_id";
|
|
2127
|
-
tableName: "
|
|
2185
|
+
tableName: "sub_agent_artifact_components";
|
|
2128
2186
|
dataType: "string";
|
|
2129
2187
|
columnType: "PgVarchar";
|
|
2130
2188
|
data: string;
|
|
@@ -2143,7 +2201,7 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2143
2201
|
}>;
|
|
2144
2202
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
2145
2203
|
name: "id";
|
|
2146
|
-
tableName: "
|
|
2204
|
+
tableName: "sub_agent_artifact_components";
|
|
2147
2205
|
dataType: "string";
|
|
2148
2206
|
columnType: "PgVarchar";
|
|
2149
2207
|
data: string;
|
|
@@ -2163,13 +2221,13 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2163
2221
|
};
|
|
2164
2222
|
dialect: "pg";
|
|
2165
2223
|
}>;
|
|
2166
|
-
declare const
|
|
2167
|
-
name: "
|
|
2224
|
+
declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
2225
|
+
name: "tools";
|
|
2168
2226
|
schema: undefined;
|
|
2169
2227
|
columns: {
|
|
2170
2228
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
2171
2229
|
name: "created_at";
|
|
2172
|
-
tableName: "
|
|
2230
|
+
tableName: "tools";
|
|
2173
2231
|
dataType: "string";
|
|
2174
2232
|
columnType: "PgTimestampString";
|
|
2175
2233
|
data: string;
|
|
@@ -2186,7 +2244,7 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2186
2244
|
}, {}, {}>;
|
|
2187
2245
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
2188
2246
|
name: "updated_at";
|
|
2189
|
-
tableName: "
|
|
2247
|
+
tableName: "tools";
|
|
2190
2248
|
dataType: "string";
|
|
2191
2249
|
columnType: "PgTimestampString";
|
|
2192
2250
|
data: string;
|
|
@@ -2201,53 +2259,9 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2201
2259
|
identity: undefined;
|
|
2202
2260
|
generated: undefined;
|
|
2203
2261
|
}, {}, {}>;
|
|
2204
|
-
props: drizzle_orm_pg_core208.PgColumn<{
|
|
2205
|
-
name: "props";
|
|
2206
|
-
tableName: "artifact_components";
|
|
2207
|
-
dataType: "json";
|
|
2208
|
-
columnType: "PgJsonb";
|
|
2209
|
-
data: Record<string, unknown>;
|
|
2210
|
-
driverParam: unknown;
|
|
2211
|
-
notNull: false;
|
|
2212
|
-
hasDefault: false;
|
|
2213
|
-
isPrimaryKey: false;
|
|
2214
|
-
isAutoincrement: false;
|
|
2215
|
-
hasRuntimeDefault: false;
|
|
2216
|
-
enumValues: undefined;
|
|
2217
|
-
baseColumn: never;
|
|
2218
|
-
identity: undefined;
|
|
2219
|
-
generated: undefined;
|
|
2220
|
-
}, {}, {
|
|
2221
|
-
$type: Record<string, unknown>;
|
|
2222
|
-
}>;
|
|
2223
|
-
render: drizzle_orm_pg_core208.PgColumn<{
|
|
2224
|
-
name: "render";
|
|
2225
|
-
tableName: "artifact_components";
|
|
2226
|
-
dataType: "json";
|
|
2227
|
-
columnType: "PgJsonb";
|
|
2228
|
-
data: {
|
|
2229
|
-
component: string;
|
|
2230
|
-
mockData: Record<string, unknown>;
|
|
2231
|
-
};
|
|
2232
|
-
driverParam: unknown;
|
|
2233
|
-
notNull: false;
|
|
2234
|
-
hasDefault: false;
|
|
2235
|
-
isPrimaryKey: false;
|
|
2236
|
-
isAutoincrement: false;
|
|
2237
|
-
hasRuntimeDefault: false;
|
|
2238
|
-
enumValues: undefined;
|
|
2239
|
-
baseColumn: never;
|
|
2240
|
-
identity: undefined;
|
|
2241
|
-
generated: undefined;
|
|
2242
|
-
}, {}, {
|
|
2243
|
-
$type: {
|
|
2244
|
-
component: string;
|
|
2245
|
-
mockData: Record<string, unknown>;
|
|
2246
|
-
};
|
|
2247
|
-
}>;
|
|
2248
2262
|
name: drizzle_orm_pg_core208.PgColumn<{
|
|
2249
2263
|
name: "name";
|
|
2250
|
-
tableName: "
|
|
2264
|
+
tableName: "tools";
|
|
2251
2265
|
dataType: "string";
|
|
2252
2266
|
columnType: "PgVarchar";
|
|
2253
2267
|
data: string;
|
|
@@ -2266,7 +2280,7 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2266
2280
|
}>;
|
|
2267
2281
|
description: drizzle_orm_pg_core208.PgColumn<{
|
|
2268
2282
|
name: "description";
|
|
2269
|
-
tableName: "
|
|
2283
|
+
tableName: "tools";
|
|
2270
2284
|
dataType: "string";
|
|
2271
2285
|
columnType: "PgText";
|
|
2272
2286
|
data: string;
|
|
@@ -2281,33 +2295,39 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2281
2295
|
identity: undefined;
|
|
2282
2296
|
generated: undefined;
|
|
2283
2297
|
}, {}, {}>;
|
|
2284
|
-
|
|
2285
|
-
name: "
|
|
2286
|
-
tableName: "
|
|
2287
|
-
dataType: "
|
|
2288
|
-
columnType: "
|
|
2289
|
-
data:
|
|
2290
|
-
|
|
2298
|
+
config: drizzle_orm_pg_core208.PgColumn<{
|
|
2299
|
+
name: "config";
|
|
2300
|
+
tableName: "tools";
|
|
2301
|
+
dataType: "json";
|
|
2302
|
+
columnType: "PgJsonb";
|
|
2303
|
+
data: {
|
|
2304
|
+
type: "mcp";
|
|
2305
|
+
mcp: ToolMcpConfig;
|
|
2306
|
+
};
|
|
2307
|
+
driverParam: unknown;
|
|
2291
2308
|
notNull: true;
|
|
2292
2309
|
hasDefault: false;
|
|
2293
2310
|
isPrimaryKey: false;
|
|
2294
2311
|
isAutoincrement: false;
|
|
2295
2312
|
hasRuntimeDefault: false;
|
|
2296
|
-
enumValues:
|
|
2313
|
+
enumValues: undefined;
|
|
2297
2314
|
baseColumn: never;
|
|
2298
2315
|
identity: undefined;
|
|
2299
2316
|
generated: undefined;
|
|
2300
2317
|
}, {}, {
|
|
2301
|
-
|
|
2318
|
+
$type: {
|
|
2319
|
+
type: "mcp";
|
|
2320
|
+
mcp: ToolMcpConfig;
|
|
2321
|
+
};
|
|
2302
2322
|
}>;
|
|
2303
|
-
|
|
2304
|
-
name: "
|
|
2305
|
-
tableName: "
|
|
2323
|
+
credentialReferenceId: drizzle_orm_pg_core208.PgColumn<{
|
|
2324
|
+
name: "credential_reference_id";
|
|
2325
|
+
tableName: "tools";
|
|
2306
2326
|
dataType: "string";
|
|
2307
2327
|
columnType: "PgVarchar";
|
|
2308
2328
|
data: string;
|
|
2309
2329
|
driverParam: string;
|
|
2310
|
-
notNull:
|
|
2330
|
+
notNull: false;
|
|
2311
2331
|
hasDefault: false;
|
|
2312
2332
|
isPrimaryKey: false;
|
|
2313
2333
|
isAutoincrement: false;
|
|
@@ -2319,15 +2339,15 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2319
2339
|
}, {}, {
|
|
2320
2340
|
length: 256;
|
|
2321
2341
|
}>;
|
|
2322
|
-
|
|
2323
|
-
name: "
|
|
2324
|
-
tableName: "
|
|
2342
|
+
credentialScope: drizzle_orm_pg_core208.PgColumn<{
|
|
2343
|
+
name: "credential_scope";
|
|
2344
|
+
tableName: "tools";
|
|
2325
2345
|
dataType: "string";
|
|
2326
2346
|
columnType: "PgVarchar";
|
|
2327
2347
|
data: string;
|
|
2328
2348
|
driverParam: string;
|
|
2329
2349
|
notNull: true;
|
|
2330
|
-
hasDefault:
|
|
2350
|
+
hasDefault: true;
|
|
2331
2351
|
isPrimaryKey: false;
|
|
2332
2352
|
isAutoincrement: false;
|
|
2333
2353
|
hasRuntimeDefault: false;
|
|
@@ -2336,78 +2356,71 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2336
2356
|
identity: undefined;
|
|
2337
2357
|
generated: undefined;
|
|
2338
2358
|
}, {}, {
|
|
2339
|
-
length:
|
|
2359
|
+
length: 50;
|
|
2340
2360
|
}>;
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
name: "artifact_component_id";
|
|
2350
|
-
tableName: "sub_agent_artifact_components";
|
|
2351
|
-
dataType: "string";
|
|
2352
|
-
columnType: "PgVarchar";
|
|
2353
|
-
data: string;
|
|
2354
|
-
driverParam: string;
|
|
2355
|
-
notNull: true;
|
|
2361
|
+
headers: drizzle_orm_pg_core208.PgColumn<{
|
|
2362
|
+
name: "headers";
|
|
2363
|
+
tableName: "tools";
|
|
2364
|
+
dataType: "json";
|
|
2365
|
+
columnType: "PgJsonb";
|
|
2366
|
+
data: Record<string, string>;
|
|
2367
|
+
driverParam: unknown;
|
|
2368
|
+
notNull: false;
|
|
2356
2369
|
hasDefault: false;
|
|
2357
2370
|
isPrimaryKey: false;
|
|
2358
2371
|
isAutoincrement: false;
|
|
2359
2372
|
hasRuntimeDefault: false;
|
|
2360
|
-
enumValues:
|
|
2373
|
+
enumValues: undefined;
|
|
2361
2374
|
baseColumn: never;
|
|
2362
2375
|
identity: undefined;
|
|
2363
2376
|
generated: undefined;
|
|
2364
2377
|
}, {}, {
|
|
2365
|
-
|
|
2378
|
+
$type: Record<string, string>;
|
|
2366
2379
|
}>;
|
|
2367
|
-
|
|
2368
|
-
name: "
|
|
2369
|
-
tableName: "
|
|
2380
|
+
imageUrl: drizzle_orm_pg_core208.PgColumn<{
|
|
2381
|
+
name: "image_url";
|
|
2382
|
+
tableName: "tools";
|
|
2370
2383
|
dataType: "string";
|
|
2371
|
-
columnType: "
|
|
2384
|
+
columnType: "PgText";
|
|
2372
2385
|
data: string;
|
|
2373
2386
|
driverParam: string;
|
|
2374
|
-
notNull:
|
|
2375
|
-
hasDefault:
|
|
2387
|
+
notNull: false;
|
|
2388
|
+
hasDefault: false;
|
|
2376
2389
|
isPrimaryKey: false;
|
|
2377
2390
|
isAutoincrement: false;
|
|
2378
2391
|
hasRuntimeDefault: false;
|
|
2379
|
-
enumValues:
|
|
2392
|
+
enumValues: [string, ...string[]];
|
|
2380
2393
|
baseColumn: never;
|
|
2381
2394
|
identity: undefined;
|
|
2382
2395
|
generated: undefined;
|
|
2383
2396
|
}, {}, {}>;
|
|
2384
|
-
|
|
2385
|
-
name: "
|
|
2386
|
-
tableName: "
|
|
2387
|
-
dataType: "
|
|
2388
|
-
columnType: "
|
|
2389
|
-
data:
|
|
2390
|
-
driverParam:
|
|
2391
|
-
notNull:
|
|
2397
|
+
capabilities: drizzle_orm_pg_core208.PgColumn<{
|
|
2398
|
+
name: "capabilities";
|
|
2399
|
+
tableName: "tools";
|
|
2400
|
+
dataType: "json";
|
|
2401
|
+
columnType: "PgJsonb";
|
|
2402
|
+
data: ToolServerCapabilities;
|
|
2403
|
+
driverParam: unknown;
|
|
2404
|
+
notNull: false;
|
|
2392
2405
|
hasDefault: false;
|
|
2393
2406
|
isPrimaryKey: false;
|
|
2394
2407
|
isAutoincrement: false;
|
|
2395
2408
|
hasRuntimeDefault: false;
|
|
2396
|
-
enumValues:
|
|
2409
|
+
enumValues: undefined;
|
|
2397
2410
|
baseColumn: never;
|
|
2398
2411
|
identity: undefined;
|
|
2399
2412
|
generated: undefined;
|
|
2400
2413
|
}, {}, {
|
|
2401
|
-
|
|
2414
|
+
$type: ToolServerCapabilities;
|
|
2402
2415
|
}>;
|
|
2403
|
-
|
|
2404
|
-
name: "
|
|
2405
|
-
tableName: "
|
|
2416
|
+
lastError: drizzle_orm_pg_core208.PgColumn<{
|
|
2417
|
+
name: "last_error";
|
|
2418
|
+
tableName: "tools";
|
|
2406
2419
|
dataType: "string";
|
|
2407
|
-
columnType: "
|
|
2420
|
+
columnType: "PgText";
|
|
2408
2421
|
data: string;
|
|
2409
2422
|
driverParam: string;
|
|
2410
|
-
notNull:
|
|
2423
|
+
notNull: false;
|
|
2411
2424
|
hasDefault: false;
|
|
2412
2425
|
isPrimaryKey: false;
|
|
2413
2426
|
isAutoincrement: false;
|
|
@@ -2416,12 +2429,10 @@ declare const subAgentArtifactComponents: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
2416
2429
|
baseColumn: never;
|
|
2417
2430
|
identity: undefined;
|
|
2418
2431
|
generated: undefined;
|
|
2419
|
-
}, {}, {
|
|
2420
|
-
length: 256;
|
|
2421
|
-
}>;
|
|
2432
|
+
}, {}, {}>;
|
|
2422
2433
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
2423
2434
|
name: "project_id";
|
|
2424
|
-
tableName: "
|
|
2435
|
+
tableName: "tools";
|
|
2425
2436
|
dataType: "string";
|
|
2426
2437
|
columnType: "PgVarchar";
|
|
2427
2438
|
data: string;
|
|
@@ -2440,7 +2451,7 @@ declare const subAgentArtifactComponents: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
2440
2451
|
}>;
|
|
2441
2452
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
2442
2453
|
name: "tenant_id";
|
|
2443
|
-
tableName: "
|
|
2454
|
+
tableName: "tools";
|
|
2444
2455
|
dataType: "string";
|
|
2445
2456
|
columnType: "PgVarchar";
|
|
2446
2457
|
data: string;
|
|
@@ -2459,7 +2470,7 @@ declare const subAgentArtifactComponents: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
2459
2470
|
}>;
|
|
2460
2471
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
2461
2472
|
name: "id";
|
|
2462
|
-
tableName: "
|
|
2473
|
+
tableName: "tools";
|
|
2463
2474
|
dataType: "string";
|
|
2464
2475
|
columnType: "PgVarchar";
|
|
2465
2476
|
data: string;
|
|
@@ -2479,13 +2490,13 @@ declare const subAgentArtifactComponents: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
2479
2490
|
};
|
|
2480
2491
|
dialect: "pg";
|
|
2481
2492
|
}>;
|
|
2482
|
-
declare const
|
|
2483
|
-
name: "
|
|
2493
|
+
declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
2494
|
+
name: "function_tools";
|
|
2484
2495
|
schema: undefined;
|
|
2485
2496
|
columns: {
|
|
2486
2497
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
2487
2498
|
name: "created_at";
|
|
2488
|
-
tableName: "
|
|
2499
|
+
tableName: "function_tools";
|
|
2489
2500
|
dataType: "string";
|
|
2490
2501
|
columnType: "PgTimestampString";
|
|
2491
2502
|
data: string;
|
|
@@ -2502,7 +2513,7 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2502
2513
|
}, {}, {}>;
|
|
2503
2514
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
2504
2515
|
name: "updated_at";
|
|
2505
|
-
tableName: "
|
|
2516
|
+
tableName: "function_tools";
|
|
2506
2517
|
dataType: "string";
|
|
2507
2518
|
columnType: "PgTimestampString";
|
|
2508
2519
|
data: string;
|
|
@@ -2519,7 +2530,7 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2519
2530
|
}, {}, {}>;
|
|
2520
2531
|
name: drizzle_orm_pg_core208.PgColumn<{
|
|
2521
2532
|
name: "name";
|
|
2522
|
-
tableName: "
|
|
2533
|
+
tableName: "function_tools";
|
|
2523
2534
|
dataType: "string";
|
|
2524
2535
|
columnType: "PgVarchar";
|
|
2525
2536
|
data: string;
|
|
@@ -2538,7 +2549,7 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2538
2549
|
}>;
|
|
2539
2550
|
description: drizzle_orm_pg_core208.PgColumn<{
|
|
2540
2551
|
name: "description";
|
|
2541
|
-
tableName: "
|
|
2552
|
+
tableName: "function_tools";
|
|
2542
2553
|
dataType: "string";
|
|
2543
2554
|
columnType: "PgText";
|
|
2544
2555
|
data: string;
|
|
@@ -2553,39 +2564,33 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2553
2564
|
identity: undefined;
|
|
2554
2565
|
generated: undefined;
|
|
2555
2566
|
}, {}, {}>;
|
|
2556
|
-
|
|
2557
|
-
name: "
|
|
2558
|
-
tableName: "
|
|
2559
|
-
dataType: "
|
|
2560
|
-
columnType: "
|
|
2561
|
-
data:
|
|
2562
|
-
|
|
2563
|
-
mcp: ToolMcpConfig;
|
|
2564
|
-
};
|
|
2565
|
-
driverParam: unknown;
|
|
2567
|
+
functionId: drizzle_orm_pg_core208.PgColumn<{
|
|
2568
|
+
name: "function_id";
|
|
2569
|
+
tableName: "function_tools";
|
|
2570
|
+
dataType: "string";
|
|
2571
|
+
columnType: "PgVarchar";
|
|
2572
|
+
data: string;
|
|
2573
|
+
driverParam: string;
|
|
2566
2574
|
notNull: true;
|
|
2567
2575
|
hasDefault: false;
|
|
2568
2576
|
isPrimaryKey: false;
|
|
2569
2577
|
isAutoincrement: false;
|
|
2570
2578
|
hasRuntimeDefault: false;
|
|
2571
|
-
enumValues:
|
|
2579
|
+
enumValues: [string, ...string[]];
|
|
2572
2580
|
baseColumn: never;
|
|
2573
2581
|
identity: undefined;
|
|
2574
2582
|
generated: undefined;
|
|
2575
2583
|
}, {}, {
|
|
2576
|
-
|
|
2577
|
-
type: "mcp";
|
|
2578
|
-
mcp: ToolMcpConfig;
|
|
2579
|
-
};
|
|
2584
|
+
length: 256;
|
|
2580
2585
|
}>;
|
|
2581
|
-
|
|
2582
|
-
name: "
|
|
2583
|
-
tableName: "
|
|
2586
|
+
agentId: drizzle_orm_pg_core208.PgColumn<{
|
|
2587
|
+
name: "agent_id";
|
|
2588
|
+
tableName: "function_tools";
|
|
2584
2589
|
dataType: "string";
|
|
2585
2590
|
columnType: "PgVarchar";
|
|
2586
2591
|
data: string;
|
|
2587
2592
|
driverParam: string;
|
|
2588
|
-
notNull:
|
|
2593
|
+
notNull: true;
|
|
2589
2594
|
hasDefault: false;
|
|
2590
2595
|
isPrimaryKey: false;
|
|
2591
2596
|
isAutoincrement: false;
|
|
@@ -2597,15 +2602,15 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2597
2602
|
}, {}, {
|
|
2598
2603
|
length: 256;
|
|
2599
2604
|
}>;
|
|
2600
|
-
|
|
2601
|
-
name: "
|
|
2602
|
-
tableName: "
|
|
2605
|
+
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
2606
|
+
name: "project_id";
|
|
2607
|
+
tableName: "function_tools";
|
|
2603
2608
|
dataType: "string";
|
|
2604
2609
|
columnType: "PgVarchar";
|
|
2605
2610
|
data: string;
|
|
2606
2611
|
driverParam: string;
|
|
2607
2612
|
notNull: true;
|
|
2608
|
-
hasDefault:
|
|
2613
|
+
hasDefault: false;
|
|
2609
2614
|
isPrimaryKey: false;
|
|
2610
2615
|
isAutoincrement: false;
|
|
2611
2616
|
hasRuntimeDefault: false;
|
|
@@ -2614,270 +2619,7 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2614
2619
|
identity: undefined;
|
|
2615
2620
|
generated: undefined;
|
|
2616
2621
|
}, {}, {
|
|
2617
|
-
length:
|
|
2618
|
-
}>;
|
|
2619
|
-
headers: drizzle_orm_pg_core208.PgColumn<{
|
|
2620
|
-
name: "headers";
|
|
2621
|
-
tableName: "tools";
|
|
2622
|
-
dataType: "json";
|
|
2623
|
-
columnType: "PgJsonb";
|
|
2624
|
-
data: Record<string, string>;
|
|
2625
|
-
driverParam: unknown;
|
|
2626
|
-
notNull: false;
|
|
2627
|
-
hasDefault: false;
|
|
2628
|
-
isPrimaryKey: false;
|
|
2629
|
-
isAutoincrement: false;
|
|
2630
|
-
hasRuntimeDefault: false;
|
|
2631
|
-
enumValues: undefined;
|
|
2632
|
-
baseColumn: never;
|
|
2633
|
-
identity: undefined;
|
|
2634
|
-
generated: undefined;
|
|
2635
|
-
}, {}, {
|
|
2636
|
-
$type: Record<string, string>;
|
|
2637
|
-
}>;
|
|
2638
|
-
imageUrl: drizzle_orm_pg_core208.PgColumn<{
|
|
2639
|
-
name: "image_url";
|
|
2640
|
-
tableName: "tools";
|
|
2641
|
-
dataType: "string";
|
|
2642
|
-
columnType: "PgText";
|
|
2643
|
-
data: string;
|
|
2644
|
-
driverParam: string;
|
|
2645
|
-
notNull: false;
|
|
2646
|
-
hasDefault: false;
|
|
2647
|
-
isPrimaryKey: false;
|
|
2648
|
-
isAutoincrement: false;
|
|
2649
|
-
hasRuntimeDefault: false;
|
|
2650
|
-
enumValues: [string, ...string[]];
|
|
2651
|
-
baseColumn: never;
|
|
2652
|
-
identity: undefined;
|
|
2653
|
-
generated: undefined;
|
|
2654
|
-
}, {}, {}>;
|
|
2655
|
-
capabilities: drizzle_orm_pg_core208.PgColumn<{
|
|
2656
|
-
name: "capabilities";
|
|
2657
|
-
tableName: "tools";
|
|
2658
|
-
dataType: "json";
|
|
2659
|
-
columnType: "PgJsonb";
|
|
2660
|
-
data: ToolServerCapabilities;
|
|
2661
|
-
driverParam: unknown;
|
|
2662
|
-
notNull: false;
|
|
2663
|
-
hasDefault: false;
|
|
2664
|
-
isPrimaryKey: false;
|
|
2665
|
-
isAutoincrement: false;
|
|
2666
|
-
hasRuntimeDefault: false;
|
|
2667
|
-
enumValues: undefined;
|
|
2668
|
-
baseColumn: never;
|
|
2669
|
-
identity: undefined;
|
|
2670
|
-
generated: undefined;
|
|
2671
|
-
}, {}, {
|
|
2672
|
-
$type: ToolServerCapabilities;
|
|
2673
|
-
}>;
|
|
2674
|
-
lastError: drizzle_orm_pg_core208.PgColumn<{
|
|
2675
|
-
name: "last_error";
|
|
2676
|
-
tableName: "tools";
|
|
2677
|
-
dataType: "string";
|
|
2678
|
-
columnType: "PgText";
|
|
2679
|
-
data: string;
|
|
2680
|
-
driverParam: string;
|
|
2681
|
-
notNull: false;
|
|
2682
|
-
hasDefault: false;
|
|
2683
|
-
isPrimaryKey: false;
|
|
2684
|
-
isAutoincrement: false;
|
|
2685
|
-
hasRuntimeDefault: false;
|
|
2686
|
-
enumValues: [string, ...string[]];
|
|
2687
|
-
baseColumn: never;
|
|
2688
|
-
identity: undefined;
|
|
2689
|
-
generated: undefined;
|
|
2690
|
-
}, {}, {}>;
|
|
2691
|
-
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
2692
|
-
name: "project_id";
|
|
2693
|
-
tableName: "tools";
|
|
2694
|
-
dataType: "string";
|
|
2695
|
-
columnType: "PgVarchar";
|
|
2696
|
-
data: string;
|
|
2697
|
-
driverParam: string;
|
|
2698
|
-
notNull: true;
|
|
2699
|
-
hasDefault: false;
|
|
2700
|
-
isPrimaryKey: false;
|
|
2701
|
-
isAutoincrement: false;
|
|
2702
|
-
hasRuntimeDefault: false;
|
|
2703
|
-
enumValues: [string, ...string[]];
|
|
2704
|
-
baseColumn: never;
|
|
2705
|
-
identity: undefined;
|
|
2706
|
-
generated: undefined;
|
|
2707
|
-
}, {}, {
|
|
2708
|
-
length: 256;
|
|
2709
|
-
}>;
|
|
2710
|
-
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
2711
|
-
name: "tenant_id";
|
|
2712
|
-
tableName: "tools";
|
|
2713
|
-
dataType: "string";
|
|
2714
|
-
columnType: "PgVarchar";
|
|
2715
|
-
data: string;
|
|
2716
|
-
driverParam: string;
|
|
2717
|
-
notNull: true;
|
|
2718
|
-
hasDefault: false;
|
|
2719
|
-
isPrimaryKey: false;
|
|
2720
|
-
isAutoincrement: false;
|
|
2721
|
-
hasRuntimeDefault: false;
|
|
2722
|
-
enumValues: [string, ...string[]];
|
|
2723
|
-
baseColumn: never;
|
|
2724
|
-
identity: undefined;
|
|
2725
|
-
generated: undefined;
|
|
2726
|
-
}, {}, {
|
|
2727
|
-
length: 256;
|
|
2728
|
-
}>;
|
|
2729
|
-
id: drizzle_orm_pg_core208.PgColumn<{
|
|
2730
|
-
name: "id";
|
|
2731
|
-
tableName: "tools";
|
|
2732
|
-
dataType: "string";
|
|
2733
|
-
columnType: "PgVarchar";
|
|
2734
|
-
data: string;
|
|
2735
|
-
driverParam: string;
|
|
2736
|
-
notNull: true;
|
|
2737
|
-
hasDefault: false;
|
|
2738
|
-
isPrimaryKey: false;
|
|
2739
|
-
isAutoincrement: false;
|
|
2740
|
-
hasRuntimeDefault: false;
|
|
2741
|
-
enumValues: [string, ...string[]];
|
|
2742
|
-
baseColumn: never;
|
|
2743
|
-
identity: undefined;
|
|
2744
|
-
generated: undefined;
|
|
2745
|
-
}, {}, {
|
|
2746
|
-
length: 256;
|
|
2747
|
-
}>;
|
|
2748
|
-
};
|
|
2749
|
-
dialect: "pg";
|
|
2750
|
-
}>;
|
|
2751
|
-
declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
2752
|
-
name: "function_tools";
|
|
2753
|
-
schema: undefined;
|
|
2754
|
-
columns: {
|
|
2755
|
-
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
2756
|
-
name: "created_at";
|
|
2757
|
-
tableName: "function_tools";
|
|
2758
|
-
dataType: "string";
|
|
2759
|
-
columnType: "PgTimestampString";
|
|
2760
|
-
data: string;
|
|
2761
|
-
driverParam: string;
|
|
2762
|
-
notNull: true;
|
|
2763
|
-
hasDefault: true;
|
|
2764
|
-
isPrimaryKey: false;
|
|
2765
|
-
isAutoincrement: false;
|
|
2766
|
-
hasRuntimeDefault: false;
|
|
2767
|
-
enumValues: undefined;
|
|
2768
|
-
baseColumn: never;
|
|
2769
|
-
identity: undefined;
|
|
2770
|
-
generated: undefined;
|
|
2771
|
-
}, {}, {}>;
|
|
2772
|
-
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
2773
|
-
name: "updated_at";
|
|
2774
|
-
tableName: "function_tools";
|
|
2775
|
-
dataType: "string";
|
|
2776
|
-
columnType: "PgTimestampString";
|
|
2777
|
-
data: string;
|
|
2778
|
-
driverParam: string;
|
|
2779
|
-
notNull: true;
|
|
2780
|
-
hasDefault: true;
|
|
2781
|
-
isPrimaryKey: false;
|
|
2782
|
-
isAutoincrement: false;
|
|
2783
|
-
hasRuntimeDefault: false;
|
|
2784
|
-
enumValues: undefined;
|
|
2785
|
-
baseColumn: never;
|
|
2786
|
-
identity: undefined;
|
|
2787
|
-
generated: undefined;
|
|
2788
|
-
}, {}, {}>;
|
|
2789
|
-
name: drizzle_orm_pg_core208.PgColumn<{
|
|
2790
|
-
name: "name";
|
|
2791
|
-
tableName: "function_tools";
|
|
2792
|
-
dataType: "string";
|
|
2793
|
-
columnType: "PgVarchar";
|
|
2794
|
-
data: string;
|
|
2795
|
-
driverParam: string;
|
|
2796
|
-
notNull: true;
|
|
2797
|
-
hasDefault: false;
|
|
2798
|
-
isPrimaryKey: false;
|
|
2799
|
-
isAutoincrement: false;
|
|
2800
|
-
hasRuntimeDefault: false;
|
|
2801
|
-
enumValues: [string, ...string[]];
|
|
2802
|
-
baseColumn: never;
|
|
2803
|
-
identity: undefined;
|
|
2804
|
-
generated: undefined;
|
|
2805
|
-
}, {}, {
|
|
2806
|
-
length: 256;
|
|
2807
|
-
}>;
|
|
2808
|
-
description: drizzle_orm_pg_core208.PgColumn<{
|
|
2809
|
-
name: "description";
|
|
2810
|
-
tableName: "function_tools";
|
|
2811
|
-
dataType: "string";
|
|
2812
|
-
columnType: "PgText";
|
|
2813
|
-
data: string;
|
|
2814
|
-
driverParam: string;
|
|
2815
|
-
notNull: false;
|
|
2816
|
-
hasDefault: false;
|
|
2817
|
-
isPrimaryKey: false;
|
|
2818
|
-
isAutoincrement: false;
|
|
2819
|
-
hasRuntimeDefault: false;
|
|
2820
|
-
enumValues: [string, ...string[]];
|
|
2821
|
-
baseColumn: never;
|
|
2822
|
-
identity: undefined;
|
|
2823
|
-
generated: undefined;
|
|
2824
|
-
}, {}, {}>;
|
|
2825
|
-
functionId: drizzle_orm_pg_core208.PgColumn<{
|
|
2826
|
-
name: "function_id";
|
|
2827
|
-
tableName: "function_tools";
|
|
2828
|
-
dataType: "string";
|
|
2829
|
-
columnType: "PgVarchar";
|
|
2830
|
-
data: string;
|
|
2831
|
-
driverParam: string;
|
|
2832
|
-
notNull: true;
|
|
2833
|
-
hasDefault: false;
|
|
2834
|
-
isPrimaryKey: false;
|
|
2835
|
-
isAutoincrement: false;
|
|
2836
|
-
hasRuntimeDefault: false;
|
|
2837
|
-
enumValues: [string, ...string[]];
|
|
2838
|
-
baseColumn: never;
|
|
2839
|
-
identity: undefined;
|
|
2840
|
-
generated: undefined;
|
|
2841
|
-
}, {}, {
|
|
2842
|
-
length: 256;
|
|
2843
|
-
}>;
|
|
2844
|
-
agentId: drizzle_orm_pg_core208.PgColumn<{
|
|
2845
|
-
name: "agent_id";
|
|
2846
|
-
tableName: "function_tools";
|
|
2847
|
-
dataType: "string";
|
|
2848
|
-
columnType: "PgVarchar";
|
|
2849
|
-
data: string;
|
|
2850
|
-
driverParam: string;
|
|
2851
|
-
notNull: true;
|
|
2852
|
-
hasDefault: false;
|
|
2853
|
-
isPrimaryKey: false;
|
|
2854
|
-
isAutoincrement: false;
|
|
2855
|
-
hasRuntimeDefault: false;
|
|
2856
|
-
enumValues: [string, ...string[]];
|
|
2857
|
-
baseColumn: never;
|
|
2858
|
-
identity: undefined;
|
|
2859
|
-
generated: undefined;
|
|
2860
|
-
}, {}, {
|
|
2861
|
-
length: 256;
|
|
2862
|
-
}>;
|
|
2863
|
-
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
2864
|
-
name: "project_id";
|
|
2865
|
-
tableName: "function_tools";
|
|
2866
|
-
dataType: "string";
|
|
2867
|
-
columnType: "PgVarchar";
|
|
2868
|
-
data: string;
|
|
2869
|
-
driverParam: string;
|
|
2870
|
-
notNull: true;
|
|
2871
|
-
hasDefault: false;
|
|
2872
|
-
isPrimaryKey: false;
|
|
2873
|
-
isAutoincrement: false;
|
|
2874
|
-
hasRuntimeDefault: false;
|
|
2875
|
-
enumValues: [string, ...string[]];
|
|
2876
|
-
baseColumn: never;
|
|
2877
|
-
identity: undefined;
|
|
2878
|
-
generated: undefined;
|
|
2879
|
-
}, {}, {
|
|
2880
|
-
length: 256;
|
|
2622
|
+
length: 256;
|
|
2881
2623
|
}>;
|
|
2882
2624
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
2883
2625
|
name: "tenant_id";
|
|
@@ -3694,12 +3436,35 @@ declare const subAgentFunctionToolRelations: drizzle_orm_pg_core208.PgTableWithC
|
|
|
3694
3436
|
}, {}, {
|
|
3695
3437
|
length: 256;
|
|
3696
3438
|
}>;
|
|
3697
|
-
|
|
3698
|
-
name: "
|
|
3439
|
+
toolPolicies: drizzle_orm_pg_core208.PgColumn<{
|
|
3440
|
+
name: "tool_policies";
|
|
3699
3441
|
tableName: "sub_agent_function_tool_relations";
|
|
3700
|
-
dataType: "
|
|
3701
|
-
columnType: "
|
|
3702
|
-
data: string
|
|
3442
|
+
dataType: "json";
|
|
3443
|
+
columnType: "PgJsonb";
|
|
3444
|
+
data: Record<string, {
|
|
3445
|
+
needsApproval?: boolean;
|
|
3446
|
+
}> | null;
|
|
3447
|
+
driverParam: unknown;
|
|
3448
|
+
notNull: false;
|
|
3449
|
+
hasDefault: false;
|
|
3450
|
+
isPrimaryKey: false;
|
|
3451
|
+
isAutoincrement: false;
|
|
3452
|
+
hasRuntimeDefault: false;
|
|
3453
|
+
enumValues: undefined;
|
|
3454
|
+
baseColumn: never;
|
|
3455
|
+
identity: undefined;
|
|
3456
|
+
generated: undefined;
|
|
3457
|
+
}, {}, {
|
|
3458
|
+
$type: Record<string, {
|
|
3459
|
+
needsApproval?: boolean;
|
|
3460
|
+
}> | null;
|
|
3461
|
+
}>;
|
|
3462
|
+
subAgentId: drizzle_orm_pg_core208.PgColumn<{
|
|
3463
|
+
name: "sub_agent_id";
|
|
3464
|
+
tableName: "sub_agent_function_tool_relations";
|
|
3465
|
+
dataType: "string";
|
|
3466
|
+
columnType: "PgVarchar";
|
|
3467
|
+
data: string;
|
|
3703
3468
|
driverParam: string;
|
|
3704
3469
|
notNull: true;
|
|
3705
3470
|
hasDefault: false;
|
|
@@ -3792,13 +3557,13 @@ declare const subAgentFunctionToolRelations: drizzle_orm_pg_core208.PgTableWithC
|
|
|
3792
3557
|
};
|
|
3793
3558
|
dialect: "pg";
|
|
3794
3559
|
}>;
|
|
3795
|
-
declare const
|
|
3796
|
-
name: "
|
|
3560
|
+
declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
3561
|
+
name: "credential_references";
|
|
3797
3562
|
schema: undefined;
|
|
3798
3563
|
columns: {
|
|
3799
3564
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
3800
3565
|
name: "created_at";
|
|
3801
|
-
tableName: "
|
|
3566
|
+
tableName: "credential_references";
|
|
3802
3567
|
dataType: "string";
|
|
3803
3568
|
columnType: "PgTimestampString";
|
|
3804
3569
|
data: string;
|
|
@@ -3815,7 +3580,7 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3815
3580
|
}, {}, {}>;
|
|
3816
3581
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
3817
3582
|
name: "updated_at";
|
|
3818
|
-
tableName: "
|
|
3583
|
+
tableName: "credential_references";
|
|
3819
3584
|
dataType: "string";
|
|
3820
3585
|
columnType: "PgTimestampString";
|
|
3821
3586
|
data: string;
|
|
@@ -3830,14 +3595,14 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3830
3595
|
identity: undefined;
|
|
3831
3596
|
generated: undefined;
|
|
3832
3597
|
}, {}, {}>;
|
|
3833
|
-
|
|
3834
|
-
name: "
|
|
3835
|
-
tableName: "
|
|
3598
|
+
name: drizzle_orm_pg_core208.PgColumn<{
|
|
3599
|
+
name: "name";
|
|
3600
|
+
tableName: "credential_references";
|
|
3836
3601
|
dataType: "string";
|
|
3837
3602
|
columnType: "PgVarchar";
|
|
3838
3603
|
data: string;
|
|
3839
3604
|
driverParam: string;
|
|
3840
|
-
notNull:
|
|
3605
|
+
notNull: true;
|
|
3841
3606
|
hasDefault: false;
|
|
3842
3607
|
isPrimaryKey: false;
|
|
3843
3608
|
isAutoincrement: false;
|
|
@@ -3849,9 +3614,9 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3849
3614
|
}, {}, {
|
|
3850
3615
|
length: 256;
|
|
3851
3616
|
}>;
|
|
3852
|
-
|
|
3853
|
-
name: "
|
|
3854
|
-
tableName: "
|
|
3617
|
+
type: drizzle_orm_pg_core208.PgColumn<{
|
|
3618
|
+
name: "type";
|
|
3619
|
+
tableName: "credential_references";
|
|
3855
3620
|
dataType: "string";
|
|
3856
3621
|
columnType: "PgVarchar";
|
|
3857
3622
|
data: string;
|
|
@@ -3868,11 +3633,49 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3868
3633
|
}, {}, {
|
|
3869
3634
|
length: 256;
|
|
3870
3635
|
}>;
|
|
3871
|
-
|
|
3872
|
-
name: "
|
|
3873
|
-
tableName: "
|
|
3636
|
+
credentialStoreId: drizzle_orm_pg_core208.PgColumn<{
|
|
3637
|
+
name: "credential_store_id";
|
|
3638
|
+
tableName: "credential_references";
|
|
3874
3639
|
dataType: "string";
|
|
3875
|
-
columnType: "
|
|
3640
|
+
columnType: "PgVarchar";
|
|
3641
|
+
data: string;
|
|
3642
|
+
driverParam: string;
|
|
3643
|
+
notNull: true;
|
|
3644
|
+
hasDefault: false;
|
|
3645
|
+
isPrimaryKey: false;
|
|
3646
|
+
isAutoincrement: false;
|
|
3647
|
+
hasRuntimeDefault: false;
|
|
3648
|
+
enumValues: [string, ...string[]];
|
|
3649
|
+
baseColumn: never;
|
|
3650
|
+
identity: undefined;
|
|
3651
|
+
generated: undefined;
|
|
3652
|
+
}, {}, {
|
|
3653
|
+
length: 256;
|
|
3654
|
+
}>;
|
|
3655
|
+
retrievalParams: drizzle_orm_pg_core208.PgColumn<{
|
|
3656
|
+
name: "retrieval_params";
|
|
3657
|
+
tableName: "credential_references";
|
|
3658
|
+
dataType: "json";
|
|
3659
|
+
columnType: "PgJsonb";
|
|
3660
|
+
data: Record<string, unknown>;
|
|
3661
|
+
driverParam: unknown;
|
|
3662
|
+
notNull: false;
|
|
3663
|
+
hasDefault: false;
|
|
3664
|
+
isPrimaryKey: false;
|
|
3665
|
+
isAutoincrement: false;
|
|
3666
|
+
hasRuntimeDefault: false;
|
|
3667
|
+
enumValues: undefined;
|
|
3668
|
+
baseColumn: never;
|
|
3669
|
+
identity: undefined;
|
|
3670
|
+
generated: undefined;
|
|
3671
|
+
}, {}, {
|
|
3672
|
+
$type: Record<string, unknown>;
|
|
3673
|
+
}>;
|
|
3674
|
+
toolId: drizzle_orm_pg_core208.PgColumn<{
|
|
3675
|
+
name: "tool_id";
|
|
3676
|
+
tableName: "credential_references";
|
|
3677
|
+
dataType: "string";
|
|
3678
|
+
columnType: "PgVarchar";
|
|
3876
3679
|
data: string;
|
|
3877
3680
|
driverParam: string;
|
|
3878
3681
|
notNull: false;
|
|
@@ -3884,12 +3687,14 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3884
3687
|
baseColumn: never;
|
|
3885
3688
|
identity: undefined;
|
|
3886
3689
|
generated: undefined;
|
|
3887
|
-
}, {}, {
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3690
|
+
}, {}, {
|
|
3691
|
+
length: 256;
|
|
3692
|
+
}>;
|
|
3693
|
+
userId: drizzle_orm_pg_core208.PgColumn<{
|
|
3694
|
+
name: "user_id";
|
|
3695
|
+
tableName: "credential_references";
|
|
3891
3696
|
dataType: "string";
|
|
3892
|
-
columnType: "
|
|
3697
|
+
columnType: "PgVarchar";
|
|
3893
3698
|
data: string;
|
|
3894
3699
|
driverParam: string;
|
|
3895
3700
|
notNull: false;
|
|
@@ -3897,33 +3702,35 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3897
3702
|
isPrimaryKey: false;
|
|
3898
3703
|
isAutoincrement: false;
|
|
3899
3704
|
hasRuntimeDefault: false;
|
|
3900
|
-
enumValues:
|
|
3705
|
+
enumValues: [string, ...string[]];
|
|
3901
3706
|
baseColumn: never;
|
|
3902
3707
|
identity: undefined;
|
|
3903
3708
|
generated: undefined;
|
|
3904
|
-
}, {}, {
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3709
|
+
}, {}, {
|
|
3710
|
+
length: 256;
|
|
3711
|
+
}>;
|
|
3712
|
+
createdBy: drizzle_orm_pg_core208.PgColumn<{
|
|
3713
|
+
name: "created_by";
|
|
3714
|
+
tableName: "credential_references";
|
|
3715
|
+
dataType: "string";
|
|
3716
|
+
columnType: "PgVarchar";
|
|
3717
|
+
data: string;
|
|
3718
|
+
driverParam: string;
|
|
3912
3719
|
notNull: false;
|
|
3913
3720
|
hasDefault: false;
|
|
3914
3721
|
isPrimaryKey: false;
|
|
3915
3722
|
isAutoincrement: false;
|
|
3916
3723
|
hasRuntimeDefault: false;
|
|
3917
|
-
enumValues:
|
|
3724
|
+
enumValues: [string, ...string[]];
|
|
3918
3725
|
baseColumn: never;
|
|
3919
3726
|
identity: undefined;
|
|
3920
3727
|
generated: undefined;
|
|
3921
3728
|
}, {}, {
|
|
3922
|
-
|
|
3729
|
+
length: 256;
|
|
3923
3730
|
}>;
|
|
3924
3731
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
3925
3732
|
name: "project_id";
|
|
3926
|
-
tableName: "
|
|
3733
|
+
tableName: "credential_references";
|
|
3927
3734
|
dataType: "string";
|
|
3928
3735
|
columnType: "PgVarchar";
|
|
3929
3736
|
data: string;
|
|
@@ -3942,7 +3749,7 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3942
3749
|
}>;
|
|
3943
3750
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
3944
3751
|
name: "tenant_id";
|
|
3945
|
-
tableName: "
|
|
3752
|
+
tableName: "credential_references";
|
|
3946
3753
|
dataType: "string";
|
|
3947
3754
|
columnType: "PgVarchar";
|
|
3948
3755
|
data: string;
|
|
@@ -3961,7 +3768,7 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3961
3768
|
}>;
|
|
3962
3769
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
3963
3770
|
name: "id";
|
|
3964
|
-
tableName: "
|
|
3771
|
+
tableName: "credential_references";
|
|
3965
3772
|
dataType: "string";
|
|
3966
3773
|
columnType: "PgVarchar";
|
|
3967
3774
|
data: string;
|
|
@@ -3981,13 +3788,23 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3981
3788
|
};
|
|
3982
3789
|
dialect: "pg";
|
|
3983
3790
|
}>;
|
|
3984
|
-
|
|
3985
|
-
|
|
3791
|
+
/**
|
|
3792
|
+
* A collection of test cases/items used for evaluation. Contains dataset items
|
|
3793
|
+
* that define input/output pairs for testing agents. Used for batch evaluation
|
|
3794
|
+
* runs where conversations are created from dataset items. Each datasetRun
|
|
3795
|
+
* specifies which agent to use when executing the dataset.
|
|
3796
|
+
*
|
|
3797
|
+
* one to many relationship with datasetItem
|
|
3798
|
+
*
|
|
3799
|
+
* Includes: name and timestamps
|
|
3800
|
+
*/
|
|
3801
|
+
declare const dataset: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
3802
|
+
name: "dataset";
|
|
3986
3803
|
schema: undefined;
|
|
3987
3804
|
columns: {
|
|
3988
3805
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
3989
3806
|
name: "created_at";
|
|
3990
|
-
tableName: "
|
|
3807
|
+
tableName: "dataset";
|
|
3991
3808
|
dataType: "string";
|
|
3992
3809
|
columnType: "PgTimestampString";
|
|
3993
3810
|
data: string;
|
|
@@ -4004,7 +3821,7 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4004
3821
|
}, {}, {}>;
|
|
4005
3822
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4006
3823
|
name: "updated_at";
|
|
4007
|
-
tableName: "
|
|
3824
|
+
tableName: "dataset";
|
|
4008
3825
|
dataType: "string";
|
|
4009
3826
|
columnType: "PgTimestampString";
|
|
4010
3827
|
data: string;
|
|
@@ -4019,9 +3836,9 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4019
3836
|
identity: undefined;
|
|
4020
3837
|
generated: undefined;
|
|
4021
3838
|
}, {}, {}>;
|
|
4022
|
-
|
|
4023
|
-
name: "
|
|
4024
|
-
tableName: "
|
|
3839
|
+
name: drizzle_orm_pg_core208.PgColumn<{
|
|
3840
|
+
name: "name";
|
|
3841
|
+
tableName: "dataset";
|
|
4025
3842
|
dataType: "string";
|
|
4026
3843
|
columnType: "PgVarchar";
|
|
4027
3844
|
data: string;
|
|
@@ -4038,9 +3855,9 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4038
3855
|
}, {}, {
|
|
4039
3856
|
length: 256;
|
|
4040
3857
|
}>;
|
|
4041
|
-
|
|
4042
|
-
name: "
|
|
4043
|
-
tableName: "
|
|
3858
|
+
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
3859
|
+
name: "project_id";
|
|
3860
|
+
tableName: "dataset";
|
|
4044
3861
|
dataType: "string";
|
|
4045
3862
|
columnType: "PgVarchar";
|
|
4046
3863
|
data: string;
|
|
@@ -4057,14 +3874,14 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4057
3874
|
}, {}, {
|
|
4058
3875
|
length: 256;
|
|
4059
3876
|
}>;
|
|
4060
|
-
|
|
4061
|
-
name: "
|
|
4062
|
-
tableName: "
|
|
3877
|
+
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
3878
|
+
name: "tenant_id";
|
|
3879
|
+
tableName: "dataset";
|
|
4063
3880
|
dataType: "string";
|
|
4064
3881
|
columnType: "PgVarchar";
|
|
4065
3882
|
data: string;
|
|
4066
3883
|
driverParam: string;
|
|
4067
|
-
notNull:
|
|
3884
|
+
notNull: true;
|
|
4068
3885
|
hasDefault: false;
|
|
4069
3886
|
isPrimaryKey: false;
|
|
4070
3887
|
isAutoincrement: false;
|
|
@@ -4076,14 +3893,14 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4076
3893
|
}, {}, {
|
|
4077
3894
|
length: 256;
|
|
4078
3895
|
}>;
|
|
4079
|
-
|
|
4080
|
-
name: "
|
|
4081
|
-
tableName: "
|
|
3896
|
+
id: drizzle_orm_pg_core208.PgColumn<{
|
|
3897
|
+
name: "id";
|
|
3898
|
+
tableName: "dataset";
|
|
4082
3899
|
dataType: "string";
|
|
4083
3900
|
columnType: "PgVarchar";
|
|
4084
3901
|
data: string;
|
|
4085
3902
|
driverParam: string;
|
|
4086
|
-
notNull:
|
|
3903
|
+
notNull: true;
|
|
4087
3904
|
hasDefault: false;
|
|
4088
3905
|
isPrimaryKey: false;
|
|
4089
3906
|
isAutoincrement: false;
|
|
@@ -4095,52 +3912,66 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4095
3912
|
}, {}, {
|
|
4096
3913
|
length: 256;
|
|
4097
3914
|
}>;
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
3915
|
+
};
|
|
3916
|
+
dialect: "pg";
|
|
3917
|
+
}>;
|
|
3918
|
+
/**
|
|
3919
|
+
*
|
|
3920
|
+
* Individual test case within a dataset. Contains the input messages to send
|
|
3921
|
+
* to an agent and optionally expected output or simulation configuration.
|
|
3922
|
+
* When a dataset run executes, it creates conversations from these items.
|
|
3923
|
+
*
|
|
3924
|
+
*
|
|
3925
|
+
* Includes: input (messages array with optional headers), expected output (array of messages),
|
|
3926
|
+
* simulation agent (stopWhen conditions, prompt/modelConfig), and timestamps
|
|
3927
|
+
* simulationAgent is for when a user wants to create a multi-turn simulation aka a simulating agent is creating input messages based on a persona
|
|
3928
|
+
*/
|
|
3929
|
+
declare const datasetItem: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
3930
|
+
name: "dataset_item";
|
|
3931
|
+
schema: undefined;
|
|
3932
|
+
columns: {
|
|
3933
|
+
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
3934
|
+
name: "created_at";
|
|
3935
|
+
tableName: "dataset_item";
|
|
4101
3936
|
dataType: "string";
|
|
4102
|
-
columnType: "
|
|
3937
|
+
columnType: "PgTimestampString";
|
|
4103
3938
|
data: string;
|
|
4104
3939
|
driverParam: string;
|
|
4105
|
-
notNull:
|
|
4106
|
-
hasDefault:
|
|
3940
|
+
notNull: true;
|
|
3941
|
+
hasDefault: true;
|
|
4107
3942
|
isPrimaryKey: false;
|
|
4108
3943
|
isAutoincrement: false;
|
|
4109
3944
|
hasRuntimeDefault: false;
|
|
4110
|
-
enumValues:
|
|
3945
|
+
enumValues: undefined;
|
|
4111
3946
|
baseColumn: never;
|
|
4112
3947
|
identity: undefined;
|
|
4113
3948
|
generated: undefined;
|
|
4114
|
-
}, {}, {
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
name: "to_external_sub_agent_id";
|
|
4119
|
-
tableName: "messages";
|
|
3949
|
+
}, {}, {}>;
|
|
3950
|
+
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
3951
|
+
name: "updated_at";
|
|
3952
|
+
tableName: "dataset_item";
|
|
4120
3953
|
dataType: "string";
|
|
4121
|
-
columnType: "
|
|
3954
|
+
columnType: "PgTimestampString";
|
|
4122
3955
|
data: string;
|
|
4123
3956
|
driverParam: string;
|
|
4124
|
-
notNull:
|
|
4125
|
-
hasDefault:
|
|
3957
|
+
notNull: true;
|
|
3958
|
+
hasDefault: true;
|
|
4126
3959
|
isPrimaryKey: false;
|
|
4127
3960
|
isAutoincrement: false;
|
|
4128
3961
|
hasRuntimeDefault: false;
|
|
4129
|
-
enumValues:
|
|
3962
|
+
enumValues: undefined;
|
|
4130
3963
|
baseColumn: never;
|
|
4131
3964
|
identity: undefined;
|
|
4132
3965
|
generated: undefined;
|
|
4133
|
-
}, {}, {
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
name: "from_team_agent_id";
|
|
4138
|
-
tableName: "messages";
|
|
3966
|
+
}, {}, {}>;
|
|
3967
|
+
datasetId: drizzle_orm_pg_core208.PgColumn<{
|
|
3968
|
+
name: "dataset_id";
|
|
3969
|
+
tableName: "dataset_item";
|
|
4139
3970
|
dataType: "string";
|
|
4140
3971
|
columnType: "PgVarchar";
|
|
4141
3972
|
data: string;
|
|
4142
3973
|
driverParam: string;
|
|
4143
|
-
notNull:
|
|
3974
|
+
notNull: true;
|
|
4144
3975
|
hasDefault: false;
|
|
4145
3976
|
isPrimaryKey: false;
|
|
4146
3977
|
isAutoincrement: false;
|
|
@@ -4152,33 +3983,62 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4152
3983
|
}, {}, {
|
|
4153
3984
|
length: 256;
|
|
4154
3985
|
}>;
|
|
4155
|
-
|
|
4156
|
-
name: "
|
|
4157
|
-
tableName: "
|
|
4158
|
-
dataType: "
|
|
4159
|
-
columnType: "
|
|
4160
|
-
data:
|
|
4161
|
-
driverParam:
|
|
3986
|
+
input: drizzle_orm_pg_core208.PgColumn<{
|
|
3987
|
+
name: "input";
|
|
3988
|
+
tableName: "dataset_item";
|
|
3989
|
+
dataType: "json";
|
|
3990
|
+
columnType: "PgJsonb";
|
|
3991
|
+
data: DatasetItemInput;
|
|
3992
|
+
driverParam: unknown;
|
|
3993
|
+
notNull: true;
|
|
3994
|
+
hasDefault: false;
|
|
3995
|
+
isPrimaryKey: false;
|
|
3996
|
+
isAutoincrement: false;
|
|
3997
|
+
hasRuntimeDefault: false;
|
|
3998
|
+
enumValues: undefined;
|
|
3999
|
+
baseColumn: never;
|
|
4000
|
+
identity: undefined;
|
|
4001
|
+
generated: undefined;
|
|
4002
|
+
}, {}, {
|
|
4003
|
+
$type: DatasetItemInput;
|
|
4004
|
+
}>;
|
|
4005
|
+
expectedOutput: drizzle_orm_pg_core208.PgColumn<{
|
|
4006
|
+
name: "expected_output";
|
|
4007
|
+
tableName: "dataset_item";
|
|
4008
|
+
dataType: "json";
|
|
4009
|
+
columnType: "PgJsonb";
|
|
4010
|
+
data: DatasetItemExpectedOutput;
|
|
4011
|
+
driverParam: unknown;
|
|
4162
4012
|
notNull: false;
|
|
4163
4013
|
hasDefault: false;
|
|
4164
4014
|
isPrimaryKey: false;
|
|
4165
4015
|
isAutoincrement: false;
|
|
4166
4016
|
hasRuntimeDefault: false;
|
|
4167
|
-
enumValues:
|
|
4017
|
+
enumValues: undefined;
|
|
4168
4018
|
baseColumn: never;
|
|
4169
4019
|
identity: undefined;
|
|
4170
4020
|
generated: undefined;
|
|
4171
4021
|
}, {}, {
|
|
4172
|
-
|
|
4022
|
+
$type: DatasetItemExpectedOutput;
|
|
4173
4023
|
}>;
|
|
4174
|
-
|
|
4175
|
-
name: "
|
|
4176
|
-
tableName: "
|
|
4024
|
+
simulationAgent: drizzle_orm_pg_core208.PgColumn<{
|
|
4025
|
+
name: "simulation_agent";
|
|
4026
|
+
tableName: "dataset_item";
|
|
4177
4027
|
dataType: "json";
|
|
4178
4028
|
columnType: "PgJsonb";
|
|
4179
|
-
data:
|
|
4029
|
+
data: {
|
|
4030
|
+
prompt: string;
|
|
4031
|
+
model: {
|
|
4032
|
+
model?: string | undefined;
|
|
4033
|
+
providerOptions?: Record<string, any> | undefined;
|
|
4034
|
+
};
|
|
4035
|
+
stopWhen?: {
|
|
4036
|
+
transferCountIs?: number | undefined;
|
|
4037
|
+
stepCountIs?: number | undefined;
|
|
4038
|
+
} | undefined;
|
|
4039
|
+
};
|
|
4180
4040
|
driverParam: unknown;
|
|
4181
|
-
notNull:
|
|
4041
|
+
notNull: false;
|
|
4182
4042
|
hasDefault: false;
|
|
4183
4043
|
isPrimaryKey: false;
|
|
4184
4044
|
isAutoincrement: false;
|
|
@@ -4188,17 +4048,27 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4188
4048
|
identity: undefined;
|
|
4189
4049
|
generated: undefined;
|
|
4190
4050
|
}, {}, {
|
|
4191
|
-
$type:
|
|
4051
|
+
$type: {
|
|
4052
|
+
prompt: string;
|
|
4053
|
+
model: {
|
|
4054
|
+
model?: string | undefined;
|
|
4055
|
+
providerOptions?: Record<string, any> | undefined;
|
|
4056
|
+
};
|
|
4057
|
+
stopWhen?: {
|
|
4058
|
+
transferCountIs?: number | undefined;
|
|
4059
|
+
stepCountIs?: number | undefined;
|
|
4060
|
+
} | undefined;
|
|
4061
|
+
};
|
|
4192
4062
|
}>;
|
|
4193
|
-
|
|
4194
|
-
name: "
|
|
4195
|
-
tableName: "
|
|
4063
|
+
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
4064
|
+
name: "project_id";
|
|
4065
|
+
tableName: "dataset_item";
|
|
4196
4066
|
dataType: "string";
|
|
4197
4067
|
columnType: "PgVarchar";
|
|
4198
4068
|
data: string;
|
|
4199
4069
|
driverParam: string;
|
|
4200
4070
|
notNull: true;
|
|
4201
|
-
hasDefault:
|
|
4071
|
+
hasDefault: false;
|
|
4202
4072
|
isPrimaryKey: false;
|
|
4203
4073
|
isAutoincrement: false;
|
|
4204
4074
|
hasRuntimeDefault: false;
|
|
@@ -4209,15 +4079,15 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4209
4079
|
}, {}, {
|
|
4210
4080
|
length: 256;
|
|
4211
4081
|
}>;
|
|
4212
|
-
|
|
4213
|
-
name: "
|
|
4214
|
-
tableName: "
|
|
4082
|
+
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
4083
|
+
name: "tenant_id";
|
|
4084
|
+
tableName: "dataset_item";
|
|
4215
4085
|
dataType: "string";
|
|
4216
4086
|
columnType: "PgVarchar";
|
|
4217
4087
|
data: string;
|
|
4218
4088
|
driverParam: string;
|
|
4219
4089
|
notNull: true;
|
|
4220
|
-
hasDefault:
|
|
4090
|
+
hasDefault: false;
|
|
4221
4091
|
isPrimaryKey: false;
|
|
4222
4092
|
isAutoincrement: false;
|
|
4223
4093
|
hasRuntimeDefault: false;
|
|
@@ -4228,14 +4098,14 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4228
4098
|
}, {}, {
|
|
4229
4099
|
length: 256;
|
|
4230
4100
|
}>;
|
|
4231
|
-
|
|
4232
|
-
name: "
|
|
4233
|
-
tableName: "
|
|
4101
|
+
id: drizzle_orm_pg_core208.PgColumn<{
|
|
4102
|
+
name: "id";
|
|
4103
|
+
tableName: "dataset_item";
|
|
4234
4104
|
dataType: "string";
|
|
4235
4105
|
columnType: "PgVarchar";
|
|
4236
4106
|
data: string;
|
|
4237
4107
|
driverParam: string;
|
|
4238
|
-
notNull:
|
|
4108
|
+
notNull: true;
|
|
4239
4109
|
hasDefault: false;
|
|
4240
4110
|
isPrimaryKey: false;
|
|
4241
4111
|
isAutoincrement: false;
|
|
@@ -4247,52 +4117,55 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4247
4117
|
}, {}, {
|
|
4248
4118
|
length: 256;
|
|
4249
4119
|
}>;
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4120
|
+
};
|
|
4121
|
+
dialect: "pg";
|
|
4122
|
+
}>;
|
|
4123
|
+
declare const evaluator: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
4124
|
+
name: "evaluator";
|
|
4125
|
+
schema: undefined;
|
|
4126
|
+
columns: {
|
|
4127
|
+
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4128
|
+
name: "created_at";
|
|
4129
|
+
tableName: "evaluator";
|
|
4253
4130
|
dataType: "string";
|
|
4254
|
-
columnType: "
|
|
4131
|
+
columnType: "PgTimestampString";
|
|
4255
4132
|
data: string;
|
|
4256
4133
|
driverParam: string;
|
|
4257
|
-
notNull:
|
|
4258
|
-
hasDefault:
|
|
4134
|
+
notNull: true;
|
|
4135
|
+
hasDefault: true;
|
|
4259
4136
|
isPrimaryKey: false;
|
|
4260
4137
|
isAutoincrement: false;
|
|
4261
4138
|
hasRuntimeDefault: false;
|
|
4262
|
-
enumValues:
|
|
4139
|
+
enumValues: undefined;
|
|
4263
4140
|
baseColumn: never;
|
|
4264
4141
|
identity: undefined;
|
|
4265
4142
|
generated: undefined;
|
|
4266
|
-
}, {}, {
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
name: "a2a_task_id";
|
|
4271
|
-
tableName: "messages";
|
|
4143
|
+
}, {}, {}>;
|
|
4144
|
+
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4145
|
+
name: "updated_at";
|
|
4146
|
+
tableName: "evaluator";
|
|
4272
4147
|
dataType: "string";
|
|
4273
|
-
columnType: "
|
|
4148
|
+
columnType: "PgTimestampString";
|
|
4274
4149
|
data: string;
|
|
4275
4150
|
driverParam: string;
|
|
4276
|
-
notNull:
|
|
4277
|
-
hasDefault:
|
|
4151
|
+
notNull: true;
|
|
4152
|
+
hasDefault: true;
|
|
4278
4153
|
isPrimaryKey: false;
|
|
4279
4154
|
isAutoincrement: false;
|
|
4280
4155
|
hasRuntimeDefault: false;
|
|
4281
|
-
enumValues:
|
|
4156
|
+
enumValues: undefined;
|
|
4282
4157
|
baseColumn: never;
|
|
4283
4158
|
identity: undefined;
|
|
4284
4159
|
generated: undefined;
|
|
4285
|
-
}, {}, {
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
name: "a2a_session_id";
|
|
4290
|
-
tableName: "messages";
|
|
4160
|
+
}, {}, {}>;
|
|
4161
|
+
prompt: drizzle_orm_pg_core208.PgColumn<{
|
|
4162
|
+
name: "prompt";
|
|
4163
|
+
tableName: "evaluator";
|
|
4291
4164
|
dataType: "string";
|
|
4292
|
-
columnType: "
|
|
4165
|
+
columnType: "PgText";
|
|
4293
4166
|
data: string;
|
|
4294
4167
|
driverParam: string;
|
|
4295
|
-
notNull:
|
|
4168
|
+
notNull: true;
|
|
4296
4169
|
hasDefault: false;
|
|
4297
4170
|
isPrimaryKey: false;
|
|
4298
4171
|
isAutoincrement: false;
|
|
@@ -4301,17 +4174,59 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4301
4174
|
baseColumn: never;
|
|
4302
4175
|
identity: undefined;
|
|
4303
4176
|
generated: undefined;
|
|
4304
|
-
}, {}, {
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
name: "metadata";
|
|
4309
|
-
tableName: "messages";
|
|
4177
|
+
}, {}, {}>;
|
|
4178
|
+
schema: drizzle_orm_pg_core208.PgColumn<{
|
|
4179
|
+
name: "schema";
|
|
4180
|
+
tableName: "evaluator";
|
|
4310
4181
|
dataType: "json";
|
|
4311
4182
|
columnType: "PgJsonb";
|
|
4312
|
-
data:
|
|
4183
|
+
data: Record<string, unknown>;
|
|
4313
4184
|
driverParam: unknown;
|
|
4314
|
-
notNull:
|
|
4185
|
+
notNull: true;
|
|
4186
|
+
hasDefault: false;
|
|
4187
|
+
isPrimaryKey: false;
|
|
4188
|
+
isAutoincrement: false;
|
|
4189
|
+
hasRuntimeDefault: false;
|
|
4190
|
+
enumValues: undefined;
|
|
4191
|
+
baseColumn: never;
|
|
4192
|
+
identity: undefined;
|
|
4193
|
+
generated: undefined;
|
|
4194
|
+
}, {}, {
|
|
4195
|
+
$type: Record<string, unknown>;
|
|
4196
|
+
}>;
|
|
4197
|
+
model: drizzle_orm_pg_core208.PgColumn<{
|
|
4198
|
+
name: "model";
|
|
4199
|
+
tableName: "evaluator";
|
|
4200
|
+
dataType: "json";
|
|
4201
|
+
columnType: "PgJsonb";
|
|
4202
|
+
data: {
|
|
4203
|
+
model?: string | undefined;
|
|
4204
|
+
providerOptions?: Record<string, any> | undefined;
|
|
4205
|
+
};
|
|
4206
|
+
driverParam: unknown;
|
|
4207
|
+
notNull: true;
|
|
4208
|
+
hasDefault: false;
|
|
4209
|
+
isPrimaryKey: false;
|
|
4210
|
+
isAutoincrement: false;
|
|
4211
|
+
hasRuntimeDefault: false;
|
|
4212
|
+
enumValues: undefined;
|
|
4213
|
+
baseColumn: never;
|
|
4214
|
+
identity: undefined;
|
|
4215
|
+
generated: undefined;
|
|
4216
|
+
}, {}, {
|
|
4217
|
+
$type: {
|
|
4218
|
+
model?: string | undefined;
|
|
4219
|
+
providerOptions?: Record<string, any> | undefined;
|
|
4220
|
+
};
|
|
4221
|
+
}>;
|
|
4222
|
+
passCriteria: drizzle_orm_pg_core208.PgColumn<{
|
|
4223
|
+
name: "pass_criteria";
|
|
4224
|
+
tableName: "evaluator";
|
|
4225
|
+
dataType: "json";
|
|
4226
|
+
columnType: "PgJsonb";
|
|
4227
|
+
data: PassCriteria;
|
|
4228
|
+
driverParam: unknown;
|
|
4229
|
+
notNull: false;
|
|
4315
4230
|
hasDefault: false;
|
|
4316
4231
|
isPrimaryKey: false;
|
|
4317
4232
|
isAutoincrement: false;
|
|
@@ -4321,11 +4236,47 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4321
4236
|
identity: undefined;
|
|
4322
4237
|
generated: undefined;
|
|
4323
4238
|
}, {}, {
|
|
4324
|
-
$type:
|
|
4239
|
+
$type: PassCriteria;
|
|
4240
|
+
}>;
|
|
4241
|
+
name: drizzle_orm_pg_core208.PgColumn<{
|
|
4242
|
+
name: "name";
|
|
4243
|
+
tableName: "evaluator";
|
|
4244
|
+
dataType: "string";
|
|
4245
|
+
columnType: "PgVarchar";
|
|
4246
|
+
data: string;
|
|
4247
|
+
driverParam: string;
|
|
4248
|
+
notNull: true;
|
|
4249
|
+
hasDefault: false;
|
|
4250
|
+
isPrimaryKey: false;
|
|
4251
|
+
isAutoincrement: false;
|
|
4252
|
+
hasRuntimeDefault: false;
|
|
4253
|
+
enumValues: [string, ...string[]];
|
|
4254
|
+
baseColumn: never;
|
|
4255
|
+
identity: undefined;
|
|
4256
|
+
generated: undefined;
|
|
4257
|
+
}, {}, {
|
|
4258
|
+
length: 256;
|
|
4325
4259
|
}>;
|
|
4260
|
+
description: drizzle_orm_pg_core208.PgColumn<{
|
|
4261
|
+
name: "description";
|
|
4262
|
+
tableName: "evaluator";
|
|
4263
|
+
dataType: "string";
|
|
4264
|
+
columnType: "PgText";
|
|
4265
|
+
data: string;
|
|
4266
|
+
driverParam: string;
|
|
4267
|
+
notNull: false;
|
|
4268
|
+
hasDefault: false;
|
|
4269
|
+
isPrimaryKey: false;
|
|
4270
|
+
isAutoincrement: false;
|
|
4271
|
+
hasRuntimeDefault: false;
|
|
4272
|
+
enumValues: [string, ...string[]];
|
|
4273
|
+
baseColumn: never;
|
|
4274
|
+
identity: undefined;
|
|
4275
|
+
generated: undefined;
|
|
4276
|
+
}, {}, {}>;
|
|
4326
4277
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
4327
4278
|
name: "project_id";
|
|
4328
|
-
tableName: "
|
|
4279
|
+
tableName: "evaluator";
|
|
4329
4280
|
dataType: "string";
|
|
4330
4281
|
columnType: "PgVarchar";
|
|
4331
4282
|
data: string;
|
|
@@ -4344,7 +4295,7 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4344
4295
|
}>;
|
|
4345
4296
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
4346
4297
|
name: "tenant_id";
|
|
4347
|
-
tableName: "
|
|
4298
|
+
tableName: "evaluator";
|
|
4348
4299
|
dataType: "string";
|
|
4349
4300
|
columnType: "PgVarchar";
|
|
4350
4301
|
data: string;
|
|
@@ -4363,7 +4314,7 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4363
4314
|
}>;
|
|
4364
4315
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
4365
4316
|
name: "id";
|
|
4366
|
-
tableName: "
|
|
4317
|
+
tableName: "evaluator";
|
|
4367
4318
|
dataType: "string";
|
|
4368
4319
|
columnType: "PgVarchar";
|
|
4369
4320
|
data: string;
|
|
@@ -4383,13 +4334,13 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4383
4334
|
};
|
|
4384
4335
|
dialect: "pg";
|
|
4385
4336
|
}>;
|
|
4386
|
-
declare const
|
|
4387
|
-
name: "
|
|
4337
|
+
declare const datasetRunConfig: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
4338
|
+
name: "dataset_run_config";
|
|
4388
4339
|
schema: undefined;
|
|
4389
4340
|
columns: {
|
|
4390
4341
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4391
4342
|
name: "created_at";
|
|
4392
|
-
tableName: "
|
|
4343
|
+
tableName: "dataset_run_config";
|
|
4393
4344
|
dataType: "string";
|
|
4394
4345
|
columnType: "PgTimestampString";
|
|
4395
4346
|
data: string;
|
|
@@ -4406,7 +4357,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4406
4357
|
}, {}, {}>;
|
|
4407
4358
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4408
4359
|
name: "updated_at";
|
|
4409
|
-
tableName: "
|
|
4360
|
+
tableName: "dataset_run_config";
|
|
4410
4361
|
dataType: "string";
|
|
4411
4362
|
columnType: "PgTimestampString";
|
|
4412
4363
|
data: string;
|
|
@@ -4421,9 +4372,9 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4421
4372
|
identity: undefined;
|
|
4422
4373
|
generated: undefined;
|
|
4423
4374
|
}, {}, {}>;
|
|
4424
|
-
|
|
4425
|
-
name: "
|
|
4426
|
-
tableName: "
|
|
4375
|
+
datasetId: drizzle_orm_pg_core208.PgColumn<{
|
|
4376
|
+
name: "dataset_id";
|
|
4377
|
+
tableName: "dataset_run_config";
|
|
4427
4378
|
dataType: "string";
|
|
4428
4379
|
columnType: "PgVarchar";
|
|
4429
4380
|
data: string;
|
|
@@ -4440,14 +4391,14 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4440
4391
|
}, {}, {
|
|
4441
4392
|
length: 256;
|
|
4442
4393
|
}>;
|
|
4443
|
-
|
|
4444
|
-
name: "
|
|
4445
|
-
tableName: "
|
|
4394
|
+
name: drizzle_orm_pg_core208.PgColumn<{
|
|
4395
|
+
name: "name";
|
|
4396
|
+
tableName: "dataset_run_config";
|
|
4446
4397
|
dataType: "string";
|
|
4447
4398
|
columnType: "PgVarchar";
|
|
4448
4399
|
data: string;
|
|
4449
4400
|
driverParam: string;
|
|
4450
|
-
notNull:
|
|
4401
|
+
notNull: true;
|
|
4451
4402
|
hasDefault: false;
|
|
4452
4403
|
isPrimaryKey: false;
|
|
4453
4404
|
isAutoincrement: false;
|
|
@@ -4459,14 +4410,14 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4459
4410
|
}, {}, {
|
|
4460
4411
|
length: 256;
|
|
4461
4412
|
}>;
|
|
4462
|
-
|
|
4463
|
-
name: "
|
|
4464
|
-
tableName: "
|
|
4413
|
+
description: drizzle_orm_pg_core208.PgColumn<{
|
|
4414
|
+
name: "description";
|
|
4415
|
+
tableName: "dataset_run_config";
|
|
4465
4416
|
dataType: "string";
|
|
4466
|
-
columnType: "
|
|
4417
|
+
columnType: "PgText";
|
|
4467
4418
|
data: string;
|
|
4468
4419
|
driverParam: string;
|
|
4469
|
-
notNull:
|
|
4420
|
+
notNull: false;
|
|
4470
4421
|
hasDefault: false;
|
|
4471
4422
|
isPrimaryKey: false;
|
|
4472
4423
|
isAutoincrement: false;
|
|
@@ -4475,18 +4426,16 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4475
4426
|
baseColumn: never;
|
|
4476
4427
|
identity: undefined;
|
|
4477
4428
|
generated: undefined;
|
|
4478
|
-
}, {}, {
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
name: "type";
|
|
4483
|
-
tableName: "ledger_artifacts";
|
|
4429
|
+
}, {}, {}>;
|
|
4430
|
+
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
4431
|
+
name: "project_id";
|
|
4432
|
+
tableName: "dataset_run_config";
|
|
4484
4433
|
dataType: "string";
|
|
4485
4434
|
columnType: "PgVarchar";
|
|
4486
4435
|
data: string;
|
|
4487
4436
|
driverParam: string;
|
|
4488
4437
|
notNull: true;
|
|
4489
|
-
hasDefault:
|
|
4438
|
+
hasDefault: false;
|
|
4490
4439
|
isPrimaryKey: false;
|
|
4491
4440
|
isAutoincrement: false;
|
|
4492
4441
|
hasRuntimeDefault: false;
|
|
@@ -4497,14 +4446,14 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4497
4446
|
}, {}, {
|
|
4498
4447
|
length: 256;
|
|
4499
4448
|
}>;
|
|
4500
|
-
|
|
4501
|
-
name: "
|
|
4502
|
-
tableName: "
|
|
4449
|
+
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
4450
|
+
name: "tenant_id";
|
|
4451
|
+
tableName: "dataset_run_config";
|
|
4503
4452
|
dataType: "string";
|
|
4504
4453
|
columnType: "PgVarchar";
|
|
4505
4454
|
data: string;
|
|
4506
4455
|
driverParam: string;
|
|
4507
|
-
notNull:
|
|
4456
|
+
notNull: true;
|
|
4508
4457
|
hasDefault: false;
|
|
4509
4458
|
isPrimaryKey: false;
|
|
4510
4459
|
isAutoincrement: false;
|
|
@@ -4516,14 +4465,14 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4516
4465
|
}, {}, {
|
|
4517
4466
|
length: 256;
|
|
4518
4467
|
}>;
|
|
4519
|
-
|
|
4520
|
-
name: "
|
|
4521
|
-
tableName: "
|
|
4468
|
+
id: drizzle_orm_pg_core208.PgColumn<{
|
|
4469
|
+
name: "id";
|
|
4470
|
+
tableName: "dataset_run_config";
|
|
4522
4471
|
dataType: "string";
|
|
4523
|
-
columnType: "
|
|
4472
|
+
columnType: "PgVarchar";
|
|
4524
4473
|
data: string;
|
|
4525
4474
|
driverParam: string;
|
|
4526
|
-
notNull:
|
|
4475
|
+
notNull: true;
|
|
4527
4476
|
hasDefault: false;
|
|
4528
4477
|
isPrimaryKey: false;
|
|
4529
4478
|
isAutoincrement: false;
|
|
@@ -4532,71 +4481,40 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4532
4481
|
baseColumn: never;
|
|
4533
4482
|
identity: undefined;
|
|
4534
4483
|
generated: undefined;
|
|
4535
|
-
}, {}, {}>;
|
|
4536
|
-
parts: drizzle_orm_pg_core208.PgColumn<{
|
|
4537
|
-
name: "parts";
|
|
4538
|
-
tableName: "ledger_artifacts";
|
|
4539
|
-
dataType: "json";
|
|
4540
|
-
columnType: "PgJsonb";
|
|
4541
|
-
data: Part[] | null;
|
|
4542
|
-
driverParam: unknown;
|
|
4543
|
-
notNull: false;
|
|
4544
|
-
hasDefault: false;
|
|
4545
|
-
isPrimaryKey: false;
|
|
4546
|
-
isAutoincrement: false;
|
|
4547
|
-
hasRuntimeDefault: false;
|
|
4548
|
-
enumValues: undefined;
|
|
4549
|
-
baseColumn: never;
|
|
4550
|
-
identity: undefined;
|
|
4551
|
-
generated: undefined;
|
|
4552
|
-
}, {}, {
|
|
4553
|
-
$type: Part[] | null;
|
|
4554
|
-
}>;
|
|
4555
|
-
metadata: drizzle_orm_pg_core208.PgColumn<{
|
|
4556
|
-
name: "metadata";
|
|
4557
|
-
tableName: "ledger_artifacts";
|
|
4558
|
-
dataType: "json";
|
|
4559
|
-
columnType: "PgJsonb";
|
|
4560
|
-
data: Record<string, unknown> | null;
|
|
4561
|
-
driverParam: unknown;
|
|
4562
|
-
notNull: false;
|
|
4563
|
-
hasDefault: false;
|
|
4564
|
-
isPrimaryKey: false;
|
|
4565
|
-
isAutoincrement: false;
|
|
4566
|
-
hasRuntimeDefault: false;
|
|
4567
|
-
enumValues: undefined;
|
|
4568
|
-
baseColumn: never;
|
|
4569
|
-
identity: undefined;
|
|
4570
|
-
generated: undefined;
|
|
4571
4484
|
}, {}, {
|
|
4572
|
-
|
|
4485
|
+
length: 256;
|
|
4573
4486
|
}>;
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4487
|
+
};
|
|
4488
|
+
dialect: "pg";
|
|
4489
|
+
}>;
|
|
4490
|
+
/**
|
|
4491
|
+
* Configuration that defines what to evaluate. Contains filters and evaluators.
|
|
4492
|
+
* Example: "Evaluate conversations for agentId X with filters Y"
|
|
4493
|
+
*
|
|
4494
|
+
* Linked to one or more evaluationRunConfigs (via join table) that define when to run.
|
|
4495
|
+
* When triggered, creates an evaluationRun with computed filters based on the criteria.
|
|
4496
|
+
*
|
|
4497
|
+
* Configuration-level filters:
|
|
4498
|
+
* - Filters stored in filters JSONB field
|
|
4499
|
+
*
|
|
4500
|
+
* many to many relationship with evaluationRunConfig
|
|
4501
|
+
*
|
|
4502
|
+
* Includes: name, description, filters (JSONB for evaluation criteria),
|
|
4503
|
+
* sampleRate for sampling, and timestamps
|
|
4504
|
+
*/
|
|
4505
|
+
declare const evaluationSuiteConfig: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
4506
|
+
name: "evaluation_suite_config";
|
|
4507
|
+
schema: undefined;
|
|
4508
|
+
columns: {
|
|
4509
|
+
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4510
|
+
name: "created_at";
|
|
4511
|
+
tableName: "evaluation_suite_config";
|
|
4577
4512
|
dataType: "string";
|
|
4578
|
-
columnType: "
|
|
4513
|
+
columnType: "PgTimestampString";
|
|
4579
4514
|
data: string;
|
|
4580
4515
|
driverParam: string;
|
|
4581
|
-
notNull:
|
|
4582
|
-
hasDefault:
|
|
4583
|
-
isPrimaryKey: false;
|
|
4584
|
-
isAutoincrement: false;
|
|
4585
|
-
hasRuntimeDefault: false;
|
|
4586
|
-
enumValues: [string, ...string[]];
|
|
4587
|
-
baseColumn: never;
|
|
4588
|
-
identity: undefined;
|
|
4589
|
-
generated: undefined;
|
|
4590
|
-
}, {}, {}>;
|
|
4591
|
-
mime: drizzle_orm_pg_core208.PgColumn<{
|
|
4592
|
-
name: "mime";
|
|
4593
|
-
tableName: "ledger_artifacts";
|
|
4594
|
-
dataType: "json";
|
|
4595
|
-
columnType: "PgJsonb";
|
|
4596
|
-
data: string[] | null;
|
|
4597
|
-
driverParam: unknown;
|
|
4598
|
-
notNull: false;
|
|
4599
|
-
hasDefault: false;
|
|
4516
|
+
notNull: true;
|
|
4517
|
+
hasDefault: true;
|
|
4600
4518
|
isPrimaryKey: false;
|
|
4601
4519
|
isAutoincrement: false;
|
|
4602
4520
|
hasRuntimeDefault: false;
|
|
@@ -4604,34 +4522,30 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4604
4522
|
baseColumn: never;
|
|
4605
4523
|
identity: undefined;
|
|
4606
4524
|
generated: undefined;
|
|
4607
|
-
}, {}, {
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
name: "visibility";
|
|
4612
|
-
tableName: "ledger_artifacts";
|
|
4525
|
+
}, {}, {}>;
|
|
4526
|
+
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4527
|
+
name: "updated_at";
|
|
4528
|
+
tableName: "evaluation_suite_config";
|
|
4613
4529
|
dataType: "string";
|
|
4614
|
-
columnType: "
|
|
4530
|
+
columnType: "PgTimestampString";
|
|
4615
4531
|
data: string;
|
|
4616
4532
|
driverParam: string;
|
|
4617
|
-
notNull:
|
|
4533
|
+
notNull: true;
|
|
4618
4534
|
hasDefault: true;
|
|
4619
4535
|
isPrimaryKey: false;
|
|
4620
4536
|
isAutoincrement: false;
|
|
4621
4537
|
hasRuntimeDefault: false;
|
|
4622
|
-
enumValues:
|
|
4538
|
+
enumValues: undefined;
|
|
4623
4539
|
baseColumn: never;
|
|
4624
4540
|
identity: undefined;
|
|
4625
4541
|
generated: undefined;
|
|
4626
|
-
}, {}, {
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
name: "allowed_agents";
|
|
4631
|
-
tableName: "ledger_artifacts";
|
|
4542
|
+
}, {}, {}>;
|
|
4543
|
+
filters: drizzle_orm_pg_core208.PgColumn<{
|
|
4544
|
+
name: "filters";
|
|
4545
|
+
tableName: "evaluation_suite_config";
|
|
4632
4546
|
dataType: "json";
|
|
4633
4547
|
columnType: "PgJsonb";
|
|
4634
|
-
data:
|
|
4548
|
+
data: Filter<EvaluationSuiteFilterCriteria>;
|
|
4635
4549
|
driverParam: unknown;
|
|
4636
4550
|
notNull: false;
|
|
4637
4551
|
hasDefault: false;
|
|
@@ -4643,30 +4557,28 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4643
4557
|
identity: undefined;
|
|
4644
4558
|
generated: undefined;
|
|
4645
4559
|
}, {}, {
|
|
4646
|
-
$type:
|
|
4560
|
+
$type: Filter<EvaluationSuiteFilterCriteria>;
|
|
4647
4561
|
}>;
|
|
4648
|
-
|
|
4649
|
-
name: "
|
|
4650
|
-
tableName: "
|
|
4651
|
-
dataType: "
|
|
4652
|
-
columnType: "
|
|
4653
|
-
data:
|
|
4654
|
-
driverParam: string;
|
|
4562
|
+
sampleRate: drizzle_orm_pg_core208.PgColumn<{
|
|
4563
|
+
name: "sample_rate";
|
|
4564
|
+
tableName: "evaluation_suite_config";
|
|
4565
|
+
dataType: "number";
|
|
4566
|
+
columnType: "PgDoublePrecision";
|
|
4567
|
+
data: number;
|
|
4568
|
+
driverParam: string | number;
|
|
4655
4569
|
notNull: false;
|
|
4656
4570
|
hasDefault: false;
|
|
4657
4571
|
isPrimaryKey: false;
|
|
4658
4572
|
isAutoincrement: false;
|
|
4659
4573
|
hasRuntimeDefault: false;
|
|
4660
|
-
enumValues:
|
|
4574
|
+
enumValues: undefined;
|
|
4661
4575
|
baseColumn: never;
|
|
4662
4576
|
identity: undefined;
|
|
4663
4577
|
generated: undefined;
|
|
4664
|
-
}, {}, {
|
|
4665
|
-
length: 256;
|
|
4666
|
-
}>;
|
|
4578
|
+
}, {}, {}>;
|
|
4667
4579
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
4668
4580
|
name: "project_id";
|
|
4669
|
-
tableName: "
|
|
4581
|
+
tableName: "evaluation_suite_config";
|
|
4670
4582
|
dataType: "string";
|
|
4671
4583
|
columnType: "PgVarchar";
|
|
4672
4584
|
data: string;
|
|
@@ -4685,7 +4597,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4685
4597
|
}>;
|
|
4686
4598
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
4687
4599
|
name: "tenant_id";
|
|
4688
|
-
tableName: "
|
|
4600
|
+
tableName: "evaluation_suite_config";
|
|
4689
4601
|
dataType: "string";
|
|
4690
4602
|
columnType: "PgVarchar";
|
|
4691
4603
|
data: string;
|
|
@@ -4704,7 +4616,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4704
4616
|
}>;
|
|
4705
4617
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
4706
4618
|
name: "id";
|
|
4707
|
-
tableName: "
|
|
4619
|
+
tableName: "evaluation_suite_config";
|
|
4708
4620
|
dataType: "string";
|
|
4709
4621
|
columnType: "PgVarchar";
|
|
4710
4622
|
data: string;
|
|
@@ -4724,13 +4636,20 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4724
4636
|
};
|
|
4725
4637
|
dialect: "pg";
|
|
4726
4638
|
}>;
|
|
4727
|
-
|
|
4728
|
-
|
|
4639
|
+
/**
|
|
4640
|
+
* Links evaluators to evaluation suite configs. Many-to-many relationship that
|
|
4641
|
+
* attaches evaluators to an evaluation suite configuration. Each evaluator must
|
|
4642
|
+
* have its own model configuration defined.
|
|
4643
|
+
*
|
|
4644
|
+
* Includes: evaluationSuiteConfigId, evaluatorId, and timestamps
|
|
4645
|
+
*/
|
|
4646
|
+
declare const evaluationSuiteConfigEvaluatorRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
4647
|
+
name: "evaluation_suite_config_evaluator_relations";
|
|
4729
4648
|
schema: undefined;
|
|
4730
4649
|
columns: {
|
|
4731
4650
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4732
4651
|
name: "created_at";
|
|
4733
|
-
tableName: "
|
|
4652
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4734
4653
|
dataType: "string";
|
|
4735
4654
|
columnType: "PgTimestampString";
|
|
4736
4655
|
data: string;
|
|
@@ -4747,7 +4666,7 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4747
4666
|
}, {}, {}>;
|
|
4748
4667
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4749
4668
|
name: "updated_at";
|
|
4750
|
-
tableName: "
|
|
4669
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4751
4670
|
dataType: "string";
|
|
4752
4671
|
columnType: "PgTimestampString";
|
|
4753
4672
|
data: string;
|
|
@@ -4762,9 +4681,28 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4762
4681
|
identity: undefined;
|
|
4763
4682
|
generated: undefined;
|
|
4764
4683
|
}, {}, {}>;
|
|
4765
|
-
|
|
4766
|
-
name: "
|
|
4767
|
-
tableName: "
|
|
4684
|
+
evaluationSuiteConfigId: drizzle_orm_pg_core208.PgColumn<{
|
|
4685
|
+
name: "evaluation_suite_config_id";
|
|
4686
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4687
|
+
dataType: "string";
|
|
4688
|
+
columnType: "PgVarchar";
|
|
4689
|
+
data: string;
|
|
4690
|
+
driverParam: string;
|
|
4691
|
+
notNull: true;
|
|
4692
|
+
hasDefault: false;
|
|
4693
|
+
isPrimaryKey: false;
|
|
4694
|
+
isAutoincrement: false;
|
|
4695
|
+
hasRuntimeDefault: false;
|
|
4696
|
+
enumValues: [string, ...string[]];
|
|
4697
|
+
baseColumn: never;
|
|
4698
|
+
identity: undefined;
|
|
4699
|
+
generated: undefined;
|
|
4700
|
+
}, {}, {
|
|
4701
|
+
length: 256;
|
|
4702
|
+
}>;
|
|
4703
|
+
evaluatorId: drizzle_orm_pg_core208.PgColumn<{
|
|
4704
|
+
name: "evaluator_id";
|
|
4705
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4768
4706
|
dataType: "string";
|
|
4769
4707
|
columnType: "PgVarchar";
|
|
4770
4708
|
data: string;
|
|
@@ -4781,9 +4719,9 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4781
4719
|
}, {}, {
|
|
4782
4720
|
length: 256;
|
|
4783
4721
|
}>;
|
|
4784
|
-
|
|
4785
|
-
name: "
|
|
4786
|
-
tableName: "
|
|
4722
|
+
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
4723
|
+
name: "project_id";
|
|
4724
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4787
4725
|
dataType: "string";
|
|
4788
4726
|
columnType: "PgVarchar";
|
|
4789
4727
|
data: string;
|
|
@@ -4800,9 +4738,9 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4800
4738
|
}, {}, {
|
|
4801
4739
|
length: 256;
|
|
4802
4740
|
}>;
|
|
4803
|
-
|
|
4804
|
-
name: "
|
|
4805
|
-
tableName: "
|
|
4741
|
+
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
4742
|
+
name: "tenant_id";
|
|
4743
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4806
4744
|
dataType: "string";
|
|
4807
4745
|
columnType: "PgVarchar";
|
|
4808
4746
|
data: string;
|
|
@@ -4819,14 +4757,14 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4819
4757
|
}, {}, {
|
|
4820
4758
|
length: 256;
|
|
4821
4759
|
}>;
|
|
4822
|
-
|
|
4823
|
-
name: "
|
|
4824
|
-
tableName: "
|
|
4760
|
+
id: drizzle_orm_pg_core208.PgColumn<{
|
|
4761
|
+
name: "id";
|
|
4762
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4825
4763
|
dataType: "string";
|
|
4826
4764
|
columnType: "PgVarchar";
|
|
4827
4765
|
data: string;
|
|
4828
4766
|
driverParam: string;
|
|
4829
|
-
notNull:
|
|
4767
|
+
notNull: true;
|
|
4830
4768
|
hasDefault: false;
|
|
4831
4769
|
isPrimaryKey: false;
|
|
4832
4770
|
isAutoincrement: false;
|
|
@@ -4838,15 +4776,29 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4838
4776
|
}, {}, {
|
|
4839
4777
|
length: 256;
|
|
4840
4778
|
}>;
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4779
|
+
};
|
|
4780
|
+
dialect: "pg";
|
|
4781
|
+
}>;
|
|
4782
|
+
/**
|
|
4783
|
+
* Links evaluation run configs to evaluation suite configs. Many-to-many relationship that
|
|
4784
|
+
* allows one suite config to have multiple run schedules, and one run config to be used
|
|
4785
|
+
* by multiple suite configs.
|
|
4786
|
+
*
|
|
4787
|
+
* Includes: evaluationRunConfigId, evaluationSuiteConfigId, and timestamps
|
|
4788
|
+
*/
|
|
4789
|
+
declare const evaluationRunConfigEvaluationSuiteConfigRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
4790
|
+
name: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4791
|
+
schema: undefined;
|
|
4792
|
+
columns: {
|
|
4793
|
+
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4794
|
+
name: "created_at";
|
|
4795
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4844
4796
|
dataType: "string";
|
|
4845
4797
|
columnType: "PgTimestampString";
|
|
4846
4798
|
data: string;
|
|
4847
4799
|
driverParam: string;
|
|
4848
|
-
notNull:
|
|
4849
|
-
hasDefault:
|
|
4800
|
+
notNull: true;
|
|
4801
|
+
hasDefault: true;
|
|
4850
4802
|
isPrimaryKey: false;
|
|
4851
4803
|
isAutoincrement: false;
|
|
4852
4804
|
hasRuntimeDefault: false;
|
|
@@ -4855,15 +4807,15 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4855
4807
|
identity: undefined;
|
|
4856
4808
|
generated: undefined;
|
|
4857
4809
|
}, {}, {}>;
|
|
4858
|
-
|
|
4859
|
-
name: "
|
|
4860
|
-
tableName: "
|
|
4810
|
+
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4811
|
+
name: "updated_at";
|
|
4812
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4861
4813
|
dataType: "string";
|
|
4862
4814
|
columnType: "PgTimestampString";
|
|
4863
4815
|
data: string;
|
|
4864
4816
|
driverParam: string;
|
|
4865
|
-
notNull:
|
|
4866
|
-
hasDefault:
|
|
4817
|
+
notNull: true;
|
|
4818
|
+
hasDefault: true;
|
|
4867
4819
|
isPrimaryKey: false;
|
|
4868
4820
|
isAutoincrement: false;
|
|
4869
4821
|
hasRuntimeDefault: false;
|
|
@@ -4872,9 +4824,28 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4872
4824
|
identity: undefined;
|
|
4873
4825
|
generated: undefined;
|
|
4874
4826
|
}, {}, {}>;
|
|
4875
|
-
|
|
4876
|
-
name: "
|
|
4877
|
-
tableName: "
|
|
4827
|
+
evaluationRunConfigId: drizzle_orm_pg_core208.PgColumn<{
|
|
4828
|
+
name: "evaluation_run_config_id";
|
|
4829
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4830
|
+
dataType: "string";
|
|
4831
|
+
columnType: "PgVarchar";
|
|
4832
|
+
data: string;
|
|
4833
|
+
driverParam: string;
|
|
4834
|
+
notNull: true;
|
|
4835
|
+
hasDefault: false;
|
|
4836
|
+
isPrimaryKey: false;
|
|
4837
|
+
isAutoincrement: false;
|
|
4838
|
+
hasRuntimeDefault: false;
|
|
4839
|
+
enumValues: [string, ...string[]];
|
|
4840
|
+
baseColumn: never;
|
|
4841
|
+
identity: undefined;
|
|
4842
|
+
generated: undefined;
|
|
4843
|
+
}, {}, {
|
|
4844
|
+
length: 256;
|
|
4845
|
+
}>;
|
|
4846
|
+
evaluationSuiteConfigId: drizzle_orm_pg_core208.PgColumn<{
|
|
4847
|
+
name: "evaluation_suite_config_id";
|
|
4848
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4878
4849
|
dataType: "string";
|
|
4879
4850
|
columnType: "PgVarchar";
|
|
4880
4851
|
data: string;
|
|
@@ -4893,7 +4864,7 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4893
4864
|
}>;
|
|
4894
4865
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
4895
4866
|
name: "project_id";
|
|
4896
|
-
tableName: "
|
|
4867
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4897
4868
|
dataType: "string";
|
|
4898
4869
|
columnType: "PgVarchar";
|
|
4899
4870
|
data: string;
|
|
@@ -4912,7 +4883,7 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4912
4883
|
}>;
|
|
4913
4884
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
4914
4885
|
name: "tenant_id";
|
|
4915
|
-
tableName: "
|
|
4886
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4916
4887
|
dataType: "string";
|
|
4917
4888
|
columnType: "PgVarchar";
|
|
4918
4889
|
data: string;
|
|
@@ -4931,7 +4902,7 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4931
4902
|
}>;
|
|
4932
4903
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
4933
4904
|
name: "id";
|
|
4934
|
-
tableName: "
|
|
4905
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4935
4906
|
dataType: "string";
|
|
4936
4907
|
columnType: "PgVarchar";
|
|
4937
4908
|
data: string;
|
|
@@ -4951,13 +4922,26 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4951
4922
|
};
|
|
4952
4923
|
dialect: "pg";
|
|
4953
4924
|
}>;
|
|
4954
|
-
|
|
4955
|
-
|
|
4925
|
+
/**
|
|
4926
|
+
* Configuration for automated evaluation runs. Trigger policies is conversation end.
|
|
4927
|
+
* Can be linked to multiple evaluation suite configs via join table.
|
|
4928
|
+
* many to many relationship with evaluationSuiteConfig
|
|
4929
|
+
*
|
|
4930
|
+
* Evaluations are automatically triggered when regular conversations complete.
|
|
4931
|
+
* When a conversation ends, creates an evaluationRun that evaluates that conversation.
|
|
4932
|
+
*
|
|
4933
|
+
* NOTE: Evaluation run configs ONLY run on regular conversations, NOT dataset run conversations.
|
|
4934
|
+
* Dataset runs create their own evaluationJobConfig with specific evaluators at run-time.
|
|
4935
|
+
*
|
|
4936
|
+
* one to many relationship with evaluationRun
|
|
4937
|
+
*/
|
|
4938
|
+
declare const evaluationRunConfig: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
4939
|
+
name: "evaluation_run_config";
|
|
4956
4940
|
schema: undefined;
|
|
4957
4941
|
columns: {
|
|
4958
4942
|
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4959
4943
|
name: "created_at";
|
|
4960
|
-
tableName: "
|
|
4944
|
+
tableName: "evaluation_run_config";
|
|
4961
4945
|
dataType: "string";
|
|
4962
4946
|
columnType: "PgTimestampString";
|
|
4963
4947
|
data: string;
|
|
@@ -4974,7 +4958,7 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4974
4958
|
}, {}, {}>;
|
|
4975
4959
|
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
4976
4960
|
name: "updated_at";
|
|
4977
|
-
tableName: "
|
|
4961
|
+
tableName: "evaluation_run_config";
|
|
4978
4962
|
dataType: "string";
|
|
4979
4963
|
columnType: "PgTimestampString";
|
|
4980
4964
|
data: string;
|
|
@@ -4989,9 +4973,26 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4989
4973
|
identity: undefined;
|
|
4990
4974
|
generated: undefined;
|
|
4991
4975
|
}, {}, {}>;
|
|
4992
|
-
|
|
4976
|
+
isActive: drizzle_orm_pg_core208.PgColumn<{
|
|
4977
|
+
name: "is_active";
|
|
4978
|
+
tableName: "evaluation_run_config";
|
|
4979
|
+
dataType: "boolean";
|
|
4980
|
+
columnType: "PgBoolean";
|
|
4981
|
+
data: boolean;
|
|
4982
|
+
driverParam: boolean;
|
|
4983
|
+
notNull: true;
|
|
4984
|
+
hasDefault: true;
|
|
4985
|
+
isPrimaryKey: false;
|
|
4986
|
+
isAutoincrement: false;
|
|
4987
|
+
hasRuntimeDefault: false;
|
|
4988
|
+
enumValues: undefined;
|
|
4989
|
+
baseColumn: never;
|
|
4990
|
+
identity: undefined;
|
|
4991
|
+
generated: undefined;
|
|
4992
|
+
}, {}, {}>;
|
|
4993
|
+
name: drizzle_orm_pg_core208.PgColumn<{
|
|
4993
4994
|
name: "name";
|
|
4994
|
-
tableName: "
|
|
4995
|
+
tableName: "evaluation_run_config";
|
|
4995
4996
|
dataType: "string";
|
|
4996
4997
|
columnType: "PgVarchar";
|
|
4997
4998
|
data: string;
|
|
@@ -5008,9 +5009,26 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5008
5009
|
}, {}, {
|
|
5009
5010
|
length: 256;
|
|
5010
5011
|
}>;
|
|
5011
|
-
|
|
5012
|
-
name: "
|
|
5013
|
-
tableName: "
|
|
5012
|
+
description: drizzle_orm_pg_core208.PgColumn<{
|
|
5013
|
+
name: "description";
|
|
5014
|
+
tableName: "evaluation_run_config";
|
|
5015
|
+
dataType: "string";
|
|
5016
|
+
columnType: "PgText";
|
|
5017
|
+
data: string;
|
|
5018
|
+
driverParam: string;
|
|
5019
|
+
notNull: false;
|
|
5020
|
+
hasDefault: false;
|
|
5021
|
+
isPrimaryKey: false;
|
|
5022
|
+
isAutoincrement: false;
|
|
5023
|
+
hasRuntimeDefault: false;
|
|
5024
|
+
enumValues: [string, ...string[]];
|
|
5025
|
+
baseColumn: never;
|
|
5026
|
+
identity: undefined;
|
|
5027
|
+
generated: undefined;
|
|
5028
|
+
}, {}, {}>;
|
|
5029
|
+
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
5030
|
+
name: "project_id";
|
|
5031
|
+
tableName: "evaluation_run_config";
|
|
5014
5032
|
dataType: "string";
|
|
5015
5033
|
columnType: "PgVarchar";
|
|
5016
5034
|
data: string;
|
|
@@ -5027,9 +5045,9 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5027
5045
|
}, {}, {
|
|
5028
5046
|
length: 256;
|
|
5029
5047
|
}>;
|
|
5030
|
-
|
|
5031
|
-
name: "
|
|
5032
|
-
tableName: "
|
|
5048
|
+
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
5049
|
+
name: "tenant_id";
|
|
5050
|
+
tableName: "evaluation_run_config";
|
|
5033
5051
|
dataType: "string";
|
|
5034
5052
|
columnType: "PgVarchar";
|
|
5035
5053
|
data: string;
|
|
@@ -5046,12 +5064,93 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5046
5064
|
}, {}, {
|
|
5047
5065
|
length: 256;
|
|
5048
5066
|
}>;
|
|
5049
|
-
|
|
5050
|
-
name: "
|
|
5051
|
-
tableName: "
|
|
5067
|
+
id: drizzle_orm_pg_core208.PgColumn<{
|
|
5068
|
+
name: "id";
|
|
5069
|
+
tableName: "evaluation_run_config";
|
|
5070
|
+
dataType: "string";
|
|
5071
|
+
columnType: "PgVarchar";
|
|
5072
|
+
data: string;
|
|
5073
|
+
driverParam: string;
|
|
5074
|
+
notNull: true;
|
|
5075
|
+
hasDefault: false;
|
|
5076
|
+
isPrimaryKey: false;
|
|
5077
|
+
isAutoincrement: false;
|
|
5078
|
+
hasRuntimeDefault: false;
|
|
5079
|
+
enumValues: [string, ...string[]];
|
|
5080
|
+
baseColumn: never;
|
|
5081
|
+
identity: undefined;
|
|
5082
|
+
generated: undefined;
|
|
5083
|
+
}, {}, {
|
|
5084
|
+
length: 256;
|
|
5085
|
+
}>;
|
|
5086
|
+
};
|
|
5087
|
+
dialect: "pg";
|
|
5088
|
+
}>;
|
|
5089
|
+
/**
|
|
5090
|
+
* Configuration for a one-off evaluation job to be executed.
|
|
5091
|
+
* Example: "Evaluate all conversations in datasetRunId 1234"
|
|
5092
|
+
*
|
|
5093
|
+
* Created manually or by external systems. Contains job-specific filters like
|
|
5094
|
+
* datasetRunIds, conversationIds, and absolute dateRange.
|
|
5095
|
+
*
|
|
5096
|
+
* one to many relationship with evaluationRun
|
|
5097
|
+
*
|
|
5098
|
+
* When a job completes, an evaluationRun is created with evaluationJobConfigId set.
|
|
5099
|
+
*
|
|
5100
|
+
* Includes: jobFilters (specific filters for this job execution: datasetRunIds, conversationIds,
|
|
5101
|
+
* dateRange with absolute dates), and timestamps
|
|
5102
|
+
*/
|
|
5103
|
+
declare const evaluationJobConfig: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
5104
|
+
name: "evaluation_job_config";
|
|
5105
|
+
schema: undefined;
|
|
5106
|
+
columns: {
|
|
5107
|
+
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
5108
|
+
name: "created_at";
|
|
5109
|
+
tableName: "evaluation_job_config";
|
|
5110
|
+
dataType: "string";
|
|
5111
|
+
columnType: "PgTimestampString";
|
|
5112
|
+
data: string;
|
|
5113
|
+
driverParam: string;
|
|
5114
|
+
notNull: true;
|
|
5115
|
+
hasDefault: true;
|
|
5116
|
+
isPrimaryKey: false;
|
|
5117
|
+
isAutoincrement: false;
|
|
5118
|
+
hasRuntimeDefault: false;
|
|
5119
|
+
enumValues: undefined;
|
|
5120
|
+
baseColumn: never;
|
|
5121
|
+
identity: undefined;
|
|
5122
|
+
generated: undefined;
|
|
5123
|
+
}, {}, {}>;
|
|
5124
|
+
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
5125
|
+
name: "updated_at";
|
|
5126
|
+
tableName: "evaluation_job_config";
|
|
5127
|
+
dataType: "string";
|
|
5128
|
+
columnType: "PgTimestampString";
|
|
5129
|
+
data: string;
|
|
5130
|
+
driverParam: string;
|
|
5131
|
+
notNull: true;
|
|
5132
|
+
hasDefault: true;
|
|
5133
|
+
isPrimaryKey: false;
|
|
5134
|
+
isAutoincrement: false;
|
|
5135
|
+
hasRuntimeDefault: false;
|
|
5136
|
+
enumValues: undefined;
|
|
5137
|
+
baseColumn: never;
|
|
5138
|
+
identity: undefined;
|
|
5139
|
+
generated: undefined;
|
|
5140
|
+
}, {}, {}>;
|
|
5141
|
+
jobFilters: drizzle_orm_pg_core208.PgColumn<{
|
|
5142
|
+
name: "job_filters";
|
|
5143
|
+
tableName: "evaluation_job_config";
|
|
5052
5144
|
dataType: "json";
|
|
5053
5145
|
columnType: "PgJsonb";
|
|
5054
|
-
data:
|
|
5146
|
+
data: Filter<{
|
|
5147
|
+
datasetRunIds?: string[] | undefined;
|
|
5148
|
+
conversationIds?: string[] | undefined;
|
|
5149
|
+
dateRange?: {
|
|
5150
|
+
startDate: string;
|
|
5151
|
+
endDate: string;
|
|
5152
|
+
} | undefined;
|
|
5153
|
+
}>;
|
|
5055
5154
|
driverParam: unknown;
|
|
5056
5155
|
notNull: false;
|
|
5057
5156
|
hasDefault: false;
|
|
@@ -5063,16 +5162,23 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5063
5162
|
identity: undefined;
|
|
5064
5163
|
generated: undefined;
|
|
5065
5164
|
}, {}, {
|
|
5066
|
-
$type:
|
|
5165
|
+
$type: Filter<{
|
|
5166
|
+
datasetRunIds?: string[] | undefined;
|
|
5167
|
+
conversationIds?: string[] | undefined;
|
|
5168
|
+
dateRange?: {
|
|
5169
|
+
startDate: string;
|
|
5170
|
+
endDate: string;
|
|
5171
|
+
} | undefined;
|
|
5172
|
+
}>;
|
|
5067
5173
|
}>;
|
|
5068
|
-
|
|
5069
|
-
name: "
|
|
5070
|
-
tableName: "
|
|
5174
|
+
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
5175
|
+
name: "project_id";
|
|
5176
|
+
tableName: "evaluation_job_config";
|
|
5071
5177
|
dataType: "string";
|
|
5072
5178
|
columnType: "PgVarchar";
|
|
5073
5179
|
data: string;
|
|
5074
5180
|
driverParam: string;
|
|
5075
|
-
notNull:
|
|
5181
|
+
notNull: true;
|
|
5076
5182
|
hasDefault: false;
|
|
5077
5183
|
isPrimaryKey: false;
|
|
5078
5184
|
isAutoincrement: false;
|
|
@@ -5084,14 +5190,14 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5084
5190
|
}, {}, {
|
|
5085
5191
|
length: 256;
|
|
5086
5192
|
}>;
|
|
5087
|
-
|
|
5088
|
-
name: "
|
|
5089
|
-
tableName: "
|
|
5193
|
+
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
5194
|
+
name: "tenant_id";
|
|
5195
|
+
tableName: "evaluation_job_config";
|
|
5090
5196
|
dataType: "string";
|
|
5091
5197
|
columnType: "PgVarchar";
|
|
5092
5198
|
data: string;
|
|
5093
5199
|
driverParam: string;
|
|
5094
|
-
notNull:
|
|
5200
|
+
notNull: true;
|
|
5095
5201
|
hasDefault: false;
|
|
5096
5202
|
isPrimaryKey: false;
|
|
5097
5203
|
isAutoincrement: false;
|
|
@@ -5103,14 +5209,100 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5103
5209
|
}, {}, {
|
|
5104
5210
|
length: 256;
|
|
5105
5211
|
}>;
|
|
5106
|
-
|
|
5107
|
-
name: "
|
|
5108
|
-
tableName: "
|
|
5212
|
+
id: drizzle_orm_pg_core208.PgColumn<{
|
|
5213
|
+
name: "id";
|
|
5214
|
+
tableName: "evaluation_job_config";
|
|
5109
5215
|
dataType: "string";
|
|
5110
5216
|
columnType: "PgVarchar";
|
|
5111
5217
|
data: string;
|
|
5112
5218
|
driverParam: string;
|
|
5113
|
-
notNull:
|
|
5219
|
+
notNull: true;
|
|
5220
|
+
hasDefault: false;
|
|
5221
|
+
isPrimaryKey: false;
|
|
5222
|
+
isAutoincrement: false;
|
|
5223
|
+
hasRuntimeDefault: false;
|
|
5224
|
+
enumValues: [string, ...string[]];
|
|
5225
|
+
baseColumn: never;
|
|
5226
|
+
identity: undefined;
|
|
5227
|
+
generated: undefined;
|
|
5228
|
+
}, {}, {
|
|
5229
|
+
length: 256;
|
|
5230
|
+
}>;
|
|
5231
|
+
};
|
|
5232
|
+
dialect: "pg";
|
|
5233
|
+
}>;
|
|
5234
|
+
/**
|
|
5235
|
+
* Links evaluators to evaluation job configs. Many-to-many relationship that
|
|
5236
|
+
* attaches evaluators to an evaluation job configuration. Each evaluator must
|
|
5237
|
+
* have its own model configuration defined.
|
|
5238
|
+
*
|
|
5239
|
+
* Includes: evaluationJobConfigId, evaluatorId, and timestamps
|
|
5240
|
+
*/
|
|
5241
|
+
declare const evaluationJobConfigEvaluatorRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
5242
|
+
name: "evaluation_job_config_evaluator_relations";
|
|
5243
|
+
schema: undefined;
|
|
5244
|
+
columns: {
|
|
5245
|
+
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
5246
|
+
name: "created_at";
|
|
5247
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5248
|
+
dataType: "string";
|
|
5249
|
+
columnType: "PgTimestampString";
|
|
5250
|
+
data: string;
|
|
5251
|
+
driverParam: string;
|
|
5252
|
+
notNull: true;
|
|
5253
|
+
hasDefault: true;
|
|
5254
|
+
isPrimaryKey: false;
|
|
5255
|
+
isAutoincrement: false;
|
|
5256
|
+
hasRuntimeDefault: false;
|
|
5257
|
+
enumValues: undefined;
|
|
5258
|
+
baseColumn: never;
|
|
5259
|
+
identity: undefined;
|
|
5260
|
+
generated: undefined;
|
|
5261
|
+
}, {}, {}>;
|
|
5262
|
+
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
5263
|
+
name: "updated_at";
|
|
5264
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5265
|
+
dataType: "string";
|
|
5266
|
+
columnType: "PgTimestampString";
|
|
5267
|
+
data: string;
|
|
5268
|
+
driverParam: string;
|
|
5269
|
+
notNull: true;
|
|
5270
|
+
hasDefault: true;
|
|
5271
|
+
isPrimaryKey: false;
|
|
5272
|
+
isAutoincrement: false;
|
|
5273
|
+
hasRuntimeDefault: false;
|
|
5274
|
+
enumValues: undefined;
|
|
5275
|
+
baseColumn: never;
|
|
5276
|
+
identity: undefined;
|
|
5277
|
+
generated: undefined;
|
|
5278
|
+
}, {}, {}>;
|
|
5279
|
+
evaluationJobConfigId: drizzle_orm_pg_core208.PgColumn<{
|
|
5280
|
+
name: "evaluation_job_config_id";
|
|
5281
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5282
|
+
dataType: "string";
|
|
5283
|
+
columnType: "PgVarchar";
|
|
5284
|
+
data: string;
|
|
5285
|
+
driverParam: string;
|
|
5286
|
+
notNull: true;
|
|
5287
|
+
hasDefault: false;
|
|
5288
|
+
isPrimaryKey: false;
|
|
5289
|
+
isAutoincrement: false;
|
|
5290
|
+
hasRuntimeDefault: false;
|
|
5291
|
+
enumValues: [string, ...string[]];
|
|
5292
|
+
baseColumn: never;
|
|
5293
|
+
identity: undefined;
|
|
5294
|
+
generated: undefined;
|
|
5295
|
+
}, {}, {
|
|
5296
|
+
length: 256;
|
|
5297
|
+
}>;
|
|
5298
|
+
evaluatorId: drizzle_orm_pg_core208.PgColumn<{
|
|
5299
|
+
name: "evaluator_id";
|
|
5300
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5301
|
+
dataType: "string";
|
|
5302
|
+
columnType: "PgVarchar";
|
|
5303
|
+
data: string;
|
|
5304
|
+
driverParam: string;
|
|
5305
|
+
notNull: true;
|
|
5114
5306
|
hasDefault: false;
|
|
5115
5307
|
isPrimaryKey: false;
|
|
5116
5308
|
isAutoincrement: false;
|
|
@@ -5124,7 +5316,7 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5124
5316
|
}>;
|
|
5125
5317
|
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
5126
5318
|
name: "project_id";
|
|
5127
|
-
tableName: "
|
|
5319
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5128
5320
|
dataType: "string";
|
|
5129
5321
|
columnType: "PgVarchar";
|
|
5130
5322
|
data: string;
|
|
@@ -5143,7 +5335,7 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5143
5335
|
}>;
|
|
5144
5336
|
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
5145
5337
|
name: "tenant_id";
|
|
5146
|
-
tableName: "
|
|
5338
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5147
5339
|
dataType: "string";
|
|
5148
5340
|
columnType: "PgVarchar";
|
|
5149
5341
|
data: string;
|
|
@@ -5162,7 +5354,7 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5162
5354
|
}>;
|
|
5163
5355
|
id: drizzle_orm_pg_core208.PgColumn<{
|
|
5164
5356
|
name: "id";
|
|
5165
|
-
tableName: "
|
|
5357
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5166
5358
|
dataType: "string";
|
|
5167
5359
|
columnType: "PgVarchar";
|
|
5168
5360
|
data: string;
|
|
@@ -5182,14 +5374,6 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5182
5374
|
};
|
|
5183
5375
|
dialect: "pg";
|
|
5184
5376
|
}>;
|
|
5185
|
-
declare const tasksRelations: drizzle_orm20.Relations<"tasks", {
|
|
5186
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5187
|
-
parentRelations: drizzle_orm20.Many<"task_relations">;
|
|
5188
|
-
childRelations: drizzle_orm20.Many<"task_relations">;
|
|
5189
|
-
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5190
|
-
messages: drizzle_orm20.Many<"messages">;
|
|
5191
|
-
ledgerArtifacts: drizzle_orm20.Many<"ledger_artifacts">;
|
|
5192
|
-
}>;
|
|
5193
5377
|
declare const projectsRelations: drizzle_orm20.Relations<"projects", {
|
|
5194
5378
|
subAgents: drizzle_orm20.Many<"sub_agents">;
|
|
5195
5379
|
agents: drizzle_orm20.Many<"agent">;
|
|
@@ -5197,33 +5381,19 @@ declare const projectsRelations: drizzle_orm20.Relations<"projects", {
|
|
|
5197
5381
|
functions: drizzle_orm20.Many<"functions">;
|
|
5198
5382
|
contextConfigs: drizzle_orm20.Many<"context_configs">;
|
|
5199
5383
|
externalAgents: drizzle_orm20.Many<"external_agents">;
|
|
5200
|
-
conversations: drizzle_orm20.Many<"conversations">;
|
|
5201
|
-
tasks: drizzle_orm20.Many<"tasks">;
|
|
5202
5384
|
dataComponents: drizzle_orm20.Many<"data_components">;
|
|
5203
5385
|
artifactComponents: drizzle_orm20.Many<"artifact_components">;
|
|
5204
|
-
ledgerArtifacts: drizzle_orm20.Many<"ledger_artifacts">;
|
|
5205
5386
|
credentialReferences: drizzle_orm20.Many<"credential_references">;
|
|
5206
5387
|
}>;
|
|
5207
|
-
declare const taskRelationsRelations: drizzle_orm20.Relations<"task_relations", {
|
|
5208
|
-
parentTask: drizzle_orm20.One<"tasks", true>;
|
|
5209
|
-
childTask: drizzle_orm20.One<"tasks", true>;
|
|
5210
|
-
}>;
|
|
5211
5388
|
declare const contextConfigsRelations: drizzle_orm20.Relations<"context_configs", {
|
|
5212
5389
|
project: drizzle_orm20.One<"projects", true>;
|
|
5213
5390
|
agents: drizzle_orm20.Many<"agent">;
|
|
5214
|
-
cache: drizzle_orm20.Many<"context_cache">;
|
|
5215
|
-
}>;
|
|
5216
|
-
declare const contextCacheRelations: drizzle_orm20.Relations<"context_cache", {
|
|
5217
|
-
contextConfig: drizzle_orm20.One<"context_configs", true>;
|
|
5218
5391
|
}>;
|
|
5219
5392
|
declare const subAgentsRelations: drizzle_orm20.Relations<"sub_agents", {
|
|
5220
5393
|
project: drizzle_orm20.One<"projects", true>;
|
|
5221
|
-
tasks: drizzle_orm20.Many<"tasks">;
|
|
5222
5394
|
defaultForAgents: drizzle_orm20.Many<"agent">;
|
|
5223
5395
|
sourceRelations: drizzle_orm20.Many<"sub_agent_relations">;
|
|
5224
5396
|
targetRelations: drizzle_orm20.Many<"sub_agent_relations">;
|
|
5225
|
-
sentMessages: drizzle_orm20.Many<"messages">;
|
|
5226
|
-
receivedMessages: drizzle_orm20.Many<"messages">;
|
|
5227
5397
|
toolRelations: drizzle_orm20.Many<"sub_agent_tool_relations">;
|
|
5228
5398
|
functionToolRelations: drizzle_orm20.Many<"sub_agent_function_tool_relations">;
|
|
5229
5399
|
dataComponentRelations: drizzle_orm20.Many<"sub_agent_data_components">;
|
|
@@ -5240,10 +5410,6 @@ declare const externalAgentsRelations: drizzle_orm20.Relations<"external_agents"
|
|
|
5240
5410
|
subAgentExternalAgentRelations: drizzle_orm20.Many<"sub_agent_external_agent_relations">;
|
|
5241
5411
|
credentialReference: drizzle_orm20.One<"credential_references", false>;
|
|
5242
5412
|
}>;
|
|
5243
|
-
declare const apiKeysRelations: drizzle_orm20.Relations<"api_keys", {
|
|
5244
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5245
|
-
agent: drizzle_orm20.One<"agent", true>;
|
|
5246
|
-
}>;
|
|
5247
5413
|
declare const agentToolRelationsRelations: drizzle_orm20.Relations<"sub_agent_tool_relations", {
|
|
5248
5414
|
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5249
5415
|
tool: drizzle_orm20.One<"tools", true>;
|
|
@@ -5258,23 +5424,6 @@ declare const toolsRelations: drizzle_orm20.Relations<"tools", {
|
|
|
5258
5424
|
subAgentRelations: drizzle_orm20.Many<"sub_agent_tool_relations">;
|
|
5259
5425
|
credentialReference: drizzle_orm20.One<"credential_references", false>;
|
|
5260
5426
|
}>;
|
|
5261
|
-
declare const conversationsRelations: drizzle_orm20.Relations<"conversations", {
|
|
5262
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5263
|
-
messages: drizzle_orm20.Many<"messages">;
|
|
5264
|
-
activeSubAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5265
|
-
}>;
|
|
5266
|
-
declare const messagesRelations: drizzle_orm20.Relations<"messages", {
|
|
5267
|
-
conversation: drizzle_orm20.One<"conversations", true>;
|
|
5268
|
-
fromSubAgent: drizzle_orm20.One<"sub_agents", false>;
|
|
5269
|
-
toSubAgent: drizzle_orm20.One<"sub_agents", false>;
|
|
5270
|
-
fromTeamAgent: drizzle_orm20.One<"agent", false>;
|
|
5271
|
-
toTeamAgent: drizzle_orm20.One<"agent", false>;
|
|
5272
|
-
fromExternalAgent: drizzle_orm20.One<"external_agents", false>;
|
|
5273
|
-
toExternalAgent: drizzle_orm20.One<"external_agents", false>;
|
|
5274
|
-
task: drizzle_orm20.One<"tasks", false>;
|
|
5275
|
-
parentMessage: drizzle_orm20.One<"messages", false>;
|
|
5276
|
-
childMessages: drizzle_orm20.Many<"messages">;
|
|
5277
|
-
}>;
|
|
5278
5427
|
declare const artifactComponentsRelations: drizzle_orm20.Relations<"artifact_components", {
|
|
5279
5428
|
project: drizzle_orm20.One<"projects", true>;
|
|
5280
5429
|
subAgentRelations: drizzle_orm20.Many<"sub_agent_artifact_components">;
|
|
@@ -5291,10 +5440,6 @@ declare const subAgentDataComponentsRelations: drizzle_orm20.Relations<"sub_agen
|
|
|
5291
5440
|
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5292
5441
|
dataComponent: drizzle_orm20.One<"data_components", true>;
|
|
5293
5442
|
}>;
|
|
5294
|
-
declare const ledgerArtifactsRelations: drizzle_orm20.Relations<"ledger_artifacts", {
|
|
5295
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5296
|
-
task: drizzle_orm20.One<"tasks", true>;
|
|
5297
|
-
}>;
|
|
5298
5443
|
declare const functionsRelations: drizzle_orm20.Relations<"functions", {
|
|
5299
5444
|
functionTools: drizzle_orm20.Many<"function_tools">;
|
|
5300
5445
|
project: drizzle_orm20.One<"projects", true>;
|
|
@@ -5322,5 +5467,148 @@ declare const subAgentTeamAgentRelationsRelations: drizzle_orm20.Relations<"sub_
|
|
|
5322
5467
|
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5323
5468
|
targetAgent: drizzle_orm20.One<"agent", true>;
|
|
5324
5469
|
}>;
|
|
5470
|
+
/**
|
|
5471
|
+
* Links agents to dataset run configs. Many-to-many relationship that
|
|
5472
|
+
* allows one dataset run config to use multiple agents, and one agent to be used
|
|
5473
|
+
* by multiple dataset run configs.
|
|
5474
|
+
*
|
|
5475
|
+
* Includes: datasetRunConfigId, agentId, and timestamps
|
|
5476
|
+
*/
|
|
5477
|
+
declare const datasetRunConfigAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
5478
|
+
name: "dataset_run_config_agent_relations";
|
|
5479
|
+
schema: undefined;
|
|
5480
|
+
columns: {
|
|
5481
|
+
createdAt: drizzle_orm_pg_core208.PgColumn<{
|
|
5482
|
+
name: "created_at";
|
|
5483
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5484
|
+
dataType: "string";
|
|
5485
|
+
columnType: "PgTimestampString";
|
|
5486
|
+
data: string;
|
|
5487
|
+
driverParam: string;
|
|
5488
|
+
notNull: true;
|
|
5489
|
+
hasDefault: true;
|
|
5490
|
+
isPrimaryKey: false;
|
|
5491
|
+
isAutoincrement: false;
|
|
5492
|
+
hasRuntimeDefault: false;
|
|
5493
|
+
enumValues: undefined;
|
|
5494
|
+
baseColumn: never;
|
|
5495
|
+
identity: undefined;
|
|
5496
|
+
generated: undefined;
|
|
5497
|
+
}, {}, {}>;
|
|
5498
|
+
updatedAt: drizzle_orm_pg_core208.PgColumn<{
|
|
5499
|
+
name: "updated_at";
|
|
5500
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5501
|
+
dataType: "string";
|
|
5502
|
+
columnType: "PgTimestampString";
|
|
5503
|
+
data: string;
|
|
5504
|
+
driverParam: string;
|
|
5505
|
+
notNull: true;
|
|
5506
|
+
hasDefault: true;
|
|
5507
|
+
isPrimaryKey: false;
|
|
5508
|
+
isAutoincrement: false;
|
|
5509
|
+
hasRuntimeDefault: false;
|
|
5510
|
+
enumValues: undefined;
|
|
5511
|
+
baseColumn: never;
|
|
5512
|
+
identity: undefined;
|
|
5513
|
+
generated: undefined;
|
|
5514
|
+
}, {}, {}>;
|
|
5515
|
+
datasetRunConfigId: drizzle_orm_pg_core208.PgColumn<{
|
|
5516
|
+
name: "dataset_run_config_id";
|
|
5517
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5518
|
+
dataType: "string";
|
|
5519
|
+
columnType: "PgVarchar";
|
|
5520
|
+
data: string;
|
|
5521
|
+
driverParam: string;
|
|
5522
|
+
notNull: true;
|
|
5523
|
+
hasDefault: false;
|
|
5524
|
+
isPrimaryKey: false;
|
|
5525
|
+
isAutoincrement: false;
|
|
5526
|
+
hasRuntimeDefault: false;
|
|
5527
|
+
enumValues: [string, ...string[]];
|
|
5528
|
+
baseColumn: never;
|
|
5529
|
+
identity: undefined;
|
|
5530
|
+
generated: undefined;
|
|
5531
|
+
}, {}, {
|
|
5532
|
+
length: 256;
|
|
5533
|
+
}>;
|
|
5534
|
+
agentId: drizzle_orm_pg_core208.PgColumn<{
|
|
5535
|
+
name: "agent_id";
|
|
5536
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5537
|
+
dataType: "string";
|
|
5538
|
+
columnType: "PgVarchar";
|
|
5539
|
+
data: string;
|
|
5540
|
+
driverParam: string;
|
|
5541
|
+
notNull: true;
|
|
5542
|
+
hasDefault: false;
|
|
5543
|
+
isPrimaryKey: false;
|
|
5544
|
+
isAutoincrement: false;
|
|
5545
|
+
hasRuntimeDefault: false;
|
|
5546
|
+
enumValues: [string, ...string[]];
|
|
5547
|
+
baseColumn: never;
|
|
5548
|
+
identity: undefined;
|
|
5549
|
+
generated: undefined;
|
|
5550
|
+
}, {}, {
|
|
5551
|
+
length: 256;
|
|
5552
|
+
}>;
|
|
5553
|
+
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
5554
|
+
name: "project_id";
|
|
5555
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5556
|
+
dataType: "string";
|
|
5557
|
+
columnType: "PgVarchar";
|
|
5558
|
+
data: string;
|
|
5559
|
+
driverParam: string;
|
|
5560
|
+
notNull: true;
|
|
5561
|
+
hasDefault: false;
|
|
5562
|
+
isPrimaryKey: false;
|
|
5563
|
+
isAutoincrement: false;
|
|
5564
|
+
hasRuntimeDefault: false;
|
|
5565
|
+
enumValues: [string, ...string[]];
|
|
5566
|
+
baseColumn: never;
|
|
5567
|
+
identity: undefined;
|
|
5568
|
+
generated: undefined;
|
|
5569
|
+
}, {}, {
|
|
5570
|
+
length: 256;
|
|
5571
|
+
}>;
|
|
5572
|
+
tenantId: drizzle_orm_pg_core208.PgColumn<{
|
|
5573
|
+
name: "tenant_id";
|
|
5574
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5575
|
+
dataType: "string";
|
|
5576
|
+
columnType: "PgVarchar";
|
|
5577
|
+
data: string;
|
|
5578
|
+
driverParam: string;
|
|
5579
|
+
notNull: true;
|
|
5580
|
+
hasDefault: false;
|
|
5581
|
+
isPrimaryKey: false;
|
|
5582
|
+
isAutoincrement: false;
|
|
5583
|
+
hasRuntimeDefault: false;
|
|
5584
|
+
enumValues: [string, ...string[]];
|
|
5585
|
+
baseColumn: never;
|
|
5586
|
+
identity: undefined;
|
|
5587
|
+
generated: undefined;
|
|
5588
|
+
}, {}, {
|
|
5589
|
+
length: 256;
|
|
5590
|
+
}>;
|
|
5591
|
+
id: drizzle_orm_pg_core208.PgColumn<{
|
|
5592
|
+
name: "id";
|
|
5593
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5594
|
+
dataType: "string";
|
|
5595
|
+
columnType: "PgVarchar";
|
|
5596
|
+
data: string;
|
|
5597
|
+
driverParam: string;
|
|
5598
|
+
notNull: true;
|
|
5599
|
+
hasDefault: false;
|
|
5600
|
+
isPrimaryKey: false;
|
|
5601
|
+
isAutoincrement: false;
|
|
5602
|
+
hasRuntimeDefault: false;
|
|
5603
|
+
enumValues: [string, ...string[]];
|
|
5604
|
+
baseColumn: never;
|
|
5605
|
+
identity: undefined;
|
|
5606
|
+
generated: undefined;
|
|
5607
|
+
}, {}, {
|
|
5608
|
+
length: 256;
|
|
5609
|
+
}>;
|
|
5610
|
+
};
|
|
5611
|
+
dialect: "pg";
|
|
5612
|
+
}>;
|
|
5325
5613
|
//#endregion
|
|
5326
|
-
export {
|
|
5614
|
+
export { agentRelations, agentToolRelationsRelations, agents, artifactComponents, artifactComponentsRelations, contextConfigs, contextConfigsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, dataset, datasetItem, datasetRunConfig, datasetRunConfigAgentRelations, evaluationJobConfig, evaluationJobConfigEvaluatorRelations, evaluationRunConfig, evaluationRunConfigEvaluationSuiteConfigRelations, evaluationSuiteConfig, evaluationSuiteConfigEvaluatorRelations, evaluator, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, manage_schema_d_exports, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentExternalAgentRelations, subAgentExternalAgentRelationsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentTeamAgentRelations, subAgentTeamAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, tools, toolsRelations, triggers };
|