@inkeep/agents-core 0.0.0-dev-20250912000125 → 0.0.0-dev-20250912005306

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 { a as ContextFetchDefinition, i as ContextConfigSelect, F as FetchDefinition, M as MCPTransportType, j as MCPToolConfig, S as ScopeConfig, b as ConversationHistoryConfig, k as PaginationConfig, A as AgentGraphInsert, l as AgentGraphUpdate, m as FullGraphDefinition, n as AgentRelationInsert, E as ExternalAgentRelationInsert, o as AgentRelationUpdate, p as AgentToolRelationUpdate, c as ToolMcpConfig, d as ToolServerCapabilities, e as McpToolDefinition, q as AgentInsert, r as AgentUpdate, s as AgentSelect, t as ApiKeySelect, u as ApiKeyInsert, v as ApiKeyUpdate, w as CreateApiKeyParams, x as ApiKeyCreateResult, y as ArtifactComponentSelect, z as ArtifactComponentInsert, B as ArtifactComponentUpdate, D as ContextCacheSelect, G as ContextCacheInsert, H as ContextConfigInsert, I as ContextConfigUpdate, J as ConversationSelect, K as ConversationInsert, f as ConversationMetadata, L as ConversationUpdate, N as CredentialReferenceSelect, O as ToolSelect, Q as CredentialReferenceInsert, R as CredentialReferenceUpdate, U as DataComponentSelect, V as DataComponentInsert, W as DataComponentUpdate, X as ExternalAgentInsert, Y as ExternalAgentSelect, Z as ExternalAgentUpdate, _ as Artifact, $ as LedgerArtifactSelect, h as MessageMetadata, g as MessageContent, a0 as MessageVisibility, a1 as MessageInsert, a2 as MessageUpdate, a3 as ProjectInfo, a4 as ProjectSelect, a5 as PaginationResult, a6 as ProjectResourceCounts, a7 as ProjectInsert, a8 as ProjectUpdate, a9 as TaskInsert, T as TaskMetadataConfig, aa as TaskSelect, ab as McpTool, ac as McpToolStatus, ad as ToolInsert, ae as ToolUpdate, C as CredentialStoreType, af as ExecutionContext } from './entities-BbN3GqYV.cjs';
3
- export { aT as A2AError, bn as A2ARequest, bo as A2AResponse, as as APIKeySecurityScheme, bs as AgentApiInsert, dh as AgentApiInsertSchema, br as AgentApiSelect, dg as AgentApiSelectSchema, bt as AgentApiUpdate, di as AgentApiUpdateSchema, ck as AgentArtifactComponentApiInsert, et as AgentArtifactComponentApiInsertSchema, cj as AgentArtifactComponentApiSelect, es as AgentArtifactComponentApiSelectSchema, cl as AgentArtifactComponentApiUpdate, eu as AgentArtifactComponentApiUpdateSchema, ch as AgentArtifactComponentInsert, eq as AgentArtifactComponentInsertSchema, cg as AgentArtifactComponentSelect, ep as AgentArtifactComponentSelectSchema, ci as AgentArtifactComponentUpdate, er as AgentArtifactComponentUpdateSchema, ao as AgentCapabilities, aC as AgentCard, cY as AgentConversationHistoryConfig, cb as AgentDataComponentApiInsert, eh as AgentDataComponentApiInsertSchema, ca as AgentDataComponentApiSelect, eg as AgentDataComponentApiSelectSchema, cc as AgentDataComponentApiUpdate, ei as AgentDataComponentApiUpdateSchema, c8 as AgentDataComponentInsert, ee as AgentDataComponentInsertSchema, c7 as AgentDataComponentSelect, ed as AgentDataComponentSelectSchema, c9 as AgentDataComponentUpdate, ef as AgentDataComponentUpdateSchema, cJ as AgentDefinition, bC as AgentGraphApiInsert, dx as AgentGraphApiInsertSchema, bB as AgentGraphApiSelect, dw as AgentGraphApiSelectSchema, bD as AgentGraphApiUpdate, dy as AgentGraphApiUpdateSchema, du as AgentGraphInsertSchema, bA as AgentGraphSelect, dt as AgentGraphSelectSchema, dv as AgentGraphUpdateSchema, de as AgentInsertSchema, ap as AgentProvider, bw as AgentRelationApiInsert, dn as AgentRelationApiInsertSchema, bv as AgentRelationApiSelect, dm as AgentRelationApiSelectSchema, bx as AgentRelationApiUpdate, dp as AgentRelationApiUpdateSchema, dk as AgentRelationInsertSchema, by as AgentRelationQuery, dq as AgentRelationQuerySchema, bu as AgentRelationSelect, dj as AgentRelationSelectSchema, dl as AgentRelationUpdateSchema, dd as AgentSelectSchema, aq as AgentSkill, cA as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cz as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cB as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cy as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cx as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, df as AgentUpdateSchema, eB as AllAgentSchema, cp as AllAgentSelect, ct as ApiKeyApiCreationResponse, eG as ApiKeyApiCreationResponseSchema, cr as ApiKeyApiInsert, eH as ApiKeyApiInsertSchema, cq as ApiKeyApiSelect, eF as ApiKeyApiSelectSchema, cs as ApiKeyApiUpdate, eI as ApiKeyApiUpdateSchema, eD as ApiKeyInsertSchema, eC as ApiKeySelectSchema, eE as ApiKeyUpdateSchema, ce as ArtifactComponentApiInsert, en as ArtifactComponentApiInsertSchema, cd as ArtifactComponentApiSelect, em as ArtifactComponentApiSelectSchema, cf as ArtifactComponentApiUpdate, eo as ArtifactComponentApiUpdateSchema, ek as ArtifactComponentInsertSchema, ej as ArtifactComponentSelectSchema, el as ArtifactComponentUpdateSchema, av as AuthorizationCodeOAuthFlow, b7 as CancelTaskRequest, bi as CancelTaskResponse, bh as CancelTaskSuccessResponse, aw as ClientCredentialsOAuthFlow, aR as ContentTypeNotSupportedError, c2 as ContextCacheApiInsert, e4 as ContextCacheApiInsertSchema, c1 as ContextCacheApiSelect, e3 as ContextCacheApiSelectSchema, c3 as ContextCacheApiUpdate, e5 as ContextCacheApiUpdateSchema, cZ as ContextCacheEntry, e1 as ContextCacheInsertSchema, e0 as ContextCacheSelectSchema, c0 as ContextCacheUpdate, e2 as ContextCacheUpdateSchema, bZ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, bY as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, b_ as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bS as ConversationApiInsert, dU as ConversationApiInsertSchema, bR as ConversationApiSelect, dT as ConversationApiSelectSchema, bT as ConversationApiUpdate, dV as ConversationApiUpdateSchema, dR as ConversationInsertSchema, cX as ConversationScopeOptions, dQ as ConversationSelectSchema, dS as ConversationUpdateSchema, cv as CredentialReferenceApiInsert, eN as CredentialReferenceApiInsertSchema, cu as CredentialReferenceApiSelect, eM as CredentialReferenceApiSelectSchema, cw as CredentialReferenceApiUpdate, eO as CredentialReferenceApiUpdateSchema, eK as CredentialReferenceInsertSchema, eJ as CredentialReferenceSelectSchema, eL as CredentialReferenceUpdateSchema, c5 as DataComponentApiInsert, eb as DataComponentApiInsertSchema, c4 as DataComponentApiSelect, ea as DataComponentApiSelectSchema, c6 as DataComponentApiUpdate, ec as DataComponentApiUpdateSchema, e8 as DataComponentBaseSchema, e7 as DataComponentInsertSchema, e6 as DataComponentSelectSchema, e9 as DataComponentUpdateSchema, am as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, cn as ExternalAgentApiInsert, ez as ExternalAgentApiInsertSchema, cm as ExternalAgentApiSelect, ey as ExternalAgentApiSelectSchema, co as ExternalAgentApiUpdate, eA as ExternalAgentApiUpdateSchema, ew as ExternalAgentInsertSchema, bz as ExternalAgentRelationApiInsert, ds as ExternalAgentRelationApiInsertSchema, dr as ExternalAgentRelationInsertSchema, ev as ExternalAgentSelectSchema, ex as ExternalAgentUpdateSchema, b$ as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ai as FileBase, al as FilePart, aj as FileWithBytes, ak as FileWithUri, cH as FullGraphAgentInsert, ff as FullGraphAgentInsertSchema, fg as FullGraphDefinitionSchema, b9 as GetTaskPushNotificationConfigRequest, bm as GetTaskPushNotificationConfigResponse, bl as GetTaskPushNotificationConfigSuccessResponse, b6 as GetTaskRequest, bg as GetTaskResponse, bf as GetTaskSuccessResponse, at as HTTPAuthSecurityScheme, ft as HeadersScopeSchema, fy as IdParamsSchema, ax as ImplicitOAuthFlow, cI as InternalAgentDefinition, aM as InternalError, aS as InvalidAgentResponseError, aL as InvalidParamsError, aJ as InvalidRequestError, aI as JSONParseError, b1 as JSONRPCError, b3 as JSONRPCErrorResponse, a$ as JSONRPCMessage, b0 as JSONRPCRequest, b2 as JSONRPCResult, cF as LedgerArtifactApiInsert, fb as LedgerArtifactApiInsertSchema, cE as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cG as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cC as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cD as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d7 as MAX_ID_LENGTH, d5 as MCPServerType, eQ as MCPToolConfigSchema, d6 as MIN_ID_LENGTH, c_ as McpAuthType, c$ as McpServerAuth, d1 as McpServerCapabilities, dN as McpToolDefinitionSchema, eP as McpToolSchema, d0 as McpTransportConfig, dL as McpTransportConfigSchema, aD as Message, bW as MessageApiInsert, d_ as MessageApiInsertSchema, bV as MessageApiSelect, dZ as MessageApiSelectSchema, bX as MessageApiUpdate, d$ as MessageApiUpdateSchema, dX as MessageInsertSchema, cR as MessageMode, bp as MessagePart, cQ as MessageRole, bU as MessageSelect, dW as MessageSelectSchema, aZ as MessageSendConfiguration, a_ as MessageSendParams, cP as MessageType, dY as MessageUpdateSchema, aK as MethodNotFoundError, db as ModelSchema, cU as ModelSettings, da as ModelSettingsSchema, cS as Models, az as OAuth2SecurityScheme, au as OAuthFlows, aA as OpenIdConnectSecurityScheme, cO as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ag as PartBase, ay as PasswordOAuthFlow, cM as ProjectApiInsert, fr as ProjectApiInsertSchema, cL as ProjectApiSelect, fq as ProjectApiSelectSchema, cN as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, dc as ProjectModelSchema, cT as ProjectModels, fn as ProjectSelectSchema, fp as ProjectUpdateSchema, aU as PushNotificationAuthenticationInfo, aV as PushNotificationConfig, aP as PushNotificationNotSupportedError, fm as RemovedResponseSchema, aB as SecurityScheme, ar as SecuritySchemeBase, b4 as SendMessageRequest, bc as SendMessageResponse, bb as SendMessageSuccessResponse, b5 as SendStreamingMessageRequest, be as SendStreamingMessageResponse, bd as SendStreamingMessageSuccessResponse, b8 as SetTaskPushNotificationConfigRequest, bk as SetTaskPushNotificationConfigResponse, bj as SetTaskPushNotificationConfigSuccessResponse, fj as SingleResponseSchema, cW as StatusComponent, fd as StatusComponentSchema, fe as StatusUpdateSchema, cV as StatusUpdateSettings, d3 as TOOL_STATUS_VALUES, aF as Task, bG as TaskApiInsert, dD as TaskApiInsertSchema, bF as TaskApiSelect, dC as TaskApiSelectSchema, bH as TaskApiUpdate, dE as TaskApiUpdateSchema, bq as TaskArtifact, aH as TaskArtifactUpdateEvent, aX as TaskIdParams, dA as TaskInsertSchema, aO as TaskNotCancelableError, aN as TaskNotFoundError, aW as TaskPushNotificationConfig, aY as TaskQueryParams, bM as TaskRelationApiInsert, dJ as TaskRelationApiInsertSchema, bL as TaskRelationApiSelect, dI as TaskRelationApiSelectSchema, bN as TaskRelationApiUpdate, dK as TaskRelationApiUpdateSchema, bJ as TaskRelationInsert, dG as TaskRelationInsertSchema, bI as TaskRelationSelect, dF as TaskRelationSelectSchema, bK as TaskRelationUpdate, dH as TaskRelationUpdateSchema, ba as TaskResubscriptionRequest, dz as TaskSelectSchema, an as TaskState, aE as TaskStatus, aG as TaskStatusUpdateEvent, bE as TaskUpdate, dB as TaskUpdateSchema, fx as TenantIdParamsSchema, fu as TenantParamsSchema, fw as TenantProjectIdParamsSchema, fv as TenantProjectParamsSchema, ah as TextPart, bP as ToolApiInsert, eT as ToolApiInsertSchema, bO as ToolApiSelect, eS as ToolApiSelectSchema, bQ as ToolApiUpdate, eU as ToolApiUpdateSchema, cK as ToolDefinition, dP as ToolInsertSchema, dO as ToolSelectSchema, dM as ToolStatusSchema, eR as ToolUpdateSchema, d8 as URL_SAFE_ID_PATTERN, aQ as UnsupportedOperationError, d4 as VALID_RELATION_TYPES, d9 as resourceIdSchema, d2 as toolStatus } from './entities-BbN3GqYV.cjs';
2
+ import { a as ContextFetchDefinition, i as ContextConfigSelect, F as FetchDefinition, M as MCPTransportType, j as MCPToolConfig, S as ScopeConfig, b as ConversationHistoryConfig, k as PaginationConfig, A as AgentGraphInsert, l as AgentGraphUpdate, m as FullGraphDefinition, n as AgentRelationInsert, E as ExternalAgentRelationInsert, o as AgentRelationUpdate, p as AgentToolRelationUpdate, c as ToolMcpConfig, d as ToolServerCapabilities, e as McpToolDefinition, q as AgentInsert, r as AgentUpdate, s as AgentSelect, t as ApiKeySelect, u as ApiKeyInsert, v as ApiKeyUpdate, w as CreateApiKeyParams, x as ApiKeyCreateResult, y as ArtifactComponentSelect, z as ArtifactComponentInsert, B as ArtifactComponentUpdate, D as ContextCacheSelect, G as ContextCacheInsert, H as ContextConfigInsert, I as ContextConfigUpdate, J as ConversationSelect, K as ConversationInsert, f as ConversationMetadata, L as ConversationUpdate, N as CredentialReferenceSelect, O as ToolSelect, Q as CredentialReferenceInsert, R as CredentialReferenceUpdate, U as DataComponentSelect, V as DataComponentInsert, W as DataComponentUpdate, X as ExternalAgentInsert, Y as ExternalAgentSelect, Z as ExternalAgentUpdate, _ as Artifact, $ as LedgerArtifactSelect, h as MessageMetadata, g as MessageContent, a0 as MessageVisibility, a1 as MessageInsert, a2 as MessageUpdate, a3 as ProjectInfo, a4 as ProjectSelect, a5 as PaginationResult, a6 as ProjectResourceCounts, a7 as ProjectInsert, a8 as ProjectUpdate, a9 as TaskInsert, T as TaskMetadataConfig, aa as TaskSelect, ab as McpTool, ac as McpToolStatus, ad as ToolInsert, ae as ToolUpdate, C as CredentialStoreType, af as ExecutionContext } from './entities-CNJaf-rG.cjs';
3
+ export { aT as A2AError, bn as A2ARequest, bo as A2AResponse, as as APIKeySecurityScheme, bs as AgentApiInsert, dh as AgentApiInsertSchema, br as AgentApiSelect, dg as AgentApiSelectSchema, bt as AgentApiUpdate, di as AgentApiUpdateSchema, ck as AgentArtifactComponentApiInsert, et as AgentArtifactComponentApiInsertSchema, cj as AgentArtifactComponentApiSelect, es as AgentArtifactComponentApiSelectSchema, cl as AgentArtifactComponentApiUpdate, eu as AgentArtifactComponentApiUpdateSchema, ch as AgentArtifactComponentInsert, eq as AgentArtifactComponentInsertSchema, cg as AgentArtifactComponentSelect, ep as AgentArtifactComponentSelectSchema, ci as AgentArtifactComponentUpdate, er as AgentArtifactComponentUpdateSchema, ao as AgentCapabilities, aC as AgentCard, cY as AgentConversationHistoryConfig, cb as AgentDataComponentApiInsert, eh as AgentDataComponentApiInsertSchema, ca as AgentDataComponentApiSelect, eg as AgentDataComponentApiSelectSchema, cc as AgentDataComponentApiUpdate, ei as AgentDataComponentApiUpdateSchema, c8 as AgentDataComponentInsert, ee as AgentDataComponentInsertSchema, c7 as AgentDataComponentSelect, ed as AgentDataComponentSelectSchema, c9 as AgentDataComponentUpdate, ef as AgentDataComponentUpdateSchema, cJ as AgentDefinition, bC as AgentGraphApiInsert, dx as AgentGraphApiInsertSchema, bB as AgentGraphApiSelect, dw as AgentGraphApiSelectSchema, bD as AgentGraphApiUpdate, dy as AgentGraphApiUpdateSchema, du as AgentGraphInsertSchema, bA as AgentGraphSelect, dt as AgentGraphSelectSchema, dv as AgentGraphUpdateSchema, de as AgentInsertSchema, ap as AgentProvider, bw as AgentRelationApiInsert, dn as AgentRelationApiInsertSchema, bv as AgentRelationApiSelect, dm as AgentRelationApiSelectSchema, bx as AgentRelationApiUpdate, dp as AgentRelationApiUpdateSchema, dk as AgentRelationInsertSchema, by as AgentRelationQuery, dq as AgentRelationQuerySchema, bu as AgentRelationSelect, dj as AgentRelationSelectSchema, dl as AgentRelationUpdateSchema, dd as AgentSelectSchema, aq as AgentSkill, cA as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cz as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cB as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cy as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cx as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, df as AgentUpdateSchema, eB as AllAgentSchema, cp as AllAgentSelect, ct as ApiKeyApiCreationResponse, eG as ApiKeyApiCreationResponseSchema, cr as ApiKeyApiInsert, eH as ApiKeyApiInsertSchema, cq as ApiKeyApiSelect, eF as ApiKeyApiSelectSchema, cs as ApiKeyApiUpdate, eI as ApiKeyApiUpdateSchema, eD as ApiKeyInsertSchema, eC as ApiKeySelectSchema, eE as ApiKeyUpdateSchema, ce as ArtifactComponentApiInsert, en as ArtifactComponentApiInsertSchema, cd as ArtifactComponentApiSelect, em as ArtifactComponentApiSelectSchema, cf as ArtifactComponentApiUpdate, eo as ArtifactComponentApiUpdateSchema, ek as ArtifactComponentInsertSchema, ej as ArtifactComponentSelectSchema, el as ArtifactComponentUpdateSchema, av as AuthorizationCodeOAuthFlow, b7 as CancelTaskRequest, bi as CancelTaskResponse, bh as CancelTaskSuccessResponse, aw as ClientCredentialsOAuthFlow, aR as ContentTypeNotSupportedError, c2 as ContextCacheApiInsert, e4 as ContextCacheApiInsertSchema, c1 as ContextCacheApiSelect, e3 as ContextCacheApiSelectSchema, c3 as ContextCacheApiUpdate, e5 as ContextCacheApiUpdateSchema, cZ as ContextCacheEntry, e1 as ContextCacheInsertSchema, e0 as ContextCacheSelectSchema, c0 as ContextCacheUpdate, e2 as ContextCacheUpdateSchema, bZ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, bY as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, b_ as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bS as ConversationApiInsert, dU as ConversationApiInsertSchema, bR as ConversationApiSelect, dT as ConversationApiSelectSchema, bT as ConversationApiUpdate, dV as ConversationApiUpdateSchema, dR as ConversationInsertSchema, cX as ConversationScopeOptions, dQ as ConversationSelectSchema, dS as ConversationUpdateSchema, cv as CredentialReferenceApiInsert, eN as CredentialReferenceApiInsertSchema, cu as CredentialReferenceApiSelect, eM as CredentialReferenceApiSelectSchema, cw as CredentialReferenceApiUpdate, eO as CredentialReferenceApiUpdateSchema, eK as CredentialReferenceInsertSchema, eJ as CredentialReferenceSelectSchema, eL as CredentialReferenceUpdateSchema, c5 as DataComponentApiInsert, eb as DataComponentApiInsertSchema, c4 as DataComponentApiSelect, ea as DataComponentApiSelectSchema, c6 as DataComponentApiUpdate, ec as DataComponentApiUpdateSchema, e8 as DataComponentBaseSchema, e7 as DataComponentInsertSchema, e6 as DataComponentSelectSchema, e9 as DataComponentUpdateSchema, am as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, cn as ExternalAgentApiInsert, ez as ExternalAgentApiInsertSchema, cm as ExternalAgentApiSelect, ey as ExternalAgentApiSelectSchema, co as ExternalAgentApiUpdate, eA as ExternalAgentApiUpdateSchema, ew as ExternalAgentInsertSchema, bz as ExternalAgentRelationApiInsert, ds as ExternalAgentRelationApiInsertSchema, dr as ExternalAgentRelationInsertSchema, ev as ExternalAgentSelectSchema, ex as ExternalAgentUpdateSchema, b$ as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ai as FileBase, al as FilePart, aj as FileWithBytes, ak as FileWithUri, cH as FullGraphAgentInsert, ff as FullGraphAgentInsertSchema, fg as FullGraphDefinitionSchema, b9 as GetTaskPushNotificationConfigRequest, bm as GetTaskPushNotificationConfigResponse, bl as GetTaskPushNotificationConfigSuccessResponse, b6 as GetTaskRequest, bg as GetTaskResponse, bf as GetTaskSuccessResponse, at as HTTPAuthSecurityScheme, ft as HeadersScopeSchema, fy as IdParamsSchema, ax as ImplicitOAuthFlow, cI as InternalAgentDefinition, aM as InternalError, aS as InvalidAgentResponseError, aL as InvalidParamsError, aJ as InvalidRequestError, aI as JSONParseError, b1 as JSONRPCError, b3 as JSONRPCErrorResponse, a$ as JSONRPCMessage, b0 as JSONRPCRequest, b2 as JSONRPCResult, cF as LedgerArtifactApiInsert, fb as LedgerArtifactApiInsertSchema, cE as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cG as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cC as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cD as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d7 as MAX_ID_LENGTH, d5 as MCPServerType, eQ as MCPToolConfigSchema, d6 as MIN_ID_LENGTH, c_ as McpAuthType, c$ as McpServerAuth, d1 as McpServerCapabilities, dN as McpToolDefinitionSchema, eP as McpToolSchema, d0 as McpTransportConfig, dL as McpTransportConfigSchema, aD as Message, bW as MessageApiInsert, d_ as MessageApiInsertSchema, bV as MessageApiSelect, dZ as MessageApiSelectSchema, bX as MessageApiUpdate, d$ as MessageApiUpdateSchema, dX as MessageInsertSchema, cR as MessageMode, bp as MessagePart, cQ as MessageRole, bU as MessageSelect, dW as MessageSelectSchema, aZ as MessageSendConfiguration, a_ as MessageSendParams, cP as MessageType, dY as MessageUpdateSchema, aK as MethodNotFoundError, db as ModelSchema, cU as ModelSettings, da as ModelSettingsSchema, cS as Models, az as OAuth2SecurityScheme, au as OAuthFlows, aA as OpenIdConnectSecurityScheme, cO as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ag as PartBase, ay as PasswordOAuthFlow, cM as ProjectApiInsert, fr as ProjectApiInsertSchema, cL as ProjectApiSelect, fq as ProjectApiSelectSchema, cN as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, dc as ProjectModelSchema, cT as ProjectModels, fn as ProjectSelectSchema, fp as ProjectUpdateSchema, aU as PushNotificationAuthenticationInfo, aV as PushNotificationConfig, aP as PushNotificationNotSupportedError, fm as RemovedResponseSchema, aB as SecurityScheme, ar as SecuritySchemeBase, b4 as SendMessageRequest, bc as SendMessageResponse, bb as SendMessageSuccessResponse, b5 as SendStreamingMessageRequest, be as SendStreamingMessageResponse, bd as SendStreamingMessageSuccessResponse, b8 as SetTaskPushNotificationConfigRequest, bk as SetTaskPushNotificationConfigResponse, bj as SetTaskPushNotificationConfigSuccessResponse, fj as SingleResponseSchema, cW as StatusComponent, fd as StatusComponentSchema, fe as StatusUpdateSchema, cV as StatusUpdateSettings, d3 as TOOL_STATUS_VALUES, aF as Task, bG as TaskApiInsert, dD as TaskApiInsertSchema, bF as TaskApiSelect, dC as TaskApiSelectSchema, bH as TaskApiUpdate, dE as TaskApiUpdateSchema, bq as TaskArtifact, aH as TaskArtifactUpdateEvent, aX as TaskIdParams, dA as TaskInsertSchema, aO as TaskNotCancelableError, aN as TaskNotFoundError, aW as TaskPushNotificationConfig, aY as TaskQueryParams, bM as TaskRelationApiInsert, dJ as TaskRelationApiInsertSchema, bL as TaskRelationApiSelect, dI as TaskRelationApiSelectSchema, bN as TaskRelationApiUpdate, dK as TaskRelationApiUpdateSchema, bJ as TaskRelationInsert, dG as TaskRelationInsertSchema, bI as TaskRelationSelect, dF as TaskRelationSelectSchema, bK as TaskRelationUpdate, dH as TaskRelationUpdateSchema, ba as TaskResubscriptionRequest, dz as TaskSelectSchema, an as TaskState, aE as TaskStatus, aG as TaskStatusUpdateEvent, bE as TaskUpdate, dB as TaskUpdateSchema, fx as TenantIdParamsSchema, fu as TenantParamsSchema, fw as TenantProjectIdParamsSchema, fv as TenantProjectParamsSchema, ah as TextPart, bP as ToolApiInsert, eT as ToolApiInsertSchema, bO as ToolApiSelect, eS as ToolApiSelectSchema, bQ as ToolApiUpdate, eU as ToolApiUpdateSchema, cK as ToolDefinition, dP as ToolInsertSchema, dO as ToolSelectSchema, dM as ToolStatusSchema, eR as ToolUpdateSchema, d8 as URL_SAFE_ID_PATTERN, aQ as UnsupportedOperationError, d4 as VALID_RELATION_TYPES, d9 as resourceIdSchema, d2 as toolStatus } from './entities-CNJaf-rG.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-2Sd93dmu.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-2Sd93dmu.cjs';
7
+ import { s as schema } from './schema-Dbc3UMpd.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-Dbc3UMpd.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';
@@ -713,13 +713,14 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
713
713
  scopes: ScopeConfig;
714
714
  graphId: string;
715
715
  }) => Promise<{
716
- name: string;
717
716
  tenantId: string;
718
717
  projectId: string;
719
718
  id: string;
719
+ name: string;
720
720
  description: string | null;
721
721
  createdAt: string;
722
722
  updatedAt: string;
723
+ defaultAgentId: string;
723
724
  models: {
724
725
  base?: {
725
726
  model?: string | undefined;
@@ -737,8 +738,7 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
737
738
  stopWhen: {
738
739
  transferCountIs?: number;
739
740
  } | null;
740
- contextConfigId: string | null;
741
- defaultAgentId: string;
741
+ graphPrompt: string | null;
742
742
  statusUpdates: {
743
743
  enabled?: boolean | undefined;
744
744
  numEvents?: number | undefined;
@@ -754,19 +754,20 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
754
754
  } | undefined;
755
755
  }[] | undefined;
756
756
  } | null;
757
- graphPrompt: string | null;
757
+ contextConfigId: string | null;
758
758
  } | undefined>;
759
759
  declare const getAgentGraphById: (db: DatabaseClient) => (params: {
760
760
  scopes: ScopeConfig;
761
761
  graphId: string;
762
762
  }) => Promise<{
763
- name: string;
764
763
  tenantId: string;
765
764
  projectId: string;
766
765
  id: string;
766
+ name: string;
767
767
  description: string | null;
768
768
  createdAt: string;
769
769
  updatedAt: string;
770
+ defaultAgentId: string;
770
771
  models: {
771
772
  base?: {
772
773
  model?: string | undefined;
@@ -784,8 +785,7 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
784
785
  stopWhen: {
785
786
  transferCountIs?: number;
786
787
  } | null;
787
- contextConfigId: string | null;
788
- defaultAgentId: string;
788
+ graphPrompt: string | null;
789
789
  statusUpdates: {
790
790
  enabled?: boolean | undefined;
791
791
  numEvents?: number | undefined;
@@ -801,19 +801,20 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
801
801
  } | undefined;
802
802
  }[] | undefined;
803
803
  } | null;
804
- graphPrompt: string | null;
804
+ contextConfigId: string | null;
805
805
  } | null>;
806
806
  declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
807
807
  scopes: ScopeConfig;
808
808
  graphId: string;
809
809
  }) => Promise<{
810
- name: string;
811
810
  tenantId: string;
812
811
  projectId: string;
813
812
  id: string;
813
+ name: string;
814
814
  description: string | null;
815
815
  createdAt: string;
816
816
  updatedAt: string;
817
+ defaultAgentId: string;
817
818
  models: {
818
819
  base?: {
819
820
  model?: string | undefined;
@@ -831,8 +832,7 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
831
832
  stopWhen: {
832
833
  transferCountIs?: number;
833
834
  } | null;
834
- contextConfigId: string | null;
835
- defaultAgentId: string;
835
+ graphPrompt: string | null;
836
836
  statusUpdates: {
837
837
  enabled?: boolean | undefined;
838
838
  numEvents?: number | undefined;
@@ -848,13 +848,14 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
848
848
  } | undefined;
849
849
  }[] | undefined;
850
850
  } | null;
851
- graphPrompt: string | null;
851
+ contextConfigId: string | null;
852
852
  defaultAgent: {
853
- name: string;
854
853
  tenantId: string;
855
854
  projectId: string;
856
855
  id: string;
856
+ name: string;
857
857
  description: string;
858
+ prompt: string;
858
859
  createdAt: string;
859
860
  updatedAt: string;
860
861
  models: {
@@ -874,20 +875,20 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
874
875
  stopWhen: {
875
876
  stepCountIs?: number;
876
877
  } | null;
877
- prompt: string;
878
878
  conversationHistoryConfig: ConversationHistoryConfig | null;
879
879
  };
880
880
  } | null>;
881
881
  declare const listAgentGraphs: (db: DatabaseClient) => (params: {
882
882
  scopes: ScopeConfig;
883
883
  }) => Promise<{
884
- name: string;
885
884
  tenantId: string;
886
885
  projectId: string;
887
886
  id: string;
887
+ name: string;
888
888
  description: string | null;
889
889
  createdAt: string;
890
890
  updatedAt: string;
891
+ defaultAgentId: string;
891
892
  models: {
892
893
  base?: {
893
894
  model?: string | undefined;
@@ -905,8 +906,7 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
905
906
  stopWhen: {
906
907
  transferCountIs?: number;
907
908
  } | null;
908
- contextConfigId: string | null;
909
- defaultAgentId: string;
909
+ graphPrompt: string | null;
910
910
  statusUpdates: {
911
911
  enabled?: boolean | undefined;
912
912
  numEvents?: number | undefined;
@@ -922,7 +922,7 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
922
922
  } | undefined;
923
923
  }[] | undefined;
924
924
  } | null;
925
- graphPrompt: string | null;
925
+ contextConfigId: string | null;
926
926
  }[]>;
927
927
  declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
928
928
  scopes: ScopeConfig;
@@ -980,13 +980,14 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
980
980
  };
981
981
  }>;
982
982
  declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
983
- name: string;
984
983
  tenantId: string;
985
984
  projectId: string;
986
985
  id: string;
986
+ name: string;
987
987
  description: string | null;
988
988
  createdAt: string;
989
989
  updatedAt: string;
990
+ defaultAgentId: string;
990
991
  models: {
991
992
  base?: {
992
993
  model?: string | undefined;
@@ -1004,8 +1005,7 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1004
1005
  stopWhen: {
1005
1006
  transferCountIs?: number;
1006
1007
  } | null;
1007
- contextConfigId: string | null;
1008
- defaultAgentId: string;
1008
+ graphPrompt: string | null;
1009
1009
  statusUpdates: {
1010
1010
  enabled?: boolean | undefined;
1011
1011
  numEvents?: number | undefined;
@@ -1021,20 +1021,21 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1021
1021
  } | undefined;
1022
1022
  }[] | undefined;
1023
1023
  } | null;
1024
- graphPrompt: string | null;
1024
+ contextConfigId: string | null;
1025
1025
  }>;
1026
1026
  declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1027
1027
  scopes: ScopeConfig;
1028
1028
  graphId: string;
1029
1029
  data: AgentGraphUpdate;
1030
1030
  }) => Promise<{
1031
- name: string;
1032
1031
  tenantId: string;
1033
1032
  projectId: string;
1034
1033
  id: string;
1034
+ name: string;
1035
1035
  description: string | null;
1036
1036
  createdAt: string;
1037
1037
  updatedAt: string;
1038
+ defaultAgentId: string;
1038
1039
  models: {
1039
1040
  base?: {
1040
1041
  model?: string | undefined;
@@ -1052,8 +1053,7 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1052
1053
  stopWhen: {
1053
1054
  transferCountIs?: number;
1054
1055
  } | null;
1055
- contextConfigId: string | null;
1056
- defaultAgentId: string;
1056
+ graphPrompt: string | null;
1057
1057
  statusUpdates: {
1058
1058
  enabled?: boolean | undefined;
1059
1059
  numEvents?: number | undefined;
@@ -1069,7 +1069,7 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1069
1069
  } | undefined;
1070
1070
  }[] | undefined;
1071
1071
  } | null;
1072
- graphPrompt: string | null;
1072
+ contextConfigId: string | null;
1073
1073
  }>;
1074
1074
  declare const deleteAgentGraph: (db: DatabaseClient) => (params: {
1075
1075
  scopes: ScopeConfig;
@@ -1112,9 +1112,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
1112
1112
  tenantId: string;
1113
1113
  projectId: string;
1114
1114
  id: string;
1115
+ graphId: string;
1115
1116
  createdAt: string;
1116
1117
  updatedAt: string;
1117
- graphId: string;
1118
1118
  sourceAgentId: string;
1119
1119
  targetAgentId: string | null;
1120
1120
  externalAgentId: string | null;
@@ -1151,9 +1151,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
1151
1151
  tenantId: string;
1152
1152
  projectId: string;
1153
1153
  id: string;
1154
+ graphId: string;
1154
1155
  createdAt: string;
1155
1156
  updatedAt: string;
1156
- graphId: string;
1157
1157
  sourceAgentId: string;
1158
1158
  targetAgentId: string | null;
1159
1159
  externalAgentId: string | null;
@@ -1166,9 +1166,9 @@ declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
1166
1166
  tenantId: string;
1167
1167
  projectId: string;
1168
1168
  id: string;
1169
+ graphId: string;
1169
1170
  createdAt: string;
1170
1171
  updatedAt: string;
1171
- graphId: string;
1172
1172
  sourceAgentId: string;
1173
1173
  targetAgentId: string | null;
1174
1174
  externalAgentId: string | null;
@@ -1272,9 +1272,9 @@ declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1272
1272
  tenantId: string;
1273
1273
  projectId: string;
1274
1274
  id: string;
1275
+ graphId: string;
1275
1276
  createdAt: string;
1276
1277
  updatedAt: string;
1277
- graphId: string;
1278
1278
  sourceAgentId: string;
1279
1279
  targetAgentId: string | null;
1280
1280
  externalAgentId: string | null;
@@ -1294,9 +1294,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
1294
1294
  tenantId: string;
1295
1295
  projectId: string;
1296
1296
  id: string;
1297
+ graphId: string;
1297
1298
  createdAt: string;
1298
1299
  updatedAt: string;
1299
- graphId: string;
1300
1300
  sourceAgentId: string;
1301
1301
  targetAgentId: string | null;
1302
1302
  externalAgentId: string | null;
@@ -1309,9 +1309,9 @@ declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
1309
1309
  tenantId: string;
1310
1310
  projectId: string;
1311
1311
  id: string;
1312
+ graphId: string;
1312
1313
  createdAt: string;
1313
1314
  updatedAt: string;
1314
- graphId: string;
1315
1315
  sourceAgentId: string;
1316
1316
  targetAgentId: string | null;
1317
1317
  externalAgentId: string | null;
@@ -1321,9 +1321,9 @@ declare const createExternalAgentRelation: (db: DatabaseClient) => (params: Exte
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;
@@ -1337,9 +1337,9 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
1337
1337
  tenantId: string;
1338
1338
  projectId: string;
1339
1339
  id: string;
1340
+ graphId: string;
1340
1341
  createdAt: string;
1341
1342
  updatedAt: string;
1342
- graphId: string;
1343
1343
  sourceAgentId: string;
1344
1344
  targetAgentId: string | null;
1345
1345
  externalAgentId: string | null;
@@ -1572,11 +1572,12 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1572
1572
  scopes: ScopeConfig;
1573
1573
  agentId: string;
1574
1574
  }) => Promise<{
1575
- name: string;
1576
1575
  tenantId: string;
1577
1576
  projectId: string;
1578
1577
  id: string;
1578
+ name: string;
1579
1579
  description: string;
1580
+ prompt: string;
1580
1581
  createdAt: string;
1581
1582
  updatedAt: string;
1582
1583
  models: {
@@ -1596,17 +1597,17 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1596
1597
  stopWhen: {
1597
1598
  stepCountIs?: number;
1598
1599
  } | null;
1599
- prompt: string;
1600
1600
  conversationHistoryConfig: ConversationHistoryConfig | null;
1601
1601
  } | undefined>;
1602
1602
  declare const listAgents: (db: DatabaseClient) => (params: {
1603
1603
  scopes: ScopeConfig;
1604
1604
  }) => Promise<{
1605
- name: string;
1606
1605
  tenantId: string;
1607
1606
  projectId: string;
1608
1607
  id: string;
1608
+ name: string;
1609
1609
  description: string;
1610
+ prompt: string;
1610
1611
  createdAt: string;
1611
1612
  updatedAt: string;
1612
1613
  models: {
@@ -1626,7 +1627,6 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1626
1627
  stopWhen: {
1627
1628
  stepCountIs?: number;
1628
1629
  } | null;
1629
- prompt: string;
1630
1630
  conversationHistoryConfig: ConversationHistoryConfig | null;
1631
1631
  }[]>;
1632
1632
  declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
@@ -1669,11 +1669,12 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1669
1669
  };
1670
1670
  }>;
1671
1671
  declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
1672
- name: string;
1673
1672
  tenantId: string;
1674
1673
  projectId: string;
1675
1674
  id: string;
1675
+ name: string;
1676
1676
  description: string;
1677
+ prompt: string;
1677
1678
  createdAt: string;
1678
1679
  updatedAt: string;
1679
1680
  models: {
@@ -1693,7 +1694,6 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1693
1694
  stopWhen: {
1694
1695
  stepCountIs?: number;
1695
1696
  } | null;
1696
- prompt: string;
1697
1697
  conversationHistoryConfig: ConversationHistoryConfig | null;
1698
1698
  }>;
1699
1699
  declare const updateAgent: (db: DatabaseClient) => (params: {
@@ -1701,11 +1701,12 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1701
1701
  agentId: string;
1702
1702
  data: AgentUpdate;
1703
1703
  }) => Promise<{
1704
- name: string;
1705
1704
  tenantId: string;
1706
1705
  projectId: string;
1707
1706
  id: string;
1707
+ name: string;
1708
1708
  description: string;
1709
+ prompt: string;
1709
1710
  createdAt: string;
1710
1711
  updatedAt: string;
1711
1712
  models: {
@@ -1725,7 +1726,6 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1725
1726
  stopWhen: {
1726
1727
  stepCountIs?: number;
1727
1728
  } | null;
1728
- prompt: string;
1729
1729
  conversationHistoryConfig: ConversationHistoryConfig | null;
1730
1730
  }>;
1731
1731
  /**
@@ -1790,27 +1790,27 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
1790
1790
  tenantId: string;
1791
1791
  projectId: string;
1792
1792
  id: string;
1793
- createdAt: string;
1794
- updatedAt: string;
1795
1793
  graphId: string;
1796
1794
  publicId: string;
1797
1795
  keyHash: string;
1798
1796
  keyPrefix: string;
1799
1797
  lastUsedAt: string | null;
1800
1798
  expiresAt: string | null;
1799
+ createdAt: string;
1800
+ updatedAt: string;
1801
1801
  } | undefined>;
1802
1802
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
1803
1803
  tenantId: string;
1804
1804
  projectId: string;
1805
1805
  id: string;
1806
- createdAt: string;
1807
- updatedAt: string;
1808
1806
  graphId: string;
1809
1807
  publicId: string;
1810
1808
  keyHash: string;
1811
1809
  keyPrefix: string;
1812
1810
  lastUsedAt: string | null;
1813
1811
  expiresAt: string | null;
1812
+ createdAt: string;
1813
+ updatedAt: string;
1814
1814
  } | undefined>;
1815
1815
  declare const listApiKeys: (db: DatabaseClient) => (params: {
1816
1816
  scopes: ScopeConfig;
@@ -1819,14 +1819,14 @@ declare const listApiKeys: (db: DatabaseClient) => (params: {
1819
1819
  tenantId: string;
1820
1820
  projectId: string;
1821
1821
  id: string;
1822
- createdAt: string;
1823
- updatedAt: string;
1824
1822
  graphId: string;
1825
1823
  publicId: string;
1826
1824
  keyHash: string;
1827
1825
  keyPrefix: string;
1828
1826
  lastUsedAt: string | null;
1829
1827
  expiresAt: string | null;
1828
+ createdAt: string;
1829
+ updatedAt: string;
1830
1830
  }[]>;
1831
1831
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
1832
1832
  scopes: ScopeConfig;
@@ -1845,14 +1845,14 @@ declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Pr
1845
1845
  tenantId: string;
1846
1846
  projectId: string;
1847
1847
  id: string;
1848
- createdAt: string;
1849
- updatedAt: string;
1850
1848
  graphId: string;
1851
1849
  publicId: string;
1852
1850
  keyHash: string;
1853
1851
  keyPrefix: string;
1854
1852
  lastUsedAt: string | null;
1855
1853
  expiresAt: string | null;
1854
+ createdAt: string;
1855
+ updatedAt: string;
1856
1856
  }>;
1857
1857
  declare const updateApiKey: (db: DatabaseClient) => (params: {
1858
1858
  scopes: ScopeConfig;
@@ -1862,14 +1862,14 @@ declare const updateApiKey: (db: DatabaseClient) => (params: {
1862
1862
  tenantId: string;
1863
1863
  projectId: string;
1864
1864
  id: string;
1865
- createdAt: string;
1866
- updatedAt: string;
1867
1865
  graphId: string;
1868
1866
  publicId: string;
1869
1867
  keyHash: string;
1870
1868
  keyPrefix: string;
1871
1869
  lastUsedAt: string | null;
1872
1870
  expiresAt: string | null;
1871
+ createdAt: string;
1872
+ updatedAt: string;
1873
1873
  }>;
1874
1874
  declare const deleteApiKey: (db: DatabaseClient) => (params: {
1875
1875
  scopes: ScopeConfig;
@@ -1898,10 +1898,10 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1898
1898
  scopes: ScopeConfig;
1899
1899
  id: string;
1900
1900
  }) => Promise<{
1901
- name: string;
1902
1901
  tenantId: string;
1903
1902
  projectId: string;
1904
1903
  id: string;
1904
+ name: string;
1905
1905
  description: string;
1906
1906
  createdAt: string;
1907
1907
  updatedAt: string;
@@ -1934,10 +1934,10 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
1934
1934
  };
1935
1935
  }>;
1936
1936
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
1937
- name: string;
1938
1937
  tenantId: string;
1939
1938
  projectId: string;
1940
1939
  id: string;
1940
+ name: string;
1941
1941
  description: string;
1942
1942
  createdAt: string;
1943
1943
  updatedAt: string;
@@ -1949,10 +1949,10 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
1949
1949
  id: string;
1950
1950
  data: ArtifactComponentUpdate;
1951
1951
  }) => Promise<{
1952
- name: string;
1953
1952
  tenantId: string;
1954
1953
  projectId: string;
1955
1954
  id: string;
1955
+ name: string;
1956
1956
  description: string;
1957
1957
  createdAt: string;
1958
1958
  updatedAt: string;
@@ -2112,28 +2112,28 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2112
2112
  scopes: ScopeConfig;
2113
2113
  id: string;
2114
2114
  }) => Promise<{
2115
- name: string;
2116
2115
  tenantId: string;
2117
2116
  projectId: string;
2118
2117
  id: string;
2118
+ name: string;
2119
2119
  description: string;
2120
- requestContextSchema: unknown;
2121
- contextVariables: Record<string, ContextFetchDefinition> | null;
2122
2120
  createdAt: string;
2123
2121
  updatedAt: string;
2122
+ requestContextSchema: unknown;
2123
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2124
2124
  } | undefined>;
2125
2125
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2126
2126
  scopes: ScopeConfig;
2127
2127
  }) => Promise<{
2128
- name: string;
2129
2128
  tenantId: string;
2130
2129
  projectId: string;
2131
2130
  id: string;
2131
+ name: string;
2132
2132
  description: string;
2133
- requestContextSchema: unknown;
2134
- contextVariables: Record<string, ContextFetchDefinition> | null;
2135
2133
  createdAt: string;
2136
2134
  updatedAt: string;
2135
+ requestContextSchema: unknown;
2136
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2137
2137
  }[]>;
2138
2138
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2139
2139
  scopes: ScopeConfig;
@@ -2148,30 +2148,30 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2148
2148
  };
2149
2149
  }>;
2150
2150
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
2151
- name: string;
2152
2151
  tenantId: string;
2153
2152
  projectId: string;
2154
2153
  id: string;
2154
+ name: string;
2155
2155
  description: string;
2156
- requestContextSchema: unknown;
2157
- contextVariables: Record<string, ContextFetchDefinition> | null;
2158
2156
  createdAt: string;
2159
2157
  updatedAt: string;
2158
+ requestContextSchema: unknown;
2159
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2160
2160
  }>;
2161
2161
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
2162
2162
  scopes: ScopeConfig;
2163
2163
  id: string;
2164
2164
  data: Partial<ContextConfigUpdate>;
2165
2165
  }) => Promise<{
2166
- name: string;
2167
2166
  tenantId: string;
2168
2167
  projectId: string;
2169
2168
  id: string;
2169
+ name: string;
2170
2170
  description: string;
2171
- requestContextSchema: unknown;
2172
- contextVariables: Record<string, ContextFetchDefinition> | null;
2173
2171
  createdAt: string;
2174
2172
  updatedAt: string;
2173
+ requestContextSchema: unknown;
2174
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2175
2175
  }>;
2176
2176
  declare const deleteContextConfig: (db: DatabaseClient) => (params: {
2177
2177
  scopes: ScopeConfig;
@@ -2188,15 +2188,15 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2188
2188
  scopes: ScopeConfig;
2189
2189
  name: string;
2190
2190
  }) => Promise<{
2191
- name: string;
2192
2191
  tenantId: string;
2193
2192
  projectId: string;
2194
2193
  id: string;
2194
+ name: string;
2195
2195
  description: string;
2196
- requestContextSchema: unknown;
2197
- contextVariables: Record<string, ContextFetchDefinition> | null;
2198
2196
  createdAt: string;
2199
2197
  updatedAt: string;
2198
+ requestContextSchema: unknown;
2199
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2200
2200
  }[]>;
2201
2201
  /**
2202
2202
  * Upsert a context config (create if it doesn't exist, update if it does)
@@ -2204,15 +2204,15 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2204
2204
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
2205
2205
  data: ContextConfigInsert;
2206
2206
  }) => Promise<{
2207
- name: string;
2208
2207
  tenantId: string;
2209
2208
  projectId: string;
2210
2209
  id: string;
2210
+ name: string;
2211
2211
  description: string;
2212
- requestContextSchema: unknown;
2213
- contextVariables: Record<string, ContextFetchDefinition> | null;
2214
2212
  createdAt: string;
2215
2213
  updatedAt: string;
2214
+ requestContextSchema: unknown;
2215
+ contextVariables: Record<string, ContextFetchDefinition> | null;
2216
2216
  }>;
2217
2217
 
2218
2218
  declare const listConversations: (db: DatabaseClient) => (params: {
@@ -2224,12 +2224,12 @@ declare const listConversations: (db: DatabaseClient) => (params: {
2224
2224
  total: number;
2225
2225
  }>;
2226
2226
  declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
2227
- metadata: ConversationMetadata | null;
2228
2227
  tenantId: string;
2229
2228
  projectId: string;
2230
2229
  id: string;
2231
2230
  createdAt: string;
2232
2231
  updatedAt: string;
2232
+ metadata: ConversationMetadata | null;
2233
2233
  title: string | null;
2234
2234
  userId: string | null;
2235
2235
  activeAgentId: string;
@@ -2240,12 +2240,12 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
2240
2240
  conversationId: string;
2241
2241
  data: ConversationUpdate;
2242
2242
  }) => Promise<{
2243
- metadata: ConversationMetadata | null;
2244
2243
  tenantId: string;
2245
2244
  projectId: string;
2246
2245
  id: string;
2247
2246
  createdAt: string;
2248
2247
  updatedAt: string;
2248
+ metadata: ConversationMetadata | null;
2249
2249
  title: string | null;
2250
2250
  userId: string | null;
2251
2251
  activeAgentId: string;
@@ -2260,12 +2260,12 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
2260
2260
  conversationId: string;
2261
2261
  activeAgentId: string;
2262
2262
  }) => Promise<{
2263
- metadata: ConversationMetadata | null;
2264
2263
  tenantId: string;
2265
2264
  projectId: string;
2266
2265
  id: string;
2267
2266
  createdAt: string;
2268
2267
  updatedAt: string;
2268
+ metadata: ConversationMetadata | null;
2269
2269
  title: string | null;
2270
2270
  userId: string | null;
2271
2271
  activeAgentId: string;
@@ -2275,12 +2275,12 @@ declare const getConversation: (db: DatabaseClient) => (params: {
2275
2275
  scopes: ScopeConfig;
2276
2276
  conversationId: string;
2277
2277
  }) => Promise<{
2278
- metadata: ConversationMetadata | null;
2279
2278
  tenantId: string;
2280
2279
  projectId: string;
2281
2280
  id: string;
2282
2281
  createdAt: string;
2283
2282
  updatedAt: string;
2283
+ metadata: ConversationMetadata | null;
2284
2284
  title: string | null;
2285
2285
  userId: string | null;
2286
2286
  activeAgentId: string;
@@ -2313,12 +2313,12 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
2313
2313
  scopes: ScopeConfig;
2314
2314
  conversationId: string;
2315
2315
  }) => Promise<{
2316
- metadata: ConversationMetadata | null;
2317
2316
  tenantId: string;
2318
2317
  projectId: string;
2319
2318
  id: string;
2320
2319
  createdAt: string;
2321
2320
  updatedAt: string;
2321
+ metadata: ConversationMetadata | null;
2322
2322
  title: string | null;
2323
2323
  userId: string | null;
2324
2324
  activeAgentId: string;
@@ -2710,12 +2710,12 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
2710
2710
  scopes: ScopeConfig;
2711
2711
  messageId: string;
2712
2712
  }) => Promise<{
2713
- metadata: MessageMetadata | null;
2714
2713
  tenantId: string;
2715
2714
  projectId: string;
2716
2715
  id: string;
2717
2716
  createdAt: string;
2718
2717
  updatedAt: string;
2718
+ metadata: MessageMetadata | null;
2719
2719
  content: MessageContent;
2720
2720
  role: string;
2721
2721
  conversationId: string;
@@ -2836,12 +2836,12 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2836
2836
  updatedAt: string;
2837
2837
  }[]>;
2838
2838
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
2839
- metadata: MessageMetadata | null;
2840
2839
  tenantId: string;
2841
2840
  projectId: string;
2842
2841
  id: string;
2843
2842
  createdAt: string;
2844
2843
  updatedAt: string;
2844
+ metadata: MessageMetadata | null;
2845
2845
  content: MessageContent;
2846
2846
  role: string;
2847
2847
  conversationId: string;
@@ -2862,12 +2862,12 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
2862
2862
  messageId: string;
2863
2863
  data: MessageUpdate;
2864
2864
  }) => Promise<{
2865
- metadata: MessageMetadata | null;
2866
2865
  tenantId: string;
2867
2866
  projectId: string;
2868
2867
  id: string;
2869
2868
  createdAt: string;
2870
2869
  updatedAt: string;
2870
+ metadata: MessageMetadata | null;
2871
2871
  content: MessageContent;
2872
2872
  role: string;
2873
2873
  conversationId: string;
@@ -2887,12 +2887,12 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
2887
2887
  scopes: ScopeConfig;
2888
2888
  messageId: string;
2889
2889
  }) => Promise<{
2890
- metadata: MessageMetadata | null;
2891
2890
  tenantId: string;
2892
2891
  projectId: string;
2893
2892
  id: string;
2894
2893
  createdAt: string;
2895
2894
  updatedAt: string;
2895
+ metadata: MessageMetadata | null;
2896
2896
  content: MessageContent;
2897
2897
  role: string;
2898
2898
  conversationId: string;
@@ -2978,12 +2978,12 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
2978
2978
  }) => Promise<boolean>;
2979
2979
 
2980
2980
  declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
2981
- metadata: TaskMetadataConfig | null;
2982
2981
  tenantId: string;
2983
2982
  projectId: string;
2984
2983
  id: string;
2985
2984
  createdAt: string;
2986
2985
  updatedAt: string;
2986
+ metadata: TaskMetadataConfig | null;
2987
2987
  status: string;
2988
2988
  contextId: string;
2989
2989
  agentId: string;
@@ -2998,12 +2998,12 @@ declare const updateTask: (db: DatabaseClient) => (params: {
2998
2998
  metadata?: any;
2999
2999
  };
3000
3000
  }) => Promise<{
3001
- metadata: TaskMetadataConfig | null;
3002
3001
  tenantId: string;
3003
3002
  projectId: string;
3004
3003
  id: string;
3005
3004
  createdAt: string;
3006
3005
  updatedAt: string;
3006
+ metadata: TaskMetadataConfig | null;
3007
3007
  status: string;
3008
3008
  contextId: string;
3009
3009
  agentId: string;
@@ -3017,20 +3017,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3017
3017
  scopes: ScopeConfig;
3018
3018
  toolId: string;
3019
3019
  }) => Promise<{
3020
- name: string;
3021
3020
  tenantId: string;
3022
3021
  projectId: string;
3023
3022
  id: string;
3024
- createdAt: string;
3025
- updatedAt: string;
3026
- headers: Record<string, string> | null;
3027
- status: string;
3028
- capabilities: ToolServerCapabilities | null;
3023
+ name: string;
3029
3024
  config: {
3030
3025
  type: "mcp";
3031
3026
  mcp: ToolMcpConfig;
3032
3027
  };
3033
3028
  credentialReferenceId: string | null;
3029
+ createdAt: string;
3030
+ updatedAt: string;
3031
+ headers: Record<string, string> | null;
3032
+ status: string;
3033
+ capabilities: ToolServerCapabilities | null;
3034
3034
  imageUrl: string | null;
3035
3035
  lastHealthCheck: string | null;
3036
3036
  lastError: string | null;
@@ -3097,20 +3097,20 @@ declare const listToolsByStatus: (db: DatabaseClient) => (params: {
3097
3097
  scopes: ScopeConfig;
3098
3098
  status: McpToolStatus;
3099
3099
  }) => Promise<{
3100
- name: string;
3101
3100
  tenantId: string;
3102
3101
  projectId: string;
3103
3102
  id: string;
3104
- createdAt: string;
3105
- updatedAt: string;
3106
- headers: Record<string, string> | null;
3107
- status: string;
3108
- capabilities: ToolServerCapabilities | null;
3103
+ name: string;
3109
3104
  config: {
3110
3105
  type: "mcp";
3111
3106
  mcp: ToolMcpConfig;
3112
3107
  };
3113
3108
  credentialReferenceId: string | null;
3109
+ createdAt: string;
3110
+ updatedAt: string;
3111
+ headers: Record<string, string> | null;
3112
+ status: string;
3113
+ capabilities: ToolServerCapabilities | null;
3114
3114
  imageUrl: string | null;
3115
3115
  lastHealthCheck: string | null;
3116
3116
  lastError: string | null;
@@ -3118,20 +3118,20 @@ declare const listToolsByStatus: (db: DatabaseClient) => (params: {
3118
3118
  lastToolsSync: string | null;
3119
3119
  }[]>;
3120
3120
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3121
- name: string;
3122
3121
  tenantId: string;
3123
3122
  projectId: string;
3124
3123
  id: string;
3125
- createdAt: string;
3126
- updatedAt: string;
3127
- headers: Record<string, string> | null;
3128
- status: string;
3129
- capabilities: ToolServerCapabilities | null;
3124
+ name: string;
3130
3125
  config: {
3131
3126
  type: "mcp";
3132
3127
  mcp: ToolMcpConfig;
3133
3128
  };
3134
3129
  credentialReferenceId: string | null;
3130
+ createdAt: string;
3131
+ updatedAt: string;
3132
+ headers: Record<string, string> | null;
3133
+ status: string;
3134
+ capabilities: ToolServerCapabilities | null;
3135
3135
  imageUrl: string | null;
3136
3136
  lastHealthCheck: string | null;
3137
3137
  lastError: string | null;
@@ -3143,20 +3143,20 @@ declare const updateTool: (db: DatabaseClient) => (params: {
3143
3143
  toolId: string;
3144
3144
  data: ToolUpdate;
3145
3145
  }) => Promise<{
3146
- name: string;
3147
3146
  tenantId: string;
3148
3147
  projectId: string;
3149
3148
  id: string;
3150
- createdAt: string;
3151
- updatedAt: string;
3152
- headers: Record<string, string> | null;
3153
- status: string;
3154
- capabilities: ToolServerCapabilities | null;
3149
+ name: string;
3155
3150
  config: {
3156
3151
  type: "mcp";
3157
3152
  mcp: ToolMcpConfig;
3158
3153
  };
3159
3154
  credentialReferenceId: string | null;
3155
+ createdAt: string;
3156
+ updatedAt: string;
3157
+ headers: Record<string, string> | null;
3158
+ status: string;
3159
+ capabilities: ToolServerCapabilities | null;
3160
3160
  imageUrl: string | null;
3161
3161
  lastHealthCheck: string | null;
3162
3162
  lastError: string | null;
@@ -3221,20 +3221,20 @@ declare const updateToolStatus: (db: DatabaseClient) => (params: {
3221
3221
  lastHealthCheck?: string;
3222
3222
  lastError?: string;
3223
3223
  }) => Promise<{
3224
- name: string;
3225
3224
  tenantId: string;
3226
3225
  projectId: string;
3227
3226
  id: string;
3228
- createdAt: string;
3229
- updatedAt: string;
3230
- headers: Record<string, string> | null;
3231
- status: string;
3232
- capabilities: ToolServerCapabilities | null;
3227
+ name: string;
3233
3228
  config: {
3234
3229
  type: "mcp";
3235
3230
  mcp: ToolMcpConfig;
3236
3231
  };
3237
3232
  credentialReferenceId: string | null;
3233
+ createdAt: string;
3234
+ updatedAt: string;
3235
+ headers: Record<string, string> | null;
3236
+ status: string;
3237
+ capabilities: ToolServerCapabilities | null;
3238
3238
  imageUrl: string | null;
3239
3239
  lastHealthCheck: string | null;
3240
3240
  lastError: string | null;
@@ -3247,20 +3247,20 @@ declare const updateToolStatus: (db: DatabaseClient) => (params: {
3247
3247
  declare const upsertTool: (db: DatabaseClient) => (params: {
3248
3248
  data: ToolInsert;
3249
3249
  }) => Promise<{
3250
- name: string;
3251
3250
  tenantId: string;
3252
3251
  projectId: string;
3253
3252
  id: string;
3254
- createdAt: string;
3255
- updatedAt: string;
3256
- headers: Record<string, string> | null;
3257
- status: string;
3258
- capabilities: ToolServerCapabilities | null;
3253
+ name: string;
3259
3254
  config: {
3260
3255
  type: "mcp";
3261
3256
  mcp: ToolMcpConfig;
3262
3257
  };
3263
3258
  credentialReferenceId: string | null;
3259
+ createdAt: string;
3260
+ updatedAt: string;
3261
+ headers: Record<string, string> | null;
3262
+ status: string;
3263
+ capabilities: ToolServerCapabilities | null;
3264
3264
  imageUrl: string | null;
3265
3265
  lastHealthCheck: string | null;
3266
3266
  lastError: string | null;