@inkeep/agents-core 0.6.6 → 0.7.1

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/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, e 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, f as ToolMcpConfig, g as ToolServerCapabilities, h as McpToolDefinition, 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 McpToolStatus, an as ToolInsert, ao as ToolUpdate, d as CredentialStoreType, ap as ExecutionContext } from './utility-CgaoTJn6.js';
3
- export { b1 as A2AError, bx as A2ARequest, by as A2AResponse, aC as APIKeySecurityScheme, bC as AgentApiInsert, du as AgentApiInsertSchema, bB as AgentApiSelect, dt as AgentApiSelectSchema, bD as AgentApiUpdate, dv as AgentApiUpdateSchema, cv as AgentArtifactComponentApiInsert, eF as AgentArtifactComponentApiInsertSchema, cu as AgentArtifactComponentApiSelect, eE as AgentArtifactComponentApiSelectSchema, cw as AgentArtifactComponentApiUpdate, eG as AgentArtifactComponentApiUpdateSchema, cs as AgentArtifactComponentInsert, eC as AgentArtifactComponentInsertSchema, cr as AgentArtifactComponentSelect, eB as AgentArtifactComponentSelectSchema, ct as AgentArtifactComponentUpdate, eD as AgentArtifactComponentUpdateSchema, ay as AgentCapabilities, aM as AgentCard, d8 as AgentConversationHistoryConfig, cm as AgentDataComponentApiInsert, et as AgentDataComponentApiInsertSchema, cl as AgentDataComponentApiSelect, es as AgentDataComponentApiSelectSchema, cn as AgentDataComponentApiUpdate, eu as AgentDataComponentApiUpdateSchema, cj as AgentDataComponentInsert, eq as AgentDataComponentInsertSchema, ci as AgentDataComponentSelect, ep as AgentDataComponentSelectSchema, ck as AgentDataComponentUpdate, er as AgentDataComponentUpdateSchema, cU as AgentDefinition, bM as AgentGraphApiInsert, dJ as AgentGraphApiInsertSchema, bL as AgentGraphApiSelect, dI as AgentGraphApiSelectSchema, bN as AgentGraphApiUpdate, dK as AgentGraphApiUpdateSchema, dG as AgentGraphInsertSchema, bK as AgentGraphSelect, dF as AgentGraphSelectSchema, dH as AgentGraphUpdateSchema, dr as AgentInsertSchema, az as AgentProvider, bG as AgentRelationApiInsert, dA as AgentRelationApiInsertSchema, bF as AgentRelationApiSelect, dz as AgentRelationApiSelectSchema, bH as AgentRelationApiUpdate, dB as AgentRelationApiUpdateSchema, dx as AgentRelationInsertSchema, bI as AgentRelationQuery, dC as AgentRelationQuerySchema, bE as AgentRelationSelect, dw as AgentRelationSelectSchema, dy as AgentRelationUpdateSchema, dq as AgentSelectSchema, aA as AgentSkill, c as AgentStopWhen, A as AgentStopWhenSchema, cK as AgentToolRelationApiInsert, fh as AgentToolRelationApiInsertSchema, cJ as AgentToolRelationApiSelect, fg as AgentToolRelationApiSelectSchema, cL as AgentToolRelationApiUpdate, fi as AgentToolRelationApiUpdateSchema, cI as AgentToolRelationInsert, fe as AgentToolRelationInsertSchema, cH as AgentToolRelationSelect, fd as AgentToolRelationSelectSchema, ff as AgentToolRelationUpdateSchema, ds as AgentUpdateSchema, eN as AllAgentSchema, cA as AllAgentSelect, cE as ApiKeyApiCreationResponse, eS as ApiKeyApiCreationResponseSchema, cC as ApiKeyApiInsert, eT as ApiKeyApiInsertSchema, cB as ApiKeyApiSelect, eR as ApiKeyApiSelectSchema, cD as ApiKeyApiUpdate, eU as ApiKeyApiUpdateSchema, eP as ApiKeyInsertSchema, eO as ApiKeySelectSchema, eQ as ApiKeyUpdateSchema, cp as ArtifactComponentApiInsert, ez as ArtifactComponentApiInsertSchema, co as ArtifactComponentApiSelect, ey as ArtifactComponentApiSelectSchema, cq as ArtifactComponentApiUpdate, eA as ArtifactComponentApiUpdateSchema, ew as ArtifactComponentInsertSchema, ev as ArtifactComponentSelectSchema, ex as ArtifactComponentUpdateSchema, aF as AuthorizationCodeOAuthFlow, cS as CanUseItem, fr as CanUseItemSchema, bh as CancelTaskRequest, bs as CancelTaskResponse, br as CancelTaskSuccessResponse, aG as ClientCredentialsOAuthFlow, a$ as ContentTypeNotSupportedError, cd as ContextCacheApiInsert, eg as ContextCacheApiInsertSchema, cc as ContextCacheApiSelect, ef as ContextCacheApiSelectSchema, ce as ContextCacheApiUpdate, eh as ContextCacheApiUpdateSchema, d9 as ContextCacheEntry, ed as ContextCacheInsertSchema, ec as ContextCacheSelectSchema, cb as ContextCacheUpdate, ee as ContextCacheUpdateSchema, c7 as ContextConfigApiInsert, fb as ContextConfigApiInsertSchema, c6 as ContextConfigApiSelect, fa as ContextConfigApiSelectSchema, c8 as ContextConfigApiUpdate, fc as ContextConfigApiUpdateSchema, f8 as ContextConfigInsertSchema, f7 as ContextConfigSelectSchema, f9 as ContextConfigUpdateSchema, c0 as ConversationApiInsert, e4 as ConversationApiInsertSchema, b$ as ConversationApiSelect, e3 as ConversationApiSelectSchema, c1 as ConversationApiUpdate, e5 as ConversationApiUpdateSchema, e1 as ConversationInsertSchema, d7 as ConversationScopeOptions, e0 as ConversationSelectSchema, e2 as ConversationUpdateSchema, eZ as CredentialReferenceApiInsertSchema, cF as CredentialReferenceApiSelect, eY as CredentialReferenceApiSelectSchema, cG as CredentialReferenceApiUpdate, e_ as CredentialReferenceApiUpdateSchema, eW as CredentialReferenceInsertSchema, eV as CredentialReferenceSelectSchema, eX as CredentialReferenceUpdateSchema, cg as DataComponentApiInsert, en as DataComponentApiInsertSchema, cf as DataComponentApiSelect, em as DataComponentApiSelectSchema, ch as DataComponentApiUpdate, eo as DataComponentApiUpdateSchema, ek as DataComponentBaseSchema, ej as DataComponentInsertSchema, ei as DataComponentSelectSchema, el as DataComponentUpdateSchema, aw as DataPart, fx as ErrorResponseSchema, fy as ExistsResponseSchema, cy as ExternalAgentApiInsert, eL as ExternalAgentApiInsertSchema, cx as ExternalAgentApiSelect, eK as ExternalAgentApiSelectSchema, cz as ExternalAgentApiUpdate, eM as ExternalAgentApiUpdateSchema, eI as ExternalAgentInsertSchema, bJ as ExternalAgentRelationApiInsert, dE as ExternalAgentRelationApiInsertSchema, dD as ExternalAgentRelationInsertSchema, eH as ExternalAgentSelectSchema, eJ as ExternalAgentUpdateSchema, ca as FetchConfig, f5 as FetchConfigSchema, c9 as FetchDefinition, f6 as FetchDefinitionSchema, as as FileBase, av as FilePart, at as FileWithBytes, au as FileWithUri, cR as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fs as FullGraphDefinitionSchema, fG as FullProjectDefinitionSchema, bj as GetTaskPushNotificationConfigRequest, bw as GetTaskPushNotificationConfigResponse, bv as GetTaskPushNotificationConfigSuccessResponse, bg as GetTaskRequest, bq as GetTaskResponse, bp as GetTaskSuccessResponse, b as GraphStopWhen, G as GraphStopWhenSchema, ft as GraphWithinContextOfProjectSchema, aD as HTTPAuthSecurityScheme, fH as HeadersScopeSchema, fO as IdParamsSchema, aH as ImplicitOAuthFlow, cT as InternalAgentDefinition, aW as InternalError, b0 as InvalidAgentResponseError, aV as InvalidParamsError, aT as InvalidRequestError, aS as JSONParseError, bb as JSONRPCError, bd as JSONRPCErrorResponse, b9 as JSONRPCMessage, ba as JSONRPCRequest, bc as JSONRPCResult, cP as LedgerArtifactApiInsert, fn as LedgerArtifactApiInsertSchema, cO as LedgerArtifactApiSelect, fm as LedgerArtifactApiSelectSchema, cQ as LedgerArtifactApiUpdate, fo as LedgerArtifactApiUpdateSchema, cM as LedgerArtifactInsert, fk as LedgerArtifactInsertSchema, fj as LedgerArtifactSelectSchema, cN as LedgerArtifactUpdate, fl as LedgerArtifactUpdateSchema, fv as ListResponseSchema, dj as MAX_ID_LENGTH, dh as MCPServerType, f0 as MCPToolConfigSchema, di as MIN_ID_LENGTH, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, dZ as McpToolDefinitionSchema, e$ as McpToolSchema, dc as McpTransportConfig, dX as McpTransportConfigSchema, aN as Message, c4 as MessageApiInsert, ea as MessageApiInsertSchema, c3 as MessageApiSelect, e9 as MessageApiSelectSchema, c5 as MessageApiUpdate, eb as MessageApiUpdateSchema, e7 as MessageInsertSchema, d1 as MessageMode, bz as MessagePart, d0 as MessageRole, c2 as MessageSelect, e6 as MessageSelectSchema, b7 as MessageSendConfiguration, b8 as MessageSendParams, c$ as MessageType, e8 as MessageUpdateSchema, aU as MethodNotFoundError, dn as ModelSchema, d4 as ModelSettings, dm as ModelSettingsSchema, d2 as Models, aJ as OAuth2SecurityScheme, aE as OAuthFlows, aK as OpenIdConnectSecurityScheme, cZ as Pagination, fP as PaginationQueryParamsSchema, fu as PaginationSchema, P as Part, aq as PartBase, aI as PasswordOAuthFlow, cX as ProjectApiInsert, fE as ProjectApiInsertSchema, cW as ProjectApiSelect, fD as ProjectApiSelectSchema, cY as ProjectApiUpdate, fF as ProjectApiUpdateSchema, fB as ProjectInsertSchema, dp as ProjectModelSchema, d3 as ProjectModels, fA as ProjectSelectSchema, fC as ProjectUpdateSchema, b2 as PushNotificationAuthenticationInfo, b3 as PushNotificationConfig, aZ as PushNotificationNotSupportedError, fz as RemovedResponseSchema, aL as SecurityScheme, aB as SecuritySchemeBase, be as SendMessageRequest, bm as SendMessageResponse, bl as SendMessageSuccessResponse, bf as SendStreamingMessageRequest, bo as SendStreamingMessageResponse, bn as SendStreamingMessageSuccessResponse, bi as SetTaskPushNotificationConfigRequest, bu as SetTaskPushNotificationConfigResponse, bt as SetTaskPushNotificationConfigSuccessResponse, fw as SingleResponseSchema, d6 as StatusComponent, fp as StatusComponentSchema, fq as StatusUpdateSchema, d5 as StatusUpdateSettings, a as StopWhen, S as StopWhenSchema, c_ as SummaryEvent, df as TOOL_STATUS_VALUES, aP as Task, bQ as TaskApiInsert, dP as TaskApiInsertSchema, bP as TaskApiSelect, dO as TaskApiSelectSchema, bR as TaskApiUpdate, dQ as TaskApiUpdateSchema, bA as TaskArtifact, aR as TaskArtifactUpdateEvent, b5 as TaskIdParams, dM as TaskInsertSchema, aY as TaskNotCancelableError, aX as TaskNotFoundError, b4 as TaskPushNotificationConfig, b6 as TaskQueryParams, bW as TaskRelationApiInsert, dV as TaskRelationApiInsertSchema, bV as TaskRelationApiSelect, dU as TaskRelationApiSelectSchema, bX as TaskRelationApiUpdate, dW as TaskRelationApiUpdateSchema, bT as TaskRelationInsert, dS as TaskRelationInsertSchema, bS as TaskRelationSelect, dR as TaskRelationSelectSchema, bU as TaskRelationUpdate, dT as TaskRelationUpdateSchema, bk as TaskResubscriptionRequest, dL as TaskSelectSchema, ax as TaskState, aO as TaskStatus, aQ as TaskStatusUpdateEvent, bO as TaskUpdate, dN as TaskUpdateSchema, fN as TenantIdParamsSchema, fI as TenantParamsSchema, fL as TenantProjectGraphIdParamsSchema, fK as TenantProjectGraphParamsSchema, fM as TenantProjectIdParamsSchema, fJ as TenantProjectParamsSchema, ar as TextPart, bZ as ToolApiInsert, f3 as ToolApiInsertSchema, bY as ToolApiSelect, f2 as ToolApiSelectSchema, b_ as ToolApiUpdate, f4 as ToolApiUpdateSchema, cV as ToolDefinition, d$ as ToolInsertSchema, d_ as ToolSelectSchema, dY as ToolStatusSchema, f1 as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, a_ as UnsupportedOperationError, dg as VALID_RELATION_TYPES, dl as resourceIdSchema, de as toolStatus } from './utility-CgaoTJn6.js';
2
+ import { k as CredentialReferenceApiInsert, l as ContextConfigSelect, e as ContextFetchDefinition, M as MCPTransportType, m as MCPToolConfig, n as GraphScopeConfig, C as ConversationHistoryConfig, o as ProjectScopeConfig, p as PaginationConfig, q as AgentGraphInsert, r as AgentGraphUpdate, s as FullGraphDefinition, t as AgentScopeConfig, u as AgentRelationInsert, E as ExternalAgentRelationInsert, v as AgentRelationUpdate, w as AgentToolRelationUpdate, f as ToolMcpConfig, g as ToolServerCapabilities, x as AgentInsert, y as AgentUpdate, z as AgentSelect, B as ApiKeySelect, D as ApiKeyInsert, H as ApiKeyUpdate, I as CreateApiKeyParams, J as ApiKeyCreateResult, K as ArtifactComponentSelect, L as ArtifactComponentInsert, N as ArtifactComponentUpdate, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, h as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as CredentialReferenceInsert, $ as CredentialReferenceUpdate, a0 as DataComponentSelect, a1 as DataComponentInsert, a2 as DataComponentUpdate, a3 as ExternalAgentInsert, a4 as ExternalAgentSelect, a5 as ExternalAgentUpdate, a6 as Artifact, a7 as LedgerArtifactSelect, j as MessageMetadata, i as MessageContent, a8 as MessageVisibility, a9 as MessageInsert, aa as MessageUpdate, ab as FullProjectDefinition, ac as ProjectInfo, ad as ProjectSelect, ae as PaginationResult, af as ProjectResourceCounts, ag as ProjectInsert, ah as ProjectUpdate, ai as TaskInsert, T as TaskMetadataConfig, aj as TaskSelect, ak as McpTool, al as ToolInsert, am as ToolUpdate, d as CredentialStoreType, an as ExecutionContext } from './utility-DPZ_yTkY.js';
3
+ export { a$ as A2AError, bv as A2ARequest, bw as A2AResponse, aA as APIKeySecurityScheme, bA as AgentApiInsert, ds as AgentApiInsertSchema, bz as AgentApiSelect, dr as AgentApiSelectSchema, bB as AgentApiUpdate, dt as AgentApiUpdateSchema, ct as AgentArtifactComponentApiInsert, eD as AgentArtifactComponentApiInsertSchema, cs as AgentArtifactComponentApiSelect, eC as AgentArtifactComponentApiSelectSchema, cu as AgentArtifactComponentApiUpdate, eE as AgentArtifactComponentApiUpdateSchema, cq as AgentArtifactComponentInsert, eA as AgentArtifactComponentInsertSchema, cp as AgentArtifactComponentSelect, ez as AgentArtifactComponentSelectSchema, cr as AgentArtifactComponentUpdate, eB as AgentArtifactComponentUpdateSchema, aw as AgentCapabilities, aK as AgentCard, d6 as AgentConversationHistoryConfig, ck as AgentDataComponentApiInsert, er as AgentDataComponentApiInsertSchema, cj as AgentDataComponentApiSelect, eq as AgentDataComponentApiSelectSchema, cl as AgentDataComponentApiUpdate, es as AgentDataComponentApiUpdateSchema, ch as AgentDataComponentInsert, eo as AgentDataComponentInsertSchema, cg as AgentDataComponentSelect, en as AgentDataComponentSelectSchema, ci as AgentDataComponentUpdate, ep as AgentDataComponentUpdateSchema, cS as AgentDefinition, bK as AgentGraphApiInsert, dH as AgentGraphApiInsertSchema, bJ as AgentGraphApiSelect, dG as AgentGraphApiSelectSchema, bL as AgentGraphApiUpdate, dI as AgentGraphApiUpdateSchema, dE as AgentGraphInsertSchema, bI as AgentGraphSelect, dD as AgentGraphSelectSchema, dF as AgentGraphUpdateSchema, dp as AgentInsertSchema, ax as AgentProvider, bE as AgentRelationApiInsert, dy as AgentRelationApiInsertSchema, bD as AgentRelationApiSelect, dx as AgentRelationApiSelectSchema, bF as AgentRelationApiUpdate, dz as AgentRelationApiUpdateSchema, dv as AgentRelationInsertSchema, bG as AgentRelationQuery, dA as AgentRelationQuerySchema, bC as AgentRelationSelect, du as AgentRelationSelectSchema, dw as AgentRelationUpdateSchema, dn as AgentSelectSchema, ay as AgentSkill, c as AgentStopWhen, A as AgentStopWhenSchema, cI as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cH as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cJ as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cG as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cF as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dq as AgentUpdateSchema, eL as AllAgentSchema, cy as AllAgentSelect, cC as ApiKeyApiCreationResponse, eQ as ApiKeyApiCreationResponseSchema, cA as ApiKeyApiInsert, eR as ApiKeyApiInsertSchema, cz as ApiKeyApiSelect, eP as ApiKeyApiSelectSchema, cB as ApiKeyApiUpdate, eS as ApiKeyApiUpdateSchema, eN as ApiKeyInsertSchema, eM as ApiKeySelectSchema, eO as ApiKeyUpdateSchema, cn as ArtifactComponentApiInsert, ex as ArtifactComponentApiInsertSchema, cm as ArtifactComponentApiSelect, ew as ArtifactComponentApiSelectSchema, co as ArtifactComponentApiUpdate, ey as ArtifactComponentApiUpdateSchema, eu as ArtifactComponentInsertSchema, et as ArtifactComponentSelectSchema, ev as ArtifactComponentUpdateSchema, aD as AuthorizationCodeOAuthFlow, cQ as CanUseItem, fp as CanUseItemSchema, bf as CancelTaskRequest, bq as CancelTaskResponse, bp as CancelTaskSuccessResponse, aE as ClientCredentialsOAuthFlow, aZ as ContentTypeNotSupportedError, cb as ContextCacheApiInsert, ee as ContextCacheApiInsertSchema, ca as ContextCacheApiSelect, ed as ContextCacheApiSelectSchema, cc as ContextCacheApiUpdate, ef as ContextCacheApiUpdateSchema, d7 as ContextCacheEntry, eb as ContextCacheInsertSchema, ea as ContextCacheSelectSchema, c9 as ContextCacheUpdate, ec as ContextCacheUpdateSchema, c5 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c4 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c6 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b_ as ConversationApiInsert, e2 as ConversationApiInsertSchema, bZ as ConversationApiSelect, e1 as ConversationApiSelectSchema, b$ as ConversationApiUpdate, e3 as ConversationApiUpdateSchema, d$ as ConversationInsertSchema, d5 as ConversationScopeOptions, d_ as ConversationSelectSchema, e0 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cD as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cE as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, ce as DataComponentApiInsert, el as DataComponentApiInsertSchema, cd as DataComponentApiSelect, ek as DataComponentApiSelectSchema, cf as DataComponentApiUpdate, em as DataComponentApiUpdateSchema, ei as DataComponentBaseSchema, eh as DataComponentInsertSchema, eg as DataComponentSelectSchema, ej as DataComponentUpdateSchema, au as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cw as ExternalAgentApiInsert, eJ as ExternalAgentApiInsertSchema, cv as ExternalAgentApiSelect, eI as ExternalAgentApiSelectSchema, cx as ExternalAgentApiUpdate, eK as ExternalAgentApiUpdateSchema, eG as ExternalAgentInsertSchema, bH as ExternalAgentRelationApiInsert, dC as ExternalAgentRelationApiInsertSchema, dB as ExternalAgentRelationInsertSchema, eF as ExternalAgentSelectSchema, eH as ExternalAgentUpdateSchema, c8 as FetchConfig, f3 as FetchConfigSchema, c7 as FetchDefinition, f4 as FetchDefinitionSchema, aq as FileBase, at as FilePart, ar as FileWithBytes, as as FileWithUri, cP as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bh as GetTaskPushNotificationConfigRequest, bu as GetTaskPushNotificationConfigResponse, bt as GetTaskPushNotificationConfigSuccessResponse, be as GetTaskRequest, bo as GetTaskResponse, bn as GetTaskSuccessResponse, b as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aB as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aF as ImplicitOAuthFlow, cR as InternalAgentDefinition, aU as InternalError, a_ as InvalidAgentResponseError, aT as InvalidParamsError, aR as InvalidRequestError, aQ as JSONParseError, b9 as JSONRPCError, bb as JSONRPCErrorResponse, b7 as JSONRPCMessage, b8 as JSONRPCRequest, ba as JSONRPCResult, cN as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cM as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cO as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cK as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cL as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dh as MAX_ID_LENGTH, df as MCPServerType, e_ as MCPToolConfigSchema, dg as MIN_ID_LENGTH, d8 as McpAuthType, d9 as McpServerAuth, db as McpServerCapabilities, dc as McpToolDefinition, dX as McpToolDefinitionSchema, eZ as McpToolSchema, da as McpTransportConfig, dV as McpTransportConfigSchema, aL as Message, c2 as MessageApiInsert, e8 as MessageApiInsertSchema, c1 as MessageApiSelect, e7 as MessageApiSelectSchema, c3 as MessageApiUpdate, e9 as MessageApiUpdateSchema, e5 as MessageInsertSchema, c$ as MessageMode, bx as MessagePart, c_ as MessageRole, c0 as MessageSelect, e4 as MessageSelectSchema, b5 as MessageSendConfiguration, b6 as MessageSendParams, cZ as MessageType, e6 as MessageUpdateSchema, aS as MethodNotFoundError, dl as ModelSchema, d2 as ModelSettings, dk as ModelSettingsSchema, d0 as Models, aH as OAuth2SecurityScheme, aC as OAuthFlows, aI as OpenIdConnectSecurityScheme, cX as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ao as PartBase, aG as PasswordOAuthFlow, cV as ProjectApiInsert, fC as ProjectApiInsertSchema, cU as ProjectApiSelect, fB as ProjectApiSelectSchema, cW as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dm as ProjectModelSchema, d1 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b0 as PushNotificationAuthenticationInfo, b1 as PushNotificationConfig, aX as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aJ as SecurityScheme, az as SecuritySchemeBase, bc as SendMessageRequest, bk as SendMessageResponse, bj as SendMessageSuccessResponse, bd as SendStreamingMessageRequest, bm as SendStreamingMessageResponse, bl as SendStreamingMessageSuccessResponse, bg as SetTaskPushNotificationConfigRequest, bs as SetTaskPushNotificationConfigResponse, br as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d4 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d3 as StatusUpdateSettings, a as StopWhen, S as StopWhenSchema, cY as SummaryEvent, dd as TOOL_STATUS_VALUES, aN as Task, bO as TaskApiInsert, dN as TaskApiInsertSchema, bN as TaskApiSelect, dM as TaskApiSelectSchema, bP as TaskApiUpdate, dO as TaskApiUpdateSchema, by as TaskArtifact, aP as TaskArtifactUpdateEvent, b3 as TaskIdParams, dK as TaskInsertSchema, aW as TaskNotCancelableError, aV as TaskNotFoundError, b2 as TaskPushNotificationConfig, b4 as TaskQueryParams, bU as TaskRelationApiInsert, dT as TaskRelationApiInsertSchema, bT as TaskRelationApiSelect, dS as TaskRelationApiSelectSchema, bV as TaskRelationApiUpdate, dU as TaskRelationApiUpdateSchema, bR as TaskRelationInsert, dQ as TaskRelationInsertSchema, bQ as TaskRelationSelect, dP as TaskRelationSelectSchema, bS as TaskRelationUpdate, dR as TaskRelationUpdateSchema, bi as TaskResubscriptionRequest, dJ as TaskSelectSchema, av as TaskState, aM as TaskStatus, aO as TaskStatusUpdateEvent, bM as TaskUpdate, dL as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, ap as TextPart, bX as ToolApiInsert, f1 as ToolApiInsertSchema, bW as ToolApiSelect, f0 as ToolApiSelectSchema, bY as ToolApiUpdate, f2 as ToolApiUpdateSchema, cT as ToolDefinition, dZ as ToolInsertSchema, dY as ToolSelectSchema, dW as ToolStatusSchema, e$ as ToolUpdateSchema, di as URL_SAFE_ID_PATTERN, aY as UnsupportedOperationError, de as VALID_RELATION_TYPES, dj as resourceIdSchema } from './utility-DPZ_yTkY.js';
4
4
  import { CredentialStore } from './types/index.js';
5
5
  export { CorsConfig, ServerConfig, ServerOptions } from './types/index.js';
6
6
  import { LibSQLDatabase } from 'drizzle-orm/libsql';
7
- import { s as schema } from './schema-CrVPiPCt.js';
8
- export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, P as agentDataComponentsRelations, a as agentGraph, E as agentGraphRelations, e as agentRelations, R as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, d as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, Q as ledgerArtifactsRelations, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from './schema-CrVPiPCt.js';
7
+ import { s as schema } from './schema-DbxoPUgw.js';
8
+ export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, P as agentDataComponentsRelations, a as agentGraph, E as agentGraphRelations, e as agentRelations, R as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, d as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, Q as ledgerArtifactsRelations, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from './schema-DbxoPUgw.js';
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';
@@ -1500,11 +1500,12 @@ declare const getToolsForAgent: (db: DatabaseClient) => (params: {
1500
1500
  createdAt: string;
1501
1501
  updatedAt: string;
1502
1502
  capabilities: ToolServerCapabilities | null;
1503
- lastHealthCheck: string | null;
1504
- lastToolsSync: string | null;
1505
1503
  lastError: string | null;
1506
- availableTools: McpToolDefinition[] | null;
1507
1504
  credentialReferenceId: string | null;
1505
+ tenantId: string;
1506
+ projectId: string;
1507
+ headers: Record<string, string> | null;
1508
+ imageUrl: string | null;
1508
1509
  };
1509
1510
  }[];
1510
1511
  pagination: {
@@ -3029,7 +3030,7 @@ declare const listTaskIdsByContextId: (db: DatabaseClient) => (params: {
3029
3030
  contextId: string;
3030
3031
  }) => Promise<string[]>;
3031
3032
 
3032
- declare const dbResultToMcpTool: (dbResult: ToolSelect) => McpTool;
3033
+ declare const dbResultToMcpTool: (dbResult: ToolSelect, dbClient: DatabaseClient, credentialStoreRegistry?: CredentialStoreRegistry) => Promise<McpTool>;
3033
3034
  declare const getToolById: (db: DatabaseClient) => (params: {
3034
3035
  scopes: ProjectScopeConfig;
3035
3036
  toolId: string;
@@ -3046,13 +3047,9 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3046
3047
  createdAt: string;
3047
3048
  updatedAt: string;
3048
3049
  headers: Record<string, string> | null;
3049
- status: string;
3050
3050
  capabilities: ToolServerCapabilities | null;
3051
3051
  imageUrl: string | null;
3052
- lastHealthCheck: string | null;
3053
3052
  lastError: string | null;
3054
- availableTools: McpToolDefinition[] | null;
3055
- lastToolsSync: string | null;
3056
3053
  } | null>;
3057
3054
  declare const listTools: (db: DatabaseClient) => (params: {
3058
3055
  scopes: ProjectScopeConfig;
@@ -3071,11 +3068,7 @@ declare const listTools: (db: DatabaseClient) => (params: {
3071
3068
  headers: Record<string, string> | null;
3072
3069
  imageUrl: string | null;
3073
3070
  capabilities: ToolServerCapabilities | null;
3074
- status: string;
3075
- lastHealthCheck: string | null;
3076
3071
  lastError: string | null;
3077
- availableTools: McpToolDefinition[] | null;
3078
- lastToolsSync: string | null;
3079
3072
  createdAt: string;
3080
3073
  updatedAt: string;
3081
3074
  }[];
@@ -3086,54 +3079,6 @@ declare const listTools: (db: DatabaseClient) => (params: {
3086
3079
  pages: number;
3087
3080
  };
3088
3081
  }>;
3089
- declare const getToolsByStatus: (db: DatabaseClient) => (params: {
3090
- scopes: ProjectScopeConfig;
3091
- status: string;
3092
- }) => Promise<{
3093
- tenantId: string;
3094
- projectId: string;
3095
- id: string;
3096
- name: string;
3097
- config: {
3098
- type: "mcp";
3099
- mcp: ToolMcpConfig;
3100
- };
3101
- credentialReferenceId: string | null;
3102
- headers: Record<string, string> | null;
3103
- imageUrl: string | null;
3104
- capabilities: ToolServerCapabilities | null;
3105
- status: string;
3106
- lastHealthCheck: string | null;
3107
- lastError: string | null;
3108
- availableTools: McpToolDefinition[] | null;
3109
- lastToolsSync: string | null;
3110
- createdAt: string;
3111
- updatedAt: string;
3112
- }[]>;
3113
- declare const listToolsByStatus: (db: DatabaseClient) => (params: {
3114
- scopes: ProjectScopeConfig;
3115
- status: McpToolStatus;
3116
- }) => Promise<{
3117
- tenantId: string;
3118
- projectId: string;
3119
- id: string;
3120
- name: string;
3121
- config: {
3122
- type: "mcp";
3123
- mcp: ToolMcpConfig;
3124
- };
3125
- credentialReferenceId: string | null;
3126
- createdAt: string;
3127
- updatedAt: string;
3128
- headers: Record<string, string> | null;
3129
- status: string;
3130
- capabilities: ToolServerCapabilities | null;
3131
- imageUrl: string | null;
3132
- lastHealthCheck: string | null;
3133
- lastError: string | null;
3134
- availableTools: McpToolDefinition[] | null;
3135
- lastToolsSync: string | null;
3136
- }[]>;
3137
3082
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3138
3083
  tenantId: string;
3139
3084
  projectId: string;
@@ -3147,13 +3092,9 @@ declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promis
3147
3092
  createdAt: string;
3148
3093
  updatedAt: string;
3149
3094
  headers: Record<string, string> | null;
3150
- status: string;
3151
3095
  capabilities: ToolServerCapabilities | null;
3152
3096
  imageUrl: string | null;
3153
- lastHealthCheck: string | null;
3154
3097
  lastError: string | null;
3155
- availableTools: McpToolDefinition[] | null;
3156
- lastToolsSync: string | null;
3157
3098
  }>;
3158
3099
  declare const updateTool: (db: DatabaseClient) => (params: {
3159
3100
  scopes: ProjectScopeConfig;
@@ -3172,13 +3113,9 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3172
3113
  createdAt: string;
3173
3114
  updatedAt: string;
3174
3115
  headers: Record<string, string> | null;
3175
- status: string;
3176
3116
  capabilities: ToolServerCapabilities | null;
3177
3117
  imageUrl: string | null;
3178
- lastHealthCheck: string | null;
3179
3118
  lastError: string | null;
3180
- availableTools: McpToolDefinition[] | null;
3181
- lastToolsSync: string | null;
3182
3119
  }>;
3183
3120
  declare const deleteTool: (db: DatabaseClient) => (params: {
3184
3121
  scopes: ProjectScopeConfig;
@@ -3234,33 +3171,6 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3234
3171
  selectedTools: string[] | null;
3235
3172
  agentId: string;
3236
3173
  }>;
3237
- declare const updateToolStatus: (db: DatabaseClient) => (params: {
3238
- scopes: ProjectScopeConfig;
3239
- toolId: string;
3240
- status: string;
3241
- lastHealthCheck?: string;
3242
- lastError?: string;
3243
- }) => Promise<{
3244
- tenantId: string;
3245
- projectId: string;
3246
- id: string;
3247
- name: string;
3248
- config: {
3249
- type: "mcp";
3250
- mcp: ToolMcpConfig;
3251
- };
3252
- credentialReferenceId: string | null;
3253
- createdAt: string;
3254
- updatedAt: string;
3255
- headers: Record<string, string> | null;
3256
- status: string;
3257
- capabilities: ToolServerCapabilities | null;
3258
- imageUrl: string | null;
3259
- lastHealthCheck: string | null;
3260
- lastError: string | null;
3261
- availableTools: McpToolDefinition[] | null;
3262
- lastToolsSync: string | null;
3263
- }>;
3264
3174
  /**
3265
3175
  * Upsert a tool (create if it doesn't exist, update if it does)
3266
3176
  */
@@ -3279,37 +3189,10 @@ declare const upsertTool: (db: DatabaseClient) => (params: {
3279
3189
  createdAt: string;
3280
3190
  updatedAt: string;
3281
3191
  headers: Record<string, string> | null;
3282
- status: string;
3283
3192
  capabilities: ToolServerCapabilities | null;
3284
3193
  imageUrl: string | null;
3285
- lastHealthCheck: string | null;
3286
3194
  lastError: string | null;
3287
- availableTools: McpToolDefinition[] | null;
3288
- lastToolsSync: string | null;
3289
3195
  }>;
3290
- declare const getHealthyToolsForAgent: (db: DatabaseClient) => (params: {
3291
- scopes: AgentScopeConfig;
3292
- }) => Promise<{
3293
- tenantId: string;
3294
- projectId: string;
3295
- id: string;
3296
- name: string;
3297
- config: {
3298
- type: "mcp";
3299
- mcp: ToolMcpConfig;
3300
- };
3301
- credentialReferenceId: string | null;
3302
- headers: Record<string, string> | null;
3303
- imageUrl: string | null;
3304
- capabilities: ToolServerCapabilities | null;
3305
- status: string;
3306
- lastHealthCheck: string | null;
3307
- lastError: string | null;
3308
- availableTools: McpToolDefinition[] | null;
3309
- lastToolsSync: string | null;
3310
- createdAt: string;
3311
- updatedAt: string;
3312
- }[]>;
3313
3196
 
3314
3197
  /**
3315
3198
  * Validates that a project exists before performing database operations
@@ -3422,7 +3305,12 @@ declare const discoverOAuthEndpoints: (serverUrl: string, logger?: PinoLogger) =
3422
3305
  /**
3423
3306
  * Detect if OAuth 2.1/PKCE authentication is specifically required for a tool
3424
3307
  */
3425
- declare const detectAuthenticationRequired: (tool: McpTool, error: Error, logger?: PinoLogger) => Promise<boolean>;
3308
+ declare const detectAuthenticationRequired: ({ serverUrl, toolId, error, logger, }: {
3309
+ serverUrl: string;
3310
+ toolId: string;
3311
+ error: Error;
3312
+ logger?: PinoLogger;
3313
+ }) => Promise<boolean>;
3426
3314
 
3427
3315
  /**
3428
3316
  * Get a lookup key for a credential store from retrieval params
@@ -3988,4 +3876,4 @@ declare function setSpanWithError(span: Span, error: unknown, logger?: {
3988
3876
  */
3989
3877
  declare function getTracer(serviceName: string, serviceVersion?: string): Tracer;
3990
3878
 
3991
- export { AgentGraphInsert, AgentGraphUpdate, AgentInsert, AgentRelationInsert, AgentRelationUpdate, AgentScopeConfig, AgentSelect, AgentToolRelationUpdate, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, 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 CredentialReferenceWithTools, type CredentialResolverInput, CredentialStore, type CredentialStoreReference, CredentialStoreRegistry, CredentialStoreType, CredentialStuffer, DataComponentInsert, DataComponentSelect, DataComponentUpdate, type DatabaseClient, type DatabaseConfig, type DotPaths, ERROR_DOCS_BASE_URL, ErrorCode, type ErrorCodes, type ErrorResponse, ExecutionContext, ExternalAgentInsert, ExternalAgentRelationInsert, ExternalAgentSelect, ExternalAgentUpdate, type FetchResult, FullGraphDefinition, FullProjectDefinition, type GraphLogger, GraphScopeConfig, HTTP_REQUEST_PARTS, type HttpRequestPart, InMemoryCredentialStore, KeyChainStore, LedgerArtifactSelect, type LoggerFactoryConfig, MCPToolConfig, MCPTransportType, McpClient, type McpClientOptions, type McpSSEConfig, type McpServerConfig, type McpStreamableHttpConfig, McpTool, McpToolDefinition, McpToolStatus, MessageContent, MessageInsert, MessageMetadata, MessageUpdate, MessageVisibility, NangoCredentialStore, type OAuthConfig, PaginationConfig, PaginationResult, type ParsedHttpRequest, PinoLogger, type PinoLoggerConfig, type ProblemDetails, ProjectInfo, ProjectInsert, type ProjectLogger, ProjectResourceCounts, ProjectScopeConfig, ProjectSelect, ProjectUpdate, type ResolvedContext, TaskInsert, TaskMetadataConfig, TaskSelect, type TemplateContext, TemplateEngine, type TemplateRenderOptions, ToolInsert, ToolMcpConfig, ToolSelect, ToolServerCapabilities, ToolUpdate, addLedgerArtifacts, addToolToAgent, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, contextConfig, contextValidationMiddleware, countApiKeys, countArtifactComponents, countArtifactComponentsForAgent, countContextConfigs, countCredentialReferences, countDataComponents, countExternalAgents, countLedgerArtifactsByTask, countMessagesByConversation, countProjects, createAgent, createAgentGraph, createAgentRelation, createAgentToolRelation, createApiError, createApiKey, createArtifactComponent, createContextConfig, createConversation, createCredentialReference, createDataComponent, createDatabaseClient, createDefaultCredentialStores, createExecutionContext, createExternalAgent, createExternalAgentRelation, createFullGraphServerSide, createFullProjectServerSide, createInMemoryDatabaseClient, createKeyChainStore, createMessage, createNangoCredentialStore, createOrGetConversation, createProject, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentGraph, deleteAgentRelation, deleteAgentRelationsByGraph, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullGraph, deleteFullProject, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteTool, detectAuthenticationRequired, determineContextTrigger, discoverOAuthEndpoints, errorResponseSchema, errorSchemaFactory, externalAgentExists, externalAgentUrlExists, extractPublicId, fetchComponentRelationships, fetchDefinition, generateAndCreateApiKey, generateApiKey, getActiveAgentForConversation, getAgentById, getAgentGraphById, getAgentGraphWithDefaultAgent, getAgentRelationById, getAgentRelationByParams, getAgentRelations, getAgentRelationsByGraph, getAgentRelationsBySource, getAgentRelationsByTarget, getAgentToolRelationByAgent, getAgentToolRelationById, getAgentToolRelationByTool, getAgentsByIds, getAgentsForTool, getAgentsUsingArtifactComponent, getAgentsUsingDataComponent, getApiKeyById, getApiKeyByPublicId, getArtifactComponentById, getArtifactComponentsForAgent, getCacheEntry, getCachedValidator, getContextConfigById, getContextConfigCacheEntries, getContextConfigsByName, getConversation, getConversationCacheEntries, getConversationHistory, getCredentialReference, getCredentialReferenceById, getCredentialReferenceWithTools, getCredentialStoreLookupKeyFromRetrievalParams, getDataComponent, getDataComponentsForAgent, getExternalAgent, getExternalAgentByUrl, getExternalAgentRelations, getFullGraph, getFullGraphDefinition, getFullProject, getGraphAgentInfos, getHealthyToolsForAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getLogger, getMessageById, getMessagesByConversation, getMessagesByTask, getProject, getProjectResourceCounts, getRelatedAgentsForGraph, getRequestExecutionContext, getTask, getToolById, getToolsByStatus, getToolsForAgent, getTracer, getVisibleMessages, graphHasArtifactComponents, handleApiError, handleContextConfigChange, handleContextResolution, hasApiKey, hasContextConfig, hasCredentialReference, hashApiKey, invalidateInvocationDefinitionsCache, invalidateRequestContextCache, isApiKeyExpired, isArtifactComponentAssociatedWithAgent, isDataComponentAssociatedWithAgent, isValidHttpRequest, listAgentGraphs, listAgentGraphsPaginated, listAgentRelations, listAgentToolRelations, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listMessages, listProjects, listProjectsPaginated, listTaskIdsByContextId, listTools, listToolsByStatus, loadEnvironmentFiles, loggerFactory, maskApiKey, problemDetailsSchema, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, requestContextSchema, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, setSpanWithError, updateAgent, updateAgentGraph, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullGraphServerSide, updateFullProjectServerSide, updateMessage, updateProject, updateTask, updateTool, updateToolStatus, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertAgentGraph, upsertAgentRelation, upsertAgentToolRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateExternalAgent, validateHttpRequestHeaders, validateInternalAgent, validateProjectExists, validateRequestContext, validationHelper, withProjectValidation };
3879
+ export { AgentGraphInsert, AgentGraphUpdate, AgentInsert, AgentRelationInsert, AgentRelationUpdate, AgentScopeConfig, AgentSelect, AgentToolRelationUpdate, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, 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 CredentialReferenceWithTools, type CredentialResolverInput, CredentialStore, type CredentialStoreReference, CredentialStoreRegistry, CredentialStoreType, CredentialStuffer, DataComponentInsert, DataComponentSelect, DataComponentUpdate, type DatabaseClient, type DatabaseConfig, type DotPaths, ERROR_DOCS_BASE_URL, ErrorCode, type ErrorCodes, type ErrorResponse, ExecutionContext, ExternalAgentInsert, ExternalAgentRelationInsert, ExternalAgentSelect, ExternalAgentUpdate, type FetchResult, FullGraphDefinition, FullProjectDefinition, type GraphLogger, GraphScopeConfig, HTTP_REQUEST_PARTS, type HttpRequestPart, InMemoryCredentialStore, KeyChainStore, LedgerArtifactSelect, type LoggerFactoryConfig, MCPToolConfig, MCPTransportType, McpClient, type McpClientOptions, type McpSSEConfig, type McpServerConfig, type McpStreamableHttpConfig, McpTool, MessageContent, MessageInsert, MessageMetadata, MessageUpdate, MessageVisibility, NangoCredentialStore, type OAuthConfig, PaginationConfig, PaginationResult, type ParsedHttpRequest, PinoLogger, type PinoLoggerConfig, type ProblemDetails, ProjectInfo, ProjectInsert, type ProjectLogger, ProjectResourceCounts, ProjectScopeConfig, ProjectSelect, ProjectUpdate, type ResolvedContext, TaskInsert, TaskMetadataConfig, TaskSelect, type TemplateContext, TemplateEngine, type TemplateRenderOptions, ToolInsert, ToolMcpConfig, ToolSelect, ToolServerCapabilities, ToolUpdate, addLedgerArtifacts, addToolToAgent, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, contextConfig, contextValidationMiddleware, countApiKeys, countArtifactComponents, countArtifactComponentsForAgent, countContextConfigs, countCredentialReferences, countDataComponents, countExternalAgents, countLedgerArtifactsByTask, countMessagesByConversation, countProjects, createAgent, createAgentGraph, createAgentRelation, createAgentToolRelation, createApiError, createApiKey, createArtifactComponent, createContextConfig, createConversation, createCredentialReference, createDataComponent, createDatabaseClient, createDefaultCredentialStores, createExecutionContext, createExternalAgent, createExternalAgentRelation, createFullGraphServerSide, createFullProjectServerSide, createInMemoryDatabaseClient, createKeyChainStore, createMessage, createNangoCredentialStore, createOrGetConversation, createProject, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentGraph, deleteAgentRelation, deleteAgentRelationsByGraph, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullGraph, deleteFullProject, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteTool, detectAuthenticationRequired, determineContextTrigger, discoverOAuthEndpoints, errorResponseSchema, errorSchemaFactory, externalAgentExists, externalAgentUrlExists, extractPublicId, fetchComponentRelationships, fetchDefinition, generateAndCreateApiKey, generateApiKey, getActiveAgentForConversation, getAgentById, getAgentGraphById, getAgentGraphWithDefaultAgent, getAgentRelationById, getAgentRelationByParams, getAgentRelations, getAgentRelationsByGraph, getAgentRelationsBySource, getAgentRelationsByTarget, getAgentToolRelationByAgent, getAgentToolRelationById, getAgentToolRelationByTool, getAgentsByIds, getAgentsForTool, getAgentsUsingArtifactComponent, getAgentsUsingDataComponent, getApiKeyById, getApiKeyByPublicId, getArtifactComponentById, getArtifactComponentsForAgent, getCacheEntry, getCachedValidator, getContextConfigById, getContextConfigCacheEntries, getContextConfigsByName, getConversation, getConversationCacheEntries, getConversationHistory, getCredentialReference, getCredentialReferenceById, getCredentialReferenceWithTools, getCredentialStoreLookupKeyFromRetrievalParams, getDataComponent, getDataComponentsForAgent, getExternalAgent, getExternalAgentByUrl, getExternalAgentRelations, getFullGraph, getFullGraphDefinition, getFullProject, getGraphAgentInfos, getLedgerArtifacts, getLedgerArtifactsByContext, getLogger, getMessageById, getMessagesByConversation, getMessagesByTask, getProject, getProjectResourceCounts, getRelatedAgentsForGraph, getRequestExecutionContext, getTask, getToolById, getToolsForAgent, getTracer, getVisibleMessages, graphHasArtifactComponents, handleApiError, handleContextConfigChange, handleContextResolution, hasApiKey, hasContextConfig, hasCredentialReference, hashApiKey, invalidateInvocationDefinitionsCache, invalidateRequestContextCache, isApiKeyExpired, isArtifactComponentAssociatedWithAgent, isDataComponentAssociatedWithAgent, isValidHttpRequest, listAgentGraphs, listAgentGraphsPaginated, listAgentRelations, listAgentToolRelations, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listMessages, listProjects, listProjectsPaginated, listTaskIdsByContextId, listTools, loadEnvironmentFiles, loggerFactory, maskApiKey, problemDetailsSchema, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, requestContextSchema, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, setSpanWithError, updateAgent, updateAgentGraph, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullGraphServerSide, updateFullProjectServerSide, updateMessage, updateProject, updateTask, updateTool, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertAgentGraph, upsertAgentRelation, upsertAgentToolRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateExternalAgent, validateHttpRequestHeaders, validateInternalAgent, validateProjectExists, validateRequestContext, validationHelper, withProjectValidation };