@inkeep/agents-core 0.50.0 → 0.50.3
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/auth/auth-schema.d.ts +83 -83
- package/dist/auth/auth-validation-schemas.d.ts +148 -148
- package/dist/auth/auth.d.ts +20 -20
- package/dist/auth/auth.js +8 -9
- package/dist/auth/authz/sync.d.ts +22 -1
- package/dist/auth/authz/sync.js +59 -4
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +11 -11
- package/dist/constants/models.d.ts +1 -0
- package/dist/constants/models.js +1 -0
- package/dist/constants/otel-attributes.d.ts +4 -0
- package/dist/constants/otel-attributes.js +4 -0
- package/dist/data-access/manage/agents.d.ts +46 -46
- package/dist/data-access/manage/agents.js +8 -6
- package/dist/data-access/manage/artifactComponents.d.ts +4 -4
- package/dist/data-access/manage/artifactComponents.js +3 -3
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- package/dist/data-access/manage/dataComponents.js +2 -2
- package/dist/data-access/manage/functionTools.d.ts +8 -8
- package/dist/data-access/manage/scope-helpers.d.ts +25 -0
- package/dist/data-access/manage/scope-helpers.js +18 -0
- package/dist/data-access/manage/skills.d.ts +11 -11
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgentExternalAgentRelations.js +13 -12
- package/dist/data-access/manage/subAgentRelations.d.ts +2 -2
- package/dist/data-access/manage/subAgentRelations.js +2 -2
- package/dist/data-access/manage/subAgents.d.ts +27 -27
- package/dist/data-access/manage/tools.d.ts +9 -9
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +8 -8
- package/dist/data-access/runtime/conversations.d.ts +27 -27
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +7 -7
- package/dist/db/manage/manage-schema.d.ts +96 -96
- package/dist/db/runtime/runtime-schema.d.ts +38 -38
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/middleware/authz-meta.d.ts +15 -0
- package/dist/middleware/authz-meta.js +11 -0
- package/dist/middleware/create-protected-route.d.ts +30 -0
- package/dist/middleware/create-protected-route.js +20 -0
- package/dist/middleware/index.d.ts +5 -0
- package/dist/middleware/index.js +6 -0
- package/dist/middleware/inherited-auth.d.ts +43 -0
- package/dist/middleware/inherited-auth.js +50 -0
- package/dist/middleware/no-auth.d.ts +6 -0
- package/dist/middleware/no-auth.js +11 -0
- package/dist/setup/index.d.ts +2 -0
- package/dist/setup/index.js +3 -0
- package/dist/setup/setup.d.ts +24 -0
- package/dist/setup/setup.js +506 -0
- package/dist/utils/in-process-fetch.d.ts +30 -0
- package/dist/utils/in-process-fetch.js +51 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +2 -1
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +2065 -2065
- package/package.json +9 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContextFetchDefinition, ConversationHistoryConfig, DatasetItemExpectedOutput, DatasetItemInput, EvaluationSuiteFilterCriteria, Filter, PassCriteria, ToolMcpConfig, ToolServerCapabilities } from "../../types/utility.js";
|
|
2
2
|
import { JsonSchemaProperty } from "../../validation/json-schemas.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as drizzle_orm24 from "drizzle-orm";
|
|
4
4
|
import * as drizzle_orm_pg_core1479 from "drizzle-orm/pg-core";
|
|
5
5
|
|
|
6
6
|
//#region src/db/manage/manage-schema.d.ts
|
|
@@ -814,13 +814,13 @@ declare const triggers: drizzle_orm_pg_core1479.PgTableWithColumns<{
|
|
|
814
814
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
815
815
|
encoding: "hex" | "base64";
|
|
816
816
|
signature: {
|
|
817
|
-
source: "query" | "
|
|
817
|
+
source: "query" | "header" | "body";
|
|
818
818
|
key: string;
|
|
819
819
|
prefix?: string | undefined;
|
|
820
820
|
regex?: string | undefined;
|
|
821
821
|
};
|
|
822
822
|
signedComponents: {
|
|
823
|
-
source: "literal" | "
|
|
823
|
+
source: "literal" | "header" | "body";
|
|
824
824
|
required: boolean;
|
|
825
825
|
key?: string | undefined;
|
|
826
826
|
value?: string | undefined;
|
|
@@ -851,13 +851,13 @@ declare const triggers: drizzle_orm_pg_core1479.PgTableWithColumns<{
|
|
|
851
851
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
852
852
|
encoding: "hex" | "base64";
|
|
853
853
|
signature: {
|
|
854
|
-
source: "query" | "
|
|
854
|
+
source: "query" | "header" | "body";
|
|
855
855
|
key: string;
|
|
856
856
|
prefix?: string | undefined;
|
|
857
857
|
regex?: string | undefined;
|
|
858
858
|
};
|
|
859
859
|
signedComponents: {
|
|
860
|
-
source: "literal" | "
|
|
860
|
+
source: "literal" | "header" | "body";
|
|
861
861
|
required: boolean;
|
|
862
862
|
key?: string | undefined;
|
|
863
863
|
value?: string | undefined;
|
|
@@ -6301,118 +6301,118 @@ declare const evaluationJobConfigEvaluatorRelations: drizzle_orm_pg_core1479.PgT
|
|
|
6301
6301
|
};
|
|
6302
6302
|
dialect: "pg";
|
|
6303
6303
|
}>;
|
|
6304
|
-
declare const projectsRelations:
|
|
6305
|
-
subAgents:
|
|
6306
|
-
agents:
|
|
6307
|
-
tools:
|
|
6308
|
-
functions:
|
|
6309
|
-
contextConfigs:
|
|
6310
|
-
externalAgents:
|
|
6311
|
-
dataComponents:
|
|
6312
|
-
artifactComponents:
|
|
6313
|
-
credentialReferences:
|
|
6314
|
-
skills:
|
|
6304
|
+
declare const projectsRelations: drizzle_orm24.Relations<"projects", {
|
|
6305
|
+
subAgents: drizzle_orm24.Many<"sub_agents">;
|
|
6306
|
+
agents: drizzle_orm24.Many<"agent">;
|
|
6307
|
+
tools: drizzle_orm24.Many<"tools">;
|
|
6308
|
+
functions: drizzle_orm24.Many<"functions">;
|
|
6309
|
+
contextConfigs: drizzle_orm24.Many<"context_configs">;
|
|
6310
|
+
externalAgents: drizzle_orm24.Many<"external_agents">;
|
|
6311
|
+
dataComponents: drizzle_orm24.Many<"data_components">;
|
|
6312
|
+
artifactComponents: drizzle_orm24.Many<"artifact_components">;
|
|
6313
|
+
credentialReferences: drizzle_orm24.Many<"credential_references">;
|
|
6314
|
+
skills: drizzle_orm24.Many<"skills">;
|
|
6315
6315
|
}>;
|
|
6316
|
-
declare const contextConfigsRelations:
|
|
6317
|
-
project:
|
|
6318
|
-
agents:
|
|
6316
|
+
declare const contextConfigsRelations: drizzle_orm24.Relations<"context_configs", {
|
|
6317
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6318
|
+
agents: drizzle_orm24.Many<"agent">;
|
|
6319
6319
|
}>;
|
|
6320
|
-
declare const subAgentsRelations:
|
|
6321
|
-
project:
|
|
6322
|
-
defaultForAgents:
|
|
6323
|
-
sourceRelations:
|
|
6324
|
-
targetRelations:
|
|
6325
|
-
toolRelations:
|
|
6326
|
-
functionToolRelations:
|
|
6327
|
-
dataComponentRelations:
|
|
6328
|
-
artifactComponentRelations:
|
|
6329
|
-
skillRelations:
|
|
6320
|
+
declare const subAgentsRelations: drizzle_orm24.Relations<"sub_agents", {
|
|
6321
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6322
|
+
defaultForAgents: drizzle_orm24.Many<"agent">;
|
|
6323
|
+
sourceRelations: drizzle_orm24.Many<"sub_agent_relations">;
|
|
6324
|
+
targetRelations: drizzle_orm24.Many<"sub_agent_relations">;
|
|
6325
|
+
toolRelations: drizzle_orm24.Many<"sub_agent_tool_relations">;
|
|
6326
|
+
functionToolRelations: drizzle_orm24.Many<"sub_agent_function_tool_relations">;
|
|
6327
|
+
dataComponentRelations: drizzle_orm24.Many<"sub_agent_data_components">;
|
|
6328
|
+
artifactComponentRelations: drizzle_orm24.Many<"sub_agent_artifact_components">;
|
|
6329
|
+
skillRelations: drizzle_orm24.Many<"sub_agent_skills">;
|
|
6330
6330
|
}>;
|
|
6331
|
-
declare const agentRelations:
|
|
6332
|
-
project:
|
|
6333
|
-
defaultSubAgent:
|
|
6334
|
-
contextConfig:
|
|
6335
|
-
functionTools:
|
|
6336
|
-
scheduledWorkflows:
|
|
6337
|
-
scheduledTriggers:
|
|
6331
|
+
declare const agentRelations: drizzle_orm24.Relations<"agent", {
|
|
6332
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6333
|
+
defaultSubAgent: drizzle_orm24.One<"sub_agents", false>;
|
|
6334
|
+
contextConfig: drizzle_orm24.One<"context_configs", false>;
|
|
6335
|
+
functionTools: drizzle_orm24.Many<"function_tools">;
|
|
6336
|
+
scheduledWorkflows: drizzle_orm24.Many<"scheduled_workflows">;
|
|
6337
|
+
scheduledTriggers: drizzle_orm24.Many<"scheduled_triggers">;
|
|
6338
6338
|
}>;
|
|
6339
|
-
declare const scheduledTriggersRelations:
|
|
6340
|
-
agent:
|
|
6341
|
-
scheduledWorkflow:
|
|
6339
|
+
declare const scheduledTriggersRelations: drizzle_orm24.Relations<"scheduled_triggers", {
|
|
6340
|
+
agent: drizzle_orm24.One<"agent", true>;
|
|
6341
|
+
scheduledWorkflow: drizzle_orm24.One<"scheduled_workflows", false>;
|
|
6342
6342
|
}>;
|
|
6343
|
-
declare const scheduledWorkflowsRelations:
|
|
6344
|
-
agent:
|
|
6345
|
-
scheduledTrigger:
|
|
6343
|
+
declare const scheduledWorkflowsRelations: drizzle_orm24.Relations<"scheduled_workflows", {
|
|
6344
|
+
agent: drizzle_orm24.One<"agent", true>;
|
|
6345
|
+
scheduledTrigger: drizzle_orm24.One<"scheduled_triggers", true>;
|
|
6346
6346
|
}>;
|
|
6347
|
-
declare const externalAgentsRelations:
|
|
6348
|
-
project:
|
|
6349
|
-
subAgentExternalAgentRelations:
|
|
6350
|
-
credentialReference:
|
|
6347
|
+
declare const externalAgentsRelations: drizzle_orm24.Relations<"external_agents", {
|
|
6348
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6349
|
+
subAgentExternalAgentRelations: drizzle_orm24.Many<"sub_agent_external_agent_relations">;
|
|
6350
|
+
credentialReference: drizzle_orm24.One<"credential_references", false>;
|
|
6351
6351
|
}>;
|
|
6352
|
-
declare const agentToolRelationsRelations:
|
|
6353
|
-
subAgent:
|
|
6354
|
-
tool:
|
|
6352
|
+
declare const agentToolRelationsRelations: drizzle_orm24.Relations<"sub_agent_tool_relations", {
|
|
6353
|
+
subAgent: drizzle_orm24.One<"sub_agents", true>;
|
|
6354
|
+
tool: drizzle_orm24.One<"tools", true>;
|
|
6355
6355
|
}>;
|
|
6356
|
-
declare const credentialReferencesRelations:
|
|
6357
|
-
project:
|
|
6358
|
-
tools:
|
|
6359
|
-
externalAgents:
|
|
6356
|
+
declare const credentialReferencesRelations: drizzle_orm24.Relations<"credential_references", {
|
|
6357
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6358
|
+
tools: drizzle_orm24.Many<"tools">;
|
|
6359
|
+
externalAgents: drizzle_orm24.Many<"external_agents">;
|
|
6360
6360
|
}>;
|
|
6361
|
-
declare const toolsRelations:
|
|
6362
|
-
project:
|
|
6363
|
-
subAgentRelations:
|
|
6364
|
-
credentialReference:
|
|
6361
|
+
declare const toolsRelations: drizzle_orm24.Relations<"tools", {
|
|
6362
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6363
|
+
subAgentRelations: drizzle_orm24.Many<"sub_agent_tool_relations">;
|
|
6364
|
+
credentialReference: drizzle_orm24.One<"credential_references", false>;
|
|
6365
6365
|
}>;
|
|
6366
|
-
declare const artifactComponentsRelations:
|
|
6367
|
-
project:
|
|
6368
|
-
subAgentRelations:
|
|
6366
|
+
declare const artifactComponentsRelations: drizzle_orm24.Relations<"artifact_components", {
|
|
6367
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6368
|
+
subAgentRelations: drizzle_orm24.Many<"sub_agent_artifact_components">;
|
|
6369
6369
|
}>;
|
|
6370
|
-
declare const subAgentArtifactComponentsRelations:
|
|
6371
|
-
subAgent:
|
|
6372
|
-
artifactComponent:
|
|
6370
|
+
declare const subAgentArtifactComponentsRelations: drizzle_orm24.Relations<"sub_agent_artifact_components", {
|
|
6371
|
+
subAgent: drizzle_orm24.One<"sub_agents", true>;
|
|
6372
|
+
artifactComponent: drizzle_orm24.One<"artifact_components", true>;
|
|
6373
6373
|
}>;
|
|
6374
|
-
declare const dataComponentsRelations:
|
|
6375
|
-
project:
|
|
6376
|
-
subAgentRelations:
|
|
6374
|
+
declare const dataComponentsRelations: drizzle_orm24.Relations<"data_components", {
|
|
6375
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6376
|
+
subAgentRelations: drizzle_orm24.Many<"sub_agent_data_components">;
|
|
6377
6377
|
}>;
|
|
6378
|
-
declare const subAgentDataComponentsRelations:
|
|
6379
|
-
subAgent:
|
|
6380
|
-
dataComponent:
|
|
6378
|
+
declare const subAgentDataComponentsRelations: drizzle_orm24.Relations<"sub_agent_data_components", {
|
|
6379
|
+
subAgent: drizzle_orm24.One<"sub_agents", true>;
|
|
6380
|
+
dataComponent: drizzle_orm24.One<"data_components", true>;
|
|
6381
6381
|
}>;
|
|
6382
|
-
declare const skillsRelations:
|
|
6383
|
-
project:
|
|
6384
|
-
subAgentRelations:
|
|
6382
|
+
declare const skillsRelations: drizzle_orm24.Relations<"skills", {
|
|
6383
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6384
|
+
subAgentRelations: drizzle_orm24.Many<"sub_agent_skills">;
|
|
6385
6385
|
}>;
|
|
6386
|
-
declare const subAgentSkillsRelations:
|
|
6387
|
-
subAgent:
|
|
6388
|
-
skill:
|
|
6386
|
+
declare const subAgentSkillsRelations: drizzle_orm24.Relations<"sub_agent_skills", {
|
|
6387
|
+
subAgent: drizzle_orm24.One<"sub_agents", true>;
|
|
6388
|
+
skill: drizzle_orm24.One<"skills", true>;
|
|
6389
6389
|
}>;
|
|
6390
|
-
declare const functionsRelations:
|
|
6391
|
-
functionTools:
|
|
6392
|
-
project:
|
|
6390
|
+
declare const functionsRelations: drizzle_orm24.Relations<"functions", {
|
|
6391
|
+
functionTools: drizzle_orm24.Many<"function_tools">;
|
|
6392
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6393
6393
|
}>;
|
|
6394
|
-
declare const subAgentRelationsRelations:
|
|
6395
|
-
agent:
|
|
6396
|
-
sourceSubAgent:
|
|
6397
|
-
targetSubAgent:
|
|
6394
|
+
declare const subAgentRelationsRelations: drizzle_orm24.Relations<"sub_agent_relations", {
|
|
6395
|
+
agent: drizzle_orm24.One<"agent", true>;
|
|
6396
|
+
sourceSubAgent: drizzle_orm24.One<"sub_agents", true>;
|
|
6397
|
+
targetSubAgent: drizzle_orm24.One<"sub_agents", false>;
|
|
6398
6398
|
}>;
|
|
6399
|
-
declare const functionToolsRelations:
|
|
6400
|
-
project:
|
|
6401
|
-
agent:
|
|
6402
|
-
function:
|
|
6403
|
-
subAgentRelations:
|
|
6399
|
+
declare const functionToolsRelations: drizzle_orm24.Relations<"function_tools", {
|
|
6400
|
+
project: drizzle_orm24.One<"projects", true>;
|
|
6401
|
+
agent: drizzle_orm24.One<"agent", true>;
|
|
6402
|
+
function: drizzle_orm24.One<"functions", true>;
|
|
6403
|
+
subAgentRelations: drizzle_orm24.Many<"sub_agent_function_tool_relations">;
|
|
6404
6404
|
}>;
|
|
6405
|
-
declare const subAgentFunctionToolRelationsRelations:
|
|
6406
|
-
subAgent:
|
|
6407
|
-
functionTool:
|
|
6405
|
+
declare const subAgentFunctionToolRelationsRelations: drizzle_orm24.Relations<"sub_agent_function_tool_relations", {
|
|
6406
|
+
subAgent: drizzle_orm24.One<"sub_agents", true>;
|
|
6407
|
+
functionTool: drizzle_orm24.One<"function_tools", true>;
|
|
6408
6408
|
}>;
|
|
6409
|
-
declare const subAgentExternalAgentRelationsRelations:
|
|
6410
|
-
subAgent:
|
|
6411
|
-
externalAgent:
|
|
6409
|
+
declare const subAgentExternalAgentRelationsRelations: drizzle_orm24.Relations<"sub_agent_external_agent_relations", {
|
|
6410
|
+
subAgent: drizzle_orm24.One<"sub_agents", true>;
|
|
6411
|
+
externalAgent: drizzle_orm24.One<"external_agents", true>;
|
|
6412
6412
|
}>;
|
|
6413
|
-
declare const subAgentTeamAgentRelationsRelations:
|
|
6414
|
-
subAgent:
|
|
6415
|
-
targetAgent:
|
|
6413
|
+
declare const subAgentTeamAgentRelationsRelations: drizzle_orm24.Relations<"sub_agent_team_agent_relations", {
|
|
6414
|
+
subAgent: drizzle_orm24.One<"sub_agents", true>;
|
|
6415
|
+
targetAgent: drizzle_orm24.One<"agent", true>;
|
|
6416
6416
|
}>;
|
|
6417
6417
|
/**
|
|
6418
6418
|
* Links agents to dataset run configs. Many-to-many relationship that
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Part } from "../../types/a2a.js";
|
|
2
2
|
import { ConversationMetadata, MessageContent, MessageMetadata, TaskMetadataConfig } from "../../types/utility.js";
|
|
3
3
|
import { account, deviceCode, invitation, member, organization, session, ssoProvider, user, verification } from "../../auth/auth-schema.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as drizzle_orm115 from "drizzle-orm";
|
|
5
5
|
import * as drizzle_orm_pg_core1831 from "drizzle-orm/pg-core";
|
|
6
6
|
|
|
7
7
|
//#region src/db/runtime/runtime-schema.d.ts
|
|
@@ -216,7 +216,7 @@ declare const conversations: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
|
216
216
|
dataType: "json";
|
|
217
217
|
columnType: "PgJsonb";
|
|
218
218
|
data: {
|
|
219
|
-
type: "
|
|
219
|
+
type: "commit" | "tag" | "branch";
|
|
220
220
|
name: string;
|
|
221
221
|
hash: string;
|
|
222
222
|
};
|
|
@@ -232,7 +232,7 @@ declare const conversations: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
|
232
232
|
generated: undefined;
|
|
233
233
|
}, {}, {
|
|
234
234
|
$type: {
|
|
235
|
-
type: "
|
|
235
|
+
type: "commit" | "tag" | "branch";
|
|
236
236
|
name: string;
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
@@ -413,7 +413,7 @@ declare const tasks: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
|
413
413
|
dataType: "json";
|
|
414
414
|
columnType: "PgJsonb";
|
|
415
415
|
data: {
|
|
416
|
-
type: "
|
|
416
|
+
type: "commit" | "tag" | "branch";
|
|
417
417
|
name: string;
|
|
418
418
|
hash: string;
|
|
419
419
|
};
|
|
@@ -429,7 +429,7 @@ declare const tasks: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
|
429
429
|
generated: undefined;
|
|
430
430
|
}, {}, {
|
|
431
431
|
$type: {
|
|
432
|
-
type: "
|
|
432
|
+
type: "commit" | "tag" | "branch";
|
|
433
433
|
name: string;
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
@@ -1778,7 +1778,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1831.PgTableWithCo
|
|
|
1778
1778
|
tableName: "scheduled_trigger_invocations";
|
|
1779
1779
|
dataType: "string";
|
|
1780
1780
|
columnType: "PgVarchar";
|
|
1781
|
-
data: "pending" | "
|
|
1781
|
+
data: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
1782
1782
|
driverParam: string;
|
|
1783
1783
|
notNull: true;
|
|
1784
1784
|
hasDefault: false;
|
|
@@ -1791,7 +1791,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1831.PgTableWithCo
|
|
|
1791
1791
|
generated: undefined;
|
|
1792
1792
|
}, {}, {
|
|
1793
1793
|
length: 50;
|
|
1794
|
-
$type: "pending" | "
|
|
1794
|
+
$type: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
1795
1795
|
}>;
|
|
1796
1796
|
scheduledFor: drizzle_orm_pg_core1831.PgColumn<{
|
|
1797
1797
|
name: "scheduled_for";
|
|
@@ -3013,7 +3013,7 @@ declare const contextCache: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
|
3013
3013
|
dataType: "json";
|
|
3014
3014
|
columnType: "PgJsonb";
|
|
3015
3015
|
data: {
|
|
3016
|
-
type: "
|
|
3016
|
+
type: "commit" | "tag" | "branch";
|
|
3017
3017
|
name: string;
|
|
3018
3018
|
hash: string;
|
|
3019
3019
|
};
|
|
@@ -3029,7 +3029,7 @@ declare const contextCache: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
|
3029
3029
|
generated: undefined;
|
|
3030
3030
|
}, {}, {
|
|
3031
3031
|
$type: {
|
|
3032
|
-
type: "
|
|
3032
|
+
type: "commit" | "tag" | "branch";
|
|
3033
3033
|
name: string;
|
|
3034
3034
|
hash: string;
|
|
3035
3035
|
};
|
|
@@ -3810,27 +3810,27 @@ declare const evaluationResult: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
|
3810
3810
|
};
|
|
3811
3811
|
dialect: "pg";
|
|
3812
3812
|
}>;
|
|
3813
|
-
declare const conversationsRelations:
|
|
3814
|
-
messages:
|
|
3813
|
+
declare const conversationsRelations: drizzle_orm115.Relations<"conversations", {
|
|
3814
|
+
messages: drizzle_orm115.Many<"messages">;
|
|
3815
3815
|
}>;
|
|
3816
|
-
declare const messagesRelations:
|
|
3817
|
-
conversation:
|
|
3818
|
-
task:
|
|
3819
|
-
parentMessage:
|
|
3820
|
-
childMessages:
|
|
3816
|
+
declare const messagesRelations: drizzle_orm115.Relations<"messages", {
|
|
3817
|
+
conversation: drizzle_orm115.One<"conversations", true>;
|
|
3818
|
+
task: drizzle_orm115.One<"tasks", false>;
|
|
3819
|
+
parentMessage: drizzle_orm115.One<"messages", false>;
|
|
3820
|
+
childMessages: drizzle_orm115.Many<"messages">;
|
|
3821
3821
|
}>;
|
|
3822
|
-
declare const tasksRelations:
|
|
3823
|
-
messages:
|
|
3824
|
-
ledgerArtifacts:
|
|
3825
|
-
parentRelations:
|
|
3826
|
-
childRelations:
|
|
3822
|
+
declare const tasksRelations: drizzle_orm115.Relations<"tasks", {
|
|
3823
|
+
messages: drizzle_orm115.Many<"messages">;
|
|
3824
|
+
ledgerArtifacts: drizzle_orm115.Many<"ledger_artifacts">;
|
|
3825
|
+
parentRelations: drizzle_orm115.Many<"task_relations">;
|
|
3826
|
+
childRelations: drizzle_orm115.Many<"task_relations">;
|
|
3827
3827
|
}>;
|
|
3828
|
-
declare const taskRelationsRelations:
|
|
3829
|
-
parentTask:
|
|
3830
|
-
childTask:
|
|
3828
|
+
declare const taskRelationsRelations: drizzle_orm115.Relations<"task_relations", {
|
|
3829
|
+
parentTask: drizzle_orm115.One<"tasks", true>;
|
|
3830
|
+
childTask: drizzle_orm115.One<"tasks", true>;
|
|
3831
3831
|
}>;
|
|
3832
|
-
declare const ledgerArtifactsRelations:
|
|
3833
|
-
task:
|
|
3832
|
+
declare const ledgerArtifactsRelations: drizzle_orm115.Relations<"ledger_artifacts", {
|
|
3833
|
+
task: drizzle_orm115.One<"tasks", true>;
|
|
3834
3834
|
}>;
|
|
3835
3835
|
/**
|
|
3836
3836
|
* Tracks GitHub App installations linked to tenants.
|
|
@@ -3933,7 +3933,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1831.PgTableWithCol
|
|
|
3933
3933
|
tableName: "work_app_github_installations";
|
|
3934
3934
|
dataType: "string";
|
|
3935
3935
|
columnType: "PgVarchar";
|
|
3936
|
-
data: "
|
|
3936
|
+
data: "Organization" | "User";
|
|
3937
3937
|
driverParam: string;
|
|
3938
3938
|
notNull: true;
|
|
3939
3939
|
hasDefault: false;
|
|
@@ -3946,7 +3946,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1831.PgTableWithCol
|
|
|
3946
3946
|
generated: undefined;
|
|
3947
3947
|
}, {}, {
|
|
3948
3948
|
length: 20;
|
|
3949
|
-
$type: "
|
|
3949
|
+
$type: "Organization" | "User";
|
|
3950
3950
|
}>;
|
|
3951
3951
|
status: drizzle_orm_pg_core1831.PgColumn<{
|
|
3952
3952
|
name: "status";
|
|
@@ -4662,19 +4662,19 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1831.PgTableWit
|
|
|
4662
4662
|
};
|
|
4663
4663
|
dialect: "pg";
|
|
4664
4664
|
}>;
|
|
4665
|
-
declare const workAppGitHubInstallationsRelations:
|
|
4666
|
-
repositories:
|
|
4665
|
+
declare const workAppGitHubInstallationsRelations: drizzle_orm115.Relations<"work_app_github_installations", {
|
|
4666
|
+
repositories: drizzle_orm115.Many<"work_app_github_repositories">;
|
|
4667
4667
|
}>;
|
|
4668
|
-
declare const workAppGitHubRepositoriesRelations:
|
|
4669
|
-
installation:
|
|
4670
|
-
projectAccess:
|
|
4671
|
-
mcpToolAccess:
|
|
4668
|
+
declare const workAppGitHubRepositoriesRelations: drizzle_orm115.Relations<"work_app_github_repositories", {
|
|
4669
|
+
installation: drizzle_orm115.One<"work_app_github_installations", true>;
|
|
4670
|
+
projectAccess: drizzle_orm115.Many<"work_app_github_project_repository_access">;
|
|
4671
|
+
mcpToolAccess: drizzle_orm115.Many<"work_app_github_mcp_tool_repository_access">;
|
|
4672
4672
|
}>;
|
|
4673
|
-
declare const workAppGitHubProjectRepositoryAccessRelations:
|
|
4674
|
-
repository:
|
|
4673
|
+
declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm115.Relations<"work_app_github_project_repository_access", {
|
|
4674
|
+
repository: drizzle_orm115.One<"work_app_github_repositories", true>;
|
|
4675
4675
|
}>;
|
|
4676
|
-
declare const workAppGitHubMcpToolRepositoryAccessRelations:
|
|
4677
|
-
repository:
|
|
4676
|
+
declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm115.Relations<"work_app_github_mcp_tool_repository_access", {
|
|
4677
|
+
repository: drizzle_orm115.One<"work_app_github_repositories", true>;
|
|
4678
4678
|
}>;
|
|
4679
4679
|
//#endregion
|
|
4680
4680
|
export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, runtime_schema_d_exports, scheduledTriggerInvocations, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackUserMappings, workAppSlackWorkspaces };
|