@inkeep/agents-core 0.0.0-dev-20250930020716 → 0.0.0-dev-20250930131913

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-8RXSemmL.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-8RXSemmL.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-D7QP8MkV.cjs';
3
+ export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-D7QP8MkV.cjs';
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-B0z-X5Hq.cjs';
8
- export { k as agentArtifactComponents, O as agentArtifactComponentsRelations, i as agentDataComponents, Q as agentDataComponentsRelations, a as agentGraph, F as agentGraphRelations, e as agentRelations, S as agentRelationsRelations, m as agentToolRelations, I as agentToolRelationsRelations, d as agents, E as agentsRelations, r as apiKeys, H as apiKeysRelations, j as artifactComponents, N as artifactComponentsRelations, b as contextCache, D as contextCacheRelations, c as contextConfigs, C as contextConfigsRelations, n as conversations, L as conversationsRelations, u as credentialReferences, J as credentialReferencesRelations, h as dataComponents, P as dataComponentsRelations, f as externalAgents, G as externalAgentsRelations, q as ledgerArtifacts, x as ledgerArtifactsContextIdIdx, R as ledgerArtifactsRelations, y as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, w as ledgerArtifactsToolCallIdIdx, o as messages, M as messagesRelations, p as projects, A as projectsRelations, g as taskRelations, B as taskRelationsRelations, t as tasks, z as tasksRelations, l as tools, K as toolsRelations } from './schema-B0z-X5Hq.cjs';
7
+ import { s as schema } from './schema-BXVLXPQq.cjs';
8
+ export { k as agentArtifactComponents, O as agentArtifactComponentsRelations, i as agentDataComponents, Q as agentDataComponentsRelations, a as agentGraph, F as agentGraphRelations, e as agentRelations, S as agentRelationsRelations, m as agentToolRelations, I as agentToolRelationsRelations, d as agents, E as agentsRelations, r as apiKeys, H as apiKeysRelations, j as artifactComponents, N as artifactComponentsRelations, b as contextCache, D as contextCacheRelations, c as contextConfigs, C as contextConfigsRelations, n as conversations, L as conversationsRelations, u as credentialReferences, J as credentialReferencesRelations, h as dataComponents, P as dataComponentsRelations, f as externalAgents, G as externalAgentsRelations, q as ledgerArtifacts, x as ledgerArtifactsContextIdIdx, R as ledgerArtifactsRelations, y as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, w as ledgerArtifactsToolCallIdIdx, o as messages, M as messagesRelations, p as projects, A as projectsRelations, g as taskRelations, B as taskRelationsRelations, t as tasks, z as tasksRelations, l as tools, K as toolsRelations } from './schema-BXVLXPQq.cjs';
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';
@@ -772,14 +772,13 @@ declare class CredentialStuffer {
772
772
  declare const getAgentGraphById: (db: DatabaseClient) => (params: {
773
773
  scopes: GraphScopeConfig;
774
774
  }) => Promise<{
775
+ name: string;
775
776
  tenantId: string;
776
777
  projectId: string;
777
778
  id: string;
778
- name: string;
779
- description: string | null;
780
779
  createdAt: string;
781
780
  updatedAt: string;
782
- defaultAgentId: string | null;
781
+ description: string | null;
783
782
  models: {
784
783
  base?: {
785
784
  model?: string | undefined;
@@ -797,6 +796,7 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
797
796
  stopWhen: {
798
797
  transferCountIs?: number | undefined;
799
798
  } | null;
799
+ defaultAgentId: string | null;
800
800
  contextConfigId: string | null;
801
801
  statusUpdates: {
802
802
  enabled?: boolean | undefined;
@@ -818,14 +818,13 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
818
818
  declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
819
819
  scopes: GraphScopeConfig;
820
820
  }) => Promise<{
821
+ name: string;
821
822
  tenantId: string;
822
823
  projectId: string;
823
824
  id: string;
824
- name: string;
825
- description: string | null;
826
825
  createdAt: string;
827
826
  updatedAt: string;
828
- defaultAgentId: string | null;
827
+ description: string | null;
829
828
  models: {
830
829
  base?: {
831
830
  model?: string | undefined;
@@ -843,6 +842,7 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
843
842
  stopWhen: {
844
843
  transferCountIs?: number | undefined;
845
844
  } | null;
845
+ defaultAgentId: string | null;
846
846
  contextConfigId: string | null;
847
847
  statusUpdates: {
848
848
  enabled?: boolean | undefined;
@@ -861,16 +861,13 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
861
861
  } | null;
862
862
  graphPrompt: string | null;
863
863
  defaultAgent: {
864
+ name: string;
864
865
  tenantId: string;
865
866
  projectId: string;
866
867
  id: string;
867
- name: string;
868
- description: string;
869
- prompt: string;
870
- graphId: string;
871
868
  createdAt: string;
872
869
  updatedAt: string;
873
- conversationHistoryConfig: ConversationHistoryConfig | null;
870
+ description: string;
874
871
  models: {
875
872
  base?: {
876
873
  model?: string | undefined;
@@ -888,19 +885,21 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
888
885
  stopWhen: {
889
886
  stepCountIs?: number | undefined;
890
887
  } | null;
888
+ prompt: string;
889
+ graphId: string;
890
+ conversationHistoryConfig: ConversationHistoryConfig | null;
891
891
  } | null;
892
892
  } | null>;
893
893
  declare const listAgentGraphs: (db: DatabaseClient) => (params: {
894
894
  scopes: ProjectScopeConfig;
895
895
  }) => Promise<{
896
+ name: string;
896
897
  tenantId: string;
897
898
  projectId: string;
898
899
  id: string;
899
- name: string;
900
- description: string | null;
901
900
  createdAt: string;
902
901
  updatedAt: string;
903
- defaultAgentId: string | null;
902
+ description: string | null;
904
903
  models: {
905
904
  base?: {
906
905
  model?: string | undefined;
@@ -918,6 +917,7 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
918
917
  stopWhen: {
919
918
  transferCountIs?: number | undefined;
920
919
  } | null;
920
+ defaultAgentId: string | null;
921
921
  contextConfigId: string | null;
922
922
  statusUpdates: {
923
923
  enabled?: boolean | undefined;
@@ -992,14 +992,13 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
992
992
  };
993
993
  }>;
994
994
  declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
995
+ name: string;
995
996
  tenantId: string;
996
997
  projectId: string;
997
998
  id: string;
998
- name: string;
999
- description: string | null;
1000
999
  createdAt: string;
1001
1000
  updatedAt: string;
1002
- defaultAgentId: string | null;
1001
+ description: string | null;
1003
1002
  models: {
1004
1003
  base?: {
1005
1004
  model?: string | undefined;
@@ -1017,6 +1016,7 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1017
1016
  stopWhen: {
1018
1017
  transferCountIs?: number | undefined;
1019
1018
  } | null;
1019
+ defaultAgentId: string | null;
1020
1020
  contextConfigId: string | null;
1021
1021
  statusUpdates: {
1022
1022
  enabled?: boolean | undefined;
@@ -1039,14 +1039,13 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1039
1039
  scopes: GraphScopeConfig;
1040
1040
  data: AgentGraphUpdate;
1041
1041
  }) => Promise<{
1042
+ name: string;
1042
1043
  tenantId: string;
1043
1044
  projectId: string;
1044
1045
  id: string;
1045
- name: string;
1046
- description: string | null;
1047
1046
  createdAt: string;
1048
1047
  updatedAt: string;
1049
- defaultAgentId: string | null;
1048
+ description: string | null;
1050
1049
  models: {
1051
1050
  base?: {
1052
1051
  model?: string | undefined;
@@ -1064,6 +1063,7 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1064
1063
  stopWhen: {
1065
1064
  transferCountIs?: number | undefined;
1066
1065
  } | null;
1066
+ defaultAgentId: string | null;
1067
1067
  contextConfigId: string | null;
1068
1068
  statusUpdates: {
1069
1069
  enabled?: boolean | undefined;
@@ -1121,9 +1121,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
1121
1121
  tenantId: string;
1122
1122
  projectId: string;
1123
1123
  id: string;
1124
- graphId: string;
1125
1124
  createdAt: string;
1126
1125
  updatedAt: string;
1126
+ graphId: string;
1127
1127
  sourceAgentId: string;
1128
1128
  targetAgentId: string | null;
1129
1129
  externalAgentId: string | null;
@@ -1158,9 +1158,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
1158
1158
  tenantId: string;
1159
1159
  projectId: string;
1160
1160
  id: string;
1161
- graphId: string;
1162
1161
  createdAt: string;
1163
1162
  updatedAt: string;
1163
+ graphId: string;
1164
1164
  sourceAgentId: string;
1165
1165
  targetAgentId: string | null;
1166
1166
  externalAgentId: string | null;
@@ -1172,9 +1172,9 @@ declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
1172
1172
  tenantId: string;
1173
1173
  projectId: string;
1174
1174
  id: string;
1175
- graphId: string;
1176
1175
  createdAt: string;
1177
1176
  updatedAt: string;
1177
+ graphId: string;
1178
1178
  sourceAgentId: string;
1179
1179
  targetAgentId: string | null;
1180
1180
  externalAgentId: string | null;
@@ -1277,9 +1277,9 @@ declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1277
1277
  tenantId: string;
1278
1278
  projectId: string;
1279
1279
  id: string;
1280
- graphId: string;
1281
1280
  createdAt: string;
1282
1281
  updatedAt: string;
1282
+ graphId: string;
1283
1283
  sourceAgentId: string;
1284
1284
  targetAgentId: string | null;
1285
1285
  externalAgentId: string | null;
@@ -1298,9 +1298,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1298
1298
  tenantId: string;
1299
1299
  projectId: string;
1300
1300
  id: string;
1301
- graphId: string;
1302
1301
  createdAt: string;
1303
1302
  updatedAt: string;
1303
+ graphId: string;
1304
1304
  sourceAgentId: string;
1305
1305
  targetAgentId: string | null;
1306
1306
  externalAgentId: string | null;
@@ -1313,9 +1313,9 @@ declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1313
1313
  tenantId: string;
1314
1314
  projectId: string;
1315
1315
  id: string;
1316
- graphId: string;
1317
1316
  createdAt: string;
1318
1317
  updatedAt: string;
1318
+ graphId: string;
1319
1319
  sourceAgentId: string;
1320
1320
  targetAgentId: string | null;
1321
1321
  externalAgentId: string | null;
@@ -1325,9 +1325,9 @@ declare const createExternalAgentRelation: (db: DatabaseClient) => (params: Exte
1325
1325
  tenantId: string;
1326
1326
  projectId: string;
1327
1327
  id: string;
1328
- graphId: string;
1329
1328
  createdAt: string;
1330
1329
  updatedAt: string;
1330
+ graphId: string;
1331
1331
  sourceAgentId: string;
1332
1332
  targetAgentId: string | null;
1333
1333
  externalAgentId: string | null;
@@ -1341,9 +1341,9 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
1341
1341
  tenantId: string;
1342
1342
  projectId: string;
1343
1343
  id: string;
1344
- graphId: string;
1345
1344
  createdAt: string;
1346
1345
  updatedAt: string;
1346
+ graphId: string;
1347
1347
  sourceAgentId: string;
1348
1348
  targetAgentId: string | null;
1349
1349
  externalAgentId: string | null;
@@ -1369,13 +1369,13 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
1369
1369
  tenantId: string;
1370
1370
  projectId: string;
1371
1371
  id: string;
1372
- graphId: string;
1373
1372
  createdAt: string;
1374
1373
  updatedAt: string;
1375
1374
  headers: Record<string, string> | null;
1376
- toolId: string;
1377
1375
  selectedTools: string[] | null;
1376
+ graphId: string;
1378
1377
  agentId: string;
1378
+ toolId: string;
1379
1379
  }>;
1380
1380
  declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1381
1381
  scopes: GraphScopeConfig;
@@ -1385,13 +1385,13 @@ declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
1385
1385
  tenantId: string;
1386
1386
  projectId: string;
1387
1387
  id: string;
1388
- graphId: string;
1389
1388
  createdAt: string;
1390
1389
  updatedAt: string;
1391
1390
  headers: Record<string, string> | null;
1392
- toolId: string;
1393
1391
  selectedTools: string[] | null;
1392
+ graphId: string;
1394
1393
  agentId: string;
1394
+ toolId: string;
1395
1395
  }>;
1396
1396
  declare const deleteAgentToolRelation: (db: DatabaseClient) => (params: {
1397
1397
  scopes: GraphScopeConfig;
@@ -1407,13 +1407,13 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
1407
1407
  tenantId: string;
1408
1408
  projectId: string;
1409
1409
  id: string;
1410
- graphId: string;
1411
1410
  createdAt: string;
1412
1411
  updatedAt: string;
1413
1412
  headers: Record<string, string> | null;
1414
- toolId: string;
1415
1413
  selectedTools: string[] | null;
1414
+ graphId: string;
1416
1415
  agentId: string;
1416
+ toolId: string;
1417
1417
  } | undefined>;
1418
1418
  declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
1419
1419
  scopes: AgentScopeConfig;
@@ -1582,16 +1582,13 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1582
1582
  scopes: GraphScopeConfig;
1583
1583
  agentId: string;
1584
1584
  }) => Promise<{
1585
+ name: string;
1585
1586
  tenantId: string;
1586
1587
  projectId: string;
1587
1588
  id: string;
1588
- name: string;
1589
- description: string;
1590
- prompt: string;
1591
- graphId: string;
1592
1589
  createdAt: string;
1593
1590
  updatedAt: string;
1594
- conversationHistoryConfig: ConversationHistoryConfig | null;
1591
+ description: string;
1595
1592
  models: {
1596
1593
  base?: {
1597
1594
  model?: string | undefined;
@@ -1609,20 +1606,20 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1609
1606
  stopWhen: {
1610
1607
  stepCountIs?: number | undefined;
1611
1608
  } | null;
1609
+ prompt: string;
1610
+ graphId: string;
1611
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1612
1612
  } | undefined>;
1613
1613
  declare const listAgents: (db: DatabaseClient) => (params: {
1614
1614
  scopes: GraphScopeConfig;
1615
1615
  }) => Promise<{
1616
+ name: string;
1616
1617
  tenantId: string;
1617
1618
  projectId: string;
1618
1619
  id: string;
1619
- name: string;
1620
- description: string;
1621
- prompt: string;
1622
- graphId: string;
1623
1620
  createdAt: string;
1624
1621
  updatedAt: string;
1625
- conversationHistoryConfig: ConversationHistoryConfig | null;
1622
+ description: string;
1626
1623
  models: {
1627
1624
  base?: {
1628
1625
  model?: string | undefined;
@@ -1640,6 +1637,9 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1640
1637
  stopWhen: {
1641
1638
  stepCountIs?: number | undefined;
1642
1639
  } | null;
1640
+ prompt: string;
1641
+ graphId: string;
1642
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1643
1643
  }[]>;
1644
1644
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1645
1645
  scopes: GraphScopeConfig;
@@ -1682,16 +1682,13 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1682
1682
  };
1683
1683
  }>;
1684
1684
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1685
+ name: string;
1685
1686
  tenantId: string;
1686
1687
  projectId: string;
1687
1688
  id: string;
1688
- name: string;
1689
- description: string;
1690
- prompt: string;
1691
- graphId: string;
1692
1689
  createdAt: string;
1693
1690
  updatedAt: string;
1694
- conversationHistoryConfig: ConversationHistoryConfig | null;
1691
+ description: string;
1695
1692
  models: {
1696
1693
  base?: {
1697
1694
  model?: string | undefined;
@@ -1709,22 +1706,22 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1709
1706
  stopWhen: {
1710
1707
  stepCountIs?: number | undefined;
1711
1708
  } | null;
1709
+ prompt: string;
1710
+ graphId: string;
1711
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1712
1712
  }>;
1713
1713
  declare const updateAgent: (db: DatabaseClient) => (params: {
1714
1714
  scopes: GraphScopeConfig;
1715
1715
  agentId: string;
1716
1716
  data: AgentUpdate;
1717
1717
  }) => Promise<{
1718
+ name: string;
1718
1719
  tenantId: string;
1719
1720
  projectId: string;
1720
1721
  id: string;
1721
- name: string;
1722
- description: string;
1723
- prompt: string;
1724
- graphId: string;
1725
1722
  createdAt: string;
1726
1723
  updatedAt: string;
1727
- conversationHistoryConfig: ConversationHistoryConfig | null;
1724
+ description: string;
1728
1725
  models: {
1729
1726
  base?: {
1730
1727
  model?: string | undefined;
@@ -1742,6 +1739,9 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1742
1739
  stopWhen: {
1743
1740
  stepCountIs?: number | undefined;
1744
1741
  } | null;
1742
+ prompt: string;
1743
+ graphId: string;
1744
+ conversationHistoryConfig: ConversationHistoryConfig | null;
1745
1745
  }>;
1746
1746
  /**
1747
1747
  * Upsert agent (create if it doesn't exist, update if it does)
@@ -1790,49 +1790,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
1790
1790
  scopes: ProjectScopeConfig;
1791
1791
  id: string;
1792
1792
  }) => Promise<{
1793
+ name: string | null;
1793
1794
  tenantId: string;
1794
1795
  projectId: string;
1795
1796
  id: string;
1796
- name: string | null;
1797
+ createdAt: string;
1798
+ updatedAt: string;
1797
1799
  graphId: string;
1798
1800
  publicId: string;
1799
1801
  keyHash: string;
1800
1802
  keyPrefix: string;
1801
1803
  lastUsedAt: string | null;
1802
1804
  expiresAt: string | null;
1803
- createdAt: string;
1804
- updatedAt: string;
1805
1805
  } | undefined>;
1806
1806
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1807
+ name: string | null;
1807
1808
  tenantId: string;
1808
1809
  projectId: string;
1809
1810
  id: string;
1810
- name: string | null;
1811
+ createdAt: string;
1812
+ updatedAt: string;
1811
1813
  graphId: string;
1812
1814
  publicId: string;
1813
1815
  keyHash: string;
1814
1816
  keyPrefix: string;
1815
1817
  lastUsedAt: string | null;
1816
1818
  expiresAt: string | null;
1817
- createdAt: string;
1818
- updatedAt: string;
1819
1819
  } | undefined>;
1820
1820
  declare const listApiKeys: (db: DatabaseClient) => (params: {
1821
1821
  scopes: ProjectScopeConfig;
1822
1822
  graphId?: string;
1823
1823
  }) => Promise<{
1824
+ name: string | null;
1824
1825
  tenantId: string;
1825
1826
  projectId: string;
1826
1827
  id: string;
1827
- name: string | null;
1828
+ createdAt: string;
1829
+ updatedAt: string;
1828
1830
  graphId: string;
1829
1831
  publicId: string;
1830
1832
  keyHash: string;
1831
1833
  keyPrefix: string;
1832
1834
  lastUsedAt: string | null;
1833
1835
  expiresAt: string | null;
1834
- createdAt: string;
1835
- updatedAt: string;
1836
1836
  }[]>;
1837
1837
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1838
1838
  scopes: ProjectScopeConfig;
@@ -1848,36 +1848,36 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1848
1848
  };
1849
1849
  }>;
1850
1850
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
1851
+ name: string | null;
1851
1852
  tenantId: string;
1852
1853
  projectId: string;
1853
1854
  id: string;
1854
- name: string | null;
1855
+ createdAt: string;
1856
+ updatedAt: string;
1855
1857
  graphId: string;
1856
1858
  publicId: string;
1857
1859
  keyHash: string;
1858
1860
  keyPrefix: string;
1859
1861
  lastUsedAt: string | null;
1860
1862
  expiresAt: string | null;
1861
- createdAt: string;
1862
- updatedAt: string;
1863
1863
  }>;
1864
1864
  declare const updateApiKey: (db: DatabaseClient) => (params: {
1865
1865
  scopes: ProjectScopeConfig;
1866
1866
  id: string;
1867
1867
  data: ApiKeyUpdate;
1868
1868
  }) => Promise<{
1869
+ name: string | null;
1869
1870
  tenantId: string;
1870
1871
  projectId: string;
1871
1872
  id: string;
1872
- name: string | null;
1873
+ createdAt: string;
1874
+ updatedAt: string;
1873
1875
  graphId: string;
1874
1876
  publicId: string;
1875
1877
  keyHash: string;
1876
1878
  keyPrefix: string;
1877
1879
  lastUsedAt: string | null;
1878
1880
  expiresAt: string | null;
1879
- createdAt: string;
1880
- updatedAt: string;
1881
1881
  }>;
1882
1882
  declare const deleteApiKey: (db: DatabaseClient) => (params: {
1883
1883
  scopes: ProjectScopeConfig;
@@ -1906,13 +1906,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1906
1906
  scopes: ProjectScopeConfig;
1907
1907
  id: string;
1908
1908
  }) => Promise<{
1909
+ name: string;
1909
1910
  tenantId: string;
1910
1911
  projectId: string;
1911
1912
  id: string;
1912
- name: string;
1913
- description: string;
1914
1913
  createdAt: string;
1915
1914
  updatedAt: string;
1915
+ description: string;
1916
1916
  summaryProps: Record<string, unknown> | null;
1917
1917
  fullProps: Record<string, unknown> | null;
1918
1918
  } | undefined>;
@@ -1942,13 +1942,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
1942
1942
  };
1943
1943
  }>;
1944
1944
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
1945
+ name: string;
1945
1946
  tenantId: string;
1946
1947
  projectId: string;
1947
1948
  id: string;
1948
- name: string;
1949
- description: string;
1950
1949
  createdAt: string;
1951
1950
  updatedAt: string;
1951
+ description: string;
1952
1952
  summaryProps: Record<string, unknown> | null;
1953
1953
  fullProps: Record<string, unknown> | null;
1954
1954
  }>;
@@ -1957,13 +1957,13 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
1957
1957
  id: string;
1958
1958
  data: ArtifactComponentUpdate;
1959
1959
  }) => Promise<{
1960
+ name: string;
1960
1961
  tenantId: string;
1961
1962
  projectId: string;
1962
1963
  id: string;
1963
- name: string;
1964
- description: string;
1965
1964
  createdAt: string;
1966
1965
  updatedAt: string;
1966
+ description: string;
1967
1967
  summaryProps: Record<string, unknown> | null;
1968
1968
  fullProps: Record<string, unknown> | null;
1969
1969
  }>;
@@ -1991,8 +1991,8 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
1991
1991
  tenantId: string;
1992
1992
  projectId: string;
1993
1993
  id: string;
1994
- graphId: string;
1995
1994
  createdAt: string;
1995
+ graphId: string;
1996
1996
  agentId: string;
1997
1997
  artifactComponentId: string;
1998
1998
  }>;
@@ -2034,8 +2034,8 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
2034
2034
  tenantId: string;
2035
2035
  projectId: string;
2036
2036
  id: string;
2037
- graphId: string;
2038
2037
  createdAt: string;
2038
+ graphId: string;
2039
2039
  agentId: string;
2040
2040
  artifactComponentId: string;
2041
2041
  } | null>;
@@ -2115,26 +2115,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2115
2115
  scopes: ProjectScopeConfig;
2116
2116
  id: string;
2117
2117
  }) => Promise<{
2118
+ name: string;
2118
2119
  tenantId: string;
2119
2120
  projectId: string;
2120
2121
  id: string;
2121
- name: string;
2122
- description: string;
2123
2122
  createdAt: string;
2124
2123
  updatedAt: string;
2124
+ description: string;
2125
2125
  requestContextSchema: unknown;
2126
2126
  contextVariables: Record<string, ContextFetchDefinition> | null;
2127
2127
  } | undefined>;
2128
2128
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2129
2129
  scopes: ProjectScopeConfig;
2130
2130
  }) => Promise<{
2131
+ name: string;
2131
2132
  tenantId: string;
2132
2133
  projectId: string;
2133
2134
  id: string;
2134
- name: string;
2135
- description: string;
2136
2135
  createdAt: string;
2137
2136
  updatedAt: string;
2137
+ description: string;
2138
2138
  requestContextSchema: unknown;
2139
2139
  contextVariables: Record<string, ContextFetchDefinition> | null;
2140
2140
  }[]>;
@@ -2151,13 +2151,13 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2151
2151
  };
2152
2152
  }>;
2153
2153
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
2154
+ name: string;
2154
2155
  tenantId: string;
2155
2156
  projectId: string;
2156
2157
  id: string;
2157
- name: string;
2158
- description: string;
2159
2158
  createdAt: string;
2160
2159
  updatedAt: string;
2160
+ description: string;
2161
2161
  requestContextSchema: unknown;
2162
2162
  contextVariables: Record<string, ContextFetchDefinition> | null;
2163
2163
  }>;
@@ -2166,13 +2166,13 @@ declare const updateContextConfig: (db: DatabaseClient) => (params: {
2166
2166
  id: string;
2167
2167
  data: Partial<ContextConfigUpdate>;
2168
2168
  }) => Promise<{
2169
+ name: string;
2169
2170
  tenantId: string;
2170
2171
  projectId: string;
2171
2172
  id: string;
2172
- name: string;
2173
- description: string;
2174
2173
  createdAt: string;
2175
2174
  updatedAt: string;
2175
+ description: string;
2176
2176
  requestContextSchema: unknown;
2177
2177
  contextVariables: Record<string, ContextFetchDefinition> | null;
2178
2178
  }>;
@@ -2191,13 +2191,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2191
2191
  scopes: ProjectScopeConfig;
2192
2192
  name: string;
2193
2193
  }) => Promise<{
2194
+ name: string;
2194
2195
  tenantId: string;
2195
2196
  projectId: string;
2196
2197
  id: string;
2197
- name: string;
2198
- description: string;
2199
2198
  createdAt: string;
2200
2199
  updatedAt: string;
2200
+ description: string;
2201
2201
  requestContextSchema: unknown;
2202
2202
  contextVariables: Record<string, ContextFetchDefinition> | null;
2203
2203
  }[]>;
@@ -2207,13 +2207,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2207
2207
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
2208
2208
  data: ContextConfigInsert;
2209
2209
  }) => Promise<{
2210
+ name: string;
2210
2211
  tenantId: string;
2211
2212
  projectId: string;
2212
2213
  id: string;
2213
- name: string;
2214
- description: string;
2215
2214
  createdAt: string;
2216
2215
  updatedAt: string;
2216
+ description: string;
2217
2217
  requestContextSchema: unknown;
2218
2218
  contextVariables: Record<string, ContextFetchDefinition> | null;
2219
2219
  }>;
@@ -2488,8 +2488,8 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
2488
2488
  tenantId: string;
2489
2489
  projectId: string;
2490
2490
  id: string;
2491
- graphId: string;
2492
2491
  createdAt: string;
2492
+ graphId: string;
2493
2493
  agentId: string;
2494
2494
  dataComponentId: string;
2495
2495
  }>;
@@ -2530,8 +2530,8 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
2530
2530
  tenantId: string;
2531
2531
  projectId: string;
2532
2532
  id: string;
2533
- graphId: string;
2534
2533
  createdAt: string;
2534
+ graphId: string;
2535
2535
  agentId: string;
2536
2536
  dataComponentId: string;
2537
2537
  } | null>;
@@ -3059,19 +3059,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3059
3059
  scopes: ProjectScopeConfig;
3060
3060
  toolId: string;
3061
3061
  }) => Promise<{
3062
+ name: string;
3062
3063
  tenantId: string;
3063
3064
  projectId: string;
3064
3065
  id: string;
3065
- name: string;
3066
- config: {
3067
- type: "mcp";
3068
- mcp: ToolMcpConfig;
3069
- };
3070
- credentialReferenceId: string | null;
3071
3066
  createdAt: string;
3072
3067
  updatedAt: string;
3068
+ credentialReferenceId: string | null;
3073
3069
  headers: Record<string, string> | null;
3074
3070
  capabilities: ToolServerCapabilities | null;
3071
+ config: {
3072
+ type: "mcp";
3073
+ mcp: ToolMcpConfig;
3074
+ };
3075
3075
  imageUrl: string | null;
3076
3076
  lastError: string | null;
3077
3077
  } | null>;
@@ -3104,19 +3104,19 @@ declare const listTools: (db: DatabaseClient) => (params: {
3104
3104
  };
3105
3105
  }>;
3106
3106
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3107
+ name: string;
3107
3108
  tenantId: string;
3108
3109
  projectId: string;
3109
3110
  id: string;
3110
- name: string;
3111
- config: {
3112
- type: "mcp";
3113
- mcp: ToolMcpConfig;
3114
- };
3115
- credentialReferenceId: string | null;
3116
3111
  createdAt: string;
3117
3112
  updatedAt: string;
3113
+ credentialReferenceId: string | null;
3118
3114
  headers: Record<string, string> | null;
3119
3115
  capabilities: ToolServerCapabilities | null;
3116
+ config: {
3117
+ type: "mcp";
3118
+ mcp: ToolMcpConfig;
3119
+ };
3120
3120
  imageUrl: string | null;
3121
3121
  lastError: string | null;
3122
3122
  }>;
@@ -3125,19 +3125,19 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3125
3125
  toolId: string;
3126
3126
  data: ToolUpdate;
3127
3127
  }) => Promise<{
3128
+ name: string;
3128
3129
  tenantId: string;
3129
3130
  projectId: string;
3130
3131
  id: string;
3131
- name: string;
3132
- config: {
3133
- type: "mcp";
3134
- mcp: ToolMcpConfig;
3135
- };
3136
- credentialReferenceId: string | null;
3137
3132
  createdAt: string;
3138
3133
  updatedAt: string;
3134
+ credentialReferenceId: string | null;
3139
3135
  headers: Record<string, string> | null;
3140
3136
  capabilities: ToolServerCapabilities | null;
3137
+ config: {
3138
+ type: "mcp";
3139
+ mcp: ToolMcpConfig;
3140
+ };
3141
3141
  imageUrl: string | null;
3142
3142
  lastError: string | null;
3143
3143
  }>;
@@ -3155,13 +3155,13 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
3155
3155
  tenantId: string;
3156
3156
  projectId: string;
3157
3157
  id: string;
3158
- graphId: string;
3159
3158
  createdAt: string;
3160
3159
  updatedAt: string;
3161
3160
  headers: Record<string, string> | null;
3162
- toolId: string;
3163
3161
  selectedTools: string[] | null;
3162
+ graphId: string;
3164
3163
  agentId: string;
3164
+ toolId: string;
3165
3165
  }>;
3166
3166
  declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3167
3167
  scopes: GraphScopeConfig;
@@ -3171,13 +3171,13 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3171
3171
  tenantId: string;
3172
3172
  projectId: string;
3173
3173
  id: string;
3174
- graphId: string;
3175
3174
  createdAt: string;
3176
3175
  updatedAt: string;
3177
3176
  headers: Record<string, string> | null;
3178
- toolId: string;
3179
3177
  selectedTools: string[] | null;
3178
+ graphId: string;
3180
3179
  agentId: string;
3180
+ toolId: string;
3181
3181
  }>;
3182
3182
  /**
3183
3183
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -3193,13 +3193,13 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3193
3193
  tenantId: string;
3194
3194
  projectId: string;
3195
3195
  id: string;
3196
- graphId: string;
3197
3196
  createdAt: string;
3198
3197
  updatedAt: string;
3199
3198
  headers: Record<string, string> | null;
3200
- toolId: string;
3201
3199
  selectedTools: string[] | null;
3200
+ graphId: string;
3202
3201
  agentId: string;
3202
+ toolId: string;
3203
3203
  }>;
3204
3204
  /**
3205
3205
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -3207,19 +3207,19 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
3207
3207
  declare const upsertTool: (db: DatabaseClient) => (params: {
3208
3208
  data: ToolInsert;
3209
3209
  }) => Promise<{
3210
+ name: string;
3210
3211
  tenantId: string;
3211
3212
  projectId: string;
3212
3213
  id: string;
3213
- name: string;
3214
- config: {
3215
- type: "mcp";
3216
- mcp: ToolMcpConfig;
3217
- };
3218
- credentialReferenceId: string | null;
3219
3214
  createdAt: string;
3220
3215
  updatedAt: string;
3216
+ credentialReferenceId: string | null;
3221
3217
  headers: Record<string, string> | null;
3222
3218
  capabilities: ToolServerCapabilities | null;
3219
+ config: {
3220
+ type: "mcp";
3221
+ mcp: ToolMcpConfig;
3222
+ };
3223
3223
  imageUrl: string | null;
3224
3224
  lastError: string | null;
3225
3225
  }>;