@inkeep/agents-core 0.37.1 → 0.37.2

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.
Files changed (46) hide show
  1. package/dist/auth/auth-schema.d.ts +47 -1
  2. package/dist/auth/auth-schema.js +1 -1
  3. package/dist/auth/auth-validation-schemas.d.ts +35 -1
  4. package/dist/auth/auth-validation-schemas.js +2 -2
  5. package/dist/auth/auth.d.ts +23 -23
  6. package/dist/auth/auth.js +11 -4
  7. package/dist/auth/permissions.d.ts +9 -9
  8. package/dist/auth/permissions.js +1 -1
  9. package/dist/{chunk-ROXPFQAM.js → chunk-3HACEHXF.js} +23 -22
  10. package/dist/{chunk-W3QDM7WH.js → chunk-5QZSNATS.js} +2 -2
  11. package/dist/{chunk-7GZHUB4J.js → chunk-6CYQZ5KX.js} +1 -1
  12. package/dist/{chunk-ZEZCCHV7.js → chunk-BJLC7EI4.js} +2 -2
  13. package/dist/{chunk-PVRIMF6N.js → chunk-DEYPSEXR.js} +1 -1
  14. package/dist/chunk-GENLXHZ4.js +159 -0
  15. package/dist/{chunk-VMSYBWFH.js → chunk-JNBVHWXX.js} +7 -4
  16. package/dist/{chunk-LL6F3EAR.js → chunk-RUTYLJB7.js} +1 -1
  17. package/dist/{chunk-K6GMXJPW.js → chunk-XHODTX4H.js} +1 -1
  18. package/dist/{chunk-FOK3JSQN.js → chunk-YSFXXC6K.js} +1 -1
  19. package/dist/{chunk-I6IF7ZTL.js → chunk-ZSYMSL55.js} +2 -2
  20. package/dist/{client-B_3j-V4-.d.ts → client-B3nwdklT.d.ts} +1 -1
  21. package/dist/client-exports.d.ts +6 -7
  22. package/dist/client-exports.js +3 -3
  23. package/dist/constants/schema-validation/index.js +1 -1
  24. package/dist/credential-stores/index.d.ts +3 -4
  25. package/dist/credential-stores/index.js +1 -1
  26. package/dist/db/schema.d.ts +3 -4
  27. package/dist/db/schema.js +2 -2
  28. package/dist/db/test-client.d.ts +4 -5
  29. package/dist/db/test-client.js +1 -1
  30. package/dist/index.d.ts +560 -560
  31. package/dist/index.js +35 -25
  32. package/dist/{schema-DKbG39on.d.ts → schema-BhYTubhP.d.ts} +1 -1
  33. package/dist/{server-BXoUiBMg.d.ts → server-CHLmv-Jb.d.ts} +1 -1
  34. package/dist/types/index.d.ts +3 -4
  35. package/dist/{utility-Lo5NoRHK.d.ts → utility-5USfJ5Xd.d.ts} +452 -453
  36. package/dist/utils/schema-conversion.d.ts +1 -1
  37. package/dist/utils/schema-conversion.js +1 -1
  38. package/dist/validation/index.d.ts +131 -132
  39. package/dist/validation/index.js +2 -2
  40. package/drizzle/0002_puzzling_goblin_queen.sql +8 -0
  41. package/drizzle/0003_sweet_human_robot.sql +8 -0
  42. package/drizzle/meta/0002_snapshot.json +3637 -0
  43. package/drizzle/meta/0003_snapshot.json +3643 -0
  44. package/drizzle/meta/_journal.json +14 -0
  45. package/package.json +2 -4
  46. package/dist/chunk-NFTJ5JBY.js +0 -82
package/dist/index.d.ts CHANGED
@@ -2,25 +2,24 @@ export { ANTHROPIC_MODELS, AnthropicModel, GOOGLE_MODELS, GoogleModel, ModelName
2
2
  import { r as PinoLogger, s as getLogger } from './auth-detection-7G0Dxt55.js';
3
3
  export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, L as LoggerFactoryConfig, M as McpOAuthFlowResult, u as McpTokenExchangeResult, t as OAuthConfig, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, x as PinoLoggerConfig, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired, w as exchangeMcpAuthorizationCode, v as initiateMcpOAuthFlow, y as loggerFactory } from './auth-detection-7G0Dxt55.js';
4
4
  export { AGENT_EXECUTION_TRANSFER_COUNT_DEFAULT, AGENT_EXECUTION_TRANSFER_COUNT_MAX, AGENT_EXECUTION_TRANSFER_COUNT_MIN, CONTEXT_FETCHER_HTTP_TIMEOUT_MS_DEFAULT, STATUS_UPDATE_MAX_INTERVAL_SECONDS, STATUS_UPDATE_MAX_NUM_EVENTS, SUB_AGENT_TURN_GENERATION_STEPS_DEFAULT, SUB_AGENT_TURN_GENERATION_STEPS_MAX, SUB_AGENT_TURN_GENERATION_STEPS_MIN, VALIDATION_AGENT_PROMPT_MAX_CHARS, VALIDATION_SUB_AGENT_PROMPT_MAX_CHARS, schemaValidationDefaults } from './constants/schema-validation/index.js';
5
- import zod__default, { z } from 'zod';
6
- import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, C as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, o as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, q as MessageMetadata, p 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 SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, h as CredentialStoreType, ay as ExecutionContext, az as MessageSelect, g as ModelSettings, aA as PrebuiltMCPServerSchema } from './utility-Lo5NoRHK.js';
7
- export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, e4 as AgentApiInsertSchema, bW as AgentApiSelect, e3 as AgentApiSelectSchema, bY as AgentApiUpdate, e5 as AgentApiUpdateSchema, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, e1 as AgentInsertSchema, gO as AgentListResponse, aK as AgentProvider, gy as AgentResponse, e0 as AgentSelectSchema, aL as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e2 as AgentUpdateSchema, h5 as AgentWithinContextOfProjectResponse, gi as AgentWithinContextOfProjectSchema, f8 as AllAgentSchema, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, fd as ApiKeyApiCreationResponseSchema, cS as ApiKeyApiInsert, fe as ApiKeyApiInsertSchema, cR as ApiKeyApiSelect, fc as ApiKeyApiSelectSchema, cT as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fa as ApiKeyInsertSchema, gS as ApiKeyListResponse, gC as ApiKeyResponse, f9 as ApiKeySelectSchema, fb as ApiKeyUpdateSchema, cF as ArtifactComponentApiInsert, eW as ArtifactComponentApiInsertSchema, cE as ArtifactComponentApiSelect, eV as ArtifactComponentApiSelectSchema, cG as ArtifactComponentApiUpdate, eX as ArtifactComponentApiUpdateSchema, hf as ArtifactComponentArrayResponse, eT as ArtifactComponentInsertSchema, gX as ArtifactComponentListResponse, gH as ArtifactComponentResponse, eS as ArtifactComponentSelectSchema, eU as ArtifactComponentUpdateSchema, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, ge as CanUseItemSchema, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, h7 as ComponentAssociationListResponse, fq as ComponentAssociationSchema, ba as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, eD as ContextCacheApiInsertSchema, cs as ContextCacheApiSelect, eC as ContextCacheApiSelectSchema, cu as ContextCacheApiUpdate, eE as ContextCacheApiUpdateSchema, dz as ContextCacheEntry, eA as ContextCacheInsertSchema, ez as ContextCacheSelectSchema, cr as ContextCacheUpdate, eB as ContextCacheUpdateSchema, cn as ContextConfigApiInsert, fO as ContextConfigApiInsertSchema, cm as ContextConfigApiSelect, fN as ContextConfigApiSelectSchema, co as ContextConfigApiUpdate, fP as ContextConfigApiUpdateSchema, fL as ContextConfigInsertSchema, gR as ContextConfigListResponse, gB as ContextConfigResponse, fK as ContextConfigSelectSchema, fM as ContextConfigUpdateSchema, ch as ConversationApiInsert, er as ConversationApiInsertSchema, cg as ConversationApiSelect, eq as ConversationApiSelectSchema, ci as ConversationApiUpdate, es as ConversationApiUpdateSchema, eo as ConversationInsertSchema, g_ as ConversationListResponse, gK as ConversationResponse, dx as ConversationScopeOptions, en as ConversationSelectSchema, ep as ConversationUpdateSchema, fn as CreateCredentialInStoreRequestSchema, fo as CreateCredentialInStoreResponseSchema, fj as CredentialReferenceApiInsertSchema, cV as CredentialReferenceApiSelect, fi as CredentialReferenceApiSelectSchema, cW as CredentialReferenceApiUpdate, fk as CredentialReferenceApiUpdateSchema, fg as CredentialReferenceInsertSchema, gT as CredentialReferenceListResponse, gD as CredentialReferenceResponse, ff as CredentialReferenceSelectSchema, fh as CredentialReferenceUpdateSchema, fm as CredentialStoreListResponseSchema, fl as CredentialStoreSchema, cw as DataComponentApiInsert, eK as DataComponentApiInsertSchema, cv as DataComponentApiSelect, eJ as DataComponentApiSelectSchema, cx as DataComponentApiUpdate, eL as DataComponentApiUpdateSchema, he as DataComponentArrayResponse, eH as DataComponentBaseSchema, eG as DataComponentInsertSchema, gW as DataComponentListResponse, gG as DataComponentResponse, eF as DataComponentSelectSchema, eI as DataComponentUpdateSchema, aH as DataPart, gm as ErrorResponseSchema, gn as ExistsResponseSchema, cO as ExternalAgentApiInsert, f6 as ExternalAgentApiInsertSchema, cN as ExternalAgentApiSelect, f5 as ExternalAgentApiSelectSchema, cP as ExternalAgentApiUpdate, f7 as ExternalAgentApiUpdateSchema, f3 as ExternalAgentInsertSchema, gQ as ExternalAgentListResponse, gA as ExternalAgentResponse, f2 as ExternalAgentSelectSchema, f4 as ExternalAgentUpdateSchema, bV as ExternalSubAgentRelationApiInsert, d$ as ExternalSubAgentRelationApiInsertSchema, bU as ExternalSubAgentRelationInsert, d_ as ExternalSubAgentRelationInsertSchema, cq as FetchConfig, fI as FetchConfigSchema, cp as FetchDefinition, fJ as FetchDefinitionSchema, aD as FileBase, aG as FilePart, aE as FileWithBytes, aF as FileWithUri, dI as Filter, df as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, h4 as FullProjectDefinitionResponse, gv as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cd as FunctionApiSelect, j as FunctionApiSelectSchema, ce as FunctionApiUpdate, k as FunctionApiUpdateSchema, cb as FunctionInsert, fG as FunctionInsertSchema, gU as FunctionListResponse, gE as FunctionResponse, ca as FunctionSelect, fF as FunctionSelectSchema, fD as FunctionToolApiInsertSchema, cf as FunctionToolApiSelect, fC as FunctionToolApiSelectSchema, fE as FunctionToolApiUpdateSchema, dM as FunctionToolConfig, dL as FunctionToolConfigSchema, fA as FunctionToolInsertSchema, gV as FunctionToolListResponse, gF as FunctionToolResponse, fz as FunctionToolSelectSchema, fB as FunctionToolUpdateSchema, cc as FunctionUpdate, fH as FunctionUpdateSchema, bu as GetTaskPushNotificationConfigRequest, bH as GetTaskPushNotificationConfigResponse, bG as GetTaskPushNotificationConfigSuccessResponse, br as GetTaskRequest, bB as GetTaskResponse, bA as GetTaskSuccessResponse, aO as HTTPAuthSecurityScheme, hg as HeadersScopeSchema, aS as ImplicitOAuthFlow, b5 as InternalError, bb as InvalidAgentResponseError, b4 as InvalidParamsError, b2 as InvalidRequestError, b1 as JSONParseError, bm as JSONRPCError, bo as JSONRPCErrorResponse, bk as JSONRPCMessage, bl as JSONRPCRequest, bn as JSONRPCResult, dd as LedgerArtifactApiInsert, ga as LedgerArtifactApiInsertSchema, dc as LedgerArtifactApiSelect, g9 as LedgerArtifactApiSelectSchema, de as LedgerArtifactApiUpdate, gb as LedgerArtifactApiUpdateSchema, da as LedgerArtifactInsert, g7 as LedgerArtifactInsertSchema, g6 as LedgerArtifactSelectSchema, db as LedgerArtifactUpdate, g8 as LedgerArtifactUpdateSchema, gk as ListResponseSchema, hq as MCPCatalogListResponse, dH as MCPServerType, fu as MCPToolConfigSchema, dA as McpAuthType, dB as McpServerAuth, dD as McpServerCapabilities, dE as McpToolDefinition, ek as McpToolDefinitionSchema, h9 as McpToolListResponse, h8 as McpToolResponse, ft as McpToolSchema, dC as McpTransportConfig, ei as McpTransportConfigSchema, aY as Message, ck as MessageApiInsert, ex as MessageApiInsertSchema, cj as MessageApiSelect, ew as MessageApiSelectSchema, cl as MessageApiUpdate, ey as MessageApiUpdateSchema, eu as MessageInsertSchema, g$ as MessageListResponse, ds as MessageMode, bK as MessagePart, gL as MessageResponse, dr as MessageRole, et as MessageSelectSchema, bi as MessageSendConfiguration, bj as MessageSendParams, dq as MessageType, ev as MessageUpdateSchema, b3 as MethodNotFoundError, dJ as ModelSchema, M as ModelSettingsSchema, dt as Models, aU as OAuth2SecurityScheme, fs as OAuthCallbackQuerySchema, aP as OAuthFlows, fr as OAuthLoginQuerySchema, aV as OpenIdConnectSecurityScheme, dn as Pagination, hp as PaginationQueryParamsSchema, gj as PaginationSchema, P as Part, aB as PartBase, aT as PasswordOAuthFlow, dl as ProjectApiInsert, gt as ProjectApiInsertSchema, dk as ProjectApiSelect, gs as ProjectApiSelectSchema, dm as ProjectApiUpdate, gu as ProjectApiUpdateSchema, gq as ProjectInsertSchema, gM as ProjectListResponse, dK as ProjectModelSchema, du as ProjectModels, gw as ProjectResponse, gp as ProjectSelectSchema, gr as ProjectUpdateSchema, bd as PushNotificationAuthenticationInfo, be as PushNotificationConfig, b8 as PushNotificationNotSupportedError, h6 as RelatedAgentInfoListResponse, fp as RelatedAgentInfoSchema, go as RemovedResponseSchema, aW as SecurityScheme, aM as SecuritySchemeBase, bp as SendMessageRequest, bx as SendMessageResponse, bw as SendMessageSuccessResponse, bq as SendStreamingMessageRequest, bz as SendStreamingMessageResponse, by as SendStreamingMessageSuccessResponse, bt as SetTaskPushNotificationConfigRequest, bF as SetTaskPushNotificationConfigResponse, bE as SetTaskPushNotificationConfigSuccessResponse, gl as SingleResponseSchema, dw as StatusComponent, gc as StatusComponentSchema, gd as StatusUpdateSchema, dv as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bN as SubAgentApiInsert, dR as SubAgentApiInsertSchema, bM as SubAgentApiSelect, dQ as SubAgentApiSelectSchema, bO as SubAgentApiUpdate, dS as SubAgentApiUpdateSchema, cL as SubAgentArtifactComponentApiInsert, f0 as SubAgentArtifactComponentApiInsertSchema, cK as SubAgentArtifactComponentApiSelect, e$ as SubAgentArtifactComponentApiSelectSchema, cM as SubAgentArtifactComponentApiUpdate, f1 as SubAgentArtifactComponentApiUpdateSchema, cI as SubAgentArtifactComponentInsert, eZ as SubAgentArtifactComponentInsertSchema, h3 as SubAgentArtifactComponentListResponse, h1 as SubAgentArtifactComponentResponse, cH as SubAgentArtifactComponentSelect, eY as SubAgentArtifactComponentSelectSchema, cJ as SubAgentArtifactComponentUpdate, e_ as SubAgentArtifactComponentUpdateSchema, cC as SubAgentDataComponentApiInsert, eQ as SubAgentDataComponentApiInsertSchema, cB as SubAgentDataComponentApiSelect, eP as SubAgentDataComponentApiSelectSchema, cD as SubAgentDataComponentApiUpdate, eR as SubAgentDataComponentApiUpdateSchema, cz as SubAgentDataComponentInsert, eN as SubAgentDataComponentInsertSchema, h2 as SubAgentDataComponentListResponse, h0 as SubAgentDataComponentResponse, cy as SubAgentDataComponentSelect, eM as SubAgentDataComponentSelectSchema, cA as SubAgentDataComponentUpdate, eO as SubAgentDataComponentUpdateSchema, di as SubAgentDefinition, d3 as SubAgentExternalAgentRelationApiInsert, f_ as SubAgentExternalAgentRelationApiInsertSchema, d2 as SubAgentExternalAgentRelationApiSelect, fZ as SubAgentExternalAgentRelationApiSelectSchema, d4 as SubAgentExternalAgentRelationApiUpdate, f$ as SubAgentExternalAgentRelationApiUpdateSchema, fX as SubAgentExternalAgentRelationInsertSchema, hd as SubAgentExternalAgentRelationListResponse, hc as SubAgentExternalAgentRelationResponse, d0 as SubAgentExternalAgentRelationSelect, fW as SubAgentExternalAgentRelationSelectSchema, d1 as SubAgentExternalAgentRelationUpdate, fY as SubAgentExternalAgentRelationUpdateSchema, dO as SubAgentInsertSchema, gN as SubAgentListResponse, bR as SubAgentRelationApiInsert, dX as SubAgentRelationApiInsertSchema, bQ as SubAgentRelationApiSelect, dW as SubAgentRelationApiSelectSchema, bS as SubAgentRelationApiUpdate, dY as SubAgentRelationApiUpdateSchema, dU as SubAgentRelationInsertSchema, gY as SubAgentRelationListResponse, bT as SubAgentRelationQuery, dZ as SubAgentRelationQuerySchema, gI as SubAgentRelationResponse, bP as SubAgentRelationSelect, dT as SubAgentRelationSelectSchema, dV as SubAgentRelationUpdateSchema, gx as SubAgentResponse, dN as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d8 as SubAgentTeamAgentRelationApiInsert, g4 as SubAgentTeamAgentRelationApiInsertSchema, d7 as SubAgentTeamAgentRelationApiSelect, g3 as SubAgentTeamAgentRelationApiSelectSchema, d9 as SubAgentTeamAgentRelationApiUpdate, g5 as SubAgentTeamAgentRelationApiUpdateSchema, g1 as SubAgentTeamAgentRelationInsertSchema, hb as SubAgentTeamAgentRelationListResponse, ha as SubAgentTeamAgentRelationResponse, d5 as SubAgentTeamAgentRelationSelect, g0 as SubAgentTeamAgentRelationSelectSchema, d6 as SubAgentTeamAgentRelationUpdate, g2 as SubAgentTeamAgentRelationUpdateSchema, c_ as SubAgentToolRelationApiInsert, fU as SubAgentToolRelationApiInsertSchema, cZ as SubAgentToolRelationApiSelect, fT as SubAgentToolRelationApiSelectSchema, c$ as SubAgentToolRelationApiUpdate, fV as SubAgentToolRelationApiUpdateSchema, cY as SubAgentToolRelationInsert, fR as SubAgentToolRelationInsertSchema, gZ as SubAgentToolRelationListResponse, gJ as SubAgentToolRelationResponse, cX as SubAgentToolRelationSelect, fQ as SubAgentToolRelationSelectSchema, fS as SubAgentToolRelationUpdateSchema, dP as SubAgentUpdateSchema, dp as SummaryEvent, dF as TOOL_STATUS_VALUES, a_ as Task, b$ as TaskApiInsert, ea as TaskApiInsertSchema, b_ as TaskApiSelect, e9 as TaskApiSelectSchema, c0 as TaskApiUpdate, eb as TaskApiUpdateSchema, bL as TaskArtifact, b0 as TaskArtifactUpdateEvent, bg as TaskIdParams, e7 as TaskInsertSchema, b7 as TaskNotCancelableError, b6 as TaskNotFoundError, bf as TaskPushNotificationConfig, bh as TaskQueryParams, c5 as TaskRelationApiInsert, eg as TaskRelationApiInsertSchema, c4 as TaskRelationApiSelect, ef as TaskRelationApiSelectSchema, c6 as TaskRelationApiUpdate, eh as TaskRelationApiUpdateSchema, c2 as TaskRelationInsert, ed as TaskRelationInsertSchema, c1 as TaskRelationSelect, ec as TaskRelationSelectSchema, c3 as TaskRelationUpdate, ee as TaskRelationUpdateSchema, bv as TaskResubscriptionRequest, e6 as TaskSelectSchema, aI as TaskState, aZ as TaskStatus, a$ as TaskStatusUpdateEvent, bZ as TaskUpdate, e8 as TaskUpdateSchema, gh as TeamAgentSchema, hi as TenantIdParamsSchema, hh as TenantParamsSchema, hm as TenantProjectAgentIdParamsSchema, hl as TenantProjectAgentParamsSchema, ho as TenantProjectAgentSubAgentIdParamsSchema, hn as TenantProjectAgentSubAgentParamsSchema, hk as TenantProjectIdParamsSchema, hj as TenantProjectParamsSchema, aC as TextPart, hr as ThirdPartyMCPServerResponse, c8 as ToolApiInsert, fx as ToolApiInsertSchema, c7 as ToolApiSelect, fw as ToolApiSelectSchema, c9 as ToolApiUpdate, fy as ToolApiUpdateSchema, dj as ToolDefinition, em as ToolInsertSchema, gP as ToolListResponse, gz as ToolResponse, el as ToolSelectSchema, ej as ToolStatusSchema, fv as ToolUpdateSchema, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES, gf as canDelegateToExternalAgentSchema, gg as canDelegateToTeamAgentSchema } from './utility-Lo5NoRHK.js';
5
+ import { z } from '@hono/zod-openapi';
6
+ import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, C as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, o as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, q as MessageMetadata, p 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 SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, h as CredentialStoreType, ay as ExecutionContext, az as MessageSelect, g as ModelSettings, aA as PrebuiltMCPServerSchema } from './utility-5USfJ5Xd.js';
7
+ export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, e4 as AgentApiInsertSchema, bW as AgentApiSelect, e3 as AgentApiSelectSchema, bY as AgentApiUpdate, e5 as AgentApiUpdateSchema, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, e1 as AgentInsertSchema, gO as AgentListResponse, aK as AgentProvider, gy as AgentResponse, e0 as AgentSelectSchema, aL as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e2 as AgentUpdateSchema, h5 as AgentWithinContextOfProjectResponse, gi as AgentWithinContextOfProjectSchema, f8 as AllAgentSchema, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, fd as ApiKeyApiCreationResponseSchema, cS as ApiKeyApiInsert, fe as ApiKeyApiInsertSchema, cR as ApiKeyApiSelect, fc as ApiKeyApiSelectSchema, cT as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fa as ApiKeyInsertSchema, gS as ApiKeyListResponse, gC as ApiKeyResponse, f9 as ApiKeySelectSchema, fb as ApiKeyUpdateSchema, cF as ArtifactComponentApiInsert, eW as ArtifactComponentApiInsertSchema, cE as ArtifactComponentApiSelect, eV as ArtifactComponentApiSelectSchema, cG as ArtifactComponentApiUpdate, eX as ArtifactComponentApiUpdateSchema, hf as ArtifactComponentArrayResponse, eT as ArtifactComponentInsertSchema, gX as ArtifactComponentListResponse, gH as ArtifactComponentResponse, eS as ArtifactComponentSelectSchema, eU as ArtifactComponentUpdateSchema, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, ge as CanUseItemSchema, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, h7 as ComponentAssociationListResponse, fq as ComponentAssociationSchema, ba as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, eD as ContextCacheApiInsertSchema, cs as ContextCacheApiSelect, eC as ContextCacheApiSelectSchema, cu as ContextCacheApiUpdate, eE as ContextCacheApiUpdateSchema, dz as ContextCacheEntry, eA as ContextCacheInsertSchema, ez as ContextCacheSelectSchema, cr as ContextCacheUpdate, eB as ContextCacheUpdateSchema, cn as ContextConfigApiInsert, fO as ContextConfigApiInsertSchema, cm as ContextConfigApiSelect, fN as ContextConfigApiSelectSchema, co as ContextConfigApiUpdate, fP as ContextConfigApiUpdateSchema, fL as ContextConfigInsertSchema, gR as ContextConfigListResponse, gB as ContextConfigResponse, fK as ContextConfigSelectSchema, fM as ContextConfigUpdateSchema, ch as ConversationApiInsert, er as ConversationApiInsertSchema, cg as ConversationApiSelect, eq as ConversationApiSelectSchema, ci as ConversationApiUpdate, es as ConversationApiUpdateSchema, eo as ConversationInsertSchema, g_ as ConversationListResponse, gK as ConversationResponse, dx as ConversationScopeOptions, en as ConversationSelectSchema, ep as ConversationUpdateSchema, fn as CreateCredentialInStoreRequestSchema, fo as CreateCredentialInStoreResponseSchema, fj as CredentialReferenceApiInsertSchema, cV as CredentialReferenceApiSelect, fi as CredentialReferenceApiSelectSchema, cW as CredentialReferenceApiUpdate, fk as CredentialReferenceApiUpdateSchema, fg as CredentialReferenceInsertSchema, gT as CredentialReferenceListResponse, gD as CredentialReferenceResponse, ff as CredentialReferenceSelectSchema, fh as CredentialReferenceUpdateSchema, fm as CredentialStoreListResponseSchema, fl as CredentialStoreSchema, cw as DataComponentApiInsert, eK as DataComponentApiInsertSchema, cv as DataComponentApiSelect, eJ as DataComponentApiSelectSchema, cx as DataComponentApiUpdate, eL as DataComponentApiUpdateSchema, he as DataComponentArrayResponse, eH as DataComponentBaseSchema, eG as DataComponentInsertSchema, gW as DataComponentListResponse, gG as DataComponentResponse, eF as DataComponentSelectSchema, eI as DataComponentUpdateSchema, aH as DataPart, gm as ErrorResponseSchema, gn as ExistsResponseSchema, cO as ExternalAgentApiInsert, f6 as ExternalAgentApiInsertSchema, cN as ExternalAgentApiSelect, f5 as ExternalAgentApiSelectSchema, cP as ExternalAgentApiUpdate, f7 as ExternalAgentApiUpdateSchema, f3 as ExternalAgentInsertSchema, gQ as ExternalAgentListResponse, gA as ExternalAgentResponse, f2 as ExternalAgentSelectSchema, f4 as ExternalAgentUpdateSchema, bV as ExternalSubAgentRelationApiInsert, d$ as ExternalSubAgentRelationApiInsertSchema, bU as ExternalSubAgentRelationInsert, d_ as ExternalSubAgentRelationInsertSchema, cq as FetchConfig, fI as FetchConfigSchema, cp as FetchDefinition, fJ as FetchDefinitionSchema, aD as FileBase, aG as FilePart, aE as FileWithBytes, aF as FileWithUri, dI as Filter, df as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, h4 as FullProjectDefinitionResponse, gv as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cd as FunctionApiSelect, j as FunctionApiSelectSchema, ce as FunctionApiUpdate, k as FunctionApiUpdateSchema, cb as FunctionInsert, fG as FunctionInsertSchema, gU as FunctionListResponse, gE as FunctionResponse, ca as FunctionSelect, fF as FunctionSelectSchema, fD as FunctionToolApiInsertSchema, cf as FunctionToolApiSelect, fC as FunctionToolApiSelectSchema, fE as FunctionToolApiUpdateSchema, dM as FunctionToolConfig, dL as FunctionToolConfigSchema, fA as FunctionToolInsertSchema, gV as FunctionToolListResponse, gF as FunctionToolResponse, fz as FunctionToolSelectSchema, fB as FunctionToolUpdateSchema, cc as FunctionUpdate, fH as FunctionUpdateSchema, bu as GetTaskPushNotificationConfigRequest, bH as GetTaskPushNotificationConfigResponse, bG as GetTaskPushNotificationConfigSuccessResponse, br as GetTaskRequest, bB as GetTaskResponse, bA as GetTaskSuccessResponse, aO as HTTPAuthSecurityScheme, hg as HeadersScopeSchema, aS as ImplicitOAuthFlow, b5 as InternalError, bb as InvalidAgentResponseError, b4 as InvalidParamsError, b2 as InvalidRequestError, b1 as JSONParseError, bm as JSONRPCError, bo as JSONRPCErrorResponse, bk as JSONRPCMessage, bl as JSONRPCRequest, bn as JSONRPCResult, dd as LedgerArtifactApiInsert, ga as LedgerArtifactApiInsertSchema, dc as LedgerArtifactApiSelect, g9 as LedgerArtifactApiSelectSchema, de as LedgerArtifactApiUpdate, gb as LedgerArtifactApiUpdateSchema, da as LedgerArtifactInsert, g7 as LedgerArtifactInsertSchema, g6 as LedgerArtifactSelectSchema, db as LedgerArtifactUpdate, g8 as LedgerArtifactUpdateSchema, gk as ListResponseSchema, hq as MCPCatalogListResponse, dH as MCPServerType, fu as MCPToolConfigSchema, dA as McpAuthType, dB as McpServerAuth, dD as McpServerCapabilities, dE as McpToolDefinition, ek as McpToolDefinitionSchema, h9 as McpToolListResponse, h8 as McpToolResponse, ft as McpToolSchema, dC as McpTransportConfig, ei as McpTransportConfigSchema, aY as Message, ck as MessageApiInsert, ex as MessageApiInsertSchema, cj as MessageApiSelect, ew as MessageApiSelectSchema, cl as MessageApiUpdate, ey as MessageApiUpdateSchema, eu as MessageInsertSchema, g$ as MessageListResponse, ds as MessageMode, bK as MessagePart, gL as MessageResponse, dr as MessageRole, et as MessageSelectSchema, bi as MessageSendConfiguration, bj as MessageSendParams, dq as MessageType, ev as MessageUpdateSchema, b3 as MethodNotFoundError, dJ as ModelSchema, M as ModelSettingsSchema, dt as Models, aU as OAuth2SecurityScheme, fs as OAuthCallbackQuerySchema, aP as OAuthFlows, fr as OAuthLoginQuerySchema, aV as OpenIdConnectSecurityScheme, dn as Pagination, hp as PaginationQueryParamsSchema, gj as PaginationSchema, P as Part, aB as PartBase, aT as PasswordOAuthFlow, dl as ProjectApiInsert, gt as ProjectApiInsertSchema, dk as ProjectApiSelect, gs as ProjectApiSelectSchema, dm as ProjectApiUpdate, gu as ProjectApiUpdateSchema, gq as ProjectInsertSchema, gM as ProjectListResponse, dK as ProjectModelSchema, du as ProjectModels, gw as ProjectResponse, gp as ProjectSelectSchema, gr as ProjectUpdateSchema, bd as PushNotificationAuthenticationInfo, be as PushNotificationConfig, b8 as PushNotificationNotSupportedError, h6 as RelatedAgentInfoListResponse, fp as RelatedAgentInfoSchema, go as RemovedResponseSchema, aW as SecurityScheme, aM as SecuritySchemeBase, bp as SendMessageRequest, bx as SendMessageResponse, bw as SendMessageSuccessResponse, bq as SendStreamingMessageRequest, bz as SendStreamingMessageResponse, by as SendStreamingMessageSuccessResponse, bt as SetTaskPushNotificationConfigRequest, bF as SetTaskPushNotificationConfigResponse, bE as SetTaskPushNotificationConfigSuccessResponse, gl as SingleResponseSchema, dw as StatusComponent, gc as StatusComponentSchema, gd as StatusUpdateSchema, dv as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bN as SubAgentApiInsert, dR as SubAgentApiInsertSchema, bM as SubAgentApiSelect, dQ as SubAgentApiSelectSchema, bO as SubAgentApiUpdate, dS as SubAgentApiUpdateSchema, cL as SubAgentArtifactComponentApiInsert, f0 as SubAgentArtifactComponentApiInsertSchema, cK as SubAgentArtifactComponentApiSelect, e$ as SubAgentArtifactComponentApiSelectSchema, cM as SubAgentArtifactComponentApiUpdate, f1 as SubAgentArtifactComponentApiUpdateSchema, cI as SubAgentArtifactComponentInsert, eZ as SubAgentArtifactComponentInsertSchema, h3 as SubAgentArtifactComponentListResponse, h1 as SubAgentArtifactComponentResponse, cH as SubAgentArtifactComponentSelect, eY as SubAgentArtifactComponentSelectSchema, cJ as SubAgentArtifactComponentUpdate, e_ as SubAgentArtifactComponentUpdateSchema, cC as SubAgentDataComponentApiInsert, eQ as SubAgentDataComponentApiInsertSchema, cB as SubAgentDataComponentApiSelect, eP as SubAgentDataComponentApiSelectSchema, cD as SubAgentDataComponentApiUpdate, eR as SubAgentDataComponentApiUpdateSchema, cz as SubAgentDataComponentInsert, eN as SubAgentDataComponentInsertSchema, h2 as SubAgentDataComponentListResponse, h0 as SubAgentDataComponentResponse, cy as SubAgentDataComponentSelect, eM as SubAgentDataComponentSelectSchema, cA as SubAgentDataComponentUpdate, eO as SubAgentDataComponentUpdateSchema, di as SubAgentDefinition, d3 as SubAgentExternalAgentRelationApiInsert, f_ as SubAgentExternalAgentRelationApiInsertSchema, d2 as SubAgentExternalAgentRelationApiSelect, fZ as SubAgentExternalAgentRelationApiSelectSchema, d4 as SubAgentExternalAgentRelationApiUpdate, f$ as SubAgentExternalAgentRelationApiUpdateSchema, fX as SubAgentExternalAgentRelationInsertSchema, hd as SubAgentExternalAgentRelationListResponse, hc as SubAgentExternalAgentRelationResponse, d0 as SubAgentExternalAgentRelationSelect, fW as SubAgentExternalAgentRelationSelectSchema, d1 as SubAgentExternalAgentRelationUpdate, fY as SubAgentExternalAgentRelationUpdateSchema, dO as SubAgentInsertSchema, gN as SubAgentListResponse, bR as SubAgentRelationApiInsert, dX as SubAgentRelationApiInsertSchema, bQ as SubAgentRelationApiSelect, dW as SubAgentRelationApiSelectSchema, bS as SubAgentRelationApiUpdate, dY as SubAgentRelationApiUpdateSchema, dU as SubAgentRelationInsertSchema, gY as SubAgentRelationListResponse, bT as SubAgentRelationQuery, dZ as SubAgentRelationQuerySchema, gI as SubAgentRelationResponse, bP as SubAgentRelationSelect, dT as SubAgentRelationSelectSchema, dV as SubAgentRelationUpdateSchema, gx as SubAgentResponse, dN as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d8 as SubAgentTeamAgentRelationApiInsert, g4 as SubAgentTeamAgentRelationApiInsertSchema, d7 as SubAgentTeamAgentRelationApiSelect, g3 as SubAgentTeamAgentRelationApiSelectSchema, d9 as SubAgentTeamAgentRelationApiUpdate, g5 as SubAgentTeamAgentRelationApiUpdateSchema, g1 as SubAgentTeamAgentRelationInsertSchema, hb as SubAgentTeamAgentRelationListResponse, ha as SubAgentTeamAgentRelationResponse, d5 as SubAgentTeamAgentRelationSelect, g0 as SubAgentTeamAgentRelationSelectSchema, d6 as SubAgentTeamAgentRelationUpdate, g2 as SubAgentTeamAgentRelationUpdateSchema, c_ as SubAgentToolRelationApiInsert, fU as SubAgentToolRelationApiInsertSchema, cZ as SubAgentToolRelationApiSelect, fT as SubAgentToolRelationApiSelectSchema, c$ as SubAgentToolRelationApiUpdate, fV as SubAgentToolRelationApiUpdateSchema, cY as SubAgentToolRelationInsert, fR as SubAgentToolRelationInsertSchema, gZ as SubAgentToolRelationListResponse, gJ as SubAgentToolRelationResponse, cX as SubAgentToolRelationSelect, fQ as SubAgentToolRelationSelectSchema, fS as SubAgentToolRelationUpdateSchema, dP as SubAgentUpdateSchema, dp as SummaryEvent, dF as TOOL_STATUS_VALUES, a_ as Task, b$ as TaskApiInsert, ea as TaskApiInsertSchema, b_ as TaskApiSelect, e9 as TaskApiSelectSchema, c0 as TaskApiUpdate, eb as TaskApiUpdateSchema, bL as TaskArtifact, b0 as TaskArtifactUpdateEvent, bg as TaskIdParams, e7 as TaskInsertSchema, b7 as TaskNotCancelableError, b6 as TaskNotFoundError, bf as TaskPushNotificationConfig, bh as TaskQueryParams, c5 as TaskRelationApiInsert, eg as TaskRelationApiInsertSchema, c4 as TaskRelationApiSelect, ef as TaskRelationApiSelectSchema, c6 as TaskRelationApiUpdate, eh as TaskRelationApiUpdateSchema, c2 as TaskRelationInsert, ed as TaskRelationInsertSchema, c1 as TaskRelationSelect, ec as TaskRelationSelectSchema, c3 as TaskRelationUpdate, ee as TaskRelationUpdateSchema, bv as TaskResubscriptionRequest, e6 as TaskSelectSchema, aI as TaskState, aZ as TaskStatus, a$ as TaskStatusUpdateEvent, bZ as TaskUpdate, e8 as TaskUpdateSchema, gh as TeamAgentSchema, hi as TenantIdParamsSchema, hh as TenantParamsSchema, hm as TenantProjectAgentIdParamsSchema, hl as TenantProjectAgentParamsSchema, ho as TenantProjectAgentSubAgentIdParamsSchema, hn as TenantProjectAgentSubAgentParamsSchema, hk as TenantProjectIdParamsSchema, hj as TenantProjectParamsSchema, aC as TextPart, hr as ThirdPartyMCPServerResponse, c8 as ToolApiInsert, fx as ToolApiInsertSchema, c7 as ToolApiSelect, fw as ToolApiSelectSchema, c9 as ToolApiUpdate, fy as ToolApiUpdateSchema, dj as ToolDefinition, em as ToolInsertSchema, gP as ToolListResponse, gz as ToolResponse, el as ToolSelectSchema, ej as ToolStatusSchema, fv as ToolUpdateSchema, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES, gf as canDelegateToExternalAgentSchema, gg as canDelegateToTeamAgentSchema } from './utility-5USfJ5Xd.js';
8
8
  import { CredentialStoreRegistry } from './credential-stores/index.js';
9
9
  export { InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from './credential-stores/index.js';
10
- import { D as DatabaseClient } from './client-B_3j-V4-.js';
11
- export { a as DatabaseConfig, c as createDatabaseClient } from './client-B_3j-V4-.js';
10
+ import { D as DatabaseClient } from './client-B3nwdklT.js';
11
+ export { a as DatabaseConfig, c as createDatabaseClient } from './client-B3nwdklT.js';
12
12
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
13
13
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
14
14
  import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
15
15
  import { PgTable } from 'drizzle-orm/pg-core';
16
16
  import { UserOrganization, User } from './auth/auth-validation-schemas.js';
17
- export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-DKbG39on.js';
17
+ export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-BhYTubhP.js';
18
18
  export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from './db/test-client.js';
19
19
  import { ValidateFunction } from 'ajv';
20
20
  import { Context, Next } from 'hono';
21
- export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from './server-BXoUiBMg.js';
21
+ export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from './server-CHLmv-Jb.js';
22
22
  export { AgentMcpConfig, AgentMcpConfigInput, McpToolSelection, ToolPolicy, normalizeToolSelections } from './types/index.js';
23
- import { z as z$1 } from '@hono/zod-openapi';
24
23
  import { HTTPException } from 'hono/http-exception';
25
24
  import { LanguageModel } from 'ai';
26
25
  export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from './utils/schema-conversion.js';
@@ -551,14 +550,13 @@ declare const deleteFullAgent: (db: DatabaseClient, logger?: AgentLogger) => (pa
551
550
  declare const getAgentById: (db: DatabaseClient) => (params: {
552
551
  scopes: AgentScopeConfig;
553
552
  }) => Promise<{
554
- tenantId: string;
555
- projectId: string;
556
- id: string;
557
553
  name: string;
558
- description: string | null;
559
- prompt: string | null;
554
+ id: string;
560
555
  createdAt: string;
561
556
  updatedAt: string;
557
+ description: string | null;
558
+ projectId: string;
559
+ tenantId: string;
562
560
  models: {
563
561
  base?: {
564
562
  model?: string | undefined;
@@ -578,6 +576,7 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
578
576
  } | null;
579
577
  defaultSubAgentId: string | null;
580
578
  contextConfigId: string | null;
579
+ prompt: string | null;
581
580
  statusUpdates: {
582
581
  enabled?: boolean | undefined;
583
582
  numEvents?: number | undefined;
@@ -597,14 +596,13 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
597
596
  declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
598
597
  scopes: AgentScopeConfig;
599
598
  }) => Promise<{
600
- tenantId: string;
601
- projectId: string;
602
- id: string;
603
599
  name: string;
604
- description: string | null;
605
- prompt: string | null;
600
+ id: string;
606
601
  createdAt: string;
607
602
  updatedAt: string;
603
+ description: string | null;
604
+ projectId: string;
605
+ tenantId: string;
608
606
  models: {
609
607
  base?: {
610
608
  model?: string | undefined;
@@ -624,6 +622,7 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
624
622
  } | null;
625
623
  defaultSubAgentId: string | null;
626
624
  contextConfigId: string | null;
625
+ prompt: string | null;
627
626
  statusUpdates: {
628
627
  enabled?: boolean | undefined;
629
628
  numEvents?: number | undefined;
@@ -640,15 +639,13 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
640
639
  }[] | undefined;
641
640
  } | null;
642
641
  defaultSubAgent: {
643
- tenantId: string;
644
- projectId: string;
645
- id: string;
646
642
  name: string;
647
- description: string;
648
- prompt: string;
649
- agentId: string;
643
+ id: string;
650
644
  createdAt: string;
651
645
  updatedAt: string;
646
+ description: string;
647
+ projectId: string;
648
+ tenantId: string;
652
649
  models: {
653
650
  base?: {
654
651
  model?: string | undefined;
@@ -666,20 +663,21 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
666
663
  stopWhen: {
667
664
  stepCountIs?: number | undefined;
668
665
  } | null;
666
+ agentId: string;
667
+ prompt: string;
669
668
  conversationHistoryConfig: ConversationHistoryConfig | null;
670
669
  } | null;
671
670
  } | null>;
672
671
  declare const listAgents: (db: DatabaseClient) => (params: {
673
672
  scopes: ProjectScopeConfig;
674
673
  }) => Promise<{
675
- tenantId: string;
676
- projectId: string;
677
- id: string;
678
674
  name: string;
679
- description: string | null;
680
- prompt: string | null;
675
+ id: string;
681
676
  createdAt: string;
682
677
  updatedAt: string;
678
+ description: string | null;
679
+ projectId: string;
680
+ tenantId: string;
683
681
  models: {
684
682
  base?: {
685
683
  model?: string | undefined;
@@ -699,6 +697,7 @@ declare const listAgents: (db: DatabaseClient) => (params: {
699
697
  } | null;
700
698
  defaultSubAgentId: string | null;
701
699
  contextConfigId: string | null;
700
+ prompt: string | null;
702
701
  statusUpdates: {
703
702
  enabled?: boolean | undefined;
704
703
  numEvents?: number | undefined;
@@ -771,14 +770,13 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
771
770
  };
772
771
  }>;
773
772
  declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promise<{
774
- tenantId: string;
775
- projectId: string;
776
- id: string;
777
773
  name: string;
778
- description: string | null;
779
- prompt: string | null;
774
+ id: string;
780
775
  createdAt: string;
781
776
  updatedAt: string;
777
+ description: string | null;
778
+ projectId: string;
779
+ tenantId: string;
782
780
  models: {
783
781
  base?: {
784
782
  model?: string | undefined;
@@ -798,6 +796,7 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
798
796
  } | null;
799
797
  defaultSubAgentId: string | null;
800
798
  contextConfigId: string | null;
799
+ prompt: string | null;
801
800
  statusUpdates: {
802
801
  enabled?: boolean | undefined;
803
802
  numEvents?: number | undefined;
@@ -898,49 +897,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
898
897
  scopes: ProjectScopeConfig;
899
898
  id: string;
900
899
  }) => Promise<{
901
- tenantId: string;
902
- projectId: string;
903
- id: string;
904
900
  name: string | null;
901
+ id: string;
902
+ createdAt: string;
903
+ updatedAt: string;
904
+ expiresAt: string | null;
905
+ projectId: string;
906
+ tenantId: string;
905
907
  agentId: string;
906
908
  publicId: string;
907
909
  keyHash: string;
908
910
  keyPrefix: string;
909
911
  lastUsedAt: string | null;
910
- expiresAt: string | null;
911
- createdAt: string;
912
- updatedAt: string;
913
912
  } | undefined>;
914
913
  declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
915
- tenantId: string;
916
- projectId: string;
917
- id: string;
918
914
  name: string | null;
915
+ id: string;
916
+ createdAt: string;
917
+ updatedAt: string;
918
+ expiresAt: string | null;
919
+ projectId: string;
920
+ tenantId: string;
919
921
  agentId: string;
920
922
  publicId: string;
921
923
  keyHash: string;
922
924
  keyPrefix: string;
923
925
  lastUsedAt: string | null;
924
- expiresAt: string | null;
925
- createdAt: string;
926
- updatedAt: string;
927
926
  } | undefined>;
928
927
  declare const listApiKeys: (db: DatabaseClient) => (params: {
929
928
  scopes: ProjectScopeConfig;
930
929
  agentId?: string;
931
930
  }) => Promise<{
932
- tenantId: string;
933
- projectId: string;
934
- id: string;
935
931
  name: string | null;
932
+ id: string;
933
+ createdAt: string;
934
+ updatedAt: string;
935
+ expiresAt: string | null;
936
+ projectId: string;
937
+ tenantId: string;
936
938
  agentId: string;
937
939
  publicId: string;
938
940
  keyHash: string;
939
941
  keyPrefix: string;
940
942
  lastUsedAt: string | null;
941
- expiresAt: string | null;
942
- createdAt: string;
943
- updatedAt: string;
944
943
  }[]>;
945
944
  declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
946
945
  scopes: ProjectScopeConfig;
@@ -956,18 +955,18 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
956
955
  };
957
956
  }>;
958
957
  declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
959
- tenantId: string;
960
- projectId: string;
961
- id: string;
962
958
  name: string | null;
959
+ id: string;
960
+ createdAt: string;
961
+ updatedAt: string;
962
+ expiresAt: string | null;
963
+ projectId: string;
964
+ tenantId: string;
963
965
  agentId: string;
964
966
  publicId: string;
965
967
  keyHash: string;
966
968
  keyPrefix: string;
967
969
  lastUsedAt: string | null;
968
- expiresAt: string | null;
969
- createdAt: string;
970
- updatedAt: string;
971
970
  }>;
972
971
  declare const updateApiKey: (db: DatabaseClient) => (params: {
973
972
  scopes: ProjectScopeConfig;
@@ -1014,13 +1013,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
1014
1013
  scopes: ProjectScopeConfig;
1015
1014
  id: string;
1016
1015
  }) => Promise<{
1017
- tenantId: string;
1018
- projectId: string;
1019
- id: string;
1020
1016
  name: string;
1021
- description: string;
1017
+ id: string;
1022
1018
  createdAt: string;
1023
1019
  updatedAt: string;
1020
+ description: string;
1021
+ projectId: string;
1022
+ tenantId: string;
1024
1023
  props: Record<string, unknown> | null;
1025
1024
  } | undefined>;
1026
1025
  declare const listArtifactComponents: (db: DatabaseClient) => (params: {
@@ -1048,13 +1047,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
1048
1047
  };
1049
1048
  }>;
1050
1049
  declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
1051
- tenantId: string;
1052
- projectId: string;
1053
- id: string;
1054
1050
  name: string;
1055
- description: string;
1051
+ id: string;
1056
1052
  createdAt: string;
1057
1053
  updatedAt: string;
1054
+ description: string;
1055
+ projectId: string;
1056
+ tenantId: string;
1058
1057
  props: Record<string, unknown> | null;
1059
1058
  }>;
1060
1059
  declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
@@ -1091,11 +1090,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
1091
1090
  scopes: SubAgentScopeConfig;
1092
1091
  artifactComponentId: string;
1093
1092
  }) => Promise<{
1094
- tenantId: string;
1095
- projectId: string;
1096
1093
  id: string;
1097
- agentId: string;
1098
1094
  createdAt: string;
1095
+ projectId: string;
1096
+ tenantId: string;
1097
+ agentId: string;
1099
1098
  subAgentId: string;
1100
1099
  artifactComponentId: string;
1101
1100
  }>;
@@ -1134,11 +1133,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
1134
1133
  scopes: SubAgentScopeConfig;
1135
1134
  artifactComponentId: string;
1136
1135
  }) => Promise<{
1137
- tenantId: string;
1138
- projectId: string;
1139
1136
  id: string;
1140
- agentId: string;
1141
1137
  createdAt: string;
1138
+ projectId: string;
1139
+ tenantId: string;
1140
+ agentId: string;
1142
1141
  subAgentId: string;
1143
1142
  artifactComponentId: string;
1144
1143
  } | null>;
@@ -1218,26 +1217,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
1218
1217
  scopes: AgentScopeConfig;
1219
1218
  id: string;
1220
1219
  }) => Promise<{
1221
- tenantId: string;
1222
- projectId: string;
1223
1220
  id: string;
1224
- agentId: string;
1225
1221
  createdAt: string;
1226
1222
  updatedAt: string;
1223
+ projectId: string;
1224
+ tenantId: string;
1227
1225
  headersSchema: unknown;
1228
1226
  contextVariables: Record<string, ContextFetchDefinition> | null;
1227
+ agentId: string;
1229
1228
  } | undefined>;
1230
1229
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
1231
1230
  scopes: AgentScopeConfig;
1232
1231
  }) => Promise<{
1233
- tenantId: string;
1234
- projectId: string;
1235
1232
  id: string;
1236
- agentId: string;
1237
1233
  createdAt: string;
1238
1234
  updatedAt: string;
1235
+ projectId: string;
1236
+ tenantId: string;
1239
1237
  headersSchema: unknown;
1240
1238
  contextVariables: Record<string, ContextFetchDefinition> | null;
1239
+ agentId: string;
1241
1240
  }[]>;
1242
1241
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
1243
1242
  scopes: AgentScopeConfig;
@@ -1252,14 +1251,14 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
1252
1251
  };
1253
1252
  }>;
1254
1253
  declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
1255
- tenantId: string;
1256
- projectId: string;
1257
1254
  id: string;
1258
- agentId: string;
1259
1255
  createdAt: string;
1260
1256
  updatedAt: string;
1257
+ projectId: string;
1258
+ tenantId: string;
1261
1259
  headersSchema: unknown;
1262
1260
  contextVariables: Record<string, ContextFetchDefinition> | null;
1261
+ agentId: string;
1263
1262
  }>;
1264
1263
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
1265
1264
  scopes: AgentScopeConfig;
@@ -1292,14 +1291,14 @@ declare const countContextConfigs: (db: DatabaseClient) => (params: {
1292
1291
  declare const upsertContextConfig: (db: DatabaseClient) => (params: {
1293
1292
  data: ContextConfigInsert;
1294
1293
  }) => Promise<{
1295
- tenantId: string;
1296
- projectId: string;
1297
1294
  id: string;
1298
- agentId: string;
1299
1295
  createdAt: string;
1300
1296
  updatedAt: string;
1297
+ projectId: string;
1298
+ tenantId: string;
1301
1299
  headersSchema: unknown;
1302
1300
  contextVariables: Record<string, ContextFetchDefinition> | null;
1301
+ agentId: string;
1303
1302
  }>;
1304
1303
 
1305
1304
  declare const listConversations: (db: DatabaseClient) => (params: {
@@ -1311,14 +1310,14 @@ declare const listConversations: (db: DatabaseClient) => (params: {
1311
1310
  total: number;
1312
1311
  }>;
1313
1312
  declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
1314
- tenantId: string;
1315
- projectId: string;
1316
1313
  id: string;
1317
- title: string | null;
1318
1314
  createdAt: string;
1319
1315
  updatedAt: string;
1320
- metadata: ConversationMetadata | null;
1321
1316
  userId: string | null;
1317
+ metadata: ConversationMetadata | null;
1318
+ title: string | null;
1319
+ projectId: string;
1320
+ tenantId: string;
1322
1321
  activeSubAgentId: string;
1323
1322
  lastContextResolution: string | null;
1324
1323
  }>;
@@ -1362,14 +1361,14 @@ declare const getConversation: (db: DatabaseClient) => (params: {
1362
1361
  scopes: ProjectScopeConfig;
1363
1362
  conversationId: string;
1364
1363
  }) => Promise<{
1365
- tenantId: string;
1366
- projectId: string;
1367
1364
  id: string;
1368
- title: string | null;
1369
1365
  createdAt: string;
1370
1366
  updatedAt: string;
1371
- metadata: ConversationMetadata | null;
1372
1367
  userId: string | null;
1368
+ metadata: ConversationMetadata | null;
1369
+ title: string | null;
1370
+ projectId: string;
1371
+ tenantId: string;
1373
1372
  activeSubAgentId: string;
1374
1373
  lastContextResolution: string | null;
1375
1374
  } | undefined>;
@@ -1386,14 +1385,14 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
1386
1385
  metadata?: ConversationMetadata | null | undefined;
1387
1386
  contextConfigId?: string | undefined;
1388
1387
  } | {
1389
- tenantId: string;
1390
- projectId: string;
1391
1388
  id: string;
1392
- title: string | null;
1393
1389
  createdAt: string;
1394
1390
  updatedAt: string;
1395
- metadata: ConversationMetadata | null;
1396
1391
  userId: string | null;
1392
+ metadata: ConversationMetadata | null;
1393
+ title: string | null;
1394
+ projectId: string;
1395
+ tenantId: string;
1397
1396
  activeSubAgentId: string;
1398
1397
  lastContextResolution: string | null;
1399
1398
  }>;
@@ -1412,14 +1411,14 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
1412
1411
  scopes: ProjectScopeConfig;
1413
1412
  conversationId: string;
1414
1413
  }) => Promise<{
1415
- tenantId: string;
1416
- projectId: string;
1417
1414
  id: string;
1418
- title: string | null;
1419
1415
  createdAt: string;
1420
1416
  updatedAt: string;
1421
- metadata: ConversationMetadata | null;
1422
1417
  userId: string | null;
1418
+ metadata: ConversationMetadata | null;
1419
+ title: string | null;
1420
+ projectId: string;
1421
+ tenantId: string;
1423
1422
  activeSubAgentId: string;
1424
1423
  lastContextResolution: string | null;
1425
1424
  } | undefined>;
@@ -1582,11 +1581,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
1582
1581
  scopes: SubAgentScopeConfig;
1583
1582
  dataComponentId: string;
1584
1583
  }) => Promise<{
1585
- tenantId: string;
1586
- projectId: string;
1587
1584
  id: string;
1588
- agentId: string;
1589
1585
  createdAt: string;
1586
+ projectId: string;
1587
+ tenantId: string;
1588
+ agentId: string;
1590
1589
  subAgentId: string;
1591
1590
  dataComponentId: string;
1592
1591
  }>;
@@ -1624,11 +1623,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
1624
1623
  scopes: SubAgentScopeConfig;
1625
1624
  dataComponentId: string;
1626
1625
  }) => Promise<{
1627
- tenantId: string;
1628
- projectId: string;
1629
1626
  id: string;
1630
- agentId: string;
1631
1627
  createdAt: string;
1628
+ projectId: string;
1629
+ tenantId: string;
1630
+ agentId: string;
1632
1631
  subAgentId: string;
1633
1632
  dataComponentId: string;
1634
1633
  } | null>;
@@ -1803,14 +1802,14 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
1803
1802
  data: FunctionToolApiInsert;
1804
1803
  scopes: AgentScopeConfig;
1805
1804
  }) => Promise<{
1806
- tenantId: string;
1807
- projectId: string;
1808
- id: string;
1809
1805
  name: string;
1810
- description: string | null;
1811
- agentId: string;
1806
+ id: string;
1812
1807
  createdAt: string;
1813
1808
  updatedAt: string;
1809
+ description: string | null;
1810
+ projectId: string;
1811
+ tenantId: string;
1812
+ agentId: string;
1814
1813
  functionId: string;
1815
1814
  }>;
1816
1815
  /**
@@ -1845,14 +1844,14 @@ declare const upsertFunctionTool: (db: DatabaseClient) => (params: {
1845
1844
  data: FunctionToolApiInsert;
1846
1845
  scopes: AgentScopeConfig;
1847
1846
  }) => Promise<{
1848
- tenantId: string;
1849
- projectId: string;
1850
- id: string;
1851
1847
  name: string;
1852
- description: string | null;
1853
- agentId: string;
1848
+ id: string;
1854
1849
  createdAt: string;
1855
1850
  updatedAt: string;
1851
+ description: string | null;
1852
+ projectId: string;
1853
+ tenantId: string;
1854
+ agentId: string;
1856
1855
  functionId: string;
1857
1856
  }>;
1858
1857
  declare const getFunctionToolsForSubAgent: (db: DatabaseClient) => (params: {
@@ -1982,14 +1981,14 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
1982
1981
  scopes: ProjectScopeConfig;
1983
1982
  messageId: string;
1984
1983
  }) => Promise<{
1985
- tenantId: string;
1986
- projectId: string;
1987
1984
  id: string;
1988
1985
  createdAt: string;
1989
1986
  updatedAt: string;
1990
1987
  metadata: MessageMetadata | null;
1991
- content: MessageContent;
1992
1988
  role: string;
1989
+ projectId: string;
1990
+ tenantId: string;
1991
+ content: MessageContent;
1993
1992
  conversationId: string;
1994
1993
  fromSubAgentId: string | null;
1995
1994
  toSubAgentId: string | null;
@@ -2113,14 +2112,14 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
2113
2112
  id: string;
2114
2113
  }[]>;
2115
2114
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
2116
- tenantId: string;
2117
- projectId: string;
2118
2115
  id: string;
2119
2116
  createdAt: string;
2120
2117
  updatedAt: string;
2121
2118
  metadata: MessageMetadata | null;
2122
- content: MessageContent;
2123
2119
  role: string;
2120
+ projectId: string;
2121
+ tenantId: string;
2122
+ content: MessageContent;
2124
2123
  conversationId: string;
2125
2124
  fromSubAgentId: string | null;
2126
2125
  toSubAgentId: string | null;
@@ -2166,14 +2165,14 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
2166
2165
  scopes: ProjectScopeConfig;
2167
2166
  messageId: string;
2168
2167
  }) => Promise<{
2169
- tenantId: string;
2170
- projectId: string;
2171
2168
  id: string;
2172
2169
  createdAt: string;
2173
2170
  updatedAt: string;
2174
2171
  metadata: MessageMetadata | null;
2175
- content: MessageContent;
2176
2172
  role: string;
2173
+ projectId: string;
2174
+ tenantId: string;
2175
+ content: MessageContent;
2177
2176
  conversationId: string;
2178
2177
  fromSubAgentId: string | null;
2179
2178
  toSubAgentId: string | null;
@@ -2328,15 +2327,15 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
2328
2327
  scopes: SubAgentScopeConfig;
2329
2328
  relationId: string;
2330
2329
  }) => Promise<{
2331
- tenantId: string;
2332
- projectId: string;
2333
2330
  id: string;
2334
- agentId: string;
2335
2331
  createdAt: string;
2336
2332
  updatedAt: string;
2337
2333
  headers: Record<string, string> | null;
2338
- externalAgentId: string;
2334
+ projectId: string;
2335
+ tenantId: string;
2336
+ agentId: string;
2339
2337
  subAgentId: string;
2338
+ externalAgentId: string;
2340
2339
  } | undefined>;
2341
2340
  declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
2342
2341
  scopes: SubAgentScopeConfig;
@@ -2363,28 +2362,28 @@ declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (param
2363
2362
  declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
2364
2363
  scopes: SubAgentScopeConfig;
2365
2364
  }) => Promise<{
2366
- tenantId: string;
2367
- projectId: string;
2368
2365
  id: string;
2369
- agentId: string;
2370
2366
  createdAt: string;
2371
2367
  updatedAt: string;
2372
2368
  headers: Record<string, string> | null;
2373
- externalAgentId: string;
2369
+ projectId: string;
2370
+ tenantId: string;
2371
+ agentId: string;
2374
2372
  subAgentId: string;
2373
+ externalAgentId: string;
2375
2374
  }[]>;
2376
2375
  declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
2377
2376
  scopes: AgentScopeConfig;
2378
2377
  }) => Promise<{
2379
- tenantId: string;
2380
- projectId: string;
2381
2378
  id: string;
2382
- agentId: string;
2383
2379
  createdAt: string;
2384
2380
  updatedAt: string;
2385
2381
  headers: Record<string, string> | null;
2386
- externalAgentId: string;
2382
+ projectId: string;
2383
+ tenantId: string;
2384
+ agentId: string;
2387
2385
  subAgentId: string;
2386
+ externalAgentId: string;
2388
2387
  }[]>;
2389
2388
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
2390
2389
  scopes: AgentScopeConfig;
@@ -2499,15 +2498,15 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
2499
2498
  headers?: Record<string, string> | null;
2500
2499
  };
2501
2500
  }) => Promise<{
2502
- tenantId: string;
2503
- projectId: string;
2504
2501
  id: string;
2505
- agentId: string;
2506
2502
  createdAt: string;
2507
2503
  updatedAt: string;
2508
2504
  headers: Record<string, string> | null;
2509
- externalAgentId: string;
2505
+ projectId: string;
2506
+ tenantId: string;
2507
+ agentId: string;
2510
2508
  subAgentId: string;
2509
+ externalAgentId: string;
2511
2510
  }>;
2512
2511
  /**
2513
2512
  * Check if sub-agent external agent relation exists by params
@@ -2516,15 +2515,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
2516
2515
  scopes: SubAgentScopeConfig;
2517
2516
  externalAgentId: string;
2518
2517
  }) => Promise<{
2519
- tenantId: string;
2520
- projectId: string;
2521
2518
  id: string;
2522
- agentId: string;
2523
2519
  createdAt: string;
2524
2520
  updatedAt: string;
2525
2521
  headers: Record<string, string> | null;
2526
- externalAgentId: string;
2522
+ projectId: string;
2523
+ tenantId: string;
2524
+ agentId: string;
2527
2525
  subAgentId: string;
2526
+ externalAgentId: string;
2528
2527
  } | undefined>;
2529
2528
  /**
2530
2529
  * Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
@@ -2537,15 +2536,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
2537
2536
  headers?: Record<string, string> | null;
2538
2537
  };
2539
2538
  }) => Promise<{
2540
- tenantId: string;
2541
- projectId: string;
2542
2539
  id: string;
2543
- agentId: string;
2544
2540
  createdAt: string;
2545
2541
  updatedAt: string;
2546
2542
  headers: Record<string, string> | null;
2547
- externalAgentId: string;
2543
+ projectId: string;
2544
+ tenantId: string;
2545
+ agentId: string;
2548
2546
  subAgentId: string;
2547
+ externalAgentId: string;
2549
2548
  }>;
2550
2549
  declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
2551
2550
  scopes: SubAgentScopeConfig;
@@ -2577,12 +2576,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
2577
2576
  scopes: AgentScopeConfig;
2578
2577
  relationId: string;
2579
2578
  }) => Promise<{
2580
- tenantId: string;
2581
- projectId: string;
2582
2579
  id: string;
2583
- agentId: string;
2584
2580
  createdAt: string;
2585
2581
  updatedAt: string;
2582
+ projectId: string;
2583
+ tenantId: string;
2584
+ agentId: string;
2586
2585
  sourceSubAgentId: string;
2587
2586
  targetSubAgentId: string | null;
2588
2587
  relationType: string | null;
@@ -2612,12 +2611,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
2612
2611
  declare const getAgentRelations: (db: DatabaseClient) => (params: {
2613
2612
  scopes: SubAgentScopeConfig;
2614
2613
  }) => Promise<{
2615
- tenantId: string;
2616
- projectId: string;
2617
2614
  id: string;
2618
- agentId: string;
2619
2615
  createdAt: string;
2620
2616
  updatedAt: string;
2617
+ projectId: string;
2618
+ tenantId: string;
2619
+ agentId: string;
2621
2620
  sourceSubAgentId: string;
2622
2621
  targetSubAgentId: string | null;
2623
2622
  relationType: string | null;
@@ -2625,12 +2624,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
2625
2624
  declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
2626
2625
  scopes: AgentScopeConfig;
2627
2626
  }) => Promise<{
2628
- tenantId: string;
2629
- projectId: string;
2630
2627
  id: string;
2631
- agentId: string;
2632
2628
  createdAt: string;
2633
2629
  updatedAt: string;
2630
+ projectId: string;
2631
+ tenantId: string;
2632
+ agentId: string;
2634
2633
  sourceSubAgentId: string;
2635
2634
  targetSubAgentId: string | null;
2636
2635
  relationType: string | null;
@@ -2693,12 +2692,12 @@ declare const getRelatedAgentsForAgent: (db: DatabaseClient) => (params: {
2693
2692
  }[];
2694
2693
  }>;
2695
2694
  declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
2696
- tenantId: string;
2697
- projectId: string;
2698
2695
  id: string;
2699
- agentId: string;
2700
2696
  createdAt: string;
2701
2697
  updatedAt: string;
2698
+ projectId: string;
2699
+ tenantId: string;
2700
+ agentId: string;
2702
2701
  sourceSubAgentId: string;
2703
2702
  targetSubAgentId: string | null;
2704
2703
  relationType: string | null;
@@ -2712,12 +2711,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
2712
2711
  targetSubAgentId?: string;
2713
2712
  relationType: string;
2714
2713
  }) => Promise<{
2715
- tenantId: string;
2716
- projectId: string;
2717
2714
  id: string;
2718
- agentId: string;
2719
2715
  createdAt: string;
2720
2716
  updatedAt: string;
2717
+ projectId: string;
2718
+ tenantId: string;
2719
+ agentId: string;
2721
2720
  sourceSubAgentId: string;
2722
2721
  targetSubAgentId: string | null;
2723
2722
  relationType: string | null;
@@ -2726,12 +2725,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
2726
2725
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
2727
2726
  */
2728
2727
  declare const upsertSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
2729
- tenantId: string;
2730
- projectId: string;
2731
2728
  id: string;
2732
- agentId: string;
2733
2729
  createdAt: string;
2734
2730
  updatedAt: string;
2731
+ projectId: string;
2732
+ tenantId: string;
2733
+ agentId: string;
2735
2734
  sourceSubAgentId: string;
2736
2735
  targetSubAgentId: string | null;
2737
2736
  relationType: string | null;
@@ -2771,19 +2770,19 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
2771
2770
  }> | null;
2772
2771
  };
2773
2772
  }) => Promise<{
2774
- tenantId: string;
2775
- projectId: string;
2776
2773
  id: string;
2777
- agentId: string;
2778
2774
  createdAt: string;
2779
2775
  updatedAt: string;
2780
2776
  headers: Record<string, string> | null;
2777
+ projectId: string;
2778
+ tenantId: string;
2779
+ agentId: string;
2780
+ selectedTools: string[] | null;
2781
+ subAgentId: string;
2781
2782
  toolId: string;
2782
2783
  toolPolicies: Record<string, {
2783
2784
  needsApproval?: boolean;
2784
2785
  }> | null;
2785
- selectedTools: string[] | null;
2786
- subAgentId: string;
2787
2786
  }>;
2788
2787
  declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
2789
2788
  scopes: AgentScopeConfig;
@@ -2815,19 +2814,19 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
2815
2814
  scopes: SubAgentScopeConfig;
2816
2815
  relationId: string;
2817
2816
  }) => Promise<{
2818
- tenantId: string;
2819
- projectId: string;
2820
2817
  id: string;
2821
- agentId: string;
2822
2818
  createdAt: string;
2823
2819
  updatedAt: string;
2824
2820
  headers: Record<string, string> | null;
2821
+ projectId: string;
2822
+ tenantId: string;
2823
+ agentId: string;
2824
+ selectedTools: string[] | null;
2825
+ subAgentId: string;
2825
2826
  toolId: string;
2826
2827
  toolPolicies: Record<string, {
2827
2828
  needsApproval?: boolean;
2828
2829
  }> | null;
2829
- selectedTools: string[] | null;
2830
- subAgentId: string;
2831
2830
  } | undefined>;
2832
2831
  declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
2833
2832
  scopes: SubAgentScopeConfig;
@@ -3009,15 +3008,13 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
3009
3008
  scopes: AgentScopeConfig;
3010
3009
  subAgentId: string;
3011
3010
  }) => Promise<{
3012
- tenantId: string;
3013
- projectId: string;
3014
- id: string;
3015
3011
  name: string;
3016
- description: string;
3017
- prompt: string;
3018
- agentId: string;
3012
+ id: string;
3019
3013
  createdAt: string;
3020
3014
  updatedAt: string;
3015
+ description: string;
3016
+ projectId: string;
3017
+ tenantId: string;
3021
3018
  models: {
3022
3019
  base?: {
3023
3020
  model?: string | undefined;
@@ -3035,20 +3032,20 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
3035
3032
  stopWhen: {
3036
3033
  stepCountIs?: number | undefined;
3037
3034
  } | null;
3035
+ agentId: string;
3036
+ prompt: string;
3038
3037
  conversationHistoryConfig: ConversationHistoryConfig | null;
3039
3038
  } | undefined>;
3040
3039
  declare const listSubAgents: (db: DatabaseClient) => (params: {
3041
3040
  scopes: AgentScopeConfig;
3042
3041
  }) => Promise<{
3043
- tenantId: string;
3044
- projectId: string;
3045
- id: string;
3046
3042
  name: string;
3047
- description: string;
3048
- prompt: string;
3049
- agentId: string;
3043
+ id: string;
3050
3044
  createdAt: string;
3051
3045
  updatedAt: string;
3046
+ description: string;
3047
+ projectId: string;
3048
+ tenantId: string;
3052
3049
  models: {
3053
3050
  base?: {
3054
3051
  model?: string | undefined;
@@ -3066,6 +3063,8 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
3066
3063
  stopWhen: {
3067
3064
  stepCountIs?: number | undefined;
3068
3065
  } | null;
3066
+ agentId: string;
3067
+ prompt: string;
3069
3068
  conversationHistoryConfig: ConversationHistoryConfig | null;
3070
3069
  }[]>;
3071
3070
  declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
@@ -3109,15 +3108,13 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
3109
3108
  };
3110
3109
  }>;
3111
3110
  declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
3112
- tenantId: string;
3113
- projectId: string;
3114
- id: string;
3115
3111
  name: string;
3116
- description: string;
3117
- prompt: string;
3118
- agentId: string;
3112
+ id: string;
3119
3113
  createdAt: string;
3120
3114
  updatedAt: string;
3115
+ description: string;
3116
+ projectId: string;
3117
+ tenantId: string;
3121
3118
  models: {
3122
3119
  base?: {
3123
3120
  model?: string | undefined;
@@ -3135,6 +3132,8 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
3135
3132
  stopWhen: {
3136
3133
  stepCountIs?: number | undefined;
3137
3134
  } | null;
3135
+ agentId: string;
3136
+ prompt: string;
3138
3137
  conversationHistoryConfig: ConversationHistoryConfig | null;
3139
3138
  }>;
3140
3139
  declare const updateSubAgent: (db: DatabaseClient) => (params: {
@@ -3222,13 +3221,13 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
3222
3221
  scopes: SubAgentScopeConfig;
3223
3222
  relationId: string;
3224
3223
  }) => Promise<{
3225
- tenantId: string;
3226
- projectId: string;
3227
3224
  id: string;
3228
- agentId: string;
3229
3225
  createdAt: string;
3230
3226
  updatedAt: string;
3231
3227
  headers: Record<string, string> | null;
3228
+ projectId: string;
3229
+ tenantId: string;
3230
+ agentId: string;
3232
3231
  subAgentId: string;
3233
3232
  targetAgentId: string;
3234
3233
  } | undefined>;
@@ -3257,26 +3256,26 @@ declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
3257
3256
  declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
3258
3257
  scopes: SubAgentScopeConfig;
3259
3258
  }) => Promise<{
3260
- tenantId: string;
3261
- projectId: string;
3262
3259
  id: string;
3263
- agentId: string;
3264
3260
  createdAt: string;
3265
3261
  updatedAt: string;
3266
3262
  headers: Record<string, string> | null;
3263
+ projectId: string;
3264
+ tenantId: string;
3265
+ agentId: string;
3267
3266
  subAgentId: string;
3268
3267
  targetAgentId: string;
3269
3268
  }[]>;
3270
3269
  declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
3271
3270
  scopes: AgentScopeConfig;
3272
3271
  }) => Promise<{
3273
- tenantId: string;
3274
- projectId: string;
3275
3272
  id: string;
3276
- agentId: string;
3277
3273
  createdAt: string;
3278
3274
  updatedAt: string;
3279
3275
  headers: Record<string, string> | null;
3276
+ projectId: string;
3277
+ tenantId: string;
3278
+ agentId: string;
3280
3279
  subAgentId: string;
3281
3280
  targetAgentId: string;
3282
3281
  }[]>;
@@ -3423,13 +3422,13 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
3423
3422
  headers?: Record<string, string> | null;
3424
3423
  };
3425
3424
  }) => Promise<{
3426
- tenantId: string;
3427
- projectId: string;
3428
3425
  id: string;
3429
- agentId: string;
3430
3426
  createdAt: string;
3431
3427
  updatedAt: string;
3432
3428
  headers: Record<string, string> | null;
3429
+ projectId: string;
3430
+ tenantId: string;
3431
+ agentId: string;
3433
3432
  subAgentId: string;
3434
3433
  targetAgentId: string;
3435
3434
  }>;
@@ -3440,13 +3439,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
3440
3439
  scopes: SubAgentScopeConfig;
3441
3440
  targetAgentId: string;
3442
3441
  }) => Promise<{
3443
- tenantId: string;
3444
- projectId: string;
3445
3442
  id: string;
3446
- agentId: string;
3447
3443
  createdAt: string;
3448
3444
  updatedAt: string;
3449
3445
  headers: Record<string, string> | null;
3446
+ projectId: string;
3447
+ tenantId: string;
3448
+ agentId: string;
3450
3449
  subAgentId: string;
3451
3450
  targetAgentId: string;
3452
3451
  } | undefined>;
@@ -3461,13 +3460,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
3461
3460
  headers?: Record<string, string> | null;
3462
3461
  };
3463
3462
  }) => Promise<{
3464
- tenantId: string;
3465
- projectId: string;
3466
3463
  id: string;
3467
- agentId: string;
3468
3464
  createdAt: string;
3469
3465
  updatedAt: string;
3470
3466
  headers: Record<string, string> | null;
3467
+ projectId: string;
3468
+ tenantId: string;
3469
+ agentId: string;
3471
3470
  subAgentId: string;
3472
3471
  targetAgentId: string;
3473
3472
  }>;
@@ -3498,14 +3497,14 @@ declare const deleteSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (
3498
3497
  }) => Promise<boolean>;
3499
3498
 
3500
3499
  declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
3501
- tenantId: string;
3502
- projectId: string;
3503
3500
  id: string;
3504
- agentId: string;
3505
3501
  createdAt: string;
3506
3502
  updatedAt: string;
3507
3503
  metadata: TaskMetadataConfig | null;
3508
3504
  status: string;
3505
+ projectId: string;
3506
+ tenantId: string;
3507
+ agentId: string;
3509
3508
  contextId: string;
3510
3509
  subAgentId: string;
3511
3510
  }>;
@@ -3539,20 +3538,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
3539
3538
  scopes: ProjectScopeConfig;
3540
3539
  toolId: string;
3541
3540
  }) => Promise<{
3542
- tenantId: string;
3543
- projectId: string;
3544
- id: string;
3545
3541
  name: string;
3542
+ id: string;
3543
+ createdAt: string;
3544
+ updatedAt: string;
3546
3545
  description: string | null;
3546
+ headers: Record<string, string> | null;
3547
3547
  config: {
3548
3548
  type: "mcp";
3549
3549
  mcp: ToolMcpConfig;
3550
3550
  };
3551
- credentialReferenceId: string | null;
3552
- createdAt: string;
3553
- updatedAt: string;
3554
- headers: Record<string, string> | null;
3551
+ projectId: string;
3552
+ tenantId: string;
3555
3553
  capabilities: ToolServerCapabilities | null;
3554
+ credentialReferenceId: string | null;
3556
3555
  imageUrl: string | null;
3557
3556
  lastError: string | null;
3558
3557
  } | null>;
@@ -3586,20 +3585,20 @@ declare const listTools: (db: DatabaseClient) => (params: {
3586
3585
  };
3587
3586
  }>;
3588
3587
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
3589
- tenantId: string;
3590
- projectId: string;
3591
- id: string;
3592
3588
  name: string;
3589
+ id: string;
3590
+ createdAt: string;
3591
+ updatedAt: string;
3593
3592
  description: string | null;
3593
+ headers: Record<string, string> | null;
3594
3594
  config: {
3595
3595
  type: "mcp";
3596
3596
  mcp: ToolMcpConfig;
3597
3597
  };
3598
- credentialReferenceId: string | null;
3599
- createdAt: string;
3600
- updatedAt: string;
3601
- headers: Record<string, string> | null;
3598
+ projectId: string;
3599
+ tenantId: string;
3602
3600
  capabilities: ToolServerCapabilities | null;
3601
+ credentialReferenceId: string | null;
3603
3602
  imageUrl: string | null;
3604
3603
  lastError: string | null;
3605
3604
  }>;
@@ -3639,38 +3638,38 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
3639
3638
  needsApproval?: boolean;
3640
3639
  }> | null;
3641
3640
  }) => Promise<{
3642
- tenantId: string;
3643
- projectId: string;
3644
3641
  id: string;
3645
- agentId: string;
3646
3642
  createdAt: string;
3647
3643
  updatedAt: string;
3648
3644
  headers: Record<string, string> | null;
3645
+ projectId: string;
3646
+ tenantId: string;
3647
+ agentId: string;
3648
+ selectedTools: string[] | null;
3649
+ subAgentId: string;
3649
3650
  toolId: string;
3650
3651
  toolPolicies: Record<string, {
3651
3652
  needsApproval?: boolean;
3652
3653
  }> | null;
3653
- selectedTools: string[] | null;
3654
- subAgentId: string;
3655
3654
  }>;
3656
3655
  declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
3657
3656
  scopes: AgentScopeConfig;
3658
3657
  subAgentId: string;
3659
3658
  toolId: string;
3660
3659
  }) => Promise<{
3661
- tenantId: string;
3662
- projectId: string;
3663
3660
  id: string;
3664
- agentId: string;
3665
3661
  createdAt: string;
3666
3662
  updatedAt: string;
3667
3663
  headers: Record<string, string> | null;
3664
+ projectId: string;
3665
+ tenantId: string;
3666
+ agentId: string;
3667
+ selectedTools: string[] | null;
3668
+ subAgentId: string;
3668
3669
  toolId: string;
3669
3670
  toolPolicies: Record<string, {
3670
3671
  needsApproval?: boolean;
3671
3672
  }> | null;
3672
- selectedTools: string[] | null;
3673
- subAgentId: string;
3674
3673
  }>;
3675
3674
  /**
3676
3675
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -3686,19 +3685,19 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
3686
3685
  }> | null;
3687
3686
  relationId?: string;
3688
3687
  }) => Promise<{
3689
- tenantId: string;
3690
- projectId: string;
3691
3688
  id: string;
3692
- agentId: string;
3693
3689
  createdAt: string;
3694
3690
  updatedAt: string;
3695
3691
  headers: Record<string, string> | null;
3692
+ projectId: string;
3693
+ tenantId: string;
3694
+ agentId: string;
3695
+ selectedTools: string[] | null;
3696
+ subAgentId: string;
3696
3697
  toolId: string;
3697
3698
  toolPolicies: Record<string, {
3698
3699
  needsApproval?: boolean;
3699
3700
  }> | null;
3700
- selectedTools: string[] | null;
3701
- subAgentId: string;
3702
3701
  }>;
3703
3702
  /**
3704
3703
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -3706,20 +3705,20 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
3706
3705
  declare const upsertTool: (db: DatabaseClient) => (params: {
3707
3706
  data: ToolInsert;
3708
3707
  }) => Promise<{
3709
- tenantId: string;
3710
- projectId: string;
3711
- id: string;
3712
3708
  name: string;
3709
+ id: string;
3710
+ createdAt: string;
3711
+ updatedAt: string;
3713
3712
  description: string | null;
3713
+ headers: Record<string, string> | null;
3714
3714
  config: {
3715
3715
  type: "mcp";
3716
3716
  mcp: ToolMcpConfig;
3717
3717
  };
3718
- credentialReferenceId: string | null;
3719
- createdAt: string;
3720
- updatedAt: string;
3721
- headers: Record<string, string> | null;
3718
+ projectId: string;
3719
+ tenantId: string;
3722
3720
  capabilities: ToolServerCapabilities | null;
3721
+ credentialReferenceId: string | null;
3723
3722
  imageUrl: string | null;
3724
3723
  lastError: string | null;
3725
3724
  }>;
@@ -3858,7 +3857,7 @@ declare function normalizeDateString(dateString: string | Date): string | Date;
3858
3857
  */
3859
3858
  declare function toISODateString(dateValue: string | Date): string;
3860
3859
 
3861
- declare const ErrorCode: z$1.ZodEnum<{
3860
+ declare const ErrorCode: z.ZodEnum<{
3862
3861
  bad_request: "bad_request";
3863
3862
  unauthorized: "unauthorized";
3864
3863
  forbidden: "forbidden";
@@ -3868,13 +3867,13 @@ declare const ErrorCode: z$1.ZodEnum<{
3868
3867
  unprocessable_entity: "unprocessable_entity";
3869
3868
  }>;
3870
3869
  declare const ERROR_DOCS_BASE_URL = "https://docs.inkeep.com/agents-api/errors";
3871
- declare const problemDetailsSchema: z$1.ZodObject<{
3872
- title: z$1.ZodString;
3873
- status: z$1.ZodNumber;
3874
- detail: z$1.ZodString;
3875
- instance: z$1.ZodOptional<z$1.ZodString>;
3876
- requestId: z$1.ZodOptional<z$1.ZodString>;
3877
- code: z$1.ZodEnum<{
3870
+ declare const problemDetailsSchema: z.ZodObject<{
3871
+ title: z.ZodString;
3872
+ status: z.ZodNumber;
3873
+ detail: z.ZodString;
3874
+ instance: z.ZodOptional<z.ZodString>;
3875
+ requestId: z.ZodOptional<z.ZodString>;
3876
+ code: z.ZodEnum<{
3878
3877
  bad_request: "bad_request";
3879
3878
  unauthorized: "unauthorized";
3880
3879
  forbidden: "forbidden";
@@ -3883,12 +3882,12 @@ declare const problemDetailsSchema: z$1.ZodObject<{
3883
3882
  internal_server_error: "internal_server_error";
3884
3883
  unprocessable_entity: "unprocessable_entity";
3885
3884
  }>;
3886
- }, z$1.core.$strip>;
3887
- type ProblemDetails = z$1.infer<typeof problemDetailsSchema>;
3888
- type ErrorCodes = z$1.infer<typeof ErrorCode>;
3889
- declare const errorResponseSchema: z$1.ZodObject<{
3890
- error: z$1.ZodObject<{
3891
- code: z$1.ZodEnum<{
3885
+ }, z.core.$strip>;
3886
+ type ProblemDetails = z.infer<typeof problemDetailsSchema>;
3887
+ type ErrorCodes = z.infer<typeof ErrorCode>;
3888
+ declare const errorResponseSchema: z.ZodObject<{
3889
+ error: z.ZodObject<{
3890
+ code: z.ZodEnum<{
3892
3891
  bad_request: "bad_request";
3893
3892
  unauthorized: "unauthorized";
3894
3893
  forbidden: "forbidden";
@@ -3897,15 +3896,16 @@ declare const errorResponseSchema: z$1.ZodObject<{
3897
3896
  internal_server_error: "internal_server_error";
3898
3897
  unprocessable_entity: "unprocessable_entity";
3899
3898
  }>;
3900
- message: z$1.ZodString;
3901
- }, z$1.core.$strip>;
3902
- }, z$1.core.$strip>;
3903
- type ErrorResponse = z$1.infer<typeof errorResponseSchema>;
3904
- declare function createApiError({ code, message, instance, requestId, }: {
3899
+ message: z.ZodString;
3900
+ }, z.core.$strip>;
3901
+ }, z.core.$strip>;
3902
+ type ErrorResponse = z.infer<typeof errorResponseSchema>;
3903
+ declare function createApiError({ code, message, instance, requestId, extensions, }: {
3905
3904
  code: ErrorCodes;
3906
3905
  message: string;
3907
3906
  instance?: string;
3908
3907
  requestId?: string;
3908
+ extensions?: Record<string, unknown>;
3909
3909
  }): HTTPException;
3910
3910
  declare function handleApiError(error: unknown, requestId?: string): Promise<ProblemDetails & {
3911
3911
  error: {
@@ -3917,18 +3917,18 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
3917
3917
  description: string;
3918
3918
  content: {
3919
3919
  'application/problem+json': {
3920
- schema: z$1.ZodObject<{
3921
- instance: z$1.ZodOptional<z$1.ZodString>;
3922
- requestId: z$1.ZodOptional<z$1.ZodString>;
3923
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3924
- detail: z$1.ZodString;
3925
- title: z$1.ZodString;
3926
- status: z$1.ZodNumber;
3927
- error: z$1.ZodObject<{
3928
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3929
- message: z$1.ZodString;
3930
- }, z$1.core.$strip>;
3931
- }, z$1.core.$strip>;
3920
+ schema: z.ZodObject<{
3921
+ instance: z.ZodOptional<z.ZodString>;
3922
+ requestId: z.ZodOptional<z.ZodString>;
3923
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3924
+ detail: z.ZodString;
3925
+ title: z.ZodString;
3926
+ status: z.ZodNumber;
3927
+ error: z.ZodObject<{
3928
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3929
+ message: z.ZodString;
3930
+ }, z.core.$strip>;
3931
+ }, z.core.$strip>;
3932
3932
  };
3933
3933
  };
3934
3934
  };
@@ -3937,18 +3937,18 @@ declare const commonCreateErrorResponses: {
3937
3937
  description: string;
3938
3938
  content: {
3939
3939
  'application/problem+json': {
3940
- schema: z$1.ZodObject<{
3941
- instance: z$1.ZodOptional<z$1.ZodString>;
3942
- requestId: z$1.ZodOptional<z$1.ZodString>;
3943
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3944
- detail: z$1.ZodString;
3945
- title: z$1.ZodString;
3946
- status: z$1.ZodNumber;
3947
- error: z$1.ZodObject<{
3948
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3949
- message: z$1.ZodString;
3950
- }, z$1.core.$strip>;
3951
- }, z$1.core.$strip>;
3940
+ schema: z.ZodObject<{
3941
+ instance: z.ZodOptional<z.ZodString>;
3942
+ requestId: z.ZodOptional<z.ZodString>;
3943
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3944
+ detail: z.ZodString;
3945
+ title: z.ZodString;
3946
+ status: z.ZodNumber;
3947
+ error: z.ZodObject<{
3948
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3949
+ message: z.ZodString;
3950
+ }, z.core.$strip>;
3951
+ }, z.core.$strip>;
3952
3952
  };
3953
3953
  };
3954
3954
  };
@@ -3956,18 +3956,18 @@ declare const commonCreateErrorResponses: {
3956
3956
  description: string;
3957
3957
  content: {
3958
3958
  'application/problem+json': {
3959
- schema: z$1.ZodObject<{
3960
- instance: z$1.ZodOptional<z$1.ZodString>;
3961
- requestId: z$1.ZodOptional<z$1.ZodString>;
3962
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3963
- detail: z$1.ZodString;
3964
- title: z$1.ZodString;
3965
- status: z$1.ZodNumber;
3966
- error: z$1.ZodObject<{
3967
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3968
- message: z$1.ZodString;
3969
- }, z$1.core.$strip>;
3970
- }, z$1.core.$strip>;
3959
+ schema: z.ZodObject<{
3960
+ instance: z.ZodOptional<z.ZodString>;
3961
+ requestId: z.ZodOptional<z.ZodString>;
3962
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3963
+ detail: z.ZodString;
3964
+ title: z.ZodString;
3965
+ status: z.ZodNumber;
3966
+ error: z.ZodObject<{
3967
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3968
+ message: z.ZodString;
3969
+ }, z.core.$strip>;
3970
+ }, z.core.$strip>;
3971
3971
  };
3972
3972
  };
3973
3973
  };
@@ -3975,18 +3975,18 @@ declare const commonCreateErrorResponses: {
3975
3975
  description: string;
3976
3976
  content: {
3977
3977
  'application/problem+json': {
3978
- schema: z$1.ZodObject<{
3979
- instance: z$1.ZodOptional<z$1.ZodString>;
3980
- requestId: z$1.ZodOptional<z$1.ZodString>;
3981
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3982
- detail: z$1.ZodString;
3983
- title: z$1.ZodString;
3984
- status: z$1.ZodNumber;
3985
- error: z$1.ZodObject<{
3986
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3987
- message: z$1.ZodString;
3988
- }, z$1.core.$strip>;
3989
- }, z$1.core.$strip>;
3978
+ schema: z.ZodObject<{
3979
+ instance: z.ZodOptional<z.ZodString>;
3980
+ requestId: z.ZodOptional<z.ZodString>;
3981
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3982
+ detail: z.ZodString;
3983
+ title: z.ZodString;
3984
+ status: z.ZodNumber;
3985
+ error: z.ZodObject<{
3986
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
3987
+ message: z.ZodString;
3988
+ }, z.core.$strip>;
3989
+ }, z.core.$strip>;
3990
3990
  };
3991
3991
  };
3992
3992
  };
@@ -3994,18 +3994,18 @@ declare const commonCreateErrorResponses: {
3994
3994
  description: string;
3995
3995
  content: {
3996
3996
  'application/problem+json': {
3997
- schema: z$1.ZodObject<{
3998
- instance: z$1.ZodOptional<z$1.ZodString>;
3999
- requestId: z$1.ZodOptional<z$1.ZodString>;
4000
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4001
- detail: z$1.ZodString;
4002
- title: z$1.ZodString;
4003
- status: z$1.ZodNumber;
4004
- error: z$1.ZodObject<{
4005
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4006
- message: z$1.ZodString;
4007
- }, z$1.core.$strip>;
4008
- }, z$1.core.$strip>;
3997
+ schema: z.ZodObject<{
3998
+ instance: z.ZodOptional<z.ZodString>;
3999
+ requestId: z.ZodOptional<z.ZodString>;
4000
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4001
+ detail: z.ZodString;
4002
+ title: z.ZodString;
4003
+ status: z.ZodNumber;
4004
+ error: z.ZodObject<{
4005
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4006
+ message: z.ZodString;
4007
+ }, z.core.$strip>;
4008
+ }, z.core.$strip>;
4009
4009
  };
4010
4010
  };
4011
4011
  };
@@ -4013,18 +4013,18 @@ declare const commonCreateErrorResponses: {
4013
4013
  description: string;
4014
4014
  content: {
4015
4015
  'application/problem+json': {
4016
- schema: z$1.ZodObject<{
4017
- instance: z$1.ZodOptional<z$1.ZodString>;
4018
- requestId: z$1.ZodOptional<z$1.ZodString>;
4019
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4020
- detail: z$1.ZodString;
4021
- title: z$1.ZodString;
4022
- status: z$1.ZodNumber;
4023
- error: z$1.ZodObject<{
4024
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4025
- message: z$1.ZodString;
4026
- }, z$1.core.$strip>;
4027
- }, z$1.core.$strip>;
4016
+ schema: z.ZodObject<{
4017
+ instance: z.ZodOptional<z.ZodString>;
4018
+ requestId: z.ZodOptional<z.ZodString>;
4019
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4020
+ detail: z.ZodString;
4021
+ title: z.ZodString;
4022
+ status: z.ZodNumber;
4023
+ error: z.ZodObject<{
4024
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4025
+ message: z.ZodString;
4026
+ }, z.core.$strip>;
4027
+ }, z.core.$strip>;
4028
4028
  };
4029
4029
  };
4030
4030
  };
@@ -4034,18 +4034,18 @@ declare const commonUpdateErrorResponses: {
4034
4034
  description: string;
4035
4035
  content: {
4036
4036
  'application/problem+json': {
4037
- schema: z$1.ZodObject<{
4038
- instance: z$1.ZodOptional<z$1.ZodString>;
4039
- requestId: z$1.ZodOptional<z$1.ZodString>;
4040
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4041
- detail: z$1.ZodString;
4042
- title: z$1.ZodString;
4043
- status: z$1.ZodNumber;
4044
- error: z$1.ZodObject<{
4045
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4046
- message: z$1.ZodString;
4047
- }, z$1.core.$strip>;
4048
- }, z$1.core.$strip>;
4037
+ schema: z.ZodObject<{
4038
+ instance: z.ZodOptional<z.ZodString>;
4039
+ requestId: z.ZodOptional<z.ZodString>;
4040
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4041
+ detail: z.ZodString;
4042
+ title: z.ZodString;
4043
+ status: z.ZodNumber;
4044
+ error: z.ZodObject<{
4045
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4046
+ message: z.ZodString;
4047
+ }, z.core.$strip>;
4048
+ }, z.core.$strip>;
4049
4049
  };
4050
4050
  };
4051
4051
  };
@@ -4053,18 +4053,18 @@ declare const commonUpdateErrorResponses: {
4053
4053
  description: string;
4054
4054
  content: {
4055
4055
  'application/problem+json': {
4056
- schema: z$1.ZodObject<{
4057
- instance: z$1.ZodOptional<z$1.ZodString>;
4058
- requestId: z$1.ZodOptional<z$1.ZodString>;
4059
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4060
- detail: z$1.ZodString;
4061
- title: z$1.ZodString;
4062
- status: z$1.ZodNumber;
4063
- error: z$1.ZodObject<{
4064
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4065
- message: z$1.ZodString;
4066
- }, z$1.core.$strip>;
4067
- }, z$1.core.$strip>;
4056
+ schema: z.ZodObject<{
4057
+ instance: z.ZodOptional<z.ZodString>;
4058
+ requestId: z.ZodOptional<z.ZodString>;
4059
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4060
+ detail: z.ZodString;
4061
+ title: z.ZodString;
4062
+ status: z.ZodNumber;
4063
+ error: z.ZodObject<{
4064
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4065
+ message: z.ZodString;
4066
+ }, z.core.$strip>;
4067
+ }, z.core.$strip>;
4068
4068
  };
4069
4069
  };
4070
4070
  };
@@ -4072,18 +4072,18 @@ declare const commonUpdateErrorResponses: {
4072
4072
  description: string;
4073
4073
  content: {
4074
4074
  'application/problem+json': {
4075
- schema: z$1.ZodObject<{
4076
- instance: z$1.ZodOptional<z$1.ZodString>;
4077
- requestId: z$1.ZodOptional<z$1.ZodString>;
4078
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4079
- detail: z$1.ZodString;
4080
- title: z$1.ZodString;
4081
- status: z$1.ZodNumber;
4082
- error: z$1.ZodObject<{
4083
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4084
- message: z$1.ZodString;
4085
- }, z$1.core.$strip>;
4086
- }, z$1.core.$strip>;
4075
+ schema: z.ZodObject<{
4076
+ instance: z.ZodOptional<z.ZodString>;
4077
+ requestId: z.ZodOptional<z.ZodString>;
4078
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4079
+ detail: z.ZodString;
4080
+ title: z.ZodString;
4081
+ status: z.ZodNumber;
4082
+ error: z.ZodObject<{
4083
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4084
+ message: z.ZodString;
4085
+ }, z.core.$strip>;
4086
+ }, z.core.$strip>;
4087
4087
  };
4088
4088
  };
4089
4089
  };
@@ -4091,18 +4091,18 @@ declare const commonUpdateErrorResponses: {
4091
4091
  description: string;
4092
4092
  content: {
4093
4093
  'application/problem+json': {
4094
- schema: z$1.ZodObject<{
4095
- instance: z$1.ZodOptional<z$1.ZodString>;
4096
- requestId: z$1.ZodOptional<z$1.ZodString>;
4097
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4098
- detail: z$1.ZodString;
4099
- title: z$1.ZodString;
4100
- status: z$1.ZodNumber;
4101
- error: z$1.ZodObject<{
4102
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4103
- message: z$1.ZodString;
4104
- }, z$1.core.$strip>;
4105
- }, z$1.core.$strip>;
4094
+ schema: z.ZodObject<{
4095
+ instance: z.ZodOptional<z.ZodString>;
4096
+ requestId: z.ZodOptional<z.ZodString>;
4097
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4098
+ detail: z.ZodString;
4099
+ title: z.ZodString;
4100
+ status: z.ZodNumber;
4101
+ error: z.ZodObject<{
4102
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4103
+ message: z.ZodString;
4104
+ }, z.core.$strip>;
4105
+ }, z.core.$strip>;
4106
4106
  };
4107
4107
  };
4108
4108
  };
@@ -4110,18 +4110,18 @@ declare const commonUpdateErrorResponses: {
4110
4110
  description: string;
4111
4111
  content: {
4112
4112
  'application/problem+json': {
4113
- schema: z$1.ZodObject<{
4114
- instance: z$1.ZodOptional<z$1.ZodString>;
4115
- requestId: z$1.ZodOptional<z$1.ZodString>;
4116
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4117
- detail: z$1.ZodString;
4118
- title: z$1.ZodString;
4119
- status: z$1.ZodNumber;
4120
- error: z$1.ZodObject<{
4121
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4122
- message: z$1.ZodString;
4123
- }, z$1.core.$strip>;
4124
- }, z$1.core.$strip>;
4113
+ schema: z.ZodObject<{
4114
+ instance: z.ZodOptional<z.ZodString>;
4115
+ requestId: z.ZodOptional<z.ZodString>;
4116
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4117
+ detail: z.ZodString;
4118
+ title: z.ZodString;
4119
+ status: z.ZodNumber;
4120
+ error: z.ZodObject<{
4121
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4122
+ message: z.ZodString;
4123
+ }, z.core.$strip>;
4124
+ }, z.core.$strip>;
4125
4125
  };
4126
4126
  };
4127
4127
  };
@@ -4129,18 +4129,18 @@ declare const commonUpdateErrorResponses: {
4129
4129
  description: string;
4130
4130
  content: {
4131
4131
  'application/problem+json': {
4132
- schema: z$1.ZodObject<{
4133
- instance: z$1.ZodOptional<z$1.ZodString>;
4134
- requestId: z$1.ZodOptional<z$1.ZodString>;
4135
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4136
- detail: z$1.ZodString;
4137
- title: z$1.ZodString;
4138
- status: z$1.ZodNumber;
4139
- error: z$1.ZodObject<{
4140
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4141
- message: z$1.ZodString;
4142
- }, z$1.core.$strip>;
4143
- }, z$1.core.$strip>;
4132
+ schema: z.ZodObject<{
4133
+ instance: z.ZodOptional<z.ZodString>;
4134
+ requestId: z.ZodOptional<z.ZodString>;
4135
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4136
+ detail: z.ZodString;
4137
+ title: z.ZodString;
4138
+ status: z.ZodNumber;
4139
+ error: z.ZodObject<{
4140
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4141
+ message: z.ZodString;
4142
+ }, z.core.$strip>;
4143
+ }, z.core.$strip>;
4144
4144
  };
4145
4145
  };
4146
4146
  };
@@ -4150,18 +4150,18 @@ declare const commonGetErrorResponses: {
4150
4150
  description: string;
4151
4151
  content: {
4152
4152
  'application/problem+json': {
4153
- schema: z$1.ZodObject<{
4154
- instance: z$1.ZodOptional<z$1.ZodString>;
4155
- requestId: z$1.ZodOptional<z$1.ZodString>;
4156
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4157
- detail: z$1.ZodString;
4158
- title: z$1.ZodString;
4159
- status: z$1.ZodNumber;
4160
- error: z$1.ZodObject<{
4161
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4162
- message: z$1.ZodString;
4163
- }, z$1.core.$strip>;
4164
- }, z$1.core.$strip>;
4153
+ schema: z.ZodObject<{
4154
+ instance: z.ZodOptional<z.ZodString>;
4155
+ requestId: z.ZodOptional<z.ZodString>;
4156
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4157
+ detail: z.ZodString;
4158
+ title: z.ZodString;
4159
+ status: z.ZodNumber;
4160
+ error: z.ZodObject<{
4161
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4162
+ message: z.ZodString;
4163
+ }, z.core.$strip>;
4164
+ }, z.core.$strip>;
4165
4165
  };
4166
4166
  };
4167
4167
  };
@@ -4169,18 +4169,18 @@ declare const commonGetErrorResponses: {
4169
4169
  description: string;
4170
4170
  content: {
4171
4171
  'application/problem+json': {
4172
- schema: z$1.ZodObject<{
4173
- instance: z$1.ZodOptional<z$1.ZodString>;
4174
- requestId: z$1.ZodOptional<z$1.ZodString>;
4175
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4176
- detail: z$1.ZodString;
4177
- title: z$1.ZodString;
4178
- status: z$1.ZodNumber;
4179
- error: z$1.ZodObject<{
4180
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4181
- message: z$1.ZodString;
4182
- }, z$1.core.$strip>;
4183
- }, z$1.core.$strip>;
4172
+ schema: z.ZodObject<{
4173
+ instance: z.ZodOptional<z.ZodString>;
4174
+ requestId: z.ZodOptional<z.ZodString>;
4175
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4176
+ detail: z.ZodString;
4177
+ title: z.ZodString;
4178
+ status: z.ZodNumber;
4179
+ error: z.ZodObject<{
4180
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4181
+ message: z.ZodString;
4182
+ }, z.core.$strip>;
4183
+ }, z.core.$strip>;
4184
4184
  };
4185
4185
  };
4186
4186
  };
@@ -4188,18 +4188,18 @@ declare const commonGetErrorResponses: {
4188
4188
  description: string;
4189
4189
  content: {
4190
4190
  'application/problem+json': {
4191
- schema: z$1.ZodObject<{
4192
- instance: z$1.ZodOptional<z$1.ZodString>;
4193
- requestId: z$1.ZodOptional<z$1.ZodString>;
4194
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4195
- detail: z$1.ZodString;
4196
- title: z$1.ZodString;
4197
- status: z$1.ZodNumber;
4198
- error: z$1.ZodObject<{
4199
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4200
- message: z$1.ZodString;
4201
- }, z$1.core.$strip>;
4202
- }, z$1.core.$strip>;
4191
+ schema: z.ZodObject<{
4192
+ instance: z.ZodOptional<z.ZodString>;
4193
+ requestId: z.ZodOptional<z.ZodString>;
4194
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4195
+ detail: z.ZodString;
4196
+ title: z.ZodString;
4197
+ status: z.ZodNumber;
4198
+ error: z.ZodObject<{
4199
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4200
+ message: z.ZodString;
4201
+ }, z.core.$strip>;
4202
+ }, z.core.$strip>;
4203
4203
  };
4204
4204
  };
4205
4205
  };
@@ -4207,18 +4207,18 @@ declare const commonGetErrorResponses: {
4207
4207
  description: string;
4208
4208
  content: {
4209
4209
  'application/problem+json': {
4210
- schema: z$1.ZodObject<{
4211
- instance: z$1.ZodOptional<z$1.ZodString>;
4212
- requestId: z$1.ZodOptional<z$1.ZodString>;
4213
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4214
- detail: z$1.ZodString;
4215
- title: z$1.ZodString;
4216
- status: z$1.ZodNumber;
4217
- error: z$1.ZodObject<{
4218
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4219
- message: z$1.ZodString;
4220
- }, z$1.core.$strip>;
4221
- }, z$1.core.$strip>;
4210
+ schema: z.ZodObject<{
4211
+ instance: z.ZodOptional<z.ZodString>;
4212
+ requestId: z.ZodOptional<z.ZodString>;
4213
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4214
+ detail: z.ZodString;
4215
+ title: z.ZodString;
4216
+ status: z.ZodNumber;
4217
+ error: z.ZodObject<{
4218
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4219
+ message: z.ZodString;
4220
+ }, z.core.$strip>;
4221
+ }, z.core.$strip>;
4222
4222
  };
4223
4223
  };
4224
4224
  };
@@ -4226,18 +4226,18 @@ declare const commonGetErrorResponses: {
4226
4226
  description: string;
4227
4227
  content: {
4228
4228
  'application/problem+json': {
4229
- schema: z$1.ZodObject<{
4230
- instance: z$1.ZodOptional<z$1.ZodString>;
4231
- requestId: z$1.ZodOptional<z$1.ZodString>;
4232
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4233
- detail: z$1.ZodString;
4234
- title: z$1.ZodString;
4235
- status: z$1.ZodNumber;
4236
- error: z$1.ZodObject<{
4237
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4238
- message: z$1.ZodString;
4239
- }, z$1.core.$strip>;
4240
- }, z$1.core.$strip>;
4229
+ schema: z.ZodObject<{
4230
+ instance: z.ZodOptional<z.ZodString>;
4231
+ requestId: z.ZodOptional<z.ZodString>;
4232
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4233
+ detail: z.ZodString;
4234
+ title: z.ZodString;
4235
+ status: z.ZodNumber;
4236
+ error: z.ZodObject<{
4237
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4238
+ message: z.ZodString;
4239
+ }, z.core.$strip>;
4240
+ }, z.core.$strip>;
4241
4241
  };
4242
4242
  };
4243
4243
  };
@@ -4245,18 +4245,18 @@ declare const commonGetErrorResponses: {
4245
4245
  description: string;
4246
4246
  content: {
4247
4247
  'application/problem+json': {
4248
- schema: z$1.ZodObject<{
4249
- instance: z$1.ZodOptional<z$1.ZodString>;
4250
- requestId: z$1.ZodOptional<z$1.ZodString>;
4251
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4252
- detail: z$1.ZodString;
4253
- title: z$1.ZodString;
4254
- status: z$1.ZodNumber;
4255
- error: z$1.ZodObject<{
4256
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4257
- message: z$1.ZodString;
4258
- }, z$1.core.$strip>;
4259
- }, z$1.core.$strip>;
4248
+ schema: z.ZodObject<{
4249
+ instance: z.ZodOptional<z.ZodString>;
4250
+ requestId: z.ZodOptional<z.ZodString>;
4251
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4252
+ detail: z.ZodString;
4253
+ title: z.ZodString;
4254
+ status: z.ZodNumber;
4255
+ error: z.ZodObject<{
4256
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4257
+ message: z.ZodString;
4258
+ }, z.core.$strip>;
4259
+ }, z.core.$strip>;
4260
4260
  };
4261
4261
  };
4262
4262
  };
@@ -4266,18 +4266,18 @@ declare const commonDeleteErrorResponses: {
4266
4266
  description: string;
4267
4267
  content: {
4268
4268
  'application/problem+json': {
4269
- schema: z$1.ZodObject<{
4270
- instance: z$1.ZodOptional<z$1.ZodString>;
4271
- requestId: z$1.ZodOptional<z$1.ZodString>;
4272
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4273
- detail: z$1.ZodString;
4274
- title: z$1.ZodString;
4275
- status: z$1.ZodNumber;
4276
- error: z$1.ZodObject<{
4277
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4278
- message: z$1.ZodString;
4279
- }, z$1.core.$strip>;
4280
- }, z$1.core.$strip>;
4269
+ schema: z.ZodObject<{
4270
+ instance: z.ZodOptional<z.ZodString>;
4271
+ requestId: z.ZodOptional<z.ZodString>;
4272
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4273
+ detail: z.ZodString;
4274
+ title: z.ZodString;
4275
+ status: z.ZodNumber;
4276
+ error: z.ZodObject<{
4277
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4278
+ message: z.ZodString;
4279
+ }, z.core.$strip>;
4280
+ }, z.core.$strip>;
4281
4281
  };
4282
4282
  };
4283
4283
  };
@@ -4285,18 +4285,18 @@ declare const commonDeleteErrorResponses: {
4285
4285
  description: string;
4286
4286
  content: {
4287
4287
  'application/problem+json': {
4288
- schema: z$1.ZodObject<{
4289
- instance: z$1.ZodOptional<z$1.ZodString>;
4290
- requestId: z$1.ZodOptional<z$1.ZodString>;
4291
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4292
- detail: z$1.ZodString;
4293
- title: z$1.ZodString;
4294
- status: z$1.ZodNumber;
4295
- error: z$1.ZodObject<{
4296
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4297
- message: z$1.ZodString;
4298
- }, z$1.core.$strip>;
4299
- }, z$1.core.$strip>;
4288
+ schema: z.ZodObject<{
4289
+ instance: z.ZodOptional<z.ZodString>;
4290
+ requestId: z.ZodOptional<z.ZodString>;
4291
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4292
+ detail: z.ZodString;
4293
+ title: z.ZodString;
4294
+ status: z.ZodNumber;
4295
+ error: z.ZodObject<{
4296
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4297
+ message: z.ZodString;
4298
+ }, z.core.$strip>;
4299
+ }, z.core.$strip>;
4300
4300
  };
4301
4301
  };
4302
4302
  };
@@ -4304,18 +4304,18 @@ declare const commonDeleteErrorResponses: {
4304
4304
  description: string;
4305
4305
  content: {
4306
4306
  'application/problem+json': {
4307
- schema: z$1.ZodObject<{
4308
- instance: z$1.ZodOptional<z$1.ZodString>;
4309
- requestId: z$1.ZodOptional<z$1.ZodString>;
4310
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4311
- detail: z$1.ZodString;
4312
- title: z$1.ZodString;
4313
- status: z$1.ZodNumber;
4314
- error: z$1.ZodObject<{
4315
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4316
- message: z$1.ZodString;
4317
- }, z$1.core.$strip>;
4318
- }, z$1.core.$strip>;
4307
+ schema: z.ZodObject<{
4308
+ instance: z.ZodOptional<z.ZodString>;
4309
+ requestId: z.ZodOptional<z.ZodString>;
4310
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4311
+ detail: z.ZodString;
4312
+ title: z.ZodString;
4313
+ status: z.ZodNumber;
4314
+ error: z.ZodObject<{
4315
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4316
+ message: z.ZodString;
4317
+ }, z.core.$strip>;
4318
+ }, z.core.$strip>;
4319
4319
  };
4320
4320
  };
4321
4321
  };
@@ -4323,18 +4323,18 @@ declare const commonDeleteErrorResponses: {
4323
4323
  description: string;
4324
4324
  content: {
4325
4325
  'application/problem+json': {
4326
- schema: z$1.ZodObject<{
4327
- instance: z$1.ZodOptional<z$1.ZodString>;
4328
- requestId: z$1.ZodOptional<z$1.ZodString>;
4329
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4330
- detail: z$1.ZodString;
4331
- title: z$1.ZodString;
4332
- status: z$1.ZodNumber;
4333
- error: z$1.ZodObject<{
4334
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4335
- message: z$1.ZodString;
4336
- }, z$1.core.$strip>;
4337
- }, z$1.core.$strip>;
4326
+ schema: z.ZodObject<{
4327
+ instance: z.ZodOptional<z.ZodString>;
4328
+ requestId: z.ZodOptional<z.ZodString>;
4329
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4330
+ detail: z.ZodString;
4331
+ title: z.ZodString;
4332
+ status: z.ZodNumber;
4333
+ error: z.ZodObject<{
4334
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4335
+ message: z.ZodString;
4336
+ }, z.core.$strip>;
4337
+ }, z.core.$strip>;
4338
4338
  };
4339
4339
  };
4340
4340
  };
@@ -4342,18 +4342,18 @@ declare const commonDeleteErrorResponses: {
4342
4342
  description: string;
4343
4343
  content: {
4344
4344
  'application/problem+json': {
4345
- schema: z$1.ZodObject<{
4346
- instance: z$1.ZodOptional<z$1.ZodString>;
4347
- requestId: z$1.ZodOptional<z$1.ZodString>;
4348
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4349
- detail: z$1.ZodString;
4350
- title: z$1.ZodString;
4351
- status: z$1.ZodNumber;
4352
- error: z$1.ZodObject<{
4353
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4354
- message: z$1.ZodString;
4355
- }, z$1.core.$strip>;
4356
- }, z$1.core.$strip>;
4345
+ schema: z.ZodObject<{
4346
+ instance: z.ZodOptional<z.ZodString>;
4347
+ requestId: z.ZodOptional<z.ZodString>;
4348
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4349
+ detail: z.ZodString;
4350
+ title: z.ZodString;
4351
+ status: z.ZodNumber;
4352
+ error: z.ZodObject<{
4353
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4354
+ message: z.ZodString;
4355
+ }, z.core.$strip>;
4356
+ }, z.core.$strip>;
4357
4357
  };
4358
4358
  };
4359
4359
  };
@@ -4361,18 +4361,18 @@ declare const commonDeleteErrorResponses: {
4361
4361
  description: string;
4362
4362
  content: {
4363
4363
  'application/problem+json': {
4364
- schema: z$1.ZodObject<{
4365
- instance: z$1.ZodOptional<z$1.ZodString>;
4366
- requestId: z$1.ZodOptional<z$1.ZodString>;
4367
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4368
- detail: z$1.ZodString;
4369
- title: z$1.ZodString;
4370
- status: z$1.ZodNumber;
4371
- error: z$1.ZodObject<{
4372
- code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4373
- message: z$1.ZodString;
4374
- }, z$1.core.$strip>;
4375
- }, z$1.core.$strip>;
4364
+ schema: z.ZodObject<{
4365
+ instance: z.ZodOptional<z.ZodString>;
4366
+ requestId: z.ZodOptional<z.ZodString>;
4367
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4368
+ detail: z.ZodString;
4369
+ title: z.ZodString;
4370
+ status: z.ZodNumber;
4371
+ error: z.ZodObject<{
4372
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
4373
+ message: z.ZodString;
4374
+ }, z.core.$strip>;
4375
+ }, z.core.$strip>;
4376
4376
  };
4377
4377
  };
4378
4378
  };
@@ -4559,7 +4559,7 @@ declare function verifyTempToken(publicKeyPem: string, token: string): Promise<T
4559
4559
  * Handles all Composio-specific operations for MCP server integration
4560
4560
  */
4561
4561
 
4562
- type PrebuiltMCPServer = zod__default.infer<typeof PrebuiltMCPServerSchema>;
4562
+ type PrebuiltMCPServer = z.infer<typeof PrebuiltMCPServerSchema>;
4563
4563
  /**
4564
4564
  * Extract server ID from a Composio MCP URL
4565
4565
  * Example: https://backend.composio.dev/v3/mcp/1234-1234-1234?user_id=... -> 1234-1234-1234