@inkeep/agents-core 0.9.0 → 0.10.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.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-8RXSemmL.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-8RXSemmL.cjs';
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-D7QP8MkV.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-D7QP8MkV.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-B0z-X5Hq.cjs';
8
- export { k as agentArtifactComponents, O as agentArtifactComponentsRelations, i as agentDataComponents, Q as agentDataComponentsRelations, a as agentGraph, F as agentGraphRelations, e as agentRelations, S as agentRelationsRelations, m as agentToolRelations, I as agentToolRelationsRelations, d as agents, E as agentsRelations, r as apiKeys, H as apiKeysRelations, j as artifactComponents, N as artifactComponentsRelations, b as contextCache, D as contextCacheRelations, c as contextConfigs, C as contextConfigsRelations, n as conversations, L as conversationsRelations, u as credentialReferences, J as credentialReferencesRelations, h as dataComponents, P as dataComponentsRelations, f as externalAgents, G as externalAgentsRelations, q as ledgerArtifacts, x as ledgerArtifactsContextIdIdx, R as ledgerArtifactsRelations, y as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, w as ledgerArtifactsToolCallIdIdx, o as messages, M as messagesRelations, p as projects, A as projectsRelations, g as taskRelations, B as taskRelationsRelations, t as tasks, z as tasksRelations, l as tools, K as toolsRelations } from './schema-B0z-X5Hq.cjs';
7
+ import { s as schema } from './schema-BXVLXPQq.cjs';
8
+ export { k as agentArtifactComponents, O as agentArtifactComponentsRelations, i as agentDataComponents, Q as agentDataComponentsRelations, a as agentGraph, F as agentGraphRelations, e as agentRelations, S as agentRelationsRelations, m as agentToolRelations, I as agentToolRelationsRelations, d as agents, E as agentsRelations, r as apiKeys, H as apiKeysRelations, j as artifactComponents, N as artifactComponentsRelations, b as contextCache, D as contextCacheRelations, c as contextConfigs, C as contextConfigsRelations, n as conversations, L as conversationsRelations, u as credentialReferences, J as credentialReferencesRelations, h as dataComponents, P as dataComponentsRelations, f as externalAgents, G as externalAgentsRelations, q as ledgerArtifacts, x as ledgerArtifactsContextIdIdx, R as ledgerArtifactsRelations, y as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, w as ledgerArtifactsToolCallIdIdx, o as messages, M as messagesRelations, p as projects, A as projectsRelations, g as taskRelations, B as taskRelationsRelations, t as tasks, z as tasksRelations, l as tools, K as toolsRelations } from './schema-BXVLXPQq.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';
@@ -452,35 +452,6 @@ declare class KeyChainStore implements CredentialStore {
452
452
  */
453
453
  clearAll(): Promise<number>;
454
454
  }
455
- /**
456
- * Factory function to create KeyChainStore
457
- * Provides consistent initialization and optional configuration
458
- *
459
- * ## Usage Recommendations for macOS Permission Handling
460
- *
461
- * 1. **First-time setup**: Inform users that they may see permission prompts
462
- * 2. **Error handling**: Check for `null` returns from `get()` operations
463
- * 3. **User guidance**: If credentials can't be retrieved, guide users to:
464
- * - Check Keychain Access app for denied permissions
465
- * - Re-run the application if they accidentally clicked "Deny"
466
- * 4. **Development**: Use a consistent `servicePrefix` to avoid permission prompt spam
467
- * 5. **Production**: Consider code-signing your distributed app for better permission prompts
468
- *
469
- * Example usage with permission handling:
470
- * ```typescript
471
- * const store = createKeyChainStore('my-app');
472
- *
473
- * // Always check for null when retrieving
474
- * const apiKey = await store.get('api-key');
475
- * if (!apiKey) {
476
- * console.log('API key not found or access denied');
477
- * // Guide user to check permissions or re-enter credentials
478
- * }
479
- * ```
480
- */
481
- declare function createKeyChainStore(id: string, options?: {
482
- servicePrefix?: string;
483
- }): KeyChainStore;
484
455
 
485
456
  /**
486
457
  * In-memory credential store implementation
@@ -536,6 +507,14 @@ declare class NangoCredentialStore implements CredentialStore {
536
507
  constructor(id: string, config: NangoConfig);
537
508
  private getAccessToken;
538
509
  private sanitizeMetadata;
510
+ /**
511
+ * Fetch a specific Nango integration
512
+ */
513
+ private fetchNangoIntegration;
514
+ /**
515
+ * Create an API key credential by setting up Nango integration and importing the connection
516
+ */
517
+ private createNangoApiKeyConnection;
539
518
  /**
540
519
  * Fetch credentials from Nango API using connection information
541
520
  * @param connectionId - The connection ID for the Nango connection
@@ -551,7 +530,7 @@ declare class NangoCredentialStore implements CredentialStore {
551
530
  /**
552
531
  * Set credentials - not supported for Nango (OAuth flow handles this)
553
532
  */
554
- set(_key: string, _value: string): Promise<void>;
533
+ set(key: string, value: string): Promise<void>;
555
534
  /**
556
535
  * Check if credentials exist by attempting to fetch them
557
536
  */
@@ -772,14 +751,13 @@ declare class CredentialStuffer {
772
751
  declare const getAgentGraphById: (db: DatabaseClient) => (params: {
773
752
  scopes: GraphScopeConfig;
774
753
  }) => Promise<{
754
+ name: string;
775
755
  tenantId: string;
776
756
  projectId: string;
777
757
  id: string;
778
- name: string;
779
- description: string | null;
780
758
  createdAt: string;
781
759
  updatedAt: string;
782
- defaultAgentId: string | null;
760
+ description: string | null;
783
761
  models: {
784
762
  base?: {
785
763
  model?: string | undefined;
@@ -797,6 +775,7 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
797
775
  stopWhen: {
798
776
  transferCountIs?: number | undefined;
799
777
  } | null;
778
+ defaultAgentId: string | null;
800
779
  contextConfigId: string | null;
801
780
  statusUpdates: {
802
781
  enabled?: boolean | undefined;
@@ -818,14 +797,13 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
818
797
  declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
819
798
  scopes: GraphScopeConfig;
820
799
  }) => Promise<{
800
+ name: string;
821
801
  tenantId: string;
822
802
  projectId: string;
823
803
  id: string;
824
- name: string;
825
- description: string | null;
826
804
  createdAt: string;
827
805
  updatedAt: string;
828
- defaultAgentId: string | null;
806
+ description: string | null;
829
807
  models: {
830
808
  base?: {
831
809
  model?: string | undefined;
@@ -843,6 +821,7 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
843
821
  stopWhen: {
844
822
  transferCountIs?: number | undefined;
845
823
  } | null;
824
+ defaultAgentId: string | null;
846
825
  contextConfigId: string | null;
847
826
  statusUpdates: {
848
827
  enabled?: boolean | undefined;
@@ -861,16 +840,13 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
861
840
  } | null;
862
841
  graphPrompt: string | null;
863
842
  defaultAgent: {
843
+ name: string;
864
844
  tenantId: string;
865
845
  projectId: string;
866
846
  id: string;
867
- name: string;
868
- description: string;
869
- prompt: string;
870
- graphId: string;
871
847
  createdAt: string;
872
848
  updatedAt: string;
873
- conversationHistoryConfig: ConversationHistoryConfig | null;
849
+ description: string;
874
850
  models: {
875
851
  base?: {
876
852
  model?: string | undefined;
@@ -888,19 +864,21 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
888
864
  stopWhen: {
889
865
  stepCountIs?: number | undefined;
890
866
  } | null;
867
+ prompt: string;
868
+ graphId: string;
869
+ conversationHistoryConfig: ConversationHistoryConfig | null;
891
870
  } | null;
892
871
  } | null>;
893
872
  declare const listAgentGraphs: (db: DatabaseClient) => (params: {
894
873
  scopes: ProjectScopeConfig;
895
874
  }) => Promise<{
875
+ name: string;
896
876
  tenantId: string;
897
877
  projectId: string;
898
878
  id: string;
899
- name: string;
900
- description: string | null;
901
879
  createdAt: string;
902
880
  updatedAt: string;
903
- defaultAgentId: string | null;
881
+ description: string | null;
904
882
  models: {
905
883
  base?: {
906
884
  model?: string | undefined;
@@ -918,6 +896,7 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
918
896
  stopWhen: {
919
897
  transferCountIs?: number | undefined;
920
898
  } | null;
899
+ defaultAgentId: string | null;
921
900
  contextConfigId: string | null;
922
901
  statusUpdates: {
923
902
  enabled?: boolean | undefined;
@@ -992,14 +971,13 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
992
971
  };
993
972
  }>;
994
973
  declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
974
+ name: string;
995
975
  tenantId: string;
996
976
  projectId: string;
997
977
  id: string;
998
- name: string;
999
- description: string | null;
1000
978
  createdAt: string;
1001
979
  updatedAt: string;
1002
- defaultAgentId: string | null;
980
+ description: string | null;
1003
981
  models: {
1004
982
  base?: {
1005
983
  model?: string | undefined;
@@ -1017,6 +995,7 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1017
995
  stopWhen: {
1018
996
  transferCountIs?: number | undefined;
1019
997
  } | null;
998
+ defaultAgentId: string | null;
1020
999
  contextConfigId: string | null;
1021
1000
  statusUpdates: {
1022
1001
  enabled?: boolean | undefined;
@@ -1039,14 +1018,13 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1039
1018
  scopes: GraphScopeConfig;
1040
1019
  data: AgentGraphUpdate;
1041
1020
  }) => Promise<{
1021
+ name: string;
1042
1022
  tenantId: string;
1043
1023
  projectId: string;
1044
1024
  id: string;
1045
- name: string;
1046
- description: string | null;
1047
1025
  createdAt: string;
1048
1026
  updatedAt: string;
1049
- defaultAgentId: string | null;
1027
+ description: string | null;
1050
1028
  models: {
1051
1029
  base?: {
1052
1030
  model?: string | undefined;
@@ -1064,6 +1042,7 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1064
1042
  stopWhen: {
1065
1043
  transferCountIs?: number | undefined;
1066
1044
  } | null;
1045
+ defaultAgentId: string | null;
1067
1046
  contextConfigId: string | null;
1068
1047
  statusUpdates: {
1069
1048
  enabled?: boolean | undefined;
@@ -1121,9 +1100,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
1121
1100
  tenantId: string;
1122
1101
  projectId: string;
1123
1102
  id: string;
1124
- graphId: string;
1125
1103
  createdAt: string;
1126
1104
  updatedAt: string;
1105
+ graphId: string;
1127
1106
  sourceAgentId: string;
1128
1107
  targetAgentId: string | null;
1129
1108
  externalAgentId: string | null;
@@ -1158,9 +1137,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
1158
1137
  tenantId: string;
1159
1138
  projectId: string;
1160
1139
  id: string;
1161
- graphId: string;
1162
1140
  createdAt: string;
1163
1141
  updatedAt: string;
1142
+ graphId: string;
1164
1143
  sourceAgentId: string;
1165
1144
  targetAgentId: string | null;
1166
1145
  externalAgentId: string | null;
@@ -1172,9 +1151,9 @@ declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
1172
1151
  tenantId: string;
1173
1152
  projectId: string;
1174
1153
  id: string;
1175
- graphId: string;
1176
1154
  createdAt: string;
1177
1155
  updatedAt: string;
1156
+ graphId: string;
1178
1157
  sourceAgentId: string;
1179
1158
  targetAgentId: string | null;
1180
1159
  externalAgentId: string | null;
@@ -1277,9 +1256,9 @@ declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1277
1256
  tenantId: string;
1278
1257
  projectId: string;
1279
1258
  id: string;
1280
- graphId: string;
1281
1259
  createdAt: string;
1282
1260
  updatedAt: string;
1261
+ graphId: string;
1283
1262
  sourceAgentId: string;
1284
1263
  targetAgentId: string | null;
1285
1264
  externalAgentId: string | null;
@@ -1298,9 +1277,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1298
1277
  tenantId: string;
1299
1278
  projectId: string;
1300
1279
  id: string;
1301
- graphId: string;
1302
1280
  createdAt: string;
1303
1281
  updatedAt: string;
1282
+ graphId: string;
1304
1283
  sourceAgentId: string;
1305
1284
  targetAgentId: string | null;
1306
1285
  externalAgentId: string | null;
@@ -1313,9 +1292,9 @@ declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1313
1292
  tenantId: string;
1314
1293
  projectId: string;
1315
1294
  id: string;
1316
- graphId: string;
1317
1295
  createdAt: string;
1318
1296
  updatedAt: string;
1297
+ graphId: string;
1319
1298
  sourceAgentId: string;
1320
1299
  targetAgentId: string | null;
1321
1300
  externalAgentId: string | null;
@@ -1325,9 +1304,9 @@ declare const createExternalAgentRelation: (db: DatabaseClient) => (params: Exte
1325
1304
  tenantId: string;
1326
1305
  projectId: string;
1327
1306
  id: string;
1328
- graphId: string;
1329
1307
  createdAt: string;
1330
1308
  updatedAt: string;
1309
+ graphId: string;
1331
1310
  sourceAgentId: string;
1332
1311
  targetAgentId: string | null;
1333
1312
  externalAgentId: string | null;
@@ -1341,9 +1320,9 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
1341
1320
  tenantId: string;
1342
1321
  projectId: string;
1343
1322
  id: string;
1344
- graphId: string;
1345
1323
  createdAt: string;
1346
1324
  updatedAt: string;
1325
+ graphId: string;
1347
1326
  sourceAgentId: string;
1348
1327
  targetAgentId: string | null;
1349
1328
  externalAgentId: string | null;
@@ -1369,13 +1348,13 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
1369
1348
  tenantId: string;
1370
1349
  projectId: string;
1371
1350
  id: string;
1372
- graphId: string;
1373
1351
  createdAt: string;
1374
1352
  updatedAt: string;
1375
1353
  headers: Record<string, string> | null;
1376
- toolId: string;
1377
1354
  selectedTools: string[] | null;
1355
+ graphId: string;
1378
1356
  agentId: string;
1357
+ toolId: string;
1379
1358
  }>;
1380
1359
  declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1381
1360
  scopes: GraphScopeConfig;
@@ -1385,13 +1364,13 @@ declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1385
1364
  tenantId: string;
1386
1365
  projectId: string;
1387
1366
  id: string;
1388
- graphId: string;
1389
1367
  createdAt: string;
1390
1368
  updatedAt: string;
1391
1369
  headers: Record<string, string> | null;
1392
- toolId: string;
1393
1370
  selectedTools: string[] | null;
1371
+ graphId: string;
1394
1372
  agentId: string;
1373
+ toolId: string;
1395
1374
  }>;
1396
1375
  declare const deleteAgentToolRelation: (db: DatabaseClient) => (params: {
1397
1376
  scopes: GraphScopeConfig;
@@ -1407,13 +1386,13 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
1407
1386
  tenantId: string;
1408
1387
  projectId: string;
1409
1388
  id: string;
1410
- graphId: string;
1411
1389
  createdAt: string;
1412
1390
  updatedAt: string;
1413
1391
  headers: Record<string, string> | null;
1414
- toolId: string;
1415
1392
  selectedTools: string[] | null;
1393
+ graphId: string;
1416
1394
  agentId: string;
1395
+ toolId: string;
1417
1396
  } | undefined>;
1418
1397
  declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
1419
1398
  scopes: AgentScopeConfig;
@@ -1582,16 +1561,13 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1582
1561
  scopes: GraphScopeConfig;
1583
1562
  agentId: string;
1584
1563
  }) => Promise<{
1564
+ name: string;
1585
1565
  tenantId: string;
1586
1566
  projectId: string;
1587
1567
  id: string;
1588
- name: string;
1589
- description: string;
1590
- prompt: string;
1591
- graphId: string;
1592
1568
  createdAt: string;
1593
1569
  updatedAt: string;
1594
- conversationHistoryConfig: ConversationHistoryConfig | null;
1570
+ description: string;
1595
1571
  models: {
1596
1572
  base?: {
1597
1573
  model?: string | undefined;
@@ -1609,20 +1585,20 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1609
1585
  stopWhen: {
1610
1586
  stepCountIs?: number | undefined;
1611
1587
  } | null;
1588
+ prompt: string;
1589
+ graphId: string;
1590
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1612
1591
  } | undefined>;
1613
1592
  declare const listAgents: (db: DatabaseClient) => (params: {
1614
1593
  scopes: GraphScopeConfig;
1615
1594
  }) => Promise<{
1595
+ name: string;
1616
1596
  tenantId: string;
1617
1597
  projectId: string;
1618
1598
  id: string;
1619
- name: string;
1620
- description: string;
1621
- prompt: string;
1622
- graphId: string;
1623
1599
  createdAt: string;
1624
1600
  updatedAt: string;
1625
- conversationHistoryConfig: ConversationHistoryConfig | null;
1601
+ description: string;
1626
1602
  models: {
1627
1603
  base?: {
1628
1604
  model?: string | undefined;
@@ -1640,6 +1616,9 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1640
1616
  stopWhen: {
1641
1617
  stepCountIs?: number | undefined;
1642
1618
  } | null;
1619
+ prompt: string;
1620
+ graphId: string;
1621
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1643
1622
  }[]>;
1644
1623
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1645
1624
  scopes: GraphScopeConfig;
@@ -1682,16 +1661,13 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1682
1661
  };
1683
1662
  }>;
1684
1663
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1664
+ name: string;
1685
1665
  tenantId: string;
1686
1666
  projectId: string;
1687
1667
  id: string;
1688
- name: string;
1689
- description: string;
1690
- prompt: string;
1691
- graphId: string;
1692
1668
  createdAt: string;
1693
1669
  updatedAt: string;
1694
- conversationHistoryConfig: ConversationHistoryConfig | null;
1670
+ description: string;
1695
1671
  models: {
1696
1672
  base?: {
1697
1673
  model?: string | undefined;
@@ -1709,22 +1685,22 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1709
1685
  stopWhen: {
1710
1686
  stepCountIs?: number | undefined;
1711
1687
  } | null;
1688
+ prompt: string;
1689
+ graphId: string;
1690
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1712
1691
  }>;
1713
1692
  declare const updateAgent: (db: DatabaseClient) => (params: {
1714
1693
  scopes: GraphScopeConfig;
1715
1694
  agentId: string;
1716
1695
  data: AgentUpdate;
1717
1696
  }) => Promise<{
1697
+ name: string;
1718
1698
  tenantId: string;
1719
1699
  projectId: string;
1720
1700
  id: string;
1721
- name: string;
1722
- description: string;
1723
- prompt: string;
1724
- graphId: string;
1725
1701
  createdAt: string;
1726
1702
  updatedAt: string;
1727
- conversationHistoryConfig: ConversationHistoryConfig | null;
1703
+ description: string;
1728
1704
  models: {
1729
1705
  base?: {
1730
1706
  model?: string | undefined;
@@ -1742,6 +1718,9 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1742
1718
  stopWhen: {
1743
1719
  stepCountIs?: number | undefined;
1744
1720
  } | null;
1721
+ prompt: string;
1722
+ graphId: string;
1723
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1745
1724
  }>;
1746
1725
  /**
1747
1726
  * Upsert agent (create if it doesn't exist, update if it does)
@@ -1790,49 +1769,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
1790
1769
  scopes: ProjectScopeConfig;
1791
1770
  id: string;
1792
1771
  }) => Promise<{
1772
+ name: string | null;
1793
1773
  tenantId: string;
1794
1774
  projectId: string;
1795
1775
  id: string;
1796
- name: string | null;
1776
+ createdAt: string;
1777
+ updatedAt: string;
1797
1778
  graphId: string;
1798
1779
  publicId: string;
1799
1780
  keyHash: string;
1800
1781
  keyPrefix: string;
1801
1782
  lastUsedAt: string | null;
1802
1783
  expiresAt: string | null;
1803
- createdAt: string;
1804
- updatedAt: string;
1805
1784
  } | undefined>;
1806
1785
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1786
+ name: string | null;
1807
1787
  tenantId: string;
1808
1788
  projectId: string;
1809
1789
  id: string;
1810
- name: string | null;
1790
+ createdAt: string;
1791
+ updatedAt: string;
1811
1792
  graphId: string;
1812
1793
  publicId: string;
1813
1794
  keyHash: string;
1814
1795
  keyPrefix: string;
1815
1796
  lastUsedAt: string | null;
1816
1797
  expiresAt: string | null;
1817
- createdAt: string;
1818
- updatedAt: string;
1819
1798
  } | undefined>;
1820
1799
  declare const listApiKeys: (db: DatabaseClient) => (params: {
1821
1800
  scopes: ProjectScopeConfig;
1822
1801
  graphId?: string;
1823
1802
  }) => Promise<{
1803
+ name: string | null;
1824
1804
  tenantId: string;
1825
1805
  projectId: string;
1826
1806
  id: string;
1827
- name: string | null;
1807
+ createdAt: string;
1808
+ updatedAt: string;
1828
1809
  graphId: string;
1829
1810
  publicId: string;
1830
1811
  keyHash: string;
1831
1812
  keyPrefix: string;
1832
1813
  lastUsedAt: string | null;
1833
1814
  expiresAt: string | null;
1834
- createdAt: string;
1835
- updatedAt: string;
1836
1815
  }[]>;
1837
1816
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1838
1817
  scopes: ProjectScopeConfig;
@@ -1848,36 +1827,36 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1848
1827
  };
1849
1828
  }>;
1850
1829
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
1830
+ name: string | null;
1851
1831
  tenantId: string;
1852
1832
  projectId: string;
1853
1833
  id: string;
1854
- name: string | null;
1834
+ createdAt: string;
1835
+ updatedAt: string;
1855
1836
  graphId: string;
1856
1837
  publicId: string;
1857
1838
  keyHash: string;
1858
1839
  keyPrefix: string;
1859
1840
  lastUsedAt: string | null;
1860
1841
  expiresAt: string | null;
1861
- createdAt: string;
1862
- updatedAt: string;
1863
1842
  }>;
1864
1843
  declare const updateApiKey: (db: DatabaseClient) => (params: {
1865
1844
  scopes: ProjectScopeConfig;
1866
1845
  id: string;
1867
1846
  data: ApiKeyUpdate;
1868
1847
  }) => Promise<{
1848
+ name: string | null;
1869
1849
  tenantId: string;
1870
1850
  projectId: string;
1871
1851
  id: string;
1872
- name: string | null;
1852
+ createdAt: string;
1853
+ updatedAt: string;
1873
1854
  graphId: string;
1874
1855
  publicId: string;
1875
1856
  keyHash: string;
1876
1857
  keyPrefix: string;
1877
1858
  lastUsedAt: string | null;
1878
1859
  expiresAt: string | null;
1879
- createdAt: string;
1880
- updatedAt: string;
1881
1860
  }>;
1882
1861
  declare const deleteApiKey: (db: DatabaseClient) => (params: {
1883
1862
  scopes: ProjectScopeConfig;
@@ -1906,13 +1885,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1906
1885
  scopes: ProjectScopeConfig;
1907
1886
  id: string;
1908
1887
  }) => Promise<{
1888
+ name: string;
1909
1889
  tenantId: string;
1910
1890
  projectId: string;
1911
1891
  id: string;
1912
- name: string;
1913
- description: string;
1914
1892
  createdAt: string;
1915
1893
  updatedAt: string;
1894
+ description: string;
1916
1895
  summaryProps: Record<string, unknown> | null;
1917
1896
  fullProps: Record<string, unknown> | null;
1918
1897
  } | undefined>;
@@ -1942,13 +1921,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
1942
1921
  };
1943
1922
  }>;
1944
1923
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
1924
+ name: string;
1945
1925
  tenantId: string;
1946
1926
  projectId: string;
1947
1927
  id: string;
1948
- name: string;
1949
- description: string;
1950
1928
  createdAt: string;
1951
1929
  updatedAt: string;
1930
+ description: string;
1952
1931
  summaryProps: Record<string, unknown> | null;
1953
1932
  fullProps: Record<string, unknown> | null;
1954
1933
  }>;
@@ -1957,13 +1936,13 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
1957
1936
  id: string;
1958
1937
  data: ArtifactComponentUpdate;
1959
1938
  }) => Promise<{
1939
+ name: string;
1960
1940
  tenantId: string;
1961
1941
  projectId: string;
1962
1942
  id: string;
1963
- name: string;
1964
- description: string;
1965
1943
  createdAt: string;
1966
1944
  updatedAt: string;
1945
+ description: string;
1967
1946
  summaryProps: Record<string, unknown> | null;
1968
1947
  fullProps: Record<string, unknown> | null;
1969
1948
  }>;
@@ -1991,8 +1970,8 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
1991
1970
  tenantId: string;
1992
1971
  projectId: string;
1993
1972
  id: string;
1994
- graphId: string;
1995
1973
  createdAt: string;
1974
+ graphId: string;
1996
1975
  agentId: string;
1997
1976
  artifactComponentId: string;
1998
1977
  }>;
@@ -2034,8 +2013,8 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
2034
2013
  tenantId: string;
2035
2014
  projectId: string;
2036
2015
  id: string;
2037
- graphId: string;
2038
2016
  createdAt: string;
2017
+ graphId: string;
2039
2018
  agentId: string;
2040
2019
  artifactComponentId: string;
2041
2020
  } | null>;
@@ -2115,26 +2094,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2115
2094
  scopes: ProjectScopeConfig;
2116
2095
  id: string;
2117
2096
  }) => Promise<{
2097
+ name: string;
2118
2098
  tenantId: string;
2119
2099
  projectId: string;
2120
2100
  id: string;
2121
- name: string;
2122
- description: string;
2123
2101
  createdAt: string;
2124
2102
  updatedAt: string;
2103
+ description: string;
2125
2104
  requestContextSchema: unknown;
2126
2105
  contextVariables: Record<string, ContextFetchDefinition> | null;
2127
2106
  } | undefined>;
2128
2107
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2129
2108
  scopes: ProjectScopeConfig;
2130
2109
  }) => Promise<{
2110
+ name: string;
2131
2111
  tenantId: string;
2132
2112
  projectId: string;
2133
2113
  id: string;
2134
- name: string;
2135
- description: string;
2136
2114
  createdAt: string;
2137
2115
  updatedAt: string;
2116
+ description: string;
2138
2117
  requestContextSchema: unknown;
2139
2118
  contextVariables: Record<string, ContextFetchDefinition> | null;
2140
2119
  }[]>;
@@ -2151,13 +2130,13 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2151
2130
  };
2152
2131
  }>;
2153
2132
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
2133
+ name: string;
2154
2134
  tenantId: string;
2155
2135
  projectId: string;
2156
2136
  id: string;
2157
- name: string;
2158
- description: string;
2159
2137
  createdAt: string;
2160
2138
  updatedAt: string;
2139
+ description: string;
2161
2140
  requestContextSchema: unknown;
2162
2141
  contextVariables: Record<string, ContextFetchDefinition> | null;
2163
2142
  }>;
@@ -2166,13 +2145,13 @@ declare const updateContextConfig: (db: DatabaseClient) => (params: {
2166
2145
  id: string;
2167
2146
  data: Partial<ContextConfigUpdate>;
2168
2147
  }) => Promise<{
2148
+ name: string;
2169
2149
  tenantId: string;
2170
2150
  projectId: string;
2171
2151
  id: string;
2172
- name: string;
2173
- description: string;
2174
2152
  createdAt: string;
2175
2153
  updatedAt: string;
2154
+ description: string;
2176
2155
  requestContextSchema: unknown;
2177
2156
  contextVariables: Record<string, ContextFetchDefinition> | null;
2178
2157
  }>;
@@ -2191,13 +2170,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2191
2170
  scopes: ProjectScopeConfig;
2192
2171
  name: string;
2193
2172
  }) => Promise<{
2173
+ name: string;
2194
2174
  tenantId: string;
2195
2175
  projectId: string;
2196
2176
  id: string;
2197
- name: string;
2198
- description: string;
2199
2177
  createdAt: string;
2200
2178
  updatedAt: string;
2179
+ description: string;
2201
2180
  requestContextSchema: unknown;
2202
2181
  contextVariables: Record<string, ContextFetchDefinition> | null;
2203
2182
  }[]>;
@@ -2207,13 +2186,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2207
2186
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
2208
2187
  data: ContextConfigInsert;
2209
2188
  }) => Promise<{
2189
+ name: string;
2210
2190
  tenantId: string;
2211
2191
  projectId: string;
2212
2192
  id: string;
2213
- name: string;
2214
- description: string;
2215
2193
  createdAt: string;
2216
2194
  updatedAt: string;
2195
+ description: string;
2217
2196
  requestContextSchema: unknown;
2218
2197
  contextVariables: Record<string, ContextFetchDefinition> | null;
2219
2198
  }>;
@@ -2488,8 +2467,8 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
2488
2467
  tenantId: string;
2489
2468
  projectId: string;
2490
2469
  id: string;
2491
- graphId: string;
2492
2470
  createdAt: string;
2471
+ graphId: string;
2493
2472
  agentId: string;
2494
2473
  dataComponentId: string;
2495
2474
  }>;
@@ -2530,8 +2509,8 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
2530
2509
  tenantId: string;
2531
2510
  projectId: string;
2532
2511
  id: string;
2533
- graphId: string;
2534
2512
  createdAt: string;
2513
+ graphId: string;
2535
2514
  agentId: string;
2536
2515
  dataComponentId: string;
2537
2516
  } | null>;
@@ -3059,19 +3038,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3059
3038
  scopes: ProjectScopeConfig;
3060
3039
  toolId: string;
3061
3040
  }) => Promise<{
3041
+ name: string;
3062
3042
  tenantId: string;
3063
3043
  projectId: string;
3064
3044
  id: string;
3065
- name: string;
3066
- config: {
3067
- type: "mcp";
3068
- mcp: ToolMcpConfig;
3069
- };
3070
- credentialReferenceId: string | null;
3071
3045
  createdAt: string;
3072
3046
  updatedAt: string;
3047
+ credentialReferenceId: string | null;
3073
3048
  headers: Record<string, string> | null;
3074
3049
  capabilities: ToolServerCapabilities | null;
3050
+ config: {
3051
+ type: "mcp";
3052
+ mcp: ToolMcpConfig;
3053
+ };
3075
3054
  imageUrl: string | null;
3076
3055
  lastError: string | null;
3077
3056
  } | null>;
@@ -3104,19 +3083,19 @@ declare const listTools: (db: DatabaseClient) => (params: {
3104
3083
  };
3105
3084
  }>;
3106
3085
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3086
+ name: string;
3107
3087
  tenantId: string;
3108
3088
  projectId: string;
3109
3089
  id: string;
3110
- name: string;
3111
- config: {
3112
- type: "mcp";
3113
- mcp: ToolMcpConfig;
3114
- };
3115
- credentialReferenceId: string | null;
3116
3090
  createdAt: string;
3117
3091
  updatedAt: string;
3092
+ credentialReferenceId: string | null;
3118
3093
  headers: Record<string, string> | null;
3119
3094
  capabilities: ToolServerCapabilities | null;
3095
+ config: {
3096
+ type: "mcp";
3097
+ mcp: ToolMcpConfig;
3098
+ };
3120
3099
  imageUrl: string | null;
3121
3100
  lastError: string | null;
3122
3101
  }>;
@@ -3125,19 +3104,19 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3125
3104
  toolId: string;
3126
3105
  data: ToolUpdate;
3127
3106
  }) => Promise<{
3107
+ name: string;
3128
3108
  tenantId: string;
3129
3109
  projectId: string;
3130
3110
  id: string;
3131
- name: string;
3132
- config: {
3133
- type: "mcp";
3134
- mcp: ToolMcpConfig;
3135
- };
3136
- credentialReferenceId: string | null;
3137
3111
  createdAt: string;
3138
3112
  updatedAt: string;
3113
+ credentialReferenceId: string | null;
3139
3114
  headers: Record<string, string> | null;
3140
3115
  capabilities: ToolServerCapabilities | null;
3116
+ config: {
3117
+ type: "mcp";
3118
+ mcp: ToolMcpConfig;
3119
+ };
3141
3120
  imageUrl: string | null;
3142
3121
  lastError: string | null;
3143
3122
  }>;
@@ -3155,13 +3134,13 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
3155
3134
  tenantId: string;
3156
3135
  projectId: string;
3157
3136
  id: string;
3158
- graphId: string;
3159
3137
  createdAt: string;
3160
3138
  updatedAt: string;
3161
3139
  headers: Record<string, string> | null;
3162
- toolId: string;
3163
3140
  selectedTools: string[] | null;
3141
+ graphId: string;
3164
3142
  agentId: string;
3143
+ toolId: string;
3165
3144
  }>;
3166
3145
  declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3167
3146
  scopes: GraphScopeConfig;
@@ -3171,13 +3150,13 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3171
3150
  tenantId: string;
3172
3151
  projectId: string;
3173
3152
  id: string;
3174
- graphId: string;
3175
3153
  createdAt: string;
3176
3154
  updatedAt: string;
3177
3155
  headers: Record<string, string> | null;
3178
- toolId: string;
3179
3156
  selectedTools: string[] | null;
3157
+ graphId: string;
3180
3158
  agentId: string;
3159
+ toolId: string;
3181
3160
  }>;
3182
3161
  /**
3183
3162
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -3193,13 +3172,13 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3193
3172
  tenantId: string;
3194
3173
  projectId: string;
3195
3174
  id: string;
3196
- graphId: string;
3197
3175
  createdAt: string;
3198
3176
  updatedAt: string;
3199
3177
  headers: Record<string, string> | null;
3200
- toolId: string;
3201
3178
  selectedTools: string[] | null;
3179
+ graphId: string;
3202
3180
  agentId: string;
3181
+ toolId: string;
3203
3182
  }>;
3204
3183
  /**
3205
3184
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -3207,19 +3186,19 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3207
3186
  declare const upsertTool: (db: DatabaseClient) => (params: {
3208
3187
  data: ToolInsert;
3209
3188
  }) => Promise<{
3189
+ name: string;
3210
3190
  tenantId: string;
3211
3191
  projectId: string;
3212
3192
  id: string;
3213
- name: string;
3214
- config: {
3215
- type: "mcp";
3216
- mcp: ToolMcpConfig;
3217
- };
3218
- credentialReferenceId: string | null;
3219
3193
  createdAt: string;
3220
3194
  updatedAt: string;
3195
+ credentialReferenceId: string | null;
3221
3196
  headers: Record<string, string> | null;
3222
3197
  capabilities: ToolServerCapabilities | null;
3198
+ config: {
3199
+ type: "mcp";
3200
+ mcp: ToolMcpConfig;
3201
+ };
3223
3202
  imageUrl: string | null;
3224
3203
  lastError: string | null;
3225
3204
  }>;
@@ -3906,4 +3885,4 @@ declare function setSpanWithError(span: Span, error: unknown, logger?: {
3906
3885
  */
3907
3886
  declare function getTracer(serviceName: string, serviceVersion?: string): Tracer;
3908
3887
 
3909
- 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, upsertLedgerArtifact, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateExternalAgent, validateHttpRequestHeaders, validateInternalAgent, validateProjectExists, validateRequestContext, validationHelper, withProjectValidation };
3888
+ 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, 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, upsertLedgerArtifact, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateExternalAgent, validateHttpRequestHeaders, validateInternalAgent, validateProjectExists, validateRequestContext, validationHelper, withProjectValidation };