@inkeep/agents-core 0.14.9 → 0.14.11

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.
@@ -20,7 +20,7 @@ var resourceIdSchema = z.string().min(MIN_ID_LENGTH).max(MAX_ID_LENGTH).regex(UR
20
20
  });
21
21
  var ModelSettingsSchema = z.object({
22
22
  model: z.string().optional(),
23
- providerOptions: z.record(z.string(), z.unknown()).optional()
23
+ providerOptions: z.record(z.string(), z.any()).optional()
24
24
  });
25
25
  var ModelSchema = z.object({
26
26
  base: ModelSettingsSchema.optional(),
@@ -1,4 +1,4 @@
1
- import { FullGraphDefinitionSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-C4PFKKRE.js';
1
+ import { FullGraphDefinitionSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-423XYZ6F.js';
2
2
 
3
3
  // src/validation/graphFull.ts
4
4
  function isInternalAgent(agent) {
@@ -837,7 +837,7 @@ var resourceIdSchema = zodOpenapi.z.string().min(MIN_ID_LENGTH).max(MAX_ID_LENGT
837
837
  });
838
838
  var ModelSettingsSchema = zodOpenapi.z.object({
839
839
  model: zodOpenapi.z.string().optional(),
840
- providerOptions: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.unknown()).optional()
840
+ providerOptions: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.any()).optional()
841
841
  });
842
842
  var ModelSchema = zodOpenapi.z.object({
843
843
  base: ModelSettingsSchema.optional(),
@@ -1462,18 +1462,12 @@ var ErrorResponseSchema2 = zod.z.object({
1462
1462
  message: zod.z.string().optional(),
1463
1463
  details: zod.z.unknown().optional()
1464
1464
  });
1465
- var ModelSettingsSchema2 = zod.z.object({
1466
- model: zod.z.string().optional(),
1467
- structuredOutput: zod.z.string().optional(),
1468
- summarizer: zod.z.string().optional(),
1469
- providerOptions: zod.z.record(zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())).optional()
1470
- });
1471
1465
  var AgentApiInsertSchema2 = zod.z.object({
1472
1466
  id: zod.z.string().optional(),
1473
1467
  name: zod.z.string(),
1474
1468
  description: zod.z.string().optional(),
1475
1469
  prompt: zod.z.string().optional(),
1476
- model: ModelSettingsSchema2.optional(),
1470
+ model: ModelSettingsSchema.optional(),
1477
1471
  tools: zod.z.array(zod.z.string()).optional(),
1478
1472
  dataComponents: zod.z.array(zod.z.string()).optional(),
1479
1473
  artifactComponents: zod.z.array(zod.z.string()).optional(),
@@ -1631,7 +1625,7 @@ exports.ListResponseSchema = ListResponseSchema;
1631
1625
  exports.MAX_ID_LENGTH = MAX_ID_LENGTH2;
1632
1626
  exports.MCPTransportType = MCPTransportType;
1633
1627
  exports.MIN_ID_LENGTH = MIN_ID_LENGTH2;
1634
- exports.ModelSettingsSchema = ModelSettingsSchema2;
1628
+ exports.ModelSettingsSchema = ModelSettingsSchema;
1635
1629
  exports.PaginationSchema = PaginationSchema2;
1636
1630
  exports.SingleResponseSchema = SingleResponseSchema;
1637
1631
  exports.StopWhenSchema = StopWhenSchema;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { C as ConversationHistoryConfig, A as ApiKeyApiUpdateSchema, F as FullGraphAgentInsertSchema } from './utility-COYxGpY5.cjs';
3
- export { d as AgentStopWhen, a as AgentStopWhenSchema, e as CredentialStoreType, c as GraphStopWhen, G as GraphStopWhenSchema, M as MCPTransportType, b as StopWhen, S as StopWhenSchema } from './utility-COYxGpY5.cjs';
2
+ import { C as ConversationHistoryConfig, A as ApiKeyApiUpdateSchema, F as FullGraphAgentInsertSchema } from './utility-CfjwCzr_.cjs';
3
+ export { d as AgentStopWhen, a as AgentStopWhenSchema, f as CredentialStoreType, c as GraphStopWhen, G as GraphStopWhenSchema, g as MCPTransportType, e as ModelSettings, M as ModelSettingsSchema, b as StopWhen, S as StopWhenSchema } from './utility-CfjwCzr_.cjs';
4
4
  import 'drizzle-zod';
5
5
  import 'drizzle-orm/sqlite-core';
6
6
  import '@hono/zod-openapi';
@@ -44,12 +44,7 @@ declare const ErrorResponseSchema: z.ZodObject<{
44
44
  message: z.ZodOptional<z.ZodString>;
45
45
  details: z.ZodOptional<z.ZodUnknown>;
46
46
  }, z.core.$strip>;
47
- declare const ModelSettingsSchema: z.ZodObject<{
48
- model: z.ZodOptional<z.ZodString>;
49
- structuredOutput: z.ZodOptional<z.ZodString>;
50
- summarizer: z.ZodOptional<z.ZodString>;
51
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
52
- }, z.core.$strip>;
47
+
53
48
  declare const AgentApiInsertSchema: z.ZodObject<{
54
49
  id: z.ZodOptional<z.ZodString>;
55
50
  name: z.ZodString;
@@ -57,9 +52,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
57
52
  prompt: z.ZodOptional<z.ZodString>;
58
53
  model: z.ZodOptional<z.ZodObject<{
59
54
  model: z.ZodOptional<z.ZodString>;
60
- structuredOutput: z.ZodOptional<z.ZodString>;
61
- summarizer: z.ZodOptional<z.ZodString>;
62
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
55
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
63
56
  }, z.core.$strip>>;
64
57
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
58
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -178,15 +171,15 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
178
171
  models: z.ZodOptional<z.ZodObject<{
179
172
  base: z.ZodOptional<z.ZodObject<{
180
173
  model: z.ZodOptional<z.ZodString>;
181
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
174
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
182
175
  }, z.core.$strip>>;
183
176
  structuredOutput: z.ZodOptional<z.ZodObject<{
184
177
  model: z.ZodOptional<z.ZodString>;
185
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
178
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
186
179
  }, z.core.$strip>>;
187
180
  summarizer: z.ZodOptional<z.ZodObject<{
188
181
  model: z.ZodOptional<z.ZodString>;
189
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
182
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
190
183
  }, z.core.$strip>>;
191
184
  }, z.core.$strip>>;
192
185
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -275,7 +268,6 @@ type InternalAgentDefinition = z.infer<typeof FullGraphAgentInsertSchema>;
275
268
  type ExternalAgentDefinition = z.infer<typeof ExternalAgentApiInsertSchema>;
276
269
  type TenantParams = z.infer<typeof TenantParamsSchema>;
277
270
  type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
278
- type ModelSettings = z.infer<typeof ModelSettingsSchema>;
279
271
  declare const MIN_ID_LENGTH = 1;
280
272
  declare const MAX_ID_LENGTH = 255;
281
273
  declare const URL_SAFE_ID_PATTERN: RegExp;
@@ -284,4 +276,4 @@ declare function generateIdFromName(name: string): string;
284
276
  type ToolInsert = ToolApiInsert;
285
277
  type AgentGraphInsert = AgentGraphApiInsert;
286
278
 
287
- export { type AgentApiInsert, AgentApiInsertSchema, type AgentGraphApiInsert, AgentGraphApiInsertSchema, type AgentGraphInsert, type ApiKeyApiCreationResponse, ApiKeyApiCreationResponseSchema, type ApiKeyApiSelect, ApiKeyApiSelectSchema, type ApiKeyApiUpdateResponse, type ArtifactComponentApiInsert, ArtifactComponentApiInsertSchema, type ContextConfigApiInsert, ContextConfigApiInsertSchema, type CredentialReferenceApiInsert, CredentialReferenceApiInsertSchema, type DataComponentApiInsert, DataComponentApiInsertSchema, type ErrorResponse, ErrorResponseSchema, type ExternalAgentApiInsert, ExternalAgentApiInsertSchema, type ExternalAgentDefinition, type FullGraphDefinition, FullGraphDefinitionSchema, IdParamsSchema, type InternalAgentDefinition, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, type ModelSettings, ModelSettingsSchema, PaginationSchema, SingleResponseSchema, type TenantParams, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, type ToolApiInsert, ToolApiInsertSchema, type ToolInsert, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
279
+ export { type AgentApiInsert, AgentApiInsertSchema, type AgentGraphApiInsert, AgentGraphApiInsertSchema, type AgentGraphInsert, type ApiKeyApiCreationResponse, ApiKeyApiCreationResponseSchema, type ApiKeyApiSelect, ApiKeyApiSelectSchema, type ApiKeyApiUpdateResponse, type ArtifactComponentApiInsert, ArtifactComponentApiInsertSchema, type ContextConfigApiInsert, ContextConfigApiInsertSchema, type CredentialReferenceApiInsert, CredentialReferenceApiInsertSchema, type DataComponentApiInsert, DataComponentApiInsertSchema, type ErrorResponse, ErrorResponseSchema, type ExternalAgentApiInsert, ExternalAgentApiInsertSchema, type ExternalAgentDefinition, type FullGraphDefinition, FullGraphDefinitionSchema, IdParamsSchema, type InternalAgentDefinition, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, PaginationSchema, SingleResponseSchema, type TenantParams, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, type ToolApiInsert, ToolApiInsertSchema, type ToolInsert, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { C as ConversationHistoryConfig, A as ApiKeyApiUpdateSchema, F as FullGraphAgentInsertSchema } from './utility-COYxGpY5.js';
3
- export { d as AgentStopWhen, a as AgentStopWhenSchema, e as CredentialStoreType, c as GraphStopWhen, G as GraphStopWhenSchema, M as MCPTransportType, b as StopWhen, S as StopWhenSchema } from './utility-COYxGpY5.js';
2
+ import { C as ConversationHistoryConfig, A as ApiKeyApiUpdateSchema, F as FullGraphAgentInsertSchema } from './utility-CfjwCzr_.js';
3
+ export { d as AgentStopWhen, a as AgentStopWhenSchema, f as CredentialStoreType, c as GraphStopWhen, G as GraphStopWhenSchema, g as MCPTransportType, e as ModelSettings, M as ModelSettingsSchema, b as StopWhen, S as StopWhenSchema } from './utility-CfjwCzr_.js';
4
4
  import 'drizzle-zod';
5
5
  import 'drizzle-orm/sqlite-core';
6
6
  import '@hono/zod-openapi';
@@ -44,12 +44,7 @@ declare const ErrorResponseSchema: z.ZodObject<{
44
44
  message: z.ZodOptional<z.ZodString>;
45
45
  details: z.ZodOptional<z.ZodUnknown>;
46
46
  }, z.core.$strip>;
47
- declare const ModelSettingsSchema: z.ZodObject<{
48
- model: z.ZodOptional<z.ZodString>;
49
- structuredOutput: z.ZodOptional<z.ZodString>;
50
- summarizer: z.ZodOptional<z.ZodString>;
51
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
52
- }, z.core.$strip>;
47
+
53
48
  declare const AgentApiInsertSchema: z.ZodObject<{
54
49
  id: z.ZodOptional<z.ZodString>;
55
50
  name: z.ZodString;
@@ -57,9 +52,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
57
52
  prompt: z.ZodOptional<z.ZodString>;
58
53
  model: z.ZodOptional<z.ZodObject<{
59
54
  model: z.ZodOptional<z.ZodString>;
60
- structuredOutput: z.ZodOptional<z.ZodString>;
61
- summarizer: z.ZodOptional<z.ZodString>;
62
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
55
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
63
56
  }, z.core.$strip>>;
64
57
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
58
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -178,15 +171,15 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
178
171
  models: z.ZodOptional<z.ZodObject<{
179
172
  base: z.ZodOptional<z.ZodObject<{
180
173
  model: z.ZodOptional<z.ZodString>;
181
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
174
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
182
175
  }, z.core.$strip>>;
183
176
  structuredOutput: z.ZodOptional<z.ZodObject<{
184
177
  model: z.ZodOptional<z.ZodString>;
185
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
178
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
186
179
  }, z.core.$strip>>;
187
180
  summarizer: z.ZodOptional<z.ZodObject<{
188
181
  model: z.ZodOptional<z.ZodString>;
189
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
182
+ providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
190
183
  }, z.core.$strip>>;
191
184
  }, z.core.$strip>>;
192
185
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -275,7 +268,6 @@ type InternalAgentDefinition = z.infer<typeof FullGraphAgentInsertSchema>;
275
268
  type ExternalAgentDefinition = z.infer<typeof ExternalAgentApiInsertSchema>;
276
269
  type TenantParams = z.infer<typeof TenantParamsSchema>;
277
270
  type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
278
- type ModelSettings = z.infer<typeof ModelSettingsSchema>;
279
271
  declare const MIN_ID_LENGTH = 1;
280
272
  declare const MAX_ID_LENGTH = 255;
281
273
  declare const URL_SAFE_ID_PATTERN: RegExp;
@@ -284,4 +276,4 @@ declare function generateIdFromName(name: string): string;
284
276
  type ToolInsert = ToolApiInsert;
285
277
  type AgentGraphInsert = AgentGraphApiInsert;
286
278
 
287
- export { type AgentApiInsert, AgentApiInsertSchema, type AgentGraphApiInsert, AgentGraphApiInsertSchema, type AgentGraphInsert, type ApiKeyApiCreationResponse, ApiKeyApiCreationResponseSchema, type ApiKeyApiSelect, ApiKeyApiSelectSchema, type ApiKeyApiUpdateResponse, type ArtifactComponentApiInsert, ArtifactComponentApiInsertSchema, type ContextConfigApiInsert, ContextConfigApiInsertSchema, type CredentialReferenceApiInsert, CredentialReferenceApiInsertSchema, type DataComponentApiInsert, DataComponentApiInsertSchema, type ErrorResponse, ErrorResponseSchema, type ExternalAgentApiInsert, ExternalAgentApiInsertSchema, type ExternalAgentDefinition, type FullGraphDefinition, FullGraphDefinitionSchema, IdParamsSchema, type InternalAgentDefinition, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, type ModelSettings, ModelSettingsSchema, PaginationSchema, SingleResponseSchema, type TenantParams, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, type ToolApiInsert, ToolApiInsertSchema, type ToolInsert, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
279
+ export { type AgentApiInsert, AgentApiInsertSchema, type AgentGraphApiInsert, AgentGraphApiInsertSchema, type AgentGraphInsert, type ApiKeyApiCreationResponse, ApiKeyApiCreationResponseSchema, type ApiKeyApiSelect, ApiKeyApiSelectSchema, type ApiKeyApiUpdateResponse, type ArtifactComponentApiInsert, ArtifactComponentApiInsertSchema, type ContextConfigApiInsert, ContextConfigApiInsertSchema, type CredentialReferenceApiInsert, CredentialReferenceApiInsertSchema, type DataComponentApiInsert, DataComponentApiInsertSchema, type ErrorResponse, ErrorResponseSchema, type ExternalAgentApiInsert, ExternalAgentApiInsertSchema, type ExternalAgentDefinition, type FullGraphDefinition, FullGraphDefinitionSchema, IdParamsSchema, type InternalAgentDefinition, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, PaginationSchema, SingleResponseSchema, type TenantParams, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, type ToolApiInsert, ToolApiInsertSchema, type ToolInsert, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
@@ -1,5 +1,5 @@
1
- import { FullGraphAgentInsertSchema } from './chunk-C4PFKKRE.js';
2
- export { AgentStopWhenSchema, GraphStopWhenSchema, StopWhenSchema } from './chunk-C4PFKKRE.js';
1
+ import { ModelSettingsSchema, FullGraphAgentInsertSchema } from './chunk-423XYZ6F.js';
2
+ export { AgentStopWhenSchema, GraphStopWhenSchema, ModelSettingsSchema, StopWhenSchema } from './chunk-423XYZ6F.js';
3
3
  import { CredentialStoreType } from './chunk-YFHT5M2R.js';
4
4
  export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
5
5
  import { z } from 'zod';
@@ -34,12 +34,6 @@ var ErrorResponseSchema = z.object({
34
34
  message: z.string().optional(),
35
35
  details: z.unknown().optional()
36
36
  });
37
- var ModelSettingsSchema = z.object({
38
- model: z.string().optional(),
39
- structuredOutput: z.string().optional(),
40
- summarizer: z.string().optional(),
41
- providerOptions: z.record(z.string(), z.record(z.string(), z.unknown())).optional()
42
- });
43
37
  var AgentApiInsertSchema = z.object({
44
38
  id: z.string().optional(),
45
39
  name: z.string(),
@@ -184,4 +178,4 @@ function generateIdFromName(name) {
184
178
  return name.toLowerCase().replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").slice(0, MAX_ID_LENGTH);
185
179
  }
186
180
 
187
- export { AgentApiInsertSchema, AgentGraphApiInsertSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiSelectSchema, ArtifactComponentApiInsertSchema, ContextConfigApiInsertSchema, CredentialReferenceApiInsertSchema, DataComponentApiInsertSchema, ErrorResponseSchema, ExternalAgentApiInsertSchema, FullGraphDefinitionSchema, IdParamsSchema, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, ModelSettingsSchema, PaginationSchema, SingleResponseSchema, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
181
+ export { AgentApiInsertSchema, AgentGraphApiInsertSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiSelectSchema, ArtifactComponentApiInsertSchema, ContextConfigApiInsertSchema, CredentialReferenceApiInsertSchema, DataComponentApiInsertSchema, ErrorResponseSchema, ExternalAgentApiInsertSchema, FullGraphDefinitionSchema, IdParamsSchema, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, PaginationSchema, SingleResponseSchema, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
@@ -1,7 +1,7 @@
1
1
  import 'drizzle-orm';
2
2
  import 'drizzle-orm/sqlite-core';
3
- import '../utility-COYxGpY5.cjs';
4
- export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from '../schema-BUMYiuQO.cjs';
3
+ import '../utility-CfjwCzr_.cjs';
4
+ export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from '../schema-Mdt3_61i.cjs';
5
5
  import 'zod';
6
6
  import 'drizzle-zod';
7
7
  import '@hono/zod-openapi';
@@ -1,7 +1,7 @@
1
1
  import 'drizzle-orm';
2
2
  import 'drizzle-orm/sqlite-core';
3
- import '../utility-COYxGpY5.js';
4
- export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from '../schema-iVTOUsW8.js';
3
+ import '../utility-CfjwCzr_.js';
4
+ export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from '../schema-NJiTVcbN.js';
5
5
  import 'zod';
6
6
  import 'drizzle-zod';
7
7
  import '@hono/zod-openapi';
package/dist/index.cjs CHANGED
@@ -1095,7 +1095,7 @@ var resourceIdSchema = zodOpenapi.z.string().min(MIN_ID_LENGTH).max(MAX_ID_LENGT
1095
1095
  });
1096
1096
  var ModelSettingsSchema = zodOpenapi.z.object({
1097
1097
  model: zodOpenapi.z.string().optional(),
1098
- providerOptions: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.unknown()).optional()
1098
+ providerOptions: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.any()).optional()
1099
1099
  });
1100
1100
  var ModelSchema = zodOpenapi.z.object({
1101
1101
  base: ModelSettingsSchema.optional(),
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, f as ContextFetchDefinition, M as MCPTransportType, n as MCPToolConfig, o as GraphScopeConfig, C as ConversationHistoryConfig, p as ProjectScopeConfig, q as PaginationConfig, r as AgentGraphInsert, s as AgentGraphUpdate, t as FullGraphDefinition, u as AgentScopeConfig, v as AgentRelationInsert, E as ExternalAgentRelationInsert, w as AgentRelationUpdate, x as AgentToolRelationUpdate, g as ToolMcpConfig, h as ToolServerCapabilities, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, H as ApiKeyInsert, I as ApiKeyUpdate, J as CreateApiKeyParams, K as ApiKeyCreateResult, L as ArtifactComponentSelect, N as ArtifactComponentInsert, O as ArtifactComponentUpdate, Q as ContextCacheSelect, R as ContextCacheInsert, U as ContextConfigInsert, V as ContextConfigUpdate, W as ConversationSelect, X as ConversationInsert, i as ConversationMetadata, Y as ConversationUpdate, Z as CredentialReferenceSelect, _ as ToolSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, a7 as Artifact, a8 as LedgerArtifactSelect, k as MessageMetadata, j as MessageContent, a9 as MessageVisibility, aa as MessageInsert, ab as MessageUpdate, ac as FullProjectDefinition, ad as ProjectInfo, ae as ProjectSelect, af as PaginationResult, ag as ProjectResourceCounts, ah as ProjectInsert, ai as ProjectUpdate, aj as TaskInsert, T as TaskMetadataConfig, ak as TaskSelect, al as McpTool, am as ToolInsert, an as ToolUpdate, e as CredentialStoreType, ao as ExecutionContext } from './utility-COYxGpY5.cjs';
3
- export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-COYxGpY5.cjs';
2
+ import { n as CredentialReferenceApiInsert, o as ContextConfigSelect, h as ContextFetchDefinition, g as MCPTransportType, p as MCPToolConfig, q as GraphScopeConfig, C as ConversationHistoryConfig, r as ProjectScopeConfig, s as PaginationConfig, t as AgentGraphInsert, u as AgentGraphUpdate, v as FullGraphDefinition, w as AgentScopeConfig, x as AgentRelationInsert, E as ExternalAgentRelationInsert, y as AgentRelationUpdate, z as AgentToolRelationUpdate, i as ToolMcpConfig, j as ToolServerCapabilities, B as AgentInsert, D as AgentUpdate, H as AgentSelect, I as ApiKeySelect, J as ApiKeyInsert, K as ApiKeyUpdate, L as CreateApiKeyParams, N as ApiKeyCreateResult, O as ArtifactComponentSelect, Q as ArtifactComponentInsert, R as ArtifactComponentUpdate, U as ContextCacheSelect, V as ContextCacheInsert, W as ContextConfigInsert, X as ContextConfigUpdate, Y as ConversationSelect, Z as ConversationInsert, k as ConversationMetadata, _ as ConversationUpdate, $ as CredentialReferenceSelect, a0 as ToolSelect, a1 as CredentialReferenceInsert, a2 as CredentialReferenceUpdate, a3 as DataComponentSelect, a4 as DataComponentInsert, a5 as DataComponentUpdate, a6 as ExternalAgentInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, a9 as Artifact, aa as LedgerArtifactSelect, m as MessageMetadata, l 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 TaskInsert, T as TaskMetadataConfig, am as TaskSelect, an as McpTool, ao as ToolInsert, ap as ToolUpdate, f as CredentialStoreType, aq as ExecutionContext } from './utility-CfjwCzr_.cjs';
3
+ export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, dt as AgentApiInsertSchema, bC as AgentApiSelect, ds as AgentApiSelectSchema, bE as AgentApiUpdate, du as AgentApiUpdateSchema, cw as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, cv as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cx as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, ct as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cs as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cu as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, cm as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, co as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ck as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, cj as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cl as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cV as AgentDefinition, bN as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bM as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bO as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bL as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, aA as AgentProvider, bH as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bG as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bI as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bJ as AgentRelationQuery, dB as AgentRelationQuerySchema, bF as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, aB as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cL as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cK as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cM as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cJ as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cI as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cD as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cC as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cE as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, cq as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cp as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cr as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, fp as CanUseItemSchema, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cd as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cf as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d9 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, cc as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c8 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c7 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c9 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, c1 as ConversationApiInsert, e3 as ConversationApiInsertSchema, c0 as ConversationApiSelect, e2 as ConversationApiSelectSchema, c2 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d7 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cG as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cH as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, ch as DataComponentApiInsert, em as DataComponentApiInsertSchema, cg as DataComponentApiSelect, el as DataComponentApiSelectSchema, ci as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, ax as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cz as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cy as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cA as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bK as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, cb as FetchConfig, f3 as FetchConfigSchema, ca as FetchDefinition, f4 as FetchDefinitionSchema, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aE as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cP as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cR as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cN as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cO as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, dh as MCPServerType, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, de as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dc as McpTransportConfig, dW as McpTransportConfigSchema, aO as Message, c5 as MessageApiInsert, e9 as MessageApiInsertSchema, c4 as MessageApiSelect, e8 as MessageApiSelectSchema, c6 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, e5 as MessageSelectSchema, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, e7 as MessageUpdateSchema, aV as MethodNotFoundError, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, fC as ProjectApiInsertSchema, cX as ProjectApiSelect, fB as ProjectApiSelectSchema, cZ as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d4 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d6 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d5 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, dO as TaskApiInsertSchema, bQ as TaskApiSelect, dN as TaskApiSelectSchema, bS as TaskApiUpdate, dP as TaskApiUpdateSchema, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, dL as TaskInsertSchema, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bW as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bY as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bU as TaskRelationInsert, dR as TaskRelationInsertSchema, bT as TaskRelationSelect, dQ as TaskRelationSelectSchema, bV as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bl as TaskResubscriptionRequest, dK as TaskSelectSchema, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, as as TextPart, b_ as ToolApiInsert, f1 as ToolApiInsertSchema, bZ as ToolApiSelect, f0 as ToolApiSelectSchema, b$ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cW as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES, dl as resourceIdSchema } from './utility-CfjwCzr_.cjs';
4
4
  import { CredentialStore } from './types/index.cjs';
5
5
  export { CorsConfig, ServerConfig, ServerOptions } from './types/index.cjs';
6
6
  import { LibSQLDatabase } from 'drizzle-orm/libsql';
7
- import { s as schema } from './schema-BUMYiuQO.cjs';
8
- export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-BUMYiuQO.cjs';
7
+ import { s as schema } from './schema-Mdt3_61i.cjs';
8
+ export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-Mdt3_61i.cjs';
9
9
  import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
10
10
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
11
11
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
@@ -837,15 +837,15 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
837
837
  models: {
838
838
  base?: {
839
839
  model?: string | undefined;
840
- providerOptions?: Record<string, unknown> | undefined;
840
+ providerOptions?: Record<string, any> | undefined;
841
841
  } | undefined;
842
842
  structuredOutput?: {
843
843
  model?: string | undefined;
844
- providerOptions?: Record<string, unknown> | undefined;
844
+ providerOptions?: Record<string, any> | undefined;
845
845
  } | undefined;
846
846
  summarizer?: {
847
847
  model?: string | undefined;
848
- providerOptions?: Record<string, unknown> | undefined;
848
+ providerOptions?: Record<string, any> | undefined;
849
849
  } | undefined;
850
850
  } | null;
851
851
  stopWhen: {
@@ -883,15 +883,15 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
883
883
  models: {
884
884
  base?: {
885
885
  model?: string | undefined;
886
- providerOptions?: Record<string, unknown> | undefined;
886
+ providerOptions?: Record<string, any> | undefined;
887
887
  } | undefined;
888
888
  structuredOutput?: {
889
889
  model?: string | undefined;
890
- providerOptions?: Record<string, unknown> | undefined;
890
+ providerOptions?: Record<string, any> | undefined;
891
891
  } | undefined;
892
892
  summarizer?: {
893
893
  model?: string | undefined;
894
- providerOptions?: Record<string, unknown> | undefined;
894
+ providerOptions?: Record<string, any> | undefined;
895
895
  } | undefined;
896
896
  } | null;
897
897
  stopWhen: {
@@ -928,15 +928,15 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
928
928
  models: {
929
929
  base?: {
930
930
  model?: string | undefined;
931
- providerOptions?: Record<string, unknown> | undefined;
931
+ providerOptions?: Record<string, any> | undefined;
932
932
  } | undefined;
933
933
  structuredOutput?: {
934
934
  model?: string | undefined;
935
- providerOptions?: Record<string, unknown> | undefined;
935
+ providerOptions?: Record<string, any> | undefined;
936
936
  } | undefined;
937
937
  summarizer?: {
938
938
  model?: string | undefined;
939
- providerOptions?: Record<string, unknown> | undefined;
939
+ providerOptions?: Record<string, any> | undefined;
940
940
  } | undefined;
941
941
  } | null;
942
942
  stopWhen: {
@@ -958,15 +958,15 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
958
958
  models: {
959
959
  base?: {
960
960
  model?: string | undefined;
961
- providerOptions?: Record<string, unknown> | undefined;
961
+ providerOptions?: Record<string, any> | undefined;
962
962
  } | undefined;
963
963
  structuredOutput?: {
964
964
  model?: string | undefined;
965
- providerOptions?: Record<string, unknown> | undefined;
965
+ providerOptions?: Record<string, any> | undefined;
966
966
  } | undefined;
967
967
  summarizer?: {
968
968
  model?: string | undefined;
969
- providerOptions?: Record<string, unknown> | undefined;
969
+ providerOptions?: Record<string, any> | undefined;
970
970
  } | undefined;
971
971
  } | null;
972
972
  stopWhen: {
@@ -1004,15 +1004,15 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
1004
1004
  models: {
1005
1005
  base?: {
1006
1006
  model?: string | undefined;
1007
- providerOptions?: Record<string, unknown> | undefined;
1007
+ providerOptions?: Record<string, any> | undefined;
1008
1008
  } | undefined;
1009
1009
  structuredOutput?: {
1010
1010
  model?: string | undefined;
1011
- providerOptions?: Record<string, unknown> | undefined;
1011
+ providerOptions?: Record<string, any> | undefined;
1012
1012
  } | undefined;
1013
1013
  summarizer?: {
1014
1014
  model?: string | undefined;
1015
- providerOptions?: Record<string, unknown> | undefined;
1015
+ providerOptions?: Record<string, any> | undefined;
1016
1016
  } | undefined;
1017
1017
  } | null;
1018
1018
  statusUpdates: {
@@ -1057,15 +1057,15 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1057
1057
  models: {
1058
1058
  base?: {
1059
1059
  model?: string | undefined;
1060
- providerOptions?: Record<string, unknown> | undefined;
1060
+ providerOptions?: Record<string, any> | undefined;
1061
1061
  } | undefined;
1062
1062
  structuredOutput?: {
1063
1063
  model?: string | undefined;
1064
- providerOptions?: Record<string, unknown> | undefined;
1064
+ providerOptions?: Record<string, any> | undefined;
1065
1065
  } | undefined;
1066
1066
  summarizer?: {
1067
1067
  model?: string | undefined;
1068
- providerOptions?: Record<string, unknown> | undefined;
1068
+ providerOptions?: Record<string, any> | undefined;
1069
1069
  } | undefined;
1070
1070
  } | null;
1071
1071
  stopWhen: {
@@ -1104,15 +1104,15 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1104
1104
  models: {
1105
1105
  base?: {
1106
1106
  model?: string | undefined;
1107
- providerOptions?: Record<string, unknown> | undefined;
1107
+ providerOptions?: Record<string, any> | undefined;
1108
1108
  } | undefined;
1109
1109
  structuredOutput?: {
1110
1110
  model?: string | undefined;
1111
- providerOptions?: Record<string, unknown> | undefined;
1111
+ providerOptions?: Record<string, any> | undefined;
1112
1112
  } | undefined;
1113
1113
  summarizer?: {
1114
1114
  model?: string | undefined;
1115
- providerOptions?: Record<string, unknown> | undefined;
1115
+ providerOptions?: Record<string, any> | undefined;
1116
1116
  } | undefined;
1117
1117
  } | null;
1118
1118
  stopWhen: {
@@ -1600,15 +1600,15 @@ declare const getAgentsForTool: (db: DatabaseClient) => (params: {
1600
1600
  models: {
1601
1601
  base?: {
1602
1602
  model?: string | undefined;
1603
- providerOptions?: Record<string, unknown> | undefined;
1603
+ providerOptions?: Record<string, any> | undefined;
1604
1604
  } | undefined;
1605
1605
  structuredOutput?: {
1606
1606
  model?: string | undefined;
1607
- providerOptions?: Record<string, unknown> | undefined;
1607
+ providerOptions?: Record<string, any> | undefined;
1608
1608
  } | undefined;
1609
1609
  summarizer?: {
1610
1610
  model?: string | undefined;
1611
- providerOptions?: Record<string, unknown> | undefined;
1611
+ providerOptions?: Record<string, any> | undefined;
1612
1612
  } | undefined;
1613
1613
  } | null;
1614
1614
  stopWhen: {
@@ -1649,15 +1649,15 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1649
1649
  models: {
1650
1650
  base?: {
1651
1651
  model?: string | undefined;
1652
- providerOptions?: Record<string, unknown> | undefined;
1652
+ providerOptions?: Record<string, any> | undefined;
1653
1653
  } | undefined;
1654
1654
  structuredOutput?: {
1655
1655
  model?: string | undefined;
1656
- providerOptions?: Record<string, unknown> | undefined;
1656
+ providerOptions?: Record<string, any> | undefined;
1657
1657
  } | undefined;
1658
1658
  summarizer?: {
1659
1659
  model?: string | undefined;
1660
- providerOptions?: Record<string, unknown> | undefined;
1660
+ providerOptions?: Record<string, any> | undefined;
1661
1661
  } | undefined;
1662
1662
  } | null;
1663
1663
  stopWhen: {
@@ -1680,15 +1680,15 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1680
1680
  models: {
1681
1681
  base?: {
1682
1682
  model?: string | undefined;
1683
- providerOptions?: Record<string, unknown> | undefined;
1683
+ providerOptions?: Record<string, any> | undefined;
1684
1684
  } | undefined;
1685
1685
  structuredOutput?: {
1686
1686
  model?: string | undefined;
1687
- providerOptions?: Record<string, unknown> | undefined;
1687
+ providerOptions?: Record<string, any> | undefined;
1688
1688
  } | undefined;
1689
1689
  summarizer?: {
1690
1690
  model?: string | undefined;
1691
- providerOptions?: Record<string, unknown> | undefined;
1691
+ providerOptions?: Record<string, any> | undefined;
1692
1692
  } | undefined;
1693
1693
  } | null;
1694
1694
  stopWhen: {
@@ -1707,15 +1707,15 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1707
1707
  models: {
1708
1708
  base?: {
1709
1709
  model?: string | undefined;
1710
- providerOptions?: Record<string, unknown> | undefined;
1710
+ providerOptions?: Record<string, any> | undefined;
1711
1711
  } | undefined;
1712
1712
  structuredOutput?: {
1713
1713
  model?: string | undefined;
1714
- providerOptions?: Record<string, unknown> | undefined;
1714
+ providerOptions?: Record<string, any> | undefined;
1715
1715
  } | undefined;
1716
1716
  summarizer?: {
1717
1717
  model?: string | undefined;
1718
- providerOptions?: Record<string, unknown> | undefined;
1718
+ providerOptions?: Record<string, any> | undefined;
1719
1719
  } | undefined;
1720
1720
  } | null;
1721
1721
  stopWhen: {
@@ -1749,15 +1749,15 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1749
1749
  models: {
1750
1750
  base?: {
1751
1751
  model?: string | undefined;
1752
- providerOptions?: Record<string, unknown> | undefined;
1752
+ providerOptions?: Record<string, any> | undefined;
1753
1753
  } | undefined;
1754
1754
  structuredOutput?: {
1755
1755
  model?: string | undefined;
1756
- providerOptions?: Record<string, unknown> | undefined;
1756
+ providerOptions?: Record<string, any> | undefined;
1757
1757
  } | undefined;
1758
1758
  summarizer?: {
1759
1759
  model?: string | undefined;
1760
- providerOptions?: Record<string, unknown> | undefined;
1760
+ providerOptions?: Record<string, any> | undefined;
1761
1761
  } | undefined;
1762
1762
  } | null;
1763
1763
  stopWhen: {
@@ -1782,15 +1782,15 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1782
1782
  models: {
1783
1783
  base?: {
1784
1784
  model?: string | undefined;
1785
- providerOptions?: Record<string, unknown> | undefined;
1785
+ providerOptions?: Record<string, any> | undefined;
1786
1786
  } | undefined;
1787
1787
  structuredOutput?: {
1788
1788
  model?: string | undefined;
1789
- providerOptions?: Record<string, unknown> | undefined;
1789
+ providerOptions?: Record<string, any> | undefined;
1790
1790
  } | undefined;
1791
1791
  summarizer?: {
1792
1792
  model?: string | undefined;
1793
- providerOptions?: Record<string, unknown> | undefined;
1793
+ providerOptions?: Record<string, any> | undefined;
1794
1794
  } | undefined;
1795
1795
  } | null;
1796
1796
  stopWhen: {
@@ -1818,15 +1818,15 @@ declare const getAgentsByIds: (db: DatabaseClient) => (params: {
1818
1818
  models: {
1819
1819
  base?: {
1820
1820
  model?: string | undefined;
1821
- providerOptions?: Record<string, unknown> | undefined;
1821
+ providerOptions?: Record<string, any> | undefined;
1822
1822
  } | undefined;
1823
1823
  structuredOutput?: {
1824
1824
  model?: string | undefined;
1825
- providerOptions?: Record<string, unknown> | undefined;
1825
+ providerOptions?: Record<string, any> | undefined;
1826
1826
  } | undefined;
1827
1827
  summarizer?: {
1828
1828
  model?: string | undefined;
1829
- providerOptions?: Record<string, unknown> | undefined;
1829
+ providerOptions?: Record<string, any> | undefined;
1830
1830
  } | undefined;
1831
1831
  } | null;
1832
1832
  stopWhen: {