@inkeep/agents-core 0.0.0-dev-20250911063109 → 0.0.0-dev-20250911071658

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/v4';
2
- import { R as RequestSchemaDefinition, i as RequestSchemaConfig, a as ContextFetchDefinition, j as ContextConfigSelect, F as FetchDefinition, M as MCPTransportType, k as MCPToolConfig, S as ScopeConfig, b as ConversationHistoryConfig, l as PaginationConfig, A as AgentGraphInsert, m as AgentGraphUpdate, n as FullGraphDefinition, o as AgentRelationInsert, E as ExternalAgentRelationInsert, p as AgentRelationUpdate, q as AgentToolRelationUpdate, c as ToolMcpConfig, d as ToolServerCapabilities, e as McpToolDefinition, r as AgentInsert, s as AgentUpdate, t as AgentSelect, u as ApiKeySelect, v as ApiKeyInsert, w as ApiKeyUpdate, x as CreateApiKeyParams, y as ApiKeyCreateResult, z as ArtifactComponentSelect, B as ArtifactComponentInsert, D as ArtifactComponentUpdate, G as ContextCacheSelect, H as ContextCacheInsert, I as ContextConfigInsert, J as ContextConfigUpdate, K as ConversationSelect, L as ConversationInsert, f as ConversationMetadata, N as ConversationUpdate, O as CredentialReferenceSelect, Q as ToolSelect, U as CredentialReferenceInsert, V as CredentialReferenceUpdate, W as DataComponentSelect, X as DataComponentInsert, Y as DataComponentUpdate, Z as ExternalAgentInsert, _ as ExternalAgentSelect, $ as ExternalAgentUpdate, a0 as Artifact, a1 as LedgerArtifactSelect, h as MessageMetadata, g as MessageContent, a2 as MessageVisibility, a3 as MessageInsert, a4 as MessageUpdate, a5 as ProjectInfo, a6 as ProjectSelect, a7 as PaginationResult, a8 as ProjectResourceCounts, a9 as ProjectInsert, aa as ProjectUpdate, ab as TaskInsert, T as TaskMetadataConfig, ac as TaskSelect, ad as McpTool, ae as McpToolStatus, af as ToolInsert, ag as ToolUpdate, C as CredentialStoreType, ah as ExecutionContext } from './entities-CI0T2xx-.js';
3
- export { aV as A2AError, bp as A2ARequest, bq as A2AResponse, au as APIKeySecurityScheme, bu as AgentApiInsert, dj as AgentApiInsertSchema, bt as AgentApiSelect, di as AgentApiSelectSchema, bv as AgentApiUpdate, dk as AgentApiUpdateSchema, cm as AgentArtifactComponentApiInsert, ev as AgentArtifactComponentApiInsertSchema, cl as AgentArtifactComponentApiSelect, eu as AgentArtifactComponentApiSelectSchema, cn as AgentArtifactComponentApiUpdate, ew as AgentArtifactComponentApiUpdateSchema, cj as AgentArtifactComponentInsert, es as AgentArtifactComponentInsertSchema, ci as AgentArtifactComponentSelect, er as AgentArtifactComponentSelectSchema, ck as AgentArtifactComponentUpdate, et as AgentArtifactComponentUpdateSchema, aq as AgentCapabilities, aE as AgentCard, c_ as AgentConversationHistoryConfig, cd as AgentDataComponentApiInsert, ej as AgentDataComponentApiInsertSchema, cc as AgentDataComponentApiSelect, ei as AgentDataComponentApiSelectSchema, ce as AgentDataComponentApiUpdate, ek as AgentDataComponentApiUpdateSchema, ca as AgentDataComponentInsert, eg as AgentDataComponentInsertSchema, c9 as AgentDataComponentSelect, ef as AgentDataComponentSelectSchema, cb as AgentDataComponentUpdate, eh as AgentDataComponentUpdateSchema, cL as AgentDefinition, bE as AgentGraphApiInsert, dz as AgentGraphApiInsertSchema, bD as AgentGraphApiSelect, dy as AgentGraphApiSelectSchema, bF as AgentGraphApiUpdate, dA as AgentGraphApiUpdateSchema, dw as AgentGraphInsertSchema, bC as AgentGraphSelect, dv as AgentGraphSelectSchema, dx as AgentGraphUpdateSchema, dg as AgentInsertSchema, ar as AgentProvider, by as AgentRelationApiInsert, dq as AgentRelationApiInsertSchema, bx as AgentRelationApiSelect, dp as AgentRelationApiSelectSchema, bz as AgentRelationApiUpdate, dr as AgentRelationApiUpdateSchema, dm as AgentRelationInsertSchema, bA as AgentRelationQuery, ds as AgentRelationQuerySchema, bw as AgentRelationSelect, dl as AgentRelationSelectSchema, dn as AgentRelationUpdateSchema, df as AgentSelectSchema, as as AgentSkill, cC as AgentToolRelationApiInsert, f7 as AgentToolRelationApiInsertSchema, cB as AgentToolRelationApiSelect, f6 as AgentToolRelationApiSelectSchema, cD as AgentToolRelationApiUpdate, f8 as AgentToolRelationApiUpdateSchema, cA as AgentToolRelationInsert, f4 as AgentToolRelationInsertSchema, cz as AgentToolRelationSelect, f3 as AgentToolRelationSelectSchema, f5 as AgentToolRelationUpdateSchema, dh as AgentUpdateSchema, eD as AllAgentSchema, cr as AllAgentSelect, cv as ApiKeyApiCreationResponse, eI as ApiKeyApiCreationResponseSchema, ct as ApiKeyApiInsert, eJ as ApiKeyApiInsertSchema, cs as ApiKeyApiSelect, eH as ApiKeyApiSelectSchema, cu as ApiKeyApiUpdate, eK as ApiKeyApiUpdateSchema, eF as ApiKeyInsertSchema, eE as ApiKeySelectSchema, eG as ApiKeyUpdateSchema, cg as ArtifactComponentApiInsert, ep as ArtifactComponentApiInsertSchema, cf as ArtifactComponentApiSelect, eo as ArtifactComponentApiSelectSchema, ch as ArtifactComponentApiUpdate, eq as ArtifactComponentApiUpdateSchema, em as ArtifactComponentInsertSchema, el as ArtifactComponentSelectSchema, en as ArtifactComponentUpdateSchema, ax as AuthorizationCodeOAuthFlow, b9 as CancelTaskRequest, bk as CancelTaskResponse, bj as CancelTaskSuccessResponse, ay as ClientCredentialsOAuthFlow, aT as ContentTypeNotSupportedError, c4 as ContextCacheApiInsert, e6 as ContextCacheApiInsertSchema, c3 as ContextCacheApiSelect, e5 as ContextCacheApiSelectSchema, c5 as ContextCacheApiUpdate, e7 as ContextCacheApiUpdateSchema, c$ as ContextCacheEntry, e3 as ContextCacheInsertSchema, e2 as ContextCacheSelectSchema, c2 as ContextCacheUpdate, e4 as ContextCacheUpdateSchema, b$ as ContextConfigApiInsert, f1 as ContextConfigApiInsertSchema, b_ as ContextConfigApiSelect, f0 as ContextConfigApiSelectSchema, c0 as ContextConfigApiUpdate, f2 as ContextConfigApiUpdateSchema, e_ as ContextConfigInsertSchema, eZ as ContextConfigSelectSchema, e$ as ContextConfigUpdateSchema, bU as ConversationApiInsert, dW as ConversationApiInsertSchema, bT as ConversationApiSelect, dV as ConversationApiSelectSchema, bV as ConversationApiUpdate, dX as ConversationApiUpdateSchema, dT as ConversationInsertSchema, cZ as ConversationScopeOptions, dS as ConversationSelectSchema, dU as ConversationUpdateSchema, cx as CredentialReferenceApiInsert, eP as CredentialReferenceApiInsertSchema, cw as CredentialReferenceApiSelect, eO as CredentialReferenceApiSelectSchema, cy as CredentialReferenceApiUpdate, eQ as CredentialReferenceApiUpdateSchema, eM as CredentialReferenceInsertSchema, eL as CredentialReferenceSelectSchema, eN as CredentialReferenceUpdateSchema, c7 as DataComponentApiInsert, ed as DataComponentApiInsertSchema, c6 as DataComponentApiSelect, ec as DataComponentApiSelectSchema, c8 as DataComponentApiUpdate, ee as DataComponentApiUpdateSchema, ea as DataComponentBaseSchema, e9 as DataComponentInsertSchema, e8 as DataComponentSelectSchema, eb as DataComponentUpdateSchema, ao as DataPart, fm as ErrorResponseSchema, fn as ExistsResponseSchema, cp as ExternalAgentApiInsert, eB as ExternalAgentApiInsertSchema, co as ExternalAgentApiSelect, eA as ExternalAgentApiSelectSchema, cq as ExternalAgentApiUpdate, eC as ExternalAgentApiUpdateSchema, ey as ExternalAgentInsertSchema, bB as ExternalAgentRelationApiInsert, du as ExternalAgentRelationApiInsertSchema, dt as ExternalAgentRelationInsertSchema, ex as ExternalAgentSelectSchema, ez as ExternalAgentUpdateSchema, c1 as FetchConfig, eX as FetchConfigSchema, eY as FetchDefinitionSchema, ak as FileBase, an as FilePart, al as FileWithBytes, am as FileWithUri, cJ as FullGraphAgentInsert, fh as FullGraphAgentInsertSchema, fi as FullGraphDefinitionSchema, bb as GetTaskPushNotificationConfigRequest, bo as GetTaskPushNotificationConfigResponse, bn as GetTaskPushNotificationConfigSuccessResponse, b8 as GetTaskRequest, bi as GetTaskResponse, bh as GetTaskSuccessResponse, av as HTTPAuthSecurityScheme, fv as HeadersScopeSchema, fA as IdParamsSchema, az as ImplicitOAuthFlow, cK as InternalAgentDefinition, aO as InternalError, aU as InvalidAgentResponseError, aN as InvalidParamsError, aL as InvalidRequestError, aK as JSONParseError, b3 as JSONRPCError, b5 as JSONRPCErrorResponse, b1 as JSONRPCMessage, b2 as JSONRPCRequest, b4 as JSONRPCResult, cH as LedgerArtifactApiInsert, fd as LedgerArtifactApiInsertSchema, cG as LedgerArtifactApiSelect, fc as LedgerArtifactApiSelectSchema, cI as LedgerArtifactApiUpdate, fe as LedgerArtifactApiUpdateSchema, cE as LedgerArtifactInsert, fa as LedgerArtifactInsertSchema, f9 as LedgerArtifactSelectSchema, cF as LedgerArtifactUpdate, fb as LedgerArtifactUpdateSchema, fk as ListResponseSchema, d9 as MAX_ID_LENGTH, d7 as MCPServerType, eS as MCPToolConfigSchema, d8 as MIN_ID_LENGTH, d0 as McpAuthType, d1 as McpServerAuth, d3 as McpServerCapabilities, dP as McpToolDefinitionSchema, eR as McpToolSchema, d2 as McpTransportConfig, dN as McpTransportConfigSchema, aF as Message, bY as MessageApiInsert, e0 as MessageApiInsertSchema, bX as MessageApiSelect, d$ as MessageApiSelectSchema, bZ as MessageApiUpdate, e1 as MessageApiUpdateSchema, dZ as MessageInsertSchema, cT as MessageMode, br as MessagePart, cS as MessageRole, bW as MessageSelect, dY as MessageSelectSchema, a$ as MessageSendConfiguration, b0 as MessageSendParams, cR as MessageType, d_ as MessageUpdateSchema, aM as MethodNotFoundError, dd as ModelSchema, cW as ModelSettings, dc as ModelSettingsSchema, cU as Models, aB as OAuth2SecurityScheme, aw as OAuthFlows, aC as OpenIdConnectSecurityScheme, cQ as Pagination, fB as PaginationQueryParamsSchema, fj as PaginationSchema, P as Part, ai as PartBase, aA as PasswordOAuthFlow, cO as ProjectApiInsert, ft as ProjectApiInsertSchema, cN as ProjectApiSelect, fs as ProjectApiSelectSchema, cP as ProjectApiUpdate, fu as ProjectApiUpdateSchema, fq as ProjectInsertSchema, de as ProjectModelSchema, cV as ProjectModels, fp as ProjectSelectSchema, fr as ProjectUpdateSchema, aW as PushNotificationAuthenticationInfo, aX as PushNotificationConfig, aR as PushNotificationNotSupportedError, fo as RemovedResponseSchema, aD as SecurityScheme, at as SecuritySchemeBase, b6 as SendMessageRequest, be as SendMessageResponse, bd as SendMessageSuccessResponse, b7 as SendStreamingMessageRequest, bg as SendStreamingMessageResponse, bf as SendStreamingMessageSuccessResponse, ba as SetTaskPushNotificationConfigRequest, bm as SetTaskPushNotificationConfigResponse, bl as SetTaskPushNotificationConfigSuccessResponse, fl as SingleResponseSchema, cY as StatusComponent, ff as StatusComponentSchema, fg as StatusUpdateSchema, cX as StatusUpdateSettings, d5 as TOOL_STATUS_VALUES, aH as Task, bI as TaskApiInsert, dF as TaskApiInsertSchema, bH as TaskApiSelect, dE as TaskApiSelectSchema, bJ as TaskApiUpdate, dG as TaskApiUpdateSchema, bs as TaskArtifact, aJ as TaskArtifactUpdateEvent, aZ as TaskIdParams, dC as TaskInsertSchema, aQ as TaskNotCancelableError, aP as TaskNotFoundError, aY as TaskPushNotificationConfig, a_ as TaskQueryParams, bO as TaskRelationApiInsert, dL as TaskRelationApiInsertSchema, bN as TaskRelationApiSelect, dK as TaskRelationApiSelectSchema, bP as TaskRelationApiUpdate, dM as TaskRelationApiUpdateSchema, bL as TaskRelationInsert, dI as TaskRelationInsertSchema, bK as TaskRelationSelect, dH as TaskRelationSelectSchema, bM as TaskRelationUpdate, dJ as TaskRelationUpdateSchema, bc as TaskResubscriptionRequest, dB as TaskSelectSchema, ap as TaskState, aG as TaskStatus, aI as TaskStatusUpdateEvent, bG as TaskUpdate, dD as TaskUpdateSchema, fz as TenantIdParamsSchema, fw as TenantParamsSchema, fy as TenantProjectIdParamsSchema, fx as TenantProjectParamsSchema, aj as TextPart, bR as ToolApiInsert, eV as ToolApiInsertSchema, bQ as ToolApiSelect, eU as ToolApiSelectSchema, bS as ToolApiUpdate, eW as ToolApiUpdateSchema, cM as ToolDefinition, dR as ToolInsertSchema, dQ as ToolSelectSchema, dO as ToolStatusSchema, eT as ToolUpdateSchema, da as URL_SAFE_ID_PATTERN, aS as UnsupportedOperationError, d6 as VALID_RELATION_TYPES, db as resourceIdSchema, d4 as toolStatus } from './entities-CI0T2xx-.js';
2
+ import { R as RequestSchemaDefinition, i as RequestSchemaConfig, a as ContextFetchDefinition, j as ContextConfigSelect, F as FetchDefinition, M as MCPTransportType, k as MCPToolConfig, S as ScopeConfig, b as ConversationHistoryConfig, l as PaginationConfig, A as AgentGraphInsert, m as AgentGraphUpdate, n as FullGraphDefinition, o as AgentRelationInsert, E as ExternalAgentRelationInsert, p as AgentRelationUpdate, q as AgentToolRelationUpdate, c as ToolMcpConfig, d as ToolServerCapabilities, e as McpToolDefinition, r as AgentInsert, s as AgentUpdate, t as AgentSelect, u as ApiKeySelect, v as ApiKeyInsert, w as ApiKeyUpdate, x as CreateApiKeyParams, y as ApiKeyCreateResult, z as ArtifactComponentSelect, B as ArtifactComponentInsert, D as ArtifactComponentUpdate, G as ContextCacheSelect, H as ContextCacheInsert, I as ContextConfigInsert, J as ContextConfigUpdate, K as ConversationSelect, L as ConversationInsert, f as ConversationMetadata, N as ConversationUpdate, O as CredentialReferenceSelect, Q as ToolSelect, U as CredentialReferenceInsert, V as CredentialReferenceUpdate, W as DataComponentSelect, X as DataComponentInsert, Y as DataComponentUpdate, Z as ExternalAgentInsert, _ as ExternalAgentSelect, $ as ExternalAgentUpdate, a0 as Artifact, a1 as LedgerArtifactSelect, h as MessageMetadata, g as MessageContent, a2 as MessageVisibility, a3 as MessageInsert, a4 as MessageUpdate, a5 as ProjectInfo, a6 as ProjectSelect, a7 as PaginationResult, a8 as ProjectResourceCounts, a9 as ProjectInsert, aa as ProjectUpdate, ab as TaskInsert, T as TaskMetadataConfig, ac as TaskSelect, ad as McpTool, ae as McpToolStatus, af as ToolInsert, ag as ToolUpdate, C as CredentialStoreType, ah as ExecutionContext } from './entities-Cc3_mgG5.js';
3
+ export { aV as A2AError, bp as A2ARequest, bq as A2AResponse, au as APIKeySecurityScheme, bu as AgentApiInsert, dj as AgentApiInsertSchema, bt as AgentApiSelect, di as AgentApiSelectSchema, bv as AgentApiUpdate, dk as AgentApiUpdateSchema, cm as AgentArtifactComponentApiInsert, ev as AgentArtifactComponentApiInsertSchema, cl as AgentArtifactComponentApiSelect, eu as AgentArtifactComponentApiSelectSchema, cn as AgentArtifactComponentApiUpdate, ew as AgentArtifactComponentApiUpdateSchema, cj as AgentArtifactComponentInsert, es as AgentArtifactComponentInsertSchema, ci as AgentArtifactComponentSelect, er as AgentArtifactComponentSelectSchema, ck as AgentArtifactComponentUpdate, et as AgentArtifactComponentUpdateSchema, aq as AgentCapabilities, aE as AgentCard, c_ as AgentConversationHistoryConfig, cd as AgentDataComponentApiInsert, ej as AgentDataComponentApiInsertSchema, cc as AgentDataComponentApiSelect, ei as AgentDataComponentApiSelectSchema, ce as AgentDataComponentApiUpdate, ek as AgentDataComponentApiUpdateSchema, ca as AgentDataComponentInsert, eg as AgentDataComponentInsertSchema, c9 as AgentDataComponentSelect, ef as AgentDataComponentSelectSchema, cb as AgentDataComponentUpdate, eh as AgentDataComponentUpdateSchema, cL as AgentDefinition, bE as AgentGraphApiInsert, dz as AgentGraphApiInsertSchema, bD as AgentGraphApiSelect, dy as AgentGraphApiSelectSchema, bF as AgentGraphApiUpdate, dA as AgentGraphApiUpdateSchema, dw as AgentGraphInsertSchema, bC as AgentGraphSelect, dv as AgentGraphSelectSchema, dx as AgentGraphUpdateSchema, dg as AgentInsertSchema, ar as AgentProvider, by as AgentRelationApiInsert, dq as AgentRelationApiInsertSchema, bx as AgentRelationApiSelect, dp as AgentRelationApiSelectSchema, bz as AgentRelationApiUpdate, dr as AgentRelationApiUpdateSchema, dm as AgentRelationInsertSchema, bA as AgentRelationQuery, ds as AgentRelationQuerySchema, bw as AgentRelationSelect, dl as AgentRelationSelectSchema, dn as AgentRelationUpdateSchema, df as AgentSelectSchema, as as AgentSkill, cC as AgentToolRelationApiInsert, f7 as AgentToolRelationApiInsertSchema, cB as AgentToolRelationApiSelect, f6 as AgentToolRelationApiSelectSchema, cD as AgentToolRelationApiUpdate, f8 as AgentToolRelationApiUpdateSchema, cA as AgentToolRelationInsert, f4 as AgentToolRelationInsertSchema, cz as AgentToolRelationSelect, f3 as AgentToolRelationSelectSchema, f5 as AgentToolRelationUpdateSchema, dh as AgentUpdateSchema, eD as AllAgentSchema, cr as AllAgentSelect, cv as ApiKeyApiCreationResponse, eI as ApiKeyApiCreationResponseSchema, ct as ApiKeyApiInsert, eJ as ApiKeyApiInsertSchema, cs as ApiKeyApiSelect, eH as ApiKeyApiSelectSchema, cu as ApiKeyApiUpdate, eK as ApiKeyApiUpdateSchema, eF as ApiKeyInsertSchema, eE as ApiKeySelectSchema, eG as ApiKeyUpdateSchema, cg as ArtifactComponentApiInsert, ep as ArtifactComponentApiInsertSchema, cf as ArtifactComponentApiSelect, eo as ArtifactComponentApiSelectSchema, ch as ArtifactComponentApiUpdate, eq as ArtifactComponentApiUpdateSchema, em as ArtifactComponentInsertSchema, el as ArtifactComponentSelectSchema, en as ArtifactComponentUpdateSchema, ax as AuthorizationCodeOAuthFlow, b9 as CancelTaskRequest, bk as CancelTaskResponse, bj as CancelTaskSuccessResponse, ay as ClientCredentialsOAuthFlow, aT as ContentTypeNotSupportedError, c4 as ContextCacheApiInsert, e6 as ContextCacheApiInsertSchema, c3 as ContextCacheApiSelect, e5 as ContextCacheApiSelectSchema, c5 as ContextCacheApiUpdate, e7 as ContextCacheApiUpdateSchema, c$ as ContextCacheEntry, e3 as ContextCacheInsertSchema, e2 as ContextCacheSelectSchema, c2 as ContextCacheUpdate, e4 as ContextCacheUpdateSchema, b$ as ContextConfigApiInsert, f1 as ContextConfigApiInsertSchema, b_ as ContextConfigApiSelect, f0 as ContextConfigApiSelectSchema, c0 as ContextConfigApiUpdate, f2 as ContextConfigApiUpdateSchema, e_ as ContextConfigInsertSchema, eZ as ContextConfigSelectSchema, e$ as ContextConfigUpdateSchema, bU as ConversationApiInsert, dW as ConversationApiInsertSchema, bT as ConversationApiSelect, dV as ConversationApiSelectSchema, bV as ConversationApiUpdate, dX as ConversationApiUpdateSchema, dT as ConversationInsertSchema, cZ as ConversationScopeOptions, dS as ConversationSelectSchema, dU as ConversationUpdateSchema, cx as CredentialReferenceApiInsert, eP as CredentialReferenceApiInsertSchema, cw as CredentialReferenceApiSelect, eO as CredentialReferenceApiSelectSchema, cy as CredentialReferenceApiUpdate, eQ as CredentialReferenceApiUpdateSchema, eM as CredentialReferenceInsertSchema, eL as CredentialReferenceSelectSchema, eN as CredentialReferenceUpdateSchema, c7 as DataComponentApiInsert, ed as DataComponentApiInsertSchema, c6 as DataComponentApiSelect, ec as DataComponentApiSelectSchema, c8 as DataComponentApiUpdate, ee as DataComponentApiUpdateSchema, ea as DataComponentBaseSchema, e9 as DataComponentInsertSchema, e8 as DataComponentSelectSchema, eb as DataComponentUpdateSchema, ao as DataPart, fm as ErrorResponseSchema, fn as ExistsResponseSchema, cp as ExternalAgentApiInsert, eB as ExternalAgentApiInsertSchema, co as ExternalAgentApiSelect, eA as ExternalAgentApiSelectSchema, cq as ExternalAgentApiUpdate, eC as ExternalAgentApiUpdateSchema, ey as ExternalAgentInsertSchema, bB as ExternalAgentRelationApiInsert, du as ExternalAgentRelationApiInsertSchema, dt as ExternalAgentRelationInsertSchema, ex as ExternalAgentSelectSchema, ez as ExternalAgentUpdateSchema, c1 as FetchConfig, eX as FetchConfigSchema, eY as FetchDefinitionSchema, ak as FileBase, an as FilePart, al as FileWithBytes, am as FileWithUri, cJ as FullGraphAgentInsert, fh as FullGraphAgentInsertSchema, fi as FullGraphDefinitionSchema, bb as GetTaskPushNotificationConfigRequest, bo as GetTaskPushNotificationConfigResponse, bn as GetTaskPushNotificationConfigSuccessResponse, b8 as GetTaskRequest, bi as GetTaskResponse, bh as GetTaskSuccessResponse, av as HTTPAuthSecurityScheme, fv as HeadersScopeSchema, fA as IdParamsSchema, az as ImplicitOAuthFlow, cK as InternalAgentDefinition, aO as InternalError, aU as InvalidAgentResponseError, aN as InvalidParamsError, aL as InvalidRequestError, aK as JSONParseError, b3 as JSONRPCError, b5 as JSONRPCErrorResponse, b1 as JSONRPCMessage, b2 as JSONRPCRequest, b4 as JSONRPCResult, cH as LedgerArtifactApiInsert, fd as LedgerArtifactApiInsertSchema, cG as LedgerArtifactApiSelect, fc as LedgerArtifactApiSelectSchema, cI as LedgerArtifactApiUpdate, fe as LedgerArtifactApiUpdateSchema, cE as LedgerArtifactInsert, fa as LedgerArtifactInsertSchema, f9 as LedgerArtifactSelectSchema, cF as LedgerArtifactUpdate, fb as LedgerArtifactUpdateSchema, fk as ListResponseSchema, d9 as MAX_ID_LENGTH, d7 as MCPServerType, eS as MCPToolConfigSchema, d8 as MIN_ID_LENGTH, d0 as McpAuthType, d1 as McpServerAuth, d3 as McpServerCapabilities, dP as McpToolDefinitionSchema, eR as McpToolSchema, d2 as McpTransportConfig, dN as McpTransportConfigSchema, aF as Message, bY as MessageApiInsert, e0 as MessageApiInsertSchema, bX as MessageApiSelect, d$ as MessageApiSelectSchema, bZ as MessageApiUpdate, e1 as MessageApiUpdateSchema, dZ as MessageInsertSchema, cT as MessageMode, br as MessagePart, cS as MessageRole, bW as MessageSelect, dY as MessageSelectSchema, a$ as MessageSendConfiguration, b0 as MessageSendParams, cR as MessageType, d_ as MessageUpdateSchema, aM as MethodNotFoundError, dd as ModelSchema, cW as ModelSettings, dc as ModelSettingsSchema, cU as Models, aB as OAuth2SecurityScheme, aw as OAuthFlows, aC as OpenIdConnectSecurityScheme, cQ as Pagination, fB as PaginationQueryParamsSchema, fj as PaginationSchema, P as Part, ai as PartBase, aA as PasswordOAuthFlow, cO as ProjectApiInsert, ft as ProjectApiInsertSchema, cN as ProjectApiSelect, fs as ProjectApiSelectSchema, cP as ProjectApiUpdate, fu as ProjectApiUpdateSchema, fq as ProjectInsertSchema, de as ProjectModelSchema, cV as ProjectModels, fp as ProjectSelectSchema, fr as ProjectUpdateSchema, aW as PushNotificationAuthenticationInfo, aX as PushNotificationConfig, aR as PushNotificationNotSupportedError, fo as RemovedResponseSchema, aD as SecurityScheme, at as SecuritySchemeBase, b6 as SendMessageRequest, be as SendMessageResponse, bd as SendMessageSuccessResponse, b7 as SendStreamingMessageRequest, bg as SendStreamingMessageResponse, bf as SendStreamingMessageSuccessResponse, ba as SetTaskPushNotificationConfigRequest, bm as SetTaskPushNotificationConfigResponse, bl as SetTaskPushNotificationConfigSuccessResponse, fl as SingleResponseSchema, cY as StatusComponent, ff as StatusComponentSchema, fg as StatusUpdateSchema, cX as StatusUpdateSettings, d5 as TOOL_STATUS_VALUES, aH as Task, bI as TaskApiInsert, dF as TaskApiInsertSchema, bH as TaskApiSelect, dE as TaskApiSelectSchema, bJ as TaskApiUpdate, dG as TaskApiUpdateSchema, bs as TaskArtifact, aJ as TaskArtifactUpdateEvent, aZ as TaskIdParams, dC as TaskInsertSchema, aQ as TaskNotCancelableError, aP as TaskNotFoundError, aY as TaskPushNotificationConfig, a_ as TaskQueryParams, bO as TaskRelationApiInsert, dL as TaskRelationApiInsertSchema, bN as TaskRelationApiSelect, dK as TaskRelationApiSelectSchema, bP as TaskRelationApiUpdate, dM as TaskRelationApiUpdateSchema, bL as TaskRelationInsert, dI as TaskRelationInsertSchema, bK as TaskRelationSelect, dH as TaskRelationSelectSchema, bM as TaskRelationUpdate, dJ as TaskRelationUpdateSchema, bc as TaskResubscriptionRequest, dB as TaskSelectSchema, ap as TaskState, aG as TaskStatus, aI as TaskStatusUpdateEvent, bG as TaskUpdate, dD as TaskUpdateSchema, fz as TenantIdParamsSchema, fw as TenantParamsSchema, fy as TenantProjectIdParamsSchema, fx as TenantProjectParamsSchema, aj as TextPart, bR as ToolApiInsert, eV as ToolApiInsertSchema, bQ as ToolApiSelect, eU as ToolApiSelectSchema, bS as ToolApiUpdate, eW as ToolApiUpdateSchema, cM as ToolDefinition, dR as ToolInsertSchema, dQ as ToolSelectSchema, dO as ToolStatusSchema, eT as ToolUpdateSchema, da as URL_SAFE_ID_PATTERN, aS as UnsupportedOperationError, d6 as VALID_RELATION_TYPES, db as resourceIdSchema, d4 as toolStatus } from './entities-Cc3_mgG5.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-CGaPaV-v.js';
8
- export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from './schema-CGaPaV-v.js';
7
+ import { s as schema } from './schema-xZJcE9v-.js';
8
+ export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from './schema-xZJcE9v-.js';
9
9
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
10
10
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
11
11
  import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
@@ -725,13 +725,14 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
725
725
  scopes: ScopeConfig;
726
726
  graphId: string;
727
727
  }) => Promise<{
728
- name: string;
729
728
  tenantId: string;
730
729
  projectId: string;
731
730
  id: string;
731
+ name: string;
732
732
  description: string | null;
733
733
  createdAt: string;
734
734
  updatedAt: string;
735
+ defaultAgentId: string;
735
736
  models: {
736
737
  base?: {
737
738
  model?: string | undefined;
@@ -749,8 +750,7 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
749
750
  stopWhen: {
750
751
  transferCountIs?: number;
751
752
  } | null;
752
- contextConfigId: string | null;
753
- defaultAgentId: string;
753
+ graphPrompt: string | null;
754
754
  statusUpdates: {
755
755
  enabled?: boolean | undefined;
756
756
  numEvents?: number | undefined;
@@ -766,19 +766,20 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
766
766
  } | undefined;
767
767
  }[] | undefined;
768
768
  } | null;
769
- graphPrompt: string | null;
769
+ contextConfigId: string | null;
770
770
  } | undefined>;
771
771
  declare const getAgentGraphById: (db: DatabaseClient) => (params: {
772
772
  scopes: ScopeConfig;
773
773
  graphId: string;
774
774
  }) => Promise<{
775
- name: string;
776
775
  tenantId: string;
777
776
  projectId: string;
778
777
  id: string;
778
+ name: string;
779
779
  description: string | null;
780
780
  createdAt: string;
781
781
  updatedAt: string;
782
+ defaultAgentId: string;
782
783
  models: {
783
784
  base?: {
784
785
  model?: string | undefined;
@@ -796,8 +797,7 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
796
797
  stopWhen: {
797
798
  transferCountIs?: number;
798
799
  } | null;
799
- contextConfigId: string | null;
800
- defaultAgentId: string;
800
+ graphPrompt: string | null;
801
801
  statusUpdates: {
802
802
  enabled?: boolean | undefined;
803
803
  numEvents?: number | undefined;
@@ -813,19 +813,20 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
813
813
  } | undefined;
814
814
  }[] | undefined;
815
815
  } | null;
816
- graphPrompt: string | null;
816
+ contextConfigId: string | null;
817
817
  } | null>;
818
818
  declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
819
819
  scopes: ScopeConfig;
820
820
  graphId: string;
821
821
  }) => Promise<{
822
- name: string;
823
822
  tenantId: string;
824
823
  projectId: string;
825
824
  id: string;
825
+ name: string;
826
826
  description: string | null;
827
827
  createdAt: string;
828
828
  updatedAt: string;
829
+ defaultAgentId: string;
829
830
  models: {
830
831
  base?: {
831
832
  model?: string | undefined;
@@ -843,8 +844,7 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
843
844
  stopWhen: {
844
845
  transferCountIs?: number;
845
846
  } | null;
846
- contextConfigId: string | null;
847
- defaultAgentId: string;
847
+ graphPrompt: string | null;
848
848
  statusUpdates: {
849
849
  enabled?: boolean | undefined;
850
850
  numEvents?: number | undefined;
@@ -860,13 +860,14 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
860
860
  } | undefined;
861
861
  }[] | undefined;
862
862
  } | null;
863
- graphPrompt: string | null;
863
+ contextConfigId: string | null;
864
864
  defaultAgent: {
865
- name: string;
866
865
  tenantId: string;
867
866
  projectId: string;
868
867
  id: string;
868
+ name: string;
869
869
  description: string;
870
+ prompt: string;
870
871
  createdAt: string;
871
872
  updatedAt: string;
872
873
  models: {
@@ -886,20 +887,20 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
886
887
  stopWhen: {
887
888
  stepCountIs?: number;
888
889
  } | null;
889
- prompt: string;
890
890
  conversationHistoryConfig: ConversationHistoryConfig | null;
891
891
  };
892
892
  } | null>;
893
893
  declare const listAgentGraphs: (db: DatabaseClient) => (params: {
894
894
  scopes: ScopeConfig;
895
895
  }) => Promise<{
896
- name: string;
897
896
  tenantId: string;
898
897
  projectId: string;
899
898
  id: string;
899
+ name: string;
900
900
  description: string | null;
901
901
  createdAt: string;
902
902
  updatedAt: string;
903
+ defaultAgentId: string;
903
904
  models: {
904
905
  base?: {
905
906
  model?: string | undefined;
@@ -917,8 +918,7 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
917
918
  stopWhen: {
918
919
  transferCountIs?: number;
919
920
  } | null;
920
- contextConfigId: string | null;
921
- defaultAgentId: string;
921
+ graphPrompt: string | null;
922
922
  statusUpdates: {
923
923
  enabled?: boolean | undefined;
924
924
  numEvents?: number | undefined;
@@ -934,7 +934,7 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
934
934
  } | undefined;
935
935
  }[] | undefined;
936
936
  } | null;
937
- graphPrompt: string | null;
937
+ contextConfigId: string | null;
938
938
  }[]>;
939
939
  declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
940
940
  scopes: ScopeConfig;
@@ -992,13 +992,14 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
992
992
  };
993
993
  }>;
994
994
  declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
995
- name: string;
996
995
  tenantId: string;
997
996
  projectId: string;
998
997
  id: string;
998
+ name: string;
999
999
  description: string | null;
1000
1000
  createdAt: string;
1001
1001
  updatedAt: string;
1002
+ defaultAgentId: string;
1002
1003
  models: {
1003
1004
  base?: {
1004
1005
  model?: string | undefined;
@@ -1016,8 +1017,7 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1016
1017
  stopWhen: {
1017
1018
  transferCountIs?: number;
1018
1019
  } | null;
1019
- contextConfigId: string | null;
1020
- defaultAgentId: string;
1020
+ graphPrompt: string | null;
1021
1021
  statusUpdates: {
1022
1022
  enabled?: boolean | undefined;
1023
1023
  numEvents?: number | undefined;
@@ -1033,20 +1033,21 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1033
1033
  } | undefined;
1034
1034
  }[] | undefined;
1035
1035
  } | null;
1036
- graphPrompt: string | null;
1036
+ contextConfigId: string | null;
1037
1037
  }>;
1038
1038
  declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1039
1039
  scopes: ScopeConfig;
1040
1040
  graphId: string;
1041
1041
  data: AgentGraphUpdate;
1042
1042
  }) => Promise<{
1043
- name: string;
1044
1043
  tenantId: string;
1045
1044
  projectId: string;
1046
1045
  id: string;
1046
+ name: string;
1047
1047
  description: string | null;
1048
1048
  createdAt: string;
1049
1049
  updatedAt: string;
1050
+ defaultAgentId: string;
1050
1051
  models: {
1051
1052
  base?: {
1052
1053
  model?: string | undefined;
@@ -1064,8 +1065,7 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1064
1065
  stopWhen: {
1065
1066
  transferCountIs?: number;
1066
1067
  } | null;
1067
- contextConfigId: string | null;
1068
- defaultAgentId: string;
1068
+ graphPrompt: string | null;
1069
1069
  statusUpdates: {
1070
1070
  enabled?: boolean | undefined;
1071
1071
  numEvents?: number | undefined;
@@ -1081,7 +1081,7 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1081
1081
  } | undefined;
1082
1082
  }[] | undefined;
1083
1083
  } | null;
1084
- graphPrompt: string | null;
1084
+ contextConfigId: string | null;
1085
1085
  }>;
1086
1086
  declare const deleteAgentGraph: (db: DatabaseClient) => (params: {
1087
1087
  scopes: ScopeConfig;
@@ -1124,9 +1124,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
1124
1124
  tenantId: string;
1125
1125
  projectId: string;
1126
1126
  id: string;
1127
+ graphId: string;
1127
1128
  createdAt: string;
1128
1129
  updatedAt: string;
1129
- graphId: string;
1130
1130
  sourceAgentId: string;
1131
1131
  targetAgentId: string | null;
1132
1132
  externalAgentId: string | null;
@@ -1163,9 +1163,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
1163
1163
  tenantId: string;
1164
1164
  projectId: string;
1165
1165
  id: string;
1166
+ graphId: string;
1166
1167
  createdAt: string;
1167
1168
  updatedAt: string;
1168
- graphId: string;
1169
1169
  sourceAgentId: string;
1170
1170
  targetAgentId: string | null;
1171
1171
  externalAgentId: string | null;
@@ -1178,9 +1178,9 @@ declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
1178
1178
  tenantId: string;
1179
1179
  projectId: string;
1180
1180
  id: string;
1181
+ graphId: string;
1181
1182
  createdAt: string;
1182
1183
  updatedAt: string;
1183
- graphId: string;
1184
1184
  sourceAgentId: string;
1185
1185
  targetAgentId: string | null;
1186
1186
  externalAgentId: string | null;
@@ -1284,9 +1284,9 @@ declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1284
1284
  tenantId: string;
1285
1285
  projectId: string;
1286
1286
  id: string;
1287
+ graphId: string;
1287
1288
  createdAt: string;
1288
1289
  updatedAt: string;
1289
- graphId: string;
1290
1290
  sourceAgentId: string;
1291
1291
  targetAgentId: string | null;
1292
1292
  externalAgentId: string | null;
@@ -1306,9 +1306,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1306
1306
  tenantId: string;
1307
1307
  projectId: string;
1308
1308
  id: string;
1309
+ graphId: string;
1309
1310
  createdAt: string;
1310
1311
  updatedAt: string;
1311
- graphId: string;
1312
1312
  sourceAgentId: string;
1313
1313
  targetAgentId: string | null;
1314
1314
  externalAgentId: string | null;
@@ -1321,9 +1321,9 @@ declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1321
1321
  tenantId: string;
1322
1322
  projectId: string;
1323
1323
  id: string;
1324
+ graphId: string;
1324
1325
  createdAt: string;
1325
1326
  updatedAt: string;
1326
- graphId: string;
1327
1327
  sourceAgentId: string;
1328
1328
  targetAgentId: string | null;
1329
1329
  externalAgentId: string | null;
@@ -1333,9 +1333,9 @@ declare const createExternalAgentRelation: (db: DatabaseClient) => (params: Exte
1333
1333
  tenantId: string;
1334
1334
  projectId: string;
1335
1335
  id: string;
1336
+ graphId: string;
1336
1337
  createdAt: string;
1337
1338
  updatedAt: string;
1338
- graphId: string;
1339
1339
  sourceAgentId: string;
1340
1340
  targetAgentId: string | null;
1341
1341
  externalAgentId: string | null;
@@ -1349,9 +1349,9 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
1349
1349
  tenantId: string;
1350
1350
  projectId: string;
1351
1351
  id: string;
1352
+ graphId: string;
1352
1353
  createdAt: string;
1353
1354
  updatedAt: string;
1354
- graphId: string;
1355
1355
  sourceAgentId: string;
1356
1356
  targetAgentId: string | null;
1357
1357
  externalAgentId: string | null;
@@ -1574,11 +1574,12 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1574
1574
  scopes: ScopeConfig;
1575
1575
  agentId: string;
1576
1576
  }) => Promise<{
1577
- name: string;
1578
1577
  tenantId: string;
1579
1578
  projectId: string;
1580
1579
  id: string;
1580
+ name: string;
1581
1581
  description: string;
1582
+ prompt: string;
1582
1583
  createdAt: string;
1583
1584
  updatedAt: string;
1584
1585
  models: {
@@ -1598,17 +1599,17 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1598
1599
  stopWhen: {
1599
1600
  stepCountIs?: number;
1600
1601
  } | null;
1601
- prompt: string;
1602
1602
  conversationHistoryConfig: ConversationHistoryConfig | null;
1603
1603
  } | undefined>;
1604
1604
  declare const listAgents: (db: DatabaseClient) => (params: {
1605
1605
  scopes: ScopeConfig;
1606
1606
  }) => Promise<{
1607
- name: string;
1608
1607
  tenantId: string;
1609
1608
  projectId: string;
1610
1609
  id: string;
1610
+ name: string;
1611
1611
  description: string;
1612
+ prompt: string;
1612
1613
  createdAt: string;
1613
1614
  updatedAt: string;
1614
1615
  models: {
@@ -1628,7 +1629,6 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1628
1629
  stopWhen: {
1629
1630
  stepCountIs?: number;
1630
1631
  } | null;
1631
- prompt: string;
1632
1632
  conversationHistoryConfig: ConversationHistoryConfig | null;
1633
1633
  }[]>;
1634
1634
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
@@ -1671,11 +1671,12 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1671
1671
  };
1672
1672
  }>;
1673
1673
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1674
- name: string;
1675
1674
  tenantId: string;
1676
1675
  projectId: string;
1677
1676
  id: string;
1677
+ name: string;
1678
1678
  description: string;
1679
+ prompt: string;
1679
1680
  createdAt: string;
1680
1681
  updatedAt: string;
1681
1682
  models: {
@@ -1695,7 +1696,6 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1695
1696
  stopWhen: {
1696
1697
  stepCountIs?: number;
1697
1698
  } | null;
1698
- prompt: string;
1699
1699
  conversationHistoryConfig: ConversationHistoryConfig | null;
1700
1700
  }>;
1701
1701
  declare const updateAgent: (db: DatabaseClient) => (params: {
@@ -1703,11 +1703,12 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1703
1703
  agentId: string;
1704
1704
  data: AgentUpdate;
1705
1705
  }) => Promise<{
1706
- name: string;
1707
1706
  tenantId: string;
1708
1707
  projectId: string;
1709
1708
  id: string;
1709
+ name: string;
1710
1710
  description: string;
1711
+ prompt: string;
1711
1712
  createdAt: string;
1712
1713
  updatedAt: string;
1713
1714
  models: {
@@ -1727,7 +1728,6 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1727
1728
  stopWhen: {
1728
1729
  stepCountIs?: number;
1729
1730
  } | null;
1730
- prompt: string;
1731
1731
  conversationHistoryConfig: ConversationHistoryConfig | null;
1732
1732
  }>;
1733
1733
  /**
@@ -1792,27 +1792,27 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
1792
1792
  tenantId: string;
1793
1793
  projectId: string;
1794
1794
  id: string;
1795
- createdAt: string;
1796
- updatedAt: string;
1797
1795
  graphId: string;
1798
1796
  publicId: string;
1799
1797
  keyHash: string;
1800
1798
  keyPrefix: string;
1801
1799
  lastUsedAt: string | null;
1802
1800
  expiresAt: string | null;
1801
+ createdAt: string;
1802
+ updatedAt: string;
1803
1803
  } | undefined>;
1804
1804
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1805
1805
  tenantId: string;
1806
1806
  projectId: string;
1807
1807
  id: string;
1808
- createdAt: string;
1809
- updatedAt: string;
1810
1808
  graphId: string;
1811
1809
  publicId: string;
1812
1810
  keyHash: string;
1813
1811
  keyPrefix: string;
1814
1812
  lastUsedAt: string | null;
1815
1813
  expiresAt: string | null;
1814
+ createdAt: string;
1815
+ updatedAt: string;
1816
1816
  } | undefined>;
1817
1817
  declare const listApiKeys: (db: DatabaseClient) => (params: {
1818
1818
  scopes: ScopeConfig;
@@ -1821,14 +1821,14 @@ declare const listApiKeys: (db: DatabaseClient) => (params: {
1821
1821
  tenantId: string;
1822
1822
  projectId: string;
1823
1823
  id: string;
1824
- createdAt: string;
1825
- updatedAt: string;
1826
1824
  graphId: string;
1827
1825
  publicId: string;
1828
1826
  keyHash: string;
1829
1827
  keyPrefix: string;
1830
1828
  lastUsedAt: string | null;
1831
1829
  expiresAt: string | null;
1830
+ createdAt: string;
1831
+ updatedAt: string;
1832
1832
  }[]>;
1833
1833
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1834
1834
  scopes: ScopeConfig;
@@ -1847,14 +1847,14 @@ declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Pr
1847
1847
  tenantId: string;
1848
1848
  projectId: string;
1849
1849
  id: string;
1850
- createdAt: string;
1851
- updatedAt: string;
1852
1850
  graphId: string;
1853
1851
  publicId: string;
1854
1852
  keyHash: string;
1855
1853
  keyPrefix: string;
1856
1854
  lastUsedAt: string | null;
1857
1855
  expiresAt: string | null;
1856
+ createdAt: string;
1857
+ updatedAt: string;
1858
1858
  }>;
1859
1859
  declare const updateApiKey: (db: DatabaseClient) => (params: {
1860
1860
  scopes: ScopeConfig;
@@ -1864,14 +1864,14 @@ declare const updateApiKey: (db: DatabaseClient) => (params: {
1864
1864
  tenantId: string;
1865
1865
  projectId: string;
1866
1866
  id: string;
1867
- createdAt: string;
1868
- updatedAt: string;
1869
1867
  graphId: string;
1870
1868
  publicId: string;
1871
1869
  keyHash: string;
1872
1870
  keyPrefix: string;
1873
1871
  lastUsedAt: string | null;
1874
1872
  expiresAt: string | null;
1873
+ createdAt: string;
1874
+ updatedAt: string;
1875
1875
  }>;
1876
1876
  declare const deleteApiKey: (db: DatabaseClient) => (params: {
1877
1877
  scopes: ScopeConfig;
@@ -1900,10 +1900,10 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1900
1900
  scopes: ScopeConfig;
1901
1901
  id: string;
1902
1902
  }) => Promise<{
1903
- name: string;
1904
1903
  tenantId: string;
1905
1904
  projectId: string;
1906
1905
  id: string;
1906
+ name: string;
1907
1907
  description: string;
1908
1908
  createdAt: string;
1909
1909
  updatedAt: string;
@@ -1936,10 +1936,10 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
1936
1936
  };
1937
1937
  }>;
1938
1938
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
1939
- name: string;
1940
1939
  tenantId: string;
1941
1940
  projectId: string;
1942
1941
  id: string;
1942
+ name: string;
1943
1943
  description: string;
1944
1944
  createdAt: string;
1945
1945
  updatedAt: string;
@@ -1951,10 +1951,10 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
1951
1951
  id: string;
1952
1952
  data: ArtifactComponentUpdate;
1953
1953
  }) => Promise<{
1954
- name: string;
1955
1954
  tenantId: string;
1956
1955
  projectId: string;
1957
1956
  id: string;
1957
+ name: string;
1958
1958
  description: string;
1959
1959
  createdAt: string;
1960
1960
  updatedAt: string;
@@ -2114,28 +2114,28 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2114
2114
  scopes: ScopeConfig;
2115
2115
  id: string;
2116
2116
  }) => Promise<{
2117
- name: string;
2118
2117
  tenantId: string;
2119
2118
  projectId: string;
2120
2119
  id: string;
2120
+ name: string;
2121
2121
  description: string;
2122
- requestContextSchema: unknown;
2123
- contextVariables: Record<string, ContextFetchDefinition> | null;
2124
2122
  createdAt: string;
2125
2123
  updatedAt: string;
2124
+ requestContextSchema: unknown;
2125
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2126
2126
  } | undefined>;
2127
2127
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2128
2128
  scopes: ScopeConfig;
2129
2129
  }) => Promise<{
2130
- name: string;
2131
2130
  tenantId: string;
2132
2131
  projectId: string;
2133
2132
  id: string;
2133
+ name: string;
2134
2134
  description: string;
2135
- requestContextSchema: unknown;
2136
- contextVariables: Record<string, ContextFetchDefinition> | null;
2137
2135
  createdAt: string;
2138
2136
  updatedAt: string;
2137
+ requestContextSchema: unknown;
2138
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2139
2139
  }[]>;
2140
2140
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2141
2141
  scopes: ScopeConfig;
@@ -2150,30 +2150,30 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2150
2150
  };
2151
2151
  }>;
2152
2152
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
2153
- name: string;
2154
2153
  tenantId: string;
2155
2154
  projectId: string;
2156
2155
  id: string;
2156
+ name: string;
2157
2157
  description: string;
2158
- requestContextSchema: unknown;
2159
- contextVariables: Record<string, ContextFetchDefinition> | null;
2160
2158
  createdAt: string;
2161
2159
  updatedAt: string;
2160
+ requestContextSchema: unknown;
2161
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2162
2162
  }>;
2163
2163
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
2164
2164
  scopes: ScopeConfig;
2165
2165
  id: string;
2166
2166
  data: Partial<ContextConfigUpdate>;
2167
2167
  }) => Promise<{
2168
- name: string;
2169
2168
  tenantId: string;
2170
2169
  projectId: string;
2171
2170
  id: string;
2171
+ name: string;
2172
2172
  description: string;
2173
- requestContextSchema: unknown;
2174
- contextVariables: Record<string, ContextFetchDefinition> | null;
2175
2173
  createdAt: string;
2176
2174
  updatedAt: string;
2175
+ requestContextSchema: unknown;
2176
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2177
2177
  }>;
2178
2178
  declare const deleteContextConfig: (db: DatabaseClient) => (params: {
2179
2179
  scopes: ScopeConfig;
@@ -2190,15 +2190,15 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2190
2190
  scopes: ScopeConfig;
2191
2191
  name: string;
2192
2192
  }) => Promise<{
2193
- name: string;
2194
2193
  tenantId: string;
2195
2194
  projectId: string;
2196
2195
  id: string;
2196
+ name: string;
2197
2197
  description: string;
2198
- requestContextSchema: unknown;
2199
- contextVariables: Record<string, ContextFetchDefinition> | null;
2200
2198
  createdAt: string;
2201
2199
  updatedAt: string;
2200
+ requestContextSchema: unknown;
2201
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2202
2202
  }[]>;
2203
2203
  /**
2204
2204
  * Upsert a context config (create if it doesn't exist, update if it does)
@@ -2206,15 +2206,15 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2206
2206
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
2207
2207
  data: ContextConfigInsert;
2208
2208
  }) => Promise<{
2209
- name: string;
2210
2209
  tenantId: string;
2211
2210
  projectId: string;
2212
2211
  id: string;
2212
+ name: string;
2213
2213
  description: string;
2214
- requestContextSchema: unknown;
2215
- contextVariables: Record<string, ContextFetchDefinition> | null;
2216
2214
  createdAt: string;
2217
2215
  updatedAt: string;
2216
+ requestContextSchema: unknown;
2217
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2218
2218
  }>;
2219
2219
 
2220
2220
  declare const listConversations: (db: DatabaseClient) => (params: {
@@ -2226,12 +2226,12 @@ declare const listConversations: (db: DatabaseClient) => (params: {
2226
2226
  total: number;
2227
2227
  }>;
2228
2228
  declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
2229
- metadata: ConversationMetadata | null;
2230
2229
  tenantId: string;
2231
2230
  projectId: string;
2232
2231
  id: string;
2233
2232
  createdAt: string;
2234
2233
  updatedAt: string;
2234
+ metadata: ConversationMetadata | null;
2235
2235
  title: string | null;
2236
2236
  userId: string | null;
2237
2237
  activeAgentId: string;
@@ -2242,12 +2242,12 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
2242
2242
  conversationId: string;
2243
2243
  data: ConversationUpdate;
2244
2244
  }) => Promise<{
2245
- metadata: ConversationMetadata | null;
2246
2245
  tenantId: string;
2247
2246
  projectId: string;
2248
2247
  id: string;
2249
2248
  createdAt: string;
2250
2249
  updatedAt: string;
2250
+ metadata: ConversationMetadata | null;
2251
2251
  title: string | null;
2252
2252
  userId: string | null;
2253
2253
  activeAgentId: string;
@@ -2262,12 +2262,12 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
2262
2262
  conversationId: string;
2263
2263
  activeAgentId: string;
2264
2264
  }) => Promise<{
2265
- metadata: ConversationMetadata | null;
2266
2265
  tenantId: string;
2267
2266
  projectId: string;
2268
2267
  id: string;
2269
2268
  createdAt: string;
2270
2269
  updatedAt: string;
2270
+ metadata: ConversationMetadata | null;
2271
2271
  title: string | null;
2272
2272
  userId: string | null;
2273
2273
  activeAgentId: string;
@@ -2277,12 +2277,12 @@ declare const getConversation: (db: DatabaseClient) => (params: {
2277
2277
  scopes: ScopeConfig;
2278
2278
  conversationId: string;
2279
2279
  }) => Promise<{
2280
- metadata: ConversationMetadata | null;
2281
2280
  tenantId: string;
2282
2281
  projectId: string;
2283
2282
  id: string;
2284
2283
  createdAt: string;
2285
2284
  updatedAt: string;
2285
+ metadata: ConversationMetadata | null;
2286
2286
  title: string | null;
2287
2287
  userId: string | null;
2288
2288
  activeAgentId: string;
@@ -2315,12 +2315,12 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
2315
2315
  scopes: ScopeConfig;
2316
2316
  conversationId: string;
2317
2317
  }) => Promise<{
2318
- metadata: ConversationMetadata | null;
2319
2318
  tenantId: string;
2320
2319
  projectId: string;
2321
2320
  id: string;
2322
2321
  createdAt: string;
2323
2322
  updatedAt: string;
2323
+ metadata: ConversationMetadata | null;
2324
2324
  title: string | null;
2325
2325
  userId: string | null;
2326
2326
  activeAgentId: string;
@@ -2712,12 +2712,12 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
2712
2712
  scopes: ScopeConfig;
2713
2713
  messageId: string;
2714
2714
  }) => Promise<{
2715
- metadata: MessageMetadata | null;
2716
2715
  tenantId: string;
2717
2716
  projectId: string;
2718
2717
  id: string;
2719
2718
  createdAt: string;
2720
2719
  updatedAt: string;
2720
+ metadata: MessageMetadata | null;
2721
2721
  role: string;
2722
2722
  content: MessageContent;
2723
2723
  conversationId: string;
@@ -2838,12 +2838,12 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2838
2838
  updatedAt: string;
2839
2839
  }[]>;
2840
2840
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
2841
- metadata: MessageMetadata | null;
2842
2841
  tenantId: string;
2843
2842
  projectId: string;
2844
2843
  id: string;
2845
2844
  createdAt: string;
2846
2845
  updatedAt: string;
2846
+ metadata: MessageMetadata | null;
2847
2847
  role: string;
2848
2848
  content: MessageContent;
2849
2849
  conversationId: string;
@@ -2864,12 +2864,12 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
2864
2864
  messageId: string;
2865
2865
  data: MessageUpdate;
2866
2866
  }) => Promise<{
2867
- metadata: MessageMetadata | null;
2868
2867
  tenantId: string;
2869
2868
  projectId: string;
2870
2869
  id: string;
2871
2870
  createdAt: string;
2872
2871
  updatedAt: string;
2872
+ metadata: MessageMetadata | null;
2873
2873
  role: string;
2874
2874
  content: MessageContent;
2875
2875
  conversationId: string;
@@ -2889,12 +2889,12 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
2889
2889
  scopes: ScopeConfig;
2890
2890
  messageId: string;
2891
2891
  }) => Promise<{
2892
- metadata: MessageMetadata | null;
2893
2892
  tenantId: string;
2894
2893
  projectId: string;
2895
2894
  id: string;
2896
2895
  createdAt: string;
2897
2896
  updatedAt: string;
2897
+ metadata: MessageMetadata | null;
2898
2898
  role: string;
2899
2899
  content: MessageContent;
2900
2900
  conversationId: string;
@@ -2980,12 +2980,12 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
2980
2980
  }) => Promise<boolean>;
2981
2981
 
2982
2982
  declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
2983
- metadata: TaskMetadataConfig | null;
2984
2983
  tenantId: string;
2985
2984
  projectId: string;
2986
2985
  id: string;
2987
2986
  createdAt: string;
2988
2987
  updatedAt: string;
2988
+ metadata: TaskMetadataConfig | null;
2989
2989
  status: string;
2990
2990
  contextId: string;
2991
2991
  agentId: string;
@@ -3000,12 +3000,12 @@ declare const updateTask: (db: DatabaseClient) => (params: {
3000
3000
  metadata?: any;
3001
3001
  };
3002
3002
  }) => Promise<{
3003
- metadata: TaskMetadataConfig | null;
3004
3003
  tenantId: string;
3005
3004
  projectId: string;
3006
3005
  id: string;
3007
3006
  createdAt: string;
3008
3007
  updatedAt: string;
3008
+ metadata: TaskMetadataConfig | null;
3009
3009
  status: string;
3010
3010
  contextId: string;
3011
3011
  agentId: string;
@@ -3019,20 +3019,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3019
3019
  scopes: ScopeConfig;
3020
3020
  toolId: string;
3021
3021
  }) => Promise<{
3022
- name: string;
3023
- headers: Record<string, string> | null;
3024
3022
  tenantId: string;
3025
3023
  projectId: string;
3026
3024
  id: string;
3027
- createdAt: string;
3028
- updatedAt: string;
3029
- status: string;
3030
- capabilities: ToolServerCapabilities | null;
3025
+ name: string;
3031
3026
  config: {
3032
3027
  type: "mcp";
3033
3028
  mcp: ToolMcpConfig;
3034
3029
  };
3035
3030
  credentialReferenceId: string | null;
3031
+ createdAt: string;
3032
+ updatedAt: string;
3033
+ headers: Record<string, string> | null;
3034
+ status: string;
3035
+ capabilities: ToolServerCapabilities | null;
3036
3036
  imageUrl: string | null;
3037
3037
  lastHealthCheck: string | null;
3038
3038
  lastError: string | null;
@@ -3099,20 +3099,20 @@ declare const listToolsByStatus: (db: DatabaseClient) => (params: {
3099
3099
  scopes: ScopeConfig;
3100
3100
  status: McpToolStatus;
3101
3101
  }) => Promise<{
3102
- name: string;
3103
- headers: Record<string, string> | null;
3104
3102
  tenantId: string;
3105
3103
  projectId: string;
3106
3104
  id: string;
3107
- createdAt: string;
3108
- updatedAt: string;
3109
- status: string;
3110
- capabilities: ToolServerCapabilities | null;
3105
+ name: string;
3111
3106
  config: {
3112
3107
  type: "mcp";
3113
3108
  mcp: ToolMcpConfig;
3114
3109
  };
3115
3110
  credentialReferenceId: string | null;
3111
+ createdAt: string;
3112
+ updatedAt: string;
3113
+ headers: Record<string, string> | null;
3114
+ status: string;
3115
+ capabilities: ToolServerCapabilities | null;
3116
3116
  imageUrl: string | null;
3117
3117
  lastHealthCheck: string | null;
3118
3118
  lastError: string | null;
@@ -3120,20 +3120,20 @@ declare const listToolsByStatus: (db: DatabaseClient) => (params: {
3120
3120
  lastToolsSync: string | null;
3121
3121
  }[]>;
3122
3122
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3123
- name: string;
3124
- headers: Record<string, string> | null;
3125
3123
  tenantId: string;
3126
3124
  projectId: string;
3127
3125
  id: string;
3128
- createdAt: string;
3129
- updatedAt: string;
3130
- status: string;
3131
- capabilities: ToolServerCapabilities | null;
3126
+ name: string;
3132
3127
  config: {
3133
3128
  type: "mcp";
3134
3129
  mcp: ToolMcpConfig;
3135
3130
  };
3136
3131
  credentialReferenceId: string | null;
3132
+ createdAt: string;
3133
+ updatedAt: string;
3134
+ headers: Record<string, string> | null;
3135
+ status: string;
3136
+ capabilities: ToolServerCapabilities | null;
3137
3137
  imageUrl: string | null;
3138
3138
  lastHealthCheck: string | null;
3139
3139
  lastError: string | null;
@@ -3145,20 +3145,20 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3145
3145
  toolId: string;
3146
3146
  data: ToolUpdate;
3147
3147
  }) => Promise<{
3148
- name: string;
3149
- headers: Record<string, string> | null;
3150
3148
  tenantId: string;
3151
3149
  projectId: string;
3152
3150
  id: string;
3153
- createdAt: string;
3154
- updatedAt: string;
3155
- status: string;
3156
- capabilities: ToolServerCapabilities | null;
3151
+ name: string;
3157
3152
  config: {
3158
3153
  type: "mcp";
3159
3154
  mcp: ToolMcpConfig;
3160
3155
  };
3161
3156
  credentialReferenceId: string | null;
3157
+ createdAt: string;
3158
+ updatedAt: string;
3159
+ headers: Record<string, string> | null;
3160
+ status: string;
3161
+ capabilities: ToolServerCapabilities | null;
3162
3162
  imageUrl: string | null;
3163
3163
  lastHealthCheck: string | null;
3164
3164
  lastError: string | null;
@@ -3218,20 +3218,20 @@ declare const updateToolStatus: (db: DatabaseClient) => (params: {
3218
3218
  lastHealthCheck?: string;
3219
3219
  lastError?: string;
3220
3220
  }) => Promise<{
3221
- name: string;
3222
- headers: Record<string, string> | null;
3223
3221
  tenantId: string;
3224
3222
  projectId: string;
3225
3223
  id: string;
3226
- createdAt: string;
3227
- updatedAt: string;
3228
- status: string;
3229
- capabilities: ToolServerCapabilities | null;
3224
+ name: string;
3230
3225
  config: {
3231
3226
  type: "mcp";
3232
3227
  mcp: ToolMcpConfig;
3233
3228
  };
3234
3229
  credentialReferenceId: string | null;
3230
+ createdAt: string;
3231
+ updatedAt: string;
3232
+ headers: Record<string, string> | null;
3233
+ status: string;
3234
+ capabilities: ToolServerCapabilities | null;
3235
3235
  imageUrl: string | null;
3236
3236
  lastHealthCheck: string | null;
3237
3237
  lastError: string | null;
@@ -3244,20 +3244,20 @@ declare const updateToolStatus: (db: DatabaseClient) => (params: {
3244
3244
  declare const upsertTool: (db: DatabaseClient) => (params: {
3245
3245
  data: ToolInsert;
3246
3246
  }) => Promise<{
3247
- name: string;
3248
- headers: Record<string, string> | null;
3249
3247
  tenantId: string;
3250
3248
  projectId: string;
3251
3249
  id: string;
3252
- createdAt: string;
3253
- updatedAt: string;
3254
- status: string;
3255
- capabilities: ToolServerCapabilities | null;
3250
+ name: string;
3256
3251
  config: {
3257
3252
  type: "mcp";
3258
3253
  mcp: ToolMcpConfig;
3259
3254
  };
3260
3255
  credentialReferenceId: string | null;
3256
+ createdAt: string;
3257
+ updatedAt: string;
3258
+ headers: Record<string, string> | null;
3259
+ status: string;
3260
+ capabilities: ToolServerCapabilities | null;
3261
3261
  imageUrl: string | null;
3262
3262
  lastHealthCheck: string | null;
3263
3263
  lastError: string | null;