@inkeep/agents-core 0.0.0-dev-20250912011812 → 0.0.0-dev-20250912012315
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 +3 -3
- package/dist/client-exports.d.ts +3 -3
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +124 -124
- package/dist/index.d.ts +124 -124
- package/dist/index.js +1 -1
- package/dist/{schema-Dbc3UMpd.d.cts → schema-2Sd93dmu.d.cts} +1 -1
- package/dist/{schema-DFDqtBpV.d.ts → schema-BhCjDbs3.d.ts} +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/{entities-CNJaf-rG.d.cts → entities-BbN3GqYV.d.cts} +114 -114
- package/dist/{entities-CNJaf-rG.d.ts → entities-BbN3GqYV.d.ts} +114 -114
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
-
import { a as ContextFetchDefinition, i as ContextConfigSelect, F as FetchDefinition, M as MCPTransportType, j as MCPToolConfig, S as ScopeConfig, b as ConversationHistoryConfig, k as PaginationConfig, A as AgentGraphInsert, l as AgentGraphUpdate, m as FullGraphDefinition, n as AgentRelationInsert, E as ExternalAgentRelationInsert, o as AgentRelationUpdate, p as AgentToolRelationUpdate, c as ToolMcpConfig, d as ToolServerCapabilities, e as McpToolDefinition, q as AgentInsert, r as AgentUpdate, s as AgentSelect, t as ApiKeySelect, u as ApiKeyInsert, v as ApiKeyUpdate, w as CreateApiKeyParams, x as ApiKeyCreateResult, y as ArtifactComponentSelect, z as ArtifactComponentInsert, B as ArtifactComponentUpdate, D as ContextCacheSelect, G as ContextCacheInsert, H as ContextConfigInsert, I as ContextConfigUpdate, J as ConversationSelect, K as ConversationInsert, f as ConversationMetadata, L as ConversationUpdate, N as CredentialReferenceSelect, O as ToolSelect, Q as CredentialReferenceInsert, R as CredentialReferenceUpdate, U as DataComponentSelect, V as DataComponentInsert, W as DataComponentUpdate, X as ExternalAgentInsert, Y as ExternalAgentSelect, Z as ExternalAgentUpdate, _ as Artifact, $ as LedgerArtifactSelect, h as MessageMetadata, g as MessageContent, a0 as MessageVisibility, a1 as MessageInsert, a2 as MessageUpdate, a3 as ProjectInfo, a4 as ProjectSelect, a5 as PaginationResult, a6 as ProjectResourceCounts, a7 as ProjectInsert, a8 as ProjectUpdate, a9 as TaskInsert, T as TaskMetadataConfig, aa as TaskSelect, ab as McpTool, ac as McpToolStatus, ad as ToolInsert, ae as ToolUpdate, C as CredentialStoreType, af as ExecutionContext } from './entities-
|
|
3
|
-
export { aT as A2AError, bn as A2ARequest, bo as A2AResponse, as as APIKeySecurityScheme, bs as AgentApiInsert, dh as AgentApiInsertSchema, br as AgentApiSelect, dg as AgentApiSelectSchema, bt as AgentApiUpdate, di as AgentApiUpdateSchema, ck as AgentArtifactComponentApiInsert, et as AgentArtifactComponentApiInsertSchema, cj as AgentArtifactComponentApiSelect, es as AgentArtifactComponentApiSelectSchema, cl as AgentArtifactComponentApiUpdate, eu as AgentArtifactComponentApiUpdateSchema, ch as AgentArtifactComponentInsert, eq as AgentArtifactComponentInsertSchema, cg as AgentArtifactComponentSelect, ep as AgentArtifactComponentSelectSchema, ci as AgentArtifactComponentUpdate, er as AgentArtifactComponentUpdateSchema, ao as AgentCapabilities, aC as AgentCard, cY as AgentConversationHistoryConfig, cb as AgentDataComponentApiInsert, eh as AgentDataComponentApiInsertSchema, ca as AgentDataComponentApiSelect, eg as AgentDataComponentApiSelectSchema, cc as AgentDataComponentApiUpdate, ei as AgentDataComponentApiUpdateSchema, c8 as AgentDataComponentInsert, ee as AgentDataComponentInsertSchema, c7 as AgentDataComponentSelect, ed as AgentDataComponentSelectSchema, c9 as AgentDataComponentUpdate, ef as AgentDataComponentUpdateSchema, cJ as AgentDefinition, bC as AgentGraphApiInsert, dx as AgentGraphApiInsertSchema, bB as AgentGraphApiSelect, dw as AgentGraphApiSelectSchema, bD as AgentGraphApiUpdate, dy as AgentGraphApiUpdateSchema, du as AgentGraphInsertSchema, bA as AgentGraphSelect, dt as AgentGraphSelectSchema, dv as AgentGraphUpdateSchema, de as AgentInsertSchema, ap as AgentProvider, bw as AgentRelationApiInsert, dn as AgentRelationApiInsertSchema, bv as AgentRelationApiSelect, dm as AgentRelationApiSelectSchema, bx as AgentRelationApiUpdate, dp as AgentRelationApiUpdateSchema, dk as AgentRelationInsertSchema, by as AgentRelationQuery, dq as AgentRelationQuerySchema, bu as AgentRelationSelect, dj as AgentRelationSelectSchema, dl as AgentRelationUpdateSchema, dd as AgentSelectSchema, aq as AgentSkill, cA as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cz as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cB as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cy as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cx as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, df as AgentUpdateSchema, eB as AllAgentSchema, cp as AllAgentSelect, ct as ApiKeyApiCreationResponse, eG as ApiKeyApiCreationResponseSchema, cr as ApiKeyApiInsert, eH as ApiKeyApiInsertSchema, cq as ApiKeyApiSelect, eF as ApiKeyApiSelectSchema, cs as ApiKeyApiUpdate, eI as ApiKeyApiUpdateSchema, eD as ApiKeyInsertSchema, eC as ApiKeySelectSchema, eE as ApiKeyUpdateSchema, ce as ArtifactComponentApiInsert, en as ArtifactComponentApiInsertSchema, cd as ArtifactComponentApiSelect, em as ArtifactComponentApiSelectSchema, cf as ArtifactComponentApiUpdate, eo as ArtifactComponentApiUpdateSchema, ek as ArtifactComponentInsertSchema, ej as ArtifactComponentSelectSchema, el as ArtifactComponentUpdateSchema, av as AuthorizationCodeOAuthFlow, b7 as CancelTaskRequest, bi as CancelTaskResponse, bh as CancelTaskSuccessResponse, aw as ClientCredentialsOAuthFlow, aR as ContentTypeNotSupportedError, c2 as ContextCacheApiInsert, e4 as ContextCacheApiInsertSchema, c1 as ContextCacheApiSelect, e3 as ContextCacheApiSelectSchema, c3 as ContextCacheApiUpdate, e5 as ContextCacheApiUpdateSchema, cZ as ContextCacheEntry, e1 as ContextCacheInsertSchema, e0 as ContextCacheSelectSchema, c0 as ContextCacheUpdate, e2 as ContextCacheUpdateSchema, bZ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, bY as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, b_ as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bS as ConversationApiInsert, dU as ConversationApiInsertSchema, bR as ConversationApiSelect, dT as ConversationApiSelectSchema, bT as ConversationApiUpdate, dV as ConversationApiUpdateSchema, dR as ConversationInsertSchema, cX as ConversationScopeOptions, dQ as ConversationSelectSchema, dS as ConversationUpdateSchema, cv as CredentialReferenceApiInsert, eN as CredentialReferenceApiInsertSchema, cu as CredentialReferenceApiSelect, eM as CredentialReferenceApiSelectSchema, cw as CredentialReferenceApiUpdate, eO as CredentialReferenceApiUpdateSchema, eK as CredentialReferenceInsertSchema, eJ as CredentialReferenceSelectSchema, eL as CredentialReferenceUpdateSchema, c5 as DataComponentApiInsert, eb as DataComponentApiInsertSchema, c4 as DataComponentApiSelect, ea as DataComponentApiSelectSchema, c6 as DataComponentApiUpdate, ec as DataComponentApiUpdateSchema, e8 as DataComponentBaseSchema, e7 as DataComponentInsertSchema, e6 as DataComponentSelectSchema, e9 as DataComponentUpdateSchema, am as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, cn as ExternalAgentApiInsert, ez as ExternalAgentApiInsertSchema, cm as ExternalAgentApiSelect, ey as ExternalAgentApiSelectSchema, co as ExternalAgentApiUpdate, eA as ExternalAgentApiUpdateSchema, ew as ExternalAgentInsertSchema, bz as ExternalAgentRelationApiInsert, ds as ExternalAgentRelationApiInsertSchema, dr as ExternalAgentRelationInsertSchema, ev as ExternalAgentSelectSchema, ex as ExternalAgentUpdateSchema, b$ as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ai as FileBase, al as FilePart, aj as FileWithBytes, ak as FileWithUri, cH as FullGraphAgentInsert, ff as FullGraphAgentInsertSchema, fg as FullGraphDefinitionSchema, b9 as GetTaskPushNotificationConfigRequest, bm as GetTaskPushNotificationConfigResponse, bl as GetTaskPushNotificationConfigSuccessResponse, b6 as GetTaskRequest, bg as GetTaskResponse, bf as GetTaskSuccessResponse, at as HTTPAuthSecurityScheme, ft as HeadersScopeSchema, fy as IdParamsSchema, ax as ImplicitOAuthFlow, cI as InternalAgentDefinition, aM as InternalError, aS as InvalidAgentResponseError, aL as InvalidParamsError, aJ as InvalidRequestError, aI as JSONParseError, b1 as JSONRPCError, b3 as JSONRPCErrorResponse, a$ as JSONRPCMessage, b0 as JSONRPCRequest, b2 as JSONRPCResult, cF as LedgerArtifactApiInsert, fb as LedgerArtifactApiInsertSchema, cE as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cG as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cC as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cD as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d7 as MAX_ID_LENGTH, d5 as MCPServerType, eQ as MCPToolConfigSchema, d6 as MIN_ID_LENGTH, c_ as McpAuthType, c$ as McpServerAuth, d1 as McpServerCapabilities, dN as McpToolDefinitionSchema, eP as McpToolSchema, d0 as McpTransportConfig, dL as McpTransportConfigSchema, aD as Message, bW as MessageApiInsert, d_ as MessageApiInsertSchema, bV as MessageApiSelect, dZ as MessageApiSelectSchema, bX as MessageApiUpdate, d$ as MessageApiUpdateSchema, dX as MessageInsertSchema, cR as MessageMode, bp as MessagePart, cQ as MessageRole, bU as MessageSelect, dW as MessageSelectSchema, aZ as MessageSendConfiguration, a_ as MessageSendParams, cP as MessageType, dY as MessageUpdateSchema, aK as MethodNotFoundError, db as ModelSchema, cU as ModelSettings, da as ModelSettingsSchema, cS as Models, az as OAuth2SecurityScheme, au as OAuthFlows, aA as OpenIdConnectSecurityScheme, cO as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ag as PartBase, ay as PasswordOAuthFlow, cM as ProjectApiInsert, fr as ProjectApiInsertSchema, cL as ProjectApiSelect, fq as ProjectApiSelectSchema, cN as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, dc as ProjectModelSchema, cT as ProjectModels, fn as ProjectSelectSchema, fp as ProjectUpdateSchema, aU as PushNotificationAuthenticationInfo, aV as PushNotificationConfig, aP as PushNotificationNotSupportedError, fm as RemovedResponseSchema, aB as SecurityScheme, ar as SecuritySchemeBase, b4 as SendMessageRequest, bc as SendMessageResponse, bb as SendMessageSuccessResponse, b5 as SendStreamingMessageRequest, be as SendStreamingMessageResponse, bd as SendStreamingMessageSuccessResponse, b8 as SetTaskPushNotificationConfigRequest, bk as SetTaskPushNotificationConfigResponse, bj as SetTaskPushNotificationConfigSuccessResponse, fj as SingleResponseSchema, cW as StatusComponent, fd as StatusComponentSchema, fe as StatusUpdateSchema, cV as StatusUpdateSettings, d3 as TOOL_STATUS_VALUES, aF as Task, bG as TaskApiInsert, dD as TaskApiInsertSchema, bF as TaskApiSelect, dC as TaskApiSelectSchema, bH as TaskApiUpdate, dE as TaskApiUpdateSchema, bq as TaskArtifact, aH as TaskArtifactUpdateEvent, aX as TaskIdParams, dA as TaskInsertSchema, aO as TaskNotCancelableError, aN as TaskNotFoundError, aW as TaskPushNotificationConfig, aY as TaskQueryParams, bM as TaskRelationApiInsert, dJ as TaskRelationApiInsertSchema, bL as TaskRelationApiSelect, dI as TaskRelationApiSelectSchema, bN as TaskRelationApiUpdate, dK as TaskRelationApiUpdateSchema, bJ as TaskRelationInsert, dG as TaskRelationInsertSchema, bI as TaskRelationSelect, dF as TaskRelationSelectSchema, bK as TaskRelationUpdate, dH as TaskRelationUpdateSchema, ba as TaskResubscriptionRequest, dz as TaskSelectSchema, an as TaskState, aE as TaskStatus, aG as TaskStatusUpdateEvent, bE as TaskUpdate, dB as TaskUpdateSchema, fx as TenantIdParamsSchema, fu as TenantParamsSchema, fw as TenantProjectIdParamsSchema, fv as TenantProjectParamsSchema, ah as TextPart, bP as ToolApiInsert, eT as ToolApiInsertSchema, bO as ToolApiSelect, eS as ToolApiSelectSchema, bQ as ToolApiUpdate, eU as ToolApiUpdateSchema, cK as ToolDefinition, dP as ToolInsertSchema, dO as ToolSelectSchema, dM as ToolStatusSchema, eR as ToolUpdateSchema, d8 as URL_SAFE_ID_PATTERN, aQ as UnsupportedOperationError, d4 as VALID_RELATION_TYPES, d9 as resourceIdSchema, d2 as toolStatus } from './entities-CNJaf-rG.cjs';
|
|
2
|
+
import { a as ContextFetchDefinition, i as ContextConfigSelect, F as FetchDefinition, M as MCPTransportType, j as MCPToolConfig, S as ScopeConfig, b as ConversationHistoryConfig, k as PaginationConfig, A as AgentGraphInsert, l as AgentGraphUpdate, m as FullGraphDefinition, n as AgentRelationInsert, E as ExternalAgentRelationInsert, o as AgentRelationUpdate, p as AgentToolRelationUpdate, c as ToolMcpConfig, d as ToolServerCapabilities, e as McpToolDefinition, q as AgentInsert, r as AgentUpdate, s as AgentSelect, t as ApiKeySelect, u as ApiKeyInsert, v as ApiKeyUpdate, w as CreateApiKeyParams, x as ApiKeyCreateResult, y as ArtifactComponentSelect, z as ArtifactComponentInsert, B as ArtifactComponentUpdate, D as ContextCacheSelect, G as ContextCacheInsert, H as ContextConfigInsert, I as ContextConfigUpdate, J as ConversationSelect, K as ConversationInsert, f as ConversationMetadata, L as ConversationUpdate, N as CredentialReferenceSelect, O as ToolSelect, Q as CredentialReferenceInsert, R as CredentialReferenceUpdate, U as DataComponentSelect, V as DataComponentInsert, W as DataComponentUpdate, X as ExternalAgentInsert, Y as ExternalAgentSelect, Z as ExternalAgentUpdate, _ as Artifact, $ as LedgerArtifactSelect, h as MessageMetadata, g as MessageContent, a0 as MessageVisibility, a1 as MessageInsert, a2 as MessageUpdate, a3 as ProjectInfo, a4 as ProjectSelect, a5 as PaginationResult, a6 as ProjectResourceCounts, a7 as ProjectInsert, a8 as ProjectUpdate, a9 as TaskInsert, T as TaskMetadataConfig, aa as TaskSelect, ab as McpTool, ac as McpToolStatus, ad as ToolInsert, ae as ToolUpdate, C as CredentialStoreType, af as ExecutionContext } from './entities-BbN3GqYV.cjs';
|
|
3
|
+
export { aT as A2AError, bn as A2ARequest, bo as A2AResponse, as as APIKeySecurityScheme, bs as AgentApiInsert, dh as AgentApiInsertSchema, br as AgentApiSelect, dg as AgentApiSelectSchema, bt as AgentApiUpdate, di as AgentApiUpdateSchema, ck as AgentArtifactComponentApiInsert, et as AgentArtifactComponentApiInsertSchema, cj as AgentArtifactComponentApiSelect, es as AgentArtifactComponentApiSelectSchema, cl as AgentArtifactComponentApiUpdate, eu as AgentArtifactComponentApiUpdateSchema, ch as AgentArtifactComponentInsert, eq as AgentArtifactComponentInsertSchema, cg as AgentArtifactComponentSelect, ep as AgentArtifactComponentSelectSchema, ci as AgentArtifactComponentUpdate, er as AgentArtifactComponentUpdateSchema, ao as AgentCapabilities, aC as AgentCard, cY as AgentConversationHistoryConfig, cb as AgentDataComponentApiInsert, eh as AgentDataComponentApiInsertSchema, ca as AgentDataComponentApiSelect, eg as AgentDataComponentApiSelectSchema, cc as AgentDataComponentApiUpdate, ei as AgentDataComponentApiUpdateSchema, c8 as AgentDataComponentInsert, ee as AgentDataComponentInsertSchema, c7 as AgentDataComponentSelect, ed as AgentDataComponentSelectSchema, c9 as AgentDataComponentUpdate, ef as AgentDataComponentUpdateSchema, cJ as AgentDefinition, bC as AgentGraphApiInsert, dx as AgentGraphApiInsertSchema, bB as AgentGraphApiSelect, dw as AgentGraphApiSelectSchema, bD as AgentGraphApiUpdate, dy as AgentGraphApiUpdateSchema, du as AgentGraphInsertSchema, bA as AgentGraphSelect, dt as AgentGraphSelectSchema, dv as AgentGraphUpdateSchema, de as AgentInsertSchema, ap as AgentProvider, bw as AgentRelationApiInsert, dn as AgentRelationApiInsertSchema, bv as AgentRelationApiSelect, dm as AgentRelationApiSelectSchema, bx as AgentRelationApiUpdate, dp as AgentRelationApiUpdateSchema, dk as AgentRelationInsertSchema, by as AgentRelationQuery, dq as AgentRelationQuerySchema, bu as AgentRelationSelect, dj as AgentRelationSelectSchema, dl as AgentRelationUpdateSchema, dd as AgentSelectSchema, aq as AgentSkill, cA as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cz as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cB as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cy as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cx as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, df as AgentUpdateSchema, eB as AllAgentSchema, cp as AllAgentSelect, ct as ApiKeyApiCreationResponse, eG as ApiKeyApiCreationResponseSchema, cr as ApiKeyApiInsert, eH as ApiKeyApiInsertSchema, cq as ApiKeyApiSelect, eF as ApiKeyApiSelectSchema, cs as ApiKeyApiUpdate, eI as ApiKeyApiUpdateSchema, eD as ApiKeyInsertSchema, eC as ApiKeySelectSchema, eE as ApiKeyUpdateSchema, ce as ArtifactComponentApiInsert, en as ArtifactComponentApiInsertSchema, cd as ArtifactComponentApiSelect, em as ArtifactComponentApiSelectSchema, cf as ArtifactComponentApiUpdate, eo as ArtifactComponentApiUpdateSchema, ek as ArtifactComponentInsertSchema, ej as ArtifactComponentSelectSchema, el as ArtifactComponentUpdateSchema, av as AuthorizationCodeOAuthFlow, b7 as CancelTaskRequest, bi as CancelTaskResponse, bh as CancelTaskSuccessResponse, aw as ClientCredentialsOAuthFlow, aR as ContentTypeNotSupportedError, c2 as ContextCacheApiInsert, e4 as ContextCacheApiInsertSchema, c1 as ContextCacheApiSelect, e3 as ContextCacheApiSelectSchema, c3 as ContextCacheApiUpdate, e5 as ContextCacheApiUpdateSchema, cZ as ContextCacheEntry, e1 as ContextCacheInsertSchema, e0 as ContextCacheSelectSchema, c0 as ContextCacheUpdate, e2 as ContextCacheUpdateSchema, bZ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, bY as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, b_ as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bS as ConversationApiInsert, dU as ConversationApiInsertSchema, bR as ConversationApiSelect, dT as ConversationApiSelectSchema, bT as ConversationApiUpdate, dV as ConversationApiUpdateSchema, dR as ConversationInsertSchema, cX as ConversationScopeOptions, dQ as ConversationSelectSchema, dS as ConversationUpdateSchema, cv as CredentialReferenceApiInsert, eN as CredentialReferenceApiInsertSchema, cu as CredentialReferenceApiSelect, eM as CredentialReferenceApiSelectSchema, cw as CredentialReferenceApiUpdate, eO as CredentialReferenceApiUpdateSchema, eK as CredentialReferenceInsertSchema, eJ as CredentialReferenceSelectSchema, eL as CredentialReferenceUpdateSchema, c5 as DataComponentApiInsert, eb as DataComponentApiInsertSchema, c4 as DataComponentApiSelect, ea as DataComponentApiSelectSchema, c6 as DataComponentApiUpdate, ec as DataComponentApiUpdateSchema, e8 as DataComponentBaseSchema, e7 as DataComponentInsertSchema, e6 as DataComponentSelectSchema, e9 as DataComponentUpdateSchema, am as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, cn as ExternalAgentApiInsert, ez as ExternalAgentApiInsertSchema, cm as ExternalAgentApiSelect, ey as ExternalAgentApiSelectSchema, co as ExternalAgentApiUpdate, eA as ExternalAgentApiUpdateSchema, ew as ExternalAgentInsertSchema, bz as ExternalAgentRelationApiInsert, ds as ExternalAgentRelationApiInsertSchema, dr as ExternalAgentRelationInsertSchema, ev as ExternalAgentSelectSchema, ex as ExternalAgentUpdateSchema, b$ as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ai as FileBase, al as FilePart, aj as FileWithBytes, ak as FileWithUri, cH as FullGraphAgentInsert, ff as FullGraphAgentInsertSchema, fg as FullGraphDefinitionSchema, b9 as GetTaskPushNotificationConfigRequest, bm as GetTaskPushNotificationConfigResponse, bl as GetTaskPushNotificationConfigSuccessResponse, b6 as GetTaskRequest, bg as GetTaskResponse, bf as GetTaskSuccessResponse, at as HTTPAuthSecurityScheme, ft as HeadersScopeSchema, fy as IdParamsSchema, ax as ImplicitOAuthFlow, cI as InternalAgentDefinition, aM as InternalError, aS as InvalidAgentResponseError, aL as InvalidParamsError, aJ as InvalidRequestError, aI as JSONParseError, b1 as JSONRPCError, b3 as JSONRPCErrorResponse, a$ as JSONRPCMessage, b0 as JSONRPCRequest, b2 as JSONRPCResult, cF as LedgerArtifactApiInsert, fb as LedgerArtifactApiInsertSchema, cE as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cG as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cC as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cD as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d7 as MAX_ID_LENGTH, d5 as MCPServerType, eQ as MCPToolConfigSchema, d6 as MIN_ID_LENGTH, c_ as McpAuthType, c$ as McpServerAuth, d1 as McpServerCapabilities, dN as McpToolDefinitionSchema, eP as McpToolSchema, d0 as McpTransportConfig, dL as McpTransportConfigSchema, aD as Message, bW as MessageApiInsert, d_ as MessageApiInsertSchema, bV as MessageApiSelect, dZ as MessageApiSelectSchema, bX as MessageApiUpdate, d$ as MessageApiUpdateSchema, dX as MessageInsertSchema, cR as MessageMode, bp as MessagePart, cQ as MessageRole, bU as MessageSelect, dW as MessageSelectSchema, aZ as MessageSendConfiguration, a_ as MessageSendParams, cP as MessageType, dY as MessageUpdateSchema, aK as MethodNotFoundError, db as ModelSchema, cU as ModelSettings, da as ModelSettingsSchema, cS as Models, az as OAuth2SecurityScheme, au as OAuthFlows, aA as OpenIdConnectSecurityScheme, cO as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ag as PartBase, ay as PasswordOAuthFlow, cM as ProjectApiInsert, fr as ProjectApiInsertSchema, cL as ProjectApiSelect, fq as ProjectApiSelectSchema, cN as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, dc as ProjectModelSchema, cT as ProjectModels, fn as ProjectSelectSchema, fp as ProjectUpdateSchema, aU as PushNotificationAuthenticationInfo, aV as PushNotificationConfig, aP as PushNotificationNotSupportedError, fm as RemovedResponseSchema, aB as SecurityScheme, ar as SecuritySchemeBase, b4 as SendMessageRequest, bc as SendMessageResponse, bb as SendMessageSuccessResponse, b5 as SendStreamingMessageRequest, be as SendStreamingMessageResponse, bd as SendStreamingMessageSuccessResponse, b8 as SetTaskPushNotificationConfigRequest, bk as SetTaskPushNotificationConfigResponse, bj as SetTaskPushNotificationConfigSuccessResponse, fj as SingleResponseSchema, cW as StatusComponent, fd as StatusComponentSchema, fe as StatusUpdateSchema, cV as StatusUpdateSettings, d3 as TOOL_STATUS_VALUES, aF as Task, bG as TaskApiInsert, dD as TaskApiInsertSchema, bF as TaskApiSelect, dC as TaskApiSelectSchema, bH as TaskApiUpdate, dE as TaskApiUpdateSchema, bq as TaskArtifact, aH as TaskArtifactUpdateEvent, aX as TaskIdParams, dA as TaskInsertSchema, aO as TaskNotCancelableError, aN as TaskNotFoundError, aW as TaskPushNotificationConfig, aY as TaskQueryParams, bM as TaskRelationApiInsert, dJ as TaskRelationApiInsertSchema, bL as TaskRelationApiSelect, dI as TaskRelationApiSelectSchema, bN as TaskRelationApiUpdate, dK as TaskRelationApiUpdateSchema, bJ as TaskRelationInsert, dG as TaskRelationInsertSchema, bI as TaskRelationSelect, dF as TaskRelationSelectSchema, bK as TaskRelationUpdate, dH as TaskRelationUpdateSchema, ba as TaskResubscriptionRequest, dz as TaskSelectSchema, an as TaskState, aE as TaskStatus, aG as TaskStatusUpdateEvent, bE as TaskUpdate, dB as TaskUpdateSchema, fx as TenantIdParamsSchema, fu as TenantParamsSchema, fw as TenantProjectIdParamsSchema, fv as TenantProjectParamsSchema, ah as TextPart, bP as ToolApiInsert, eT as ToolApiInsertSchema, bO as ToolApiSelect, eS as ToolApiSelectSchema, bQ as ToolApiUpdate, eU as ToolApiUpdateSchema, cK as ToolDefinition, dP as ToolInsertSchema, dO as ToolSelectSchema, dM as ToolStatusSchema, eR as ToolUpdateSchema, d8 as URL_SAFE_ID_PATTERN, aQ as UnsupportedOperationError, d4 as VALID_RELATION_TYPES, d9 as resourceIdSchema, d2 as toolStatus } from './entities-BbN3GqYV.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, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from './schema-
|
|
7
|
+
import { s as schema } from './schema-2Sd93dmu.cjs';
|
|
8
|
+
export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from './schema-2Sd93dmu.cjs';
|
|
9
9
|
import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
10
10
|
import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
11
11
|
import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
@@ -713,14 +713,13 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
713
713
|
scopes: ScopeConfig;
|
|
714
714
|
graphId: string;
|
|
715
715
|
}) => Promise<{
|
|
716
|
+
name: string;
|
|
716
717
|
tenantId: string;
|
|
717
718
|
projectId: string;
|
|
718
719
|
id: string;
|
|
719
|
-
name: string;
|
|
720
720
|
description: string | null;
|
|
721
721
|
createdAt: string;
|
|
722
722
|
updatedAt: string;
|
|
723
|
-
defaultAgentId: string;
|
|
724
723
|
models: {
|
|
725
724
|
base?: {
|
|
726
725
|
model?: string | undefined;
|
|
@@ -738,7 +737,8 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
738
737
|
stopWhen: {
|
|
739
738
|
transferCountIs?: number;
|
|
740
739
|
} | null;
|
|
741
|
-
|
|
740
|
+
contextConfigId: string | null;
|
|
741
|
+
defaultAgentId: string;
|
|
742
742
|
statusUpdates: {
|
|
743
743
|
enabled?: boolean | undefined;
|
|
744
744
|
numEvents?: number | undefined;
|
|
@@ -754,20 +754,19 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
754
754
|
} | undefined;
|
|
755
755
|
}[] | undefined;
|
|
756
756
|
} | null;
|
|
757
|
-
|
|
757
|
+
graphPrompt: string | null;
|
|
758
758
|
} | undefined>;
|
|
759
759
|
declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
760
760
|
scopes: ScopeConfig;
|
|
761
761
|
graphId: string;
|
|
762
762
|
}) => Promise<{
|
|
763
|
+
name: string;
|
|
763
764
|
tenantId: string;
|
|
764
765
|
projectId: string;
|
|
765
766
|
id: string;
|
|
766
|
-
name: string;
|
|
767
767
|
description: string | null;
|
|
768
768
|
createdAt: string;
|
|
769
769
|
updatedAt: string;
|
|
770
|
-
defaultAgentId: string;
|
|
771
770
|
models: {
|
|
772
771
|
base?: {
|
|
773
772
|
model?: string | undefined;
|
|
@@ -785,7 +784,8 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
|
785
784
|
stopWhen: {
|
|
786
785
|
transferCountIs?: number;
|
|
787
786
|
} | null;
|
|
788
|
-
|
|
787
|
+
contextConfigId: string | null;
|
|
788
|
+
defaultAgentId: string;
|
|
789
789
|
statusUpdates: {
|
|
790
790
|
enabled?: boolean | undefined;
|
|
791
791
|
numEvents?: number | undefined;
|
|
@@ -801,20 +801,19 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
|
801
801
|
} | undefined;
|
|
802
802
|
}[] | undefined;
|
|
803
803
|
} | null;
|
|
804
|
-
|
|
804
|
+
graphPrompt: string | null;
|
|
805
805
|
} | null>;
|
|
806
806
|
declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
807
807
|
scopes: ScopeConfig;
|
|
808
808
|
graphId: string;
|
|
809
809
|
}) => Promise<{
|
|
810
|
+
name: string;
|
|
810
811
|
tenantId: string;
|
|
811
812
|
projectId: string;
|
|
812
813
|
id: string;
|
|
813
|
-
name: string;
|
|
814
814
|
description: string | null;
|
|
815
815
|
createdAt: string;
|
|
816
816
|
updatedAt: string;
|
|
817
|
-
defaultAgentId: string;
|
|
818
817
|
models: {
|
|
819
818
|
base?: {
|
|
820
819
|
model?: string | undefined;
|
|
@@ -832,7 +831,8 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
832
831
|
stopWhen: {
|
|
833
832
|
transferCountIs?: number;
|
|
834
833
|
} | null;
|
|
835
|
-
|
|
834
|
+
contextConfigId: string | null;
|
|
835
|
+
defaultAgentId: string;
|
|
836
836
|
statusUpdates: {
|
|
837
837
|
enabled?: boolean | undefined;
|
|
838
838
|
numEvents?: number | undefined;
|
|
@@ -848,14 +848,13 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
848
848
|
} | undefined;
|
|
849
849
|
}[] | undefined;
|
|
850
850
|
} | null;
|
|
851
|
-
|
|
851
|
+
graphPrompt: string | null;
|
|
852
852
|
defaultAgent: {
|
|
853
|
+
name: string;
|
|
853
854
|
tenantId: string;
|
|
854
855
|
projectId: string;
|
|
855
856
|
id: string;
|
|
856
|
-
name: string;
|
|
857
857
|
description: string;
|
|
858
|
-
prompt: string;
|
|
859
858
|
createdAt: string;
|
|
860
859
|
updatedAt: string;
|
|
861
860
|
models: {
|
|
@@ -875,20 +874,20 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
875
874
|
stopWhen: {
|
|
876
875
|
stepCountIs?: number;
|
|
877
876
|
} | null;
|
|
877
|
+
prompt: string;
|
|
878
878
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
879
879
|
};
|
|
880
880
|
} | null>;
|
|
881
881
|
declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
882
882
|
scopes: ScopeConfig;
|
|
883
883
|
}) => Promise<{
|
|
884
|
+
name: string;
|
|
884
885
|
tenantId: string;
|
|
885
886
|
projectId: string;
|
|
886
887
|
id: string;
|
|
887
|
-
name: string;
|
|
888
888
|
description: string | null;
|
|
889
889
|
createdAt: string;
|
|
890
890
|
updatedAt: string;
|
|
891
|
-
defaultAgentId: string;
|
|
892
891
|
models: {
|
|
893
892
|
base?: {
|
|
894
893
|
model?: string | undefined;
|
|
@@ -906,7 +905,8 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
|
906
905
|
stopWhen: {
|
|
907
906
|
transferCountIs?: number;
|
|
908
907
|
} | null;
|
|
909
|
-
|
|
908
|
+
contextConfigId: string | null;
|
|
909
|
+
defaultAgentId: string;
|
|
910
910
|
statusUpdates: {
|
|
911
911
|
enabled?: boolean | undefined;
|
|
912
912
|
numEvents?: number | undefined;
|
|
@@ -922,7 +922,7 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
|
922
922
|
} | undefined;
|
|
923
923
|
}[] | undefined;
|
|
924
924
|
} | null;
|
|
925
|
-
|
|
925
|
+
graphPrompt: string | null;
|
|
926
926
|
}[]>;
|
|
927
927
|
declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
|
|
928
928
|
scopes: ScopeConfig;
|
|
@@ -980,14 +980,13 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
|
|
|
980
980
|
};
|
|
981
981
|
}>;
|
|
982
982
|
declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
|
|
983
|
+
name: string;
|
|
983
984
|
tenantId: string;
|
|
984
985
|
projectId: string;
|
|
985
986
|
id: string;
|
|
986
|
-
name: string;
|
|
987
987
|
description: string | null;
|
|
988
988
|
createdAt: string;
|
|
989
989
|
updatedAt: string;
|
|
990
|
-
defaultAgentId: string;
|
|
991
990
|
models: {
|
|
992
991
|
base?: {
|
|
993
992
|
model?: string | undefined;
|
|
@@ -1005,7 +1004,8 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
|
|
|
1005
1004
|
stopWhen: {
|
|
1006
1005
|
transferCountIs?: number;
|
|
1007
1006
|
} | null;
|
|
1008
|
-
|
|
1007
|
+
contextConfigId: string | null;
|
|
1008
|
+
defaultAgentId: string;
|
|
1009
1009
|
statusUpdates: {
|
|
1010
1010
|
enabled?: boolean | undefined;
|
|
1011
1011
|
numEvents?: number | undefined;
|
|
@@ -1021,21 +1021,20 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
|
|
|
1021
1021
|
} | undefined;
|
|
1022
1022
|
}[] | undefined;
|
|
1023
1023
|
} | null;
|
|
1024
|
-
|
|
1024
|
+
graphPrompt: string | null;
|
|
1025
1025
|
}>;
|
|
1026
1026
|
declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
1027
1027
|
scopes: ScopeConfig;
|
|
1028
1028
|
graphId: string;
|
|
1029
1029
|
data: AgentGraphUpdate;
|
|
1030
1030
|
}) => Promise<{
|
|
1031
|
+
name: string;
|
|
1031
1032
|
tenantId: string;
|
|
1032
1033
|
projectId: string;
|
|
1033
1034
|
id: string;
|
|
1034
|
-
name: string;
|
|
1035
1035
|
description: string | null;
|
|
1036
1036
|
createdAt: string;
|
|
1037
1037
|
updatedAt: string;
|
|
1038
|
-
defaultAgentId: string;
|
|
1039
1038
|
models: {
|
|
1040
1039
|
base?: {
|
|
1041
1040
|
model?: string | undefined;
|
|
@@ -1053,7 +1052,8 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
1053
1052
|
stopWhen: {
|
|
1054
1053
|
transferCountIs?: number;
|
|
1055
1054
|
} | null;
|
|
1056
|
-
|
|
1055
|
+
contextConfigId: string | null;
|
|
1056
|
+
defaultAgentId: string;
|
|
1057
1057
|
statusUpdates: {
|
|
1058
1058
|
enabled?: boolean | undefined;
|
|
1059
1059
|
numEvents?: number | undefined;
|
|
@@ -1069,7 +1069,7 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
1069
1069
|
} | undefined;
|
|
1070
1070
|
}[] | undefined;
|
|
1071
1071
|
} | null;
|
|
1072
|
-
|
|
1072
|
+
graphPrompt: string | null;
|
|
1073
1073
|
}>;
|
|
1074
1074
|
declare const deleteAgentGraph: (db: DatabaseClient) => (params: {
|
|
1075
1075
|
scopes: ScopeConfig;
|
|
@@ -1112,9 +1112,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
1112
1112
|
tenantId: string;
|
|
1113
1113
|
projectId: string;
|
|
1114
1114
|
id: string;
|
|
1115
|
-
graphId: string;
|
|
1116
1115
|
createdAt: string;
|
|
1117
1116
|
updatedAt: string;
|
|
1117
|
+
graphId: string;
|
|
1118
1118
|
sourceAgentId: string;
|
|
1119
1119
|
targetAgentId: string | null;
|
|
1120
1120
|
externalAgentId: string | null;
|
|
@@ -1151,9 +1151,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
1151
1151
|
tenantId: string;
|
|
1152
1152
|
projectId: string;
|
|
1153
1153
|
id: string;
|
|
1154
|
-
graphId: string;
|
|
1155
1154
|
createdAt: string;
|
|
1156
1155
|
updatedAt: string;
|
|
1156
|
+
graphId: string;
|
|
1157
1157
|
sourceAgentId: string;
|
|
1158
1158
|
targetAgentId: string | null;
|
|
1159
1159
|
externalAgentId: string | null;
|
|
@@ -1166,9 +1166,9 @@ declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
|
|
|
1166
1166
|
tenantId: string;
|
|
1167
1167
|
projectId: string;
|
|
1168
1168
|
id: string;
|
|
1169
|
-
graphId: string;
|
|
1170
1169
|
createdAt: string;
|
|
1171
1170
|
updatedAt: string;
|
|
1171
|
+
graphId: string;
|
|
1172
1172
|
sourceAgentId: string;
|
|
1173
1173
|
targetAgentId: string | null;
|
|
1174
1174
|
externalAgentId: string | null;
|
|
@@ -1272,9 +1272,9 @@ declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
|
|
|
1272
1272
|
tenantId: string;
|
|
1273
1273
|
projectId: string;
|
|
1274
1274
|
id: string;
|
|
1275
|
-
graphId: string;
|
|
1276
1275
|
createdAt: string;
|
|
1277
1276
|
updatedAt: string;
|
|
1277
|
+
graphId: string;
|
|
1278
1278
|
sourceAgentId: string;
|
|
1279
1279
|
targetAgentId: string | null;
|
|
1280
1280
|
externalAgentId: string | null;
|
|
@@ -1294,9 +1294,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
1294
1294
|
tenantId: string;
|
|
1295
1295
|
projectId: string;
|
|
1296
1296
|
id: string;
|
|
1297
|
-
graphId: string;
|
|
1298
1297
|
createdAt: string;
|
|
1299
1298
|
updatedAt: string;
|
|
1299
|
+
graphId: string;
|
|
1300
1300
|
sourceAgentId: string;
|
|
1301
1301
|
targetAgentId: string | null;
|
|
1302
1302
|
externalAgentId: string | null;
|
|
@@ -1309,9 +1309,9 @@ declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
|
|
|
1309
1309
|
tenantId: string;
|
|
1310
1310
|
projectId: string;
|
|
1311
1311
|
id: string;
|
|
1312
|
-
graphId: string;
|
|
1313
1312
|
createdAt: string;
|
|
1314
1313
|
updatedAt: string;
|
|
1314
|
+
graphId: string;
|
|
1315
1315
|
sourceAgentId: string;
|
|
1316
1316
|
targetAgentId: string | null;
|
|
1317
1317
|
externalAgentId: string | null;
|
|
@@ -1321,9 +1321,9 @@ declare const createExternalAgentRelation: (db: DatabaseClient) => (params: Exte
|
|
|
1321
1321
|
tenantId: string;
|
|
1322
1322
|
projectId: string;
|
|
1323
1323
|
id: string;
|
|
1324
|
-
graphId: string;
|
|
1325
1324
|
createdAt: string;
|
|
1326
1325
|
updatedAt: string;
|
|
1326
|
+
graphId: string;
|
|
1327
1327
|
sourceAgentId: string;
|
|
1328
1328
|
targetAgentId: string | null;
|
|
1329
1329
|
externalAgentId: string | null;
|
|
@@ -1337,9 +1337,9 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
|
|
|
1337
1337
|
tenantId: string;
|
|
1338
1338
|
projectId: string;
|
|
1339
1339
|
id: string;
|
|
1340
|
-
graphId: string;
|
|
1341
1340
|
createdAt: string;
|
|
1342
1341
|
updatedAt: string;
|
|
1342
|
+
graphId: string;
|
|
1343
1343
|
sourceAgentId: string;
|
|
1344
1344
|
targetAgentId: string | null;
|
|
1345
1345
|
externalAgentId: string | null;
|
|
@@ -1572,12 +1572,11 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1572
1572
|
scopes: ScopeConfig;
|
|
1573
1573
|
agentId: string;
|
|
1574
1574
|
}) => Promise<{
|
|
1575
|
+
name: string;
|
|
1575
1576
|
tenantId: string;
|
|
1576
1577
|
projectId: string;
|
|
1577
1578
|
id: string;
|
|
1578
|
-
name: string;
|
|
1579
1579
|
description: string;
|
|
1580
|
-
prompt: string;
|
|
1581
1580
|
createdAt: string;
|
|
1582
1581
|
updatedAt: string;
|
|
1583
1582
|
models: {
|
|
@@ -1597,17 +1596,17 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1597
1596
|
stopWhen: {
|
|
1598
1597
|
stepCountIs?: number;
|
|
1599
1598
|
} | null;
|
|
1599
|
+
prompt: string;
|
|
1600
1600
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1601
1601
|
} | undefined>;
|
|
1602
1602
|
declare const listAgents: (db: DatabaseClient) => (params: {
|
|
1603
1603
|
scopes: ScopeConfig;
|
|
1604
1604
|
}) => Promise<{
|
|
1605
|
+
name: string;
|
|
1605
1606
|
tenantId: string;
|
|
1606
1607
|
projectId: string;
|
|
1607
1608
|
id: string;
|
|
1608
|
-
name: string;
|
|
1609
1609
|
description: string;
|
|
1610
|
-
prompt: string;
|
|
1611
1610
|
createdAt: string;
|
|
1612
1611
|
updatedAt: string;
|
|
1613
1612
|
models: {
|
|
@@ -1627,6 +1626,7 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
1627
1626
|
stopWhen: {
|
|
1628
1627
|
stepCountIs?: number;
|
|
1629
1628
|
} | null;
|
|
1629
|
+
prompt: string;
|
|
1630
1630
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1631
1631
|
}[]>;
|
|
1632
1632
|
declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
@@ -1669,12 +1669,11 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1669
1669
|
};
|
|
1670
1670
|
}>;
|
|
1671
1671
|
declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
|
|
1672
|
+
name: string;
|
|
1672
1673
|
tenantId: string;
|
|
1673
1674
|
projectId: string;
|
|
1674
1675
|
id: string;
|
|
1675
|
-
name: string;
|
|
1676
1676
|
description: string;
|
|
1677
|
-
prompt: string;
|
|
1678
1677
|
createdAt: string;
|
|
1679
1678
|
updatedAt: string;
|
|
1680
1679
|
models: {
|
|
@@ -1694,6 +1693,7 @@ declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Prom
|
|
|
1694
1693
|
stopWhen: {
|
|
1695
1694
|
stepCountIs?: number;
|
|
1696
1695
|
} | null;
|
|
1696
|
+
prompt: string;
|
|
1697
1697
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1698
1698
|
}>;
|
|
1699
1699
|
declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
@@ -1701,12 +1701,11 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
|
1701
1701
|
agentId: string;
|
|
1702
1702
|
data: AgentUpdate;
|
|
1703
1703
|
}) => Promise<{
|
|
1704
|
+
name: string;
|
|
1704
1705
|
tenantId: string;
|
|
1705
1706
|
projectId: string;
|
|
1706
1707
|
id: string;
|
|
1707
|
-
name: string;
|
|
1708
1708
|
description: string;
|
|
1709
|
-
prompt: string;
|
|
1710
1709
|
createdAt: string;
|
|
1711
1710
|
updatedAt: string;
|
|
1712
1711
|
models: {
|
|
@@ -1726,6 +1725,7 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
|
1726
1725
|
stopWhen: {
|
|
1727
1726
|
stepCountIs?: number;
|
|
1728
1727
|
} | null;
|
|
1728
|
+
prompt: string;
|
|
1729
1729
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
1730
1730
|
}>;
|
|
1731
1731
|
/**
|
|
@@ -1790,27 +1790,27 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
1790
1790
|
tenantId: string;
|
|
1791
1791
|
projectId: string;
|
|
1792
1792
|
id: string;
|
|
1793
|
+
createdAt: string;
|
|
1794
|
+
updatedAt: string;
|
|
1793
1795
|
graphId: string;
|
|
1794
1796
|
publicId: string;
|
|
1795
1797
|
keyHash: string;
|
|
1796
1798
|
keyPrefix: string;
|
|
1797
1799
|
lastUsedAt: string | null;
|
|
1798
1800
|
expiresAt: string | null;
|
|
1799
|
-
createdAt: string;
|
|
1800
|
-
updatedAt: string;
|
|
1801
1801
|
} | undefined>;
|
|
1802
1802
|
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1803
1803
|
tenantId: string;
|
|
1804
1804
|
projectId: string;
|
|
1805
1805
|
id: string;
|
|
1806
|
+
createdAt: string;
|
|
1807
|
+
updatedAt: string;
|
|
1806
1808
|
graphId: string;
|
|
1807
1809
|
publicId: string;
|
|
1808
1810
|
keyHash: string;
|
|
1809
1811
|
keyPrefix: string;
|
|
1810
1812
|
lastUsedAt: string | null;
|
|
1811
1813
|
expiresAt: string | null;
|
|
1812
|
-
createdAt: string;
|
|
1813
|
-
updatedAt: string;
|
|
1814
1814
|
} | undefined>;
|
|
1815
1815
|
declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
1816
1816
|
scopes: ScopeConfig;
|
|
@@ -1819,14 +1819,14 @@ declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
|
1819
1819
|
tenantId: string;
|
|
1820
1820
|
projectId: string;
|
|
1821
1821
|
id: string;
|
|
1822
|
+
createdAt: string;
|
|
1823
|
+
updatedAt: string;
|
|
1822
1824
|
graphId: string;
|
|
1823
1825
|
publicId: string;
|
|
1824
1826
|
keyHash: string;
|
|
1825
1827
|
keyPrefix: string;
|
|
1826
1828
|
lastUsedAt: string | null;
|
|
1827
1829
|
expiresAt: string | null;
|
|
1828
|
-
createdAt: string;
|
|
1829
|
-
updatedAt: string;
|
|
1830
1830
|
}[]>;
|
|
1831
1831
|
declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
1832
1832
|
scopes: ScopeConfig;
|
|
@@ -1845,14 +1845,14 @@ declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Pr
|
|
|
1845
1845
|
tenantId: string;
|
|
1846
1846
|
projectId: string;
|
|
1847
1847
|
id: string;
|
|
1848
|
+
createdAt: string;
|
|
1849
|
+
updatedAt: string;
|
|
1848
1850
|
graphId: string;
|
|
1849
1851
|
publicId: string;
|
|
1850
1852
|
keyHash: string;
|
|
1851
1853
|
keyPrefix: string;
|
|
1852
1854
|
lastUsedAt: string | null;
|
|
1853
1855
|
expiresAt: string | null;
|
|
1854
|
-
createdAt: string;
|
|
1855
|
-
updatedAt: string;
|
|
1856
1856
|
}>;
|
|
1857
1857
|
declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
1858
1858
|
scopes: ScopeConfig;
|
|
@@ -1862,14 +1862,14 @@ declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
|
1862
1862
|
tenantId: string;
|
|
1863
1863
|
projectId: string;
|
|
1864
1864
|
id: string;
|
|
1865
|
+
createdAt: string;
|
|
1866
|
+
updatedAt: string;
|
|
1865
1867
|
graphId: string;
|
|
1866
1868
|
publicId: string;
|
|
1867
1869
|
keyHash: string;
|
|
1868
1870
|
keyPrefix: string;
|
|
1869
1871
|
lastUsedAt: string | null;
|
|
1870
1872
|
expiresAt: string | null;
|
|
1871
|
-
createdAt: string;
|
|
1872
|
-
updatedAt: string;
|
|
1873
1873
|
}>;
|
|
1874
1874
|
declare const deleteApiKey: (db: DatabaseClient) => (params: {
|
|
1875
1875
|
scopes: ScopeConfig;
|
|
@@ -1898,10 +1898,10 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
1898
1898
|
scopes: ScopeConfig;
|
|
1899
1899
|
id: string;
|
|
1900
1900
|
}) => Promise<{
|
|
1901
|
+
name: string;
|
|
1901
1902
|
tenantId: string;
|
|
1902
1903
|
projectId: string;
|
|
1903
1904
|
id: string;
|
|
1904
|
-
name: string;
|
|
1905
1905
|
description: string;
|
|
1906
1906
|
createdAt: string;
|
|
1907
1907
|
updatedAt: string;
|
|
@@ -1934,10 +1934,10 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
|
|
|
1934
1934
|
};
|
|
1935
1935
|
}>;
|
|
1936
1936
|
declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
|
|
1937
|
+
name: string;
|
|
1937
1938
|
tenantId: string;
|
|
1938
1939
|
projectId: string;
|
|
1939
1940
|
id: string;
|
|
1940
|
-
name: string;
|
|
1941
1941
|
description: string;
|
|
1942
1942
|
createdAt: string;
|
|
1943
1943
|
updatedAt: string;
|
|
@@ -1949,10 +1949,10 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
|
1949
1949
|
id: string;
|
|
1950
1950
|
data: ArtifactComponentUpdate;
|
|
1951
1951
|
}) => Promise<{
|
|
1952
|
+
name: string;
|
|
1952
1953
|
tenantId: string;
|
|
1953
1954
|
projectId: string;
|
|
1954
1955
|
id: string;
|
|
1955
|
-
name: string;
|
|
1956
1956
|
description: string;
|
|
1957
1957
|
createdAt: string;
|
|
1958
1958
|
updatedAt: string;
|
|
@@ -2112,28 +2112,28 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
2112
2112
|
scopes: ScopeConfig;
|
|
2113
2113
|
id: string;
|
|
2114
2114
|
}) => Promise<{
|
|
2115
|
+
name: string;
|
|
2115
2116
|
tenantId: string;
|
|
2116
2117
|
projectId: string;
|
|
2117
2118
|
id: string;
|
|
2118
|
-
name: string;
|
|
2119
2119
|
description: string;
|
|
2120
|
-
createdAt: string;
|
|
2121
|
-
updatedAt: string;
|
|
2122
2120
|
requestContextSchema: unknown;
|
|
2123
2121
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2122
|
+
createdAt: string;
|
|
2123
|
+
updatedAt: string;
|
|
2124
2124
|
} | undefined>;
|
|
2125
2125
|
declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
2126
2126
|
scopes: ScopeConfig;
|
|
2127
2127
|
}) => Promise<{
|
|
2128
|
+
name: string;
|
|
2128
2129
|
tenantId: string;
|
|
2129
2130
|
projectId: string;
|
|
2130
2131
|
id: string;
|
|
2131
|
-
name: string;
|
|
2132
2132
|
description: string;
|
|
2133
|
-
createdAt: string;
|
|
2134
|
-
updatedAt: string;
|
|
2135
2133
|
requestContextSchema: unknown;
|
|
2136
2134
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2135
|
+
createdAt: string;
|
|
2136
|
+
updatedAt: string;
|
|
2137
2137
|
}[]>;
|
|
2138
2138
|
declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
2139
2139
|
scopes: ScopeConfig;
|
|
@@ -2148,30 +2148,30 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
|
2148
2148
|
};
|
|
2149
2149
|
}>;
|
|
2150
2150
|
declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
2151
|
+
name: string;
|
|
2151
2152
|
tenantId: string;
|
|
2152
2153
|
projectId: string;
|
|
2153
2154
|
id: string;
|
|
2154
|
-
name: string;
|
|
2155
2155
|
description: string;
|
|
2156
|
-
createdAt: string;
|
|
2157
|
-
updatedAt: string;
|
|
2158
2156
|
requestContextSchema: unknown;
|
|
2159
2157
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2158
|
+
createdAt: string;
|
|
2159
|
+
updatedAt: string;
|
|
2160
2160
|
}>;
|
|
2161
2161
|
declare const updateContextConfig: (db: DatabaseClient) => (params: {
|
|
2162
2162
|
scopes: ScopeConfig;
|
|
2163
2163
|
id: string;
|
|
2164
2164
|
data: Partial<ContextConfigUpdate>;
|
|
2165
2165
|
}) => Promise<{
|
|
2166
|
+
name: string;
|
|
2166
2167
|
tenantId: string;
|
|
2167
2168
|
projectId: string;
|
|
2168
2169
|
id: string;
|
|
2169
|
-
name: string;
|
|
2170
2170
|
description: string;
|
|
2171
|
-
createdAt: string;
|
|
2172
|
-
updatedAt: string;
|
|
2173
2171
|
requestContextSchema: unknown;
|
|
2174
2172
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2173
|
+
createdAt: string;
|
|
2174
|
+
updatedAt: string;
|
|
2175
2175
|
}>;
|
|
2176
2176
|
declare const deleteContextConfig: (db: DatabaseClient) => (params: {
|
|
2177
2177
|
scopes: ScopeConfig;
|
|
@@ -2188,15 +2188,15 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
|
|
|
2188
2188
|
scopes: ScopeConfig;
|
|
2189
2189
|
name: string;
|
|
2190
2190
|
}) => Promise<{
|
|
2191
|
+
name: string;
|
|
2191
2192
|
tenantId: string;
|
|
2192
2193
|
projectId: string;
|
|
2193
2194
|
id: string;
|
|
2194
|
-
name: string;
|
|
2195
2195
|
description: string;
|
|
2196
|
-
createdAt: string;
|
|
2197
|
-
updatedAt: string;
|
|
2198
2196
|
requestContextSchema: unknown;
|
|
2199
2197
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2198
|
+
createdAt: string;
|
|
2199
|
+
updatedAt: string;
|
|
2200
2200
|
}[]>;
|
|
2201
2201
|
/**
|
|
2202
2202
|
* Upsert a context config (create if it doesn't exist, update if it does)
|
|
@@ -2204,15 +2204,15 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
|
|
|
2204
2204
|
declare const upsertContextConfig: (db: DatabaseClient) => (params: {
|
|
2205
2205
|
data: ContextConfigInsert;
|
|
2206
2206
|
}) => Promise<{
|
|
2207
|
+
name: string;
|
|
2207
2208
|
tenantId: string;
|
|
2208
2209
|
projectId: string;
|
|
2209
2210
|
id: string;
|
|
2210
|
-
name: string;
|
|
2211
2211
|
description: string;
|
|
2212
|
-
createdAt: string;
|
|
2213
|
-
updatedAt: string;
|
|
2214
2212
|
requestContextSchema: unknown;
|
|
2215
2213
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
2214
|
+
createdAt: string;
|
|
2215
|
+
updatedAt: string;
|
|
2216
2216
|
}>;
|
|
2217
2217
|
|
|
2218
2218
|
declare const listConversations: (db: DatabaseClient) => (params: {
|
|
@@ -2224,12 +2224,12 @@ declare const listConversations: (db: DatabaseClient) => (params: {
|
|
|
2224
2224
|
total: number;
|
|
2225
2225
|
}>;
|
|
2226
2226
|
declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
2227
|
+
metadata: ConversationMetadata | null;
|
|
2227
2228
|
tenantId: string;
|
|
2228
2229
|
projectId: string;
|
|
2229
2230
|
id: string;
|
|
2230
2231
|
createdAt: string;
|
|
2231
2232
|
updatedAt: string;
|
|
2232
|
-
metadata: ConversationMetadata | null;
|
|
2233
2233
|
title: string | null;
|
|
2234
2234
|
userId: string | null;
|
|
2235
2235
|
activeAgentId: string;
|
|
@@ -2240,12 +2240,12 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
|
|
|
2240
2240
|
conversationId: string;
|
|
2241
2241
|
data: ConversationUpdate;
|
|
2242
2242
|
}) => Promise<{
|
|
2243
|
+
metadata: ConversationMetadata | null;
|
|
2243
2244
|
tenantId: string;
|
|
2244
2245
|
projectId: string;
|
|
2245
2246
|
id: string;
|
|
2246
2247
|
createdAt: string;
|
|
2247
2248
|
updatedAt: string;
|
|
2248
|
-
metadata: ConversationMetadata | null;
|
|
2249
2249
|
title: string | null;
|
|
2250
2250
|
userId: string | null;
|
|
2251
2251
|
activeAgentId: string;
|
|
@@ -2260,12 +2260,12 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
|
|
|
2260
2260
|
conversationId: string;
|
|
2261
2261
|
activeAgentId: string;
|
|
2262
2262
|
}) => Promise<{
|
|
2263
|
+
metadata: ConversationMetadata | null;
|
|
2263
2264
|
tenantId: string;
|
|
2264
2265
|
projectId: string;
|
|
2265
2266
|
id: string;
|
|
2266
2267
|
createdAt: string;
|
|
2267
2268
|
updatedAt: string;
|
|
2268
|
-
metadata: ConversationMetadata | null;
|
|
2269
2269
|
title: string | null;
|
|
2270
2270
|
userId: string | null;
|
|
2271
2271
|
activeAgentId: string;
|
|
@@ -2275,12 +2275,12 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
2275
2275
|
scopes: ScopeConfig;
|
|
2276
2276
|
conversationId: string;
|
|
2277
2277
|
}) => Promise<{
|
|
2278
|
+
metadata: ConversationMetadata | null;
|
|
2278
2279
|
tenantId: string;
|
|
2279
2280
|
projectId: string;
|
|
2280
2281
|
id: string;
|
|
2281
2282
|
createdAt: string;
|
|
2282
2283
|
updatedAt: string;
|
|
2283
|
-
metadata: ConversationMetadata | null;
|
|
2284
2284
|
title: string | null;
|
|
2285
2285
|
userId: string | null;
|
|
2286
2286
|
activeAgentId: string;
|
|
@@ -2313,12 +2313,12 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
2313
2313
|
scopes: ScopeConfig;
|
|
2314
2314
|
conversationId: string;
|
|
2315
2315
|
}) => Promise<{
|
|
2316
|
+
metadata: ConversationMetadata | null;
|
|
2316
2317
|
tenantId: string;
|
|
2317
2318
|
projectId: string;
|
|
2318
2319
|
id: string;
|
|
2319
2320
|
createdAt: string;
|
|
2320
2321
|
updatedAt: string;
|
|
2321
|
-
metadata: ConversationMetadata | null;
|
|
2322
2322
|
title: string | null;
|
|
2323
2323
|
userId: string | null;
|
|
2324
2324
|
activeAgentId: string;
|
|
@@ -2710,12 +2710,12 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
2710
2710
|
scopes: ScopeConfig;
|
|
2711
2711
|
messageId: string;
|
|
2712
2712
|
}) => Promise<{
|
|
2713
|
+
metadata: MessageMetadata | null;
|
|
2713
2714
|
tenantId: string;
|
|
2714
2715
|
projectId: string;
|
|
2715
2716
|
id: string;
|
|
2716
2717
|
createdAt: string;
|
|
2717
2718
|
updatedAt: string;
|
|
2718
|
-
metadata: MessageMetadata | null;
|
|
2719
2719
|
content: MessageContent;
|
|
2720
2720
|
role: string;
|
|
2721
2721
|
conversationId: string;
|
|
@@ -2836,12 +2836,12 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
2836
2836
|
updatedAt: string;
|
|
2837
2837
|
}[]>;
|
|
2838
2838
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
2839
|
+
metadata: MessageMetadata | null;
|
|
2839
2840
|
tenantId: string;
|
|
2840
2841
|
projectId: string;
|
|
2841
2842
|
id: string;
|
|
2842
2843
|
createdAt: string;
|
|
2843
2844
|
updatedAt: string;
|
|
2844
|
-
metadata: MessageMetadata | null;
|
|
2845
2845
|
content: MessageContent;
|
|
2846
2846
|
role: string;
|
|
2847
2847
|
conversationId: string;
|
|
@@ -2862,12 +2862,12 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
|
|
|
2862
2862
|
messageId: string;
|
|
2863
2863
|
data: MessageUpdate;
|
|
2864
2864
|
}) => Promise<{
|
|
2865
|
+
metadata: MessageMetadata | null;
|
|
2865
2866
|
tenantId: string;
|
|
2866
2867
|
projectId: string;
|
|
2867
2868
|
id: string;
|
|
2868
2869
|
createdAt: string;
|
|
2869
2870
|
updatedAt: string;
|
|
2870
|
-
metadata: MessageMetadata | null;
|
|
2871
2871
|
content: MessageContent;
|
|
2872
2872
|
role: string;
|
|
2873
2873
|
conversationId: string;
|
|
@@ -2887,12 +2887,12 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
2887
2887
|
scopes: ScopeConfig;
|
|
2888
2888
|
messageId: string;
|
|
2889
2889
|
}) => Promise<{
|
|
2890
|
+
metadata: MessageMetadata | null;
|
|
2890
2891
|
tenantId: string;
|
|
2891
2892
|
projectId: string;
|
|
2892
2893
|
id: string;
|
|
2893
2894
|
createdAt: string;
|
|
2894
2895
|
updatedAt: string;
|
|
2895
|
-
metadata: MessageMetadata | null;
|
|
2896
2896
|
content: MessageContent;
|
|
2897
2897
|
role: string;
|
|
2898
2898
|
conversationId: string;
|
|
@@ -2978,12 +2978,12 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
|
|
|
2978
2978
|
}) => Promise<boolean>;
|
|
2979
2979
|
|
|
2980
2980
|
declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
|
|
2981
|
+
metadata: TaskMetadataConfig | null;
|
|
2981
2982
|
tenantId: string;
|
|
2982
2983
|
projectId: string;
|
|
2983
2984
|
id: string;
|
|
2984
2985
|
createdAt: string;
|
|
2985
2986
|
updatedAt: string;
|
|
2986
|
-
metadata: TaskMetadataConfig | null;
|
|
2987
2987
|
status: string;
|
|
2988
2988
|
contextId: string;
|
|
2989
2989
|
agentId: string;
|
|
@@ -2998,12 +2998,12 @@ declare const updateTask: (db: DatabaseClient) => (params: {
|
|
|
2998
2998
|
metadata?: any;
|
|
2999
2999
|
};
|
|
3000
3000
|
}) => Promise<{
|
|
3001
|
+
metadata: TaskMetadataConfig | null;
|
|
3001
3002
|
tenantId: string;
|
|
3002
3003
|
projectId: string;
|
|
3003
3004
|
id: string;
|
|
3004
3005
|
createdAt: string;
|
|
3005
3006
|
updatedAt: string;
|
|
3006
|
-
metadata: TaskMetadataConfig | null;
|
|
3007
3007
|
status: string;
|
|
3008
3008
|
contextId: string;
|
|
3009
3009
|
agentId: string;
|
|
@@ -3017,20 +3017,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
3017
3017
|
scopes: ScopeConfig;
|
|
3018
3018
|
toolId: string;
|
|
3019
3019
|
}) => Promise<{
|
|
3020
|
+
name: string;
|
|
3020
3021
|
tenantId: string;
|
|
3021
3022
|
projectId: string;
|
|
3022
3023
|
id: string;
|
|
3023
|
-
name: string;
|
|
3024
|
-
config: {
|
|
3025
|
-
type: "mcp";
|
|
3026
|
-
mcp: ToolMcpConfig;
|
|
3027
|
-
};
|
|
3028
|
-
credentialReferenceId: string | null;
|
|
3029
3024
|
createdAt: string;
|
|
3030
3025
|
updatedAt: string;
|
|
3031
3026
|
headers: Record<string, string> | null;
|
|
3032
3027
|
status: string;
|
|
3033
3028
|
capabilities: ToolServerCapabilities | null;
|
|
3029
|
+
config: {
|
|
3030
|
+
type: "mcp";
|
|
3031
|
+
mcp: ToolMcpConfig;
|
|
3032
|
+
};
|
|
3033
|
+
credentialReferenceId: string | null;
|
|
3034
3034
|
imageUrl: string | null;
|
|
3035
3035
|
lastHealthCheck: string | null;
|
|
3036
3036
|
lastError: string | null;
|
|
@@ -3097,20 +3097,20 @@ declare const listToolsByStatus: (db: DatabaseClient) => (params: {
|
|
|
3097
3097
|
scopes: ScopeConfig;
|
|
3098
3098
|
status: McpToolStatus;
|
|
3099
3099
|
}) => Promise<{
|
|
3100
|
+
name: string;
|
|
3100
3101
|
tenantId: string;
|
|
3101
3102
|
projectId: string;
|
|
3102
3103
|
id: string;
|
|
3103
|
-
name: string;
|
|
3104
|
-
config: {
|
|
3105
|
-
type: "mcp";
|
|
3106
|
-
mcp: ToolMcpConfig;
|
|
3107
|
-
};
|
|
3108
|
-
credentialReferenceId: string | null;
|
|
3109
3104
|
createdAt: string;
|
|
3110
3105
|
updatedAt: string;
|
|
3111
3106
|
headers: Record<string, string> | null;
|
|
3112
3107
|
status: string;
|
|
3113
3108
|
capabilities: ToolServerCapabilities | null;
|
|
3109
|
+
config: {
|
|
3110
|
+
type: "mcp";
|
|
3111
|
+
mcp: ToolMcpConfig;
|
|
3112
|
+
};
|
|
3113
|
+
credentialReferenceId: string | null;
|
|
3114
3114
|
imageUrl: string | null;
|
|
3115
3115
|
lastHealthCheck: string | null;
|
|
3116
3116
|
lastError: string | null;
|
|
@@ -3118,20 +3118,20 @@ declare const listToolsByStatus: (db: DatabaseClient) => (params: {
|
|
|
3118
3118
|
lastToolsSync: string | null;
|
|
3119
3119
|
}[]>;
|
|
3120
3120
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
3121
|
+
name: string;
|
|
3121
3122
|
tenantId: string;
|
|
3122
3123
|
projectId: string;
|
|
3123
3124
|
id: string;
|
|
3124
|
-
name: string;
|
|
3125
|
-
config: {
|
|
3126
|
-
type: "mcp";
|
|
3127
|
-
mcp: ToolMcpConfig;
|
|
3128
|
-
};
|
|
3129
|
-
credentialReferenceId: string | null;
|
|
3130
3125
|
createdAt: string;
|
|
3131
3126
|
updatedAt: string;
|
|
3132
3127
|
headers: Record<string, string> | null;
|
|
3133
3128
|
status: string;
|
|
3134
3129
|
capabilities: ToolServerCapabilities | null;
|
|
3130
|
+
config: {
|
|
3131
|
+
type: "mcp";
|
|
3132
|
+
mcp: ToolMcpConfig;
|
|
3133
|
+
};
|
|
3134
|
+
credentialReferenceId: string | null;
|
|
3135
3135
|
imageUrl: string | null;
|
|
3136
3136
|
lastHealthCheck: string | null;
|
|
3137
3137
|
lastError: string | null;
|
|
@@ -3143,20 +3143,20 @@ declare const updateTool: (db: DatabaseClient) => (params: {
|
|
|
3143
3143
|
toolId: string;
|
|
3144
3144
|
data: ToolUpdate;
|
|
3145
3145
|
}) => Promise<{
|
|
3146
|
+
name: string;
|
|
3146
3147
|
tenantId: string;
|
|
3147
3148
|
projectId: string;
|
|
3148
3149
|
id: string;
|
|
3149
|
-
name: string;
|
|
3150
|
-
config: {
|
|
3151
|
-
type: "mcp";
|
|
3152
|
-
mcp: ToolMcpConfig;
|
|
3153
|
-
};
|
|
3154
|
-
credentialReferenceId: string | null;
|
|
3155
3150
|
createdAt: string;
|
|
3156
3151
|
updatedAt: string;
|
|
3157
3152
|
headers: Record<string, string> | null;
|
|
3158
3153
|
status: string;
|
|
3159
3154
|
capabilities: ToolServerCapabilities | null;
|
|
3155
|
+
config: {
|
|
3156
|
+
type: "mcp";
|
|
3157
|
+
mcp: ToolMcpConfig;
|
|
3158
|
+
};
|
|
3159
|
+
credentialReferenceId: string | null;
|
|
3160
3160
|
imageUrl: string | null;
|
|
3161
3161
|
lastHealthCheck: string | null;
|
|
3162
3162
|
lastError: string | null;
|
|
@@ -3221,20 +3221,20 @@ declare const updateToolStatus: (db: DatabaseClient) => (params: {
|
|
|
3221
3221
|
lastHealthCheck?: string;
|
|
3222
3222
|
lastError?: string;
|
|
3223
3223
|
}) => Promise<{
|
|
3224
|
+
name: string;
|
|
3224
3225
|
tenantId: string;
|
|
3225
3226
|
projectId: string;
|
|
3226
3227
|
id: string;
|
|
3227
|
-
name: string;
|
|
3228
|
-
config: {
|
|
3229
|
-
type: "mcp";
|
|
3230
|
-
mcp: ToolMcpConfig;
|
|
3231
|
-
};
|
|
3232
|
-
credentialReferenceId: string | null;
|
|
3233
3228
|
createdAt: string;
|
|
3234
3229
|
updatedAt: string;
|
|
3235
3230
|
headers: Record<string, string> | null;
|
|
3236
3231
|
status: string;
|
|
3237
3232
|
capabilities: ToolServerCapabilities | null;
|
|
3233
|
+
config: {
|
|
3234
|
+
type: "mcp";
|
|
3235
|
+
mcp: ToolMcpConfig;
|
|
3236
|
+
};
|
|
3237
|
+
credentialReferenceId: string | null;
|
|
3238
3238
|
imageUrl: string | null;
|
|
3239
3239
|
lastHealthCheck: string | null;
|
|
3240
3240
|
lastError: string | null;
|
|
@@ -3247,20 +3247,20 @@ declare const updateToolStatus: (db: DatabaseClient) => (params: {
|
|
|
3247
3247
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
3248
3248
|
data: ToolInsert;
|
|
3249
3249
|
}) => Promise<{
|
|
3250
|
+
name: string;
|
|
3250
3251
|
tenantId: string;
|
|
3251
3252
|
projectId: string;
|
|
3252
3253
|
id: string;
|
|
3253
|
-
name: string;
|
|
3254
|
-
config: {
|
|
3255
|
-
type: "mcp";
|
|
3256
|
-
mcp: ToolMcpConfig;
|
|
3257
|
-
};
|
|
3258
|
-
credentialReferenceId: string | null;
|
|
3259
3254
|
createdAt: string;
|
|
3260
3255
|
updatedAt: string;
|
|
3261
3256
|
headers: Record<string, string> | null;
|
|
3262
3257
|
status: string;
|
|
3263
3258
|
capabilities: ToolServerCapabilities | null;
|
|
3259
|
+
config: {
|
|
3260
|
+
type: "mcp";
|
|
3261
|
+
mcp: ToolMcpConfig;
|
|
3262
|
+
};
|
|
3263
|
+
credentialReferenceId: string | null;
|
|
3264
3264
|
imageUrl: string | null;
|
|
3265
3265
|
lastHealthCheck: string | null;
|
|
3266
3266
|
lastError: string | null;
|