@inkeep/agents-core 0.0.0-dev-20250910234950 → 0.0.0-dev-20250911002844

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/v4';
2
- import { R as RequestSchemaDefinition, g as RequestSchemaConfig, C as ContextFetchDefinition, h as ContextConfigSelect, F as FetchDefinition, i as MCPToolConfig, S as ScopeConfig, a as ConversationHistoryConfig, j as PaginationConfig, A as AgentGraphInsert, k as AgentGraphUpdate, l as FullGraphDefinition, m as AgentRelationInsert, E as ExternalAgentRelationInsert, n as AgentRelationUpdate, o as AgentToolRelationUpdate, b as ToolMcpConfig, c as ToolServerCapabilities, M as McpToolDefinition, p as AgentInsert, q as AgentUpdate, r as AgentSelect, s as ApiKeySelect, t as ApiKeyInsert, u as ApiKeyUpdate, v as CreateApiKeyParams, w as ApiKeyCreateResult, x as ArtifactComponentSelect, y as ArtifactComponentInsert, z as ArtifactComponentUpdate, B as ContextCacheSelect, D as ContextCacheInsert, G as ContextConfigInsert, H as ContextConfigUpdate, I as ConversationSelect, J as ConversationInsert, d as ConversationMetadata, K as ConversationUpdate, L as CredentialReferenceSelect, N as ToolSelect, O as CredentialReferenceInsert, Q as CredentialReferenceUpdate, U as DataComponentSelect, V as DataComponentInsert, W as DataComponentUpdate, X as ExternalAgentInsert, Y as ExternalAgentSelect, Z as ExternalAgentUpdate, _ as Artifact, $ as LedgerArtifactSelect, f as MessageMetadata, e as MessageContent, a0 as MessageVisibility, a1 as MessageInsert, a2 as MessageUpdate, a3 as ProjectInfo, a4 as ProjectSelect, a5 as PaginationResult, a6 as ProjectResourceCounts, a7 as ProjectInsert, a8 as ProjectUpdate, a9 as TaskInsert, T as TaskMetadataConfig, aa as TaskSelect, ab as McpTool, ac as McpToolStatus, ad as ToolInsert, ae as ToolUpdate, af as ExecutionContext } from './utility-D2Lb-YAS.cjs';
3
- export { aT as A2AError, bn as A2ARequest, bo as A2AResponse, as as APIKeySecurityScheme, bs as AgentApiInsert, dg as AgentApiInsertSchema, br as AgentApiSelect, df as AgentApiSelectSchema, bt as AgentApiUpdate, dh as AgentApiUpdateSchema, cl as AgentArtifactComponentApiInsert, es as AgentArtifactComponentApiInsertSchema, ck as AgentArtifactComponentApiSelect, er as AgentArtifactComponentApiSelectSchema, cm as AgentArtifactComponentApiUpdate, et as AgentArtifactComponentApiUpdateSchema, ci as AgentArtifactComponentInsert, ep as AgentArtifactComponentInsertSchema, ch as AgentArtifactComponentSelect, eo as AgentArtifactComponentSelectSchema, cj as AgentArtifactComponentUpdate, eq as AgentArtifactComponentUpdateSchema, ao as AgentCapabilities, aC as AgentCard, cY as AgentConversationHistoryConfig, cc as AgentDataComponentApiInsert, eg as AgentDataComponentApiInsertSchema, cb as AgentDataComponentApiSelect, ef as AgentDataComponentApiSelectSchema, cd as AgentDataComponentApiUpdate, eh as AgentDataComponentApiUpdateSchema, c9 as AgentDataComponentInsert, ed as AgentDataComponentInsertSchema, c8 as AgentDataComponentSelect, ec as AgentDataComponentSelectSchema, ca as AgentDataComponentUpdate, ee as AgentDataComponentUpdateSchema, cK as AgentDefinition, bC as AgentGraphApiInsert, dw as AgentGraphApiInsertSchema, bB as AgentGraphApiSelect, dv as AgentGraphApiSelectSchema, bD as AgentGraphApiUpdate, dx as AgentGraphApiUpdateSchema, dt as AgentGraphInsertSchema, bA as AgentGraphSelect, ds as AgentGraphSelectSchema, du as AgentGraphUpdateSchema, dd as AgentInsertSchema, ap as AgentProvider, bw as AgentRelationApiInsert, dm as AgentRelationApiInsertSchema, bv as AgentRelationApiSelect, dl as AgentRelationApiSelectSchema, bx as AgentRelationApiUpdate, dn as AgentRelationApiUpdateSchema, dj as AgentRelationInsertSchema, by as AgentRelationQuery, dp as AgentRelationQuerySchema, bu as AgentRelationSelect, di as AgentRelationSelectSchema, dk as AgentRelationUpdateSchema, dc as AgentSelectSchema, aq as AgentSkill, cB as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cA as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cC as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cz as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cy as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, de as AgentUpdateSchema, eA as AllAgentSchema, cq as AllAgentSelect, cu as ApiKeyApiCreationResponse, eF as ApiKeyApiCreationResponseSchema, cs as ApiKeyApiInsert, eG as ApiKeyApiInsertSchema, cr as ApiKeyApiSelect, eE as ApiKeyApiSelectSchema, ct as ApiKeyApiUpdate, eH as ApiKeyApiUpdateSchema, eC as ApiKeyInsertSchema, eB as ApiKeySelectSchema, eD as ApiKeyUpdateSchema, cf as ArtifactComponentApiInsert, em as ArtifactComponentApiInsertSchema, ce as ArtifactComponentApiSelect, el as ArtifactComponentApiSelectSchema, cg as ArtifactComponentApiUpdate, en as ArtifactComponentApiUpdateSchema, ej as ArtifactComponentInsertSchema, ei as ArtifactComponentSelectSchema, ek as ArtifactComponentUpdateSchema, av as AuthorizationCodeOAuthFlow, b7 as CancelTaskRequest, bi as CancelTaskResponse, bh as CancelTaskSuccessResponse, aw as ClientCredentialsOAuthFlow, aR as ContentTypeNotSupportedError, c3 as ContextCacheApiInsert, e3 as ContextCacheApiInsertSchema, c2 as ContextCacheApiSelect, e2 as ContextCacheApiSelectSchema, c4 as ContextCacheApiUpdate, e4 as ContextCacheApiUpdateSchema, cZ as ContextCacheEntry, e0 as ContextCacheInsertSchema, d$ as ContextCacheSelectSchema, c1 as ContextCacheUpdate, e1 as ContextCacheUpdateSchema, b_ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, bZ as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, b$ as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bT as ConversationApiInsert, dT as ConversationApiInsertSchema, bS as ConversationApiSelect, dS as ConversationApiSelectSchema, bU as ConversationApiUpdate, dU as ConversationApiUpdateSchema, dQ as ConversationInsertSchema, cX as ConversationScopeOptions, dP as ConversationSelectSchema, dR as ConversationUpdateSchema, cw as CredentialReferenceApiInsert, eM as CredentialReferenceApiInsertSchema, cv as CredentialReferenceApiSelect, eL as CredentialReferenceApiSelectSchema, cx as CredentialReferenceApiUpdate, eN as CredentialReferenceApiUpdateSchema, eJ as CredentialReferenceInsertSchema, eI as CredentialReferenceSelectSchema, eK as CredentialReferenceUpdateSchema, c6 as DataComponentApiInsert, ea as DataComponentApiInsertSchema, c5 as DataComponentApiSelect, e9 as DataComponentApiSelectSchema, c7 as DataComponentApiUpdate, eb as DataComponentApiUpdateSchema, e7 as DataComponentBaseSchema, e6 as DataComponentInsertSchema, e5 as DataComponentSelectSchema, e8 as DataComponentUpdateSchema, am as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, co as ExternalAgentApiInsert, ey as ExternalAgentApiInsertSchema, cn as ExternalAgentApiSelect, ex as ExternalAgentApiSelectSchema, cp as ExternalAgentApiUpdate, ez as ExternalAgentApiUpdateSchema, ev as ExternalAgentInsertSchema, bz as ExternalAgentRelationApiInsert, dr as ExternalAgentRelationApiInsertSchema, dq as ExternalAgentRelationInsertSchema, eu as ExternalAgentSelectSchema, ew as ExternalAgentUpdateSchema, c0 as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ai as FileBase, al as FilePart, aj as FileWithBytes, ak as FileWithUri, cI as FullGraphAgentInsert, ff as FullGraphAgentInsertSchema, fg as FullGraphDefinitionSchema, b9 as GetTaskPushNotificationConfigRequest, bm as GetTaskPushNotificationConfigResponse, bl as GetTaskPushNotificationConfigSuccessResponse, b6 as GetTaskRequest, bg as GetTaskResponse, bf as GetTaskSuccessResponse, at as HTTPAuthSecurityScheme, ft as HeadersScopeSchema, fy as IdParamsSchema, ax as ImplicitOAuthFlow, cJ as InternalAgentDefinition, aM as InternalError, aS as InvalidAgentResponseError, aL as InvalidParamsError, aJ as InvalidRequestError, aI as JSONParseError, b1 as JSONRPCError, b3 as JSONRPCErrorResponse, a$ as JSONRPCMessage, b0 as JSONRPCRequest, b2 as JSONRPCResult, cG as LedgerArtifactApiInsert, fb as LedgerArtifactApiInsertSchema, cF as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cH as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cD as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cE as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d7 as MAX_ID_LENGTH, eQ as MCPToolConfigSchema, d6 as MIN_ID_LENGTH, c$ as McpAuthType, d0 as McpServerAuth, d2 as McpServerCapabilities, dM as McpToolDefinitionSchema, eO as McpToolSchema, bR as McpToolServerConfig, eP as McpToolServerConfigSchema, c_ as McpTranportType, d1 as McpTransportConfig, dK as McpTransportConfigSchema, aD as Message, bX as MessageApiInsert, dZ as MessageApiInsertSchema, bW as MessageApiSelect, dY as MessageApiSelectSchema, bY as MessageApiUpdate, d_ as MessageApiUpdateSchema, dW as MessageInsertSchema, cS as MessageMode, bp as MessagePart, cR as MessageRole, bV as MessageSelect, dV as MessageSelectSchema, aZ as MessageSendConfiguration, a_ as MessageSendParams, cQ as MessageType, dX as MessageUpdateSchema, aK as MethodNotFoundError, db as ModelSchema, cU as ModelSettings, da as ModelSettingsSchema, cT as Models, az as OAuth2SecurityScheme, au as OAuthFlows, aA as OpenIdConnectSecurityScheme, cP as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ag as PartBase, ay as PasswordOAuthFlow, cN as ProjectApiInsert, fr as ProjectApiInsertSchema, cM as ProjectApiSelect, fq as ProjectApiSelectSchema, cO as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, fn as ProjectSelectSchema, fp as ProjectUpdateSchema, aU as PushNotificationAuthenticationInfo, aV as PushNotificationConfig, aP as PushNotificationNotSupportedError, fm as RemovedResponseSchema, aB as SecurityScheme, ar as SecuritySchemeBase, b4 as SendMessageRequest, bc as SendMessageResponse, bb as SendMessageSuccessResponse, b5 as SendStreamingMessageRequest, be as SendStreamingMessageResponse, bd as SendStreamingMessageSuccessResponse, b8 as SetTaskPushNotificationConfigRequest, bk as SetTaskPushNotificationConfigResponse, bj as SetTaskPushNotificationConfigSuccessResponse, fj as SingleResponseSchema, cW as StatusComponent, fd as StatusComponentSchema, fe as StatusUpdateSchema, cV as StatusUpdateSettings, d4 as TOOL_STATUS_VALUES, aF as Task, bG as TaskApiInsert, dC as TaskApiInsertSchema, bF as TaskApiSelect, dB as TaskApiSelectSchema, bH as TaskApiUpdate, dD as TaskApiUpdateSchema, bq as TaskArtifact, aH as TaskArtifactUpdateEvent, aX as TaskIdParams, dz as TaskInsertSchema, aO as TaskNotCancelableError, aN as TaskNotFoundError, aW as TaskPushNotificationConfig, aY as TaskQueryParams, bM as TaskRelationApiInsert, dI as TaskRelationApiInsertSchema, bL as TaskRelationApiSelect, dH as TaskRelationApiSelectSchema, bN as TaskRelationApiUpdate, dJ as TaskRelationApiUpdateSchema, bJ as TaskRelationInsert, dF as TaskRelationInsertSchema, bI as TaskRelationSelect, dE as TaskRelationSelectSchema, bK as TaskRelationUpdate, dG as TaskRelationUpdateSchema, ba as TaskResubscriptionRequest, dy as TaskSelectSchema, an as TaskState, aE as TaskStatus, aG as TaskStatusUpdateEvent, bE as TaskUpdate, dA as TaskUpdateSchema, fx as TenantIdParamsSchema, fu as TenantParamsSchema, fw as TenantProjectIdParamsSchema, fv as TenantProjectParamsSchema, ah as TextPart, bP as ToolApiInsert, eT as ToolApiInsertSchema, bO as ToolApiSelect, eS as ToolApiSelectSchema, bQ as ToolApiUpdate, eU as ToolApiUpdateSchema, cL as ToolDefinition, dO as ToolInsertSchema, dN as ToolSelectSchema, dL as ToolStatusSchema, eR as ToolUpdateSchema, d8 as URL_SAFE_ID_PATTERN, aQ as UnsupportedOperationError, d5 as VALID_RELATION_TYPES, d9 as resourceIdSchema, d3 as toolStatus } from './utility-D2Lb-YAS.cjs';
2
+ import { R as RequestSchemaDefinition, i as RequestSchemaConfig, a as ContextFetchDefinition, j as ContextConfigSelect, F as FetchDefinition, M as MCPTransportType, k as MCPToolConfig, S as ScopeConfig, b as ConversationHistoryConfig, l as PaginationConfig, A as AgentGraphInsert, m as AgentGraphUpdate, n as FullGraphDefinition, o as AgentRelationInsert, E as ExternalAgentRelationInsert, p as AgentRelationUpdate, q as AgentToolRelationUpdate, c as ToolMcpConfig, d as ToolServerCapabilities, e as McpToolDefinition, r as AgentInsert, s as AgentUpdate, t as AgentSelect, u as ApiKeySelect, v as ApiKeyInsert, w as ApiKeyUpdate, x as CreateApiKeyParams, y as ApiKeyCreateResult, z as ArtifactComponentSelect, B as ArtifactComponentInsert, D as ArtifactComponentUpdate, G as ContextCacheSelect, H as ContextCacheInsert, I as ContextConfigInsert, J as ContextConfigUpdate, K as ConversationSelect, L as ConversationInsert, f as ConversationMetadata, N as ConversationUpdate, O as CredentialReferenceSelect, Q as ToolSelect, U as CredentialReferenceInsert, V as CredentialReferenceUpdate, W as DataComponentSelect, X as DataComponentInsert, Y as DataComponentUpdate, Z as ExternalAgentInsert, _ as ExternalAgentSelect, $ as ExternalAgentUpdate, a0 as Artifact, a1 as LedgerArtifactSelect, h as MessageMetadata, g as MessageContent, a2 as MessageVisibility, a3 as MessageInsert, a4 as MessageUpdate, a5 as ProjectInfo, a6 as ProjectSelect, a7 as PaginationResult, a8 as ProjectResourceCounts, a9 as ProjectInsert, aa as ProjectUpdate, ab as TaskInsert, T as TaskMetadataConfig, ac as TaskSelect, ad as McpTool, ae as McpToolStatus, af as ToolInsert, ag as ToolUpdate, C as CredentialStoreType, ah as ExecutionContext } from './entities-BL89ULjV.cjs';
3
+ export { aV as A2AError, bp as A2ARequest, bq as A2AResponse, au as APIKeySecurityScheme, bu as AgentApiInsert, dh as AgentApiInsertSchema, bt as AgentApiSelect, dg as AgentApiSelectSchema, bv as AgentApiUpdate, di as AgentApiUpdateSchema, cm as AgentArtifactComponentApiInsert, et as AgentArtifactComponentApiInsertSchema, cl as AgentArtifactComponentApiSelect, es as AgentArtifactComponentApiSelectSchema, cn as AgentArtifactComponentApiUpdate, eu as AgentArtifactComponentApiUpdateSchema, cj as AgentArtifactComponentInsert, eq as AgentArtifactComponentInsertSchema, ci as AgentArtifactComponentSelect, ep as AgentArtifactComponentSelectSchema, ck as AgentArtifactComponentUpdate, er as AgentArtifactComponentUpdateSchema, aq as AgentCapabilities, aE as AgentCard, cZ as AgentConversationHistoryConfig, cd as AgentDataComponentApiInsert, eh as AgentDataComponentApiInsertSchema, cc as AgentDataComponentApiSelect, eg as AgentDataComponentApiSelectSchema, ce as AgentDataComponentApiUpdate, ei as AgentDataComponentApiUpdateSchema, ca as AgentDataComponentInsert, ee as AgentDataComponentInsertSchema, c9 as AgentDataComponentSelect, ed as AgentDataComponentSelectSchema, cb as AgentDataComponentUpdate, ef as AgentDataComponentUpdateSchema, cL as AgentDefinition, bE as AgentGraphApiInsert, dx as AgentGraphApiInsertSchema, bD as AgentGraphApiSelect, dw as AgentGraphApiSelectSchema, bF as AgentGraphApiUpdate, dy as AgentGraphApiUpdateSchema, du as AgentGraphInsertSchema, bC as AgentGraphSelect, dt as AgentGraphSelectSchema, dv as AgentGraphUpdateSchema, de as AgentInsertSchema, ar as AgentProvider, by as AgentRelationApiInsert, dn as AgentRelationApiInsertSchema, bx as AgentRelationApiSelect, dm as AgentRelationApiSelectSchema, bz as AgentRelationApiUpdate, dp as AgentRelationApiUpdateSchema, dk as AgentRelationInsertSchema, bA as AgentRelationQuery, dq as AgentRelationQuerySchema, bw as AgentRelationSelect, dj as AgentRelationSelectSchema, dl as AgentRelationUpdateSchema, dd as AgentSelectSchema, as as AgentSkill, cC as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cB as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cD as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cA as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cz as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, df as AgentUpdateSchema, eB as AllAgentSchema, cr as AllAgentSelect, cv as ApiKeyApiCreationResponse, eG as ApiKeyApiCreationResponseSchema, ct as ApiKeyApiInsert, eH as ApiKeyApiInsertSchema, cs as ApiKeyApiSelect, eF as ApiKeyApiSelectSchema, cu as ApiKeyApiUpdate, eI as ApiKeyApiUpdateSchema, eD as ApiKeyInsertSchema, eC as ApiKeySelectSchema, eE as ApiKeyUpdateSchema, cg as ArtifactComponentApiInsert, en as ArtifactComponentApiInsertSchema, cf as ArtifactComponentApiSelect, em as ArtifactComponentApiSelectSchema, ch as ArtifactComponentApiUpdate, eo as ArtifactComponentApiUpdateSchema, ek as ArtifactComponentInsertSchema, ej as ArtifactComponentSelectSchema, el as ArtifactComponentUpdateSchema, ax as AuthorizationCodeOAuthFlow, b9 as CancelTaskRequest, bk as CancelTaskResponse, bj as CancelTaskSuccessResponse, ay as ClientCredentialsOAuthFlow, aT as ContentTypeNotSupportedError, c4 as ContextCacheApiInsert, e4 as ContextCacheApiInsertSchema, c3 as ContextCacheApiSelect, e3 as ContextCacheApiSelectSchema, c5 as ContextCacheApiUpdate, e5 as ContextCacheApiUpdateSchema, c_ as ContextCacheEntry, e1 as ContextCacheInsertSchema, e0 as ContextCacheSelectSchema, c2 as ContextCacheUpdate, e2 as ContextCacheUpdateSchema, b$ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, b_ as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, c0 as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bU as ConversationApiInsert, dU as ConversationApiInsertSchema, bT as ConversationApiSelect, dT as ConversationApiSelectSchema, bV as ConversationApiUpdate, dV as ConversationApiUpdateSchema, dR as ConversationInsertSchema, cY as ConversationScopeOptions, dQ as ConversationSelectSchema, dS as ConversationUpdateSchema, cx as CredentialReferenceApiInsert, eN as CredentialReferenceApiInsertSchema, cw as CredentialReferenceApiSelect, eM as CredentialReferenceApiSelectSchema, cy as CredentialReferenceApiUpdate, eO as CredentialReferenceApiUpdateSchema, eK as CredentialReferenceInsertSchema, eJ as CredentialReferenceSelectSchema, eL as CredentialReferenceUpdateSchema, c7 as DataComponentApiInsert, eb as DataComponentApiInsertSchema, c6 as DataComponentApiSelect, ea as DataComponentApiSelectSchema, c8 as DataComponentApiUpdate, ec as DataComponentApiUpdateSchema, e8 as DataComponentBaseSchema, e7 as DataComponentInsertSchema, e6 as DataComponentSelectSchema, e9 as DataComponentUpdateSchema, ao as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, cp as ExternalAgentApiInsert, ez as ExternalAgentApiInsertSchema, co as ExternalAgentApiSelect, ey as ExternalAgentApiSelectSchema, cq as ExternalAgentApiUpdate, eA as ExternalAgentApiUpdateSchema, ew as ExternalAgentInsertSchema, bB as ExternalAgentRelationApiInsert, ds as ExternalAgentRelationApiInsertSchema, dr as ExternalAgentRelationInsertSchema, ev as ExternalAgentSelectSchema, ex as ExternalAgentUpdateSchema, c1 as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ak as FileBase, an as FilePart, al as FileWithBytes, am as FileWithUri, cJ as FullGraphAgentInsert, ff as FullGraphAgentInsertSchema, fg as FullGraphDefinitionSchema, bb as GetTaskPushNotificationConfigRequest, bo as GetTaskPushNotificationConfigResponse, bn as GetTaskPushNotificationConfigSuccessResponse, b8 as GetTaskRequest, bi as GetTaskResponse, bh as GetTaskSuccessResponse, av as HTTPAuthSecurityScheme, ft as HeadersScopeSchema, fy as IdParamsSchema, az as ImplicitOAuthFlow, cK as InternalAgentDefinition, aO as InternalError, aU as InvalidAgentResponseError, aN as InvalidParamsError, aL as InvalidRequestError, aK as JSONParseError, b3 as JSONRPCError, b5 as JSONRPCErrorResponse, b1 as JSONRPCMessage, b2 as JSONRPCRequest, b4 as JSONRPCResult, cH as LedgerArtifactApiInsert, fb as LedgerArtifactApiInsertSchema, cG as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cI as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cE as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cF as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d8 as MAX_ID_LENGTH, d6 as MCPServerType, eQ as MCPToolConfigSchema, d7 as MIN_ID_LENGTH, c$ as McpAuthType, d0 as McpServerAuth, d2 as McpServerCapabilities, dN as McpToolDefinitionSchema, eP as McpToolSchema, d1 as McpTransportConfig, dL as McpTransportConfigSchema, aF as Message, bY as MessageApiInsert, d_ as MessageApiInsertSchema, bX as MessageApiSelect, dZ as MessageApiSelectSchema, bZ as MessageApiUpdate, d$ as MessageApiUpdateSchema, dX as MessageInsertSchema, cT as MessageMode, br as MessagePart, cS as MessageRole, bW as MessageSelect, dW as MessageSelectSchema, a$ as MessageSendConfiguration, b0 as MessageSendParams, cR as MessageType, dY as MessageUpdateSchema, aM as MethodNotFoundError, dc as ModelSchema, cV as ModelSettings, db as ModelSettingsSchema, cU as Models, aB as OAuth2SecurityScheme, aw as OAuthFlows, aC as OpenIdConnectSecurityScheme, cQ as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ai as PartBase, aA as PasswordOAuthFlow, cO as ProjectApiInsert, fr as ProjectApiInsertSchema, cN as ProjectApiSelect, fq as ProjectApiSelectSchema, cP as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, fn as ProjectSelectSchema, fp as ProjectUpdateSchema, aW as PushNotificationAuthenticationInfo, aX as PushNotificationConfig, aR as PushNotificationNotSupportedError, fm as RemovedResponseSchema, aD as SecurityScheme, at as SecuritySchemeBase, b6 as SendMessageRequest, be as SendMessageResponse, bd as SendMessageSuccessResponse, b7 as SendStreamingMessageRequest, bg as SendStreamingMessageResponse, bf as SendStreamingMessageSuccessResponse, ba as SetTaskPushNotificationConfigRequest, bm as SetTaskPushNotificationConfigResponse, bl as SetTaskPushNotificationConfigSuccessResponse, fj as SingleResponseSchema, cX as StatusComponent, fd as StatusComponentSchema, fe as StatusUpdateSchema, cW as StatusUpdateSettings, d4 as TOOL_STATUS_VALUES, aH as Task, bI as TaskApiInsert, dD as TaskApiInsertSchema, bH as TaskApiSelect, dC as TaskApiSelectSchema, bJ as TaskApiUpdate, dE as TaskApiUpdateSchema, bs as TaskArtifact, aJ as TaskArtifactUpdateEvent, aZ as TaskIdParams, dA as TaskInsertSchema, aQ as TaskNotCancelableError, aP as TaskNotFoundError, aY as TaskPushNotificationConfig, a_ as TaskQueryParams, bO as TaskRelationApiInsert, dJ as TaskRelationApiInsertSchema, bN as TaskRelationApiSelect, dI as TaskRelationApiSelectSchema, bP as TaskRelationApiUpdate, dK as TaskRelationApiUpdateSchema, bL as TaskRelationInsert, dG as TaskRelationInsertSchema, bK as TaskRelationSelect, dF as TaskRelationSelectSchema, bM as TaskRelationUpdate, dH as TaskRelationUpdateSchema, bc as TaskResubscriptionRequest, dz as TaskSelectSchema, ap as TaskState, aG as TaskStatus, aI as TaskStatusUpdateEvent, bG as TaskUpdate, dB as TaskUpdateSchema, fx as TenantIdParamsSchema, fu as TenantParamsSchema, fw as TenantProjectIdParamsSchema, fv as TenantProjectParamsSchema, aj as TextPart, bR as ToolApiInsert, eT as ToolApiInsertSchema, bQ as ToolApiSelect, eS as ToolApiSelectSchema, bS as ToolApiUpdate, eU as ToolApiUpdateSchema, cM as ToolDefinition, dP as ToolInsertSchema, dO as ToolSelectSchema, dM as ToolStatusSchema, eR as ToolUpdateSchema, d9 as URL_SAFE_ID_PATTERN, aS as UnsupportedOperationError, d5 as VALID_RELATION_TYPES, da as resourceIdSchema, d3 as toolStatus } from './entities-BL89ULjV.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-E0ulMd3k.cjs';
8
- export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a 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, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, 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-E0ulMd3k.cjs';
7
+ import { s as schema } from './schema-DymJrcpV.cjs';
8
+ export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a 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, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, 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-DymJrcpV.cjs';
9
9
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
10
10
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
11
11
  import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
@@ -367,7 +367,7 @@ declare function createDefaultCredentialStores(): CredentialStore[];
367
367
  */
368
368
  declare class KeyChainStore implements CredentialStore {
369
369
  readonly id: string;
370
- readonly type = "keychain";
370
+ readonly type: "keychain";
371
371
  private readonly service;
372
372
  private readonly logger;
373
373
  private keytarAvailable;
@@ -445,7 +445,7 @@ declare function createKeyChainStore(id: string, options?: {
445
445
  */
446
446
  declare class InMemoryCredentialStore implements CredentialStore {
447
447
  readonly id: string;
448
- readonly type = "memory";
448
+ readonly type: "memory";
449
449
  private credentials;
450
450
  constructor(id?: string);
451
451
  /**
@@ -486,7 +486,7 @@ interface NangoConfig {
486
486
  */
487
487
  declare class NangoCredentialStore implements CredentialStore {
488
488
  readonly id: string;
489
- readonly type = "nango";
489
+ readonly type: "nango";
490
490
  private nangoConfig;
491
491
  private nangoClient;
492
492
  constructor(id: string, config: NangoConfig);
@@ -606,7 +606,7 @@ interface SharedServerConfig {
606
606
  activeTools?: string[];
607
607
  }
608
608
  interface McpStreamableHttpConfig extends SharedServerConfig {
609
- type: 'streamable_http';
609
+ type: typeof MCPTransportType.streamableHttp;
610
610
  url: string | URL;
611
611
  headers?: Record<string, string>;
612
612
  requestInit?: StreamableHTTPClientTransportOptions['requestInit'];
@@ -615,7 +615,7 @@ interface McpStreamableHttpConfig extends SharedServerConfig {
615
615
  sessionId?: StreamableHTTPClientTransportOptions['sessionId'];
616
616
  }
617
617
  interface McpSSEConfig extends SharedServerConfig {
618
- type: 'sse';
618
+ type: typeof MCPTransportType.sse;
619
619
  url: string | URL;
620
620
  headers?: Record<string, string>;
621
621
  eventSourceInit?: SSEClientTransportOptions['eventSourceInit'];
@@ -726,14 +726,12 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
726
726
  graphId: string;
727
727
  }) => Promise<{
728
728
  name: string;
729
- description: string | null;
730
- id: string;
731
729
  tenantId: string;
732
730
  projectId: string;
731
+ id: string;
732
+ description: string | null;
733
733
  createdAt: string;
734
734
  updatedAt: string;
735
- defaultAgentId: string;
736
- contextConfigId: string | null;
737
735
  models: {
738
736
  base?: {
739
737
  model?: string | undefined;
@@ -748,6 +746,11 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
748
746
  providerOptions?: Record<string, unknown> | undefined;
749
747
  } | undefined;
750
748
  } | null;
749
+ stopWhen: {
750
+ transferCountIs?: number;
751
+ } | null;
752
+ contextConfigId: string | null;
753
+ defaultAgentId: string;
751
754
  statusUpdates: {
752
755
  enabled?: boolean | undefined;
753
756
  numEvents?: number | undefined;
@@ -764,23 +767,18 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
764
767
  }[] | undefined;
765
768
  } | null;
766
769
  graphPrompt: string | null;
767
- stopWhen: {
768
- transferCountIs?: number;
769
- } | null;
770
770
  } | undefined>;
771
771
  declare const getAgentGraphById: (db: DatabaseClient) => (params: {
772
772
  scopes: ScopeConfig;
773
773
  graphId: string;
774
774
  }) => Promise<{
775
775
  name: string;
776
- description: string | null;
777
- id: string;
778
776
  tenantId: string;
779
777
  projectId: string;
778
+ id: string;
779
+ description: string | null;
780
780
  createdAt: string;
781
781
  updatedAt: string;
782
- defaultAgentId: string;
783
- contextConfigId: string | null;
784
782
  models: {
785
783
  base?: {
786
784
  model?: string | undefined;
@@ -795,6 +793,11 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
795
793
  providerOptions?: Record<string, unknown> | undefined;
796
794
  } | undefined;
797
795
  } | null;
796
+ stopWhen: {
797
+ transferCountIs?: number;
798
+ } | null;
799
+ contextConfigId: string | null;
800
+ defaultAgentId: string;
798
801
  statusUpdates: {
799
802
  enabled?: boolean | undefined;
800
803
  numEvents?: number | undefined;
@@ -811,23 +814,18 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
811
814
  }[] | undefined;
812
815
  } | null;
813
816
  graphPrompt: string | null;
814
- stopWhen: {
815
- transferCountIs?: number;
816
- } | null;
817
817
  } | null>;
818
818
  declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
819
819
  scopes: ScopeConfig;
820
820
  graphId: string;
821
821
  }) => Promise<{
822
822
  name: string;
823
- description: string | null;
824
- id: string;
825
823
  tenantId: string;
826
824
  projectId: string;
825
+ id: string;
826
+ description: string | null;
827
827
  createdAt: string;
828
828
  updatedAt: string;
829
- defaultAgentId: string;
830
- contextConfigId: string | null;
831
829
  models: {
832
830
  base?: {
833
831
  model?: string | undefined;
@@ -842,6 +840,11 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
842
840
  providerOptions?: Record<string, unknown> | undefined;
843
841
  } | undefined;
844
842
  } | null;
843
+ stopWhen: {
844
+ transferCountIs?: number;
845
+ } | null;
846
+ contextConfigId: string | null;
847
+ defaultAgentId: string;
845
848
  statusUpdates: {
846
849
  enabled?: boolean | undefined;
847
850
  numEvents?: number | undefined;
@@ -858,16 +861,12 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
858
861
  }[] | undefined;
859
862
  } | null;
860
863
  graphPrompt: string | null;
861
- stopWhen: {
862
- transferCountIs?: number;
863
- } | null;
864
864
  defaultAgent: {
865
865
  name: string;
866
- prompt: string;
867
- description: string;
868
- id: string;
869
866
  tenantId: string;
870
867
  projectId: string;
868
+ id: string;
869
+ description: string;
871
870
  createdAt: string;
872
871
  updatedAt: string;
873
872
  models: {
@@ -887,6 +886,7 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
887
886
  stopWhen: {
888
887
  stepCountIs?: number;
889
888
  } | null;
889
+ prompt: string;
890
890
  conversationHistoryConfig: ConversationHistoryConfig | null;
891
891
  };
892
892
  } | null>;
@@ -894,14 +894,12 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
894
894
  scopes: ScopeConfig;
895
895
  }) => Promise<{
896
896
  name: string;
897
- description: string | null;
898
- id: string;
899
897
  tenantId: string;
900
898
  projectId: string;
899
+ id: string;
900
+ description: string | null;
901
901
  createdAt: string;
902
902
  updatedAt: string;
903
- defaultAgentId: string;
904
- contextConfigId: string | null;
905
903
  models: {
906
904
  base?: {
907
905
  model?: string | undefined;
@@ -916,6 +914,11 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
916
914
  providerOptions?: Record<string, unknown> | undefined;
917
915
  } | undefined;
918
916
  } | null;
917
+ stopWhen: {
918
+ transferCountIs?: number;
919
+ } | null;
920
+ contextConfigId: string | null;
921
+ defaultAgentId: string;
919
922
  statusUpdates: {
920
923
  enabled?: boolean | undefined;
921
924
  numEvents?: number | undefined;
@@ -932,9 +935,6 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
932
935
  }[] | undefined;
933
936
  } | null;
934
937
  graphPrompt: string | null;
935
- stopWhen: {
936
- transferCountIs?: number;
937
- } | null;
938
938
  }[]>;
939
939
  declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
940
940
  scopes: ScopeConfig;
@@ -993,14 +993,12 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
993
993
  }>;
994
994
  declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
995
995
  name: string;
996
- description: string | null;
997
- id: string;
998
996
  tenantId: string;
999
997
  projectId: string;
998
+ id: string;
999
+ description: string | null;
1000
1000
  createdAt: string;
1001
1001
  updatedAt: string;
1002
- defaultAgentId: string;
1003
- contextConfigId: string | null;
1004
1002
  models: {
1005
1003
  base?: {
1006
1004
  model?: string | undefined;
@@ -1015,6 +1013,11 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1015
1013
  providerOptions?: Record<string, unknown> | undefined;
1016
1014
  } | undefined;
1017
1015
  } | null;
1016
+ stopWhen: {
1017
+ transferCountIs?: number;
1018
+ } | null;
1019
+ contextConfigId: string | null;
1020
+ defaultAgentId: string;
1018
1021
  statusUpdates: {
1019
1022
  enabled?: boolean | undefined;
1020
1023
  numEvents?: number | undefined;
@@ -1031,9 +1034,6 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1031
1034
  }[] | undefined;
1032
1035
  } | null;
1033
1036
  graphPrompt: string | null;
1034
- stopWhen: {
1035
- transferCountIs?: number;
1036
- } | null;
1037
1037
  }>;
1038
1038
  declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1039
1039
  scopes: ScopeConfig;
@@ -1041,14 +1041,12 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1041
1041
  data: AgentGraphUpdate;
1042
1042
  }) => Promise<{
1043
1043
  name: string;
1044
- description: string | null;
1045
- id: string;
1046
1044
  tenantId: string;
1047
1045
  projectId: string;
1046
+ id: string;
1047
+ description: string | null;
1048
1048
  createdAt: string;
1049
1049
  updatedAt: string;
1050
- defaultAgentId: string;
1051
- contextConfigId: string | null;
1052
1050
  models: {
1053
1051
  base?: {
1054
1052
  model?: string | undefined;
@@ -1063,6 +1061,11 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1063
1061
  providerOptions?: Record<string, unknown> | undefined;
1064
1062
  } | undefined;
1065
1063
  } | null;
1064
+ stopWhen: {
1065
+ transferCountIs?: number;
1066
+ } | null;
1067
+ contextConfigId: string | null;
1068
+ defaultAgentId: string;
1066
1069
  statusUpdates: {
1067
1070
  enabled?: boolean | undefined;
1068
1071
  numEvents?: number | undefined;
@@ -1079,9 +1082,6 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1079
1082
  }[] | undefined;
1080
1083
  } | null;
1081
1084
  graphPrompt: string | null;
1082
- stopWhen: {
1083
- transferCountIs?: number;
1084
- } | null;
1085
1085
  }>;
1086
1086
  declare const deleteAgentGraph: (db: DatabaseClient) => (params: {
1087
1087
  scopes: ScopeConfig;
@@ -1121,12 +1121,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
1121
1121
  scopes: ScopeConfig;
1122
1122
  relationId: string;
1123
1123
  }) => Promise<{
1124
- id: string;
1125
1124
  tenantId: string;
1126
1125
  projectId: string;
1127
- graphId: string;
1126
+ id: string;
1128
1127
  createdAt: string;
1129
1128
  updatedAt: string;
1129
+ graphId: string;
1130
1130
  sourceAgentId: string;
1131
1131
  targetAgentId: string | null;
1132
1132
  externalAgentId: string | null;
@@ -1160,12 +1160,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
1160
1160
  graphId: string;
1161
1161
  agentId: string;
1162
1162
  }) => Promise<{
1163
- id: string;
1164
1163
  tenantId: string;
1165
1164
  projectId: string;
1166
- graphId: string;
1165
+ id: string;
1167
1166
  createdAt: string;
1168
1167
  updatedAt: string;
1168
+ graphId: string;
1169
1169
  sourceAgentId: string;
1170
1170
  targetAgentId: string | null;
1171
1171
  externalAgentId: string | null;
@@ -1175,12 +1175,12 @@ declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
1175
1175
  scopes: ScopeConfig;
1176
1176
  graphId: string;
1177
1177
  }) => Promise<{
1178
- id: string;
1179
1178
  tenantId: string;
1180
1179
  projectId: string;
1181
- graphId: string;
1180
+ id: string;
1182
1181
  createdAt: string;
1183
1182
  updatedAt: string;
1183
+ graphId: string;
1184
1184
  sourceAgentId: string;
1185
1185
  targetAgentId: string | null;
1186
1186
  externalAgentId: string | null;
@@ -1281,12 +1281,12 @@ declare const getRelatedAgentsForGraph: (db: DatabaseClient) => (params: {
1281
1281
  }[];
1282
1282
  }>;
1283
1283
  declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
1284
- id: string;
1285
1284
  tenantId: string;
1286
1285
  projectId: string;
1287
- graphId: string;
1286
+ id: string;
1288
1287
  createdAt: string;
1289
1288
  updatedAt: string;
1289
+ graphId: string;
1290
1290
  sourceAgentId: string;
1291
1291
  targetAgentId: string | null;
1292
1292
  externalAgentId: string | null;
@@ -1303,12 +1303,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1303
1303
  externalAgentId?: string;
1304
1304
  relationType: string;
1305
1305
  }) => Promise<{
1306
- id: string;
1307
1306
  tenantId: string;
1308
1307
  projectId: string;
1309
- graphId: string;
1308
+ id: string;
1310
1309
  createdAt: string;
1311
1310
  updatedAt: string;
1311
+ graphId: string;
1312
1312
  sourceAgentId: string;
1313
1313
  targetAgentId: string | null;
1314
1314
  externalAgentId: string | null;
@@ -1318,24 +1318,24 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1318
1318
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
1319
1319
  */
1320
1320
  declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
1321
- id: string;
1322
1321
  tenantId: string;
1323
1322
  projectId: string;
1324
- graphId: string;
1323
+ id: string;
1325
1324
  createdAt: string;
1326
1325
  updatedAt: string;
1326
+ graphId: string;
1327
1327
  sourceAgentId: string;
1328
1328
  targetAgentId: string | null;
1329
1329
  externalAgentId: string | null;
1330
1330
  relationType: string | null;
1331
1331
  }>;
1332
1332
  declare const createExternalAgentRelation: (db: DatabaseClient) => (params: ExternalAgentRelationInsert) => Promise<{
1333
- id: string;
1334
1333
  tenantId: string;
1335
1334
  projectId: string;
1336
- graphId: string;
1335
+ id: string;
1337
1336
  createdAt: string;
1338
1337
  updatedAt: string;
1338
+ graphId: string;
1339
1339
  sourceAgentId: string;
1340
1340
  targetAgentId: string | null;
1341
1341
  externalAgentId: string | null;
@@ -1346,12 +1346,12 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
1346
1346
  relationId: string;
1347
1347
  data: AgentRelationUpdate;
1348
1348
  }) => Promise<{
1349
- id: string;
1350
1349
  tenantId: string;
1351
1350
  projectId: string;
1352
- graphId: string;
1351
+ id: string;
1353
1352
  createdAt: string;
1354
1353
  updatedAt: string;
1354
+ graphId: string;
1355
1355
  sourceAgentId: string;
1356
1356
  targetAgentId: string | null;
1357
1357
  externalAgentId: string | null;
@@ -1373,9 +1373,9 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
1373
1373
  toolId: string;
1374
1374
  };
1375
1375
  }) => Promise<{
1376
- id: string;
1377
1376
  tenantId: string;
1378
1377
  projectId: string;
1378
+ id: string;
1379
1379
  createdAt: string;
1380
1380
  updatedAt: string;
1381
1381
  agentId: string;
@@ -1386,9 +1386,9 @@ declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1386
1386
  relationId: string;
1387
1387
  data: AgentToolRelationUpdate;
1388
1388
  }) => Promise<{
1389
- id: string;
1390
1389
  tenantId: string;
1391
1390
  projectId: string;
1391
+ id: string;
1392
1392
  createdAt: string;
1393
1393
  updatedAt: string;
1394
1394
  agentId: string;
@@ -1406,9 +1406,9 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
1406
1406
  scopes: ScopeConfig;
1407
1407
  relationId: string;
1408
1408
  }) => Promise<{
1409
- id: string;
1410
1409
  tenantId: string;
1411
1410
  projectId: string;
1411
+ id: string;
1412
1412
  createdAt: string;
1413
1413
  updatedAt: string;
1414
1414
  agentId: string;
@@ -1575,11 +1575,10 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1575
1575
  agentId: string;
1576
1576
  }) => Promise<{
1577
1577
  name: string;
1578
- prompt: string;
1579
- description: string;
1580
- id: string;
1581
1578
  tenantId: string;
1582
1579
  projectId: string;
1580
+ id: string;
1581
+ description: string;
1583
1582
  createdAt: string;
1584
1583
  updatedAt: string;
1585
1584
  models: {
@@ -1599,17 +1598,17 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1599
1598
  stopWhen: {
1600
1599
  stepCountIs?: number;
1601
1600
  } | null;
1601
+ prompt: string;
1602
1602
  conversationHistoryConfig: ConversationHistoryConfig | null;
1603
1603
  } | undefined>;
1604
1604
  declare const listAgents: (db: DatabaseClient) => (params: {
1605
1605
  scopes: ScopeConfig;
1606
1606
  }) => Promise<{
1607
1607
  name: string;
1608
- prompt: string;
1609
- description: string;
1610
- id: string;
1611
1608
  tenantId: string;
1612
1609
  projectId: string;
1610
+ id: string;
1611
+ description: string;
1613
1612
  createdAt: string;
1614
1613
  updatedAt: string;
1615
1614
  models: {
@@ -1629,6 +1628,7 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1629
1628
  stopWhen: {
1630
1629
  stepCountIs?: number;
1631
1630
  } | null;
1631
+ prompt: string;
1632
1632
  conversationHistoryConfig: ConversationHistoryConfig | null;
1633
1633
  }[]>;
1634
1634
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
@@ -1672,11 +1672,10 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1672
1672
  }>;
1673
1673
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1674
1674
  name: string;
1675
- prompt: string;
1676
- description: string;
1677
- id: string;
1678
1675
  tenantId: string;
1679
1676
  projectId: string;
1677
+ id: string;
1678
+ description: string;
1680
1679
  createdAt: string;
1681
1680
  updatedAt: string;
1682
1681
  models: {
@@ -1696,6 +1695,7 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1696
1695
  stopWhen: {
1697
1696
  stepCountIs?: number;
1698
1697
  } | null;
1698
+ prompt: string;
1699
1699
  conversationHistoryConfig: ConversationHistoryConfig | null;
1700
1700
  }>;
1701
1701
  declare const updateAgent: (db: DatabaseClient) => (params: {
@@ -1704,11 +1704,10 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1704
1704
  data: AgentUpdate;
1705
1705
  }) => Promise<{
1706
1706
  name: string;
1707
- prompt: string;
1708
- description: string;
1709
- id: string;
1710
1707
  tenantId: string;
1711
1708
  projectId: string;
1709
+ id: string;
1710
+ description: string;
1712
1711
  createdAt: string;
1713
1712
  updatedAt: string;
1714
1713
  models: {
@@ -1728,6 +1727,7 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1728
1727
  stopWhen: {
1729
1728
  stepCountIs?: number;
1730
1729
  } | null;
1730
+ prompt: string;
1731
1731
  conversationHistoryConfig: ConversationHistoryConfig | null;
1732
1732
  }>;
1733
1733
  /**
@@ -1789,46 +1789,46 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
1789
1789
  scopes: ScopeConfig;
1790
1790
  id: string;
1791
1791
  }) => Promise<{
1792
- id: string;
1793
1792
  tenantId: string;
1794
1793
  projectId: string;
1794
+ id: string;
1795
+ createdAt: string;
1796
+ updatedAt: string;
1795
1797
  graphId: string;
1796
1798
  publicId: string;
1797
1799
  keyHash: string;
1798
1800
  keyPrefix: string;
1799
1801
  lastUsedAt: string | null;
1800
1802
  expiresAt: string | null;
1801
- createdAt: string;
1802
- updatedAt: string;
1803
1803
  } | undefined>;
1804
1804
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1805
- id: string;
1806
1805
  tenantId: string;
1807
1806
  projectId: string;
1807
+ id: string;
1808
+ createdAt: string;
1809
+ updatedAt: string;
1808
1810
  graphId: string;
1809
1811
  publicId: string;
1810
1812
  keyHash: string;
1811
1813
  keyPrefix: string;
1812
1814
  lastUsedAt: string | null;
1813
1815
  expiresAt: string | null;
1814
- createdAt: string;
1815
- updatedAt: string;
1816
1816
  } | undefined>;
1817
1817
  declare const listApiKeys: (db: DatabaseClient) => (params: {
1818
1818
  scopes: ScopeConfig;
1819
1819
  graphId?: string;
1820
1820
  }) => Promise<{
1821
- id: string;
1822
1821
  tenantId: string;
1823
1822
  projectId: string;
1823
+ id: string;
1824
+ createdAt: string;
1825
+ updatedAt: string;
1824
1826
  graphId: string;
1825
1827
  publicId: string;
1826
1828
  keyHash: string;
1827
1829
  keyPrefix: string;
1828
1830
  lastUsedAt: string | null;
1829
1831
  expiresAt: string | null;
1830
- createdAt: string;
1831
- updatedAt: string;
1832
1832
  }[]>;
1833
1833
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1834
1834
  scopes: ScopeConfig;
@@ -1844,34 +1844,34 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1844
1844
  };
1845
1845
  }>;
1846
1846
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
1847
- id: string;
1848
1847
  tenantId: string;
1849
1848
  projectId: string;
1849
+ id: string;
1850
+ createdAt: string;
1851
+ updatedAt: string;
1850
1852
  graphId: string;
1851
1853
  publicId: string;
1852
1854
  keyHash: string;
1853
1855
  keyPrefix: string;
1854
1856
  lastUsedAt: string | null;
1855
1857
  expiresAt: string | null;
1856
- createdAt: string;
1857
- updatedAt: string;
1858
1858
  }>;
1859
1859
  declare const updateApiKey: (db: DatabaseClient) => (params: {
1860
1860
  scopes: ScopeConfig;
1861
1861
  id: string;
1862
1862
  data: ApiKeyUpdate;
1863
1863
  }) => Promise<{
1864
- id: string;
1865
1864
  tenantId: string;
1866
1865
  projectId: string;
1866
+ id: string;
1867
+ createdAt: string;
1868
+ updatedAt: string;
1867
1869
  graphId: string;
1868
1870
  publicId: string;
1869
1871
  keyHash: string;
1870
1872
  keyPrefix: string;
1871
1873
  lastUsedAt: string | null;
1872
1874
  expiresAt: string | null;
1873
- createdAt: string;
1874
- updatedAt: string;
1875
1875
  }>;
1876
1876
  declare const deleteApiKey: (db: DatabaseClient) => (params: {
1877
1877
  scopes: ScopeConfig;
@@ -1901,10 +1901,10 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1901
1901
  id: string;
1902
1902
  }) => Promise<{
1903
1903
  name: string;
1904
- description: string;
1905
- id: string;
1906
1904
  tenantId: string;
1907
1905
  projectId: string;
1906
+ id: string;
1907
+ description: string;
1908
1908
  createdAt: string;
1909
1909
  updatedAt: string;
1910
1910
  summaryProps: Record<string, unknown> | null;
@@ -1937,10 +1937,10 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
1937
1937
  }>;
1938
1938
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
1939
1939
  name: string;
1940
- description: string;
1941
- id: string;
1942
1940
  tenantId: string;
1943
1941
  projectId: string;
1942
+ id: string;
1943
+ description: string;
1944
1944
  createdAt: string;
1945
1945
  updatedAt: string;
1946
1946
  summaryProps: Record<string, unknown> | null;
@@ -1952,10 +1952,10 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
1952
1952
  data: ArtifactComponentUpdate;
1953
1953
  }) => Promise<{
1954
1954
  name: string;
1955
- description: string;
1956
- id: string;
1957
1955
  tenantId: string;
1958
1956
  projectId: string;
1957
+ id: string;
1958
+ description: string;
1959
1959
  createdAt: string;
1960
1960
  updatedAt: string;
1961
1961
  summaryProps: Record<string, unknown> | null;
@@ -1984,9 +1984,9 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
1984
1984
  agentId: string;
1985
1985
  artifactComponentId: string;
1986
1986
  }) => Promise<{
1987
- id: string;
1988
1987
  tenantId: string;
1989
1988
  projectId: string;
1989
+ id: string;
1990
1990
  createdAt: string;
1991
1991
  agentId: string;
1992
1992
  artifactComponentId: string;
@@ -2031,9 +2031,9 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
2031
2031
  agentId: string;
2032
2032
  artifactComponentId: string;
2033
2033
  }) => Promise<{
2034
- id: string;
2035
2034
  tenantId: string;
2036
2035
  projectId: string;
2036
+ id: string;
2037
2037
  createdAt: string;
2038
2038
  agentId: string;
2039
2039
  artifactComponentId: string;
@@ -2115,27 +2115,27 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2115
2115
  id: string;
2116
2116
  }) => Promise<{
2117
2117
  name: string;
2118
- description: string;
2119
- id: string;
2120
2118
  tenantId: string;
2121
2119
  projectId: string;
2122
- createdAt: string;
2123
- updatedAt: string;
2120
+ id: string;
2121
+ description: string;
2124
2122
  requestContextSchema: unknown;
2125
2123
  contextVariables: Record<string, ContextFetchDefinition> | null;
2124
+ createdAt: string;
2125
+ updatedAt: string;
2126
2126
  } | undefined>;
2127
2127
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2128
2128
  scopes: ScopeConfig;
2129
2129
  }) => Promise<{
2130
2130
  name: string;
2131
- description: string;
2132
- id: string;
2133
2131
  tenantId: string;
2134
2132
  projectId: string;
2135
- createdAt: string;
2136
- updatedAt: string;
2133
+ id: string;
2134
+ description: string;
2137
2135
  requestContextSchema: unknown;
2138
2136
  contextVariables: Record<string, ContextFetchDefinition> | null;
2137
+ createdAt: string;
2138
+ updatedAt: string;
2139
2139
  }[]>;
2140
2140
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2141
2141
  scopes: ScopeConfig;
@@ -2151,14 +2151,14 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2151
2151
  }>;
2152
2152
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
2153
2153
  name: string;
2154
- description: string;
2155
- id: string;
2156
2154
  tenantId: string;
2157
2155
  projectId: string;
2158
- createdAt: string;
2159
- updatedAt: string;
2156
+ id: string;
2157
+ description: string;
2160
2158
  requestContextSchema: unknown;
2161
2159
  contextVariables: Record<string, ContextFetchDefinition> | null;
2160
+ createdAt: string;
2161
+ updatedAt: string;
2162
2162
  }>;
2163
2163
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
2164
2164
  scopes: ScopeConfig;
@@ -2166,14 +2166,14 @@ declare const updateContextConfig: (db: DatabaseClient) => (params: {
2166
2166
  data: Partial<ContextConfigUpdate>;
2167
2167
  }) => Promise<{
2168
2168
  name: string;
2169
- description: string;
2170
- id: string;
2171
2169
  tenantId: string;
2172
2170
  projectId: string;
2173
- createdAt: string;
2174
- updatedAt: string;
2171
+ id: string;
2172
+ description: string;
2175
2173
  requestContextSchema: unknown;
2176
2174
  contextVariables: Record<string, ContextFetchDefinition> | null;
2175
+ createdAt: string;
2176
+ updatedAt: string;
2177
2177
  }>;
2178
2178
  declare const deleteContextConfig: (db: DatabaseClient) => (params: {
2179
2179
  scopes: ScopeConfig;
@@ -2191,14 +2191,14 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2191
2191
  name: string;
2192
2192
  }) => Promise<{
2193
2193
  name: string;
2194
- description: string;
2195
- id: string;
2196
2194
  tenantId: string;
2197
2195
  projectId: string;
2198
- createdAt: string;
2199
- updatedAt: string;
2196
+ id: string;
2197
+ description: string;
2200
2198
  requestContextSchema: unknown;
2201
2199
  contextVariables: Record<string, ContextFetchDefinition> | null;
2200
+ createdAt: string;
2201
+ updatedAt: string;
2202
2202
  }[]>;
2203
2203
  /**
2204
2204
  * Upsert a context config (create if it doesn't exist, update if it does)
@@ -2207,14 +2207,14 @@ declare const upsertContextConfig: (db: DatabaseClient) => (params: {
2207
2207
  data: ContextConfigInsert;
2208
2208
  }) => Promise<{
2209
2209
  name: string;
2210
- description: string;
2211
- id: string;
2212
2210
  tenantId: string;
2213
2211
  projectId: string;
2214
- createdAt: string;
2215
- updatedAt: string;
2212
+ id: string;
2213
+ description: string;
2216
2214
  requestContextSchema: unknown;
2217
2215
  contextVariables: Record<string, ContextFetchDefinition> | null;
2216
+ createdAt: string;
2217
+ updatedAt: string;
2218
2218
  }>;
2219
2219
 
2220
2220
  declare const listConversations: (db: DatabaseClient) => (params: {
@@ -2226,15 +2226,15 @@ declare const listConversations: (db: DatabaseClient) => (params: {
2226
2226
  total: number;
2227
2227
  }>;
2228
2228
  declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
2229
- id: string;
2229
+ metadata: ConversationMetadata | null;
2230
2230
  tenantId: string;
2231
2231
  projectId: string;
2232
+ id: string;
2232
2233
  createdAt: string;
2233
2234
  updatedAt: string;
2234
- metadata: ConversationMetadata | null;
2235
+ title: string | null;
2235
2236
  userId: string | null;
2236
2237
  activeAgentId: string;
2237
- title: string | null;
2238
2238
  lastContextResolution: string | null;
2239
2239
  }>;
2240
2240
  declare const updateConversation: (db: DatabaseClient) => (params: {
@@ -2242,15 +2242,15 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
2242
2242
  conversationId: string;
2243
2243
  data: ConversationUpdate;
2244
2244
  }) => Promise<{
2245
- id: string;
2245
+ metadata: ConversationMetadata | null;
2246
2246
  tenantId: string;
2247
2247
  projectId: string;
2248
+ id: string;
2248
2249
  createdAt: string;
2249
2250
  updatedAt: string;
2250
- metadata: ConversationMetadata | null;
2251
+ title: string | null;
2251
2252
  userId: string | null;
2252
2253
  activeAgentId: string;
2253
- title: string | null;
2254
2254
  lastContextResolution: string | null;
2255
2255
  }>;
2256
2256
  declare const deleteConversation: (db: DatabaseClient) => (params: {
@@ -2262,30 +2262,30 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
2262
2262
  conversationId: string;
2263
2263
  activeAgentId: string;
2264
2264
  }) => Promise<{
2265
- id: string;
2265
+ metadata: ConversationMetadata | null;
2266
2266
  tenantId: string;
2267
2267
  projectId: string;
2268
+ id: string;
2268
2269
  createdAt: string;
2269
2270
  updatedAt: string;
2270
- metadata: ConversationMetadata | null;
2271
+ title: string | null;
2271
2272
  userId: string | null;
2272
2273
  activeAgentId: string;
2273
- title: string | null;
2274
2274
  lastContextResolution: string | null;
2275
2275
  }>;
2276
2276
  declare const getConversation: (db: DatabaseClient) => (params: {
2277
2277
  scopes: ScopeConfig;
2278
2278
  conversationId: string;
2279
2279
  }) => Promise<{
2280
- id: string;
2280
+ metadata: ConversationMetadata | null;
2281
2281
  tenantId: string;
2282
2282
  projectId: string;
2283
+ id: string;
2283
2284
  createdAt: string;
2284
2285
  updatedAt: string;
2285
- metadata: ConversationMetadata | null;
2286
+ title: string | null;
2286
2287
  userId: string | null;
2287
2288
  activeAgentId: string;
2288
- title: string | null;
2289
2289
  lastContextResolution: string | null;
2290
2290
  } | undefined>;
2291
2291
  declare const createOrGetConversation: (db: DatabaseClient) => (input: ConversationInsert) => Promise<{
@@ -2315,15 +2315,15 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
2315
2315
  scopes: ScopeConfig;
2316
2316
  conversationId: string;
2317
2317
  }) => Promise<{
2318
- id: string;
2318
+ metadata: ConversationMetadata | null;
2319
2319
  tenantId: string;
2320
2320
  projectId: string;
2321
+ id: string;
2321
2322
  createdAt: string;
2322
2323
  updatedAt: string;
2323
- metadata: ConversationMetadata | null;
2324
+ title: string | null;
2324
2325
  userId: string | null;
2325
2326
  activeAgentId: string;
2326
- title: string | null;
2327
2327
  lastContextResolution: string | null;
2328
2328
  } | undefined>;
2329
2329
  /**
@@ -2486,9 +2486,9 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
2486
2486
  agentId: string;
2487
2487
  dataComponentId: string;
2488
2488
  }) => Promise<{
2489
- id: string;
2490
2489
  tenantId: string;
2491
2490
  projectId: string;
2491
+ id: string;
2492
2492
  createdAt: string;
2493
2493
  agentId: string;
2494
2494
  dataComponentId: string;
@@ -2531,9 +2531,9 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
2531
2531
  agentId: string;
2532
2532
  dataComponentId: string;
2533
2533
  }) => Promise<{
2534
- id: string;
2535
2534
  tenantId: string;
2536
2535
  projectId: string;
2536
+ id: string;
2537
2537
  createdAt: string;
2538
2538
  agentId: string;
2539
2539
  dataComponentId: string;
@@ -2712,20 +2712,20 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
2712
2712
  scopes: ScopeConfig;
2713
2713
  messageId: string;
2714
2714
  }) => Promise<{
2715
- id: string;
2715
+ metadata: MessageMetadata | null;
2716
2716
  tenantId: string;
2717
2717
  projectId: string;
2718
+ id: string;
2718
2719
  createdAt: string;
2719
2720
  updatedAt: string;
2721
+ role: string;
2722
+ content: MessageContent;
2720
2723
  conversationId: string;
2721
- metadata: MessageMetadata | null;
2722
2724
  agentId: string | null;
2723
- role: string;
2724
2725
  fromAgentId: string | null;
2725
2726
  toAgentId: string | null;
2726
2727
  fromExternalAgentId: string | null;
2727
2728
  toExternalAgentId: string | null;
2728
- content: MessageContent;
2729
2729
  visibility: string;
2730
2730
  messageType: string;
2731
2731
  taskId: string | null;
@@ -2838,20 +2838,20 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2838
2838
  updatedAt: string;
2839
2839
  }[]>;
2840
2840
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
2841
- id: string;
2841
+ metadata: MessageMetadata | null;
2842
2842
  tenantId: string;
2843
2843
  projectId: string;
2844
+ id: string;
2844
2845
  createdAt: string;
2845
2846
  updatedAt: string;
2847
+ role: string;
2848
+ content: MessageContent;
2846
2849
  conversationId: string;
2847
- metadata: MessageMetadata | null;
2848
2850
  agentId: string | null;
2849
- role: string;
2850
2851
  fromAgentId: string | null;
2851
2852
  toAgentId: string | null;
2852
2853
  fromExternalAgentId: string | null;
2853
2854
  toExternalAgentId: string | null;
2854
- content: MessageContent;
2855
2855
  visibility: string;
2856
2856
  messageType: string;
2857
2857
  taskId: string | null;
@@ -2864,20 +2864,20 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
2864
2864
  messageId: string;
2865
2865
  data: MessageUpdate;
2866
2866
  }) => Promise<{
2867
- id: string;
2867
+ metadata: MessageMetadata | null;
2868
2868
  tenantId: string;
2869
2869
  projectId: string;
2870
+ id: string;
2870
2871
  createdAt: string;
2871
2872
  updatedAt: string;
2873
+ role: string;
2874
+ content: MessageContent;
2872
2875
  conversationId: string;
2873
- metadata: MessageMetadata | null;
2874
2876
  agentId: string | null;
2875
- role: string;
2876
2877
  fromAgentId: string | null;
2877
2878
  toAgentId: string | null;
2878
2879
  fromExternalAgentId: string | null;
2879
2880
  toExternalAgentId: string | null;
2880
- content: MessageContent;
2881
2881
  visibility: string;
2882
2882
  messageType: string;
2883
2883
  taskId: string | null;
@@ -2889,20 +2889,20 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
2889
2889
  scopes: ScopeConfig;
2890
2890
  messageId: string;
2891
2891
  }) => Promise<{
2892
- id: string;
2892
+ metadata: MessageMetadata | null;
2893
2893
  tenantId: string;
2894
2894
  projectId: string;
2895
+ id: string;
2895
2896
  createdAt: string;
2896
2897
  updatedAt: string;
2898
+ role: string;
2899
+ content: MessageContent;
2897
2900
  conversationId: string;
2898
- metadata: MessageMetadata | null;
2899
2901
  agentId: string | null;
2900
- role: string;
2901
2902
  fromAgentId: string | null;
2902
2903
  toAgentId: string | null;
2903
2904
  fromExternalAgentId: string | null;
2904
2905
  toExternalAgentId: string | null;
2905
- content: MessageContent;
2906
2906
  visibility: string;
2907
2907
  messageType: string;
2908
2908
  taskId: string | null;
@@ -2980,14 +2980,14 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
2980
2980
  }) => Promise<boolean>;
2981
2981
 
2982
2982
  declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
2983
- id: string;
2983
+ metadata: TaskMetadataConfig | null;
2984
2984
  tenantId: string;
2985
2985
  projectId: string;
2986
+ id: string;
2986
2987
  createdAt: string;
2987
2988
  updatedAt: string;
2988
- contextId: string;
2989
2989
  status: string;
2990
- metadata: TaskMetadataConfig | null;
2990
+ contextId: string;
2991
2991
  agentId: string;
2992
2992
  }>;
2993
2993
  declare const getTask: (db: DatabaseClient) => (params: {
@@ -3000,14 +3000,14 @@ declare const updateTask: (db: DatabaseClient) => (params: {
3000
3000
  metadata?: any;
3001
3001
  };
3002
3002
  }) => Promise<{
3003
- id: string;
3003
+ metadata: TaskMetadataConfig | null;
3004
3004
  tenantId: string;
3005
3005
  projectId: string;
3006
+ id: string;
3006
3007
  createdAt: string;
3007
3008
  updatedAt: string;
3008
- contextId: string;
3009
3009
  status: string;
3010
- metadata: TaskMetadataConfig | null;
3010
+ contextId: string;
3011
3011
  agentId: string;
3012
3012
  }>;
3013
3013
  declare const listTaskIdsByContextId: (db: DatabaseClient) => (params: {
@@ -3021,19 +3021,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3021
3021
  }) => Promise<{
3022
3022
  name: string;
3023
3023
  headers: Record<string, string> | null;
3024
- id: string;
3025
3024
  tenantId: string;
3026
3025
  projectId: string;
3026
+ id: string;
3027
3027
  createdAt: string;
3028
3028
  updatedAt: string;
3029
- credentialReferenceId: string | null;
3030
3029
  status: string;
3030
+ capabilities: ToolServerCapabilities | null;
3031
3031
  config: {
3032
3032
  type: "mcp";
3033
3033
  mcp: ToolMcpConfig;
3034
3034
  };
3035
+ credentialReferenceId: string | null;
3035
3036
  imageUrl: string | null;
3036
- capabilities: ToolServerCapabilities | null;
3037
3037
  lastHealthCheck: string | null;
3038
3038
  lastError: string | null;
3039
3039
  availableTools: McpToolDefinition[] | null;
@@ -3101,19 +3101,19 @@ declare const listToolsByStatus: (db: DatabaseClient) => (params: {
3101
3101
  }) => Promise<{
3102
3102
  name: string;
3103
3103
  headers: Record<string, string> | null;
3104
- id: string;
3105
3104
  tenantId: string;
3106
3105
  projectId: string;
3106
+ id: string;
3107
3107
  createdAt: string;
3108
3108
  updatedAt: string;
3109
- credentialReferenceId: string | null;
3110
3109
  status: string;
3110
+ capabilities: ToolServerCapabilities | null;
3111
3111
  config: {
3112
3112
  type: "mcp";
3113
3113
  mcp: ToolMcpConfig;
3114
3114
  };
3115
+ credentialReferenceId: string | null;
3115
3116
  imageUrl: string | null;
3116
- capabilities: ToolServerCapabilities | null;
3117
3117
  lastHealthCheck: string | null;
3118
3118
  lastError: string | null;
3119
3119
  availableTools: McpToolDefinition[] | null;
@@ -3122,19 +3122,19 @@ declare const listToolsByStatus: (db: DatabaseClient) => (params: {
3122
3122
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3123
3123
  name: string;
3124
3124
  headers: Record<string, string> | null;
3125
- id: string;
3126
3125
  tenantId: string;
3127
3126
  projectId: string;
3127
+ id: string;
3128
3128
  createdAt: string;
3129
3129
  updatedAt: string;
3130
- credentialReferenceId: string | null;
3131
3130
  status: string;
3131
+ capabilities: ToolServerCapabilities | null;
3132
3132
  config: {
3133
3133
  type: "mcp";
3134
3134
  mcp: ToolMcpConfig;
3135
3135
  };
3136
+ credentialReferenceId: string | null;
3136
3137
  imageUrl: string | null;
3137
- capabilities: ToolServerCapabilities | null;
3138
3138
  lastHealthCheck: string | null;
3139
3139
  lastError: string | null;
3140
3140
  availableTools: McpToolDefinition[] | null;
@@ -3147,19 +3147,19 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3147
3147
  }) => Promise<{
3148
3148
  name: string;
3149
3149
  headers: Record<string, string> | null;
3150
- id: string;
3151
3150
  tenantId: string;
3152
3151
  projectId: string;
3152
+ id: string;
3153
3153
  createdAt: string;
3154
3154
  updatedAt: string;
3155
- credentialReferenceId: string | null;
3156
3155
  status: string;
3156
+ capabilities: ToolServerCapabilities | null;
3157
3157
  config: {
3158
3158
  type: "mcp";
3159
3159
  mcp: ToolMcpConfig;
3160
3160
  };
3161
+ credentialReferenceId: string | null;
3161
3162
  imageUrl: string | null;
3162
- capabilities: ToolServerCapabilities | null;
3163
3163
  lastHealthCheck: string | null;
3164
3164
  lastError: string | null;
3165
3165
  availableTools: McpToolDefinition[] | null;
@@ -3174,9 +3174,9 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
3174
3174
  agentId: string;
3175
3175
  toolId: string;
3176
3176
  }) => Promise<{
3177
- id: string;
3178
3177
  tenantId: string;
3179
3178
  projectId: string;
3179
+ id: string;
3180
3180
  createdAt: string;
3181
3181
  updatedAt: string;
3182
3182
  agentId: string;
@@ -3187,9 +3187,9 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3187
3187
  agentId: string;
3188
3188
  toolId: string;
3189
3189
  }) => Promise<{
3190
- id: string;
3191
3190
  tenantId: string;
3192
3191
  projectId: string;
3192
+ id: string;
3193
3193
  createdAt: string;
3194
3194
  updatedAt: string;
3195
3195
  agentId: string;
@@ -3203,9 +3203,9 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3203
3203
  agentId: string;
3204
3204
  toolId: string;
3205
3205
  }) => Promise<{
3206
- id: string;
3207
3206
  tenantId: string;
3208
3207
  projectId: string;
3208
+ id: string;
3209
3209
  createdAt: string;
3210
3210
  updatedAt: string;
3211
3211
  agentId: string;
@@ -3220,19 +3220,19 @@ declare const updateToolStatus: (db: DatabaseClient) => (params: {
3220
3220
  }) => Promise<{
3221
3221
  name: string;
3222
3222
  headers: Record<string, string> | null;
3223
- id: string;
3224
3223
  tenantId: string;
3225
3224
  projectId: string;
3225
+ id: string;
3226
3226
  createdAt: string;
3227
3227
  updatedAt: string;
3228
- credentialReferenceId: string | null;
3229
3228
  status: string;
3229
+ capabilities: ToolServerCapabilities | null;
3230
3230
  config: {
3231
3231
  type: "mcp";
3232
3232
  mcp: ToolMcpConfig;
3233
3233
  };
3234
+ credentialReferenceId: string | null;
3234
3235
  imageUrl: string | null;
3235
- capabilities: ToolServerCapabilities | null;
3236
3236
  lastHealthCheck: string | null;
3237
3237
  lastError: string | null;
3238
3238
  availableTools: McpToolDefinition[] | null;
@@ -3246,19 +3246,19 @@ declare const upsertTool: (db: DatabaseClient) => (params: {
3246
3246
  }) => Promise<{
3247
3247
  name: string;
3248
3248
  headers: Record<string, string> | null;
3249
- id: string;
3250
3249
  tenantId: string;
3251
3250
  projectId: string;
3251
+ id: string;
3252
3252
  createdAt: string;
3253
3253
  updatedAt: string;
3254
- credentialReferenceId: string | null;
3255
3254
  status: string;
3255
+ capabilities: ToolServerCapabilities | null;
3256
3256
  config: {
3257
3257
  type: "mcp";
3258
3258
  mcp: ToolMcpConfig;
3259
3259
  };
3260
+ credentialReferenceId: string | null;
3260
3261
  imageUrl: string | null;
3261
- capabilities: ToolServerCapabilities | null;
3262
3262
  lastHealthCheck: string | null;
3263
3263
  lastError: string | null;
3264
3264
  availableTools: McpToolDefinition[] | null;
@@ -3423,7 +3423,7 @@ declare const detectAuthenticationRequired: (tool: McpTool, error: Error, logger
3423
3423
  */
3424
3424
  declare function getCredentialStoreLookupKeyFromRetrievalParams({ retrievalParams, credentialStoreType, }: {
3425
3425
  retrievalParams: Record<string, unknown>;
3426
- credentialStoreType: string;
3426
+ credentialStoreType: keyof typeof CredentialStoreType;
3427
3427
  }): string | null;
3428
3428
 
3429
3429
  declare const ErrorCode: z$1.ZodEnum<{
@@ -3989,4 +3989,4 @@ declare function getGlobalTracer(): Tracer;
3989
3989
  */
3990
3990
  declare function forceFlushTracer(): Promise<void>;
3991
3991
 
3992
- export { AgentGraphInsert, AgentGraphUpdate, AgentInsert, AgentRelationInsert, AgentRelationUpdate, AgentSelect, AgentToolRelationUpdate, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, BASE, type CommonCreateErrorResponses, type CommonDeleteErrorResponses, type CommonGetErrorResponses, type CommonUpdateErrorResponses, ConsoleLogger, 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, CredentialReferenceInsert, CredentialReferenceSelect, CredentialReferenceUpdate, type CredentialReferenceWithTools, type CredentialResolverInput, CredentialStore, type CredentialStoreReference, CredentialStoreRegistry, CredentialStuffer, DataComponentInsert, DataComponentSelect, DataComponentUpdate, type DatabaseClient, type DatabaseConfig, ERROR_DOCS_BASE_URL, ErrorCode, type ErrorCodes, type ErrorResponse, ExecutionContext, ExternalAgentInsert, ExternalAgentRelationInsert, ExternalAgentSelect, ExternalAgentUpdate, FetchDefinition, type FetchResult, FullGraphDefinition, type GraphLogger, HTTP_REQUEST_PARTS, type HttpRequestPart, InMemoryCredentialStore, KeyChainStore, LedgerArtifactSelect, type Logger$1 as Logger, type LoggerFactoryConfig, MCPToolConfig, McpClient, type McpClientOptions, type McpSSEConfig, type McpServerConfig, type McpStreamableHttpConfig, McpTool, McpToolDefinition, McpToolStatus, MessageContent, MessageInsert, MessageMetadata, MessageUpdate, MessageVisibility, NangoCredentialStore, NoOpLogger, type OAuthConfig, PaginationConfig, PaginationResult, type ParsedHttpRequest, type ProblemDetails, ProjectInfo, ProjectInsert, ProjectResourceCounts, ProjectSelect, ProjectUpdate, RequestSchemaConfig, RequestSchemaDefinition, type ResolvedContext, SERVICE_NAME, SERVICE_VERSION, ScopeConfig, TaskInsert, TaskMetadataConfig, TaskSelect, type TemplateContext, TemplateEngine, type TemplateRenderOptions, ToolInsert, ToolMcpConfig, ToolSelect, ToolServerCapabilities, ToolUpdate, addLedgerArtifacts, addToolToAgent, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, configureLogging, 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, createInMemoryDatabaseClient, createKeyChainStore, createMessage, createNangoCredentialStore, createOrGetConversation, createProject, createRequestSchema, createSpanName, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentGraph, deleteAgentRelation, deleteAgentRelationsByGraph, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullGraph, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteTool, detectAuthenticationRequired, determineContextTrigger, discoverOAuthEndpoints, errorResponseSchema, errorSchemaFactory, externalAgentExists, externalAgentUrlExists, extractPublicId, fetchComponentRelationships, fetchDefinition, forceFlushTracer, generateAndCreateApiKey, generateApiKey, getActiveAgentForConversation, getAgentById, getAgentGraph, getAgentGraphById, getAgentGraphWithDefaultAgent, getAgentInGraphContext, 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, getGlobalTracer, getGraphAgentInfos, getHealthyToolsForAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getLogger, getMessageById, getMessagesByConversation, getMessagesByTask, getProject, getProjectResourceCounts, getRelatedAgentsForGraph, getRequestExecutionContext, getTask, getToolById, getToolsByStatus, getToolsForAgent, getVisibleMessages, graphHasArtifactComponents, handleApiError, handleContextConfigChange, handleContextResolution, handleSpanError, hasApiKey, hasContextConfig, hasCredentialReference, hashApiKey, invalidateInvocationDefinitionsCache, invalidateRequestContextCache, isApiKeyExpired, isArtifactComponentAssociatedWithAgent, isComprehensiveRequestSchema, isDataComponentAssociatedWithAgent, isValidHttpRequest, listAgentGraphs, listAgentGraphsPaginated, listAgentRelations, listAgentToolRelations, listAgentToolRelationsByAgent, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listMessages, listProjects, listProjectsPaginated, listTaskIdsByContextId, listTools, listToolsByStatus, loggerFactory, maskApiKey, problemDetailsSchema, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, updateAgent, updateAgentGraph, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullGraphServerSide, updateMessage, updateProject, updateTask, updateTool, updateToolStatus, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertAgentGraph, upsertAgentRelation, upsertAgentToolRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateExternalAgent, validateHttpRequestParts, validateInternalAgent, validateProjectExists, validateRequestContext, validationHelper, withProjectValidation };
3992
+ export { AgentGraphInsert, AgentGraphUpdate, AgentInsert, AgentRelationInsert, AgentRelationUpdate, AgentSelect, AgentToolRelationUpdate, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, BASE, type CommonCreateErrorResponses, type CommonDeleteErrorResponses, type CommonGetErrorResponses, type CommonUpdateErrorResponses, ConsoleLogger, 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, CredentialReferenceInsert, CredentialReferenceSelect, CredentialReferenceUpdate, type CredentialReferenceWithTools, type CredentialResolverInput, CredentialStore, type CredentialStoreReference, CredentialStoreRegistry, CredentialStoreType, CredentialStuffer, DataComponentInsert, DataComponentSelect, DataComponentUpdate, type DatabaseClient, type DatabaseConfig, ERROR_DOCS_BASE_URL, ErrorCode, type ErrorCodes, type ErrorResponse, ExecutionContext, ExternalAgentInsert, ExternalAgentRelationInsert, ExternalAgentSelect, ExternalAgentUpdate, FetchDefinition, type FetchResult, FullGraphDefinition, type GraphLogger, HTTP_REQUEST_PARTS, type HttpRequestPart, InMemoryCredentialStore, KeyChainStore, LedgerArtifactSelect, type Logger$1 as Logger, type LoggerFactoryConfig, MCPToolConfig, MCPTransportType, McpClient, type McpClientOptions, type McpSSEConfig, type McpServerConfig, type McpStreamableHttpConfig, McpTool, McpToolDefinition, McpToolStatus, MessageContent, MessageInsert, MessageMetadata, MessageUpdate, MessageVisibility, NangoCredentialStore, NoOpLogger, type OAuthConfig, PaginationConfig, PaginationResult, type ParsedHttpRequest, type ProblemDetails, ProjectInfo, ProjectInsert, ProjectResourceCounts, ProjectSelect, ProjectUpdate, RequestSchemaConfig, RequestSchemaDefinition, type ResolvedContext, SERVICE_NAME, SERVICE_VERSION, ScopeConfig, TaskInsert, TaskMetadataConfig, TaskSelect, type TemplateContext, TemplateEngine, type TemplateRenderOptions, ToolInsert, ToolMcpConfig, ToolSelect, ToolServerCapabilities, ToolUpdate, addLedgerArtifacts, addToolToAgent, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, configureLogging, 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, createInMemoryDatabaseClient, createKeyChainStore, createMessage, createNangoCredentialStore, createOrGetConversation, createProject, createRequestSchema, createSpanName, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentGraph, deleteAgentRelation, deleteAgentRelationsByGraph, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullGraph, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteTool, detectAuthenticationRequired, determineContextTrigger, discoverOAuthEndpoints, errorResponseSchema, errorSchemaFactory, externalAgentExists, externalAgentUrlExists, extractPublicId, fetchComponentRelationships, fetchDefinition, forceFlushTracer, generateAndCreateApiKey, generateApiKey, getActiveAgentForConversation, getAgentById, getAgentGraph, getAgentGraphById, getAgentGraphWithDefaultAgent, getAgentInGraphContext, 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, getGlobalTracer, getGraphAgentInfos, getHealthyToolsForAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getLogger, getMessageById, getMessagesByConversation, getMessagesByTask, getProject, getProjectResourceCounts, getRelatedAgentsForGraph, getRequestExecutionContext, getTask, getToolById, getToolsByStatus, getToolsForAgent, getVisibleMessages, graphHasArtifactComponents, handleApiError, handleContextConfigChange, handleContextResolution, handleSpanError, hasApiKey, hasContextConfig, hasCredentialReference, hashApiKey, invalidateInvocationDefinitionsCache, invalidateRequestContextCache, isApiKeyExpired, isArtifactComponentAssociatedWithAgent, isComprehensiveRequestSchema, isDataComponentAssociatedWithAgent, isValidHttpRequest, listAgentGraphs, listAgentGraphsPaginated, listAgentRelations, listAgentToolRelations, listAgentToolRelationsByAgent, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listMessages, listProjects, listProjectsPaginated, listTaskIdsByContextId, listTools, listToolsByStatus, loggerFactory, maskApiKey, problemDetailsSchema, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, updateAgent, updateAgentGraph, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullGraphServerSide, updateMessage, updateProject, updateTask, updateTool, updateToolStatus, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertAgentGraph, upsertAgentRelation, upsertAgentToolRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateExternalAgent, validateHttpRequestParts, validateInternalAgent, validateProjectExists, validateRequestContext, validationHelper, withProjectValidation };