@inkeep/agents-core 0.14.5 → 0.14.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, 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-POey8vOB.js';
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-POey8vOB.js';
2
+ import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, f as ContextFetchDefinition, M as MCPTransportType, n as MCPToolConfig, o as GraphScopeConfig, C as ConversationHistoryConfig, p as ProjectScopeConfig, q as PaginationConfig, r as AgentGraphInsert, s as AgentGraphUpdate, t as FullGraphDefinition, u as AgentScopeConfig, v as AgentRelationInsert, E as ExternalAgentRelationInsert, w as AgentRelationUpdate, x as AgentToolRelationUpdate, g as ToolMcpConfig, h as ToolServerCapabilities, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, H as ApiKeyInsert, I as ApiKeyUpdate, J as CreateApiKeyParams, K as ApiKeyCreateResult, L as ArtifactComponentSelect, N as ArtifactComponentInsert, O as ArtifactComponentUpdate, Q as ContextCacheSelect, R as ContextCacheInsert, U as ContextConfigInsert, V as ContextConfigUpdate, W as ConversationSelect, X as ConversationInsert, i as ConversationMetadata, Y as ConversationUpdate, Z as CredentialReferenceSelect, _ as ToolSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, a7 as Artifact, a8 as LedgerArtifactSelect, k as MessageMetadata, j as MessageContent, a9 as MessageVisibility, aa as MessageInsert, ab as MessageUpdate, ac as FullProjectDefinition, ad as ProjectInfo, ae as ProjectSelect, af as PaginationResult, ag as ProjectResourceCounts, ah as ProjectInsert, ai as ProjectUpdate, aj as TaskInsert, T as TaskMetadataConfig, ak as TaskSelect, al as McpTool, am as ToolInsert, an as ToolUpdate, e as CredentialStoreType, ao as ExecutionContext } from './utility-COYxGpY5.js';
3
+ export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-COYxGpY5.js';
4
4
  import { CredentialStore } from './types/index.js';
5
5
  export { CorsConfig, ServerConfig, ServerOptions } from './types/index.js';
6
6
  import { LibSQLDatabase } from 'drizzle-orm/libsql';
7
- import { s as schema } from './schema-CFoAzEjh.js';
8
- export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-CFoAzEjh.js';
7
+ import { s as schema } from './schema-iVTOUsW8.js';
8
+ export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-iVTOUsW8.js';
9
9
  import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
10
10
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
11
11
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
@@ -116,10 +116,10 @@ declare class ContextConfigBuilder<R extends z.ZodTypeAny | undefined, CV extend
116
116
  private graphId;
117
117
  constructor(options: ContextConfigBuilderOptions<R, CV>);
118
118
  /**
119
- * Set the context (tenantId, projectId, baseURL) for this context config
119
+ * Set the context (tenantId, projectId, graphId) for this context config
120
120
  * Called by graph.setConfig() when the graph is configured
121
121
  */
122
- setContext(tenantId: string, projectId: string, graphId: string, baseURL?: string): void;
122
+ setContext(tenantId: string, projectId: string, graphId: string): void;
123
123
  /**
124
124
  * Convert the builder to a plain object for database operations
125
125
  */
@@ -826,13 +826,14 @@ declare class CredentialStuffer {
826
826
  declare const getAgentGraphById: (db: DatabaseClient) => (params: {
827
827
  scopes: GraphScopeConfig;
828
828
  }) => Promise<{
829
- name: string;
829
+ tenantId: string;
830
+ projectId: string;
830
831
  id: string;
832
+ name: string;
833
+ description: string | null;
831
834
  createdAt: string;
832
835
  updatedAt: string;
833
- projectId: string;
834
- tenantId: string;
835
- description: string | null;
836
+ defaultAgentId: string | null;
836
837
  models: {
837
838
  base?: {
838
839
  model?: string | undefined;
@@ -850,7 +851,6 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
850
851
  stopWhen: {
851
852
  transferCountIs?: number | undefined;
852
853
  } | null;
853
- defaultAgentId: string | null;
854
854
  contextConfigId: string | null;
855
855
  statusUpdates: {
856
856
  enabled?: boolean | undefined;
@@ -872,13 +872,14 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
872
872
  declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
873
873
  scopes: GraphScopeConfig;
874
874
  }) => Promise<{
875
- name: string;
875
+ tenantId: string;
876
+ projectId: string;
876
877
  id: string;
878
+ name: string;
879
+ description: string | null;
877
880
  createdAt: string;
878
881
  updatedAt: string;
879
- projectId: string;
880
- tenantId: string;
881
- description: string | null;
882
+ defaultAgentId: string | null;
882
883
  models: {
883
884
  base?: {
884
885
  model?: string | undefined;
@@ -896,7 +897,6 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
896
897
  stopWhen: {
897
898
  transferCountIs?: number | undefined;
898
899
  } | null;
899
- defaultAgentId: string | null;
900
900
  contextConfigId: string | null;
901
901
  statusUpdates: {
902
902
  enabled?: boolean | undefined;
@@ -915,13 +915,16 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
915
915
  } | null;
916
916
  graphPrompt: string | null;
917
917
  defaultAgent: {
918
- name: string;
918
+ tenantId: string;
919
+ projectId: string;
919
920
  id: string;
921
+ name: string;
922
+ description: string;
923
+ prompt: string;
924
+ graphId: string;
920
925
  createdAt: string;
921
926
  updatedAt: string;
922
- projectId: string;
923
- tenantId: string;
924
- description: string;
927
+ conversationHistoryConfig: ConversationHistoryConfig | null;
925
928
  models: {
926
929
  base?: {
927
930
  model?: string | undefined;
@@ -939,21 +942,19 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
939
942
  stopWhen: {
940
943
  stepCountIs?: number | undefined;
941
944
  } | null;
942
- graphId: string;
943
- prompt: string;
944
- conversationHistoryConfig: ConversationHistoryConfig | null;
945
945
  } | null;
946
946
  } | null>;
947
947
  declare const listAgentGraphs: (db: DatabaseClient) => (params: {
948
948
  scopes: ProjectScopeConfig;
949
949
  }) => Promise<{
950
- name: string;
950
+ tenantId: string;
951
+ projectId: string;
951
952
  id: string;
953
+ name: string;
954
+ description: string | null;
952
955
  createdAt: string;
953
956
  updatedAt: string;
954
- projectId: string;
955
- tenantId: string;
956
- description: string | null;
957
+ defaultAgentId: string | null;
957
958
  models: {
958
959
  base?: {
959
960
  model?: string | undefined;
@@ -971,7 +972,6 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
971
972
  stopWhen: {
972
973
  transferCountIs?: number | undefined;
973
974
  } | null;
974
- defaultAgentId: string | null;
975
975
  contextConfigId: string | null;
976
976
  statusUpdates: {
977
977
  enabled?: boolean | undefined;
@@ -1046,13 +1046,14 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
1046
1046
  };
1047
1047
  }>;
1048
1048
  declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
1049
- name: string;
1049
+ tenantId: string;
1050
+ projectId: string;
1050
1051
  id: string;
1052
+ name: string;
1053
+ description: string | null;
1051
1054
  createdAt: string;
1052
1055
  updatedAt: string;
1053
- projectId: string;
1054
- tenantId: string;
1055
- description: string | null;
1056
+ defaultAgentId: string | null;
1056
1057
  models: {
1057
1058
  base?: {
1058
1059
  model?: string | undefined;
@@ -1070,7 +1071,6 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1070
1071
  stopWhen: {
1071
1072
  transferCountIs?: number | undefined;
1072
1073
  } | null;
1073
- defaultAgentId: string | null;
1074
1074
  contextConfigId: string | null;
1075
1075
  statusUpdates: {
1076
1076
  enabled?: boolean | undefined;
@@ -1093,13 +1093,14 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1093
1093
  scopes: GraphScopeConfig;
1094
1094
  data: AgentGraphUpdate;
1095
1095
  }) => Promise<{
1096
- name: string;
1096
+ tenantId: string;
1097
+ projectId: string;
1097
1098
  id: string;
1099
+ name: string;
1100
+ description: string | null;
1098
1101
  createdAt: string;
1099
1102
  updatedAt: string;
1100
- projectId: string;
1101
- tenantId: string;
1102
- description: string | null;
1103
+ defaultAgentId: string | null;
1103
1104
  models: {
1104
1105
  base?: {
1105
1106
  model?: string | undefined;
@@ -1117,7 +1118,6 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1117
1118
  stopWhen: {
1118
1119
  transferCountIs?: number | undefined;
1119
1120
  } | null;
1120
- defaultAgentId: string | null;
1121
1121
  contextConfigId: string | null;
1122
1122
  statusUpdates: {
1123
1123
  enabled?: boolean | undefined;
@@ -1172,12 +1172,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
1172
1172
  scopes: GraphScopeConfig;
1173
1173
  relationId: string;
1174
1174
  }) => Promise<{
1175
+ tenantId: string;
1176
+ projectId: string;
1175
1177
  id: string;
1178
+ graphId: string;
1176
1179
  createdAt: string;
1177
1180
  updatedAt: string;
1178
- projectId: string;
1179
- tenantId: string;
1180
- graphId: string;
1181
1181
  sourceAgentId: string;
1182
1182
  targetAgentId: string | null;
1183
1183
  externalAgentId: string | null;
@@ -1209,12 +1209,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
1209
1209
  declare const getAgentRelations: (db: DatabaseClient) => (params: {
1210
1210
  scopes: AgentScopeConfig;
1211
1211
  }) => Promise<{
1212
+ tenantId: string;
1213
+ projectId: string;
1212
1214
  id: string;
1215
+ graphId: string;
1213
1216
  createdAt: string;
1214
1217
  updatedAt: string;
1215
- projectId: string;
1216
- tenantId: string;
1217
- graphId: string;
1218
1218
  sourceAgentId: string;
1219
1219
  targetAgentId: string | null;
1220
1220
  externalAgentId: string | null;
@@ -1223,12 +1223,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
1223
1223
  declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
1224
1224
  scopes: GraphScopeConfig;
1225
1225
  }) => Promise<{
1226
+ tenantId: string;
1227
+ projectId: string;
1226
1228
  id: string;
1229
+ graphId: string;
1227
1230
  createdAt: string;
1228
1231
  updatedAt: string;
1229
- projectId: string;
1230
- tenantId: string;
1231
- graphId: string;
1232
1232
  sourceAgentId: string;
1233
1233
  targetAgentId: string | null;
1234
1234
  externalAgentId: string | null;
@@ -1328,12 +1328,12 @@ declare const getRelatedAgentsForGraph: (db: DatabaseClient) => (params: {
1328
1328
  }[];
1329
1329
  }>;
1330
1330
  declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
1331
+ tenantId: string;
1332
+ projectId: string;
1331
1333
  id: string;
1334
+ graphId: string;
1332
1335
  createdAt: string;
1333
1336
  updatedAt: string;
1334
- projectId: string;
1335
- tenantId: string;
1336
- graphId: string;
1337
1337
  sourceAgentId: string;
1338
1338
  targetAgentId: string | null;
1339
1339
  externalAgentId: string | null;
@@ -1349,12 +1349,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1349
1349
  externalAgentId?: string;
1350
1350
  relationType: string;
1351
1351
  }) => Promise<{
1352
+ tenantId: string;
1353
+ projectId: string;
1352
1354
  id: string;
1355
+ graphId: string;
1353
1356
  createdAt: string;
1354
1357
  updatedAt: string;
1355
- projectId: string;
1356
- tenantId: string;
1357
- graphId: string;
1358
1358
  sourceAgentId: string;
1359
1359
  targetAgentId: string | null;
1360
1360
  externalAgentId: string | null;
@@ -1364,24 +1364,24 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1364
1364
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
1365
1365
  */
1366
1366
  declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
1367
+ tenantId: string;
1368
+ projectId: string;
1367
1369
  id: string;
1370
+ graphId: string;
1368
1371
  createdAt: string;
1369
1372
  updatedAt: string;
1370
- projectId: string;
1371
- tenantId: string;
1372
- graphId: string;
1373
1373
  sourceAgentId: string;
1374
1374
  targetAgentId: string | null;
1375
1375
  externalAgentId: string | null;
1376
1376
  relationType: string | null;
1377
1377
  }>;
1378
1378
  declare const createExternalAgentRelation: (db: DatabaseClient) => (params: ExternalAgentRelationInsert) => Promise<{
1379
+ tenantId: string;
1380
+ projectId: string;
1379
1381
  id: string;
1382
+ graphId: string;
1380
1383
  createdAt: string;
1381
1384
  updatedAt: string;
1382
- projectId: string;
1383
- tenantId: string;
1384
- graphId: string;
1385
1385
  sourceAgentId: string;
1386
1386
  targetAgentId: string | null;
1387
1387
  externalAgentId: string | null;
@@ -1392,12 +1392,12 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
1392
1392
  relationId: string;
1393
1393
  data: AgentRelationUpdate;
1394
1394
  }) => Promise<{
1395
+ tenantId: string;
1396
+ projectId: string;
1395
1397
  id: string;
1398
+ graphId: string;
1396
1399
  createdAt: string;
1397
1400
  updatedAt: string;
1398
- projectId: string;
1399
- tenantId: string;
1400
- graphId: string;
1401
1401
  sourceAgentId: string;
1402
1402
  targetAgentId: string | null;
1403
1403
  externalAgentId: string | null;
@@ -1420,32 +1420,32 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
1420
1420
  headers?: Record<string, string> | null;
1421
1421
  };
1422
1422
  }) => Promise<{
1423
- headers: Record<string, string> | null;
1423
+ tenantId: string;
1424
+ projectId: string;
1424
1425
  id: string;
1426
+ graphId: string;
1425
1427
  createdAt: string;
1426
1428
  updatedAt: string;
1427
- projectId: string;
1428
- tenantId: string;
1429
- graphId: string;
1429
+ headers: Record<string, string> | null;
1430
+ toolId: string;
1430
1431
  selectedTools: string[] | null;
1431
1432
  agentId: string;
1432
- toolId: string;
1433
1433
  }>;
1434
1434
  declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1435
1435
  scopes: GraphScopeConfig;
1436
1436
  relationId: string;
1437
1437
  data: AgentToolRelationUpdate;
1438
1438
  }) => Promise<{
1439
- headers: Record<string, string> | null;
1439
+ tenantId: string;
1440
+ projectId: string;
1440
1441
  id: string;
1442
+ graphId: string;
1441
1443
  createdAt: string;
1442
1444
  updatedAt: string;
1443
- projectId: string;
1444
- tenantId: string;
1445
- graphId: string;
1445
+ headers: Record<string, string> | null;
1446
+ toolId: string;
1446
1447
  selectedTools: string[] | null;
1447
1448
  agentId: string;
1448
- toolId: string;
1449
1449
  }>;
1450
1450
  declare const deleteAgentToolRelation: (db: DatabaseClient) => (params: {
1451
1451
  scopes: GraphScopeConfig;
@@ -1458,16 +1458,16 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
1458
1458
  scopes: AgentScopeConfig;
1459
1459
  relationId: string;
1460
1460
  }) => Promise<{
1461
- headers: Record<string, string> | null;
1461
+ tenantId: string;
1462
+ projectId: string;
1462
1463
  id: string;
1464
+ graphId: string;
1463
1465
  createdAt: string;
1464
1466
  updatedAt: string;
1465
- projectId: string;
1466
- tenantId: string;
1467
- graphId: string;
1467
+ headers: Record<string, string> | null;
1468
+ toolId: string;
1468
1469
  selectedTools: string[] | null;
1469
1470
  agentId: string;
1470
- toolId: string;
1471
1471
  } | undefined>;
1472
1472
  declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
1473
1473
  scopes: AgentScopeConfig;
@@ -1636,13 +1636,16 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1636
1636
  scopes: GraphScopeConfig;
1637
1637
  agentId: string;
1638
1638
  }) => Promise<{
1639
- name: string;
1639
+ tenantId: string;
1640
+ projectId: string;
1640
1641
  id: string;
1642
+ name: string;
1643
+ description: string;
1644
+ prompt: string;
1645
+ graphId: string;
1641
1646
  createdAt: string;
1642
1647
  updatedAt: string;
1643
- projectId: string;
1644
- tenantId: string;
1645
- description: string;
1648
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1646
1649
  models: {
1647
1650
  base?: {
1648
1651
  model?: string | undefined;
@@ -1660,20 +1663,20 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1660
1663
  stopWhen: {
1661
1664
  stepCountIs?: number | undefined;
1662
1665
  } | null;
1663
- graphId: string;
1664
- prompt: string;
1665
- conversationHistoryConfig: ConversationHistoryConfig | null;
1666
1666
  } | undefined>;
1667
1667
  declare const listAgents: (db: DatabaseClient) => (params: {
1668
1668
  scopes: GraphScopeConfig;
1669
1669
  }) => Promise<{
1670
- name: string;
1670
+ tenantId: string;
1671
+ projectId: string;
1671
1672
  id: string;
1673
+ name: string;
1674
+ description: string;
1675
+ prompt: string;
1676
+ graphId: string;
1672
1677
  createdAt: string;
1673
1678
  updatedAt: string;
1674
- projectId: string;
1675
- tenantId: string;
1676
- description: string;
1679
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1677
1680
  models: {
1678
1681
  base?: {
1679
1682
  model?: string | undefined;
@@ -1691,9 +1694,6 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1691
1694
  stopWhen: {
1692
1695
  stepCountIs?: number | undefined;
1693
1696
  } | null;
1694
- graphId: string;
1695
- prompt: string;
1696
- conversationHistoryConfig: ConversationHistoryConfig | null;
1697
1697
  }[]>;
1698
1698
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1699
1699
  scopes: GraphScopeConfig;
@@ -1736,13 +1736,16 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1736
1736
  };
1737
1737
  }>;
1738
1738
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1739
- name: string;
1739
+ tenantId: string;
1740
+ projectId: string;
1740
1741
  id: string;
1742
+ name: string;
1743
+ description: string;
1744
+ prompt: string;
1745
+ graphId: string;
1741
1746
  createdAt: string;
1742
1747
  updatedAt: string;
1743
- projectId: string;
1744
- tenantId: string;
1745
- description: string;
1748
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1746
1749
  models: {
1747
1750
  base?: {
1748
1751
  model?: string | undefined;
@@ -1760,22 +1763,22 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1760
1763
  stopWhen: {
1761
1764
  stepCountIs?: number | undefined;
1762
1765
  } | null;
1763
- graphId: string;
1764
- prompt: string;
1765
- conversationHistoryConfig: ConversationHistoryConfig | null;
1766
1766
  }>;
1767
1767
  declare const updateAgent: (db: DatabaseClient) => (params: {
1768
1768
  scopes: GraphScopeConfig;
1769
1769
  agentId: string;
1770
1770
  data: AgentUpdate;
1771
1771
  }) => Promise<{
1772
- name: string;
1772
+ tenantId: string;
1773
+ projectId: string;
1773
1774
  id: string;
1775
+ name: string;
1776
+ description: string;
1777
+ prompt: string;
1778
+ graphId: string;
1774
1779
  createdAt: string;
1775
1780
  updatedAt: string;
1776
- projectId: string;
1777
- tenantId: string;
1778
- description: string;
1781
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1779
1782
  models: {
1780
1783
  base?: {
1781
1784
  model?: string | undefined;
@@ -1793,9 +1796,6 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1793
1796
  stopWhen: {
1794
1797
  stepCountIs?: number | undefined;
1795
1798
  } | null;
1796
- graphId: string;
1797
- prompt: string;
1798
- conversationHistoryConfig: ConversationHistoryConfig | null;
1799
1799
  }>;
1800
1800
  /**
1801
1801
  * Upsert agent (create if it doesn't exist, update if it does)
@@ -1844,49 +1844,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
1844
1844
  scopes: ProjectScopeConfig;
1845
1845
  id: string;
1846
1846
  }) => Promise<{
1847
- name: string | null;
1848
- id: string;
1849
- createdAt: string;
1850
- updatedAt: string;
1851
- projectId: string;
1852
1847
  tenantId: string;
1848
+ projectId: string;
1849
+ id: string;
1850
+ name: string | null;
1853
1851
  graphId: string;
1854
1852
  publicId: string;
1855
1853
  keyHash: string;
1856
1854
  keyPrefix: string;
1857
1855
  lastUsedAt: string | null;
1858
1856
  expiresAt: string | null;
1859
- } | undefined>;
1860
- declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1861
- name: string | null;
1862
- id: string;
1863
1857
  createdAt: string;
1864
1858
  updatedAt: string;
1865
- projectId: string;
1859
+ } | undefined>;
1860
+ declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1866
1861
  tenantId: string;
1862
+ projectId: string;
1863
+ id: string;
1864
+ name: string | null;
1867
1865
  graphId: string;
1868
1866
  publicId: string;
1869
1867
  keyHash: string;
1870
1868
  keyPrefix: string;
1871
1869
  lastUsedAt: string | null;
1872
1870
  expiresAt: string | null;
1871
+ createdAt: string;
1872
+ updatedAt: string;
1873
1873
  } | undefined>;
1874
1874
  declare const listApiKeys: (db: DatabaseClient) => (params: {
1875
1875
  scopes: ProjectScopeConfig;
1876
1876
  graphId?: string;
1877
1877
  }) => Promise<{
1878
- name: string | null;
1879
- id: string;
1880
- createdAt: string;
1881
- updatedAt: string;
1882
- projectId: string;
1883
1878
  tenantId: string;
1879
+ projectId: string;
1880
+ id: string;
1881
+ name: string | null;
1884
1882
  graphId: string;
1885
1883
  publicId: string;
1886
1884
  keyHash: string;
1887
1885
  keyPrefix: string;
1888
1886
  lastUsedAt: string | null;
1889
1887
  expiresAt: string | null;
1888
+ createdAt: string;
1889
+ updatedAt: string;
1890
1890
  }[]>;
1891
1891
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1892
1892
  scopes: ProjectScopeConfig;
@@ -1902,36 +1902,36 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1902
1902
  };
1903
1903
  }>;
1904
1904
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
1905
- name: string | null;
1906
- id: string;
1907
- createdAt: string;
1908
- updatedAt: string;
1909
- projectId: string;
1910
1905
  tenantId: string;
1906
+ projectId: string;
1907
+ id: string;
1908
+ name: string | null;
1911
1909
  graphId: string;
1912
1910
  publicId: string;
1913
1911
  keyHash: string;
1914
1912
  keyPrefix: string;
1915
1913
  lastUsedAt: string | null;
1916
1914
  expiresAt: string | null;
1915
+ createdAt: string;
1916
+ updatedAt: string;
1917
1917
  }>;
1918
1918
  declare const updateApiKey: (db: DatabaseClient) => (params: {
1919
1919
  scopes: ProjectScopeConfig;
1920
1920
  id: string;
1921
1921
  data: ApiKeyUpdate;
1922
1922
  }) => Promise<{
1923
- name: string | null;
1924
- id: string;
1925
- createdAt: string;
1926
- updatedAt: string;
1927
- projectId: string;
1928
1923
  tenantId: string;
1924
+ projectId: string;
1925
+ id: string;
1926
+ name: string | null;
1929
1927
  graphId: string;
1930
1928
  publicId: string;
1931
1929
  keyHash: string;
1932
1930
  keyPrefix: string;
1933
1931
  lastUsedAt: string | null;
1934
1932
  expiresAt: string | null;
1933
+ createdAt: string;
1934
+ updatedAt: string;
1935
1935
  }>;
1936
1936
  declare const deleteApiKey: (db: DatabaseClient) => (params: {
1937
1937
  scopes: ProjectScopeConfig;
@@ -1960,13 +1960,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1960
1960
  scopes: ProjectScopeConfig;
1961
1961
  id: string;
1962
1962
  }) => Promise<{
1963
- name: string;
1963
+ tenantId: string;
1964
+ projectId: string;
1964
1965
  id: string;
1966
+ name: string;
1967
+ description: string;
1965
1968
  createdAt: string;
1966
1969
  updatedAt: string;
1967
- projectId: string;
1968
- tenantId: string;
1969
- description: string;
1970
1970
  summaryProps: Record<string, unknown> | null;
1971
1971
  fullProps: Record<string, unknown> | null;
1972
1972
  } | undefined>;
@@ -1996,13 +1996,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
1996
1996
  };
1997
1997
  }>;
1998
1998
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
1999
- name: string;
1999
+ tenantId: string;
2000
+ projectId: string;
2000
2001
  id: string;
2002
+ name: string;
2003
+ description: string;
2001
2004
  createdAt: string;
2002
2005
  updatedAt: string;
2003
- projectId: string;
2004
- tenantId: string;
2005
- description: string;
2006
2006
  summaryProps: Record<string, unknown> | null;
2007
2007
  fullProps: Record<string, unknown> | null;
2008
2008
  }>;
@@ -2011,13 +2011,13 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
2011
2011
  id: string;
2012
2012
  data: ArtifactComponentUpdate;
2013
2013
  }) => Promise<{
2014
- name: string;
2014
+ tenantId: string;
2015
+ projectId: string;
2015
2016
  id: string;
2017
+ name: string;
2018
+ description: string;
2016
2019
  createdAt: string;
2017
2020
  updatedAt: string;
2018
- projectId: string;
2019
- tenantId: string;
2020
- description: string;
2021
2021
  summaryProps: Record<string, unknown> | null;
2022
2022
  fullProps: Record<string, unknown> | null;
2023
2023
  }>;
@@ -2042,11 +2042,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
2042
2042
  scopes: AgentScopeConfig;
2043
2043
  artifactComponentId: string;
2044
2044
  }) => Promise<{
2045
- id: string;
2046
- createdAt: string;
2047
- projectId: string;
2048
2045
  tenantId: string;
2046
+ projectId: string;
2047
+ id: string;
2049
2048
  graphId: string;
2049
+ createdAt: string;
2050
2050
  agentId: string;
2051
2051
  artifactComponentId: string;
2052
2052
  }>;
@@ -2085,11 +2085,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
2085
2085
  scopes: AgentScopeConfig;
2086
2086
  artifactComponentId: string;
2087
2087
  }) => Promise<{
2088
- id: string;
2089
- createdAt: string;
2090
- projectId: string;
2091
2088
  tenantId: string;
2089
+ projectId: string;
2090
+ id: string;
2092
2091
  graphId: string;
2092
+ createdAt: string;
2093
2093
  agentId: string;
2094
2094
  artifactComponentId: string;
2095
2095
  } | null>;
@@ -2169,30 +2169,30 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2169
2169
  scopes: ProjectScopeConfig;
2170
2170
  id: string;
2171
2171
  }) => Promise<{
2172
- name: string;
2172
+ tenantId: string;
2173
+ projectId: string;
2173
2174
  id: string;
2175
+ name: string;
2176
+ description: string;
2177
+ graphId: string;
2174
2178
  createdAt: string;
2175
2179
  updatedAt: string;
2176
- projectId: string;
2177
- tenantId: string;
2178
- description: string;
2179
2180
  requestContextSchema: unknown;
2180
2181
  contextVariables: Record<string, ContextFetchDefinition> | null;
2181
- graphId: string;
2182
2182
  } | undefined>;
2183
2183
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2184
2184
  scopes: ProjectScopeConfig;
2185
2185
  }) => Promise<{
2186
- name: string;
2186
+ tenantId: string;
2187
+ projectId: string;
2187
2188
  id: string;
2189
+ name: string;
2190
+ description: string;
2191
+ graphId: string;
2188
2192
  createdAt: string;
2189
2193
  updatedAt: string;
2190
- projectId: string;
2191
- tenantId: string;
2192
- description: string;
2193
2194
  requestContextSchema: unknown;
2194
2195
  contextVariables: Record<string, ContextFetchDefinition> | null;
2195
- graphId: string;
2196
2196
  }[]>;
2197
2197
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2198
2198
  scopes: ProjectScopeConfig;
@@ -2207,32 +2207,32 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2207
2207
  };
2208
2208
  }>;
2209
2209
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
2210
- name: string;
2210
+ tenantId: string;
2211
+ projectId: string;
2211
2212
  id: string;
2213
+ name: string;
2214
+ description: string;
2215
+ graphId: string;
2212
2216
  createdAt: string;
2213
2217
  updatedAt: string;
2214
- projectId: string;
2215
- tenantId: string;
2216
- description: string;
2217
2218
  requestContextSchema: unknown;
2218
2219
  contextVariables: Record<string, ContextFetchDefinition> | null;
2219
- graphId: string;
2220
2220
  }>;
2221
2221
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
2222
2222
  scopes: ProjectScopeConfig;
2223
2223
  id: string;
2224
2224
  data: Partial<ContextConfigUpdate>;
2225
2225
  }) => Promise<{
2226
- name: string;
2226
+ tenantId: string;
2227
+ projectId: string;
2227
2228
  id: string;
2229
+ name: string;
2230
+ description: string;
2231
+ graphId: string;
2228
2232
  createdAt: string;
2229
2233
  updatedAt: string;
2230
- projectId: string;
2231
- tenantId: string;
2232
- description: string;
2233
2234
  requestContextSchema: unknown;
2234
2235
  contextVariables: Record<string, ContextFetchDefinition> | null;
2235
- graphId: string;
2236
2236
  }>;
2237
2237
  declare const deleteContextConfig: (db: DatabaseClient) => (params: {
2238
2238
  scopes: ProjectScopeConfig;
@@ -2249,16 +2249,16 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2249
2249
  scopes: ProjectScopeConfig;
2250
2250
  name: string;
2251
2251
  }) => Promise<{
2252
- name: string;
2252
+ tenantId: string;
2253
+ projectId: string;
2253
2254
  id: string;
2255
+ name: string;
2256
+ description: string;
2257
+ graphId: string;
2254
2258
  createdAt: string;
2255
2259
  updatedAt: string;
2256
- projectId: string;
2257
- tenantId: string;
2258
- description: string;
2259
2260
  requestContextSchema: unknown;
2260
2261
  contextVariables: Record<string, ContextFetchDefinition> | null;
2261
- graphId: string;
2262
2262
  }[]>;
2263
2263
  /**
2264
2264
  * Upsert a context config (create if it doesn't exist, update if it does)
@@ -2266,16 +2266,16 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2266
2266
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
2267
2267
  data: ContextConfigInsert;
2268
2268
  }) => Promise<{
2269
- name: string;
2269
+ tenantId: string;
2270
+ projectId: string;
2270
2271
  id: string;
2272
+ name: string;
2273
+ description: string;
2274
+ graphId: string;
2271
2275
  createdAt: string;
2272
2276
  updatedAt: string;
2273
- projectId: string;
2274
- tenantId: string;
2275
- description: string;
2276
2277
  requestContextSchema: unknown;
2277
2278
  contextVariables: Record<string, ContextFetchDefinition> | null;
2278
- graphId: string;
2279
2279
  }>;
2280
2280
 
2281
2281
  declare const listConversations: (db: DatabaseClient) => (params: {
@@ -2287,11 +2287,11 @@ declare const listConversations: (db: DatabaseClient) => (params: {
2287
2287
  total: number;
2288
2288
  }>;
2289
2289
  declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
2290
+ tenantId: string;
2291
+ projectId: string;
2290
2292
  id: string;
2291
2293
  createdAt: string;
2292
2294
  updatedAt: string;
2293
- projectId: string;
2294
- tenantId: string;
2295
2295
  title: string | null;
2296
2296
  metadata: ConversationMetadata | null;
2297
2297
  userId: string | null;
@@ -2303,11 +2303,11 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
2303
2303
  conversationId: string;
2304
2304
  data: ConversationUpdate;
2305
2305
  }) => Promise<{
2306
+ tenantId: string;
2307
+ projectId: string;
2306
2308
  id: string;
2307
2309
  createdAt: string;
2308
2310
  updatedAt: string;
2309
- projectId: string;
2310
- tenantId: string;
2311
2311
  title: string | null;
2312
2312
  metadata: ConversationMetadata | null;
2313
2313
  userId: string | null;
@@ -2323,11 +2323,11 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
2323
2323
  conversationId: string;
2324
2324
  activeAgentId: string;
2325
2325
  }) => Promise<{
2326
+ tenantId: string;
2327
+ projectId: string;
2326
2328
  id: string;
2327
2329
  createdAt: string;
2328
2330
  updatedAt: string;
2329
- projectId: string;
2330
- tenantId: string;
2331
2331
  title: string | null;
2332
2332
  metadata: ConversationMetadata | null;
2333
2333
  userId: string | null;
@@ -2338,11 +2338,11 @@ declare const getConversation: (db: DatabaseClient) => (params: {
2338
2338
  scopes: ProjectScopeConfig;
2339
2339
  conversationId: string;
2340
2340
  }) => Promise<{
2341
+ tenantId: string;
2342
+ projectId: string;
2341
2343
  id: string;
2342
2344
  createdAt: string;
2343
2345
  updatedAt: string;
2344
- projectId: string;
2345
- tenantId: string;
2346
2346
  title: string | null;
2347
2347
  metadata: ConversationMetadata | null;
2348
2348
  userId: string | null;
@@ -2376,11 +2376,11 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
2376
2376
  scopes: ProjectScopeConfig;
2377
2377
  conversationId: string;
2378
2378
  }) => Promise<{
2379
+ tenantId: string;
2380
+ projectId: string;
2379
2381
  id: string;
2380
2382
  createdAt: string;
2381
2383
  updatedAt: string;
2382
- projectId: string;
2383
- tenantId: string;
2384
2384
  title: string | null;
2385
2385
  metadata: ConversationMetadata | null;
2386
2386
  userId: string | null;
@@ -2545,11 +2545,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
2545
2545
  scopes: AgentScopeConfig;
2546
2546
  dataComponentId: string;
2547
2547
  }) => Promise<{
2548
- id: string;
2549
- createdAt: string;
2550
- projectId: string;
2551
2548
  tenantId: string;
2549
+ projectId: string;
2550
+ id: string;
2552
2551
  graphId: string;
2552
+ createdAt: string;
2553
2553
  agentId: string;
2554
2554
  dataComponentId: string;
2555
2555
  }>;
@@ -2587,11 +2587,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
2587
2587
  scopes: AgentScopeConfig;
2588
2588
  dataComponentId: string;
2589
2589
  }) => Promise<{
2590
- id: string;
2591
- createdAt: string;
2592
- projectId: string;
2593
2590
  tenantId: string;
2591
+ projectId: string;
2592
+ id: string;
2594
2593
  graphId: string;
2594
+ createdAt: string;
2595
2595
  agentId: string;
2596
2596
  dataComponentId: string;
2597
2597
  } | null>;
@@ -2782,11 +2782,11 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
2782
2782
  scopes: ProjectScopeConfig;
2783
2783
  messageId: string;
2784
2784
  }) => Promise<{
2785
+ tenantId: string;
2786
+ projectId: string;
2785
2787
  id: string;
2786
2788
  createdAt: string;
2787
2789
  updatedAt: string;
2788
- projectId: string;
2789
- tenantId: string;
2790
2790
  metadata: MessageMetadata | null;
2791
2791
  content: MessageContent;
2792
2792
  conversationId: string;
@@ -2908,11 +2908,11 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2908
2908
  id: string;
2909
2909
  }[]>;
2910
2910
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
2911
+ tenantId: string;
2912
+ projectId: string;
2911
2913
  id: string;
2912
2914
  createdAt: string;
2913
2915
  updatedAt: string;
2914
- projectId: string;
2915
- tenantId: string;
2916
2916
  metadata: MessageMetadata | null;
2917
2917
  content: MessageContent;
2918
2918
  conversationId: string;
@@ -2934,11 +2934,11 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
2934
2934
  messageId: string;
2935
2935
  data: MessageUpdate;
2936
2936
  }) => Promise<{
2937
+ tenantId: string;
2938
+ projectId: string;
2937
2939
  id: string;
2938
2940
  createdAt: string;
2939
2941
  updatedAt: string;
2940
- projectId: string;
2941
- tenantId: string;
2942
2942
  metadata: MessageMetadata | null;
2943
2943
  content: MessageContent;
2944
2944
  conversationId: string;
@@ -2959,11 +2959,11 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
2959
2959
  scopes: ProjectScopeConfig;
2960
2960
  messageId: string;
2961
2961
  }) => Promise<{
2962
+ tenantId: string;
2963
+ projectId: string;
2962
2964
  id: string;
2963
2965
  createdAt: string;
2964
2966
  updatedAt: string;
2965
- projectId: string;
2966
- tenantId: string;
2967
2967
  metadata: MessageMetadata | null;
2968
2968
  content: MessageContent;
2969
2969
  conversationId: string;
@@ -3080,13 +3080,13 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
3080
3080
  }) => Promise<boolean>;
3081
3081
 
3082
3082
  declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
3083
+ tenantId: string;
3084
+ projectId: string;
3083
3085
  id: string;
3086
+ graphId: string;
3084
3087
  createdAt: string;
3085
3088
  updatedAt: string;
3086
- projectId: string;
3087
- tenantId: string;
3088
3089
  metadata: TaskMetadataConfig | null;
3089
- graphId: string;
3090
3090
  status: string;
3091
3091
  contextId: string;
3092
3092
  agentId: string;
@@ -3101,13 +3101,13 @@ declare const updateTask: (db: DatabaseClient) => (params: {
3101
3101
  metadata?: any;
3102
3102
  };
3103
3103
  }) => Promise<{
3104
+ tenantId: string;
3105
+ projectId: string;
3104
3106
  id: string;
3107
+ graphId: string;
3105
3108
  createdAt: string;
3106
3109
  updatedAt: string;
3107
- projectId: string;
3108
- tenantId: string;
3109
3110
  metadata: TaskMetadataConfig | null;
3110
- graphId: string;
3111
3111
  status: string;
3112
3112
  contextId: string;
3113
3113
  agentId: string;
@@ -3121,19 +3121,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3121
3121
  scopes: ProjectScopeConfig;
3122
3122
  toolId: string;
3123
3123
  }) => Promise<{
3124
- name: string;
3125
- headers: Record<string, string> | null;
3126
- id: string;
3127
- createdAt: string;
3128
- updatedAt: string;
3129
- projectId: string;
3130
3124
  tenantId: string;
3131
- credentialReferenceId: string | null;
3132
- capabilities: ToolServerCapabilities | null;
3125
+ projectId: string;
3126
+ id: string;
3127
+ name: string;
3133
3128
  config: {
3134
3129
  type: "mcp";
3135
3130
  mcp: ToolMcpConfig;
3136
3131
  };
3132
+ credentialReferenceId: string | null;
3133
+ createdAt: string;
3134
+ updatedAt: string;
3135
+ headers: Record<string, string> | null;
3136
+ capabilities: ToolServerCapabilities | null;
3137
3137
  imageUrl: string | null;
3138
3138
  lastError: string | null;
3139
3139
  } | null>;
@@ -3166,19 +3166,19 @@ declare const listTools: (db: DatabaseClient) => (params: {
3166
3166
  };
3167
3167
  }>;
3168
3168
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3169
- name: string;
3170
- headers: Record<string, string> | null;
3171
- id: string;
3172
- createdAt: string;
3173
- updatedAt: string;
3174
- projectId: string;
3175
3169
  tenantId: string;
3176
- credentialReferenceId: string | null;
3177
- capabilities: ToolServerCapabilities | null;
3170
+ projectId: string;
3171
+ id: string;
3172
+ name: string;
3178
3173
  config: {
3179
3174
  type: "mcp";
3180
3175
  mcp: ToolMcpConfig;
3181
3176
  };
3177
+ credentialReferenceId: string | null;
3178
+ createdAt: string;
3179
+ updatedAt: string;
3180
+ headers: Record<string, string> | null;
3181
+ capabilities: ToolServerCapabilities | null;
3182
3182
  imageUrl: string | null;
3183
3183
  lastError: string | null;
3184
3184
  }>;
@@ -3187,19 +3187,19 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3187
3187
  toolId: string;
3188
3188
  data: ToolUpdate;
3189
3189
  }) => Promise<{
3190
- name: string;
3191
- headers: Record<string, string> | null;
3192
- id: string;
3193
- createdAt: string;
3194
- updatedAt: string;
3195
- projectId: string;
3196
3190
  tenantId: string;
3197
- credentialReferenceId: string | null;
3198
- capabilities: ToolServerCapabilities | null;
3191
+ projectId: string;
3192
+ id: string;
3193
+ name: string;
3199
3194
  config: {
3200
3195
  type: "mcp";
3201
3196
  mcp: ToolMcpConfig;
3202
3197
  };
3198
+ credentialReferenceId: string | null;
3199
+ createdAt: string;
3200
+ updatedAt: string;
3201
+ headers: Record<string, string> | null;
3202
+ capabilities: ToolServerCapabilities | null;
3203
3203
  imageUrl: string | null;
3204
3204
  lastError: string | null;
3205
3205
  }>;
@@ -3214,32 +3214,32 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
3214
3214
  selectedTools?: string[] | null;
3215
3215
  headers?: Record<string, string> | null;
3216
3216
  }) => Promise<{
3217
- headers: Record<string, string> | null;
3217
+ tenantId: string;
3218
+ projectId: string;
3218
3219
  id: string;
3220
+ graphId: string;
3219
3221
  createdAt: string;
3220
3222
  updatedAt: string;
3221
- projectId: string;
3222
- tenantId: string;
3223
- graphId: string;
3223
+ headers: Record<string, string> | null;
3224
+ toolId: string;
3224
3225
  selectedTools: string[] | null;
3225
3226
  agentId: string;
3226
- toolId: string;
3227
3227
  }>;
3228
3228
  declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3229
3229
  scopes: GraphScopeConfig;
3230
3230
  agentId: string;
3231
3231
  toolId: string;
3232
3232
  }) => Promise<{
3233
- headers: Record<string, string> | null;
3233
+ tenantId: string;
3234
+ projectId: string;
3234
3235
  id: string;
3236
+ graphId: string;
3235
3237
  createdAt: string;
3236
3238
  updatedAt: string;
3237
- projectId: string;
3238
- tenantId: string;
3239
- graphId: string;
3239
+ headers: Record<string, string> | null;
3240
+ toolId: string;
3240
3241
  selectedTools: string[] | null;
3241
3242
  agentId: string;
3242
- toolId: string;
3243
3243
  }>;
3244
3244
  /**
3245
3245
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -3252,16 +3252,16 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3252
3252
  headers?: Record<string, string> | null;
3253
3253
  relationId?: string;
3254
3254
  }) => Promise<{
3255
- headers: Record<string, string> | null;
3255
+ tenantId: string;
3256
+ projectId: string;
3256
3257
  id: string;
3258
+ graphId: string;
3257
3259
  createdAt: string;
3258
3260
  updatedAt: string;
3259
- projectId: string;
3260
- tenantId: string;
3261
- graphId: string;
3261
+ headers: Record<string, string> | null;
3262
+ toolId: string;
3262
3263
  selectedTools: string[] | null;
3263
3264
  agentId: string;
3264
- toolId: string;
3265
3265
  }>;
3266
3266
  /**
3267
3267
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -3269,19 +3269,19 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3269
3269
  declare const upsertTool: (db: DatabaseClient) => (params: {
3270
3270
  data: ToolInsert;
3271
3271
  }) => Promise<{
3272
- name: string;
3273
- headers: Record<string, string> | null;
3274
- id: string;
3275
- createdAt: string;
3276
- updatedAt: string;
3277
- projectId: string;
3278
3272
  tenantId: string;
3279
- credentialReferenceId: string | null;
3280
- capabilities: ToolServerCapabilities | null;
3273
+ projectId: string;
3274
+ id: string;
3275
+ name: string;
3281
3276
  config: {
3282
3277
  type: "mcp";
3283
3278
  mcp: ToolMcpConfig;
3284
3279
  };
3280
+ credentialReferenceId: string | null;
3281
+ createdAt: string;
3282
+ updatedAt: string;
3283
+ headers: Record<string, string> | null;
3284
+ capabilities: ToolServerCapabilities | null;
3285
3285
  imageUrl: string | null;
3286
3286
  lastError: string | null;
3287
3287
  }>;
@@ -3404,6 +3404,22 @@ declare const detectAuthenticationRequired: ({ serverUrl, toolId, error, logger,
3404
3404
  logger?: PinoLogger;
3405
3405
  }) => Promise<boolean>;
3406
3406
 
3407
+ /**
3408
+ * Generates a standardized conversation ID.
3409
+ *
3410
+ * The generated ID follows these rules:
3411
+ * 1. Always lowercase
3412
+ * 2. No leading hyphens
3413
+ *
3414
+ * @returns A unique conversation ID
3415
+ *
3416
+ * @example
3417
+ * ```typescript
3418
+ * const id = getConversationId(); // returns something like "v1stgxr8z5jdhi6bmyt"
3419
+ * ```
3420
+ */
3421
+ declare function getConversationId(): string;
3422
+
3407
3423
  /**
3408
3424
  * Get a lookup key for a credential store from retrieval params
3409
3425
  * @param retrievalParams - The retrieval params for the credential store
@@ -3968,4 +3984,4 @@ declare function setSpanWithError(span: Span, error: unknown, logger?: {
3968
3984
  */
3969
3985
  declare function getTracer(serviceName: string, serviceVersion?: string): Tracer;
3970
3986
 
3971
- 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, apiFetch, 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 };
3987
+ 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, apiFetch, 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, getConversationId, 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 };