@inkeep/agents-core 0.0.0-dev-20251001030148 → 0.0.0-dev-20251001062426
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/README.md +1 -7
- package/dist/{chunk-YVGNJIQZ.js → chunk-J7YOVSV7.js} +1 -1
- package/dist/{chunk-URSDNK76.js → chunk-KBRQN63H.js} +82 -206
- package/dist/{chunk-JXAL2ALG.js → chunk-R5V3UTGB.js} +1 -1
- package/dist/client-exports.cjs +80 -200
- package/dist/client-exports.d.cts +2 -2
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/db/schema.cjs +80 -204
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +1 -1
- package/dist/index.cjs +80 -208
- package/dist/index.d.cts +104 -102
- package/dist/index.d.ts +104 -102
- package/dist/index.js +6 -6
- package/dist/{schema-BQoMyAN6.d.ts → schema-BA1ATr-V.d.ts} +674 -663
- package/dist/{schema-B0z-X5Hq.d.cts → schema-CGo-G_SM.d.cts} +674 -663
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-8RXSemmL.d.cts → utility-ChGndcyd.d.cts} +874 -850
- package/dist/{utility-8RXSemmL.d.ts → utility-ChGndcyd.d.ts} +874 -850
- package/dist/validation/index.cjs +80 -200
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/package.json +4 -5
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-8RXSemmL.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-ChGndcyd.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-ChGndcyd.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,
|
|
7
|
+
import { s as schema } from './schema-BA1ATr-V.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-BA1ATr-V.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';
|
|
@@ -920,9 +920,8 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
|
|
|
920
920
|
pagination?: PaginationConfig;
|
|
921
921
|
}) => Promise<{
|
|
922
922
|
data: {
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
id: string;
|
|
923
|
+
createdAt: string;
|
|
924
|
+
updatedAt: string;
|
|
926
925
|
name: string;
|
|
927
926
|
description: string | null;
|
|
928
927
|
defaultAgentId: string | null;
|
|
@@ -960,8 +959,9 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
|
|
|
960
959
|
stopWhen: {
|
|
961
960
|
transferCountIs?: number | undefined;
|
|
962
961
|
} | null;
|
|
963
|
-
|
|
964
|
-
|
|
962
|
+
projectId: string;
|
|
963
|
+
tenantId: string;
|
|
964
|
+
id: string;
|
|
965
965
|
}[];
|
|
966
966
|
pagination: {
|
|
967
967
|
page: number;
|
|
@@ -1113,16 +1113,16 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
1113
1113
|
pagination?: PaginationConfig;
|
|
1114
1114
|
}) => Promise<{
|
|
1115
1115
|
data: {
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
graphId: string;
|
|
1119
|
-
id: string;
|
|
1116
|
+
createdAt: string;
|
|
1117
|
+
updatedAt: string;
|
|
1120
1118
|
sourceAgentId: string;
|
|
1121
1119
|
targetAgentId: string | null;
|
|
1122
1120
|
externalAgentId: string | null;
|
|
1123
1121
|
relationType: string | null;
|
|
1124
|
-
|
|
1125
|
-
|
|
1122
|
+
graphId: string;
|
|
1123
|
+
projectId: string;
|
|
1124
|
+
tenantId: string;
|
|
1125
|
+
id: string;
|
|
1126
1126
|
}[];
|
|
1127
1127
|
pagination: {
|
|
1128
1128
|
page: number;
|
|
@@ -1165,16 +1165,16 @@ declare const getAgentRelationsBySource: (db: DatabaseClient) => (params: {
|
|
|
1165
1165
|
pagination?: PaginationConfig;
|
|
1166
1166
|
}) => Promise<{
|
|
1167
1167
|
data: {
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
graphId: string;
|
|
1171
|
-
id: string;
|
|
1168
|
+
createdAt: string;
|
|
1169
|
+
updatedAt: string;
|
|
1172
1170
|
sourceAgentId: string;
|
|
1173
1171
|
targetAgentId: string | null;
|
|
1174
1172
|
externalAgentId: string | null;
|
|
1175
1173
|
relationType: string | null;
|
|
1176
|
-
|
|
1177
|
-
|
|
1174
|
+
graphId: string;
|
|
1175
|
+
projectId: string;
|
|
1176
|
+
tenantId: string;
|
|
1177
|
+
id: string;
|
|
1178
1178
|
}[];
|
|
1179
1179
|
pagination: {
|
|
1180
1180
|
page: number;
|
|
@@ -1189,16 +1189,16 @@ declare const getAgentRelationsByTarget: (db: DatabaseClient) => (params: {
|
|
|
1189
1189
|
pagination?: PaginationConfig;
|
|
1190
1190
|
}) => Promise<{
|
|
1191
1191
|
data: {
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
graphId: string;
|
|
1195
|
-
id: string;
|
|
1192
|
+
createdAt: string;
|
|
1193
|
+
updatedAt: string;
|
|
1196
1194
|
sourceAgentId: string;
|
|
1197
1195
|
targetAgentId: string | null;
|
|
1198
1196
|
externalAgentId: string | null;
|
|
1199
1197
|
relationType: string | null;
|
|
1200
|
-
|
|
1201
|
-
|
|
1198
|
+
graphId: string;
|
|
1199
|
+
projectId: string;
|
|
1200
|
+
tenantId: string;
|
|
1201
|
+
id: string;
|
|
1202
1202
|
}[];
|
|
1203
1203
|
pagination: {
|
|
1204
1204
|
page: number;
|
|
@@ -1213,16 +1213,16 @@ declare const getExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
1213
1213
|
pagination?: PaginationConfig;
|
|
1214
1214
|
}) => Promise<{
|
|
1215
1215
|
data: {
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
graphId: string;
|
|
1219
|
-
id: string;
|
|
1216
|
+
createdAt: string;
|
|
1217
|
+
updatedAt: string;
|
|
1220
1218
|
sourceAgentId: string;
|
|
1221
1219
|
targetAgentId: string | null;
|
|
1222
1220
|
externalAgentId: string | null;
|
|
1223
1221
|
relationType: string | null;
|
|
1224
|
-
|
|
1225
|
-
|
|
1222
|
+
graphId: string;
|
|
1223
|
+
projectId: string;
|
|
1224
|
+
tenantId: string;
|
|
1225
|
+
id: string;
|
|
1226
1226
|
}[];
|
|
1227
1227
|
pagination: {
|
|
1228
1228
|
page: number;
|
|
@@ -1399,16 +1399,16 @@ declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
|
1399
1399
|
pagination?: PaginationConfig;
|
|
1400
1400
|
}) => Promise<{
|
|
1401
1401
|
data: {
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
graphId: string;
|
|
1405
|
-
agentId: string;
|
|
1406
|
-
id: string;
|
|
1402
|
+
createdAt: string;
|
|
1403
|
+
updatedAt: string;
|
|
1407
1404
|
toolId: string;
|
|
1408
1405
|
selectedTools: string[] | null;
|
|
1409
1406
|
headers: Record<string, string> | null;
|
|
1410
|
-
|
|
1411
|
-
|
|
1407
|
+
agentId: string;
|
|
1408
|
+
graphId: string;
|
|
1409
|
+
projectId: string;
|
|
1410
|
+
tenantId: string;
|
|
1411
|
+
id: string;
|
|
1412
1412
|
}[];
|
|
1413
1413
|
pagination: {
|
|
1414
1414
|
page: number;
|
|
@@ -1423,16 +1423,16 @@ declare const getAgentToolRelationByTool: (db: DatabaseClient) => (params: {
|
|
|
1423
1423
|
pagination?: PaginationConfig;
|
|
1424
1424
|
}) => Promise<{
|
|
1425
1425
|
data: {
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
graphId: string;
|
|
1429
|
-
agentId: string;
|
|
1430
|
-
id: string;
|
|
1426
|
+
createdAt: string;
|
|
1427
|
+
updatedAt: string;
|
|
1431
1428
|
toolId: string;
|
|
1432
1429
|
selectedTools: string[] | null;
|
|
1433
1430
|
headers: Record<string, string> | null;
|
|
1434
|
-
|
|
1435
|
-
|
|
1431
|
+
agentId: string;
|
|
1432
|
+
graphId: string;
|
|
1433
|
+
projectId: string;
|
|
1434
|
+
tenantId: string;
|
|
1435
|
+
id: string;
|
|
1436
1436
|
}[];
|
|
1437
1437
|
pagination: {
|
|
1438
1438
|
page: number;
|
|
@@ -1446,16 +1446,16 @@ declare const listAgentToolRelations: (db: DatabaseClient) => (params: {
|
|
|
1446
1446
|
pagination?: PaginationConfig;
|
|
1447
1447
|
}) => Promise<{
|
|
1448
1448
|
data: {
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
graphId: string;
|
|
1452
|
-
agentId: string;
|
|
1453
|
-
id: string;
|
|
1449
|
+
createdAt: string;
|
|
1450
|
+
updatedAt: string;
|
|
1454
1451
|
toolId: string;
|
|
1455
1452
|
selectedTools: string[] | null;
|
|
1456
1453
|
headers: Record<string, string> | null;
|
|
1457
|
-
|
|
1458
|
-
|
|
1454
|
+
agentId: string;
|
|
1455
|
+
graphId: string;
|
|
1456
|
+
projectId: string;
|
|
1457
|
+
tenantId: string;
|
|
1458
|
+
id: string;
|
|
1459
1459
|
}[];
|
|
1460
1460
|
pagination: {
|
|
1461
1461
|
page: number;
|
|
@@ -1625,12 +1625,8 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1625
1625
|
pagination?: PaginationConfig;
|
|
1626
1626
|
}) => Promise<{
|
|
1627
1627
|
data: {
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
graphId: string;
|
|
1631
|
-
id: string;
|
|
1632
|
-
name: string;
|
|
1633
|
-
description: string;
|
|
1628
|
+
createdAt: string;
|
|
1629
|
+
updatedAt: string;
|
|
1634
1630
|
prompt: string;
|
|
1635
1631
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1636
1632
|
models: {
|
|
@@ -1650,8 +1646,12 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1650
1646
|
stopWhen: {
|
|
1651
1647
|
stepCountIs?: number | undefined;
|
|
1652
1648
|
} | null;
|
|
1653
|
-
|
|
1654
|
-
|
|
1649
|
+
name: string;
|
|
1650
|
+
description: string;
|
|
1651
|
+
graphId: string;
|
|
1652
|
+
projectId: string;
|
|
1653
|
+
tenantId: string;
|
|
1654
|
+
id: string;
|
|
1655
1655
|
}[];
|
|
1656
1656
|
pagination: {
|
|
1657
1657
|
page: number;
|
|
@@ -1736,12 +1736,8 @@ declare const getAgentsByIds: (db: DatabaseClient) => (params: {
|
|
|
1736
1736
|
scopes: GraphScopeConfig;
|
|
1737
1737
|
agentIds: string[];
|
|
1738
1738
|
}) => Promise<{
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
graphId: string;
|
|
1742
|
-
id: string;
|
|
1743
|
-
name: string;
|
|
1744
|
-
description: string;
|
|
1739
|
+
createdAt: string;
|
|
1740
|
+
updatedAt: string;
|
|
1745
1741
|
prompt: string;
|
|
1746
1742
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1747
1743
|
models: {
|
|
@@ -1761,8 +1757,12 @@ declare const getAgentsByIds: (db: DatabaseClient) => (params: {
|
|
|
1761
1757
|
stopWhen: {
|
|
1762
1758
|
stepCountIs?: number | undefined;
|
|
1763
1759
|
} | null;
|
|
1764
|
-
|
|
1765
|
-
|
|
1760
|
+
name: string;
|
|
1761
|
+
description: string;
|
|
1762
|
+
graphId: string;
|
|
1763
|
+
projectId: string;
|
|
1764
|
+
tenantId: string;
|
|
1765
|
+
id: string;
|
|
1766
1766
|
}[]>;
|
|
1767
1767
|
|
|
1768
1768
|
declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
@@ -1898,15 +1898,15 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
1898
1898
|
declare const listArtifactComponents: (db: DatabaseClient) => (params: {
|
|
1899
1899
|
scopes: ProjectScopeConfig;
|
|
1900
1900
|
}) => Promise<{
|
|
1901
|
-
tenantId: string;
|
|
1902
|
-
projectId: string;
|
|
1903
|
-
id: string;
|
|
1904
|
-
name: string;
|
|
1905
|
-
description: string;
|
|
1906
|
-
summaryProps: Record<string, unknown> | null;
|
|
1907
|
-
fullProps: Record<string, unknown> | null;
|
|
1908
1901
|
createdAt: string;
|
|
1909
1902
|
updatedAt: string;
|
|
1903
|
+
summaryProps: Record<string, unknown> | null;
|
|
1904
|
+
fullProps: Record<string, unknown> | null;
|
|
1905
|
+
name: string;
|
|
1906
|
+
description: string;
|
|
1907
|
+
projectId: string;
|
|
1908
|
+
tenantId: string;
|
|
1909
|
+
id: string;
|
|
1910
1910
|
}[]>;
|
|
1911
1911
|
declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params: {
|
|
1912
1912
|
scopes: ProjectScopeConfig;
|
|
@@ -2726,9 +2726,8 @@ declare const listMessages: (db: DatabaseClient) => (params: {
|
|
|
2726
2726
|
scopes: ProjectScopeConfig;
|
|
2727
2727
|
pagination: PaginationConfig;
|
|
2728
2728
|
}) => Promise<{
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
id: string;
|
|
2729
|
+
createdAt: string;
|
|
2730
|
+
updatedAt: string;
|
|
2732
2731
|
conversationId: string;
|
|
2733
2732
|
role: string;
|
|
2734
2733
|
fromAgentId: string | null;
|
|
@@ -2744,17 +2743,17 @@ declare const listMessages: (db: DatabaseClient) => (params: {
|
|
|
2744
2743
|
a2aTaskId: string | null;
|
|
2745
2744
|
a2aSessionId: string | null;
|
|
2746
2745
|
metadata: MessageMetadata | null;
|
|
2747
|
-
|
|
2748
|
-
|
|
2746
|
+
projectId: string;
|
|
2747
|
+
tenantId: string;
|
|
2748
|
+
id: string;
|
|
2749
2749
|
}[]>;
|
|
2750
2750
|
declare const getMessagesByConversation: (db: DatabaseClient) => (params: {
|
|
2751
2751
|
scopes: ProjectScopeConfig;
|
|
2752
2752
|
conversationId: string;
|
|
2753
2753
|
pagination: PaginationConfig;
|
|
2754
2754
|
}) => Promise<{
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
id: string;
|
|
2755
|
+
createdAt: string;
|
|
2756
|
+
updatedAt: string;
|
|
2758
2757
|
conversationId: string;
|
|
2759
2758
|
role: string;
|
|
2760
2759
|
fromAgentId: string | null;
|
|
@@ -2770,17 +2769,17 @@ declare const getMessagesByConversation: (db: DatabaseClient) => (params: {
|
|
|
2770
2769
|
a2aTaskId: string | null;
|
|
2771
2770
|
a2aSessionId: string | null;
|
|
2772
2771
|
metadata: MessageMetadata | null;
|
|
2773
|
-
|
|
2774
|
-
|
|
2772
|
+
projectId: string;
|
|
2773
|
+
tenantId: string;
|
|
2774
|
+
id: string;
|
|
2775
2775
|
}[]>;
|
|
2776
2776
|
declare const getMessagesByTask: (db: DatabaseClient) => (params: {
|
|
2777
2777
|
scopes: ProjectScopeConfig;
|
|
2778
2778
|
taskId: string;
|
|
2779
2779
|
pagination: PaginationConfig;
|
|
2780
2780
|
}) => Promise<{
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
id: string;
|
|
2781
|
+
createdAt: string;
|
|
2782
|
+
updatedAt: string;
|
|
2784
2783
|
conversationId: string;
|
|
2785
2784
|
role: string;
|
|
2786
2785
|
fromAgentId: string | null;
|
|
@@ -2796,8 +2795,9 @@ declare const getMessagesByTask: (db: DatabaseClient) => (params: {
|
|
|
2796
2795
|
a2aTaskId: string | null;
|
|
2797
2796
|
a2aSessionId: string | null;
|
|
2798
2797
|
metadata: MessageMetadata | null;
|
|
2799
|
-
|
|
2800
|
-
|
|
2798
|
+
projectId: string;
|
|
2799
|
+
tenantId: string;
|
|
2800
|
+
id: string;
|
|
2801
2801
|
}[]>;
|
|
2802
2802
|
declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
2803
2803
|
scopes: ProjectScopeConfig;
|
|
@@ -2805,9 +2805,8 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
2805
2805
|
visibility?: MessageVisibility[];
|
|
2806
2806
|
pagination: PaginationConfig;
|
|
2807
2807
|
}) => Promise<{
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
id: string;
|
|
2808
|
+
createdAt: string;
|
|
2809
|
+
updatedAt: string;
|
|
2811
2810
|
conversationId: string;
|
|
2812
2811
|
role: string;
|
|
2813
2812
|
fromAgentId: string | null;
|
|
@@ -2823,8 +2822,9 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
2823
2822
|
a2aTaskId: string | null;
|
|
2824
2823
|
a2aSessionId: string | null;
|
|
2825
2824
|
metadata: MessageMetadata | null;
|
|
2826
|
-
|
|
2827
|
-
|
|
2825
|
+
projectId: string;
|
|
2826
|
+
tenantId: string;
|
|
2827
|
+
id: string;
|
|
2828
2828
|
}[]>;
|
|
2829
2829
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
2830
2830
|
tenantId: string;
|
|
@@ -3002,6 +3002,7 @@ declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promis
|
|
|
3002
3002
|
tenantId: string;
|
|
3003
3003
|
projectId: string;
|
|
3004
3004
|
id: string;
|
|
3005
|
+
graphId: string;
|
|
3005
3006
|
createdAt: string;
|
|
3006
3007
|
updatedAt: string;
|
|
3007
3008
|
metadata: TaskMetadataConfig | null;
|
|
@@ -3022,6 +3023,7 @@ declare const updateTask: (db: DatabaseClient) => (params: {
|
|
|
3022
3023
|
tenantId: string;
|
|
3023
3024
|
projectId: string;
|
|
3024
3025
|
id: string;
|
|
3026
|
+
graphId: string;
|
|
3025
3027
|
createdAt: string;
|
|
3026
3028
|
updatedAt: string;
|
|
3027
3029
|
metadata: TaskMetadataConfig | null;
|
|
@@ -3059,9 +3061,8 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
3059
3061
|
pagination?: PaginationConfig;
|
|
3060
3062
|
}) => Promise<{
|
|
3061
3063
|
data: {
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
id: string;
|
|
3064
|
+
createdAt: string;
|
|
3065
|
+
updatedAt: string;
|
|
3065
3066
|
name: string;
|
|
3066
3067
|
config: {
|
|
3067
3068
|
type: "mcp";
|
|
@@ -3072,8 +3073,9 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
3072
3073
|
imageUrl: string | null;
|
|
3073
3074
|
capabilities: ToolServerCapabilities | null;
|
|
3074
3075
|
lastError: string | null;
|
|
3075
|
-
|
|
3076
|
-
|
|
3076
|
+
projectId: string;
|
|
3077
|
+
tenantId: string;
|
|
3078
|
+
id: string;
|
|
3077
3079
|
}[];
|
|
3078
3080
|
pagination: {
|
|
3079
3081
|
page: number;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { TaskState } from './chunk-H2F72PDA.js';
|
|
2
|
-
import { validateAndTypeGraphData, validateGraphStructure, isInternalAgent, isExternalAgent } from './chunk-
|
|
3
|
-
export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from './chunk-
|
|
4
|
-
import { ContextConfigApiUpdateSchema } from './chunk-
|
|
5
|
-
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from './chunk-
|
|
6
|
-
import { schema_exports, agentRelations, agents, externalAgents, agentToolRelations, tools, contextConfigs, agentGraph, agentDataComponents, agentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, credentialReferences, ledgerArtifacts, tasks, taskRelations } from './chunk-
|
|
7
|
-
export { agentArtifactComponents, agentArtifactComponentsRelations, agentDataComponents, agentDataComponentsRelations, agentGraph, agentGraphRelations, agentRelations, agentRelationsRelations, agentToolRelations, agentToolRelationsRelations, agents, agentsRelations, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, ledgerArtifacts,
|
|
2
|
+
import { validateAndTypeGraphData, validateGraphStructure, isInternalAgent, isExternalAgent } from './chunk-J7YOVSV7.js';
|
|
3
|
+
export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from './chunk-J7YOVSV7.js';
|
|
4
|
+
import { ContextConfigApiUpdateSchema } from './chunk-R5V3UTGB.js';
|
|
5
|
+
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from './chunk-R5V3UTGB.js';
|
|
6
|
+
import { schema_exports, agentRelations, agents, externalAgents, agentToolRelations, tools, contextConfigs, agentGraph, agentDataComponents, agentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, credentialReferences, ledgerArtifacts, tasks, taskRelations } from './chunk-KBRQN63H.js';
|
|
7
|
+
export { agentArtifactComponents, agentArtifactComponentsRelations, agentDataComponents, agentDataComponentsRelations, agentGraph, agentGraphRelations, agentRelations, agentRelationsRelations, agentToolRelations, agentToolRelationsRelations, agents, agentsRelations, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from './chunk-KBRQN63H.js';
|
|
8
8
|
import { CredentialStoreType, MCPServerType, MCPTransportType } from './chunk-YFHT5M2R.js';
|
|
9
9
|
export { CredentialStoreType, MCPServerType, MCPTransportType, TOOL_STATUS_VALUES, VALID_RELATION_TYPES } from './chunk-YFHT5M2R.js';
|
|
10
10
|
import { __publicField } from './chunk-MKBO26DX.js';
|