@inkeep/agents-core 0.0.0-dev-20251003002436 → 0.0.0-dev-20251003162502
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/client-exports.d.cts +7 -7
- package/dist/client-exports.d.ts +7 -7
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/index.d.cts +247 -247
- package/dist/index.d.ts +247 -247
- package/dist/index.js +1 -1
- package/dist/{schema-BB_Q_YNK.d.ts → schema-DeUmRJk-.d.cts} +1 -1
- package/dist/{schema-DDUpvlcp.d.cts → schema-DhRzICV3.d.ts} +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/package.json +1 -1
- package/dist/{utility-Cd0qsewS.d.cts → utility-BOfzG3mF.d.cts} +178 -178
- package/dist/{utility-Cd0qsewS.d.ts → utility-BOfzG3mF.d.ts} +178 -178
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, f as ContextFetchDefinition, M as MCPTransportType, n as MCPToolConfig, o as GraphScopeConfig, C as ConversationHistoryConfig, p as ProjectScopeConfig, q as PaginationConfig, r as AgentGraphInsert, s as AgentGraphUpdate, t as FullGraphDefinition, u as AgentScopeConfig, v as AgentRelationInsert, E as ExternalAgentRelationInsert, w as AgentRelationUpdate, x as AgentToolRelationUpdate, g as ToolMcpConfig, h as ToolServerCapabilities, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, H as ApiKeyInsert, I as ApiKeyUpdate, J as CreateApiKeyParams, K as ApiKeyCreateResult, L as ArtifactComponentSelect, N as ArtifactComponentInsert, O as ArtifactComponentUpdate, Q as ContextCacheSelect, R as ContextCacheInsert, U as ContextConfigInsert, V as ContextConfigUpdate, W as ConversationSelect, X as ConversationInsert, i as ConversationMetadata, Y as ConversationUpdate, Z as CredentialReferenceSelect, _ as ToolSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, a7 as Artifact, a8 as LedgerArtifactSelect, k as MessageMetadata, j as MessageContent, a9 as MessageVisibility, aa as MessageInsert, ab as MessageUpdate, ac as FullProjectDefinition, ad as ProjectInfo, ae as ProjectSelect, af as PaginationResult, ag as ProjectResourceCounts, ah as ProjectInsert, ai as ProjectUpdate, aj as TaskInsert, T as TaskMetadataConfig, ak as TaskSelect, al as McpTool, am as ToolInsert, an as ToolUpdate, e as CredentialStoreType, ao as ExecutionContext } from './utility-
|
|
3
|
-
export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-Cd0qsewS.js';
|
|
2
|
+
import { l as CredentialReferenceApiInsert, m as ContextConfigSelect, f as ContextFetchDefinition, M as MCPTransportType, n as MCPToolConfig, o as GraphScopeConfig, C as ConversationHistoryConfig, p as ProjectScopeConfig, q as PaginationConfig, r as AgentGraphInsert, s as AgentGraphUpdate, t as FullGraphDefinition, u as AgentScopeConfig, v as AgentRelationInsert, E as ExternalAgentRelationInsert, w as AgentRelationUpdate, x as AgentToolRelationUpdate, g as ToolMcpConfig, h as ToolServerCapabilities, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, H as ApiKeyInsert, I as ApiKeyUpdate, J as CreateApiKeyParams, K as ApiKeyCreateResult, L as ArtifactComponentSelect, N as ArtifactComponentInsert, O as ArtifactComponentUpdate, Q as ContextCacheSelect, R as ContextCacheInsert, U as ContextConfigInsert, V as ContextConfigUpdate, W as ConversationSelect, X as ConversationInsert, i as ConversationMetadata, Y as ConversationUpdate, Z as CredentialReferenceSelect, _ as ToolSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, a7 as Artifact, a8 as LedgerArtifactSelect, k as MessageMetadata, j as MessageContent, a9 as MessageVisibility, aa as MessageInsert, ab as MessageUpdate, ac as FullProjectDefinition, ad as ProjectInfo, ae as ProjectSelect, af as PaginationResult, ag as ProjectResourceCounts, ah as ProjectInsert, ai as ProjectUpdate, aj as TaskInsert, T as TaskMetadataConfig, ak as TaskSelect, al as McpTool, am as ToolInsert, an as ToolUpdate, e as CredentialStoreType, ao as ExecutionContext } from './utility-BOfzG3mF.js';
|
|
3
|
+
export { b0 as A2AError, bw as A2ARequest, bx as A2AResponse, aB as APIKeySecurityScheme, bB as AgentApiInsert, dt as AgentApiInsertSchema, bA as AgentApiSelect, ds as AgentApiSelectSchema, bC as AgentApiUpdate, du as AgentApiUpdateSchema, cu as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, ct as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cv as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, cr as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cq as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cs as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, ax as AgentCapabilities, aL as AgentCard, d7 as AgentConversationHistoryConfig, cl as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, ck as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, cm as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ci as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, ch as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cj as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cT as AgentDefinition, bL as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bK as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bM as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bJ as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, ay as AgentProvider, bF as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bE as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bG as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bH as AgentRelationQuery, dB as AgentRelationQuerySchema, bD as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, az as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cJ as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cI as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cK as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cH as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cG as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cz as AllAgentSelect, cD as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cB as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cA as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cC as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, co as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cn as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cp as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aE as AuthorizationCodeOAuthFlow, cR as CanUseItem, fp as CanUseItemSchema, bg as CancelTaskRequest, br as CancelTaskResponse, bq as CancelTaskSuccessResponse, aF as ClientCredentialsOAuthFlow, a_ as ContentTypeNotSupportedError, cc as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cb as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cd as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d8 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ca as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c6 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c5 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c7 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, b$ as ConversationApiInsert, e3 as ConversationApiInsertSchema, b_ as ConversationApiSelect, e2 as ConversationApiSelectSchema, c0 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d6 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cE as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cF as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, cf as DataComponentApiInsert, em as DataComponentApiInsertSchema, ce as DataComponentApiSelect, el as DataComponentApiSelectSchema, cg as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, av as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cx as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cw as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cy as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bI as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, c9 as FetchConfig, f3 as FetchConfigSchema, c8 as FetchDefinition, f4 as FetchDefinitionSchema, ar as FileBase, au as FilePart, as as FileWithBytes, at as FileWithUri, cQ as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bi as GetTaskPushNotificationConfigRequest, bv as GetTaskPushNotificationConfigResponse, bu as GetTaskPushNotificationConfigSuccessResponse, bf as GetTaskRequest, bp as GetTaskResponse, bo as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aC as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aG as ImplicitOAuthFlow, cS as InternalAgentDefinition, aV as InternalError, a$ as InvalidAgentResponseError, aU as InvalidParamsError, aS as InvalidRequestError, aR as JSONParseError, ba as JSONRPCError, bc as JSONRPCErrorResponse, b8 as JSONRPCMessage, b9 as JSONRPCRequest, bb as JSONRPCResult, cO as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cN as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cP as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cL as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cM as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, di as MAX_ID_LENGTH, dg as MCPServerType, e_ as MCPToolConfigSchema, dh as MIN_ID_LENGTH, d9 as McpAuthType, da as McpServerAuth, dc as McpServerCapabilities, dd as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, db as McpTransportConfig, dW as McpTransportConfigSchema, aM as Message, c3 as MessageApiInsert, e9 as MessageApiInsertSchema, c2 as MessageApiSelect, e8 as MessageApiSelectSchema, c4 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d0 as MessageMode, by as MessagePart, c$ as MessageRole, c1 as MessageSelect, e5 as MessageSelectSchema, b6 as MessageSendConfiguration, b7 as MessageSendParams, c_ as MessageType, e7 as MessageUpdateSchema, aT as MethodNotFoundError, dm as ModelSchema, d3 as ModelSettings, dl as ModelSettingsSchema, d1 as Models, aI as OAuth2SecurityScheme, aD as OAuthFlows, aJ as OpenIdConnectSecurityScheme, cY as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ap as PartBase, aH as PasswordOAuthFlow, cW as ProjectApiInsert, fC as ProjectApiInsertSchema, cV as ProjectApiSelect, fB as ProjectApiSelectSchema, cX as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d2 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b1 as PushNotificationAuthenticationInfo, b2 as PushNotificationConfig, aY as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aK as SecurityScheme, aA as SecuritySchemeBase, bd as SendMessageRequest, bl as SendMessageResponse, bk as SendMessageSuccessResponse, be as SendStreamingMessageRequest, bn as SendStreamingMessageResponse, bm as SendStreamingMessageSuccessResponse, bh as SetTaskPushNotificationConfigRequest, bt as SetTaskPushNotificationConfigResponse, bs as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d5 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d4 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, cZ as SummaryEvent, de as TOOL_STATUS_VALUES, aO as Task, bP as TaskApiInsert, dO as TaskApiInsertSchema, bO as TaskApiSelect, dN as TaskApiSelectSchema, bQ as TaskApiUpdate, dP as TaskApiUpdateSchema, bz as TaskArtifact, aQ as TaskArtifactUpdateEvent, b4 as TaskIdParams, dL as TaskInsertSchema, aX as TaskNotCancelableError, aW as TaskNotFoundError, b3 as TaskPushNotificationConfig, b5 as TaskQueryParams, bV as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bU as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bW as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bS as TaskRelationInsert, dR as TaskRelationInsertSchema, bR as TaskRelationSelect, dQ as TaskRelationSelectSchema, bT as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bj as TaskResubscriptionRequest, dK as TaskSelectSchema, aw as TaskState, aN as TaskStatus, aP as TaskStatusUpdateEvent, bN as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, aq as TextPart, bY as ToolApiInsert, f1 as ToolApiInsertSchema, bX as ToolApiSelect, f0 as ToolApiSelectSchema, bZ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cU as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dj as URL_SAFE_ID_PATTERN, aZ as UnsupportedOperationError, df as VALID_RELATION_TYPES, dk as resourceIdSchema } from './utility-BOfzG3mF.js';
|
|
4
4
|
import { CredentialStore } from './types/index.js';
|
|
5
5
|
export { CorsConfig, ServerConfig, ServerOptions } from './types/index.js';
|
|
6
6
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
7
|
-
import { s as schema } from './schema-
|
|
8
|
-
export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-
|
|
7
|
+
import { s as schema } from './schema-DhRzICV3.js';
|
|
8
|
+
export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-DhRzICV3.js';
|
|
9
9
|
import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
|
|
10
10
|
import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
11
11
|
import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
@@ -818,14 +818,13 @@ declare class CredentialStuffer {
|
|
|
818
818
|
declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
819
819
|
scopes: GraphScopeConfig;
|
|
820
820
|
}) => Promise<{
|
|
821
|
-
tenantId: string;
|
|
822
|
-
projectId: string;
|
|
823
|
-
id: string;
|
|
824
821
|
name: string;
|
|
825
|
-
|
|
822
|
+
id: string;
|
|
826
823
|
createdAt: string;
|
|
827
824
|
updatedAt: string;
|
|
828
|
-
|
|
825
|
+
projectId: string;
|
|
826
|
+
tenantId: string;
|
|
827
|
+
description: string | null;
|
|
829
828
|
models: {
|
|
830
829
|
base?: {
|
|
831
830
|
model?: string | undefined;
|
|
@@ -843,6 +842,7 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
|
843
842
|
stopWhen: {
|
|
844
843
|
transferCountIs?: number | undefined;
|
|
845
844
|
} | null;
|
|
845
|
+
defaultAgentId: string | null;
|
|
846
846
|
contextConfigId: string | null;
|
|
847
847
|
statusUpdates: {
|
|
848
848
|
enabled?: boolean | undefined;
|
|
@@ -864,14 +864,13 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
|
864
864
|
declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
865
865
|
scopes: GraphScopeConfig;
|
|
866
866
|
}) => Promise<{
|
|
867
|
-
tenantId: string;
|
|
868
|
-
projectId: string;
|
|
869
|
-
id: string;
|
|
870
867
|
name: string;
|
|
871
|
-
|
|
868
|
+
id: string;
|
|
872
869
|
createdAt: string;
|
|
873
870
|
updatedAt: string;
|
|
874
|
-
|
|
871
|
+
projectId: string;
|
|
872
|
+
tenantId: string;
|
|
873
|
+
description: string | null;
|
|
875
874
|
models: {
|
|
876
875
|
base?: {
|
|
877
876
|
model?: string | undefined;
|
|
@@ -889,6 +888,7 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
889
888
|
stopWhen: {
|
|
890
889
|
transferCountIs?: number | undefined;
|
|
891
890
|
} | null;
|
|
891
|
+
defaultAgentId: string | null;
|
|
892
892
|
contextConfigId: string | null;
|
|
893
893
|
statusUpdates: {
|
|
894
894
|
enabled?: boolean | undefined;
|
|
@@ -907,16 +907,13 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
907
907
|
} | null;
|
|
908
908
|
graphPrompt: string | null;
|
|
909
909
|
defaultAgent: {
|
|
910
|
-
tenantId: string;
|
|
911
|
-
projectId: string;
|
|
912
|
-
id: string;
|
|
913
910
|
name: string;
|
|
914
|
-
|
|
915
|
-
prompt: string;
|
|
916
|
-
graphId: string;
|
|
911
|
+
id: string;
|
|
917
912
|
createdAt: string;
|
|
918
913
|
updatedAt: string;
|
|
919
|
-
|
|
914
|
+
projectId: string;
|
|
915
|
+
tenantId: string;
|
|
916
|
+
description: string;
|
|
920
917
|
models: {
|
|
921
918
|
base?: {
|
|
922
919
|
model?: string | undefined;
|
|
@@ -934,19 +931,21 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
934
931
|
stopWhen: {
|
|
935
932
|
stepCountIs?: number | undefined;
|
|
936
933
|
} | null;
|
|
934
|
+
prompt: string;
|
|
935
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
936
|
+
graphId: string;
|
|
937
937
|
} | null;
|
|
938
938
|
} | null>;
|
|
939
939
|
declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
940
940
|
scopes: ProjectScopeConfig;
|
|
941
941
|
}) => Promise<{
|
|
942
|
-
tenantId: string;
|
|
943
|
-
projectId: string;
|
|
944
|
-
id: string;
|
|
945
942
|
name: string;
|
|
946
|
-
|
|
943
|
+
id: string;
|
|
947
944
|
createdAt: string;
|
|
948
945
|
updatedAt: string;
|
|
949
|
-
|
|
946
|
+
projectId: string;
|
|
947
|
+
tenantId: string;
|
|
948
|
+
description: string | null;
|
|
950
949
|
models: {
|
|
951
950
|
base?: {
|
|
952
951
|
model?: string | undefined;
|
|
@@ -964,6 +963,7 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
|
964
963
|
stopWhen: {
|
|
965
964
|
transferCountIs?: number | undefined;
|
|
966
965
|
} | null;
|
|
966
|
+
defaultAgentId: string | null;
|
|
967
967
|
contextConfigId: string | null;
|
|
968
968
|
statusUpdates: {
|
|
969
969
|
enabled?: boolean | undefined;
|
|
@@ -1038,14 +1038,13 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1038
1038
|
};
|
|
1039
1039
|
}>;
|
|
1040
1040
|
declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
|
|
1041
|
-
tenantId: string;
|
|
1042
|
-
projectId: string;
|
|
1043
|
-
id: string;
|
|
1044
1041
|
name: string;
|
|
1045
|
-
|
|
1042
|
+
id: string;
|
|
1046
1043
|
createdAt: string;
|
|
1047
1044
|
updatedAt: string;
|
|
1048
|
-
|
|
1045
|
+
projectId: string;
|
|
1046
|
+
tenantId: string;
|
|
1047
|
+
description: string | null;
|
|
1049
1048
|
models: {
|
|
1050
1049
|
base?: {
|
|
1051
1050
|
model?: string | undefined;
|
|
@@ -1063,6 +1062,7 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
|
|
|
1063
1062
|
stopWhen: {
|
|
1064
1063
|
transferCountIs?: number | undefined;
|
|
1065
1064
|
} | null;
|
|
1065
|
+
defaultAgentId: string | null;
|
|
1066
1066
|
contextConfigId: string | null;
|
|
1067
1067
|
statusUpdates: {
|
|
1068
1068
|
enabled?: boolean | undefined;
|
|
@@ -1085,14 +1085,13 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
1085
1085
|
scopes: GraphScopeConfig;
|
|
1086
1086
|
data: AgentGraphUpdate;
|
|
1087
1087
|
}) => Promise<{
|
|
1088
|
-
tenantId: string;
|
|
1089
|
-
projectId: string;
|
|
1090
|
-
id: string;
|
|
1091
1088
|
name: string;
|
|
1092
|
-
|
|
1089
|
+
id: string;
|
|
1093
1090
|
createdAt: string;
|
|
1094
1091
|
updatedAt: string;
|
|
1095
|
-
|
|
1092
|
+
projectId: string;
|
|
1093
|
+
tenantId: string;
|
|
1094
|
+
description: string | null;
|
|
1096
1095
|
models: {
|
|
1097
1096
|
base?: {
|
|
1098
1097
|
model?: string | undefined;
|
|
@@ -1110,6 +1109,7 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
1110
1109
|
stopWhen: {
|
|
1111
1110
|
transferCountIs?: number | undefined;
|
|
1112
1111
|
} | null;
|
|
1112
|
+
defaultAgentId: string | null;
|
|
1113
1113
|
contextConfigId: string | null;
|
|
1114
1114
|
statusUpdates: {
|
|
1115
1115
|
enabled?: boolean | undefined;
|
|
@@ -1164,12 +1164,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
1164
1164
|
scopes: GraphScopeConfig;
|
|
1165
1165
|
relationId: string;
|
|
1166
1166
|
}) => Promise<{
|
|
1167
|
-
tenantId: string;
|
|
1168
|
-
projectId: string;
|
|
1169
1167
|
id: string;
|
|
1170
|
-
graphId: string;
|
|
1171
1168
|
createdAt: string;
|
|
1172
1169
|
updatedAt: string;
|
|
1170
|
+
projectId: string;
|
|
1171
|
+
tenantId: string;
|
|
1172
|
+
graphId: string;
|
|
1173
1173
|
sourceAgentId: string;
|
|
1174
1174
|
targetAgentId: string | null;
|
|
1175
1175
|
externalAgentId: string | null;
|
|
@@ -1201,12 +1201,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
1201
1201
|
declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
1202
1202
|
scopes: AgentScopeConfig;
|
|
1203
1203
|
}) => Promise<{
|
|
1204
|
-
tenantId: string;
|
|
1205
|
-
projectId: string;
|
|
1206
1204
|
id: string;
|
|
1207
|
-
graphId: string;
|
|
1208
1205
|
createdAt: string;
|
|
1209
1206
|
updatedAt: string;
|
|
1207
|
+
projectId: string;
|
|
1208
|
+
tenantId: string;
|
|
1209
|
+
graphId: string;
|
|
1210
1210
|
sourceAgentId: string;
|
|
1211
1211
|
targetAgentId: string | null;
|
|
1212
1212
|
externalAgentId: string | null;
|
|
@@ -1215,12 +1215,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
1215
1215
|
declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
|
|
1216
1216
|
scopes: GraphScopeConfig;
|
|
1217
1217
|
}) => Promise<{
|
|
1218
|
-
tenantId: string;
|
|
1219
|
-
projectId: string;
|
|
1220
1218
|
id: string;
|
|
1221
|
-
graphId: string;
|
|
1222
1219
|
createdAt: string;
|
|
1223
1220
|
updatedAt: string;
|
|
1221
|
+
projectId: string;
|
|
1222
|
+
tenantId: string;
|
|
1223
|
+
graphId: string;
|
|
1224
1224
|
sourceAgentId: string;
|
|
1225
1225
|
targetAgentId: string | null;
|
|
1226
1226
|
externalAgentId: string | null;
|
|
@@ -1320,12 +1320,12 @@ declare const getRelatedAgentsForGraph: (db: DatabaseClient) => (params: {
|
|
|
1320
1320
|
}[];
|
|
1321
1321
|
}>;
|
|
1322
1322
|
declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
|
|
1323
|
-
tenantId: string;
|
|
1324
|
-
projectId: string;
|
|
1325
1323
|
id: string;
|
|
1326
|
-
graphId: string;
|
|
1327
1324
|
createdAt: string;
|
|
1328
1325
|
updatedAt: string;
|
|
1326
|
+
projectId: string;
|
|
1327
|
+
tenantId: string;
|
|
1328
|
+
graphId: string;
|
|
1329
1329
|
sourceAgentId: string;
|
|
1330
1330
|
targetAgentId: string | null;
|
|
1331
1331
|
externalAgentId: string | null;
|
|
@@ -1341,12 +1341,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
1341
1341
|
externalAgentId?: string;
|
|
1342
1342
|
relationType: string;
|
|
1343
1343
|
}) => Promise<{
|
|
1344
|
-
tenantId: string;
|
|
1345
|
-
projectId: string;
|
|
1346
1344
|
id: string;
|
|
1347
|
-
graphId: string;
|
|
1348
1345
|
createdAt: string;
|
|
1349
1346
|
updatedAt: string;
|
|
1347
|
+
projectId: string;
|
|
1348
|
+
tenantId: string;
|
|
1349
|
+
graphId: string;
|
|
1350
1350
|
sourceAgentId: string;
|
|
1351
1351
|
targetAgentId: string | null;
|
|
1352
1352
|
externalAgentId: string | null;
|
|
@@ -1356,24 +1356,24 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
1356
1356
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
1357
1357
|
*/
|
|
1358
1358
|
declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
|
|
1359
|
-
tenantId: string;
|
|
1360
|
-
projectId: string;
|
|
1361
1359
|
id: string;
|
|
1362
|
-
graphId: string;
|
|
1363
1360
|
createdAt: string;
|
|
1364
1361
|
updatedAt: string;
|
|
1362
|
+
projectId: string;
|
|
1363
|
+
tenantId: string;
|
|
1364
|
+
graphId: string;
|
|
1365
1365
|
sourceAgentId: string;
|
|
1366
1366
|
targetAgentId: string | null;
|
|
1367
1367
|
externalAgentId: string | null;
|
|
1368
1368
|
relationType: string | null;
|
|
1369
1369
|
}>;
|
|
1370
1370
|
declare const createExternalAgentRelation: (db: DatabaseClient) => (params: ExternalAgentRelationInsert) => Promise<{
|
|
1371
|
-
tenantId: string;
|
|
1372
|
-
projectId: string;
|
|
1373
1371
|
id: string;
|
|
1374
|
-
graphId: string;
|
|
1375
1372
|
createdAt: string;
|
|
1376
1373
|
updatedAt: string;
|
|
1374
|
+
projectId: string;
|
|
1375
|
+
tenantId: string;
|
|
1376
|
+
graphId: string;
|
|
1377
1377
|
sourceAgentId: string;
|
|
1378
1378
|
targetAgentId: string | null;
|
|
1379
1379
|
externalAgentId: string | null;
|
|
@@ -1384,12 +1384,12 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
|
|
|
1384
1384
|
relationId: string;
|
|
1385
1385
|
data: AgentRelationUpdate;
|
|
1386
1386
|
}) => Promise<{
|
|
1387
|
-
tenantId: string;
|
|
1388
|
-
projectId: string;
|
|
1389
1387
|
id: string;
|
|
1390
|
-
graphId: string;
|
|
1391
1388
|
createdAt: string;
|
|
1392
1389
|
updatedAt: string;
|
|
1390
|
+
projectId: string;
|
|
1391
|
+
tenantId: string;
|
|
1392
|
+
graphId: string;
|
|
1393
1393
|
sourceAgentId: string;
|
|
1394
1394
|
targetAgentId: string | null;
|
|
1395
1395
|
externalAgentId: string | null;
|
|
@@ -1412,32 +1412,32 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
1412
1412
|
headers?: Record<string, string> | null;
|
|
1413
1413
|
};
|
|
1414
1414
|
}) => Promise<{
|
|
1415
|
-
|
|
1416
|
-
projectId: string;
|
|
1415
|
+
headers: Record<string, string> | null;
|
|
1417
1416
|
id: string;
|
|
1418
|
-
graphId: string;
|
|
1419
1417
|
createdAt: string;
|
|
1420
1418
|
updatedAt: string;
|
|
1421
|
-
|
|
1422
|
-
|
|
1419
|
+
projectId: string;
|
|
1420
|
+
tenantId: string;
|
|
1423
1421
|
selectedTools: string[] | null;
|
|
1422
|
+
graphId: string;
|
|
1424
1423
|
agentId: string;
|
|
1424
|
+
toolId: string;
|
|
1425
1425
|
}>;
|
|
1426
1426
|
declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
1427
1427
|
scopes: GraphScopeConfig;
|
|
1428
1428
|
relationId: string;
|
|
1429
1429
|
data: AgentToolRelationUpdate;
|
|
1430
1430
|
}) => Promise<{
|
|
1431
|
-
|
|
1432
|
-
projectId: string;
|
|
1431
|
+
headers: Record<string, string> | null;
|
|
1433
1432
|
id: string;
|
|
1434
|
-
graphId: string;
|
|
1435
1433
|
createdAt: string;
|
|
1436
1434
|
updatedAt: string;
|
|
1437
|
-
|
|
1438
|
-
|
|
1435
|
+
projectId: string;
|
|
1436
|
+
tenantId: string;
|
|
1439
1437
|
selectedTools: string[] | null;
|
|
1438
|
+
graphId: string;
|
|
1440
1439
|
agentId: string;
|
|
1440
|
+
toolId: string;
|
|
1441
1441
|
}>;
|
|
1442
1442
|
declare const deleteAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
1443
1443
|
scopes: GraphScopeConfig;
|
|
@@ -1450,16 +1450,16 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
1450
1450
|
scopes: AgentScopeConfig;
|
|
1451
1451
|
relationId: string;
|
|
1452
1452
|
}) => Promise<{
|
|
1453
|
-
|
|
1454
|
-
projectId: string;
|
|
1453
|
+
headers: Record<string, string> | null;
|
|
1455
1454
|
id: string;
|
|
1456
|
-
graphId: string;
|
|
1457
1455
|
createdAt: string;
|
|
1458
1456
|
updatedAt: string;
|
|
1459
|
-
|
|
1460
|
-
|
|
1457
|
+
projectId: string;
|
|
1458
|
+
tenantId: string;
|
|
1461
1459
|
selectedTools: string[] | null;
|
|
1460
|
+
graphId: string;
|
|
1462
1461
|
agentId: string;
|
|
1462
|
+
toolId: string;
|
|
1463
1463
|
} | undefined>;
|
|
1464
1464
|
declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
1465
1465
|
scopes: AgentScopeConfig;
|
|
@@ -1628,16 +1628,13 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1628
1628
|
scopes: GraphScopeConfig;
|
|
1629
1629
|
agentId: string;
|
|
1630
1630
|
}) => Promise<{
|
|
1631
|
-
tenantId: string;
|
|
1632
|
-
projectId: string;
|
|
1633
|
-
id: string;
|
|
1634
1631
|
name: string;
|
|
1635
|
-
|
|
1636
|
-
prompt: string;
|
|
1637
|
-
graphId: string;
|
|
1632
|
+
id: string;
|
|
1638
1633
|
createdAt: string;
|
|
1639
1634
|
updatedAt: string;
|
|
1640
|
-
|
|
1635
|
+
projectId: string;
|
|
1636
|
+
tenantId: string;
|
|
1637
|
+
description: string;
|
|
1641
1638
|
models: {
|
|
1642
1639
|
base?: {
|
|
1643
1640
|
model?: string | undefined;
|
|
@@ -1655,20 +1652,20 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1655
1652
|
stopWhen: {
|
|
1656
1653
|
stepCountIs?: number | undefined;
|
|
1657
1654
|
} | null;
|
|
1655
|
+
prompt: string;
|
|
1656
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1657
|
+
graphId: string;
|
|
1658
1658
|
} | undefined>;
|
|
1659
1659
|
declare const listAgents: (db: DatabaseClient) => (params: {
|
|
1660
1660
|
scopes: GraphScopeConfig;
|
|
1661
1661
|
}) => Promise<{
|
|
1662
|
-
tenantId: string;
|
|
1663
|
-
projectId: string;
|
|
1664
|
-
id: string;
|
|
1665
1662
|
name: string;
|
|
1666
|
-
|
|
1667
|
-
prompt: string;
|
|
1668
|
-
graphId: string;
|
|
1663
|
+
id: string;
|
|
1669
1664
|
createdAt: string;
|
|
1670
1665
|
updatedAt: string;
|
|
1671
|
-
|
|
1666
|
+
projectId: string;
|
|
1667
|
+
tenantId: string;
|
|
1668
|
+
description: string;
|
|
1672
1669
|
models: {
|
|
1673
1670
|
base?: {
|
|
1674
1671
|
model?: string | undefined;
|
|
@@ -1686,6 +1683,9 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
1686
1683
|
stopWhen: {
|
|
1687
1684
|
stepCountIs?: number | undefined;
|
|
1688
1685
|
} | null;
|
|
1686
|
+
prompt: string;
|
|
1687
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1688
|
+
graphId: string;
|
|
1689
1689
|
}[]>;
|
|
1690
1690
|
declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
1691
1691
|
scopes: GraphScopeConfig;
|
|
@@ -1728,16 +1728,13 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1728
1728
|
};
|
|
1729
1729
|
}>;
|
|
1730
1730
|
declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
|
|
1731
|
-
tenantId: string;
|
|
1732
|
-
projectId: string;
|
|
1733
|
-
id: string;
|
|
1734
1731
|
name: string;
|
|
1735
|
-
|
|
1736
|
-
prompt: string;
|
|
1737
|
-
graphId: string;
|
|
1732
|
+
id: string;
|
|
1738
1733
|
createdAt: string;
|
|
1739
1734
|
updatedAt: string;
|
|
1740
|
-
|
|
1735
|
+
projectId: string;
|
|
1736
|
+
tenantId: string;
|
|
1737
|
+
description: string;
|
|
1741
1738
|
models: {
|
|
1742
1739
|
base?: {
|
|
1743
1740
|
model?: string | undefined;
|
|
@@ -1755,22 +1752,22 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
|
|
|
1755
1752
|
stopWhen: {
|
|
1756
1753
|
stepCountIs?: number | undefined;
|
|
1757
1754
|
} | null;
|
|
1755
|
+
prompt: string;
|
|
1756
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1757
|
+
graphId: string;
|
|
1758
1758
|
}>;
|
|
1759
1759
|
declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
1760
1760
|
scopes: GraphScopeConfig;
|
|
1761
1761
|
agentId: string;
|
|
1762
1762
|
data: AgentUpdate;
|
|
1763
1763
|
}) => Promise<{
|
|
1764
|
-
tenantId: string;
|
|
1765
|
-
projectId: string;
|
|
1766
|
-
id: string;
|
|
1767
1764
|
name: string;
|
|
1768
|
-
|
|
1769
|
-
prompt: string;
|
|
1770
|
-
graphId: string;
|
|
1765
|
+
id: string;
|
|
1771
1766
|
createdAt: string;
|
|
1772
1767
|
updatedAt: string;
|
|
1773
|
-
|
|
1768
|
+
projectId: string;
|
|
1769
|
+
tenantId: string;
|
|
1770
|
+
description: string;
|
|
1774
1771
|
models: {
|
|
1775
1772
|
base?: {
|
|
1776
1773
|
model?: string | undefined;
|
|
@@ -1788,6 +1785,9 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
|
1788
1785
|
stopWhen: {
|
|
1789
1786
|
stepCountIs?: number | undefined;
|
|
1790
1787
|
} | null;
|
|
1788
|
+
prompt: string;
|
|
1789
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1790
|
+
graphId: string;
|
|
1791
1791
|
}>;
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Upsert agent (create if it doesn't exist, update if it does)
|
|
@@ -1836,49 +1836,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
1836
1836
|
scopes: ProjectScopeConfig;
|
|
1837
1837
|
id: string;
|
|
1838
1838
|
}) => Promise<{
|
|
1839
|
-
tenantId: string;
|
|
1840
|
-
projectId: string;
|
|
1841
|
-
id: string;
|
|
1842
1839
|
name: string | null;
|
|
1840
|
+
id: string;
|
|
1841
|
+
createdAt: string;
|
|
1842
|
+
updatedAt: string;
|
|
1843
|
+
projectId: string;
|
|
1844
|
+
tenantId: string;
|
|
1843
1845
|
graphId: string;
|
|
1844
1846
|
publicId: string;
|
|
1845
1847
|
keyHash: string;
|
|
1846
1848
|
keyPrefix: string;
|
|
1847
1849
|
lastUsedAt: string | null;
|
|
1848
1850
|
expiresAt: string | null;
|
|
1849
|
-
createdAt: string;
|
|
1850
|
-
updatedAt: string;
|
|
1851
1851
|
} | undefined>;
|
|
1852
1852
|
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1853
|
-
tenantId: string;
|
|
1854
|
-
projectId: string;
|
|
1855
|
-
id: string;
|
|
1856
1853
|
name: string | null;
|
|
1854
|
+
id: string;
|
|
1855
|
+
createdAt: string;
|
|
1856
|
+
updatedAt: string;
|
|
1857
|
+
projectId: string;
|
|
1858
|
+
tenantId: string;
|
|
1857
1859
|
graphId: string;
|
|
1858
1860
|
publicId: string;
|
|
1859
1861
|
keyHash: string;
|
|
1860
1862
|
keyPrefix: string;
|
|
1861
1863
|
lastUsedAt: string | null;
|
|
1862
1864
|
expiresAt: string | null;
|
|
1863
|
-
createdAt: string;
|
|
1864
|
-
updatedAt: string;
|
|
1865
1865
|
} | undefined>;
|
|
1866
1866
|
declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
1867
1867
|
scopes: ProjectScopeConfig;
|
|
1868
1868
|
graphId?: string;
|
|
1869
1869
|
}) => Promise<{
|
|
1870
|
-
tenantId: string;
|
|
1871
|
-
projectId: string;
|
|
1872
|
-
id: string;
|
|
1873
1870
|
name: string | null;
|
|
1871
|
+
id: string;
|
|
1872
|
+
createdAt: string;
|
|
1873
|
+
updatedAt: string;
|
|
1874
|
+
projectId: string;
|
|
1875
|
+
tenantId: string;
|
|
1874
1876
|
graphId: string;
|
|
1875
1877
|
publicId: string;
|
|
1876
1878
|
keyHash: string;
|
|
1877
1879
|
keyPrefix: string;
|
|
1878
1880
|
lastUsedAt: string | null;
|
|
1879
1881
|
expiresAt: string | null;
|
|
1880
|
-
createdAt: string;
|
|
1881
|
-
updatedAt: string;
|
|
1882
1882
|
}[]>;
|
|
1883
1883
|
declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
1884
1884
|
scopes: ProjectScopeConfig;
|
|
@@ -1894,36 +1894,36 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
|
1894
1894
|
};
|
|
1895
1895
|
}>;
|
|
1896
1896
|
declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
1897
|
-
tenantId: string;
|
|
1898
|
-
projectId: string;
|
|
1899
|
-
id: string;
|
|
1900
1897
|
name: string | null;
|
|
1898
|
+
id: string;
|
|
1899
|
+
createdAt: string;
|
|
1900
|
+
updatedAt: string;
|
|
1901
|
+
projectId: string;
|
|
1902
|
+
tenantId: string;
|
|
1901
1903
|
graphId: string;
|
|
1902
1904
|
publicId: string;
|
|
1903
1905
|
keyHash: string;
|
|
1904
1906
|
keyPrefix: string;
|
|
1905
1907
|
lastUsedAt: string | null;
|
|
1906
1908
|
expiresAt: string | null;
|
|
1907
|
-
createdAt: string;
|
|
1908
|
-
updatedAt: string;
|
|
1909
1909
|
}>;
|
|
1910
1910
|
declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
1911
1911
|
scopes: ProjectScopeConfig;
|
|
1912
1912
|
id: string;
|
|
1913
1913
|
data: ApiKeyUpdate;
|
|
1914
1914
|
}) => Promise<{
|
|
1915
|
-
tenantId: string;
|
|
1916
|
-
projectId: string;
|
|
1917
|
-
id: string;
|
|
1918
1915
|
name: string | null;
|
|
1916
|
+
id: string;
|
|
1917
|
+
createdAt: string;
|
|
1918
|
+
updatedAt: string;
|
|
1919
|
+
projectId: string;
|
|
1920
|
+
tenantId: string;
|
|
1919
1921
|
graphId: string;
|
|
1920
1922
|
publicId: string;
|
|
1921
1923
|
keyHash: string;
|
|
1922
1924
|
keyPrefix: string;
|
|
1923
1925
|
lastUsedAt: string | null;
|
|
1924
1926
|
expiresAt: string | null;
|
|
1925
|
-
createdAt: string;
|
|
1926
|
-
updatedAt: string;
|
|
1927
1927
|
}>;
|
|
1928
1928
|
declare const deleteApiKey: (db: DatabaseClient) => (params: {
|
|
1929
1929
|
scopes: ProjectScopeConfig;
|
|
@@ -1952,13 +1952,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
1952
1952
|
scopes: ProjectScopeConfig;
|
|
1953
1953
|
id: string;
|
|
1954
1954
|
}) => Promise<{
|
|
1955
|
-
tenantId: string;
|
|
1956
|
-
projectId: string;
|
|
1957
|
-
id: string;
|
|
1958
1955
|
name: string;
|
|
1959
|
-
|
|
1956
|
+
id: string;
|
|
1960
1957
|
createdAt: string;
|
|
1961
1958
|
updatedAt: string;
|
|
1959
|
+
projectId: string;
|
|
1960
|
+
tenantId: string;
|
|
1961
|
+
description: string;
|
|
1962
1962
|
summaryProps: Record<string, unknown> | null;
|
|
1963
1963
|
fullProps: Record<string, unknown> | null;
|
|
1964
1964
|
} | undefined>;
|
|
@@ -1988,13 +1988,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
|
|
|
1988
1988
|
};
|
|
1989
1989
|
}>;
|
|
1990
1990
|
declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
|
|
1991
|
-
tenantId: string;
|
|
1992
|
-
projectId: string;
|
|
1993
|
-
id: string;
|
|
1994
1991
|
name: string;
|
|
1995
|
-
|
|
1992
|
+
id: string;
|
|
1996
1993
|
createdAt: string;
|
|
1997
1994
|
updatedAt: string;
|
|
1995
|
+
projectId: string;
|
|
1996
|
+
tenantId: string;
|
|
1997
|
+
description: string;
|
|
1998
1998
|
summaryProps: Record<string, unknown> | null;
|
|
1999
1999
|
fullProps: Record<string, unknown> | null;
|
|
2000
2000
|
}>;
|
|
@@ -2003,13 +2003,13 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
|
2003
2003
|
id: string;
|
|
2004
2004
|
data: ArtifactComponentUpdate;
|
|
2005
2005
|
}) => Promise<{
|
|
2006
|
-
tenantId: string;
|
|
2007
|
-
projectId: string;
|
|
2008
|
-
id: string;
|
|
2009
2006
|
name: string;
|
|
2010
|
-
|
|
2007
|
+
id: string;
|
|
2011
2008
|
createdAt: string;
|
|
2012
2009
|
updatedAt: string;
|
|
2010
|
+
projectId: string;
|
|
2011
|
+
tenantId: string;
|
|
2012
|
+
description: string;
|
|
2013
2013
|
summaryProps: Record<string, unknown> | null;
|
|
2014
2014
|
fullProps: Record<string, unknown> | null;
|
|
2015
2015
|
}>;
|
|
@@ -2034,11 +2034,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
|
|
|
2034
2034
|
scopes: AgentScopeConfig;
|
|
2035
2035
|
artifactComponentId: string;
|
|
2036
2036
|
}) => Promise<{
|
|
2037
|
-
tenantId: string;
|
|
2038
|
-
projectId: string;
|
|
2039
2037
|
id: string;
|
|
2040
|
-
graphId: string;
|
|
2041
2038
|
createdAt: string;
|
|
2039
|
+
projectId: string;
|
|
2040
|
+
tenantId: string;
|
|
2041
|
+
graphId: string;
|
|
2042
2042
|
agentId: string;
|
|
2043
2043
|
artifactComponentId: string;
|
|
2044
2044
|
}>;
|
|
@@ -2077,11 +2077,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
|
|
|
2077
2077
|
scopes: AgentScopeConfig;
|
|
2078
2078
|
artifactComponentId: string;
|
|
2079
2079
|
}) => Promise<{
|
|
2080
|
-
tenantId: string;
|
|
2081
|
-
projectId: string;
|
|
2082
2080
|
id: string;
|
|
2083
|
-
graphId: string;
|
|
2084
2081
|
createdAt: string;
|
|
2082
|
+
projectId: string;
|
|
2083
|
+
tenantId: string;
|
|
2084
|
+
graphId: string;
|
|
2085
2085
|
agentId: string;
|
|
2086
2086
|
artifactComponentId: string;
|
|
2087
2087
|
} | null>;
|
|
@@ -2161,26 +2161,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
2161
2161
|
scopes: ProjectScopeConfig;
|
|
2162
2162
|
id: string;
|
|
2163
2163
|
}) => Promise<{
|
|
2164
|
-
tenantId: string;
|
|
2165
|
-
projectId: string;
|
|
2166
|
-
id: string;
|
|
2167
2164
|
name: string;
|
|
2168
|
-
|
|
2165
|
+
id: string;
|
|
2169
2166
|
createdAt: string;
|
|
2170
2167
|
updatedAt: string;
|
|
2168
|
+
projectId: string;
|
|
2169
|
+
tenantId: string;
|
|
2170
|
+
description: string;
|
|
2171
2171
|
requestContextSchema: unknown;
|
|
2172
2172
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2173
2173
|
} | undefined>;
|
|
2174
2174
|
declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
2175
2175
|
scopes: ProjectScopeConfig;
|
|
2176
2176
|
}) => Promise<{
|
|
2177
|
-
tenantId: string;
|
|
2178
|
-
projectId: string;
|
|
2179
|
-
id: string;
|
|
2180
2177
|
name: string;
|
|
2181
|
-
|
|
2178
|
+
id: string;
|
|
2182
2179
|
createdAt: string;
|
|
2183
2180
|
updatedAt: string;
|
|
2181
|
+
projectId: string;
|
|
2182
|
+
tenantId: string;
|
|
2183
|
+
description: string;
|
|
2184
2184
|
requestContextSchema: unknown;
|
|
2185
2185
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2186
2186
|
}[]>;
|
|
@@ -2197,13 +2197,13 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
|
2197
2197
|
};
|
|
2198
2198
|
}>;
|
|
2199
2199
|
declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
2200
|
-
tenantId: string;
|
|
2201
|
-
projectId: string;
|
|
2202
|
-
id: string;
|
|
2203
2200
|
name: string;
|
|
2204
|
-
|
|
2201
|
+
id: string;
|
|
2205
2202
|
createdAt: string;
|
|
2206
2203
|
updatedAt: string;
|
|
2204
|
+
projectId: string;
|
|
2205
|
+
tenantId: string;
|
|
2206
|
+
description: string;
|
|
2207
2207
|
requestContextSchema: unknown;
|
|
2208
2208
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2209
2209
|
}>;
|
|
@@ -2212,13 +2212,13 @@ declare const updateContextConfig: (db: DatabaseClient) => (params: {
|
|
|
2212
2212
|
id: string;
|
|
2213
2213
|
data: Partial<ContextConfigUpdate>;
|
|
2214
2214
|
}) => Promise<{
|
|
2215
|
-
tenantId: string;
|
|
2216
|
-
projectId: string;
|
|
2217
|
-
id: string;
|
|
2218
2215
|
name: string;
|
|
2219
|
-
|
|
2216
|
+
id: string;
|
|
2220
2217
|
createdAt: string;
|
|
2221
2218
|
updatedAt: string;
|
|
2219
|
+
projectId: string;
|
|
2220
|
+
tenantId: string;
|
|
2221
|
+
description: string;
|
|
2222
2222
|
requestContextSchema: unknown;
|
|
2223
2223
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2224
2224
|
}>;
|
|
@@ -2237,13 +2237,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
|
|
|
2237
2237
|
scopes: ProjectScopeConfig;
|
|
2238
2238
|
name: string;
|
|
2239
2239
|
}) => Promise<{
|
|
2240
|
-
tenantId: string;
|
|
2241
|
-
projectId: string;
|
|
2242
|
-
id: string;
|
|
2243
2240
|
name: string;
|
|
2244
|
-
|
|
2241
|
+
id: string;
|
|
2245
2242
|
createdAt: string;
|
|
2246
2243
|
updatedAt: string;
|
|
2244
|
+
projectId: string;
|
|
2245
|
+
tenantId: string;
|
|
2246
|
+
description: string;
|
|
2247
2247
|
requestContextSchema: unknown;
|
|
2248
2248
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2249
2249
|
}[]>;
|
|
@@ -2253,13 +2253,13 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
|
|
|
2253
2253
|
declare const upsertContextConfig: (db: DatabaseClient) => (params: {
|
|
2254
2254
|
data: ContextConfigInsert;
|
|
2255
2255
|
}) => Promise<{
|
|
2256
|
-
tenantId: string;
|
|
2257
|
-
projectId: string;
|
|
2258
|
-
id: string;
|
|
2259
2256
|
name: string;
|
|
2260
|
-
|
|
2257
|
+
id: string;
|
|
2261
2258
|
createdAt: string;
|
|
2262
2259
|
updatedAt: string;
|
|
2260
|
+
projectId: string;
|
|
2261
|
+
tenantId: string;
|
|
2262
|
+
description: string;
|
|
2263
2263
|
requestContextSchema: unknown;
|
|
2264
2264
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2265
2265
|
}>;
|
|
@@ -2273,11 +2273,11 @@ declare const listConversations: (db: DatabaseClient) => (params: {
|
|
|
2273
2273
|
total: number;
|
|
2274
2274
|
}>;
|
|
2275
2275
|
declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
2276
|
-
tenantId: string;
|
|
2277
|
-
projectId: string;
|
|
2278
2276
|
id: string;
|
|
2279
2277
|
createdAt: string;
|
|
2280
2278
|
updatedAt: string;
|
|
2279
|
+
projectId: string;
|
|
2280
|
+
tenantId: string;
|
|
2281
2281
|
title: string | null;
|
|
2282
2282
|
metadata: ConversationMetadata | null;
|
|
2283
2283
|
userId: string | null;
|
|
@@ -2289,11 +2289,11 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
|
|
|
2289
2289
|
conversationId: string;
|
|
2290
2290
|
data: ConversationUpdate;
|
|
2291
2291
|
}) => Promise<{
|
|
2292
|
-
tenantId: string;
|
|
2293
|
-
projectId: string;
|
|
2294
2292
|
id: string;
|
|
2295
2293
|
createdAt: string;
|
|
2296
2294
|
updatedAt: string;
|
|
2295
|
+
projectId: string;
|
|
2296
|
+
tenantId: string;
|
|
2297
2297
|
title: string | null;
|
|
2298
2298
|
metadata: ConversationMetadata | null;
|
|
2299
2299
|
userId: string | null;
|
|
@@ -2309,11 +2309,11 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
|
|
|
2309
2309
|
conversationId: string;
|
|
2310
2310
|
activeAgentId: string;
|
|
2311
2311
|
}) => Promise<{
|
|
2312
|
-
tenantId: string;
|
|
2313
|
-
projectId: string;
|
|
2314
2312
|
id: string;
|
|
2315
2313
|
createdAt: string;
|
|
2316
2314
|
updatedAt: string;
|
|
2315
|
+
projectId: string;
|
|
2316
|
+
tenantId: string;
|
|
2317
2317
|
title: string | null;
|
|
2318
2318
|
metadata: ConversationMetadata | null;
|
|
2319
2319
|
userId: string | null;
|
|
@@ -2324,11 +2324,11 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
2324
2324
|
scopes: ProjectScopeConfig;
|
|
2325
2325
|
conversationId: string;
|
|
2326
2326
|
}) => Promise<{
|
|
2327
|
-
tenantId: string;
|
|
2328
|
-
projectId: string;
|
|
2329
2327
|
id: string;
|
|
2330
2328
|
createdAt: string;
|
|
2331
2329
|
updatedAt: string;
|
|
2330
|
+
projectId: string;
|
|
2331
|
+
tenantId: string;
|
|
2332
2332
|
title: string | null;
|
|
2333
2333
|
metadata: ConversationMetadata | null;
|
|
2334
2334
|
userId: string | null;
|
|
@@ -2362,11 +2362,11 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
2362
2362
|
scopes: ProjectScopeConfig;
|
|
2363
2363
|
conversationId: string;
|
|
2364
2364
|
}) => Promise<{
|
|
2365
|
-
tenantId: string;
|
|
2366
|
-
projectId: string;
|
|
2367
2365
|
id: string;
|
|
2368
2366
|
createdAt: string;
|
|
2369
2367
|
updatedAt: string;
|
|
2368
|
+
projectId: string;
|
|
2369
|
+
tenantId: string;
|
|
2370
2370
|
title: string | null;
|
|
2371
2371
|
metadata: ConversationMetadata | null;
|
|
2372
2372
|
userId: string | null;
|
|
@@ -2531,11 +2531,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
|
|
|
2531
2531
|
scopes: AgentScopeConfig;
|
|
2532
2532
|
dataComponentId: string;
|
|
2533
2533
|
}) => Promise<{
|
|
2534
|
-
tenantId: string;
|
|
2535
|
-
projectId: string;
|
|
2536
2534
|
id: string;
|
|
2537
|
-
graphId: string;
|
|
2538
2535
|
createdAt: string;
|
|
2536
|
+
projectId: string;
|
|
2537
|
+
tenantId: string;
|
|
2538
|
+
graphId: string;
|
|
2539
2539
|
agentId: string;
|
|
2540
2540
|
dataComponentId: string;
|
|
2541
2541
|
}>;
|
|
@@ -2573,11 +2573,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
|
|
|
2573
2573
|
scopes: AgentScopeConfig;
|
|
2574
2574
|
dataComponentId: string;
|
|
2575
2575
|
}) => Promise<{
|
|
2576
|
-
tenantId: string;
|
|
2577
|
-
projectId: string;
|
|
2578
2576
|
id: string;
|
|
2579
|
-
graphId: string;
|
|
2580
2577
|
createdAt: string;
|
|
2578
|
+
projectId: string;
|
|
2579
|
+
tenantId: string;
|
|
2580
|
+
graphId: string;
|
|
2581
2581
|
agentId: string;
|
|
2582
2582
|
dataComponentId: string;
|
|
2583
2583
|
} | null>;
|
|
@@ -2768,11 +2768,11 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
2768
2768
|
scopes: ProjectScopeConfig;
|
|
2769
2769
|
messageId: string;
|
|
2770
2770
|
}) => Promise<{
|
|
2771
|
-
tenantId: string;
|
|
2772
|
-
projectId: string;
|
|
2773
2771
|
id: string;
|
|
2774
2772
|
createdAt: string;
|
|
2775
2773
|
updatedAt: string;
|
|
2774
|
+
projectId: string;
|
|
2775
|
+
tenantId: string;
|
|
2776
2776
|
metadata: MessageMetadata | null;
|
|
2777
2777
|
content: MessageContent;
|
|
2778
2778
|
conversationId: string;
|
|
@@ -2894,11 +2894,11 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
2894
2894
|
id: string;
|
|
2895
2895
|
}[]>;
|
|
2896
2896
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
2897
|
-
tenantId: string;
|
|
2898
|
-
projectId: string;
|
|
2899
2897
|
id: string;
|
|
2900
2898
|
createdAt: string;
|
|
2901
2899
|
updatedAt: string;
|
|
2900
|
+
projectId: string;
|
|
2901
|
+
tenantId: string;
|
|
2902
2902
|
metadata: MessageMetadata | null;
|
|
2903
2903
|
content: MessageContent;
|
|
2904
2904
|
conversationId: string;
|
|
@@ -2920,11 +2920,11 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
|
|
|
2920
2920
|
messageId: string;
|
|
2921
2921
|
data: MessageUpdate;
|
|
2922
2922
|
}) => Promise<{
|
|
2923
|
-
tenantId: string;
|
|
2924
|
-
projectId: string;
|
|
2925
2923
|
id: string;
|
|
2926
2924
|
createdAt: string;
|
|
2927
2925
|
updatedAt: string;
|
|
2926
|
+
projectId: string;
|
|
2927
|
+
tenantId: string;
|
|
2928
2928
|
metadata: MessageMetadata | null;
|
|
2929
2929
|
content: MessageContent;
|
|
2930
2930
|
conversationId: string;
|
|
@@ -2945,11 +2945,11 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
2945
2945
|
scopes: ProjectScopeConfig;
|
|
2946
2946
|
messageId: string;
|
|
2947
2947
|
}) => Promise<{
|
|
2948
|
-
tenantId: string;
|
|
2949
|
-
projectId: string;
|
|
2950
2948
|
id: string;
|
|
2951
2949
|
createdAt: string;
|
|
2952
2950
|
updatedAt: string;
|
|
2951
|
+
projectId: string;
|
|
2952
|
+
tenantId: string;
|
|
2953
2953
|
metadata: MessageMetadata | null;
|
|
2954
2954
|
content: MessageContent;
|
|
2955
2955
|
conversationId: string;
|
|
@@ -3066,14 +3066,14 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
|
|
|
3066
3066
|
}) => Promise<boolean>;
|
|
3067
3067
|
|
|
3068
3068
|
declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
|
|
3069
|
-
tenantId: string;
|
|
3070
|
-
projectId: string;
|
|
3071
3069
|
id: string;
|
|
3072
|
-
graphId: string;
|
|
3073
3070
|
createdAt: string;
|
|
3074
3071
|
updatedAt: string;
|
|
3072
|
+
projectId: string;
|
|
3073
|
+
tenantId: string;
|
|
3075
3074
|
metadata: TaskMetadataConfig | null;
|
|
3076
3075
|
status: string;
|
|
3076
|
+
graphId: string;
|
|
3077
3077
|
contextId: string;
|
|
3078
3078
|
agentId: string;
|
|
3079
3079
|
}>;
|
|
@@ -3087,14 +3087,14 @@ declare const updateTask: (db: DatabaseClient) => (params: {
|
|
|
3087
3087
|
metadata?: any;
|
|
3088
3088
|
};
|
|
3089
3089
|
}) => Promise<{
|
|
3090
|
-
tenantId: string;
|
|
3091
|
-
projectId: string;
|
|
3092
3090
|
id: string;
|
|
3093
|
-
graphId: string;
|
|
3094
3091
|
createdAt: string;
|
|
3095
3092
|
updatedAt: string;
|
|
3093
|
+
projectId: string;
|
|
3094
|
+
tenantId: string;
|
|
3096
3095
|
metadata: TaskMetadataConfig | null;
|
|
3097
3096
|
status: string;
|
|
3097
|
+
graphId: string;
|
|
3098
3098
|
contextId: string;
|
|
3099
3099
|
agentId: string;
|
|
3100
3100
|
}>;
|
|
@@ -3107,19 +3107,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
3107
3107
|
scopes: ProjectScopeConfig;
|
|
3108
3108
|
toolId: string;
|
|
3109
3109
|
}) => Promise<{
|
|
3110
|
-
tenantId: string;
|
|
3111
|
-
projectId: string;
|
|
3112
|
-
id: string;
|
|
3113
3110
|
name: string;
|
|
3111
|
+
headers: Record<string, string> | null;
|
|
3112
|
+
id: string;
|
|
3113
|
+
createdAt: string;
|
|
3114
|
+
updatedAt: string;
|
|
3115
|
+
projectId: string;
|
|
3116
|
+
tenantId: string;
|
|
3117
|
+
credentialReferenceId: string | null;
|
|
3118
|
+
capabilities: ToolServerCapabilities | null;
|
|
3114
3119
|
config: {
|
|
3115
3120
|
type: "mcp";
|
|
3116
3121
|
mcp: ToolMcpConfig;
|
|
3117
3122
|
};
|
|
3118
|
-
credentialReferenceId: string | null;
|
|
3119
|
-
createdAt: string;
|
|
3120
|
-
updatedAt: string;
|
|
3121
|
-
headers: Record<string, string> | null;
|
|
3122
|
-
capabilities: ToolServerCapabilities | null;
|
|
3123
3123
|
imageUrl: string | null;
|
|
3124
3124
|
lastError: string | null;
|
|
3125
3125
|
} | null>;
|
|
@@ -3152,19 +3152,19 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
3152
3152
|
};
|
|
3153
3153
|
}>;
|
|
3154
3154
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
3155
|
-
tenantId: string;
|
|
3156
|
-
projectId: string;
|
|
3157
|
-
id: string;
|
|
3158
3155
|
name: string;
|
|
3156
|
+
headers: Record<string, string> | null;
|
|
3157
|
+
id: string;
|
|
3158
|
+
createdAt: string;
|
|
3159
|
+
updatedAt: string;
|
|
3160
|
+
projectId: string;
|
|
3161
|
+
tenantId: string;
|
|
3162
|
+
credentialReferenceId: string | null;
|
|
3163
|
+
capabilities: ToolServerCapabilities | null;
|
|
3159
3164
|
config: {
|
|
3160
3165
|
type: "mcp";
|
|
3161
3166
|
mcp: ToolMcpConfig;
|
|
3162
3167
|
};
|
|
3163
|
-
credentialReferenceId: string | null;
|
|
3164
|
-
createdAt: string;
|
|
3165
|
-
updatedAt: string;
|
|
3166
|
-
headers: Record<string, string> | null;
|
|
3167
|
-
capabilities: ToolServerCapabilities | null;
|
|
3168
3168
|
imageUrl: string | null;
|
|
3169
3169
|
lastError: string | null;
|
|
3170
3170
|
}>;
|
|
@@ -3173,19 +3173,19 @@ declare const updateTool: (db: DatabaseClient) => (params: {
|
|
|
3173
3173
|
toolId: string;
|
|
3174
3174
|
data: ToolUpdate;
|
|
3175
3175
|
}) => Promise<{
|
|
3176
|
-
tenantId: string;
|
|
3177
|
-
projectId: string;
|
|
3178
|
-
id: string;
|
|
3179
3176
|
name: string;
|
|
3177
|
+
headers: Record<string, string> | null;
|
|
3178
|
+
id: string;
|
|
3179
|
+
createdAt: string;
|
|
3180
|
+
updatedAt: string;
|
|
3181
|
+
projectId: string;
|
|
3182
|
+
tenantId: string;
|
|
3183
|
+
credentialReferenceId: string | null;
|
|
3184
|
+
capabilities: ToolServerCapabilities | null;
|
|
3180
3185
|
config: {
|
|
3181
3186
|
type: "mcp";
|
|
3182
3187
|
mcp: ToolMcpConfig;
|
|
3183
3188
|
};
|
|
3184
|
-
credentialReferenceId: string | null;
|
|
3185
|
-
createdAt: string;
|
|
3186
|
-
updatedAt: string;
|
|
3187
|
-
headers: Record<string, string> | null;
|
|
3188
|
-
capabilities: ToolServerCapabilities | null;
|
|
3189
3189
|
imageUrl: string | null;
|
|
3190
3190
|
lastError: string | null;
|
|
3191
3191
|
}>;
|
|
@@ -3200,32 +3200,32 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
3200
3200
|
selectedTools?: string[] | null;
|
|
3201
3201
|
headers?: Record<string, string> | null;
|
|
3202
3202
|
}) => Promise<{
|
|
3203
|
-
|
|
3204
|
-
projectId: string;
|
|
3203
|
+
headers: Record<string, string> | null;
|
|
3205
3204
|
id: string;
|
|
3206
|
-
graphId: string;
|
|
3207
3205
|
createdAt: string;
|
|
3208
3206
|
updatedAt: string;
|
|
3209
|
-
|
|
3210
|
-
|
|
3207
|
+
projectId: string;
|
|
3208
|
+
tenantId: string;
|
|
3211
3209
|
selectedTools: string[] | null;
|
|
3210
|
+
graphId: string;
|
|
3212
3211
|
agentId: string;
|
|
3212
|
+
toolId: string;
|
|
3213
3213
|
}>;
|
|
3214
3214
|
declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
3215
3215
|
scopes: GraphScopeConfig;
|
|
3216
3216
|
agentId: string;
|
|
3217
3217
|
toolId: string;
|
|
3218
3218
|
}) => Promise<{
|
|
3219
|
-
|
|
3220
|
-
projectId: string;
|
|
3219
|
+
headers: Record<string, string> | null;
|
|
3221
3220
|
id: string;
|
|
3222
|
-
graphId: string;
|
|
3223
3221
|
createdAt: string;
|
|
3224
3222
|
updatedAt: string;
|
|
3225
|
-
|
|
3226
|
-
|
|
3223
|
+
projectId: string;
|
|
3224
|
+
tenantId: string;
|
|
3227
3225
|
selectedTools: string[] | null;
|
|
3226
|
+
graphId: string;
|
|
3228
3227
|
agentId: string;
|
|
3228
|
+
toolId: string;
|
|
3229
3229
|
}>;
|
|
3230
3230
|
/**
|
|
3231
3231
|
* Upsert agent-tool relation (create if it doesn't exist, update if it does)
|
|
@@ -3238,16 +3238,16 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3238
3238
|
headers?: Record<string, string> | null;
|
|
3239
3239
|
relationId?: string;
|
|
3240
3240
|
}) => Promise<{
|
|
3241
|
-
|
|
3242
|
-
projectId: string;
|
|
3241
|
+
headers: Record<string, string> | null;
|
|
3243
3242
|
id: string;
|
|
3244
|
-
graphId: string;
|
|
3245
3243
|
createdAt: string;
|
|
3246
3244
|
updatedAt: string;
|
|
3247
|
-
|
|
3248
|
-
|
|
3245
|
+
projectId: string;
|
|
3246
|
+
tenantId: string;
|
|
3249
3247
|
selectedTools: string[] | null;
|
|
3248
|
+
graphId: string;
|
|
3250
3249
|
agentId: string;
|
|
3250
|
+
toolId: string;
|
|
3251
3251
|
}>;
|
|
3252
3252
|
/**
|
|
3253
3253
|
* Upsert a tool (create if it doesn't exist, update if it does)
|
|
@@ -3255,19 +3255,19 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3255
3255
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
3256
3256
|
data: ToolInsert;
|
|
3257
3257
|
}) => Promise<{
|
|
3258
|
-
tenantId: string;
|
|
3259
|
-
projectId: string;
|
|
3260
|
-
id: string;
|
|
3261
3258
|
name: string;
|
|
3259
|
+
headers: Record<string, string> | null;
|
|
3260
|
+
id: string;
|
|
3261
|
+
createdAt: string;
|
|
3262
|
+
updatedAt: string;
|
|
3263
|
+
projectId: string;
|
|
3264
|
+
tenantId: string;
|
|
3265
|
+
credentialReferenceId: string | null;
|
|
3266
|
+
capabilities: ToolServerCapabilities | null;
|
|
3262
3267
|
config: {
|
|
3263
3268
|
type: "mcp";
|
|
3264
3269
|
mcp: ToolMcpConfig;
|
|
3265
3270
|
};
|
|
3266
|
-
credentialReferenceId: string | null;
|
|
3267
|
-
createdAt: string;
|
|
3268
|
-
updatedAt: string;
|
|
3269
|
-
headers: Record<string, string> | null;
|
|
3270
|
-
capabilities: ToolServerCapabilities | null;
|
|
3271
3271
|
imageUrl: string | null;
|
|
3272
3272
|
lastError: string | null;
|
|
3273
3273
|
}>;
|