@inkeep/agents-core 0.33.1 → 0.33.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.
- package/dist/{chunk-HS7ZTPLJ.js → chunk-62UIQW4L.js} +1 -1
- package/dist/{chunk-JFSIBQHO.js → chunk-6MC5N2NE.js} +1 -1
- package/dist/{chunk-VSQY72K5.js → chunk-S75NGJ6E.js} +7 -3
- package/dist/client-exports.cjs +7 -3
- package/dist/client-exports.d.cts +5 -5
- package/dist/client-exports.d.ts +5 -5
- package/dist/client-exports.js +2 -2
- package/dist/db/schema.cjs +7 -3
- 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 +25 -20
- package/dist/index.d.cts +270 -270
- package/dist/index.d.ts +270 -270
- package/dist/index.js +25 -24
- package/dist/{schema-BceDktlR.d.ts → schema-DYCQuSqA.d.ts} +3 -3
- package/dist/{schema-aKVr9nIb.d.cts → schema-dODUpZEu.d.cts} +3 -3
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-aMKDDNv4.d.cts → utility-B73oHEd8.d.cts} +247 -245
- package/dist/{utility-aMKDDNv4.d.ts → utility-B73oHEd8.d.ts} +247 -245
- package/dist/validation/index.cjs +7 -3
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,14 +2,14 @@ export { ANTHROPIC_MODELS, AnthropicModel, GOOGLE_MODELS, GoogleModel, ModelName
|
|
|
2
2
|
import { r as PinoLogger, s as getLogger } from './auth-detection-CGqhPDnj.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-CGqhPDnj.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 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, p as MessageContent, q as MessageMetadata, 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 } from './utility-
|
|
6
|
-
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, e2 as AgentApiInsertSchema, bU as AgentApiSelect, e1 as AgentApiSelectSchema, bW as AgentApiUpdate, e3 as AgentApiUpdateSchema, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, d$ as AgentInsertSchema, gM as AgentListResponse, aI as AgentProvider, gw as AgentResponse, d_ as AgentSelectSchema, aJ as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e0 as AgentUpdateSchema, h3 as AgentWithinContextOfProjectResponse, gg as AgentWithinContextOfProjectSchema, f6 as AllAgentSchema, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, fb as ApiKeyApiCreationResponseSchema, cR as ApiKeyApiInsert, fc as ApiKeyApiInsertSchema, cQ as ApiKeyApiSelect, fa as ApiKeyApiSelectSchema, cS as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, f8 as ApiKeyInsertSchema, gQ as ApiKeyListResponse, gA as ApiKeyResponse, f7 as ApiKeySelectSchema, f9 as ApiKeyUpdateSchema, cE as ArtifactComponentApiInsert, eU as ArtifactComponentApiInsertSchema, cD as ArtifactComponentApiSelect, eT as ArtifactComponentApiSelectSchema, cF as ArtifactComponentApiUpdate, eV as ArtifactComponentApiUpdateSchema, hd as ArtifactComponentArrayResponse, eR as ArtifactComponentInsertSchema, gV as ArtifactComponentListResponse, gF as ArtifactComponentResponse, eQ as ArtifactComponentSelectSchema, eS as ArtifactComponentUpdateSchema, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, gc as CanUseItemSchema, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, h5 as ComponentAssociationListResponse, fo as ComponentAssociationSchema, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, eB as ContextCacheApiInsertSchema, cr as ContextCacheApiSelect, eA as ContextCacheApiSelectSchema, ct as ContextCacheApiUpdate, eC as ContextCacheApiUpdateSchema, dy as ContextCacheEntry, ey as ContextCacheInsertSchema, ex as ContextCacheSelectSchema, cq as ContextCacheUpdate, ez as ContextCacheUpdateSchema, cm as ContextConfigApiInsert, fM as ContextConfigApiInsertSchema, cl as ContextConfigApiSelect, fL as ContextConfigApiSelectSchema, cn as ContextConfigApiUpdate, fN as ContextConfigApiUpdateSchema, fJ as ContextConfigInsertSchema, gP as ContextConfigListResponse, gz as ContextConfigResponse, fI as ContextConfigSelectSchema, fK as ContextConfigUpdateSchema, cf as ConversationApiInsert, ep as ConversationApiInsertSchema, ce as ConversationApiSelect, eo as ConversationApiSelectSchema, cg as ConversationApiUpdate, eq as ConversationApiUpdateSchema, em as ConversationInsertSchema, gY as ConversationListResponse, gI as ConversationResponse, dw as ConversationScopeOptions, el as ConversationSelectSchema, en as ConversationUpdateSchema, fl as CreateCredentialInStoreRequestSchema, fm as CreateCredentialInStoreResponseSchema, fh as CredentialReferenceApiInsertSchema, cU as CredentialReferenceApiSelect, fg as CredentialReferenceApiSelectSchema, cV as CredentialReferenceApiUpdate, fi as CredentialReferenceApiUpdateSchema, fe as CredentialReferenceInsertSchema, gR as CredentialReferenceListResponse, gB as CredentialReferenceResponse, fd as CredentialReferenceSelectSchema, ff as CredentialReferenceUpdateSchema, fk as CredentialStoreListResponseSchema, fj as CredentialStoreSchema, cv as DataComponentApiInsert, eI as DataComponentApiInsertSchema, cu as DataComponentApiSelect, eH as DataComponentApiSelectSchema, cw as DataComponentApiUpdate, eJ as DataComponentApiUpdateSchema, hc as DataComponentArrayResponse, eF as DataComponentBaseSchema, eE as DataComponentInsertSchema, gU as DataComponentListResponse, gE as DataComponentResponse, eD as DataComponentSelectSchema, eG as DataComponentUpdateSchema, aF as DataPart, gk as ErrorResponseSchema, gl as ExistsResponseSchema, cN as ExternalAgentApiInsert, f4 as ExternalAgentApiInsertSchema, cM as ExternalAgentApiSelect, f3 as ExternalAgentApiSelectSchema, cO as ExternalAgentApiUpdate, f5 as ExternalAgentApiUpdateSchema, f1 as ExternalAgentInsertSchema, gO as ExternalAgentListResponse, gy as ExternalAgentResponse, f0 as ExternalAgentSelectSchema, f2 as ExternalAgentUpdateSchema, bT as ExternalSubAgentRelationApiInsert, dZ as ExternalSubAgentRelationApiInsertSchema, bS as ExternalSubAgentRelationInsert, dY as ExternalSubAgentRelationInsertSchema, cp as FetchConfig, fG as FetchConfigSchema, co as FetchDefinition, fH as FetchDefinitionSchema, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, h2 as FullProjectDefinitionResponse, gt as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cb as FunctionApiSelect, j as FunctionApiSelectSchema, cc as FunctionApiUpdate, k as FunctionApiUpdateSchema, c9 as FunctionInsert, fE as FunctionInsertSchema, gS as FunctionListResponse, gC as FunctionResponse, c8 as FunctionSelect, fD as FunctionSelectSchema, fB as FunctionToolApiInsertSchema, cd as FunctionToolApiSelect, fA as FunctionToolApiSelectSchema, fC as FunctionToolApiUpdateSchema, dK as FunctionToolConfig, dJ as FunctionToolConfigSchema, fy as FunctionToolInsertSchema, gT as FunctionToolListResponse, gD as FunctionToolResponse, fx as FunctionToolSelectSchema, fz as FunctionToolUpdateSchema, ca as FunctionUpdate, fF as FunctionUpdateSchema, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, he as HeadersScopeSchema, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, g8 as LedgerArtifactApiInsertSchema, db as LedgerArtifactApiSelect, g7 as LedgerArtifactApiSelectSchema, dd as LedgerArtifactApiUpdate, g9 as LedgerArtifactApiUpdateSchema, d9 as LedgerArtifactInsert, g5 as LedgerArtifactInsertSchema, g4 as LedgerArtifactSelectSchema, da as LedgerArtifactUpdate, g6 as LedgerArtifactUpdateSchema, gi as ListResponseSchema, dG as MCPServerType, fs as MCPToolConfigSchema, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, dD as McpToolDefinition, ei as McpToolDefinitionSchema, h7 as McpToolListResponse, h6 as McpToolResponse, fr as McpToolSchema, dB as McpTransportConfig, eg as McpTransportConfigSchema, aW as Message, cj as MessageApiInsert, ev as MessageApiInsertSchema, ci as MessageApiSelect, eu as MessageApiSelectSchema, ck as MessageApiUpdate, ew as MessageApiUpdateSchema, es as MessageInsertSchema, gZ as MessageListResponse, dr as MessageMode, bI as MessagePart, gJ as MessageResponse, dq as MessageRole, ch as MessageSelect, er as MessageSelectSchema, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, et as MessageUpdateSchema, b1 as MethodNotFoundError, dH as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ds as Models, aS as OAuth2SecurityScheme, fq as OAuthCallbackQuerySchema, aN as OAuthFlows, fp as OAuthLoginQuerySchema, aT as OpenIdConnectSecurityScheme, dm as Pagination, hn as PaginationQueryParamsSchema, gh as PaginationSchema, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, gr as ProjectApiInsertSchema, dj as ProjectApiSelect, gq as ProjectApiSelectSchema, dl as ProjectApiUpdate, gs as ProjectApiUpdateSchema, go as ProjectInsertSchema, gK as ProjectListResponse, dI as ProjectModelSchema, dt as ProjectModels, gu as ProjectResponse, gn as ProjectSelectSchema, gp as ProjectUpdateSchema, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, h4 as RelatedAgentInfoListResponse, fn as RelatedAgentInfoSchema, gm as RemovedResponseSchema, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, gj as SingleResponseSchema, dv as StatusComponent, ga as StatusComponentSchema, gb as StatusUpdateSchema, du as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bL as SubAgentApiInsert, dP as SubAgentApiInsertSchema, bK as SubAgentApiSelect, dO as SubAgentApiSelectSchema, bM as SubAgentApiUpdate, dQ as SubAgentApiUpdateSchema, cK as SubAgentArtifactComponentApiInsert, e_ as SubAgentArtifactComponentApiInsertSchema, cJ as SubAgentArtifactComponentApiSelect, eZ as SubAgentArtifactComponentApiSelectSchema, cL as SubAgentArtifactComponentApiUpdate, e$ as SubAgentArtifactComponentApiUpdateSchema, cH as SubAgentArtifactComponentInsert, eX as SubAgentArtifactComponentInsertSchema, h1 as SubAgentArtifactComponentListResponse, g$ as SubAgentArtifactComponentResponse, cG as SubAgentArtifactComponentSelect, eW as SubAgentArtifactComponentSelectSchema, cI as SubAgentArtifactComponentUpdate, eY as SubAgentArtifactComponentUpdateSchema, cB as SubAgentDataComponentApiInsert, eO as SubAgentDataComponentApiInsertSchema, cA as SubAgentDataComponentApiSelect, eN as SubAgentDataComponentApiSelectSchema, cC as SubAgentDataComponentApiUpdate, eP as SubAgentDataComponentApiUpdateSchema, cy as SubAgentDataComponentInsert, eL as SubAgentDataComponentInsertSchema, h0 as SubAgentDataComponentListResponse, g_ as SubAgentDataComponentResponse, cx as SubAgentDataComponentSelect, eK as SubAgentDataComponentSelectSchema, cz as SubAgentDataComponentUpdate, eM as SubAgentDataComponentUpdateSchema, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, fY as SubAgentExternalAgentRelationApiInsertSchema, d1 as SubAgentExternalAgentRelationApiSelect, fX as SubAgentExternalAgentRelationApiSelectSchema, d3 as SubAgentExternalAgentRelationApiUpdate, fZ as SubAgentExternalAgentRelationApiUpdateSchema, fV as SubAgentExternalAgentRelationInsertSchema, hb as SubAgentExternalAgentRelationListResponse, ha as SubAgentExternalAgentRelationResponse, c$ as SubAgentExternalAgentRelationSelect, fU as SubAgentExternalAgentRelationSelectSchema, d0 as SubAgentExternalAgentRelationUpdate, fW as SubAgentExternalAgentRelationUpdateSchema, dM as SubAgentInsertSchema, gL as SubAgentListResponse, bP as SubAgentRelationApiInsert, dV as SubAgentRelationApiInsertSchema, bO as SubAgentRelationApiSelect, dU as SubAgentRelationApiSelectSchema, bQ as SubAgentRelationApiUpdate, dW as SubAgentRelationApiUpdateSchema, dS as SubAgentRelationInsertSchema, gW as SubAgentRelationListResponse, bR as SubAgentRelationQuery, dX as SubAgentRelationQuerySchema, gG as SubAgentRelationResponse, bN as SubAgentRelationSelect, dR as SubAgentRelationSelectSchema, dT as SubAgentRelationUpdateSchema, gv as SubAgentResponse, dL as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d7 as SubAgentTeamAgentRelationApiInsert, g2 as SubAgentTeamAgentRelationApiInsertSchema, d6 as SubAgentTeamAgentRelationApiSelect, g1 as SubAgentTeamAgentRelationApiSelectSchema, d8 as SubAgentTeamAgentRelationApiUpdate, g3 as SubAgentTeamAgentRelationApiUpdateSchema, f$ as SubAgentTeamAgentRelationInsertSchema, h9 as SubAgentTeamAgentRelationListResponse, h8 as SubAgentTeamAgentRelationResponse, d4 as SubAgentTeamAgentRelationSelect, f_ as SubAgentTeamAgentRelationSelectSchema, d5 as SubAgentTeamAgentRelationUpdate, g0 as SubAgentTeamAgentRelationUpdateSchema, cZ as SubAgentToolRelationApiInsert, fS as SubAgentToolRelationApiInsertSchema, cY as SubAgentToolRelationApiSelect, fR as SubAgentToolRelationApiSelectSchema, c_ as SubAgentToolRelationApiUpdate, fT as SubAgentToolRelationApiUpdateSchema, cX as SubAgentToolRelationInsert, fP as SubAgentToolRelationInsertSchema, gX as SubAgentToolRelationListResponse, gH as SubAgentToolRelationResponse, cW as SubAgentToolRelationSelect, fO as SubAgentToolRelationSelectSchema, fQ as SubAgentToolRelationUpdateSchema, dN as SubAgentUpdateSchema, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, e8 as TaskApiInsertSchema, bY as TaskApiSelect, e7 as TaskApiSelectSchema, b_ as TaskApiUpdate, e9 as TaskApiUpdateSchema, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, e5 as TaskInsertSchema, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, ee as TaskRelationApiInsertSchema, c2 as TaskRelationApiSelect, ed as TaskRelationApiSelectSchema, c4 as TaskRelationApiUpdate, ef as TaskRelationApiUpdateSchema, c0 as TaskRelationInsert, eb as TaskRelationInsertSchema, b$ as TaskRelationSelect, ea as TaskRelationSelectSchema, c1 as TaskRelationUpdate, ec as TaskRelationUpdateSchema, bt as TaskResubscriptionRequest, e4 as TaskSelectSchema, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, e6 as TaskUpdateSchema, gf as TeamAgentSchema, hg as TenantIdParamsSchema, hf as TenantParamsSchema, hk as TenantProjectAgentIdParamsSchema, hj as TenantProjectAgentParamsSchema, hm as TenantProjectAgentSubAgentIdParamsSchema, hl as TenantProjectAgentSubAgentParamsSchema, hi as TenantProjectIdParamsSchema, hh as TenantProjectParamsSchema, aA as TextPart, c6 as ToolApiInsert, fv as ToolApiInsertSchema, c5 as ToolApiSelect, fu as ToolApiSelectSchema, c7 as ToolApiUpdate, fw as ToolApiUpdateSchema, di as ToolDefinition, ek as ToolInsertSchema, gN as ToolListResponse, gx as ToolResponse, ej as ToolSelectSchema, eh as ToolStatusSchema, ft as ToolUpdateSchema, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES, gd as canDelegateToExternalAgentSchema, ge as canDelegateToTeamAgentSchema } from './utility-aMKDDNv4.cjs';
|
|
5
|
+
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, p as MessageContent, q as MessageMetadata, 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 } from './utility-B73oHEd8.cjs';
|
|
6
|
+
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, e2 as AgentApiInsertSchema, bU as AgentApiSelect, e1 as AgentApiSelectSchema, bW as AgentApiUpdate, e3 as AgentApiUpdateSchema, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, d$ as AgentInsertSchema, gM as AgentListResponse, aI as AgentProvider, gw as AgentResponse, d_ as AgentSelectSchema, aJ as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e0 as AgentUpdateSchema, h3 as AgentWithinContextOfProjectResponse, gg as AgentWithinContextOfProjectSchema, f6 as AllAgentSchema, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, fb as ApiKeyApiCreationResponseSchema, cR as ApiKeyApiInsert, fc as ApiKeyApiInsertSchema, cQ as ApiKeyApiSelect, fa as ApiKeyApiSelectSchema, cS as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, f8 as ApiKeyInsertSchema, gQ as ApiKeyListResponse, gA as ApiKeyResponse, f7 as ApiKeySelectSchema, f9 as ApiKeyUpdateSchema, cE as ArtifactComponentApiInsert, eU as ArtifactComponentApiInsertSchema, cD as ArtifactComponentApiSelect, eT as ArtifactComponentApiSelectSchema, cF as ArtifactComponentApiUpdate, eV as ArtifactComponentApiUpdateSchema, hd as ArtifactComponentArrayResponse, eR as ArtifactComponentInsertSchema, gV as ArtifactComponentListResponse, gF as ArtifactComponentResponse, eQ as ArtifactComponentSelectSchema, eS as ArtifactComponentUpdateSchema, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, gc as CanUseItemSchema, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, h5 as ComponentAssociationListResponse, fo as ComponentAssociationSchema, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, eB as ContextCacheApiInsertSchema, cr as ContextCacheApiSelect, eA as ContextCacheApiSelectSchema, ct as ContextCacheApiUpdate, eC as ContextCacheApiUpdateSchema, dy as ContextCacheEntry, ey as ContextCacheInsertSchema, ex as ContextCacheSelectSchema, cq as ContextCacheUpdate, ez as ContextCacheUpdateSchema, cm as ContextConfigApiInsert, fM as ContextConfigApiInsertSchema, cl as ContextConfigApiSelect, fL as ContextConfigApiSelectSchema, cn as ContextConfigApiUpdate, fN as ContextConfigApiUpdateSchema, fJ as ContextConfigInsertSchema, gP as ContextConfigListResponse, gz as ContextConfigResponse, fI as ContextConfigSelectSchema, fK as ContextConfigUpdateSchema, cf as ConversationApiInsert, ep as ConversationApiInsertSchema, ce as ConversationApiSelect, eo as ConversationApiSelectSchema, cg as ConversationApiUpdate, eq as ConversationApiUpdateSchema, em as ConversationInsertSchema, gY as ConversationListResponse, gI as ConversationResponse, dw as ConversationScopeOptions, el as ConversationSelectSchema, en as ConversationUpdateSchema, fl as CreateCredentialInStoreRequestSchema, fm as CreateCredentialInStoreResponseSchema, fh as CredentialReferenceApiInsertSchema, cU as CredentialReferenceApiSelect, fg as CredentialReferenceApiSelectSchema, cV as CredentialReferenceApiUpdate, fi as CredentialReferenceApiUpdateSchema, fe as CredentialReferenceInsertSchema, gR as CredentialReferenceListResponse, gB as CredentialReferenceResponse, fd as CredentialReferenceSelectSchema, ff as CredentialReferenceUpdateSchema, fk as CredentialStoreListResponseSchema, fj as CredentialStoreSchema, cv as DataComponentApiInsert, eI as DataComponentApiInsertSchema, cu as DataComponentApiSelect, eH as DataComponentApiSelectSchema, cw as DataComponentApiUpdate, eJ as DataComponentApiUpdateSchema, hc as DataComponentArrayResponse, eF as DataComponentBaseSchema, eE as DataComponentInsertSchema, gU as DataComponentListResponse, gE as DataComponentResponse, eD as DataComponentSelectSchema, eG as DataComponentUpdateSchema, aF as DataPart, gk as ErrorResponseSchema, gl as ExistsResponseSchema, cN as ExternalAgentApiInsert, f4 as ExternalAgentApiInsertSchema, cM as ExternalAgentApiSelect, f3 as ExternalAgentApiSelectSchema, cO as ExternalAgentApiUpdate, f5 as ExternalAgentApiUpdateSchema, f1 as ExternalAgentInsertSchema, gO as ExternalAgentListResponse, gy as ExternalAgentResponse, f0 as ExternalAgentSelectSchema, f2 as ExternalAgentUpdateSchema, bT as ExternalSubAgentRelationApiInsert, dZ as ExternalSubAgentRelationApiInsertSchema, bS as ExternalSubAgentRelationInsert, dY as ExternalSubAgentRelationInsertSchema, cp as FetchConfig, fG as FetchConfigSchema, co as FetchDefinition, fH as FetchDefinitionSchema, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, h2 as FullProjectDefinitionResponse, gt as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cb as FunctionApiSelect, j as FunctionApiSelectSchema, cc as FunctionApiUpdate, k as FunctionApiUpdateSchema, c9 as FunctionInsert, fE as FunctionInsertSchema, gS as FunctionListResponse, gC as FunctionResponse, c8 as FunctionSelect, fD as FunctionSelectSchema, fB as FunctionToolApiInsertSchema, cd as FunctionToolApiSelect, fA as FunctionToolApiSelectSchema, fC as FunctionToolApiUpdateSchema, dK as FunctionToolConfig, dJ as FunctionToolConfigSchema, fy as FunctionToolInsertSchema, gT as FunctionToolListResponse, gD as FunctionToolResponse, fx as FunctionToolSelectSchema, fz as FunctionToolUpdateSchema, ca as FunctionUpdate, fF as FunctionUpdateSchema, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, he as HeadersScopeSchema, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, g8 as LedgerArtifactApiInsertSchema, db as LedgerArtifactApiSelect, g7 as LedgerArtifactApiSelectSchema, dd as LedgerArtifactApiUpdate, g9 as LedgerArtifactApiUpdateSchema, d9 as LedgerArtifactInsert, g5 as LedgerArtifactInsertSchema, g4 as LedgerArtifactSelectSchema, da as LedgerArtifactUpdate, g6 as LedgerArtifactUpdateSchema, gi as ListResponseSchema, dG as MCPServerType, fs as MCPToolConfigSchema, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, dD as McpToolDefinition, ei as McpToolDefinitionSchema, h7 as McpToolListResponse, h6 as McpToolResponse, fr as McpToolSchema, dB as McpTransportConfig, eg as McpTransportConfigSchema, aW as Message, cj as MessageApiInsert, ev as MessageApiInsertSchema, ci as MessageApiSelect, eu as MessageApiSelectSchema, ck as MessageApiUpdate, ew as MessageApiUpdateSchema, es as MessageInsertSchema, gZ as MessageListResponse, dr as MessageMode, bI as MessagePart, gJ as MessageResponse, dq as MessageRole, ch as MessageSelect, er as MessageSelectSchema, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, et as MessageUpdateSchema, b1 as MethodNotFoundError, dH as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ds as Models, aS as OAuth2SecurityScheme, fq as OAuthCallbackQuerySchema, aN as OAuthFlows, fp as OAuthLoginQuerySchema, aT as OpenIdConnectSecurityScheme, dm as Pagination, hn as PaginationQueryParamsSchema, gh as PaginationSchema, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, gr as ProjectApiInsertSchema, dj as ProjectApiSelect, gq as ProjectApiSelectSchema, dl as ProjectApiUpdate, gs as ProjectApiUpdateSchema, go as ProjectInsertSchema, gK as ProjectListResponse, dI as ProjectModelSchema, dt as ProjectModels, gu as ProjectResponse, gn as ProjectSelectSchema, gp as ProjectUpdateSchema, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, h4 as RelatedAgentInfoListResponse, fn as RelatedAgentInfoSchema, gm as RemovedResponseSchema, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, gj as SingleResponseSchema, dv as StatusComponent, ga as StatusComponentSchema, gb as StatusUpdateSchema, du as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bL as SubAgentApiInsert, dP as SubAgentApiInsertSchema, bK as SubAgentApiSelect, dO as SubAgentApiSelectSchema, bM as SubAgentApiUpdate, dQ as SubAgentApiUpdateSchema, cK as SubAgentArtifactComponentApiInsert, e_ as SubAgentArtifactComponentApiInsertSchema, cJ as SubAgentArtifactComponentApiSelect, eZ as SubAgentArtifactComponentApiSelectSchema, cL as SubAgentArtifactComponentApiUpdate, e$ as SubAgentArtifactComponentApiUpdateSchema, cH as SubAgentArtifactComponentInsert, eX as SubAgentArtifactComponentInsertSchema, h1 as SubAgentArtifactComponentListResponse, g$ as SubAgentArtifactComponentResponse, cG as SubAgentArtifactComponentSelect, eW as SubAgentArtifactComponentSelectSchema, cI as SubAgentArtifactComponentUpdate, eY as SubAgentArtifactComponentUpdateSchema, cB as SubAgentDataComponentApiInsert, eO as SubAgentDataComponentApiInsertSchema, cA as SubAgentDataComponentApiSelect, eN as SubAgentDataComponentApiSelectSchema, cC as SubAgentDataComponentApiUpdate, eP as SubAgentDataComponentApiUpdateSchema, cy as SubAgentDataComponentInsert, eL as SubAgentDataComponentInsertSchema, h0 as SubAgentDataComponentListResponse, g_ as SubAgentDataComponentResponse, cx as SubAgentDataComponentSelect, eK as SubAgentDataComponentSelectSchema, cz as SubAgentDataComponentUpdate, eM as SubAgentDataComponentUpdateSchema, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, fY as SubAgentExternalAgentRelationApiInsertSchema, d1 as SubAgentExternalAgentRelationApiSelect, fX as SubAgentExternalAgentRelationApiSelectSchema, d3 as SubAgentExternalAgentRelationApiUpdate, fZ as SubAgentExternalAgentRelationApiUpdateSchema, fV as SubAgentExternalAgentRelationInsertSchema, hb as SubAgentExternalAgentRelationListResponse, ha as SubAgentExternalAgentRelationResponse, c$ as SubAgentExternalAgentRelationSelect, fU as SubAgentExternalAgentRelationSelectSchema, d0 as SubAgentExternalAgentRelationUpdate, fW as SubAgentExternalAgentRelationUpdateSchema, dM as SubAgentInsertSchema, gL as SubAgentListResponse, bP as SubAgentRelationApiInsert, dV as SubAgentRelationApiInsertSchema, bO as SubAgentRelationApiSelect, dU as SubAgentRelationApiSelectSchema, bQ as SubAgentRelationApiUpdate, dW as SubAgentRelationApiUpdateSchema, dS as SubAgentRelationInsertSchema, gW as SubAgentRelationListResponse, bR as SubAgentRelationQuery, dX as SubAgentRelationQuerySchema, gG as SubAgentRelationResponse, bN as SubAgentRelationSelect, dR as SubAgentRelationSelectSchema, dT as SubAgentRelationUpdateSchema, gv as SubAgentResponse, dL as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d7 as SubAgentTeamAgentRelationApiInsert, g2 as SubAgentTeamAgentRelationApiInsertSchema, d6 as SubAgentTeamAgentRelationApiSelect, g1 as SubAgentTeamAgentRelationApiSelectSchema, d8 as SubAgentTeamAgentRelationApiUpdate, g3 as SubAgentTeamAgentRelationApiUpdateSchema, f$ as SubAgentTeamAgentRelationInsertSchema, h9 as SubAgentTeamAgentRelationListResponse, h8 as SubAgentTeamAgentRelationResponse, d4 as SubAgentTeamAgentRelationSelect, f_ as SubAgentTeamAgentRelationSelectSchema, d5 as SubAgentTeamAgentRelationUpdate, g0 as SubAgentTeamAgentRelationUpdateSchema, cZ as SubAgentToolRelationApiInsert, fS as SubAgentToolRelationApiInsertSchema, cY as SubAgentToolRelationApiSelect, fR as SubAgentToolRelationApiSelectSchema, c_ as SubAgentToolRelationApiUpdate, fT as SubAgentToolRelationApiUpdateSchema, cX as SubAgentToolRelationInsert, fP as SubAgentToolRelationInsertSchema, gX as SubAgentToolRelationListResponse, gH as SubAgentToolRelationResponse, cW as SubAgentToolRelationSelect, fO as SubAgentToolRelationSelectSchema, fQ as SubAgentToolRelationUpdateSchema, dN as SubAgentUpdateSchema, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, e8 as TaskApiInsertSchema, bY as TaskApiSelect, e7 as TaskApiSelectSchema, b_ as TaskApiUpdate, e9 as TaskApiUpdateSchema, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, e5 as TaskInsertSchema, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, ee as TaskRelationApiInsertSchema, c2 as TaskRelationApiSelect, ed as TaskRelationApiSelectSchema, c4 as TaskRelationApiUpdate, ef as TaskRelationApiUpdateSchema, c0 as TaskRelationInsert, eb as TaskRelationInsertSchema, b$ as TaskRelationSelect, ea as TaskRelationSelectSchema, c1 as TaskRelationUpdate, ec as TaskRelationUpdateSchema, bt as TaskResubscriptionRequest, e4 as TaskSelectSchema, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, e6 as TaskUpdateSchema, gf as TeamAgentSchema, hg as TenantIdParamsSchema, hf as TenantParamsSchema, hk as TenantProjectAgentIdParamsSchema, hj as TenantProjectAgentParamsSchema, hm as TenantProjectAgentSubAgentIdParamsSchema, hl as TenantProjectAgentSubAgentParamsSchema, hi as TenantProjectIdParamsSchema, hh as TenantProjectParamsSchema, aA as TextPart, c6 as ToolApiInsert, fv as ToolApiInsertSchema, c5 as ToolApiSelect, fu as ToolApiSelectSchema, c7 as ToolApiUpdate, fw as ToolApiUpdateSchema, di as ToolDefinition, ek as ToolInsertSchema, gN as ToolListResponse, gx as ToolResponse, ej as ToolSelectSchema, eh as ToolStatusSchema, ft as ToolUpdateSchema, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES, gd as canDelegateToExternalAgentSchema, ge as canDelegateToTeamAgentSchema } from './utility-B73oHEd8.cjs';
|
|
7
7
|
import { CredentialStore } from './types/index.cjs';
|
|
8
8
|
export { CorsConfig, ServerConfig, ServerOptions } from './types/index.cjs';
|
|
9
9
|
import { NodePgDatabase } from 'drizzle-orm/node-postgres';
|
|
10
10
|
import { PgliteDatabase } from 'drizzle-orm/pglite';
|
|
11
|
-
import { s as schema } from './schema-
|
|
12
|
-
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-
|
|
11
|
+
import { s as schema } from './schema-dODUpZEu.cjs';
|
|
12
|
+
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-dODUpZEu.cjs';
|
|
13
13
|
import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
14
14
|
import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
15
15
|
import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
@@ -70,7 +70,7 @@ declare const executionLimitsSharedDefaults: {
|
|
|
70
70
|
readonly MCP_TOOL_INITIAL_RECONNECTION_DELAY_MS: 1000;
|
|
71
71
|
readonly MCP_TOOL_RECONNECTION_DELAY_GROWTH_FACTOR: 1.5;
|
|
72
72
|
readonly CONVERSATION_HISTORY_DEFAULT_LIMIT: 50;
|
|
73
|
-
readonly CONVERSATION_HISTORY_MAX_OUTPUT_TOKENS_DEFAULT:
|
|
73
|
+
readonly CONVERSATION_HISTORY_MAX_OUTPUT_TOKENS_DEFAULT: 8000;
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
declare const MCP_TOOL_CONNECTION_TIMEOUT_MS: 3000;
|
|
@@ -79,7 +79,7 @@ declare const MCP_TOOL_MAX_RECONNECTION_DELAY_MS: 30000;
|
|
|
79
79
|
declare const MCP_TOOL_INITIAL_RECONNECTION_DELAY_MS: 1000;
|
|
80
80
|
declare const MCP_TOOL_RECONNECTION_DELAY_GROWTH_FACTOR: 1.5;
|
|
81
81
|
declare const CONVERSATION_HISTORY_DEFAULT_LIMIT: 50;
|
|
82
|
-
declare const CONVERSATION_HISTORY_MAX_OUTPUT_TOKENS_DEFAULT:
|
|
82
|
+
declare const CONVERSATION_HISTORY_MAX_OUTPUT_TOKENS_DEFAULT: 8000;
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* Schema validation default constants used in Zod schemas.
|
|
@@ -840,14 +840,13 @@ declare const deleteFullAgent: (db: DatabaseClient, logger?: AgentLogger) => (pa
|
|
|
840
840
|
declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
841
841
|
scopes: AgentScopeConfig;
|
|
842
842
|
}) => Promise<{
|
|
843
|
-
tenantId: string;
|
|
844
|
-
projectId: string;
|
|
845
|
-
id: string;
|
|
846
843
|
name: string;
|
|
844
|
+
id: string;
|
|
847
845
|
description: string | null;
|
|
848
|
-
prompt: string | null;
|
|
849
846
|
createdAt: string;
|
|
850
847
|
updatedAt: string;
|
|
848
|
+
projectId: string;
|
|
849
|
+
tenantId: string;
|
|
851
850
|
models: {
|
|
852
851
|
base?: {
|
|
853
852
|
model?: string | undefined;
|
|
@@ -867,6 +866,7 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
867
866
|
} | null;
|
|
868
867
|
defaultSubAgentId: string | null;
|
|
869
868
|
contextConfigId: string | null;
|
|
869
|
+
prompt: string | null;
|
|
870
870
|
statusUpdates: {
|
|
871
871
|
enabled?: boolean | undefined;
|
|
872
872
|
numEvents?: number | undefined;
|
|
@@ -886,14 +886,13 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
886
886
|
declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
887
887
|
scopes: AgentScopeConfig;
|
|
888
888
|
}) => Promise<{
|
|
889
|
-
tenantId: string;
|
|
890
|
-
projectId: string;
|
|
891
|
-
id: string;
|
|
892
889
|
name: string;
|
|
890
|
+
id: string;
|
|
893
891
|
description: string | null;
|
|
894
|
-
prompt: string | null;
|
|
895
892
|
createdAt: string;
|
|
896
893
|
updatedAt: string;
|
|
894
|
+
projectId: string;
|
|
895
|
+
tenantId: string;
|
|
897
896
|
models: {
|
|
898
897
|
base?: {
|
|
899
898
|
model?: string | undefined;
|
|
@@ -913,6 +912,7 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
913
912
|
} | null;
|
|
914
913
|
defaultSubAgentId: string | null;
|
|
915
914
|
contextConfigId: string | null;
|
|
915
|
+
prompt: string | null;
|
|
916
916
|
statusUpdates: {
|
|
917
917
|
enabled?: boolean | undefined;
|
|
918
918
|
numEvents?: number | undefined;
|
|
@@ -929,15 +929,13 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
929
929
|
}[] | undefined;
|
|
930
930
|
} | null;
|
|
931
931
|
defaultSubAgent: {
|
|
932
|
-
tenantId: string;
|
|
933
|
-
projectId: string;
|
|
934
|
-
id: string;
|
|
935
932
|
name: string;
|
|
933
|
+
id: string;
|
|
936
934
|
description: string;
|
|
937
|
-
prompt: string;
|
|
938
|
-
agentId: string;
|
|
939
935
|
createdAt: string;
|
|
940
936
|
updatedAt: string;
|
|
937
|
+
projectId: string;
|
|
938
|
+
tenantId: string;
|
|
941
939
|
models: {
|
|
942
940
|
base?: {
|
|
943
941
|
model?: string | undefined;
|
|
@@ -955,20 +953,21 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
955
953
|
stopWhen: {
|
|
956
954
|
stepCountIs?: number | undefined;
|
|
957
955
|
} | null;
|
|
958
|
-
|
|
956
|
+
agentId: string;
|
|
957
|
+
prompt: string;
|
|
958
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
959
959
|
} | null;
|
|
960
960
|
} | null>;
|
|
961
961
|
declare const listAgents: (db: DatabaseClient) => (params: {
|
|
962
962
|
scopes: ProjectScopeConfig;
|
|
963
963
|
}) => Promise<{
|
|
964
|
-
tenantId: string;
|
|
965
|
-
projectId: string;
|
|
966
|
-
id: string;
|
|
967
964
|
name: string;
|
|
965
|
+
id: string;
|
|
968
966
|
description: string | null;
|
|
969
|
-
prompt: string | null;
|
|
970
967
|
createdAt: string;
|
|
971
968
|
updatedAt: string;
|
|
969
|
+
projectId: string;
|
|
970
|
+
tenantId: string;
|
|
972
971
|
models: {
|
|
973
972
|
base?: {
|
|
974
973
|
model?: string | undefined;
|
|
@@ -988,6 +987,7 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
988
987
|
} | null;
|
|
989
988
|
defaultSubAgentId: string | null;
|
|
990
989
|
contextConfigId: string | null;
|
|
990
|
+
prompt: string | null;
|
|
991
991
|
statusUpdates: {
|
|
992
992
|
enabled?: boolean | undefined;
|
|
993
993
|
numEvents?: number | undefined;
|
|
@@ -1060,14 +1060,13 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1060
1060
|
};
|
|
1061
1061
|
}>;
|
|
1062
1062
|
declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promise<{
|
|
1063
|
-
tenantId: string;
|
|
1064
|
-
projectId: string;
|
|
1065
|
-
id: string;
|
|
1066
1063
|
name: string;
|
|
1064
|
+
id: string;
|
|
1067
1065
|
description: string | null;
|
|
1068
|
-
prompt: string | null;
|
|
1069
1066
|
createdAt: string;
|
|
1070
1067
|
updatedAt: string;
|
|
1068
|
+
projectId: string;
|
|
1069
|
+
tenantId: string;
|
|
1071
1070
|
models: {
|
|
1072
1071
|
base?: {
|
|
1073
1072
|
model?: string | undefined;
|
|
@@ -1087,6 +1086,7 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
|
|
|
1087
1086
|
} | null;
|
|
1088
1087
|
defaultSubAgentId: string | null;
|
|
1089
1088
|
contextConfigId: string | null;
|
|
1089
|
+
prompt: string | null;
|
|
1090
1090
|
statusUpdates: {
|
|
1091
1091
|
enabled?: boolean | undefined;
|
|
1092
1092
|
numEvents?: number | undefined;
|
|
@@ -1187,49 +1187,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
1187
1187
|
scopes: ProjectScopeConfig;
|
|
1188
1188
|
id: string;
|
|
1189
1189
|
}) => Promise<{
|
|
1190
|
-
tenantId: string;
|
|
1191
|
-
projectId: string;
|
|
1192
|
-
id: string;
|
|
1193
1190
|
name: string | null;
|
|
1191
|
+
id: string;
|
|
1192
|
+
createdAt: string;
|
|
1193
|
+
updatedAt: string;
|
|
1194
|
+
projectId: string;
|
|
1195
|
+
tenantId: string;
|
|
1194
1196
|
agentId: string;
|
|
1197
|
+
expiresAt: string | null;
|
|
1195
1198
|
publicId: string;
|
|
1196
1199
|
keyHash: string;
|
|
1197
1200
|
keyPrefix: string;
|
|
1198
1201
|
lastUsedAt: string | null;
|
|
1199
|
-
expiresAt: string | null;
|
|
1200
|
-
createdAt: string;
|
|
1201
|
-
updatedAt: string;
|
|
1202
1202
|
} | undefined>;
|
|
1203
1203
|
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1204
|
-
tenantId: string;
|
|
1205
|
-
projectId: string;
|
|
1206
|
-
id: string;
|
|
1207
1204
|
name: string | null;
|
|
1205
|
+
id: string;
|
|
1206
|
+
createdAt: string;
|
|
1207
|
+
updatedAt: string;
|
|
1208
|
+
projectId: string;
|
|
1209
|
+
tenantId: string;
|
|
1208
1210
|
agentId: string;
|
|
1211
|
+
expiresAt: string | null;
|
|
1209
1212
|
publicId: string;
|
|
1210
1213
|
keyHash: string;
|
|
1211
1214
|
keyPrefix: string;
|
|
1212
1215
|
lastUsedAt: string | null;
|
|
1213
|
-
expiresAt: string | null;
|
|
1214
|
-
createdAt: string;
|
|
1215
|
-
updatedAt: string;
|
|
1216
1216
|
} | undefined>;
|
|
1217
1217
|
declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
1218
1218
|
scopes: ProjectScopeConfig;
|
|
1219
1219
|
agentId?: string;
|
|
1220
1220
|
}) => Promise<{
|
|
1221
|
-
tenantId: string;
|
|
1222
|
-
projectId: string;
|
|
1223
|
-
id: string;
|
|
1224
1221
|
name: string | null;
|
|
1222
|
+
id: string;
|
|
1223
|
+
createdAt: string;
|
|
1224
|
+
updatedAt: string;
|
|
1225
|
+
projectId: string;
|
|
1226
|
+
tenantId: string;
|
|
1225
1227
|
agentId: string;
|
|
1228
|
+
expiresAt: string | null;
|
|
1226
1229
|
publicId: string;
|
|
1227
1230
|
keyHash: string;
|
|
1228
1231
|
keyPrefix: string;
|
|
1229
1232
|
lastUsedAt: string | null;
|
|
1230
|
-
expiresAt: string | null;
|
|
1231
|
-
createdAt: string;
|
|
1232
|
-
updatedAt: string;
|
|
1233
1233
|
}[]>;
|
|
1234
1234
|
declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
1235
1235
|
scopes: ProjectScopeConfig;
|
|
@@ -1245,18 +1245,18 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
|
1245
1245
|
};
|
|
1246
1246
|
}>;
|
|
1247
1247
|
declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
1248
|
-
tenantId: string;
|
|
1249
|
-
projectId: string;
|
|
1250
|
-
id: string;
|
|
1251
1248
|
name: string | null;
|
|
1249
|
+
id: string;
|
|
1250
|
+
createdAt: string;
|
|
1251
|
+
updatedAt: string;
|
|
1252
|
+
projectId: string;
|
|
1253
|
+
tenantId: string;
|
|
1252
1254
|
agentId: string;
|
|
1255
|
+
expiresAt: string | null;
|
|
1253
1256
|
publicId: string;
|
|
1254
1257
|
keyHash: string;
|
|
1255
1258
|
keyPrefix: string;
|
|
1256
1259
|
lastUsedAt: string | null;
|
|
1257
|
-
expiresAt: string | null;
|
|
1258
|
-
createdAt: string;
|
|
1259
|
-
updatedAt: string;
|
|
1260
1260
|
}>;
|
|
1261
1261
|
declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
1262
1262
|
scopes: ProjectScopeConfig;
|
|
@@ -1303,13 +1303,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
1303
1303
|
scopes: ProjectScopeConfig;
|
|
1304
1304
|
id: string;
|
|
1305
1305
|
}) => Promise<{
|
|
1306
|
-
tenantId: string;
|
|
1307
|
-
projectId: string;
|
|
1308
|
-
id: string;
|
|
1309
1306
|
name: string;
|
|
1307
|
+
id: string;
|
|
1310
1308
|
description: string;
|
|
1311
1309
|
createdAt: string;
|
|
1312
1310
|
updatedAt: string;
|
|
1311
|
+
projectId: string;
|
|
1312
|
+
tenantId: string;
|
|
1313
1313
|
props: Record<string, unknown> | null;
|
|
1314
1314
|
} | undefined>;
|
|
1315
1315
|
declare const listArtifactComponents: (db: DatabaseClient) => (params: {
|
|
@@ -1337,13 +1337,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
|
|
|
1337
1337
|
};
|
|
1338
1338
|
}>;
|
|
1339
1339
|
declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
|
|
1340
|
-
tenantId: string;
|
|
1341
|
-
projectId: string;
|
|
1342
|
-
id: string;
|
|
1343
1340
|
name: string;
|
|
1341
|
+
id: string;
|
|
1344
1342
|
description: string;
|
|
1345
1343
|
createdAt: string;
|
|
1346
1344
|
updatedAt: string;
|
|
1345
|
+
projectId: string;
|
|
1346
|
+
tenantId: string;
|
|
1347
1347
|
props: Record<string, unknown> | null;
|
|
1348
1348
|
}>;
|
|
1349
1349
|
declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
@@ -1380,11 +1380,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
|
|
|
1380
1380
|
scopes: SubAgentScopeConfig;
|
|
1381
1381
|
artifactComponentId: string;
|
|
1382
1382
|
}) => Promise<{
|
|
1383
|
-
tenantId: string;
|
|
1384
|
-
projectId: string;
|
|
1385
1383
|
id: string;
|
|
1386
|
-
agentId: string;
|
|
1387
1384
|
createdAt: string;
|
|
1385
|
+
projectId: string;
|
|
1386
|
+
tenantId: string;
|
|
1387
|
+
agentId: string;
|
|
1388
1388
|
subAgentId: string;
|
|
1389
1389
|
artifactComponentId: string;
|
|
1390
1390
|
}>;
|
|
@@ -1423,11 +1423,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
|
|
|
1423
1423
|
scopes: SubAgentScopeConfig;
|
|
1424
1424
|
artifactComponentId: string;
|
|
1425
1425
|
}) => Promise<{
|
|
1426
|
-
tenantId: string;
|
|
1427
|
-
projectId: string;
|
|
1428
1426
|
id: string;
|
|
1429
|
-
agentId: string;
|
|
1430
1427
|
createdAt: string;
|
|
1428
|
+
projectId: string;
|
|
1429
|
+
tenantId: string;
|
|
1430
|
+
agentId: string;
|
|
1431
1431
|
subAgentId: string;
|
|
1432
1432
|
artifactComponentId: string;
|
|
1433
1433
|
} | null>;
|
|
@@ -1507,26 +1507,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
1507
1507
|
scopes: AgentScopeConfig;
|
|
1508
1508
|
id: string;
|
|
1509
1509
|
}) => Promise<{
|
|
1510
|
-
tenantId: string;
|
|
1511
|
-
projectId: string;
|
|
1512
1510
|
id: string;
|
|
1513
|
-
agentId: string;
|
|
1514
1511
|
createdAt: string;
|
|
1515
1512
|
updatedAt: string;
|
|
1513
|
+
projectId: string;
|
|
1514
|
+
tenantId: string;
|
|
1516
1515
|
headersSchema: unknown;
|
|
1517
1516
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1517
|
+
agentId: string;
|
|
1518
1518
|
} | undefined>;
|
|
1519
1519
|
declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
1520
1520
|
scopes: AgentScopeConfig;
|
|
1521
1521
|
}) => Promise<{
|
|
1522
|
-
tenantId: string;
|
|
1523
|
-
projectId: string;
|
|
1524
1522
|
id: string;
|
|
1525
|
-
agentId: string;
|
|
1526
1523
|
createdAt: string;
|
|
1527
1524
|
updatedAt: string;
|
|
1525
|
+
projectId: string;
|
|
1526
|
+
tenantId: string;
|
|
1528
1527
|
headersSchema: unknown;
|
|
1529
1528
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1529
|
+
agentId: string;
|
|
1530
1530
|
}[]>;
|
|
1531
1531
|
declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
1532
1532
|
scopes: AgentScopeConfig;
|
|
@@ -1541,14 +1541,14 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1541
1541
|
};
|
|
1542
1542
|
}>;
|
|
1543
1543
|
declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
1544
|
-
tenantId: string;
|
|
1545
|
-
projectId: string;
|
|
1546
1544
|
id: string;
|
|
1547
|
-
agentId: string;
|
|
1548
1545
|
createdAt: string;
|
|
1549
1546
|
updatedAt: string;
|
|
1547
|
+
projectId: string;
|
|
1548
|
+
tenantId: string;
|
|
1550
1549
|
headersSchema: unknown;
|
|
1551
1550
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1551
|
+
agentId: string;
|
|
1552
1552
|
}>;
|
|
1553
1553
|
declare const updateContextConfig: (db: DatabaseClient) => (params: {
|
|
1554
1554
|
scopes: AgentScopeConfig;
|
|
@@ -1581,14 +1581,14 @@ declare const countContextConfigs: (db: DatabaseClient) => (params: {
|
|
|
1581
1581
|
declare const upsertContextConfig: (db: DatabaseClient) => (params: {
|
|
1582
1582
|
data: ContextConfigInsert;
|
|
1583
1583
|
}) => Promise<{
|
|
1584
|
-
tenantId: string;
|
|
1585
|
-
projectId: string;
|
|
1586
1584
|
id: string;
|
|
1587
|
-
agentId: string;
|
|
1588
1585
|
createdAt: string;
|
|
1589
1586
|
updatedAt: string;
|
|
1587
|
+
projectId: string;
|
|
1588
|
+
tenantId: string;
|
|
1590
1589
|
headersSchema: unknown;
|
|
1591
1590
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1591
|
+
agentId: string;
|
|
1592
1592
|
}>;
|
|
1593
1593
|
|
|
1594
1594
|
declare const listConversations: (db: DatabaseClient) => (params: {
|
|
@@ -1600,12 +1600,12 @@ declare const listConversations: (db: DatabaseClient) => (params: {
|
|
|
1600
1600
|
total: number;
|
|
1601
1601
|
}>;
|
|
1602
1602
|
declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
1603
|
-
tenantId: string;
|
|
1604
|
-
projectId: string;
|
|
1605
1603
|
id: string;
|
|
1606
1604
|
title: string | null;
|
|
1607
1605
|
createdAt: string;
|
|
1608
1606
|
updatedAt: string;
|
|
1607
|
+
projectId: string;
|
|
1608
|
+
tenantId: string;
|
|
1609
1609
|
metadata: ConversationMetadata | null;
|
|
1610
1610
|
userId: string | null;
|
|
1611
1611
|
activeSubAgentId: string;
|
|
@@ -1651,12 +1651,12 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
1651
1651
|
scopes: ProjectScopeConfig;
|
|
1652
1652
|
conversationId: string;
|
|
1653
1653
|
}) => Promise<{
|
|
1654
|
-
tenantId: string;
|
|
1655
|
-
projectId: string;
|
|
1656
1654
|
id: string;
|
|
1657
1655
|
title: string | null;
|
|
1658
1656
|
createdAt: string;
|
|
1659
1657
|
updatedAt: string;
|
|
1658
|
+
projectId: string;
|
|
1659
|
+
tenantId: string;
|
|
1660
1660
|
metadata: ConversationMetadata | null;
|
|
1661
1661
|
userId: string | null;
|
|
1662
1662
|
activeSubAgentId: string;
|
|
@@ -1675,12 +1675,12 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
|
|
|
1675
1675
|
metadata?: ConversationMetadata | null | undefined;
|
|
1676
1676
|
contextConfigId?: string | undefined;
|
|
1677
1677
|
} | {
|
|
1678
|
-
tenantId: string;
|
|
1679
|
-
projectId: string;
|
|
1680
1678
|
id: string;
|
|
1681
1679
|
title: string | null;
|
|
1682
1680
|
createdAt: string;
|
|
1683
1681
|
updatedAt: string;
|
|
1682
|
+
projectId: string;
|
|
1683
|
+
tenantId: string;
|
|
1684
1684
|
metadata: ConversationMetadata | null;
|
|
1685
1685
|
userId: string | null;
|
|
1686
1686
|
activeSubAgentId: string;
|
|
@@ -1701,12 +1701,12 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
1701
1701
|
scopes: ProjectScopeConfig;
|
|
1702
1702
|
conversationId: string;
|
|
1703
1703
|
}) => Promise<{
|
|
1704
|
-
tenantId: string;
|
|
1705
|
-
projectId: string;
|
|
1706
1704
|
id: string;
|
|
1707
1705
|
title: string | null;
|
|
1708
1706
|
createdAt: string;
|
|
1709
1707
|
updatedAt: string;
|
|
1708
|
+
projectId: string;
|
|
1709
|
+
tenantId: string;
|
|
1710
1710
|
metadata: ConversationMetadata | null;
|
|
1711
1711
|
userId: string | null;
|
|
1712
1712
|
activeSubAgentId: string;
|
|
@@ -1871,11 +1871,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
|
|
|
1871
1871
|
scopes: SubAgentScopeConfig;
|
|
1872
1872
|
dataComponentId: string;
|
|
1873
1873
|
}) => Promise<{
|
|
1874
|
-
tenantId: string;
|
|
1875
|
-
projectId: string;
|
|
1876
1874
|
id: string;
|
|
1877
|
-
agentId: string;
|
|
1878
1875
|
createdAt: string;
|
|
1876
|
+
projectId: string;
|
|
1877
|
+
tenantId: string;
|
|
1878
|
+
agentId: string;
|
|
1879
1879
|
subAgentId: string;
|
|
1880
1880
|
dataComponentId: string;
|
|
1881
1881
|
}>;
|
|
@@ -1913,11 +1913,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
|
|
|
1913
1913
|
scopes: SubAgentScopeConfig;
|
|
1914
1914
|
dataComponentId: string;
|
|
1915
1915
|
}) => Promise<{
|
|
1916
|
-
tenantId: string;
|
|
1917
|
-
projectId: string;
|
|
1918
1916
|
id: string;
|
|
1919
|
-
agentId: string;
|
|
1920
1917
|
createdAt: string;
|
|
1918
|
+
projectId: string;
|
|
1919
|
+
tenantId: string;
|
|
1920
|
+
agentId: string;
|
|
1921
1921
|
subAgentId: string;
|
|
1922
1922
|
dataComponentId: string;
|
|
1923
1923
|
} | null>;
|
|
@@ -2092,14 +2092,14 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
2092
2092
|
data: FunctionToolApiInsert;
|
|
2093
2093
|
scopes: AgentScopeConfig;
|
|
2094
2094
|
}) => Promise<{
|
|
2095
|
-
tenantId: string;
|
|
2096
|
-
projectId: string;
|
|
2097
|
-
id: string;
|
|
2098
2095
|
name: string;
|
|
2096
|
+
id: string;
|
|
2099
2097
|
description: string | null;
|
|
2100
|
-
agentId: string;
|
|
2101
2098
|
createdAt: string;
|
|
2102
2099
|
updatedAt: string;
|
|
2100
|
+
projectId: string;
|
|
2101
|
+
tenantId: string;
|
|
2102
|
+
agentId: string;
|
|
2103
2103
|
functionId: string;
|
|
2104
2104
|
}>;
|
|
2105
2105
|
/**
|
|
@@ -2134,14 +2134,14 @@ declare const upsertFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
2134
2134
|
data: FunctionToolApiInsert;
|
|
2135
2135
|
scopes: AgentScopeConfig;
|
|
2136
2136
|
}) => Promise<{
|
|
2137
|
-
tenantId: string;
|
|
2138
|
-
projectId: string;
|
|
2139
|
-
id: string;
|
|
2140
2137
|
name: string;
|
|
2138
|
+
id: string;
|
|
2141
2139
|
description: string | null;
|
|
2142
|
-
agentId: string;
|
|
2143
2140
|
createdAt: string;
|
|
2144
2141
|
updatedAt: string;
|
|
2142
|
+
projectId: string;
|
|
2143
|
+
tenantId: string;
|
|
2144
|
+
agentId: string;
|
|
2145
2145
|
functionId: string;
|
|
2146
2146
|
}>;
|
|
2147
2147
|
declare const getFunctionToolsForSubAgent: (db: DatabaseClient) => (params: {
|
|
@@ -2271,11 +2271,11 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
2271
2271
|
scopes: ProjectScopeConfig;
|
|
2272
2272
|
messageId: string;
|
|
2273
2273
|
}) => Promise<{
|
|
2274
|
-
tenantId: string;
|
|
2275
|
-
projectId: string;
|
|
2276
2274
|
id: string;
|
|
2277
2275
|
createdAt: string;
|
|
2278
2276
|
updatedAt: string;
|
|
2277
|
+
projectId: string;
|
|
2278
|
+
tenantId: string;
|
|
2279
2279
|
content: MessageContent;
|
|
2280
2280
|
metadata: MessageMetadata | null;
|
|
2281
2281
|
conversationId: string;
|
|
@@ -2402,11 +2402,11 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
2402
2402
|
id: string;
|
|
2403
2403
|
}[]>;
|
|
2404
2404
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
2405
|
-
tenantId: string;
|
|
2406
|
-
projectId: string;
|
|
2407
2405
|
id: string;
|
|
2408
2406
|
createdAt: string;
|
|
2409
2407
|
updatedAt: string;
|
|
2408
|
+
projectId: string;
|
|
2409
|
+
tenantId: string;
|
|
2410
2410
|
content: MessageContent;
|
|
2411
2411
|
metadata: MessageMetadata | null;
|
|
2412
2412
|
conversationId: string;
|
|
@@ -2455,11 +2455,11 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
2455
2455
|
scopes: ProjectScopeConfig;
|
|
2456
2456
|
messageId: string;
|
|
2457
2457
|
}) => Promise<{
|
|
2458
|
-
tenantId: string;
|
|
2459
|
-
projectId: string;
|
|
2460
2458
|
id: string;
|
|
2461
2459
|
createdAt: string;
|
|
2462
2460
|
updatedAt: string;
|
|
2461
|
+
projectId: string;
|
|
2462
|
+
tenantId: string;
|
|
2463
2463
|
content: MessageContent;
|
|
2464
2464
|
metadata: MessageMetadata | null;
|
|
2465
2465
|
conversationId: string;
|
|
@@ -2580,15 +2580,15 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
|
|
|
2580
2580
|
scopes: SubAgentScopeConfig;
|
|
2581
2581
|
relationId: string;
|
|
2582
2582
|
}) => Promise<{
|
|
2583
|
-
|
|
2584
|
-
projectId: string;
|
|
2583
|
+
headers: Record<string, string> | null;
|
|
2585
2584
|
id: string;
|
|
2586
|
-
agentId: string;
|
|
2587
2585
|
createdAt: string;
|
|
2588
2586
|
updatedAt: string;
|
|
2589
|
-
|
|
2590
|
-
|
|
2587
|
+
projectId: string;
|
|
2588
|
+
tenantId: string;
|
|
2589
|
+
agentId: string;
|
|
2591
2590
|
subAgentId: string;
|
|
2591
|
+
externalAgentId: string;
|
|
2592
2592
|
} | undefined>;
|
|
2593
2593
|
declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
2594
2594
|
scopes: SubAgentScopeConfig;
|
|
@@ -2615,28 +2615,28 @@ declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (param
|
|
|
2615
2615
|
declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
2616
2616
|
scopes: SubAgentScopeConfig;
|
|
2617
2617
|
}) => Promise<{
|
|
2618
|
-
|
|
2619
|
-
projectId: string;
|
|
2618
|
+
headers: Record<string, string> | null;
|
|
2620
2619
|
id: string;
|
|
2621
|
-
agentId: string;
|
|
2622
2620
|
createdAt: string;
|
|
2623
2621
|
updatedAt: string;
|
|
2624
|
-
|
|
2625
|
-
|
|
2622
|
+
projectId: string;
|
|
2623
|
+
tenantId: string;
|
|
2624
|
+
agentId: string;
|
|
2626
2625
|
subAgentId: string;
|
|
2626
|
+
externalAgentId: string;
|
|
2627
2627
|
}[]>;
|
|
2628
2628
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
2629
2629
|
scopes: AgentScopeConfig;
|
|
2630
2630
|
}) => Promise<{
|
|
2631
|
-
|
|
2632
|
-
projectId: string;
|
|
2631
|
+
headers: Record<string, string> | null;
|
|
2633
2632
|
id: string;
|
|
2634
|
-
agentId: string;
|
|
2635
2633
|
createdAt: string;
|
|
2636
2634
|
updatedAt: string;
|
|
2637
|
-
|
|
2638
|
-
|
|
2635
|
+
projectId: string;
|
|
2636
|
+
tenantId: string;
|
|
2637
|
+
agentId: string;
|
|
2639
2638
|
subAgentId: string;
|
|
2639
|
+
externalAgentId: string;
|
|
2640
2640
|
}[]>;
|
|
2641
2641
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
|
|
2642
2642
|
scopes: AgentScopeConfig;
|
|
@@ -2714,7 +2714,7 @@ declare const getSubAgentsForExternalAgent: (db: DatabaseClient) => (params: {
|
|
|
2714
2714
|
name: string;
|
|
2715
2715
|
description: string;
|
|
2716
2716
|
prompt: string;
|
|
2717
|
-
conversationHistoryConfig: ConversationHistoryConfig
|
|
2717
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
2718
2718
|
models: {
|
|
2719
2719
|
base?: {
|
|
2720
2720
|
model?: string | undefined;
|
|
@@ -2751,15 +2751,15 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
2751
2751
|
headers?: Record<string, string> | null;
|
|
2752
2752
|
};
|
|
2753
2753
|
}) => Promise<{
|
|
2754
|
-
|
|
2755
|
-
projectId: string;
|
|
2754
|
+
headers: Record<string, string> | null;
|
|
2756
2755
|
id: string;
|
|
2757
|
-
agentId: string;
|
|
2758
2756
|
createdAt: string;
|
|
2759
2757
|
updatedAt: string;
|
|
2760
|
-
|
|
2761
|
-
|
|
2758
|
+
projectId: string;
|
|
2759
|
+
tenantId: string;
|
|
2760
|
+
agentId: string;
|
|
2762
2761
|
subAgentId: string;
|
|
2762
|
+
externalAgentId: string;
|
|
2763
2763
|
}>;
|
|
2764
2764
|
/**
|
|
2765
2765
|
* Check if sub-agent external agent relation exists by params
|
|
@@ -2768,15 +2768,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
|
|
|
2768
2768
|
scopes: SubAgentScopeConfig;
|
|
2769
2769
|
externalAgentId: string;
|
|
2770
2770
|
}) => Promise<{
|
|
2771
|
-
|
|
2772
|
-
projectId: string;
|
|
2771
|
+
headers: Record<string, string> | null;
|
|
2773
2772
|
id: string;
|
|
2774
|
-
agentId: string;
|
|
2775
2773
|
createdAt: string;
|
|
2776
2774
|
updatedAt: string;
|
|
2777
|
-
|
|
2778
|
-
|
|
2775
|
+
projectId: string;
|
|
2776
|
+
tenantId: string;
|
|
2777
|
+
agentId: string;
|
|
2779
2778
|
subAgentId: string;
|
|
2779
|
+
externalAgentId: string;
|
|
2780
2780
|
} | undefined>;
|
|
2781
2781
|
/**
|
|
2782
2782
|
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
@@ -2789,15 +2789,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
2789
2789
|
headers?: Record<string, string> | null;
|
|
2790
2790
|
};
|
|
2791
2791
|
}) => Promise<{
|
|
2792
|
-
|
|
2793
|
-
projectId: string;
|
|
2792
|
+
headers: Record<string, string> | null;
|
|
2794
2793
|
id: string;
|
|
2795
|
-
agentId: string;
|
|
2796
2794
|
createdAt: string;
|
|
2797
2795
|
updatedAt: string;
|
|
2798
|
-
|
|
2799
|
-
|
|
2796
|
+
projectId: string;
|
|
2797
|
+
tenantId: string;
|
|
2798
|
+
agentId: string;
|
|
2800
2799
|
subAgentId: string;
|
|
2800
|
+
externalAgentId: string;
|
|
2801
2801
|
}>;
|
|
2802
2802
|
declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
2803
2803
|
scopes: SubAgentScopeConfig;
|
|
@@ -2829,12 +2829,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
2829
2829
|
scopes: AgentScopeConfig;
|
|
2830
2830
|
relationId: string;
|
|
2831
2831
|
}) => Promise<{
|
|
2832
|
-
tenantId: string;
|
|
2833
|
-
projectId: string;
|
|
2834
2832
|
id: string;
|
|
2835
|
-
agentId: string;
|
|
2836
2833
|
createdAt: string;
|
|
2837
2834
|
updatedAt: string;
|
|
2835
|
+
projectId: string;
|
|
2836
|
+
tenantId: string;
|
|
2837
|
+
agentId: string;
|
|
2838
2838
|
sourceSubAgentId: string;
|
|
2839
2839
|
targetSubAgentId: string | null;
|
|
2840
2840
|
relationType: string | null;
|
|
@@ -2864,12 +2864,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
2864
2864
|
declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
2865
2865
|
scopes: SubAgentScopeConfig;
|
|
2866
2866
|
}) => Promise<{
|
|
2867
|
-
tenantId: string;
|
|
2868
|
-
projectId: string;
|
|
2869
2867
|
id: string;
|
|
2870
|
-
agentId: string;
|
|
2871
2868
|
createdAt: string;
|
|
2872
2869
|
updatedAt: string;
|
|
2870
|
+
projectId: string;
|
|
2871
|
+
tenantId: string;
|
|
2872
|
+
agentId: string;
|
|
2873
2873
|
sourceSubAgentId: string;
|
|
2874
2874
|
targetSubAgentId: string | null;
|
|
2875
2875
|
relationType: string | null;
|
|
@@ -2877,12 +2877,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
2877
2877
|
declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
2878
2878
|
scopes: AgentScopeConfig;
|
|
2879
2879
|
}) => Promise<{
|
|
2880
|
-
tenantId: string;
|
|
2881
|
-
projectId: string;
|
|
2882
2880
|
id: string;
|
|
2883
|
-
agentId: string;
|
|
2884
2881
|
createdAt: string;
|
|
2885
2882
|
updatedAt: string;
|
|
2883
|
+
projectId: string;
|
|
2884
|
+
tenantId: string;
|
|
2885
|
+
agentId: string;
|
|
2886
2886
|
sourceSubAgentId: string;
|
|
2887
2887
|
targetSubAgentId: string | null;
|
|
2888
2888
|
relationType: string | null;
|
|
@@ -2945,12 +2945,12 @@ declare const getRelatedAgentsForAgent: (db: DatabaseClient) => (params: {
|
|
|
2945
2945
|
}[];
|
|
2946
2946
|
}>;
|
|
2947
2947
|
declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
2948
|
-
tenantId: string;
|
|
2949
|
-
projectId: string;
|
|
2950
2948
|
id: string;
|
|
2951
|
-
agentId: string;
|
|
2952
2949
|
createdAt: string;
|
|
2953
2950
|
updatedAt: string;
|
|
2951
|
+
projectId: string;
|
|
2952
|
+
tenantId: string;
|
|
2953
|
+
agentId: string;
|
|
2954
2954
|
sourceSubAgentId: string;
|
|
2955
2955
|
targetSubAgentId: string | null;
|
|
2956
2956
|
relationType: string | null;
|
|
@@ -2964,12 +2964,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
2964
2964
|
targetSubAgentId?: string;
|
|
2965
2965
|
relationType: string;
|
|
2966
2966
|
}) => Promise<{
|
|
2967
|
-
tenantId: string;
|
|
2968
|
-
projectId: string;
|
|
2969
2967
|
id: string;
|
|
2970
|
-
agentId: string;
|
|
2971
2968
|
createdAt: string;
|
|
2972
2969
|
updatedAt: string;
|
|
2970
|
+
projectId: string;
|
|
2971
|
+
tenantId: string;
|
|
2972
|
+
agentId: string;
|
|
2973
2973
|
sourceSubAgentId: string;
|
|
2974
2974
|
targetSubAgentId: string | null;
|
|
2975
2975
|
relationType: string | null;
|
|
@@ -2978,12 +2978,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
2978
2978
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
2979
2979
|
*/
|
|
2980
2980
|
declare const upsertSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
2981
|
-
tenantId: string;
|
|
2982
|
-
projectId: string;
|
|
2983
2981
|
id: string;
|
|
2984
|
-
agentId: string;
|
|
2985
2982
|
createdAt: string;
|
|
2986
2983
|
updatedAt: string;
|
|
2984
|
+
projectId: string;
|
|
2985
|
+
tenantId: string;
|
|
2986
|
+
agentId: string;
|
|
2987
2987
|
sourceSubAgentId: string;
|
|
2988
2988
|
targetSubAgentId: string | null;
|
|
2989
2989
|
relationType: string | null;
|
|
@@ -3020,16 +3020,16 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3020
3020
|
headers?: Record<string, string> | null;
|
|
3021
3021
|
};
|
|
3022
3022
|
}) => Promise<{
|
|
3023
|
-
|
|
3024
|
-
projectId: string;
|
|
3023
|
+
headers: Record<string, string> | null;
|
|
3025
3024
|
id: string;
|
|
3026
|
-
agentId: string;
|
|
3027
3025
|
createdAt: string;
|
|
3028
3026
|
updatedAt: string;
|
|
3029
|
-
|
|
3030
|
-
|
|
3027
|
+
projectId: string;
|
|
3028
|
+
tenantId: string;
|
|
3029
|
+
agentId: string;
|
|
3031
3030
|
selectedTools: string[] | null;
|
|
3032
3031
|
subAgentId: string;
|
|
3032
|
+
toolId: string;
|
|
3033
3033
|
}>;
|
|
3034
3034
|
declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
3035
3035
|
scopes: AgentScopeConfig;
|
|
@@ -3058,16 +3058,16 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
3058
3058
|
scopes: SubAgentScopeConfig;
|
|
3059
3059
|
relationId: string;
|
|
3060
3060
|
}) => Promise<{
|
|
3061
|
-
|
|
3062
|
-
projectId: string;
|
|
3061
|
+
headers: Record<string, string> | null;
|
|
3063
3062
|
id: string;
|
|
3064
|
-
agentId: string;
|
|
3065
3063
|
createdAt: string;
|
|
3066
3064
|
updatedAt: string;
|
|
3067
|
-
|
|
3068
|
-
|
|
3065
|
+
projectId: string;
|
|
3066
|
+
tenantId: string;
|
|
3067
|
+
agentId: string;
|
|
3069
3068
|
selectedTools: string[] | null;
|
|
3070
3069
|
subAgentId: string;
|
|
3070
|
+
toolId: string;
|
|
3071
3071
|
} | undefined>;
|
|
3072
3072
|
declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
3073
3073
|
scopes: SubAgentScopeConfig;
|
|
@@ -3197,7 +3197,7 @@ declare const getAgentsForTool: (db: DatabaseClient) => (params: {
|
|
|
3197
3197
|
name: string;
|
|
3198
3198
|
description: string;
|
|
3199
3199
|
prompt: string;
|
|
3200
|
-
conversationHistoryConfig: ConversationHistoryConfig
|
|
3200
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
3201
3201
|
models: {
|
|
3202
3202
|
base?: {
|
|
3203
3203
|
model?: string | undefined;
|
|
@@ -3234,15 +3234,13 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
3234
3234
|
scopes: AgentScopeConfig;
|
|
3235
3235
|
subAgentId: string;
|
|
3236
3236
|
}) => Promise<{
|
|
3237
|
-
tenantId: string;
|
|
3238
|
-
projectId: string;
|
|
3239
|
-
id: string;
|
|
3240
3237
|
name: string;
|
|
3238
|
+
id: string;
|
|
3241
3239
|
description: string;
|
|
3242
|
-
prompt: string;
|
|
3243
|
-
agentId: string;
|
|
3244
3240
|
createdAt: string;
|
|
3245
3241
|
updatedAt: string;
|
|
3242
|
+
projectId: string;
|
|
3243
|
+
tenantId: string;
|
|
3246
3244
|
models: {
|
|
3247
3245
|
base?: {
|
|
3248
3246
|
model?: string | undefined;
|
|
@@ -3260,20 +3258,20 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
3260
3258
|
stopWhen: {
|
|
3261
3259
|
stepCountIs?: number | undefined;
|
|
3262
3260
|
} | null;
|
|
3263
|
-
|
|
3261
|
+
agentId: string;
|
|
3262
|
+
prompt: string;
|
|
3263
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
3264
3264
|
} | undefined>;
|
|
3265
3265
|
declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
3266
3266
|
scopes: AgentScopeConfig;
|
|
3267
3267
|
}) => Promise<{
|
|
3268
|
-
tenantId: string;
|
|
3269
|
-
projectId: string;
|
|
3270
|
-
id: string;
|
|
3271
3268
|
name: string;
|
|
3269
|
+
id: string;
|
|
3272
3270
|
description: string;
|
|
3273
|
-
prompt: string;
|
|
3274
|
-
agentId: string;
|
|
3275
3271
|
createdAt: string;
|
|
3276
3272
|
updatedAt: string;
|
|
3273
|
+
projectId: string;
|
|
3274
|
+
tenantId: string;
|
|
3277
3275
|
models: {
|
|
3278
3276
|
base?: {
|
|
3279
3277
|
model?: string | undefined;
|
|
@@ -3291,7 +3289,9 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
3291
3289
|
stopWhen: {
|
|
3292
3290
|
stepCountIs?: number | undefined;
|
|
3293
3291
|
} | null;
|
|
3294
|
-
|
|
3292
|
+
agentId: string;
|
|
3293
|
+
prompt: string;
|
|
3294
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
3295
3295
|
}[]>;
|
|
3296
3296
|
declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
3297
3297
|
scopes: AgentScopeConfig;
|
|
@@ -3301,7 +3301,7 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
3301
3301
|
createdAt: string;
|
|
3302
3302
|
updatedAt: string;
|
|
3303
3303
|
prompt: string;
|
|
3304
|
-
conversationHistoryConfig: ConversationHistoryConfig
|
|
3304
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
3305
3305
|
models: {
|
|
3306
3306
|
base?: {
|
|
3307
3307
|
model?: string | undefined;
|
|
@@ -3334,15 +3334,13 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
3334
3334
|
};
|
|
3335
3335
|
}>;
|
|
3336
3336
|
declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
3337
|
-
tenantId: string;
|
|
3338
|
-
projectId: string;
|
|
3339
|
-
id: string;
|
|
3340
3337
|
name: string;
|
|
3338
|
+
id: string;
|
|
3341
3339
|
description: string;
|
|
3342
|
-
prompt: string;
|
|
3343
|
-
agentId: string;
|
|
3344
3340
|
createdAt: string;
|
|
3345
3341
|
updatedAt: string;
|
|
3342
|
+
projectId: string;
|
|
3343
|
+
tenantId: string;
|
|
3346
3344
|
models: {
|
|
3347
3345
|
base?: {
|
|
3348
3346
|
model?: string | undefined;
|
|
@@ -3360,7 +3358,9 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
3360
3358
|
stopWhen: {
|
|
3361
3359
|
stepCountIs?: number | undefined;
|
|
3362
3360
|
} | null;
|
|
3363
|
-
|
|
3361
|
+
agentId: string;
|
|
3362
|
+
prompt: string;
|
|
3363
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
3364
3364
|
}>;
|
|
3365
3365
|
declare const updateSubAgent: (db: DatabaseClient) => (params: {
|
|
3366
3366
|
scopes: AgentScopeConfig;
|
|
@@ -3370,7 +3370,7 @@ declare const updateSubAgent: (db: DatabaseClient) => (params: {
|
|
|
3370
3370
|
createdAt: string;
|
|
3371
3371
|
updatedAt: string;
|
|
3372
3372
|
prompt: string;
|
|
3373
|
-
conversationHistoryConfig: ConversationHistoryConfig
|
|
3373
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
3374
3374
|
models: {
|
|
3375
3375
|
base?: {
|
|
3376
3376
|
model?: string | undefined;
|
|
@@ -3412,7 +3412,7 @@ declare const getSubAgentsByIds: (db: DatabaseClient) => (params: {
|
|
|
3412
3412
|
createdAt: string;
|
|
3413
3413
|
updatedAt: string;
|
|
3414
3414
|
prompt: string;
|
|
3415
|
-
conversationHistoryConfig: ConversationHistoryConfig
|
|
3415
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
3416
3416
|
models: {
|
|
3417
3417
|
base?: {
|
|
3418
3418
|
model?: string | undefined;
|
|
@@ -3442,13 +3442,13 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
3442
3442
|
scopes: SubAgentScopeConfig;
|
|
3443
3443
|
relationId: string;
|
|
3444
3444
|
}) => Promise<{
|
|
3445
|
-
|
|
3446
|
-
projectId: string;
|
|
3445
|
+
headers: Record<string, string> | null;
|
|
3447
3446
|
id: string;
|
|
3448
|
-
agentId: string;
|
|
3449
3447
|
createdAt: string;
|
|
3450
3448
|
updatedAt: string;
|
|
3451
|
-
|
|
3449
|
+
projectId: string;
|
|
3450
|
+
tenantId: string;
|
|
3451
|
+
agentId: string;
|
|
3452
3452
|
subAgentId: string;
|
|
3453
3453
|
targetAgentId: string;
|
|
3454
3454
|
} | undefined>;
|
|
@@ -3477,26 +3477,26 @@ declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
3477
3477
|
declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
3478
3478
|
scopes: SubAgentScopeConfig;
|
|
3479
3479
|
}) => Promise<{
|
|
3480
|
-
|
|
3481
|
-
projectId: string;
|
|
3480
|
+
headers: Record<string, string> | null;
|
|
3482
3481
|
id: string;
|
|
3483
|
-
agentId: string;
|
|
3484
3482
|
createdAt: string;
|
|
3485
3483
|
updatedAt: string;
|
|
3486
|
-
|
|
3484
|
+
projectId: string;
|
|
3485
|
+
tenantId: string;
|
|
3486
|
+
agentId: string;
|
|
3487
3487
|
subAgentId: string;
|
|
3488
3488
|
targetAgentId: string;
|
|
3489
3489
|
}[]>;
|
|
3490
3490
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
3491
3491
|
scopes: AgentScopeConfig;
|
|
3492
3492
|
}) => Promise<{
|
|
3493
|
-
|
|
3494
|
-
projectId: string;
|
|
3493
|
+
headers: Record<string, string> | null;
|
|
3495
3494
|
id: string;
|
|
3496
|
-
agentId: string;
|
|
3497
3495
|
createdAt: string;
|
|
3498
3496
|
updatedAt: string;
|
|
3499
|
-
|
|
3497
|
+
projectId: string;
|
|
3498
|
+
tenantId: string;
|
|
3499
|
+
agentId: string;
|
|
3500
3500
|
subAgentId: string;
|
|
3501
3501
|
targetAgentId: string;
|
|
3502
3502
|
}[]>;
|
|
@@ -3606,7 +3606,7 @@ declare const getSubAgentsForTeamAgent: (db: DatabaseClient) => (params: {
|
|
|
3606
3606
|
name: string;
|
|
3607
3607
|
description: string;
|
|
3608
3608
|
prompt: string;
|
|
3609
|
-
conversationHistoryConfig: ConversationHistoryConfig
|
|
3609
|
+
conversationHistoryConfig: ConversationHistoryConfig;
|
|
3610
3610
|
models: {
|
|
3611
3611
|
base?: {
|
|
3612
3612
|
model?: string | undefined;
|
|
@@ -3643,13 +3643,13 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
3643
3643
|
headers?: Record<string, string> | null;
|
|
3644
3644
|
};
|
|
3645
3645
|
}) => Promise<{
|
|
3646
|
-
|
|
3647
|
-
projectId: string;
|
|
3646
|
+
headers: Record<string, string> | null;
|
|
3648
3647
|
id: string;
|
|
3649
|
-
agentId: string;
|
|
3650
3648
|
createdAt: string;
|
|
3651
3649
|
updatedAt: string;
|
|
3652
|
-
|
|
3650
|
+
projectId: string;
|
|
3651
|
+
tenantId: string;
|
|
3652
|
+
agentId: string;
|
|
3653
3653
|
subAgentId: string;
|
|
3654
3654
|
targetAgentId: string;
|
|
3655
3655
|
}>;
|
|
@@ -3660,13 +3660,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
3660
3660
|
scopes: SubAgentScopeConfig;
|
|
3661
3661
|
targetAgentId: string;
|
|
3662
3662
|
}) => Promise<{
|
|
3663
|
-
|
|
3664
|
-
projectId: string;
|
|
3663
|
+
headers: Record<string, string> | null;
|
|
3665
3664
|
id: string;
|
|
3666
|
-
agentId: string;
|
|
3667
3665
|
createdAt: string;
|
|
3668
3666
|
updatedAt: string;
|
|
3669
|
-
|
|
3667
|
+
projectId: string;
|
|
3668
|
+
tenantId: string;
|
|
3669
|
+
agentId: string;
|
|
3670
3670
|
subAgentId: string;
|
|
3671
3671
|
targetAgentId: string;
|
|
3672
3672
|
} | undefined>;
|
|
@@ -3681,13 +3681,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
3681
3681
|
headers?: Record<string, string> | null;
|
|
3682
3682
|
};
|
|
3683
3683
|
}) => Promise<{
|
|
3684
|
-
|
|
3685
|
-
projectId: string;
|
|
3684
|
+
headers: Record<string, string> | null;
|
|
3686
3685
|
id: string;
|
|
3687
|
-
agentId: string;
|
|
3688
3686
|
createdAt: string;
|
|
3689
3687
|
updatedAt: string;
|
|
3690
|
-
|
|
3688
|
+
projectId: string;
|
|
3689
|
+
tenantId: string;
|
|
3690
|
+
agentId: string;
|
|
3691
3691
|
subAgentId: string;
|
|
3692
3692
|
targetAgentId: string;
|
|
3693
3693
|
}>;
|
|
@@ -3718,12 +3718,12 @@ declare const deleteSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (
|
|
|
3718
3718
|
}) => Promise<boolean>;
|
|
3719
3719
|
|
|
3720
3720
|
declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
|
|
3721
|
-
tenantId: string;
|
|
3722
|
-
projectId: string;
|
|
3723
3721
|
id: string;
|
|
3724
|
-
agentId: string;
|
|
3725
3722
|
createdAt: string;
|
|
3726
3723
|
updatedAt: string;
|
|
3724
|
+
projectId: string;
|
|
3725
|
+
tenantId: string;
|
|
3726
|
+
agentId: string;
|
|
3727
3727
|
status: string;
|
|
3728
3728
|
metadata: TaskMetadataConfig | null;
|
|
3729
3729
|
contextId: string;
|
|
@@ -3759,20 +3759,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
3759
3759
|
scopes: ProjectScopeConfig;
|
|
3760
3760
|
toolId: string;
|
|
3761
3761
|
}) => Promise<{
|
|
3762
|
-
tenantId: string;
|
|
3763
|
-
projectId: string;
|
|
3764
|
-
id: string;
|
|
3765
3762
|
name: string;
|
|
3766
|
-
|
|
3763
|
+
headers: Record<string, string> | null;
|
|
3767
3764
|
config: {
|
|
3768
3765
|
type: "mcp";
|
|
3769
3766
|
mcp: ToolMcpConfig;
|
|
3770
3767
|
};
|
|
3771
|
-
|
|
3768
|
+
id: string;
|
|
3769
|
+
description: string | null;
|
|
3772
3770
|
createdAt: string;
|
|
3773
3771
|
updatedAt: string;
|
|
3774
|
-
|
|
3772
|
+
projectId: string;
|
|
3773
|
+
tenantId: string;
|
|
3775
3774
|
capabilities: ToolServerCapabilities | null;
|
|
3775
|
+
credentialReferenceId: string | null;
|
|
3776
3776
|
imageUrl: string | null;
|
|
3777
3777
|
lastError: string | null;
|
|
3778
3778
|
} | null>;
|
|
@@ -3806,20 +3806,20 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
3806
3806
|
};
|
|
3807
3807
|
}>;
|
|
3808
3808
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
3809
|
-
tenantId: string;
|
|
3810
|
-
projectId: string;
|
|
3811
|
-
id: string;
|
|
3812
3809
|
name: string;
|
|
3813
|
-
|
|
3810
|
+
headers: Record<string, string> | null;
|
|
3814
3811
|
config: {
|
|
3815
3812
|
type: "mcp";
|
|
3816
3813
|
mcp: ToolMcpConfig;
|
|
3817
3814
|
};
|
|
3818
|
-
|
|
3815
|
+
id: string;
|
|
3816
|
+
description: string | null;
|
|
3819
3817
|
createdAt: string;
|
|
3820
3818
|
updatedAt: string;
|
|
3821
|
-
|
|
3819
|
+
projectId: string;
|
|
3820
|
+
tenantId: string;
|
|
3822
3821
|
capabilities: ToolServerCapabilities | null;
|
|
3822
|
+
credentialReferenceId: string | null;
|
|
3823
3823
|
imageUrl: string | null;
|
|
3824
3824
|
lastError: string | null;
|
|
3825
3825
|
}>;
|
|
@@ -3856,32 +3856,32 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
3856
3856
|
selectedTools?: string[] | null;
|
|
3857
3857
|
headers?: Record<string, string> | null;
|
|
3858
3858
|
}) => Promise<{
|
|
3859
|
-
|
|
3860
|
-
projectId: string;
|
|
3859
|
+
headers: Record<string, string> | null;
|
|
3861
3860
|
id: string;
|
|
3862
|
-
agentId: string;
|
|
3863
3861
|
createdAt: string;
|
|
3864
3862
|
updatedAt: string;
|
|
3865
|
-
|
|
3866
|
-
|
|
3863
|
+
projectId: string;
|
|
3864
|
+
tenantId: string;
|
|
3865
|
+
agentId: string;
|
|
3867
3866
|
selectedTools: string[] | null;
|
|
3868
3867
|
subAgentId: string;
|
|
3868
|
+
toolId: string;
|
|
3869
3869
|
}>;
|
|
3870
3870
|
declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
3871
3871
|
scopes: AgentScopeConfig;
|
|
3872
3872
|
subAgentId: string;
|
|
3873
3873
|
toolId: string;
|
|
3874
3874
|
}) => Promise<{
|
|
3875
|
-
|
|
3876
|
-
projectId: string;
|
|
3875
|
+
headers: Record<string, string> | null;
|
|
3877
3876
|
id: string;
|
|
3878
|
-
agentId: string;
|
|
3879
3877
|
createdAt: string;
|
|
3880
3878
|
updatedAt: string;
|
|
3881
|
-
|
|
3882
|
-
|
|
3879
|
+
projectId: string;
|
|
3880
|
+
tenantId: string;
|
|
3881
|
+
agentId: string;
|
|
3883
3882
|
selectedTools: string[] | null;
|
|
3884
3883
|
subAgentId: string;
|
|
3884
|
+
toolId: string;
|
|
3885
3885
|
}>;
|
|
3886
3886
|
/**
|
|
3887
3887
|
* Upsert agent-tool relation (create if it doesn't exist, update if it does)
|
|
@@ -3894,16 +3894,16 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3894
3894
|
headers?: Record<string, string> | null;
|
|
3895
3895
|
relationId?: string;
|
|
3896
3896
|
}) => Promise<{
|
|
3897
|
-
|
|
3898
|
-
projectId: string;
|
|
3897
|
+
headers: Record<string, string> | null;
|
|
3899
3898
|
id: string;
|
|
3900
|
-
agentId: string;
|
|
3901
3899
|
createdAt: string;
|
|
3902
3900
|
updatedAt: string;
|
|
3903
|
-
|
|
3904
|
-
|
|
3901
|
+
projectId: string;
|
|
3902
|
+
tenantId: string;
|
|
3903
|
+
agentId: string;
|
|
3905
3904
|
selectedTools: string[] | null;
|
|
3906
3905
|
subAgentId: string;
|
|
3906
|
+
toolId: string;
|
|
3907
3907
|
}>;
|
|
3908
3908
|
/**
|
|
3909
3909
|
* Upsert a tool (create if it doesn't exist, update if it does)
|
|
@@ -3911,20 +3911,20 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3911
3911
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
3912
3912
|
data: ToolInsert;
|
|
3913
3913
|
}) => Promise<{
|
|
3914
|
-
tenantId: string;
|
|
3915
|
-
projectId: string;
|
|
3916
|
-
id: string;
|
|
3917
3914
|
name: string;
|
|
3918
|
-
|
|
3915
|
+
headers: Record<string, string> | null;
|
|
3919
3916
|
config: {
|
|
3920
3917
|
type: "mcp";
|
|
3921
3918
|
mcp: ToolMcpConfig;
|
|
3922
3919
|
};
|
|
3923
|
-
|
|
3920
|
+
id: string;
|
|
3921
|
+
description: string | null;
|
|
3924
3922
|
createdAt: string;
|
|
3925
3923
|
updatedAt: string;
|
|
3926
|
-
|
|
3924
|
+
projectId: string;
|
|
3925
|
+
tenantId: string;
|
|
3927
3926
|
capabilities: ToolServerCapabilities | null;
|
|
3927
|
+
credentialReferenceId: string | null;
|
|
3928
3928
|
imageUrl: string | null;
|
|
3929
3929
|
lastError: string | null;
|
|
3930
3930
|
}>;
|
|
@@ -4110,7 +4110,7 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
|
|
|
4110
4110
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4111
4111
|
detail: z$1.ZodString;
|
|
4112
4112
|
title: z$1.ZodString;
|
|
4113
|
-
status: z$1.
|
|
4113
|
+
status: z$1.ZodNumber;
|
|
4114
4114
|
error: z$1.ZodObject<{
|
|
4115
4115
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4116
4116
|
message: z$1.ZodString;
|
|
@@ -4130,7 +4130,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4130
4130
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4131
4131
|
detail: z$1.ZodString;
|
|
4132
4132
|
title: z$1.ZodString;
|
|
4133
|
-
status: z$1.
|
|
4133
|
+
status: z$1.ZodNumber;
|
|
4134
4134
|
error: z$1.ZodObject<{
|
|
4135
4135
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4136
4136
|
message: z$1.ZodString;
|
|
@@ -4149,7 +4149,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4149
4149
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4150
4150
|
detail: z$1.ZodString;
|
|
4151
4151
|
title: z$1.ZodString;
|
|
4152
|
-
status: z$1.
|
|
4152
|
+
status: z$1.ZodNumber;
|
|
4153
4153
|
error: z$1.ZodObject<{
|
|
4154
4154
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4155
4155
|
message: z$1.ZodString;
|
|
@@ -4168,7 +4168,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4168
4168
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4169
4169
|
detail: z$1.ZodString;
|
|
4170
4170
|
title: z$1.ZodString;
|
|
4171
|
-
status: z$1.
|
|
4171
|
+
status: z$1.ZodNumber;
|
|
4172
4172
|
error: z$1.ZodObject<{
|
|
4173
4173
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4174
4174
|
message: z$1.ZodString;
|
|
@@ -4187,7 +4187,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4187
4187
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4188
4188
|
detail: z$1.ZodString;
|
|
4189
4189
|
title: z$1.ZodString;
|
|
4190
|
-
status: z$1.
|
|
4190
|
+
status: z$1.ZodNumber;
|
|
4191
4191
|
error: z$1.ZodObject<{
|
|
4192
4192
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4193
4193
|
message: z$1.ZodString;
|
|
@@ -4206,7 +4206,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4206
4206
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4207
4207
|
detail: z$1.ZodString;
|
|
4208
4208
|
title: z$1.ZodString;
|
|
4209
|
-
status: z$1.
|
|
4209
|
+
status: z$1.ZodNumber;
|
|
4210
4210
|
error: z$1.ZodObject<{
|
|
4211
4211
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4212
4212
|
message: z$1.ZodString;
|
|
@@ -4227,7 +4227,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4227
4227
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4228
4228
|
detail: z$1.ZodString;
|
|
4229
4229
|
title: z$1.ZodString;
|
|
4230
|
-
status: z$1.
|
|
4230
|
+
status: z$1.ZodNumber;
|
|
4231
4231
|
error: z$1.ZodObject<{
|
|
4232
4232
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4233
4233
|
message: z$1.ZodString;
|
|
@@ -4246,7 +4246,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4246
4246
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4247
4247
|
detail: z$1.ZodString;
|
|
4248
4248
|
title: z$1.ZodString;
|
|
4249
|
-
status: z$1.
|
|
4249
|
+
status: z$1.ZodNumber;
|
|
4250
4250
|
error: z$1.ZodObject<{
|
|
4251
4251
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4252
4252
|
message: z$1.ZodString;
|
|
@@ -4265,7 +4265,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4265
4265
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4266
4266
|
detail: z$1.ZodString;
|
|
4267
4267
|
title: z$1.ZodString;
|
|
4268
|
-
status: z$1.
|
|
4268
|
+
status: z$1.ZodNumber;
|
|
4269
4269
|
error: z$1.ZodObject<{
|
|
4270
4270
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4271
4271
|
message: z$1.ZodString;
|
|
@@ -4284,7 +4284,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4284
4284
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4285
4285
|
detail: z$1.ZodString;
|
|
4286
4286
|
title: z$1.ZodString;
|
|
4287
|
-
status: z$1.
|
|
4287
|
+
status: z$1.ZodNumber;
|
|
4288
4288
|
error: z$1.ZodObject<{
|
|
4289
4289
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4290
4290
|
message: z$1.ZodString;
|
|
@@ -4303,7 +4303,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4303
4303
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4304
4304
|
detail: z$1.ZodString;
|
|
4305
4305
|
title: z$1.ZodString;
|
|
4306
|
-
status: z$1.
|
|
4306
|
+
status: z$1.ZodNumber;
|
|
4307
4307
|
error: z$1.ZodObject<{
|
|
4308
4308
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4309
4309
|
message: z$1.ZodString;
|
|
@@ -4322,7 +4322,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4322
4322
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4323
4323
|
detail: z$1.ZodString;
|
|
4324
4324
|
title: z$1.ZodString;
|
|
4325
|
-
status: z$1.
|
|
4325
|
+
status: z$1.ZodNumber;
|
|
4326
4326
|
error: z$1.ZodObject<{
|
|
4327
4327
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4328
4328
|
message: z$1.ZodString;
|
|
@@ -4343,7 +4343,7 @@ declare const commonGetErrorResponses: {
|
|
|
4343
4343
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4344
4344
|
detail: z$1.ZodString;
|
|
4345
4345
|
title: z$1.ZodString;
|
|
4346
|
-
status: z$1.
|
|
4346
|
+
status: z$1.ZodNumber;
|
|
4347
4347
|
error: z$1.ZodObject<{
|
|
4348
4348
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4349
4349
|
message: z$1.ZodString;
|
|
@@ -4362,7 +4362,7 @@ declare const commonGetErrorResponses: {
|
|
|
4362
4362
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4363
4363
|
detail: z$1.ZodString;
|
|
4364
4364
|
title: z$1.ZodString;
|
|
4365
|
-
status: z$1.
|
|
4365
|
+
status: z$1.ZodNumber;
|
|
4366
4366
|
error: z$1.ZodObject<{
|
|
4367
4367
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4368
4368
|
message: z$1.ZodString;
|
|
@@ -4381,7 +4381,7 @@ declare const commonGetErrorResponses: {
|
|
|
4381
4381
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4382
4382
|
detail: z$1.ZodString;
|
|
4383
4383
|
title: z$1.ZodString;
|
|
4384
|
-
status: z$1.
|
|
4384
|
+
status: z$1.ZodNumber;
|
|
4385
4385
|
error: z$1.ZodObject<{
|
|
4386
4386
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4387
4387
|
message: z$1.ZodString;
|
|
@@ -4400,7 +4400,7 @@ declare const commonGetErrorResponses: {
|
|
|
4400
4400
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4401
4401
|
detail: z$1.ZodString;
|
|
4402
4402
|
title: z$1.ZodString;
|
|
4403
|
-
status: z$1.
|
|
4403
|
+
status: z$1.ZodNumber;
|
|
4404
4404
|
error: z$1.ZodObject<{
|
|
4405
4405
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4406
4406
|
message: z$1.ZodString;
|
|
@@ -4419,7 +4419,7 @@ declare const commonGetErrorResponses: {
|
|
|
4419
4419
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4420
4420
|
detail: z$1.ZodString;
|
|
4421
4421
|
title: z$1.ZodString;
|
|
4422
|
-
status: z$1.
|
|
4422
|
+
status: z$1.ZodNumber;
|
|
4423
4423
|
error: z$1.ZodObject<{
|
|
4424
4424
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4425
4425
|
message: z$1.ZodString;
|
|
@@ -4438,7 +4438,7 @@ declare const commonGetErrorResponses: {
|
|
|
4438
4438
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4439
4439
|
detail: z$1.ZodString;
|
|
4440
4440
|
title: z$1.ZodString;
|
|
4441
|
-
status: z$1.
|
|
4441
|
+
status: z$1.ZodNumber;
|
|
4442
4442
|
error: z$1.ZodObject<{
|
|
4443
4443
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4444
4444
|
message: z$1.ZodString;
|
|
@@ -4459,7 +4459,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4459
4459
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4460
4460
|
detail: z$1.ZodString;
|
|
4461
4461
|
title: z$1.ZodString;
|
|
4462
|
-
status: z$1.
|
|
4462
|
+
status: z$1.ZodNumber;
|
|
4463
4463
|
error: z$1.ZodObject<{
|
|
4464
4464
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4465
4465
|
message: z$1.ZodString;
|
|
@@ -4478,7 +4478,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4478
4478
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4479
4479
|
detail: z$1.ZodString;
|
|
4480
4480
|
title: z$1.ZodString;
|
|
4481
|
-
status: z$1.
|
|
4481
|
+
status: z$1.ZodNumber;
|
|
4482
4482
|
error: z$1.ZodObject<{
|
|
4483
4483
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4484
4484
|
message: z$1.ZodString;
|
|
@@ -4497,7 +4497,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4497
4497
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4498
4498
|
detail: z$1.ZodString;
|
|
4499
4499
|
title: z$1.ZodString;
|
|
4500
|
-
status: z$1.
|
|
4500
|
+
status: z$1.ZodNumber;
|
|
4501
4501
|
error: z$1.ZodObject<{
|
|
4502
4502
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4503
4503
|
message: z$1.ZodString;
|
|
@@ -4516,7 +4516,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4516
4516
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4517
4517
|
detail: z$1.ZodString;
|
|
4518
4518
|
title: z$1.ZodString;
|
|
4519
|
-
status: z$1.
|
|
4519
|
+
status: z$1.ZodNumber;
|
|
4520
4520
|
error: z$1.ZodObject<{
|
|
4521
4521
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4522
4522
|
message: z$1.ZodString;
|
|
@@ -4535,7 +4535,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4535
4535
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4536
4536
|
detail: z$1.ZodString;
|
|
4537
4537
|
title: z$1.ZodString;
|
|
4538
|
-
status: z$1.
|
|
4538
|
+
status: z$1.ZodNumber;
|
|
4539
4539
|
error: z$1.ZodObject<{
|
|
4540
4540
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4541
4541
|
message: z$1.ZodString;
|
|
@@ -4554,7 +4554,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4554
4554
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4555
4555
|
detail: z$1.ZodString;
|
|
4556
4556
|
title: z$1.ZodString;
|
|
4557
|
-
status: z$1.
|
|
4557
|
+
status: z$1.ZodNumber;
|
|
4558
4558
|
error: z$1.ZodObject<{
|
|
4559
4559
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4560
4560
|
message: z$1.ZodString;
|