@inkeep/agents-core 0.0.0-dev-20251003220013 → 0.0.0-dev-20251003221329

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-BOfzG3mF.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-BOfzG3mF.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-Cd0qsewS.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-Cd0qsewS.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-DeUmRJk-.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-DeUmRJk-.cjs';
7
+ import { s as schema } from './schema-DDUpvlcp.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-DDUpvlcp.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';
@@ -578,6 +578,11 @@ declare class NangoCredentialStore implements CredentialStore {
578
578
  * Fetch a specific Nango integration
579
579
  */
580
580
  private fetchNangoIntegration;
581
+ /**
582
+ * Optimize OAuth token data to fit within Nango's 1024 character limit for apiKey field
583
+ * Strategy: Remove unnecessary fields
584
+ */
585
+ private optimizeOAuthTokenForNango;
581
586
  /**
582
587
  * Create an API key credential by setting up Nango integration and importing the connection
583
588
  */
@@ -730,6 +735,7 @@ declare class McpClient {
730
735
  private serverConfig;
731
736
  private connected;
732
737
  constructor(opts: McpClientOptions);
738
+ isConnected(): boolean;
733
739
  connect(): Promise<void>;
734
740
  private connectSSE;
735
741
  private connectHttp;
@@ -818,13 +824,14 @@ declare class CredentialStuffer {
818
824
  declare const getAgentGraphById: (db: DatabaseClient) => (params: {
819
825
  scopes: GraphScopeConfig;
820
826
  }) => Promise<{
821
- name: string;
827
+ tenantId: string;
828
+ projectId: string;
822
829
  id: string;
830
+ name: string;
831
+ description: string | null;
823
832
  createdAt: string;
824
833
  updatedAt: string;
825
- projectId: string;
826
- tenantId: string;
827
- description: string | null;
834
+ defaultAgentId: string | null;
828
835
  models: {
829
836
  base?: {
830
837
  model?: string | undefined;
@@ -842,7 +849,6 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
842
849
  stopWhen: {
843
850
  transferCountIs?: number | undefined;
844
851
  } | null;
845
- defaultAgentId: string | null;
846
852
  contextConfigId: string | null;
847
853
  statusUpdates: {
848
854
  enabled?: boolean | undefined;
@@ -864,13 +870,14 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
864
870
  declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
865
871
  scopes: GraphScopeConfig;
866
872
  }) => Promise<{
867
- name: string;
873
+ tenantId: string;
874
+ projectId: string;
868
875
  id: string;
876
+ name: string;
877
+ description: string | null;
869
878
  createdAt: string;
870
879
  updatedAt: string;
871
- projectId: string;
872
- tenantId: string;
873
- description: string | null;
880
+ defaultAgentId: string | null;
874
881
  models: {
875
882
  base?: {
876
883
  model?: string | undefined;
@@ -888,7 +895,6 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
888
895
  stopWhen: {
889
896
  transferCountIs?: number | undefined;
890
897
  } | null;
891
- defaultAgentId: string | null;
892
898
  contextConfigId: string | null;
893
899
  statusUpdates: {
894
900
  enabled?: boolean | undefined;
@@ -907,13 +913,16 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
907
913
  } | null;
908
914
  graphPrompt: string | null;
909
915
  defaultAgent: {
910
- name: string;
916
+ tenantId: string;
917
+ projectId: string;
911
918
  id: string;
919
+ name: string;
920
+ description: string;
921
+ prompt: string;
922
+ graphId: string;
912
923
  createdAt: string;
913
924
  updatedAt: string;
914
- projectId: string;
915
- tenantId: string;
916
- description: string;
925
+ conversationHistoryConfig: ConversationHistoryConfig | null;
917
926
  models: {
918
927
  base?: {
919
928
  model?: string | undefined;
@@ -931,21 +940,19 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
931
940
  stopWhen: {
932
941
  stepCountIs?: number | undefined;
933
942
  } | null;
934
- prompt: string;
935
- conversationHistoryConfig: ConversationHistoryConfig | null;
936
- graphId: string;
937
943
  } | null;
938
944
  } | null>;
939
945
  declare const listAgentGraphs: (db: DatabaseClient) => (params: {
940
946
  scopes: ProjectScopeConfig;
941
947
  }) => Promise<{
942
- name: string;
948
+ tenantId: string;
949
+ projectId: string;
943
950
  id: string;
951
+ name: string;
952
+ description: string | null;
944
953
  createdAt: string;
945
954
  updatedAt: string;
946
- projectId: string;
947
- tenantId: string;
948
- description: string | null;
955
+ defaultAgentId: string | null;
949
956
  models: {
950
957
  base?: {
951
958
  model?: string | undefined;
@@ -963,7 +970,6 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
963
970
  stopWhen: {
964
971
  transferCountIs?: number | undefined;
965
972
  } | null;
966
- defaultAgentId: string | null;
967
973
  contextConfigId: string | null;
968
974
  statusUpdates: {
969
975
  enabled?: boolean | undefined;
@@ -1038,13 +1044,14 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
1038
1044
  };
1039
1045
  }>;
1040
1046
  declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
1041
- name: string;
1047
+ tenantId: string;
1048
+ projectId: string;
1042
1049
  id: string;
1050
+ name: string;
1051
+ description: string | null;
1043
1052
  createdAt: string;
1044
1053
  updatedAt: string;
1045
- projectId: string;
1046
- tenantId: string;
1047
- description: string | null;
1054
+ defaultAgentId: string | null;
1048
1055
  models: {
1049
1056
  base?: {
1050
1057
  model?: string | undefined;
@@ -1062,7 +1069,6 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1062
1069
  stopWhen: {
1063
1070
  transferCountIs?: number | undefined;
1064
1071
  } | null;
1065
- defaultAgentId: string | null;
1066
1072
  contextConfigId: string | null;
1067
1073
  statusUpdates: {
1068
1074
  enabled?: boolean | undefined;
@@ -1085,13 +1091,14 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1085
1091
  scopes: GraphScopeConfig;
1086
1092
  data: AgentGraphUpdate;
1087
1093
  }) => Promise<{
1088
- name: string;
1094
+ tenantId: string;
1095
+ projectId: string;
1089
1096
  id: string;
1097
+ name: string;
1098
+ description: string | null;
1090
1099
  createdAt: string;
1091
1100
  updatedAt: string;
1092
- projectId: string;
1093
- tenantId: string;
1094
- description: string | null;
1101
+ defaultAgentId: string | null;
1095
1102
  models: {
1096
1103
  base?: {
1097
1104
  model?: string | undefined;
@@ -1109,7 +1116,6 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1109
1116
  stopWhen: {
1110
1117
  transferCountIs?: number | undefined;
1111
1118
  } | null;
1112
- defaultAgentId: string | null;
1113
1119
  contextConfigId: string | null;
1114
1120
  statusUpdates: {
1115
1121
  enabled?: boolean | undefined;
@@ -1164,12 +1170,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
1164
1170
  scopes: GraphScopeConfig;
1165
1171
  relationId: string;
1166
1172
  }) => Promise<{
1173
+ tenantId: string;
1174
+ projectId: string;
1167
1175
  id: string;
1176
+ graphId: string;
1168
1177
  createdAt: string;
1169
1178
  updatedAt: string;
1170
- projectId: string;
1171
- tenantId: string;
1172
- graphId: string;
1173
1179
  sourceAgentId: string;
1174
1180
  targetAgentId: string | null;
1175
1181
  externalAgentId: string | null;
@@ -1201,12 +1207,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
1201
1207
  declare const getAgentRelations: (db: DatabaseClient) => (params: {
1202
1208
  scopes: AgentScopeConfig;
1203
1209
  }) => Promise<{
1210
+ tenantId: string;
1211
+ projectId: string;
1204
1212
  id: string;
1213
+ graphId: string;
1205
1214
  createdAt: string;
1206
1215
  updatedAt: string;
1207
- projectId: string;
1208
- tenantId: string;
1209
- graphId: string;
1210
1216
  sourceAgentId: string;
1211
1217
  targetAgentId: string | null;
1212
1218
  externalAgentId: string | null;
@@ -1215,12 +1221,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
1215
1221
  declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
1216
1222
  scopes: GraphScopeConfig;
1217
1223
  }) => Promise<{
1224
+ tenantId: string;
1225
+ projectId: string;
1218
1226
  id: string;
1227
+ graphId: string;
1219
1228
  createdAt: string;
1220
1229
  updatedAt: string;
1221
- projectId: string;
1222
- tenantId: string;
1223
- graphId: string;
1224
1230
  sourceAgentId: string;
1225
1231
  targetAgentId: string | null;
1226
1232
  externalAgentId: string | null;
@@ -1320,12 +1326,12 @@ declare const getRelatedAgentsForGraph: (db: DatabaseClient) => (params: {
1320
1326
  }[];
1321
1327
  }>;
1322
1328
  declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
1329
+ tenantId: string;
1330
+ projectId: string;
1323
1331
  id: string;
1332
+ graphId: string;
1324
1333
  createdAt: string;
1325
1334
  updatedAt: string;
1326
- projectId: string;
1327
- tenantId: string;
1328
- graphId: string;
1329
1335
  sourceAgentId: string;
1330
1336
  targetAgentId: string | null;
1331
1337
  externalAgentId: string | null;
@@ -1341,12 +1347,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1341
1347
  externalAgentId?: string;
1342
1348
  relationType: string;
1343
1349
  }) => Promise<{
1350
+ tenantId: string;
1351
+ projectId: string;
1344
1352
  id: string;
1353
+ graphId: string;
1345
1354
  createdAt: string;
1346
1355
  updatedAt: string;
1347
- projectId: string;
1348
- tenantId: string;
1349
- graphId: string;
1350
1356
  sourceAgentId: string;
1351
1357
  targetAgentId: string | null;
1352
1358
  externalAgentId: string | null;
@@ -1356,24 +1362,24 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1356
1362
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
1357
1363
  */
1358
1364
  declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
1365
+ tenantId: string;
1366
+ projectId: string;
1359
1367
  id: string;
1368
+ graphId: string;
1360
1369
  createdAt: string;
1361
1370
  updatedAt: string;
1362
- projectId: string;
1363
- tenantId: string;
1364
- graphId: string;
1365
1371
  sourceAgentId: string;
1366
1372
  targetAgentId: string | null;
1367
1373
  externalAgentId: string | null;
1368
1374
  relationType: string | null;
1369
1375
  }>;
1370
1376
  declare const createExternalAgentRelation: (db: DatabaseClient) => (params: ExternalAgentRelationInsert) => Promise<{
1377
+ tenantId: string;
1378
+ projectId: string;
1371
1379
  id: string;
1380
+ graphId: string;
1372
1381
  createdAt: string;
1373
1382
  updatedAt: string;
1374
- projectId: string;
1375
- tenantId: string;
1376
- graphId: string;
1377
1383
  sourceAgentId: string;
1378
1384
  targetAgentId: string | null;
1379
1385
  externalAgentId: string | null;
@@ -1384,12 +1390,12 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
1384
1390
  relationId: string;
1385
1391
  data: AgentRelationUpdate;
1386
1392
  }) => Promise<{
1393
+ tenantId: string;
1394
+ projectId: string;
1387
1395
  id: string;
1396
+ graphId: string;
1388
1397
  createdAt: string;
1389
1398
  updatedAt: string;
1390
- projectId: string;
1391
- tenantId: string;
1392
- graphId: string;
1393
1399
  sourceAgentId: string;
1394
1400
  targetAgentId: string | null;
1395
1401
  externalAgentId: string | null;
@@ -1412,32 +1418,32 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
1412
1418
  headers?: Record<string, string> | null;
1413
1419
  };
1414
1420
  }) => Promise<{
1415
- headers: Record<string, string> | null;
1421
+ tenantId: string;
1422
+ projectId: string;
1416
1423
  id: string;
1424
+ graphId: string;
1417
1425
  createdAt: string;
1418
1426
  updatedAt: string;
1419
- projectId: string;
1420
- tenantId: string;
1427
+ headers: Record<string, string> | null;
1428
+ toolId: string;
1421
1429
  selectedTools: string[] | null;
1422
- graphId: string;
1423
1430
  agentId: string;
1424
- toolId: string;
1425
1431
  }>;
1426
1432
  declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1427
1433
  scopes: GraphScopeConfig;
1428
1434
  relationId: string;
1429
1435
  data: AgentToolRelationUpdate;
1430
1436
  }) => Promise<{
1431
- headers: Record<string, string> | null;
1437
+ tenantId: string;
1438
+ projectId: string;
1432
1439
  id: string;
1440
+ graphId: string;
1433
1441
  createdAt: string;
1434
1442
  updatedAt: string;
1435
- projectId: string;
1436
- tenantId: string;
1443
+ headers: Record<string, string> | null;
1444
+ toolId: string;
1437
1445
  selectedTools: string[] | null;
1438
- graphId: string;
1439
1446
  agentId: string;
1440
- toolId: string;
1441
1447
  }>;
1442
1448
  declare const deleteAgentToolRelation: (db: DatabaseClient) => (params: {
1443
1449
  scopes: GraphScopeConfig;
@@ -1450,16 +1456,16 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
1450
1456
  scopes: AgentScopeConfig;
1451
1457
  relationId: string;
1452
1458
  }) => Promise<{
1453
- headers: Record<string, string> | null;
1459
+ tenantId: string;
1460
+ projectId: string;
1454
1461
  id: string;
1462
+ graphId: string;
1455
1463
  createdAt: string;
1456
1464
  updatedAt: string;
1457
- projectId: string;
1458
- tenantId: string;
1465
+ headers: Record<string, string> | null;
1466
+ toolId: string;
1459
1467
  selectedTools: string[] | null;
1460
- graphId: string;
1461
1468
  agentId: string;
1462
- toolId: string;
1463
1469
  } | undefined>;
1464
1470
  declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
1465
1471
  scopes: AgentScopeConfig;
@@ -1628,13 +1634,16 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1628
1634
  scopes: GraphScopeConfig;
1629
1635
  agentId: string;
1630
1636
  }) => Promise<{
1631
- name: string;
1637
+ tenantId: string;
1638
+ projectId: string;
1632
1639
  id: string;
1640
+ name: string;
1641
+ description: string;
1642
+ prompt: string;
1643
+ graphId: string;
1633
1644
  createdAt: string;
1634
1645
  updatedAt: string;
1635
- projectId: string;
1636
- tenantId: string;
1637
- description: string;
1646
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1638
1647
  models: {
1639
1648
  base?: {
1640
1649
  model?: string | undefined;
@@ -1652,20 +1661,20 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1652
1661
  stopWhen: {
1653
1662
  stepCountIs?: number | undefined;
1654
1663
  } | null;
1655
- prompt: string;
1656
- conversationHistoryConfig: ConversationHistoryConfig | null;
1657
- graphId: string;
1658
1664
  } | undefined>;
1659
1665
  declare const listAgents: (db: DatabaseClient) => (params: {
1660
1666
  scopes: GraphScopeConfig;
1661
1667
  }) => Promise<{
1662
- name: string;
1668
+ tenantId: string;
1669
+ projectId: string;
1663
1670
  id: string;
1671
+ name: string;
1672
+ description: string;
1673
+ prompt: string;
1674
+ graphId: string;
1664
1675
  createdAt: string;
1665
1676
  updatedAt: string;
1666
- projectId: string;
1667
- tenantId: string;
1668
- description: string;
1677
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1669
1678
  models: {
1670
1679
  base?: {
1671
1680
  model?: string | undefined;
@@ -1683,9 +1692,6 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1683
1692
  stopWhen: {
1684
1693
  stepCountIs?: number | undefined;
1685
1694
  } | null;
1686
- prompt: string;
1687
- conversationHistoryConfig: ConversationHistoryConfig | null;
1688
- graphId: string;
1689
1695
  }[]>;
1690
1696
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1691
1697
  scopes: GraphScopeConfig;
@@ -1728,13 +1734,16 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1728
1734
  };
1729
1735
  }>;
1730
1736
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1731
- name: string;
1737
+ tenantId: string;
1738
+ projectId: string;
1732
1739
  id: string;
1740
+ name: string;
1741
+ description: string;
1742
+ prompt: string;
1743
+ graphId: string;
1733
1744
  createdAt: string;
1734
1745
  updatedAt: string;
1735
- projectId: string;
1736
- tenantId: string;
1737
- description: string;
1746
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1738
1747
  models: {
1739
1748
  base?: {
1740
1749
  model?: string | undefined;
@@ -1752,22 +1761,22 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1752
1761
  stopWhen: {
1753
1762
  stepCountIs?: number | undefined;
1754
1763
  } | null;
1755
- prompt: string;
1756
- conversationHistoryConfig: ConversationHistoryConfig | null;
1757
- graphId: string;
1758
1764
  }>;
1759
1765
  declare const updateAgent: (db: DatabaseClient) => (params: {
1760
1766
  scopes: GraphScopeConfig;
1761
1767
  agentId: string;
1762
1768
  data: AgentUpdate;
1763
1769
  }) => Promise<{
1764
- name: string;
1770
+ tenantId: string;
1771
+ projectId: string;
1765
1772
  id: string;
1773
+ name: string;
1774
+ description: string;
1775
+ prompt: string;
1776
+ graphId: string;
1766
1777
  createdAt: string;
1767
1778
  updatedAt: string;
1768
- projectId: string;
1769
- tenantId: string;
1770
- description: string;
1779
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1771
1780
  models: {
1772
1781
  base?: {
1773
1782
  model?: string | undefined;
@@ -1785,9 +1794,6 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1785
1794
  stopWhen: {
1786
1795
  stepCountIs?: number | undefined;
1787
1796
  } | null;
1788
- prompt: string;
1789
- conversationHistoryConfig: ConversationHistoryConfig | null;
1790
- graphId: string;
1791
1797
  }>;
1792
1798
  /**
1793
1799
  * Upsert agent (create if it doesn't exist, update if it does)
@@ -1836,49 +1842,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
1836
1842
  scopes: ProjectScopeConfig;
1837
1843
  id: string;
1838
1844
  }) => Promise<{
1839
- name: string | null;
1840
- id: string;
1841
- createdAt: string;
1842
- updatedAt: string;
1843
- projectId: string;
1844
1845
  tenantId: string;
1846
+ projectId: string;
1847
+ id: string;
1848
+ name: string | null;
1845
1849
  graphId: string;
1846
1850
  publicId: string;
1847
1851
  keyHash: string;
1848
1852
  keyPrefix: string;
1849
1853
  lastUsedAt: string | null;
1850
1854
  expiresAt: string | null;
1851
- } | undefined>;
1852
- declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1853
- name: string | null;
1854
- id: string;
1855
1855
  createdAt: string;
1856
1856
  updatedAt: string;
1857
- projectId: string;
1857
+ } | undefined>;
1858
+ declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1858
1859
  tenantId: string;
1860
+ projectId: string;
1861
+ id: string;
1862
+ name: string | null;
1859
1863
  graphId: string;
1860
1864
  publicId: string;
1861
1865
  keyHash: string;
1862
1866
  keyPrefix: string;
1863
1867
  lastUsedAt: string | null;
1864
1868
  expiresAt: string | null;
1869
+ createdAt: string;
1870
+ updatedAt: string;
1865
1871
  } | undefined>;
1866
1872
  declare const listApiKeys: (db: DatabaseClient) => (params: {
1867
1873
  scopes: ProjectScopeConfig;
1868
1874
  graphId?: string;
1869
1875
  }) => Promise<{
1870
- name: string | null;
1871
- id: string;
1872
- createdAt: string;
1873
- updatedAt: string;
1874
- projectId: string;
1875
1876
  tenantId: string;
1877
+ projectId: string;
1878
+ id: string;
1879
+ name: string | null;
1876
1880
  graphId: string;
1877
1881
  publicId: string;
1878
1882
  keyHash: string;
1879
1883
  keyPrefix: string;
1880
1884
  lastUsedAt: string | null;
1881
1885
  expiresAt: string | null;
1886
+ createdAt: string;
1887
+ updatedAt: string;
1882
1888
  }[]>;
1883
1889
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1884
1890
  scopes: ProjectScopeConfig;
@@ -1894,36 +1900,36 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1894
1900
  };
1895
1901
  }>;
1896
1902
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
1897
- name: string | null;
1898
- id: string;
1899
- createdAt: string;
1900
- updatedAt: string;
1901
- projectId: string;
1902
1903
  tenantId: string;
1904
+ projectId: string;
1905
+ id: string;
1906
+ name: string | null;
1903
1907
  graphId: string;
1904
1908
  publicId: string;
1905
1909
  keyHash: string;
1906
1910
  keyPrefix: string;
1907
1911
  lastUsedAt: string | null;
1908
1912
  expiresAt: string | null;
1913
+ createdAt: string;
1914
+ updatedAt: string;
1909
1915
  }>;
1910
1916
  declare const updateApiKey: (db: DatabaseClient) => (params: {
1911
1917
  scopes: ProjectScopeConfig;
1912
1918
  id: string;
1913
1919
  data: ApiKeyUpdate;
1914
1920
  }) => Promise<{
1915
- name: string | null;
1916
- id: string;
1917
- createdAt: string;
1918
- updatedAt: string;
1919
- projectId: string;
1920
1921
  tenantId: string;
1922
+ projectId: string;
1923
+ id: string;
1924
+ name: string | null;
1921
1925
  graphId: string;
1922
1926
  publicId: string;
1923
1927
  keyHash: string;
1924
1928
  keyPrefix: string;
1925
1929
  lastUsedAt: string | null;
1926
1930
  expiresAt: string | null;
1931
+ createdAt: string;
1932
+ updatedAt: string;
1927
1933
  }>;
1928
1934
  declare const deleteApiKey: (db: DatabaseClient) => (params: {
1929
1935
  scopes: ProjectScopeConfig;
@@ -1952,13 +1958,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1952
1958
  scopes: ProjectScopeConfig;
1953
1959
  id: string;
1954
1960
  }) => Promise<{
1955
- name: string;
1961
+ tenantId: string;
1962
+ projectId: string;
1956
1963
  id: string;
1964
+ name: string;
1965
+ description: string;
1957
1966
  createdAt: string;
1958
1967
  updatedAt: string;
1959
- projectId: string;
1960
- tenantId: string;
1961
- description: string;
1962
1968
  summaryProps: Record<string, unknown> | null;
1963
1969
  fullProps: Record<string, unknown> | null;
1964
1970
  } | undefined>;
@@ -1988,13 +1994,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
1988
1994
  };
1989
1995
  }>;
1990
1996
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
1991
- name: string;
1997
+ tenantId: string;
1998
+ projectId: string;
1992
1999
  id: string;
2000
+ name: string;
2001
+ description: string;
1993
2002
  createdAt: string;
1994
2003
  updatedAt: string;
1995
- projectId: string;
1996
- tenantId: string;
1997
- description: string;
1998
2004
  summaryProps: Record<string, unknown> | null;
1999
2005
  fullProps: Record<string, unknown> | null;
2000
2006
  }>;
@@ -2003,13 +2009,13 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
2003
2009
  id: string;
2004
2010
  data: ArtifactComponentUpdate;
2005
2011
  }) => Promise<{
2006
- name: string;
2012
+ tenantId: string;
2013
+ projectId: string;
2007
2014
  id: string;
2015
+ name: string;
2016
+ description: string;
2008
2017
  createdAt: string;
2009
2018
  updatedAt: string;
2010
- projectId: string;
2011
- tenantId: string;
2012
- description: string;
2013
2019
  summaryProps: Record<string, unknown> | null;
2014
2020
  fullProps: Record<string, unknown> | null;
2015
2021
  }>;
@@ -2034,11 +2040,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
2034
2040
  scopes: AgentScopeConfig;
2035
2041
  artifactComponentId: string;
2036
2042
  }) => Promise<{
2037
- id: string;
2038
- createdAt: string;
2039
- projectId: string;
2040
2043
  tenantId: string;
2044
+ projectId: string;
2045
+ id: string;
2041
2046
  graphId: string;
2047
+ createdAt: string;
2042
2048
  agentId: string;
2043
2049
  artifactComponentId: string;
2044
2050
  }>;
@@ -2077,11 +2083,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
2077
2083
  scopes: AgentScopeConfig;
2078
2084
  artifactComponentId: string;
2079
2085
  }) => Promise<{
2080
- id: string;
2081
- createdAt: string;
2082
- projectId: string;
2083
2086
  tenantId: string;
2087
+ projectId: string;
2088
+ id: string;
2084
2089
  graphId: string;
2090
+ createdAt: string;
2085
2091
  agentId: string;
2086
2092
  artifactComponentId: string;
2087
2093
  } | null>;
@@ -2161,26 +2167,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2161
2167
  scopes: ProjectScopeConfig;
2162
2168
  id: string;
2163
2169
  }) => Promise<{
2164
- name: string;
2170
+ tenantId: string;
2171
+ projectId: string;
2165
2172
  id: string;
2173
+ name: string;
2174
+ description: string;
2166
2175
  createdAt: string;
2167
2176
  updatedAt: string;
2168
- projectId: string;
2169
- tenantId: string;
2170
- description: string;
2171
2177
  requestContextSchema: unknown;
2172
2178
  contextVariables: Record<string, ContextFetchDefinition> | null;
2173
2179
  } | undefined>;
2174
2180
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2175
2181
  scopes: ProjectScopeConfig;
2176
2182
  }) => Promise<{
2177
- name: string;
2183
+ tenantId: string;
2184
+ projectId: string;
2178
2185
  id: string;
2186
+ name: string;
2187
+ description: string;
2179
2188
  createdAt: string;
2180
2189
  updatedAt: string;
2181
- projectId: string;
2182
- tenantId: string;
2183
- description: string;
2184
2190
  requestContextSchema: unknown;
2185
2191
  contextVariables: Record<string, ContextFetchDefinition> | null;
2186
2192
  }[]>;
@@ -2197,13 +2203,13 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2197
2203
  };
2198
2204
  }>;
2199
2205
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
2200
- name: string;
2206
+ tenantId: string;
2207
+ projectId: string;
2201
2208
  id: string;
2209
+ name: string;
2210
+ description: string;
2202
2211
  createdAt: string;
2203
2212
  updatedAt: string;
2204
- projectId: string;
2205
- tenantId: string;
2206
- description: string;
2207
2213
  requestContextSchema: unknown;
2208
2214
  contextVariables: Record<string, ContextFetchDefinition> | null;
2209
2215
  }>;
@@ -2212,13 +2218,13 @@ declare const updateContextConfig: (db: DatabaseClient) => (params: {
2212
2218
  id: string;
2213
2219
  data: Partial<ContextConfigUpdate>;
2214
2220
  }) => Promise<{
2215
- name: string;
2221
+ tenantId: string;
2222
+ projectId: string;
2216
2223
  id: string;
2224
+ name: string;
2225
+ description: string;
2217
2226
  createdAt: string;
2218
2227
  updatedAt: string;
2219
- projectId: string;
2220
- tenantId: string;
2221
- description: string;
2222
2228
  requestContextSchema: unknown;
2223
2229
  contextVariables: Record<string, ContextFetchDefinition> | null;
2224
2230
  }>;
@@ -2237,13 +2243,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2237
2243
  scopes: ProjectScopeConfig;
2238
2244
  name: string;
2239
2245
  }) => Promise<{
2240
- name: string;
2246
+ tenantId: string;
2247
+ projectId: string;
2241
2248
  id: string;
2249
+ name: string;
2250
+ description: string;
2242
2251
  createdAt: string;
2243
2252
  updatedAt: string;
2244
- projectId: string;
2245
- tenantId: string;
2246
- description: string;
2247
2253
  requestContextSchema: unknown;
2248
2254
  contextVariables: Record<string, ContextFetchDefinition> | null;
2249
2255
  }[]>;
@@ -2253,13 +2259,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2253
2259
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
2254
2260
  data: ContextConfigInsert;
2255
2261
  }) => Promise<{
2256
- name: string;
2262
+ tenantId: string;
2263
+ projectId: string;
2257
2264
  id: string;
2265
+ name: string;
2266
+ description: string;
2258
2267
  createdAt: string;
2259
2268
  updatedAt: string;
2260
- projectId: string;
2261
- tenantId: string;
2262
- description: string;
2263
2269
  requestContextSchema: unknown;
2264
2270
  contextVariables: Record<string, ContextFetchDefinition> | null;
2265
2271
  }>;
@@ -2273,11 +2279,11 @@ declare const listConversations: (db: DatabaseClient) => (params: {
2273
2279
  total: number;
2274
2280
  }>;
2275
2281
  declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
2282
+ tenantId: string;
2283
+ projectId: string;
2276
2284
  id: string;
2277
2285
  createdAt: string;
2278
2286
  updatedAt: string;
2279
- projectId: string;
2280
- tenantId: string;
2281
2287
  title: string | null;
2282
2288
  metadata: ConversationMetadata | null;
2283
2289
  userId: string | null;
@@ -2289,11 +2295,11 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
2289
2295
  conversationId: string;
2290
2296
  data: ConversationUpdate;
2291
2297
  }) => Promise<{
2298
+ tenantId: string;
2299
+ projectId: string;
2292
2300
  id: string;
2293
2301
  createdAt: string;
2294
2302
  updatedAt: string;
2295
- projectId: string;
2296
- tenantId: string;
2297
2303
  title: string | null;
2298
2304
  metadata: ConversationMetadata | null;
2299
2305
  userId: string | null;
@@ -2309,11 +2315,11 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
2309
2315
  conversationId: string;
2310
2316
  activeAgentId: string;
2311
2317
  }) => Promise<{
2318
+ tenantId: string;
2319
+ projectId: string;
2312
2320
  id: string;
2313
2321
  createdAt: string;
2314
2322
  updatedAt: string;
2315
- projectId: string;
2316
- tenantId: string;
2317
2323
  title: string | null;
2318
2324
  metadata: ConversationMetadata | null;
2319
2325
  userId: string | null;
@@ -2324,11 +2330,11 @@ declare const getConversation: (db: DatabaseClient) => (params: {
2324
2330
  scopes: ProjectScopeConfig;
2325
2331
  conversationId: string;
2326
2332
  }) => Promise<{
2333
+ tenantId: string;
2334
+ projectId: string;
2327
2335
  id: string;
2328
2336
  createdAt: string;
2329
2337
  updatedAt: string;
2330
- projectId: string;
2331
- tenantId: string;
2332
2338
  title: string | null;
2333
2339
  metadata: ConversationMetadata | null;
2334
2340
  userId: string | null;
@@ -2362,11 +2368,11 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
2362
2368
  scopes: ProjectScopeConfig;
2363
2369
  conversationId: string;
2364
2370
  }) => Promise<{
2371
+ tenantId: string;
2372
+ projectId: string;
2365
2373
  id: string;
2366
2374
  createdAt: string;
2367
2375
  updatedAt: string;
2368
- projectId: string;
2369
- tenantId: string;
2370
2376
  title: string | null;
2371
2377
  metadata: ConversationMetadata | null;
2372
2378
  userId: string | null;
@@ -2531,11 +2537,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
2531
2537
  scopes: AgentScopeConfig;
2532
2538
  dataComponentId: string;
2533
2539
  }) => Promise<{
2534
- id: string;
2535
- createdAt: string;
2536
- projectId: string;
2537
2540
  tenantId: string;
2541
+ projectId: string;
2542
+ id: string;
2538
2543
  graphId: string;
2544
+ createdAt: string;
2539
2545
  agentId: string;
2540
2546
  dataComponentId: string;
2541
2547
  }>;
@@ -2573,11 +2579,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
2573
2579
  scopes: AgentScopeConfig;
2574
2580
  dataComponentId: string;
2575
2581
  }) => Promise<{
2576
- id: string;
2577
- createdAt: string;
2578
- projectId: string;
2579
2582
  tenantId: string;
2583
+ projectId: string;
2584
+ id: string;
2580
2585
  graphId: string;
2586
+ createdAt: string;
2581
2587
  agentId: string;
2582
2588
  dataComponentId: string;
2583
2589
  } | null>;
@@ -2768,11 +2774,11 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
2768
2774
  scopes: ProjectScopeConfig;
2769
2775
  messageId: string;
2770
2776
  }) => Promise<{
2777
+ tenantId: string;
2778
+ projectId: string;
2771
2779
  id: string;
2772
2780
  createdAt: string;
2773
2781
  updatedAt: string;
2774
- projectId: string;
2775
- tenantId: string;
2776
2782
  metadata: MessageMetadata | null;
2777
2783
  content: MessageContent;
2778
2784
  conversationId: string;
@@ -2894,11 +2900,11 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2894
2900
  id: string;
2895
2901
  }[]>;
2896
2902
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
2903
+ tenantId: string;
2904
+ projectId: string;
2897
2905
  id: string;
2898
2906
  createdAt: string;
2899
2907
  updatedAt: string;
2900
- projectId: string;
2901
- tenantId: string;
2902
2908
  metadata: MessageMetadata | null;
2903
2909
  content: MessageContent;
2904
2910
  conversationId: string;
@@ -2920,11 +2926,11 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
2920
2926
  messageId: string;
2921
2927
  data: MessageUpdate;
2922
2928
  }) => Promise<{
2929
+ tenantId: string;
2930
+ projectId: string;
2923
2931
  id: string;
2924
2932
  createdAt: string;
2925
2933
  updatedAt: string;
2926
- projectId: string;
2927
- tenantId: string;
2928
2934
  metadata: MessageMetadata | null;
2929
2935
  content: MessageContent;
2930
2936
  conversationId: string;
@@ -2945,11 +2951,11 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
2945
2951
  scopes: ProjectScopeConfig;
2946
2952
  messageId: string;
2947
2953
  }) => Promise<{
2954
+ tenantId: string;
2955
+ projectId: string;
2948
2956
  id: string;
2949
2957
  createdAt: string;
2950
2958
  updatedAt: string;
2951
- projectId: string;
2952
- tenantId: string;
2953
2959
  metadata: MessageMetadata | null;
2954
2960
  content: MessageContent;
2955
2961
  conversationId: string;
@@ -3066,14 +3072,14 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
3066
3072
  }) => Promise<boolean>;
3067
3073
 
3068
3074
  declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
3075
+ tenantId: string;
3076
+ projectId: string;
3069
3077
  id: string;
3078
+ graphId: string;
3070
3079
  createdAt: string;
3071
3080
  updatedAt: string;
3072
- projectId: string;
3073
- tenantId: string;
3074
3081
  metadata: TaskMetadataConfig | null;
3075
3082
  status: string;
3076
- graphId: string;
3077
3083
  contextId: string;
3078
3084
  agentId: string;
3079
3085
  }>;
@@ -3087,14 +3093,14 @@ declare const updateTask: (db: DatabaseClient) => (params: {
3087
3093
  metadata?: any;
3088
3094
  };
3089
3095
  }) => Promise<{
3096
+ tenantId: string;
3097
+ projectId: string;
3090
3098
  id: string;
3099
+ graphId: string;
3091
3100
  createdAt: string;
3092
3101
  updatedAt: string;
3093
- projectId: string;
3094
- tenantId: string;
3095
3102
  metadata: TaskMetadataConfig | null;
3096
3103
  status: string;
3097
- graphId: string;
3098
3104
  contextId: string;
3099
3105
  agentId: string;
3100
3106
  }>;
@@ -3107,19 +3113,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3107
3113
  scopes: ProjectScopeConfig;
3108
3114
  toolId: string;
3109
3115
  }) => Promise<{
3110
- name: string;
3111
- headers: Record<string, string> | null;
3112
- id: string;
3113
- createdAt: string;
3114
- updatedAt: string;
3115
- projectId: string;
3116
3116
  tenantId: string;
3117
- credentialReferenceId: string | null;
3118
- capabilities: ToolServerCapabilities | null;
3117
+ projectId: string;
3118
+ id: string;
3119
+ name: string;
3119
3120
  config: {
3120
3121
  type: "mcp";
3121
3122
  mcp: ToolMcpConfig;
3122
3123
  };
3124
+ credentialReferenceId: string | null;
3125
+ createdAt: string;
3126
+ updatedAt: string;
3127
+ headers: Record<string, string> | null;
3128
+ capabilities: ToolServerCapabilities | null;
3123
3129
  imageUrl: string | null;
3124
3130
  lastError: string | null;
3125
3131
  } | null>;
@@ -3152,19 +3158,19 @@ declare const listTools: (db: DatabaseClient) => (params: {
3152
3158
  };
3153
3159
  }>;
3154
3160
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3155
- name: string;
3156
- headers: Record<string, string> | null;
3157
- id: string;
3158
- createdAt: string;
3159
- updatedAt: string;
3160
- projectId: string;
3161
3161
  tenantId: string;
3162
- credentialReferenceId: string | null;
3163
- capabilities: ToolServerCapabilities | null;
3162
+ projectId: string;
3163
+ id: string;
3164
+ name: string;
3164
3165
  config: {
3165
3166
  type: "mcp";
3166
3167
  mcp: ToolMcpConfig;
3167
3168
  };
3169
+ credentialReferenceId: string | null;
3170
+ createdAt: string;
3171
+ updatedAt: string;
3172
+ headers: Record<string, string> | null;
3173
+ capabilities: ToolServerCapabilities | null;
3168
3174
  imageUrl: string | null;
3169
3175
  lastError: string | null;
3170
3176
  }>;
@@ -3173,19 +3179,19 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3173
3179
  toolId: string;
3174
3180
  data: ToolUpdate;
3175
3181
  }) => Promise<{
3176
- name: string;
3177
- headers: Record<string, string> | null;
3178
- id: string;
3179
- createdAt: string;
3180
- updatedAt: string;
3181
- projectId: string;
3182
3182
  tenantId: string;
3183
- credentialReferenceId: string | null;
3184
- capabilities: ToolServerCapabilities | null;
3183
+ projectId: string;
3184
+ id: string;
3185
+ name: string;
3185
3186
  config: {
3186
3187
  type: "mcp";
3187
3188
  mcp: ToolMcpConfig;
3188
3189
  };
3190
+ credentialReferenceId: string | null;
3191
+ createdAt: string;
3192
+ updatedAt: string;
3193
+ headers: Record<string, string> | null;
3194
+ capabilities: ToolServerCapabilities | null;
3189
3195
  imageUrl: string | null;
3190
3196
  lastError: string | null;
3191
3197
  }>;
@@ -3200,32 +3206,32 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
3200
3206
  selectedTools?: string[] | null;
3201
3207
  headers?: Record<string, string> | null;
3202
3208
  }) => Promise<{
3203
- headers: Record<string, string> | null;
3209
+ tenantId: string;
3210
+ projectId: string;
3204
3211
  id: string;
3212
+ graphId: string;
3205
3213
  createdAt: string;
3206
3214
  updatedAt: string;
3207
- projectId: string;
3208
- tenantId: string;
3215
+ headers: Record<string, string> | null;
3216
+ toolId: string;
3209
3217
  selectedTools: string[] | null;
3210
- graphId: string;
3211
3218
  agentId: string;
3212
- toolId: string;
3213
3219
  }>;
3214
3220
  declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3215
3221
  scopes: GraphScopeConfig;
3216
3222
  agentId: string;
3217
3223
  toolId: string;
3218
3224
  }) => Promise<{
3219
- headers: Record<string, string> | null;
3225
+ tenantId: string;
3226
+ projectId: string;
3220
3227
  id: string;
3228
+ graphId: string;
3221
3229
  createdAt: string;
3222
3230
  updatedAt: string;
3223
- projectId: string;
3224
- tenantId: string;
3231
+ headers: Record<string, string> | null;
3232
+ toolId: string;
3225
3233
  selectedTools: string[] | null;
3226
- graphId: string;
3227
3234
  agentId: string;
3228
- toolId: string;
3229
3235
  }>;
3230
3236
  /**
3231
3237
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -3238,16 +3244,16 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3238
3244
  headers?: Record<string, string> | null;
3239
3245
  relationId?: string;
3240
3246
  }) => Promise<{
3241
- headers: Record<string, string> | null;
3247
+ tenantId: string;
3248
+ projectId: string;
3242
3249
  id: string;
3250
+ graphId: string;
3243
3251
  createdAt: string;
3244
3252
  updatedAt: string;
3245
- projectId: string;
3246
- tenantId: string;
3253
+ headers: Record<string, string> | null;
3254
+ toolId: string;
3247
3255
  selectedTools: string[] | null;
3248
- graphId: string;
3249
3256
  agentId: string;
3250
- toolId: string;
3251
3257
  }>;
3252
3258
  /**
3253
3259
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -3255,19 +3261,19 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3255
3261
  declare const upsertTool: (db: DatabaseClient) => (params: {
3256
3262
  data: ToolInsert;
3257
3263
  }) => Promise<{
3258
- name: string;
3259
- headers: Record<string, string> | null;
3260
- id: string;
3261
- createdAt: string;
3262
- updatedAt: string;
3263
- projectId: string;
3264
3264
  tenantId: string;
3265
- credentialReferenceId: string | null;
3266
- capabilities: ToolServerCapabilities | null;
3265
+ projectId: string;
3266
+ id: string;
3267
+ name: string;
3267
3268
  config: {
3268
3269
  type: "mcp";
3269
3270
  mcp: ToolMcpConfig;
3270
3271
  };
3272
+ credentialReferenceId: string | null;
3273
+ createdAt: string;
3274
+ updatedAt: string;
3275
+ headers: Record<string, string> | null;
3276
+ capabilities: ToolServerCapabilities | null;
3271
3277
  imageUrl: string | null;
3272
3278
  lastError: string | null;
3273
3279
  }>;