@inkeep/agents-core 0.41.2 → 0.42.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 +55 -1
- package/dist/auth/authz/client.d.ts +81 -0
- package/dist/auth/authz/client.js +189 -0
- package/dist/auth/authz/config.d.ts +76 -0
- package/dist/auth/authz/config.js +76 -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 +57 -0
- package/dist/auth/authz/permissions.js +83 -0
- package/dist/auth/authz/sync.d.ts +85 -0
- package/dist/auth/authz/sync.js +237 -0
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/auth/permissions.js +2 -181
- package/dist/client-exports.d.ts +8 -3
- package/dist/client-exports.js +3 -2
- package/dist/constants/context-breakdown.d.ts +61 -0
- package/dist/constants/context-breakdown.js +124 -0
- 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.js +0 -1
- package/dist/context/index.d.ts +1 -5
- package/dist/context/index.js +1 -5
- 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} +205 -7
- package/dist/data-access/{agents.d.ts → manage/agents.d.ts} +23 -22
- package/dist/data-access/{agents.js → manage/agents.js} +52 -7
- package/dist/data-access/{artifactComponents.d.ts → manage/artifactComponents.d.ts} +21 -21
- package/dist/data-access/{artifactComponents.js → manage/artifactComponents.js} +5 -5
- package/dist/data-access/{contextConfigs.d.ts → manage/contextConfigs.d.ts} +14 -14
- 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} +20 -20
- 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/{functionTools.d.ts → manage/functionTools.d.ts} +65 -15
- package/dist/data-access/{functionTools.js → manage/functionTools.js} +90 -8
- 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} +19 -19
- package/dist/data-access/{subAgentExternalAgentRelations.js → manage/subAgentExternalAgentRelations.js} +2 -2
- package/dist/data-access/{subAgentRelations.d.ts → manage/subAgentRelations.d.ts} +29 -29
- package/dist/data-access/{subAgentRelations.js → manage/subAgentRelations.js} +3 -3
- package/dist/data-access/{subAgentTeamAgentRelations.d.ts → manage/subAgentTeamAgentRelations.d.ts} +19 -19
- package/dist/data-access/{subAgentTeamAgentRelations.js → manage/subAgentTeamAgentRelations.js} +2 -2
- package/dist/data-access/{subAgents.d.ts → manage/subAgents.d.ts} +13 -13
- package/dist/data-access/{subAgents.js → manage/subAgents.js} +4 -4
- package/dist/data-access/{tools.d.ts → manage/tools.d.ts} +26 -19
- package/dist/data-access/{tools.js → manage/tools.js} +57 -35
- package/dist/data-access/manage/triggers.d.ts +80 -0
- package/dist/data-access/manage/triggers.js +81 -0
- package/dist/data-access/{apiKeys.d.ts → runtime/apiKeys.d.ts} +17 -17
- 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} +68 -19
- 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} +15 -15
- 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} +15 -3
- 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} +1459 -1285
- package/dist/db/{schema.js → manage/manage-schema.js} +433 -341
- 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/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 +78 -0
- package/dist/dolt/migrate-dolt.d.ts +1 -0
- package/dist/dolt/migrate-dolt.js +22 -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 +134 -0
- package/dist/dolt/schema-sync.js +246 -0
- package/dist/env.d.ts +6 -4
- package/dist/env.js +3 -2
- package/dist/index.d.ts +71 -44
- package/dist/index.js +74 -47
- package/dist/types/entities.d.ts +81 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/types/utility.d.ts +45 -4
- package/dist/utils/JsonTransformer.d.ts +44 -0
- package/dist/utils/JsonTransformer.js +112 -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 +7 -3
- package/dist/utils/index.js +7 -3
- package/dist/utils/internal-service-auth.d.ts +79 -0
- package/dist/utils/internal-service-auth.js +140 -0
- package/dist/utils/jwt-helpers.d.ts +56 -0
- package/dist/utils/jwt-helpers.js +90 -0
- package/dist/utils/service-token-auth.d.ts +9 -27
- package/dist/utils/service-token-auth.js +48 -96
- 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.js +23 -23
- package/dist/utils/trigger-auth.d.ts +62 -0
- package/dist/utils/trigger-auth.js +125 -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 +4 -3
- package/dist/validation/index.js +3 -2
- package/dist/validation/schemas.d.ts +17647 -4789
- package/dist/validation/schemas.js +328 -11
- 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/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/_journal.json +27 -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 +48 -15
- 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/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,18 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import * as drizzle_orm20 from "drizzle-orm";
|
|
5
|
-
import * as drizzle_orm_pg_core208 from "drizzle-orm/pg-core";
|
|
1
|
+
import { ContextFetchDefinition, ConversationHistoryConfig, DatasetItemExpectedOutput, DatasetItemInput, EvaluationSuiteFilterCriteria, Filter, PassCriteria, ToolMcpConfig, ToolServerCapabilities } from "../../types/utility.js";
|
|
2
|
+
import * as drizzle_orm37 from "drizzle-orm";
|
|
3
|
+
import * as drizzle_orm_pg_core1458 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
|
-
declare const projects:
|
|
9
|
+
declare const projects: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
12
10
|
name: "projects";
|
|
13
11
|
schema: undefined;
|
|
14
12
|
columns: {
|
|
15
|
-
createdAt:
|
|
13
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
16
14
|
name: "created_at";
|
|
17
15
|
tableName: "projects";
|
|
18
16
|
dataType: "string";
|
|
@@ -29,7 +27,7 @@ declare const projects: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
29
27
|
identity: undefined;
|
|
30
28
|
generated: undefined;
|
|
31
29
|
}, {}, {}>;
|
|
32
|
-
updatedAt:
|
|
30
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
33
31
|
name: "updated_at";
|
|
34
32
|
tableName: "projects";
|
|
35
33
|
dataType: "string";
|
|
@@ -46,7 +44,7 @@ declare const projects: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
46
44
|
identity: undefined;
|
|
47
45
|
generated: undefined;
|
|
48
46
|
}, {}, {}>;
|
|
49
|
-
models:
|
|
47
|
+
models: drizzle_orm_pg_core1458.PgColumn<{
|
|
50
48
|
name: "models";
|
|
51
49
|
tableName: "projects";
|
|
52
50
|
dataType: "json";
|
|
@@ -91,7 +89,7 @@ declare const projects: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
91
89
|
} | undefined;
|
|
92
90
|
};
|
|
93
91
|
}>;
|
|
94
|
-
stopWhen:
|
|
92
|
+
stopWhen: drizzle_orm_pg_core1458.PgColumn<{
|
|
95
93
|
name: "stop_when";
|
|
96
94
|
tableName: "projects";
|
|
97
95
|
dataType: "json";
|
|
@@ -116,7 +114,7 @@ declare const projects: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
116
114
|
stepCountIs?: number | undefined;
|
|
117
115
|
};
|
|
118
116
|
}>;
|
|
119
|
-
name:
|
|
117
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
120
118
|
name: "name";
|
|
121
119
|
tableName: "projects";
|
|
122
120
|
dataType: "string";
|
|
@@ -135,7 +133,7 @@ declare const projects: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
135
133
|
}, {}, {
|
|
136
134
|
length: 256;
|
|
137
135
|
}>;
|
|
138
|
-
description:
|
|
136
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
139
137
|
name: "description";
|
|
140
138
|
tableName: "projects";
|
|
141
139
|
dataType: "string";
|
|
@@ -152,7 +150,7 @@ declare const projects: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
152
150
|
identity: undefined;
|
|
153
151
|
generated: undefined;
|
|
154
152
|
}, {}, {}>;
|
|
155
|
-
tenantId:
|
|
153
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
156
154
|
name: "tenant_id";
|
|
157
155
|
tableName: "projects";
|
|
158
156
|
dataType: "string";
|
|
@@ -171,7 +169,7 @@ declare const projects: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
171
169
|
}, {}, {
|
|
172
170
|
length: 256;
|
|
173
171
|
}>;
|
|
174
|
-
id:
|
|
172
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
175
173
|
name: "id";
|
|
176
174
|
tableName: "projects";
|
|
177
175
|
dataType: "string";
|
|
@@ -193,11 +191,11 @@ declare const projects: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
193
191
|
};
|
|
194
192
|
dialect: "pg";
|
|
195
193
|
}>;
|
|
196
|
-
declare const agents:
|
|
194
|
+
declare const agents: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
197
195
|
name: "agent";
|
|
198
196
|
schema: undefined;
|
|
199
197
|
columns: {
|
|
200
|
-
createdAt:
|
|
198
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
201
199
|
name: "created_at";
|
|
202
200
|
tableName: "agent";
|
|
203
201
|
dataType: "string";
|
|
@@ -214,7 +212,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
214
212
|
identity: undefined;
|
|
215
213
|
generated: undefined;
|
|
216
214
|
}, {}, {}>;
|
|
217
|
-
updatedAt:
|
|
215
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
218
216
|
name: "updated_at";
|
|
219
217
|
tableName: "agent";
|
|
220
218
|
dataType: "string";
|
|
@@ -231,7 +229,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
231
229
|
identity: undefined;
|
|
232
230
|
generated: undefined;
|
|
233
231
|
}, {}, {}>;
|
|
234
|
-
name:
|
|
232
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
235
233
|
name: "name";
|
|
236
234
|
tableName: "agent";
|
|
237
235
|
dataType: "string";
|
|
@@ -250,7 +248,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
250
248
|
}, {}, {
|
|
251
249
|
length: 256;
|
|
252
250
|
}>;
|
|
253
|
-
description:
|
|
251
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
254
252
|
name: "description";
|
|
255
253
|
tableName: "agent";
|
|
256
254
|
dataType: "string";
|
|
@@ -267,7 +265,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
267
265
|
identity: undefined;
|
|
268
266
|
generated: undefined;
|
|
269
267
|
}, {}, {}>;
|
|
270
|
-
defaultSubAgentId:
|
|
268
|
+
defaultSubAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
271
269
|
name: "default_sub_agent_id";
|
|
272
270
|
tableName: "agent";
|
|
273
271
|
dataType: "string";
|
|
@@ -286,7 +284,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
286
284
|
}, {}, {
|
|
287
285
|
length: 256;
|
|
288
286
|
}>;
|
|
289
|
-
contextConfigId:
|
|
287
|
+
contextConfigId: drizzle_orm_pg_core1458.PgColumn<{
|
|
290
288
|
name: "context_config_id";
|
|
291
289
|
tableName: "agent";
|
|
292
290
|
dataType: "string";
|
|
@@ -305,7 +303,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
305
303
|
}, {}, {
|
|
306
304
|
length: 256;
|
|
307
305
|
}>;
|
|
308
|
-
models:
|
|
306
|
+
models: drizzle_orm_pg_core1458.PgColumn<{
|
|
309
307
|
name: "models";
|
|
310
308
|
tableName: "agent";
|
|
311
309
|
dataType: "json";
|
|
@@ -350,7 +348,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
350
348
|
} | undefined;
|
|
351
349
|
};
|
|
352
350
|
}>;
|
|
353
|
-
statusUpdates:
|
|
351
|
+
statusUpdates: drizzle_orm_pg_core1458.PgColumn<{
|
|
354
352
|
name: "status_updates";
|
|
355
353
|
tableName: "agent";
|
|
356
354
|
dataType: "json";
|
|
@@ -397,7 +395,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
397
395
|
}[] | undefined;
|
|
398
396
|
};
|
|
399
397
|
}>;
|
|
400
|
-
prompt:
|
|
398
|
+
prompt: drizzle_orm_pg_core1458.PgColumn<{
|
|
401
399
|
name: "prompt";
|
|
402
400
|
tableName: "agent";
|
|
403
401
|
dataType: "string";
|
|
@@ -414,7 +412,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
414
412
|
identity: undefined;
|
|
415
413
|
generated: undefined;
|
|
416
414
|
}, {}, {}>;
|
|
417
|
-
stopWhen:
|
|
415
|
+
stopWhen: drizzle_orm_pg_core1458.PgColumn<{
|
|
418
416
|
name: "stop_when";
|
|
419
417
|
tableName: "agent";
|
|
420
418
|
dataType: "json";
|
|
@@ -437,7 +435,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
437
435
|
transferCountIs?: number | undefined;
|
|
438
436
|
};
|
|
439
437
|
}>;
|
|
440
|
-
projectId:
|
|
438
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
441
439
|
name: "project_id";
|
|
442
440
|
tableName: "agent";
|
|
443
441
|
dataType: "string";
|
|
@@ -456,7 +454,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
456
454
|
}, {}, {
|
|
457
455
|
length: 256;
|
|
458
456
|
}>;
|
|
459
|
-
tenantId:
|
|
457
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
460
458
|
name: "tenant_id";
|
|
461
459
|
tableName: "agent";
|
|
462
460
|
dataType: "string";
|
|
@@ -475,7 +473,7 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
475
473
|
}, {}, {
|
|
476
474
|
length: 256;
|
|
477
475
|
}>;
|
|
478
|
-
id:
|
|
476
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
479
477
|
name: "id";
|
|
480
478
|
tableName: "agent";
|
|
481
479
|
dataType: "string";
|
|
@@ -497,11 +495,11 @@ declare const agents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
497
495
|
};
|
|
498
496
|
dialect: "pg";
|
|
499
497
|
}>;
|
|
500
|
-
declare const contextConfigs:
|
|
498
|
+
declare const contextConfigs: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
501
499
|
name: "context_configs";
|
|
502
500
|
schema: undefined;
|
|
503
501
|
columns: {
|
|
504
|
-
createdAt:
|
|
502
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
505
503
|
name: "created_at";
|
|
506
504
|
tableName: "context_configs";
|
|
507
505
|
dataType: "string";
|
|
@@ -518,7 +516,7 @@ declare const contextConfigs: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
518
516
|
identity: undefined;
|
|
519
517
|
generated: undefined;
|
|
520
518
|
}, {}, {}>;
|
|
521
|
-
updatedAt:
|
|
519
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
522
520
|
name: "updated_at";
|
|
523
521
|
tableName: "context_configs";
|
|
524
522
|
dataType: "string";
|
|
@@ -535,7 +533,7 @@ declare const contextConfigs: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
535
533
|
identity: undefined;
|
|
536
534
|
generated: undefined;
|
|
537
535
|
}, {}, {}>;
|
|
538
|
-
headersSchema:
|
|
536
|
+
headersSchema: drizzle_orm_pg_core1458.PgColumn<{
|
|
539
537
|
name: "headers_schema";
|
|
540
538
|
tableName: "context_configs";
|
|
541
539
|
dataType: "json";
|
|
@@ -554,7 +552,7 @@ declare const contextConfigs: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
554
552
|
}, {}, {
|
|
555
553
|
$type: unknown;
|
|
556
554
|
}>;
|
|
557
|
-
contextVariables:
|
|
555
|
+
contextVariables: drizzle_orm_pg_core1458.PgColumn<{
|
|
558
556
|
name: "context_variables";
|
|
559
557
|
tableName: "context_configs";
|
|
560
558
|
dataType: "json";
|
|
@@ -573,7 +571,7 @@ declare const contextConfigs: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
573
571
|
}, {}, {
|
|
574
572
|
$type: Record<string, ContextFetchDefinition>;
|
|
575
573
|
}>;
|
|
576
|
-
agentId:
|
|
574
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
577
575
|
name: "agent_id";
|
|
578
576
|
tableName: "context_configs";
|
|
579
577
|
dataType: "string";
|
|
@@ -592,7 +590,7 @@ declare const contextConfigs: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
592
590
|
}, {}, {
|
|
593
591
|
length: 256;
|
|
594
592
|
}>;
|
|
595
|
-
projectId:
|
|
593
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
596
594
|
name: "project_id";
|
|
597
595
|
tableName: "context_configs";
|
|
598
596
|
dataType: "string";
|
|
@@ -611,7 +609,7 @@ declare const contextConfigs: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
611
609
|
}, {}, {
|
|
612
610
|
length: 256;
|
|
613
611
|
}>;
|
|
614
|
-
tenantId:
|
|
612
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
615
613
|
name: "tenant_id";
|
|
616
614
|
tableName: "context_configs";
|
|
617
615
|
dataType: "string";
|
|
@@ -630,7 +628,7 @@ declare const contextConfigs: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
630
628
|
}, {}, {
|
|
631
629
|
length: 256;
|
|
632
630
|
}>;
|
|
633
|
-
id:
|
|
631
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
634
632
|
name: "id";
|
|
635
633
|
tableName: "context_configs";
|
|
636
634
|
dataType: "string";
|
|
@@ -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_core1458.PgTableWithColumns<{
|
|
654
|
+
name: "triggers";
|
|
657
655
|
schema: undefined;
|
|
658
656
|
columns: {
|
|
659
|
-
createdAt:
|
|
657
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
660
658
|
name: "created_at";
|
|
661
|
-
tableName: "
|
|
659
|
+
tableName: "triggers";
|
|
662
660
|
dataType: "string";
|
|
663
661
|
columnType: "PgTimestampString";
|
|
664
662
|
data: string;
|
|
@@ -673,9 +671,9 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
673
671
|
identity: undefined;
|
|
674
672
|
generated: undefined;
|
|
675
673
|
}, {}, {}>;
|
|
676
|
-
updatedAt:
|
|
674
|
+
updatedAt: drizzle_orm_pg_core1458.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_core1458.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_core1458.PgColumn<{
|
|
709
|
+
name: "input_schema";
|
|
710
|
+
tableName: "triggers";
|
|
711
|
+
dataType: "json";
|
|
712
|
+
columnType: "PgJsonb";
|
|
713
|
+
data: Record<string, unknown>;
|
|
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>;
|
|
711
726
|
}>;
|
|
712
|
-
|
|
713
|
-
name: "
|
|
714
|
-
tableName: "
|
|
715
|
-
dataType: "
|
|
716
|
-
columnType: "
|
|
717
|
-
data:
|
|
718
|
-
|
|
719
|
-
|
|
727
|
+
outputTransform: drizzle_orm_pg_core1458.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
|
+
};
|
|
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
|
+
};
|
|
730
751
|
}>;
|
|
731
|
-
|
|
732
|
-
name: "
|
|
733
|
-
tableName: "
|
|
752
|
+
messageTemplate: drizzle_orm_pg_core1458.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_core1458.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,11 +785,11 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
766
785
|
}, {}, {
|
|
767
786
|
$type: unknown;
|
|
768
787
|
}>;
|
|
769
|
-
|
|
770
|
-
name: "
|
|
771
|
-
tableName: "
|
|
788
|
+
signingSecret: drizzle_orm_pg_core1458.PgColumn<{
|
|
789
|
+
name: "signing_secret";
|
|
790
|
+
tableName: "triggers";
|
|
772
791
|
dataType: "string";
|
|
773
|
-
columnType: "
|
|
792
|
+
columnType: "PgText";
|
|
774
793
|
data: string;
|
|
775
794
|
driverParam: string;
|
|
776
795
|
notNull: false;
|
|
@@ -782,31 +801,31 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
782
801
|
baseColumn: never;
|
|
783
802
|
identity: undefined;
|
|
784
803
|
generated: undefined;
|
|
785
|
-
}, {}, {
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
name: "fetched_at";
|
|
790
|
-
tableName: "context_cache";
|
|
804
|
+
}, {}, {}>;
|
|
805
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
806
|
+
name: "name";
|
|
807
|
+
tableName: "triggers";
|
|
791
808
|
dataType: "string";
|
|
792
|
-
columnType: "
|
|
809
|
+
columnType: "PgVarchar";
|
|
793
810
|
data: string;
|
|
794
811
|
driverParam: string;
|
|
795
812
|
notNull: true;
|
|
796
|
-
hasDefault:
|
|
813
|
+
hasDefault: false;
|
|
797
814
|
isPrimaryKey: false;
|
|
798
815
|
isAutoincrement: false;
|
|
799
816
|
hasRuntimeDefault: false;
|
|
800
|
-
enumValues:
|
|
817
|
+
enumValues: [string, ...string[]];
|
|
801
818
|
baseColumn: never;
|
|
802
819
|
identity: undefined;
|
|
803
820
|
generated: undefined;
|
|
804
|
-
}, {}, {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
821
|
+
}, {}, {
|
|
822
|
+
length: 256;
|
|
823
|
+
}>;
|
|
824
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
825
|
+
name: "description";
|
|
826
|
+
tableName: "triggers";
|
|
808
827
|
dataType: "string";
|
|
809
|
-
columnType: "
|
|
828
|
+
columnType: "PgText";
|
|
810
829
|
data: string;
|
|
811
830
|
driverParam: string;
|
|
812
831
|
notNull: false;
|
|
@@ -818,29 +837,29 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
818
837
|
baseColumn: never;
|
|
819
838
|
identity: undefined;
|
|
820
839
|
generated: undefined;
|
|
821
|
-
}, {}, {
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
driverParam: string | number;
|
|
831
|
-
notNull: false;
|
|
840
|
+
}, {}, {}>;
|
|
841
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
842
|
+
name: "agent_id";
|
|
843
|
+
tableName: "triggers";
|
|
844
|
+
dataType: "string";
|
|
845
|
+
columnType: "PgVarchar";
|
|
846
|
+
data: string;
|
|
847
|
+
driverParam: string;
|
|
848
|
+
notNull: true;
|
|
832
849
|
hasDefault: false;
|
|
833
850
|
isPrimaryKey: false;
|
|
834
851
|
isAutoincrement: false;
|
|
835
852
|
hasRuntimeDefault: false;
|
|
836
|
-
enumValues:
|
|
853
|
+
enumValues: [string, ...string[]];
|
|
837
854
|
baseColumn: never;
|
|
838
855
|
identity: undefined;
|
|
839
856
|
generated: undefined;
|
|
840
|
-
}, {}, {
|
|
841
|
-
|
|
857
|
+
}, {}, {
|
|
858
|
+
length: 256;
|
|
859
|
+
}>;
|
|
860
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
842
861
|
name: "project_id";
|
|
843
|
-
tableName: "
|
|
862
|
+
tableName: "triggers";
|
|
844
863
|
dataType: "string";
|
|
845
864
|
columnType: "PgVarchar";
|
|
846
865
|
data: string;
|
|
@@ -857,9 +876,9 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
857
876
|
}, {}, {
|
|
858
877
|
length: 256;
|
|
859
878
|
}>;
|
|
860
|
-
tenantId:
|
|
879
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
861
880
|
name: "tenant_id";
|
|
862
|
-
tableName: "
|
|
881
|
+
tableName: "triggers";
|
|
863
882
|
dataType: "string";
|
|
864
883
|
columnType: "PgVarchar";
|
|
865
884
|
data: string;
|
|
@@ -876,9 +895,9 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
876
895
|
}, {}, {
|
|
877
896
|
length: 256;
|
|
878
897
|
}>;
|
|
879
|
-
id:
|
|
898
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
880
899
|
name: "id";
|
|
881
|
-
tableName: "
|
|
900
|
+
tableName: "triggers";
|
|
882
901
|
dataType: "string";
|
|
883
902
|
columnType: "PgVarchar";
|
|
884
903
|
data: string;
|
|
@@ -898,11 +917,11 @@ declare const contextCache: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
898
917
|
};
|
|
899
918
|
dialect: "pg";
|
|
900
919
|
}>;
|
|
901
|
-
declare const subAgents:
|
|
920
|
+
declare const subAgents: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
902
921
|
name: "sub_agents";
|
|
903
922
|
schema: undefined;
|
|
904
923
|
columns: {
|
|
905
|
-
createdAt:
|
|
924
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
906
925
|
name: "created_at";
|
|
907
926
|
tableName: "sub_agents";
|
|
908
927
|
dataType: "string";
|
|
@@ -919,7 +938,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
919
938
|
identity: undefined;
|
|
920
939
|
generated: undefined;
|
|
921
940
|
}, {}, {}>;
|
|
922
|
-
updatedAt:
|
|
941
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
923
942
|
name: "updated_at";
|
|
924
943
|
tableName: "sub_agents";
|
|
925
944
|
dataType: "string";
|
|
@@ -936,7 +955,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
936
955
|
identity: undefined;
|
|
937
956
|
generated: undefined;
|
|
938
957
|
}, {}, {}>;
|
|
939
|
-
prompt:
|
|
958
|
+
prompt: drizzle_orm_pg_core1458.PgColumn<{
|
|
940
959
|
name: "prompt";
|
|
941
960
|
tableName: "sub_agents";
|
|
942
961
|
dataType: "string";
|
|
@@ -953,7 +972,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
953
972
|
identity: undefined;
|
|
954
973
|
generated: undefined;
|
|
955
974
|
}, {}, {}>;
|
|
956
|
-
conversationHistoryConfig:
|
|
975
|
+
conversationHistoryConfig: drizzle_orm_pg_core1458.PgColumn<{
|
|
957
976
|
name: "conversation_history_config";
|
|
958
977
|
tableName: "sub_agents";
|
|
959
978
|
dataType: "json";
|
|
@@ -972,7 +991,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
972
991
|
}, {}, {
|
|
973
992
|
$type: ConversationHistoryConfig;
|
|
974
993
|
}>;
|
|
975
|
-
models:
|
|
994
|
+
models: drizzle_orm_pg_core1458.PgColumn<{
|
|
976
995
|
name: "models";
|
|
977
996
|
tableName: "sub_agents";
|
|
978
997
|
dataType: "json";
|
|
@@ -1017,7 +1036,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1017
1036
|
} | undefined;
|
|
1018
1037
|
};
|
|
1019
1038
|
}>;
|
|
1020
|
-
stopWhen:
|
|
1039
|
+
stopWhen: drizzle_orm_pg_core1458.PgColumn<{
|
|
1021
1040
|
name: "stop_when";
|
|
1022
1041
|
tableName: "sub_agents";
|
|
1023
1042
|
dataType: "json";
|
|
@@ -1040,7 +1059,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1040
1059
|
stepCountIs?: number | undefined;
|
|
1041
1060
|
};
|
|
1042
1061
|
}>;
|
|
1043
|
-
name:
|
|
1062
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
1044
1063
|
name: "name";
|
|
1045
1064
|
tableName: "sub_agents";
|
|
1046
1065
|
dataType: "string";
|
|
@@ -1059,7 +1078,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1059
1078
|
}, {}, {
|
|
1060
1079
|
length: 256;
|
|
1061
1080
|
}>;
|
|
1062
|
-
description:
|
|
1081
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
1063
1082
|
name: "description";
|
|
1064
1083
|
tableName: "sub_agents";
|
|
1065
1084
|
dataType: "string";
|
|
@@ -1076,7 +1095,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1076
1095
|
identity: undefined;
|
|
1077
1096
|
generated: undefined;
|
|
1078
1097
|
}, {}, {}>;
|
|
1079
|
-
agentId:
|
|
1098
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1080
1099
|
name: "agent_id";
|
|
1081
1100
|
tableName: "sub_agents";
|
|
1082
1101
|
dataType: "string";
|
|
@@ -1095,7 +1114,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1095
1114
|
}, {}, {
|
|
1096
1115
|
length: 256;
|
|
1097
1116
|
}>;
|
|
1098
|
-
projectId:
|
|
1117
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1099
1118
|
name: "project_id";
|
|
1100
1119
|
tableName: "sub_agents";
|
|
1101
1120
|
dataType: "string";
|
|
@@ -1114,7 +1133,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1114
1133
|
}, {}, {
|
|
1115
1134
|
length: 256;
|
|
1116
1135
|
}>;
|
|
1117
|
-
tenantId:
|
|
1136
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1118
1137
|
name: "tenant_id";
|
|
1119
1138
|
tableName: "sub_agents";
|
|
1120
1139
|
dataType: "string";
|
|
@@ -1133,7 +1152,7 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1133
1152
|
}, {}, {
|
|
1134
1153
|
length: 256;
|
|
1135
1154
|
}>;
|
|
1136
|
-
id:
|
|
1155
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
1137
1156
|
name: "id";
|
|
1138
1157
|
tableName: "sub_agents";
|
|
1139
1158
|
dataType: "string";
|
|
@@ -1155,11 +1174,11 @@ declare const subAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1155
1174
|
};
|
|
1156
1175
|
dialect: "pg";
|
|
1157
1176
|
}>;
|
|
1158
|
-
declare const subAgentRelations:
|
|
1177
|
+
declare const subAgentRelations: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
1159
1178
|
name: "sub_agent_relations";
|
|
1160
1179
|
schema: undefined;
|
|
1161
1180
|
columns: {
|
|
1162
|
-
createdAt:
|
|
1181
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
1163
1182
|
name: "created_at";
|
|
1164
1183
|
tableName: "sub_agent_relations";
|
|
1165
1184
|
dataType: "string";
|
|
@@ -1176,7 +1195,7 @@ declare const subAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1176
1195
|
identity: undefined;
|
|
1177
1196
|
generated: undefined;
|
|
1178
1197
|
}, {}, {}>;
|
|
1179
|
-
updatedAt:
|
|
1198
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
1180
1199
|
name: "updated_at";
|
|
1181
1200
|
tableName: "sub_agent_relations";
|
|
1182
1201
|
dataType: "string";
|
|
@@ -1193,7 +1212,7 @@ declare const subAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1193
1212
|
identity: undefined;
|
|
1194
1213
|
generated: undefined;
|
|
1195
1214
|
}, {}, {}>;
|
|
1196
|
-
sourceSubAgentId:
|
|
1215
|
+
sourceSubAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1197
1216
|
name: "source_sub_agent_id";
|
|
1198
1217
|
tableName: "sub_agent_relations";
|
|
1199
1218
|
dataType: "string";
|
|
@@ -1212,7 +1231,7 @@ declare const subAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1212
1231
|
}, {}, {
|
|
1213
1232
|
length: 256;
|
|
1214
1233
|
}>;
|
|
1215
|
-
targetSubAgentId:
|
|
1234
|
+
targetSubAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1216
1235
|
name: "target_sub_agent_id";
|
|
1217
1236
|
tableName: "sub_agent_relations";
|
|
1218
1237
|
dataType: "string";
|
|
@@ -1231,7 +1250,7 @@ declare const subAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1231
1250
|
}, {}, {
|
|
1232
1251
|
length: 256;
|
|
1233
1252
|
}>;
|
|
1234
|
-
relationType:
|
|
1253
|
+
relationType: drizzle_orm_pg_core1458.PgColumn<{
|
|
1235
1254
|
name: "relation_type";
|
|
1236
1255
|
tableName: "sub_agent_relations";
|
|
1237
1256
|
dataType: "string";
|
|
@@ -1250,7 +1269,7 @@ declare const subAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1250
1269
|
}, {}, {
|
|
1251
1270
|
length: 256;
|
|
1252
1271
|
}>;
|
|
1253
|
-
agentId:
|
|
1272
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1254
1273
|
name: "agent_id";
|
|
1255
1274
|
tableName: "sub_agent_relations";
|
|
1256
1275
|
dataType: "string";
|
|
@@ -1269,7 +1288,7 @@ declare const subAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1269
1288
|
}, {}, {
|
|
1270
1289
|
length: 256;
|
|
1271
1290
|
}>;
|
|
1272
|
-
projectId:
|
|
1291
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1273
1292
|
name: "project_id";
|
|
1274
1293
|
tableName: "sub_agent_relations";
|
|
1275
1294
|
dataType: "string";
|
|
@@ -1288,7 +1307,7 @@ declare const subAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1288
1307
|
}, {}, {
|
|
1289
1308
|
length: 256;
|
|
1290
1309
|
}>;
|
|
1291
|
-
tenantId:
|
|
1310
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1292
1311
|
name: "tenant_id";
|
|
1293
1312
|
tableName: "sub_agent_relations";
|
|
1294
1313
|
dataType: "string";
|
|
@@ -1307,7 +1326,7 @@ declare const subAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1307
1326
|
}, {}, {
|
|
1308
1327
|
length: 256;
|
|
1309
1328
|
}>;
|
|
1310
|
-
id:
|
|
1329
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
1311
1330
|
name: "id";
|
|
1312
1331
|
tableName: "sub_agent_relations";
|
|
1313
1332
|
dataType: "string";
|
|
@@ -1329,11 +1348,11 @@ declare const subAgentRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1329
1348
|
};
|
|
1330
1349
|
dialect: "pg";
|
|
1331
1350
|
}>;
|
|
1332
|
-
declare const externalAgents:
|
|
1351
|
+
declare const externalAgents: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
1333
1352
|
name: "external_agents";
|
|
1334
1353
|
schema: undefined;
|
|
1335
1354
|
columns: {
|
|
1336
|
-
createdAt:
|
|
1355
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
1337
1356
|
name: "created_at";
|
|
1338
1357
|
tableName: "external_agents";
|
|
1339
1358
|
dataType: "string";
|
|
@@ -1350,7 +1369,7 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1350
1369
|
identity: undefined;
|
|
1351
1370
|
generated: undefined;
|
|
1352
1371
|
}, {}, {}>;
|
|
1353
|
-
updatedAt:
|
|
1372
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
1354
1373
|
name: "updated_at";
|
|
1355
1374
|
tableName: "external_agents";
|
|
1356
1375
|
dataType: "string";
|
|
@@ -1367,7 +1386,7 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1367
1386
|
identity: undefined;
|
|
1368
1387
|
generated: undefined;
|
|
1369
1388
|
}, {}, {}>;
|
|
1370
|
-
baseUrl:
|
|
1389
|
+
baseUrl: drizzle_orm_pg_core1458.PgColumn<{
|
|
1371
1390
|
name: "base_url";
|
|
1372
1391
|
tableName: "external_agents";
|
|
1373
1392
|
dataType: "string";
|
|
@@ -1384,7 +1403,7 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1384
1403
|
identity: undefined;
|
|
1385
1404
|
generated: undefined;
|
|
1386
1405
|
}, {}, {}>;
|
|
1387
|
-
credentialReferenceId:
|
|
1406
|
+
credentialReferenceId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1388
1407
|
name: "credential_reference_id";
|
|
1389
1408
|
tableName: "external_agents";
|
|
1390
1409
|
dataType: "string";
|
|
@@ -1403,7 +1422,7 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1403
1422
|
}, {}, {
|
|
1404
1423
|
length: 256;
|
|
1405
1424
|
}>;
|
|
1406
|
-
name:
|
|
1425
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
1407
1426
|
name: "name";
|
|
1408
1427
|
tableName: "external_agents";
|
|
1409
1428
|
dataType: "string";
|
|
@@ -1422,7 +1441,7 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1422
1441
|
}, {}, {
|
|
1423
1442
|
length: 256;
|
|
1424
1443
|
}>;
|
|
1425
|
-
description:
|
|
1444
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
1426
1445
|
name: "description";
|
|
1427
1446
|
tableName: "external_agents";
|
|
1428
1447
|
dataType: "string";
|
|
@@ -1439,7 +1458,7 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1439
1458
|
identity: undefined;
|
|
1440
1459
|
generated: undefined;
|
|
1441
1460
|
}, {}, {}>;
|
|
1442
|
-
projectId:
|
|
1461
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1443
1462
|
name: "project_id";
|
|
1444
1463
|
tableName: "external_agents";
|
|
1445
1464
|
dataType: "string";
|
|
@@ -1458,7 +1477,7 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1458
1477
|
}, {}, {
|
|
1459
1478
|
length: 256;
|
|
1460
1479
|
}>;
|
|
1461
|
-
tenantId:
|
|
1480
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1462
1481
|
name: "tenant_id";
|
|
1463
1482
|
tableName: "external_agents";
|
|
1464
1483
|
dataType: "string";
|
|
@@ -1477,7 +1496,7 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1477
1496
|
}, {}, {
|
|
1478
1497
|
length: 256;
|
|
1479
1498
|
}>;
|
|
1480
|
-
id:
|
|
1499
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
1481
1500
|
name: "id";
|
|
1482
1501
|
tableName: "external_agents";
|
|
1483
1502
|
dataType: "string";
|
|
@@ -1499,13 +1518,13 @@ declare const externalAgents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1499
1518
|
};
|
|
1500
1519
|
dialect: "pg";
|
|
1501
1520
|
}>;
|
|
1502
|
-
declare const
|
|
1503
|
-
name: "
|
|
1521
|
+
declare const dataComponents: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
1522
|
+
name: "data_components";
|
|
1504
1523
|
schema: undefined;
|
|
1505
1524
|
columns: {
|
|
1506
|
-
createdAt:
|
|
1525
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
1507
1526
|
name: "created_at";
|
|
1508
|
-
tableName: "
|
|
1527
|
+
tableName: "data_components";
|
|
1509
1528
|
dataType: "string";
|
|
1510
1529
|
columnType: "PgTimestampString";
|
|
1511
1530
|
data: string;
|
|
@@ -1520,9 +1539,9 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1520
1539
|
identity: undefined;
|
|
1521
1540
|
generated: undefined;
|
|
1522
1541
|
}, {}, {}>;
|
|
1523
|
-
updatedAt:
|
|
1542
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
1524
1543
|
name: "updated_at";
|
|
1525
|
-
tableName: "
|
|
1544
|
+
tableName: "data_components";
|
|
1526
1545
|
dataType: "string";
|
|
1527
1546
|
columnType: "PgTimestampString";
|
|
1528
1547
|
data: string;
|
|
@@ -1537,50 +1556,34 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1537
1556
|
identity: undefined;
|
|
1538
1557
|
generated: undefined;
|
|
1539
1558
|
}, {}, {}>;
|
|
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;
|
|
1559
|
+
props: drizzle_orm_pg_core1458.PgColumn<{
|
|
1560
|
+
name: "props";
|
|
1561
|
+
tableName: "data_components";
|
|
1562
|
+
dataType: "json";
|
|
1563
|
+
columnType: "PgJsonb";
|
|
1564
|
+
data: Record<string, unknown>;
|
|
1565
|
+
driverParam: unknown;
|
|
1566
|
+
notNull: false;
|
|
1567
1567
|
hasDefault: false;
|
|
1568
1568
|
isPrimaryKey: false;
|
|
1569
1569
|
isAutoincrement: false;
|
|
1570
1570
|
hasRuntimeDefault: false;
|
|
1571
|
-
enumValues:
|
|
1571
|
+
enumValues: undefined;
|
|
1572
1572
|
baseColumn: never;
|
|
1573
1573
|
identity: undefined;
|
|
1574
1574
|
generated: undefined;
|
|
1575
1575
|
}, {}, {
|
|
1576
|
-
|
|
1576
|
+
$type: Record<string, unknown>;
|
|
1577
1577
|
}>;
|
|
1578
|
-
|
|
1579
|
-
name: "
|
|
1580
|
-
tableName: "
|
|
1578
|
+
render: drizzle_orm_pg_core1458.PgColumn<{
|
|
1579
|
+
name: "render";
|
|
1580
|
+
tableName: "data_components";
|
|
1581
1581
|
dataType: "json";
|
|
1582
1582
|
columnType: "PgJsonb";
|
|
1583
|
-
data:
|
|
1583
|
+
data: {
|
|
1584
|
+
component: string;
|
|
1585
|
+
mockData: Record<string, unknown>;
|
|
1586
|
+
};
|
|
1584
1587
|
driverParam: unknown;
|
|
1585
1588
|
notNull: false;
|
|
1586
1589
|
hasDefault: false;
|
|
@@ -1592,11 +1595,14 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1592
1595
|
identity: undefined;
|
|
1593
1596
|
generated: undefined;
|
|
1594
1597
|
}, {}, {
|
|
1595
|
-
$type:
|
|
1598
|
+
$type: {
|
|
1599
|
+
component: string;
|
|
1600
|
+
mockData: Record<string, unknown>;
|
|
1601
|
+
};
|
|
1596
1602
|
}>;
|
|
1597
|
-
|
|
1598
|
-
name: "
|
|
1599
|
-
tableName: "
|
|
1603
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
1604
|
+
name: "name";
|
|
1605
|
+
tableName: "data_components";
|
|
1600
1606
|
dataType: "string";
|
|
1601
1607
|
columnType: "PgVarchar";
|
|
1602
1608
|
data: string;
|
|
@@ -1613,14 +1619,14 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1613
1619
|
}, {}, {
|
|
1614
1620
|
length: 256;
|
|
1615
1621
|
}>;
|
|
1616
|
-
|
|
1617
|
-
name: "
|
|
1618
|
-
tableName: "
|
|
1622
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
1623
|
+
name: "description";
|
|
1624
|
+
tableName: "data_components";
|
|
1619
1625
|
dataType: "string";
|
|
1620
|
-
columnType: "
|
|
1626
|
+
columnType: "PgText";
|
|
1621
1627
|
data: string;
|
|
1622
1628
|
driverParam: string;
|
|
1623
|
-
notNull:
|
|
1629
|
+
notNull: false;
|
|
1624
1630
|
hasDefault: false;
|
|
1625
1631
|
isPrimaryKey: false;
|
|
1626
1632
|
isAutoincrement: false;
|
|
@@ -1629,12 +1635,10 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1629
1635
|
baseColumn: never;
|
|
1630
1636
|
identity: undefined;
|
|
1631
1637
|
generated: undefined;
|
|
1632
|
-
}, {}, {
|
|
1633
|
-
|
|
1634
|
-
}>;
|
|
1635
|
-
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
1638
|
+
}, {}, {}>;
|
|
1639
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1636
1640
|
name: "project_id";
|
|
1637
|
-
tableName: "
|
|
1641
|
+
tableName: "data_components";
|
|
1638
1642
|
dataType: "string";
|
|
1639
1643
|
columnType: "PgVarchar";
|
|
1640
1644
|
data: string;
|
|
@@ -1651,9 +1655,9 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1651
1655
|
}, {}, {
|
|
1652
1656
|
length: 256;
|
|
1653
1657
|
}>;
|
|
1654
|
-
tenantId:
|
|
1658
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1655
1659
|
name: "tenant_id";
|
|
1656
|
-
tableName: "
|
|
1660
|
+
tableName: "data_components";
|
|
1657
1661
|
dataType: "string";
|
|
1658
1662
|
columnType: "PgVarchar";
|
|
1659
1663
|
data: string;
|
|
@@ -1670,9 +1674,9 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1670
1674
|
}, {}, {
|
|
1671
1675
|
length: 256;
|
|
1672
1676
|
}>;
|
|
1673
|
-
id:
|
|
1677
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
1674
1678
|
name: "id";
|
|
1675
|
-
tableName: "
|
|
1679
|
+
tableName: "data_components";
|
|
1676
1680
|
dataType: "string";
|
|
1677
1681
|
columnType: "PgVarchar";
|
|
1678
1682
|
data: string;
|
|
@@ -1692,30 +1696,32 @@ declare const tasks: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1692
1696
|
};
|
|
1693
1697
|
dialect: "pg";
|
|
1694
1698
|
}>;
|
|
1695
|
-
declare const
|
|
1696
|
-
name: "
|
|
1699
|
+
declare const subAgentDataComponents: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
1700
|
+
name: "sub_agent_data_components";
|
|
1697
1701
|
schema: undefined;
|
|
1698
1702
|
columns: {
|
|
1699
|
-
|
|
1700
|
-
name: "
|
|
1701
|
-
tableName: "
|
|
1703
|
+
dataComponentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1704
|
+
name: "data_component_id";
|
|
1705
|
+
tableName: "sub_agent_data_components";
|
|
1702
1706
|
dataType: "string";
|
|
1703
|
-
columnType: "
|
|
1707
|
+
columnType: "PgVarchar";
|
|
1704
1708
|
data: string;
|
|
1705
1709
|
driverParam: string;
|
|
1706
1710
|
notNull: true;
|
|
1707
|
-
hasDefault:
|
|
1711
|
+
hasDefault: false;
|
|
1708
1712
|
isPrimaryKey: false;
|
|
1709
1713
|
isAutoincrement: false;
|
|
1710
1714
|
hasRuntimeDefault: false;
|
|
1711
|
-
enumValues:
|
|
1715
|
+
enumValues: [string, ...string[]];
|
|
1712
1716
|
baseColumn: never;
|
|
1713
1717
|
identity: undefined;
|
|
1714
1718
|
generated: undefined;
|
|
1715
|
-
}, {}, {
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
+
}, {}, {
|
|
1720
|
+
length: 256;
|
|
1721
|
+
}>;
|
|
1722
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
1723
|
+
name: "created_at";
|
|
1724
|
+
tableName: "sub_agent_data_components";
|
|
1719
1725
|
dataType: "string";
|
|
1720
1726
|
columnType: "PgTimestampString";
|
|
1721
1727
|
data: string;
|
|
@@ -1730,9 +1736,9 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1730
1736
|
identity: undefined;
|
|
1731
1737
|
generated: undefined;
|
|
1732
1738
|
}, {}, {}>;
|
|
1733
|
-
|
|
1734
|
-
name: "
|
|
1735
|
-
tableName: "
|
|
1739
|
+
subAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1740
|
+
name: "sub_agent_id";
|
|
1741
|
+
tableName: "sub_agent_data_components";
|
|
1736
1742
|
dataType: "string";
|
|
1737
1743
|
columnType: "PgVarchar";
|
|
1738
1744
|
data: string;
|
|
@@ -1749,9 +1755,9 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1749
1755
|
}, {}, {
|
|
1750
1756
|
length: 256;
|
|
1751
1757
|
}>;
|
|
1752
|
-
|
|
1753
|
-
name: "
|
|
1754
|
-
tableName: "
|
|
1758
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1759
|
+
name: "agent_id";
|
|
1760
|
+
tableName: "sub_agent_data_components";
|
|
1755
1761
|
dataType: "string";
|
|
1756
1762
|
columnType: "PgVarchar";
|
|
1757
1763
|
data: string;
|
|
@@ -1768,28 +1774,9 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1768
1774
|
}, {}, {
|
|
1769
1775
|
length: 256;
|
|
1770
1776
|
}>;
|
|
1771
|
-
|
|
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
|
-
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
1777
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1791
1778
|
name: "project_id";
|
|
1792
|
-
tableName: "
|
|
1779
|
+
tableName: "sub_agent_data_components";
|
|
1793
1780
|
dataType: "string";
|
|
1794
1781
|
columnType: "PgVarchar";
|
|
1795
1782
|
data: string;
|
|
@@ -1806,9 +1793,9 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1806
1793
|
}, {}, {
|
|
1807
1794
|
length: 256;
|
|
1808
1795
|
}>;
|
|
1809
|
-
tenantId:
|
|
1796
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1810
1797
|
name: "tenant_id";
|
|
1811
|
-
tableName: "
|
|
1798
|
+
tableName: "sub_agent_data_components";
|
|
1812
1799
|
dataType: "string";
|
|
1813
1800
|
columnType: "PgVarchar";
|
|
1814
1801
|
data: string;
|
|
@@ -1825,9 +1812,9 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1825
1812
|
}, {}, {
|
|
1826
1813
|
length: 256;
|
|
1827
1814
|
}>;
|
|
1828
|
-
id:
|
|
1815
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
1829
1816
|
name: "id";
|
|
1830
|
-
tableName: "
|
|
1817
|
+
tableName: "sub_agent_data_components";
|
|
1831
1818
|
dataType: "string";
|
|
1832
1819
|
columnType: "PgVarchar";
|
|
1833
1820
|
data: string;
|
|
@@ -1847,13 +1834,13 @@ declare const taskRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1847
1834
|
};
|
|
1848
1835
|
dialect: "pg";
|
|
1849
1836
|
}>;
|
|
1850
|
-
declare const
|
|
1851
|
-
name: "
|
|
1837
|
+
declare const artifactComponents: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
1838
|
+
name: "artifact_components";
|
|
1852
1839
|
schema: undefined;
|
|
1853
1840
|
columns: {
|
|
1854
|
-
createdAt:
|
|
1841
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
1855
1842
|
name: "created_at";
|
|
1856
|
-
tableName: "
|
|
1843
|
+
tableName: "artifact_components";
|
|
1857
1844
|
dataType: "string";
|
|
1858
1845
|
columnType: "PgTimestampString";
|
|
1859
1846
|
data: string;
|
|
@@ -1868,9 +1855,9 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1868
1855
|
identity: undefined;
|
|
1869
1856
|
generated: undefined;
|
|
1870
1857
|
}, {}, {}>;
|
|
1871
|
-
updatedAt:
|
|
1858
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
1872
1859
|
name: "updated_at";
|
|
1873
|
-
tableName: "
|
|
1860
|
+
tableName: "artifact_components";
|
|
1874
1861
|
dataType: "string";
|
|
1875
1862
|
columnType: "PgTimestampString";
|
|
1876
1863
|
data: string;
|
|
@@ -1885,9 +1872,9 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1885
1872
|
identity: undefined;
|
|
1886
1873
|
generated: undefined;
|
|
1887
1874
|
}, {}, {}>;
|
|
1888
|
-
props:
|
|
1875
|
+
props: drizzle_orm_pg_core1458.PgColumn<{
|
|
1889
1876
|
name: "props";
|
|
1890
|
-
tableName: "
|
|
1877
|
+
tableName: "artifact_components";
|
|
1891
1878
|
dataType: "json";
|
|
1892
1879
|
columnType: "PgJsonb";
|
|
1893
1880
|
data: Record<string, unknown>;
|
|
@@ -1904,9 +1891,9 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1904
1891
|
}, {}, {
|
|
1905
1892
|
$type: Record<string, unknown>;
|
|
1906
1893
|
}>;
|
|
1907
|
-
render:
|
|
1894
|
+
render: drizzle_orm_pg_core1458.PgColumn<{
|
|
1908
1895
|
name: "render";
|
|
1909
|
-
tableName: "
|
|
1896
|
+
tableName: "artifact_components";
|
|
1910
1897
|
dataType: "json";
|
|
1911
1898
|
columnType: "PgJsonb";
|
|
1912
1899
|
data: {
|
|
@@ -1929,9 +1916,9 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1929
1916
|
mockData: Record<string, unknown>;
|
|
1930
1917
|
};
|
|
1931
1918
|
}>;
|
|
1932
|
-
name:
|
|
1919
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
1933
1920
|
name: "name";
|
|
1934
|
-
tableName: "
|
|
1921
|
+
tableName: "artifact_components";
|
|
1935
1922
|
dataType: "string";
|
|
1936
1923
|
columnType: "PgVarchar";
|
|
1937
1924
|
data: string;
|
|
@@ -1948,9 +1935,9 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1948
1935
|
}, {}, {
|
|
1949
1936
|
length: 256;
|
|
1950
1937
|
}>;
|
|
1951
|
-
description:
|
|
1938
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
1952
1939
|
name: "description";
|
|
1953
|
-
tableName: "
|
|
1940
|
+
tableName: "artifact_components";
|
|
1954
1941
|
dataType: "string";
|
|
1955
1942
|
columnType: "PgText";
|
|
1956
1943
|
data: string;
|
|
@@ -1965,9 +1952,9 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1965
1952
|
identity: undefined;
|
|
1966
1953
|
generated: undefined;
|
|
1967
1954
|
}, {}, {}>;
|
|
1968
|
-
projectId:
|
|
1955
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1969
1956
|
name: "project_id";
|
|
1970
|
-
tableName: "
|
|
1957
|
+
tableName: "artifact_components";
|
|
1971
1958
|
dataType: "string";
|
|
1972
1959
|
columnType: "PgVarchar";
|
|
1973
1960
|
data: string;
|
|
@@ -1984,9 +1971,9 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
1984
1971
|
}, {}, {
|
|
1985
1972
|
length: 256;
|
|
1986
1973
|
}>;
|
|
1987
|
-
tenantId:
|
|
1974
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
1988
1975
|
name: "tenant_id";
|
|
1989
|
-
tableName: "
|
|
1976
|
+
tableName: "artifact_components";
|
|
1990
1977
|
dataType: "string";
|
|
1991
1978
|
columnType: "PgVarchar";
|
|
1992
1979
|
data: string;
|
|
@@ -2003,9 +1990,9 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2003
1990
|
}, {}, {
|
|
2004
1991
|
length: 256;
|
|
2005
1992
|
}>;
|
|
2006
|
-
id:
|
|
1993
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
2007
1994
|
name: "id";
|
|
2008
|
-
tableName: "
|
|
1995
|
+
tableName: "artifact_components";
|
|
2009
1996
|
dataType: "string";
|
|
2010
1997
|
columnType: "PgVarchar";
|
|
2011
1998
|
data: string;
|
|
@@ -2025,13 +2012,13 @@ declare const dataComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2025
2012
|
};
|
|
2026
2013
|
dialect: "pg";
|
|
2027
2014
|
}>;
|
|
2028
|
-
declare const
|
|
2029
|
-
name: "
|
|
2015
|
+
declare const subAgentArtifactComponents: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
2016
|
+
name: "sub_agent_artifact_components";
|
|
2030
2017
|
schema: undefined;
|
|
2031
2018
|
columns: {
|
|
2032
|
-
|
|
2033
|
-
name: "
|
|
2034
|
-
tableName: "
|
|
2019
|
+
artifactComponentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2020
|
+
name: "artifact_component_id";
|
|
2021
|
+
tableName: "sub_agent_artifact_components";
|
|
2035
2022
|
dataType: "string";
|
|
2036
2023
|
columnType: "PgVarchar";
|
|
2037
2024
|
data: string;
|
|
@@ -2048,9 +2035,9 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2048
2035
|
}, {}, {
|
|
2049
2036
|
length: 256;
|
|
2050
2037
|
}>;
|
|
2051
|
-
createdAt:
|
|
2038
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2052
2039
|
name: "created_at";
|
|
2053
|
-
tableName: "
|
|
2040
|
+
tableName: "sub_agent_artifact_components";
|
|
2054
2041
|
dataType: "string";
|
|
2055
2042
|
columnType: "PgTimestampString";
|
|
2056
2043
|
data: string;
|
|
@@ -2065,9 +2052,9 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2065
2052
|
identity: undefined;
|
|
2066
2053
|
generated: undefined;
|
|
2067
2054
|
}, {}, {}>;
|
|
2068
|
-
subAgentId:
|
|
2055
|
+
subAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2069
2056
|
name: "sub_agent_id";
|
|
2070
|
-
tableName: "
|
|
2057
|
+
tableName: "sub_agent_artifact_components";
|
|
2071
2058
|
dataType: "string";
|
|
2072
2059
|
columnType: "PgVarchar";
|
|
2073
2060
|
data: string;
|
|
@@ -2084,9 +2071,9 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2084
2071
|
}, {}, {
|
|
2085
2072
|
length: 256;
|
|
2086
2073
|
}>;
|
|
2087
|
-
agentId:
|
|
2074
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2088
2075
|
name: "agent_id";
|
|
2089
|
-
tableName: "
|
|
2076
|
+
tableName: "sub_agent_artifact_components";
|
|
2090
2077
|
dataType: "string";
|
|
2091
2078
|
columnType: "PgVarchar";
|
|
2092
2079
|
data: string;
|
|
@@ -2103,9 +2090,9 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2103
2090
|
}, {}, {
|
|
2104
2091
|
length: 256;
|
|
2105
2092
|
}>;
|
|
2106
|
-
projectId:
|
|
2093
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2107
2094
|
name: "project_id";
|
|
2108
|
-
tableName: "
|
|
2095
|
+
tableName: "sub_agent_artifact_components";
|
|
2109
2096
|
dataType: "string";
|
|
2110
2097
|
columnType: "PgVarchar";
|
|
2111
2098
|
data: string;
|
|
@@ -2122,9 +2109,9 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2122
2109
|
}, {}, {
|
|
2123
2110
|
length: 256;
|
|
2124
2111
|
}>;
|
|
2125
|
-
tenantId:
|
|
2112
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2126
2113
|
name: "tenant_id";
|
|
2127
|
-
tableName: "
|
|
2114
|
+
tableName: "sub_agent_artifact_components";
|
|
2128
2115
|
dataType: "string";
|
|
2129
2116
|
columnType: "PgVarchar";
|
|
2130
2117
|
data: string;
|
|
@@ -2141,9 +2128,9 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2141
2128
|
}, {}, {
|
|
2142
2129
|
length: 256;
|
|
2143
2130
|
}>;
|
|
2144
|
-
id:
|
|
2131
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
2145
2132
|
name: "id";
|
|
2146
|
-
tableName: "
|
|
2133
|
+
tableName: "sub_agent_artifact_components";
|
|
2147
2134
|
dataType: "string";
|
|
2148
2135
|
columnType: "PgVarchar";
|
|
2149
2136
|
data: string;
|
|
@@ -2163,13 +2150,13 @@ declare const subAgentDataComponents: drizzle_orm_pg_core208.PgTableWithColumns<
|
|
|
2163
2150
|
};
|
|
2164
2151
|
dialect: "pg";
|
|
2165
2152
|
}>;
|
|
2166
|
-
declare const
|
|
2167
|
-
name: "
|
|
2153
|
+
declare const tools: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
2154
|
+
name: "tools";
|
|
2168
2155
|
schema: undefined;
|
|
2169
2156
|
columns: {
|
|
2170
|
-
createdAt:
|
|
2157
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2171
2158
|
name: "created_at";
|
|
2172
|
-
tableName: "
|
|
2159
|
+
tableName: "tools";
|
|
2173
2160
|
dataType: "string";
|
|
2174
2161
|
columnType: "PgTimestampString";
|
|
2175
2162
|
data: string;
|
|
@@ -2184,9 +2171,9 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2184
2171
|
identity: undefined;
|
|
2185
2172
|
generated: undefined;
|
|
2186
2173
|
}, {}, {}>;
|
|
2187
|
-
updatedAt:
|
|
2174
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2188
2175
|
name: "updated_at";
|
|
2189
|
-
tableName: "
|
|
2176
|
+
tableName: "tools";
|
|
2190
2177
|
dataType: "string";
|
|
2191
2178
|
columnType: "PgTimestampString";
|
|
2192
2179
|
data: string;
|
|
@@ -2201,72 +2188,28 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2201
2188
|
identity: undefined;
|
|
2202
2189
|
generated: undefined;
|
|
2203
2190
|
}, {}, {}>;
|
|
2204
|
-
|
|
2205
|
-
name: "
|
|
2206
|
-
tableName: "
|
|
2207
|
-
dataType: "
|
|
2208
|
-
columnType: "
|
|
2209
|
-
data:
|
|
2210
|
-
driverParam:
|
|
2211
|
-
notNull:
|
|
2191
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
2192
|
+
name: "name";
|
|
2193
|
+
tableName: "tools";
|
|
2194
|
+
dataType: "string";
|
|
2195
|
+
columnType: "PgVarchar";
|
|
2196
|
+
data: string;
|
|
2197
|
+
driverParam: string;
|
|
2198
|
+
notNull: true;
|
|
2212
2199
|
hasDefault: false;
|
|
2213
2200
|
isPrimaryKey: false;
|
|
2214
2201
|
isAutoincrement: false;
|
|
2215
2202
|
hasRuntimeDefault: false;
|
|
2216
|
-
enumValues:
|
|
2203
|
+
enumValues: [string, ...string[]];
|
|
2217
2204
|
baseColumn: never;
|
|
2218
2205
|
identity: undefined;
|
|
2219
2206
|
generated: undefined;
|
|
2220
2207
|
}, {}, {
|
|
2221
|
-
|
|
2208
|
+
length: 256;
|
|
2222
2209
|
}>;
|
|
2223
|
-
|
|
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
|
-
name: drizzle_orm_pg_core208.PgColumn<{
|
|
2249
|
-
name: "name";
|
|
2250
|
-
tableName: "artifact_components";
|
|
2251
|
-
dataType: "string";
|
|
2252
|
-
columnType: "PgVarchar";
|
|
2253
|
-
data: string;
|
|
2254
|
-
driverParam: string;
|
|
2255
|
-
notNull: true;
|
|
2256
|
-
hasDefault: false;
|
|
2257
|
-
isPrimaryKey: false;
|
|
2258
|
-
isAutoincrement: false;
|
|
2259
|
-
hasRuntimeDefault: false;
|
|
2260
|
-
enumValues: [string, ...string[]];
|
|
2261
|
-
baseColumn: never;
|
|
2262
|
-
identity: undefined;
|
|
2263
|
-
generated: undefined;
|
|
2264
|
-
}, {}, {
|
|
2265
|
-
length: 256;
|
|
2266
|
-
}>;
|
|
2267
|
-
description: drizzle_orm_pg_core208.PgColumn<{
|
|
2210
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
2268
2211
|
name: "description";
|
|
2269
|
-
tableName: "
|
|
2212
|
+
tableName: "tools";
|
|
2270
2213
|
dataType: "string";
|
|
2271
2214
|
columnType: "PgText";
|
|
2272
2215
|
data: string;
|
|
@@ -2281,33 +2224,39 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2281
2224
|
identity: undefined;
|
|
2282
2225
|
generated: undefined;
|
|
2283
2226
|
}, {}, {}>;
|
|
2284
|
-
|
|
2285
|
-
name: "
|
|
2286
|
-
tableName: "
|
|
2287
|
-
dataType: "
|
|
2288
|
-
columnType: "
|
|
2289
|
-
data:
|
|
2290
|
-
|
|
2227
|
+
config: drizzle_orm_pg_core1458.PgColumn<{
|
|
2228
|
+
name: "config";
|
|
2229
|
+
tableName: "tools";
|
|
2230
|
+
dataType: "json";
|
|
2231
|
+
columnType: "PgJsonb";
|
|
2232
|
+
data: {
|
|
2233
|
+
type: "mcp";
|
|
2234
|
+
mcp: ToolMcpConfig;
|
|
2235
|
+
};
|
|
2236
|
+
driverParam: unknown;
|
|
2291
2237
|
notNull: true;
|
|
2292
2238
|
hasDefault: false;
|
|
2293
2239
|
isPrimaryKey: false;
|
|
2294
2240
|
isAutoincrement: false;
|
|
2295
2241
|
hasRuntimeDefault: false;
|
|
2296
|
-
enumValues:
|
|
2242
|
+
enumValues: undefined;
|
|
2297
2243
|
baseColumn: never;
|
|
2298
2244
|
identity: undefined;
|
|
2299
2245
|
generated: undefined;
|
|
2300
2246
|
}, {}, {
|
|
2301
|
-
|
|
2247
|
+
$type: {
|
|
2248
|
+
type: "mcp";
|
|
2249
|
+
mcp: ToolMcpConfig;
|
|
2250
|
+
};
|
|
2302
2251
|
}>;
|
|
2303
|
-
|
|
2304
|
-
name: "
|
|
2305
|
-
tableName: "
|
|
2252
|
+
credentialReferenceId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2253
|
+
name: "credential_reference_id";
|
|
2254
|
+
tableName: "tools";
|
|
2306
2255
|
dataType: "string";
|
|
2307
2256
|
columnType: "PgVarchar";
|
|
2308
2257
|
data: string;
|
|
2309
2258
|
driverParam: string;
|
|
2310
|
-
notNull:
|
|
2259
|
+
notNull: false;
|
|
2311
2260
|
hasDefault: false;
|
|
2312
2261
|
isPrimaryKey: false;
|
|
2313
2262
|
isAutoincrement: false;
|
|
@@ -2319,15 +2268,15 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2319
2268
|
}, {}, {
|
|
2320
2269
|
length: 256;
|
|
2321
2270
|
}>;
|
|
2322
|
-
|
|
2323
|
-
name: "
|
|
2324
|
-
tableName: "
|
|
2271
|
+
credentialScope: drizzle_orm_pg_core1458.PgColumn<{
|
|
2272
|
+
name: "credential_scope";
|
|
2273
|
+
tableName: "tools";
|
|
2325
2274
|
dataType: "string";
|
|
2326
2275
|
columnType: "PgVarchar";
|
|
2327
2276
|
data: string;
|
|
2328
2277
|
driverParam: string;
|
|
2329
2278
|
notNull: true;
|
|
2330
|
-
hasDefault:
|
|
2279
|
+
hasDefault: true;
|
|
2331
2280
|
isPrimaryKey: false;
|
|
2332
2281
|
isAutoincrement: false;
|
|
2333
2282
|
hasRuntimeDefault: false;
|
|
@@ -2336,78 +2285,71 @@ declare const artifactComponents: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2336
2285
|
identity: undefined;
|
|
2337
2286
|
generated: undefined;
|
|
2338
2287
|
}, {}, {
|
|
2339
|
-
length:
|
|
2288
|
+
length: 50;
|
|
2340
2289
|
}>;
|
|
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;
|
|
2290
|
+
headers: drizzle_orm_pg_core1458.PgColumn<{
|
|
2291
|
+
name: "headers";
|
|
2292
|
+
tableName: "tools";
|
|
2293
|
+
dataType: "json";
|
|
2294
|
+
columnType: "PgJsonb";
|
|
2295
|
+
data: Record<string, string>;
|
|
2296
|
+
driverParam: unknown;
|
|
2297
|
+
notNull: false;
|
|
2356
2298
|
hasDefault: false;
|
|
2357
2299
|
isPrimaryKey: false;
|
|
2358
2300
|
isAutoincrement: false;
|
|
2359
2301
|
hasRuntimeDefault: false;
|
|
2360
|
-
enumValues:
|
|
2302
|
+
enumValues: undefined;
|
|
2361
2303
|
baseColumn: never;
|
|
2362
2304
|
identity: undefined;
|
|
2363
2305
|
generated: undefined;
|
|
2364
2306
|
}, {}, {
|
|
2365
|
-
|
|
2307
|
+
$type: Record<string, string>;
|
|
2366
2308
|
}>;
|
|
2367
|
-
|
|
2368
|
-
name: "
|
|
2369
|
-
tableName: "
|
|
2309
|
+
imageUrl: drizzle_orm_pg_core1458.PgColumn<{
|
|
2310
|
+
name: "image_url";
|
|
2311
|
+
tableName: "tools";
|
|
2370
2312
|
dataType: "string";
|
|
2371
|
-
columnType: "
|
|
2313
|
+
columnType: "PgText";
|
|
2372
2314
|
data: string;
|
|
2373
2315
|
driverParam: string;
|
|
2374
|
-
notNull:
|
|
2375
|
-
hasDefault:
|
|
2316
|
+
notNull: false;
|
|
2317
|
+
hasDefault: false;
|
|
2376
2318
|
isPrimaryKey: false;
|
|
2377
2319
|
isAutoincrement: false;
|
|
2378
2320
|
hasRuntimeDefault: false;
|
|
2379
|
-
enumValues:
|
|
2321
|
+
enumValues: [string, ...string[]];
|
|
2380
2322
|
baseColumn: never;
|
|
2381
2323
|
identity: undefined;
|
|
2382
2324
|
generated: undefined;
|
|
2383
2325
|
}, {}, {}>;
|
|
2384
|
-
|
|
2385
|
-
name: "
|
|
2386
|
-
tableName: "
|
|
2387
|
-
dataType: "
|
|
2388
|
-
columnType: "
|
|
2389
|
-
data:
|
|
2390
|
-
driverParam:
|
|
2391
|
-
notNull:
|
|
2326
|
+
capabilities: drizzle_orm_pg_core1458.PgColumn<{
|
|
2327
|
+
name: "capabilities";
|
|
2328
|
+
tableName: "tools";
|
|
2329
|
+
dataType: "json";
|
|
2330
|
+
columnType: "PgJsonb";
|
|
2331
|
+
data: ToolServerCapabilities;
|
|
2332
|
+
driverParam: unknown;
|
|
2333
|
+
notNull: false;
|
|
2392
2334
|
hasDefault: false;
|
|
2393
2335
|
isPrimaryKey: false;
|
|
2394
2336
|
isAutoincrement: false;
|
|
2395
2337
|
hasRuntimeDefault: false;
|
|
2396
|
-
enumValues:
|
|
2338
|
+
enumValues: undefined;
|
|
2397
2339
|
baseColumn: never;
|
|
2398
2340
|
identity: undefined;
|
|
2399
2341
|
generated: undefined;
|
|
2400
2342
|
}, {}, {
|
|
2401
|
-
|
|
2343
|
+
$type: ToolServerCapabilities;
|
|
2402
2344
|
}>;
|
|
2403
|
-
|
|
2404
|
-
name: "
|
|
2405
|
-
tableName: "
|
|
2345
|
+
lastError: drizzle_orm_pg_core1458.PgColumn<{
|
|
2346
|
+
name: "last_error";
|
|
2347
|
+
tableName: "tools";
|
|
2406
2348
|
dataType: "string";
|
|
2407
|
-
columnType: "
|
|
2349
|
+
columnType: "PgText";
|
|
2408
2350
|
data: string;
|
|
2409
2351
|
driverParam: string;
|
|
2410
|
-
notNull:
|
|
2352
|
+
notNull: false;
|
|
2411
2353
|
hasDefault: false;
|
|
2412
2354
|
isPrimaryKey: false;
|
|
2413
2355
|
isAutoincrement: false;
|
|
@@ -2416,12 +2358,10 @@ declare const subAgentArtifactComponents: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
2416
2358
|
baseColumn: never;
|
|
2417
2359
|
identity: undefined;
|
|
2418
2360
|
generated: undefined;
|
|
2419
|
-
}, {}, {
|
|
2420
|
-
|
|
2421
|
-
}>;
|
|
2422
|
-
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
2361
|
+
}, {}, {}>;
|
|
2362
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2423
2363
|
name: "project_id";
|
|
2424
|
-
tableName: "
|
|
2364
|
+
tableName: "tools";
|
|
2425
2365
|
dataType: "string";
|
|
2426
2366
|
columnType: "PgVarchar";
|
|
2427
2367
|
data: string;
|
|
@@ -2438,9 +2378,9 @@ declare const subAgentArtifactComponents: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
2438
2378
|
}, {}, {
|
|
2439
2379
|
length: 256;
|
|
2440
2380
|
}>;
|
|
2441
|
-
tenantId:
|
|
2381
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2442
2382
|
name: "tenant_id";
|
|
2443
|
-
tableName: "
|
|
2383
|
+
tableName: "tools";
|
|
2444
2384
|
dataType: "string";
|
|
2445
2385
|
columnType: "PgVarchar";
|
|
2446
2386
|
data: string;
|
|
@@ -2457,9 +2397,9 @@ declare const subAgentArtifactComponents: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
2457
2397
|
}, {}, {
|
|
2458
2398
|
length: 256;
|
|
2459
2399
|
}>;
|
|
2460
|
-
id:
|
|
2400
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
2461
2401
|
name: "id";
|
|
2462
|
-
tableName: "
|
|
2402
|
+
tableName: "tools";
|
|
2463
2403
|
dataType: "string";
|
|
2464
2404
|
columnType: "PgVarchar";
|
|
2465
2405
|
data: string;
|
|
@@ -2479,13 +2419,13 @@ declare const subAgentArtifactComponents: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
2479
2419
|
};
|
|
2480
2420
|
dialect: "pg";
|
|
2481
2421
|
}>;
|
|
2482
|
-
declare const
|
|
2483
|
-
name: "
|
|
2422
|
+
declare const functionTools: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
2423
|
+
name: "function_tools";
|
|
2484
2424
|
schema: undefined;
|
|
2485
2425
|
columns: {
|
|
2486
|
-
createdAt:
|
|
2426
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2487
2427
|
name: "created_at";
|
|
2488
|
-
tableName: "
|
|
2428
|
+
tableName: "function_tools";
|
|
2489
2429
|
dataType: "string";
|
|
2490
2430
|
columnType: "PgTimestampString";
|
|
2491
2431
|
data: string;
|
|
@@ -2500,9 +2440,9 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2500
2440
|
identity: undefined;
|
|
2501
2441
|
generated: undefined;
|
|
2502
2442
|
}, {}, {}>;
|
|
2503
|
-
updatedAt:
|
|
2443
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2504
2444
|
name: "updated_at";
|
|
2505
|
-
tableName: "
|
|
2445
|
+
tableName: "function_tools";
|
|
2506
2446
|
dataType: "string";
|
|
2507
2447
|
columnType: "PgTimestampString";
|
|
2508
2448
|
data: string;
|
|
@@ -2517,9 +2457,9 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2517
2457
|
identity: undefined;
|
|
2518
2458
|
generated: undefined;
|
|
2519
2459
|
}, {}, {}>;
|
|
2520
|
-
name:
|
|
2460
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
2521
2461
|
name: "name";
|
|
2522
|
-
tableName: "
|
|
2462
|
+
tableName: "function_tools";
|
|
2523
2463
|
dataType: "string";
|
|
2524
2464
|
columnType: "PgVarchar";
|
|
2525
2465
|
data: string;
|
|
@@ -2536,9 +2476,9 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2536
2476
|
}, {}, {
|
|
2537
2477
|
length: 256;
|
|
2538
2478
|
}>;
|
|
2539
|
-
description:
|
|
2479
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
2540
2480
|
name: "description";
|
|
2541
|
-
tableName: "
|
|
2481
|
+
tableName: "function_tools";
|
|
2542
2482
|
dataType: "string";
|
|
2543
2483
|
columnType: "PgText";
|
|
2544
2484
|
data: string;
|
|
@@ -2553,39 +2493,33 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2553
2493
|
identity: undefined;
|
|
2554
2494
|
generated: undefined;
|
|
2555
2495
|
}, {}, {}>;
|
|
2556
|
-
|
|
2557
|
-
name: "
|
|
2558
|
-
tableName: "
|
|
2559
|
-
dataType: "
|
|
2560
|
-
columnType: "
|
|
2561
|
-
data:
|
|
2562
|
-
|
|
2563
|
-
mcp: ToolMcpConfig;
|
|
2564
|
-
};
|
|
2565
|
-
driverParam: unknown;
|
|
2496
|
+
functionId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2497
|
+
name: "function_id";
|
|
2498
|
+
tableName: "function_tools";
|
|
2499
|
+
dataType: "string";
|
|
2500
|
+
columnType: "PgVarchar";
|
|
2501
|
+
data: string;
|
|
2502
|
+
driverParam: string;
|
|
2566
2503
|
notNull: true;
|
|
2567
2504
|
hasDefault: false;
|
|
2568
2505
|
isPrimaryKey: false;
|
|
2569
2506
|
isAutoincrement: false;
|
|
2570
2507
|
hasRuntimeDefault: false;
|
|
2571
|
-
enumValues:
|
|
2508
|
+
enumValues: [string, ...string[]];
|
|
2572
2509
|
baseColumn: never;
|
|
2573
2510
|
identity: undefined;
|
|
2574
2511
|
generated: undefined;
|
|
2575
2512
|
}, {}, {
|
|
2576
|
-
|
|
2577
|
-
type: "mcp";
|
|
2578
|
-
mcp: ToolMcpConfig;
|
|
2579
|
-
};
|
|
2513
|
+
length: 256;
|
|
2580
2514
|
}>;
|
|
2581
|
-
|
|
2582
|
-
name: "
|
|
2583
|
-
tableName: "
|
|
2515
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2516
|
+
name: "agent_id";
|
|
2517
|
+
tableName: "function_tools";
|
|
2584
2518
|
dataType: "string";
|
|
2585
2519
|
columnType: "PgVarchar";
|
|
2586
2520
|
data: string;
|
|
2587
2521
|
driverParam: string;
|
|
2588
|
-
notNull:
|
|
2522
|
+
notNull: true;
|
|
2589
2523
|
hasDefault: false;
|
|
2590
2524
|
isPrimaryKey: false;
|
|
2591
2525
|
isAutoincrement: false;
|
|
@@ -2597,15 +2531,15 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2597
2531
|
}, {}, {
|
|
2598
2532
|
length: 256;
|
|
2599
2533
|
}>;
|
|
2600
|
-
|
|
2601
|
-
name: "
|
|
2602
|
-
tableName: "
|
|
2534
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2535
|
+
name: "project_id";
|
|
2536
|
+
tableName: "function_tools";
|
|
2603
2537
|
dataType: "string";
|
|
2604
2538
|
columnType: "PgVarchar";
|
|
2605
2539
|
data: string;
|
|
2606
2540
|
driverParam: string;
|
|
2607
2541
|
notNull: true;
|
|
2608
|
-
hasDefault:
|
|
2542
|
+
hasDefault: false;
|
|
2609
2543
|
isPrimaryKey: false;
|
|
2610
2544
|
isAutoincrement: false;
|
|
2611
2545
|
hasRuntimeDefault: false;
|
|
@@ -2614,35 +2548,35 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2614
2548
|
identity: undefined;
|
|
2615
2549
|
generated: undefined;
|
|
2616
2550
|
}, {}, {
|
|
2617
|
-
length:
|
|
2551
|
+
length: 256;
|
|
2618
2552
|
}>;
|
|
2619
|
-
|
|
2620
|
-
name: "
|
|
2621
|
-
tableName: "
|
|
2622
|
-
dataType: "
|
|
2623
|
-
columnType: "
|
|
2624
|
-
data:
|
|
2625
|
-
driverParam:
|
|
2626
|
-
notNull:
|
|
2553
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2554
|
+
name: "tenant_id";
|
|
2555
|
+
tableName: "function_tools";
|
|
2556
|
+
dataType: "string";
|
|
2557
|
+
columnType: "PgVarchar";
|
|
2558
|
+
data: string;
|
|
2559
|
+
driverParam: string;
|
|
2560
|
+
notNull: true;
|
|
2627
2561
|
hasDefault: false;
|
|
2628
2562
|
isPrimaryKey: false;
|
|
2629
2563
|
isAutoincrement: false;
|
|
2630
2564
|
hasRuntimeDefault: false;
|
|
2631
|
-
enumValues:
|
|
2565
|
+
enumValues: [string, ...string[]];
|
|
2632
2566
|
baseColumn: never;
|
|
2633
2567
|
identity: undefined;
|
|
2634
2568
|
generated: undefined;
|
|
2635
2569
|
}, {}, {
|
|
2636
|
-
|
|
2570
|
+
length: 256;
|
|
2637
2571
|
}>;
|
|
2638
|
-
|
|
2639
|
-
name: "
|
|
2640
|
-
tableName: "
|
|
2572
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
2573
|
+
name: "id";
|
|
2574
|
+
tableName: "function_tools";
|
|
2641
2575
|
dataType: "string";
|
|
2642
|
-
columnType: "
|
|
2576
|
+
columnType: "PgVarchar";
|
|
2643
2577
|
data: string;
|
|
2644
2578
|
driverParam: string;
|
|
2645
|
-
notNull:
|
|
2579
|
+
notNull: true;
|
|
2646
2580
|
hasDefault: false;
|
|
2647
2581
|
isPrimaryKey: false;
|
|
2648
2582
|
isAutoincrement: false;
|
|
@@ -2651,13 +2585,56 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2651
2585
|
baseColumn: never;
|
|
2652
2586
|
identity: undefined;
|
|
2653
2587
|
generated: undefined;
|
|
2588
|
+
}, {}, {
|
|
2589
|
+
length: 256;
|
|
2590
|
+
}>;
|
|
2591
|
+
};
|
|
2592
|
+
dialect: "pg";
|
|
2593
|
+
}>;
|
|
2594
|
+
declare const functions: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
2595
|
+
name: "functions";
|
|
2596
|
+
schema: undefined;
|
|
2597
|
+
columns: {
|
|
2598
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2599
|
+
name: "created_at";
|
|
2600
|
+
tableName: "functions";
|
|
2601
|
+
dataType: "string";
|
|
2602
|
+
columnType: "PgTimestampString";
|
|
2603
|
+
data: string;
|
|
2604
|
+
driverParam: string;
|
|
2605
|
+
notNull: true;
|
|
2606
|
+
hasDefault: true;
|
|
2607
|
+
isPrimaryKey: false;
|
|
2608
|
+
isAutoincrement: false;
|
|
2609
|
+
hasRuntimeDefault: false;
|
|
2610
|
+
enumValues: undefined;
|
|
2611
|
+
baseColumn: never;
|
|
2612
|
+
identity: undefined;
|
|
2613
|
+
generated: undefined;
|
|
2654
2614
|
}, {}, {}>;
|
|
2655
|
-
|
|
2656
|
-
name: "
|
|
2657
|
-
tableName: "
|
|
2615
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2616
|
+
name: "updated_at";
|
|
2617
|
+
tableName: "functions";
|
|
2618
|
+
dataType: "string";
|
|
2619
|
+
columnType: "PgTimestampString";
|
|
2620
|
+
data: string;
|
|
2621
|
+
driverParam: string;
|
|
2622
|
+
notNull: true;
|
|
2623
|
+
hasDefault: true;
|
|
2624
|
+
isPrimaryKey: false;
|
|
2625
|
+
isAutoincrement: false;
|
|
2626
|
+
hasRuntimeDefault: false;
|
|
2627
|
+
enumValues: undefined;
|
|
2628
|
+
baseColumn: never;
|
|
2629
|
+
identity: undefined;
|
|
2630
|
+
generated: undefined;
|
|
2631
|
+
}, {}, {}>;
|
|
2632
|
+
inputSchema: drizzle_orm_pg_core1458.PgColumn<{
|
|
2633
|
+
name: "input_schema";
|
|
2634
|
+
tableName: "functions";
|
|
2658
2635
|
dataType: "json";
|
|
2659
2636
|
columnType: "PgJsonb";
|
|
2660
|
-
data:
|
|
2637
|
+
data: Record<string, unknown>;
|
|
2661
2638
|
driverParam: unknown;
|
|
2662
2639
|
notNull: false;
|
|
2663
2640
|
hasDefault: false;
|
|
@@ -2669,16 +2646,16 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2669
2646
|
identity: undefined;
|
|
2670
2647
|
generated: undefined;
|
|
2671
2648
|
}, {}, {
|
|
2672
|
-
$type:
|
|
2649
|
+
$type: Record<string, unknown>;
|
|
2673
2650
|
}>;
|
|
2674
|
-
|
|
2675
|
-
name: "
|
|
2676
|
-
tableName: "
|
|
2651
|
+
executeCode: drizzle_orm_pg_core1458.PgColumn<{
|
|
2652
|
+
name: "execute_code";
|
|
2653
|
+
tableName: "functions";
|
|
2677
2654
|
dataType: "string";
|
|
2678
2655
|
columnType: "PgText";
|
|
2679
2656
|
data: string;
|
|
2680
2657
|
driverParam: string;
|
|
2681
|
-
notNull:
|
|
2658
|
+
notNull: true;
|
|
2682
2659
|
hasDefault: false;
|
|
2683
2660
|
isPrimaryKey: false;
|
|
2684
2661
|
isAutoincrement: false;
|
|
@@ -2688,9 +2665,28 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2688
2665
|
identity: undefined;
|
|
2689
2666
|
generated: undefined;
|
|
2690
2667
|
}, {}, {}>;
|
|
2691
|
-
|
|
2668
|
+
dependencies: drizzle_orm_pg_core1458.PgColumn<{
|
|
2669
|
+
name: "dependencies";
|
|
2670
|
+
tableName: "functions";
|
|
2671
|
+
dataType: "json";
|
|
2672
|
+
columnType: "PgJsonb";
|
|
2673
|
+
data: Record<string, string>;
|
|
2674
|
+
driverParam: unknown;
|
|
2675
|
+
notNull: false;
|
|
2676
|
+
hasDefault: false;
|
|
2677
|
+
isPrimaryKey: false;
|
|
2678
|
+
isAutoincrement: false;
|
|
2679
|
+
hasRuntimeDefault: false;
|
|
2680
|
+
enumValues: undefined;
|
|
2681
|
+
baseColumn: never;
|
|
2682
|
+
identity: undefined;
|
|
2683
|
+
generated: undefined;
|
|
2684
|
+
}, {}, {
|
|
2685
|
+
$type: Record<string, string>;
|
|
2686
|
+
}>;
|
|
2687
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2692
2688
|
name: "project_id";
|
|
2693
|
-
tableName: "
|
|
2689
|
+
tableName: "functions";
|
|
2694
2690
|
dataType: "string";
|
|
2695
2691
|
columnType: "PgVarchar";
|
|
2696
2692
|
data: string;
|
|
@@ -2707,9 +2703,9 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2707
2703
|
}, {}, {
|
|
2708
2704
|
length: 256;
|
|
2709
2705
|
}>;
|
|
2710
|
-
tenantId:
|
|
2706
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2711
2707
|
name: "tenant_id";
|
|
2712
|
-
tableName: "
|
|
2708
|
+
tableName: "functions";
|
|
2713
2709
|
dataType: "string";
|
|
2714
2710
|
columnType: "PgVarchar";
|
|
2715
2711
|
data: string;
|
|
@@ -2726,9 +2722,9 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2726
2722
|
}, {}, {
|
|
2727
2723
|
length: 256;
|
|
2728
2724
|
}>;
|
|
2729
|
-
id:
|
|
2725
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
2730
2726
|
name: "id";
|
|
2731
|
-
tableName: "
|
|
2727
|
+
tableName: "functions";
|
|
2732
2728
|
dataType: "string";
|
|
2733
2729
|
columnType: "PgVarchar";
|
|
2734
2730
|
data: string;
|
|
@@ -2748,13 +2744,13 @@ declare const tools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2748
2744
|
};
|
|
2749
2745
|
dialect: "pg";
|
|
2750
2746
|
}>;
|
|
2751
|
-
declare const
|
|
2752
|
-
name: "
|
|
2747
|
+
declare const subAgentToolRelations: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
2748
|
+
name: "sub_agent_tool_relations";
|
|
2753
2749
|
schema: undefined;
|
|
2754
2750
|
columns: {
|
|
2755
|
-
createdAt:
|
|
2751
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2756
2752
|
name: "created_at";
|
|
2757
|
-
tableName: "
|
|
2753
|
+
tableName: "sub_agent_tool_relations";
|
|
2758
2754
|
dataType: "string";
|
|
2759
2755
|
columnType: "PgTimestampString";
|
|
2760
2756
|
data: string;
|
|
@@ -2769,9 +2765,9 @@ declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2769
2765
|
identity: undefined;
|
|
2770
2766
|
generated: undefined;
|
|
2771
2767
|
}, {}, {}>;
|
|
2772
|
-
updatedAt:
|
|
2768
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2773
2769
|
name: "updated_at";
|
|
2774
|
-
tableName: "
|
|
2770
|
+
tableName: "sub_agent_tool_relations";
|
|
2775
2771
|
dataType: "string";
|
|
2776
2772
|
columnType: "PgTimestampString";
|
|
2777
2773
|
data: string;
|
|
@@ -2786,9 +2782,9 @@ declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2786
2782
|
identity: undefined;
|
|
2787
2783
|
generated: undefined;
|
|
2788
2784
|
}, {}, {}>;
|
|
2789
|
-
|
|
2790
|
-
name: "
|
|
2791
|
-
tableName: "
|
|
2785
|
+
toolId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2786
|
+
name: "tool_id";
|
|
2787
|
+
tableName: "sub_agent_tool_relations";
|
|
2792
2788
|
dataType: "string";
|
|
2793
2789
|
columnType: "PgVarchar";
|
|
2794
2790
|
data: string;
|
|
@@ -2805,26 +2801,70 @@ declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2805
2801
|
}, {}, {
|
|
2806
2802
|
length: 256;
|
|
2807
2803
|
}>;
|
|
2808
|
-
|
|
2809
|
-
name: "
|
|
2810
|
-
tableName: "
|
|
2811
|
-
dataType: "
|
|
2812
|
-
columnType: "
|
|
2813
|
-
data: string;
|
|
2814
|
-
driverParam:
|
|
2804
|
+
selectedTools: drizzle_orm_pg_core1458.PgColumn<{
|
|
2805
|
+
name: "selected_tools";
|
|
2806
|
+
tableName: "sub_agent_tool_relations";
|
|
2807
|
+
dataType: "json";
|
|
2808
|
+
columnType: "PgJsonb";
|
|
2809
|
+
data: string[] | null;
|
|
2810
|
+
driverParam: unknown;
|
|
2815
2811
|
notNull: false;
|
|
2816
2812
|
hasDefault: false;
|
|
2817
2813
|
isPrimaryKey: false;
|
|
2818
2814
|
isAutoincrement: false;
|
|
2819
2815
|
hasRuntimeDefault: false;
|
|
2820
|
-
enumValues:
|
|
2816
|
+
enumValues: undefined;
|
|
2821
2817
|
baseColumn: never;
|
|
2822
2818
|
identity: undefined;
|
|
2823
2819
|
generated: undefined;
|
|
2824
|
-
}, {}, {
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2820
|
+
}, {}, {
|
|
2821
|
+
$type: string[] | null;
|
|
2822
|
+
}>;
|
|
2823
|
+
headers: drizzle_orm_pg_core1458.PgColumn<{
|
|
2824
|
+
name: "headers";
|
|
2825
|
+
tableName: "sub_agent_tool_relations";
|
|
2826
|
+
dataType: "json";
|
|
2827
|
+
columnType: "PgJsonb";
|
|
2828
|
+
data: Record<string, string> | null;
|
|
2829
|
+
driverParam: unknown;
|
|
2830
|
+
notNull: false;
|
|
2831
|
+
hasDefault: false;
|
|
2832
|
+
isPrimaryKey: false;
|
|
2833
|
+
isAutoincrement: false;
|
|
2834
|
+
hasRuntimeDefault: false;
|
|
2835
|
+
enumValues: undefined;
|
|
2836
|
+
baseColumn: never;
|
|
2837
|
+
identity: undefined;
|
|
2838
|
+
generated: undefined;
|
|
2839
|
+
}, {}, {
|
|
2840
|
+
$type: Record<string, string> | null;
|
|
2841
|
+
}>;
|
|
2842
|
+
toolPolicies: drizzle_orm_pg_core1458.PgColumn<{
|
|
2843
|
+
name: "tool_policies";
|
|
2844
|
+
tableName: "sub_agent_tool_relations";
|
|
2845
|
+
dataType: "json";
|
|
2846
|
+
columnType: "PgJsonb";
|
|
2847
|
+
data: Record<string, {
|
|
2848
|
+
needsApproval?: boolean;
|
|
2849
|
+
}> | null;
|
|
2850
|
+
driverParam: unknown;
|
|
2851
|
+
notNull: false;
|
|
2852
|
+
hasDefault: false;
|
|
2853
|
+
isPrimaryKey: false;
|
|
2854
|
+
isAutoincrement: false;
|
|
2855
|
+
hasRuntimeDefault: false;
|
|
2856
|
+
enumValues: undefined;
|
|
2857
|
+
baseColumn: never;
|
|
2858
|
+
identity: undefined;
|
|
2859
|
+
generated: undefined;
|
|
2860
|
+
}, {}, {
|
|
2861
|
+
$type: Record<string, {
|
|
2862
|
+
needsApproval?: boolean;
|
|
2863
|
+
}> | null;
|
|
2864
|
+
}>;
|
|
2865
|
+
subAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2866
|
+
name: "sub_agent_id";
|
|
2867
|
+
tableName: "sub_agent_tool_relations";
|
|
2828
2868
|
dataType: "string";
|
|
2829
2869
|
columnType: "PgVarchar";
|
|
2830
2870
|
data: string;
|
|
@@ -2841,9 +2881,9 @@ declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2841
2881
|
}, {}, {
|
|
2842
2882
|
length: 256;
|
|
2843
2883
|
}>;
|
|
2844
|
-
agentId:
|
|
2884
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2845
2885
|
name: "agent_id";
|
|
2846
|
-
tableName: "
|
|
2886
|
+
tableName: "sub_agent_tool_relations";
|
|
2847
2887
|
dataType: "string";
|
|
2848
2888
|
columnType: "PgVarchar";
|
|
2849
2889
|
data: string;
|
|
@@ -2860,9 +2900,9 @@ declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2860
2900
|
}, {}, {
|
|
2861
2901
|
length: 256;
|
|
2862
2902
|
}>;
|
|
2863
|
-
projectId:
|
|
2903
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2864
2904
|
name: "project_id";
|
|
2865
|
-
tableName: "
|
|
2905
|
+
tableName: "sub_agent_tool_relations";
|
|
2866
2906
|
dataType: "string";
|
|
2867
2907
|
columnType: "PgVarchar";
|
|
2868
2908
|
data: string;
|
|
@@ -2879,9 +2919,9 @@ declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2879
2919
|
}, {}, {
|
|
2880
2920
|
length: 256;
|
|
2881
2921
|
}>;
|
|
2882
|
-
tenantId:
|
|
2922
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
2883
2923
|
name: "tenant_id";
|
|
2884
|
-
tableName: "
|
|
2924
|
+
tableName: "sub_agent_tool_relations";
|
|
2885
2925
|
dataType: "string";
|
|
2886
2926
|
columnType: "PgVarchar";
|
|
2887
2927
|
data: string;
|
|
@@ -2898,9 +2938,9 @@ declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2898
2938
|
}, {}, {
|
|
2899
2939
|
length: 256;
|
|
2900
2940
|
}>;
|
|
2901
|
-
id:
|
|
2941
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
2902
2942
|
name: "id";
|
|
2903
|
-
tableName: "
|
|
2943
|
+
tableName: "sub_agent_tool_relations";
|
|
2904
2944
|
dataType: "string";
|
|
2905
2945
|
columnType: "PgVarchar";
|
|
2906
2946
|
data: string;
|
|
@@ -2920,13 +2960,13 @@ declare const functionTools: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2920
2960
|
};
|
|
2921
2961
|
dialect: "pg";
|
|
2922
2962
|
}>;
|
|
2923
|
-
declare const
|
|
2924
|
-
name: "
|
|
2963
|
+
declare const subAgentExternalAgentRelations: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
2964
|
+
name: "sub_agent_external_agent_relations";
|
|
2925
2965
|
schema: undefined;
|
|
2926
2966
|
columns: {
|
|
2927
|
-
createdAt:
|
|
2967
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2928
2968
|
name: "created_at";
|
|
2929
|
-
tableName: "
|
|
2969
|
+
tableName: "sub_agent_external_agent_relations";
|
|
2930
2970
|
dataType: "string";
|
|
2931
2971
|
columnType: "PgTimestampString";
|
|
2932
2972
|
data: string;
|
|
@@ -2941,9 +2981,9 @@ declare const functions: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2941
2981
|
identity: undefined;
|
|
2942
2982
|
generated: undefined;
|
|
2943
2983
|
}, {}, {}>;
|
|
2944
|
-
updatedAt:
|
|
2984
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
2945
2985
|
name: "updated_at";
|
|
2946
|
-
tableName: "
|
|
2986
|
+
tableName: "sub_agent_external_agent_relations";
|
|
2947
2987
|
dataType: "string";
|
|
2948
2988
|
columnType: "PgTimestampString";
|
|
2949
2989
|
data: string;
|
|
@@ -2958,12 +2998,31 @@ declare const functions: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2958
2998
|
identity: undefined;
|
|
2959
2999
|
generated: undefined;
|
|
2960
3000
|
}, {}, {}>;
|
|
2961
|
-
|
|
2962
|
-
name: "
|
|
2963
|
-
tableName: "
|
|
3001
|
+
externalAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3002
|
+
name: "external_agent_id";
|
|
3003
|
+
tableName: "sub_agent_external_agent_relations";
|
|
3004
|
+
dataType: "string";
|
|
3005
|
+
columnType: "PgVarchar";
|
|
3006
|
+
data: string;
|
|
3007
|
+
driverParam: string;
|
|
3008
|
+
notNull: true;
|
|
3009
|
+
hasDefault: false;
|
|
3010
|
+
isPrimaryKey: false;
|
|
3011
|
+
isAutoincrement: false;
|
|
3012
|
+
hasRuntimeDefault: false;
|
|
3013
|
+
enumValues: [string, ...string[]];
|
|
3014
|
+
baseColumn: never;
|
|
3015
|
+
identity: undefined;
|
|
3016
|
+
generated: undefined;
|
|
3017
|
+
}, {}, {
|
|
3018
|
+
length: 256;
|
|
3019
|
+
}>;
|
|
3020
|
+
headers: drizzle_orm_pg_core1458.PgColumn<{
|
|
3021
|
+
name: "headers";
|
|
3022
|
+
tableName: "sub_agent_external_agent_relations";
|
|
2964
3023
|
dataType: "json";
|
|
2965
3024
|
columnType: "PgJsonb";
|
|
2966
|
-
data: Record<string,
|
|
3025
|
+
data: Record<string, string> | null;
|
|
2967
3026
|
driverParam: unknown;
|
|
2968
3027
|
notNull: false;
|
|
2969
3028
|
hasDefault: false;
|
|
@@ -2975,13 +3034,13 @@ declare const functions: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2975
3034
|
identity: undefined;
|
|
2976
3035
|
generated: undefined;
|
|
2977
3036
|
}, {}, {
|
|
2978
|
-
$type: Record<string,
|
|
3037
|
+
$type: Record<string, string> | null;
|
|
2979
3038
|
}>;
|
|
2980
|
-
|
|
2981
|
-
name: "
|
|
2982
|
-
tableName: "
|
|
3039
|
+
subAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3040
|
+
name: "sub_agent_id";
|
|
3041
|
+
tableName: "sub_agent_external_agent_relations";
|
|
2983
3042
|
dataType: "string";
|
|
2984
|
-
columnType: "
|
|
3043
|
+
columnType: "PgVarchar";
|
|
2985
3044
|
data: string;
|
|
2986
3045
|
driverParam: string;
|
|
2987
3046
|
notNull: true;
|
|
@@ -2993,29 +3052,31 @@ declare const functions: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
2993
3052
|
baseColumn: never;
|
|
2994
3053
|
identity: undefined;
|
|
2995
3054
|
generated: undefined;
|
|
2996
|
-
}, {}, {
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3055
|
+
}, {}, {
|
|
3056
|
+
length: 256;
|
|
3057
|
+
}>;
|
|
3058
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3059
|
+
name: "agent_id";
|
|
3060
|
+
tableName: "sub_agent_external_agent_relations";
|
|
3061
|
+
dataType: "string";
|
|
3062
|
+
columnType: "PgVarchar";
|
|
3063
|
+
data: string;
|
|
3064
|
+
driverParam: string;
|
|
3065
|
+
notNull: true;
|
|
3005
3066
|
hasDefault: false;
|
|
3006
3067
|
isPrimaryKey: false;
|
|
3007
3068
|
isAutoincrement: false;
|
|
3008
3069
|
hasRuntimeDefault: false;
|
|
3009
|
-
enumValues:
|
|
3070
|
+
enumValues: [string, ...string[]];
|
|
3010
3071
|
baseColumn: never;
|
|
3011
3072
|
identity: undefined;
|
|
3012
3073
|
generated: undefined;
|
|
3013
3074
|
}, {}, {
|
|
3014
|
-
|
|
3075
|
+
length: 256;
|
|
3015
3076
|
}>;
|
|
3016
|
-
projectId:
|
|
3077
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3017
3078
|
name: "project_id";
|
|
3018
|
-
tableName: "
|
|
3079
|
+
tableName: "sub_agent_external_agent_relations";
|
|
3019
3080
|
dataType: "string";
|
|
3020
3081
|
columnType: "PgVarchar";
|
|
3021
3082
|
data: string;
|
|
@@ -3032,9 +3093,9 @@ declare const functions: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3032
3093
|
}, {}, {
|
|
3033
3094
|
length: 256;
|
|
3034
3095
|
}>;
|
|
3035
|
-
tenantId:
|
|
3096
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3036
3097
|
name: "tenant_id";
|
|
3037
|
-
tableName: "
|
|
3098
|
+
tableName: "sub_agent_external_agent_relations";
|
|
3038
3099
|
dataType: "string";
|
|
3039
3100
|
columnType: "PgVarchar";
|
|
3040
3101
|
data: string;
|
|
@@ -3051,9 +3112,9 @@ declare const functions: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3051
3112
|
}, {}, {
|
|
3052
3113
|
length: 256;
|
|
3053
3114
|
}>;
|
|
3054
|
-
id:
|
|
3115
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
3055
3116
|
name: "id";
|
|
3056
|
-
tableName: "
|
|
3117
|
+
tableName: "sub_agent_external_agent_relations";
|
|
3057
3118
|
dataType: "string";
|
|
3058
3119
|
columnType: "PgVarchar";
|
|
3059
3120
|
data: string;
|
|
@@ -3073,13 +3134,13 @@ declare const functions: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3073
3134
|
};
|
|
3074
3135
|
dialect: "pg";
|
|
3075
3136
|
}>;
|
|
3076
|
-
declare const
|
|
3077
|
-
name: "
|
|
3137
|
+
declare const subAgentTeamAgentRelations: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
3138
|
+
name: "sub_agent_team_agent_relations";
|
|
3078
3139
|
schema: undefined;
|
|
3079
3140
|
columns: {
|
|
3080
|
-
createdAt:
|
|
3141
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3081
3142
|
name: "created_at";
|
|
3082
|
-
tableName: "
|
|
3143
|
+
tableName: "sub_agent_team_agent_relations";
|
|
3083
3144
|
dataType: "string";
|
|
3084
3145
|
columnType: "PgTimestampString";
|
|
3085
3146
|
data: string;
|
|
@@ -3094,9 +3155,9 @@ declare const subAgentToolRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3094
3155
|
identity: undefined;
|
|
3095
3156
|
generated: undefined;
|
|
3096
3157
|
}, {}, {}>;
|
|
3097
|
-
updatedAt:
|
|
3158
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3098
3159
|
name: "updated_at";
|
|
3099
|
-
tableName: "
|
|
3160
|
+
tableName: "sub_agent_team_agent_relations";
|
|
3100
3161
|
dataType: "string";
|
|
3101
3162
|
columnType: "PgTimestampString";
|
|
3102
3163
|
data: string;
|
|
@@ -3111,71 +3172,31 @@ declare const subAgentToolRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3111
3172
|
identity: undefined;
|
|
3112
3173
|
generated: undefined;
|
|
3113
3174
|
}, {}, {}>;
|
|
3114
|
-
|
|
3115
|
-
name: "
|
|
3116
|
-
tableName: "
|
|
3175
|
+
targetAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3176
|
+
name: "target_agent_id";
|
|
3177
|
+
tableName: "sub_agent_team_agent_relations";
|
|
3117
3178
|
dataType: "string";
|
|
3118
3179
|
columnType: "PgVarchar";
|
|
3119
|
-
data: string;
|
|
3120
|
-
driverParam: string;
|
|
3121
|
-
notNull: true;
|
|
3122
|
-
hasDefault: false;
|
|
3123
|
-
isPrimaryKey: false;
|
|
3124
|
-
isAutoincrement: false;
|
|
3125
|
-
hasRuntimeDefault: false;
|
|
3126
|
-
enumValues: [string, ...string[]];
|
|
3127
|
-
baseColumn: never;
|
|
3128
|
-
identity: undefined;
|
|
3129
|
-
generated: undefined;
|
|
3130
|
-
}, {}, {
|
|
3131
|
-
length: 256;
|
|
3132
|
-
}>;
|
|
3133
|
-
selectedTools: drizzle_orm_pg_core208.PgColumn<{
|
|
3134
|
-
name: "selected_tools";
|
|
3135
|
-
tableName: "sub_agent_tool_relations";
|
|
3136
|
-
dataType: "json";
|
|
3137
|
-
columnType: "PgJsonb";
|
|
3138
|
-
data: string[] | null;
|
|
3139
|
-
driverParam: unknown;
|
|
3140
|
-
notNull: false;
|
|
3141
|
-
hasDefault: false;
|
|
3142
|
-
isPrimaryKey: false;
|
|
3143
|
-
isAutoincrement: false;
|
|
3144
|
-
hasRuntimeDefault: false;
|
|
3145
|
-
enumValues: undefined;
|
|
3146
|
-
baseColumn: never;
|
|
3147
|
-
identity: undefined;
|
|
3148
|
-
generated: undefined;
|
|
3149
|
-
}, {}, {
|
|
3150
|
-
$type: string[] | null;
|
|
3151
|
-
}>;
|
|
3152
|
-
headers: drizzle_orm_pg_core208.PgColumn<{
|
|
3153
|
-
name: "headers";
|
|
3154
|
-
tableName: "sub_agent_tool_relations";
|
|
3155
|
-
dataType: "json";
|
|
3156
|
-
columnType: "PgJsonb";
|
|
3157
|
-
data: Record<string, string> | null;
|
|
3158
|
-
driverParam: unknown;
|
|
3159
|
-
notNull: false;
|
|
3180
|
+
data: string;
|
|
3181
|
+
driverParam: string;
|
|
3182
|
+
notNull: true;
|
|
3160
3183
|
hasDefault: false;
|
|
3161
3184
|
isPrimaryKey: false;
|
|
3162
3185
|
isAutoincrement: false;
|
|
3163
3186
|
hasRuntimeDefault: false;
|
|
3164
|
-
enumValues:
|
|
3187
|
+
enumValues: [string, ...string[]];
|
|
3165
3188
|
baseColumn: never;
|
|
3166
3189
|
identity: undefined;
|
|
3167
3190
|
generated: undefined;
|
|
3168
3191
|
}, {}, {
|
|
3169
|
-
|
|
3192
|
+
length: 256;
|
|
3170
3193
|
}>;
|
|
3171
|
-
|
|
3172
|
-
name: "
|
|
3173
|
-
tableName: "
|
|
3194
|
+
headers: drizzle_orm_pg_core1458.PgColumn<{
|
|
3195
|
+
name: "headers";
|
|
3196
|
+
tableName: "sub_agent_team_agent_relations";
|
|
3174
3197
|
dataType: "json";
|
|
3175
3198
|
columnType: "PgJsonb";
|
|
3176
|
-
data: Record<string,
|
|
3177
|
-
needsApproval?: boolean;
|
|
3178
|
-
}> | null;
|
|
3199
|
+
data: Record<string, string> | null;
|
|
3179
3200
|
driverParam: unknown;
|
|
3180
3201
|
notNull: false;
|
|
3181
3202
|
hasDefault: false;
|
|
@@ -3187,13 +3208,11 @@ declare const subAgentToolRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3187
3208
|
identity: undefined;
|
|
3188
3209
|
generated: undefined;
|
|
3189
3210
|
}, {}, {
|
|
3190
|
-
$type: Record<string,
|
|
3191
|
-
needsApproval?: boolean;
|
|
3192
|
-
}> | null;
|
|
3211
|
+
$type: Record<string, string> | null;
|
|
3193
3212
|
}>;
|
|
3194
|
-
subAgentId:
|
|
3213
|
+
subAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3195
3214
|
name: "sub_agent_id";
|
|
3196
|
-
tableName: "
|
|
3215
|
+
tableName: "sub_agent_team_agent_relations";
|
|
3197
3216
|
dataType: "string";
|
|
3198
3217
|
columnType: "PgVarchar";
|
|
3199
3218
|
data: string;
|
|
@@ -3210,9 +3229,9 @@ declare const subAgentToolRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3210
3229
|
}, {}, {
|
|
3211
3230
|
length: 256;
|
|
3212
3231
|
}>;
|
|
3213
|
-
agentId:
|
|
3232
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3214
3233
|
name: "agent_id";
|
|
3215
|
-
tableName: "
|
|
3234
|
+
tableName: "sub_agent_team_agent_relations";
|
|
3216
3235
|
dataType: "string";
|
|
3217
3236
|
columnType: "PgVarchar";
|
|
3218
3237
|
data: string;
|
|
@@ -3229,9 +3248,9 @@ declare const subAgentToolRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3229
3248
|
}, {}, {
|
|
3230
3249
|
length: 256;
|
|
3231
3250
|
}>;
|
|
3232
|
-
projectId:
|
|
3251
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3233
3252
|
name: "project_id";
|
|
3234
|
-
tableName: "
|
|
3253
|
+
tableName: "sub_agent_team_agent_relations";
|
|
3235
3254
|
dataType: "string";
|
|
3236
3255
|
columnType: "PgVarchar";
|
|
3237
3256
|
data: string;
|
|
@@ -3248,9 +3267,9 @@ declare const subAgentToolRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3248
3267
|
}, {}, {
|
|
3249
3268
|
length: 256;
|
|
3250
3269
|
}>;
|
|
3251
|
-
tenantId:
|
|
3270
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3252
3271
|
name: "tenant_id";
|
|
3253
|
-
tableName: "
|
|
3272
|
+
tableName: "sub_agent_team_agent_relations";
|
|
3254
3273
|
dataType: "string";
|
|
3255
3274
|
columnType: "PgVarchar";
|
|
3256
3275
|
data: string;
|
|
@@ -3267,9 +3286,9 @@ declare const subAgentToolRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3267
3286
|
}, {}, {
|
|
3268
3287
|
length: 256;
|
|
3269
3288
|
}>;
|
|
3270
|
-
id:
|
|
3289
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
3271
3290
|
name: "id";
|
|
3272
|
-
tableName: "
|
|
3291
|
+
tableName: "sub_agent_team_agent_relations";
|
|
3273
3292
|
dataType: "string";
|
|
3274
3293
|
columnType: "PgVarchar";
|
|
3275
3294
|
data: string;
|
|
@@ -3289,13 +3308,13 @@ declare const subAgentToolRelations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3289
3308
|
};
|
|
3290
3309
|
dialect: "pg";
|
|
3291
3310
|
}>;
|
|
3292
|
-
declare const
|
|
3293
|
-
name: "
|
|
3311
|
+
declare const subAgentFunctionToolRelations: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
3312
|
+
name: "sub_agent_function_tool_relations";
|
|
3294
3313
|
schema: undefined;
|
|
3295
3314
|
columns: {
|
|
3296
|
-
createdAt:
|
|
3315
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3297
3316
|
name: "created_at";
|
|
3298
|
-
tableName: "
|
|
3317
|
+
tableName: "sub_agent_function_tool_relations";
|
|
3299
3318
|
dataType: "string";
|
|
3300
3319
|
columnType: "PgTimestampString";
|
|
3301
3320
|
data: string;
|
|
@@ -3310,9 +3329,9 @@ declare const subAgentExternalAgentRelations: drizzle_orm_pg_core208.PgTableWith
|
|
|
3310
3329
|
identity: undefined;
|
|
3311
3330
|
generated: undefined;
|
|
3312
3331
|
}, {}, {}>;
|
|
3313
|
-
updatedAt:
|
|
3332
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3314
3333
|
name: "updated_at";
|
|
3315
|
-
tableName: "
|
|
3334
|
+
tableName: "sub_agent_function_tool_relations";
|
|
3316
3335
|
dataType: "string";
|
|
3317
3336
|
columnType: "PgTimestampString";
|
|
3318
3337
|
data: string;
|
|
@@ -3327,9 +3346,9 @@ declare const subAgentExternalAgentRelations: drizzle_orm_pg_core208.PgTableWith
|
|
|
3327
3346
|
identity: undefined;
|
|
3328
3347
|
generated: undefined;
|
|
3329
3348
|
}, {}, {}>;
|
|
3330
|
-
|
|
3331
|
-
name: "
|
|
3332
|
-
tableName: "
|
|
3349
|
+
functionToolId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3350
|
+
name: "function_tool_id";
|
|
3351
|
+
tableName: "sub_agent_function_tool_relations";
|
|
3333
3352
|
dataType: "string";
|
|
3334
3353
|
columnType: "PgVarchar";
|
|
3335
3354
|
data: string;
|
|
@@ -3346,28 +3365,9 @@ declare const subAgentExternalAgentRelations: drizzle_orm_pg_core208.PgTableWith
|
|
|
3346
3365
|
}, {}, {
|
|
3347
3366
|
length: 256;
|
|
3348
3367
|
}>;
|
|
3349
|
-
|
|
3350
|
-
name: "headers";
|
|
3351
|
-
tableName: "sub_agent_external_agent_relations";
|
|
3352
|
-
dataType: "json";
|
|
3353
|
-
columnType: "PgJsonb";
|
|
3354
|
-
data: Record<string, string> | null;
|
|
3355
|
-
driverParam: unknown;
|
|
3356
|
-
notNull: false;
|
|
3357
|
-
hasDefault: false;
|
|
3358
|
-
isPrimaryKey: false;
|
|
3359
|
-
isAutoincrement: false;
|
|
3360
|
-
hasRuntimeDefault: false;
|
|
3361
|
-
enumValues: undefined;
|
|
3362
|
-
baseColumn: never;
|
|
3363
|
-
identity: undefined;
|
|
3364
|
-
generated: undefined;
|
|
3365
|
-
}, {}, {
|
|
3366
|
-
$type: Record<string, string> | null;
|
|
3367
|
-
}>;
|
|
3368
|
-
subAgentId: drizzle_orm_pg_core208.PgColumn<{
|
|
3368
|
+
subAgentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3369
3369
|
name: "sub_agent_id";
|
|
3370
|
-
tableName: "
|
|
3370
|
+
tableName: "sub_agent_function_tool_relations";
|
|
3371
3371
|
dataType: "string";
|
|
3372
3372
|
columnType: "PgVarchar";
|
|
3373
3373
|
data: string;
|
|
@@ -3384,9 +3384,9 @@ declare const subAgentExternalAgentRelations: drizzle_orm_pg_core208.PgTableWith
|
|
|
3384
3384
|
}, {}, {
|
|
3385
3385
|
length: 256;
|
|
3386
3386
|
}>;
|
|
3387
|
-
agentId:
|
|
3387
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3388
3388
|
name: "agent_id";
|
|
3389
|
-
tableName: "
|
|
3389
|
+
tableName: "sub_agent_function_tool_relations";
|
|
3390
3390
|
dataType: "string";
|
|
3391
3391
|
columnType: "PgVarchar";
|
|
3392
3392
|
data: string;
|
|
@@ -3403,9 +3403,9 @@ declare const subAgentExternalAgentRelations: drizzle_orm_pg_core208.PgTableWith
|
|
|
3403
3403
|
}, {}, {
|
|
3404
3404
|
length: 256;
|
|
3405
3405
|
}>;
|
|
3406
|
-
projectId:
|
|
3406
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3407
3407
|
name: "project_id";
|
|
3408
|
-
tableName: "
|
|
3408
|
+
tableName: "sub_agent_function_tool_relations";
|
|
3409
3409
|
dataType: "string";
|
|
3410
3410
|
columnType: "PgVarchar";
|
|
3411
3411
|
data: string;
|
|
@@ -3422,9 +3422,9 @@ declare const subAgentExternalAgentRelations: drizzle_orm_pg_core208.PgTableWith
|
|
|
3422
3422
|
}, {}, {
|
|
3423
3423
|
length: 256;
|
|
3424
3424
|
}>;
|
|
3425
|
-
tenantId:
|
|
3425
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3426
3426
|
name: "tenant_id";
|
|
3427
|
-
tableName: "
|
|
3427
|
+
tableName: "sub_agent_function_tool_relations";
|
|
3428
3428
|
dataType: "string";
|
|
3429
3429
|
columnType: "PgVarchar";
|
|
3430
3430
|
data: string;
|
|
@@ -3441,9 +3441,9 @@ declare const subAgentExternalAgentRelations: drizzle_orm_pg_core208.PgTableWith
|
|
|
3441
3441
|
}, {}, {
|
|
3442
3442
|
length: 256;
|
|
3443
3443
|
}>;
|
|
3444
|
-
id:
|
|
3444
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
3445
3445
|
name: "id";
|
|
3446
|
-
tableName: "
|
|
3446
|
+
tableName: "sub_agent_function_tool_relations";
|
|
3447
3447
|
dataType: "string";
|
|
3448
3448
|
columnType: "PgVarchar";
|
|
3449
3449
|
data: string;
|
|
@@ -3463,13 +3463,13 @@ declare const subAgentExternalAgentRelations: drizzle_orm_pg_core208.PgTableWith
|
|
|
3463
3463
|
};
|
|
3464
3464
|
dialect: "pg";
|
|
3465
3465
|
}>;
|
|
3466
|
-
declare const
|
|
3467
|
-
name: "
|
|
3466
|
+
declare const credentialReferences: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
3467
|
+
name: "credential_references";
|
|
3468
3468
|
schema: undefined;
|
|
3469
3469
|
columns: {
|
|
3470
|
-
createdAt:
|
|
3470
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3471
3471
|
name: "created_at";
|
|
3472
|
-
tableName: "
|
|
3472
|
+
tableName: "credential_references";
|
|
3473
3473
|
dataType: "string";
|
|
3474
3474
|
columnType: "PgTimestampString";
|
|
3475
3475
|
data: string;
|
|
@@ -3484,9 +3484,9 @@ declare const subAgentTeamAgentRelations: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
3484
3484
|
identity: undefined;
|
|
3485
3485
|
generated: undefined;
|
|
3486
3486
|
}, {}, {}>;
|
|
3487
|
-
updatedAt:
|
|
3487
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3488
3488
|
name: "updated_at";
|
|
3489
|
-
tableName: "
|
|
3489
|
+
tableName: "credential_references";
|
|
3490
3490
|
dataType: "string";
|
|
3491
3491
|
columnType: "PgTimestampString";
|
|
3492
3492
|
data: string;
|
|
@@ -3501,9 +3501,9 @@ declare const subAgentTeamAgentRelations: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
3501
3501
|
identity: undefined;
|
|
3502
3502
|
generated: undefined;
|
|
3503
3503
|
}, {}, {}>;
|
|
3504
|
-
|
|
3505
|
-
name: "
|
|
3506
|
-
tableName: "
|
|
3504
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
3505
|
+
name: "name";
|
|
3506
|
+
tableName: "credential_references";
|
|
3507
3507
|
dataType: "string";
|
|
3508
3508
|
columnType: "PgVarchar";
|
|
3509
3509
|
data: string;
|
|
@@ -3520,12 +3520,50 @@ declare const subAgentTeamAgentRelations: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
3520
3520
|
}, {}, {
|
|
3521
3521
|
length: 256;
|
|
3522
3522
|
}>;
|
|
3523
|
-
|
|
3524
|
-
name: "
|
|
3525
|
-
tableName: "
|
|
3523
|
+
type: drizzle_orm_pg_core1458.PgColumn<{
|
|
3524
|
+
name: "type";
|
|
3525
|
+
tableName: "credential_references";
|
|
3526
|
+
dataType: "string";
|
|
3527
|
+
columnType: "PgVarchar";
|
|
3528
|
+
data: string;
|
|
3529
|
+
driverParam: string;
|
|
3530
|
+
notNull: true;
|
|
3531
|
+
hasDefault: false;
|
|
3532
|
+
isPrimaryKey: false;
|
|
3533
|
+
isAutoincrement: false;
|
|
3534
|
+
hasRuntimeDefault: false;
|
|
3535
|
+
enumValues: [string, ...string[]];
|
|
3536
|
+
baseColumn: never;
|
|
3537
|
+
identity: undefined;
|
|
3538
|
+
generated: undefined;
|
|
3539
|
+
}, {}, {
|
|
3540
|
+
length: 256;
|
|
3541
|
+
}>;
|
|
3542
|
+
credentialStoreId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3543
|
+
name: "credential_store_id";
|
|
3544
|
+
tableName: "credential_references";
|
|
3545
|
+
dataType: "string";
|
|
3546
|
+
columnType: "PgVarchar";
|
|
3547
|
+
data: string;
|
|
3548
|
+
driverParam: string;
|
|
3549
|
+
notNull: true;
|
|
3550
|
+
hasDefault: false;
|
|
3551
|
+
isPrimaryKey: false;
|
|
3552
|
+
isAutoincrement: false;
|
|
3553
|
+
hasRuntimeDefault: false;
|
|
3554
|
+
enumValues: [string, ...string[]];
|
|
3555
|
+
baseColumn: never;
|
|
3556
|
+
identity: undefined;
|
|
3557
|
+
generated: undefined;
|
|
3558
|
+
}, {}, {
|
|
3559
|
+
length: 256;
|
|
3560
|
+
}>;
|
|
3561
|
+
retrievalParams: drizzle_orm_pg_core1458.PgColumn<{
|
|
3562
|
+
name: "retrieval_params";
|
|
3563
|
+
tableName: "credential_references";
|
|
3526
3564
|
dataType: "json";
|
|
3527
3565
|
columnType: "PgJsonb";
|
|
3528
|
-
data: Record<string,
|
|
3566
|
+
data: Record<string, unknown>;
|
|
3529
3567
|
driverParam: unknown;
|
|
3530
3568
|
notNull: false;
|
|
3531
3569
|
hasDefault: false;
|
|
@@ -3537,16 +3575,16 @@ declare const subAgentTeamAgentRelations: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
3537
3575
|
identity: undefined;
|
|
3538
3576
|
generated: undefined;
|
|
3539
3577
|
}, {}, {
|
|
3540
|
-
$type: Record<string,
|
|
3578
|
+
$type: Record<string, unknown>;
|
|
3541
3579
|
}>;
|
|
3542
|
-
|
|
3543
|
-
name: "
|
|
3544
|
-
tableName: "
|
|
3580
|
+
toolId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3581
|
+
name: "tool_id";
|
|
3582
|
+
tableName: "credential_references";
|
|
3545
3583
|
dataType: "string";
|
|
3546
3584
|
columnType: "PgVarchar";
|
|
3547
3585
|
data: string;
|
|
3548
3586
|
driverParam: string;
|
|
3549
|
-
notNull:
|
|
3587
|
+
notNull: false;
|
|
3550
3588
|
hasDefault: false;
|
|
3551
3589
|
isPrimaryKey: false;
|
|
3552
3590
|
isAutoincrement: false;
|
|
@@ -3558,14 +3596,33 @@ declare const subAgentTeamAgentRelations: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
3558
3596
|
}, {}, {
|
|
3559
3597
|
length: 256;
|
|
3560
3598
|
}>;
|
|
3561
|
-
|
|
3562
|
-
name: "
|
|
3563
|
-
tableName: "
|
|
3599
|
+
userId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3600
|
+
name: "user_id";
|
|
3601
|
+
tableName: "credential_references";
|
|
3564
3602
|
dataType: "string";
|
|
3565
3603
|
columnType: "PgVarchar";
|
|
3566
3604
|
data: string;
|
|
3567
3605
|
driverParam: string;
|
|
3568
|
-
notNull:
|
|
3606
|
+
notNull: false;
|
|
3607
|
+
hasDefault: false;
|
|
3608
|
+
isPrimaryKey: false;
|
|
3609
|
+
isAutoincrement: false;
|
|
3610
|
+
hasRuntimeDefault: false;
|
|
3611
|
+
enumValues: [string, ...string[]];
|
|
3612
|
+
baseColumn: never;
|
|
3613
|
+
identity: undefined;
|
|
3614
|
+
generated: undefined;
|
|
3615
|
+
}, {}, {
|
|
3616
|
+
length: 256;
|
|
3617
|
+
}>;
|
|
3618
|
+
createdBy: drizzle_orm_pg_core1458.PgColumn<{
|
|
3619
|
+
name: "created_by";
|
|
3620
|
+
tableName: "credential_references";
|
|
3621
|
+
dataType: "string";
|
|
3622
|
+
columnType: "PgVarchar";
|
|
3623
|
+
data: string;
|
|
3624
|
+
driverParam: string;
|
|
3625
|
+
notNull: false;
|
|
3569
3626
|
hasDefault: false;
|
|
3570
3627
|
isPrimaryKey: false;
|
|
3571
3628
|
isAutoincrement: false;
|
|
@@ -3577,9 +3634,9 @@ declare const subAgentTeamAgentRelations: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
3577
3634
|
}, {}, {
|
|
3578
3635
|
length: 256;
|
|
3579
3636
|
}>;
|
|
3580
|
-
projectId:
|
|
3637
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3581
3638
|
name: "project_id";
|
|
3582
|
-
tableName: "
|
|
3639
|
+
tableName: "credential_references";
|
|
3583
3640
|
dataType: "string";
|
|
3584
3641
|
columnType: "PgVarchar";
|
|
3585
3642
|
data: string;
|
|
@@ -3596,9 +3653,9 @@ declare const subAgentTeamAgentRelations: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
3596
3653
|
}, {}, {
|
|
3597
3654
|
length: 256;
|
|
3598
3655
|
}>;
|
|
3599
|
-
tenantId:
|
|
3656
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3600
3657
|
name: "tenant_id";
|
|
3601
|
-
tableName: "
|
|
3658
|
+
tableName: "credential_references";
|
|
3602
3659
|
dataType: "string";
|
|
3603
3660
|
columnType: "PgVarchar";
|
|
3604
3661
|
data: string;
|
|
@@ -3615,9 +3672,9 @@ declare const subAgentTeamAgentRelations: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
3615
3672
|
}, {}, {
|
|
3616
3673
|
length: 256;
|
|
3617
3674
|
}>;
|
|
3618
|
-
id:
|
|
3675
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
3619
3676
|
name: "id";
|
|
3620
|
-
tableName: "
|
|
3677
|
+
tableName: "credential_references";
|
|
3621
3678
|
dataType: "string";
|
|
3622
3679
|
columnType: "PgVarchar";
|
|
3623
3680
|
data: string;
|
|
@@ -3637,13 +3694,23 @@ declare const subAgentTeamAgentRelations: drizzle_orm_pg_core208.PgTableWithColu
|
|
|
3637
3694
|
};
|
|
3638
3695
|
dialect: "pg";
|
|
3639
3696
|
}>;
|
|
3640
|
-
|
|
3641
|
-
|
|
3697
|
+
/**
|
|
3698
|
+
* A collection of test cases/items used for evaluation. Contains dataset items
|
|
3699
|
+
* that define input/output pairs for testing agents. Used for batch evaluation
|
|
3700
|
+
* runs where conversations are created from dataset items. Each datasetRun
|
|
3701
|
+
* specifies which agent to use when executing the dataset.
|
|
3702
|
+
*
|
|
3703
|
+
* one to many relationship with datasetItem
|
|
3704
|
+
*
|
|
3705
|
+
* Includes: name and timestamps
|
|
3706
|
+
*/
|
|
3707
|
+
declare const dataset: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
3708
|
+
name: "dataset";
|
|
3642
3709
|
schema: undefined;
|
|
3643
3710
|
columns: {
|
|
3644
|
-
createdAt:
|
|
3711
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3645
3712
|
name: "created_at";
|
|
3646
|
-
tableName: "
|
|
3713
|
+
tableName: "dataset";
|
|
3647
3714
|
dataType: "string";
|
|
3648
3715
|
columnType: "PgTimestampString";
|
|
3649
3716
|
data: string;
|
|
@@ -3658,9 +3725,9 @@ declare const subAgentFunctionToolRelations: drizzle_orm_pg_core208.PgTableWithC
|
|
|
3658
3725
|
identity: undefined;
|
|
3659
3726
|
generated: undefined;
|
|
3660
3727
|
}, {}, {}>;
|
|
3661
|
-
updatedAt:
|
|
3728
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3662
3729
|
name: "updated_at";
|
|
3663
|
-
tableName: "
|
|
3730
|
+
tableName: "dataset";
|
|
3664
3731
|
dataType: "string";
|
|
3665
3732
|
columnType: "PgTimestampString";
|
|
3666
3733
|
data: string;
|
|
@@ -3675,47 +3742,9 @@ declare const subAgentFunctionToolRelations: drizzle_orm_pg_core208.PgTableWithC
|
|
|
3675
3742
|
identity: undefined;
|
|
3676
3743
|
generated: undefined;
|
|
3677
3744
|
}, {}, {}>;
|
|
3678
|
-
|
|
3679
|
-
name: "
|
|
3680
|
-
tableName: "
|
|
3681
|
-
dataType: "string";
|
|
3682
|
-
columnType: "PgVarchar";
|
|
3683
|
-
data: string;
|
|
3684
|
-
driverParam: string;
|
|
3685
|
-
notNull: true;
|
|
3686
|
-
hasDefault: false;
|
|
3687
|
-
isPrimaryKey: false;
|
|
3688
|
-
isAutoincrement: false;
|
|
3689
|
-
hasRuntimeDefault: false;
|
|
3690
|
-
enumValues: [string, ...string[]];
|
|
3691
|
-
baseColumn: never;
|
|
3692
|
-
identity: undefined;
|
|
3693
|
-
generated: undefined;
|
|
3694
|
-
}, {}, {
|
|
3695
|
-
length: 256;
|
|
3696
|
-
}>;
|
|
3697
|
-
subAgentId: drizzle_orm_pg_core208.PgColumn<{
|
|
3698
|
-
name: "sub_agent_id";
|
|
3699
|
-
tableName: "sub_agent_function_tool_relations";
|
|
3700
|
-
dataType: "string";
|
|
3701
|
-
columnType: "PgVarchar";
|
|
3702
|
-
data: string;
|
|
3703
|
-
driverParam: string;
|
|
3704
|
-
notNull: true;
|
|
3705
|
-
hasDefault: false;
|
|
3706
|
-
isPrimaryKey: false;
|
|
3707
|
-
isAutoincrement: false;
|
|
3708
|
-
hasRuntimeDefault: false;
|
|
3709
|
-
enumValues: [string, ...string[]];
|
|
3710
|
-
baseColumn: never;
|
|
3711
|
-
identity: undefined;
|
|
3712
|
-
generated: undefined;
|
|
3713
|
-
}, {}, {
|
|
3714
|
-
length: 256;
|
|
3715
|
-
}>;
|
|
3716
|
-
agentId: drizzle_orm_pg_core208.PgColumn<{
|
|
3717
|
-
name: "agent_id";
|
|
3718
|
-
tableName: "sub_agent_function_tool_relations";
|
|
3745
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
3746
|
+
name: "name";
|
|
3747
|
+
tableName: "dataset";
|
|
3719
3748
|
dataType: "string";
|
|
3720
3749
|
columnType: "PgVarchar";
|
|
3721
3750
|
data: string;
|
|
@@ -3732,9 +3761,9 @@ declare const subAgentFunctionToolRelations: drizzle_orm_pg_core208.PgTableWithC
|
|
|
3732
3761
|
}, {}, {
|
|
3733
3762
|
length: 256;
|
|
3734
3763
|
}>;
|
|
3735
|
-
projectId:
|
|
3764
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3736
3765
|
name: "project_id";
|
|
3737
|
-
tableName: "
|
|
3766
|
+
tableName: "dataset";
|
|
3738
3767
|
dataType: "string";
|
|
3739
3768
|
columnType: "PgVarchar";
|
|
3740
3769
|
data: string;
|
|
@@ -3751,9 +3780,9 @@ declare const subAgentFunctionToolRelations: drizzle_orm_pg_core208.PgTableWithC
|
|
|
3751
3780
|
}, {}, {
|
|
3752
3781
|
length: 256;
|
|
3753
3782
|
}>;
|
|
3754
|
-
tenantId:
|
|
3783
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3755
3784
|
name: "tenant_id";
|
|
3756
|
-
tableName: "
|
|
3785
|
+
tableName: "dataset";
|
|
3757
3786
|
dataType: "string";
|
|
3758
3787
|
columnType: "PgVarchar";
|
|
3759
3788
|
data: string;
|
|
@@ -3770,9 +3799,9 @@ declare const subAgentFunctionToolRelations: drizzle_orm_pg_core208.PgTableWithC
|
|
|
3770
3799
|
}, {}, {
|
|
3771
3800
|
length: 256;
|
|
3772
3801
|
}>;
|
|
3773
|
-
id:
|
|
3802
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
3774
3803
|
name: "id";
|
|
3775
|
-
tableName: "
|
|
3804
|
+
tableName: "dataset";
|
|
3776
3805
|
dataType: "string";
|
|
3777
3806
|
columnType: "PgVarchar";
|
|
3778
3807
|
data: string;
|
|
@@ -3792,13 +3821,24 @@ declare const subAgentFunctionToolRelations: drizzle_orm_pg_core208.PgTableWithC
|
|
|
3792
3821
|
};
|
|
3793
3822
|
dialect: "pg";
|
|
3794
3823
|
}>;
|
|
3795
|
-
|
|
3796
|
-
|
|
3824
|
+
/**
|
|
3825
|
+
*
|
|
3826
|
+
* Individual test case within a dataset. Contains the input messages to send
|
|
3827
|
+
* to an agent and optionally expected output or simulation configuration.
|
|
3828
|
+
* When a dataset run executes, it creates conversations from these items.
|
|
3829
|
+
*
|
|
3830
|
+
*
|
|
3831
|
+
* Includes: input (messages array with optional headers), expected output (array of messages),
|
|
3832
|
+
* simulation agent (stopWhen conditions, prompt/modelConfig), and timestamps
|
|
3833
|
+
* 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
|
|
3834
|
+
*/
|
|
3835
|
+
declare const datasetItem: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
3836
|
+
name: "dataset_item";
|
|
3797
3837
|
schema: undefined;
|
|
3798
3838
|
columns: {
|
|
3799
|
-
createdAt:
|
|
3839
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3800
3840
|
name: "created_at";
|
|
3801
|
-
tableName: "
|
|
3841
|
+
tableName: "dataset_item";
|
|
3802
3842
|
dataType: "string";
|
|
3803
3843
|
columnType: "PgTimestampString";
|
|
3804
3844
|
data: string;
|
|
@@ -3813,9 +3853,9 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3813
3853
|
identity: undefined;
|
|
3814
3854
|
generated: undefined;
|
|
3815
3855
|
}, {}, {}>;
|
|
3816
|
-
updatedAt:
|
|
3856
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3817
3857
|
name: "updated_at";
|
|
3818
|
-
tableName: "
|
|
3858
|
+
tableName: "dataset_item";
|
|
3819
3859
|
dataType: "string";
|
|
3820
3860
|
columnType: "PgTimestampString";
|
|
3821
3861
|
data: string;
|
|
@@ -3830,14 +3870,14 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3830
3870
|
identity: undefined;
|
|
3831
3871
|
generated: undefined;
|
|
3832
3872
|
}, {}, {}>;
|
|
3833
|
-
|
|
3834
|
-
name: "
|
|
3835
|
-
tableName: "
|
|
3873
|
+
datasetId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3874
|
+
name: "dataset_id";
|
|
3875
|
+
tableName: "dataset_item";
|
|
3836
3876
|
dataType: "string";
|
|
3837
|
-
columnType: "
|
|
3877
|
+
columnType: "PgText";
|
|
3838
3878
|
data: string;
|
|
3839
3879
|
driverParam: string;
|
|
3840
|
-
notNull:
|
|
3880
|
+
notNull: true;
|
|
3841
3881
|
hasDefault: false;
|
|
3842
3882
|
isPrimaryKey: false;
|
|
3843
3883
|
isAutoincrement: false;
|
|
@@ -3846,52 +3886,33 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3846
3886
|
baseColumn: never;
|
|
3847
3887
|
identity: undefined;
|
|
3848
3888
|
generated: undefined;
|
|
3849
|
-
}, {}, {
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
data: string;
|
|
3858
|
-
driverParam: string;
|
|
3889
|
+
}, {}, {}>;
|
|
3890
|
+
input: drizzle_orm_pg_core1458.PgColumn<{
|
|
3891
|
+
name: "input";
|
|
3892
|
+
tableName: "dataset_item";
|
|
3893
|
+
dataType: "json";
|
|
3894
|
+
columnType: "PgJsonb";
|
|
3895
|
+
data: DatasetItemInput;
|
|
3896
|
+
driverParam: unknown;
|
|
3859
3897
|
notNull: true;
|
|
3860
3898
|
hasDefault: false;
|
|
3861
3899
|
isPrimaryKey: false;
|
|
3862
3900
|
isAutoincrement: false;
|
|
3863
3901
|
hasRuntimeDefault: false;
|
|
3864
|
-
enumValues:
|
|
3902
|
+
enumValues: undefined;
|
|
3865
3903
|
baseColumn: never;
|
|
3866
3904
|
identity: undefined;
|
|
3867
3905
|
generated: undefined;
|
|
3868
3906
|
}, {}, {
|
|
3869
|
-
|
|
3907
|
+
$type: DatasetItemInput;
|
|
3870
3908
|
}>;
|
|
3871
|
-
|
|
3872
|
-
name: "
|
|
3873
|
-
tableName: "
|
|
3874
|
-
dataType: "
|
|
3875
|
-
columnType: "
|
|
3876
|
-
data:
|
|
3877
|
-
driverParam:
|
|
3878
|
-
notNull: false;
|
|
3879
|
-
hasDefault: false;
|
|
3880
|
-
isPrimaryKey: false;
|
|
3881
|
-
isAutoincrement: false;
|
|
3882
|
-
hasRuntimeDefault: false;
|
|
3883
|
-
enumValues: [string, ...string[]];
|
|
3884
|
-
baseColumn: never;
|
|
3885
|
-
identity: undefined;
|
|
3886
|
-
generated: undefined;
|
|
3887
|
-
}, {}, {}>;
|
|
3888
|
-
lastContextResolution: drizzle_orm_pg_core208.PgColumn<{
|
|
3889
|
-
name: "last_context_resolution";
|
|
3890
|
-
tableName: "conversations";
|
|
3891
|
-
dataType: "string";
|
|
3892
|
-
columnType: "PgTimestampString";
|
|
3893
|
-
data: string;
|
|
3894
|
-
driverParam: string;
|
|
3909
|
+
expectedOutput: drizzle_orm_pg_core1458.PgColumn<{
|
|
3910
|
+
name: "expected_output";
|
|
3911
|
+
tableName: "dataset_item";
|
|
3912
|
+
dataType: "json";
|
|
3913
|
+
columnType: "PgJsonb";
|
|
3914
|
+
data: DatasetItemExpectedOutput;
|
|
3915
|
+
driverParam: unknown;
|
|
3895
3916
|
notNull: false;
|
|
3896
3917
|
hasDefault: false;
|
|
3897
3918
|
isPrimaryKey: false;
|
|
@@ -3901,13 +3922,25 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3901
3922
|
baseColumn: never;
|
|
3902
3923
|
identity: undefined;
|
|
3903
3924
|
generated: undefined;
|
|
3904
|
-
}, {}, {
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3925
|
+
}, {}, {
|
|
3926
|
+
$type: DatasetItemExpectedOutput;
|
|
3927
|
+
}>;
|
|
3928
|
+
simulationAgent: drizzle_orm_pg_core1458.PgColumn<{
|
|
3929
|
+
name: "simulation_agent";
|
|
3930
|
+
tableName: "dataset_item";
|
|
3908
3931
|
dataType: "json";
|
|
3909
3932
|
columnType: "PgJsonb";
|
|
3910
|
-
data:
|
|
3933
|
+
data: {
|
|
3934
|
+
prompt: string;
|
|
3935
|
+
model: {
|
|
3936
|
+
model?: string | undefined;
|
|
3937
|
+
providerOptions?: Record<string, any> | undefined;
|
|
3938
|
+
};
|
|
3939
|
+
stopWhen?: {
|
|
3940
|
+
transferCountIs?: number | undefined;
|
|
3941
|
+
stepCountIs?: number | undefined;
|
|
3942
|
+
} | undefined;
|
|
3943
|
+
};
|
|
3911
3944
|
driverParam: unknown;
|
|
3912
3945
|
notNull: false;
|
|
3913
3946
|
hasDefault: false;
|
|
@@ -3919,11 +3952,21 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3919
3952
|
identity: undefined;
|
|
3920
3953
|
generated: undefined;
|
|
3921
3954
|
}, {}, {
|
|
3922
|
-
$type:
|
|
3955
|
+
$type: {
|
|
3956
|
+
prompt: string;
|
|
3957
|
+
model: {
|
|
3958
|
+
model?: string | undefined;
|
|
3959
|
+
providerOptions?: Record<string, any> | undefined;
|
|
3960
|
+
};
|
|
3961
|
+
stopWhen?: {
|
|
3962
|
+
transferCountIs?: number | undefined;
|
|
3963
|
+
stepCountIs?: number | undefined;
|
|
3964
|
+
} | undefined;
|
|
3965
|
+
};
|
|
3923
3966
|
}>;
|
|
3924
|
-
projectId:
|
|
3967
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3925
3968
|
name: "project_id";
|
|
3926
|
-
tableName: "
|
|
3969
|
+
tableName: "dataset_item";
|
|
3927
3970
|
dataType: "string";
|
|
3928
3971
|
columnType: "PgVarchar";
|
|
3929
3972
|
data: string;
|
|
@@ -3940,9 +3983,9 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3940
3983
|
}, {}, {
|
|
3941
3984
|
length: 256;
|
|
3942
3985
|
}>;
|
|
3943
|
-
tenantId:
|
|
3986
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
3944
3987
|
name: "tenant_id";
|
|
3945
|
-
tableName: "
|
|
3988
|
+
tableName: "dataset_item";
|
|
3946
3989
|
dataType: "string";
|
|
3947
3990
|
columnType: "PgVarchar";
|
|
3948
3991
|
data: string;
|
|
@@ -3959,9 +4002,9 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3959
4002
|
}, {}, {
|
|
3960
4003
|
length: 256;
|
|
3961
4004
|
}>;
|
|
3962
|
-
id:
|
|
4005
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
3963
4006
|
name: "id";
|
|
3964
|
-
tableName: "
|
|
4007
|
+
tableName: "dataset_item";
|
|
3965
4008
|
dataType: "string";
|
|
3966
4009
|
columnType: "PgVarchar";
|
|
3967
4010
|
data: string;
|
|
@@ -3981,13 +4024,13 @@ declare const conversations: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
3981
4024
|
};
|
|
3982
4025
|
dialect: "pg";
|
|
3983
4026
|
}>;
|
|
3984
|
-
declare const
|
|
3985
|
-
name: "
|
|
4027
|
+
declare const evaluator: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
4028
|
+
name: "evaluator";
|
|
3986
4029
|
schema: undefined;
|
|
3987
4030
|
columns: {
|
|
3988
|
-
createdAt:
|
|
4031
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
3989
4032
|
name: "created_at";
|
|
3990
|
-
tableName: "
|
|
4033
|
+
tableName: "evaluator";
|
|
3991
4034
|
dataType: "string";
|
|
3992
4035
|
columnType: "PgTimestampString";
|
|
3993
4036
|
data: string;
|
|
@@ -4002,9 +4045,9 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4002
4045
|
identity: undefined;
|
|
4003
4046
|
generated: undefined;
|
|
4004
4047
|
}, {}, {}>;
|
|
4005
|
-
updatedAt:
|
|
4048
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4006
4049
|
name: "updated_at";
|
|
4007
|
-
tableName: "
|
|
4050
|
+
tableName: "evaluator";
|
|
4008
4051
|
dataType: "string";
|
|
4009
4052
|
columnType: "PgTimestampString";
|
|
4010
4053
|
data: string;
|
|
@@ -4019,11 +4062,11 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4019
4062
|
identity: undefined;
|
|
4020
4063
|
generated: undefined;
|
|
4021
4064
|
}, {}, {}>;
|
|
4022
|
-
|
|
4023
|
-
name: "
|
|
4024
|
-
tableName: "
|
|
4065
|
+
prompt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4066
|
+
name: "prompt";
|
|
4067
|
+
tableName: "evaluator";
|
|
4025
4068
|
dataType: "string";
|
|
4026
|
-
columnType: "
|
|
4069
|
+
columnType: "PgText";
|
|
4027
4070
|
data: string;
|
|
4028
4071
|
driverParam: string;
|
|
4029
4072
|
notNull: true;
|
|
@@ -4035,74 +4078,78 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4035
4078
|
baseColumn: never;
|
|
4036
4079
|
identity: undefined;
|
|
4037
4080
|
generated: undefined;
|
|
4038
|
-
}, {}, {
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
data: string;
|
|
4047
|
-
driverParam: string;
|
|
4081
|
+
}, {}, {}>;
|
|
4082
|
+
schema: drizzle_orm_pg_core1458.PgColumn<{
|
|
4083
|
+
name: "schema";
|
|
4084
|
+
tableName: "evaluator";
|
|
4085
|
+
dataType: "json";
|
|
4086
|
+
columnType: "PgJsonb";
|
|
4087
|
+
data: Record<string, unknown>;
|
|
4088
|
+
driverParam: unknown;
|
|
4048
4089
|
notNull: true;
|
|
4049
4090
|
hasDefault: false;
|
|
4050
4091
|
isPrimaryKey: false;
|
|
4051
4092
|
isAutoincrement: false;
|
|
4052
4093
|
hasRuntimeDefault: false;
|
|
4053
|
-
enumValues:
|
|
4094
|
+
enumValues: undefined;
|
|
4054
4095
|
baseColumn: never;
|
|
4055
4096
|
identity: undefined;
|
|
4056
4097
|
generated: undefined;
|
|
4057
4098
|
}, {}, {
|
|
4058
|
-
|
|
4099
|
+
$type: Record<string, unknown>;
|
|
4059
4100
|
}>;
|
|
4060
|
-
|
|
4061
|
-
name: "
|
|
4062
|
-
tableName: "
|
|
4063
|
-
dataType: "
|
|
4064
|
-
columnType: "
|
|
4065
|
-
data:
|
|
4066
|
-
|
|
4067
|
-
|
|
4101
|
+
model: drizzle_orm_pg_core1458.PgColumn<{
|
|
4102
|
+
name: "model";
|
|
4103
|
+
tableName: "evaluator";
|
|
4104
|
+
dataType: "json";
|
|
4105
|
+
columnType: "PgJsonb";
|
|
4106
|
+
data: {
|
|
4107
|
+
model?: string | undefined;
|
|
4108
|
+
providerOptions?: Record<string, any> | undefined;
|
|
4109
|
+
};
|
|
4110
|
+
driverParam: unknown;
|
|
4111
|
+
notNull: true;
|
|
4068
4112
|
hasDefault: false;
|
|
4069
4113
|
isPrimaryKey: false;
|
|
4070
4114
|
isAutoincrement: false;
|
|
4071
4115
|
hasRuntimeDefault: false;
|
|
4072
|
-
enumValues:
|
|
4116
|
+
enumValues: undefined;
|
|
4073
4117
|
baseColumn: never;
|
|
4074
4118
|
identity: undefined;
|
|
4075
4119
|
generated: undefined;
|
|
4076
4120
|
}, {}, {
|
|
4077
|
-
|
|
4121
|
+
$type: {
|
|
4122
|
+
model?: string | undefined;
|
|
4123
|
+
providerOptions?: Record<string, any> | undefined;
|
|
4124
|
+
};
|
|
4078
4125
|
}>;
|
|
4079
|
-
|
|
4080
|
-
name: "
|
|
4081
|
-
tableName: "
|
|
4082
|
-
dataType: "
|
|
4083
|
-
columnType: "
|
|
4084
|
-
data:
|
|
4085
|
-
driverParam:
|
|
4126
|
+
passCriteria: drizzle_orm_pg_core1458.PgColumn<{
|
|
4127
|
+
name: "pass_criteria";
|
|
4128
|
+
tableName: "evaluator";
|
|
4129
|
+
dataType: "json";
|
|
4130
|
+
columnType: "PgJsonb";
|
|
4131
|
+
data: PassCriteria;
|
|
4132
|
+
driverParam: unknown;
|
|
4086
4133
|
notNull: false;
|
|
4087
4134
|
hasDefault: false;
|
|
4088
4135
|
isPrimaryKey: false;
|
|
4089
4136
|
isAutoincrement: false;
|
|
4090
4137
|
hasRuntimeDefault: false;
|
|
4091
|
-
enumValues:
|
|
4138
|
+
enumValues: undefined;
|
|
4092
4139
|
baseColumn: never;
|
|
4093
4140
|
identity: undefined;
|
|
4094
4141
|
generated: undefined;
|
|
4095
4142
|
}, {}, {
|
|
4096
|
-
|
|
4143
|
+
$type: PassCriteria;
|
|
4097
4144
|
}>;
|
|
4098
|
-
|
|
4099
|
-
name: "
|
|
4100
|
-
tableName: "
|
|
4145
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
4146
|
+
name: "name";
|
|
4147
|
+
tableName: "evaluator";
|
|
4101
4148
|
dataType: "string";
|
|
4102
4149
|
columnType: "PgVarchar";
|
|
4103
4150
|
data: string;
|
|
4104
4151
|
driverParam: string;
|
|
4105
|
-
notNull:
|
|
4152
|
+
notNull: true;
|
|
4106
4153
|
hasDefault: false;
|
|
4107
4154
|
isPrimaryKey: false;
|
|
4108
4155
|
isAutoincrement: false;
|
|
@@ -4114,11 +4161,11 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4114
4161
|
}, {}, {
|
|
4115
4162
|
length: 256;
|
|
4116
4163
|
}>;
|
|
4117
|
-
|
|
4118
|
-
name: "
|
|
4119
|
-
tableName: "
|
|
4164
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
4165
|
+
name: "description";
|
|
4166
|
+
tableName: "evaluator";
|
|
4120
4167
|
dataType: "string";
|
|
4121
|
-
columnType: "
|
|
4168
|
+
columnType: "PgText";
|
|
4122
4169
|
data: string;
|
|
4123
4170
|
driverParam: string;
|
|
4124
4171
|
notNull: false;
|
|
@@ -4130,17 +4177,15 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4130
4177
|
baseColumn: never;
|
|
4131
4178
|
identity: undefined;
|
|
4132
4179
|
generated: undefined;
|
|
4133
|
-
}, {}, {
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
name: "from_team_agent_id";
|
|
4138
|
-
tableName: "messages";
|
|
4180
|
+
}, {}, {}>;
|
|
4181
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4182
|
+
name: "project_id";
|
|
4183
|
+
tableName: "evaluator";
|
|
4139
4184
|
dataType: "string";
|
|
4140
4185
|
columnType: "PgVarchar";
|
|
4141
4186
|
data: string;
|
|
4142
4187
|
driverParam: string;
|
|
4143
|
-
notNull:
|
|
4188
|
+
notNull: true;
|
|
4144
4189
|
hasDefault: false;
|
|
4145
4190
|
isPrimaryKey: false;
|
|
4146
4191
|
isAutoincrement: false;
|
|
@@ -4152,14 +4197,14 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4152
4197
|
}, {}, {
|
|
4153
4198
|
length: 256;
|
|
4154
4199
|
}>;
|
|
4155
|
-
|
|
4156
|
-
name: "
|
|
4157
|
-
tableName: "
|
|
4200
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4201
|
+
name: "tenant_id";
|
|
4202
|
+
tableName: "evaluator";
|
|
4158
4203
|
dataType: "string";
|
|
4159
4204
|
columnType: "PgVarchar";
|
|
4160
4205
|
data: string;
|
|
4161
4206
|
driverParam: string;
|
|
4162
|
-
notNull:
|
|
4207
|
+
notNull: true;
|
|
4163
4208
|
hasDefault: false;
|
|
4164
4209
|
isPrimaryKey: false;
|
|
4165
4210
|
isAutoincrement: false;
|
|
@@ -4171,34 +4216,15 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4171
4216
|
}, {}, {
|
|
4172
4217
|
length: 256;
|
|
4173
4218
|
}>;
|
|
4174
|
-
|
|
4175
|
-
name: "
|
|
4176
|
-
tableName: "
|
|
4177
|
-
dataType: "json";
|
|
4178
|
-
columnType: "PgJsonb";
|
|
4179
|
-
data: MessageContent;
|
|
4180
|
-
driverParam: unknown;
|
|
4181
|
-
notNull: true;
|
|
4182
|
-
hasDefault: false;
|
|
4183
|
-
isPrimaryKey: false;
|
|
4184
|
-
isAutoincrement: false;
|
|
4185
|
-
hasRuntimeDefault: false;
|
|
4186
|
-
enumValues: undefined;
|
|
4187
|
-
baseColumn: never;
|
|
4188
|
-
identity: undefined;
|
|
4189
|
-
generated: undefined;
|
|
4190
|
-
}, {}, {
|
|
4191
|
-
$type: MessageContent;
|
|
4192
|
-
}>;
|
|
4193
|
-
visibility: drizzle_orm_pg_core208.PgColumn<{
|
|
4194
|
-
name: "visibility";
|
|
4195
|
-
tableName: "messages";
|
|
4219
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
4220
|
+
name: "id";
|
|
4221
|
+
tableName: "evaluator";
|
|
4196
4222
|
dataType: "string";
|
|
4197
4223
|
columnType: "PgVarchar";
|
|
4198
4224
|
data: string;
|
|
4199
4225
|
driverParam: string;
|
|
4200
4226
|
notNull: true;
|
|
4201
|
-
hasDefault:
|
|
4227
|
+
hasDefault: false;
|
|
4202
4228
|
isPrimaryKey: false;
|
|
4203
4229
|
isAutoincrement: false;
|
|
4204
4230
|
hasRuntimeDefault: false;
|
|
@@ -4209,11 +4235,18 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4209
4235
|
}, {}, {
|
|
4210
4236
|
length: 256;
|
|
4211
4237
|
}>;
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4238
|
+
};
|
|
4239
|
+
dialect: "pg";
|
|
4240
|
+
}>;
|
|
4241
|
+
declare const datasetRunConfig: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
4242
|
+
name: "dataset_run_config";
|
|
4243
|
+
schema: undefined;
|
|
4244
|
+
columns: {
|
|
4245
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4246
|
+
name: "created_at";
|
|
4247
|
+
tableName: "dataset_run_config";
|
|
4215
4248
|
dataType: "string";
|
|
4216
|
-
columnType: "
|
|
4249
|
+
columnType: "PgTimestampString";
|
|
4217
4250
|
data: string;
|
|
4218
4251
|
driverParam: string;
|
|
4219
4252
|
notNull: true;
|
|
@@ -4221,40 +4254,36 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4221
4254
|
isPrimaryKey: false;
|
|
4222
4255
|
isAutoincrement: false;
|
|
4223
4256
|
hasRuntimeDefault: false;
|
|
4224
|
-
enumValues:
|
|
4257
|
+
enumValues: undefined;
|
|
4225
4258
|
baseColumn: never;
|
|
4226
4259
|
identity: undefined;
|
|
4227
4260
|
generated: undefined;
|
|
4228
|
-
}, {}, {
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
name: "task_id";
|
|
4233
|
-
tableName: "messages";
|
|
4261
|
+
}, {}, {}>;
|
|
4262
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4263
|
+
name: "updated_at";
|
|
4264
|
+
tableName: "dataset_run_config";
|
|
4234
4265
|
dataType: "string";
|
|
4235
|
-
columnType: "
|
|
4266
|
+
columnType: "PgTimestampString";
|
|
4236
4267
|
data: string;
|
|
4237
4268
|
driverParam: string;
|
|
4238
|
-
notNull:
|
|
4239
|
-
hasDefault:
|
|
4269
|
+
notNull: true;
|
|
4270
|
+
hasDefault: true;
|
|
4240
4271
|
isPrimaryKey: false;
|
|
4241
4272
|
isAutoincrement: false;
|
|
4242
4273
|
hasRuntimeDefault: false;
|
|
4243
|
-
enumValues:
|
|
4274
|
+
enumValues: undefined;
|
|
4244
4275
|
baseColumn: never;
|
|
4245
4276
|
identity: undefined;
|
|
4246
4277
|
generated: undefined;
|
|
4247
|
-
}, {}, {
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
name: "parent_message_id";
|
|
4252
|
-
tableName: "messages";
|
|
4278
|
+
}, {}, {}>;
|
|
4279
|
+
datasetId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4280
|
+
name: "dataset_id";
|
|
4281
|
+
tableName: "dataset_run_config";
|
|
4253
4282
|
dataType: "string";
|
|
4254
|
-
columnType: "
|
|
4283
|
+
columnType: "PgText";
|
|
4255
4284
|
data: string;
|
|
4256
4285
|
driverParam: string;
|
|
4257
|
-
notNull:
|
|
4286
|
+
notNull: true;
|
|
4258
4287
|
hasDefault: false;
|
|
4259
4288
|
isPrimaryKey: false;
|
|
4260
4289
|
isAutoincrement: false;
|
|
@@ -4263,17 +4292,15 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4263
4292
|
baseColumn: never;
|
|
4264
4293
|
identity: undefined;
|
|
4265
4294
|
generated: undefined;
|
|
4266
|
-
}, {}, {
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
name: "a2a_task_id";
|
|
4271
|
-
tableName: "messages";
|
|
4295
|
+
}, {}, {}>;
|
|
4296
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
4297
|
+
name: "name";
|
|
4298
|
+
tableName: "dataset_run_config";
|
|
4272
4299
|
dataType: "string";
|
|
4273
4300
|
columnType: "PgVarchar";
|
|
4274
4301
|
data: string;
|
|
4275
4302
|
driverParam: string;
|
|
4276
|
-
notNull:
|
|
4303
|
+
notNull: true;
|
|
4277
4304
|
hasDefault: false;
|
|
4278
4305
|
isPrimaryKey: false;
|
|
4279
4306
|
isAutoincrement: false;
|
|
@@ -4285,11 +4312,11 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4285
4312
|
}, {}, {
|
|
4286
4313
|
length: 256;
|
|
4287
4314
|
}>;
|
|
4288
|
-
|
|
4289
|
-
name: "
|
|
4290
|
-
tableName: "
|
|
4315
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
4316
|
+
name: "description";
|
|
4317
|
+
tableName: "dataset_run_config";
|
|
4291
4318
|
dataType: "string";
|
|
4292
|
-
columnType: "
|
|
4319
|
+
columnType: "PgText";
|
|
4293
4320
|
data: string;
|
|
4294
4321
|
driverParam: string;
|
|
4295
4322
|
notNull: false;
|
|
@@ -4301,31 +4328,10 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4301
4328
|
baseColumn: never;
|
|
4302
4329
|
identity: undefined;
|
|
4303
4330
|
generated: undefined;
|
|
4304
|
-
}, {}, {
|
|
4305
|
-
|
|
4306
|
-
}>;
|
|
4307
|
-
metadata: drizzle_orm_pg_core208.PgColumn<{
|
|
4308
|
-
name: "metadata";
|
|
4309
|
-
tableName: "messages";
|
|
4310
|
-
dataType: "json";
|
|
4311
|
-
columnType: "PgJsonb";
|
|
4312
|
-
data: MessageMetadata;
|
|
4313
|
-
driverParam: unknown;
|
|
4314
|
-
notNull: false;
|
|
4315
|
-
hasDefault: false;
|
|
4316
|
-
isPrimaryKey: false;
|
|
4317
|
-
isAutoincrement: false;
|
|
4318
|
-
hasRuntimeDefault: false;
|
|
4319
|
-
enumValues: undefined;
|
|
4320
|
-
baseColumn: never;
|
|
4321
|
-
identity: undefined;
|
|
4322
|
-
generated: undefined;
|
|
4323
|
-
}, {}, {
|
|
4324
|
-
$type: MessageMetadata;
|
|
4325
|
-
}>;
|
|
4326
|
-
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
4331
|
+
}, {}, {}>;
|
|
4332
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4327
4333
|
name: "project_id";
|
|
4328
|
-
tableName: "
|
|
4334
|
+
tableName: "dataset_run_config";
|
|
4329
4335
|
dataType: "string";
|
|
4330
4336
|
columnType: "PgVarchar";
|
|
4331
4337
|
data: string;
|
|
@@ -4342,9 +4348,9 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4342
4348
|
}, {}, {
|
|
4343
4349
|
length: 256;
|
|
4344
4350
|
}>;
|
|
4345
|
-
tenantId:
|
|
4351
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4346
4352
|
name: "tenant_id";
|
|
4347
|
-
tableName: "
|
|
4353
|
+
tableName: "dataset_run_config";
|
|
4348
4354
|
dataType: "string";
|
|
4349
4355
|
columnType: "PgVarchar";
|
|
4350
4356
|
data: string;
|
|
@@ -4361,9 +4367,9 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4361
4367
|
}, {}, {
|
|
4362
4368
|
length: 256;
|
|
4363
4369
|
}>;
|
|
4364
|
-
id:
|
|
4370
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
4365
4371
|
name: "id";
|
|
4366
|
-
tableName: "
|
|
4372
|
+
tableName: "dataset_run_config";
|
|
4367
4373
|
dataType: "string";
|
|
4368
4374
|
columnType: "PgVarchar";
|
|
4369
4375
|
data: string;
|
|
@@ -4383,13 +4389,28 @@ declare const messages: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4383
4389
|
};
|
|
4384
4390
|
dialect: "pg";
|
|
4385
4391
|
}>;
|
|
4386
|
-
|
|
4387
|
-
|
|
4392
|
+
/**
|
|
4393
|
+
* Configuration that defines what to evaluate. Contains filters and evaluators.
|
|
4394
|
+
* Example: "Evaluate conversations for agentId X with filters Y"
|
|
4395
|
+
*
|
|
4396
|
+
* Linked to one or more evaluationRunConfigs (via join table) that define when to run.
|
|
4397
|
+
* When triggered, creates an evaluationRun with computed filters based on the criteria.
|
|
4398
|
+
*
|
|
4399
|
+
* Configuration-level filters:
|
|
4400
|
+
* - Filters stored in filters JSONB field
|
|
4401
|
+
*
|
|
4402
|
+
* many to many relationship with evaluationRunConfig
|
|
4403
|
+
*
|
|
4404
|
+
* Includes: name, description, filters (JSONB for evaluation criteria),
|
|
4405
|
+
* sampleRate for sampling, and timestamps
|
|
4406
|
+
*/
|
|
4407
|
+
declare const evaluationSuiteConfig: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
4408
|
+
name: "evaluation_suite_config";
|
|
4388
4409
|
schema: undefined;
|
|
4389
4410
|
columns: {
|
|
4390
|
-
createdAt:
|
|
4411
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4391
4412
|
name: "created_at";
|
|
4392
|
-
tableName: "
|
|
4413
|
+
tableName: "evaluation_suite_config";
|
|
4393
4414
|
dataType: "string";
|
|
4394
4415
|
columnType: "PgTimestampString";
|
|
4395
4416
|
data: string;
|
|
@@ -4404,9 +4425,9 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4404
4425
|
identity: undefined;
|
|
4405
4426
|
generated: undefined;
|
|
4406
4427
|
}, {}, {}>;
|
|
4407
|
-
updatedAt:
|
|
4428
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4408
4429
|
name: "updated_at";
|
|
4409
|
-
tableName: "
|
|
4430
|
+
tableName: "evaluation_suite_config";
|
|
4410
4431
|
dataType: "string";
|
|
4411
4432
|
columnType: "PgTimestampString";
|
|
4412
4433
|
data: string;
|
|
@@ -4421,9 +4442,45 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4421
4442
|
identity: undefined;
|
|
4422
4443
|
generated: undefined;
|
|
4423
4444
|
}, {}, {}>;
|
|
4424
|
-
|
|
4425
|
-
name: "
|
|
4426
|
-
tableName: "
|
|
4445
|
+
filters: drizzle_orm_pg_core1458.PgColumn<{
|
|
4446
|
+
name: "filters";
|
|
4447
|
+
tableName: "evaluation_suite_config";
|
|
4448
|
+
dataType: "json";
|
|
4449
|
+
columnType: "PgJsonb";
|
|
4450
|
+
data: Filter<EvaluationSuiteFilterCriteria>;
|
|
4451
|
+
driverParam: unknown;
|
|
4452
|
+
notNull: false;
|
|
4453
|
+
hasDefault: false;
|
|
4454
|
+
isPrimaryKey: false;
|
|
4455
|
+
isAutoincrement: false;
|
|
4456
|
+
hasRuntimeDefault: false;
|
|
4457
|
+
enumValues: undefined;
|
|
4458
|
+
baseColumn: never;
|
|
4459
|
+
identity: undefined;
|
|
4460
|
+
generated: undefined;
|
|
4461
|
+
}, {}, {
|
|
4462
|
+
$type: Filter<EvaluationSuiteFilterCriteria>;
|
|
4463
|
+
}>;
|
|
4464
|
+
sampleRate: drizzle_orm_pg_core1458.PgColumn<{
|
|
4465
|
+
name: "sample_rate";
|
|
4466
|
+
tableName: "evaluation_suite_config";
|
|
4467
|
+
dataType: "number";
|
|
4468
|
+
columnType: "PgDoublePrecision";
|
|
4469
|
+
data: number;
|
|
4470
|
+
driverParam: string | number;
|
|
4471
|
+
notNull: false;
|
|
4472
|
+
hasDefault: false;
|
|
4473
|
+
isPrimaryKey: false;
|
|
4474
|
+
isAutoincrement: false;
|
|
4475
|
+
hasRuntimeDefault: false;
|
|
4476
|
+
enumValues: undefined;
|
|
4477
|
+
baseColumn: never;
|
|
4478
|
+
identity: undefined;
|
|
4479
|
+
generated: undefined;
|
|
4480
|
+
}, {}, {}>;
|
|
4481
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4482
|
+
name: "project_id";
|
|
4483
|
+
tableName: "evaluation_suite_config";
|
|
4427
4484
|
dataType: "string";
|
|
4428
4485
|
columnType: "PgVarchar";
|
|
4429
4486
|
data: string;
|
|
@@ -4440,14 +4497,14 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4440
4497
|
}, {}, {
|
|
4441
4498
|
length: 256;
|
|
4442
4499
|
}>;
|
|
4443
|
-
|
|
4444
|
-
name: "
|
|
4445
|
-
tableName: "
|
|
4500
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4501
|
+
name: "tenant_id";
|
|
4502
|
+
tableName: "evaluation_suite_config";
|
|
4446
4503
|
dataType: "string";
|
|
4447
4504
|
columnType: "PgVarchar";
|
|
4448
4505
|
data: string;
|
|
4449
4506
|
driverParam: string;
|
|
4450
|
-
notNull:
|
|
4507
|
+
notNull: true;
|
|
4451
4508
|
hasDefault: false;
|
|
4452
4509
|
isPrimaryKey: false;
|
|
4453
4510
|
isAutoincrement: false;
|
|
@@ -4459,9 +4516,9 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4459
4516
|
}, {}, {
|
|
4460
4517
|
length: 256;
|
|
4461
4518
|
}>;
|
|
4462
|
-
|
|
4463
|
-
name: "
|
|
4464
|
-
tableName: "
|
|
4519
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
4520
|
+
name: "id";
|
|
4521
|
+
tableName: "evaluation_suite_config";
|
|
4465
4522
|
dataType: "string";
|
|
4466
4523
|
columnType: "PgVarchar";
|
|
4467
4524
|
data: string;
|
|
@@ -4478,11 +4535,25 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4478
4535
|
}, {}, {
|
|
4479
4536
|
length: 256;
|
|
4480
4537
|
}>;
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4538
|
+
};
|
|
4539
|
+
dialect: "pg";
|
|
4540
|
+
}>;
|
|
4541
|
+
/**
|
|
4542
|
+
* Links evaluators to evaluation suite configs. Many-to-many relationship that
|
|
4543
|
+
* attaches evaluators to an evaluation suite configuration. Each evaluator must
|
|
4544
|
+
* have its own model configuration defined.
|
|
4545
|
+
*
|
|
4546
|
+
* Includes: evaluationSuiteConfigId, evaluatorId, and timestamps
|
|
4547
|
+
*/
|
|
4548
|
+
declare const evaluationSuiteConfigEvaluatorRelations: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
4549
|
+
name: "evaluation_suite_config_evaluator_relations";
|
|
4550
|
+
schema: undefined;
|
|
4551
|
+
columns: {
|
|
4552
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4553
|
+
name: "created_at";
|
|
4554
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4484
4555
|
dataType: "string";
|
|
4485
|
-
columnType: "
|
|
4556
|
+
columnType: "PgTimestampString";
|
|
4486
4557
|
data: string;
|
|
4487
4558
|
driverParam: string;
|
|
4488
4559
|
notNull: true;
|
|
@@ -4490,21 +4561,36 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4490
4561
|
isPrimaryKey: false;
|
|
4491
4562
|
isAutoincrement: false;
|
|
4492
4563
|
hasRuntimeDefault: false;
|
|
4493
|
-
enumValues:
|
|
4564
|
+
enumValues: undefined;
|
|
4494
4565
|
baseColumn: never;
|
|
4495
4566
|
identity: undefined;
|
|
4496
4567
|
generated: undefined;
|
|
4497
|
-
}, {}, {
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
name: "name";
|
|
4502
|
-
tableName: "ledger_artifacts";
|
|
4568
|
+
}, {}, {}>;
|
|
4569
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4570
|
+
name: "updated_at";
|
|
4571
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4503
4572
|
dataType: "string";
|
|
4504
|
-
columnType: "
|
|
4573
|
+
columnType: "PgTimestampString";
|
|
4505
4574
|
data: string;
|
|
4506
4575
|
driverParam: string;
|
|
4507
|
-
notNull:
|
|
4576
|
+
notNull: true;
|
|
4577
|
+
hasDefault: true;
|
|
4578
|
+
isPrimaryKey: false;
|
|
4579
|
+
isAutoincrement: false;
|
|
4580
|
+
hasRuntimeDefault: false;
|
|
4581
|
+
enumValues: undefined;
|
|
4582
|
+
baseColumn: never;
|
|
4583
|
+
identity: undefined;
|
|
4584
|
+
generated: undefined;
|
|
4585
|
+
}, {}, {}>;
|
|
4586
|
+
evaluationSuiteConfigId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4587
|
+
name: "evaluation_suite_config_id";
|
|
4588
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4589
|
+
dataType: "string";
|
|
4590
|
+
columnType: "PgText";
|
|
4591
|
+
data: string;
|
|
4592
|
+
driverParam: string;
|
|
4593
|
+
notNull: true;
|
|
4508
4594
|
hasDefault: false;
|
|
4509
4595
|
isPrimaryKey: false;
|
|
4510
4596
|
isAutoincrement: false;
|
|
@@ -4513,17 +4599,15 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4513
4599
|
baseColumn: never;
|
|
4514
4600
|
identity: undefined;
|
|
4515
4601
|
generated: undefined;
|
|
4516
|
-
}, {}, {
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
name: "description";
|
|
4521
|
-
tableName: "ledger_artifacts";
|
|
4602
|
+
}, {}, {}>;
|
|
4603
|
+
evaluatorId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4604
|
+
name: "evaluator_id";
|
|
4605
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4522
4606
|
dataType: "string";
|
|
4523
4607
|
columnType: "PgText";
|
|
4524
4608
|
data: string;
|
|
4525
4609
|
driverParam: string;
|
|
4526
|
-
notNull:
|
|
4610
|
+
notNull: true;
|
|
4527
4611
|
hasDefault: false;
|
|
4528
4612
|
isPrimaryKey: false;
|
|
4529
4613
|
isAutoincrement: false;
|
|
@@ -4533,52 +4617,52 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4533
4617
|
identity: undefined;
|
|
4534
4618
|
generated: undefined;
|
|
4535
4619
|
}, {}, {}>;
|
|
4536
|
-
|
|
4537
|
-
name: "
|
|
4538
|
-
tableName: "
|
|
4539
|
-
dataType: "
|
|
4540
|
-
columnType: "
|
|
4541
|
-
data:
|
|
4542
|
-
driverParam:
|
|
4543
|
-
notNull:
|
|
4620
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4621
|
+
name: "project_id";
|
|
4622
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4623
|
+
dataType: "string";
|
|
4624
|
+
columnType: "PgVarchar";
|
|
4625
|
+
data: string;
|
|
4626
|
+
driverParam: string;
|
|
4627
|
+
notNull: true;
|
|
4544
4628
|
hasDefault: false;
|
|
4545
4629
|
isPrimaryKey: false;
|
|
4546
4630
|
isAutoincrement: false;
|
|
4547
4631
|
hasRuntimeDefault: false;
|
|
4548
|
-
enumValues:
|
|
4632
|
+
enumValues: [string, ...string[]];
|
|
4549
4633
|
baseColumn: never;
|
|
4550
4634
|
identity: undefined;
|
|
4551
4635
|
generated: undefined;
|
|
4552
4636
|
}, {}, {
|
|
4553
|
-
|
|
4637
|
+
length: 256;
|
|
4554
4638
|
}>;
|
|
4555
|
-
|
|
4556
|
-
name: "
|
|
4557
|
-
tableName: "
|
|
4558
|
-
dataType: "
|
|
4559
|
-
columnType: "
|
|
4560
|
-
data:
|
|
4561
|
-
driverParam:
|
|
4562
|
-
notNull:
|
|
4639
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4640
|
+
name: "tenant_id";
|
|
4641
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4642
|
+
dataType: "string";
|
|
4643
|
+
columnType: "PgVarchar";
|
|
4644
|
+
data: string;
|
|
4645
|
+
driverParam: string;
|
|
4646
|
+
notNull: true;
|
|
4563
4647
|
hasDefault: false;
|
|
4564
4648
|
isPrimaryKey: false;
|
|
4565
4649
|
isAutoincrement: false;
|
|
4566
4650
|
hasRuntimeDefault: false;
|
|
4567
|
-
enumValues:
|
|
4651
|
+
enumValues: [string, ...string[]];
|
|
4568
4652
|
baseColumn: never;
|
|
4569
4653
|
identity: undefined;
|
|
4570
4654
|
generated: undefined;
|
|
4571
4655
|
}, {}, {
|
|
4572
|
-
|
|
4656
|
+
length: 256;
|
|
4573
4657
|
}>;
|
|
4574
|
-
|
|
4575
|
-
name: "
|
|
4576
|
-
tableName: "
|
|
4658
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
4659
|
+
name: "id";
|
|
4660
|
+
tableName: "evaluation_suite_config_evaluator_relations";
|
|
4577
4661
|
dataType: "string";
|
|
4578
|
-
columnType: "
|
|
4662
|
+
columnType: "PgVarchar";
|
|
4579
4663
|
data: string;
|
|
4580
4664
|
driverParam: string;
|
|
4581
|
-
notNull:
|
|
4665
|
+
notNull: true;
|
|
4582
4666
|
hasDefault: false;
|
|
4583
4667
|
isPrimaryKey: false;
|
|
4584
4668
|
isAutoincrement: false;
|
|
@@ -4587,16 +4671,32 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4587
4671
|
baseColumn: never;
|
|
4588
4672
|
identity: undefined;
|
|
4589
4673
|
generated: undefined;
|
|
4590
|
-
}, {}, {
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4674
|
+
}, {}, {
|
|
4675
|
+
length: 256;
|
|
4676
|
+
}>;
|
|
4677
|
+
};
|
|
4678
|
+
dialect: "pg";
|
|
4679
|
+
}>;
|
|
4680
|
+
/**
|
|
4681
|
+
* Links evaluation run configs to evaluation suite configs. Many-to-many relationship that
|
|
4682
|
+
* allows one suite config to have multiple run schedules, and one run config to be used
|
|
4683
|
+
* by multiple suite configs.
|
|
4684
|
+
*
|
|
4685
|
+
* Includes: evaluationRunConfigId, evaluationSuiteConfigId, and timestamps
|
|
4686
|
+
*/
|
|
4687
|
+
declare const evaluationRunConfigEvaluationSuiteConfigRelations: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
4688
|
+
name: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4689
|
+
schema: undefined;
|
|
4690
|
+
columns: {
|
|
4691
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4692
|
+
name: "created_at";
|
|
4693
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4694
|
+
dataType: "string";
|
|
4695
|
+
columnType: "PgTimestampString";
|
|
4696
|
+
data: string;
|
|
4697
|
+
driverParam: string;
|
|
4698
|
+
notNull: true;
|
|
4699
|
+
hasDefault: true;
|
|
4600
4700
|
isPrimaryKey: false;
|
|
4601
4701
|
isAutoincrement: false;
|
|
4602
4702
|
hasRuntimeDefault: false;
|
|
@@ -4604,55 +4704,49 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4604
4704
|
baseColumn: never;
|
|
4605
4705
|
identity: undefined;
|
|
4606
4706
|
generated: undefined;
|
|
4607
|
-
}, {}, {
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
name: "visibility";
|
|
4612
|
-
tableName: "ledger_artifacts";
|
|
4707
|
+
}, {}, {}>;
|
|
4708
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4709
|
+
name: "updated_at";
|
|
4710
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4613
4711
|
dataType: "string";
|
|
4614
|
-
columnType: "
|
|
4712
|
+
columnType: "PgTimestampString";
|
|
4615
4713
|
data: string;
|
|
4616
4714
|
driverParam: string;
|
|
4617
|
-
notNull:
|
|
4715
|
+
notNull: true;
|
|
4618
4716
|
hasDefault: true;
|
|
4619
4717
|
isPrimaryKey: false;
|
|
4620
4718
|
isAutoincrement: false;
|
|
4621
4719
|
hasRuntimeDefault: false;
|
|
4622
|
-
enumValues:
|
|
4720
|
+
enumValues: undefined;
|
|
4623
4721
|
baseColumn: never;
|
|
4624
4722
|
identity: undefined;
|
|
4625
4723
|
generated: undefined;
|
|
4626
|
-
}, {}, {
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
driverParam: unknown;
|
|
4636
|
-
notNull: false;
|
|
4724
|
+
}, {}, {}>;
|
|
4725
|
+
evaluationRunConfigId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4726
|
+
name: "evaluation_run_config_id";
|
|
4727
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4728
|
+
dataType: "string";
|
|
4729
|
+
columnType: "PgText";
|
|
4730
|
+
data: string;
|
|
4731
|
+
driverParam: string;
|
|
4732
|
+
notNull: true;
|
|
4637
4733
|
hasDefault: false;
|
|
4638
4734
|
isPrimaryKey: false;
|
|
4639
4735
|
isAutoincrement: false;
|
|
4640
4736
|
hasRuntimeDefault: false;
|
|
4641
|
-
enumValues:
|
|
4737
|
+
enumValues: [string, ...string[]];
|
|
4642
4738
|
baseColumn: never;
|
|
4643
4739
|
identity: undefined;
|
|
4644
4740
|
generated: undefined;
|
|
4645
|
-
}, {}, {
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
name: "derived_from";
|
|
4650
|
-
tableName: "ledger_artifacts";
|
|
4741
|
+
}, {}, {}>;
|
|
4742
|
+
evaluationSuiteConfigId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4743
|
+
name: "evaluation_suite_config_id";
|
|
4744
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4651
4745
|
dataType: "string";
|
|
4652
|
-
columnType: "
|
|
4746
|
+
columnType: "PgText";
|
|
4653
4747
|
data: string;
|
|
4654
4748
|
driverParam: string;
|
|
4655
|
-
notNull:
|
|
4749
|
+
notNull: true;
|
|
4656
4750
|
hasDefault: false;
|
|
4657
4751
|
isPrimaryKey: false;
|
|
4658
4752
|
isAutoincrement: false;
|
|
@@ -4661,12 +4755,10 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4661
4755
|
baseColumn: never;
|
|
4662
4756
|
identity: undefined;
|
|
4663
4757
|
generated: undefined;
|
|
4664
|
-
}, {}, {
|
|
4665
|
-
|
|
4666
|
-
}>;
|
|
4667
|
-
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
4758
|
+
}, {}, {}>;
|
|
4759
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4668
4760
|
name: "project_id";
|
|
4669
|
-
tableName: "
|
|
4761
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4670
4762
|
dataType: "string";
|
|
4671
4763
|
columnType: "PgVarchar";
|
|
4672
4764
|
data: string;
|
|
@@ -4683,9 +4775,9 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4683
4775
|
}, {}, {
|
|
4684
4776
|
length: 256;
|
|
4685
4777
|
}>;
|
|
4686
|
-
tenantId:
|
|
4778
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4687
4779
|
name: "tenant_id";
|
|
4688
|
-
tableName: "
|
|
4780
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4689
4781
|
dataType: "string";
|
|
4690
4782
|
columnType: "PgVarchar";
|
|
4691
4783
|
data: string;
|
|
@@ -4702,9 +4794,9 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4702
4794
|
}, {}, {
|
|
4703
4795
|
length: 256;
|
|
4704
4796
|
}>;
|
|
4705
|
-
id:
|
|
4797
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
4706
4798
|
name: "id";
|
|
4707
|
-
tableName: "
|
|
4799
|
+
tableName: "evaluation_run_config_evaluation_suite_config_relations";
|
|
4708
4800
|
dataType: "string";
|
|
4709
4801
|
columnType: "PgVarchar";
|
|
4710
4802
|
data: string;
|
|
@@ -4724,13 +4816,26 @@ declare const ledgerArtifacts: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4724
4816
|
};
|
|
4725
4817
|
dialect: "pg";
|
|
4726
4818
|
}>;
|
|
4727
|
-
|
|
4728
|
-
|
|
4819
|
+
/**
|
|
4820
|
+
* Configuration for automated evaluation runs. Trigger policies is conversation end.
|
|
4821
|
+
* Can be linked to multiple evaluation suite configs via join table.
|
|
4822
|
+
* many to many relationship with evaluationSuiteConfig
|
|
4823
|
+
*
|
|
4824
|
+
* Evaluations are automatically triggered when regular conversations complete.
|
|
4825
|
+
* When a conversation ends, creates an evaluationRun that evaluates that conversation.
|
|
4826
|
+
*
|
|
4827
|
+
* NOTE: Evaluation run configs ONLY run on regular conversations, NOT dataset run conversations.
|
|
4828
|
+
* Dataset runs create their own evaluationJobConfig with specific evaluators at run-time.
|
|
4829
|
+
*
|
|
4830
|
+
* one to many relationship with evaluationRun
|
|
4831
|
+
*/
|
|
4832
|
+
declare const evaluationRunConfig: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
4833
|
+
name: "evaluation_run_config";
|
|
4729
4834
|
schema: undefined;
|
|
4730
4835
|
columns: {
|
|
4731
|
-
createdAt:
|
|
4836
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4732
4837
|
name: "created_at";
|
|
4733
|
-
tableName: "
|
|
4838
|
+
tableName: "evaluation_run_config";
|
|
4734
4839
|
dataType: "string";
|
|
4735
4840
|
columnType: "PgTimestampString";
|
|
4736
4841
|
data: string;
|
|
@@ -4745,9 +4850,9 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4745
4850
|
identity: undefined;
|
|
4746
4851
|
generated: undefined;
|
|
4747
4852
|
}, {}, {}>;
|
|
4748
|
-
updatedAt:
|
|
4853
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4749
4854
|
name: "updated_at";
|
|
4750
|
-
tableName: "
|
|
4855
|
+
tableName: "evaluation_run_config";
|
|
4751
4856
|
dataType: "string";
|
|
4752
4857
|
columnType: "PgTimestampString";
|
|
4753
4858
|
data: string;
|
|
@@ -4762,9 +4867,26 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4762
4867
|
identity: undefined;
|
|
4763
4868
|
generated: undefined;
|
|
4764
4869
|
}, {}, {}>;
|
|
4765
|
-
|
|
4766
|
-
name: "
|
|
4767
|
-
tableName: "
|
|
4870
|
+
isActive: drizzle_orm_pg_core1458.PgColumn<{
|
|
4871
|
+
name: "is_active";
|
|
4872
|
+
tableName: "evaluation_run_config";
|
|
4873
|
+
dataType: "boolean";
|
|
4874
|
+
columnType: "PgBoolean";
|
|
4875
|
+
data: boolean;
|
|
4876
|
+
driverParam: boolean;
|
|
4877
|
+
notNull: true;
|
|
4878
|
+
hasDefault: true;
|
|
4879
|
+
isPrimaryKey: false;
|
|
4880
|
+
isAutoincrement: false;
|
|
4881
|
+
hasRuntimeDefault: false;
|
|
4882
|
+
enumValues: undefined;
|
|
4883
|
+
baseColumn: never;
|
|
4884
|
+
identity: undefined;
|
|
4885
|
+
generated: undefined;
|
|
4886
|
+
}, {}, {}>;
|
|
4887
|
+
name: drizzle_orm_pg_core1458.PgColumn<{
|
|
4888
|
+
name: "name";
|
|
4889
|
+
tableName: "evaluation_run_config";
|
|
4768
4890
|
dataType: "string";
|
|
4769
4891
|
columnType: "PgVarchar";
|
|
4770
4892
|
data: string;
|
|
@@ -4781,9 +4903,26 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4781
4903
|
}, {}, {
|
|
4782
4904
|
length: 256;
|
|
4783
4905
|
}>;
|
|
4784
|
-
|
|
4785
|
-
name: "
|
|
4786
|
-
tableName: "
|
|
4906
|
+
description: drizzle_orm_pg_core1458.PgColumn<{
|
|
4907
|
+
name: "description";
|
|
4908
|
+
tableName: "evaluation_run_config";
|
|
4909
|
+
dataType: "string";
|
|
4910
|
+
columnType: "PgText";
|
|
4911
|
+
data: string;
|
|
4912
|
+
driverParam: string;
|
|
4913
|
+
notNull: false;
|
|
4914
|
+
hasDefault: false;
|
|
4915
|
+
isPrimaryKey: false;
|
|
4916
|
+
isAutoincrement: false;
|
|
4917
|
+
hasRuntimeDefault: false;
|
|
4918
|
+
enumValues: [string, ...string[]];
|
|
4919
|
+
baseColumn: never;
|
|
4920
|
+
identity: undefined;
|
|
4921
|
+
generated: undefined;
|
|
4922
|
+
}, {}, {}>;
|
|
4923
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4924
|
+
name: "project_id";
|
|
4925
|
+
tableName: "evaluation_run_config";
|
|
4787
4926
|
dataType: "string";
|
|
4788
4927
|
columnType: "PgVarchar";
|
|
4789
4928
|
data: string;
|
|
@@ -4800,9 +4939,9 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4800
4939
|
}, {}, {
|
|
4801
4940
|
length: 256;
|
|
4802
4941
|
}>;
|
|
4803
|
-
|
|
4804
|
-
name: "
|
|
4805
|
-
tableName: "
|
|
4942
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4943
|
+
name: "tenant_id";
|
|
4944
|
+
tableName: "evaluation_run_config";
|
|
4806
4945
|
dataType: "string";
|
|
4807
4946
|
columnType: "PgVarchar";
|
|
4808
4947
|
data: string;
|
|
@@ -4819,14 +4958,14 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4819
4958
|
}, {}, {
|
|
4820
4959
|
length: 256;
|
|
4821
4960
|
}>;
|
|
4822
|
-
|
|
4823
|
-
name: "
|
|
4824
|
-
tableName: "
|
|
4961
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
4962
|
+
name: "id";
|
|
4963
|
+
tableName: "evaluation_run_config";
|
|
4825
4964
|
dataType: "string";
|
|
4826
4965
|
columnType: "PgVarchar";
|
|
4827
4966
|
data: string;
|
|
4828
4967
|
driverParam: string;
|
|
4829
|
-
notNull:
|
|
4968
|
+
notNull: true;
|
|
4830
4969
|
hasDefault: false;
|
|
4831
4970
|
isPrimaryKey: false;
|
|
4832
4971
|
isAutoincrement: false;
|
|
@@ -4838,15 +4977,36 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4838
4977
|
}, {}, {
|
|
4839
4978
|
length: 256;
|
|
4840
4979
|
}>;
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4980
|
+
};
|
|
4981
|
+
dialect: "pg";
|
|
4982
|
+
}>;
|
|
4983
|
+
/**
|
|
4984
|
+
* Configuration for a one-off evaluation job to be executed.
|
|
4985
|
+
* Example: "Evaluate all conversations in datasetRunId 1234"
|
|
4986
|
+
*
|
|
4987
|
+
* Created manually or by external systems. Contains job-specific filters like
|
|
4988
|
+
* datasetRunIds, conversationIds, and absolute dateRange.
|
|
4989
|
+
*
|
|
4990
|
+
* one to many relationship with evaluationRun
|
|
4991
|
+
*
|
|
4992
|
+
* When a job completes, an evaluationRun is created with evaluationJobConfigId set.
|
|
4993
|
+
*
|
|
4994
|
+
* Includes: jobFilters (specific filters for this job execution: datasetRunIds, conversationIds,
|
|
4995
|
+
* dateRange with absolute dates), and timestamps
|
|
4996
|
+
*/
|
|
4997
|
+
declare const evaluationJobConfig: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
4998
|
+
name: "evaluation_job_config";
|
|
4999
|
+
schema: undefined;
|
|
5000
|
+
columns: {
|
|
5001
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
5002
|
+
name: "created_at";
|
|
5003
|
+
tableName: "evaluation_job_config";
|
|
4844
5004
|
dataType: "string";
|
|
4845
5005
|
columnType: "PgTimestampString";
|
|
4846
5006
|
data: string;
|
|
4847
5007
|
driverParam: string;
|
|
4848
|
-
notNull:
|
|
4849
|
-
hasDefault:
|
|
5008
|
+
notNull: true;
|
|
5009
|
+
hasDefault: true;
|
|
4850
5010
|
isPrimaryKey: false;
|
|
4851
5011
|
isAutoincrement: false;
|
|
4852
5012
|
hasRuntimeDefault: false;
|
|
@@ -4855,15 +5015,15 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4855
5015
|
identity: undefined;
|
|
4856
5016
|
generated: undefined;
|
|
4857
5017
|
}, {}, {}>;
|
|
4858
|
-
|
|
4859
|
-
name: "
|
|
4860
|
-
tableName: "
|
|
5018
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
5019
|
+
name: "updated_at";
|
|
5020
|
+
tableName: "evaluation_job_config";
|
|
4861
5021
|
dataType: "string";
|
|
4862
5022
|
columnType: "PgTimestampString";
|
|
4863
5023
|
data: string;
|
|
4864
5024
|
driverParam: string;
|
|
4865
|
-
notNull:
|
|
4866
|
-
hasDefault:
|
|
5025
|
+
notNull: true;
|
|
5026
|
+
hasDefault: true;
|
|
4867
5027
|
isPrimaryKey: false;
|
|
4868
5028
|
isAutoincrement: false;
|
|
4869
5029
|
hasRuntimeDefault: false;
|
|
@@ -4872,28 +5032,42 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4872
5032
|
identity: undefined;
|
|
4873
5033
|
generated: undefined;
|
|
4874
5034
|
}, {}, {}>;
|
|
4875
|
-
|
|
4876
|
-
name: "
|
|
4877
|
-
tableName: "
|
|
4878
|
-
dataType: "
|
|
4879
|
-
columnType: "
|
|
4880
|
-
data:
|
|
4881
|
-
|
|
4882
|
-
|
|
5035
|
+
jobFilters: drizzle_orm_pg_core1458.PgColumn<{
|
|
5036
|
+
name: "job_filters";
|
|
5037
|
+
tableName: "evaluation_job_config";
|
|
5038
|
+
dataType: "json";
|
|
5039
|
+
columnType: "PgJsonb";
|
|
5040
|
+
data: Filter<{
|
|
5041
|
+
datasetRunIds?: string[] | undefined;
|
|
5042
|
+
conversationIds?: string[] | undefined;
|
|
5043
|
+
dateRange?: {
|
|
5044
|
+
startDate: string;
|
|
5045
|
+
endDate: string;
|
|
5046
|
+
} | undefined;
|
|
5047
|
+
}>;
|
|
5048
|
+
driverParam: unknown;
|
|
5049
|
+
notNull: false;
|
|
4883
5050
|
hasDefault: false;
|
|
4884
5051
|
isPrimaryKey: false;
|
|
4885
5052
|
isAutoincrement: false;
|
|
4886
5053
|
hasRuntimeDefault: false;
|
|
4887
|
-
enumValues:
|
|
5054
|
+
enumValues: undefined;
|
|
4888
5055
|
baseColumn: never;
|
|
4889
5056
|
identity: undefined;
|
|
4890
5057
|
generated: undefined;
|
|
4891
5058
|
}, {}, {
|
|
4892
|
-
|
|
5059
|
+
$type: Filter<{
|
|
5060
|
+
datasetRunIds?: string[] | undefined;
|
|
5061
|
+
conversationIds?: string[] | undefined;
|
|
5062
|
+
dateRange?: {
|
|
5063
|
+
startDate: string;
|
|
5064
|
+
endDate: string;
|
|
5065
|
+
} | undefined;
|
|
5066
|
+
}>;
|
|
4893
5067
|
}>;
|
|
4894
|
-
projectId:
|
|
5068
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4895
5069
|
name: "project_id";
|
|
4896
|
-
tableName: "
|
|
5070
|
+
tableName: "evaluation_job_config";
|
|
4897
5071
|
dataType: "string";
|
|
4898
5072
|
columnType: "PgVarchar";
|
|
4899
5073
|
data: string;
|
|
@@ -4910,9 +5084,9 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4910
5084
|
}, {}, {
|
|
4911
5085
|
length: 256;
|
|
4912
5086
|
}>;
|
|
4913
|
-
tenantId:
|
|
5087
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
4914
5088
|
name: "tenant_id";
|
|
4915
|
-
tableName: "
|
|
5089
|
+
tableName: "evaluation_job_config";
|
|
4916
5090
|
dataType: "string";
|
|
4917
5091
|
columnType: "PgVarchar";
|
|
4918
5092
|
data: string;
|
|
@@ -4929,9 +5103,9 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4929
5103
|
}, {}, {
|
|
4930
5104
|
length: 256;
|
|
4931
5105
|
}>;
|
|
4932
|
-
id:
|
|
5106
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
4933
5107
|
name: "id";
|
|
4934
|
-
tableName: "
|
|
5108
|
+
tableName: "evaluation_job_config";
|
|
4935
5109
|
dataType: "string";
|
|
4936
5110
|
columnType: "PgVarchar";
|
|
4937
5111
|
data: string;
|
|
@@ -4951,13 +5125,20 @@ declare const apiKeys: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4951
5125
|
};
|
|
4952
5126
|
dialect: "pg";
|
|
4953
5127
|
}>;
|
|
4954
|
-
|
|
4955
|
-
|
|
5128
|
+
/**
|
|
5129
|
+
* Links evaluators to evaluation job configs. Many-to-many relationship that
|
|
5130
|
+
* attaches evaluators to an evaluation job configuration. Each evaluator must
|
|
5131
|
+
* have its own model configuration defined.
|
|
5132
|
+
*
|
|
5133
|
+
* Includes: evaluationJobConfigId, evaluatorId, and timestamps
|
|
5134
|
+
*/
|
|
5135
|
+
declare const evaluationJobConfigEvaluatorRelations: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
5136
|
+
name: "evaluation_job_config_evaluator_relations";
|
|
4956
5137
|
schema: undefined;
|
|
4957
5138
|
columns: {
|
|
4958
|
-
createdAt:
|
|
5139
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4959
5140
|
name: "created_at";
|
|
4960
|
-
tableName: "
|
|
5141
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
4961
5142
|
dataType: "string";
|
|
4962
5143
|
columnType: "PgTimestampString";
|
|
4963
5144
|
data: string;
|
|
@@ -4972,9 +5153,9 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4972
5153
|
identity: undefined;
|
|
4973
5154
|
generated: undefined;
|
|
4974
5155
|
}, {}, {}>;
|
|
4975
|
-
updatedAt:
|
|
5156
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
4976
5157
|
name: "updated_at";
|
|
4977
|
-
tableName: "
|
|
5158
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
4978
5159
|
dataType: "string";
|
|
4979
5160
|
columnType: "PgTimestampString";
|
|
4980
5161
|
data: string;
|
|
@@ -4989,11 +5170,11 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
4989
5170
|
identity: undefined;
|
|
4990
5171
|
generated: undefined;
|
|
4991
5172
|
}, {}, {}>;
|
|
4992
|
-
|
|
4993
|
-
name: "
|
|
4994
|
-
tableName: "
|
|
5173
|
+
evaluationJobConfigId: drizzle_orm_pg_core1458.PgColumn<{
|
|
5174
|
+
name: "evaluation_job_config_id";
|
|
5175
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
4995
5176
|
dataType: "string";
|
|
4996
|
-
columnType: "
|
|
5177
|
+
columnType: "PgText";
|
|
4997
5178
|
data: string;
|
|
4998
5179
|
driverParam: string;
|
|
4999
5180
|
notNull: true;
|
|
@@ -5005,14 +5186,12 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5005
5186
|
baseColumn: never;
|
|
5006
5187
|
identity: undefined;
|
|
5007
5188
|
generated: undefined;
|
|
5008
|
-
}, {}, {
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
name: "type";
|
|
5013
|
-
tableName: "credential_references";
|
|
5189
|
+
}, {}, {}>;
|
|
5190
|
+
evaluatorId: drizzle_orm_pg_core1458.PgColumn<{
|
|
5191
|
+
name: "evaluator_id";
|
|
5192
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5014
5193
|
dataType: "string";
|
|
5015
|
-
columnType: "
|
|
5194
|
+
columnType: "PgText";
|
|
5016
5195
|
data: string;
|
|
5017
5196
|
driverParam: string;
|
|
5018
5197
|
notNull: true;
|
|
@@ -5024,12 +5203,10 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5024
5203
|
baseColumn: never;
|
|
5025
5204
|
identity: undefined;
|
|
5026
5205
|
generated: undefined;
|
|
5027
|
-
}, {}, {
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
name: "credential_store_id";
|
|
5032
|
-
tableName: "credential_references";
|
|
5206
|
+
}, {}, {}>;
|
|
5207
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
5208
|
+
name: "project_id";
|
|
5209
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5033
5210
|
dataType: "string";
|
|
5034
5211
|
columnType: "PgVarchar";
|
|
5035
5212
|
data: string;
|
|
@@ -5046,33 +5223,33 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5046
5223
|
}, {}, {
|
|
5047
5224
|
length: 256;
|
|
5048
5225
|
}>;
|
|
5049
|
-
|
|
5050
|
-
name: "
|
|
5051
|
-
tableName: "
|
|
5052
|
-
dataType: "
|
|
5053
|
-
columnType: "
|
|
5054
|
-
data:
|
|
5055
|
-
driverParam:
|
|
5056
|
-
notNull:
|
|
5226
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
5227
|
+
name: "tenant_id";
|
|
5228
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5229
|
+
dataType: "string";
|
|
5230
|
+
columnType: "PgVarchar";
|
|
5231
|
+
data: string;
|
|
5232
|
+
driverParam: string;
|
|
5233
|
+
notNull: true;
|
|
5057
5234
|
hasDefault: false;
|
|
5058
5235
|
isPrimaryKey: false;
|
|
5059
5236
|
isAutoincrement: false;
|
|
5060
5237
|
hasRuntimeDefault: false;
|
|
5061
|
-
enumValues:
|
|
5238
|
+
enumValues: [string, ...string[]];
|
|
5062
5239
|
baseColumn: never;
|
|
5063
5240
|
identity: undefined;
|
|
5064
5241
|
generated: undefined;
|
|
5065
5242
|
}, {}, {
|
|
5066
|
-
|
|
5243
|
+
length: 256;
|
|
5067
5244
|
}>;
|
|
5068
|
-
|
|
5069
|
-
name: "
|
|
5070
|
-
tableName: "
|
|
5245
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
5246
|
+
name: "id";
|
|
5247
|
+
tableName: "evaluation_job_config_evaluator_relations";
|
|
5071
5248
|
dataType: "string";
|
|
5072
5249
|
columnType: "PgVarchar";
|
|
5073
5250
|
data: string;
|
|
5074
5251
|
driverParam: string;
|
|
5075
|
-
notNull:
|
|
5252
|
+
notNull: true;
|
|
5076
5253
|
hasDefault: false;
|
|
5077
5254
|
isPrimaryKey: false;
|
|
5078
5255
|
isAutoincrement: false;
|
|
@@ -5084,14 +5261,155 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5084
5261
|
}, {}, {
|
|
5085
5262
|
length: 256;
|
|
5086
5263
|
}>;
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5264
|
+
};
|
|
5265
|
+
dialect: "pg";
|
|
5266
|
+
}>;
|
|
5267
|
+
declare const projectsRelations: drizzle_orm37.Relations<"projects", {
|
|
5268
|
+
subAgents: drizzle_orm37.Many<"sub_agents">;
|
|
5269
|
+
agents: drizzle_orm37.Many<"agent">;
|
|
5270
|
+
tools: drizzle_orm37.Many<"tools">;
|
|
5271
|
+
functions: drizzle_orm37.Many<"functions">;
|
|
5272
|
+
contextConfigs: drizzle_orm37.Many<"context_configs">;
|
|
5273
|
+
externalAgents: drizzle_orm37.Many<"external_agents">;
|
|
5274
|
+
dataComponents: drizzle_orm37.Many<"data_components">;
|
|
5275
|
+
artifactComponents: drizzle_orm37.Many<"artifact_components">;
|
|
5276
|
+
credentialReferences: drizzle_orm37.Many<"credential_references">;
|
|
5277
|
+
}>;
|
|
5278
|
+
declare const contextConfigsRelations: drizzle_orm37.Relations<"context_configs", {
|
|
5279
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5280
|
+
agents: drizzle_orm37.Many<"agent">;
|
|
5281
|
+
}>;
|
|
5282
|
+
declare const subAgentsRelations: drizzle_orm37.Relations<"sub_agents", {
|
|
5283
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5284
|
+
defaultForAgents: drizzle_orm37.Many<"agent">;
|
|
5285
|
+
sourceRelations: drizzle_orm37.Many<"sub_agent_relations">;
|
|
5286
|
+
targetRelations: drizzle_orm37.Many<"sub_agent_relations">;
|
|
5287
|
+
toolRelations: drizzle_orm37.Many<"sub_agent_tool_relations">;
|
|
5288
|
+
functionToolRelations: drizzle_orm37.Many<"sub_agent_function_tool_relations">;
|
|
5289
|
+
dataComponentRelations: drizzle_orm37.Many<"sub_agent_data_components">;
|
|
5290
|
+
artifactComponentRelations: drizzle_orm37.Many<"sub_agent_artifact_components">;
|
|
5291
|
+
}>;
|
|
5292
|
+
declare const agentRelations: drizzle_orm37.Relations<"agent", {
|
|
5293
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5294
|
+
defaultSubAgent: drizzle_orm37.One<"sub_agents", false>;
|
|
5295
|
+
contextConfig: drizzle_orm37.One<"context_configs", false>;
|
|
5296
|
+
functionTools: drizzle_orm37.Many<"function_tools">;
|
|
5297
|
+
}>;
|
|
5298
|
+
declare const externalAgentsRelations: drizzle_orm37.Relations<"external_agents", {
|
|
5299
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5300
|
+
subAgentExternalAgentRelations: drizzle_orm37.Many<"sub_agent_external_agent_relations">;
|
|
5301
|
+
credentialReference: drizzle_orm37.One<"credential_references", false>;
|
|
5302
|
+
}>;
|
|
5303
|
+
declare const agentToolRelationsRelations: drizzle_orm37.Relations<"sub_agent_tool_relations", {
|
|
5304
|
+
subAgent: drizzle_orm37.One<"sub_agents", true>;
|
|
5305
|
+
tool: drizzle_orm37.One<"tools", true>;
|
|
5306
|
+
}>;
|
|
5307
|
+
declare const credentialReferencesRelations: drizzle_orm37.Relations<"credential_references", {
|
|
5308
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5309
|
+
tools: drizzle_orm37.Many<"tools">;
|
|
5310
|
+
externalAgents: drizzle_orm37.Many<"external_agents">;
|
|
5311
|
+
}>;
|
|
5312
|
+
declare const toolsRelations: drizzle_orm37.Relations<"tools", {
|
|
5313
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5314
|
+
subAgentRelations: drizzle_orm37.Many<"sub_agent_tool_relations">;
|
|
5315
|
+
credentialReference: drizzle_orm37.One<"credential_references", false>;
|
|
5316
|
+
}>;
|
|
5317
|
+
declare const artifactComponentsRelations: drizzle_orm37.Relations<"artifact_components", {
|
|
5318
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5319
|
+
subAgentRelations: drizzle_orm37.Many<"sub_agent_artifact_components">;
|
|
5320
|
+
}>;
|
|
5321
|
+
declare const subAgentArtifactComponentsRelations: drizzle_orm37.Relations<"sub_agent_artifact_components", {
|
|
5322
|
+
subAgent: drizzle_orm37.One<"sub_agents", true>;
|
|
5323
|
+
artifactComponent: drizzle_orm37.One<"artifact_components", true>;
|
|
5324
|
+
}>;
|
|
5325
|
+
declare const dataComponentsRelations: drizzle_orm37.Relations<"data_components", {
|
|
5326
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5327
|
+
subAgentRelations: drizzle_orm37.Many<"sub_agent_data_components">;
|
|
5328
|
+
}>;
|
|
5329
|
+
declare const subAgentDataComponentsRelations: drizzle_orm37.Relations<"sub_agent_data_components", {
|
|
5330
|
+
subAgent: drizzle_orm37.One<"sub_agents", true>;
|
|
5331
|
+
dataComponent: drizzle_orm37.One<"data_components", true>;
|
|
5332
|
+
}>;
|
|
5333
|
+
declare const functionsRelations: drizzle_orm37.Relations<"functions", {
|
|
5334
|
+
functionTools: drizzle_orm37.Many<"function_tools">;
|
|
5335
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5336
|
+
}>;
|
|
5337
|
+
declare const subAgentRelationsRelations: drizzle_orm37.Relations<"sub_agent_relations", {
|
|
5338
|
+
agent: drizzle_orm37.One<"agent", true>;
|
|
5339
|
+
sourceSubAgent: drizzle_orm37.One<"sub_agents", true>;
|
|
5340
|
+
targetSubAgent: drizzle_orm37.One<"sub_agents", false>;
|
|
5341
|
+
}>;
|
|
5342
|
+
declare const functionToolsRelations: drizzle_orm37.Relations<"function_tools", {
|
|
5343
|
+
project: drizzle_orm37.One<"projects", true>;
|
|
5344
|
+
agent: drizzle_orm37.One<"agent", true>;
|
|
5345
|
+
function: drizzle_orm37.One<"functions", true>;
|
|
5346
|
+
subAgentRelations: drizzle_orm37.Many<"sub_agent_function_tool_relations">;
|
|
5347
|
+
}>;
|
|
5348
|
+
declare const subAgentFunctionToolRelationsRelations: drizzle_orm37.Relations<"sub_agent_function_tool_relations", {
|
|
5349
|
+
subAgent: drizzle_orm37.One<"sub_agents", true>;
|
|
5350
|
+
functionTool: drizzle_orm37.One<"function_tools", true>;
|
|
5351
|
+
}>;
|
|
5352
|
+
declare const subAgentExternalAgentRelationsRelations: drizzle_orm37.Relations<"sub_agent_external_agent_relations", {
|
|
5353
|
+
subAgent: drizzle_orm37.One<"sub_agents", true>;
|
|
5354
|
+
externalAgent: drizzle_orm37.One<"external_agents", true>;
|
|
5355
|
+
}>;
|
|
5356
|
+
declare const subAgentTeamAgentRelationsRelations: drizzle_orm37.Relations<"sub_agent_team_agent_relations", {
|
|
5357
|
+
subAgent: drizzle_orm37.One<"sub_agents", true>;
|
|
5358
|
+
targetAgent: drizzle_orm37.One<"agent", true>;
|
|
5359
|
+
}>;
|
|
5360
|
+
/**
|
|
5361
|
+
* Links agents to dataset run configs. Many-to-many relationship that
|
|
5362
|
+
* allows one dataset run config to use multiple agents, and one agent to be used
|
|
5363
|
+
* by multiple dataset run configs.
|
|
5364
|
+
*
|
|
5365
|
+
* Includes: datasetRunConfigId, agentId, and timestamps
|
|
5366
|
+
*/
|
|
5367
|
+
declare const datasetRunConfigAgentRelations: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
5368
|
+
name: "dataset_run_config_agent_relations";
|
|
5369
|
+
schema: undefined;
|
|
5370
|
+
columns: {
|
|
5371
|
+
createdAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
5372
|
+
name: "created_at";
|
|
5373
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5090
5374
|
dataType: "string";
|
|
5091
|
-
columnType: "
|
|
5375
|
+
columnType: "PgTimestampString";
|
|
5092
5376
|
data: string;
|
|
5093
5377
|
driverParam: string;
|
|
5094
|
-
notNull:
|
|
5378
|
+
notNull: true;
|
|
5379
|
+
hasDefault: true;
|
|
5380
|
+
isPrimaryKey: false;
|
|
5381
|
+
isAutoincrement: false;
|
|
5382
|
+
hasRuntimeDefault: false;
|
|
5383
|
+
enumValues: undefined;
|
|
5384
|
+
baseColumn: never;
|
|
5385
|
+
identity: undefined;
|
|
5386
|
+
generated: undefined;
|
|
5387
|
+
}, {}, {}>;
|
|
5388
|
+
updatedAt: drizzle_orm_pg_core1458.PgColumn<{
|
|
5389
|
+
name: "updated_at";
|
|
5390
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5391
|
+
dataType: "string";
|
|
5392
|
+
columnType: "PgTimestampString";
|
|
5393
|
+
data: string;
|
|
5394
|
+
driverParam: string;
|
|
5395
|
+
notNull: true;
|
|
5396
|
+
hasDefault: true;
|
|
5397
|
+
isPrimaryKey: false;
|
|
5398
|
+
isAutoincrement: false;
|
|
5399
|
+
hasRuntimeDefault: false;
|
|
5400
|
+
enumValues: undefined;
|
|
5401
|
+
baseColumn: never;
|
|
5402
|
+
identity: undefined;
|
|
5403
|
+
generated: undefined;
|
|
5404
|
+
}, {}, {}>;
|
|
5405
|
+
datasetRunConfigId: drizzle_orm_pg_core1458.PgColumn<{
|
|
5406
|
+
name: "dataset_run_config_id";
|
|
5407
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5408
|
+
dataType: "string";
|
|
5409
|
+
columnType: "PgText";
|
|
5410
|
+
data: string;
|
|
5411
|
+
driverParam: string;
|
|
5412
|
+
notNull: true;
|
|
5095
5413
|
hasDefault: false;
|
|
5096
5414
|
isPrimaryKey: false;
|
|
5097
5415
|
isAutoincrement: false;
|
|
@@ -5100,17 +5418,15 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5100
5418
|
baseColumn: never;
|
|
5101
5419
|
identity: undefined;
|
|
5102
5420
|
generated: undefined;
|
|
5103
|
-
}, {}, {
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
name: "created_by";
|
|
5108
|
-
tableName: "credential_references";
|
|
5421
|
+
}, {}, {}>;
|
|
5422
|
+
agentId: drizzle_orm_pg_core1458.PgColumn<{
|
|
5423
|
+
name: "agent_id";
|
|
5424
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5109
5425
|
dataType: "string";
|
|
5110
|
-
columnType: "
|
|
5426
|
+
columnType: "PgText";
|
|
5111
5427
|
data: string;
|
|
5112
5428
|
driverParam: string;
|
|
5113
|
-
notNull:
|
|
5429
|
+
notNull: true;
|
|
5114
5430
|
hasDefault: false;
|
|
5115
5431
|
isPrimaryKey: false;
|
|
5116
5432
|
isAutoincrement: false;
|
|
@@ -5119,12 +5435,10 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5119
5435
|
baseColumn: never;
|
|
5120
5436
|
identity: undefined;
|
|
5121
5437
|
generated: undefined;
|
|
5122
|
-
}, {}, {
|
|
5123
|
-
|
|
5124
|
-
}>;
|
|
5125
|
-
projectId: drizzle_orm_pg_core208.PgColumn<{
|
|
5438
|
+
}, {}, {}>;
|
|
5439
|
+
projectId: drizzle_orm_pg_core1458.PgColumn<{
|
|
5126
5440
|
name: "project_id";
|
|
5127
|
-
tableName: "
|
|
5441
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5128
5442
|
dataType: "string";
|
|
5129
5443
|
columnType: "PgVarchar";
|
|
5130
5444
|
data: string;
|
|
@@ -5141,9 +5455,9 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5141
5455
|
}, {}, {
|
|
5142
5456
|
length: 256;
|
|
5143
5457
|
}>;
|
|
5144
|
-
tenantId:
|
|
5458
|
+
tenantId: drizzle_orm_pg_core1458.PgColumn<{
|
|
5145
5459
|
name: "tenant_id";
|
|
5146
|
-
tableName: "
|
|
5460
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5147
5461
|
dataType: "string";
|
|
5148
5462
|
columnType: "PgVarchar";
|
|
5149
5463
|
data: string;
|
|
@@ -5160,9 +5474,9 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5160
5474
|
}, {}, {
|
|
5161
5475
|
length: 256;
|
|
5162
5476
|
}>;
|
|
5163
|
-
id:
|
|
5477
|
+
id: drizzle_orm_pg_core1458.PgColumn<{
|
|
5164
5478
|
name: "id";
|
|
5165
|
-
tableName: "
|
|
5479
|
+
tableName: "dataset_run_config_agent_relations";
|
|
5166
5480
|
dataType: "string";
|
|
5167
5481
|
columnType: "PgVarchar";
|
|
5168
5482
|
data: string;
|
|
@@ -5182,145 +5496,5 @@ declare const credentialReferences: drizzle_orm_pg_core208.PgTableWithColumns<{
|
|
|
5182
5496
|
};
|
|
5183
5497
|
dialect: "pg";
|
|
5184
5498
|
}>;
|
|
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
|
-
declare const projectsRelations: drizzle_orm20.Relations<"projects", {
|
|
5194
|
-
subAgents: drizzle_orm20.Many<"sub_agents">;
|
|
5195
|
-
agents: drizzle_orm20.Many<"agent">;
|
|
5196
|
-
tools: drizzle_orm20.Many<"tools">;
|
|
5197
|
-
functions: drizzle_orm20.Many<"functions">;
|
|
5198
|
-
contextConfigs: drizzle_orm20.Many<"context_configs">;
|
|
5199
|
-
externalAgents: drizzle_orm20.Many<"external_agents">;
|
|
5200
|
-
conversations: drizzle_orm20.Many<"conversations">;
|
|
5201
|
-
tasks: drizzle_orm20.Many<"tasks">;
|
|
5202
|
-
dataComponents: drizzle_orm20.Many<"data_components">;
|
|
5203
|
-
artifactComponents: drizzle_orm20.Many<"artifact_components">;
|
|
5204
|
-
ledgerArtifacts: drizzle_orm20.Many<"ledger_artifacts">;
|
|
5205
|
-
credentialReferences: drizzle_orm20.Many<"credential_references">;
|
|
5206
|
-
}>;
|
|
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
|
-
declare const contextConfigsRelations: drizzle_orm20.Relations<"context_configs", {
|
|
5212
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5213
|
-
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
|
-
}>;
|
|
5219
|
-
declare const subAgentsRelations: drizzle_orm20.Relations<"sub_agents", {
|
|
5220
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5221
|
-
tasks: drizzle_orm20.Many<"tasks">;
|
|
5222
|
-
defaultForAgents: drizzle_orm20.Many<"agent">;
|
|
5223
|
-
sourceRelations: drizzle_orm20.Many<"sub_agent_relations">;
|
|
5224
|
-
targetRelations: drizzle_orm20.Many<"sub_agent_relations">;
|
|
5225
|
-
sentMessages: drizzle_orm20.Many<"messages">;
|
|
5226
|
-
receivedMessages: drizzle_orm20.Many<"messages">;
|
|
5227
|
-
toolRelations: drizzle_orm20.Many<"sub_agent_tool_relations">;
|
|
5228
|
-
functionToolRelations: drizzle_orm20.Many<"sub_agent_function_tool_relations">;
|
|
5229
|
-
dataComponentRelations: drizzle_orm20.Many<"sub_agent_data_components">;
|
|
5230
|
-
artifactComponentRelations: drizzle_orm20.Many<"sub_agent_artifact_components">;
|
|
5231
|
-
}>;
|
|
5232
|
-
declare const agentRelations: drizzle_orm20.Relations<"agent", {
|
|
5233
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5234
|
-
defaultSubAgent: drizzle_orm20.One<"sub_agents", false>;
|
|
5235
|
-
contextConfig: drizzle_orm20.One<"context_configs", false>;
|
|
5236
|
-
functionTools: drizzle_orm20.Many<"function_tools">;
|
|
5237
|
-
}>;
|
|
5238
|
-
declare const externalAgentsRelations: drizzle_orm20.Relations<"external_agents", {
|
|
5239
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5240
|
-
subAgentExternalAgentRelations: drizzle_orm20.Many<"sub_agent_external_agent_relations">;
|
|
5241
|
-
credentialReference: drizzle_orm20.One<"credential_references", false>;
|
|
5242
|
-
}>;
|
|
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
|
-
declare const agentToolRelationsRelations: drizzle_orm20.Relations<"sub_agent_tool_relations", {
|
|
5248
|
-
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5249
|
-
tool: drizzle_orm20.One<"tools", true>;
|
|
5250
|
-
}>;
|
|
5251
|
-
declare const credentialReferencesRelations: drizzle_orm20.Relations<"credential_references", {
|
|
5252
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5253
|
-
tools: drizzle_orm20.Many<"tools">;
|
|
5254
|
-
externalAgents: drizzle_orm20.Many<"external_agents">;
|
|
5255
|
-
}>;
|
|
5256
|
-
declare const toolsRelations: drizzle_orm20.Relations<"tools", {
|
|
5257
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5258
|
-
subAgentRelations: drizzle_orm20.Many<"sub_agent_tool_relations">;
|
|
5259
|
-
credentialReference: drizzle_orm20.One<"credential_references", false>;
|
|
5260
|
-
}>;
|
|
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
|
-
declare const artifactComponentsRelations: drizzle_orm20.Relations<"artifact_components", {
|
|
5279
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5280
|
-
subAgentRelations: drizzle_orm20.Many<"sub_agent_artifact_components">;
|
|
5281
|
-
}>;
|
|
5282
|
-
declare const subAgentArtifactComponentsRelations: drizzle_orm20.Relations<"sub_agent_artifact_components", {
|
|
5283
|
-
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5284
|
-
artifactComponent: drizzle_orm20.One<"artifact_components", true>;
|
|
5285
|
-
}>;
|
|
5286
|
-
declare const dataComponentsRelations: drizzle_orm20.Relations<"data_components", {
|
|
5287
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5288
|
-
subAgentRelations: drizzle_orm20.Many<"sub_agent_data_components">;
|
|
5289
|
-
}>;
|
|
5290
|
-
declare const subAgentDataComponentsRelations: drizzle_orm20.Relations<"sub_agent_data_components", {
|
|
5291
|
-
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5292
|
-
dataComponent: drizzle_orm20.One<"data_components", true>;
|
|
5293
|
-
}>;
|
|
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
|
-
declare const functionsRelations: drizzle_orm20.Relations<"functions", {
|
|
5299
|
-
functionTools: drizzle_orm20.Many<"function_tools">;
|
|
5300
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5301
|
-
}>;
|
|
5302
|
-
declare const subAgentRelationsRelations: drizzle_orm20.Relations<"sub_agent_relations", {
|
|
5303
|
-
agent: drizzle_orm20.One<"agent", true>;
|
|
5304
|
-
sourceSubAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5305
|
-
targetSubAgent: drizzle_orm20.One<"sub_agents", false>;
|
|
5306
|
-
}>;
|
|
5307
|
-
declare const functionToolsRelations: drizzle_orm20.Relations<"function_tools", {
|
|
5308
|
-
project: drizzle_orm20.One<"projects", true>;
|
|
5309
|
-
agent: drizzle_orm20.One<"agent", true>;
|
|
5310
|
-
function: drizzle_orm20.One<"functions", true>;
|
|
5311
|
-
subAgentRelations: drizzle_orm20.Many<"sub_agent_function_tool_relations">;
|
|
5312
|
-
}>;
|
|
5313
|
-
declare const subAgentFunctionToolRelationsRelations: drizzle_orm20.Relations<"sub_agent_function_tool_relations", {
|
|
5314
|
-
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5315
|
-
functionTool: drizzle_orm20.One<"function_tools", true>;
|
|
5316
|
-
}>;
|
|
5317
|
-
declare const subAgentExternalAgentRelationsRelations: drizzle_orm20.Relations<"sub_agent_external_agent_relations", {
|
|
5318
|
-
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5319
|
-
externalAgent: drizzle_orm20.One<"external_agents", true>;
|
|
5320
|
-
}>;
|
|
5321
|
-
declare const subAgentTeamAgentRelationsRelations: drizzle_orm20.Relations<"sub_agent_team_agent_relations", {
|
|
5322
|
-
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
5323
|
-
targetAgent: drizzle_orm20.One<"agent", true>;
|
|
5324
|
-
}>;
|
|
5325
5499
|
//#endregion
|
|
5326
|
-
export {
|
|
5500
|
+
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 };
|