@inkeep/agents-core 0.10.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, f as ContextFetchDefinition, M as MCPTransportType, n as MCPToolConfig, o as GraphScopeConfig, C as ConversationHistoryConfig, p as ProjectScopeConfig, q as PaginationConfig, r as AgentGraphInsert, s as AgentGraphUpdate, t as FullGraphDefinition, u as AgentScopeConfig, v as AgentRelationInsert, E as ExternalAgentRelationInsert, w as AgentRelationUpdate, x as AgentToolRelationUpdate, g as ToolMcpConfig, h as ToolServerCapabilities, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, H as ApiKeyInsert, I as ApiKeyUpdate, J as CreateApiKeyParams, K as ApiKeyCreateResult, L as ArtifactComponentSelect, N as ArtifactComponentInsert, O as ArtifactComponentUpdate, Q as ContextCacheSelect, R as ContextCacheInsert, U as ContextConfigInsert, V as ContextConfigUpdate, W as ConversationSelect, X as ConversationInsert, i as ConversationMetadata, Y as ConversationUpdate, Z as CredentialReferenceSelect, _ as ToolSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, a7 as Artifact, a8 as LedgerArtifactSelect, k as MessageMetadata, j as MessageContent, a9 as MessageVisibility, aa as MessageInsert, ab as MessageUpdate, ac as FullProjectDefinition, ad as ProjectInfo, ae as ProjectSelect, af as PaginationResult, ag as ProjectResourceCounts, ah as ProjectInsert, ai as ProjectUpdate, aj as TaskInsert, T as TaskMetadataConfig, ak as TaskSelect, al as McpTool, am as ToolInsert, an as ToolUpdate, e as CredentialStoreType, ao as ExecutionContext } from './utility-D7QP8MkV.cjs';
3
- export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-D7QP8MkV.cjs';
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-ChGndcyd.cjs';
3
+ export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-ChGndcyd.cjs';
4
4
  import { CredentialStore } from './types/index.cjs';
5
5
  export { CorsConfig, ServerConfig, ServerOptions } from './types/index.cjs';
6
6
  import { LibSQLDatabase } from 'drizzle-orm/libsql';
7
- import { s as schema } from './schema-BXVLXPQq.cjs';
8
- export { k as agentArtifactComponents, O as agentArtifactComponentsRelations, i as agentDataComponents, Q as agentDataComponentsRelations, a as agentGraph, F as agentGraphRelations, e as agentRelations, S as agentRelationsRelations, m as agentToolRelations, I as agentToolRelationsRelations, d as agents, E as agentsRelations, r as apiKeys, H as apiKeysRelations, j as artifactComponents, N as artifactComponentsRelations, b as contextCache, D as contextCacheRelations, c as contextConfigs, C as contextConfigsRelations, n as conversations, L as conversationsRelations, u as credentialReferences, J as credentialReferencesRelations, h as dataComponents, P as dataComponentsRelations, f as externalAgents, G as externalAgentsRelations, q as ledgerArtifacts, x as ledgerArtifactsContextIdIdx, R as ledgerArtifactsRelations, y as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, w as ledgerArtifactsToolCallIdIdx, o as messages, M as messagesRelations, p as projects, A as projectsRelations, g as taskRelations, B as taskRelationsRelations, t as tasks, z as tasksRelations, l as tools, K as toolsRelations } from './schema-BXVLXPQq.cjs';
7
+ import { s as schema } from './schema-CGo-G_SM.cjs';
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-CGo-G_SM.cjs';
9
9
  import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
10
10
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
11
11
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
@@ -751,13 +751,14 @@ declare class CredentialStuffer {
751
751
  declare const getAgentGraphById: (db: DatabaseClient) => (params: {
752
752
  scopes: GraphScopeConfig;
753
753
  }) => Promise<{
754
- name: string;
755
754
  tenantId: string;
756
755
  projectId: string;
757
756
  id: string;
757
+ name: string;
758
+ description: string | null;
758
759
  createdAt: string;
759
760
  updatedAt: string;
760
- description: string | null;
761
+ defaultAgentId: string | null;
761
762
  models: {
762
763
  base?: {
763
764
  model?: string | undefined;
@@ -775,7 +776,6 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
775
776
  stopWhen: {
776
777
  transferCountIs?: number | undefined;
777
778
  } | null;
778
- defaultAgentId: string | null;
779
779
  contextConfigId: string | null;
780
780
  statusUpdates: {
781
781
  enabled?: boolean | undefined;
@@ -797,13 +797,14 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
797
797
  declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
798
798
  scopes: GraphScopeConfig;
799
799
  }) => Promise<{
800
- name: string;
801
800
  tenantId: string;
802
801
  projectId: string;
803
802
  id: string;
803
+ name: string;
804
+ description: string | null;
804
805
  createdAt: string;
805
806
  updatedAt: string;
806
- description: string | null;
807
+ defaultAgentId: string | null;
807
808
  models: {
808
809
  base?: {
809
810
  model?: string | undefined;
@@ -821,7 +822,6 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
821
822
  stopWhen: {
822
823
  transferCountIs?: number | undefined;
823
824
  } | null;
824
- defaultAgentId: string | null;
825
825
  contextConfigId: string | null;
826
826
  statusUpdates: {
827
827
  enabled?: boolean | undefined;
@@ -840,13 +840,16 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
840
840
  } | null;
841
841
  graphPrompt: string | null;
842
842
  defaultAgent: {
843
- name: string;
844
843
  tenantId: string;
845
844
  projectId: string;
846
845
  id: string;
846
+ name: string;
847
+ description: string;
848
+ prompt: string;
849
+ graphId: string;
847
850
  createdAt: string;
848
851
  updatedAt: string;
849
- description: string;
852
+ conversationHistoryConfig: ConversationHistoryConfig | null;
850
853
  models: {
851
854
  base?: {
852
855
  model?: string | undefined;
@@ -864,21 +867,19 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
864
867
  stopWhen: {
865
868
  stepCountIs?: number | undefined;
866
869
  } | null;
867
- prompt: string;
868
- graphId: string;
869
- conversationHistoryConfig: ConversationHistoryConfig | null;
870
870
  } | null;
871
871
  } | null>;
872
872
  declare const listAgentGraphs: (db: DatabaseClient) => (params: {
873
873
  scopes: ProjectScopeConfig;
874
874
  }) => Promise<{
875
- name: string;
876
875
  tenantId: string;
877
876
  projectId: string;
878
877
  id: string;
878
+ name: string;
879
+ description: string | null;
879
880
  createdAt: string;
880
881
  updatedAt: 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 listAgentGraphs: (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;
@@ -920,9 +920,8 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
920
920
  pagination?: PaginationConfig;
921
921
  }) => Promise<{
922
922
  data: {
923
- tenantId: string;
924
- projectId: string;
925
- id: string;
923
+ createdAt: string;
924
+ updatedAt: string;
926
925
  name: string;
927
926
  description: string | null;
928
927
  defaultAgentId: string | null;
@@ -960,8 +959,9 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
960
959
  stopWhen: {
961
960
  transferCountIs?: number | undefined;
962
961
  } | null;
963
- createdAt: string;
964
- updatedAt: string;
962
+ projectId: string;
963
+ tenantId: string;
964
+ id: string;
965
965
  }[];
966
966
  pagination: {
967
967
  page: number;
@@ -971,13 +971,14 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
971
971
  };
972
972
  }>;
973
973
  declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
974
- name: string;
975
974
  tenantId: string;
976
975
  projectId: string;
977
976
  id: string;
977
+ name: string;
978
+ description: string | null;
978
979
  createdAt: string;
979
980
  updatedAt: string;
980
- description: string | null;
981
+ defaultAgentId: string | null;
981
982
  models: {
982
983
  base?: {
983
984
  model?: string | undefined;
@@ -995,7 +996,6 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
995
996
  stopWhen: {
996
997
  transferCountIs?: number | undefined;
997
998
  } | null;
998
- defaultAgentId: string | null;
999
999
  contextConfigId: string | null;
1000
1000
  statusUpdates: {
1001
1001
  enabled?: boolean | undefined;
@@ -1018,13 +1018,14 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1018
1018
  scopes: GraphScopeConfig;
1019
1019
  data: AgentGraphUpdate;
1020
1020
  }) => Promise<{
1021
- name: string;
1022
1021
  tenantId: string;
1023
1022
  projectId: string;
1024
1023
  id: string;
1024
+ name: string;
1025
+ description: string | null;
1025
1026
  createdAt: string;
1026
1027
  updatedAt: string;
1027
- description: string | null;
1028
+ defaultAgentId: string | null;
1028
1029
  models: {
1029
1030
  base?: {
1030
1031
  model?: string | undefined;
@@ -1042,7 +1043,6 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1042
1043
  stopWhen: {
1043
1044
  transferCountIs?: number | undefined;
1044
1045
  } | null;
1045
- defaultAgentId: string | null;
1046
1046
  contextConfigId: string | null;
1047
1047
  statusUpdates: {
1048
1048
  enabled?: boolean | undefined;
@@ -1100,9 +1100,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
1100
1100
  tenantId: string;
1101
1101
  projectId: string;
1102
1102
  id: string;
1103
+ graphId: string;
1103
1104
  createdAt: string;
1104
1105
  updatedAt: string;
1105
- graphId: string;
1106
1106
  sourceAgentId: string;
1107
1107
  targetAgentId: string | null;
1108
1108
  externalAgentId: string | null;
@@ -1113,16 +1113,16 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
1113
1113
  pagination?: PaginationConfig;
1114
1114
  }) => Promise<{
1115
1115
  data: {
1116
- tenantId: string;
1117
- projectId: string;
1118
- graphId: string;
1119
- id: string;
1116
+ createdAt: string;
1117
+ updatedAt: string;
1120
1118
  sourceAgentId: string;
1121
1119
  targetAgentId: string | null;
1122
1120
  externalAgentId: string | null;
1123
1121
  relationType: string | null;
1124
- createdAt: string;
1125
- updatedAt: string;
1122
+ graphId: string;
1123
+ projectId: string;
1124
+ tenantId: string;
1125
+ id: string;
1126
1126
  }[];
1127
1127
  pagination: {
1128
1128
  page: number;
@@ -1137,9 +1137,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
1137
1137
  tenantId: string;
1138
1138
  projectId: string;
1139
1139
  id: string;
1140
+ graphId: string;
1140
1141
  createdAt: string;
1141
1142
  updatedAt: string;
1142
- graphId: string;
1143
1143
  sourceAgentId: string;
1144
1144
  targetAgentId: string | null;
1145
1145
  externalAgentId: string | null;
@@ -1151,9 +1151,9 @@ declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
1151
1151
  tenantId: string;
1152
1152
  projectId: string;
1153
1153
  id: string;
1154
+ graphId: string;
1154
1155
  createdAt: string;
1155
1156
  updatedAt: string;
1156
- graphId: string;
1157
1157
  sourceAgentId: string;
1158
1158
  targetAgentId: string | null;
1159
1159
  externalAgentId: string | null;
@@ -1165,16 +1165,16 @@ declare const getAgentRelationsBySource: (db: DatabaseClient) => (params: {
1165
1165
  pagination?: PaginationConfig;
1166
1166
  }) => Promise<{
1167
1167
  data: {
1168
- tenantId: string;
1169
- projectId: string;
1170
- graphId: string;
1171
- id: string;
1168
+ createdAt: string;
1169
+ updatedAt: string;
1172
1170
  sourceAgentId: string;
1173
1171
  targetAgentId: string | null;
1174
1172
  externalAgentId: string | null;
1175
1173
  relationType: string | null;
1176
- createdAt: string;
1177
- updatedAt: string;
1174
+ graphId: string;
1175
+ projectId: string;
1176
+ tenantId: string;
1177
+ id: string;
1178
1178
  }[];
1179
1179
  pagination: {
1180
1180
  page: number;
@@ -1189,16 +1189,16 @@ declare const getAgentRelationsByTarget: (db: DatabaseClient) => (params: {
1189
1189
  pagination?: PaginationConfig;
1190
1190
  }) => Promise<{
1191
1191
  data: {
1192
- tenantId: string;
1193
- projectId: string;
1194
- graphId: string;
1195
- id: string;
1192
+ createdAt: string;
1193
+ updatedAt: string;
1196
1194
  sourceAgentId: string;
1197
1195
  targetAgentId: string | null;
1198
1196
  externalAgentId: string | null;
1199
1197
  relationType: string | null;
1200
- createdAt: string;
1201
- updatedAt: string;
1198
+ graphId: string;
1199
+ projectId: string;
1200
+ tenantId: string;
1201
+ id: string;
1202
1202
  }[];
1203
1203
  pagination: {
1204
1204
  page: number;
@@ -1213,16 +1213,16 @@ declare const getExternalAgentRelations: (db: DatabaseClient) => (params: {
1213
1213
  pagination?: PaginationConfig;
1214
1214
  }) => Promise<{
1215
1215
  data: {
1216
- tenantId: string;
1217
- projectId: string;
1218
- graphId: string;
1219
- id: string;
1216
+ createdAt: string;
1217
+ updatedAt: string;
1220
1218
  sourceAgentId: string;
1221
1219
  targetAgentId: string | null;
1222
1220
  externalAgentId: string | null;
1223
1221
  relationType: string | null;
1224
- createdAt: string;
1225
- updatedAt: string;
1222
+ graphId: string;
1223
+ projectId: string;
1224
+ tenantId: string;
1225
+ id: string;
1226
1226
  }[];
1227
1227
  pagination: {
1228
1228
  page: number;
@@ -1256,9 +1256,9 @@ declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1256
1256
  tenantId: string;
1257
1257
  projectId: string;
1258
1258
  id: string;
1259
+ graphId: string;
1259
1260
  createdAt: string;
1260
1261
  updatedAt: string;
1261
- graphId: string;
1262
1262
  sourceAgentId: string;
1263
1263
  targetAgentId: string | null;
1264
1264
  externalAgentId: string | null;
@@ -1277,9 +1277,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1277
1277
  tenantId: string;
1278
1278
  projectId: string;
1279
1279
  id: string;
1280
+ graphId: string;
1280
1281
  createdAt: string;
1281
1282
  updatedAt: string;
1282
- graphId: string;
1283
1283
  sourceAgentId: string;
1284
1284
  targetAgentId: string | null;
1285
1285
  externalAgentId: string | null;
@@ -1292,9 +1292,9 @@ declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1292
1292
  tenantId: string;
1293
1293
  projectId: string;
1294
1294
  id: string;
1295
+ graphId: string;
1295
1296
  createdAt: string;
1296
1297
  updatedAt: string;
1297
- graphId: string;
1298
1298
  sourceAgentId: string;
1299
1299
  targetAgentId: string | null;
1300
1300
  externalAgentId: string | null;
@@ -1304,9 +1304,9 @@ declare const createExternalAgentRelation: (db: DatabaseClient) => (params: Exte
1304
1304
  tenantId: string;
1305
1305
  projectId: string;
1306
1306
  id: string;
1307
+ graphId: string;
1307
1308
  createdAt: string;
1308
1309
  updatedAt: string;
1309
- graphId: string;
1310
1310
  sourceAgentId: string;
1311
1311
  targetAgentId: string | null;
1312
1312
  externalAgentId: string | null;
@@ -1320,9 +1320,9 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
1320
1320
  tenantId: string;
1321
1321
  projectId: string;
1322
1322
  id: string;
1323
+ graphId: string;
1323
1324
  createdAt: string;
1324
1325
  updatedAt: string;
1325
- graphId: string;
1326
1326
  sourceAgentId: string;
1327
1327
  targetAgentId: string | null;
1328
1328
  externalAgentId: string | null;
@@ -1348,13 +1348,13 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
1348
1348
  tenantId: string;
1349
1349
  projectId: string;
1350
1350
  id: string;
1351
+ graphId: string;
1351
1352
  createdAt: string;
1352
1353
  updatedAt: string;
1353
1354
  headers: Record<string, string> | null;
1355
+ toolId: string;
1354
1356
  selectedTools: string[] | null;
1355
- graphId: string;
1356
1357
  agentId: string;
1357
- toolId: string;
1358
1358
  }>;
1359
1359
  declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1360
1360
  scopes: GraphScopeConfig;
@@ -1364,13 +1364,13 @@ declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1364
1364
  tenantId: string;
1365
1365
  projectId: string;
1366
1366
  id: string;
1367
+ graphId: string;
1367
1368
  createdAt: string;
1368
1369
  updatedAt: string;
1369
1370
  headers: Record<string, string> | null;
1371
+ toolId: string;
1370
1372
  selectedTools: string[] | null;
1371
- graphId: string;
1372
1373
  agentId: string;
1373
- toolId: string;
1374
1374
  }>;
1375
1375
  declare const deleteAgentToolRelation: (db: DatabaseClient) => (params: {
1376
1376
  scopes: GraphScopeConfig;
@@ -1386,29 +1386,29 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
1386
1386
  tenantId: string;
1387
1387
  projectId: string;
1388
1388
  id: string;
1389
+ graphId: string;
1389
1390
  createdAt: string;
1390
1391
  updatedAt: string;
1391
1392
  headers: Record<string, string> | null;
1393
+ toolId: string;
1392
1394
  selectedTools: string[] | null;
1393
- graphId: string;
1394
1395
  agentId: string;
1395
- toolId: string;
1396
1396
  } | undefined>;
1397
1397
  declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
1398
1398
  scopes: AgentScopeConfig;
1399
1399
  pagination?: PaginationConfig;
1400
1400
  }) => Promise<{
1401
1401
  data: {
1402
- tenantId: string;
1403
- projectId: string;
1404
- graphId: string;
1405
- agentId: string;
1406
- id: string;
1402
+ createdAt: string;
1403
+ updatedAt: string;
1407
1404
  toolId: string;
1408
1405
  selectedTools: string[] | null;
1409
1406
  headers: Record<string, string> | null;
1410
- createdAt: string;
1411
- updatedAt: string;
1407
+ agentId: string;
1408
+ graphId: string;
1409
+ projectId: string;
1410
+ tenantId: string;
1411
+ id: string;
1412
1412
  }[];
1413
1413
  pagination: {
1414
1414
  page: number;
@@ -1423,16 +1423,16 @@ declare const getAgentToolRelationByTool: (db: DatabaseClient) => (params: {
1423
1423
  pagination?: PaginationConfig;
1424
1424
  }) => Promise<{
1425
1425
  data: {
1426
- tenantId: string;
1427
- projectId: string;
1428
- graphId: string;
1429
- agentId: string;
1430
- id: string;
1426
+ createdAt: string;
1427
+ updatedAt: string;
1431
1428
  toolId: string;
1432
1429
  selectedTools: string[] | null;
1433
1430
  headers: Record<string, string> | null;
1434
- createdAt: string;
1435
- updatedAt: string;
1431
+ agentId: string;
1432
+ graphId: string;
1433
+ projectId: string;
1434
+ tenantId: string;
1435
+ id: string;
1436
1436
  }[];
1437
1437
  pagination: {
1438
1438
  page: number;
@@ -1446,16 +1446,16 @@ declare const listAgentToolRelations: (db: DatabaseClient) => (params: {
1446
1446
  pagination?: PaginationConfig;
1447
1447
  }) => Promise<{
1448
1448
  data: {
1449
- tenantId: string;
1450
- projectId: string;
1451
- graphId: string;
1452
- agentId: string;
1453
- id: string;
1449
+ createdAt: string;
1450
+ updatedAt: string;
1454
1451
  toolId: string;
1455
1452
  selectedTools: string[] | null;
1456
1453
  headers: Record<string, string> | null;
1457
- createdAt: string;
1458
- updatedAt: string;
1454
+ agentId: string;
1455
+ graphId: string;
1456
+ projectId: string;
1457
+ tenantId: string;
1458
+ id: string;
1459
1459
  }[];
1460
1460
  pagination: {
1461
1461
  page: number;
@@ -1561,13 +1561,16 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1561
1561
  scopes: GraphScopeConfig;
1562
1562
  agentId: string;
1563
1563
  }) => Promise<{
1564
- name: string;
1565
1564
  tenantId: string;
1566
1565
  projectId: string;
1567
1566
  id: string;
1567
+ name: string;
1568
+ description: string;
1569
+ prompt: string;
1570
+ graphId: string;
1568
1571
  createdAt: string;
1569
1572
  updatedAt: string;
1570
- description: string;
1573
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1571
1574
  models: {
1572
1575
  base?: {
1573
1576
  model?: string | undefined;
@@ -1585,20 +1588,20 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1585
1588
  stopWhen: {
1586
1589
  stepCountIs?: number | undefined;
1587
1590
  } | null;
1588
- prompt: string;
1589
- graphId: string;
1590
- conversationHistoryConfig: ConversationHistoryConfig | null;
1591
1591
  } | undefined>;
1592
1592
  declare const listAgents: (db: DatabaseClient) => (params: {
1593
1593
  scopes: GraphScopeConfig;
1594
1594
  }) => Promise<{
1595
- name: string;
1596
1595
  tenantId: string;
1597
1596
  projectId: string;
1598
1597
  id: string;
1598
+ name: string;
1599
+ description: string;
1600
+ prompt: string;
1601
+ graphId: string;
1599
1602
  createdAt: string;
1600
1603
  updatedAt: string;
1601
- description: string;
1604
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1602
1605
  models: {
1603
1606
  base?: {
1604
1607
  model?: string | undefined;
@@ -1616,21 +1619,14 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1616
1619
  stopWhen: {
1617
1620
  stepCountIs?: number | undefined;
1618
1621
  } | null;
1619
- prompt: string;
1620
- graphId: string;
1621
- conversationHistoryConfig: ConversationHistoryConfig | null;
1622
1622
  }[]>;
1623
1623
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1624
1624
  scopes: GraphScopeConfig;
1625
1625
  pagination?: PaginationConfig;
1626
1626
  }) => Promise<{
1627
1627
  data: {
1628
- tenantId: string;
1629
- projectId: string;
1630
- graphId: string;
1631
- id: string;
1632
- name: string;
1633
- description: string;
1628
+ createdAt: string;
1629
+ updatedAt: string;
1634
1630
  prompt: string;
1635
1631
  conversationHistoryConfig: ConversationHistoryConfig | null;
1636
1632
  models: {
@@ -1650,8 +1646,12 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1650
1646
  stopWhen: {
1651
1647
  stepCountIs?: number | undefined;
1652
1648
  } | null;
1653
- createdAt: string;
1654
- updatedAt: string;
1649
+ name: string;
1650
+ description: string;
1651
+ graphId: string;
1652
+ projectId: string;
1653
+ tenantId: string;
1654
+ id: string;
1655
1655
  }[];
1656
1656
  pagination: {
1657
1657
  page: number;
@@ -1661,13 +1661,16 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1661
1661
  };
1662
1662
  }>;
1663
1663
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1664
- name: string;
1665
1664
  tenantId: string;
1666
1665
  projectId: string;
1667
1666
  id: string;
1667
+ name: string;
1668
+ description: string;
1669
+ prompt: string;
1670
+ graphId: string;
1668
1671
  createdAt: string;
1669
1672
  updatedAt: string;
1670
- description: string;
1673
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1671
1674
  models: {
1672
1675
  base?: {
1673
1676
  model?: string | undefined;
@@ -1685,22 +1688,22 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1685
1688
  stopWhen: {
1686
1689
  stepCountIs?: number | undefined;
1687
1690
  } | null;
1688
- prompt: string;
1689
- graphId: string;
1690
- conversationHistoryConfig: ConversationHistoryConfig | null;
1691
1691
  }>;
1692
1692
  declare const updateAgent: (db: DatabaseClient) => (params: {
1693
1693
  scopes: GraphScopeConfig;
1694
1694
  agentId: string;
1695
1695
  data: AgentUpdate;
1696
1696
  }) => Promise<{
1697
- name: string;
1698
1697
  tenantId: string;
1699
1698
  projectId: string;
1700
1699
  id: string;
1700
+ name: string;
1701
+ description: string;
1702
+ prompt: string;
1703
+ graphId: string;
1701
1704
  createdAt: string;
1702
1705
  updatedAt: string;
1703
- description: string;
1706
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1704
1707
  models: {
1705
1708
  base?: {
1706
1709
  model?: string | undefined;
@@ -1718,9 +1721,6 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1718
1721
  stopWhen: {
1719
1722
  stepCountIs?: number | undefined;
1720
1723
  } | null;
1721
- prompt: string;
1722
- graphId: string;
1723
- conversationHistoryConfig: ConversationHistoryConfig | null;
1724
1724
  }>;
1725
1725
  /**
1726
1726
  * Upsert agent (create if it doesn't exist, update if it does)
@@ -1736,12 +1736,8 @@ declare const getAgentsByIds: (db: DatabaseClient) => (params: {
1736
1736
  scopes: GraphScopeConfig;
1737
1737
  agentIds: string[];
1738
1738
  }) => Promise<{
1739
- tenantId: string;
1740
- projectId: string;
1741
- graphId: string;
1742
- id: string;
1743
- name: string;
1744
- description: string;
1739
+ createdAt: string;
1740
+ updatedAt: string;
1745
1741
  prompt: string;
1746
1742
  conversationHistoryConfig: ConversationHistoryConfig | null;
1747
1743
  models: {
@@ -1761,57 +1757,61 @@ declare const getAgentsByIds: (db: DatabaseClient) => (params: {
1761
1757
  stopWhen: {
1762
1758
  stepCountIs?: number | undefined;
1763
1759
  } | null;
1764
- createdAt: string;
1765
- updatedAt: string;
1760
+ name: string;
1761
+ description: string;
1762
+ graphId: string;
1763
+ projectId: string;
1764
+ tenantId: string;
1765
+ id: string;
1766
1766
  }[]>;
1767
1767
 
1768
1768
  declare const getApiKeyById: (db: DatabaseClient) => (params: {
1769
1769
  scopes: ProjectScopeConfig;
1770
1770
  id: string;
1771
1771
  }) => Promise<{
1772
- name: string | null;
1773
1772
  tenantId: string;
1774
1773
  projectId: string;
1775
1774
  id: string;
1776
- createdAt: string;
1777
- updatedAt: string;
1775
+ name: string | null;
1778
1776
  graphId: string;
1779
1777
  publicId: string;
1780
1778
  keyHash: string;
1781
1779
  keyPrefix: string;
1782
1780
  lastUsedAt: string | null;
1783
1781
  expiresAt: string | null;
1782
+ createdAt: string;
1783
+ updatedAt: string;
1784
1784
  } | undefined>;
1785
1785
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1786
- name: string | null;
1787
1786
  tenantId: string;
1788
1787
  projectId: string;
1789
1788
  id: string;
1790
- createdAt: string;
1791
- updatedAt: string;
1789
+ name: string | null;
1792
1790
  graphId: string;
1793
1791
  publicId: string;
1794
1792
  keyHash: string;
1795
1793
  keyPrefix: string;
1796
1794
  lastUsedAt: string | null;
1797
1795
  expiresAt: string | null;
1796
+ createdAt: string;
1797
+ updatedAt: string;
1798
1798
  } | undefined>;
1799
1799
  declare const listApiKeys: (db: DatabaseClient) => (params: {
1800
1800
  scopes: ProjectScopeConfig;
1801
1801
  graphId?: string;
1802
1802
  }) => Promise<{
1803
- name: string | null;
1804
1803
  tenantId: string;
1805
1804
  projectId: string;
1806
1805
  id: string;
1807
- createdAt: string;
1808
- updatedAt: string;
1806
+ name: string | null;
1809
1807
  graphId: string;
1810
1808
  publicId: string;
1811
1809
  keyHash: string;
1812
1810
  keyPrefix: string;
1813
1811
  lastUsedAt: string | null;
1814
1812
  expiresAt: string | null;
1813
+ createdAt: string;
1814
+ updatedAt: string;
1815
1815
  }[]>;
1816
1816
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1817
1817
  scopes: ProjectScopeConfig;
@@ -1827,36 +1827,36 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1827
1827
  };
1828
1828
  }>;
1829
1829
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
1830
- name: string | null;
1831
1830
  tenantId: string;
1832
1831
  projectId: string;
1833
1832
  id: string;
1834
- createdAt: string;
1835
- updatedAt: string;
1833
+ name: string | null;
1836
1834
  graphId: string;
1837
1835
  publicId: string;
1838
1836
  keyHash: string;
1839
1837
  keyPrefix: string;
1840
1838
  lastUsedAt: string | null;
1841
1839
  expiresAt: string | null;
1840
+ createdAt: string;
1841
+ updatedAt: string;
1842
1842
  }>;
1843
1843
  declare const updateApiKey: (db: DatabaseClient) => (params: {
1844
1844
  scopes: ProjectScopeConfig;
1845
1845
  id: string;
1846
1846
  data: ApiKeyUpdate;
1847
1847
  }) => Promise<{
1848
- name: string | null;
1849
1848
  tenantId: string;
1850
1849
  projectId: string;
1851
1850
  id: string;
1852
- createdAt: string;
1853
- updatedAt: string;
1851
+ name: string | null;
1854
1852
  graphId: string;
1855
1853
  publicId: string;
1856
1854
  keyHash: string;
1857
1855
  keyPrefix: string;
1858
1856
  lastUsedAt: string | null;
1859
1857
  expiresAt: string | null;
1858
+ createdAt: string;
1859
+ updatedAt: string;
1860
1860
  }>;
1861
1861
  declare const deleteApiKey: (db: DatabaseClient) => (params: {
1862
1862
  scopes: ProjectScopeConfig;
@@ -1885,28 +1885,28 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1885
1885
  scopes: ProjectScopeConfig;
1886
1886
  id: string;
1887
1887
  }) => Promise<{
1888
- name: string;
1889
1888
  tenantId: string;
1890
1889
  projectId: string;
1891
1890
  id: string;
1891
+ name: string;
1892
+ description: string;
1892
1893
  createdAt: string;
1893
1894
  updatedAt: string;
1894
- description: string;
1895
1895
  summaryProps: Record<string, unknown> | null;
1896
1896
  fullProps: Record<string, unknown> | null;
1897
1897
  } | undefined>;
1898
1898
  declare const listArtifactComponents: (db: DatabaseClient) => (params: {
1899
1899
  scopes: ProjectScopeConfig;
1900
1900
  }) => Promise<{
1901
- tenantId: string;
1902
- projectId: string;
1903
- id: string;
1904
- name: string;
1905
- description: string;
1906
- summaryProps: Record<string, unknown> | null;
1907
- fullProps: Record<string, unknown> | null;
1908
1901
  createdAt: string;
1909
1902
  updatedAt: string;
1903
+ summaryProps: Record<string, unknown> | null;
1904
+ fullProps: Record<string, unknown> | null;
1905
+ name: string;
1906
+ description: string;
1907
+ projectId: string;
1908
+ tenantId: string;
1909
+ id: string;
1910
1910
  }[]>;
1911
1911
  declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params: {
1912
1912
  scopes: ProjectScopeConfig;
@@ -1921,13 +1921,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
1921
1921
  };
1922
1922
  }>;
1923
1923
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
1924
- name: string;
1925
1924
  tenantId: string;
1926
1925
  projectId: string;
1927
1926
  id: string;
1927
+ name: string;
1928
+ description: string;
1928
1929
  createdAt: string;
1929
1930
  updatedAt: string;
1930
- description: string;
1931
1931
  summaryProps: Record<string, unknown> | null;
1932
1932
  fullProps: Record<string, unknown> | null;
1933
1933
  }>;
@@ -1936,13 +1936,13 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
1936
1936
  id: string;
1937
1937
  data: ArtifactComponentUpdate;
1938
1938
  }) => Promise<{
1939
- name: string;
1940
1939
  tenantId: string;
1941
1940
  projectId: string;
1942
1941
  id: string;
1942
+ name: string;
1943
+ description: string;
1943
1944
  createdAt: string;
1944
1945
  updatedAt: string;
1945
- description: string;
1946
1946
  summaryProps: Record<string, unknown> | null;
1947
1947
  fullProps: Record<string, unknown> | null;
1948
1948
  }>;
@@ -1970,8 +1970,8 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
1970
1970
  tenantId: string;
1971
1971
  projectId: string;
1972
1972
  id: string;
1973
- createdAt: string;
1974
1973
  graphId: string;
1974
+ createdAt: string;
1975
1975
  agentId: string;
1976
1976
  artifactComponentId: string;
1977
1977
  }>;
@@ -2013,8 +2013,8 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
2013
2013
  tenantId: string;
2014
2014
  projectId: string;
2015
2015
  id: string;
2016
- createdAt: string;
2017
2016
  graphId: string;
2017
+ createdAt: string;
2018
2018
  agentId: string;
2019
2019
  artifactComponentId: string;
2020
2020
  } | null>;
@@ -2094,26 +2094,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2094
2094
  scopes: ProjectScopeConfig;
2095
2095
  id: string;
2096
2096
  }) => Promise<{
2097
- name: string;
2098
2097
  tenantId: string;
2099
2098
  projectId: string;
2100
2099
  id: string;
2100
+ name: string;
2101
+ description: string;
2101
2102
  createdAt: string;
2102
2103
  updatedAt: string;
2103
- description: string;
2104
2104
  requestContextSchema: unknown;
2105
2105
  contextVariables: Record<string, ContextFetchDefinition> | null;
2106
2106
  } | undefined>;
2107
2107
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2108
2108
  scopes: ProjectScopeConfig;
2109
2109
  }) => Promise<{
2110
- name: string;
2111
2110
  tenantId: string;
2112
2111
  projectId: string;
2113
2112
  id: string;
2113
+ name: string;
2114
+ description: string;
2114
2115
  createdAt: string;
2115
2116
  updatedAt: string;
2116
- description: string;
2117
2117
  requestContextSchema: unknown;
2118
2118
  contextVariables: Record<string, ContextFetchDefinition> | null;
2119
2119
  }[]>;
@@ -2130,13 +2130,13 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2130
2130
  };
2131
2131
  }>;
2132
2132
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
2133
- name: string;
2134
2133
  tenantId: string;
2135
2134
  projectId: string;
2136
2135
  id: string;
2136
+ name: string;
2137
+ description: string;
2137
2138
  createdAt: string;
2138
2139
  updatedAt: string;
2139
- description: string;
2140
2140
  requestContextSchema: unknown;
2141
2141
  contextVariables: Record<string, ContextFetchDefinition> | null;
2142
2142
  }>;
@@ -2145,13 +2145,13 @@ declare const updateContextConfig: (db: DatabaseClient) => (params: {
2145
2145
  id: string;
2146
2146
  data: Partial<ContextConfigUpdate>;
2147
2147
  }) => Promise<{
2148
- name: string;
2149
2148
  tenantId: string;
2150
2149
  projectId: string;
2151
2150
  id: string;
2151
+ name: string;
2152
+ description: string;
2152
2153
  createdAt: string;
2153
2154
  updatedAt: string;
2154
- description: string;
2155
2155
  requestContextSchema: unknown;
2156
2156
  contextVariables: Record<string, ContextFetchDefinition> | null;
2157
2157
  }>;
@@ -2170,13 +2170,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2170
2170
  scopes: ProjectScopeConfig;
2171
2171
  name: string;
2172
2172
  }) => Promise<{
2173
- name: string;
2174
2173
  tenantId: string;
2175
2174
  projectId: string;
2176
2175
  id: string;
2176
+ name: string;
2177
+ description: string;
2177
2178
  createdAt: string;
2178
2179
  updatedAt: string;
2179
- description: string;
2180
2180
  requestContextSchema: unknown;
2181
2181
  contextVariables: Record<string, ContextFetchDefinition> | null;
2182
2182
  }[]>;
@@ -2186,13 +2186,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2186
2186
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
2187
2187
  data: ContextConfigInsert;
2188
2188
  }) => Promise<{
2189
- name: string;
2190
2189
  tenantId: string;
2191
2190
  projectId: string;
2192
2191
  id: string;
2192
+ name: string;
2193
+ description: string;
2193
2194
  createdAt: string;
2194
2195
  updatedAt: string;
2195
- description: string;
2196
2196
  requestContextSchema: unknown;
2197
2197
  contextVariables: Record<string, ContextFetchDefinition> | null;
2198
2198
  }>;
@@ -2467,8 +2467,8 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
2467
2467
  tenantId: string;
2468
2468
  projectId: string;
2469
2469
  id: string;
2470
- createdAt: string;
2471
2470
  graphId: string;
2471
+ createdAt: string;
2472
2472
  agentId: string;
2473
2473
  dataComponentId: string;
2474
2474
  }>;
@@ -2509,8 +2509,8 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
2509
2509
  tenantId: string;
2510
2510
  projectId: string;
2511
2511
  id: string;
2512
- createdAt: string;
2513
2512
  graphId: string;
2513
+ createdAt: string;
2514
2514
  agentId: string;
2515
2515
  dataComponentId: string;
2516
2516
  } | null>;
@@ -2726,9 +2726,8 @@ declare const listMessages: (db: DatabaseClient) => (params: {
2726
2726
  scopes: ProjectScopeConfig;
2727
2727
  pagination: PaginationConfig;
2728
2728
  }) => Promise<{
2729
- tenantId: string;
2730
- projectId: string;
2731
- id: string;
2729
+ createdAt: string;
2730
+ updatedAt: string;
2732
2731
  conversationId: string;
2733
2732
  role: string;
2734
2733
  fromAgentId: string | null;
@@ -2744,17 +2743,17 @@ declare const listMessages: (db: DatabaseClient) => (params: {
2744
2743
  a2aTaskId: string | null;
2745
2744
  a2aSessionId: string | null;
2746
2745
  metadata: MessageMetadata | null;
2747
- createdAt: string;
2748
- updatedAt: string;
2746
+ projectId: string;
2747
+ tenantId: string;
2748
+ id: string;
2749
2749
  }[]>;
2750
2750
  declare const getMessagesByConversation: (db: DatabaseClient) => (params: {
2751
2751
  scopes: ProjectScopeConfig;
2752
2752
  conversationId: string;
2753
2753
  pagination: PaginationConfig;
2754
2754
  }) => Promise<{
2755
- tenantId: string;
2756
- projectId: string;
2757
- id: string;
2755
+ createdAt: string;
2756
+ updatedAt: string;
2758
2757
  conversationId: string;
2759
2758
  role: string;
2760
2759
  fromAgentId: string | null;
@@ -2770,17 +2769,17 @@ declare const getMessagesByConversation: (db: DatabaseClient) => (params: {
2770
2769
  a2aTaskId: string | null;
2771
2770
  a2aSessionId: string | null;
2772
2771
  metadata: MessageMetadata | null;
2773
- createdAt: string;
2774
- updatedAt: string;
2772
+ projectId: string;
2773
+ tenantId: string;
2774
+ id: string;
2775
2775
  }[]>;
2776
2776
  declare const getMessagesByTask: (db: DatabaseClient) => (params: {
2777
2777
  scopes: ProjectScopeConfig;
2778
2778
  taskId: string;
2779
2779
  pagination: PaginationConfig;
2780
2780
  }) => Promise<{
2781
- tenantId: string;
2782
- projectId: string;
2783
- id: string;
2781
+ createdAt: string;
2782
+ updatedAt: string;
2784
2783
  conversationId: string;
2785
2784
  role: string;
2786
2785
  fromAgentId: string | null;
@@ -2796,8 +2795,9 @@ declare const getMessagesByTask: (db: DatabaseClient) => (params: {
2796
2795
  a2aTaskId: string | null;
2797
2796
  a2aSessionId: string | null;
2798
2797
  metadata: MessageMetadata | null;
2799
- createdAt: string;
2800
- updatedAt: string;
2798
+ projectId: string;
2799
+ tenantId: string;
2800
+ id: string;
2801
2801
  }[]>;
2802
2802
  declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2803
2803
  scopes: ProjectScopeConfig;
@@ -2805,9 +2805,8 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2805
2805
  visibility?: MessageVisibility[];
2806
2806
  pagination: PaginationConfig;
2807
2807
  }) => Promise<{
2808
- tenantId: string;
2809
- projectId: string;
2810
- id: string;
2808
+ createdAt: string;
2809
+ updatedAt: string;
2811
2810
  conversationId: string;
2812
2811
  role: string;
2813
2812
  fromAgentId: string | null;
@@ -2823,8 +2822,9 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2823
2822
  a2aTaskId: string | null;
2824
2823
  a2aSessionId: string | null;
2825
2824
  metadata: MessageMetadata | null;
2826
- createdAt: string;
2827
- updatedAt: string;
2825
+ projectId: string;
2826
+ tenantId: string;
2827
+ id: string;
2828
2828
  }[]>;
2829
2829
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
2830
2830
  tenantId: string;
@@ -3002,6 +3002,7 @@ declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promis
3002
3002
  tenantId: string;
3003
3003
  projectId: string;
3004
3004
  id: string;
3005
+ graphId: string;
3005
3006
  createdAt: string;
3006
3007
  updatedAt: string;
3007
3008
  metadata: TaskMetadataConfig | null;
@@ -3022,6 +3023,7 @@ declare const updateTask: (db: DatabaseClient) => (params: {
3022
3023
  tenantId: string;
3023
3024
  projectId: string;
3024
3025
  id: string;
3026
+ graphId: string;
3025
3027
  createdAt: string;
3026
3028
  updatedAt: string;
3027
3029
  metadata: TaskMetadataConfig | null;
@@ -3038,19 +3040,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3038
3040
  scopes: ProjectScopeConfig;
3039
3041
  toolId: string;
3040
3042
  }) => Promise<{
3041
- name: string;
3042
3043
  tenantId: string;
3043
3044
  projectId: string;
3044
3045
  id: string;
3045
- createdAt: string;
3046
- updatedAt: string;
3047
- credentialReferenceId: string | null;
3048
- headers: Record<string, string> | null;
3049
- capabilities: ToolServerCapabilities | null;
3046
+ name: string;
3050
3047
  config: {
3051
3048
  type: "mcp";
3052
3049
  mcp: ToolMcpConfig;
3053
3050
  };
3051
+ credentialReferenceId: string | null;
3052
+ createdAt: string;
3053
+ updatedAt: string;
3054
+ headers: Record<string, string> | null;
3055
+ capabilities: ToolServerCapabilities | null;
3054
3056
  imageUrl: string | null;
3055
3057
  lastError: string | null;
3056
3058
  } | null>;
@@ -3059,9 +3061,8 @@ declare const listTools: (db: DatabaseClient) => (params: {
3059
3061
  pagination?: PaginationConfig;
3060
3062
  }) => Promise<{
3061
3063
  data: {
3062
- tenantId: string;
3063
- projectId: string;
3064
- id: string;
3064
+ createdAt: string;
3065
+ updatedAt: string;
3065
3066
  name: string;
3066
3067
  config: {
3067
3068
  type: "mcp";
@@ -3072,8 +3073,9 @@ declare const listTools: (db: DatabaseClient) => (params: {
3072
3073
  imageUrl: string | null;
3073
3074
  capabilities: ToolServerCapabilities | null;
3074
3075
  lastError: string | null;
3075
- createdAt: string;
3076
- updatedAt: string;
3076
+ projectId: string;
3077
+ tenantId: string;
3078
+ id: string;
3077
3079
  }[];
3078
3080
  pagination: {
3079
3081
  page: number;
@@ -3083,19 +3085,19 @@ declare const listTools: (db: DatabaseClient) => (params: {
3083
3085
  };
3084
3086
  }>;
3085
3087
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3086
- name: string;
3087
3088
  tenantId: string;
3088
3089
  projectId: string;
3089
3090
  id: string;
3090
- createdAt: string;
3091
- updatedAt: string;
3092
- credentialReferenceId: string | null;
3093
- headers: Record<string, string> | null;
3094
- capabilities: ToolServerCapabilities | null;
3091
+ name: string;
3095
3092
  config: {
3096
3093
  type: "mcp";
3097
3094
  mcp: ToolMcpConfig;
3098
3095
  };
3096
+ credentialReferenceId: string | null;
3097
+ createdAt: string;
3098
+ updatedAt: string;
3099
+ headers: Record<string, string> | null;
3100
+ capabilities: ToolServerCapabilities | null;
3099
3101
  imageUrl: string | null;
3100
3102
  lastError: string | null;
3101
3103
  }>;
@@ -3104,19 +3106,19 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3104
3106
  toolId: string;
3105
3107
  data: ToolUpdate;
3106
3108
  }) => Promise<{
3107
- name: string;
3108
3109
  tenantId: string;
3109
3110
  projectId: string;
3110
3111
  id: string;
3111
- createdAt: string;
3112
- updatedAt: string;
3113
- credentialReferenceId: string | null;
3114
- headers: Record<string, string> | null;
3115
- capabilities: ToolServerCapabilities | null;
3112
+ name: string;
3116
3113
  config: {
3117
3114
  type: "mcp";
3118
3115
  mcp: ToolMcpConfig;
3119
3116
  };
3117
+ credentialReferenceId: string | null;
3118
+ createdAt: string;
3119
+ updatedAt: string;
3120
+ headers: Record<string, string> | null;
3121
+ capabilities: ToolServerCapabilities | null;
3120
3122
  imageUrl: string | null;
3121
3123
  lastError: string | null;
3122
3124
  }>;
@@ -3134,13 +3136,13 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
3134
3136
  tenantId: string;
3135
3137
  projectId: string;
3136
3138
  id: string;
3139
+ graphId: string;
3137
3140
  createdAt: string;
3138
3141
  updatedAt: string;
3139
3142
  headers: Record<string, string> | null;
3143
+ toolId: string;
3140
3144
  selectedTools: string[] | null;
3141
- graphId: string;
3142
3145
  agentId: string;
3143
- toolId: string;
3144
3146
  }>;
3145
3147
  declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3146
3148
  scopes: GraphScopeConfig;
@@ -3150,13 +3152,13 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3150
3152
  tenantId: string;
3151
3153
  projectId: string;
3152
3154
  id: string;
3155
+ graphId: string;
3153
3156
  createdAt: string;
3154
3157
  updatedAt: string;
3155
3158
  headers: Record<string, string> | null;
3159
+ toolId: string;
3156
3160
  selectedTools: string[] | null;
3157
- graphId: string;
3158
3161
  agentId: string;
3159
- toolId: string;
3160
3162
  }>;
3161
3163
  /**
3162
3164
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -3172,13 +3174,13 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3172
3174
  tenantId: string;
3173
3175
  projectId: string;
3174
3176
  id: string;
3177
+ graphId: string;
3175
3178
  createdAt: string;
3176
3179
  updatedAt: string;
3177
3180
  headers: Record<string, string> | null;
3181
+ toolId: string;
3178
3182
  selectedTools: string[] | null;
3179
- graphId: string;
3180
3183
  agentId: string;
3181
- toolId: string;
3182
3184
  }>;
3183
3185
  /**
3184
3186
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -3186,19 +3188,19 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3186
3188
  declare const upsertTool: (db: DatabaseClient) => (params: {
3187
3189
  data: ToolInsert;
3188
3190
  }) => Promise<{
3189
- name: string;
3190
3191
  tenantId: string;
3191
3192
  projectId: string;
3192
3193
  id: string;
3193
- createdAt: string;
3194
- updatedAt: string;
3195
- credentialReferenceId: string | null;
3196
- headers: Record<string, string> | null;
3197
- capabilities: ToolServerCapabilities | null;
3194
+ name: string;
3198
3195
  config: {
3199
3196
  type: "mcp";
3200
3197
  mcp: ToolMcpConfig;
3201
3198
  };
3199
+ credentialReferenceId: string | null;
3200
+ createdAt: string;
3201
+ updatedAt: string;
3202
+ headers: Record<string, string> | null;
3203
+ capabilities: ToolServerCapabilities | null;
3202
3204
  imageUrl: string | null;
3203
3205
  lastError: string | null;
3204
3206
  }>;