@inkeep/agents-core 0.0.0-dev-20251003162502 → 0.0.0-dev-20251003192005
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/{schema-DeUmRJk-.d.cts → schema-BB_Q_YNK.d.ts} +1 -1
- package/dist/{schema-DhRzICV3.d.ts → schema-DDUpvlcp.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/package.json +1 -1
- package/dist/{utility-BOfzG3mF.d.cts → utility-Cd0qsewS.d.cts} +178 -178
- package/dist/{utility-BOfzG3mF.d.ts → utility-Cd0qsewS.d.ts} +178 -178
package/dist/index.d.cts
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-BOfzG3mF.cjs';
|
|
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-Cd0qsewS.cjs';
|
|
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.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, 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-DDUpvlcp.cjs';
|
|
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-DDUpvlcp.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';
|
|
@@ -818,13 +818,14 @@ declare class CredentialStuffer {
|
|
|
818
818
|
declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
819
819
|
scopes: GraphScopeConfig;
|
|
820
820
|
}) => Promise<{
|
|
821
|
-
|
|
821
|
+
tenantId: string;
|
|
822
|
+
projectId: string;
|
|
822
823
|
id: string;
|
|
824
|
+
name: string;
|
|
825
|
+
description: string | null;
|
|
823
826
|
createdAt: string;
|
|
824
827
|
updatedAt: string;
|
|
825
|
-
|
|
826
|
-
tenantId: string;
|
|
827
|
-
description: string | null;
|
|
828
|
+
defaultAgentId: string | null;
|
|
828
829
|
models: {
|
|
829
830
|
base?: {
|
|
830
831
|
model?: string | undefined;
|
|
@@ -842,7 +843,6 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
|
842
843
|
stopWhen: {
|
|
843
844
|
transferCountIs?: number | undefined;
|
|
844
845
|
} | null;
|
|
845
|
-
defaultAgentId: string | null;
|
|
846
846
|
contextConfigId: string | null;
|
|
847
847
|
statusUpdates: {
|
|
848
848
|
enabled?: boolean | undefined;
|
|
@@ -864,13 +864,14 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
|
864
864
|
declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
865
865
|
scopes: GraphScopeConfig;
|
|
866
866
|
}) => Promise<{
|
|
867
|
-
|
|
867
|
+
tenantId: string;
|
|
868
|
+
projectId: string;
|
|
868
869
|
id: string;
|
|
870
|
+
name: string;
|
|
871
|
+
description: string | null;
|
|
869
872
|
createdAt: string;
|
|
870
873
|
updatedAt: string;
|
|
871
|
-
|
|
872
|
-
tenantId: string;
|
|
873
|
-
description: string | null;
|
|
874
|
+
defaultAgentId: string | null;
|
|
874
875
|
models: {
|
|
875
876
|
base?: {
|
|
876
877
|
model?: string | undefined;
|
|
@@ -888,7 +889,6 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
888
889
|
stopWhen: {
|
|
889
890
|
transferCountIs?: number | undefined;
|
|
890
891
|
} | null;
|
|
891
|
-
defaultAgentId: string | null;
|
|
892
892
|
contextConfigId: string | null;
|
|
893
893
|
statusUpdates: {
|
|
894
894
|
enabled?: boolean | undefined;
|
|
@@ -907,13 +907,16 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
907
907
|
} | null;
|
|
908
908
|
graphPrompt: string | null;
|
|
909
909
|
defaultAgent: {
|
|
910
|
-
|
|
910
|
+
tenantId: string;
|
|
911
|
+
projectId: string;
|
|
911
912
|
id: string;
|
|
913
|
+
name: string;
|
|
914
|
+
description: string;
|
|
915
|
+
prompt: string;
|
|
916
|
+
graphId: string;
|
|
912
917
|
createdAt: string;
|
|
913
918
|
updatedAt: string;
|
|
914
|
-
|
|
915
|
-
tenantId: string;
|
|
916
|
-
description: string;
|
|
919
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
917
920
|
models: {
|
|
918
921
|
base?: {
|
|
919
922
|
model?: string | undefined;
|
|
@@ -931,21 +934,19 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
931
934
|
stopWhen: {
|
|
932
935
|
stepCountIs?: number | undefined;
|
|
933
936
|
} | 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
|
-
|
|
942
|
+
tenantId: string;
|
|
943
|
+
projectId: string;
|
|
943
944
|
id: string;
|
|
945
|
+
name: string;
|
|
946
|
+
description: string | null;
|
|
944
947
|
createdAt: string;
|
|
945
948
|
updatedAt: string;
|
|
946
|
-
|
|
947
|
-
tenantId: string;
|
|
948
|
-
description: string | null;
|
|
949
|
+
defaultAgentId: string | null;
|
|
949
950
|
models: {
|
|
950
951
|
base?: {
|
|
951
952
|
model?: string | undefined;
|
|
@@ -963,7 +964,6 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
|
963
964
|
stopWhen: {
|
|
964
965
|
transferCountIs?: number | undefined;
|
|
965
966
|
} | null;
|
|
966
|
-
defaultAgentId: string | null;
|
|
967
967
|
contextConfigId: string | null;
|
|
968
968
|
statusUpdates: {
|
|
969
969
|
enabled?: boolean | undefined;
|
|
@@ -1038,13 +1038,14 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1038
1038
|
};
|
|
1039
1039
|
}>;
|
|
1040
1040
|
declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
|
|
1041
|
-
|
|
1041
|
+
tenantId: string;
|
|
1042
|
+
projectId: string;
|
|
1042
1043
|
id: string;
|
|
1044
|
+
name: string;
|
|
1045
|
+
description: string | null;
|
|
1043
1046
|
createdAt: string;
|
|
1044
1047
|
updatedAt: string;
|
|
1045
|
-
|
|
1046
|
-
tenantId: string;
|
|
1047
|
-
description: string | null;
|
|
1048
|
+
defaultAgentId: string | null;
|
|
1048
1049
|
models: {
|
|
1049
1050
|
base?: {
|
|
1050
1051
|
model?: string | undefined;
|
|
@@ -1062,7 +1063,6 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
|
|
|
1062
1063
|
stopWhen: {
|
|
1063
1064
|
transferCountIs?: number | undefined;
|
|
1064
1065
|
} | null;
|
|
1065
|
-
defaultAgentId: string | null;
|
|
1066
1066
|
contextConfigId: string | null;
|
|
1067
1067
|
statusUpdates: {
|
|
1068
1068
|
enabled?: boolean | undefined;
|
|
@@ -1085,13 +1085,14 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
1085
1085
|
scopes: GraphScopeConfig;
|
|
1086
1086
|
data: AgentGraphUpdate;
|
|
1087
1087
|
}) => Promise<{
|
|
1088
|
-
|
|
1088
|
+
tenantId: string;
|
|
1089
|
+
projectId: string;
|
|
1089
1090
|
id: string;
|
|
1091
|
+
name: string;
|
|
1092
|
+
description: string | null;
|
|
1090
1093
|
createdAt: string;
|
|
1091
1094
|
updatedAt: string;
|
|
1092
|
-
|
|
1093
|
-
tenantId: string;
|
|
1094
|
-
description: string | null;
|
|
1095
|
+
defaultAgentId: string | null;
|
|
1095
1096
|
models: {
|
|
1096
1097
|
base?: {
|
|
1097
1098
|
model?: string | undefined;
|
|
@@ -1109,7 +1110,6 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
1109
1110
|
stopWhen: {
|
|
1110
1111
|
transferCountIs?: number | undefined;
|
|
1111
1112
|
} | 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;
|
|
1167
1169
|
id: string;
|
|
1170
|
+
graphId: string;
|
|
1168
1171
|
createdAt: string;
|
|
1169
1172
|
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;
|
|
1204
1206
|
id: string;
|
|
1207
|
+
graphId: string;
|
|
1205
1208
|
createdAt: string;
|
|
1206
1209
|
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;
|
|
1218
1220
|
id: string;
|
|
1221
|
+
graphId: string;
|
|
1219
1222
|
createdAt: string;
|
|
1220
1223
|
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;
|
|
1323
1325
|
id: string;
|
|
1326
|
+
graphId: string;
|
|
1324
1327
|
createdAt: string;
|
|
1325
1328
|
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;
|
|
1344
1346
|
id: string;
|
|
1347
|
+
graphId: string;
|
|
1345
1348
|
createdAt: string;
|
|
1346
1349
|
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;
|
|
1359
1361
|
id: string;
|
|
1362
|
+
graphId: string;
|
|
1360
1363
|
createdAt: string;
|
|
1361
1364
|
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;
|
|
1371
1373
|
id: string;
|
|
1374
|
+
graphId: string;
|
|
1372
1375
|
createdAt: string;
|
|
1373
1376
|
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;
|
|
1387
1389
|
id: string;
|
|
1390
|
+
graphId: string;
|
|
1388
1391
|
createdAt: string;
|
|
1389
1392
|
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
|
-
|
|
1415
|
+
tenantId: string;
|
|
1416
|
+
projectId: string;
|
|
1416
1417
|
id: string;
|
|
1418
|
+
graphId: string;
|
|
1417
1419
|
createdAt: string;
|
|
1418
1420
|
updatedAt: string;
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
+
headers: Record<string, string> | null;
|
|
1422
|
+
toolId: string;
|
|
1421
1423
|
selectedTools: string[] | null;
|
|
1422
|
-
graphId: string;
|
|
1423
1424
|
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
|
-
|
|
1431
|
+
tenantId: string;
|
|
1432
|
+
projectId: string;
|
|
1432
1433
|
id: string;
|
|
1434
|
+
graphId: string;
|
|
1433
1435
|
createdAt: string;
|
|
1434
1436
|
updatedAt: string;
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
+
headers: Record<string, string> | null;
|
|
1438
|
+
toolId: string;
|
|
1437
1439
|
selectedTools: string[] | null;
|
|
1438
|
-
graphId: string;
|
|
1439
1440
|
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
|
-
|
|
1453
|
+
tenantId: string;
|
|
1454
|
+
projectId: string;
|
|
1454
1455
|
id: string;
|
|
1456
|
+
graphId: string;
|
|
1455
1457
|
createdAt: string;
|
|
1456
1458
|
updatedAt: string;
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
+
headers: Record<string, string> | null;
|
|
1460
|
+
toolId: string;
|
|
1459
1461
|
selectedTools: string[] | null;
|
|
1460
|
-
graphId: string;
|
|
1461
1462
|
agentId: string;
|
|
1462
|
-
toolId: string;
|
|
1463
1463
|
} | undefined>;
|
|
1464
1464
|
declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
1465
1465
|
scopes: AgentScopeConfig;
|
|
@@ -1628,13 +1628,16 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1628
1628
|
scopes: GraphScopeConfig;
|
|
1629
1629
|
agentId: string;
|
|
1630
1630
|
}) => Promise<{
|
|
1631
|
-
|
|
1631
|
+
tenantId: string;
|
|
1632
|
+
projectId: string;
|
|
1632
1633
|
id: string;
|
|
1634
|
+
name: string;
|
|
1635
|
+
description: string;
|
|
1636
|
+
prompt: string;
|
|
1637
|
+
graphId: string;
|
|
1633
1638
|
createdAt: string;
|
|
1634
1639
|
updatedAt: string;
|
|
1635
|
-
|
|
1636
|
-
tenantId: string;
|
|
1637
|
-
description: string;
|
|
1640
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1638
1641
|
models: {
|
|
1639
1642
|
base?: {
|
|
1640
1643
|
model?: string | undefined;
|
|
@@ -1652,20 +1655,20 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1652
1655
|
stopWhen: {
|
|
1653
1656
|
stepCountIs?: number | undefined;
|
|
1654
1657
|
} | 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
|
-
|
|
1662
|
+
tenantId: string;
|
|
1663
|
+
projectId: string;
|
|
1663
1664
|
id: string;
|
|
1665
|
+
name: string;
|
|
1666
|
+
description: string;
|
|
1667
|
+
prompt: string;
|
|
1668
|
+
graphId: string;
|
|
1664
1669
|
createdAt: string;
|
|
1665
1670
|
updatedAt: string;
|
|
1666
|
-
|
|
1667
|
-
tenantId: string;
|
|
1668
|
-
description: string;
|
|
1671
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1669
1672
|
models: {
|
|
1670
1673
|
base?: {
|
|
1671
1674
|
model?: string | undefined;
|
|
@@ -1683,9 +1686,6 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
1683
1686
|
stopWhen: {
|
|
1684
1687
|
stepCountIs?: number | undefined;
|
|
1685
1688
|
} | 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,13 +1728,16 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1728
1728
|
};
|
|
1729
1729
|
}>;
|
|
1730
1730
|
declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
|
|
1731
|
-
|
|
1731
|
+
tenantId: string;
|
|
1732
|
+
projectId: string;
|
|
1732
1733
|
id: string;
|
|
1734
|
+
name: string;
|
|
1735
|
+
description: string;
|
|
1736
|
+
prompt: string;
|
|
1737
|
+
graphId: string;
|
|
1733
1738
|
createdAt: string;
|
|
1734
1739
|
updatedAt: string;
|
|
1735
|
-
|
|
1736
|
-
tenantId: string;
|
|
1737
|
-
description: string;
|
|
1740
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1738
1741
|
models: {
|
|
1739
1742
|
base?: {
|
|
1740
1743
|
model?: string | undefined;
|
|
@@ -1752,22 +1755,22 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
|
|
|
1752
1755
|
stopWhen: {
|
|
1753
1756
|
stepCountIs?: number | undefined;
|
|
1754
1757
|
} | 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
|
-
|
|
1764
|
+
tenantId: string;
|
|
1765
|
+
projectId: string;
|
|
1765
1766
|
id: string;
|
|
1767
|
+
name: string;
|
|
1768
|
+
description: string;
|
|
1769
|
+
prompt: string;
|
|
1770
|
+
graphId: string;
|
|
1766
1771
|
createdAt: string;
|
|
1767
1772
|
updatedAt: string;
|
|
1768
|
-
|
|
1769
|
-
tenantId: string;
|
|
1770
|
-
description: string;
|
|
1773
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1771
1774
|
models: {
|
|
1772
1775
|
base?: {
|
|
1773
1776
|
model?: string | undefined;
|
|
@@ -1785,9 +1788,6 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
|
1785
1788
|
stopWhen: {
|
|
1786
1789
|
stepCountIs?: number | undefined;
|
|
1787
1790
|
} | 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
|
-
name: string | null;
|
|
1840
|
-
id: string;
|
|
1841
|
-
createdAt: string;
|
|
1842
|
-
updatedAt: string;
|
|
1843
|
-
projectId: string;
|
|
1844
1839
|
tenantId: string;
|
|
1840
|
+
projectId: string;
|
|
1841
|
+
id: string;
|
|
1842
|
+
name: string | null;
|
|
1845
1843
|
graphId: string;
|
|
1846
1844
|
publicId: string;
|
|
1847
1845
|
keyHash: string;
|
|
1848
1846
|
keyPrefix: string;
|
|
1849
1847
|
lastUsedAt: string | null;
|
|
1850
1848
|
expiresAt: string | null;
|
|
1851
|
-
} | undefined>;
|
|
1852
|
-
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1853
|
-
name: string | null;
|
|
1854
|
-
id: string;
|
|
1855
1849
|
createdAt: string;
|
|
1856
1850
|
updatedAt: string;
|
|
1857
|
-
|
|
1851
|
+
} | undefined>;
|
|
1852
|
+
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1858
1853
|
tenantId: string;
|
|
1854
|
+
projectId: string;
|
|
1855
|
+
id: string;
|
|
1856
|
+
name: string | null;
|
|
1859
1857
|
graphId: string;
|
|
1860
1858
|
publicId: string;
|
|
1861
1859
|
keyHash: string;
|
|
1862
1860
|
keyPrefix: string;
|
|
1863
1861
|
lastUsedAt: string | null;
|
|
1864
1862
|
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
|
-
name: string | null;
|
|
1871
|
-
id: string;
|
|
1872
|
-
createdAt: string;
|
|
1873
|
-
updatedAt: string;
|
|
1874
|
-
projectId: string;
|
|
1875
1870
|
tenantId: string;
|
|
1871
|
+
projectId: string;
|
|
1872
|
+
id: string;
|
|
1873
|
+
name: string | null;
|
|
1876
1874
|
graphId: string;
|
|
1877
1875
|
publicId: string;
|
|
1878
1876
|
keyHash: string;
|
|
1879
1877
|
keyPrefix: string;
|
|
1880
1878
|
lastUsedAt: string | null;
|
|
1881
1879
|
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
|
-
name: string | null;
|
|
1898
|
-
id: string;
|
|
1899
|
-
createdAt: string;
|
|
1900
|
-
updatedAt: string;
|
|
1901
|
-
projectId: string;
|
|
1902
1897
|
tenantId: string;
|
|
1898
|
+
projectId: string;
|
|
1899
|
+
id: string;
|
|
1900
|
+
name: string | null;
|
|
1903
1901
|
graphId: string;
|
|
1904
1902
|
publicId: string;
|
|
1905
1903
|
keyHash: string;
|
|
1906
1904
|
keyPrefix: string;
|
|
1907
1905
|
lastUsedAt: string | null;
|
|
1908
1906
|
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
|
-
name: string | null;
|
|
1916
|
-
id: string;
|
|
1917
|
-
createdAt: string;
|
|
1918
|
-
updatedAt: string;
|
|
1919
|
-
projectId: string;
|
|
1920
1915
|
tenantId: string;
|
|
1916
|
+
projectId: string;
|
|
1917
|
+
id: string;
|
|
1918
|
+
name: string | null;
|
|
1921
1919
|
graphId: string;
|
|
1922
1920
|
publicId: string;
|
|
1923
1921
|
keyHash: string;
|
|
1924
1922
|
keyPrefix: string;
|
|
1925
1923
|
lastUsedAt: string | null;
|
|
1926
1924
|
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
|
-
|
|
1955
|
+
tenantId: string;
|
|
1956
|
+
projectId: string;
|
|
1956
1957
|
id: string;
|
|
1958
|
+
name: string;
|
|
1959
|
+
description: string;
|
|
1957
1960
|
createdAt: string;
|
|
1958
1961
|
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
|
-
|
|
1991
|
+
tenantId: string;
|
|
1992
|
+
projectId: string;
|
|
1992
1993
|
id: string;
|
|
1994
|
+
name: string;
|
|
1995
|
+
description: string;
|
|
1993
1996
|
createdAt: string;
|
|
1994
1997
|
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
|
-
|
|
2006
|
+
tenantId: string;
|
|
2007
|
+
projectId: string;
|
|
2007
2008
|
id: string;
|
|
2009
|
+
name: string;
|
|
2010
|
+
description: string;
|
|
2008
2011
|
createdAt: string;
|
|
2009
2012
|
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
|
-
id: string;
|
|
2038
|
-
createdAt: string;
|
|
2039
|
-
projectId: string;
|
|
2040
2037
|
tenantId: string;
|
|
2038
|
+
projectId: string;
|
|
2039
|
+
id: string;
|
|
2041
2040
|
graphId: string;
|
|
2041
|
+
createdAt: 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
|
-
id: string;
|
|
2081
|
-
createdAt: string;
|
|
2082
|
-
projectId: string;
|
|
2083
2080
|
tenantId: string;
|
|
2081
|
+
projectId: string;
|
|
2082
|
+
id: string;
|
|
2084
2083
|
graphId: string;
|
|
2084
|
+
createdAt: 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
|
-
|
|
2164
|
+
tenantId: string;
|
|
2165
|
+
projectId: string;
|
|
2165
2166
|
id: string;
|
|
2167
|
+
name: string;
|
|
2168
|
+
description: string;
|
|
2166
2169
|
createdAt: string;
|
|
2167
2170
|
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
|
-
|
|
2177
|
+
tenantId: string;
|
|
2178
|
+
projectId: string;
|
|
2178
2179
|
id: string;
|
|
2180
|
+
name: string;
|
|
2181
|
+
description: string;
|
|
2179
2182
|
createdAt: string;
|
|
2180
2183
|
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
|
-
|
|
2200
|
+
tenantId: string;
|
|
2201
|
+
projectId: string;
|
|
2201
2202
|
id: string;
|
|
2203
|
+
name: string;
|
|
2204
|
+
description: string;
|
|
2202
2205
|
createdAt: string;
|
|
2203
2206
|
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
|
-
|
|
2215
|
+
tenantId: string;
|
|
2216
|
+
projectId: string;
|
|
2216
2217
|
id: string;
|
|
2218
|
+
name: string;
|
|
2219
|
+
description: string;
|
|
2217
2220
|
createdAt: string;
|
|
2218
2221
|
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
|
-
|
|
2240
|
+
tenantId: string;
|
|
2241
|
+
projectId: string;
|
|
2241
2242
|
id: string;
|
|
2243
|
+
name: string;
|
|
2244
|
+
description: string;
|
|
2242
2245
|
createdAt: string;
|
|
2243
2246
|
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
|
-
|
|
2256
|
+
tenantId: string;
|
|
2257
|
+
projectId: string;
|
|
2257
2258
|
id: string;
|
|
2259
|
+
name: string;
|
|
2260
|
+
description: string;
|
|
2258
2261
|
createdAt: string;
|
|
2259
2262
|
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;
|
|
2276
2278
|
id: string;
|
|
2277
2279
|
createdAt: string;
|
|
2278
2280
|
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;
|
|
2292
2294
|
id: string;
|
|
2293
2295
|
createdAt: string;
|
|
2294
2296
|
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;
|
|
2312
2314
|
id: string;
|
|
2313
2315
|
createdAt: string;
|
|
2314
2316
|
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;
|
|
2327
2329
|
id: string;
|
|
2328
2330
|
createdAt: string;
|
|
2329
2331
|
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;
|
|
2365
2367
|
id: string;
|
|
2366
2368
|
createdAt: string;
|
|
2367
2369
|
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
|
-
id: string;
|
|
2535
|
-
createdAt: string;
|
|
2536
|
-
projectId: string;
|
|
2537
2534
|
tenantId: string;
|
|
2535
|
+
projectId: string;
|
|
2536
|
+
id: string;
|
|
2538
2537
|
graphId: string;
|
|
2538
|
+
createdAt: 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
|
-
id: string;
|
|
2577
|
-
createdAt: string;
|
|
2578
|
-
projectId: string;
|
|
2579
2576
|
tenantId: string;
|
|
2577
|
+
projectId: string;
|
|
2578
|
+
id: string;
|
|
2580
2579
|
graphId: string;
|
|
2580
|
+
createdAt: 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;
|
|
2771
2773
|
id: string;
|
|
2772
2774
|
createdAt: string;
|
|
2773
2775
|
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;
|
|
2897
2899
|
id: string;
|
|
2898
2900
|
createdAt: string;
|
|
2899
2901
|
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;
|
|
2923
2925
|
id: string;
|
|
2924
2926
|
createdAt: string;
|
|
2925
2927
|
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;
|
|
2948
2950
|
id: string;
|
|
2949
2951
|
createdAt: string;
|
|
2950
2952
|
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;
|
|
3069
3071
|
id: string;
|
|
3072
|
+
graphId: string;
|
|
3070
3073
|
createdAt: string;
|
|
3071
3074
|
updatedAt: string;
|
|
3072
|
-
projectId: string;
|
|
3073
|
-
tenantId: string;
|
|
3074
3075
|
metadata: TaskMetadataConfig | null;
|
|
3075
3076
|
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;
|
|
3090
3092
|
id: string;
|
|
3093
|
+
graphId: string;
|
|
3091
3094
|
createdAt: string;
|
|
3092
3095
|
updatedAt: string;
|
|
3093
|
-
projectId: string;
|
|
3094
|
-
tenantId: string;
|
|
3095
3096
|
metadata: TaskMetadataConfig | null;
|
|
3096
3097
|
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
|
-
name: string;
|
|
3111
|
-
headers: Record<string, string> | null;
|
|
3112
|
-
id: string;
|
|
3113
|
-
createdAt: string;
|
|
3114
|
-
updatedAt: string;
|
|
3115
|
-
projectId: string;
|
|
3116
3110
|
tenantId: string;
|
|
3117
|
-
|
|
3118
|
-
|
|
3111
|
+
projectId: string;
|
|
3112
|
+
id: string;
|
|
3113
|
+
name: string;
|
|
3119
3114
|
config: {
|
|
3120
3115
|
type: "mcp";
|
|
3121
3116
|
mcp: ToolMcpConfig;
|
|
3122
3117
|
};
|
|
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
|
-
name: string;
|
|
3156
|
-
headers: Record<string, string> | null;
|
|
3157
|
-
id: string;
|
|
3158
|
-
createdAt: string;
|
|
3159
|
-
updatedAt: string;
|
|
3160
|
-
projectId: string;
|
|
3161
3155
|
tenantId: string;
|
|
3162
|
-
|
|
3163
|
-
|
|
3156
|
+
projectId: string;
|
|
3157
|
+
id: string;
|
|
3158
|
+
name: string;
|
|
3164
3159
|
config: {
|
|
3165
3160
|
type: "mcp";
|
|
3166
3161
|
mcp: ToolMcpConfig;
|
|
3167
3162
|
};
|
|
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
|
-
name: string;
|
|
3177
|
-
headers: Record<string, string> | null;
|
|
3178
|
-
id: string;
|
|
3179
|
-
createdAt: string;
|
|
3180
|
-
updatedAt: string;
|
|
3181
|
-
projectId: string;
|
|
3182
3176
|
tenantId: string;
|
|
3183
|
-
|
|
3184
|
-
|
|
3177
|
+
projectId: string;
|
|
3178
|
+
id: string;
|
|
3179
|
+
name: string;
|
|
3185
3180
|
config: {
|
|
3186
3181
|
type: "mcp";
|
|
3187
3182
|
mcp: ToolMcpConfig;
|
|
3188
3183
|
};
|
|
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
|
-
|
|
3203
|
+
tenantId: string;
|
|
3204
|
+
projectId: string;
|
|
3204
3205
|
id: string;
|
|
3206
|
+
graphId: string;
|
|
3205
3207
|
createdAt: string;
|
|
3206
3208
|
updatedAt: string;
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
+
headers: Record<string, string> | null;
|
|
3210
|
+
toolId: string;
|
|
3209
3211
|
selectedTools: string[] | null;
|
|
3210
|
-
graphId: string;
|
|
3211
3212
|
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
|
-
|
|
3219
|
+
tenantId: string;
|
|
3220
|
+
projectId: string;
|
|
3220
3221
|
id: string;
|
|
3222
|
+
graphId: string;
|
|
3221
3223
|
createdAt: string;
|
|
3222
3224
|
updatedAt: string;
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
+
headers: Record<string, string> | null;
|
|
3226
|
+
toolId: string;
|
|
3225
3227
|
selectedTools: string[] | null;
|
|
3226
|
-
graphId: string;
|
|
3227
3228
|
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
|
-
|
|
3241
|
+
tenantId: string;
|
|
3242
|
+
projectId: string;
|
|
3242
3243
|
id: string;
|
|
3244
|
+
graphId: string;
|
|
3243
3245
|
createdAt: string;
|
|
3244
3246
|
updatedAt: string;
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
+
headers: Record<string, string> | null;
|
|
3248
|
+
toolId: string;
|
|
3247
3249
|
selectedTools: string[] | null;
|
|
3248
|
-
graphId: string;
|
|
3249
3250
|
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
|
-
name: string;
|
|
3259
|
-
headers: Record<string, string> | null;
|
|
3260
|
-
id: string;
|
|
3261
|
-
createdAt: string;
|
|
3262
|
-
updatedAt: string;
|
|
3263
|
-
projectId: string;
|
|
3264
3258
|
tenantId: string;
|
|
3265
|
-
|
|
3266
|
-
|
|
3259
|
+
projectId: string;
|
|
3260
|
+
id: string;
|
|
3261
|
+
name: string;
|
|
3267
3262
|
config: {
|
|
3268
3263
|
type: "mcp";
|
|
3269
3264
|
mcp: ToolMcpConfig;
|
|
3270
3265
|
};
|
|
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
|
}>;
|