@inkeep/agents-core 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, h as MCPTransportType, t as MCPToolConfig, u as GraphScopeConfig, C as ConversationHistoryConfig, v as ProjectScopeConfig, w as PaginationConfig, x as AgentGraphInsert, y as AgentGraphUpdate, z as FullGraphDefinition, B as AgentScopeConfig, D as AgentRelationInsert, E as ExternalAgentRelationInsert, H as AgentRelationUpdate, I as AgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, J as AgentInsert, K as AgentUpdate, L as AgentSelect, N as ApiKeySelect, O as ApiKeyInsert, Q as ApiKeyUpdate, R as CreateApiKeyParams, U as ApiKeyCreateResult, V as ArtifactComponentSelect, W as ArtifactComponentInsert, X as ArtifactComponentUpdate, Y as ContextCacheSelect, Z as ContextCacheInsert, _ as ContextConfigInsert, $ as ContextConfigUpdate, a0 as ConversationSelect, a1 as ConversationInsert, o as ConversationMetadata, a2 as ConversationUpdate, a3 as CredentialReferenceSelect, a4 as ToolSelect, a5 as CredentialReferenceInsert, a6 as CredentialReferenceUpdate, a7 as DataComponentSelect, a8 as DataComponentInsert, a9 as DataComponentUpdate, aa as ExternalAgentInsert, ab as ExternalAgentSelect, ac as ExternalAgentUpdate, ad as FunctionApiInsert, ae as Artifact, af as LedgerArtifactSelect, q as MessageMetadata, p as MessageContent, ag as MessageVisibility, ah as MessageInsert, ai as MessageUpdate, aj as FullProjectDefinition, ak as ProjectInfo, al as ProjectSelect, am as PaginationResult, an as ProjectResourceCounts, ao as ProjectInsert, ap as ProjectUpdate, aq as TaskInsert, T as TaskMetadataConfig, ar as TaskSelect, as as McpTool, at as ToolInsert, au as ToolUpdate, g as CredentialStoreType, av as ExecutionContext } from './utility-s9c5CVOe.js';
3
- export { b7 as A2AError, bD as A2ARequest, bE as A2AResponse, aI as APIKeySecurityScheme, bI as AgentApiInsert, dG as AgentApiInsertSchema, bH as AgentApiSelect, dF as AgentApiSelectSchema, bJ as AgentApiUpdate, dH as AgentApiUpdateSchema, cG as AgentArtifactComponentApiInsert, eR as AgentArtifactComponentApiInsertSchema, cF as AgentArtifactComponentApiSelect, eQ as AgentArtifactComponentApiSelectSchema, cH as AgentArtifactComponentApiUpdate, eS as AgentArtifactComponentApiUpdateSchema, cD as AgentArtifactComponentInsert, eO as AgentArtifactComponentInsertSchema, cC as AgentArtifactComponentSelect, eN as AgentArtifactComponentSelectSchema, cE as AgentArtifactComponentUpdate, eP as AgentArtifactComponentUpdateSchema, aE as AgentCapabilities, aS as AgentCard, di as AgentConversationHistoryConfig, cx as AgentDataComponentApiInsert, eF as AgentDataComponentApiInsertSchema, cw as AgentDataComponentApiSelect, eE as AgentDataComponentApiSelectSchema, cy as AgentDataComponentApiUpdate, eG as AgentDataComponentApiUpdateSchema, cu as AgentDataComponentInsert, eC as AgentDataComponentInsertSchema, ct as AgentDataComponentSelect, eB as AgentDataComponentSelectSchema, cv as AgentDataComponentUpdate, eD as AgentDataComponentUpdateSchema, d3 as AgentDefinition, bS as AgentGraphApiInsert, dV as AgentGraphApiInsertSchema, bR as AgentGraphApiSelect, dU as AgentGraphApiSelectSchema, bT as AgentGraphApiUpdate, dW as AgentGraphApiUpdateSchema, dS as AgentGraphInsertSchema, bQ as AgentGraphSelect, dR as AgentGraphSelectSchema, dT as AgentGraphUpdateSchema, dD as AgentInsertSchema, aF as AgentProvider, bM as AgentRelationApiInsert, dM as AgentRelationApiInsertSchema, bL as AgentRelationApiSelect, dL as AgentRelationApiSelectSchema, bN as AgentRelationApiUpdate, dN as AgentRelationApiUpdateSchema, dJ as AgentRelationInsertSchema, bO as AgentRelationQuery, dO as AgentRelationQuerySchema, bK as AgentRelationSelect, dI as AgentRelationSelectSchema, dK as AgentRelationUpdateSchema, dC as AgentSelectSchema, aG as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, cV as AgentToolRelationApiInsert, fv as AgentToolRelationApiInsertSchema, cU as AgentToolRelationApiSelect, fu as AgentToolRelationApiSelectSchema, cW as AgentToolRelationApiUpdate, fw as AgentToolRelationApiUpdateSchema, cT as AgentToolRelationInsert, fs as AgentToolRelationInsertSchema, cS as AgentToolRelationSelect, fr as AgentToolRelationSelectSchema, ft as AgentToolRelationUpdateSchema, dE as AgentUpdateSchema, eZ as AllAgentSchema, cL as AllAgentSelect, cP as ApiKeyApiCreationResponse, f2 as ApiKeyApiCreationResponseSchema, cN as ApiKeyApiInsert, f3 as ApiKeyApiInsertSchema, cM as ApiKeyApiSelect, f1 as ApiKeyApiSelectSchema, cO as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, e$ as ApiKeyInsertSchema, e_ as ApiKeySelectSchema, f0 as ApiKeyUpdateSchema, cA as ArtifactComponentApiInsert, eL as ArtifactComponentApiInsertSchema, cz as ArtifactComponentApiSelect, eK as ArtifactComponentApiSelectSchema, cB as ArtifactComponentApiUpdate, eM as ArtifactComponentApiUpdateSchema, eI as ArtifactComponentInsertSchema, eH as ArtifactComponentSelectSchema, eJ as ArtifactComponentUpdateSchema, aL as AuthorizationCodeOAuthFlow, d1 as CanUseItem, fF as CanUseItemSchema, bn as CancelTaskRequest, by as CancelTaskResponse, bx as CancelTaskSuccessResponse, aM as ClientCredentialsOAuthFlow, b5 as ContentTypeNotSupportedError, co as ContextCacheApiInsert, es as ContextCacheApiInsertSchema, cn as ContextCacheApiSelect, er as ContextCacheApiSelectSchema, cp as ContextCacheApiUpdate, et as ContextCacheApiUpdateSchema, dj as ContextCacheEntry, ep as ContextCacheInsertSchema, eo as ContextCacheSelectSchema, cm as ContextCacheUpdate, eq as ContextCacheUpdateSchema, ci as ContextConfigApiInsert, fp as ContextConfigApiInsertSchema, ch as ContextConfigApiSelect, fo as ContextConfigApiSelectSchema, cj as ContextConfigApiUpdate, fq as ContextConfigApiUpdateSchema, fm as ContextConfigInsertSchema, fl as ContextConfigSelectSchema, fn as ContextConfigUpdateSchema, cb as ConversationApiInsert, eg as ConversationApiInsertSchema, ca as ConversationApiSelect, ef as ConversationApiSelectSchema, cc as ConversationApiUpdate, eh as ConversationApiUpdateSchema, ed as ConversationInsertSchema, dh as ConversationScopeOptions, ec as ConversationSelectSchema, ee as ConversationUpdateSchema, f8 as CredentialReferenceApiInsertSchema, cQ as CredentialReferenceApiSelect, f7 as CredentialReferenceApiSelectSchema, cR as CredentialReferenceApiUpdate, f9 as CredentialReferenceApiUpdateSchema, f5 as CredentialReferenceInsertSchema, f4 as CredentialReferenceSelectSchema, f6 as CredentialReferenceUpdateSchema, cr as DataComponentApiInsert, ez as DataComponentApiInsertSchema, cq as DataComponentApiSelect, ey as DataComponentApiSelectSchema, cs as DataComponentApiUpdate, eA as DataComponentApiUpdateSchema, ew as DataComponentBaseSchema, ev as DataComponentInsertSchema, eu as DataComponentSelectSchema, ex as DataComponentUpdateSchema, aC as DataPart, fL as ErrorResponseSchema, fM as ExistsResponseSchema, cJ as ExternalAgentApiInsert, eX as ExternalAgentApiInsertSchema, cI as ExternalAgentApiSelect, eW as ExternalAgentApiSelectSchema, cK as ExternalAgentApiUpdate, eY as ExternalAgentApiUpdateSchema, eU as ExternalAgentInsertSchema, bP as ExternalAgentRelationApiInsert, dQ as ExternalAgentRelationApiInsertSchema, dP as ExternalAgentRelationInsertSchema, eT as ExternalAgentSelectSchema, eV as ExternalAgentUpdateSchema, cl as FetchConfig, fj as FetchConfigSchema, ck as FetchDefinition, fk as FetchDefinitionSchema, ay as FileBase, aB as FilePart, az as FileWithBytes, aA as FileWithUri, d0 as FullGraphAgentInsert, a as FullGraphAgentInsertSchema, fG as FullGraphDefinitionSchema, fU as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, c8 as FunctionApiSelect, i as FunctionApiSelectSchema, c9 as FunctionApiUpdate, j as FunctionApiUpdateSchema, c6 as FunctionInsert, fh as FunctionInsertSchema, c5 as FunctionSelect, fg as FunctionSelectSchema, dB as FunctionToolConfig, dA as FunctionToolConfigSchema, c7 as FunctionUpdate, fi as FunctionUpdateSchema, bp as GetTaskPushNotificationConfigRequest, bC as GetTaskPushNotificationConfigResponse, bB as GetTaskPushNotificationConfigSuccessResponse, bm as GetTaskRequest, bw as GetTaskResponse, bv as GetTaskSuccessResponse, d as GraphStopWhen, G as GraphStopWhenSchema, fH as GraphWithinContextOfProjectSchema, aJ as HTTPAuthSecurityScheme, fV as HeadersScopeSchema, g0 as IdParamsSchema, aN as ImplicitOAuthFlow, d2 as InternalAgentDefinition, b0 as InternalError, b6 as InvalidAgentResponseError, a$ as InvalidParamsError, aZ as InvalidRequestError, aY as JSONParseError, bh as JSONRPCError, bj as JSONRPCErrorResponse, bf as JSONRPCMessage, bg as JSONRPCRequest, bi as JSONRPCResult, c_ as LedgerArtifactApiInsert, fB as LedgerArtifactApiInsertSchema, cZ as LedgerArtifactApiSelect, fA as LedgerArtifactApiSelectSchema, c$ as LedgerArtifactApiUpdate, fC as LedgerArtifactApiUpdateSchema, cX as LedgerArtifactInsert, fy as LedgerArtifactInsertSchema, fx as LedgerArtifactSelectSchema, cY as LedgerArtifactUpdate, fz as LedgerArtifactUpdateSchema, fJ as ListResponseSchema, du as MAX_ID_LENGTH, ds as MCPServerType, fb as MCPToolConfigSchema, dt as MIN_ID_LENGTH, dk as McpAuthType, dl as McpServerAuth, dn as McpServerCapabilities, dp as McpToolDefinition, e9 as McpToolDefinitionSchema, fa as McpToolSchema, dm as McpTransportConfig, e7 as McpTransportConfigSchema, aT as Message, cf as MessageApiInsert, em as MessageApiInsertSchema, ce as MessageApiSelect, el as MessageApiSelectSchema, cg as MessageApiUpdate, en as MessageApiUpdateSchema, ej as MessageInsertSchema, dc as MessageMode, bF as MessagePart, db as MessageRole, cd as MessageSelect, ei as MessageSelectSchema, bd as MessageSendConfiguration, be as MessageSendParams, da as MessageType, ek as MessageUpdateSchema, a_ as MethodNotFoundError, dx as ModelSchema, f as ModelSettings, M as ModelSettingsSchema, dd as Models, aP as OAuth2SecurityScheme, aK as OAuthFlows, aQ as OpenIdConnectSecurityScheme, d8 as Pagination, g1 as PaginationQueryParamsSchema, fI as PaginationSchema, P as Part, aw as PartBase, aO as PasswordOAuthFlow, d6 as ProjectApiInsert, fS as ProjectApiInsertSchema, d5 as ProjectApiSelect, fR as ProjectApiSelectSchema, d7 as ProjectApiUpdate, fT as ProjectApiUpdateSchema, fP as ProjectInsertSchema, dy as ProjectModelSchema, de as ProjectModels, fO as ProjectSelectSchema, fQ as ProjectUpdateSchema, b8 as PushNotificationAuthenticationInfo, b9 as PushNotificationConfig, b3 as PushNotificationNotSupportedError, fN as RemovedResponseSchema, dz as SandboxConfig, k as SandboxConfigSchema, aR as SecurityScheme, aH as SecuritySchemeBase, bk as SendMessageRequest, bs as SendMessageResponse, br as SendMessageSuccessResponse, bl as SendStreamingMessageRequest, bu as SendStreamingMessageResponse, bt as SendStreamingMessageSuccessResponse, bo as SetTaskPushNotificationConfigRequest, bA as SetTaskPushNotificationConfigResponse, bz as SetTaskPushNotificationConfigSuccessResponse, fK as SingleResponseSchema, dg as StatusComponent, fD as StatusComponentSchema, fE as StatusUpdateSchema, df as StatusUpdateSettings, c as StopWhen, S as StopWhenSchema, d9 as SummaryEvent, dq as TOOL_STATUS_VALUES, aV as Task, bW as TaskApiInsert, d$ as TaskApiInsertSchema, bV as TaskApiSelect, d_ as TaskApiSelectSchema, bX as TaskApiUpdate, e0 as TaskApiUpdateSchema, bG as TaskArtifact, aX as TaskArtifactUpdateEvent, bb as TaskIdParams, dY as TaskInsertSchema, b2 as TaskNotCancelableError, b1 as TaskNotFoundError, ba as TaskPushNotificationConfig, bc as TaskQueryParams, c0 as TaskRelationApiInsert, e5 as TaskRelationApiInsertSchema, b$ as TaskRelationApiSelect, e4 as TaskRelationApiSelectSchema, c1 as TaskRelationApiUpdate, e6 as TaskRelationApiUpdateSchema, bZ as TaskRelationInsert, e2 as TaskRelationInsertSchema, bY as TaskRelationSelect, e1 as TaskRelationSelectSchema, b_ as TaskRelationUpdate, e3 as TaskRelationUpdateSchema, bq as TaskResubscriptionRequest, dX as TaskSelectSchema, aD as TaskState, aU as TaskStatus, aW as TaskStatusUpdateEvent, bU as TaskUpdate, dZ as TaskUpdateSchema, f$ as TenantIdParamsSchema, fW as TenantParamsSchema, fZ as TenantProjectGraphIdParamsSchema, fY as TenantProjectGraphParamsSchema, f_ as TenantProjectIdParamsSchema, fX as TenantProjectParamsSchema, ax as TextPart, c3 as ToolApiInsert, fe as ToolApiInsertSchema, c2 as ToolApiSelect, fd as ToolApiSelectSchema, c4 as ToolApiUpdate, ff as ToolApiUpdateSchema, d4 as ToolDefinition, eb as ToolInsertSchema, ea as ToolSelectSchema, e8 as ToolStatusSchema, fc as ToolUpdateSchema, dv as URL_SAFE_ID_PATTERN, b4 as UnsupportedOperationError, dr as VALID_RELATION_TYPES, dw as resourceIdSchema } from './utility-s9c5CVOe.js';
2
+ import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, h as MCPTransportType, t as MCPToolConfig, u as GraphScopeConfig, C as ConversationHistoryConfig, v as ProjectScopeConfig, w as PaginationConfig, x as AgentGraphInsert, y as AgentGraphUpdate, z as FullGraphDefinition, B as AgentScopeConfig, D as AgentRelationInsert, E as ExternalAgentRelationInsert, H as AgentRelationUpdate, I as AgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, J as AgentInsert, K as AgentUpdate, L as AgentSelect, N as ApiKeySelect, O as ApiKeyInsert, Q as ApiKeyUpdate, R as CreateApiKeyParams, U as ApiKeyCreateResult, V as ArtifactComponentSelect, W as ArtifactComponentInsert, X as ArtifactComponentUpdate, Y as ContextCacheSelect, Z as ContextCacheInsert, _ as ContextConfigInsert, $ as ContextConfigUpdate, a0 as ConversationSelect, a1 as ConversationInsert, o as ConversationMetadata, a2 as ConversationUpdate, a3 as CredentialReferenceSelect, a4 as ToolSelect, a5 as CredentialReferenceInsert, a6 as CredentialReferenceUpdate, a7 as DataComponentSelect, a8 as DataComponentInsert, a9 as DataComponentUpdate, aa as ExternalAgentInsert, ab as ExternalAgentSelect, ac as ExternalAgentUpdate, ad as FunctionApiInsert, ae as Artifact, af as LedgerArtifactSelect, q as MessageMetadata, p as MessageContent, ag as MessageVisibility, ah as MessageInsert, ai as MessageUpdate, aj as FullProjectDefinition, ak as ProjectInfo, al as ProjectSelect, am as PaginationResult, an as ProjectResourceCounts, ao as ProjectInsert, ap as ProjectUpdate, aq as TaskInsert, T as TaskMetadataConfig, ar as TaskSelect, as as McpTool, at as ToolInsert, au as ToolUpdate, g as CredentialStoreType, av as ExecutionContext } from './utility-BaVsvScm.js';
3
+ export { b7 as A2AError, bD as A2ARequest, bE as A2AResponse, aI as APIKeySecurityScheme, bI as AgentApiInsert, dG as AgentApiInsertSchema, bH as AgentApiSelect, dF as AgentApiSelectSchema, bJ as AgentApiUpdate, dH as AgentApiUpdateSchema, cG as AgentArtifactComponentApiInsert, eR as AgentArtifactComponentApiInsertSchema, cF as AgentArtifactComponentApiSelect, eQ as AgentArtifactComponentApiSelectSchema, cH as AgentArtifactComponentApiUpdate, eS as AgentArtifactComponentApiUpdateSchema, cD as AgentArtifactComponentInsert, eO as AgentArtifactComponentInsertSchema, cC as AgentArtifactComponentSelect, eN as AgentArtifactComponentSelectSchema, cE as AgentArtifactComponentUpdate, eP as AgentArtifactComponentUpdateSchema, aE as AgentCapabilities, aS as AgentCard, di as AgentConversationHistoryConfig, cx as AgentDataComponentApiInsert, eF as AgentDataComponentApiInsertSchema, cw as AgentDataComponentApiSelect, eE as AgentDataComponentApiSelectSchema, cy as AgentDataComponentApiUpdate, eG as AgentDataComponentApiUpdateSchema, cu as AgentDataComponentInsert, eC as AgentDataComponentInsertSchema, ct as AgentDataComponentSelect, eB as AgentDataComponentSelectSchema, cv as AgentDataComponentUpdate, eD as AgentDataComponentUpdateSchema, d3 as AgentDefinition, bS as AgentGraphApiInsert, dV as AgentGraphApiInsertSchema, bR as AgentGraphApiSelect, dU as AgentGraphApiSelectSchema, bT as AgentGraphApiUpdate, dW as AgentGraphApiUpdateSchema, dS as AgentGraphInsertSchema, bQ as AgentGraphSelect, dR as AgentGraphSelectSchema, dT as AgentGraphUpdateSchema, dD as AgentInsertSchema, aF as AgentProvider, bM as AgentRelationApiInsert, dM as AgentRelationApiInsertSchema, bL as AgentRelationApiSelect, dL as AgentRelationApiSelectSchema, bN as AgentRelationApiUpdate, dN as AgentRelationApiUpdateSchema, dJ as AgentRelationInsertSchema, bO as AgentRelationQuery, dO as AgentRelationQuerySchema, bK as AgentRelationSelect, dI as AgentRelationSelectSchema, dK as AgentRelationUpdateSchema, dC as AgentSelectSchema, aG as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, cV as AgentToolRelationApiInsert, fv as AgentToolRelationApiInsertSchema, cU as AgentToolRelationApiSelect, fu as AgentToolRelationApiSelectSchema, cW as AgentToolRelationApiUpdate, fw as AgentToolRelationApiUpdateSchema, cT as AgentToolRelationInsert, fs as AgentToolRelationInsertSchema, cS as AgentToolRelationSelect, fr as AgentToolRelationSelectSchema, ft as AgentToolRelationUpdateSchema, dE as AgentUpdateSchema, eZ as AllAgentSchema, cL as AllAgentSelect, cP as ApiKeyApiCreationResponse, f2 as ApiKeyApiCreationResponseSchema, cN as ApiKeyApiInsert, f3 as ApiKeyApiInsertSchema, cM as ApiKeyApiSelect, f1 as ApiKeyApiSelectSchema, cO as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, e$ as ApiKeyInsertSchema, e_ as ApiKeySelectSchema, f0 as ApiKeyUpdateSchema, cA as ArtifactComponentApiInsert, eL as ArtifactComponentApiInsertSchema, cz as ArtifactComponentApiSelect, eK as ArtifactComponentApiSelectSchema, cB as ArtifactComponentApiUpdate, eM as ArtifactComponentApiUpdateSchema, eI as ArtifactComponentInsertSchema, eH as ArtifactComponentSelectSchema, eJ as ArtifactComponentUpdateSchema, aL as AuthorizationCodeOAuthFlow, d1 as CanUseItem, fF as CanUseItemSchema, bn as CancelTaskRequest, by as CancelTaskResponse, bx as CancelTaskSuccessResponse, aM as ClientCredentialsOAuthFlow, b5 as ContentTypeNotSupportedError, co as ContextCacheApiInsert, es as ContextCacheApiInsertSchema, cn as ContextCacheApiSelect, er as ContextCacheApiSelectSchema, cp as ContextCacheApiUpdate, et as ContextCacheApiUpdateSchema, dj as ContextCacheEntry, ep as ContextCacheInsertSchema, eo as ContextCacheSelectSchema, cm as ContextCacheUpdate, eq as ContextCacheUpdateSchema, ci as ContextConfigApiInsert, fp as ContextConfigApiInsertSchema, ch as ContextConfigApiSelect, fo as ContextConfigApiSelectSchema, cj as ContextConfigApiUpdate, fq as ContextConfigApiUpdateSchema, fm as ContextConfigInsertSchema, fl as ContextConfigSelectSchema, fn as ContextConfigUpdateSchema, cb as ConversationApiInsert, eg as ConversationApiInsertSchema, ca as ConversationApiSelect, ef as ConversationApiSelectSchema, cc as ConversationApiUpdate, eh as ConversationApiUpdateSchema, ed as ConversationInsertSchema, dh as ConversationScopeOptions, ec as ConversationSelectSchema, ee as ConversationUpdateSchema, f8 as CredentialReferenceApiInsertSchema, cQ as CredentialReferenceApiSelect, f7 as CredentialReferenceApiSelectSchema, cR as CredentialReferenceApiUpdate, f9 as CredentialReferenceApiUpdateSchema, f5 as CredentialReferenceInsertSchema, f4 as CredentialReferenceSelectSchema, f6 as CredentialReferenceUpdateSchema, cr as DataComponentApiInsert, ez as DataComponentApiInsertSchema, cq as DataComponentApiSelect, ey as DataComponentApiSelectSchema, cs as DataComponentApiUpdate, eA as DataComponentApiUpdateSchema, ew as DataComponentBaseSchema, ev as DataComponentInsertSchema, eu as DataComponentSelectSchema, ex as DataComponentUpdateSchema, aC as DataPart, fL as ErrorResponseSchema, fM as ExistsResponseSchema, cJ as ExternalAgentApiInsert, eX as ExternalAgentApiInsertSchema, cI as ExternalAgentApiSelect, eW as ExternalAgentApiSelectSchema, cK as ExternalAgentApiUpdate, eY as ExternalAgentApiUpdateSchema, eU as ExternalAgentInsertSchema, bP as ExternalAgentRelationApiInsert, dQ as ExternalAgentRelationApiInsertSchema, dP as ExternalAgentRelationInsertSchema, eT as ExternalAgentSelectSchema, eV as ExternalAgentUpdateSchema, cl as FetchConfig, fj as FetchConfigSchema, ck as FetchDefinition, fk as FetchDefinitionSchema, ay as FileBase, aB as FilePart, az as FileWithBytes, aA as FileWithUri, d0 as FullGraphAgentInsert, a as FullGraphAgentInsertSchema, fG as FullGraphDefinitionSchema, fU as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, c8 as FunctionApiSelect, i as FunctionApiSelectSchema, c9 as FunctionApiUpdate, j as FunctionApiUpdateSchema, c6 as FunctionInsert, fh as FunctionInsertSchema, c5 as FunctionSelect, fg as FunctionSelectSchema, dB as FunctionToolConfig, dA as FunctionToolConfigSchema, c7 as FunctionUpdate, fi as FunctionUpdateSchema, bp as GetTaskPushNotificationConfigRequest, bC as GetTaskPushNotificationConfigResponse, bB as GetTaskPushNotificationConfigSuccessResponse, bm as GetTaskRequest, bw as GetTaskResponse, bv as GetTaskSuccessResponse, d as GraphStopWhen, G as GraphStopWhenSchema, fH as GraphWithinContextOfProjectSchema, aJ as HTTPAuthSecurityScheme, fV as HeadersScopeSchema, g0 as IdParamsSchema, aN as ImplicitOAuthFlow, d2 as InternalAgentDefinition, b0 as InternalError, b6 as InvalidAgentResponseError, a$ as InvalidParamsError, aZ as InvalidRequestError, aY as JSONParseError, bh as JSONRPCError, bj as JSONRPCErrorResponse, bf as JSONRPCMessage, bg as JSONRPCRequest, bi as JSONRPCResult, c_ as LedgerArtifactApiInsert, fB as LedgerArtifactApiInsertSchema, cZ as LedgerArtifactApiSelect, fA as LedgerArtifactApiSelectSchema, c$ as LedgerArtifactApiUpdate, fC as LedgerArtifactApiUpdateSchema, cX as LedgerArtifactInsert, fy as LedgerArtifactInsertSchema, fx as LedgerArtifactSelectSchema, cY as LedgerArtifactUpdate, fz as LedgerArtifactUpdateSchema, fJ as ListResponseSchema, du as MAX_ID_LENGTH, ds as MCPServerType, fb as MCPToolConfigSchema, dt as MIN_ID_LENGTH, dk as McpAuthType, dl as McpServerAuth, dn as McpServerCapabilities, dp as McpToolDefinition, e9 as McpToolDefinitionSchema, fa as McpToolSchema, dm as McpTransportConfig, e7 as McpTransportConfigSchema, aT as Message, cf as MessageApiInsert, em as MessageApiInsertSchema, ce as MessageApiSelect, el as MessageApiSelectSchema, cg as MessageApiUpdate, en as MessageApiUpdateSchema, ej as MessageInsertSchema, dc as MessageMode, bF as MessagePart, db as MessageRole, cd as MessageSelect, ei as MessageSelectSchema, bd as MessageSendConfiguration, be as MessageSendParams, da as MessageType, ek as MessageUpdateSchema, a_ as MethodNotFoundError, dx as ModelSchema, f as ModelSettings, M as ModelSettingsSchema, dd as Models, aP as OAuth2SecurityScheme, aK as OAuthFlows, aQ as OpenIdConnectSecurityScheme, d8 as Pagination, g1 as PaginationQueryParamsSchema, fI as PaginationSchema, P as Part, aw as PartBase, aO as PasswordOAuthFlow, d6 as ProjectApiInsert, fS as ProjectApiInsertSchema, d5 as ProjectApiSelect, fR as ProjectApiSelectSchema, d7 as ProjectApiUpdate, fT as ProjectApiUpdateSchema, fP as ProjectInsertSchema, dy as ProjectModelSchema, de as ProjectModels, fO as ProjectSelectSchema, fQ as ProjectUpdateSchema, b8 as PushNotificationAuthenticationInfo, b9 as PushNotificationConfig, b3 as PushNotificationNotSupportedError, fN as RemovedResponseSchema, dz as SandboxConfig, k as SandboxConfigSchema, aR as SecurityScheme, aH as SecuritySchemeBase, bk as SendMessageRequest, bs as SendMessageResponse, br as SendMessageSuccessResponse, bl as SendStreamingMessageRequest, bu as SendStreamingMessageResponse, bt as SendStreamingMessageSuccessResponse, bo as SetTaskPushNotificationConfigRequest, bA as SetTaskPushNotificationConfigResponse, bz as SetTaskPushNotificationConfigSuccessResponse, fK as SingleResponseSchema, dg as StatusComponent, fD as StatusComponentSchema, fE as StatusUpdateSchema, df as StatusUpdateSettings, c as StopWhen, S as StopWhenSchema, d9 as SummaryEvent, dq as TOOL_STATUS_VALUES, aV as Task, bW as TaskApiInsert, d$ as TaskApiInsertSchema, bV as TaskApiSelect, d_ as TaskApiSelectSchema, bX as TaskApiUpdate, e0 as TaskApiUpdateSchema, bG as TaskArtifact, aX as TaskArtifactUpdateEvent, bb as TaskIdParams, dY as TaskInsertSchema, b2 as TaskNotCancelableError, b1 as TaskNotFoundError, ba as TaskPushNotificationConfig, bc as TaskQueryParams, c0 as TaskRelationApiInsert, e5 as TaskRelationApiInsertSchema, b$ as TaskRelationApiSelect, e4 as TaskRelationApiSelectSchema, c1 as TaskRelationApiUpdate, e6 as TaskRelationApiUpdateSchema, bZ as TaskRelationInsert, e2 as TaskRelationInsertSchema, bY as TaskRelationSelect, e1 as TaskRelationSelectSchema, b_ as TaskRelationUpdate, e3 as TaskRelationUpdateSchema, bq as TaskResubscriptionRequest, dX as TaskSelectSchema, aD as TaskState, aU as TaskStatus, aW as TaskStatusUpdateEvent, bU as TaskUpdate, dZ as TaskUpdateSchema, f$ as TenantIdParamsSchema, fW as TenantParamsSchema, fZ as TenantProjectGraphIdParamsSchema, fY as TenantProjectGraphParamsSchema, f_ as TenantProjectIdParamsSchema, fX as TenantProjectParamsSchema, ax as TextPart, c3 as ToolApiInsert, fe as ToolApiInsertSchema, c2 as ToolApiSelect, fd as ToolApiSelectSchema, c4 as ToolApiUpdate, ff as ToolApiUpdateSchema, d4 as ToolDefinition, eb as ToolInsertSchema, ea as ToolSelectSchema, e8 as ToolStatusSchema, fc as ToolUpdateSchema, dv as URL_SAFE_ID_PATTERN, b4 as UnsupportedOperationError, dr as VALID_RELATION_TYPES, dw as resourceIdSchema } from './utility-BaVsvScm.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-BQk_FMBV.js';
8
- export { k as agentArtifactComponents, L as agentArtifactComponentsRelations, i as agentDataComponents, N as agentDataComponentsRelations, a as agentGraph, C as agentGraphRelations, e as agentRelations, Q as agentRelationsRelations, n as agentToolRelations, F as agentToolRelationsRelations, d as agents, B as agentsRelations, u as apiKeys, E as apiKeysRelations, j as artifactComponents, K as artifactComponentsRelations, b as contextCache, A as contextCacheRelations, c as contextConfigs, z as contextConfigsRelations, o as conversations, I as conversationsRelations, v as credentialReferences, G as credentialReferencesRelations, h as dataComponents, M as dataComponentsRelations, f as externalAgents, D as externalAgentsRelations, m as functions, P as functionsRelations, r as ledgerArtifacts, O as ledgerArtifactsRelations, q as messages, J as messagesRelations, p as projects, x as projectsRelations, g as taskRelations, y as taskRelationsRelations, t as tasks, w as tasksRelations, l as tools, H as toolsRelations } from './schema-BQk_FMBV.js';
7
+ import { s as schema } from './schema-BtdvdyOA.js';
8
+ export { k as agentArtifactComponents, L as agentArtifactComponentsRelations, i as agentDataComponents, N as agentDataComponentsRelations, a as agentGraph, C as agentGraphRelations, e as agentRelations, Q as agentRelationsRelations, n as agentToolRelations, F as agentToolRelationsRelations, d as agents, B as agentsRelations, u as apiKeys, E as apiKeysRelations, j as artifactComponents, K as artifactComponentsRelations, b as contextCache, A as contextCacheRelations, c as contextConfigs, z as contextConfigsRelations, o as conversations, I as conversationsRelations, v as credentialReferences, G as credentialReferencesRelations, h as dataComponents, M as dataComponentsRelations, f as externalAgents, D as externalAgentsRelations, m as functions, P as functionsRelations, r as ledgerArtifacts, O as ledgerArtifactsRelations, q as messages, J as messagesRelations, p as projects, x as projectsRelations, g as taskRelations, y as taskRelationsRelations, t as tasks, w as tasksRelations, l as tools, H as toolsRelations } from './schema-BtdvdyOA.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';
@@ -824,13 +824,13 @@ declare class CredentialStuffer {
824
824
  declare const getAgentGraphById: (db: DatabaseClient) => (params: {
825
825
  scopes: GraphScopeConfig;
826
826
  }) => Promise<{
827
- tenantId: string;
828
- projectId: string;
829
- id: string;
830
827
  name: string;
831
- description: string | null;
828
+ id: string;
832
829
  createdAt: string;
833
830
  updatedAt: string;
831
+ projectId: string;
832
+ tenantId: string;
833
+ description: string | null;
834
834
  models: {
835
835
  base?: {
836
836
  model?: string | undefined;
@@ -870,13 +870,13 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
870
870
  declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
871
871
  scopes: GraphScopeConfig;
872
872
  }) => Promise<{
873
- tenantId: string;
874
- projectId: string;
875
- id: string;
876
873
  name: string;
877
- description: string | null;
874
+ id: string;
878
875
  createdAt: string;
879
876
  updatedAt: string;
877
+ projectId: string;
878
+ tenantId: string;
879
+ description: string | null;
880
880
  models: {
881
881
  base?: {
882
882
  model?: string | undefined;
@@ -913,15 +913,13 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
913
913
  } | null;
914
914
  graphPrompt: string | null;
915
915
  defaultAgent: {
916
- tenantId: string;
917
- projectId: string;
918
- id: string;
919
916
  name: string;
920
- description: string;
921
- prompt: string;
922
- graphId: string;
917
+ id: string;
923
918
  createdAt: string;
924
919
  updatedAt: string;
920
+ projectId: string;
921
+ tenantId: string;
922
+ description: string;
925
923
  models: {
926
924
  base?: {
927
925
  model?: string | undefined;
@@ -939,19 +937,21 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
939
937
  stopWhen: {
940
938
  stepCountIs?: number | undefined;
941
939
  } | null;
940
+ graphId: string;
941
+ prompt: string;
942
942
  conversationHistoryConfig: ConversationHistoryConfig | null;
943
943
  } | null;
944
944
  } | null>;
945
945
  declare const listAgentGraphs: (db: DatabaseClient) => (params: {
946
946
  scopes: ProjectScopeConfig;
947
947
  }) => Promise<{
948
- tenantId: string;
949
- projectId: string;
950
- id: string;
951
948
  name: string;
952
- description: string | null;
949
+ id: string;
953
950
  createdAt: string;
954
951
  updatedAt: string;
952
+ projectId: string;
953
+ tenantId: string;
954
+ description: string | null;
955
955
  models: {
956
956
  base?: {
957
957
  model?: string | undefined;
@@ -1044,13 +1044,13 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
1044
1044
  };
1045
1045
  }>;
1046
1046
  declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
1047
- tenantId: string;
1048
- projectId: string;
1049
- id: string;
1050
1047
  name: string;
1051
- description: string | null;
1048
+ id: string;
1052
1049
  createdAt: string;
1053
1050
  updatedAt: string;
1051
+ projectId: string;
1052
+ tenantId: string;
1053
+ description: string | null;
1054
1054
  models: {
1055
1055
  base?: {
1056
1056
  model?: string | undefined;
@@ -1091,13 +1091,13 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1091
1091
  scopes: GraphScopeConfig;
1092
1092
  data: AgentGraphUpdate;
1093
1093
  }) => Promise<{
1094
- tenantId: string;
1095
- projectId: string;
1096
- id: string;
1097
1094
  name: string;
1098
- description: string | null;
1095
+ id: string;
1099
1096
  createdAt: string;
1100
1097
  updatedAt: string;
1098
+ projectId: string;
1099
+ tenantId: string;
1100
+ description: string | null;
1101
1101
  models: {
1102
1102
  base?: {
1103
1103
  model?: string | undefined;
@@ -1170,12 +1170,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
1170
1170
  scopes: GraphScopeConfig;
1171
1171
  relationId: string;
1172
1172
  }) => Promise<{
1173
- tenantId: string;
1174
- projectId: string;
1175
1173
  id: string;
1176
- graphId: string;
1177
1174
  createdAt: string;
1178
1175
  updatedAt: string;
1176
+ projectId: string;
1177
+ tenantId: string;
1178
+ graphId: string;
1179
1179
  sourceAgentId: string;
1180
1180
  targetAgentId: string | null;
1181
1181
  externalAgentId: string | null;
@@ -1207,12 +1207,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
1207
1207
  declare const getAgentRelations: (db: DatabaseClient) => (params: {
1208
1208
  scopes: AgentScopeConfig;
1209
1209
  }) => Promise<{
1210
- tenantId: string;
1211
- projectId: string;
1212
1210
  id: string;
1213
- graphId: string;
1214
1211
  createdAt: string;
1215
1212
  updatedAt: string;
1213
+ projectId: string;
1214
+ tenantId: string;
1215
+ graphId: string;
1216
1216
  sourceAgentId: string;
1217
1217
  targetAgentId: string | null;
1218
1218
  externalAgentId: string | null;
@@ -1221,12 +1221,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
1221
1221
  declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
1222
1222
  scopes: GraphScopeConfig;
1223
1223
  }) => Promise<{
1224
- tenantId: string;
1225
- projectId: string;
1226
1224
  id: string;
1227
- graphId: string;
1228
1225
  createdAt: string;
1229
1226
  updatedAt: string;
1227
+ projectId: string;
1228
+ tenantId: string;
1229
+ graphId: string;
1230
1230
  sourceAgentId: string;
1231
1231
  targetAgentId: string | null;
1232
1232
  externalAgentId: string | null;
@@ -1326,12 +1326,12 @@ declare const getRelatedAgentsForGraph: (db: DatabaseClient) => (params: {
1326
1326
  }[];
1327
1327
  }>;
1328
1328
  declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
1329
- tenantId: string;
1330
- projectId: string;
1331
1329
  id: string;
1332
- graphId: string;
1333
1330
  createdAt: string;
1334
1331
  updatedAt: string;
1332
+ projectId: string;
1333
+ tenantId: string;
1334
+ graphId: string;
1335
1335
  sourceAgentId: string;
1336
1336
  targetAgentId: string | null;
1337
1337
  externalAgentId: string | null;
@@ -1347,12 +1347,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1347
1347
  externalAgentId?: string;
1348
1348
  relationType: string;
1349
1349
  }) => Promise<{
1350
- tenantId: string;
1351
- projectId: string;
1352
1350
  id: string;
1353
- graphId: string;
1354
1351
  createdAt: string;
1355
1352
  updatedAt: string;
1353
+ projectId: string;
1354
+ tenantId: string;
1355
+ graphId: string;
1356
1356
  sourceAgentId: string;
1357
1357
  targetAgentId: string | null;
1358
1358
  externalAgentId: string | null;
@@ -1362,24 +1362,24 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1362
1362
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
1363
1363
  */
1364
1364
  declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
1365
- tenantId: string;
1366
- projectId: string;
1367
1365
  id: string;
1368
- graphId: string;
1369
1366
  createdAt: string;
1370
1367
  updatedAt: string;
1368
+ projectId: string;
1369
+ tenantId: string;
1370
+ graphId: string;
1371
1371
  sourceAgentId: string;
1372
1372
  targetAgentId: string | null;
1373
1373
  externalAgentId: string | null;
1374
1374
  relationType: string | null;
1375
1375
  }>;
1376
1376
  declare const createExternalAgentRelation: (db: DatabaseClient) => (params: ExternalAgentRelationInsert) => Promise<{
1377
- tenantId: string;
1378
- projectId: string;
1379
1377
  id: string;
1380
- graphId: string;
1381
1378
  createdAt: string;
1382
1379
  updatedAt: string;
1380
+ projectId: string;
1381
+ tenantId: string;
1382
+ graphId: string;
1383
1383
  sourceAgentId: string;
1384
1384
  targetAgentId: string | null;
1385
1385
  externalAgentId: string | null;
@@ -1390,12 +1390,12 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
1390
1390
  relationId: string;
1391
1391
  data: AgentRelationUpdate;
1392
1392
  }) => Promise<{
1393
- tenantId: string;
1394
- projectId: string;
1395
1393
  id: string;
1396
- graphId: string;
1397
1394
  createdAt: string;
1398
1395
  updatedAt: string;
1396
+ projectId: string;
1397
+ tenantId: string;
1398
+ graphId: string;
1399
1399
  sourceAgentId: string;
1400
1400
  targetAgentId: string | null;
1401
1401
  externalAgentId: string | null;
@@ -1418,32 +1418,32 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
1418
1418
  headers?: Record<string, string> | null;
1419
1419
  };
1420
1420
  }) => Promise<{
1421
- tenantId: string;
1422
- projectId: string;
1421
+ headers: Record<string, string> | null;
1423
1422
  id: string;
1424
- graphId: string;
1425
1423
  createdAt: string;
1426
1424
  updatedAt: string;
1427
- headers: Record<string, string> | null;
1428
- toolId: string;
1425
+ projectId: string;
1426
+ tenantId: string;
1427
+ graphId: string;
1429
1428
  selectedTools: string[] | null;
1430
1429
  agentId: string;
1430
+ toolId: string;
1431
1431
  }>;
1432
1432
  declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1433
1433
  scopes: GraphScopeConfig;
1434
1434
  relationId: string;
1435
1435
  data: AgentToolRelationUpdate;
1436
1436
  }) => Promise<{
1437
- tenantId: string;
1438
- projectId: string;
1437
+ headers: Record<string, string> | null;
1439
1438
  id: string;
1440
- graphId: string;
1441
1439
  createdAt: string;
1442
1440
  updatedAt: string;
1443
- headers: Record<string, string> | null;
1444
- toolId: string;
1441
+ projectId: string;
1442
+ tenantId: string;
1443
+ graphId: string;
1445
1444
  selectedTools: string[] | null;
1446
1445
  agentId: string;
1446
+ toolId: string;
1447
1447
  }>;
1448
1448
  declare const deleteAgentToolRelation: (db: DatabaseClient) => (params: {
1449
1449
  scopes: GraphScopeConfig;
@@ -1456,16 +1456,16 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
1456
1456
  scopes: AgentScopeConfig;
1457
1457
  relationId: string;
1458
1458
  }) => Promise<{
1459
- tenantId: string;
1460
- projectId: string;
1459
+ headers: Record<string, string> | null;
1461
1460
  id: string;
1462
- graphId: string;
1463
1461
  createdAt: string;
1464
1462
  updatedAt: string;
1465
- headers: Record<string, string> | null;
1466
- toolId: string;
1463
+ projectId: string;
1464
+ tenantId: string;
1465
+ graphId: string;
1467
1466
  selectedTools: string[] | null;
1468
1467
  agentId: string;
1468
+ toolId: string;
1469
1469
  } | undefined>;
1470
1470
  declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
1471
1471
  scopes: AgentScopeConfig;
@@ -1643,15 +1643,13 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1643
1643
  scopes: GraphScopeConfig;
1644
1644
  agentId: string;
1645
1645
  }) => Promise<{
1646
- tenantId: string;
1647
- projectId: string;
1648
- id: string;
1649
1646
  name: string;
1650
- description: string;
1651
- prompt: string;
1652
- graphId: string;
1647
+ id: string;
1653
1648
  createdAt: string;
1654
1649
  updatedAt: string;
1650
+ projectId: string;
1651
+ tenantId: string;
1652
+ description: string;
1655
1653
  models: {
1656
1654
  base?: {
1657
1655
  model?: string | undefined;
@@ -1669,20 +1667,20 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1669
1667
  stopWhen: {
1670
1668
  stepCountIs?: number | undefined;
1671
1669
  } | null;
1670
+ graphId: string;
1671
+ prompt: string;
1672
1672
  conversationHistoryConfig: ConversationHistoryConfig | null;
1673
1673
  } | undefined>;
1674
1674
  declare const listAgents: (db: DatabaseClient) => (params: {
1675
1675
  scopes: GraphScopeConfig;
1676
1676
  }) => Promise<{
1677
- tenantId: string;
1678
- projectId: string;
1679
- id: string;
1680
1677
  name: string;
1681
- description: string;
1682
- prompt: string;
1683
- graphId: string;
1678
+ id: string;
1684
1679
  createdAt: string;
1685
1680
  updatedAt: string;
1681
+ projectId: string;
1682
+ tenantId: string;
1683
+ description: string;
1686
1684
  models: {
1687
1685
  base?: {
1688
1686
  model?: string | undefined;
@@ -1700,6 +1698,8 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1700
1698
  stopWhen: {
1701
1699
  stepCountIs?: number | undefined;
1702
1700
  } | null;
1701
+ graphId: string;
1702
+ prompt: string;
1703
1703
  conversationHistoryConfig: ConversationHistoryConfig | null;
1704
1704
  }[]>;
1705
1705
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
@@ -1743,15 +1743,13 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1743
1743
  };
1744
1744
  }>;
1745
1745
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1746
- tenantId: string;
1747
- projectId: string;
1748
- id: string;
1749
1746
  name: string;
1750
- description: string;
1751
- prompt: string;
1752
- graphId: string;
1747
+ id: string;
1753
1748
  createdAt: string;
1754
1749
  updatedAt: string;
1750
+ projectId: string;
1751
+ tenantId: string;
1752
+ description: string;
1755
1753
  models: {
1756
1754
  base?: {
1757
1755
  model?: string | undefined;
@@ -1769,6 +1767,8 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1769
1767
  stopWhen: {
1770
1768
  stepCountIs?: number | undefined;
1771
1769
  } | null;
1770
+ graphId: string;
1771
+ prompt: string;
1772
1772
  conversationHistoryConfig: ConversationHistoryConfig | null;
1773
1773
  }>;
1774
1774
  declare const updateAgent: (db: DatabaseClient) => (params: {
@@ -1776,15 +1776,13 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1776
1776
  agentId: string;
1777
1777
  data: AgentUpdate;
1778
1778
  }) => Promise<{
1779
- tenantId: string;
1780
- projectId: string;
1781
- id: string;
1782
1779
  name: string;
1783
- description: string;
1784
- prompt: string;
1785
- graphId: string;
1780
+ id: string;
1786
1781
  createdAt: string;
1787
1782
  updatedAt: string;
1783
+ projectId: string;
1784
+ tenantId: string;
1785
+ description: string;
1788
1786
  models: {
1789
1787
  base?: {
1790
1788
  model?: string | undefined;
@@ -1802,6 +1800,8 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1802
1800
  stopWhen: {
1803
1801
  stepCountIs?: number | undefined;
1804
1802
  } | null;
1803
+ graphId: string;
1804
+ prompt: string;
1805
1805
  conversationHistoryConfig: ConversationHistoryConfig | null;
1806
1806
  }>;
1807
1807
  /**
@@ -1851,49 +1851,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
1851
1851
  scopes: ProjectScopeConfig;
1852
1852
  id: string;
1853
1853
  }) => Promise<{
1854
- tenantId: string;
1855
- projectId: string;
1856
- id: string;
1857
1854
  name: string | null;
1855
+ id: string;
1856
+ createdAt: string;
1857
+ updatedAt: string;
1858
+ projectId: string;
1859
+ tenantId: string;
1858
1860
  graphId: string;
1859
1861
  publicId: string;
1860
1862
  keyHash: string;
1861
1863
  keyPrefix: string;
1862
1864
  lastUsedAt: string | null;
1863
1865
  expiresAt: string | null;
1864
- createdAt: string;
1865
- updatedAt: string;
1866
1866
  } | undefined>;
1867
1867
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1868
- tenantId: string;
1869
- projectId: string;
1870
- id: string;
1871
1868
  name: string | null;
1869
+ id: string;
1870
+ createdAt: string;
1871
+ updatedAt: string;
1872
+ projectId: string;
1873
+ tenantId: string;
1872
1874
  graphId: string;
1873
1875
  publicId: string;
1874
1876
  keyHash: string;
1875
1877
  keyPrefix: string;
1876
1878
  lastUsedAt: string | null;
1877
1879
  expiresAt: string | null;
1878
- createdAt: string;
1879
- updatedAt: string;
1880
1880
  } | undefined>;
1881
1881
  declare const listApiKeys: (db: DatabaseClient) => (params: {
1882
1882
  scopes: ProjectScopeConfig;
1883
1883
  graphId?: string;
1884
1884
  }) => Promise<{
1885
- tenantId: string;
1886
- projectId: string;
1887
- id: string;
1888
1885
  name: string | null;
1886
+ id: string;
1887
+ createdAt: string;
1888
+ updatedAt: string;
1889
+ projectId: string;
1890
+ tenantId: string;
1889
1891
  graphId: string;
1890
1892
  publicId: string;
1891
1893
  keyHash: string;
1892
1894
  keyPrefix: string;
1893
1895
  lastUsedAt: string | null;
1894
1896
  expiresAt: string | null;
1895
- createdAt: string;
1896
- updatedAt: string;
1897
1897
  }[]>;
1898
1898
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1899
1899
  scopes: ProjectScopeConfig;
@@ -1909,36 +1909,36 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1909
1909
  };
1910
1910
  }>;
1911
1911
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
1912
- tenantId: string;
1913
- projectId: string;
1914
- id: string;
1915
1912
  name: string | null;
1913
+ id: string;
1914
+ createdAt: string;
1915
+ updatedAt: string;
1916
+ projectId: string;
1917
+ tenantId: string;
1916
1918
  graphId: string;
1917
1919
  publicId: string;
1918
1920
  keyHash: string;
1919
1921
  keyPrefix: string;
1920
1922
  lastUsedAt: string | null;
1921
1923
  expiresAt: string | null;
1922
- createdAt: string;
1923
- updatedAt: string;
1924
1924
  }>;
1925
1925
  declare const updateApiKey: (db: DatabaseClient) => (params: {
1926
1926
  scopes: ProjectScopeConfig;
1927
1927
  id: string;
1928
1928
  data: ApiKeyUpdate;
1929
1929
  }) => Promise<{
1930
- tenantId: string;
1931
- projectId: string;
1932
- id: string;
1933
1930
  name: string | null;
1931
+ id: string;
1932
+ createdAt: string;
1933
+ updatedAt: string;
1934
+ projectId: string;
1935
+ tenantId: string;
1934
1936
  graphId: string;
1935
1937
  publicId: string;
1936
1938
  keyHash: string;
1937
1939
  keyPrefix: string;
1938
1940
  lastUsedAt: string | null;
1939
1941
  expiresAt: string | null;
1940
- createdAt: string;
1941
- updatedAt: string;
1942
1942
  }>;
1943
1943
  declare const deleteApiKey: (db: DatabaseClient) => (params: {
1944
1944
  scopes: ProjectScopeConfig;
@@ -1967,13 +1967,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1967
1967
  scopes: ProjectScopeConfig;
1968
1968
  id: string;
1969
1969
  }) => Promise<{
1970
- tenantId: string;
1971
- projectId: string;
1972
- id: string;
1973
1970
  name: string;
1974
- description: string;
1971
+ id: string;
1975
1972
  createdAt: string;
1976
1973
  updatedAt: string;
1974
+ projectId: string;
1975
+ tenantId: string;
1976
+ description: string;
1977
1977
  props: Record<string, unknown> | null;
1978
1978
  } | undefined>;
1979
1979
  declare const listArtifactComponents: (db: DatabaseClient) => (params: {
@@ -2001,13 +2001,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
2001
2001
  };
2002
2002
  }>;
2003
2003
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
2004
- tenantId: string;
2005
- projectId: string;
2006
- id: string;
2007
2004
  name: string;
2008
- description: string;
2005
+ id: string;
2009
2006
  createdAt: string;
2010
2007
  updatedAt: string;
2008
+ projectId: string;
2009
+ tenantId: string;
2010
+ description: string;
2011
2011
  props: Record<string, unknown> | null;
2012
2012
  }>;
2013
2013
  declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
@@ -2015,13 +2015,13 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
2015
2015
  id: string;
2016
2016
  data: ArtifactComponentUpdate;
2017
2017
  }) => Promise<{
2018
- tenantId: string;
2019
- projectId: string;
2020
- id: string;
2021
2018
  name: string;
2022
- description: string;
2019
+ id: string;
2023
2020
  createdAt: string;
2024
2021
  updatedAt: string;
2022
+ projectId: string;
2023
+ tenantId: string;
2024
+ description: string;
2025
2025
  props: Record<string, unknown> | null;
2026
2026
  }>;
2027
2027
  declare const deleteArtifactComponent: (db: DatabaseClient) => (params: {
@@ -2044,11 +2044,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
2044
2044
  scopes: AgentScopeConfig;
2045
2045
  artifactComponentId: string;
2046
2046
  }) => Promise<{
2047
- tenantId: string;
2048
- projectId: string;
2049
2047
  id: string;
2050
- graphId: string;
2051
2048
  createdAt: string;
2049
+ projectId: string;
2050
+ tenantId: string;
2051
+ graphId: string;
2052
2052
  agentId: string;
2053
2053
  artifactComponentId: string;
2054
2054
  }>;
@@ -2087,11 +2087,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
2087
2087
  scopes: AgentScopeConfig;
2088
2088
  artifactComponentId: string;
2089
2089
  }) => Promise<{
2090
- tenantId: string;
2091
- projectId: string;
2092
2090
  id: string;
2093
- graphId: string;
2094
2091
  createdAt: string;
2092
+ projectId: string;
2093
+ tenantId: string;
2094
+ graphId: string;
2095
2095
  agentId: string;
2096
2096
  artifactComponentId: string;
2097
2097
  } | null>;
@@ -2171,26 +2171,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2171
2171
  scopes: GraphScopeConfig;
2172
2172
  id: string;
2173
2173
  }) => Promise<{
2174
- tenantId: string;
2175
- projectId: string;
2176
2174
  id: string;
2177
- graphId: string;
2178
2175
  createdAt: string;
2179
2176
  updatedAt: string;
2177
+ projectId: string;
2178
+ tenantId: string;
2180
2179
  headersSchema: unknown;
2181
2180
  contextVariables: Record<string, ContextFetchDefinition> | null;
2181
+ graphId: string;
2182
2182
  } | undefined>;
2183
2183
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2184
2184
  scopes: GraphScopeConfig;
2185
2185
  }) => Promise<{
2186
- tenantId: string;
2187
- projectId: string;
2188
2186
  id: string;
2189
- graphId: string;
2190
2187
  createdAt: string;
2191
2188
  updatedAt: string;
2189
+ projectId: string;
2190
+ tenantId: string;
2192
2191
  headersSchema: unknown;
2193
2192
  contextVariables: Record<string, ContextFetchDefinition> | null;
2193
+ graphId: string;
2194
2194
  }[]>;
2195
2195
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2196
2196
  scopes: GraphScopeConfig;
@@ -2205,28 +2205,28 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2205
2205
  };
2206
2206
  }>;
2207
2207
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
2208
- tenantId: string;
2209
- projectId: string;
2210
2208
  id: string;
2211
- graphId: string;
2212
2209
  createdAt: string;
2213
2210
  updatedAt: string;
2211
+ projectId: string;
2212
+ tenantId: string;
2214
2213
  headersSchema: unknown;
2215
2214
  contextVariables: Record<string, ContextFetchDefinition> | null;
2215
+ graphId: string;
2216
2216
  }>;
2217
2217
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
2218
2218
  scopes: GraphScopeConfig;
2219
2219
  id: string;
2220
2220
  data: Partial<ContextConfigUpdate>;
2221
2221
  }) => Promise<{
2222
- tenantId: string;
2223
- projectId: string;
2224
2222
  id: string;
2225
- graphId: string;
2226
2223
  createdAt: string;
2227
2224
  updatedAt: string;
2225
+ projectId: string;
2226
+ tenantId: string;
2228
2227
  headersSchema: unknown;
2229
2228
  contextVariables: Record<string, ContextFetchDefinition> | null;
2229
+ graphId: string;
2230
2230
  }>;
2231
2231
  declare const deleteContextConfig: (db: DatabaseClient) => (params: {
2232
2232
  scopes: GraphScopeConfig;
@@ -2245,14 +2245,14 @@ declare const countContextConfigs: (db: DatabaseClient) => (params: {
2245
2245
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
2246
2246
  data: ContextConfigInsert;
2247
2247
  }) => Promise<{
2248
- tenantId: string;
2249
- projectId: string;
2250
2248
  id: string;
2251
- graphId: string;
2252
2249
  createdAt: string;
2253
2250
  updatedAt: string;
2251
+ projectId: string;
2252
+ tenantId: string;
2254
2253
  headersSchema: unknown;
2255
2254
  contextVariables: Record<string, ContextFetchDefinition> | null;
2255
+ graphId: string;
2256
2256
  }>;
2257
2257
 
2258
2258
  declare const listConversations: (db: DatabaseClient) => (params: {
@@ -2264,11 +2264,11 @@ declare const listConversations: (db: DatabaseClient) => (params: {
2264
2264
  total: number;
2265
2265
  }>;
2266
2266
  declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
2267
- tenantId: string;
2268
- projectId: string;
2269
2267
  id: string;
2270
2268
  createdAt: string;
2271
2269
  updatedAt: string;
2270
+ projectId: string;
2271
+ tenantId: string;
2272
2272
  title: string | null;
2273
2273
  metadata: ConversationMetadata | null;
2274
2274
  userId: string | null;
@@ -2280,11 +2280,11 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
2280
2280
  conversationId: string;
2281
2281
  data: ConversationUpdate;
2282
2282
  }) => Promise<{
2283
- tenantId: string;
2284
- projectId: string;
2285
2283
  id: string;
2286
2284
  createdAt: string;
2287
2285
  updatedAt: string;
2286
+ projectId: string;
2287
+ tenantId: string;
2288
2288
  title: string | null;
2289
2289
  metadata: ConversationMetadata | null;
2290
2290
  userId: string | null;
@@ -2300,11 +2300,11 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
2300
2300
  conversationId: string;
2301
2301
  activeAgentId: string;
2302
2302
  }) => Promise<{
2303
- tenantId: string;
2304
- projectId: string;
2305
2303
  id: string;
2306
2304
  createdAt: string;
2307
2305
  updatedAt: string;
2306
+ projectId: string;
2307
+ tenantId: string;
2308
2308
  title: string | null;
2309
2309
  metadata: ConversationMetadata | null;
2310
2310
  userId: string | null;
@@ -2315,11 +2315,11 @@ declare const getConversation: (db: DatabaseClient) => (params: {
2315
2315
  scopes: ProjectScopeConfig;
2316
2316
  conversationId: string;
2317
2317
  }) => Promise<{
2318
- tenantId: string;
2319
- projectId: string;
2320
2318
  id: string;
2321
2319
  createdAt: string;
2322
2320
  updatedAt: string;
2321
+ projectId: string;
2322
+ tenantId: string;
2323
2323
  title: string | null;
2324
2324
  metadata: ConversationMetadata | null;
2325
2325
  userId: string | null;
@@ -2353,11 +2353,11 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
2353
2353
  scopes: ProjectScopeConfig;
2354
2354
  conversationId: string;
2355
2355
  }) => Promise<{
2356
- tenantId: string;
2357
- projectId: string;
2358
2356
  id: string;
2359
2357
  createdAt: string;
2360
2358
  updatedAt: string;
2359
+ projectId: string;
2360
+ tenantId: string;
2361
2361
  title: string | null;
2362
2362
  metadata: ConversationMetadata | null;
2363
2363
  userId: string | null;
@@ -2522,11 +2522,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
2522
2522
  scopes: AgentScopeConfig;
2523
2523
  dataComponentId: string;
2524
2524
  }) => Promise<{
2525
- tenantId: string;
2526
- projectId: string;
2527
2525
  id: string;
2528
- graphId: string;
2529
2526
  createdAt: string;
2527
+ projectId: string;
2528
+ tenantId: string;
2529
+ graphId: string;
2530
2530
  agentId: string;
2531
2531
  dataComponentId: string;
2532
2532
  }>;
@@ -2564,11 +2564,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
2564
2564
  scopes: AgentScopeConfig;
2565
2565
  dataComponentId: string;
2566
2566
  }) => Promise<{
2567
- tenantId: string;
2568
- projectId: string;
2569
2567
  id: string;
2570
- graphId: string;
2571
2568
  createdAt: string;
2569
+ projectId: string;
2570
+ tenantId: string;
2571
+ graphId: string;
2572
2572
  agentId: string;
2573
2573
  dataComponentId: string;
2574
2574
  } | null>;
@@ -2787,11 +2787,11 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
2787
2787
  scopes: ProjectScopeConfig;
2788
2788
  messageId: string;
2789
2789
  }) => Promise<{
2790
- tenantId: string;
2791
- projectId: string;
2792
2790
  id: string;
2793
2791
  createdAt: string;
2794
2792
  updatedAt: string;
2793
+ projectId: string;
2794
+ tenantId: string;
2795
2795
  metadata: MessageMetadata | null;
2796
2796
  content: MessageContent;
2797
2797
  conversationId: string;
@@ -2913,11 +2913,11 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2913
2913
  id: string;
2914
2914
  }[]>;
2915
2915
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
2916
- tenantId: string;
2917
- projectId: string;
2918
2916
  id: string;
2919
2917
  createdAt: string;
2920
2918
  updatedAt: string;
2919
+ projectId: string;
2920
+ tenantId: string;
2921
2921
  metadata: MessageMetadata | null;
2922
2922
  content: MessageContent;
2923
2923
  conversationId: string;
@@ -2939,11 +2939,11 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
2939
2939
  messageId: string;
2940
2940
  data: MessageUpdate;
2941
2941
  }) => Promise<{
2942
- tenantId: string;
2943
- projectId: string;
2944
2942
  id: string;
2945
2943
  createdAt: string;
2946
2944
  updatedAt: string;
2945
+ projectId: string;
2946
+ tenantId: string;
2947
2947
  metadata: MessageMetadata | null;
2948
2948
  content: MessageContent;
2949
2949
  conversationId: string;
@@ -2964,11 +2964,11 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
2964
2964
  scopes: ProjectScopeConfig;
2965
2965
  messageId: string;
2966
2966
  }) => Promise<{
2967
- tenantId: string;
2968
- projectId: string;
2969
2967
  id: string;
2970
2968
  createdAt: string;
2971
2969
  updatedAt: string;
2970
+ projectId: string;
2971
+ tenantId: string;
2972
2972
  metadata: MessageMetadata | null;
2973
2973
  content: MessageContent;
2974
2974
  conversationId: string;
@@ -3085,12 +3085,12 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
3085
3085
  }) => Promise<boolean>;
3086
3086
 
3087
3087
  declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
3088
- tenantId: string;
3089
- projectId: string;
3090
3088
  id: string;
3091
- graphId: string;
3092
3089
  createdAt: string;
3093
3090
  updatedAt: string;
3091
+ projectId: string;
3092
+ tenantId: string;
3093
+ graphId: string;
3094
3094
  status: string;
3095
3095
  metadata: TaskMetadataConfig | null;
3096
3096
  contextId: string;
@@ -3106,12 +3106,12 @@ declare const updateTask: (db: DatabaseClient) => (params: {
3106
3106
  metadata?: any;
3107
3107
  };
3108
3108
  }) => Promise<{
3109
- tenantId: string;
3110
- projectId: string;
3111
3109
  id: string;
3112
- graphId: string;
3113
3110
  createdAt: string;
3114
3111
  updatedAt: string;
3112
+ projectId: string;
3113
+ tenantId: string;
3114
+ graphId: string;
3115
3115
  status: string;
3116
3116
  metadata: TaskMetadataConfig | null;
3117
3117
  contextId: string;
@@ -3126,11 +3126,16 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3126
3126
  scopes: ProjectScopeConfig;
3127
3127
  toolId: string;
3128
3128
  }) => Promise<{
3129
- tenantId: string;
3130
- projectId: string;
3131
- id: string;
3132
3129
  name: string;
3130
+ headers: Record<string, string> | null;
3131
+ id: string;
3132
+ createdAt: string;
3133
+ updatedAt: string;
3134
+ projectId: string;
3135
+ tenantId: string;
3133
3136
  description: string | null;
3137
+ credentialReferenceId: string | null;
3138
+ capabilities: ToolServerCapabilities | null;
3134
3139
  config: {
3135
3140
  type: "mcp";
3136
3141
  mcp: ToolMcpConfig;
@@ -3142,11 +3147,6 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3142
3147
  dependencies: Record<string, unknown>;
3143
3148
  };
3144
3149
  };
3145
- credentialReferenceId: string | null;
3146
- createdAt: string;
3147
- updatedAt: string;
3148
- headers: Record<string, string> | null;
3149
- capabilities: ToolServerCapabilities | null;
3150
3150
  functionId: string | null;
3151
3151
  imageUrl: string | null;
3152
3152
  lastError: string | null;
@@ -3189,11 +3189,16 @@ declare const listTools: (db: DatabaseClient) => (params: {
3189
3189
  };
3190
3190
  }>;
3191
3191
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3192
- tenantId: string;
3193
- projectId: string;
3194
- id: string;
3195
3192
  name: string;
3193
+ headers: Record<string, string> | null;
3194
+ id: string;
3195
+ createdAt: string;
3196
+ updatedAt: string;
3197
+ projectId: string;
3198
+ tenantId: string;
3196
3199
  description: string | null;
3200
+ credentialReferenceId: string | null;
3201
+ capabilities: ToolServerCapabilities | null;
3197
3202
  config: {
3198
3203
  type: "mcp";
3199
3204
  mcp: ToolMcpConfig;
@@ -3205,11 +3210,6 @@ declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promis
3205
3210
  dependencies: Record<string, unknown>;
3206
3211
  };
3207
3212
  };
3208
- credentialReferenceId: string | null;
3209
- createdAt: string;
3210
- updatedAt: string;
3211
- headers: Record<string, string> | null;
3212
- capabilities: ToolServerCapabilities | null;
3213
3213
  functionId: string | null;
3214
3214
  imageUrl: string | null;
3215
3215
  lastError: string | null;
@@ -3219,11 +3219,16 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3219
3219
  toolId: string;
3220
3220
  data: ToolUpdate;
3221
3221
  }) => Promise<{
3222
- tenantId: string;
3223
- projectId: string;
3224
- id: string;
3225
3222
  name: string;
3223
+ headers: Record<string, string> | null;
3224
+ id: string;
3225
+ createdAt: string;
3226
+ updatedAt: string;
3227
+ projectId: string;
3228
+ tenantId: string;
3226
3229
  description: string | null;
3230
+ credentialReferenceId: string | null;
3231
+ capabilities: ToolServerCapabilities | null;
3227
3232
  config: {
3228
3233
  type: "mcp";
3229
3234
  mcp: ToolMcpConfig;
@@ -3235,11 +3240,6 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3235
3240
  dependencies: Record<string, unknown>;
3236
3241
  };
3237
3242
  };
3238
- credentialReferenceId: string | null;
3239
- createdAt: string;
3240
- updatedAt: string;
3241
- headers: Record<string, string> | null;
3242
- capabilities: ToolServerCapabilities | null;
3243
3243
  functionId: string | null;
3244
3244
  imageUrl: string | null;
3245
3245
  lastError: string | null;
@@ -3255,32 +3255,32 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
3255
3255
  selectedTools?: string[] | null;
3256
3256
  headers?: Record<string, string> | null;
3257
3257
  }) => Promise<{
3258
- tenantId: string;
3259
- projectId: string;
3258
+ headers: Record<string, string> | null;
3260
3259
  id: string;
3261
- graphId: string;
3262
3260
  createdAt: string;
3263
3261
  updatedAt: string;
3264
- headers: Record<string, string> | null;
3265
- toolId: string;
3262
+ projectId: string;
3263
+ tenantId: string;
3264
+ graphId: string;
3266
3265
  selectedTools: string[] | null;
3267
3266
  agentId: string;
3267
+ toolId: string;
3268
3268
  }>;
3269
3269
  declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3270
3270
  scopes: GraphScopeConfig;
3271
3271
  agentId: string;
3272
3272
  toolId: string;
3273
3273
  }) => Promise<{
3274
- tenantId: string;
3275
- projectId: string;
3274
+ headers: Record<string, string> | null;
3276
3275
  id: string;
3277
- graphId: string;
3278
3276
  createdAt: string;
3279
3277
  updatedAt: string;
3280
- headers: Record<string, string> | null;
3281
- toolId: string;
3278
+ projectId: string;
3279
+ tenantId: string;
3280
+ graphId: string;
3282
3281
  selectedTools: string[] | null;
3283
3282
  agentId: string;
3283
+ toolId: string;
3284
3284
  }>;
3285
3285
  /**
3286
3286
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -3293,16 +3293,16 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3293
3293
  headers?: Record<string, string> | null;
3294
3294
  relationId?: string;
3295
3295
  }) => Promise<{
3296
- tenantId: string;
3297
- projectId: string;
3296
+ headers: Record<string, string> | null;
3298
3297
  id: string;
3299
- graphId: string;
3300
3298
  createdAt: string;
3301
3299
  updatedAt: string;
3302
- headers: Record<string, string> | null;
3303
- toolId: string;
3300
+ projectId: string;
3301
+ tenantId: string;
3302
+ graphId: string;
3304
3303
  selectedTools: string[] | null;
3305
3304
  agentId: string;
3305
+ toolId: string;
3306
3306
  }>;
3307
3307
  /**
3308
3308
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -3310,11 +3310,16 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3310
3310
  declare const upsertTool: (db: DatabaseClient) => (params: {
3311
3311
  data: ToolInsert;
3312
3312
  }) => Promise<{
3313
- tenantId: string;
3314
- projectId: string;
3315
- id: string;
3316
3313
  name: string;
3314
+ headers: Record<string, string> | null;
3315
+ id: string;
3316
+ createdAt: string;
3317
+ updatedAt: string;
3318
+ projectId: string;
3319
+ tenantId: string;
3317
3320
  description: string | null;
3321
+ credentialReferenceId: string | null;
3322
+ capabilities: ToolServerCapabilities | null;
3318
3323
  config: {
3319
3324
  type: "mcp";
3320
3325
  mcp: ToolMcpConfig;
@@ -3326,11 +3331,6 @@ declare const upsertTool: (db: DatabaseClient) => (params: {
3326
3331
  dependencies: Record<string, unknown>;
3327
3332
  };
3328
3333
  };
3329
- credentialReferenceId: string | null;
3330
- createdAt: string;
3331
- updatedAt: string;
3332
- headers: Record<string, string> | null;
3333
- capabilities: ToolServerCapabilities | null;
3334
3334
  functionId: string | null;
3335
3335
  imageUrl: string | null;
3336
3336
  lastError: string | null;