@inkeep/agents-core 0.24.2 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-5B6IOJZY.js → chunk-ALZI4IXB.js} +57 -17
- package/dist/{chunk-ZGJI6UNK.js → chunk-HMVAAUTK.js} +42 -23
- package/dist/{chunk-HN77JIDP.js → chunk-NXC2HZQL.js} +46 -13
- package/dist/client-exports.cjs +99 -36
- package/dist/client-exports.d.cts +7 -11
- package/dist/client-exports.d.ts +7 -11
- package/dist/client-exports.js +3 -11
- package/dist/db/schema.cjs +56 -16
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +1 -1
- package/dist/index.cjs +1052 -577
- package/dist/index.d.cts +276 -86
- package/dist/index.d.ts +276 -86
- package/dist/index.js +895 -531
- package/dist/{schema-PgBNwsV-.d.ts → schema-CDKDLrBu.d.ts} +188 -62
- package/dist/{schema-B8NMPwEM.d.cts → schema-P1kG10Kn.d.cts} +188 -62
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-mGrlR4Ta.d.cts → utility-CWjvUL4k.d.cts} +329 -71
- package/dist/{utility-mGrlR4Ta.d.ts → utility-CWjvUL4k.d.ts} +329 -71
- package/dist/validation/index.cjs +146 -50
- package/dist/validation/index.d.cts +5 -5
- package/dist/validation/index.d.ts +5 -5
- package/dist/validation/index.js +2 -2
- package/drizzle/0011_slippery_korg.sql +36 -0
- package/drizzle/meta/0011_snapshot.json +2849 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,13 +2,13 @@ export { ANTHROPIC_MODELS, AnthropicModel, GOOGLE_MODELS, GoogleModel, ModelName
|
|
|
2
2
|
import { r as PinoLogger, s as getLogger } from './auth-detection-BO8bSpe4.cjs';
|
|
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-BO8bSpe4.cjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as AgentScopeConfig, C as ConversationHistoryConfig, v as ProjectScopeConfig, w as PaginationConfig, x as AgentInsert, y as AgentUpdate, z as FullAgentDefinition, 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
|
|
6
|
-
export { b9 as A2AError, bF as A2ARequest, bG as A2AResponse, aK as APIKeySecurityScheme, bT as AgentApiInsert, dW as AgentApiInsertSchema, bS as AgentApiSelect, dV as AgentApiSelectSchema, bU as AgentApiUpdate, dX as AgentApiUpdateSchema, aG as AgentCapabilities, aU as AgentCard, dk as AgentConversationHistoryConfig, dT as AgentInsertSchema, gh as AgentListResponse, aH as AgentProvider, g1 as AgentResponse, dS as AgentSelectSchema, aI as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, dU as AgentUpdateSchema, fN as AgentWithinContextOfProjectSchema, e_ as AllAgentSchema, cN as AllAgentSelect, cR as ApiKeyApiCreationResponse, f3 as ApiKeyApiCreationResponseSchema, cP as ApiKeyApiInsert, f4 as ApiKeyApiInsertSchema, cO as ApiKeyApiSelect, f2 as ApiKeyApiSelectSchema, cQ as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, f0 as ApiKeyInsertSchema, gl as ApiKeyListResponse, g5 as ApiKeyResponse, e$ as ApiKeySelectSchema, f1 as ApiKeyUpdateSchema, cC as ArtifactComponentApiInsert, eM as ArtifactComponentApiInsertSchema, cB as ArtifactComponentApiSelect, eL as ArtifactComponentApiSelectSchema, cD as ArtifactComponentApiUpdate, eN as ArtifactComponentApiUpdateSchema, eJ as ArtifactComponentInsertSchema, gq as ArtifactComponentListResponse, ga as ArtifactComponentResponse, eI as ArtifactComponentSelectSchema, eK as ArtifactComponentUpdateSchema, aN as AuthorizationCodeOAuthFlow, d3 as CanUseItem, fM as CanUseItemSchema, bp as CancelTaskRequest, bA as CancelTaskResponse, bz as CancelTaskSuccessResponse, aO as ClientCredentialsOAuthFlow, b7 as ContentTypeNotSupportedError, cq as ContextCacheApiInsert, et as ContextCacheApiInsertSchema, cp as ContextCacheApiSelect, es as ContextCacheApiSelectSchema, cr as ContextCacheApiUpdate, eu as ContextCacheApiUpdateSchema, dl as ContextCacheEntry, eq as ContextCacheInsertSchema, ep as ContextCacheSelectSchema, co as ContextCacheUpdate, er as ContextCacheUpdateSchema, ck as ContextConfigApiInsert, fw as ContextConfigApiInsertSchema, cj as ContextConfigApiSelect, fv as ContextConfigApiSelectSchema, cl as ContextConfigApiUpdate, fx as ContextConfigApiUpdateSchema, ft as ContextConfigInsertSchema, gk as ContextConfigListResponse, g4 as ContextConfigResponse, fs as ContextConfigSelectSchema, fu as ContextConfigUpdateSchema, cd as ConversationApiInsert, eh as ConversationApiInsertSchema, cc as ConversationApiSelect, eg as ConversationApiSelectSchema, ce as ConversationApiUpdate, ei as ConversationApiUpdateSchema, ee as ConversationInsertSchema, gt as ConversationListResponse, gd as ConversationResponse, dj as ConversationScopeOptions, ed as ConversationSelectSchema, ef as ConversationUpdateSchema, f9 as CredentialReferenceApiInsertSchema, cS as CredentialReferenceApiSelect, f8 as CredentialReferenceApiSelectSchema, cT as CredentialReferenceApiUpdate, fa as CredentialReferenceApiUpdateSchema, f6 as CredentialReferenceInsertSchema, gm as CredentialReferenceListResponse, g6 as CredentialReferenceResponse, f5 as CredentialReferenceSelectSchema, f7 as CredentialReferenceUpdateSchema, ct as DataComponentApiInsert, eA as DataComponentApiInsertSchema, cs as DataComponentApiSelect, ez as DataComponentApiSelectSchema, cu as DataComponentApiUpdate, eB as DataComponentApiUpdateSchema, ex as DataComponentBaseSchema, ew as DataComponentInsertSchema, gp as DataComponentListResponse, g9 as DataComponentResponse, ev as DataComponentSelectSchema, ey as DataComponentUpdateSchema, aE as DataPart, fR as ErrorResponseSchema, fS as ExistsResponseSchema, eY as ExternalAgentApiInsertSchema, cK as ExternalAgentApiSelect, eX as ExternalAgentApiSelectSchema, cM as ExternalAgentApiUpdate, eZ as ExternalAgentApiUpdateSchema, eV as ExternalAgentInsertSchema, gj as ExternalAgentListResponse, g3 as ExternalAgentResponse, eU as ExternalAgentSelectSchema, eW as ExternalAgentUpdateSchema, cL as ExternalSubAgentApiInsert, bR as ExternalSubAgentRelationApiInsert, dR as ExternalSubAgentRelationApiInsertSchema, dQ as ExternalSubAgentRelationInsertSchema, cn as FetchConfig, fq as FetchConfigSchema, cm as FetchDefinition, fr as FetchDefinitionSchema, aA as FileBase, aD as FilePart, aB as FileWithBytes, aC as FileWithUri, d2 as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, f_ as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, c9 as FunctionApiSelect, j as FunctionApiSelectSchema, ca as FunctionApiUpdate, k as FunctionApiUpdateSchema, c7 as FunctionInsert, fo as FunctionInsertSchema, gn as FunctionListResponse, g7 as FunctionResponse, c6 as FunctionSelect, fn as FunctionSelectSchema, fl as FunctionToolApiInsertSchema, cb as FunctionToolApiSelect, fk as FunctionToolApiSelectSchema, fm as FunctionToolApiUpdateSchema, dC as FunctionToolConfig, dB as FunctionToolConfigSchema, fi as FunctionToolInsertSchema, go as FunctionToolListResponse, g8 as FunctionToolResponse, fh as FunctionToolSelectSchema, fj as FunctionToolUpdateSchema, c8 as FunctionUpdate, fp as FunctionUpdateSchema, br as GetTaskPushNotificationConfigRequest, bE as GetTaskPushNotificationConfigResponse, bD as GetTaskPushNotificationConfigSuccessResponse, bo as GetTaskRequest, by as GetTaskResponse, bx as GetTaskSuccessResponse, aL as HTTPAuthSecurityScheme, gz as HeadersScopeSchema, aP as ImplicitOAuthFlow, b2 as InternalError, d4 as InternalSubAgentDefinition, b8 as InvalidAgentResponseError, b1 as InvalidParamsError, a$ as InvalidRequestError, a_ as JSONParseError, bj as JSONRPCError, bl as JSONRPCErrorResponse, bh as JSONRPCMessage, bi as JSONRPCRequest, bk as JSONRPCResult, d0 as LedgerArtifactApiInsert, fI as LedgerArtifactApiInsertSchema, c$ as LedgerArtifactApiSelect, fH as LedgerArtifactApiSelectSchema, d1 as LedgerArtifactApiUpdate, fJ as LedgerArtifactApiUpdateSchema, cZ as LedgerArtifactInsert, fF as LedgerArtifactInsertSchema, fE as LedgerArtifactSelectSchema, c_ as LedgerArtifactUpdate, fG as LedgerArtifactUpdateSchema, fP as ListResponseSchema, dw as MAX_ID_LENGTH, du as MCPServerType, fc as MCPToolConfigSchema, dv as MIN_ID_LENGTH, dm as McpAuthType, dn as McpServerAuth, dq as McpServerCapabilities, dr as McpToolDefinition, ea as McpToolDefinitionSchema, fb as McpToolSchema, dp as McpTransportConfig, e8 as McpTransportConfigSchema, aV as Message, ch as MessageApiInsert, en as MessageApiInsertSchema, cg as MessageApiSelect, em as MessageApiSelectSchema, ci as MessageApiUpdate, eo as MessageApiUpdateSchema, ek as MessageInsertSchema, gu as MessageListResponse, de as MessageMode, bH as MessagePart, ge as MessageResponse, dd as MessageRole, cf as MessageSelect, ej as MessageSelectSchema, bf as MessageSendConfiguration, bg as MessageSendParams, dc as MessageType, el as MessageUpdateSchema, b0 as MethodNotFoundError, dz as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, df as Models, aR as OAuth2SecurityScheme, aM as OAuthFlows, aS as OpenIdConnectSecurityScheme, da as Pagination, gI as PaginationQueryParamsSchema, fO as PaginationSchema, P as Part, ay as PartBase, aQ as PasswordOAuthFlow, d8 as ProjectApiInsert, fY as ProjectApiInsertSchema, d7 as ProjectApiSelect, fX as ProjectApiSelectSchema, d9 as ProjectApiUpdate, fZ as ProjectApiUpdateSchema, fV as ProjectInsertSchema, gf as ProjectListResponse, dA as ProjectModelSchema, dg as ProjectModels, f$ as ProjectResponse, fU as ProjectSelectSchema, fW as ProjectUpdateSchema, ba as PushNotificationAuthenticationInfo, bb as PushNotificationConfig, b5 as PushNotificationNotSupportedError, fT as RemovedResponseSchema, aT as SecurityScheme, aJ as SecuritySchemeBase, bm as SendMessageRequest, bu as SendMessageResponse, bt as SendMessageSuccessResponse, bn as SendStreamingMessageRequest, bw as SendStreamingMessageResponse, bv as SendStreamingMessageSuccessResponse, bq as SetTaskPushNotificationConfigRequest, bC as SetTaskPushNotificationConfigResponse, bB as SetTaskPushNotificationConfigSuccessResponse, fQ as SingleResponseSchema, di as StatusComponent, fK as StatusComponentSchema, fL as StatusUpdateSchema, dh as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bK as SubAgentApiInsert, dH as SubAgentApiInsertSchema, bJ as SubAgentApiSelect, dG as SubAgentApiSelectSchema, bL as SubAgentApiUpdate, dI as SubAgentApiUpdateSchema, cI as SubAgentArtifactComponentApiInsert, eS as SubAgentArtifactComponentApiInsertSchema, cH as SubAgentArtifactComponentApiSelect, eR as SubAgentArtifactComponentApiSelectSchema, cJ as SubAgentArtifactComponentApiUpdate, eT as SubAgentArtifactComponentApiUpdateSchema, cF as SubAgentArtifactComponentInsert, eP as SubAgentArtifactComponentInsertSchema, gy as SubAgentArtifactComponentListResponse, gw as SubAgentArtifactComponentResponse, cE as SubAgentArtifactComponentSelect, eO as SubAgentArtifactComponentSelectSchema, cG as SubAgentArtifactComponentUpdate, eQ as SubAgentArtifactComponentUpdateSchema, cz as SubAgentDataComponentApiInsert, eG as SubAgentDataComponentApiInsertSchema, cy as SubAgentDataComponentApiSelect, eF as SubAgentDataComponentApiSelectSchema, cA as SubAgentDataComponentApiUpdate, eH as SubAgentDataComponentApiUpdateSchema, cw as SubAgentDataComponentInsert, eD as SubAgentDataComponentInsertSchema, gx as SubAgentDataComponentListResponse, gv as SubAgentDataComponentResponse, cv as SubAgentDataComponentSelect, eC as SubAgentDataComponentSelectSchema, cx as SubAgentDataComponentUpdate, eE as SubAgentDataComponentUpdateSchema, d5 as SubAgentDefinition, dE as SubAgentInsertSchema, gg as SubAgentListResponse, bO as SubAgentRelationApiInsert, dN as SubAgentRelationApiInsertSchema, bN as SubAgentRelationApiSelect, dM as SubAgentRelationApiSelectSchema, bP as SubAgentRelationApiUpdate, dO as SubAgentRelationApiUpdateSchema, dK as SubAgentRelationInsertSchema, gr as SubAgentRelationListResponse, bQ as SubAgentRelationQuery, dP as SubAgentRelationQuerySchema, gb as SubAgentRelationResponse, bM as SubAgentRelationSelect, dJ as SubAgentRelationSelectSchema, dL as SubAgentRelationUpdateSchema, g0 as SubAgentResponse, dD as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, cX as SubAgentToolRelationApiInsert, fC as SubAgentToolRelationApiInsertSchema, cW as SubAgentToolRelationApiSelect, fB as SubAgentToolRelationApiSelectSchema, cY as SubAgentToolRelationApiUpdate, fD as SubAgentToolRelationApiUpdateSchema, cV as SubAgentToolRelationInsert, fz as SubAgentToolRelationInsertSchema, gs as SubAgentToolRelationListResponse, gc as SubAgentToolRelationResponse, cU as SubAgentToolRelationSelect, fy as SubAgentToolRelationSelectSchema, fA as SubAgentToolRelationUpdateSchema, dF as SubAgentUpdateSchema, db as SummaryEvent, ds as TOOL_STATUS_VALUES, aX as Task, bX as TaskApiInsert, e0 as TaskApiInsertSchema, bW as TaskApiSelect, d$ as TaskApiSelectSchema, bY as TaskApiUpdate, e1 as TaskApiUpdateSchema, bI as TaskArtifact, aZ as TaskArtifactUpdateEvent, bd as TaskIdParams, dZ as TaskInsertSchema, b4 as TaskNotCancelableError, b3 as TaskNotFoundError, bc as TaskPushNotificationConfig, be as TaskQueryParams, c1 as TaskRelationApiInsert, e6 as TaskRelationApiInsertSchema, c0 as TaskRelationApiSelect, e5 as TaskRelationApiSelectSchema, c2 as TaskRelationApiUpdate, e7 as TaskRelationApiUpdateSchema, b_ as TaskRelationInsert, e3 as TaskRelationInsertSchema, bZ as TaskRelationSelect, e2 as TaskRelationSelectSchema, b$ as TaskRelationUpdate, e4 as TaskRelationUpdateSchema, bs as TaskResubscriptionRequest, dY as TaskSelectSchema, aF as TaskState, aW as TaskStatus, aY as TaskStatusUpdateEvent, bV as TaskUpdate, d_ as TaskUpdateSchema, gB as TenantIdParamsSchema, gA as TenantParamsSchema, gF as TenantProjectAgentIdParamsSchema, gE as TenantProjectAgentParamsSchema, gH as TenantProjectAgentSubAgentIdParamsSchema, gG as TenantProjectAgentSubAgentParamsSchema, gD as TenantProjectIdParamsSchema, gC as TenantProjectParamsSchema, az as TextPart, c4 as ToolApiInsert, ff as ToolApiInsertSchema, c3 as ToolApiSelect, fe as ToolApiSelectSchema, c5 as ToolApiUpdate, fg as ToolApiUpdateSchema, d6 as ToolDefinition, ec as ToolInsertSchema, gi as ToolListResponse, g2 as ToolResponse, eb as ToolSelectSchema, e9 as ToolStatusSchema, fd as ToolUpdateSchema, dx as URL_SAFE_ID_PATTERN, b6 as UnsupportedOperationError, dt as VALID_RELATION_TYPES, dy as resourceIdSchema } from './utility-mGrlR4Ta.cjs';
|
|
5
|
+
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as AgentScopeConfig, C as ConversationHistoryConfig, v as ProjectScopeConfig, w as PaginationConfig, x as AgentInsert, y as AgentUpdate, z as FullAgentDefinition, 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 TaskInsert, T as TaskMetadataConfig, at as TaskSelect, au as McpTool, av as ToolInsert, aw as ToolUpdate, h as CredentialStoreType, ax as ExecutionContext } from './utility-CWjvUL4k.cjs';
|
|
6
|
+
export { b9 as A2AError, bF as A2ARequest, bG as A2AResponse, aK as APIKeySecurityScheme, bU as AgentApiInsert, e0 as AgentApiInsertSchema, bT as AgentApiSelect, d$ as AgentApiSelectSchema, bV as AgentApiUpdate, e1 as AgentApiUpdateSchema, aG as AgentCapabilities, aU as AgentCard, dr as AgentConversationHistoryConfig, dZ as AgentInsertSchema, gu as AgentListResponse, aH as AgentProvider, ge as AgentResponse, dY as AgentSelectSchema, aI as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, d_ as AgentUpdateSchema, f_ as AgentWithinContextOfProjectSchema, f4 as AllAgentSchema, cO as AllAgentSelect, cS as ApiKeyApiCreationResponse, f9 as ApiKeyApiCreationResponseSchema, cQ as ApiKeyApiInsert, fa as ApiKeyApiInsertSchema, cP as ApiKeyApiSelect, f8 as ApiKeyApiSelectSchema, cR as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, f6 as ApiKeyInsertSchema, gy as ApiKeyListResponse, gi as ApiKeyResponse, f5 as ApiKeySelectSchema, f7 as ApiKeyUpdateSchema, cD as ArtifactComponentApiInsert, eS as ArtifactComponentApiInsertSchema, cC as ArtifactComponentApiSelect, eR as ArtifactComponentApiSelectSchema, cE as ArtifactComponentApiUpdate, eT as ArtifactComponentApiUpdateSchema, eP as ArtifactComponentInsertSchema, gD as ArtifactComponentListResponse, gn as ArtifactComponentResponse, eO as ArtifactComponentSelectSchema, eQ as ArtifactComponentUpdateSchema, aN as AuthorizationCodeOAuthFlow, da as CanDelegateToExternalAgent, d9 as CanUseItem, fY as CanUseItemSchema, bp as CancelTaskRequest, bA as CancelTaskResponse, bz as CancelTaskSuccessResponse, aO as ClientCredentialsOAuthFlow, b7 as ContentTypeNotSupportedError, cr as ContextCacheApiInsert, ez as ContextCacheApiInsertSchema, cq as ContextCacheApiSelect, ey as ContextCacheApiSelectSchema, cs as ContextCacheApiUpdate, eA as ContextCacheApiUpdateSchema, ds as ContextCacheEntry, ew as ContextCacheInsertSchema, ev as ContextCacheSelectSchema, cp as ContextCacheUpdate, ex as ContextCacheUpdateSchema, cl as ContextConfigApiInsert, fC as ContextConfigApiInsertSchema, ck as ContextConfigApiSelect, fB as ContextConfigApiSelectSchema, cm as ContextConfigApiUpdate, fD as ContextConfigApiUpdateSchema, fz as ContextConfigInsertSchema, gx as ContextConfigListResponse, gh as ContextConfigResponse, fy as ContextConfigSelectSchema, fA as ContextConfigUpdateSchema, ce as ConversationApiInsert, en as ConversationApiInsertSchema, cd as ConversationApiSelect, em as ConversationApiSelectSchema, cf as ConversationApiUpdate, eo as ConversationApiUpdateSchema, ek as ConversationInsertSchema, gG as ConversationListResponse, gq as ConversationResponse, dq as ConversationScopeOptions, ej as ConversationSelectSchema, el as ConversationUpdateSchema, ff as CredentialReferenceApiInsertSchema, cT as CredentialReferenceApiSelect, fe as CredentialReferenceApiSelectSchema, cU as CredentialReferenceApiUpdate, fg as CredentialReferenceApiUpdateSchema, fc as CredentialReferenceInsertSchema, gz as CredentialReferenceListResponse, gj as CredentialReferenceResponse, fb as CredentialReferenceSelectSchema, fd as CredentialReferenceUpdateSchema, cu as DataComponentApiInsert, eG as DataComponentApiInsertSchema, ct as DataComponentApiSelect, eF as DataComponentApiSelectSchema, cv as DataComponentApiUpdate, eH as DataComponentApiUpdateSchema, eD as DataComponentBaseSchema, eC as DataComponentInsertSchema, gC as DataComponentListResponse, gm as DataComponentResponse, eB as DataComponentSelectSchema, eE as DataComponentUpdateSchema, aE as DataPart, g2 as ErrorResponseSchema, g3 as ExistsResponseSchema, cM as ExternalAgentApiInsert, f2 as ExternalAgentApiInsertSchema, cL as ExternalAgentApiSelect, f1 as ExternalAgentApiSelectSchema, cN as ExternalAgentApiUpdate, f3 as ExternalAgentApiUpdateSchema, e$ as ExternalAgentInsertSchema, gw as ExternalAgentListResponse, gg as ExternalAgentResponse, e_ as ExternalAgentSelectSchema, f0 as ExternalAgentUpdateSchema, bS as ExternalSubAgentRelationApiInsert, dX as ExternalSubAgentRelationApiInsertSchema, bR as ExternalSubAgentRelationInsert, dW as ExternalSubAgentRelationInsertSchema, co as FetchConfig, fw as FetchConfigSchema, cn as FetchDefinition, fx as FetchDefinitionSchema, aA as FileBase, aD as FilePart, aB as FileWithBytes, aC as FileWithUri, d8 as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, gb as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, ca as FunctionApiSelect, j as FunctionApiSelectSchema, cb as FunctionApiUpdate, k as FunctionApiUpdateSchema, c8 as FunctionInsert, fu as FunctionInsertSchema, gA as FunctionListResponse, gk as FunctionResponse, c7 as FunctionSelect, ft as FunctionSelectSchema, fr as FunctionToolApiInsertSchema, cc as FunctionToolApiSelect, fq as FunctionToolApiSelectSchema, fs as FunctionToolApiUpdateSchema, dI as FunctionToolConfig, dH as FunctionToolConfigSchema, fo as FunctionToolInsertSchema, gB as FunctionToolListResponse, gl as FunctionToolResponse, fn as FunctionToolSelectSchema, fp as FunctionToolUpdateSchema, c9 as FunctionUpdate, fv as FunctionUpdateSchema, br as GetTaskPushNotificationConfigRequest, bE as GetTaskPushNotificationConfigResponse, bD as GetTaskPushNotificationConfigSuccessResponse, bo as GetTaskRequest, by as GetTaskResponse, bx as GetTaskSuccessResponse, aL as HTTPAuthSecurityScheme, gM as HeadersScopeSchema, aP as ImplicitOAuthFlow, b2 as InternalError, b8 as InvalidAgentResponseError, b1 as InvalidParamsError, a$ as InvalidRequestError, a_ as JSONParseError, bj as JSONRPCError, bl as JSONRPCErrorResponse, bh as JSONRPCMessage, bi as JSONRPCRequest, bk as JSONRPCResult, d6 as LedgerArtifactApiInsert, fU as LedgerArtifactApiInsertSchema, d5 as LedgerArtifactApiSelect, fT as LedgerArtifactApiSelectSchema, d7 as LedgerArtifactApiUpdate, fV as LedgerArtifactApiUpdateSchema, d3 as LedgerArtifactInsert, fR as LedgerArtifactInsertSchema, fQ as LedgerArtifactSelectSchema, d4 as LedgerArtifactUpdate, fS as LedgerArtifactUpdateSchema, g0 as ListResponseSchema, dC as MAX_ID_LENGTH, dA as MCPServerType, fi as MCPToolConfigSchema, dB as MIN_ID_LENGTH, dt as McpAuthType, du as McpServerAuth, dw as McpServerCapabilities, dx as McpToolDefinition, eg as McpToolDefinitionSchema, fh as McpToolSchema, dv as McpTransportConfig, ee as McpTransportConfigSchema, aV as Message, ci as MessageApiInsert, et as MessageApiInsertSchema, ch as MessageApiSelect, es as MessageApiSelectSchema, cj as MessageApiUpdate, eu as MessageApiUpdateSchema, eq as MessageInsertSchema, gH as MessageListResponse, dk as MessageMode, bH as MessagePart, gr as MessageResponse, dj as MessageRole, cg as MessageSelect, ep as MessageSelectSchema, bf as MessageSendConfiguration, bg as MessageSendParams, di as MessageType, er as MessageUpdateSchema, b0 as MethodNotFoundError, dF as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, dl as Models, aR as OAuth2SecurityScheme, aM as OAuthFlows, aS as OpenIdConnectSecurityScheme, dg as Pagination, gV as PaginationQueryParamsSchema, f$ as PaginationSchema, P as Part, ay as PartBase, aQ as PasswordOAuthFlow, de as ProjectApiInsert, g9 as ProjectApiInsertSchema, dd as ProjectApiSelect, g8 as ProjectApiSelectSchema, df as ProjectApiUpdate, ga as ProjectApiUpdateSchema, g6 as ProjectInsertSchema, gs as ProjectListResponse, dG as ProjectModelSchema, dm as ProjectModels, gc as ProjectResponse, g5 as ProjectSelectSchema, g7 as ProjectUpdateSchema, ba as PushNotificationAuthenticationInfo, bb as PushNotificationConfig, b5 as PushNotificationNotSupportedError, g4 as RemovedResponseSchema, aT as SecurityScheme, aJ as SecuritySchemeBase, bm as SendMessageRequest, bu as SendMessageResponse, bt as SendMessageSuccessResponse, bn as SendStreamingMessageRequest, bw as SendStreamingMessageResponse, bv as SendStreamingMessageSuccessResponse, bq as SetTaskPushNotificationConfigRequest, bC as SetTaskPushNotificationConfigResponse, bB as SetTaskPushNotificationConfigSuccessResponse, g1 as SingleResponseSchema, dp as StatusComponent, fW as StatusComponentSchema, fX as StatusUpdateSchema, dn as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bK as SubAgentApiInsert, dN as SubAgentApiInsertSchema, bJ as SubAgentApiSelect, dM as SubAgentApiSelectSchema, bL as SubAgentApiUpdate, dO as SubAgentApiUpdateSchema, cJ as SubAgentArtifactComponentApiInsert, eY as SubAgentArtifactComponentApiInsertSchema, cI as SubAgentArtifactComponentApiSelect, eX as SubAgentArtifactComponentApiSelectSchema, cK as SubAgentArtifactComponentApiUpdate, eZ as SubAgentArtifactComponentApiUpdateSchema, cG as SubAgentArtifactComponentInsert, eV as SubAgentArtifactComponentInsertSchema, gL as SubAgentArtifactComponentListResponse, gJ as SubAgentArtifactComponentResponse, cF as SubAgentArtifactComponentSelect, eU as SubAgentArtifactComponentSelectSchema, cH as SubAgentArtifactComponentUpdate, eW as SubAgentArtifactComponentUpdateSchema, cA as SubAgentDataComponentApiInsert, eM as SubAgentDataComponentApiInsertSchema, cz as SubAgentDataComponentApiSelect, eL as SubAgentDataComponentApiSelectSchema, cB as SubAgentDataComponentApiUpdate, eN as SubAgentDataComponentApiUpdateSchema, cx as SubAgentDataComponentInsert, eJ as SubAgentDataComponentInsertSchema, gK as SubAgentDataComponentListResponse, gI as SubAgentDataComponentResponse, cw as SubAgentDataComponentSelect, eI as SubAgentDataComponentSelectSchema, cy as SubAgentDataComponentUpdate, eK as SubAgentDataComponentUpdateSchema, db as SubAgentDefinition, d1 as SubAgentExternalAgentRelationApiInsert, fO as SubAgentExternalAgentRelationApiInsertSchema, d0 as SubAgentExternalAgentRelationApiSelect, fN as SubAgentExternalAgentRelationApiSelectSchema, d2 as SubAgentExternalAgentRelationApiUpdate, fP as SubAgentExternalAgentRelationApiUpdateSchema, fL as SubAgentExternalAgentRelationInsertSchema, c_ as SubAgentExternalAgentRelationSelect, fK as SubAgentExternalAgentRelationSelectSchema, c$ as SubAgentExternalAgentRelationUpdate, fM as SubAgentExternalAgentRelationUpdateSchema, dK as SubAgentInsertSchema, gt as SubAgentListResponse, bO as SubAgentRelationApiInsert, dT as SubAgentRelationApiInsertSchema, bN as SubAgentRelationApiSelect, dS as SubAgentRelationApiSelectSchema, bP as SubAgentRelationApiUpdate, dU as SubAgentRelationApiUpdateSchema, dQ as SubAgentRelationInsertSchema, gE as SubAgentRelationListResponse, bQ as SubAgentRelationQuery, dV as SubAgentRelationQuerySchema, go as SubAgentRelationResponse, bM as SubAgentRelationSelect, dP as SubAgentRelationSelectSchema, dR as SubAgentRelationUpdateSchema, gd as SubAgentResponse, dJ as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, cY as SubAgentToolRelationApiInsert, fI as SubAgentToolRelationApiInsertSchema, cX as SubAgentToolRelationApiSelect, fH as SubAgentToolRelationApiSelectSchema, cZ as SubAgentToolRelationApiUpdate, fJ as SubAgentToolRelationApiUpdateSchema, cW as SubAgentToolRelationInsert, fF as SubAgentToolRelationInsertSchema, gF as SubAgentToolRelationListResponse, gp as SubAgentToolRelationResponse, cV as SubAgentToolRelationSelect, fE as SubAgentToolRelationSelectSchema, fG as SubAgentToolRelationUpdateSchema, dL as SubAgentUpdateSchema, dh as SummaryEvent, dy as TOOL_STATUS_VALUES, aX as Task, bY as TaskApiInsert, e6 as TaskApiInsertSchema, bX as TaskApiSelect, e5 as TaskApiSelectSchema, bZ as TaskApiUpdate, e7 as TaskApiUpdateSchema, bI as TaskArtifact, aZ as TaskArtifactUpdateEvent, bd as TaskIdParams, e3 as TaskInsertSchema, b4 as TaskNotCancelableError, b3 as TaskNotFoundError, bc as TaskPushNotificationConfig, be as TaskQueryParams, c2 as TaskRelationApiInsert, ec as TaskRelationApiInsertSchema, c1 as TaskRelationApiSelect, eb as TaskRelationApiSelectSchema, c3 as TaskRelationApiUpdate, ed as TaskRelationApiUpdateSchema, b$ as TaskRelationInsert, e9 as TaskRelationInsertSchema, b_ as TaskRelationSelect, e8 as TaskRelationSelectSchema, c0 as TaskRelationUpdate, ea as TaskRelationUpdateSchema, bs as TaskResubscriptionRequest, e2 as TaskSelectSchema, aF as TaskState, aW as TaskStatus, aY as TaskStatusUpdateEvent, bW as TaskUpdate, e4 as TaskUpdateSchema, gO as TenantIdParamsSchema, gN as TenantParamsSchema, gS as TenantProjectAgentIdParamsSchema, gR as TenantProjectAgentParamsSchema, gU as TenantProjectAgentSubAgentIdParamsSchema, gT as TenantProjectAgentSubAgentParamsSchema, gQ as TenantProjectIdParamsSchema, gP as TenantProjectParamsSchema, az as TextPart, c5 as ToolApiInsert, fl as ToolApiInsertSchema, c4 as ToolApiSelect, fk as ToolApiSelectSchema, c6 as ToolApiUpdate, fm as ToolApiUpdateSchema, dc as ToolDefinition, ei as ToolInsertSchema, gv as ToolListResponse, gf as ToolResponse, eh as ToolSelectSchema, ef as ToolStatusSchema, fj as ToolUpdateSchema, dD as URL_SAFE_ID_PATTERN, b6 as UnsupportedOperationError, dz as VALID_RELATION_TYPES, fZ as canDelegateToExternalAgentSchema, dE as resourceIdSchema } from './utility-CWjvUL4k.cjs';
|
|
7
7
|
import { CredentialStore } from './types/index.cjs';
|
|
8
8
|
export { CorsConfig, ServerConfig, ServerOptions } from './types/index.cjs';
|
|
9
9
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
10
|
-
import { s as schema } from './schema-
|
|
11
|
-
export {
|
|
10
|
+
import { s as schema } from './schema-P1kG10Kn.cjs';
|
|
11
|
+
export { F as agentRelations, I as agentToolRelationsRelations, a as agents, x as apiKeys, H as apiKeysRelations, j as artifactComponents, N as artifactComponentsRelations, b as contextCache, D as contextCacheRelations, c as contextConfigs, C as contextConfigsRelations, u as conversations, L as conversationsRelations, y as credentialReferences, J as credentialReferencesRelations, h as dataComponents, P as dataComponentsRelations, f as externalAgents, G as externalAgentsRelations, m as functionTools, U as functionToolsRelations, n as functions, S as functionsRelations, w as ledgerArtifacts, R as ledgerArtifactsRelations, v as messages, M as messagesRelations, p as projects, A as projectsRelations, k as subAgentArtifactComponents, O as subAgentArtifactComponentsRelations, i as subAgentDataComponents, Q as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, W as subAgentExternalAgentRelationsRelations, r as subAgentFunctionToolRelations, V as subAgentFunctionToolRelationsRelations, e as subAgentRelations, T as subAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, E as subAgentsRelations, g as taskRelations, B as taskRelationsRelations, t as tasks, z as tasksRelations, l as tools, K as toolsRelations } from './schema-P1kG10Kn.cjs';
|
|
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';
|
|
@@ -19,7 +19,7 @@ import { z as z$1 } from '@hono/zod-openapi';
|
|
|
19
19
|
import { HTTPException } from 'hono/http-exception';
|
|
20
20
|
export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from './utils/schema-conversion.cjs';
|
|
21
21
|
import { Span, Tracer } from '@opentelemetry/api';
|
|
22
|
-
export { A2AMessageMetadata, A2AMessageMetadataSchema, DataOperationDetails, DataOperationDetailsSchema, DataOperationEvent, DataOperationEventSchema, DelegationReturnedData, DelegationReturnedDataSchema, DelegationSentData, DelegationSentDataSchema, PreviewValidationResult, TransferData, TransferDataSchema, generateIdFromName,
|
|
22
|
+
export { A2AMessageMetadata, A2AMessageMetadataSchema, DataOperationDetails, DataOperationDetailsSchema, DataOperationEvent, DataOperationEventSchema, DelegationReturnedData, DelegationReturnedDataSchema, DelegationSentData, DelegationSentDataSchema, PreviewValidationResult, TransferData, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validatePreview, validateSubAgentExternalAgentRelations, validateToolReferences } from './validation/index.cjs';
|
|
23
23
|
export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.cjs';
|
|
24
24
|
import 'pino';
|
|
25
25
|
import 'drizzle-zod';
|
|
@@ -1651,8 +1651,9 @@ declare const setActiveAgentForThread: (db: DatabaseClient) => ({ scopes, thread
|
|
|
1651
1651
|
subAgentId: string;
|
|
1652
1652
|
}) => Promise<void>;
|
|
1653
1653
|
|
|
1654
|
-
type
|
|
1654
|
+
type CredentialReferenceWithResources = CredentialReferenceSelect & {
|
|
1655
1655
|
tools: ToolSelect[];
|
|
1656
|
+
externalAgents: ExternalAgentSelect[];
|
|
1656
1657
|
};
|
|
1657
1658
|
/**
|
|
1658
1659
|
* Get a credential reference by ID
|
|
@@ -1664,10 +1665,10 @@ declare const getCredentialReference: (db: DatabaseClient) => (params: {
|
|
|
1664
1665
|
/**
|
|
1665
1666
|
* Get a credential reference by ID with its related tools
|
|
1666
1667
|
*/
|
|
1667
|
-
declare const
|
|
1668
|
+
declare const getCredentialReferenceWithResources: (db: DatabaseClient) => (params: {
|
|
1668
1669
|
scopes: ProjectScopeConfig;
|
|
1669
1670
|
id: string;
|
|
1670
|
-
}) => Promise<
|
|
1671
|
+
}) => Promise<CredentialReferenceWithResources | undefined>;
|
|
1671
1672
|
/**
|
|
1672
1673
|
* List all credential references for a tenant/project
|
|
1673
1674
|
*/
|
|
@@ -1700,7 +1701,7 @@ declare const updateCredentialReference: (db: DatabaseClient) => (params: {
|
|
|
1700
1701
|
scopes: ProjectScopeConfig;
|
|
1701
1702
|
id: string;
|
|
1702
1703
|
data: Partial<CredentialReferenceUpdate>;
|
|
1703
|
-
}) => Promise<
|
|
1704
|
+
}) => Promise<CredentialReferenceWithResources | undefined>;
|
|
1704
1705
|
/**
|
|
1705
1706
|
* Delete a credential reference
|
|
1706
1707
|
*/
|
|
@@ -1866,27 +1867,27 @@ declare const createExternalAgent: (db: DatabaseClient) => (params: ExternalAgen
|
|
|
1866
1867
|
* Get external agent by ID
|
|
1867
1868
|
*/
|
|
1868
1869
|
declare const getExternalAgent: (db: DatabaseClient) => (params: {
|
|
1869
|
-
scopes:
|
|
1870
|
-
|
|
1870
|
+
scopes: ProjectScopeConfig;
|
|
1871
|
+
externalAgentId: string;
|
|
1871
1872
|
}) => Promise<ExternalAgentSelect | null>;
|
|
1872
1873
|
/**
|
|
1873
1874
|
* Get external agent by base URL
|
|
1874
1875
|
*/
|
|
1875
1876
|
declare const getExternalAgentByUrl: (db: DatabaseClient) => (params: {
|
|
1876
|
-
scopes:
|
|
1877
|
+
scopes: ProjectScopeConfig;
|
|
1877
1878
|
baseUrl: string;
|
|
1878
1879
|
}) => Promise<ExternalAgentSelect | null>;
|
|
1879
1880
|
/**
|
|
1880
|
-
* List external agents for a
|
|
1881
|
+
* List external agents for a project
|
|
1881
1882
|
*/
|
|
1882
1883
|
declare const listExternalAgents: (db: DatabaseClient) => (params: {
|
|
1883
|
-
scopes:
|
|
1884
|
+
scopes: ProjectScopeConfig;
|
|
1884
1885
|
}) => Promise<ExternalAgentSelect[]>;
|
|
1885
1886
|
/**
|
|
1886
1887
|
* List external agents with pagination
|
|
1887
1888
|
*/
|
|
1888
1889
|
declare const listExternalAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
1889
|
-
scopes:
|
|
1890
|
+
scopes: ProjectScopeConfig;
|
|
1890
1891
|
pagination?: PaginationConfig;
|
|
1891
1892
|
}) => Promise<{
|
|
1892
1893
|
data: ExternalAgentSelect[];
|
|
@@ -1901,8 +1902,8 @@ declare const listExternalAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1901
1902
|
* Update an existing external agent
|
|
1902
1903
|
*/
|
|
1903
1904
|
declare const updateExternalAgent: (db: DatabaseClient) => (params: {
|
|
1904
|
-
scopes:
|
|
1905
|
-
|
|
1905
|
+
scopes: ProjectScopeConfig;
|
|
1906
|
+
externalAgentId: string;
|
|
1906
1907
|
data: Partial<ExternalAgentUpdate>;
|
|
1907
1908
|
}) => Promise<ExternalAgentSelect | null>;
|
|
1908
1909
|
/**
|
|
@@ -1915,28 +1916,28 @@ declare const upsertExternalAgent: (db: DatabaseClient) => (params: {
|
|
|
1915
1916
|
* Delete an external agent
|
|
1916
1917
|
*/
|
|
1917
1918
|
declare const deleteExternalAgent: (db: DatabaseClient) => (params: {
|
|
1918
|
-
scopes:
|
|
1919
|
-
|
|
1919
|
+
scopes: ProjectScopeConfig;
|
|
1920
|
+
externalAgentId: string;
|
|
1920
1921
|
}) => Promise<boolean>;
|
|
1921
1922
|
/**
|
|
1922
1923
|
* Check if an external agent exists
|
|
1923
1924
|
*/
|
|
1924
1925
|
declare const externalAgentExists: (db: DatabaseClient) => (params: {
|
|
1925
|
-
scopes:
|
|
1926
|
-
|
|
1926
|
+
scopes: ProjectScopeConfig;
|
|
1927
|
+
externalAgentId: string;
|
|
1927
1928
|
}) => Promise<boolean>;
|
|
1928
1929
|
/**
|
|
1929
1930
|
* Check if an external agent exists by URL
|
|
1930
1931
|
*/
|
|
1931
1932
|
declare const externalAgentUrlExists: (db: DatabaseClient) => (params: {
|
|
1932
|
-
scopes:
|
|
1933
|
+
scopes: ProjectScopeConfig;
|
|
1933
1934
|
baseUrl: string;
|
|
1934
1935
|
}) => Promise<boolean>;
|
|
1935
1936
|
/**
|
|
1936
|
-
* Count external agents for a
|
|
1937
|
+
* Count external agents for a project
|
|
1937
1938
|
*/
|
|
1938
1939
|
declare const countExternalAgents: (db: DatabaseClient) => (params: {
|
|
1939
|
-
scopes:
|
|
1940
|
+
scopes: ProjectScopeConfig;
|
|
1940
1941
|
}) => Promise<number>;
|
|
1941
1942
|
|
|
1942
1943
|
/**
|
|
@@ -2511,8 +2512,8 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
|
|
|
2511
2512
|
scopes: ProjectScopeConfig;
|
|
2512
2513
|
}) => Promise<boolean>;
|
|
2513
2514
|
|
|
2514
|
-
declare const
|
|
2515
|
-
scopes:
|
|
2515
|
+
declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (params: {
|
|
2516
|
+
scopes: SubAgentScopeConfig;
|
|
2516
2517
|
relationId: string;
|
|
2517
2518
|
}) => Promise<{
|
|
2518
2519
|
tenantId: string;
|
|
@@ -2521,22 +2522,20 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
2521
2522
|
agentId: string;
|
|
2522
2523
|
createdAt: string;
|
|
2523
2524
|
updatedAt: string;
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
relationType: string | null;
|
|
2525
|
+
headers: Record<string, string> | null;
|
|
2526
|
+
externalAgentId: string;
|
|
2527
|
+
subAgentId: string;
|
|
2528
2528
|
} | undefined>;
|
|
2529
|
-
declare const
|
|
2530
|
-
scopes:
|
|
2529
|
+
declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
2530
|
+
scopes: SubAgentScopeConfig;
|
|
2531
2531
|
pagination?: PaginationConfig;
|
|
2532
2532
|
}) => Promise<{
|
|
2533
2533
|
data: {
|
|
2534
2534
|
createdAt: string;
|
|
2535
2535
|
updatedAt: string;
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
relationType: string | null;
|
|
2536
|
+
externalAgentId: string;
|
|
2537
|
+
headers: Record<string, string> | null;
|
|
2538
|
+
subAgentId: string;
|
|
2540
2539
|
agentId: string;
|
|
2541
2540
|
projectId: string;
|
|
2542
2541
|
tenantId: string;
|
|
@@ -2549,7 +2548,7 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
2549
2548
|
pages: number;
|
|
2550
2549
|
};
|
|
2551
2550
|
}>;
|
|
2552
|
-
declare const
|
|
2551
|
+
declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
2553
2552
|
scopes: SubAgentScopeConfig;
|
|
2554
2553
|
}) => Promise<{
|
|
2555
2554
|
tenantId: string;
|
|
@@ -2558,13 +2557,213 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
2558
2557
|
agentId: string;
|
|
2559
2558
|
createdAt: string;
|
|
2560
2559
|
updatedAt: string;
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
relationType: string | null;
|
|
2560
|
+
headers: Record<string, string> | null;
|
|
2561
|
+
externalAgentId: string;
|
|
2562
|
+
subAgentId: string;
|
|
2565
2563
|
}[]>;
|
|
2566
|
-
declare const
|
|
2564
|
+
declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
2567
2565
|
scopes: AgentScopeConfig;
|
|
2566
|
+
}) => Promise<{
|
|
2567
|
+
tenantId: string;
|
|
2568
|
+
projectId: string;
|
|
2569
|
+
id: string;
|
|
2570
|
+
agentId: string;
|
|
2571
|
+
createdAt: string;
|
|
2572
|
+
updatedAt: string;
|
|
2573
|
+
headers: Record<string, string> | null;
|
|
2574
|
+
externalAgentId: string;
|
|
2575
|
+
subAgentId: string;
|
|
2576
|
+
}[]>;
|
|
2577
|
+
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
|
|
2578
|
+
scopes: AgentScopeConfig;
|
|
2579
|
+
externalAgentId: string;
|
|
2580
|
+
pagination?: PaginationConfig;
|
|
2581
|
+
}) => Promise<{
|
|
2582
|
+
data: {
|
|
2583
|
+
createdAt: string;
|
|
2584
|
+
updatedAt: string;
|
|
2585
|
+
externalAgentId: string;
|
|
2586
|
+
headers: Record<string, string> | null;
|
|
2587
|
+
subAgentId: string;
|
|
2588
|
+
agentId: string;
|
|
2589
|
+
projectId: string;
|
|
2590
|
+
tenantId: string;
|
|
2591
|
+
id: string;
|
|
2592
|
+
}[];
|
|
2593
|
+
pagination: {
|
|
2594
|
+
page: number;
|
|
2595
|
+
limit: number;
|
|
2596
|
+
total: number;
|
|
2597
|
+
pages: number;
|
|
2598
|
+
};
|
|
2599
|
+
}>;
|
|
2600
|
+
declare const getExternalAgentsForSubAgent: (db: DatabaseClient) => (params: {
|
|
2601
|
+
scopes: SubAgentScopeConfig;
|
|
2602
|
+
pagination?: PaginationConfig;
|
|
2603
|
+
}) => Promise<{
|
|
2604
|
+
data: {
|
|
2605
|
+
id: string;
|
|
2606
|
+
tenantId: string;
|
|
2607
|
+
projectId: string;
|
|
2608
|
+
agentId: string;
|
|
2609
|
+
subAgentId: string;
|
|
2610
|
+
externalAgentId: string;
|
|
2611
|
+
headers: Record<string, string> | null;
|
|
2612
|
+
createdAt: string;
|
|
2613
|
+
updatedAt: string;
|
|
2614
|
+
externalAgent: {
|
|
2615
|
+
id: string;
|
|
2616
|
+
name: string;
|
|
2617
|
+
description: string;
|
|
2618
|
+
baseUrl: string;
|
|
2619
|
+
credentialReferenceId: string | null;
|
|
2620
|
+
tenantId: string;
|
|
2621
|
+
projectId: string;
|
|
2622
|
+
createdAt: string;
|
|
2623
|
+
updatedAt: string;
|
|
2624
|
+
};
|
|
2625
|
+
}[];
|
|
2626
|
+
pagination: {
|
|
2627
|
+
page: number;
|
|
2628
|
+
limit: number;
|
|
2629
|
+
total: number;
|
|
2630
|
+
pages: number;
|
|
2631
|
+
};
|
|
2632
|
+
}>;
|
|
2633
|
+
declare const getSubAgentsForExternalAgent: (db: DatabaseClient) => (params: {
|
|
2634
|
+
scopes: AgentScopeConfig;
|
|
2635
|
+
externalAgentId: string;
|
|
2636
|
+
pagination?: PaginationConfig;
|
|
2637
|
+
}) => Promise<{
|
|
2638
|
+
data: {
|
|
2639
|
+
id: string;
|
|
2640
|
+
tenantId: string;
|
|
2641
|
+
projectId: string;
|
|
2642
|
+
agentId: string;
|
|
2643
|
+
subAgentId: string;
|
|
2644
|
+
externalAgentId: string;
|
|
2645
|
+
headers: Record<string, string> | null;
|
|
2646
|
+
createdAt: string;
|
|
2647
|
+
updatedAt: string;
|
|
2648
|
+
subAgent: {
|
|
2649
|
+
id: string;
|
|
2650
|
+
name: string;
|
|
2651
|
+
description: string;
|
|
2652
|
+
prompt: string;
|
|
2653
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
2654
|
+
models: {
|
|
2655
|
+
base?: {
|
|
2656
|
+
model?: string | undefined;
|
|
2657
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2658
|
+
} | undefined;
|
|
2659
|
+
structuredOutput?: {
|
|
2660
|
+
model?: string | undefined;
|
|
2661
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2662
|
+
} | undefined;
|
|
2663
|
+
summarizer?: {
|
|
2664
|
+
model?: string | undefined;
|
|
2665
|
+
providerOptions?: Record<string, any> | undefined;
|
|
2666
|
+
} | undefined;
|
|
2667
|
+
} | null;
|
|
2668
|
+
stopWhen: {
|
|
2669
|
+
stepCountIs?: number | undefined;
|
|
2670
|
+
} | null;
|
|
2671
|
+
createdAt: string;
|
|
2672
|
+
updatedAt: string;
|
|
2673
|
+
};
|
|
2674
|
+
}[];
|
|
2675
|
+
pagination: {
|
|
2676
|
+
page: number;
|
|
2677
|
+
limit: number;
|
|
2678
|
+
total: number;
|
|
2679
|
+
pages: number;
|
|
2680
|
+
};
|
|
2681
|
+
}>;
|
|
2682
|
+
declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
2683
|
+
scopes: SubAgentScopeConfig;
|
|
2684
|
+
relationId?: string;
|
|
2685
|
+
data: {
|
|
2686
|
+
externalAgentId: string;
|
|
2687
|
+
headers?: Record<string, string> | null;
|
|
2688
|
+
};
|
|
2689
|
+
}) => Promise<{
|
|
2690
|
+
tenantId: string;
|
|
2691
|
+
projectId: string;
|
|
2692
|
+
id: string;
|
|
2693
|
+
agentId: string;
|
|
2694
|
+
createdAt: string;
|
|
2695
|
+
updatedAt: string;
|
|
2696
|
+
headers: Record<string, string> | null;
|
|
2697
|
+
externalAgentId: string;
|
|
2698
|
+
subAgentId: string;
|
|
2699
|
+
}>;
|
|
2700
|
+
/**
|
|
2701
|
+
* Check if sub-agent external agent relation exists by params
|
|
2702
|
+
*/
|
|
2703
|
+
declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
2704
|
+
scopes: SubAgentScopeConfig;
|
|
2705
|
+
externalAgentId: string;
|
|
2706
|
+
}) => Promise<{
|
|
2707
|
+
tenantId: string;
|
|
2708
|
+
projectId: string;
|
|
2709
|
+
id: string;
|
|
2710
|
+
agentId: string;
|
|
2711
|
+
createdAt: string;
|
|
2712
|
+
updatedAt: string;
|
|
2713
|
+
headers: Record<string, string> | null;
|
|
2714
|
+
externalAgentId: string;
|
|
2715
|
+
subAgentId: string;
|
|
2716
|
+
} | undefined>;
|
|
2717
|
+
/**
|
|
2718
|
+
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
2719
|
+
*/
|
|
2720
|
+
declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
2721
|
+
scopes: SubAgentScopeConfig;
|
|
2722
|
+
relationId?: string;
|
|
2723
|
+
data: {
|
|
2724
|
+
externalAgentId: string;
|
|
2725
|
+
headers?: Record<string, string> | null;
|
|
2726
|
+
};
|
|
2727
|
+
}) => Promise<{
|
|
2728
|
+
tenantId: string;
|
|
2729
|
+
projectId: string;
|
|
2730
|
+
id: string;
|
|
2731
|
+
agentId: string;
|
|
2732
|
+
createdAt: string;
|
|
2733
|
+
updatedAt: string;
|
|
2734
|
+
headers: Record<string, string> | null;
|
|
2735
|
+
externalAgentId: string;
|
|
2736
|
+
subAgentId: string;
|
|
2737
|
+
}>;
|
|
2738
|
+
declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
2739
|
+
scopes: SubAgentScopeConfig;
|
|
2740
|
+
relationId: string;
|
|
2741
|
+
data: Partial<SubAgentExternalAgentRelationInsert>;
|
|
2742
|
+
}) => Promise<{
|
|
2743
|
+
tenantId: string;
|
|
2744
|
+
projectId: string;
|
|
2745
|
+
id: string;
|
|
2746
|
+
agentId: string;
|
|
2747
|
+
createdAt: string;
|
|
2748
|
+
updatedAt: string;
|
|
2749
|
+
headers: Record<string, string> | null;
|
|
2750
|
+
externalAgentId: string;
|
|
2751
|
+
subAgentId: string;
|
|
2752
|
+
}>;
|
|
2753
|
+
declare const deleteSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
2754
|
+
scopes: SubAgentScopeConfig;
|
|
2755
|
+
relationId: string;
|
|
2756
|
+
}) => Promise<boolean>;
|
|
2757
|
+
declare const deleteSubAgentExternalAgentRelationsBySubAgent: (db: DatabaseClient) => (params: {
|
|
2758
|
+
scopes: SubAgentScopeConfig;
|
|
2759
|
+
}) => Promise<boolean>;
|
|
2760
|
+
declare const deleteSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
2761
|
+
scopes: AgentScopeConfig;
|
|
2762
|
+
}) => Promise<boolean>;
|
|
2763
|
+
|
|
2764
|
+
declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
2765
|
+
scopes: AgentScopeConfig;
|
|
2766
|
+
relationId: string;
|
|
2568
2767
|
}) => Promise<{
|
|
2569
2768
|
tenantId: string;
|
|
2570
2769
|
projectId: string;
|
|
@@ -2574,12 +2773,10 @@ declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
|
2574
2773
|
updatedAt: string;
|
|
2575
2774
|
sourceSubAgentId: string;
|
|
2576
2775
|
targetSubAgentId: string | null;
|
|
2577
|
-
externalSubAgentId: string | null;
|
|
2578
2776
|
relationType: string | null;
|
|
2579
|
-
}
|
|
2580
|
-
declare const
|
|
2777
|
+
} | undefined>;
|
|
2778
|
+
declare const listAgentRelations: (db: DatabaseClient) => (params: {
|
|
2581
2779
|
scopes: AgentScopeConfig;
|
|
2582
|
-
sourceSubAgentId: string;
|
|
2583
2780
|
pagination?: PaginationConfig;
|
|
2584
2781
|
}) => Promise<{
|
|
2585
2782
|
data: {
|
|
@@ -2587,7 +2784,6 @@ declare const getAgentRelationsBySource: (db: DatabaseClient) => (params: {
|
|
|
2587
2784
|
updatedAt: string;
|
|
2588
2785
|
sourceSubAgentId: string;
|
|
2589
2786
|
targetSubAgentId: string | null;
|
|
2590
|
-
externalSubAgentId: string | null;
|
|
2591
2787
|
relationType: string | null;
|
|
2592
2788
|
agentId: string;
|
|
2593
2789
|
projectId: string;
|
|
@@ -2601,9 +2797,35 @@ declare const getAgentRelationsBySource: (db: DatabaseClient) => (params: {
|
|
|
2601
2797
|
pages: number;
|
|
2602
2798
|
};
|
|
2603
2799
|
}>;
|
|
2604
|
-
declare const
|
|
2800
|
+
declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
2801
|
+
scopes: SubAgentScopeConfig;
|
|
2802
|
+
}) => Promise<{
|
|
2803
|
+
tenantId: string;
|
|
2804
|
+
projectId: string;
|
|
2805
|
+
id: string;
|
|
2806
|
+
agentId: string;
|
|
2807
|
+
createdAt: string;
|
|
2808
|
+
updatedAt: string;
|
|
2809
|
+
sourceSubAgentId: string;
|
|
2810
|
+
targetSubAgentId: string | null;
|
|
2811
|
+
relationType: string | null;
|
|
2812
|
+
}[]>;
|
|
2813
|
+
declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
2605
2814
|
scopes: AgentScopeConfig;
|
|
2606
|
-
|
|
2815
|
+
}) => Promise<{
|
|
2816
|
+
tenantId: string;
|
|
2817
|
+
projectId: string;
|
|
2818
|
+
id: string;
|
|
2819
|
+
agentId: string;
|
|
2820
|
+
createdAt: string;
|
|
2821
|
+
updatedAt: string;
|
|
2822
|
+
sourceSubAgentId: string;
|
|
2823
|
+
targetSubAgentId: string | null;
|
|
2824
|
+
relationType: string | null;
|
|
2825
|
+
}[]>;
|
|
2826
|
+
declare const getAgentRelationsBySource: (db: DatabaseClient) => (params: {
|
|
2827
|
+
scopes: AgentScopeConfig;
|
|
2828
|
+
sourceSubAgentId: string;
|
|
2607
2829
|
pagination?: PaginationConfig;
|
|
2608
2830
|
}) => Promise<{
|
|
2609
2831
|
data: {
|
|
@@ -2611,7 +2833,6 @@ declare const getSubAgentRelationsByTarget: (db: DatabaseClient) => (params: {
|
|
|
2611
2833
|
updatedAt: string;
|
|
2612
2834
|
sourceSubAgentId: string;
|
|
2613
2835
|
targetSubAgentId: string | null;
|
|
2614
|
-
externalSubAgentId: string | null;
|
|
2615
2836
|
relationType: string | null;
|
|
2616
2837
|
agentId: string;
|
|
2617
2838
|
projectId: string;
|
|
@@ -2625,9 +2846,9 @@ declare const getSubAgentRelationsByTarget: (db: DatabaseClient) => (params: {
|
|
|
2625
2846
|
pages: number;
|
|
2626
2847
|
};
|
|
2627
2848
|
}>;
|
|
2628
|
-
declare const
|
|
2849
|
+
declare const getSubAgentRelationsByTarget: (db: DatabaseClient) => (params: {
|
|
2629
2850
|
scopes: AgentScopeConfig;
|
|
2630
|
-
|
|
2851
|
+
targetSubAgentId: string;
|
|
2631
2852
|
pagination?: PaginationConfig;
|
|
2632
2853
|
}) => Promise<{
|
|
2633
2854
|
data: {
|
|
@@ -2635,7 +2856,6 @@ declare const getExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
2635
2856
|
updatedAt: string;
|
|
2636
2857
|
sourceSubAgentId: string;
|
|
2637
2858
|
targetSubAgentId: string | null;
|
|
2638
|
-
externalSubAgentId: string | null;
|
|
2639
2859
|
relationType: string | null;
|
|
2640
2860
|
agentId: string;
|
|
2641
2861
|
projectId: string;
|
|
@@ -2653,22 +2873,12 @@ declare const getRelatedAgentsForAgent: (db: DatabaseClient) => (params: {
|
|
|
2653
2873
|
scopes: AgentScopeConfig;
|
|
2654
2874
|
subAgentId: string;
|
|
2655
2875
|
}) => Promise<{
|
|
2656
|
-
|
|
2876
|
+
data: {
|
|
2657
2877
|
id: string;
|
|
2658
2878
|
name: string;
|
|
2659
2879
|
description: string;
|
|
2660
2880
|
relationType: string | null;
|
|
2661
2881
|
}[];
|
|
2662
|
-
externalRelations: {
|
|
2663
|
-
id: string;
|
|
2664
|
-
relationType: string | null;
|
|
2665
|
-
externalAgent: {
|
|
2666
|
-
id: string;
|
|
2667
|
-
name: string;
|
|
2668
|
-
description: string;
|
|
2669
|
-
baseUrl: string;
|
|
2670
|
-
};
|
|
2671
|
-
}[];
|
|
2672
2882
|
}>;
|
|
2673
2883
|
declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
2674
2884
|
tenantId: string;
|
|
@@ -2679,7 +2889,6 @@ declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentR
|
|
|
2679
2889
|
updatedAt: string;
|
|
2680
2890
|
sourceSubAgentId: string;
|
|
2681
2891
|
targetSubAgentId: string | null;
|
|
2682
|
-
externalSubAgentId: string | null;
|
|
2683
2892
|
relationType: string | null;
|
|
2684
2893
|
}>;
|
|
2685
2894
|
/**
|
|
@@ -2689,7 +2898,6 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
2689
2898
|
scopes: AgentScopeConfig;
|
|
2690
2899
|
sourceSubAgentId: string;
|
|
2691
2900
|
targetSubAgentId?: string;
|
|
2692
|
-
externalSubAgentId?: string;
|
|
2693
2901
|
relationType: string;
|
|
2694
2902
|
}) => Promise<{
|
|
2695
2903
|
tenantId: string;
|
|
@@ -2700,7 +2908,6 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
2700
2908
|
updatedAt: string;
|
|
2701
2909
|
sourceSubAgentId: string;
|
|
2702
2910
|
targetSubAgentId: string | null;
|
|
2703
|
-
externalSubAgentId: string | null;
|
|
2704
2911
|
relationType: string | null;
|
|
2705
2912
|
} | undefined>;
|
|
2706
2913
|
/**
|
|
@@ -2715,19 +2922,6 @@ declare const upsertSubAgentRelation: (db: DatabaseClient) => (params: SubAgentR
|
|
|
2715
2922
|
updatedAt: string;
|
|
2716
2923
|
sourceSubAgentId: string;
|
|
2717
2924
|
targetSubAgentId: string | null;
|
|
2718
|
-
externalSubAgentId: string | null;
|
|
2719
|
-
relationType: string | null;
|
|
2720
|
-
}>;
|
|
2721
|
-
declare const createExternalAgentRelation: (db: DatabaseClient) => (params: ExternalSubAgentRelationInsert) => Promise<{
|
|
2722
|
-
tenantId: string;
|
|
2723
|
-
projectId: string;
|
|
2724
|
-
id: string;
|
|
2725
|
-
agentId: string;
|
|
2726
|
-
createdAt: string;
|
|
2727
|
-
updatedAt: string;
|
|
2728
|
-
sourceSubAgentId: string;
|
|
2729
|
-
targetSubAgentId: string | null;
|
|
2730
|
-
externalSubAgentId: string | null;
|
|
2731
2925
|
relationType: string | null;
|
|
2732
2926
|
}>;
|
|
2733
2927
|
declare const updateAgentRelation: (db: DatabaseClient) => (params: {
|
|
@@ -2743,7 +2937,6 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
|
|
|
2743
2937
|
updatedAt: string;
|
|
2744
2938
|
sourceSubAgentId: string;
|
|
2745
2939
|
targetSubAgentId: string | null;
|
|
2746
|
-
externalSubAgentId: string | null;
|
|
2747
2940
|
relationType: string | null;
|
|
2748
2941
|
}>;
|
|
2749
2942
|
declare const deleteSubAgentRelation: (db: DatabaseClient) => (params: {
|
|
@@ -2969,10 +3162,7 @@ declare const getAgentsForTool: (db: DatabaseClient) => (params: {
|
|
|
2969
3162
|
pages: number;
|
|
2970
3163
|
};
|
|
2971
3164
|
}>;
|
|
2972
|
-
declare const
|
|
2973
|
-
scopes: SubAgentScopeConfig;
|
|
2974
|
-
}) => Promise<boolean>;
|
|
2975
|
-
declare const validateExternalAgent: (db: DatabaseClient) => (params: {
|
|
3165
|
+
declare const validateSubAgent: (db: DatabaseClient) => (params: {
|
|
2976
3166
|
scopes: SubAgentScopeConfig;
|
|
2977
3167
|
}) => Promise<boolean>;
|
|
2978
3168
|
|
|
@@ -4058,4 +4248,4 @@ declare function setSpanWithError(span: Span, error: Error, logger?: {
|
|
|
4058
4248
|
*/
|
|
4059
4249
|
declare function getTracer(serviceName: string, serviceVersion?: string): Tracer;
|
|
4060
4250
|
|
|
4061
|
-
export { AgentInsert, type AgentLogger, AgentScopeConfig, AgentSelect, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, type CommonCreateErrorResponses, type CommonDeleteErrorResponses, type CommonGetErrorResponses, type CommonUpdateErrorResponses, ContextCache, ContextCacheInsert, ContextCacheSelect, ContextConfigBuilder, type ContextConfigBuilderOptions, ContextConfigInsert, ContextConfigSelect, ContextConfigUpdate, ContextFetchDefinition, ContextFetcher, type ContextResolutionOptions, type ContextResolutionResult, ContextResolver, type ContextResolverInterface, type ContextValidationError, type ContextValidationResult, ConversationHistoryConfig, ConversationInsert, ConversationMetadata, ConversationSelect, ConversationUpdate, CreateApiKeyParams, type CredentialContext, type CredentialData, CredentialReferenceApiInsert, CredentialReferenceInsert, CredentialReferenceSelect, CredentialReferenceUpdate, type
|
|
4251
|
+
export { AgentInsert, type AgentLogger, AgentScopeConfig, AgentSelect, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, type CommonCreateErrorResponses, type CommonDeleteErrorResponses, type CommonGetErrorResponses, type CommonUpdateErrorResponses, ContextCache, ContextCacheInsert, ContextCacheSelect, ContextConfigBuilder, type ContextConfigBuilderOptions, ContextConfigInsert, ContextConfigSelect, ContextConfigUpdate, ContextFetchDefinition, ContextFetcher, type ContextResolutionOptions, type ContextResolutionResult, ContextResolver, type ContextResolverInterface, type ContextValidationError, type ContextValidationResult, ConversationHistoryConfig, ConversationInsert, ConversationMetadata, ConversationSelect, ConversationUpdate, CreateApiKeyParams, type CredentialContext, type CredentialData, CredentialReferenceApiInsert, CredentialReferenceInsert, CredentialReferenceSelect, CredentialReferenceUpdate, type CredentialReferenceWithResources, type CredentialResolverInput, CredentialStore, type CredentialStoreReference, CredentialStoreRegistry, CredentialStoreType, CredentialStuffer, DataComponentInsert, DataComponentSelect, DataComponentUpdate, type DatabaseClient, type DatabaseConfig, type DotPaths, ERROR_DOCS_BASE_URL, ErrorCode, type ErrorCodes, type ErrorResponse, ExecutionContext, ExternalAgentInsert, ExternalAgentSelect, ExternalAgentUpdate, type FetchResult, FullAgentDefinition, FullProjectDefinition, FunctionApiInsert, FunctionToolApiInsert, FunctionToolApiUpdate, HTTP_REQUEST_PARTS, type HttpRequestPart, InMemoryCredentialStore, KeyChainStore, LedgerArtifactSelect, MCPToolConfig, MCPTransportType, McpClient, type McpClientOptions, type McpSSEConfig, type McpServerConfig, type McpStreamableHttpConfig, McpTool, MessageContent, MessageInsert, MessageMetadata, MessageUpdate, MessageVisibility, NangoCredentialStore, PaginationConfig, PaginationResult, type ParsedHttpRequest, PinoLogger, type ProblemDetails, ProjectInfo, ProjectInsert, type ProjectLogger, ProjectResourceCounts, ProjectScopeConfig, ProjectSelect, ProjectUpdate, type ResolvedContext, SubAgentExternalAgentRelationInsert, SubAgentInsert, SubAgentRelationInsert, SubAgentRelationUpdate, SubAgentScopeConfig, SubAgentSelect, SubAgentToolRelationUpdate, SubAgentUpdate, TaskInsert, TaskMetadataConfig, TaskSelect, type TemplateContext, TemplateEngine, type TemplateRenderOptions, ToolInsert, ToolMcpConfig, ToolSelect, ToolServerCapabilities, ToolUpdate, addFunctionToolToSubAgent, addLedgerArtifacts, addToolToAgent, agentHasArtifactComponents, apiFetch, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, contextConfig, contextValidationMiddleware, countApiKeys, countArtifactComponents, countArtifactComponentsForAgent, countContextConfigs, countCredentialReferences, countDataComponents, countExternalAgents, countLedgerArtifactsByTask, countMessagesByConversation, countProjects, createAgent, createAgentToolRelation, createApiError, createApiKey, createArtifactComponent, createContextConfig, createConversation, createCredentialReference, createDataComponent, createDatabaseClient, createDefaultCredentialStores, createExecutionContext, createExternalAgent, createFullAgentServerSide, createFullProjectServerSide, createFunctionTool, createInMemoryDatabaseClient, createKeyChainStore, createMessage, createNangoCredentialStore, createOrGetConversation, createProject, createSubAgent, createSubAgentExternalAgentRelation, createSubAgentRelation, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentRelationsByAgent, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullAgent, deleteFullProject, deleteFunction, deleteFunctionTool, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteSubAgent, deleteSubAgentExternalAgentRelation, deleteSubAgentExternalAgentRelationsByAgent, deleteSubAgentExternalAgentRelationsBySubAgent, deleteSubAgentRelation, deleteTool, determineContextTrigger, errorResponseSchema, errorSchemaFactory, externalAgentExists, externalAgentUrlExists, extractPublicId, fetchComponentRelationships, fetchDefinition, generateAndCreateApiKey, generateApiKey, generateId, getActiveAgentForConversation, getAgentById, getAgentRelationById, getAgentRelationByParams, getAgentRelations, getAgentRelationsByAgent, getAgentRelationsBySource, getAgentSubAgentInfos, getAgentToolRelationByAgent, getAgentToolRelationById, getAgentToolRelationByTool, getAgentWithDefaultSubAgent, getAgentsForTool, getAgentsUsingArtifactComponent, getAgentsUsingDataComponent, getApiKeyById, getApiKeyByPublicId, getArtifactComponentById, getArtifactComponentsForAgent, getCacheEntry, getCachedValidator, getContextConfigById, getContextConfigCacheEntries, getConversation, getConversationCacheEntries, getConversationHistory, getConversationId, getCredentialReference, getCredentialReferenceById, getCredentialReferenceWithResources, getCredentialStoreLookupKeyFromRetrievalParams, getDataComponent, getDataComponentsForAgent, getExternalAgent, getExternalAgentByUrl, getExternalAgentsForSubAgent, getFullAgent, getFullAgentDefinition, getFullProject, getFunction, getFunctionToolById, getFunctionToolsForSubAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getLogger, getMessageById, getMessagesByConversation, getMessagesByTask, getProject, getProjectResourceCounts, getRelatedAgentsForAgent, getRequestExecutionContext, getSubAgentById, getSubAgentExternalAgentRelationById, getSubAgentExternalAgentRelationByParams, getSubAgentExternalAgentRelations, getSubAgentExternalAgentRelationsByAgent, getSubAgentExternalAgentRelationsByExternalAgent, getSubAgentRelationsByTarget, getSubAgentsByIds, getSubAgentsForExternalAgent, getTask, getToolById, getToolsForAgent, getTracer, getVisibleMessages, handleApiError, handleContextConfigChange, handleContextResolution, hasApiKey, hasContextConfig, hasCredentialReference, hashApiKey, headers, invalidateHeadersCache, invalidateInvocationDefinitionsCache, isApiKeyExpired, isArtifactComponentAssociatedWithAgent, isDataComponentAssociatedWithAgent, isValidHttpRequest, listAgentRelations, listAgentToolRelations, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listFunctionTools, listFunctions, listMessages, listProjects, listProjectsPaginated, listSubAgentExternalAgentRelations, listSubAgents, listSubAgentsPaginated, listTaskIdsByContextId, listTools, loadEnvironmentFiles, maskApiKey, problemDetailsSchema, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, setSpanWithError, updateAgent, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullAgentServerSide, updateFullProjectServerSide, updateFunctionTool, updateMessage, updateProject, updateSubAgent, updateSubAgentExternalAgentRelation, updateSubAgentFunctionToolRelation, updateTask, updateTool, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertFunction, upsertFunctionTool, upsertLedgerArtifact, upsertSubAgent, upsertSubAgentExternalAgentRelation, upsertSubAgentFunctionToolRelation, upsertSubAgentRelation, upsertSubAgentToolRelation, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateHeaders, validateHttpRequestHeaders, validateProjectExists, validateSubAgent, validationHelper, withProjectValidation };
|