@inkeep/agents-core 0.14.8 → 0.14.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, f as ContextFetchDefinition, M as MCPTransportType, n as MCPToolConfig, o as GraphScopeConfig, C as ConversationHistoryConfig, p as ProjectScopeConfig, q as PaginationConfig, r as AgentGraphInsert, s as AgentGraphUpdate, t as FullGraphDefinition, u as AgentScopeConfig, v as AgentRelationInsert, E as ExternalAgentRelationInsert, w as AgentRelationUpdate, x as AgentToolRelationUpdate, g as ToolMcpConfig, h as ToolServerCapabilities, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, H as ApiKeyInsert, I as ApiKeyUpdate, J as CreateApiKeyParams, K as ApiKeyCreateResult, L as ArtifactComponentSelect, N as ArtifactComponentInsert, O as ArtifactComponentUpdate, Q as ContextCacheSelect, R as ContextCacheInsert, U as ContextConfigInsert, V as ContextConfigUpdate, W as ConversationSelect, X as ConversationInsert, i as ConversationMetadata, Y as ConversationUpdate, Z as CredentialReferenceSelect, _ as ToolSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, a7 as Artifact, a8 as LedgerArtifactSelect, k as MessageMetadata, j as MessageContent, a9 as MessageVisibility, aa as MessageInsert, ab as MessageUpdate, ac as FullProjectDefinition, ad as ProjectInfo, ae as ProjectSelect, af as PaginationResult, ag as ProjectResourceCounts, ah as ProjectInsert, ai as ProjectUpdate, aj as TaskInsert, T as TaskMetadataConfig, ak as TaskSelect, al as McpTool, am as ToolInsert, an as ToolUpdate, e as CredentialStoreType, ao as ExecutionContext } from './utility-COYxGpY5.js';
3
- export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-COYxGpY5.js';
2
+ import { n as CredentialReferenceApiInsert, o as ContextConfigSelect, h as ContextFetchDefinition, g as MCPTransportType, p as MCPToolConfig, q as GraphScopeConfig, C as ConversationHistoryConfig, r as ProjectScopeConfig, s as PaginationConfig, t as AgentGraphInsert, u as AgentGraphUpdate, v as FullGraphDefinition, w as AgentScopeConfig, x as AgentRelationInsert, E as ExternalAgentRelationInsert, y as AgentRelationUpdate, z as AgentToolRelationUpdate, i as ToolMcpConfig, j as ToolServerCapabilities, B as AgentInsert, D as AgentUpdate, H as AgentSelect, I as ApiKeySelect, J as ApiKeyInsert, K as ApiKeyUpdate, L as CreateApiKeyParams, N as ApiKeyCreateResult, O as ArtifactComponentSelect, Q as ArtifactComponentInsert, R as ArtifactComponentUpdate, U as ContextCacheSelect, V as ContextCacheInsert, W as ContextConfigInsert, X as ContextConfigUpdate, Y as ConversationSelect, Z as ConversationInsert, k as ConversationMetadata, _ as ConversationUpdate, $ as CredentialReferenceSelect, a0 as ToolSelect, a1 as CredentialReferenceInsert, a2 as CredentialReferenceUpdate, a3 as DataComponentSelect, a4 as DataComponentInsert, a5 as DataComponentUpdate, a6 as ExternalAgentInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, a9 as Artifact, aa as LedgerArtifactSelect, m as MessageMetadata, l as MessageContent, ab as MessageVisibility, ac as MessageInsert, ad as MessageUpdate, ae as FullProjectDefinition, af as ProjectInfo, ag as ProjectSelect, ah as PaginationResult, ai as ProjectResourceCounts, aj as ProjectInsert, ak as ProjectUpdate, al as TaskInsert, T as TaskMetadataConfig, am as TaskSelect, an as McpTool, ao as ToolInsert, ap as ToolUpdate, f as CredentialStoreType, aq as ExecutionContext } from './utility-CfjwCzr_.js';
3
+ export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, dt as AgentApiInsertSchema, bC as AgentApiSelect, ds as AgentApiSelectSchema, bE as AgentApiUpdate, du as AgentApiUpdateSchema, cw as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, cv as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cx as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, ct as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cs as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cu as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, cm as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, co as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ck as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, cj as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cl as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cV as AgentDefinition, bN as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bM as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bO as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bL as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, aA as AgentProvider, bH as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bG as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bI as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bJ as AgentRelationQuery, dB as AgentRelationQuerySchema, bF as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, aB as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cL as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cK as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cM as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cJ as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cI as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cD as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cC as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cE as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, cq as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cp as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cr as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, fp as CanUseItemSchema, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cd as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cf as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d9 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, cc as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c8 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c7 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c9 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, c1 as ConversationApiInsert, e3 as ConversationApiInsertSchema, c0 as ConversationApiSelect, e2 as ConversationApiSelectSchema, c2 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d7 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cG as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cH as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, ch as DataComponentApiInsert, em as DataComponentApiInsertSchema, cg as DataComponentApiSelect, el as DataComponentApiSelectSchema, ci as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, ax as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cz as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cy as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cA as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bK as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, cb as FetchConfig, f3 as FetchConfigSchema, ca as FetchDefinition, f4 as FetchDefinitionSchema, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aE as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cP as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cR as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cN as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cO as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, dh as MCPServerType, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, de as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dc as McpTransportConfig, dW as McpTransportConfigSchema, aO as Message, c5 as MessageApiInsert, e9 as MessageApiInsertSchema, c4 as MessageApiSelect, e8 as MessageApiSelectSchema, c6 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, e5 as MessageSelectSchema, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, e7 as MessageUpdateSchema, aV as MethodNotFoundError, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, fC as ProjectApiInsertSchema, cX as ProjectApiSelect, fB as ProjectApiSelectSchema, cZ as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d4 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d6 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d5 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, dO as TaskApiInsertSchema, bQ as TaskApiSelect, dN as TaskApiSelectSchema, bS as TaskApiUpdate, dP as TaskApiUpdateSchema, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, dL as TaskInsertSchema, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bW as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bY as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bU as TaskRelationInsert, dR as TaskRelationInsertSchema, bT as TaskRelationSelect, dQ as TaskRelationSelectSchema, bV as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bl as TaskResubscriptionRequest, dK as TaskSelectSchema, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, as as TextPart, b_ as ToolApiInsert, f1 as ToolApiInsertSchema, bZ as ToolApiSelect, f0 as ToolApiSelectSchema, b$ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cW as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES, dl as resourceIdSchema } from './utility-CfjwCzr_.js';
4
4
  import { CredentialStore } from './types/index.js';
5
5
  export { CorsConfig, ServerConfig, ServerOptions } from './types/index.js';
6
6
  import { LibSQLDatabase } from 'drizzle-orm/libsql';
7
- import { s as schema } from './schema-iVTOUsW8.js';
8
- export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-iVTOUsW8.js';
7
+ import { s as schema } from './schema-NJiTVcbN.js';
8
+ export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-NJiTVcbN.js';
9
9
  import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
10
10
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
11
11
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
@@ -837,15 +837,15 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
837
837
  models: {
838
838
  base?: {
839
839
  model?: string | undefined;
840
- providerOptions?: Record<string, unknown> | undefined;
840
+ providerOptions?: Record<string, any> | undefined;
841
841
  } | undefined;
842
842
  structuredOutput?: {
843
843
  model?: string | undefined;
844
- providerOptions?: Record<string, unknown> | undefined;
844
+ providerOptions?: Record<string, any> | undefined;
845
845
  } | undefined;
846
846
  summarizer?: {
847
847
  model?: string | undefined;
848
- providerOptions?: Record<string, unknown> | undefined;
848
+ providerOptions?: Record<string, any> | undefined;
849
849
  } | undefined;
850
850
  } | null;
851
851
  stopWhen: {
@@ -883,15 +883,15 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
883
883
  models: {
884
884
  base?: {
885
885
  model?: string | undefined;
886
- providerOptions?: Record<string, unknown> | undefined;
886
+ providerOptions?: Record<string, any> | undefined;
887
887
  } | undefined;
888
888
  structuredOutput?: {
889
889
  model?: string | undefined;
890
- providerOptions?: Record<string, unknown> | undefined;
890
+ providerOptions?: Record<string, any> | undefined;
891
891
  } | undefined;
892
892
  summarizer?: {
893
893
  model?: string | undefined;
894
- providerOptions?: Record<string, unknown> | undefined;
894
+ providerOptions?: Record<string, any> | undefined;
895
895
  } | undefined;
896
896
  } | null;
897
897
  stopWhen: {
@@ -928,15 +928,15 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
928
928
  models: {
929
929
  base?: {
930
930
  model?: string | undefined;
931
- providerOptions?: Record<string, unknown> | undefined;
931
+ providerOptions?: Record<string, any> | undefined;
932
932
  } | undefined;
933
933
  structuredOutput?: {
934
934
  model?: string | undefined;
935
- providerOptions?: Record<string, unknown> | undefined;
935
+ providerOptions?: Record<string, any> | undefined;
936
936
  } | undefined;
937
937
  summarizer?: {
938
938
  model?: string | undefined;
939
- providerOptions?: Record<string, unknown> | undefined;
939
+ providerOptions?: Record<string, any> | undefined;
940
940
  } | undefined;
941
941
  } | null;
942
942
  stopWhen: {
@@ -958,15 +958,15 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
958
958
  models: {
959
959
  base?: {
960
960
  model?: string | undefined;
961
- providerOptions?: Record<string, unknown> | undefined;
961
+ providerOptions?: Record<string, any> | undefined;
962
962
  } | undefined;
963
963
  structuredOutput?: {
964
964
  model?: string | undefined;
965
- providerOptions?: Record<string, unknown> | undefined;
965
+ providerOptions?: Record<string, any> | undefined;
966
966
  } | undefined;
967
967
  summarizer?: {
968
968
  model?: string | undefined;
969
- providerOptions?: Record<string, unknown> | undefined;
969
+ providerOptions?: Record<string, any> | undefined;
970
970
  } | undefined;
971
971
  } | null;
972
972
  stopWhen: {
@@ -1004,15 +1004,15 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
1004
1004
  models: {
1005
1005
  base?: {
1006
1006
  model?: string | undefined;
1007
- providerOptions?: Record<string, unknown> | undefined;
1007
+ providerOptions?: Record<string, any> | undefined;
1008
1008
  } | undefined;
1009
1009
  structuredOutput?: {
1010
1010
  model?: string | undefined;
1011
- providerOptions?: Record<string, unknown> | undefined;
1011
+ providerOptions?: Record<string, any> | undefined;
1012
1012
  } | undefined;
1013
1013
  summarizer?: {
1014
1014
  model?: string | undefined;
1015
- providerOptions?: Record<string, unknown> | undefined;
1015
+ providerOptions?: Record<string, any> | undefined;
1016
1016
  } | undefined;
1017
1017
  } | null;
1018
1018
  statusUpdates: {
@@ -1057,15 +1057,15 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
1057
1057
  models: {
1058
1058
  base?: {
1059
1059
  model?: string | undefined;
1060
- providerOptions?: Record<string, unknown> | undefined;
1060
+ providerOptions?: Record<string, any> | undefined;
1061
1061
  } | undefined;
1062
1062
  structuredOutput?: {
1063
1063
  model?: string | undefined;
1064
- providerOptions?: Record<string, unknown> | undefined;
1064
+ providerOptions?: Record<string, any> | undefined;
1065
1065
  } | undefined;
1066
1066
  summarizer?: {
1067
1067
  model?: string | undefined;
1068
- providerOptions?: Record<string, unknown> | undefined;
1068
+ providerOptions?: Record<string, any> | undefined;
1069
1069
  } | undefined;
1070
1070
  } | null;
1071
1071
  stopWhen: {
@@ -1104,15 +1104,15 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
1104
1104
  models: {
1105
1105
  base?: {
1106
1106
  model?: string | undefined;
1107
- providerOptions?: Record<string, unknown> | undefined;
1107
+ providerOptions?: Record<string, any> | undefined;
1108
1108
  } | undefined;
1109
1109
  structuredOutput?: {
1110
1110
  model?: string | undefined;
1111
- providerOptions?: Record<string, unknown> | undefined;
1111
+ providerOptions?: Record<string, any> | undefined;
1112
1112
  } | undefined;
1113
1113
  summarizer?: {
1114
1114
  model?: string | undefined;
1115
- providerOptions?: Record<string, unknown> | undefined;
1115
+ providerOptions?: Record<string, any> | undefined;
1116
1116
  } | undefined;
1117
1117
  } | null;
1118
1118
  stopWhen: {
@@ -1600,15 +1600,15 @@ declare const getAgentsForTool: (db: DatabaseClient) => (params: {
1600
1600
  models: {
1601
1601
  base?: {
1602
1602
  model?: string | undefined;
1603
- providerOptions?: Record<string, unknown> | undefined;
1603
+ providerOptions?: Record<string, any> | undefined;
1604
1604
  } | undefined;
1605
1605
  structuredOutput?: {
1606
1606
  model?: string | undefined;
1607
- providerOptions?: Record<string, unknown> | undefined;
1607
+ providerOptions?: Record<string, any> | undefined;
1608
1608
  } | undefined;
1609
1609
  summarizer?: {
1610
1610
  model?: string | undefined;
1611
- providerOptions?: Record<string, unknown> | undefined;
1611
+ providerOptions?: Record<string, any> | undefined;
1612
1612
  } | undefined;
1613
1613
  } | null;
1614
1614
  stopWhen: {
@@ -1649,15 +1649,15 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
1649
1649
  models: {
1650
1650
  base?: {
1651
1651
  model?: string | undefined;
1652
- providerOptions?: Record<string, unknown> | undefined;
1652
+ providerOptions?: Record<string, any> | undefined;
1653
1653
  } | undefined;
1654
1654
  structuredOutput?: {
1655
1655
  model?: string | undefined;
1656
- providerOptions?: Record<string, unknown> | undefined;
1656
+ providerOptions?: Record<string, any> | undefined;
1657
1657
  } | undefined;
1658
1658
  summarizer?: {
1659
1659
  model?: string | undefined;
1660
- providerOptions?: Record<string, unknown> | undefined;
1660
+ providerOptions?: Record<string, any> | undefined;
1661
1661
  } | undefined;
1662
1662
  } | null;
1663
1663
  stopWhen: {
@@ -1680,15 +1680,15 @@ declare const listAgents: (db: DatabaseClient) => (params: {
1680
1680
  models: {
1681
1681
  base?: {
1682
1682
  model?: string | undefined;
1683
- providerOptions?: Record<string, unknown> | undefined;
1683
+ providerOptions?: Record<string, any> | undefined;
1684
1684
  } | undefined;
1685
1685
  structuredOutput?: {
1686
1686
  model?: string | undefined;
1687
- providerOptions?: Record<string, unknown> | undefined;
1687
+ providerOptions?: Record<string, any> | undefined;
1688
1688
  } | undefined;
1689
1689
  summarizer?: {
1690
1690
  model?: string | undefined;
1691
- providerOptions?: Record<string, unknown> | undefined;
1691
+ providerOptions?: Record<string, any> | undefined;
1692
1692
  } | undefined;
1693
1693
  } | null;
1694
1694
  stopWhen: {
@@ -1707,15 +1707,15 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
1707
1707
  models: {
1708
1708
  base?: {
1709
1709
  model?: string | undefined;
1710
- providerOptions?: Record<string, unknown> | undefined;
1710
+ providerOptions?: Record<string, any> | undefined;
1711
1711
  } | undefined;
1712
1712
  structuredOutput?: {
1713
1713
  model?: string | undefined;
1714
- providerOptions?: Record<string, unknown> | undefined;
1714
+ providerOptions?: Record<string, any> | undefined;
1715
1715
  } | undefined;
1716
1716
  summarizer?: {
1717
1717
  model?: string | undefined;
1718
- providerOptions?: Record<string, unknown> | undefined;
1718
+ providerOptions?: Record<string, any> | undefined;
1719
1719
  } | undefined;
1720
1720
  } | null;
1721
1721
  stopWhen: {
@@ -1749,15 +1749,15 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
1749
1749
  models: {
1750
1750
  base?: {
1751
1751
  model?: string | undefined;
1752
- providerOptions?: Record<string, unknown> | undefined;
1752
+ providerOptions?: Record<string, any> | undefined;
1753
1753
  } | undefined;
1754
1754
  structuredOutput?: {
1755
1755
  model?: string | undefined;
1756
- providerOptions?: Record<string, unknown> | undefined;
1756
+ providerOptions?: Record<string, any> | undefined;
1757
1757
  } | undefined;
1758
1758
  summarizer?: {
1759
1759
  model?: string | undefined;
1760
- providerOptions?: Record<string, unknown> | undefined;
1760
+ providerOptions?: Record<string, any> | undefined;
1761
1761
  } | undefined;
1762
1762
  } | null;
1763
1763
  stopWhen: {
@@ -1782,15 +1782,15 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
1782
1782
  models: {
1783
1783
  base?: {
1784
1784
  model?: string | undefined;
1785
- providerOptions?: Record<string, unknown> | undefined;
1785
+ providerOptions?: Record<string, any> | undefined;
1786
1786
  } | undefined;
1787
1787
  structuredOutput?: {
1788
1788
  model?: string | undefined;
1789
- providerOptions?: Record<string, unknown> | undefined;
1789
+ providerOptions?: Record<string, any> | undefined;
1790
1790
  } | undefined;
1791
1791
  summarizer?: {
1792
1792
  model?: string | undefined;
1793
- providerOptions?: Record<string, unknown> | undefined;
1793
+ providerOptions?: Record<string, any> | undefined;
1794
1794
  } | undefined;
1795
1795
  } | null;
1796
1796
  stopWhen: {
@@ -1818,15 +1818,15 @@ declare const getAgentsByIds: (db: DatabaseClient) => (params: {
1818
1818
  models: {
1819
1819
  base?: {
1820
1820
  model?: string | undefined;
1821
- providerOptions?: Record<string, unknown> | undefined;
1821
+ providerOptions?: Record<string, any> | undefined;
1822
1822
  } | undefined;
1823
1823
  structuredOutput?: {
1824
1824
  model?: string | undefined;
1825
- providerOptions?: Record<string, unknown> | undefined;
1825
+ providerOptions?: Record<string, any> | undefined;
1826
1826
  } | undefined;
1827
1827
  summarizer?: {
1828
1828
  model?: string | undefined;
1829
- providerOptions?: Record<string, unknown> | undefined;
1829
+ providerOptions?: Record<string, any> | undefined;
1830
1830
  } | undefined;
1831
1831
  } | null;
1832
1832
  stopWhen: {
@@ -3975,7 +3975,7 @@ declare function getRequestExecutionContext(c: Context): ExecutionContext;
3975
3975
  * Helper function to handle span errors consistently
3976
3976
  * Records the exception, sets error status, and optionally logs
3977
3977
  */
3978
- declare function setSpanWithError(span: Span, error: unknown, logger?: {
3978
+ declare function setSpanWithError(span: Span, error: Error, logger?: {
3979
3979
  error: (obj: any, msg?: string) => void;
3980
3980
  }, logMessage?: string): void;
3981
3981
  /**
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export { TaskState } from './chunk-H2F72PDA.js';
2
- import { validateAndTypeGraphData, validateGraphStructure, isInternalAgent, isExternalAgent } from './chunk-OWZRYYBR.js';
3
- export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from './chunk-OWZRYYBR.js';
4
- import { ContextConfigApiUpdateSchema } from './chunk-C4PFKKRE.js';
5
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from './chunk-C4PFKKRE.js';
2
+ import { validateAndTypeGraphData, validateGraphStructure, isInternalAgent, isExternalAgent } from './chunk-SPN4Y2C3.js';
3
+ export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from './chunk-SPN4Y2C3.js';
4
+ import { ContextConfigApiUpdateSchema } from './chunk-423XYZ6F.js';
5
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from './chunk-423XYZ6F.js';
6
6
  import { schema_exports, agentRelations, agents, externalAgents, agentToolRelations, tools, contextConfigs, agentGraph, agentDataComponents, agentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, credentialReferences, ledgerArtifacts, tasks, taskRelations } from './chunk-AHSEMW6N.js';
7
7
  export { agentArtifactComponents, agentArtifactComponentsRelations, agentDataComponents, agentDataComponentsRelations, agentGraph, agentGraphRelations, agentRelations, agentRelationsRelations, agentToolRelations, agentToolRelationsRelations, agents, agentsRelations, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from './chunk-AHSEMW6N.js';
8
8
  import { CredentialStoreType, MCPServerType, MCPTransportType } from './chunk-YFHT5M2R.js';
@@ -4119,14 +4119,13 @@ var noopTracer = {
4119
4119
  }
4120
4120
  };
4121
4121
  function setSpanWithError(span, error, logger12, logMessage) {
4122
- const errorMessage = error instanceof Error ? error.message : String(error);
4123
4122
  span.recordException(error);
4124
4123
  span.setStatus({
4125
4124
  code: SpanStatusCode.ERROR,
4126
- message: errorMessage
4125
+ message: error.message
4127
4126
  });
4128
4127
  if (logger12 && logMessage) {
4129
- logger12.error({ error: errorMessage }, logMessage);
4128
+ logger12.error({ error: error.message }, logMessage);
4130
4129
  }
4131
4130
  }
4132
4131
  function getTracer(serviceName, serviceVersion) {
@@ -7329,7 +7328,7 @@ var ContextResolver = class {
7329
7328
  return result;
7330
7329
  } catch (error) {
7331
7330
  const durationMs = Date.now() - startTime;
7332
- setSpanWithError(parentSpan, error);
7331
+ setSpanWithError(parentSpan, error instanceof Error ? error : new Error(String(error)));
7333
7332
  logger7.error(
7334
7333
  {
7335
7334
  contextConfigId: contextConfig2.id,
@@ -7409,7 +7408,7 @@ var ContextResolver = class {
7409
7408
  });
7410
7409
  return data;
7411
7410
  } catch (error) {
7412
- setSpanWithError(parentSpan, error);
7411
+ setSpanWithError(parentSpan, error instanceof Error ? error : new Error(String(error)));
7413
7412
  throw error;
7414
7413
  } finally {
7415
7414
  parentSpan.end();
@@ -8321,7 +8320,7 @@ async function handleContextResolution({
8321
8320
  "context.final_status": "failed",
8322
8321
  "context.error_message": errorMessage
8323
8322
  });
8324
- setSpanWithError(parentSpan, error);
8323
+ setSpanWithError(parentSpan, error instanceof Error ? error : new Error(String(error)));
8325
8324
  logger10.error(
8326
8325
  {
8327
8326
  error: errorMessage,
@@ -1,6 +1,6 @@
1
1
  import * as drizzle_orm from 'drizzle-orm';
2
2
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
3
- import { f as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, g as ToolMcpConfig, h as ToolServerCapabilities, i as ConversationMetadata, j as MessageContent, k as MessageMetadata, P as Part } from './utility-COYxGpY5.cjs';
3
+ import { h as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, i as ToolMcpConfig, j as ToolServerCapabilities, k as ConversationMetadata, l as MessageContent, m as MessageMetadata, P as Part } from './utility-CfjwCzr_.cjs';
4
4
 
5
5
  declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6
6
  name: "projects";
@@ -52,15 +52,15 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
52
52
  data: {
53
53
  base: {
54
54
  model?: string | undefined;
55
- providerOptions?: Record<string, unknown> | undefined;
55
+ providerOptions?: Record<string, any> | undefined;
56
56
  };
57
57
  structuredOutput?: {
58
58
  model?: string | undefined;
59
- providerOptions?: Record<string, unknown> | undefined;
59
+ providerOptions?: Record<string, any> | undefined;
60
60
  } | undefined;
61
61
  summarizer?: {
62
62
  model?: string | undefined;
63
- providerOptions?: Record<string, unknown> | undefined;
63
+ providerOptions?: Record<string, any> | undefined;
64
64
  } | undefined;
65
65
  };
66
66
  driverParam: string;
@@ -77,15 +77,15 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
77
77
  $type: {
78
78
  base: {
79
79
  model?: string | undefined;
80
- providerOptions?: Record<string, unknown> | undefined;
80
+ providerOptions?: Record<string, any> | undefined;
81
81
  };
82
82
  structuredOutput?: {
83
83
  model?: string | undefined;
84
- providerOptions?: Record<string, unknown> | undefined;
84
+ providerOptions?: Record<string, any> | undefined;
85
85
  } | undefined;
86
86
  summarizer?: {
87
87
  model?: string | undefined;
88
- providerOptions?: Record<string, unknown> | undefined;
88
+ providerOptions?: Record<string, any> | undefined;
89
89
  } | undefined;
90
90
  };
91
91
  }>;
@@ -319,15 +319,15 @@ declare const agentGraph: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
319
319
  data: {
320
320
  base?: {
321
321
  model?: string | undefined;
322
- providerOptions?: Record<string, unknown> | undefined;
322
+ providerOptions?: Record<string, any> | undefined;
323
323
  } | undefined;
324
324
  structuredOutput?: {
325
325
  model?: string | undefined;
326
- providerOptions?: Record<string, unknown> | undefined;
326
+ providerOptions?: Record<string, any> | undefined;
327
327
  } | undefined;
328
328
  summarizer?: {
329
329
  model?: string | undefined;
330
- providerOptions?: Record<string, unknown> | undefined;
330
+ providerOptions?: Record<string, any> | undefined;
331
331
  } | undefined;
332
332
  };
333
333
  driverParam: string;
@@ -344,15 +344,15 @@ declare const agentGraph: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
344
344
  $type: {
345
345
  base?: {
346
346
  model?: string | undefined;
347
- providerOptions?: Record<string, unknown> | undefined;
347
+ providerOptions?: Record<string, any> | undefined;
348
348
  } | undefined;
349
349
  structuredOutput?: {
350
350
  model?: string | undefined;
351
- providerOptions?: Record<string, unknown> | undefined;
351
+ providerOptions?: Record<string, any> | undefined;
352
352
  } | undefined;
353
353
  summarizer?: {
354
354
  model?: string | undefined;
355
- providerOptions?: Record<string, unknown> | undefined;
355
+ providerOptions?: Record<string, any> | undefined;
356
356
  } | undefined;
357
357
  };
358
358
  }>;
@@ -1042,15 +1042,15 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1042
1042
  data: {
1043
1043
  base?: {
1044
1044
  model?: string | undefined;
1045
- providerOptions?: Record<string, unknown> | undefined;
1045
+ providerOptions?: Record<string, any> | undefined;
1046
1046
  } | undefined;
1047
1047
  structuredOutput?: {
1048
1048
  model?: string | undefined;
1049
- providerOptions?: Record<string, unknown> | undefined;
1049
+ providerOptions?: Record<string, any> | undefined;
1050
1050
  } | undefined;
1051
1051
  summarizer?: {
1052
1052
  model?: string | undefined;
1053
- providerOptions?: Record<string, unknown> | undefined;
1053
+ providerOptions?: Record<string, any> | undefined;
1054
1054
  } | undefined;
1055
1055
  };
1056
1056
  driverParam: string;
@@ -1067,15 +1067,15 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1067
1067
  $type: {
1068
1068
  base?: {
1069
1069
  model?: string | undefined;
1070
- providerOptions?: Record<string, unknown> | undefined;
1070
+ providerOptions?: Record<string, any> | undefined;
1071
1071
  } | undefined;
1072
1072
  structuredOutput?: {
1073
1073
  model?: string | undefined;
1074
- providerOptions?: Record<string, unknown> | undefined;
1074
+ providerOptions?: Record<string, any> | undefined;
1075
1075
  } | undefined;
1076
1076
  summarizer?: {
1077
1077
  model?: string | undefined;
1078
- providerOptions?: Record<string, unknown> | undefined;
1078
+ providerOptions?: Record<string, any> | undefined;
1079
1079
  } | undefined;
1080
1080
  };
1081
1081
  }>;