@inkeep/agents-core 0.0.0-dev-20250930183929 → 0.0.0-dev-20250930191025

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, f as ContextFetchDefinition, M as MCPTransportType, n as MCPToolConfig, o as GraphScopeConfig, C as ConversationHistoryConfig, p as ProjectScopeConfig, q as PaginationConfig, r as AgentGraphInsert, s as AgentGraphUpdate, t as FullGraphDefinition, u as AgentScopeConfig, v as AgentRelationInsert, E as ExternalAgentRelationInsert, w as AgentRelationUpdate, x as AgentToolRelationUpdate, g as ToolMcpConfig, h as ToolServerCapabilities, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, H as ApiKeyInsert, I as ApiKeyUpdate, J as CreateApiKeyParams, K as ApiKeyCreateResult, L as ArtifactComponentSelect, N as ArtifactComponentInsert, O as ArtifactComponentUpdate, Q as ContextCacheSelect, R as ContextCacheInsert, U as ContextConfigInsert, V as ContextConfigUpdate, W as ConversationSelect, X as ConversationInsert, i as ConversationMetadata, Y as ConversationUpdate, Z as CredentialReferenceSelect, _ as ToolSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, a7 as Artifact, a8 as LedgerArtifactSelect, k as MessageMetadata, j as MessageContent, a9 as MessageVisibility, aa as MessageInsert, ab as MessageUpdate, ac as FullProjectDefinition, ad as ProjectInfo, ae as ProjectSelect, af as PaginationResult, ag as ProjectResourceCounts, ah as ProjectInsert, ai as ProjectUpdate, aj as TaskInsert, T as TaskMetadataConfig, ak as TaskSelect, al as McpTool, am as ToolInsert, an as ToolUpdate, e as CredentialStoreType, ao as ExecutionContext } from './utility-D7QP8MkV.js';
3
- export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-D7QP8MkV.js';
2
+ import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, f as ContextFetchDefinition, M as MCPTransportType, n as MCPToolConfig, o as GraphScopeConfig, C as ConversationHistoryConfig, p as ProjectScopeConfig, q as PaginationConfig, r as AgentGraphInsert, s as AgentGraphUpdate, t as FullGraphDefinition, u as AgentScopeConfig, v as AgentRelationInsert, E as ExternalAgentRelationInsert, w as AgentRelationUpdate, x as AgentToolRelationUpdate, g as ToolMcpConfig, h as ToolServerCapabilities, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, H as ApiKeyInsert, I as ApiKeyUpdate, J as CreateApiKeyParams, K as ApiKeyCreateResult, L as ArtifactComponentSelect, N as ArtifactComponentInsert, O as ArtifactComponentUpdate, Q as ContextCacheSelect, R as ContextCacheInsert, U as ContextConfigInsert, V as ContextConfigUpdate, W as ConversationSelect, X as ConversationInsert, i as ConversationMetadata, Y as ConversationUpdate, Z as CredentialReferenceSelect, _ as ToolSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, a7 as Artifact, a8 as LedgerArtifactSelect, k as MessageMetadata, j as MessageContent, a9 as MessageVisibility, aa as MessageInsert, ab as MessageUpdate, ac as FullProjectDefinition, ad as ProjectInfo, ae as ProjectSelect, af as PaginationResult, ag as ProjectResourceCounts, ah as ProjectInsert, ai as ProjectUpdate, aj as TaskInsert, T as TaskMetadataConfig, ak as TaskSelect, al as McpTool, am as ToolInsert, an as ToolUpdate, e as CredentialStoreType, ao as ExecutionContext } from './utility-8RXSemmL.js';
3
+ export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-8RXSemmL.js';
4
4
  import { CredentialStore } from './types/index.js';
5
5
  export { CorsConfig, ServerConfig, ServerOptions } from './types/index.js';
6
6
  import { LibSQLDatabase } from 'drizzle-orm/libsql';
7
- import { s as schema } from './schema-D66X7wP_.js';
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-D66X7wP_.js';
7
+ import { s as schema } from './schema-BQoMyAN6.js';
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-BQoMyAN6.js';
9
9
  import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
10
10
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
11
11
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
@@ -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;
@@ -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;
@@ -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;
@@ -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,13 +1386,13 @@ 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;
@@ -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,9 +1619,6 @@ 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;
@@ -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)
@@ -1769,49 +1769,49 @@ 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,13 +1885,13 @@ 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>;
@@ -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>;
@@ -3038,19 +3038,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3038
3038
  scopes: ProjectScopeConfig;
3039
3039
  toolId: string;
3040
3040
  }) => Promise<{
3041
- name: string;
3042
3041
  tenantId: string;
3043
3042
  projectId: string;
3044
3043
  id: string;
3045
- createdAt: string;
3046
- updatedAt: string;
3047
- credentialReferenceId: string | null;
3048
- headers: Record<string, string> | null;
3049
- capabilities: ToolServerCapabilities | null;
3044
+ name: string;
3050
3045
  config: {
3051
3046
  type: "mcp";
3052
3047
  mcp: ToolMcpConfig;
3053
3048
  };
3049
+ credentialReferenceId: string | null;
3050
+ createdAt: string;
3051
+ updatedAt: string;
3052
+ headers: Record<string, string> | null;
3053
+ capabilities: ToolServerCapabilities | null;
3054
3054
  imageUrl: string | null;
3055
3055
  lastError: string | null;
3056
3056
  } | null>;
@@ -3083,19 +3083,19 @@ declare const listTools: (db: DatabaseClient) => (params: {
3083
3083
  };
3084
3084
  }>;
3085
3085
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3086
- name: string;
3087
3086
  tenantId: string;
3088
3087
  projectId: string;
3089
3088
  id: string;
3090
- createdAt: string;
3091
- updatedAt: string;
3092
- credentialReferenceId: string | null;
3093
- headers: Record<string, string> | null;
3094
- capabilities: ToolServerCapabilities | null;
3089
+ name: string;
3095
3090
  config: {
3096
3091
  type: "mcp";
3097
3092
  mcp: ToolMcpConfig;
3098
3093
  };
3094
+ credentialReferenceId: string | null;
3095
+ createdAt: string;
3096
+ updatedAt: string;
3097
+ headers: Record<string, string> | null;
3098
+ capabilities: ToolServerCapabilities | null;
3099
3099
  imageUrl: string | null;
3100
3100
  lastError: string | null;
3101
3101
  }>;
@@ -3104,19 +3104,19 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3104
3104
  toolId: string;
3105
3105
  data: ToolUpdate;
3106
3106
  }) => Promise<{
3107
- name: string;
3108
3107
  tenantId: string;
3109
3108
  projectId: string;
3110
3109
  id: string;
3111
- createdAt: string;
3112
- updatedAt: string;
3113
- credentialReferenceId: string | null;
3114
- headers: Record<string, string> | null;
3115
- capabilities: ToolServerCapabilities | null;
3110
+ name: string;
3116
3111
  config: {
3117
3112
  type: "mcp";
3118
3113
  mcp: ToolMcpConfig;
3119
3114
  };
3115
+ credentialReferenceId: string | null;
3116
+ createdAt: string;
3117
+ updatedAt: string;
3118
+ headers: Record<string, string> | null;
3119
+ capabilities: ToolServerCapabilities | null;
3120
3120
  imageUrl: string | null;
3121
3121
  lastError: string | null;
3122
3122
  }>;
@@ -3134,13 +3134,13 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
3134
3134
  tenantId: string;
3135
3135
  projectId: string;
3136
3136
  id: string;
3137
+ graphId: string;
3137
3138
  createdAt: string;
3138
3139
  updatedAt: string;
3139
3140
  headers: Record<string, string> | null;
3141
+ toolId: string;
3140
3142
  selectedTools: string[] | null;
3141
- graphId: string;
3142
3143
  agentId: string;
3143
- toolId: string;
3144
3144
  }>;
3145
3145
  declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3146
3146
  scopes: GraphScopeConfig;
@@ -3150,13 +3150,13 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3150
3150
  tenantId: string;
3151
3151
  projectId: string;
3152
3152
  id: string;
3153
+ graphId: string;
3153
3154
  createdAt: string;
3154
3155
  updatedAt: string;
3155
3156
  headers: Record<string, string> | null;
3157
+ toolId: string;
3156
3158
  selectedTools: string[] | null;
3157
- graphId: string;
3158
3159
  agentId: string;
3159
- toolId: string;
3160
3160
  }>;
3161
3161
  /**
3162
3162
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -3172,13 +3172,13 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3172
3172
  tenantId: string;
3173
3173
  projectId: string;
3174
3174
  id: string;
3175
+ graphId: string;
3175
3176
  createdAt: string;
3176
3177
  updatedAt: string;
3177
3178
  headers: Record<string, string> | null;
3179
+ toolId: string;
3178
3180
  selectedTools: string[] | null;
3179
- graphId: string;
3180
3181
  agentId: string;
3181
- toolId: string;
3182
3182
  }>;
3183
3183
  /**
3184
3184
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -3186,19 +3186,19 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3186
3186
  declare const upsertTool: (db: DatabaseClient) => (params: {
3187
3187
  data: ToolInsert;
3188
3188
  }) => Promise<{
3189
- name: string;
3190
3189
  tenantId: string;
3191
3190
  projectId: string;
3192
3191
  id: string;
3193
- createdAt: string;
3194
- updatedAt: string;
3195
- credentialReferenceId: string | null;
3196
- headers: Record<string, string> | null;
3197
- capabilities: ToolServerCapabilities | null;
3192
+ name: string;
3198
3193
  config: {
3199
3194
  type: "mcp";
3200
3195
  mcp: ToolMcpConfig;
3201
3196
  };
3197
+ credentialReferenceId: string | null;
3198
+ createdAt: string;
3199
+ updatedAt: string;
3200
+ headers: Record<string, string> | null;
3201
+ capabilities: ToolServerCapabilities | null;
3202
3202
  imageUrl: string | null;
3203
3203
  lastError: string | null;
3204
3204
  }>;