@inkeep/agents-core 0.0.0-dev-20251209035832 → 0.0.0-dev-20251211233416
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.d.ts +3 -3
- package/dist/{chunk-6CYQZ5KX.js → chunk-AUGHKZEB.js} +41 -1
- package/dist/{chunk-AM6VNTQR.js → chunk-CWAFZVRI.js} +1 -1
- package/dist/{chunk-DW4KGORH.js → chunk-DW4DNYUS.js} +1 -1
- package/dist/{chunk-V6TJNM2W.js → chunk-LH6OJIIM.js} +24 -9
- package/dist/{chunk-LPIBTNPD.js → chunk-UK63CULA.js} +3 -12
- package/dist/{client--LyweMGD.d.ts → client-DG_xZdlN.d.ts} +1 -1
- package/dist/client-exports.d.ts +7 -2
- package/dist/client-exports.js +8 -3
- package/dist/credential-stores/index.d.ts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +1 -1
- package/dist/db/test-client.d.ts +3 -3
- package/dist/db/test-client.js +1 -1
- package/dist/index.d.ts +32 -18
- package/dist/index.js +67 -52
- package/dist/{schema-hzuVg3gd.d.ts → schema-DA6PfmoP.d.ts} +77 -1
- package/dist/{server-5tTh7AW3.d.ts → server-BviIeoo5.d.ts} +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-DWCVEJIN.d.ts → utility-dsfXkYTu.d.ts} +775 -125
- package/dist/utils/schema-conversion.d.ts +11 -1
- package/dist/utils/schema-conversion.js +1 -1
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/drizzle/0005_reflective_starfox.sql +9 -0
- package/drizzle/meta/0005_snapshot.json +3693 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +1 -1
package/dist/auth/auth.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ import * as zod from 'zod';
|
|
|
4
4
|
import * as better_auth from 'better-auth';
|
|
5
5
|
import { BetterAuthAdvancedOptions } from 'better-auth';
|
|
6
6
|
import { GoogleOptions } from 'better-auth/social-providers';
|
|
7
|
-
import { D as DatabaseClient } from '../client
|
|
7
|
+
import { D as DatabaseClient } from '../client-DG_xZdlN.js';
|
|
8
8
|
import 'drizzle-orm/node-postgres';
|
|
9
9
|
import 'drizzle-orm/pglite';
|
|
10
|
-
import '../schema-
|
|
10
|
+
import '../schema-DA6PfmoP.js';
|
|
11
11
|
import 'drizzle-orm';
|
|
12
12
|
import 'drizzle-orm/pg-core';
|
|
13
|
-
import '../utility-
|
|
13
|
+
import '../utility-dsfXkYTu.js';
|
|
14
14
|
import '@hono/zod-openapi';
|
|
15
15
|
import 'drizzle-zod';
|
|
16
16
|
import './auth-schema.js';
|
|
@@ -2,6 +2,46 @@ import { getLogger } from './chunk-DN4B564Y.js';
|
|
|
2
2
|
import { z } from '@hono/zod-openapi';
|
|
3
3
|
|
|
4
4
|
var logger = getLogger("schema-conversion");
|
|
5
|
+
function jsonSchemaToZod(jsonSchema) {
|
|
6
|
+
if (!jsonSchema || typeof jsonSchema !== "object") {
|
|
7
|
+
logger.warn({ jsonSchema }, "Invalid JSON schema provided, using string fallback");
|
|
8
|
+
return z.string();
|
|
9
|
+
}
|
|
10
|
+
const schemaType = jsonSchema.type;
|
|
11
|
+
switch (schemaType) {
|
|
12
|
+
case "object": {
|
|
13
|
+
const properties = jsonSchema.properties;
|
|
14
|
+
if (properties && typeof properties === "object") {
|
|
15
|
+
const shape = {};
|
|
16
|
+
for (const [key, prop] of Object.entries(properties)) {
|
|
17
|
+
shape[key] = jsonSchemaToZod(prop);
|
|
18
|
+
}
|
|
19
|
+
return z.object(shape);
|
|
20
|
+
}
|
|
21
|
+
return z.record(z.string(), z.string());
|
|
22
|
+
}
|
|
23
|
+
case "array": {
|
|
24
|
+
const items = jsonSchema.items;
|
|
25
|
+
const itemSchema = items ? jsonSchemaToZod(items) : z.string();
|
|
26
|
+
return z.array(itemSchema);
|
|
27
|
+
}
|
|
28
|
+
case "string":
|
|
29
|
+
return z.string();
|
|
30
|
+
case "number":
|
|
31
|
+
case "integer":
|
|
32
|
+
return z.number();
|
|
33
|
+
case "boolean":
|
|
34
|
+
return z.boolean();
|
|
35
|
+
case "null":
|
|
36
|
+
return z.null();
|
|
37
|
+
default:
|
|
38
|
+
logger.warn(
|
|
39
|
+
{ unsupportedType: schemaType, schema: jsonSchema },
|
|
40
|
+
"Unsupported JSON schema type, using string fallback"
|
|
41
|
+
);
|
|
42
|
+
return z.string();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
5
45
|
function convertZodToJsonSchema(zodSchema) {
|
|
6
46
|
try {
|
|
7
47
|
const jsonSchema = z.toJSONSchema(zodSchema);
|
|
@@ -60,4 +100,4 @@ function extractPreviewFields(schema) {
|
|
|
60
100
|
return previewFields;
|
|
61
101
|
}
|
|
62
102
|
|
|
63
|
-
export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview };
|
|
103
|
+
export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, jsonSchemaToZod, preview };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-
|
|
1
|
+
import { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-UK63CULA.js';
|
|
2
2
|
import { z } from '@hono/zod-openapi';
|
|
3
3
|
|
|
4
4
|
// src/validation/cycleDetection.ts
|
|
@@ -236,14 +236,10 @@ var externalAgents = pgTable(
|
|
|
236
236
|
name: "external_agents_project_fk"
|
|
237
237
|
}).onDelete("cascade"),
|
|
238
238
|
foreignKey({
|
|
239
|
-
columns: [table.
|
|
240
|
-
foreignColumns: [
|
|
241
|
-
credentialReferences.tenantId,
|
|
242
|
-
credentialReferences.projectId,
|
|
243
|
-
credentialReferences.id
|
|
244
|
-
],
|
|
239
|
+
columns: [table.credentialReferenceId],
|
|
240
|
+
foreignColumns: [credentialReferences.id],
|
|
245
241
|
name: "external_agents_credential_reference_fk"
|
|
246
|
-
}).onDelete("
|
|
242
|
+
}).onDelete("set null")
|
|
247
243
|
]
|
|
248
244
|
);
|
|
249
245
|
var tasks = pgTable(
|
|
@@ -373,6 +369,8 @@ var tools = pgTable(
|
|
|
373
369
|
description: text("description"),
|
|
374
370
|
config: jsonb("config").$type().notNull(),
|
|
375
371
|
credentialReferenceId: varchar("credential_reference_id", { length: 256 }),
|
|
372
|
+
credentialScope: varchar("credential_scope", { length: 50 }).notNull().default("project"),
|
|
373
|
+
// 'project' | 'user'
|
|
376
374
|
headers: jsonb("headers").$type(),
|
|
377
375
|
imageUrl: text("image_url"),
|
|
378
376
|
capabilities: jsonb("capabilities").$type(),
|
|
@@ -385,7 +383,12 @@ var tools = pgTable(
|
|
|
385
383
|
columns: [table.tenantId, table.projectId],
|
|
386
384
|
foreignColumns: [projects.tenantId, projects.id],
|
|
387
385
|
name: "tools_project_fk"
|
|
388
|
-
}).onDelete("cascade")
|
|
386
|
+
}).onDelete("cascade"),
|
|
387
|
+
foreignKey({
|
|
388
|
+
columns: [table.credentialReferenceId],
|
|
389
|
+
foreignColumns: [credentialReferences.id],
|
|
390
|
+
name: "tools_credential_reference_fk"
|
|
391
|
+
}).onDelete("set null")
|
|
389
392
|
]
|
|
390
393
|
);
|
|
391
394
|
var functionTools = pgTable(
|
|
@@ -651,6 +654,13 @@ var credentialReferences = pgTable(
|
|
|
651
654
|
type: varchar("type", { length: 256 }).notNull(),
|
|
652
655
|
credentialStoreId: varchar("credential_store_id", { length: 256 }).notNull(),
|
|
653
656
|
retrievalParams: jsonb("retrieval_params").$type(),
|
|
657
|
+
// For user-scoped credentials
|
|
658
|
+
toolId: varchar("tool_id", { length: 256 }),
|
|
659
|
+
// Links to the tool this credential is for
|
|
660
|
+
userId: varchar("user_id", { length: 256 }),
|
|
661
|
+
// User who owns this credential (null = project-scoped)
|
|
662
|
+
createdBy: varchar("created_by", { length: 256 }),
|
|
663
|
+
// User who created this credential
|
|
654
664
|
...timestamps
|
|
655
665
|
},
|
|
656
666
|
(t) => [
|
|
@@ -659,7 +669,12 @@ var credentialReferences = pgTable(
|
|
|
659
669
|
columns: [t.tenantId, t.projectId],
|
|
660
670
|
foreignColumns: [projects.tenantId, projects.id],
|
|
661
671
|
name: "credential_references_project_fk"
|
|
662
|
-
}).onDelete("cascade")
|
|
672
|
+
}).onDelete("cascade"),
|
|
673
|
+
// Unique constraint on id alone to support simple FK references
|
|
674
|
+
// (id is globally unique via nanoid generation)
|
|
675
|
+
unique("credential_references_id_unique").on(t.id),
|
|
676
|
+
// One credential per user per tool (for user-scoped credentials)
|
|
677
|
+
unique("credential_references_tool_user_unique").on(t.toolId, t.userId)
|
|
663
678
|
]
|
|
664
679
|
);
|
|
665
680
|
var tasksRelations = relations(tasks, ({ one, many }) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { subAgents, subAgentRelations, agents, tasks, taskRelations, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, tools, functionTools, functions, contextConfigs, subAgentToolRelations, subAgentExternalAgentRelations, subAgentTeamAgentRelations, ledgerArtifacts, projects } from './chunk-
|
|
1
|
+
import { subAgents, subAgentRelations, agents, tasks, taskRelations, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, tools, functionTools, functions, contextConfigs, subAgentToolRelations, subAgentExternalAgentRelations, subAgentTeamAgentRelations, ledgerArtifacts, projects } from './chunk-LH6OJIIM.js';
|
|
2
2
|
import { schemaValidationDefaults } from './chunk-Z64UK4CA.js';
|
|
3
3
|
import { VALID_RELATION_TYPES, MCPTransportType, TOOL_STATUS_VALUES, CredentialStoreType, MCPServerType } from './chunk-YFHT5M2R.js';
|
|
4
4
|
import { z } from '@hono/zod-openapi';
|
|
@@ -508,17 +508,7 @@ var ApiKeyApiInsertSchema = ApiKeyInsertSchema.omit({
|
|
|
508
508
|
// Not set on creation
|
|
509
509
|
}).openapi("ApiKeyCreate");
|
|
510
510
|
var ApiKeyApiUpdateSchema = ApiKeyUpdateSchema.openapi("ApiKeyUpdate");
|
|
511
|
-
var CredentialReferenceSelectSchema =
|
|
512
|
-
id: z.string(),
|
|
513
|
-
tenantId: z.string(),
|
|
514
|
-
projectId: z.string(),
|
|
515
|
-
name: z.string(),
|
|
516
|
-
type: z.string(),
|
|
517
|
-
credentialStoreId: z.string(),
|
|
518
|
-
retrievalParams: z.record(z.string(), z.unknown()).nullish(),
|
|
519
|
-
createdAt: z.string(),
|
|
520
|
-
updatedAt: z.string()
|
|
521
|
-
});
|
|
511
|
+
var CredentialReferenceSelectSchema = createSelectSchema(credentialReferences);
|
|
522
512
|
var CredentialReferenceInsertSchema = createInsertSchema(credentialReferences).extend({
|
|
523
513
|
id: resourceIdSchema,
|
|
524
514
|
type: z.string(),
|
|
@@ -588,6 +578,7 @@ var McpToolSchema = ToolInsertSchema.extend({
|
|
|
588
578
|
status: ToolStatusSchema.default("unknown"),
|
|
589
579
|
version: z.string().optional(),
|
|
590
580
|
expiresAt: z.string().optional(),
|
|
581
|
+
createdBy: z.string().optional(),
|
|
591
582
|
relationshipId: z.string().optional()
|
|
592
583
|
}).openapi("McpTool");
|
|
593
584
|
var MCPToolConfigSchema = McpToolSchema.omit({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NodePgDatabase } from 'drizzle-orm/node-postgres';
|
|
2
2
|
import { PgliteDatabase } from 'drizzle-orm/pglite';
|
|
3
|
-
import { s as schema } from './schema-
|
|
3
|
+
import { s as schema } from './schema-DA6PfmoP.js';
|
|
4
4
|
|
|
5
5
|
type DatabaseClient = NodePgDatabase<typeof schema> | PgliteDatabase<typeof schema>;
|
|
6
6
|
interface DatabaseConfig {
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired } from './auth-detection-7G0Dxt55.js';
|
|
2
2
|
import { z } from '@hono/zod-openapi';
|
|
3
|
-
import { a as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, g as FullAgentAgentInsertSchema } from './utility-
|
|
4
|
-
export { k as AgentStopWhen, h as AgentStopWhenSchema, f as CredentialStoreType, p as FunctionApiSelectSchema, q as FunctionApiUpdateSchema, o as MCPTransportType, n as ModelSettings, m as ModelSettingsSchema, j as StopWhen, S as StopWhenSchema, l as SubAgentStopWhen, i as SubAgentStopWhenSchema } from './utility-
|
|
3
|
+
import { a as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, g as FullAgentAgentInsertSchema } from './utility-dsfXkYTu.js';
|
|
4
|
+
export { k as AgentStopWhen, h as AgentStopWhenSchema, f as CredentialStoreType, p as FunctionApiSelectSchema, q as FunctionApiUpdateSchema, o as MCPTransportType, n as ModelSettings, m as ModelSettingsSchema, j as StopWhen, S as StopWhenSchema, l as SubAgentStopWhen, i as SubAgentStopWhenSchema } from './utility-dsfXkYTu.js';
|
|
5
5
|
export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.js';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import 'drizzle-zod';
|
|
@@ -123,6 +123,11 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
|
|
|
123
123
|
}>;
|
|
124
124
|
credentialStoreId: z.ZodString;
|
|
125
125
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
126
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
127
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
128
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
|
+
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
130
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
131
|
}, z.core.$strip>;
|
|
127
132
|
declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
128
133
|
id: z.ZodString;
|
package/dist/client-exports.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE } from './chunk-MQMMFK2K.js';
|
|
2
|
-
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-
|
|
3
|
-
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-
|
|
2
|
+
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-UK63CULA.js';
|
|
3
|
+
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-UK63CULA.js';
|
|
4
4
|
import { schemaValidationDefaults } from './chunk-Z64UK4CA.js';
|
|
5
5
|
export { detectAuthenticationRequired } from './chunk-4JZT4QEE.js';
|
|
6
6
|
export { DEFAULT_NANGO_STORE_ID } from './chunk-3OPS2LN5.js';
|
|
@@ -94,7 +94,12 @@ var CredentialReferenceApiInsertSchema = z.object({
|
|
|
94
94
|
name: z.string(),
|
|
95
95
|
type: z.enum(CredentialStoreType),
|
|
96
96
|
credentialStoreId: z.string(),
|
|
97
|
-
retrievalParams: z.record(z.string(), z.unknown()).nullish()
|
|
97
|
+
retrievalParams: z.record(z.string(), z.unknown()).nullish(),
|
|
98
|
+
createdAt: z.string().optional(),
|
|
99
|
+
updatedAt: z.string().optional(),
|
|
100
|
+
userId: z.string().nullish(),
|
|
101
|
+
toolId: z.string().nullish(),
|
|
102
|
+
createdBy: z.string().nullish()
|
|
98
103
|
});
|
|
99
104
|
var DataComponentApiInsertSchema = z.object({
|
|
100
105
|
id: z.string(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CredentialStore } from '../server-
|
|
1
|
+
import { C as CredentialStore } from '../server-BviIeoo5.js';
|
|
2
2
|
import 'hono';
|
|
3
|
-
import '../utility-
|
|
3
|
+
import '../utility-dsfXkYTu.js';
|
|
4
4
|
import '@hono/zod-openapi';
|
|
5
5
|
import 'drizzle-zod';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'drizzle-orm';
|
|
2
2
|
import 'drizzle-orm/pg-core';
|
|
3
|
-
import '../utility-
|
|
3
|
+
import '../utility-dsfXkYTu.js';
|
|
4
4
|
export { account, invitation, member, organization, session, ssoProvider, user, verification } from '../auth/auth-schema.js';
|
|
5
|
-
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from '../schema-
|
|
5
|
+
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from '../schema-DA6PfmoP.js';
|
|
6
6
|
import '@hono/zod-openapi';
|
|
7
7
|
import 'drizzle-zod';
|
package/dist/db/schema.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { agentRelations, agentToolRelationsRelations, agents, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentExternalAgentRelations, subAgentExternalAgentRelationsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentTeamAgentRelations, subAgentTeamAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-
|
|
1
|
+
export { agentRelations, agentToolRelationsRelations, agents, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentExternalAgentRelations, subAgentExternalAgentRelationsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentTeamAgentRelations, subAgentTeamAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-LH6OJIIM.js';
|
|
2
2
|
export { account, invitation, member, organization, session, ssoProvider, user, verification } from '../chunk-GENLXHZ4.js';
|
package/dist/db/test-client.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { D as DatabaseClient } from '../client
|
|
1
|
+
import { D as DatabaseClient } from '../client-DG_xZdlN.js';
|
|
2
2
|
import 'drizzle-orm/node-postgres';
|
|
3
3
|
import 'drizzle-orm/pglite';
|
|
4
|
-
import '../schema-
|
|
4
|
+
import '../schema-DA6PfmoP.js';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
|
7
|
-
import '../utility-
|
|
7
|
+
import '../utility-dsfXkYTu.js';
|
|
8
8
|
import '@hono/zod-openapi';
|
|
9
9
|
import 'drizzle-zod';
|
|
10
10
|
import '../auth/auth-schema.js';
|
package/dist/db/test-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from '../chunk-
|
|
1
|
+
export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from '../chunk-DW4DNYUS.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,26 +3,26 @@ import { r as PinoLogger, s as getLogger } from './auth-detection-7G0Dxt55.js';
|
|
|
3
3
|
export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, L as LoggerFactoryConfig, M as McpOAuthFlowResult, u as McpTokenExchangeResult, t as OAuthConfig, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, x as PinoLoggerConfig, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired, w as exchangeMcpAuthorizationCode, v as initiateMcpOAuthFlow, y as loggerFactory } from './auth-detection-7G0Dxt55.js';
|
|
4
4
|
export { AGENT_EXECUTION_TRANSFER_COUNT_DEFAULT, AGENT_EXECUTION_TRANSFER_COUNT_MAX, AGENT_EXECUTION_TRANSFER_COUNT_MIN, CONTEXT_FETCHER_HTTP_TIMEOUT_MS_DEFAULT, STATUS_UPDATE_MAX_INTERVAL_SECONDS, STATUS_UPDATE_MAX_NUM_EVENTS, SUB_AGENT_TURN_GENERATION_STEPS_DEFAULT, SUB_AGENT_TURN_GENERATION_STEPS_MAX, SUB_AGENT_TURN_GENERATION_STEPS_MIN, VALIDATION_AGENT_PROMPT_MAX_CHARS, VALIDATION_SUB_AGENT_PROMPT_MAX_CHARS, schemaValidationDefaults } from './constants/schema-validation/index.js';
|
|
5
5
|
import { z } from '@hono/zod-openapi';
|
|
6
|
-
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, C as ContextFetchDefinition, o as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, a as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, d as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, e as MessageMetadata, M as MessageContent, ab as MessageVisibility, ac as MessageInsert, ad as MessageUpdate, ae as FullProjectDefinition, af as ProjectInfo, ag as ProjectSelect, ah as PaginationResult, ai as ProjectResourceCounts, aj as ProjectInsert, ak as ProjectUpdate, al as SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, b as ToolMcpConfig, c as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, f as CredentialStoreType, ay as ExecutionContext, az as MessageSelect, n as ModelSettings, aA as PrebuiltMCPServerSchema } from './utility-
|
|
7
|
-
export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, e4 as AgentApiInsertSchema, bW as AgentApiSelect, e3 as AgentApiSelectSchema, bY as AgentApiUpdate, e5 as AgentApiUpdateSchema, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, e1 as AgentInsertSchema, gO as AgentListResponse, aK as AgentProvider, gy as AgentResponse, e0 as AgentSelectSchema, aL as AgentSkill, k as AgentStopWhen, h as AgentStopWhenSchema, e2 as AgentUpdateSchema, h5 as AgentWithinContextOfProjectResponse, gi as AgentWithinContextOfProjectSchema, f8 as AllAgentSchema, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, fd as ApiKeyApiCreationResponseSchema, cS as ApiKeyApiInsert, fe as ApiKeyApiInsertSchema, cR as ApiKeyApiSelect, fc as ApiKeyApiSelectSchema, cT as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fa as ApiKeyInsertSchema, gS as ApiKeyListResponse, gC as ApiKeyResponse, f9 as ApiKeySelectSchema, fb as ApiKeyUpdateSchema, cF as ArtifactComponentApiInsert, eW as ArtifactComponentApiInsertSchema, cE as ArtifactComponentApiSelect, eV as ArtifactComponentApiSelectSchema, cG as ArtifactComponentApiUpdate, eX as ArtifactComponentApiUpdateSchema, hf as ArtifactComponentArrayResponse, eT as ArtifactComponentInsertSchema, gX as ArtifactComponentListResponse, gH as ArtifactComponentResponse, eS as ArtifactComponentSelectSchema, eU as ArtifactComponentUpdateSchema, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, ge as CanUseItemSchema, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, h7 as ComponentAssociationListResponse, fq as ComponentAssociationSchema, ba as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, eD as ContextCacheApiInsertSchema, cs as ContextCacheApiSelect, eC as ContextCacheApiSelectSchema, cu as ContextCacheApiUpdate, eE as ContextCacheApiUpdateSchema, dz as ContextCacheEntry, eA as ContextCacheInsertSchema, ez as ContextCacheSelectSchema, cr as ContextCacheUpdate, eB as ContextCacheUpdateSchema, cn as ContextConfigApiInsert, fO as ContextConfigApiInsertSchema, cm as ContextConfigApiSelect, fN as ContextConfigApiSelectSchema, co as ContextConfigApiUpdate, fP as ContextConfigApiUpdateSchema, fL as ContextConfigInsertSchema, gR as ContextConfigListResponse, gB as ContextConfigResponse, fK as ContextConfigSelectSchema, fM as ContextConfigUpdateSchema, ch as ConversationApiInsert, er as ConversationApiInsertSchema, cg as ConversationApiSelect, eq as ConversationApiSelectSchema, ci as ConversationApiUpdate, es as ConversationApiUpdateSchema, eo as ConversationInsertSchema, g_ as ConversationListResponse, gK as ConversationResponse, dx as ConversationScopeOptions, en as ConversationSelectSchema, ep as ConversationUpdateSchema, fn as CreateCredentialInStoreRequestSchema, fo as CreateCredentialInStoreResponseSchema, fj as CredentialReferenceApiInsertSchema, cV as CredentialReferenceApiSelect, fi as CredentialReferenceApiSelectSchema, cW as CredentialReferenceApiUpdate, fk as CredentialReferenceApiUpdateSchema, fg as CredentialReferenceInsertSchema, gT as CredentialReferenceListResponse, gD as CredentialReferenceResponse, ff as CredentialReferenceSelectSchema, fh as CredentialReferenceUpdateSchema, fm as CredentialStoreListResponseSchema, fl as CredentialStoreSchema, cw as DataComponentApiInsert, eK as DataComponentApiInsertSchema, cv as DataComponentApiSelect, eJ as DataComponentApiSelectSchema, cx as DataComponentApiUpdate, eL as DataComponentApiUpdateSchema, he as DataComponentArrayResponse, eH as DataComponentBaseSchema, eG as DataComponentInsertSchema, gW as DataComponentListResponse, gG as DataComponentResponse, eF as DataComponentSelectSchema, eI as DataComponentUpdateSchema, aH as DataPart, gm as ErrorResponseSchema, gn as ExistsResponseSchema, cO as ExternalAgentApiInsert, f6 as ExternalAgentApiInsertSchema, cN as ExternalAgentApiSelect, f5 as ExternalAgentApiSelectSchema, cP as ExternalAgentApiUpdate, f7 as ExternalAgentApiUpdateSchema, f3 as ExternalAgentInsertSchema, gQ as ExternalAgentListResponse, gA as ExternalAgentResponse, f2 as ExternalAgentSelectSchema, f4 as ExternalAgentUpdateSchema, bV as ExternalSubAgentRelationApiInsert, d$ as ExternalSubAgentRelationApiInsertSchema, bU as ExternalSubAgentRelationInsert, d_ as ExternalSubAgentRelationInsertSchema, cq as FetchConfig, fI as FetchConfigSchema, cp as FetchDefinition, fJ as FetchDefinitionSchema, aD as FileBase, aG as FilePart, aE as FileWithBytes, aF as FileWithUri, dI as Filter, df as FullAgentAgentInsert, g as FullAgentAgentInsertSchema, h4 as FullProjectDefinitionResponse, gv as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cd as FunctionApiSelect, p as FunctionApiSelectSchema, ce as FunctionApiUpdate, q as FunctionApiUpdateSchema, cb as FunctionInsert, fG as FunctionInsertSchema, gU as FunctionListResponse, gE as FunctionResponse, ca as FunctionSelect, fF as FunctionSelectSchema, fD as FunctionToolApiInsertSchema, cf as FunctionToolApiSelect, fC as FunctionToolApiSelectSchema, fE as FunctionToolApiUpdateSchema, dM as FunctionToolConfig, dL as FunctionToolConfigSchema, fA as FunctionToolInsertSchema, gV as FunctionToolListResponse, gF as FunctionToolResponse, fz as FunctionToolSelectSchema, fB as FunctionToolUpdateSchema, cc as FunctionUpdate, fH as FunctionUpdateSchema, bu as GetTaskPushNotificationConfigRequest, bH as GetTaskPushNotificationConfigResponse, bG as GetTaskPushNotificationConfigSuccessResponse, br as GetTaskRequest, bB as GetTaskResponse, bA as GetTaskSuccessResponse, aO as HTTPAuthSecurityScheme, hg as HeadersScopeSchema, aS as ImplicitOAuthFlow, b5 as InternalError, bb as InvalidAgentResponseError, b4 as InvalidParamsError, b2 as InvalidRequestError, b1 as JSONParseError, bm as JSONRPCError, bo as JSONRPCErrorResponse, bk as JSONRPCMessage, bl as JSONRPCRequest, bn as JSONRPCResult, dd as LedgerArtifactApiInsert, ga as LedgerArtifactApiInsertSchema, dc as LedgerArtifactApiSelect, g9 as LedgerArtifactApiSelectSchema, de as LedgerArtifactApiUpdate, gb as LedgerArtifactApiUpdateSchema, da as LedgerArtifactInsert, g7 as LedgerArtifactInsertSchema, g6 as LedgerArtifactSelectSchema, db as LedgerArtifactUpdate, g8 as LedgerArtifactUpdateSchema, gk as ListResponseSchema, hq as MCPCatalogListResponse, dH as MCPServerType, fu as MCPToolConfigSchema, dA as McpAuthType, dB as McpServerAuth, dD as McpServerCapabilities, dE as McpToolDefinition, ek as McpToolDefinitionSchema, h9 as McpToolListResponse, h8 as McpToolResponse, ft as McpToolSchema, dC as McpTransportConfig, ei as McpTransportConfigSchema, aY as Message, ck as MessageApiInsert, ex as MessageApiInsertSchema, cj as MessageApiSelect, ew as MessageApiSelectSchema, cl as MessageApiUpdate, ey as MessageApiUpdateSchema, eu as MessageInsertSchema, g$ as MessageListResponse, ds as MessageMode, bK as MessagePart, gL as MessageResponse, dr as MessageRole, et as MessageSelectSchema, bi as MessageSendConfiguration, bj as MessageSendParams, dq as MessageType, ev as MessageUpdateSchema, b3 as MethodNotFoundError, dJ as ModelSchema, m as ModelSettingsSchema, dt as Models, aU as OAuth2SecurityScheme, fs as OAuthCallbackQuerySchema, aP as OAuthFlows, fr as OAuthLoginQuerySchema, aV as OpenIdConnectSecurityScheme, dn as Pagination, hp as PaginationQueryParamsSchema, gj as PaginationSchema, P as Part, aB as PartBase, aT as PasswordOAuthFlow, dl as ProjectApiInsert, gt as ProjectApiInsertSchema, dk as ProjectApiSelect, gs as ProjectApiSelectSchema, dm as ProjectApiUpdate, gu as ProjectApiUpdateSchema, gq as ProjectInsertSchema, gM as ProjectListResponse, dK as ProjectModelSchema, du as ProjectModels, gw as ProjectResponse, gp as ProjectSelectSchema, gr as ProjectUpdateSchema, bd as PushNotificationAuthenticationInfo, be as PushNotificationConfig, b8 as PushNotificationNotSupportedError, h6 as RelatedAgentInfoListResponse, fp as RelatedAgentInfoSchema, go as RemovedResponseSchema, aW as SecurityScheme, aM as SecuritySchemeBase, bp as SendMessageRequest, bx as SendMessageResponse, bw as SendMessageSuccessResponse, bq as SendStreamingMessageRequest, bz as SendStreamingMessageResponse, by as SendStreamingMessageSuccessResponse, bt as SetTaskPushNotificationConfigRequest, bF as SetTaskPushNotificationConfigResponse, bE as SetTaskPushNotificationConfigSuccessResponse, gl as SingleResponseSchema, dw as StatusComponent, gc as StatusComponentSchema, gd as StatusUpdateSchema, dv as StatusUpdateSettings, j as StopWhen, S as StopWhenSchema, bN as SubAgentApiInsert, dR as SubAgentApiInsertSchema, bM as SubAgentApiSelect, dQ as SubAgentApiSelectSchema, bO as SubAgentApiUpdate, dS as SubAgentApiUpdateSchema, cL as SubAgentArtifactComponentApiInsert, f0 as SubAgentArtifactComponentApiInsertSchema, cK as SubAgentArtifactComponentApiSelect, e$ as SubAgentArtifactComponentApiSelectSchema, cM as SubAgentArtifactComponentApiUpdate, f1 as SubAgentArtifactComponentApiUpdateSchema, cI as SubAgentArtifactComponentInsert, eZ as SubAgentArtifactComponentInsertSchema, h3 as SubAgentArtifactComponentListResponse, h1 as SubAgentArtifactComponentResponse, cH as SubAgentArtifactComponentSelect, eY as SubAgentArtifactComponentSelectSchema, cJ as SubAgentArtifactComponentUpdate, e_ as SubAgentArtifactComponentUpdateSchema, cC as SubAgentDataComponentApiInsert, eQ as SubAgentDataComponentApiInsertSchema, cB as SubAgentDataComponentApiSelect, eP as SubAgentDataComponentApiSelectSchema, cD as SubAgentDataComponentApiUpdate, eR as SubAgentDataComponentApiUpdateSchema, cz as SubAgentDataComponentInsert, eN as SubAgentDataComponentInsertSchema, h2 as SubAgentDataComponentListResponse, h0 as SubAgentDataComponentResponse, cy as SubAgentDataComponentSelect, eM as SubAgentDataComponentSelectSchema, cA as SubAgentDataComponentUpdate, eO as SubAgentDataComponentUpdateSchema, di as SubAgentDefinition, d3 as SubAgentExternalAgentRelationApiInsert, f_ as SubAgentExternalAgentRelationApiInsertSchema, d2 as SubAgentExternalAgentRelationApiSelect, fZ as SubAgentExternalAgentRelationApiSelectSchema, d4 as SubAgentExternalAgentRelationApiUpdate, f$ as SubAgentExternalAgentRelationApiUpdateSchema, fX as SubAgentExternalAgentRelationInsertSchema, hd as SubAgentExternalAgentRelationListResponse, hc as SubAgentExternalAgentRelationResponse, d0 as SubAgentExternalAgentRelationSelect, fW as SubAgentExternalAgentRelationSelectSchema, d1 as SubAgentExternalAgentRelationUpdate, fY as SubAgentExternalAgentRelationUpdateSchema, dO as SubAgentInsertSchema, gN as SubAgentListResponse, bR as SubAgentRelationApiInsert, dX as SubAgentRelationApiInsertSchema, bQ as SubAgentRelationApiSelect, dW as SubAgentRelationApiSelectSchema, bS as SubAgentRelationApiUpdate, dY as SubAgentRelationApiUpdateSchema, dU as SubAgentRelationInsertSchema, gY as SubAgentRelationListResponse, bT as SubAgentRelationQuery, dZ as SubAgentRelationQuerySchema, gI as SubAgentRelationResponse, bP as SubAgentRelationSelect, dT as SubAgentRelationSelectSchema, dV as SubAgentRelationUpdateSchema, gx as SubAgentResponse, dN as SubAgentSelectSchema, l as SubAgentStopWhen, i as SubAgentStopWhenSchema, d8 as SubAgentTeamAgentRelationApiInsert, g4 as SubAgentTeamAgentRelationApiInsertSchema, d7 as SubAgentTeamAgentRelationApiSelect, g3 as SubAgentTeamAgentRelationApiSelectSchema, d9 as SubAgentTeamAgentRelationApiUpdate, g5 as SubAgentTeamAgentRelationApiUpdateSchema, g1 as SubAgentTeamAgentRelationInsertSchema, hb as SubAgentTeamAgentRelationListResponse, ha as SubAgentTeamAgentRelationResponse, d5 as SubAgentTeamAgentRelationSelect, g0 as SubAgentTeamAgentRelationSelectSchema, d6 as SubAgentTeamAgentRelationUpdate, g2 as SubAgentTeamAgentRelationUpdateSchema, c_ as SubAgentToolRelationApiInsert, fU as SubAgentToolRelationApiInsertSchema, cZ as SubAgentToolRelationApiSelect, fT as SubAgentToolRelationApiSelectSchema, c$ as SubAgentToolRelationApiUpdate, fV as SubAgentToolRelationApiUpdateSchema, cY as SubAgentToolRelationInsert, fR as SubAgentToolRelationInsertSchema, gZ as SubAgentToolRelationListResponse, gJ as SubAgentToolRelationResponse, cX as SubAgentToolRelationSelect, fQ as SubAgentToolRelationSelectSchema, fS as SubAgentToolRelationUpdateSchema, dP as SubAgentUpdateSchema, dp as SummaryEvent, dF as TOOL_STATUS_VALUES, a_ as Task, b$ as TaskApiInsert, ea as TaskApiInsertSchema, b_ as TaskApiSelect, e9 as TaskApiSelectSchema, c0 as TaskApiUpdate, eb as TaskApiUpdateSchema, bL as TaskArtifact, b0 as TaskArtifactUpdateEvent, bg as TaskIdParams, e7 as TaskInsertSchema, b7 as TaskNotCancelableError, b6 as TaskNotFoundError, bf as TaskPushNotificationConfig, bh as TaskQueryParams, c5 as TaskRelationApiInsert, eg as TaskRelationApiInsertSchema, c4 as TaskRelationApiSelect, ef as TaskRelationApiSelectSchema, c6 as TaskRelationApiUpdate, eh as TaskRelationApiUpdateSchema, c2 as TaskRelationInsert, ed as TaskRelationInsertSchema, c1 as TaskRelationSelect, ec as TaskRelationSelectSchema, c3 as TaskRelationUpdate, ee as TaskRelationUpdateSchema, bv as TaskResubscriptionRequest, e6 as TaskSelectSchema, aI as TaskState, aZ as TaskStatus, a$ as TaskStatusUpdateEvent, bZ as TaskUpdate, e8 as TaskUpdateSchema, gh as TeamAgentSchema, hi as TenantIdParamsSchema, hh as TenantParamsSchema, hm as TenantProjectAgentIdParamsSchema, hl as TenantProjectAgentParamsSchema, ho as TenantProjectAgentSubAgentIdParamsSchema, hn as TenantProjectAgentSubAgentParamsSchema, hk as TenantProjectIdParamsSchema, hj as TenantProjectParamsSchema, aC as TextPart, hr as ThirdPartyMCPServerResponse, c8 as ToolApiInsert, fx as ToolApiInsertSchema, c7 as ToolApiSelect, fw as ToolApiSelectSchema, c9 as ToolApiUpdate, fy as ToolApiUpdateSchema, dj as ToolDefinition, em as ToolInsertSchema, gP as ToolListResponse, gz as ToolResponse, el as ToolSelectSchema, ej as ToolStatusSchema, fv as ToolUpdateSchema, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES, gf as canDelegateToExternalAgentSchema, gg as canDelegateToTeamAgentSchema } from './utility-DWCVEJIN.js';
|
|
6
|
+
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, C as ContextFetchDefinition, o as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, a as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, d as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, e as MessageMetadata, M as MessageContent, ab as MessageVisibility, ac as MessageInsert, ad as MessageUpdate, ae as FullProjectDefinition, af as ProjectInfo, ag as ProjectSelect, ah as PaginationResult, ai as ProjectResourceCounts, aj as ProjectInsert, ak as ProjectUpdate, al as SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, b as ToolMcpConfig, c as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, f as CredentialStoreType, ay as ExecutionContext, az as MessageSelect, n as ModelSettings, aA as PrebuiltMCPServerSchema } from './utility-dsfXkYTu.js';
|
|
7
|
+
export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, e4 as AgentApiInsertSchema, bW as AgentApiSelect, e3 as AgentApiSelectSchema, bY as AgentApiUpdate, e5 as AgentApiUpdateSchema, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, e1 as AgentInsertSchema, gO as AgentListResponse, aK as AgentProvider, gy as AgentResponse, e0 as AgentSelectSchema, aL as AgentSkill, k as AgentStopWhen, h as AgentStopWhenSchema, e2 as AgentUpdateSchema, h5 as AgentWithinContextOfProjectResponse, gi as AgentWithinContextOfProjectSchema, f8 as AllAgentSchema, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, fd as ApiKeyApiCreationResponseSchema, cS as ApiKeyApiInsert, fe as ApiKeyApiInsertSchema, cR as ApiKeyApiSelect, fc as ApiKeyApiSelectSchema, cT as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fa as ApiKeyInsertSchema, gS as ApiKeyListResponse, gC as ApiKeyResponse, f9 as ApiKeySelectSchema, fb as ApiKeyUpdateSchema, cF as ArtifactComponentApiInsert, eW as ArtifactComponentApiInsertSchema, cE as ArtifactComponentApiSelect, eV as ArtifactComponentApiSelectSchema, cG as ArtifactComponentApiUpdate, eX as ArtifactComponentApiUpdateSchema, hf as ArtifactComponentArrayResponse, eT as ArtifactComponentInsertSchema, gX as ArtifactComponentListResponse, gH as ArtifactComponentResponse, eS as ArtifactComponentSelectSchema, eU as ArtifactComponentUpdateSchema, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, ge as CanUseItemSchema, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, h7 as ComponentAssociationListResponse, fq as ComponentAssociationSchema, ba as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, eD as ContextCacheApiInsertSchema, cs as ContextCacheApiSelect, eC as ContextCacheApiSelectSchema, cu as ContextCacheApiUpdate, eE as ContextCacheApiUpdateSchema, dz as ContextCacheEntry, eA as ContextCacheInsertSchema, ez as ContextCacheSelectSchema, cr as ContextCacheUpdate, eB as ContextCacheUpdateSchema, cn as ContextConfigApiInsert, fO as ContextConfigApiInsertSchema, cm as ContextConfigApiSelect, fN as ContextConfigApiSelectSchema, co as ContextConfigApiUpdate, fP as ContextConfigApiUpdateSchema, fL as ContextConfigInsertSchema, gR as ContextConfigListResponse, gB as ContextConfigResponse, fK as ContextConfigSelectSchema, fM as ContextConfigUpdateSchema, ch as ConversationApiInsert, er as ConversationApiInsertSchema, cg as ConversationApiSelect, eq as ConversationApiSelectSchema, ci as ConversationApiUpdate, es as ConversationApiUpdateSchema, eo as ConversationInsertSchema, g_ as ConversationListResponse, gK as ConversationResponse, dx as ConversationScopeOptions, en as ConversationSelectSchema, ep as ConversationUpdateSchema, fn as CreateCredentialInStoreRequestSchema, fo as CreateCredentialInStoreResponseSchema, fj as CredentialReferenceApiInsertSchema, cV as CredentialReferenceApiSelect, fi as CredentialReferenceApiSelectSchema, cW as CredentialReferenceApiUpdate, fk as CredentialReferenceApiUpdateSchema, fg as CredentialReferenceInsertSchema, gT as CredentialReferenceListResponse, gD as CredentialReferenceResponse, ff as CredentialReferenceSelectSchema, fh as CredentialReferenceUpdateSchema, fm as CredentialStoreListResponseSchema, fl as CredentialStoreSchema, cw as DataComponentApiInsert, eK as DataComponentApiInsertSchema, cv as DataComponentApiSelect, eJ as DataComponentApiSelectSchema, cx as DataComponentApiUpdate, eL as DataComponentApiUpdateSchema, he as DataComponentArrayResponse, eH as DataComponentBaseSchema, eG as DataComponentInsertSchema, gW as DataComponentListResponse, gG as DataComponentResponse, eF as DataComponentSelectSchema, eI as DataComponentUpdateSchema, aH as DataPart, gm as ErrorResponseSchema, gn as ExistsResponseSchema, cO as ExternalAgentApiInsert, f6 as ExternalAgentApiInsertSchema, cN as ExternalAgentApiSelect, f5 as ExternalAgentApiSelectSchema, cP as ExternalAgentApiUpdate, f7 as ExternalAgentApiUpdateSchema, f3 as ExternalAgentInsertSchema, gQ as ExternalAgentListResponse, gA as ExternalAgentResponse, f2 as ExternalAgentSelectSchema, f4 as ExternalAgentUpdateSchema, bV as ExternalSubAgentRelationApiInsert, d$ as ExternalSubAgentRelationApiInsertSchema, bU as ExternalSubAgentRelationInsert, d_ as ExternalSubAgentRelationInsertSchema, cq as FetchConfig, fI as FetchConfigSchema, cp as FetchDefinition, fJ as FetchDefinitionSchema, aD as FileBase, aG as FilePart, aE as FileWithBytes, aF as FileWithUri, dI as Filter, df as FullAgentAgentInsert, g as FullAgentAgentInsertSchema, h4 as FullProjectDefinitionResponse, gv as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cd as FunctionApiSelect, p as FunctionApiSelectSchema, ce as FunctionApiUpdate, q as FunctionApiUpdateSchema, cb as FunctionInsert, fG as FunctionInsertSchema, gU as FunctionListResponse, gE as FunctionResponse, ca as FunctionSelect, fF as FunctionSelectSchema, fD as FunctionToolApiInsertSchema, cf as FunctionToolApiSelect, fC as FunctionToolApiSelectSchema, fE as FunctionToolApiUpdateSchema, dM as FunctionToolConfig, dL as FunctionToolConfigSchema, fA as FunctionToolInsertSchema, gV as FunctionToolListResponse, gF as FunctionToolResponse, fz as FunctionToolSelectSchema, fB as FunctionToolUpdateSchema, cc as FunctionUpdate, fH as FunctionUpdateSchema, bu as GetTaskPushNotificationConfigRequest, bH as GetTaskPushNotificationConfigResponse, bG as GetTaskPushNotificationConfigSuccessResponse, br as GetTaskRequest, bB as GetTaskResponse, bA as GetTaskSuccessResponse, aO as HTTPAuthSecurityScheme, hg as HeadersScopeSchema, aS as ImplicitOAuthFlow, b5 as InternalError, bb as InvalidAgentResponseError, b4 as InvalidParamsError, b2 as InvalidRequestError, b1 as JSONParseError, bm as JSONRPCError, bo as JSONRPCErrorResponse, bk as JSONRPCMessage, bl as JSONRPCRequest, bn as JSONRPCResult, dd as LedgerArtifactApiInsert, ga as LedgerArtifactApiInsertSchema, dc as LedgerArtifactApiSelect, g9 as LedgerArtifactApiSelectSchema, de as LedgerArtifactApiUpdate, gb as LedgerArtifactApiUpdateSchema, da as LedgerArtifactInsert, g7 as LedgerArtifactInsertSchema, g6 as LedgerArtifactSelectSchema, db as LedgerArtifactUpdate, g8 as LedgerArtifactUpdateSchema, gk as ListResponseSchema, hq as MCPCatalogListResponse, dH as MCPServerType, fu as MCPToolConfigSchema, dA as McpAuthType, dB as McpServerAuth, dD as McpServerCapabilities, dE as McpToolDefinition, ek as McpToolDefinitionSchema, h9 as McpToolListResponse, h8 as McpToolResponse, ft as McpToolSchema, dC as McpTransportConfig, ei as McpTransportConfigSchema, aY as Message, ck as MessageApiInsert, ex as MessageApiInsertSchema, cj as MessageApiSelect, ew as MessageApiSelectSchema, cl as MessageApiUpdate, ey as MessageApiUpdateSchema, eu as MessageInsertSchema, g$ as MessageListResponse, ds as MessageMode, bK as MessagePart, gL as MessageResponse, dr as MessageRole, et as MessageSelectSchema, bi as MessageSendConfiguration, bj as MessageSendParams, dq as MessageType, ev as MessageUpdateSchema, b3 as MethodNotFoundError, dJ as ModelSchema, m as ModelSettingsSchema, dt as Models, aU as OAuth2SecurityScheme, fs as OAuthCallbackQuerySchema, aP as OAuthFlows, fr as OAuthLoginQuerySchema, aV as OpenIdConnectSecurityScheme, dn as Pagination, hp as PaginationQueryParamsSchema, gj as PaginationSchema, P as Part, aB as PartBase, aT as PasswordOAuthFlow, dl as ProjectApiInsert, gt as ProjectApiInsertSchema, dk as ProjectApiSelect, gs as ProjectApiSelectSchema, dm as ProjectApiUpdate, gu as ProjectApiUpdateSchema, gq as ProjectInsertSchema, gM as ProjectListResponse, dK as ProjectModelSchema, du as ProjectModels, gw as ProjectResponse, gp as ProjectSelectSchema, gr as ProjectUpdateSchema, bd as PushNotificationAuthenticationInfo, be as PushNotificationConfig, b8 as PushNotificationNotSupportedError, h6 as RelatedAgentInfoListResponse, fp as RelatedAgentInfoSchema, go as RemovedResponseSchema, aW as SecurityScheme, aM as SecuritySchemeBase, bp as SendMessageRequest, bx as SendMessageResponse, bw as SendMessageSuccessResponse, bq as SendStreamingMessageRequest, bz as SendStreamingMessageResponse, by as SendStreamingMessageSuccessResponse, bt as SetTaskPushNotificationConfigRequest, bF as SetTaskPushNotificationConfigResponse, bE as SetTaskPushNotificationConfigSuccessResponse, gl as SingleResponseSchema, dw as StatusComponent, gc as StatusComponentSchema, gd as StatusUpdateSchema, dv as StatusUpdateSettings, j as StopWhen, S as StopWhenSchema, bN as SubAgentApiInsert, dR as SubAgentApiInsertSchema, bM as SubAgentApiSelect, dQ as SubAgentApiSelectSchema, bO as SubAgentApiUpdate, dS as SubAgentApiUpdateSchema, cL as SubAgentArtifactComponentApiInsert, f0 as SubAgentArtifactComponentApiInsertSchema, cK as SubAgentArtifactComponentApiSelect, e$ as SubAgentArtifactComponentApiSelectSchema, cM as SubAgentArtifactComponentApiUpdate, f1 as SubAgentArtifactComponentApiUpdateSchema, cI as SubAgentArtifactComponentInsert, eZ as SubAgentArtifactComponentInsertSchema, h3 as SubAgentArtifactComponentListResponse, h1 as SubAgentArtifactComponentResponse, cH as SubAgentArtifactComponentSelect, eY as SubAgentArtifactComponentSelectSchema, cJ as SubAgentArtifactComponentUpdate, e_ as SubAgentArtifactComponentUpdateSchema, cC as SubAgentDataComponentApiInsert, eQ as SubAgentDataComponentApiInsertSchema, cB as SubAgentDataComponentApiSelect, eP as SubAgentDataComponentApiSelectSchema, cD as SubAgentDataComponentApiUpdate, eR as SubAgentDataComponentApiUpdateSchema, cz as SubAgentDataComponentInsert, eN as SubAgentDataComponentInsertSchema, h2 as SubAgentDataComponentListResponse, h0 as SubAgentDataComponentResponse, cy as SubAgentDataComponentSelect, eM as SubAgentDataComponentSelectSchema, cA as SubAgentDataComponentUpdate, eO as SubAgentDataComponentUpdateSchema, di as SubAgentDefinition, d3 as SubAgentExternalAgentRelationApiInsert, f_ as SubAgentExternalAgentRelationApiInsertSchema, d2 as SubAgentExternalAgentRelationApiSelect, fZ as SubAgentExternalAgentRelationApiSelectSchema, d4 as SubAgentExternalAgentRelationApiUpdate, f$ as SubAgentExternalAgentRelationApiUpdateSchema, fX as SubAgentExternalAgentRelationInsertSchema, hd as SubAgentExternalAgentRelationListResponse, hc as SubAgentExternalAgentRelationResponse, d0 as SubAgentExternalAgentRelationSelect, fW as SubAgentExternalAgentRelationSelectSchema, d1 as SubAgentExternalAgentRelationUpdate, fY as SubAgentExternalAgentRelationUpdateSchema, dO as SubAgentInsertSchema, gN as SubAgentListResponse, bR as SubAgentRelationApiInsert, dX as SubAgentRelationApiInsertSchema, bQ as SubAgentRelationApiSelect, dW as SubAgentRelationApiSelectSchema, bS as SubAgentRelationApiUpdate, dY as SubAgentRelationApiUpdateSchema, dU as SubAgentRelationInsertSchema, gY as SubAgentRelationListResponse, bT as SubAgentRelationQuery, dZ as SubAgentRelationQuerySchema, gI as SubAgentRelationResponse, bP as SubAgentRelationSelect, dT as SubAgentRelationSelectSchema, dV as SubAgentRelationUpdateSchema, gx as SubAgentResponse, dN as SubAgentSelectSchema, l as SubAgentStopWhen, i as SubAgentStopWhenSchema, d8 as SubAgentTeamAgentRelationApiInsert, g4 as SubAgentTeamAgentRelationApiInsertSchema, d7 as SubAgentTeamAgentRelationApiSelect, g3 as SubAgentTeamAgentRelationApiSelectSchema, d9 as SubAgentTeamAgentRelationApiUpdate, g5 as SubAgentTeamAgentRelationApiUpdateSchema, g1 as SubAgentTeamAgentRelationInsertSchema, hb as SubAgentTeamAgentRelationListResponse, ha as SubAgentTeamAgentRelationResponse, d5 as SubAgentTeamAgentRelationSelect, g0 as SubAgentTeamAgentRelationSelectSchema, d6 as SubAgentTeamAgentRelationUpdate, g2 as SubAgentTeamAgentRelationUpdateSchema, c_ as SubAgentToolRelationApiInsert, fU as SubAgentToolRelationApiInsertSchema, cZ as SubAgentToolRelationApiSelect, fT as SubAgentToolRelationApiSelectSchema, c$ as SubAgentToolRelationApiUpdate, fV as SubAgentToolRelationApiUpdateSchema, cY as SubAgentToolRelationInsert, fR as SubAgentToolRelationInsertSchema, gZ as SubAgentToolRelationListResponse, gJ as SubAgentToolRelationResponse, cX as SubAgentToolRelationSelect, fQ as SubAgentToolRelationSelectSchema, fS as SubAgentToolRelationUpdateSchema, dP as SubAgentUpdateSchema, dp as SummaryEvent, dF as TOOL_STATUS_VALUES, a_ as Task, b$ as TaskApiInsert, ea as TaskApiInsertSchema, b_ as TaskApiSelect, e9 as TaskApiSelectSchema, c0 as TaskApiUpdate, eb as TaskApiUpdateSchema, bL as TaskArtifact, b0 as TaskArtifactUpdateEvent, bg as TaskIdParams, e7 as TaskInsertSchema, b7 as TaskNotCancelableError, b6 as TaskNotFoundError, bf as TaskPushNotificationConfig, bh as TaskQueryParams, c5 as TaskRelationApiInsert, eg as TaskRelationApiInsertSchema, c4 as TaskRelationApiSelect, ef as TaskRelationApiSelectSchema, c6 as TaskRelationApiUpdate, eh as TaskRelationApiUpdateSchema, c2 as TaskRelationInsert, ed as TaskRelationInsertSchema, c1 as TaskRelationSelect, ec as TaskRelationSelectSchema, c3 as TaskRelationUpdate, ee as TaskRelationUpdateSchema, bv as TaskResubscriptionRequest, e6 as TaskSelectSchema, aI as TaskState, aZ as TaskStatus, a$ as TaskStatusUpdateEvent, bZ as TaskUpdate, e8 as TaskUpdateSchema, gh as TeamAgentSchema, hi as TenantIdParamsSchema, hh as TenantParamsSchema, hm as TenantProjectAgentIdParamsSchema, hl as TenantProjectAgentParamsSchema, ho as TenantProjectAgentSubAgentIdParamsSchema, hn as TenantProjectAgentSubAgentParamsSchema, hk as TenantProjectIdParamsSchema, hj as TenantProjectParamsSchema, aC as TextPart, hr as ThirdPartyMCPServerResponse, c8 as ToolApiInsert, fx as ToolApiInsertSchema, c7 as ToolApiSelect, fw as ToolApiSelectSchema, c9 as ToolApiUpdate, fy as ToolApiUpdateSchema, dj as ToolDefinition, em as ToolInsertSchema, gP as ToolListResponse, gz as ToolResponse, el as ToolSelectSchema, ej as ToolStatusSchema, fv as ToolUpdateSchema, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES, gf as canDelegateToExternalAgentSchema, gg as canDelegateToTeamAgentSchema } from './utility-dsfXkYTu.js';
|
|
8
8
|
import { CredentialStoreRegistry } from './credential-stores/index.js';
|
|
9
9
|
export { InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from './credential-stores/index.js';
|
|
10
|
-
import { D as DatabaseClient } from './client
|
|
11
|
-
export { a as DatabaseConfig, c as createDatabaseClient } from './client
|
|
10
|
+
import { D as DatabaseClient } from './client-DG_xZdlN.js';
|
|
11
|
+
export { a as DatabaseConfig, c as createDatabaseClient } from './client-DG_xZdlN.js';
|
|
12
12
|
import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
13
13
|
import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
14
14
|
import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
15
15
|
import { PgTable } from 'drizzle-orm/pg-core';
|
|
16
16
|
import { UserOrganization, User } from './auth/auth-validation-schemas.js';
|
|
17
|
-
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-
|
|
17
|
+
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-DA6PfmoP.js';
|
|
18
18
|
export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from './db/test-client.js';
|
|
19
19
|
import { ValidateFunction } from 'ajv';
|
|
20
20
|
import { Context, Next } from 'hono';
|
|
21
|
-
export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from './server-
|
|
21
|
+
export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from './server-BviIeoo5.js';
|
|
22
22
|
export { AgentMcpConfig, AgentMcpConfigInput, McpToolSelection, ToolPolicy, normalizeToolSelections } from './types/index.js';
|
|
23
23
|
import { HTTPException } from 'hono/http-exception';
|
|
24
24
|
import { LanguageModel } from 'ai';
|
|
25
|
-
export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from './utils/schema-conversion.js';
|
|
25
|
+
export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, jsonSchemaToZod, preview } from './utils/schema-conversion.js';
|
|
26
26
|
import { Span, Tracer } from '@opentelemetry/api';
|
|
27
27
|
export { A2AMessageMetadata, A2AMessageMetadataSchema, DataComponentStreamEvent, DataComponentStreamEventSchema, DataOperationDetails, DataOperationDetailsSchema, DataOperationEvent, DataOperationEventSchema, DataOperationStreamEvent, DataOperationStreamEventSchema, DataSummaryStreamEvent, DataSummaryStreamEventSchema, DelegationReturnedData, DelegationReturnedDataSchema, DelegationSentData, DelegationSentDataSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, RenderValidationResult, StreamErrorEvent, StreamErrorEventSchema, StreamEvent, StreamEventSchema, StreamFinishEvent, StreamFinishEventSchema, TextDeltaEvent, TextDeltaEventSchema, TextEndEvent, TextEndEventSchema, TextStartEvent, TextStartEventSchema, TransferData, TransferDataSchema, URL_SAFE_ID_PATTERN, generateIdFromName, isValidResourceId, resourceIdSchema, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from './validation/index.js';
|
|
28
28
|
export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.js';
|
|
@@ -1317,8 +1317,8 @@ declare const createConversation: (db: DatabaseClient) => (params: ConversationI
|
|
|
1317
1317
|
title: string | null;
|
|
1318
1318
|
createdAt: string;
|
|
1319
1319
|
updatedAt: string;
|
|
1320
|
-
metadata: ConversationMetadata | null;
|
|
1321
1320
|
userId: string | null;
|
|
1321
|
+
metadata: ConversationMetadata | null;
|
|
1322
1322
|
activeSubAgentId: string;
|
|
1323
1323
|
lastContextResolution: string | null;
|
|
1324
1324
|
}>;
|
|
@@ -1368,8 +1368,8 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
1368
1368
|
title: string | null;
|
|
1369
1369
|
createdAt: string;
|
|
1370
1370
|
updatedAt: string;
|
|
1371
|
-
metadata: ConversationMetadata | null;
|
|
1372
1371
|
userId: string | null;
|
|
1372
|
+
metadata: ConversationMetadata | null;
|
|
1373
1373
|
activeSubAgentId: string;
|
|
1374
1374
|
lastContextResolution: string | null;
|
|
1375
1375
|
} | undefined>;
|
|
@@ -1392,8 +1392,8 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
|
|
|
1392
1392
|
title: string | null;
|
|
1393
1393
|
createdAt: string;
|
|
1394
1394
|
updatedAt: string;
|
|
1395
|
-
metadata: ConversationMetadata | null;
|
|
1396
1395
|
userId: string | null;
|
|
1396
|
+
metadata: ConversationMetadata | null;
|
|
1397
1397
|
activeSubAgentId: string;
|
|
1398
1398
|
lastContextResolution: string | null;
|
|
1399
1399
|
}>;
|
|
@@ -1418,8 +1418,8 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
1418
1418
|
title: string | null;
|
|
1419
1419
|
createdAt: string;
|
|
1420
1420
|
updatedAt: string;
|
|
1421
|
-
metadata: ConversationMetadata | null;
|
|
1422
1421
|
userId: string | null;
|
|
1422
|
+
metadata: ConversationMetadata | null;
|
|
1423
1423
|
activeSubAgentId: string;
|
|
1424
1424
|
lastContextResolution: string | null;
|
|
1425
1425
|
} | undefined>;
|
|
@@ -1448,6 +1448,14 @@ declare const getCredentialReference: (db: DatabaseClient) => (params: {
|
|
|
1448
1448
|
scopes: ProjectScopeConfig;
|
|
1449
1449
|
id: string;
|
|
1450
1450
|
}) => Promise<CredentialReferenceSelect | undefined>;
|
|
1451
|
+
/**
|
|
1452
|
+
* Get a user-scoped credential reference by toolId and userId
|
|
1453
|
+
*/
|
|
1454
|
+
declare const getUserScopedCredentialReference: (db: DatabaseClient) => (params: {
|
|
1455
|
+
scopes: ProjectScopeConfig;
|
|
1456
|
+
toolId: string;
|
|
1457
|
+
userId: string;
|
|
1458
|
+
}) => Promise<CredentialReferenceSelect | undefined>;
|
|
1451
1459
|
/**
|
|
1452
1460
|
* Get a credential reference by ID with its related tools
|
|
1453
1461
|
*/
|
|
@@ -2778,8 +2786,8 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
2778
2786
|
agentId: string;
|
|
2779
2787
|
createdAt: string;
|
|
2780
2788
|
updatedAt: string;
|
|
2781
|
-
headers: Record<string, string> | null;
|
|
2782
2789
|
toolId: string;
|
|
2790
|
+
headers: Record<string, string> | null;
|
|
2783
2791
|
toolPolicies: Record<string, {
|
|
2784
2792
|
needsApproval?: boolean;
|
|
2785
2793
|
}> | null;
|
|
@@ -2822,8 +2830,8 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
2822
2830
|
agentId: string;
|
|
2823
2831
|
createdAt: string;
|
|
2824
2832
|
updatedAt: string;
|
|
2825
|
-
headers: Record<string, string> | null;
|
|
2826
2833
|
toolId: string;
|
|
2834
|
+
headers: Record<string, string> | null;
|
|
2827
2835
|
toolPolicies: Record<string, {
|
|
2828
2836
|
needsApproval?: boolean;
|
|
2829
2837
|
}> | null;
|
|
@@ -2938,6 +2946,7 @@ declare const getToolsForAgent: (db: DatabaseClient) => (params: {
|
|
|
2938
2946
|
capabilities: ToolServerCapabilities | null;
|
|
2939
2947
|
lastError: string | null;
|
|
2940
2948
|
credentialReferenceId: string | null;
|
|
2949
|
+
credentialScope: string;
|
|
2941
2950
|
tenantId: string;
|
|
2942
2951
|
projectId: string;
|
|
2943
2952
|
headers: Record<string, string> | null;
|
|
@@ -3535,7 +3544,7 @@ declare const listTaskIdsByContextId: (db: DatabaseClient) => (params: {
|
|
|
3535
3544
|
contextId: string;
|
|
3536
3545
|
}) => Promise<string[]>;
|
|
3537
3546
|
|
|
3538
|
-
declare const dbResultToMcpTool: (dbResult: ToolSelect, dbClient: DatabaseClient, credentialStoreRegistry?: CredentialStoreRegistry, relationshipId?: string) => Promise<McpTool>;
|
|
3547
|
+
declare const dbResultToMcpTool: (dbResult: ToolSelect, dbClient: DatabaseClient, credentialStoreRegistry?: CredentialStoreRegistry, relationshipId?: string, userId?: string) => Promise<McpTool>;
|
|
3539
3548
|
declare const getToolById: (db: DatabaseClient) => (params: {
|
|
3540
3549
|
scopes: ProjectScopeConfig;
|
|
3541
3550
|
toolId: string;
|
|
@@ -3554,6 +3563,7 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
3554
3563
|
updatedAt: string;
|
|
3555
3564
|
headers: Record<string, string> | null;
|
|
3556
3565
|
capabilities: ToolServerCapabilities | null;
|
|
3566
|
+
credentialScope: string;
|
|
3557
3567
|
imageUrl: string | null;
|
|
3558
3568
|
lastError: string | null;
|
|
3559
3569
|
} | null>;
|
|
@@ -3571,6 +3581,7 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
3571
3581
|
mcp: ToolMcpConfig;
|
|
3572
3582
|
};
|
|
3573
3583
|
credentialReferenceId: string | null;
|
|
3584
|
+
credentialScope: string;
|
|
3574
3585
|
headers: Record<string, string> | null;
|
|
3575
3586
|
imageUrl: string | null;
|
|
3576
3587
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -3601,6 +3612,7 @@ declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promis
|
|
|
3601
3612
|
updatedAt: string;
|
|
3602
3613
|
headers: Record<string, string> | null;
|
|
3603
3614
|
capabilities: ToolServerCapabilities | null;
|
|
3615
|
+
credentialScope: string;
|
|
3604
3616
|
imageUrl: string | null;
|
|
3605
3617
|
lastError: string | null;
|
|
3606
3618
|
}>;
|
|
@@ -3618,6 +3630,7 @@ declare const updateTool: (db: DatabaseClient) => (params: {
|
|
|
3618
3630
|
mcp: ToolMcpConfig;
|
|
3619
3631
|
};
|
|
3620
3632
|
credentialReferenceId: string | null;
|
|
3633
|
+
credentialScope: string;
|
|
3621
3634
|
headers: Record<string, string> | null;
|
|
3622
3635
|
imageUrl: string | null;
|
|
3623
3636
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -3646,8 +3659,8 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
3646
3659
|
agentId: string;
|
|
3647
3660
|
createdAt: string;
|
|
3648
3661
|
updatedAt: string;
|
|
3649
|
-
headers: Record<string, string> | null;
|
|
3650
3662
|
toolId: string;
|
|
3663
|
+
headers: Record<string, string> | null;
|
|
3651
3664
|
toolPolicies: Record<string, {
|
|
3652
3665
|
needsApproval?: boolean;
|
|
3653
3666
|
}> | null;
|
|
@@ -3665,8 +3678,8 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
|
3665
3678
|
agentId: string;
|
|
3666
3679
|
createdAt: string;
|
|
3667
3680
|
updatedAt: string;
|
|
3668
|
-
headers: Record<string, string> | null;
|
|
3669
3681
|
toolId: string;
|
|
3682
|
+
headers: Record<string, string> | null;
|
|
3670
3683
|
toolPolicies: Record<string, {
|
|
3671
3684
|
needsApproval?: boolean;
|
|
3672
3685
|
}> | null;
|
|
@@ -3693,8 +3706,8 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3693
3706
|
agentId: string;
|
|
3694
3707
|
createdAt: string;
|
|
3695
3708
|
updatedAt: string;
|
|
3696
|
-
headers: Record<string, string> | null;
|
|
3697
3709
|
toolId: string;
|
|
3710
|
+
headers: Record<string, string> | null;
|
|
3698
3711
|
toolPolicies: Record<string, {
|
|
3699
3712
|
needsApproval?: boolean;
|
|
3700
3713
|
}> | null;
|
|
@@ -3721,6 +3734,7 @@ declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
|
3721
3734
|
updatedAt: string;
|
|
3722
3735
|
headers: Record<string, string> | null;
|
|
3723
3736
|
capabilities: ToolServerCapabilities | null;
|
|
3737
|
+
credentialScope: string;
|
|
3724
3738
|
imageUrl: string | null;
|
|
3725
3739
|
lastError: string | null;
|
|
3726
3740
|
}>;
|
|
@@ -4606,4 +4620,4 @@ declare function setSpanWithError(span: Span, error: Error, logger?: {
|
|
|
4606
4620
|
*/
|
|
4607
4621
|
declare function getTracer(serviceName: string, serviceVersion?: string): Tracer;
|
|
4608
4622
|
|
|
4609
|
-
export { AgentInsert, type AgentLogger, AgentScopeConfig, AgentSelect, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, CONVERSATION_HISTORY_DEFAULT_LIMIT, CONVERSATION_HISTORY_MAX_OUTPUT_TOKENS_DEFAULT, type CommonCreateErrorResponses, type CommonDeleteErrorResponses, type CommonGetErrorResponses, type CommonUpdateErrorResponses, ContextCache, ContextCacheInsert, ContextCacheSelect, ContextConfigBuilder, type ContextConfigBuilderOptions, ContextConfigInsert, ContextConfigSelect, ContextConfigUpdate, ContextFetchDefinition, ContextFetcher, type ContextResolutionOptions, type ContextResolutionResult, ContextResolver, type ContextResolverInterface, type ContextValidationError, type ContextValidationResult, ConversationHistoryConfig, ConversationInsert, ConversationMetadata, ConversationSelect, ConversationUpdate, CreateApiKeyParams, type CredentialContext, type CredentialData, CredentialReferenceApiInsert, CredentialReferenceInsert, CredentialReferenceSelect, CredentialReferenceUpdate, type CredentialReferenceWithResources, type CredentialResolverInput, type CredentialStoreReference, CredentialStoreRegistry, CredentialStoreType, CredentialStuffer, DataComponentInsert, DataComponentSelect, DataComponentUpdate, DatabaseClient, type DotPaths, ERROR_DOCS_BASE_URL, ErrorCode, type ErrorCodes, type ErrorResponse, ExecutionContext, ExternalAgentInsert, ExternalAgentSelect, ExternalAgentUpdate, type FetchResult, FullAgentDefinition, FullProjectDefinition, FunctionApiInsert, FunctionToolApiInsert, FunctionToolApiUpdate, type GenerateServiceTokenParams, HTTP_REQUEST_PARTS, type HttpRequestPart, type LLMMessage, LedgerArtifactSelect, MCPToolConfig, MCPTransportType, MCP_TOOL_CONNECTION_TIMEOUT_MS, MCP_TOOL_INITIAL_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RETRIES, MCP_TOOL_RECONNECTION_DELAY_GROWTH_FACTOR, McpClient, type McpClientOptions, type McpSSEConfig, type McpServerConfig, type McpStreamableHttpConfig, McpTool, MessageContent, MessageInsert, MessageMetadata, MessageSelect, MessageUpdate, MessageVisibility, ModelFactory, ModelSettings, PaginationConfig, PaginationResult, type ParsedHttpRequest, PinoLogger, PrebuiltMCPServerSchema, type ProblemDetails, ProjectInfo, ProjectInsert, type ProjectLogger, ProjectResourceCounts, ProjectScopeConfig, ProjectSelect, ProjectUpdate, type ResolvedContext, type ServiceTokenPayload, type SignedTempToken, SubAgentExternalAgentRelationInsert, SubAgentInsert, SubAgentIsDefaultError, SubAgentRelationInsert, SubAgentRelationUpdate, SubAgentScopeConfig, SubAgentSelect, SubAgentTeamAgentRelationInsert, SubAgentToolRelationUpdate, SubAgentUpdate, TaskInsert, TaskMetadataConfig, TaskSelect, type TempTokenPayload, type TemplateContext, TemplateEngine, type TemplateRenderOptions, ToolInsert, ToolMcpConfig, ToolSelect, ToolServerCapabilities, ToolUpdate, type VerifyServiceTokenResult, addFunctionToolToSubAgent, addLedgerArtifacts, addToolToAgent, addUserToOrganization, agentHasArtifactComponents, apiFetch, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, contextConfig, contextValidationMiddleware, countApiKeys, countArtifactComponents, countArtifactComponentsForAgent, countContextConfigs, countCredentialReferences, countDataComponents, countExternalAgents, countLedgerArtifactsByTask, countMessagesByConversation, countProjects, createAgent, createAgentToolRelation, createApiError, createApiKey, createArtifactComponent, createContextConfig, createConversation, createCredentialReference, createDataComponent, createExecutionContext, createExternalAgent, createFullAgentServerSide, createFullProjectServerSide, createFunctionTool, createMessage, createOrGetConversation, createProject, createSubAgent, createSubAgentExternalAgentRelation, createSubAgentRelation, createSubAgentTeamAgentRelation, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentRelationsByAgent, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullAgent, deleteFullProject, deleteFunction, deleteFunctionTool, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteSubAgent, deleteSubAgentExternalAgentRelation, deleteSubAgentExternalAgentRelationsByAgent, deleteSubAgentExternalAgentRelationsBySubAgent, deleteSubAgentRelation, deleteSubAgentTeamAgentRelation, deleteSubAgentTeamAgentRelationsByAgent, deleteSubAgentTeamAgentRelationsBySubAgent, deleteTool, determineContextTrigger, errorResponseSchema, errorSchemaFactory, executionLimitsSharedDefaults, externalAgentExists, externalAgentUrlExists, extractComposioServerId, extractPublicId, fetchComponentRelationships, fetchComposioServers, fetchDefinition, fetchSingleComposioServer, formatMessagesForLLM, formatMessagesForLLMContext, generateAndCreateApiKey, generateApiKey, generateId, generateServiceToken, getActiveAgentForConversation, getAgentById, getAgentRelationById, getAgentRelationByParams, getAgentRelations, getAgentRelationsByAgent, getAgentRelationsBySource, getAgentSubAgentInfos, getAgentToolRelationByAgent, getAgentToolRelationById, getAgentToolRelationByTool, getAgentWithDefaultSubAgent, getAgentsForTool, getAgentsUsingArtifactComponent, getAgentsUsingDataComponent, getApiKeyById, getApiKeyByPublicId, getArtifactComponentById, getArtifactComponentsForAgent, getCacheEntry, getCachedValidator, getContextConfigById, getContextConfigCacheEntries, getConversation, getConversationCacheEntries, getConversationHistory, getConversationId, getCredentialReference, getCredentialReferenceById, getCredentialReferenceWithResources, getCredentialStoreLookupKeyFromRetrievalParams, getDataComponent, getDataComponentsForAgent, getExternalAgent, getExternalAgentByUrl, getExternalAgentsForSubAgent, getFullAgent, getFullAgentDefinition, getFullProject, getFunction, getFunctionToolById, getFunctionToolsForSubAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getLogger, getMessageById, getMessagesByConversation, getMessagesByTask, getPendingInvitationsByEmail, getProject, getProjectResourceCounts, getRelatedAgentsForAgent, getRequestExecutionContext, getSubAgentById, getSubAgentExternalAgentRelationById, getSubAgentExternalAgentRelationByParams, getSubAgentExternalAgentRelations, getSubAgentExternalAgentRelationsByAgent, getSubAgentExternalAgentRelationsByExternalAgent, getSubAgentRelationsByTarget, getSubAgentTeamAgentRelationById, getSubAgentTeamAgentRelationByParams, getSubAgentTeamAgentRelations, getSubAgentTeamAgentRelationsByAgent, getSubAgentTeamAgentRelationsByTeamAgent, getSubAgentsByIds, getSubAgentsForExternalAgent, getSubAgentsForTeamAgent, getTask, getTeamAgentsForSubAgent, getToolById, getToolsForAgent, getTracer, getUserByEmail, getUserById, getUserOrganizations, getVisibleMessages, handleApiError, handleContextConfigChange, handleContextResolution, hasApiKey, hasContextConfig, hasCredentialReference, hashApiKey, headers, invalidateHeadersCache, invalidateInvocationDefinitionsCache, isApiKeyExpired, isArtifactComponentAssociatedWithAgent, isComposioMCPServerAuthenticated, isDataComponentAssociatedWithAgent, isThirdPartyMCPServerAuthenticated, isValidHttpRequest, listAgentRelations, listAgentToolRelations, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listFunctionTools, listFunctions, listMessages, listProjects, listProjectsPaginated, listSubAgentExternalAgentRelations, listSubAgentTeamAgentRelations, listSubAgents, listSubAgentsPaginated, listTaskIdsByContextId, listTools, loadEnvironmentFiles, maskApiKey, normalizeDateString, problemDetailsSchema, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, setSpanWithError, signTempToken, toISODateString, updateAgent, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullAgentServerSide, updateFullProjectServerSide, updateFunctionTool, updateMessage, updateProject, updateSubAgent, updateSubAgentExternalAgentRelation, updateSubAgentFunctionToolRelation, updateSubAgentTeamAgentRelation, updateTask, updateTool, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertFunction, upsertFunctionTool, upsertLedgerArtifact, upsertSubAgent, upsertSubAgentExternalAgentRelation, upsertSubAgentFunctionToolRelation, upsertSubAgentRelation, upsertSubAgentTeamAgentRelation, upsertSubAgentToolRelation, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateHeaders, validateHttpRequestHeaders, validateProjectExists, validateSubAgent, validateTargetAgent, validateTenantId, validationHelper, verifyAuthorizationHeader, verifyServiceToken, verifyTempToken, withProjectValidation };
|
|
4623
|
+
export { AgentInsert, type AgentLogger, AgentScopeConfig, AgentSelect, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, CONVERSATION_HISTORY_DEFAULT_LIMIT, CONVERSATION_HISTORY_MAX_OUTPUT_TOKENS_DEFAULT, type CommonCreateErrorResponses, type CommonDeleteErrorResponses, type CommonGetErrorResponses, type CommonUpdateErrorResponses, ContextCache, ContextCacheInsert, ContextCacheSelect, ContextConfigBuilder, type ContextConfigBuilderOptions, ContextConfigInsert, ContextConfigSelect, ContextConfigUpdate, ContextFetchDefinition, ContextFetcher, type ContextResolutionOptions, type ContextResolutionResult, ContextResolver, type ContextResolverInterface, type ContextValidationError, type ContextValidationResult, ConversationHistoryConfig, ConversationInsert, ConversationMetadata, ConversationSelect, ConversationUpdate, CreateApiKeyParams, type CredentialContext, type CredentialData, CredentialReferenceApiInsert, CredentialReferenceInsert, CredentialReferenceSelect, CredentialReferenceUpdate, type CredentialReferenceWithResources, type CredentialResolverInput, type CredentialStoreReference, CredentialStoreRegistry, CredentialStoreType, CredentialStuffer, DataComponentInsert, DataComponentSelect, DataComponentUpdate, DatabaseClient, type DotPaths, ERROR_DOCS_BASE_URL, ErrorCode, type ErrorCodes, type ErrorResponse, ExecutionContext, ExternalAgentInsert, ExternalAgentSelect, ExternalAgentUpdate, type FetchResult, FullAgentDefinition, FullProjectDefinition, FunctionApiInsert, FunctionToolApiInsert, FunctionToolApiUpdate, type GenerateServiceTokenParams, HTTP_REQUEST_PARTS, type HttpRequestPart, type LLMMessage, LedgerArtifactSelect, MCPToolConfig, MCPTransportType, MCP_TOOL_CONNECTION_TIMEOUT_MS, MCP_TOOL_INITIAL_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RETRIES, MCP_TOOL_RECONNECTION_DELAY_GROWTH_FACTOR, McpClient, type McpClientOptions, type McpSSEConfig, type McpServerConfig, type McpStreamableHttpConfig, McpTool, MessageContent, MessageInsert, MessageMetadata, MessageSelect, MessageUpdate, MessageVisibility, ModelFactory, ModelSettings, PaginationConfig, PaginationResult, type ParsedHttpRequest, PinoLogger, PrebuiltMCPServerSchema, type ProblemDetails, ProjectInfo, ProjectInsert, type ProjectLogger, ProjectResourceCounts, ProjectScopeConfig, ProjectSelect, ProjectUpdate, type ResolvedContext, type ServiceTokenPayload, type SignedTempToken, SubAgentExternalAgentRelationInsert, SubAgentInsert, SubAgentIsDefaultError, SubAgentRelationInsert, SubAgentRelationUpdate, SubAgentScopeConfig, SubAgentSelect, SubAgentTeamAgentRelationInsert, SubAgentToolRelationUpdate, SubAgentUpdate, TaskInsert, TaskMetadataConfig, TaskSelect, type TempTokenPayload, type TemplateContext, TemplateEngine, type TemplateRenderOptions, ToolInsert, ToolMcpConfig, ToolSelect, ToolServerCapabilities, ToolUpdate, type VerifyServiceTokenResult, addFunctionToolToSubAgent, addLedgerArtifacts, addToolToAgent, addUserToOrganization, agentHasArtifactComponents, apiFetch, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, contextConfig, contextValidationMiddleware, countApiKeys, countArtifactComponents, countArtifactComponentsForAgent, countContextConfigs, countCredentialReferences, countDataComponents, countExternalAgents, countLedgerArtifactsByTask, countMessagesByConversation, countProjects, createAgent, createAgentToolRelation, createApiError, createApiKey, createArtifactComponent, createContextConfig, createConversation, createCredentialReference, createDataComponent, createExecutionContext, createExternalAgent, createFullAgentServerSide, createFullProjectServerSide, createFunctionTool, createMessage, createOrGetConversation, createProject, createSubAgent, createSubAgentExternalAgentRelation, createSubAgentRelation, createSubAgentTeamAgentRelation, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentRelationsByAgent, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullAgent, deleteFullProject, deleteFunction, deleteFunctionTool, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteSubAgent, deleteSubAgentExternalAgentRelation, deleteSubAgentExternalAgentRelationsByAgent, deleteSubAgentExternalAgentRelationsBySubAgent, deleteSubAgentRelation, deleteSubAgentTeamAgentRelation, deleteSubAgentTeamAgentRelationsByAgent, deleteSubAgentTeamAgentRelationsBySubAgent, deleteTool, determineContextTrigger, errorResponseSchema, errorSchemaFactory, executionLimitsSharedDefaults, externalAgentExists, externalAgentUrlExists, extractComposioServerId, extractPublicId, fetchComponentRelationships, fetchComposioServers, fetchDefinition, fetchSingleComposioServer, formatMessagesForLLM, formatMessagesForLLMContext, generateAndCreateApiKey, generateApiKey, generateId, generateServiceToken, getActiveAgentForConversation, getAgentById, getAgentRelationById, getAgentRelationByParams, getAgentRelations, getAgentRelationsByAgent, getAgentRelationsBySource, getAgentSubAgentInfos, getAgentToolRelationByAgent, getAgentToolRelationById, getAgentToolRelationByTool, getAgentWithDefaultSubAgent, getAgentsForTool, getAgentsUsingArtifactComponent, getAgentsUsingDataComponent, getApiKeyById, getApiKeyByPublicId, getArtifactComponentById, getArtifactComponentsForAgent, getCacheEntry, getCachedValidator, getContextConfigById, getContextConfigCacheEntries, getConversation, getConversationCacheEntries, getConversationHistory, getConversationId, getCredentialReference, getCredentialReferenceById, getCredentialReferenceWithResources, getCredentialStoreLookupKeyFromRetrievalParams, getDataComponent, getDataComponentsForAgent, getExternalAgent, getExternalAgentByUrl, getExternalAgentsForSubAgent, getFullAgent, getFullAgentDefinition, getFullProject, getFunction, getFunctionToolById, getFunctionToolsForSubAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getLogger, getMessageById, getMessagesByConversation, getMessagesByTask, getPendingInvitationsByEmail, getProject, getProjectResourceCounts, getRelatedAgentsForAgent, getRequestExecutionContext, getSubAgentById, getSubAgentExternalAgentRelationById, getSubAgentExternalAgentRelationByParams, getSubAgentExternalAgentRelations, getSubAgentExternalAgentRelationsByAgent, getSubAgentExternalAgentRelationsByExternalAgent, getSubAgentRelationsByTarget, getSubAgentTeamAgentRelationById, getSubAgentTeamAgentRelationByParams, getSubAgentTeamAgentRelations, getSubAgentTeamAgentRelationsByAgent, getSubAgentTeamAgentRelationsByTeamAgent, getSubAgentsByIds, getSubAgentsForExternalAgent, getSubAgentsForTeamAgent, getTask, getTeamAgentsForSubAgent, getToolById, getToolsForAgent, getTracer, getUserByEmail, getUserById, getUserOrganizations, getUserScopedCredentialReference, getVisibleMessages, handleApiError, handleContextConfigChange, handleContextResolution, hasApiKey, hasContextConfig, hasCredentialReference, hashApiKey, headers, invalidateHeadersCache, invalidateInvocationDefinitionsCache, isApiKeyExpired, isArtifactComponentAssociatedWithAgent, isComposioMCPServerAuthenticated, isDataComponentAssociatedWithAgent, isThirdPartyMCPServerAuthenticated, isValidHttpRequest, listAgentRelations, listAgentToolRelations, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listFunctionTools, listFunctions, listMessages, listProjects, listProjectsPaginated, listSubAgentExternalAgentRelations, listSubAgentTeamAgentRelations, listSubAgents, listSubAgentsPaginated, listTaskIdsByContextId, listTools, loadEnvironmentFiles, maskApiKey, normalizeDateString, problemDetailsSchema, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, setSpanWithError, signTempToken, toISODateString, updateAgent, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullAgentServerSide, updateFullProjectServerSide, updateFunctionTool, updateMessage, updateProject, updateSubAgent, updateSubAgentExternalAgentRelation, updateSubAgentFunctionToolRelation, updateSubAgentTeamAgentRelation, updateTask, updateTool, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertFunction, upsertFunctionTool, upsertLedgerArtifact, upsertSubAgent, upsertSubAgentExternalAgentRelation, upsertSubAgentFunctionToolRelation, upsertSubAgentRelation, upsertSubAgentTeamAgentRelation, upsertSubAgentToolRelation, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateHeaders, validateHttpRequestHeaders, validateProjectExists, validateSubAgent, validateTargetAgent, validateTenantId, validationHelper, verifyAuthorizationHeader, verifyServiceToken, verifyTempToken, withProjectValidation };
|