@inkeep/agents-core 0.0.0-dev-20250911000146 → 0.0.0-dev-20250911002844

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/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-yHYR8Oc6.cjs';
3
- export { aV as A2AError, bp as A2ARequest, bq as A2AResponse, au as APIKeySecurityScheme, bu as AgentApiInsert, dh as AgentApiInsertSchema, bt as AgentApiSelect, dg as AgentApiSelectSchema, bv as AgentApiUpdate, di as AgentApiUpdateSchema, cm as AgentArtifactComponentApiInsert, et as AgentArtifactComponentApiInsertSchema, cl as AgentArtifactComponentApiSelect, es as AgentArtifactComponentApiSelectSchema, cn as AgentArtifactComponentApiUpdate, eu as AgentArtifactComponentApiUpdateSchema, cj as AgentArtifactComponentInsert, eq as AgentArtifactComponentInsertSchema, ci as AgentArtifactComponentSelect, ep as AgentArtifactComponentSelectSchema, ck as AgentArtifactComponentUpdate, er as AgentArtifactComponentUpdateSchema, aq as AgentCapabilities, aE as AgentCard, cZ as AgentConversationHistoryConfig, cd as AgentDataComponentApiInsert, eh as AgentDataComponentApiInsertSchema, cc as AgentDataComponentApiSelect, eg as AgentDataComponentApiSelectSchema, ce as AgentDataComponentApiUpdate, ei as AgentDataComponentApiUpdateSchema, ca as AgentDataComponentInsert, ee as AgentDataComponentInsertSchema, c9 as AgentDataComponentSelect, ed as AgentDataComponentSelectSchema, cb as AgentDataComponentUpdate, ef as AgentDataComponentUpdateSchema, cL as AgentDefinition, bE as AgentGraphApiInsert, dx as AgentGraphApiInsertSchema, bD as AgentGraphApiSelect, dw as AgentGraphApiSelectSchema, bF as AgentGraphApiUpdate, dy as AgentGraphApiUpdateSchema, du as AgentGraphInsertSchema, bC as AgentGraphSelect, dt as AgentGraphSelectSchema, dv as AgentGraphUpdateSchema, de as AgentInsertSchema, ar as AgentProvider, by as AgentRelationApiInsert, dn as AgentRelationApiInsertSchema, bx as AgentRelationApiSelect, dm as AgentRelationApiSelectSchema, bz as AgentRelationApiUpdate, dp as AgentRelationApiUpdateSchema, dk as AgentRelationInsertSchema, bA as AgentRelationQuery, dq as AgentRelationQuerySchema, bw as AgentRelationSelect, dj as AgentRelationSelectSchema, dl as AgentRelationUpdateSchema, dd as AgentSelectSchema, as as AgentSkill, cC as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cB as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cD as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cA as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cz as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, df as AgentUpdateSchema, eB as AllAgentSchema, cr as AllAgentSelect, cv as ApiKeyApiCreationResponse, eG as ApiKeyApiCreationResponseSchema, ct as ApiKeyApiInsert, eH as ApiKeyApiInsertSchema, cs as ApiKeyApiSelect, eF as ApiKeyApiSelectSchema, cu as ApiKeyApiUpdate, eI as ApiKeyApiUpdateSchema, eD as ApiKeyInsertSchema, eC as ApiKeySelectSchema, eE as ApiKeyUpdateSchema, cg as ArtifactComponentApiInsert, en as ArtifactComponentApiInsertSchema, cf as ArtifactComponentApiSelect, em as ArtifactComponentApiSelectSchema, ch as ArtifactComponentApiUpdate, eo as ArtifactComponentApiUpdateSchema, ek as ArtifactComponentInsertSchema, ej as ArtifactComponentSelectSchema, el as ArtifactComponentUpdateSchema, ax as AuthorizationCodeOAuthFlow, b9 as CancelTaskRequest, bk as CancelTaskResponse, bj as CancelTaskSuccessResponse, ay as ClientCredentialsOAuthFlow, aT as ContentTypeNotSupportedError, c4 as ContextCacheApiInsert, e4 as ContextCacheApiInsertSchema, c3 as ContextCacheApiSelect, e3 as ContextCacheApiSelectSchema, c5 as ContextCacheApiUpdate, e5 as ContextCacheApiUpdateSchema, c_ as ContextCacheEntry, e1 as ContextCacheInsertSchema, e0 as ContextCacheSelectSchema, c2 as ContextCacheUpdate, e2 as ContextCacheUpdateSchema, b$ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, b_ as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, c0 as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bU as ConversationApiInsert, dU as ConversationApiInsertSchema, bT as ConversationApiSelect, dT as ConversationApiSelectSchema, bV as ConversationApiUpdate, dV as ConversationApiUpdateSchema, dR as ConversationInsertSchema, cY as ConversationScopeOptions, dQ as ConversationSelectSchema, dS as ConversationUpdateSchema, cx as CredentialReferenceApiInsert, eN as CredentialReferenceApiInsertSchema, cw as CredentialReferenceApiSelect, eM as CredentialReferenceApiSelectSchema, cy as CredentialReferenceApiUpdate, eO as CredentialReferenceApiUpdateSchema, eK as CredentialReferenceInsertSchema, eJ as CredentialReferenceSelectSchema, eL as CredentialReferenceUpdateSchema, c7 as DataComponentApiInsert, eb as DataComponentApiInsertSchema, c6 as DataComponentApiSelect, ea as DataComponentApiSelectSchema, c8 as DataComponentApiUpdate, ec as DataComponentApiUpdateSchema, e8 as DataComponentBaseSchema, e7 as DataComponentInsertSchema, e6 as DataComponentSelectSchema, e9 as DataComponentUpdateSchema, ao as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, cp as ExternalAgentApiInsert, ez as ExternalAgentApiInsertSchema, co as ExternalAgentApiSelect, ey as ExternalAgentApiSelectSchema, cq as ExternalAgentApiUpdate, eA as ExternalAgentApiUpdateSchema, ew as ExternalAgentInsertSchema, bB as ExternalAgentRelationApiInsert, ds as ExternalAgentRelationApiInsertSchema, dr as ExternalAgentRelationInsertSchema, ev as ExternalAgentSelectSchema, ex as ExternalAgentUpdateSchema, c1 as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ak as FileBase, an as FilePart, al as FileWithBytes, am as FileWithUri, cJ as FullGraphAgentInsert, ff as FullGraphAgentInsertSchema, fg as FullGraphDefinitionSchema, bb as GetTaskPushNotificationConfigRequest, bo as GetTaskPushNotificationConfigResponse, bn as GetTaskPushNotificationConfigSuccessResponse, b8 as GetTaskRequest, bi as GetTaskResponse, bh as GetTaskSuccessResponse, av as HTTPAuthSecurityScheme, ft as HeadersScopeSchema, fy 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, fb as LedgerArtifactApiInsertSchema, cG as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cI as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cE as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cF as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d8 as MAX_ID_LENGTH, d6 as MCPServerType, eQ as MCPToolConfigSchema, d7 as MIN_ID_LENGTH, c$ as McpAuthType, d0 as McpServerAuth, d2 as McpServerCapabilities, dN as McpToolDefinitionSchema, eP as McpToolSchema, d1 as McpTransportConfig, dL as McpTransportConfigSchema, aF as Message, bY as MessageApiInsert, d_ as MessageApiInsertSchema, bX as MessageApiSelect, dZ as MessageApiSelectSchema, bZ as MessageApiUpdate, d$ as MessageApiUpdateSchema, dX as MessageInsertSchema, cT as MessageMode, br as MessagePart, cS as MessageRole, bW as MessageSelect, dW as MessageSelectSchema, a$ as MessageSendConfiguration, b0 as MessageSendParams, cR as MessageType, dY as MessageUpdateSchema, aM as MethodNotFoundError, dc as ModelSchema, cV as ModelSettings, db as ModelSettingsSchema, cU as Models, aB as OAuth2SecurityScheme, aw as OAuthFlows, aC as OpenIdConnectSecurityScheme, cQ as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ai as PartBase, aA as PasswordOAuthFlow, cO as ProjectApiInsert, fr as ProjectApiInsertSchema, cN as ProjectApiSelect, fq as ProjectApiSelectSchema, cP as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, fn as ProjectSelectSchema, fp as ProjectUpdateSchema, aW as PushNotificationAuthenticationInfo, aX as PushNotificationConfig, aR as PushNotificationNotSupportedError, fm 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, fj as SingleResponseSchema, cX as StatusComponent, fd as StatusComponentSchema, fe as StatusUpdateSchema, cW as StatusUpdateSettings, d4 as TOOL_STATUS_VALUES, aH as Task, bI as TaskApiInsert, dD as TaskApiInsertSchema, bH as TaskApiSelect, dC as TaskApiSelectSchema, bJ as TaskApiUpdate, dE as TaskApiUpdateSchema, bs as TaskArtifact, aJ as TaskArtifactUpdateEvent, aZ as TaskIdParams, dA as TaskInsertSchema, aQ as TaskNotCancelableError, aP as TaskNotFoundError, aY as TaskPushNotificationConfig, a_ as TaskQueryParams, bO as TaskRelationApiInsert, dJ as TaskRelationApiInsertSchema, bN as TaskRelationApiSelect, dI as TaskRelationApiSelectSchema, bP as TaskRelationApiUpdate, dK as TaskRelationApiUpdateSchema, bL as TaskRelationInsert, dG as TaskRelationInsertSchema, bK as TaskRelationSelect, dF as TaskRelationSelectSchema, bM as TaskRelationUpdate, dH as TaskRelationUpdateSchema, bc as TaskResubscriptionRequest, dz as TaskSelectSchema, ap as TaskState, aG as TaskStatus, aI as TaskStatusUpdateEvent, bG as TaskUpdate, dB as TaskUpdateSchema, fx as TenantIdParamsSchema, fu as TenantParamsSchema, fw as TenantProjectIdParamsSchema, fv as TenantProjectParamsSchema, aj as TextPart, bR as ToolApiInsert, eT as ToolApiInsertSchema, bQ as ToolApiSelect, eS as ToolApiSelectSchema, bS as ToolApiUpdate, eU as ToolApiUpdateSchema, cM as ToolDefinition, dP as ToolInsertSchema, dO as ToolSelectSchema, dM as ToolStatusSchema, eR as ToolUpdateSchema, d9 as URL_SAFE_ID_PATTERN, aS as UnsupportedOperationError, d5 as VALID_RELATION_TYPES, da as resourceIdSchema, d3 as toolStatus } from './entities-yHYR8Oc6.cjs';
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-BL89ULjV.cjs';
3
+ export { aV as A2AError, bp as A2ARequest, bq as A2AResponse, au as APIKeySecurityScheme, bu as AgentApiInsert, dh as AgentApiInsertSchema, bt as AgentApiSelect, dg as AgentApiSelectSchema, bv as AgentApiUpdate, di as AgentApiUpdateSchema, cm as AgentArtifactComponentApiInsert, et as AgentArtifactComponentApiInsertSchema, cl as AgentArtifactComponentApiSelect, es as AgentArtifactComponentApiSelectSchema, cn as AgentArtifactComponentApiUpdate, eu as AgentArtifactComponentApiUpdateSchema, cj as AgentArtifactComponentInsert, eq as AgentArtifactComponentInsertSchema, ci as AgentArtifactComponentSelect, ep as AgentArtifactComponentSelectSchema, ck as AgentArtifactComponentUpdate, er as AgentArtifactComponentUpdateSchema, aq as AgentCapabilities, aE as AgentCard, cZ as AgentConversationHistoryConfig, cd as AgentDataComponentApiInsert, eh as AgentDataComponentApiInsertSchema, cc as AgentDataComponentApiSelect, eg as AgentDataComponentApiSelectSchema, ce as AgentDataComponentApiUpdate, ei as AgentDataComponentApiUpdateSchema, ca as AgentDataComponentInsert, ee as AgentDataComponentInsertSchema, c9 as AgentDataComponentSelect, ed as AgentDataComponentSelectSchema, cb as AgentDataComponentUpdate, ef as AgentDataComponentUpdateSchema, cL as AgentDefinition, bE as AgentGraphApiInsert, dx as AgentGraphApiInsertSchema, bD as AgentGraphApiSelect, dw as AgentGraphApiSelectSchema, bF as AgentGraphApiUpdate, dy as AgentGraphApiUpdateSchema, du as AgentGraphInsertSchema, bC as AgentGraphSelect, dt as AgentGraphSelectSchema, dv as AgentGraphUpdateSchema, de as AgentInsertSchema, ar as AgentProvider, by as AgentRelationApiInsert, dn as AgentRelationApiInsertSchema, bx as AgentRelationApiSelect, dm as AgentRelationApiSelectSchema, bz as AgentRelationApiUpdate, dp as AgentRelationApiUpdateSchema, dk as AgentRelationInsertSchema, bA as AgentRelationQuery, dq as AgentRelationQuerySchema, bw as AgentRelationSelect, dj as AgentRelationSelectSchema, dl as AgentRelationUpdateSchema, dd as AgentSelectSchema, as as AgentSkill, cC as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cB as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cD as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cA as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cz as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, df as AgentUpdateSchema, eB as AllAgentSchema, cr as AllAgentSelect, cv as ApiKeyApiCreationResponse, eG as ApiKeyApiCreationResponseSchema, ct as ApiKeyApiInsert, eH as ApiKeyApiInsertSchema, cs as ApiKeyApiSelect, eF as ApiKeyApiSelectSchema, cu as ApiKeyApiUpdate, eI as ApiKeyApiUpdateSchema, eD as ApiKeyInsertSchema, eC as ApiKeySelectSchema, eE as ApiKeyUpdateSchema, cg as ArtifactComponentApiInsert, en as ArtifactComponentApiInsertSchema, cf as ArtifactComponentApiSelect, em as ArtifactComponentApiSelectSchema, ch as ArtifactComponentApiUpdate, eo as ArtifactComponentApiUpdateSchema, ek as ArtifactComponentInsertSchema, ej as ArtifactComponentSelectSchema, el as ArtifactComponentUpdateSchema, ax as AuthorizationCodeOAuthFlow, b9 as CancelTaskRequest, bk as CancelTaskResponse, bj as CancelTaskSuccessResponse, ay as ClientCredentialsOAuthFlow, aT as ContentTypeNotSupportedError, c4 as ContextCacheApiInsert, e4 as ContextCacheApiInsertSchema, c3 as ContextCacheApiSelect, e3 as ContextCacheApiSelectSchema, c5 as ContextCacheApiUpdate, e5 as ContextCacheApiUpdateSchema, c_ as ContextCacheEntry, e1 as ContextCacheInsertSchema, e0 as ContextCacheSelectSchema, c2 as ContextCacheUpdate, e2 as ContextCacheUpdateSchema, b$ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, b_ as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, c0 as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bU as ConversationApiInsert, dU as ConversationApiInsertSchema, bT as ConversationApiSelect, dT as ConversationApiSelectSchema, bV as ConversationApiUpdate, dV as ConversationApiUpdateSchema, dR as ConversationInsertSchema, cY as ConversationScopeOptions, dQ as ConversationSelectSchema, dS as ConversationUpdateSchema, cx as CredentialReferenceApiInsert, eN as CredentialReferenceApiInsertSchema, cw as CredentialReferenceApiSelect, eM as CredentialReferenceApiSelectSchema, cy as CredentialReferenceApiUpdate, eO as CredentialReferenceApiUpdateSchema, eK as CredentialReferenceInsertSchema, eJ as CredentialReferenceSelectSchema, eL as CredentialReferenceUpdateSchema, c7 as DataComponentApiInsert, eb as DataComponentApiInsertSchema, c6 as DataComponentApiSelect, ea as DataComponentApiSelectSchema, c8 as DataComponentApiUpdate, ec as DataComponentApiUpdateSchema, e8 as DataComponentBaseSchema, e7 as DataComponentInsertSchema, e6 as DataComponentSelectSchema, e9 as DataComponentUpdateSchema, ao as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, cp as ExternalAgentApiInsert, ez as ExternalAgentApiInsertSchema, co as ExternalAgentApiSelect, ey as ExternalAgentApiSelectSchema, cq as ExternalAgentApiUpdate, eA as ExternalAgentApiUpdateSchema, ew as ExternalAgentInsertSchema, bB as ExternalAgentRelationApiInsert, ds as ExternalAgentRelationApiInsertSchema, dr as ExternalAgentRelationInsertSchema, ev as ExternalAgentSelectSchema, ex as ExternalAgentUpdateSchema, c1 as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ak as FileBase, an as FilePart, al as FileWithBytes, am as FileWithUri, cJ as FullGraphAgentInsert, ff as FullGraphAgentInsertSchema, fg as FullGraphDefinitionSchema, bb as GetTaskPushNotificationConfigRequest, bo as GetTaskPushNotificationConfigResponse, bn as GetTaskPushNotificationConfigSuccessResponse, b8 as GetTaskRequest, bi as GetTaskResponse, bh as GetTaskSuccessResponse, av as HTTPAuthSecurityScheme, ft as HeadersScopeSchema, fy 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, fb as LedgerArtifactApiInsertSchema, cG as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cI as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cE as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cF as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d8 as MAX_ID_LENGTH, d6 as MCPServerType, eQ as MCPToolConfigSchema, d7 as MIN_ID_LENGTH, c$ as McpAuthType, d0 as McpServerAuth, d2 as McpServerCapabilities, dN as McpToolDefinitionSchema, eP as McpToolSchema, d1 as McpTransportConfig, dL as McpTransportConfigSchema, aF as Message, bY as MessageApiInsert, d_ as MessageApiInsertSchema, bX as MessageApiSelect, dZ as MessageApiSelectSchema, bZ as MessageApiUpdate, d$ as MessageApiUpdateSchema, dX as MessageInsertSchema, cT as MessageMode, br as MessagePart, cS as MessageRole, bW as MessageSelect, dW as MessageSelectSchema, a$ as MessageSendConfiguration, b0 as MessageSendParams, cR as MessageType, dY as MessageUpdateSchema, aM as MethodNotFoundError, dc as ModelSchema, cV as ModelSettings, db as ModelSettingsSchema, cU as Models, aB as OAuth2SecurityScheme, aw as OAuthFlows, aC as OpenIdConnectSecurityScheme, cQ as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ai as PartBase, aA as PasswordOAuthFlow, cO as ProjectApiInsert, fr as ProjectApiInsertSchema, cN as ProjectApiSelect, fq as ProjectApiSelectSchema, cP as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, fn as ProjectSelectSchema, fp as ProjectUpdateSchema, aW as PushNotificationAuthenticationInfo, aX as PushNotificationConfig, aR as PushNotificationNotSupportedError, fm 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, fj as SingleResponseSchema, cX as StatusComponent, fd as StatusComponentSchema, fe as StatusUpdateSchema, cW as StatusUpdateSettings, d4 as TOOL_STATUS_VALUES, aH as Task, bI as TaskApiInsert, dD as TaskApiInsertSchema, bH as TaskApiSelect, dC as TaskApiSelectSchema, bJ as TaskApiUpdate, dE as TaskApiUpdateSchema, bs as TaskArtifact, aJ as TaskArtifactUpdateEvent, aZ as TaskIdParams, dA as TaskInsertSchema, aQ as TaskNotCancelableError, aP as TaskNotFoundError, aY as TaskPushNotificationConfig, a_ as TaskQueryParams, bO as TaskRelationApiInsert, dJ as TaskRelationApiInsertSchema, bN as TaskRelationApiSelect, dI as TaskRelationApiSelectSchema, bP as TaskRelationApiUpdate, dK as TaskRelationApiUpdateSchema, bL as TaskRelationInsert, dG as TaskRelationInsertSchema, bK as TaskRelationSelect, dF as TaskRelationSelectSchema, bM as TaskRelationUpdate, dH as TaskRelationUpdateSchema, bc as TaskResubscriptionRequest, dz as TaskSelectSchema, ap as TaskState, aG as TaskStatus, aI as TaskStatusUpdateEvent, bG as TaskUpdate, dB as TaskUpdateSchema, fx as TenantIdParamsSchema, fu as TenantParamsSchema, fw as TenantProjectIdParamsSchema, fv as TenantProjectParamsSchema, aj as TextPart, bR as ToolApiInsert, eT as ToolApiInsertSchema, bQ as ToolApiSelect, eS as ToolApiSelectSchema, bS as ToolApiUpdate, eU as ToolApiUpdateSchema, cM as ToolDefinition, dP as ToolInsertSchema, dO as ToolSelectSchema, dM as ToolStatusSchema, eR as ToolUpdateSchema, d9 as URL_SAFE_ID_PATTERN, aS as UnsupportedOperationError, d5 as VALID_RELATION_TYPES, da as resourceIdSchema, d3 as toolStatus } from './entities-BL89ULjV.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-C0iKVu5c.cjs';
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-C0iKVu5c.cjs';
7
+ import { s as schema } from './schema-DymJrcpV.cjs';
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-DymJrcpV.cjs';
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,14 +725,13 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
725
725
  scopes: ScopeConfig;
726
726
  graphId: string;
727
727
  }) => Promise<{
728
+ name: string;
728
729
  tenantId: string;
729
730
  projectId: string;
730
731
  id: string;
731
- name: string;
732
732
  description: string | null;
733
733
  createdAt: string;
734
734
  updatedAt: string;
735
- defaultAgentId: string;
736
735
  models: {
737
736
  base?: {
738
737
  model?: string | undefined;
@@ -750,7 +749,8 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
750
749
  stopWhen: {
751
750
  transferCountIs?: number;
752
751
  } | null;
753
- graphPrompt: string | null;
752
+ contextConfigId: string | null;
753
+ defaultAgentId: string;
754
754
  statusUpdates: {
755
755
  enabled?: boolean | undefined;
756
756
  numEvents?: number | undefined;
@@ -766,20 +766,19 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
766
766
  } | undefined;
767
767
  }[] | undefined;
768
768
  } | null;
769
- contextConfigId: string | null;
769
+ graphPrompt: 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;
775
776
  tenantId: string;
776
777
  projectId: string;
777
778
  id: string;
778
- name: string;
779
779
  description: string | null;
780
780
  createdAt: string;
781
781
  updatedAt: string;
782
- defaultAgentId: string;
783
782
  models: {
784
783
  base?: {
785
784
  model?: string | undefined;
@@ -797,7 +796,8 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
797
796
  stopWhen: {
798
797
  transferCountIs?: number;
799
798
  } | null;
800
- graphPrompt: string | null;
799
+ contextConfigId: string | null;
800
+ defaultAgentId: string;
801
801
  statusUpdates: {
802
802
  enabled?: boolean | undefined;
803
803
  numEvents?: number | undefined;
@@ -813,20 +813,19 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
813
813
  } | undefined;
814
814
  }[] | undefined;
815
815
  } | null;
816
- contextConfigId: string | null;
816
+ graphPrompt: 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;
822
823
  tenantId: string;
823
824
  projectId: string;
824
825
  id: string;
825
- name: string;
826
826
  description: string | null;
827
827
  createdAt: string;
828
828
  updatedAt: string;
829
- defaultAgentId: string;
830
829
  models: {
831
830
  base?: {
832
831
  model?: string | undefined;
@@ -844,7 +843,8 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
844
843
  stopWhen: {
845
844
  transferCountIs?: number;
846
845
  } | null;
847
- graphPrompt: string | null;
846
+ contextConfigId: string | null;
847
+ defaultAgentId: string;
848
848
  statusUpdates: {
849
849
  enabled?: boolean | undefined;
850
850
  numEvents?: number | undefined;
@@ -860,14 +860,13 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
860
860
  } | undefined;
861
861
  }[] | undefined;
862
862
  } | null;
863
- contextConfigId: string | null;
863
+ graphPrompt: string | null;
864
864
  defaultAgent: {
865
+ name: string;
865
866
  tenantId: string;
866
867
  projectId: string;
867
868
  id: string;
868
- name: string;
869
869
  description: string;
870
- prompt: string;
871
870
  createdAt: string;
872
871
  updatedAt: string;
873
872
  models: {
@@ -887,20 +886,20 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
887
886
  stopWhen: {
888
887
  stepCountIs?: number;
889
888
  } | 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;
896
897
  tenantId: string;
897
898
  projectId: string;
898
899
  id: string;
899
- name: string;
900
900
  description: string | null;
901
901
  createdAt: string;
902
902
  updatedAt: string;
903
- defaultAgentId: string;
904
903
  models: {
905
904
  base?: {
906
905
  model?: string | undefined;
@@ -918,7 +917,8 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
918
917
  stopWhen: {
919
918
  transferCountIs?: number;
920
919
  } | null;
921
- graphPrompt: string | null;
920
+ contextConfigId: string | null;
921
+ defaultAgentId: string;
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
- contextConfigId: string | null;
937
+ graphPrompt: string | null;
938
938
  }[]>;
939
939
  declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
940
940
  scopes: ScopeConfig;
@@ -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
999
  description: string | null;
1000
1000
  createdAt: string;
1001
1001
  updatedAt: string;
1002
- defaultAgentId: string;
1003
1002
  models: {
1004
1003
  base?: {
1005
1004
  model?: string | undefined;
@@ -1017,7 +1016,8 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1017
1016
  stopWhen: {
1018
1017
  transferCountIs?: number;
1019
1018
  } | null;
1020
- graphPrompt: string | null;
1019
+ contextConfigId: string | null;
1020
+ defaultAgentId: string;
1021
1021
  statusUpdates: {
1022
1022
  enabled?: boolean | undefined;
1023
1023
  numEvents?: number | undefined;
@@ -1033,21 +1033,20 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1033
1033
  } | undefined;
1034
1034
  }[] | undefined;
1035
1035
  } | null;
1036
- contextConfigId: string | null;
1036
+ graphPrompt: 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;
1043
1044
  tenantId: string;
1044
1045
  projectId: string;
1045
1046
  id: string;
1046
- name: string;
1047
1047
  description: string | null;
1048
1048
  createdAt: string;
1049
1049
  updatedAt: string;
1050
- defaultAgentId: string;
1051
1050
  models: {
1052
1051
  base?: {
1053
1052
  model?: string | undefined;
@@ -1065,7 +1064,8 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1065
1064
  stopWhen: {
1066
1065
  transferCountIs?: number;
1067
1066
  } | null;
1068
- graphPrompt: string | null;
1067
+ contextConfigId: string | null;
1068
+ defaultAgentId: string;
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
- contextConfigId: string | null;
1084
+ graphPrompt: 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;
1128
1127
  createdAt: string;
1129
1128
  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;
1167
1166
  createdAt: string;
1168
1167
  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;
1182
1181
  createdAt: string;
1183
1182
  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;
1288
1287
  createdAt: string;
1289
1288
  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;
1310
1309
  createdAt: string;
1311
1310
  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;
1325
1324
  createdAt: string;
1326
1325
  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;
1337
1336
  createdAt: string;
1338
1337
  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;
1353
1352
  createdAt: string;
1354
1353
  updatedAt: string;
1354
+ graphId: string;
1355
1355
  sourceAgentId: string;
1356
1356
  targetAgentId: string | null;
1357
1357
  externalAgentId: string | null;
@@ -1574,12 +1574,11 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1574
1574
  scopes: ScopeConfig;
1575
1575
  agentId: string;
1576
1576
  }) => Promise<{
1577
+ name: string;
1577
1578
  tenantId: string;
1578
1579
  projectId: string;
1579
1580
  id: string;
1580
- name: string;
1581
1581
  description: string;
1582
- prompt: string;
1583
1582
  createdAt: string;
1584
1583
  updatedAt: string;
1585
1584
  models: {
@@ -1599,17 +1598,17 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1599
1598
  stopWhen: {
1600
1599
  stepCountIs?: number;
1601
1600
  } | 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;
1607
1608
  tenantId: string;
1608
1609
  projectId: string;
1609
1610
  id: string;
1610
- name: string;
1611
1611
  description: string;
1612
- prompt: string;
1613
1612
  createdAt: string;
1614
1613
  updatedAt: string;
1615
1614
  models: {
@@ -1629,6 +1628,7 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1629
1628
  stopWhen: {
1630
1629
  stepCountIs?: number;
1631
1630
  } | null;
1631
+ prompt: string;
1632
1632
  conversationHistoryConfig: ConversationHistoryConfig | null;
1633
1633
  }[]>;
1634
1634
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
@@ -1671,12 +1671,11 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1671
1671
  };
1672
1672
  }>;
1673
1673
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1674
+ name: string;
1674
1675
  tenantId: string;
1675
1676
  projectId: string;
1676
1677
  id: string;
1677
- name: string;
1678
1678
  description: string;
1679
- prompt: string;
1680
1679
  createdAt: string;
1681
1680
  updatedAt: string;
1682
1681
  models: {
@@ -1696,6 +1695,7 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1696
1695
  stopWhen: {
1697
1696
  stepCountIs?: number;
1698
1697
  } | null;
1698
+ prompt: string;
1699
1699
  conversationHistoryConfig: ConversationHistoryConfig | null;
1700
1700
  }>;
1701
1701
  declare const updateAgent: (db: DatabaseClient) => (params: {
@@ -1703,12 +1703,11 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1703
1703
  agentId: string;
1704
1704
  data: AgentUpdate;
1705
1705
  }) => Promise<{
1706
+ name: string;
1706
1707
  tenantId: string;
1707
1708
  projectId: string;
1708
1709
  id: string;
1709
- name: string;
1710
1710
  description: string;
1711
- prompt: string;
1712
1711
  createdAt: string;
1713
1712
  updatedAt: string;
1714
1713
  models: {
@@ -1728,6 +1727,7 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1728
1727
  stopWhen: {
1729
1728
  stepCountIs?: number;
1730
1729
  } | 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;
1795
1797
  graphId: string;
1796
1798
  publicId: string;
1797
1799
  keyHash: string;
1798
1800
  keyPrefix: string;
1799
1801
  lastUsedAt: string | null;
1800
1802
  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;
1808
1810
  graphId: string;
1809
1811
  publicId: string;
1810
1812
  keyHash: string;
1811
1813
  keyPrefix: string;
1812
1814
  lastUsedAt: string | null;
1813
1815
  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;
1824
1826
  graphId: string;
1825
1827
  publicId: string;
1826
1828
  keyHash: string;
1827
1829
  keyPrefix: string;
1828
1830
  lastUsedAt: string | null;
1829
1831
  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;
1850
1852
  graphId: string;
1851
1853
  publicId: string;
1852
1854
  keyHash: string;
1853
1855
  keyPrefix: string;
1854
1856
  lastUsedAt: string | null;
1855
1857
  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;
1867
1869
  graphId: string;
1868
1870
  publicId: string;
1869
1871
  keyHash: string;
1870
1872
  keyPrefix: string;
1871
1873
  lastUsedAt: string | null;
1872
1874
  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;
1903
1904
  tenantId: string;
1904
1905
  projectId: string;
1905
1906
  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;
1939
1940
  tenantId: string;
1940
1941
  projectId: string;
1941
1942
  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;
1954
1955
  tenantId: string;
1955
1956
  projectId: string;
1956
1957
  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;
2117
2118
  tenantId: string;
2118
2119
  projectId: string;
2119
2120
  id: string;
2120
- name: string;
2121
2121
  description: string;
2122
- createdAt: string;
2123
- updatedAt: string;
2124
2122
  requestContextSchema: unknown;
2125
2123
  contextVariables: Record<string, ContextFetchDefinition> | null;
2124
+ createdAt: string;
2125
+ updatedAt: string;
2126
2126
  } | undefined>;
2127
2127
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2128
2128
  scopes: ScopeConfig;
2129
2129
  }) => Promise<{
2130
+ name: string;
2130
2131
  tenantId: string;
2131
2132
  projectId: string;
2132
2133
  id: string;
2133
- name: string;
2134
2134
  description: string;
2135
- createdAt: string;
2136
- updatedAt: string;
2137
2135
  requestContextSchema: unknown;
2138
2136
  contextVariables: Record<string, ContextFetchDefinition> | null;
2137
+ createdAt: string;
2138
+ updatedAt: string;
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;
2153
2154
  tenantId: string;
2154
2155
  projectId: string;
2155
2156
  id: string;
2156
- name: string;
2157
2157
  description: string;
2158
- createdAt: string;
2159
- updatedAt: string;
2160
2158
  requestContextSchema: unknown;
2161
2159
  contextVariables: Record<string, ContextFetchDefinition> | null;
2160
+ createdAt: string;
2161
+ updatedAt: string;
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;
2168
2169
  tenantId: string;
2169
2170
  projectId: string;
2170
2171
  id: string;
2171
- name: string;
2172
2172
  description: string;
2173
- createdAt: string;
2174
- updatedAt: string;
2175
2173
  requestContextSchema: unknown;
2176
2174
  contextVariables: Record<string, ContextFetchDefinition> | null;
2175
+ createdAt: string;
2176
+ updatedAt: string;
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;
2193
2194
  tenantId: string;
2194
2195
  projectId: string;
2195
2196
  id: string;
2196
- name: string;
2197
2197
  description: string;
2198
- createdAt: string;
2199
- updatedAt: string;
2200
2198
  requestContextSchema: unknown;
2201
2199
  contextVariables: Record<string, ContextFetchDefinition> | null;
2200
+ createdAt: string;
2201
+ updatedAt: string;
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;
2209
2210
  tenantId: string;
2210
2211
  projectId: string;
2211
2212
  id: string;
2212
- name: string;
2213
2213
  description: string;
2214
- createdAt: string;
2215
- updatedAt: string;
2216
2214
  requestContextSchema: unknown;
2217
2215
  contextVariables: Record<string, ContextFetchDefinition> | null;
2216
+ createdAt: string;
2217
+ updatedAt: string;
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;
2229
2230
  tenantId: string;
2230
2231
  projectId: string;
2231
2232
  id: string;
2232
2233
  createdAt: string;
2233
2234
  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;
2245
2246
  tenantId: string;
2246
2247
  projectId: string;
2247
2248
  id: string;
2248
2249
  createdAt: string;
2249
2250
  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;
2265
2266
  tenantId: string;
2266
2267
  projectId: string;
2267
2268
  id: string;
2268
2269
  createdAt: string;
2269
2270
  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;
2280
2281
  tenantId: string;
2281
2282
  projectId: string;
2282
2283
  id: string;
2283
2284
  createdAt: string;
2284
2285
  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;
2318
2319
  tenantId: string;
2319
2320
  projectId: string;
2320
2321
  id: string;
2321
2322
  createdAt: string;
2322
2323
  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;
2715
2716
  tenantId: string;
2716
2717
  projectId: string;
2717
2718
  id: string;
2718
2719
  createdAt: string;
2719
2720
  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;
2841
2842
  tenantId: string;
2842
2843
  projectId: string;
2843
2844
  id: string;
2844
2845
  createdAt: string;
2845
2846
  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;
2867
2868
  tenantId: string;
2868
2869
  projectId: string;
2869
2870
  id: string;
2870
2871
  createdAt: string;
2871
2872
  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;
2892
2893
  tenantId: string;
2893
2894
  projectId: string;
2894
2895
  id: string;
2895
2896
  createdAt: string;
2896
2897
  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;
2983
2984
  tenantId: string;
2984
2985
  projectId: string;
2985
2986
  id: string;
2986
2987
  createdAt: string;
2987
2988
  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;
3003
3004
  tenantId: string;
3004
3005
  projectId: string;
3005
3006
  id: string;
3006
3007
  createdAt: string;
3007
3008
  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;
3022
3024
  tenantId: string;
3023
3025
  projectId: string;
3024
3026
  id: string;
3025
- name: string;
3027
+ createdAt: string;
3028
+ updatedAt: string;
3029
+ status: string;
3030
+ capabilities: ToolServerCapabilities | null;
3026
3031
  config: {
3027
3032
  type: "mcp";
3028
3033
  mcp: ToolMcpConfig;
3029
3034
  };
3030
3035
  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;
3102
3104
  tenantId: string;
3103
3105
  projectId: string;
3104
3106
  id: string;
3105
- name: string;
3107
+ createdAt: string;
3108
+ updatedAt: string;
3109
+ status: string;
3110
+ capabilities: ToolServerCapabilities | null;
3106
3111
  config: {
3107
3112
  type: "mcp";
3108
3113
  mcp: ToolMcpConfig;
3109
3114
  };
3110
3115
  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;
3123
3125
  tenantId: string;
3124
3126
  projectId: string;
3125
3127
  id: string;
3126
- name: string;
3128
+ createdAt: string;
3129
+ updatedAt: string;
3130
+ status: string;
3131
+ capabilities: ToolServerCapabilities | null;
3127
3132
  config: {
3128
3133
  type: "mcp";
3129
3134
  mcp: ToolMcpConfig;
3130
3135
  };
3131
3136
  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;
3148
3150
  tenantId: string;
3149
3151
  projectId: string;
3150
3152
  id: string;
3151
- name: string;
3153
+ createdAt: string;
3154
+ updatedAt: string;
3155
+ status: string;
3156
+ capabilities: ToolServerCapabilities | null;
3152
3157
  config: {
3153
3158
  type: "mcp";
3154
3159
  mcp: ToolMcpConfig;
3155
3160
  };
3156
3161
  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;
3221
3223
  tenantId: string;
3222
3224
  projectId: string;
3223
3225
  id: string;
3224
- name: string;
3226
+ createdAt: string;
3227
+ updatedAt: string;
3228
+ status: string;
3229
+ capabilities: ToolServerCapabilities | null;
3225
3230
  config: {
3226
3231
  type: "mcp";
3227
3232
  mcp: ToolMcpConfig;
3228
3233
  };
3229
3234
  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;
3247
3249
  tenantId: string;
3248
3250
  projectId: string;
3249
3251
  id: string;
3250
- name: string;
3252
+ createdAt: string;
3253
+ updatedAt: string;
3254
+ status: string;
3255
+ capabilities: ToolServerCapabilities | null;
3251
3256
  config: {
3252
3257
  type: "mcp";
3253
3258
  mcp: ToolMcpConfig;
3254
3259
  };
3255
3260
  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;