@inkeep/agents-core 0.16.1 → 0.16.3
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-L53XWAYG.js → chunk-N43VFJD3.js} +1 -1
- package/dist/client-exports.d.cts +6 -6
- package/dist/client-exports.d.ts +6 -6
- package/dist/client-exports.js +2 -2
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/index.d.cts +228 -228
- package/dist/index.d.ts +228 -228
- package/dist/index.js +6 -6
- package/dist/{schema-BtdvdyOA.d.ts → schema-BQk_FMBV.d.ts} +1 -1
- package/dist/{schema-DVnfWYwH.d.cts → schema-Ct2NlO81.d.cts} +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- 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 +5 -1
- package/dist/{chunk-TO2HNKGP.js → chunk-72MXE5SX.js} +1 -1
- package/dist/{utility-BaVsvScm.d.cts → utility-s9c5CVOe.d.cts} +164 -164
- package/dist/{utility-BaVsvScm.d.ts → utility-s9c5CVOe.d.ts} +164 -164
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, h as MCPTransportType, t as MCPToolConfig, u as GraphScopeConfig, C as ConversationHistoryConfig, v as ProjectScopeConfig, w as PaginationConfig, x as AgentGraphInsert, y as AgentGraphUpdate, z as FullGraphDefinition, B as AgentScopeConfig, D as AgentRelationInsert, E as ExternalAgentRelationInsert, H as AgentRelationUpdate, I as AgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, J as AgentInsert, K as AgentUpdate, L as AgentSelect, N as ApiKeySelect, O as ApiKeyInsert, Q as ApiKeyUpdate, R as CreateApiKeyParams, U as ApiKeyCreateResult, V as ArtifactComponentSelect, W as ArtifactComponentInsert, X as ArtifactComponentUpdate, Y as ContextCacheSelect, Z as ContextCacheInsert, _ as ContextConfigInsert, $ as ContextConfigUpdate, a0 as ConversationSelect, a1 as ConversationInsert, o as ConversationMetadata, a2 as ConversationUpdate, a3 as CredentialReferenceSelect, a4 as ToolSelect, a5 as CredentialReferenceInsert, a6 as CredentialReferenceUpdate, a7 as DataComponentSelect, a8 as DataComponentInsert, a9 as DataComponentUpdate, aa as ExternalAgentInsert, ab as ExternalAgentSelect, ac as ExternalAgentUpdate, ad as FunctionApiInsert, ae as Artifact, af as LedgerArtifactSelect, q as MessageMetadata, p as MessageContent, ag as MessageVisibility, ah as MessageInsert, ai as MessageUpdate, aj as FullProjectDefinition, ak as ProjectInfo, al as ProjectSelect, am as PaginationResult, an as ProjectResourceCounts, ao as ProjectInsert, ap as ProjectUpdate, aq as TaskInsert, T as TaskMetadataConfig, ar as TaskSelect, as as McpTool, at as ToolInsert, au as ToolUpdate, g as CredentialStoreType, av as ExecutionContext } from './utility-
|
|
3
|
-
export { b7 as A2AError, bD as A2ARequest, bE as A2AResponse, aI as APIKeySecurityScheme, bI as AgentApiInsert, dG as AgentApiInsertSchema, bH as AgentApiSelect, dF as AgentApiSelectSchema, bJ as AgentApiUpdate, dH as AgentApiUpdateSchema, cG as AgentArtifactComponentApiInsert, eR as AgentArtifactComponentApiInsertSchema, cF as AgentArtifactComponentApiSelect, eQ as AgentArtifactComponentApiSelectSchema, cH as AgentArtifactComponentApiUpdate, eS as AgentArtifactComponentApiUpdateSchema, cD as AgentArtifactComponentInsert, eO as AgentArtifactComponentInsertSchema, cC as AgentArtifactComponentSelect, eN as AgentArtifactComponentSelectSchema, cE as AgentArtifactComponentUpdate, eP as AgentArtifactComponentUpdateSchema, aE as AgentCapabilities, aS as AgentCard, di as AgentConversationHistoryConfig, cx as AgentDataComponentApiInsert, eF as AgentDataComponentApiInsertSchema, cw as AgentDataComponentApiSelect, eE as AgentDataComponentApiSelectSchema, cy as AgentDataComponentApiUpdate, eG as AgentDataComponentApiUpdateSchema, cu as AgentDataComponentInsert, eC as AgentDataComponentInsertSchema, ct as AgentDataComponentSelect, eB as AgentDataComponentSelectSchema, cv as AgentDataComponentUpdate, eD as AgentDataComponentUpdateSchema, d3 as AgentDefinition, bS as AgentGraphApiInsert, dV as AgentGraphApiInsertSchema, bR as AgentGraphApiSelect, dU as AgentGraphApiSelectSchema, bT as AgentGraphApiUpdate, dW as AgentGraphApiUpdateSchema, dS as AgentGraphInsertSchema, bQ as AgentGraphSelect, dR as AgentGraphSelectSchema, dT as AgentGraphUpdateSchema, dD as AgentInsertSchema, aF as AgentProvider, bM as AgentRelationApiInsert, dM as AgentRelationApiInsertSchema, bL as AgentRelationApiSelect, dL as AgentRelationApiSelectSchema, bN as AgentRelationApiUpdate, dN as AgentRelationApiUpdateSchema, dJ as AgentRelationInsertSchema, bO as AgentRelationQuery, dO as AgentRelationQuerySchema, bK as AgentRelationSelect, dI as AgentRelationSelectSchema, dK as AgentRelationUpdateSchema, dC as AgentSelectSchema, aG as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, cV as AgentToolRelationApiInsert, fv as AgentToolRelationApiInsertSchema, cU as AgentToolRelationApiSelect, fu as AgentToolRelationApiSelectSchema, cW as AgentToolRelationApiUpdate, fw as AgentToolRelationApiUpdateSchema, cT as AgentToolRelationInsert, fs as AgentToolRelationInsertSchema, cS as AgentToolRelationSelect, fr as AgentToolRelationSelectSchema, ft as AgentToolRelationUpdateSchema, dE as AgentUpdateSchema, eZ as AllAgentSchema, cL as AllAgentSelect, cP as ApiKeyApiCreationResponse, f2 as ApiKeyApiCreationResponseSchema, cN as ApiKeyApiInsert, f3 as ApiKeyApiInsertSchema, cM as ApiKeyApiSelect, f1 as ApiKeyApiSelectSchema, cO as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, e$ as ApiKeyInsertSchema, e_ as ApiKeySelectSchema, f0 as ApiKeyUpdateSchema, cA as ArtifactComponentApiInsert, eL as ArtifactComponentApiInsertSchema, cz as ArtifactComponentApiSelect, eK as ArtifactComponentApiSelectSchema, cB as ArtifactComponentApiUpdate, eM as ArtifactComponentApiUpdateSchema, eI as ArtifactComponentInsertSchema, eH as ArtifactComponentSelectSchema, eJ as ArtifactComponentUpdateSchema, aL as AuthorizationCodeOAuthFlow, d1 as CanUseItem, fF as CanUseItemSchema, bn as CancelTaskRequest, by as CancelTaskResponse, bx as CancelTaskSuccessResponse, aM as ClientCredentialsOAuthFlow, b5 as ContentTypeNotSupportedError, co as ContextCacheApiInsert, es as ContextCacheApiInsertSchema, cn as ContextCacheApiSelect, er as ContextCacheApiSelectSchema, cp as ContextCacheApiUpdate, et as ContextCacheApiUpdateSchema, dj as ContextCacheEntry, ep as ContextCacheInsertSchema, eo as ContextCacheSelectSchema, cm as ContextCacheUpdate, eq as ContextCacheUpdateSchema, ci as ContextConfigApiInsert, fp as ContextConfigApiInsertSchema, ch as ContextConfigApiSelect, fo as ContextConfigApiSelectSchema, cj as ContextConfigApiUpdate, fq as ContextConfigApiUpdateSchema, fm as ContextConfigInsertSchema, fl as ContextConfigSelectSchema, fn as ContextConfigUpdateSchema, cb as ConversationApiInsert, eg as ConversationApiInsertSchema, ca as ConversationApiSelect, ef as ConversationApiSelectSchema, cc as ConversationApiUpdate, eh as ConversationApiUpdateSchema, ed as ConversationInsertSchema, dh as ConversationScopeOptions, ec as ConversationSelectSchema, ee as ConversationUpdateSchema, f8 as CredentialReferenceApiInsertSchema, cQ as CredentialReferenceApiSelect, f7 as CredentialReferenceApiSelectSchema, cR as CredentialReferenceApiUpdate, f9 as CredentialReferenceApiUpdateSchema, f5 as CredentialReferenceInsertSchema, f4 as CredentialReferenceSelectSchema, f6 as CredentialReferenceUpdateSchema, cr as DataComponentApiInsert, ez as DataComponentApiInsertSchema, cq as DataComponentApiSelect, ey as DataComponentApiSelectSchema, cs as DataComponentApiUpdate, eA as DataComponentApiUpdateSchema, ew as DataComponentBaseSchema, ev as DataComponentInsertSchema, eu as DataComponentSelectSchema, ex as DataComponentUpdateSchema, aC as DataPart, fL as ErrorResponseSchema, fM as ExistsResponseSchema, cJ as ExternalAgentApiInsert, eX as ExternalAgentApiInsertSchema, cI as ExternalAgentApiSelect, eW as ExternalAgentApiSelectSchema, cK as ExternalAgentApiUpdate, eY as ExternalAgentApiUpdateSchema, eU as ExternalAgentInsertSchema, bP as ExternalAgentRelationApiInsert, dQ as ExternalAgentRelationApiInsertSchema, dP as ExternalAgentRelationInsertSchema, eT as ExternalAgentSelectSchema, eV as ExternalAgentUpdateSchema, cl as FetchConfig, fj as FetchConfigSchema, ck as FetchDefinition, fk as FetchDefinitionSchema, ay as FileBase, aB as FilePart, az as FileWithBytes, aA as FileWithUri, d0 as FullGraphAgentInsert, a as FullGraphAgentInsertSchema, fG as FullGraphDefinitionSchema, fU as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, c8 as FunctionApiSelect, i as FunctionApiSelectSchema, c9 as FunctionApiUpdate, j as FunctionApiUpdateSchema, c6 as FunctionInsert, fh as FunctionInsertSchema, c5 as FunctionSelect, fg as FunctionSelectSchema, dB as FunctionToolConfig, dA as FunctionToolConfigSchema, c7 as FunctionUpdate, fi as FunctionUpdateSchema, bp as GetTaskPushNotificationConfigRequest, bC as GetTaskPushNotificationConfigResponse, bB as GetTaskPushNotificationConfigSuccessResponse, bm as GetTaskRequest, bw as GetTaskResponse, bv as GetTaskSuccessResponse, d as GraphStopWhen, G as GraphStopWhenSchema, fH as GraphWithinContextOfProjectSchema, aJ as HTTPAuthSecurityScheme, fV as HeadersScopeSchema, g0 as IdParamsSchema, aN as ImplicitOAuthFlow, d2 as InternalAgentDefinition, b0 as InternalError, b6 as InvalidAgentResponseError, a$ as InvalidParamsError, aZ as InvalidRequestError, aY as JSONParseError, bh as JSONRPCError, bj as JSONRPCErrorResponse, bf as JSONRPCMessage, bg as JSONRPCRequest, bi as JSONRPCResult, c_ as LedgerArtifactApiInsert, fB as LedgerArtifactApiInsertSchema, cZ as LedgerArtifactApiSelect, fA as LedgerArtifactApiSelectSchema, c$ as LedgerArtifactApiUpdate, fC as LedgerArtifactApiUpdateSchema, cX as LedgerArtifactInsert, fy as LedgerArtifactInsertSchema, fx as LedgerArtifactSelectSchema, cY as LedgerArtifactUpdate, fz as LedgerArtifactUpdateSchema, fJ as ListResponseSchema, du as MAX_ID_LENGTH, ds as MCPServerType, fb as MCPToolConfigSchema, dt as MIN_ID_LENGTH, dk as McpAuthType, dl as McpServerAuth, dn as McpServerCapabilities, dp as McpToolDefinition, e9 as McpToolDefinitionSchema, fa as McpToolSchema, dm as McpTransportConfig, e7 as McpTransportConfigSchema, aT as Message, cf as MessageApiInsert, em as MessageApiInsertSchema, ce as MessageApiSelect, el as MessageApiSelectSchema, cg as MessageApiUpdate, en as MessageApiUpdateSchema, ej as MessageInsertSchema, dc as MessageMode, bF as MessagePart, db as MessageRole, cd as MessageSelect, ei as MessageSelectSchema, bd as MessageSendConfiguration, be as MessageSendParams, da as MessageType, ek as MessageUpdateSchema, a_ as MethodNotFoundError, dx as ModelSchema, f as ModelSettings, M as ModelSettingsSchema, dd as Models, aP as OAuth2SecurityScheme, aK as OAuthFlows, aQ as OpenIdConnectSecurityScheme, d8 as Pagination, g1 as PaginationQueryParamsSchema, fI as PaginationSchema, P as Part, aw as PartBase, aO as PasswordOAuthFlow, d6 as ProjectApiInsert, fS as ProjectApiInsertSchema, d5 as ProjectApiSelect, fR as ProjectApiSelectSchema, d7 as ProjectApiUpdate, fT as ProjectApiUpdateSchema, fP as ProjectInsertSchema, dy as ProjectModelSchema, de as ProjectModels, fO as ProjectSelectSchema, fQ as ProjectUpdateSchema, b8 as PushNotificationAuthenticationInfo, b9 as PushNotificationConfig, b3 as PushNotificationNotSupportedError, fN as RemovedResponseSchema, dz as SandboxConfig, k as SandboxConfigSchema, aR as SecurityScheme, aH as SecuritySchemeBase, bk as SendMessageRequest, bs as SendMessageResponse, br as SendMessageSuccessResponse, bl as SendStreamingMessageRequest, bu as SendStreamingMessageResponse, bt as SendStreamingMessageSuccessResponse, bo as SetTaskPushNotificationConfigRequest, bA as SetTaskPushNotificationConfigResponse, bz as SetTaskPushNotificationConfigSuccessResponse, fK as SingleResponseSchema, dg as StatusComponent, fD as StatusComponentSchema, fE as StatusUpdateSchema, df as StatusUpdateSettings, c as StopWhen, S as StopWhenSchema, d9 as SummaryEvent, dq as TOOL_STATUS_VALUES, aV as Task, bW as TaskApiInsert, d$ as TaskApiInsertSchema, bV as TaskApiSelect, d_ as TaskApiSelectSchema, bX as TaskApiUpdate, e0 as TaskApiUpdateSchema, bG as TaskArtifact, aX as TaskArtifactUpdateEvent, bb as TaskIdParams, dY as TaskInsertSchema, b2 as TaskNotCancelableError, b1 as TaskNotFoundError, ba as TaskPushNotificationConfig, bc as TaskQueryParams, c0 as TaskRelationApiInsert, e5 as TaskRelationApiInsertSchema, b$ as TaskRelationApiSelect, e4 as TaskRelationApiSelectSchema, c1 as TaskRelationApiUpdate, e6 as TaskRelationApiUpdateSchema, bZ as TaskRelationInsert, e2 as TaskRelationInsertSchema, bY as TaskRelationSelect, e1 as TaskRelationSelectSchema, b_ as TaskRelationUpdate, e3 as TaskRelationUpdateSchema, bq as TaskResubscriptionRequest, dX as TaskSelectSchema, aD as TaskState, aU as TaskStatus, aW as TaskStatusUpdateEvent, bU as TaskUpdate, dZ as TaskUpdateSchema, f$ as TenantIdParamsSchema, fW as TenantParamsSchema, fZ as TenantProjectGraphIdParamsSchema, fY as TenantProjectGraphParamsSchema, f_ as TenantProjectIdParamsSchema, fX as TenantProjectParamsSchema, ax as TextPart, c3 as ToolApiInsert, fe as ToolApiInsertSchema, c2 as ToolApiSelect, fd as ToolApiSelectSchema, c4 as ToolApiUpdate, ff as ToolApiUpdateSchema, d4 as ToolDefinition, eb as ToolInsertSchema, ea as ToolSelectSchema, e8 as ToolStatusSchema, fc as ToolUpdateSchema, dv as URL_SAFE_ID_PATTERN, b4 as UnsupportedOperationError, dr as VALID_RELATION_TYPES, dw as resourceIdSchema } from './utility-BaVsvScm.cjs';
|
|
2
|
+
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, h as MCPTransportType, t as MCPToolConfig, u as GraphScopeConfig, C as ConversationHistoryConfig, v as ProjectScopeConfig, w as PaginationConfig, x as AgentGraphInsert, y as AgentGraphUpdate, z as FullGraphDefinition, B as AgentScopeConfig, D as AgentRelationInsert, E as ExternalAgentRelationInsert, H as AgentRelationUpdate, I as AgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, J as AgentInsert, K as AgentUpdate, L as AgentSelect, N as ApiKeySelect, O as ApiKeyInsert, Q as ApiKeyUpdate, R as CreateApiKeyParams, U as ApiKeyCreateResult, V as ArtifactComponentSelect, W as ArtifactComponentInsert, X as ArtifactComponentUpdate, Y as ContextCacheSelect, Z as ContextCacheInsert, _ as ContextConfigInsert, $ as ContextConfigUpdate, a0 as ConversationSelect, a1 as ConversationInsert, o as ConversationMetadata, a2 as ConversationUpdate, a3 as CredentialReferenceSelect, a4 as ToolSelect, a5 as CredentialReferenceInsert, a6 as CredentialReferenceUpdate, a7 as DataComponentSelect, a8 as DataComponentInsert, a9 as DataComponentUpdate, aa as ExternalAgentInsert, ab as ExternalAgentSelect, ac as ExternalAgentUpdate, ad as FunctionApiInsert, ae as Artifact, af as LedgerArtifactSelect, q as MessageMetadata, p as MessageContent, ag as MessageVisibility, ah as MessageInsert, ai as MessageUpdate, aj as FullProjectDefinition, ak as ProjectInfo, al as ProjectSelect, am as PaginationResult, an as ProjectResourceCounts, ao as ProjectInsert, ap as ProjectUpdate, aq as TaskInsert, T as TaskMetadataConfig, ar as TaskSelect, as as McpTool, at as ToolInsert, au as ToolUpdate, g as CredentialStoreType, av as ExecutionContext } from './utility-s9c5CVOe.cjs';
|
|
3
|
+
export { b7 as A2AError, bD as A2ARequest, bE as A2AResponse, aI as APIKeySecurityScheme, bI as AgentApiInsert, dG as AgentApiInsertSchema, bH as AgentApiSelect, dF as AgentApiSelectSchema, bJ as AgentApiUpdate, dH as AgentApiUpdateSchema, cG as AgentArtifactComponentApiInsert, eR as AgentArtifactComponentApiInsertSchema, cF as AgentArtifactComponentApiSelect, eQ as AgentArtifactComponentApiSelectSchema, cH as AgentArtifactComponentApiUpdate, eS as AgentArtifactComponentApiUpdateSchema, cD as AgentArtifactComponentInsert, eO as AgentArtifactComponentInsertSchema, cC as AgentArtifactComponentSelect, eN as AgentArtifactComponentSelectSchema, cE as AgentArtifactComponentUpdate, eP as AgentArtifactComponentUpdateSchema, aE as AgentCapabilities, aS as AgentCard, di as AgentConversationHistoryConfig, cx as AgentDataComponentApiInsert, eF as AgentDataComponentApiInsertSchema, cw as AgentDataComponentApiSelect, eE as AgentDataComponentApiSelectSchema, cy as AgentDataComponentApiUpdate, eG as AgentDataComponentApiUpdateSchema, cu as AgentDataComponentInsert, eC as AgentDataComponentInsertSchema, ct as AgentDataComponentSelect, eB as AgentDataComponentSelectSchema, cv as AgentDataComponentUpdate, eD as AgentDataComponentUpdateSchema, d3 as AgentDefinition, bS as AgentGraphApiInsert, dV as AgentGraphApiInsertSchema, bR as AgentGraphApiSelect, dU as AgentGraphApiSelectSchema, bT as AgentGraphApiUpdate, dW as AgentGraphApiUpdateSchema, dS as AgentGraphInsertSchema, bQ as AgentGraphSelect, dR as AgentGraphSelectSchema, dT as AgentGraphUpdateSchema, dD as AgentInsertSchema, aF as AgentProvider, bM as AgentRelationApiInsert, dM as AgentRelationApiInsertSchema, bL as AgentRelationApiSelect, dL as AgentRelationApiSelectSchema, bN as AgentRelationApiUpdate, dN as AgentRelationApiUpdateSchema, dJ as AgentRelationInsertSchema, bO as AgentRelationQuery, dO as AgentRelationQuerySchema, bK as AgentRelationSelect, dI as AgentRelationSelectSchema, dK as AgentRelationUpdateSchema, dC as AgentSelectSchema, aG as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, cV as AgentToolRelationApiInsert, fv as AgentToolRelationApiInsertSchema, cU as AgentToolRelationApiSelect, fu as AgentToolRelationApiSelectSchema, cW as AgentToolRelationApiUpdate, fw as AgentToolRelationApiUpdateSchema, cT as AgentToolRelationInsert, fs as AgentToolRelationInsertSchema, cS as AgentToolRelationSelect, fr as AgentToolRelationSelectSchema, ft as AgentToolRelationUpdateSchema, dE as AgentUpdateSchema, eZ as AllAgentSchema, cL as AllAgentSelect, cP as ApiKeyApiCreationResponse, f2 as ApiKeyApiCreationResponseSchema, cN as ApiKeyApiInsert, f3 as ApiKeyApiInsertSchema, cM as ApiKeyApiSelect, f1 as ApiKeyApiSelectSchema, cO as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, e$ as ApiKeyInsertSchema, e_ as ApiKeySelectSchema, f0 as ApiKeyUpdateSchema, cA as ArtifactComponentApiInsert, eL as ArtifactComponentApiInsertSchema, cz as ArtifactComponentApiSelect, eK as ArtifactComponentApiSelectSchema, cB as ArtifactComponentApiUpdate, eM as ArtifactComponentApiUpdateSchema, eI as ArtifactComponentInsertSchema, eH as ArtifactComponentSelectSchema, eJ as ArtifactComponentUpdateSchema, aL as AuthorizationCodeOAuthFlow, d1 as CanUseItem, fF as CanUseItemSchema, bn as CancelTaskRequest, by as CancelTaskResponse, bx as CancelTaskSuccessResponse, aM as ClientCredentialsOAuthFlow, b5 as ContentTypeNotSupportedError, co as ContextCacheApiInsert, es as ContextCacheApiInsertSchema, cn as ContextCacheApiSelect, er as ContextCacheApiSelectSchema, cp as ContextCacheApiUpdate, et as ContextCacheApiUpdateSchema, dj as ContextCacheEntry, ep as ContextCacheInsertSchema, eo as ContextCacheSelectSchema, cm as ContextCacheUpdate, eq as ContextCacheUpdateSchema, ci as ContextConfigApiInsert, fp as ContextConfigApiInsertSchema, ch as ContextConfigApiSelect, fo as ContextConfigApiSelectSchema, cj as ContextConfigApiUpdate, fq as ContextConfigApiUpdateSchema, fm as ContextConfigInsertSchema, fl as ContextConfigSelectSchema, fn as ContextConfigUpdateSchema, cb as ConversationApiInsert, eg as ConversationApiInsertSchema, ca as ConversationApiSelect, ef as ConversationApiSelectSchema, cc as ConversationApiUpdate, eh as ConversationApiUpdateSchema, ed as ConversationInsertSchema, dh as ConversationScopeOptions, ec as ConversationSelectSchema, ee as ConversationUpdateSchema, f8 as CredentialReferenceApiInsertSchema, cQ as CredentialReferenceApiSelect, f7 as CredentialReferenceApiSelectSchema, cR as CredentialReferenceApiUpdate, f9 as CredentialReferenceApiUpdateSchema, f5 as CredentialReferenceInsertSchema, f4 as CredentialReferenceSelectSchema, f6 as CredentialReferenceUpdateSchema, cr as DataComponentApiInsert, ez as DataComponentApiInsertSchema, cq as DataComponentApiSelect, ey as DataComponentApiSelectSchema, cs as DataComponentApiUpdate, eA as DataComponentApiUpdateSchema, ew as DataComponentBaseSchema, ev as DataComponentInsertSchema, eu as DataComponentSelectSchema, ex as DataComponentUpdateSchema, aC as DataPart, fL as ErrorResponseSchema, fM as ExistsResponseSchema, cJ as ExternalAgentApiInsert, eX as ExternalAgentApiInsertSchema, cI as ExternalAgentApiSelect, eW as ExternalAgentApiSelectSchema, cK as ExternalAgentApiUpdate, eY as ExternalAgentApiUpdateSchema, eU as ExternalAgentInsertSchema, bP as ExternalAgentRelationApiInsert, dQ as ExternalAgentRelationApiInsertSchema, dP as ExternalAgentRelationInsertSchema, eT as ExternalAgentSelectSchema, eV as ExternalAgentUpdateSchema, cl as FetchConfig, fj as FetchConfigSchema, ck as FetchDefinition, fk as FetchDefinitionSchema, ay as FileBase, aB as FilePart, az as FileWithBytes, aA as FileWithUri, d0 as FullGraphAgentInsert, a as FullGraphAgentInsertSchema, fG as FullGraphDefinitionSchema, fU as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, c8 as FunctionApiSelect, i as FunctionApiSelectSchema, c9 as FunctionApiUpdate, j as FunctionApiUpdateSchema, c6 as FunctionInsert, fh as FunctionInsertSchema, c5 as FunctionSelect, fg as FunctionSelectSchema, dB as FunctionToolConfig, dA as FunctionToolConfigSchema, c7 as FunctionUpdate, fi as FunctionUpdateSchema, bp as GetTaskPushNotificationConfigRequest, bC as GetTaskPushNotificationConfigResponse, bB as GetTaskPushNotificationConfigSuccessResponse, bm as GetTaskRequest, bw as GetTaskResponse, bv as GetTaskSuccessResponse, d as GraphStopWhen, G as GraphStopWhenSchema, fH as GraphWithinContextOfProjectSchema, aJ as HTTPAuthSecurityScheme, fV as HeadersScopeSchema, g0 as IdParamsSchema, aN as ImplicitOAuthFlow, d2 as InternalAgentDefinition, b0 as InternalError, b6 as InvalidAgentResponseError, a$ as InvalidParamsError, aZ as InvalidRequestError, aY as JSONParseError, bh as JSONRPCError, bj as JSONRPCErrorResponse, bf as JSONRPCMessage, bg as JSONRPCRequest, bi as JSONRPCResult, c_ as LedgerArtifactApiInsert, fB as LedgerArtifactApiInsertSchema, cZ as LedgerArtifactApiSelect, fA as LedgerArtifactApiSelectSchema, c$ as LedgerArtifactApiUpdate, fC as LedgerArtifactApiUpdateSchema, cX as LedgerArtifactInsert, fy as LedgerArtifactInsertSchema, fx as LedgerArtifactSelectSchema, cY as LedgerArtifactUpdate, fz as LedgerArtifactUpdateSchema, fJ as ListResponseSchema, du as MAX_ID_LENGTH, ds as MCPServerType, fb as MCPToolConfigSchema, dt as MIN_ID_LENGTH, dk as McpAuthType, dl as McpServerAuth, dn as McpServerCapabilities, dp as McpToolDefinition, e9 as McpToolDefinitionSchema, fa as McpToolSchema, dm as McpTransportConfig, e7 as McpTransportConfigSchema, aT as Message, cf as MessageApiInsert, em as MessageApiInsertSchema, ce as MessageApiSelect, el as MessageApiSelectSchema, cg as MessageApiUpdate, en as MessageApiUpdateSchema, ej as MessageInsertSchema, dc as MessageMode, bF as MessagePart, db as MessageRole, cd as MessageSelect, ei as MessageSelectSchema, bd as MessageSendConfiguration, be as MessageSendParams, da as MessageType, ek as MessageUpdateSchema, a_ as MethodNotFoundError, dx as ModelSchema, f as ModelSettings, M as ModelSettingsSchema, dd as Models, aP as OAuth2SecurityScheme, aK as OAuthFlows, aQ as OpenIdConnectSecurityScheme, d8 as Pagination, g1 as PaginationQueryParamsSchema, fI as PaginationSchema, P as Part, aw as PartBase, aO as PasswordOAuthFlow, d6 as ProjectApiInsert, fS as ProjectApiInsertSchema, d5 as ProjectApiSelect, fR as ProjectApiSelectSchema, d7 as ProjectApiUpdate, fT as ProjectApiUpdateSchema, fP as ProjectInsertSchema, dy as ProjectModelSchema, de as ProjectModels, fO as ProjectSelectSchema, fQ as ProjectUpdateSchema, b8 as PushNotificationAuthenticationInfo, b9 as PushNotificationConfig, b3 as PushNotificationNotSupportedError, fN as RemovedResponseSchema, dz as SandboxConfig, k as SandboxConfigSchema, aR as SecurityScheme, aH as SecuritySchemeBase, bk as SendMessageRequest, bs as SendMessageResponse, br as SendMessageSuccessResponse, bl as SendStreamingMessageRequest, bu as SendStreamingMessageResponse, bt as SendStreamingMessageSuccessResponse, bo as SetTaskPushNotificationConfigRequest, bA as SetTaskPushNotificationConfigResponse, bz as SetTaskPushNotificationConfigSuccessResponse, fK as SingleResponseSchema, dg as StatusComponent, fD as StatusComponentSchema, fE as StatusUpdateSchema, df as StatusUpdateSettings, c as StopWhen, S as StopWhenSchema, d9 as SummaryEvent, dq as TOOL_STATUS_VALUES, aV as Task, bW as TaskApiInsert, d$ as TaskApiInsertSchema, bV as TaskApiSelect, d_ as TaskApiSelectSchema, bX as TaskApiUpdate, e0 as TaskApiUpdateSchema, bG as TaskArtifact, aX as TaskArtifactUpdateEvent, bb as TaskIdParams, dY as TaskInsertSchema, b2 as TaskNotCancelableError, b1 as TaskNotFoundError, ba as TaskPushNotificationConfig, bc as TaskQueryParams, c0 as TaskRelationApiInsert, e5 as TaskRelationApiInsertSchema, b$ as TaskRelationApiSelect, e4 as TaskRelationApiSelectSchema, c1 as TaskRelationApiUpdate, e6 as TaskRelationApiUpdateSchema, bZ as TaskRelationInsert, e2 as TaskRelationInsertSchema, bY as TaskRelationSelect, e1 as TaskRelationSelectSchema, b_ as TaskRelationUpdate, e3 as TaskRelationUpdateSchema, bq as TaskResubscriptionRequest, dX as TaskSelectSchema, aD as TaskState, aU as TaskStatus, aW as TaskStatusUpdateEvent, bU as TaskUpdate, dZ as TaskUpdateSchema, f$ as TenantIdParamsSchema, fW as TenantParamsSchema, fZ as TenantProjectGraphIdParamsSchema, fY as TenantProjectGraphParamsSchema, f_ as TenantProjectIdParamsSchema, fX as TenantProjectParamsSchema, ax as TextPart, c3 as ToolApiInsert, fe as ToolApiInsertSchema, c2 as ToolApiSelect, fd as ToolApiSelectSchema, c4 as ToolApiUpdate, ff as ToolApiUpdateSchema, d4 as ToolDefinition, eb as ToolInsertSchema, ea as ToolSelectSchema, e8 as ToolStatusSchema, fc as ToolUpdateSchema, dv as URL_SAFE_ID_PATTERN, b4 as UnsupportedOperationError, dr as VALID_RELATION_TYPES, dw as resourceIdSchema } from './utility-s9c5CVOe.cjs';
|
|
4
4
|
import { CredentialStore } from './types/index.cjs';
|
|
5
5
|
export { CorsConfig, ServerConfig, ServerOptions } from './types/index.cjs';
|
|
6
6
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
7
|
-
import { s as schema } from './schema-
|
|
8
|
-
export { k as agentArtifactComponents, L as agentArtifactComponentsRelations, i as agentDataComponents, N as agentDataComponentsRelations, a as agentGraph, C as agentGraphRelations, e as agentRelations, Q as agentRelationsRelations, n as agentToolRelations, F as agentToolRelationsRelations, d as agents, B as agentsRelations, u as apiKeys, E as apiKeysRelations, j as artifactComponents, K as artifactComponentsRelations, b as contextCache, A as contextCacheRelations, c as contextConfigs, z as contextConfigsRelations, o as conversations, I as conversationsRelations, v as credentialReferences, G as credentialReferencesRelations, h as dataComponents, M as dataComponentsRelations, f as externalAgents, D as externalAgentsRelations, m as functions, P as functionsRelations, r as ledgerArtifacts, O as ledgerArtifactsRelations, q as messages, J as messagesRelations, p as projects, x as projectsRelations, g as taskRelations, y as taskRelationsRelations, t as tasks, w as tasksRelations, l as tools, H as toolsRelations } from './schema-
|
|
7
|
+
import { s as schema } from './schema-Ct2NlO81.cjs';
|
|
8
|
+
export { k as agentArtifactComponents, L as agentArtifactComponentsRelations, i as agentDataComponents, N as agentDataComponentsRelations, a as agentGraph, C as agentGraphRelations, e as agentRelations, Q as agentRelationsRelations, n as agentToolRelations, F as agentToolRelationsRelations, d as agents, B as agentsRelations, u as apiKeys, E as apiKeysRelations, j as artifactComponents, K as artifactComponentsRelations, b as contextCache, A as contextCacheRelations, c as contextConfigs, z as contextConfigsRelations, o as conversations, I as conversationsRelations, v as credentialReferences, G as credentialReferencesRelations, h as dataComponents, M as dataComponentsRelations, f as externalAgents, D as externalAgentsRelations, m as functions, P as functionsRelations, r as ledgerArtifacts, O as ledgerArtifactsRelations, q as messages, J as messagesRelations, p as projects, x as projectsRelations, g as taskRelations, y as taskRelationsRelations, t as tasks, w as tasksRelations, l as tools, H as toolsRelations } from './schema-Ct2NlO81.cjs';
|
|
9
9
|
import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
|
|
10
10
|
import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
11
11
|
import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
@@ -824,13 +824,13 @@ declare class CredentialStuffer {
|
|
|
824
824
|
declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
825
825
|
scopes: GraphScopeConfig;
|
|
826
826
|
}) => Promise<{
|
|
827
|
-
|
|
827
|
+
tenantId: string;
|
|
828
|
+
projectId: string;
|
|
828
829
|
id: string;
|
|
830
|
+
name: string;
|
|
831
|
+
description: string | null;
|
|
829
832
|
createdAt: string;
|
|
830
833
|
updatedAt: string;
|
|
831
|
-
projectId: string;
|
|
832
|
-
tenantId: string;
|
|
833
|
-
description: string | null;
|
|
834
834
|
models: {
|
|
835
835
|
base?: {
|
|
836
836
|
model?: string | undefined;
|
|
@@ -870,13 +870,13 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
|
870
870
|
declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
871
871
|
scopes: GraphScopeConfig;
|
|
872
872
|
}) => Promise<{
|
|
873
|
-
|
|
873
|
+
tenantId: string;
|
|
874
|
+
projectId: string;
|
|
874
875
|
id: string;
|
|
876
|
+
name: string;
|
|
877
|
+
description: string | null;
|
|
875
878
|
createdAt: string;
|
|
876
879
|
updatedAt: string;
|
|
877
|
-
projectId: string;
|
|
878
|
-
tenantId: string;
|
|
879
|
-
description: string | null;
|
|
880
880
|
models: {
|
|
881
881
|
base?: {
|
|
882
882
|
model?: string | undefined;
|
|
@@ -913,13 +913,15 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
913
913
|
} | null;
|
|
914
914
|
graphPrompt: string | null;
|
|
915
915
|
defaultAgent: {
|
|
916
|
-
|
|
916
|
+
tenantId: string;
|
|
917
|
+
projectId: string;
|
|
917
918
|
id: string;
|
|
919
|
+
name: string;
|
|
920
|
+
description: string;
|
|
921
|
+
prompt: string;
|
|
922
|
+
graphId: string;
|
|
918
923
|
createdAt: string;
|
|
919
924
|
updatedAt: string;
|
|
920
|
-
projectId: string;
|
|
921
|
-
tenantId: string;
|
|
922
|
-
description: string;
|
|
923
925
|
models: {
|
|
924
926
|
base?: {
|
|
925
927
|
model?: string | undefined;
|
|
@@ -937,21 +939,19 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
937
939
|
stopWhen: {
|
|
938
940
|
stepCountIs?: number | undefined;
|
|
939
941
|
} | null;
|
|
940
|
-
graphId: string;
|
|
941
|
-
prompt: string;
|
|
942
942
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
943
943
|
} | null;
|
|
944
944
|
} | null>;
|
|
945
945
|
declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
946
946
|
scopes: ProjectScopeConfig;
|
|
947
947
|
}) => Promise<{
|
|
948
|
-
|
|
948
|
+
tenantId: string;
|
|
949
|
+
projectId: string;
|
|
949
950
|
id: string;
|
|
951
|
+
name: string;
|
|
952
|
+
description: string | null;
|
|
950
953
|
createdAt: string;
|
|
951
954
|
updatedAt: string;
|
|
952
|
-
projectId: string;
|
|
953
|
-
tenantId: string;
|
|
954
|
-
description: string | null;
|
|
955
955
|
models: {
|
|
956
956
|
base?: {
|
|
957
957
|
model?: string | undefined;
|
|
@@ -1044,13 +1044,13 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1044
1044
|
};
|
|
1045
1045
|
}>;
|
|
1046
1046
|
declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
|
|
1047
|
-
|
|
1047
|
+
tenantId: string;
|
|
1048
|
+
projectId: string;
|
|
1048
1049
|
id: string;
|
|
1050
|
+
name: string;
|
|
1051
|
+
description: string | null;
|
|
1049
1052
|
createdAt: string;
|
|
1050
1053
|
updatedAt: string;
|
|
1051
|
-
projectId: string;
|
|
1052
|
-
tenantId: string;
|
|
1053
|
-
description: string | null;
|
|
1054
1054
|
models: {
|
|
1055
1055
|
base?: {
|
|
1056
1056
|
model?: string | undefined;
|
|
@@ -1091,13 +1091,13 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
1091
1091
|
scopes: GraphScopeConfig;
|
|
1092
1092
|
data: AgentGraphUpdate;
|
|
1093
1093
|
}) => Promise<{
|
|
1094
|
-
|
|
1094
|
+
tenantId: string;
|
|
1095
|
+
projectId: string;
|
|
1095
1096
|
id: string;
|
|
1097
|
+
name: string;
|
|
1098
|
+
description: string | null;
|
|
1096
1099
|
createdAt: string;
|
|
1097
1100
|
updatedAt: string;
|
|
1098
|
-
projectId: string;
|
|
1099
|
-
tenantId: string;
|
|
1100
|
-
description: string | null;
|
|
1101
1101
|
models: {
|
|
1102
1102
|
base?: {
|
|
1103
1103
|
model?: string | undefined;
|
|
@@ -1170,12 +1170,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
1170
1170
|
scopes: GraphScopeConfig;
|
|
1171
1171
|
relationId: string;
|
|
1172
1172
|
}) => Promise<{
|
|
1173
|
+
tenantId: string;
|
|
1174
|
+
projectId: string;
|
|
1173
1175
|
id: string;
|
|
1176
|
+
graphId: string;
|
|
1174
1177
|
createdAt: string;
|
|
1175
1178
|
updatedAt: string;
|
|
1176
|
-
projectId: string;
|
|
1177
|
-
tenantId: string;
|
|
1178
|
-
graphId: string;
|
|
1179
1179
|
sourceAgentId: string;
|
|
1180
1180
|
targetAgentId: string | null;
|
|
1181
1181
|
externalAgentId: string | null;
|
|
@@ -1207,12 +1207,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
1207
1207
|
declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
1208
1208
|
scopes: AgentScopeConfig;
|
|
1209
1209
|
}) => Promise<{
|
|
1210
|
+
tenantId: string;
|
|
1211
|
+
projectId: string;
|
|
1210
1212
|
id: string;
|
|
1213
|
+
graphId: string;
|
|
1211
1214
|
createdAt: string;
|
|
1212
1215
|
updatedAt: string;
|
|
1213
|
-
projectId: string;
|
|
1214
|
-
tenantId: string;
|
|
1215
|
-
graphId: string;
|
|
1216
1216
|
sourceAgentId: string;
|
|
1217
1217
|
targetAgentId: string | null;
|
|
1218
1218
|
externalAgentId: string | null;
|
|
@@ -1221,12 +1221,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
1221
1221
|
declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
|
|
1222
1222
|
scopes: GraphScopeConfig;
|
|
1223
1223
|
}) => Promise<{
|
|
1224
|
+
tenantId: string;
|
|
1225
|
+
projectId: string;
|
|
1224
1226
|
id: string;
|
|
1227
|
+
graphId: string;
|
|
1225
1228
|
createdAt: string;
|
|
1226
1229
|
updatedAt: string;
|
|
1227
|
-
projectId: string;
|
|
1228
|
-
tenantId: string;
|
|
1229
|
-
graphId: string;
|
|
1230
1230
|
sourceAgentId: string;
|
|
1231
1231
|
targetAgentId: string | null;
|
|
1232
1232
|
externalAgentId: string | null;
|
|
@@ -1326,12 +1326,12 @@ declare const getRelatedAgentsForGraph: (db: DatabaseClient) => (params: {
|
|
|
1326
1326
|
}[];
|
|
1327
1327
|
}>;
|
|
1328
1328
|
declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
|
|
1329
|
+
tenantId: string;
|
|
1330
|
+
projectId: string;
|
|
1329
1331
|
id: string;
|
|
1332
|
+
graphId: string;
|
|
1330
1333
|
createdAt: string;
|
|
1331
1334
|
updatedAt: string;
|
|
1332
|
-
projectId: string;
|
|
1333
|
-
tenantId: string;
|
|
1334
|
-
graphId: string;
|
|
1335
1335
|
sourceAgentId: string;
|
|
1336
1336
|
targetAgentId: string | null;
|
|
1337
1337
|
externalAgentId: string | null;
|
|
@@ -1347,12 +1347,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
1347
1347
|
externalAgentId?: string;
|
|
1348
1348
|
relationType: string;
|
|
1349
1349
|
}) => Promise<{
|
|
1350
|
+
tenantId: string;
|
|
1351
|
+
projectId: string;
|
|
1350
1352
|
id: string;
|
|
1353
|
+
graphId: string;
|
|
1351
1354
|
createdAt: string;
|
|
1352
1355
|
updatedAt: string;
|
|
1353
|
-
projectId: string;
|
|
1354
|
-
tenantId: string;
|
|
1355
|
-
graphId: string;
|
|
1356
1356
|
sourceAgentId: string;
|
|
1357
1357
|
targetAgentId: string | null;
|
|
1358
1358
|
externalAgentId: string | null;
|
|
@@ -1362,24 +1362,24 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
1362
1362
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
1363
1363
|
*/
|
|
1364
1364
|
declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
|
|
1365
|
+
tenantId: string;
|
|
1366
|
+
projectId: string;
|
|
1365
1367
|
id: string;
|
|
1368
|
+
graphId: string;
|
|
1366
1369
|
createdAt: string;
|
|
1367
1370
|
updatedAt: string;
|
|
1368
|
-
projectId: string;
|
|
1369
|
-
tenantId: string;
|
|
1370
|
-
graphId: string;
|
|
1371
1371
|
sourceAgentId: string;
|
|
1372
1372
|
targetAgentId: string | null;
|
|
1373
1373
|
externalAgentId: string | null;
|
|
1374
1374
|
relationType: string | null;
|
|
1375
1375
|
}>;
|
|
1376
1376
|
declare const createExternalAgentRelation: (db: DatabaseClient) => (params: ExternalAgentRelationInsert) => Promise<{
|
|
1377
|
+
tenantId: string;
|
|
1378
|
+
projectId: string;
|
|
1377
1379
|
id: string;
|
|
1380
|
+
graphId: string;
|
|
1378
1381
|
createdAt: string;
|
|
1379
1382
|
updatedAt: string;
|
|
1380
|
-
projectId: string;
|
|
1381
|
-
tenantId: string;
|
|
1382
|
-
graphId: string;
|
|
1383
1383
|
sourceAgentId: string;
|
|
1384
1384
|
targetAgentId: string | null;
|
|
1385
1385
|
externalAgentId: string | null;
|
|
@@ -1390,12 +1390,12 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
|
|
|
1390
1390
|
relationId: string;
|
|
1391
1391
|
data: AgentRelationUpdate;
|
|
1392
1392
|
}) => Promise<{
|
|
1393
|
+
tenantId: string;
|
|
1394
|
+
projectId: string;
|
|
1393
1395
|
id: string;
|
|
1396
|
+
graphId: string;
|
|
1394
1397
|
createdAt: string;
|
|
1395
1398
|
updatedAt: string;
|
|
1396
|
-
projectId: string;
|
|
1397
|
-
tenantId: string;
|
|
1398
|
-
graphId: string;
|
|
1399
1399
|
sourceAgentId: string;
|
|
1400
1400
|
targetAgentId: string | null;
|
|
1401
1401
|
externalAgentId: string | null;
|
|
@@ -1418,32 +1418,32 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
1418
1418
|
headers?: Record<string, string> | null;
|
|
1419
1419
|
};
|
|
1420
1420
|
}) => Promise<{
|
|
1421
|
-
|
|
1421
|
+
tenantId: string;
|
|
1422
|
+
projectId: string;
|
|
1422
1423
|
id: string;
|
|
1424
|
+
graphId: string;
|
|
1423
1425
|
createdAt: string;
|
|
1424
1426
|
updatedAt: string;
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
graphId: string;
|
|
1427
|
+
headers: Record<string, string> | null;
|
|
1428
|
+
toolId: string;
|
|
1428
1429
|
selectedTools: string[] | null;
|
|
1429
1430
|
agentId: string;
|
|
1430
|
-
toolId: string;
|
|
1431
1431
|
}>;
|
|
1432
1432
|
declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
1433
1433
|
scopes: GraphScopeConfig;
|
|
1434
1434
|
relationId: string;
|
|
1435
1435
|
data: AgentToolRelationUpdate;
|
|
1436
1436
|
}) => Promise<{
|
|
1437
|
-
|
|
1437
|
+
tenantId: string;
|
|
1438
|
+
projectId: string;
|
|
1438
1439
|
id: string;
|
|
1440
|
+
graphId: string;
|
|
1439
1441
|
createdAt: string;
|
|
1440
1442
|
updatedAt: string;
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
graphId: string;
|
|
1443
|
+
headers: Record<string, string> | null;
|
|
1444
|
+
toolId: string;
|
|
1444
1445
|
selectedTools: string[] | null;
|
|
1445
1446
|
agentId: string;
|
|
1446
|
-
toolId: string;
|
|
1447
1447
|
}>;
|
|
1448
1448
|
declare const deleteAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
1449
1449
|
scopes: GraphScopeConfig;
|
|
@@ -1456,16 +1456,16 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
1456
1456
|
scopes: AgentScopeConfig;
|
|
1457
1457
|
relationId: string;
|
|
1458
1458
|
}) => Promise<{
|
|
1459
|
-
|
|
1459
|
+
tenantId: string;
|
|
1460
|
+
projectId: string;
|
|
1460
1461
|
id: string;
|
|
1462
|
+
graphId: string;
|
|
1461
1463
|
createdAt: string;
|
|
1462
1464
|
updatedAt: string;
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
graphId: string;
|
|
1465
|
+
headers: Record<string, string> | null;
|
|
1466
|
+
toolId: string;
|
|
1466
1467
|
selectedTools: string[] | null;
|
|
1467
1468
|
agentId: string;
|
|
1468
|
-
toolId: string;
|
|
1469
1469
|
} | undefined>;
|
|
1470
1470
|
declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
1471
1471
|
scopes: AgentScopeConfig;
|
|
@@ -1643,13 +1643,15 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1643
1643
|
scopes: GraphScopeConfig;
|
|
1644
1644
|
agentId: string;
|
|
1645
1645
|
}) => Promise<{
|
|
1646
|
-
|
|
1646
|
+
tenantId: string;
|
|
1647
|
+
projectId: string;
|
|
1647
1648
|
id: string;
|
|
1649
|
+
name: string;
|
|
1650
|
+
description: string;
|
|
1651
|
+
prompt: string;
|
|
1652
|
+
graphId: string;
|
|
1648
1653
|
createdAt: string;
|
|
1649
1654
|
updatedAt: string;
|
|
1650
|
-
projectId: string;
|
|
1651
|
-
tenantId: string;
|
|
1652
|
-
description: string;
|
|
1653
1655
|
models: {
|
|
1654
1656
|
base?: {
|
|
1655
1657
|
model?: string | undefined;
|
|
@@ -1667,20 +1669,20 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1667
1669
|
stopWhen: {
|
|
1668
1670
|
stepCountIs?: number | undefined;
|
|
1669
1671
|
} | null;
|
|
1670
|
-
graphId: string;
|
|
1671
|
-
prompt: string;
|
|
1672
1672
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1673
1673
|
} | undefined>;
|
|
1674
1674
|
declare const listAgents: (db: DatabaseClient) => (params: {
|
|
1675
1675
|
scopes: GraphScopeConfig;
|
|
1676
1676
|
}) => Promise<{
|
|
1677
|
-
|
|
1677
|
+
tenantId: string;
|
|
1678
|
+
projectId: string;
|
|
1678
1679
|
id: string;
|
|
1680
|
+
name: string;
|
|
1681
|
+
description: string;
|
|
1682
|
+
prompt: string;
|
|
1683
|
+
graphId: string;
|
|
1679
1684
|
createdAt: string;
|
|
1680
1685
|
updatedAt: string;
|
|
1681
|
-
projectId: string;
|
|
1682
|
-
tenantId: string;
|
|
1683
|
-
description: string;
|
|
1684
1686
|
models: {
|
|
1685
1687
|
base?: {
|
|
1686
1688
|
model?: string | undefined;
|
|
@@ -1698,8 +1700,6 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
1698
1700
|
stopWhen: {
|
|
1699
1701
|
stepCountIs?: number | undefined;
|
|
1700
1702
|
} | null;
|
|
1701
|
-
graphId: string;
|
|
1702
|
-
prompt: string;
|
|
1703
1703
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1704
1704
|
}[]>;
|
|
1705
1705
|
declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
@@ -1743,13 +1743,15 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1743
1743
|
};
|
|
1744
1744
|
}>;
|
|
1745
1745
|
declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
|
|
1746
|
-
|
|
1746
|
+
tenantId: string;
|
|
1747
|
+
projectId: string;
|
|
1747
1748
|
id: string;
|
|
1749
|
+
name: string;
|
|
1750
|
+
description: string;
|
|
1751
|
+
prompt: string;
|
|
1752
|
+
graphId: string;
|
|
1748
1753
|
createdAt: string;
|
|
1749
1754
|
updatedAt: string;
|
|
1750
|
-
projectId: string;
|
|
1751
|
-
tenantId: string;
|
|
1752
|
-
description: string;
|
|
1753
1755
|
models: {
|
|
1754
1756
|
base?: {
|
|
1755
1757
|
model?: string | undefined;
|
|
@@ -1767,8 +1769,6 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
|
|
|
1767
1769
|
stopWhen: {
|
|
1768
1770
|
stepCountIs?: number | undefined;
|
|
1769
1771
|
} | null;
|
|
1770
|
-
graphId: string;
|
|
1771
|
-
prompt: string;
|
|
1772
1772
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1773
1773
|
}>;
|
|
1774
1774
|
declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
@@ -1776,13 +1776,15 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
|
1776
1776
|
agentId: string;
|
|
1777
1777
|
data: AgentUpdate;
|
|
1778
1778
|
}) => Promise<{
|
|
1779
|
-
|
|
1779
|
+
tenantId: string;
|
|
1780
|
+
projectId: string;
|
|
1780
1781
|
id: string;
|
|
1782
|
+
name: string;
|
|
1783
|
+
description: string;
|
|
1784
|
+
prompt: string;
|
|
1785
|
+
graphId: string;
|
|
1781
1786
|
createdAt: string;
|
|
1782
1787
|
updatedAt: string;
|
|
1783
|
-
projectId: string;
|
|
1784
|
-
tenantId: string;
|
|
1785
|
-
description: string;
|
|
1786
1788
|
models: {
|
|
1787
1789
|
base?: {
|
|
1788
1790
|
model?: string | undefined;
|
|
@@ -1800,8 +1802,6 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
|
1800
1802
|
stopWhen: {
|
|
1801
1803
|
stepCountIs?: number | undefined;
|
|
1802
1804
|
} | null;
|
|
1803
|
-
graphId: string;
|
|
1804
|
-
prompt: string;
|
|
1805
1805
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1806
1806
|
}>;
|
|
1807
1807
|
/**
|
|
@@ -1851,49 +1851,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
1851
1851
|
scopes: ProjectScopeConfig;
|
|
1852
1852
|
id: string;
|
|
1853
1853
|
}) => Promise<{
|
|
1854
|
-
name: string | null;
|
|
1855
|
-
id: string;
|
|
1856
|
-
createdAt: string;
|
|
1857
|
-
updatedAt: string;
|
|
1858
|
-
projectId: string;
|
|
1859
1854
|
tenantId: string;
|
|
1855
|
+
projectId: string;
|
|
1856
|
+
id: string;
|
|
1857
|
+
name: string | null;
|
|
1860
1858
|
graphId: string;
|
|
1861
1859
|
publicId: string;
|
|
1862
1860
|
keyHash: string;
|
|
1863
1861
|
keyPrefix: string;
|
|
1864
1862
|
lastUsedAt: string | null;
|
|
1865
1863
|
expiresAt: string | null;
|
|
1866
|
-
} | undefined>;
|
|
1867
|
-
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1868
|
-
name: string | null;
|
|
1869
|
-
id: string;
|
|
1870
1864
|
createdAt: string;
|
|
1871
1865
|
updatedAt: string;
|
|
1872
|
-
|
|
1866
|
+
} | undefined>;
|
|
1867
|
+
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1873
1868
|
tenantId: string;
|
|
1869
|
+
projectId: string;
|
|
1870
|
+
id: string;
|
|
1871
|
+
name: string | null;
|
|
1874
1872
|
graphId: string;
|
|
1875
1873
|
publicId: string;
|
|
1876
1874
|
keyHash: string;
|
|
1877
1875
|
keyPrefix: string;
|
|
1878
1876
|
lastUsedAt: string | null;
|
|
1879
1877
|
expiresAt: string | null;
|
|
1878
|
+
createdAt: string;
|
|
1879
|
+
updatedAt: string;
|
|
1880
1880
|
} | undefined>;
|
|
1881
1881
|
declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
1882
1882
|
scopes: ProjectScopeConfig;
|
|
1883
1883
|
graphId?: string;
|
|
1884
1884
|
}) => Promise<{
|
|
1885
|
-
name: string | null;
|
|
1886
|
-
id: string;
|
|
1887
|
-
createdAt: string;
|
|
1888
|
-
updatedAt: string;
|
|
1889
|
-
projectId: string;
|
|
1890
1885
|
tenantId: string;
|
|
1886
|
+
projectId: string;
|
|
1887
|
+
id: string;
|
|
1888
|
+
name: string | null;
|
|
1891
1889
|
graphId: string;
|
|
1892
1890
|
publicId: string;
|
|
1893
1891
|
keyHash: string;
|
|
1894
1892
|
keyPrefix: string;
|
|
1895
1893
|
lastUsedAt: string | null;
|
|
1896
1894
|
expiresAt: string | null;
|
|
1895
|
+
createdAt: string;
|
|
1896
|
+
updatedAt: string;
|
|
1897
1897
|
}[]>;
|
|
1898
1898
|
declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
1899
1899
|
scopes: ProjectScopeConfig;
|
|
@@ -1909,36 +1909,36 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
|
1909
1909
|
};
|
|
1910
1910
|
}>;
|
|
1911
1911
|
declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
1912
|
-
name: string | null;
|
|
1913
|
-
id: string;
|
|
1914
|
-
createdAt: string;
|
|
1915
|
-
updatedAt: string;
|
|
1916
|
-
projectId: string;
|
|
1917
1912
|
tenantId: string;
|
|
1913
|
+
projectId: string;
|
|
1914
|
+
id: string;
|
|
1915
|
+
name: string | null;
|
|
1918
1916
|
graphId: string;
|
|
1919
1917
|
publicId: string;
|
|
1920
1918
|
keyHash: string;
|
|
1921
1919
|
keyPrefix: string;
|
|
1922
1920
|
lastUsedAt: string | null;
|
|
1923
1921
|
expiresAt: string | null;
|
|
1922
|
+
createdAt: string;
|
|
1923
|
+
updatedAt: string;
|
|
1924
1924
|
}>;
|
|
1925
1925
|
declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
1926
1926
|
scopes: ProjectScopeConfig;
|
|
1927
1927
|
id: string;
|
|
1928
1928
|
data: ApiKeyUpdate;
|
|
1929
1929
|
}) => Promise<{
|
|
1930
|
-
name: string | null;
|
|
1931
|
-
id: string;
|
|
1932
|
-
createdAt: string;
|
|
1933
|
-
updatedAt: string;
|
|
1934
|
-
projectId: string;
|
|
1935
1930
|
tenantId: string;
|
|
1931
|
+
projectId: string;
|
|
1932
|
+
id: string;
|
|
1933
|
+
name: string | null;
|
|
1936
1934
|
graphId: string;
|
|
1937
1935
|
publicId: string;
|
|
1938
1936
|
keyHash: string;
|
|
1939
1937
|
keyPrefix: string;
|
|
1940
1938
|
lastUsedAt: string | null;
|
|
1941
1939
|
expiresAt: string | null;
|
|
1940
|
+
createdAt: string;
|
|
1941
|
+
updatedAt: string;
|
|
1942
1942
|
}>;
|
|
1943
1943
|
declare const deleteApiKey: (db: DatabaseClient) => (params: {
|
|
1944
1944
|
scopes: ProjectScopeConfig;
|
|
@@ -1967,13 +1967,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
1967
1967
|
scopes: ProjectScopeConfig;
|
|
1968
1968
|
id: string;
|
|
1969
1969
|
}) => Promise<{
|
|
1970
|
-
|
|
1970
|
+
tenantId: string;
|
|
1971
|
+
projectId: string;
|
|
1971
1972
|
id: string;
|
|
1973
|
+
name: string;
|
|
1974
|
+
description: string;
|
|
1972
1975
|
createdAt: string;
|
|
1973
1976
|
updatedAt: string;
|
|
1974
|
-
projectId: string;
|
|
1975
|
-
tenantId: string;
|
|
1976
|
-
description: string;
|
|
1977
1977
|
props: Record<string, unknown> | null;
|
|
1978
1978
|
} | undefined>;
|
|
1979
1979
|
declare const listArtifactComponents: (db: DatabaseClient) => (params: {
|
|
@@ -2001,13 +2001,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
|
|
|
2001
2001
|
};
|
|
2002
2002
|
}>;
|
|
2003
2003
|
declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
|
|
2004
|
-
|
|
2004
|
+
tenantId: string;
|
|
2005
|
+
projectId: string;
|
|
2005
2006
|
id: string;
|
|
2007
|
+
name: string;
|
|
2008
|
+
description: string;
|
|
2006
2009
|
createdAt: string;
|
|
2007
2010
|
updatedAt: string;
|
|
2008
|
-
projectId: string;
|
|
2009
|
-
tenantId: string;
|
|
2010
|
-
description: string;
|
|
2011
2011
|
props: Record<string, unknown> | null;
|
|
2012
2012
|
}>;
|
|
2013
2013
|
declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
@@ -2015,13 +2015,13 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
|
2015
2015
|
id: string;
|
|
2016
2016
|
data: ArtifactComponentUpdate;
|
|
2017
2017
|
}) => Promise<{
|
|
2018
|
-
|
|
2018
|
+
tenantId: string;
|
|
2019
|
+
projectId: string;
|
|
2019
2020
|
id: string;
|
|
2021
|
+
name: string;
|
|
2022
|
+
description: string;
|
|
2020
2023
|
createdAt: string;
|
|
2021
2024
|
updatedAt: string;
|
|
2022
|
-
projectId: string;
|
|
2023
|
-
tenantId: string;
|
|
2024
|
-
description: string;
|
|
2025
2025
|
props: Record<string, unknown> | null;
|
|
2026
2026
|
}>;
|
|
2027
2027
|
declare const deleteArtifactComponent: (db: DatabaseClient) => (params: {
|
|
@@ -2044,11 +2044,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
|
|
|
2044
2044
|
scopes: AgentScopeConfig;
|
|
2045
2045
|
artifactComponentId: string;
|
|
2046
2046
|
}) => Promise<{
|
|
2047
|
-
id: string;
|
|
2048
|
-
createdAt: string;
|
|
2049
|
-
projectId: string;
|
|
2050
2047
|
tenantId: string;
|
|
2048
|
+
projectId: string;
|
|
2049
|
+
id: string;
|
|
2051
2050
|
graphId: string;
|
|
2051
|
+
createdAt: string;
|
|
2052
2052
|
agentId: string;
|
|
2053
2053
|
artifactComponentId: string;
|
|
2054
2054
|
}>;
|
|
@@ -2087,11 +2087,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
|
|
|
2087
2087
|
scopes: AgentScopeConfig;
|
|
2088
2088
|
artifactComponentId: string;
|
|
2089
2089
|
}) => Promise<{
|
|
2090
|
-
id: string;
|
|
2091
|
-
createdAt: string;
|
|
2092
|
-
projectId: string;
|
|
2093
2090
|
tenantId: string;
|
|
2091
|
+
projectId: string;
|
|
2092
|
+
id: string;
|
|
2094
2093
|
graphId: string;
|
|
2094
|
+
createdAt: string;
|
|
2095
2095
|
agentId: string;
|
|
2096
2096
|
artifactComponentId: string;
|
|
2097
2097
|
} | null>;
|
|
@@ -2171,26 +2171,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
2171
2171
|
scopes: GraphScopeConfig;
|
|
2172
2172
|
id: string;
|
|
2173
2173
|
}) => Promise<{
|
|
2174
|
+
tenantId: string;
|
|
2175
|
+
projectId: string;
|
|
2174
2176
|
id: string;
|
|
2177
|
+
graphId: string;
|
|
2175
2178
|
createdAt: string;
|
|
2176
2179
|
updatedAt: string;
|
|
2177
|
-
projectId: string;
|
|
2178
|
-
tenantId: string;
|
|
2179
2180
|
headersSchema: unknown;
|
|
2180
2181
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2181
|
-
graphId: string;
|
|
2182
2182
|
} | undefined>;
|
|
2183
2183
|
declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
2184
2184
|
scopes: GraphScopeConfig;
|
|
2185
2185
|
}) => Promise<{
|
|
2186
|
+
tenantId: string;
|
|
2187
|
+
projectId: string;
|
|
2186
2188
|
id: string;
|
|
2189
|
+
graphId: string;
|
|
2187
2190
|
createdAt: string;
|
|
2188
2191
|
updatedAt: string;
|
|
2189
|
-
projectId: string;
|
|
2190
|
-
tenantId: string;
|
|
2191
2192
|
headersSchema: unknown;
|
|
2192
2193
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2193
|
-
graphId: string;
|
|
2194
2194
|
}[]>;
|
|
2195
2195
|
declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
2196
2196
|
scopes: GraphScopeConfig;
|
|
@@ -2205,28 +2205,28 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
|
2205
2205
|
};
|
|
2206
2206
|
}>;
|
|
2207
2207
|
declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
2208
|
+
tenantId: string;
|
|
2209
|
+
projectId: string;
|
|
2208
2210
|
id: string;
|
|
2211
|
+
graphId: string;
|
|
2209
2212
|
createdAt: string;
|
|
2210
2213
|
updatedAt: string;
|
|
2211
|
-
projectId: string;
|
|
2212
|
-
tenantId: string;
|
|
2213
2214
|
headersSchema: unknown;
|
|
2214
2215
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2215
|
-
graphId: string;
|
|
2216
2216
|
}>;
|
|
2217
2217
|
declare const updateContextConfig: (db: DatabaseClient) => (params: {
|
|
2218
2218
|
scopes: GraphScopeConfig;
|
|
2219
2219
|
id: string;
|
|
2220
2220
|
data: Partial<ContextConfigUpdate>;
|
|
2221
2221
|
}) => Promise<{
|
|
2222
|
+
tenantId: string;
|
|
2223
|
+
projectId: string;
|
|
2222
2224
|
id: string;
|
|
2225
|
+
graphId: string;
|
|
2223
2226
|
createdAt: string;
|
|
2224
2227
|
updatedAt: string;
|
|
2225
|
-
projectId: string;
|
|
2226
|
-
tenantId: string;
|
|
2227
2228
|
headersSchema: unknown;
|
|
2228
2229
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2229
|
-
graphId: string;
|
|
2230
2230
|
}>;
|
|
2231
2231
|
declare const deleteContextConfig: (db: DatabaseClient) => (params: {
|
|
2232
2232
|
scopes: GraphScopeConfig;
|
|
@@ -2245,14 +2245,14 @@ declare const countContextConfigs: (db: DatabaseClient) => (params: {
|
|
|
2245
2245
|
declare const upsertContextConfig: (db: DatabaseClient) => (params: {
|
|
2246
2246
|
data: ContextConfigInsert;
|
|
2247
2247
|
}) => Promise<{
|
|
2248
|
+
tenantId: string;
|
|
2249
|
+
projectId: string;
|
|
2248
2250
|
id: string;
|
|
2251
|
+
graphId: string;
|
|
2249
2252
|
createdAt: string;
|
|
2250
2253
|
updatedAt: string;
|
|
2251
|
-
projectId: string;
|
|
2252
|
-
tenantId: string;
|
|
2253
2254
|
headersSchema: unknown;
|
|
2254
2255
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2255
|
-
graphId: string;
|
|
2256
2256
|
}>;
|
|
2257
2257
|
|
|
2258
2258
|
declare const listConversations: (db: DatabaseClient) => (params: {
|
|
@@ -2264,11 +2264,11 @@ declare const listConversations: (db: DatabaseClient) => (params: {
|
|
|
2264
2264
|
total: number;
|
|
2265
2265
|
}>;
|
|
2266
2266
|
declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
2267
|
+
tenantId: string;
|
|
2268
|
+
projectId: string;
|
|
2267
2269
|
id: string;
|
|
2268
2270
|
createdAt: string;
|
|
2269
2271
|
updatedAt: string;
|
|
2270
|
-
projectId: string;
|
|
2271
|
-
tenantId: string;
|
|
2272
2272
|
title: string | null;
|
|
2273
2273
|
metadata: ConversationMetadata | null;
|
|
2274
2274
|
userId: string | null;
|
|
@@ -2280,11 +2280,11 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
|
|
|
2280
2280
|
conversationId: string;
|
|
2281
2281
|
data: ConversationUpdate;
|
|
2282
2282
|
}) => Promise<{
|
|
2283
|
+
tenantId: string;
|
|
2284
|
+
projectId: string;
|
|
2283
2285
|
id: string;
|
|
2284
2286
|
createdAt: string;
|
|
2285
2287
|
updatedAt: string;
|
|
2286
|
-
projectId: string;
|
|
2287
|
-
tenantId: string;
|
|
2288
2288
|
title: string | null;
|
|
2289
2289
|
metadata: ConversationMetadata | null;
|
|
2290
2290
|
userId: string | null;
|
|
@@ -2300,11 +2300,11 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
|
|
|
2300
2300
|
conversationId: string;
|
|
2301
2301
|
activeAgentId: string;
|
|
2302
2302
|
}) => Promise<{
|
|
2303
|
+
tenantId: string;
|
|
2304
|
+
projectId: string;
|
|
2303
2305
|
id: string;
|
|
2304
2306
|
createdAt: string;
|
|
2305
2307
|
updatedAt: string;
|
|
2306
|
-
projectId: string;
|
|
2307
|
-
tenantId: string;
|
|
2308
2308
|
title: string | null;
|
|
2309
2309
|
metadata: ConversationMetadata | null;
|
|
2310
2310
|
userId: string | null;
|
|
@@ -2315,11 +2315,11 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
2315
2315
|
scopes: ProjectScopeConfig;
|
|
2316
2316
|
conversationId: string;
|
|
2317
2317
|
}) => Promise<{
|
|
2318
|
+
tenantId: string;
|
|
2319
|
+
projectId: string;
|
|
2318
2320
|
id: string;
|
|
2319
2321
|
createdAt: string;
|
|
2320
2322
|
updatedAt: string;
|
|
2321
|
-
projectId: string;
|
|
2322
|
-
tenantId: string;
|
|
2323
2323
|
title: string | null;
|
|
2324
2324
|
metadata: ConversationMetadata | null;
|
|
2325
2325
|
userId: string | null;
|
|
@@ -2353,11 +2353,11 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
2353
2353
|
scopes: ProjectScopeConfig;
|
|
2354
2354
|
conversationId: string;
|
|
2355
2355
|
}) => Promise<{
|
|
2356
|
+
tenantId: string;
|
|
2357
|
+
projectId: string;
|
|
2356
2358
|
id: string;
|
|
2357
2359
|
createdAt: string;
|
|
2358
2360
|
updatedAt: string;
|
|
2359
|
-
projectId: string;
|
|
2360
|
-
tenantId: string;
|
|
2361
2361
|
title: string | null;
|
|
2362
2362
|
metadata: ConversationMetadata | null;
|
|
2363
2363
|
userId: string | null;
|
|
@@ -2522,11 +2522,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
|
|
|
2522
2522
|
scopes: AgentScopeConfig;
|
|
2523
2523
|
dataComponentId: string;
|
|
2524
2524
|
}) => Promise<{
|
|
2525
|
-
id: string;
|
|
2526
|
-
createdAt: string;
|
|
2527
|
-
projectId: string;
|
|
2528
2525
|
tenantId: string;
|
|
2526
|
+
projectId: string;
|
|
2527
|
+
id: string;
|
|
2529
2528
|
graphId: string;
|
|
2529
|
+
createdAt: string;
|
|
2530
2530
|
agentId: string;
|
|
2531
2531
|
dataComponentId: string;
|
|
2532
2532
|
}>;
|
|
@@ -2564,11 +2564,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
|
|
|
2564
2564
|
scopes: AgentScopeConfig;
|
|
2565
2565
|
dataComponentId: string;
|
|
2566
2566
|
}) => Promise<{
|
|
2567
|
-
id: string;
|
|
2568
|
-
createdAt: string;
|
|
2569
|
-
projectId: string;
|
|
2570
2567
|
tenantId: string;
|
|
2568
|
+
projectId: string;
|
|
2569
|
+
id: string;
|
|
2571
2570
|
graphId: string;
|
|
2571
|
+
createdAt: string;
|
|
2572
2572
|
agentId: string;
|
|
2573
2573
|
dataComponentId: string;
|
|
2574
2574
|
} | null>;
|
|
@@ -2787,11 +2787,11 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
2787
2787
|
scopes: ProjectScopeConfig;
|
|
2788
2788
|
messageId: string;
|
|
2789
2789
|
}) => Promise<{
|
|
2790
|
+
tenantId: string;
|
|
2791
|
+
projectId: string;
|
|
2790
2792
|
id: string;
|
|
2791
2793
|
createdAt: string;
|
|
2792
2794
|
updatedAt: string;
|
|
2793
|
-
projectId: string;
|
|
2794
|
-
tenantId: string;
|
|
2795
2795
|
metadata: MessageMetadata | null;
|
|
2796
2796
|
content: MessageContent;
|
|
2797
2797
|
conversationId: string;
|
|
@@ -2913,11 +2913,11 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
2913
2913
|
id: string;
|
|
2914
2914
|
}[]>;
|
|
2915
2915
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
2916
|
+
tenantId: string;
|
|
2917
|
+
projectId: string;
|
|
2916
2918
|
id: string;
|
|
2917
2919
|
createdAt: string;
|
|
2918
2920
|
updatedAt: string;
|
|
2919
|
-
projectId: string;
|
|
2920
|
-
tenantId: string;
|
|
2921
2921
|
metadata: MessageMetadata | null;
|
|
2922
2922
|
content: MessageContent;
|
|
2923
2923
|
conversationId: string;
|
|
@@ -2939,11 +2939,11 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
|
|
|
2939
2939
|
messageId: string;
|
|
2940
2940
|
data: MessageUpdate;
|
|
2941
2941
|
}) => Promise<{
|
|
2942
|
+
tenantId: string;
|
|
2943
|
+
projectId: string;
|
|
2942
2944
|
id: string;
|
|
2943
2945
|
createdAt: string;
|
|
2944
2946
|
updatedAt: string;
|
|
2945
|
-
projectId: string;
|
|
2946
|
-
tenantId: string;
|
|
2947
2947
|
metadata: MessageMetadata | null;
|
|
2948
2948
|
content: MessageContent;
|
|
2949
2949
|
conversationId: string;
|
|
@@ -2964,11 +2964,11 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
2964
2964
|
scopes: ProjectScopeConfig;
|
|
2965
2965
|
messageId: string;
|
|
2966
2966
|
}) => Promise<{
|
|
2967
|
+
tenantId: string;
|
|
2968
|
+
projectId: string;
|
|
2967
2969
|
id: string;
|
|
2968
2970
|
createdAt: string;
|
|
2969
2971
|
updatedAt: string;
|
|
2970
|
-
projectId: string;
|
|
2971
|
-
tenantId: string;
|
|
2972
2972
|
metadata: MessageMetadata | null;
|
|
2973
2973
|
content: MessageContent;
|
|
2974
2974
|
conversationId: string;
|
|
@@ -3085,12 +3085,12 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
|
|
|
3085
3085
|
}) => Promise<boolean>;
|
|
3086
3086
|
|
|
3087
3087
|
declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
|
|
3088
|
+
tenantId: string;
|
|
3089
|
+
projectId: string;
|
|
3088
3090
|
id: string;
|
|
3091
|
+
graphId: string;
|
|
3089
3092
|
createdAt: string;
|
|
3090
3093
|
updatedAt: string;
|
|
3091
|
-
projectId: string;
|
|
3092
|
-
tenantId: string;
|
|
3093
|
-
graphId: string;
|
|
3094
3094
|
status: string;
|
|
3095
3095
|
metadata: TaskMetadataConfig | null;
|
|
3096
3096
|
contextId: string;
|
|
@@ -3106,12 +3106,12 @@ declare const updateTask: (db: DatabaseClient) => (params: {
|
|
|
3106
3106
|
metadata?: any;
|
|
3107
3107
|
};
|
|
3108
3108
|
}) => Promise<{
|
|
3109
|
+
tenantId: string;
|
|
3110
|
+
projectId: string;
|
|
3109
3111
|
id: string;
|
|
3112
|
+
graphId: string;
|
|
3110
3113
|
createdAt: string;
|
|
3111
3114
|
updatedAt: string;
|
|
3112
|
-
projectId: string;
|
|
3113
|
-
tenantId: string;
|
|
3114
|
-
graphId: string;
|
|
3115
3115
|
status: string;
|
|
3116
3116
|
metadata: TaskMetadataConfig | null;
|
|
3117
3117
|
contextId: string;
|
|
@@ -3126,16 +3126,11 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
3126
3126
|
scopes: ProjectScopeConfig;
|
|
3127
3127
|
toolId: string;
|
|
3128
3128
|
}) => Promise<{
|
|
3129
|
-
name: string;
|
|
3130
|
-
headers: Record<string, string> | null;
|
|
3131
|
-
id: string;
|
|
3132
|
-
createdAt: string;
|
|
3133
|
-
updatedAt: string;
|
|
3134
|
-
projectId: string;
|
|
3135
3129
|
tenantId: string;
|
|
3130
|
+
projectId: string;
|
|
3131
|
+
id: string;
|
|
3132
|
+
name: string;
|
|
3136
3133
|
description: string | null;
|
|
3137
|
-
credentialReferenceId: string | null;
|
|
3138
|
-
capabilities: ToolServerCapabilities | null;
|
|
3139
3134
|
config: {
|
|
3140
3135
|
type: "mcp";
|
|
3141
3136
|
mcp: ToolMcpConfig;
|
|
@@ -3147,6 +3142,11 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
3147
3142
|
dependencies: Record<string, unknown>;
|
|
3148
3143
|
};
|
|
3149
3144
|
};
|
|
3145
|
+
credentialReferenceId: string | null;
|
|
3146
|
+
createdAt: string;
|
|
3147
|
+
updatedAt: string;
|
|
3148
|
+
headers: Record<string, string> | null;
|
|
3149
|
+
capabilities: ToolServerCapabilities | null;
|
|
3150
3150
|
functionId: string | null;
|
|
3151
3151
|
imageUrl: string | null;
|
|
3152
3152
|
lastError: string | null;
|
|
@@ -3189,16 +3189,11 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
3189
3189
|
};
|
|
3190
3190
|
}>;
|
|
3191
3191
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
3192
|
-
name: string;
|
|
3193
|
-
headers: Record<string, string> | null;
|
|
3194
|
-
id: string;
|
|
3195
|
-
createdAt: string;
|
|
3196
|
-
updatedAt: string;
|
|
3197
|
-
projectId: string;
|
|
3198
3192
|
tenantId: string;
|
|
3193
|
+
projectId: string;
|
|
3194
|
+
id: string;
|
|
3195
|
+
name: string;
|
|
3199
3196
|
description: string | null;
|
|
3200
|
-
credentialReferenceId: string | null;
|
|
3201
|
-
capabilities: ToolServerCapabilities | null;
|
|
3202
3197
|
config: {
|
|
3203
3198
|
type: "mcp";
|
|
3204
3199
|
mcp: ToolMcpConfig;
|
|
@@ -3210,6 +3205,11 @@ declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promis
|
|
|
3210
3205
|
dependencies: Record<string, unknown>;
|
|
3211
3206
|
};
|
|
3212
3207
|
};
|
|
3208
|
+
credentialReferenceId: string | null;
|
|
3209
|
+
createdAt: string;
|
|
3210
|
+
updatedAt: string;
|
|
3211
|
+
headers: Record<string, string> | null;
|
|
3212
|
+
capabilities: ToolServerCapabilities | null;
|
|
3213
3213
|
functionId: string | null;
|
|
3214
3214
|
imageUrl: string | null;
|
|
3215
3215
|
lastError: string | null;
|
|
@@ -3219,16 +3219,11 @@ declare const updateTool: (db: DatabaseClient) => (params: {
|
|
|
3219
3219
|
toolId: string;
|
|
3220
3220
|
data: ToolUpdate;
|
|
3221
3221
|
}) => Promise<{
|
|
3222
|
-
name: string;
|
|
3223
|
-
headers: Record<string, string> | null;
|
|
3224
|
-
id: string;
|
|
3225
|
-
createdAt: string;
|
|
3226
|
-
updatedAt: string;
|
|
3227
|
-
projectId: string;
|
|
3228
3222
|
tenantId: string;
|
|
3223
|
+
projectId: string;
|
|
3224
|
+
id: string;
|
|
3225
|
+
name: string;
|
|
3229
3226
|
description: string | null;
|
|
3230
|
-
credentialReferenceId: string | null;
|
|
3231
|
-
capabilities: ToolServerCapabilities | null;
|
|
3232
3227
|
config: {
|
|
3233
3228
|
type: "mcp";
|
|
3234
3229
|
mcp: ToolMcpConfig;
|
|
@@ -3240,6 +3235,11 @@ declare const updateTool: (db: DatabaseClient) => (params: {
|
|
|
3240
3235
|
dependencies: Record<string, unknown>;
|
|
3241
3236
|
};
|
|
3242
3237
|
};
|
|
3238
|
+
credentialReferenceId: string | null;
|
|
3239
|
+
createdAt: string;
|
|
3240
|
+
updatedAt: string;
|
|
3241
|
+
headers: Record<string, string> | null;
|
|
3242
|
+
capabilities: ToolServerCapabilities | null;
|
|
3243
3243
|
functionId: string | null;
|
|
3244
3244
|
imageUrl: string | null;
|
|
3245
3245
|
lastError: string | null;
|
|
@@ -3255,32 +3255,32 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
3255
3255
|
selectedTools?: string[] | null;
|
|
3256
3256
|
headers?: Record<string, string> | null;
|
|
3257
3257
|
}) => Promise<{
|
|
3258
|
-
|
|
3258
|
+
tenantId: string;
|
|
3259
|
+
projectId: string;
|
|
3259
3260
|
id: string;
|
|
3261
|
+
graphId: string;
|
|
3260
3262
|
createdAt: string;
|
|
3261
3263
|
updatedAt: string;
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
graphId: string;
|
|
3264
|
+
headers: Record<string, string> | null;
|
|
3265
|
+
toolId: string;
|
|
3265
3266
|
selectedTools: string[] | null;
|
|
3266
3267
|
agentId: string;
|
|
3267
|
-
toolId: string;
|
|
3268
3268
|
}>;
|
|
3269
3269
|
declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
3270
3270
|
scopes: GraphScopeConfig;
|
|
3271
3271
|
agentId: string;
|
|
3272
3272
|
toolId: string;
|
|
3273
3273
|
}) => Promise<{
|
|
3274
|
-
|
|
3274
|
+
tenantId: string;
|
|
3275
|
+
projectId: string;
|
|
3275
3276
|
id: string;
|
|
3277
|
+
graphId: string;
|
|
3276
3278
|
createdAt: string;
|
|
3277
3279
|
updatedAt: string;
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
graphId: string;
|
|
3280
|
+
headers: Record<string, string> | null;
|
|
3281
|
+
toolId: string;
|
|
3281
3282
|
selectedTools: string[] | null;
|
|
3282
3283
|
agentId: string;
|
|
3283
|
-
toolId: string;
|
|
3284
3284
|
}>;
|
|
3285
3285
|
/**
|
|
3286
3286
|
* Upsert agent-tool relation (create if it doesn't exist, update if it does)
|
|
@@ -3293,16 +3293,16 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3293
3293
|
headers?: Record<string, string> | null;
|
|
3294
3294
|
relationId?: string;
|
|
3295
3295
|
}) => Promise<{
|
|
3296
|
-
|
|
3296
|
+
tenantId: string;
|
|
3297
|
+
projectId: string;
|
|
3297
3298
|
id: string;
|
|
3299
|
+
graphId: string;
|
|
3298
3300
|
createdAt: string;
|
|
3299
3301
|
updatedAt: string;
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
graphId: string;
|
|
3302
|
+
headers: Record<string, string> | null;
|
|
3303
|
+
toolId: string;
|
|
3303
3304
|
selectedTools: string[] | null;
|
|
3304
3305
|
agentId: string;
|
|
3305
|
-
toolId: string;
|
|
3306
3306
|
}>;
|
|
3307
3307
|
/**
|
|
3308
3308
|
* Upsert a tool (create if it doesn't exist, update if it does)
|
|
@@ -3310,16 +3310,11 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3310
3310
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
3311
3311
|
data: ToolInsert;
|
|
3312
3312
|
}) => Promise<{
|
|
3313
|
-
name: string;
|
|
3314
|
-
headers: Record<string, string> | null;
|
|
3315
|
-
id: string;
|
|
3316
|
-
createdAt: string;
|
|
3317
|
-
updatedAt: string;
|
|
3318
|
-
projectId: string;
|
|
3319
3313
|
tenantId: string;
|
|
3314
|
+
projectId: string;
|
|
3315
|
+
id: string;
|
|
3316
|
+
name: string;
|
|
3320
3317
|
description: string | null;
|
|
3321
|
-
credentialReferenceId: string | null;
|
|
3322
|
-
capabilities: ToolServerCapabilities | null;
|
|
3323
3318
|
config: {
|
|
3324
3319
|
type: "mcp";
|
|
3325
3320
|
mcp: ToolMcpConfig;
|
|
@@ -3331,6 +3326,11 @@ declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
|
3331
3326
|
dependencies: Record<string, unknown>;
|
|
3332
3327
|
};
|
|
3333
3328
|
};
|
|
3329
|
+
credentialReferenceId: string | null;
|
|
3330
|
+
createdAt: string;
|
|
3331
|
+
updatedAt: string;
|
|
3332
|
+
headers: Record<string, string> | null;
|
|
3333
|
+
capabilities: ToolServerCapabilities | null;
|
|
3334
3334
|
functionId: string | null;
|
|
3335
3335
|
imageUrl: string | null;
|
|
3336
3336
|
lastError: string | null;
|