@inkeep/agents-core 0.0.0-dev-20250910233441 → 0.0.0-dev-20250911000146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-TSPWAF64.js → chunk-355CYJ6K.js} +1 -1
- package/dist/{chunk-RFWSE64N.js → chunk-OL6BLWXL.js} +17 -15
- package/dist/chunk-SVGQSPW4.js +24 -0
- package/dist/client-exports.cjs +16 -2
- package/dist/client-exports.d.cts +15 -2
- package/dist/client-exports.d.ts +15 -2
- package/dist/client-exports.js +3 -2
- package/dist/db/schema.cjs +1 -1
- package/dist/db/schema.d.cts +3 -2
- package/dist/db/schema.d.ts +3 -2
- package/dist/db/schema.js +1 -1
- package/dist/{utility-D2Lb-YAS.d.cts → entities-yHYR8Oc6.d.cts} +1953 -1926
- package/dist/{utility-D2Lb-YAS.d.ts → entities-yHYR8Oc6.d.ts} +1953 -1926
- package/dist/index.cjs +55 -38
- package/dist/index.d.cts +209 -209
- package/dist/index.d.ts +209 -209
- package/dist/index.js +16 -15
- package/dist/{schema-E0ulMd3k.d.cts → schema-C0iKVu5c.d.cts} +1 -1
- package/dist/{schema-B5YbTpz8.d.ts → schema-USqOwJEr.d.ts} +1 -1
- package/dist/types/index.cjs +16 -0
- package/dist/types/index.d.cts +5 -3
- package/dist/types/index.d.ts +5 -3
- package/dist/types/index.js +1 -1
- package/dist/validation/index.cjs +28 -14
- package/dist/validation/index.d.cts +3 -2
- package/dist/validation/index.d.ts +3 -2
- package/dist/validation/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-BIIFENNH.js +0 -11
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
-
import { R as RequestSchemaDefinition,
|
|
3
|
-
export { aT as A2AError, bn as A2ARequest, bo as A2AResponse, as as APIKeySecurityScheme, bs as AgentApiInsert, dg as AgentApiInsertSchema, br as AgentApiSelect, df as AgentApiSelectSchema, bt as AgentApiUpdate, dh as AgentApiUpdateSchema, cl as AgentArtifactComponentApiInsert, es as AgentArtifactComponentApiInsertSchema, ck as AgentArtifactComponentApiSelect, er as AgentArtifactComponentApiSelectSchema, cm as AgentArtifactComponentApiUpdate, et as AgentArtifactComponentApiUpdateSchema, ci as AgentArtifactComponentInsert, ep as AgentArtifactComponentInsertSchema, ch as AgentArtifactComponentSelect, eo as AgentArtifactComponentSelectSchema, cj as AgentArtifactComponentUpdate, eq as AgentArtifactComponentUpdateSchema, ao as AgentCapabilities, aC as AgentCard, cY as AgentConversationHistoryConfig, cc as AgentDataComponentApiInsert, eg as AgentDataComponentApiInsertSchema, cb as AgentDataComponentApiSelect, ef as AgentDataComponentApiSelectSchema, cd as AgentDataComponentApiUpdate, eh as AgentDataComponentApiUpdateSchema, c9 as AgentDataComponentInsert, ed as AgentDataComponentInsertSchema, c8 as AgentDataComponentSelect, ec as AgentDataComponentSelectSchema, ca as AgentDataComponentUpdate, ee as AgentDataComponentUpdateSchema, cK as AgentDefinition, bC as AgentGraphApiInsert, dw as AgentGraphApiInsertSchema, bB as AgentGraphApiSelect, dv as AgentGraphApiSelectSchema, bD as AgentGraphApiUpdate, dx as AgentGraphApiUpdateSchema, dt as AgentGraphInsertSchema, bA as AgentGraphSelect, ds as AgentGraphSelectSchema, du as AgentGraphUpdateSchema, dd as AgentInsertSchema, ap as AgentProvider, bw as AgentRelationApiInsert, dm as AgentRelationApiInsertSchema, bv as AgentRelationApiSelect, dl as AgentRelationApiSelectSchema, bx as AgentRelationApiUpdate, dn as AgentRelationApiUpdateSchema, dj as AgentRelationInsertSchema, by as AgentRelationQuery, dp as AgentRelationQuerySchema, bu as AgentRelationSelect, di as AgentRelationSelectSchema, dk as AgentRelationUpdateSchema, dc as AgentSelectSchema, aq as AgentSkill, cB as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cA as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cC as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cz as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cy as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, de as AgentUpdateSchema, eA as AllAgentSchema, cq as AllAgentSelect, cu as ApiKeyApiCreationResponse, eF as ApiKeyApiCreationResponseSchema, cs as ApiKeyApiInsert, eG as ApiKeyApiInsertSchema, cr as ApiKeyApiSelect, eE as ApiKeyApiSelectSchema, ct as ApiKeyApiUpdate, eH as ApiKeyApiUpdateSchema, eC as ApiKeyInsertSchema, eB as ApiKeySelectSchema, eD as ApiKeyUpdateSchema, cf as ArtifactComponentApiInsert, em as ArtifactComponentApiInsertSchema, ce as ArtifactComponentApiSelect, el as ArtifactComponentApiSelectSchema, cg as ArtifactComponentApiUpdate, en as ArtifactComponentApiUpdateSchema, ej as ArtifactComponentInsertSchema, ei as ArtifactComponentSelectSchema, ek as ArtifactComponentUpdateSchema, av as AuthorizationCodeOAuthFlow, b7 as CancelTaskRequest, bi as CancelTaskResponse, bh as CancelTaskSuccessResponse, aw as ClientCredentialsOAuthFlow, aR as ContentTypeNotSupportedError, c3 as ContextCacheApiInsert, e3 as ContextCacheApiInsertSchema, c2 as ContextCacheApiSelect, e2 as ContextCacheApiSelectSchema, c4 as ContextCacheApiUpdate, e4 as ContextCacheApiUpdateSchema, cZ as ContextCacheEntry, e0 as ContextCacheInsertSchema, d$ as ContextCacheSelectSchema, c1 as ContextCacheUpdate, e1 as ContextCacheUpdateSchema, b_ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, bZ as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, b$ as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bT as ConversationApiInsert, dT as ConversationApiInsertSchema, bS as ConversationApiSelect, dS as ConversationApiSelectSchema, bU as ConversationApiUpdate, dU as ConversationApiUpdateSchema, dQ as ConversationInsertSchema, cX as ConversationScopeOptions, dP as ConversationSelectSchema, dR as ConversationUpdateSchema, cw as CredentialReferenceApiInsert, eM as CredentialReferenceApiInsertSchema, cv as CredentialReferenceApiSelect, eL as CredentialReferenceApiSelectSchema, cx as CredentialReferenceApiUpdate, eN as CredentialReferenceApiUpdateSchema, eJ as CredentialReferenceInsertSchema, eI as CredentialReferenceSelectSchema, eK as CredentialReferenceUpdateSchema, c6 as DataComponentApiInsert, ea as DataComponentApiInsertSchema, c5 as DataComponentApiSelect, e9 as DataComponentApiSelectSchema, c7 as DataComponentApiUpdate, eb as DataComponentApiUpdateSchema, e7 as DataComponentBaseSchema, e6 as DataComponentInsertSchema, e5 as DataComponentSelectSchema, e8 as DataComponentUpdateSchema, am as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, co as ExternalAgentApiInsert, ey as ExternalAgentApiInsertSchema, cn as ExternalAgentApiSelect, ex as ExternalAgentApiSelectSchema, cp as ExternalAgentApiUpdate, ez as ExternalAgentApiUpdateSchema, ev as ExternalAgentInsertSchema, bz as ExternalAgentRelationApiInsert, dr as ExternalAgentRelationApiInsertSchema, dq as ExternalAgentRelationInsertSchema, eu as ExternalAgentSelectSchema, ew as ExternalAgentUpdateSchema, c0 as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ai as FileBase, al as FilePart, aj as FileWithBytes, ak as FileWithUri, cI 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, cJ 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, cG as LedgerArtifactApiInsert, fb as LedgerArtifactApiInsertSchema, cF as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cH as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cD as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cE as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d7 as MAX_ID_LENGTH, eQ as MCPToolConfigSchema, d6 as MIN_ID_LENGTH, c$ as McpAuthType, d0 as McpServerAuth, d2 as McpServerCapabilities, dM as McpToolDefinitionSchema, eO as McpToolSchema, bR as McpToolServerConfig, eP as McpToolServerConfigSchema, c_ as McpTranportType, d1 as McpTransportConfig, dK as McpTransportConfigSchema, aD as Message, bX as MessageApiInsert, dZ as MessageApiInsertSchema, bW as MessageApiSelect, dY as MessageApiSelectSchema, bY as MessageApiUpdate, d_ as MessageApiUpdateSchema, dW as MessageInsertSchema, cS as MessageMode, bp as MessagePart, cR as MessageRole, bV as MessageSelect, dV as MessageSelectSchema, aZ as MessageSendConfiguration, a_ as MessageSendParams, cQ as MessageType, dX as MessageUpdateSchema, aK as MethodNotFoundError, db as ModelSchema, cU as ModelSettings, da as ModelSettingsSchema, cT as Models, az as OAuth2SecurityScheme, au as OAuthFlows, aA as OpenIdConnectSecurityScheme, cP as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ag as PartBase, ay as PasswordOAuthFlow, cN as ProjectApiInsert, fr as ProjectApiInsertSchema, cM as ProjectApiSelect, fq as ProjectApiSelectSchema, cO as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, 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, d4 as TOOL_STATUS_VALUES, aF as Task, bG as TaskApiInsert, dC as TaskApiInsertSchema, bF as TaskApiSelect, dB as TaskApiSelectSchema, bH as TaskApiUpdate, dD as TaskApiUpdateSchema, bq as TaskArtifact, aH as TaskArtifactUpdateEvent, aX as TaskIdParams, dz as TaskInsertSchema, aO as TaskNotCancelableError, aN as TaskNotFoundError, aW as TaskPushNotificationConfig, aY as TaskQueryParams, bM as TaskRelationApiInsert, dI as TaskRelationApiInsertSchema, bL as TaskRelationApiSelect, dH as TaskRelationApiSelectSchema, bN as TaskRelationApiUpdate, dJ as TaskRelationApiUpdateSchema, bJ as TaskRelationInsert, dF as TaskRelationInsertSchema, bI as TaskRelationSelect, dE as TaskRelationSelectSchema, bK as TaskRelationUpdate, dG as TaskRelationUpdateSchema, ba as TaskResubscriptionRequest, dy as TaskSelectSchema, an as TaskState, aE as TaskStatus, aG as TaskStatusUpdateEvent, bE as TaskUpdate, dA 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, cL as ToolDefinition, dO as ToolInsertSchema, dN as ToolSelectSchema, dL as ToolStatusSchema, eR as ToolUpdateSchema, d8 as URL_SAFE_ID_PATTERN, aQ as UnsupportedOperationError, d5 as VALID_RELATION_TYPES, d9 as resourceIdSchema, d3 as toolStatus } from './utility-D2Lb-YAS.cjs';
|
|
2
|
+
import { R as RequestSchemaDefinition, i as RequestSchemaConfig, a as ContextFetchDefinition, j as ContextConfigSelect, F as FetchDefinition, M as MCPTransportType, k as MCPToolConfig, S as ScopeConfig, b as ConversationHistoryConfig, l as PaginationConfig, A as AgentGraphInsert, m as AgentGraphUpdate, n as FullGraphDefinition, o as AgentRelationInsert, E as ExternalAgentRelationInsert, p as AgentRelationUpdate, q as AgentToolRelationUpdate, c as ToolMcpConfig, d as ToolServerCapabilities, e as McpToolDefinition, r as AgentInsert, s as AgentUpdate, t as AgentSelect, u as ApiKeySelect, v as ApiKeyInsert, w as ApiKeyUpdate, x as CreateApiKeyParams, y as ApiKeyCreateResult, z as ArtifactComponentSelect, B as ArtifactComponentInsert, D as ArtifactComponentUpdate, G as ContextCacheSelect, H as ContextCacheInsert, I as ContextConfigInsert, J as ContextConfigUpdate, K as ConversationSelect, L as ConversationInsert, f as ConversationMetadata, N as ConversationUpdate, O as CredentialReferenceSelect, Q as ToolSelect, U as CredentialReferenceInsert, V as CredentialReferenceUpdate, W as DataComponentSelect, X as DataComponentInsert, Y as DataComponentUpdate, Z as ExternalAgentInsert, _ as ExternalAgentSelect, $ as ExternalAgentUpdate, a0 as Artifact, a1 as LedgerArtifactSelect, h as MessageMetadata, g as MessageContent, a2 as MessageVisibility, a3 as MessageInsert, a4 as MessageUpdate, a5 as ProjectInfo, a6 as ProjectSelect, a7 as PaginationResult, a8 as ProjectResourceCounts, a9 as ProjectInsert, aa as ProjectUpdate, ab as TaskInsert, T as TaskMetadataConfig, ac as TaskSelect, ad as McpTool, ae as McpToolStatus, af as ToolInsert, ag as ToolUpdate, C as CredentialStoreType, ah as ExecutionContext } from './entities-yHYR8Oc6.cjs';
|
|
3
|
+
export { aV as A2AError, bp as A2ARequest, bq as A2AResponse, au as APIKeySecurityScheme, bu as AgentApiInsert, dh as AgentApiInsertSchema, bt as AgentApiSelect, dg as AgentApiSelectSchema, bv as AgentApiUpdate, di as AgentApiUpdateSchema, cm as AgentArtifactComponentApiInsert, et as AgentArtifactComponentApiInsertSchema, cl as AgentArtifactComponentApiSelect, es as AgentArtifactComponentApiSelectSchema, cn as AgentArtifactComponentApiUpdate, eu as AgentArtifactComponentApiUpdateSchema, cj as AgentArtifactComponentInsert, eq as AgentArtifactComponentInsertSchema, ci as AgentArtifactComponentSelect, ep as AgentArtifactComponentSelectSchema, ck as AgentArtifactComponentUpdate, er as AgentArtifactComponentUpdateSchema, aq as AgentCapabilities, aE as AgentCard, cZ as AgentConversationHistoryConfig, cd as AgentDataComponentApiInsert, eh as AgentDataComponentApiInsertSchema, cc as AgentDataComponentApiSelect, eg as AgentDataComponentApiSelectSchema, ce as AgentDataComponentApiUpdate, ei as AgentDataComponentApiUpdateSchema, ca as AgentDataComponentInsert, ee as AgentDataComponentInsertSchema, c9 as AgentDataComponentSelect, ed as AgentDataComponentSelectSchema, cb as AgentDataComponentUpdate, ef as AgentDataComponentUpdateSchema, cL as AgentDefinition, bE as AgentGraphApiInsert, dx as AgentGraphApiInsertSchema, bD as AgentGraphApiSelect, dw as AgentGraphApiSelectSchema, bF as AgentGraphApiUpdate, dy as AgentGraphApiUpdateSchema, du as AgentGraphInsertSchema, bC as AgentGraphSelect, dt as AgentGraphSelectSchema, dv as AgentGraphUpdateSchema, de as AgentInsertSchema, ar as AgentProvider, by as AgentRelationApiInsert, dn as AgentRelationApiInsertSchema, bx as AgentRelationApiSelect, dm as AgentRelationApiSelectSchema, bz as AgentRelationApiUpdate, dp as AgentRelationApiUpdateSchema, dk as AgentRelationInsertSchema, bA as AgentRelationQuery, dq as AgentRelationQuerySchema, bw as AgentRelationSelect, dj as AgentRelationSelectSchema, dl as AgentRelationUpdateSchema, dd as AgentSelectSchema, as as AgentSkill, cC as AgentToolRelationApiInsert, f5 as AgentToolRelationApiInsertSchema, cB as AgentToolRelationApiSelect, f4 as AgentToolRelationApiSelectSchema, cD as AgentToolRelationApiUpdate, f6 as AgentToolRelationApiUpdateSchema, cA as AgentToolRelationInsert, f2 as AgentToolRelationInsertSchema, cz as AgentToolRelationSelect, f1 as AgentToolRelationSelectSchema, f3 as AgentToolRelationUpdateSchema, df as AgentUpdateSchema, eB as AllAgentSchema, cr as AllAgentSelect, cv as ApiKeyApiCreationResponse, eG as ApiKeyApiCreationResponseSchema, ct as ApiKeyApiInsert, eH as ApiKeyApiInsertSchema, cs as ApiKeyApiSelect, eF as ApiKeyApiSelectSchema, cu as ApiKeyApiUpdate, eI as ApiKeyApiUpdateSchema, eD as ApiKeyInsertSchema, eC as ApiKeySelectSchema, eE as ApiKeyUpdateSchema, cg as ArtifactComponentApiInsert, en as ArtifactComponentApiInsertSchema, cf as ArtifactComponentApiSelect, em as ArtifactComponentApiSelectSchema, ch as ArtifactComponentApiUpdate, eo as ArtifactComponentApiUpdateSchema, ek as ArtifactComponentInsertSchema, ej as ArtifactComponentSelectSchema, el as ArtifactComponentUpdateSchema, ax as AuthorizationCodeOAuthFlow, b9 as CancelTaskRequest, bk as CancelTaskResponse, bj as CancelTaskSuccessResponse, ay as ClientCredentialsOAuthFlow, aT as ContentTypeNotSupportedError, c4 as ContextCacheApiInsert, e4 as ContextCacheApiInsertSchema, c3 as ContextCacheApiSelect, e3 as ContextCacheApiSelectSchema, c5 as ContextCacheApiUpdate, e5 as ContextCacheApiUpdateSchema, c_ as ContextCacheEntry, e1 as ContextCacheInsertSchema, e0 as ContextCacheSelectSchema, c2 as ContextCacheUpdate, e2 as ContextCacheUpdateSchema, b$ as ContextConfigApiInsert, e$ as ContextConfigApiInsertSchema, b_ as ContextConfigApiSelect, e_ as ContextConfigApiSelectSchema, c0 as ContextConfigApiUpdate, f0 as ContextConfigApiUpdateSchema, eY as ContextConfigInsertSchema, eX as ContextConfigSelectSchema, eZ as ContextConfigUpdateSchema, bU as ConversationApiInsert, dU as ConversationApiInsertSchema, bT as ConversationApiSelect, dT as ConversationApiSelectSchema, bV as ConversationApiUpdate, dV as ConversationApiUpdateSchema, dR as ConversationInsertSchema, cY as ConversationScopeOptions, dQ as ConversationSelectSchema, dS as ConversationUpdateSchema, cx as CredentialReferenceApiInsert, eN as CredentialReferenceApiInsertSchema, cw as CredentialReferenceApiSelect, eM as CredentialReferenceApiSelectSchema, cy as CredentialReferenceApiUpdate, eO as CredentialReferenceApiUpdateSchema, eK as CredentialReferenceInsertSchema, eJ as CredentialReferenceSelectSchema, eL as CredentialReferenceUpdateSchema, c7 as DataComponentApiInsert, eb as DataComponentApiInsertSchema, c6 as DataComponentApiSelect, ea as DataComponentApiSelectSchema, c8 as DataComponentApiUpdate, ec as DataComponentApiUpdateSchema, e8 as DataComponentBaseSchema, e7 as DataComponentInsertSchema, e6 as DataComponentSelectSchema, e9 as DataComponentUpdateSchema, ao as DataPart, fk as ErrorResponseSchema, fl as ExistsResponseSchema, cp as ExternalAgentApiInsert, ez as ExternalAgentApiInsertSchema, co as ExternalAgentApiSelect, ey as ExternalAgentApiSelectSchema, cq as ExternalAgentApiUpdate, eA as ExternalAgentApiUpdateSchema, ew as ExternalAgentInsertSchema, bB as ExternalAgentRelationApiInsert, ds as ExternalAgentRelationApiInsertSchema, dr as ExternalAgentRelationInsertSchema, ev as ExternalAgentSelectSchema, ex as ExternalAgentUpdateSchema, c1 as FetchConfig, eV as FetchConfigSchema, eW as FetchDefinitionSchema, ak as FileBase, an as FilePart, al as FileWithBytes, am as FileWithUri, cJ as FullGraphAgentInsert, ff as FullGraphAgentInsertSchema, fg as FullGraphDefinitionSchema, bb as GetTaskPushNotificationConfigRequest, bo as GetTaskPushNotificationConfigResponse, bn as GetTaskPushNotificationConfigSuccessResponse, b8 as GetTaskRequest, bi as GetTaskResponse, bh as GetTaskSuccessResponse, av as HTTPAuthSecurityScheme, ft as HeadersScopeSchema, fy as IdParamsSchema, az as ImplicitOAuthFlow, cK as InternalAgentDefinition, aO as InternalError, aU as InvalidAgentResponseError, aN as InvalidParamsError, aL as InvalidRequestError, aK as JSONParseError, b3 as JSONRPCError, b5 as JSONRPCErrorResponse, b1 as JSONRPCMessage, b2 as JSONRPCRequest, b4 as JSONRPCResult, cH as LedgerArtifactApiInsert, fb as LedgerArtifactApiInsertSchema, cG as LedgerArtifactApiSelect, fa as LedgerArtifactApiSelectSchema, cI as LedgerArtifactApiUpdate, fc as LedgerArtifactApiUpdateSchema, cE as LedgerArtifactInsert, f8 as LedgerArtifactInsertSchema, f7 as LedgerArtifactSelectSchema, cF as LedgerArtifactUpdate, f9 as LedgerArtifactUpdateSchema, fi as ListResponseSchema, d8 as MAX_ID_LENGTH, d6 as MCPServerType, eQ as MCPToolConfigSchema, d7 as MIN_ID_LENGTH, c$ as McpAuthType, d0 as McpServerAuth, d2 as McpServerCapabilities, dN as McpToolDefinitionSchema, eP as McpToolSchema, d1 as McpTransportConfig, dL as McpTransportConfigSchema, aF as Message, bY as MessageApiInsert, d_ as MessageApiInsertSchema, bX as MessageApiSelect, dZ as MessageApiSelectSchema, bZ as MessageApiUpdate, d$ as MessageApiUpdateSchema, dX as MessageInsertSchema, cT as MessageMode, br as MessagePart, cS as MessageRole, bW as MessageSelect, dW as MessageSelectSchema, a$ as MessageSendConfiguration, b0 as MessageSendParams, cR as MessageType, dY as MessageUpdateSchema, aM as MethodNotFoundError, dc as ModelSchema, cV as ModelSettings, db as ModelSettingsSchema, cU as Models, aB as OAuth2SecurityScheme, aw as OAuthFlows, aC as OpenIdConnectSecurityScheme, cQ as Pagination, fz as PaginationQueryParamsSchema, fh as PaginationSchema, P as Part, ai as PartBase, aA as PasswordOAuthFlow, cO as ProjectApiInsert, fr as ProjectApiInsertSchema, cN as ProjectApiSelect, fq as ProjectApiSelectSchema, cP as ProjectApiUpdate, fs as ProjectApiUpdateSchema, fo as ProjectInsertSchema, fn as ProjectSelectSchema, fp as ProjectUpdateSchema, aW as PushNotificationAuthenticationInfo, aX as PushNotificationConfig, aR as PushNotificationNotSupportedError, fm as RemovedResponseSchema, aD as SecurityScheme, at as SecuritySchemeBase, b6 as SendMessageRequest, be as SendMessageResponse, bd as SendMessageSuccessResponse, b7 as SendStreamingMessageRequest, bg as SendStreamingMessageResponse, bf as SendStreamingMessageSuccessResponse, ba as SetTaskPushNotificationConfigRequest, bm as SetTaskPushNotificationConfigResponse, bl as SetTaskPushNotificationConfigSuccessResponse, fj as SingleResponseSchema, cX as StatusComponent, fd as StatusComponentSchema, fe as StatusUpdateSchema, cW as StatusUpdateSettings, d4 as TOOL_STATUS_VALUES, aH as Task, bI as TaskApiInsert, dD as TaskApiInsertSchema, bH as TaskApiSelect, dC as TaskApiSelectSchema, bJ as TaskApiUpdate, dE as TaskApiUpdateSchema, bs as TaskArtifact, aJ as TaskArtifactUpdateEvent, aZ as TaskIdParams, dA as TaskInsertSchema, aQ as TaskNotCancelableError, aP as TaskNotFoundError, aY as TaskPushNotificationConfig, a_ as TaskQueryParams, bO as TaskRelationApiInsert, dJ as TaskRelationApiInsertSchema, bN as TaskRelationApiSelect, dI as TaskRelationApiSelectSchema, bP as TaskRelationApiUpdate, dK as TaskRelationApiUpdateSchema, bL as TaskRelationInsert, dG as TaskRelationInsertSchema, bK as TaskRelationSelect, dF as TaskRelationSelectSchema, bM as TaskRelationUpdate, dH as TaskRelationUpdateSchema, bc as TaskResubscriptionRequest, dz as TaskSelectSchema, ap as TaskState, aG as TaskStatus, aI as TaskStatusUpdateEvent, bG as TaskUpdate, dB as TaskUpdateSchema, fx as TenantIdParamsSchema, fu as TenantParamsSchema, fw as TenantProjectIdParamsSchema, fv as TenantProjectParamsSchema, aj as TextPart, bR as ToolApiInsert, eT as ToolApiInsertSchema, bQ as ToolApiSelect, eS as ToolApiSelectSchema, bS as ToolApiUpdate, eU as ToolApiUpdateSchema, cM as ToolDefinition, dP as ToolInsertSchema, dO as ToolSelectSchema, dM as ToolStatusSchema, eR as ToolUpdateSchema, d9 as URL_SAFE_ID_PATTERN, aS as UnsupportedOperationError, d5 as VALID_RELATION_TYPES, da as resourceIdSchema, d3 as toolStatus } from './entities-yHYR8Oc6.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-C0iKVu5c.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-C0iKVu5c.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';
|
|
@@ -367,7 +367,7 @@ declare function createDefaultCredentialStores(): CredentialStore[];
|
|
|
367
367
|
*/
|
|
368
368
|
declare class KeyChainStore implements CredentialStore {
|
|
369
369
|
readonly id: string;
|
|
370
|
-
readonly type
|
|
370
|
+
readonly type: "keychain";
|
|
371
371
|
private readonly service;
|
|
372
372
|
private readonly logger;
|
|
373
373
|
private keytarAvailable;
|
|
@@ -445,7 +445,7 @@ declare function createKeyChainStore(id: string, options?: {
|
|
|
445
445
|
*/
|
|
446
446
|
declare class InMemoryCredentialStore implements CredentialStore {
|
|
447
447
|
readonly id: string;
|
|
448
|
-
readonly type
|
|
448
|
+
readonly type: "memory";
|
|
449
449
|
private credentials;
|
|
450
450
|
constructor(id?: string);
|
|
451
451
|
/**
|
|
@@ -486,7 +486,7 @@ interface NangoConfig {
|
|
|
486
486
|
*/
|
|
487
487
|
declare class NangoCredentialStore implements CredentialStore {
|
|
488
488
|
readonly id: string;
|
|
489
|
-
readonly type
|
|
489
|
+
readonly type: "nango";
|
|
490
490
|
private nangoConfig;
|
|
491
491
|
private nangoClient;
|
|
492
492
|
constructor(id: string, config: NangoConfig);
|
|
@@ -606,7 +606,7 @@ interface SharedServerConfig {
|
|
|
606
606
|
activeTools?: string[];
|
|
607
607
|
}
|
|
608
608
|
interface McpStreamableHttpConfig extends SharedServerConfig {
|
|
609
|
-
type:
|
|
609
|
+
type: typeof MCPTransportType.streamableHttp;
|
|
610
610
|
url: string | URL;
|
|
611
611
|
headers?: Record<string, string>;
|
|
612
612
|
requestInit?: StreamableHTTPClientTransportOptions['requestInit'];
|
|
@@ -615,7 +615,7 @@ interface McpStreamableHttpConfig extends SharedServerConfig {
|
|
|
615
615
|
sessionId?: StreamableHTTPClientTransportOptions['sessionId'];
|
|
616
616
|
}
|
|
617
617
|
interface McpSSEConfig extends SharedServerConfig {
|
|
618
|
-
type:
|
|
618
|
+
type: typeof MCPTransportType.sse;
|
|
619
619
|
url: string | URL;
|
|
620
620
|
headers?: Record<string, string>;
|
|
621
621
|
eventSourceInit?: SSEClientTransportOptions['eventSourceInit'];
|
|
@@ -725,15 +725,14 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
725
725
|
scopes: ScopeConfig;
|
|
726
726
|
graphId: string;
|
|
727
727
|
}) => Promise<{
|
|
728
|
-
name: string;
|
|
729
|
-
description: string | null;
|
|
730
|
-
id: string;
|
|
731
728
|
tenantId: string;
|
|
732
729
|
projectId: string;
|
|
730
|
+
id: string;
|
|
731
|
+
name: string;
|
|
732
|
+
description: string | null;
|
|
733
733
|
createdAt: string;
|
|
734
734
|
updatedAt: string;
|
|
735
735
|
defaultAgentId: string;
|
|
736
|
-
contextConfigId: string | null;
|
|
737
736
|
models: {
|
|
738
737
|
base?: {
|
|
739
738
|
model?: string | undefined;
|
|
@@ -748,6 +747,10 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
748
747
|
providerOptions?: Record<string, unknown> | undefined;
|
|
749
748
|
} | undefined;
|
|
750
749
|
} | null;
|
|
750
|
+
stopWhen: {
|
|
751
|
+
transferCountIs?: number;
|
|
752
|
+
} | null;
|
|
753
|
+
graphPrompt: string | null;
|
|
751
754
|
statusUpdates: {
|
|
752
755
|
enabled?: boolean | undefined;
|
|
753
756
|
numEvents?: number | undefined;
|
|
@@ -763,24 +766,20 @@ declare const getAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
763
766
|
} | undefined;
|
|
764
767
|
}[] | undefined;
|
|
765
768
|
} | null;
|
|
766
|
-
|
|
767
|
-
stopWhen: {
|
|
768
|
-
transferCountIs?: number;
|
|
769
|
-
} | null;
|
|
769
|
+
contextConfigId: string | null;
|
|
770
770
|
} | undefined>;
|
|
771
771
|
declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
772
772
|
scopes: ScopeConfig;
|
|
773
773
|
graphId: string;
|
|
774
774
|
}) => Promise<{
|
|
775
|
-
name: string;
|
|
776
|
-
description: string | null;
|
|
777
|
-
id: string;
|
|
778
775
|
tenantId: string;
|
|
779
776
|
projectId: string;
|
|
777
|
+
id: string;
|
|
778
|
+
name: string;
|
|
779
|
+
description: string | null;
|
|
780
780
|
createdAt: string;
|
|
781
781
|
updatedAt: string;
|
|
782
782
|
defaultAgentId: string;
|
|
783
|
-
contextConfigId: string | null;
|
|
784
783
|
models: {
|
|
785
784
|
base?: {
|
|
786
785
|
model?: string | undefined;
|
|
@@ -795,6 +794,10 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
|
795
794
|
providerOptions?: Record<string, unknown> | undefined;
|
|
796
795
|
} | undefined;
|
|
797
796
|
} | null;
|
|
797
|
+
stopWhen: {
|
|
798
|
+
transferCountIs?: number;
|
|
799
|
+
} | null;
|
|
800
|
+
graphPrompt: string | null;
|
|
798
801
|
statusUpdates: {
|
|
799
802
|
enabled?: boolean | undefined;
|
|
800
803
|
numEvents?: number | undefined;
|
|
@@ -810,24 +813,20 @@ declare const getAgentGraphById: (db: DatabaseClient) => (params: {
|
|
|
810
813
|
} | undefined;
|
|
811
814
|
}[] | undefined;
|
|
812
815
|
} | null;
|
|
813
|
-
|
|
814
|
-
stopWhen: {
|
|
815
|
-
transferCountIs?: number;
|
|
816
|
-
} | null;
|
|
816
|
+
contextConfigId: string | null;
|
|
817
817
|
} | null>;
|
|
818
818
|
declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
819
819
|
scopes: ScopeConfig;
|
|
820
820
|
graphId: string;
|
|
821
821
|
}) => Promise<{
|
|
822
|
-
name: string;
|
|
823
|
-
description: string | null;
|
|
824
|
-
id: string;
|
|
825
822
|
tenantId: string;
|
|
826
823
|
projectId: string;
|
|
824
|
+
id: string;
|
|
825
|
+
name: string;
|
|
826
|
+
description: string | null;
|
|
827
827
|
createdAt: string;
|
|
828
828
|
updatedAt: string;
|
|
829
829
|
defaultAgentId: string;
|
|
830
|
-
contextConfigId: string | null;
|
|
831
830
|
models: {
|
|
832
831
|
base?: {
|
|
833
832
|
model?: string | undefined;
|
|
@@ -842,6 +841,10 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
842
841
|
providerOptions?: Record<string, unknown> | undefined;
|
|
843
842
|
} | undefined;
|
|
844
843
|
} | null;
|
|
844
|
+
stopWhen: {
|
|
845
|
+
transferCountIs?: number;
|
|
846
|
+
} | null;
|
|
847
|
+
graphPrompt: string | null;
|
|
845
848
|
statusUpdates: {
|
|
846
849
|
enabled?: boolean | undefined;
|
|
847
850
|
numEvents?: number | undefined;
|
|
@@ -857,17 +860,14 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
857
860
|
} | undefined;
|
|
858
861
|
}[] | undefined;
|
|
859
862
|
} | null;
|
|
860
|
-
|
|
861
|
-
stopWhen: {
|
|
862
|
-
transferCountIs?: number;
|
|
863
|
-
} | null;
|
|
863
|
+
contextConfigId: string | null;
|
|
864
864
|
defaultAgent: {
|
|
865
|
-
name: string;
|
|
866
|
-
prompt: string;
|
|
867
|
-
description: string;
|
|
868
|
-
id: string;
|
|
869
865
|
tenantId: string;
|
|
870
866
|
projectId: string;
|
|
867
|
+
id: string;
|
|
868
|
+
name: string;
|
|
869
|
+
description: string;
|
|
870
|
+
prompt: string;
|
|
871
871
|
createdAt: string;
|
|
872
872
|
updatedAt: string;
|
|
873
873
|
models: {
|
|
@@ -893,15 +893,14 @@ declare const getAgentGraphWithDefaultAgent: (db: DatabaseClient) => (params: {
|
|
|
893
893
|
declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
894
894
|
scopes: ScopeConfig;
|
|
895
895
|
}) => Promise<{
|
|
896
|
-
name: string;
|
|
897
|
-
description: string | null;
|
|
898
|
-
id: string;
|
|
899
896
|
tenantId: string;
|
|
900
897
|
projectId: string;
|
|
898
|
+
id: string;
|
|
899
|
+
name: string;
|
|
900
|
+
description: string | null;
|
|
901
901
|
createdAt: string;
|
|
902
902
|
updatedAt: string;
|
|
903
903
|
defaultAgentId: string;
|
|
904
|
-
contextConfigId: string | null;
|
|
905
904
|
models: {
|
|
906
905
|
base?: {
|
|
907
906
|
model?: string | undefined;
|
|
@@ -916,6 +915,10 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
|
916
915
|
providerOptions?: Record<string, unknown> | undefined;
|
|
917
916
|
} | undefined;
|
|
918
917
|
} | null;
|
|
918
|
+
stopWhen: {
|
|
919
|
+
transferCountIs?: number;
|
|
920
|
+
} | null;
|
|
921
|
+
graphPrompt: string | null;
|
|
919
922
|
statusUpdates: {
|
|
920
923
|
enabled?: boolean | undefined;
|
|
921
924
|
numEvents?: number | undefined;
|
|
@@ -931,10 +934,7 @@ declare const listAgentGraphs: (db: DatabaseClient) => (params: {
|
|
|
931
934
|
} | undefined;
|
|
932
935
|
}[] | undefined;
|
|
933
936
|
} | null;
|
|
934
|
-
|
|
935
|
-
stopWhen: {
|
|
936
|
-
transferCountIs?: number;
|
|
937
|
-
} | null;
|
|
937
|
+
contextConfigId: string | null;
|
|
938
938
|
}[]>;
|
|
939
939
|
declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
|
|
940
940
|
scopes: ScopeConfig;
|
|
@@ -992,15 +992,14 @@ declare const listAgentGraphsPaginated: (db: DatabaseClient) => (params: {
|
|
|
992
992
|
};
|
|
993
993
|
}>;
|
|
994
994
|
declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert) => Promise<{
|
|
995
|
-
name: string;
|
|
996
|
-
description: string | null;
|
|
997
|
-
id: string;
|
|
998
995
|
tenantId: string;
|
|
999
996
|
projectId: string;
|
|
997
|
+
id: string;
|
|
998
|
+
name: string;
|
|
999
|
+
description: string | null;
|
|
1000
1000
|
createdAt: string;
|
|
1001
1001
|
updatedAt: string;
|
|
1002
1002
|
defaultAgentId: string;
|
|
1003
|
-
contextConfigId: string | null;
|
|
1004
1003
|
models: {
|
|
1005
1004
|
base?: {
|
|
1006
1005
|
model?: string | undefined;
|
|
@@ -1015,6 +1014,10 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
|
|
|
1015
1014
|
providerOptions?: Record<string, unknown> | undefined;
|
|
1016
1015
|
} | undefined;
|
|
1017
1016
|
} | null;
|
|
1017
|
+
stopWhen: {
|
|
1018
|
+
transferCountIs?: number;
|
|
1019
|
+
} | null;
|
|
1020
|
+
graphPrompt: string | null;
|
|
1018
1021
|
statusUpdates: {
|
|
1019
1022
|
enabled?: boolean | undefined;
|
|
1020
1023
|
numEvents?: number | undefined;
|
|
@@ -1030,25 +1033,21 @@ declare const createAgentGraph: (db: DatabaseClient) => (data: AgentGraphInsert)
|
|
|
1030
1033
|
} | undefined;
|
|
1031
1034
|
}[] | undefined;
|
|
1032
1035
|
} | null;
|
|
1033
|
-
|
|
1034
|
-
stopWhen: {
|
|
1035
|
-
transferCountIs?: number;
|
|
1036
|
-
} | null;
|
|
1036
|
+
contextConfigId: string | null;
|
|
1037
1037
|
}>;
|
|
1038
1038
|
declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
1039
1039
|
scopes: ScopeConfig;
|
|
1040
1040
|
graphId: string;
|
|
1041
1041
|
data: AgentGraphUpdate;
|
|
1042
1042
|
}) => Promise<{
|
|
1043
|
-
name: string;
|
|
1044
|
-
description: string | null;
|
|
1045
|
-
id: string;
|
|
1046
1043
|
tenantId: string;
|
|
1047
1044
|
projectId: string;
|
|
1045
|
+
id: string;
|
|
1046
|
+
name: string;
|
|
1047
|
+
description: string | null;
|
|
1048
1048
|
createdAt: string;
|
|
1049
1049
|
updatedAt: string;
|
|
1050
1050
|
defaultAgentId: string;
|
|
1051
|
-
contextConfigId: string | null;
|
|
1052
1051
|
models: {
|
|
1053
1052
|
base?: {
|
|
1054
1053
|
model?: string | undefined;
|
|
@@ -1063,6 +1062,10 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
1063
1062
|
providerOptions?: Record<string, unknown> | undefined;
|
|
1064
1063
|
} | undefined;
|
|
1065
1064
|
} | null;
|
|
1065
|
+
stopWhen: {
|
|
1066
|
+
transferCountIs?: number;
|
|
1067
|
+
} | null;
|
|
1068
|
+
graphPrompt: string | null;
|
|
1066
1069
|
statusUpdates: {
|
|
1067
1070
|
enabled?: boolean | undefined;
|
|
1068
1071
|
numEvents?: number | undefined;
|
|
@@ -1078,10 +1081,7 @@ declare const updateAgentGraph: (db: DatabaseClient) => (params: {
|
|
|
1078
1081
|
} | undefined;
|
|
1079
1082
|
}[] | undefined;
|
|
1080
1083
|
} | null;
|
|
1081
|
-
|
|
1082
|
-
stopWhen: {
|
|
1083
|
-
transferCountIs?: number;
|
|
1084
|
-
} | null;
|
|
1084
|
+
contextConfigId: string | null;
|
|
1085
1085
|
}>;
|
|
1086
1086
|
declare const deleteAgentGraph: (db: DatabaseClient) => (params: {
|
|
1087
1087
|
scopes: ScopeConfig;
|
|
@@ -1121,9 +1121,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
1121
1121
|
scopes: ScopeConfig;
|
|
1122
1122
|
relationId: string;
|
|
1123
1123
|
}) => Promise<{
|
|
1124
|
-
id: string;
|
|
1125
1124
|
tenantId: string;
|
|
1126
1125
|
projectId: string;
|
|
1126
|
+
id: string;
|
|
1127
1127
|
graphId: string;
|
|
1128
1128
|
createdAt: string;
|
|
1129
1129
|
updatedAt: string;
|
|
@@ -1160,9 +1160,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
1160
1160
|
graphId: string;
|
|
1161
1161
|
agentId: string;
|
|
1162
1162
|
}) => Promise<{
|
|
1163
|
-
id: string;
|
|
1164
1163
|
tenantId: string;
|
|
1165
1164
|
projectId: string;
|
|
1165
|
+
id: string;
|
|
1166
1166
|
graphId: string;
|
|
1167
1167
|
createdAt: string;
|
|
1168
1168
|
updatedAt: string;
|
|
@@ -1175,9 +1175,9 @@ declare const getAgentRelationsByGraph: (db: DatabaseClient) => (params: {
|
|
|
1175
1175
|
scopes: ScopeConfig;
|
|
1176
1176
|
graphId: string;
|
|
1177
1177
|
}) => Promise<{
|
|
1178
|
-
id: string;
|
|
1179
1178
|
tenantId: string;
|
|
1180
1179
|
projectId: string;
|
|
1180
|
+
id: string;
|
|
1181
1181
|
graphId: string;
|
|
1182
1182
|
createdAt: string;
|
|
1183
1183
|
updatedAt: string;
|
|
@@ -1281,9 +1281,9 @@ declare const getRelatedAgentsForGraph: (db: DatabaseClient) => (params: {
|
|
|
1281
1281
|
}[];
|
|
1282
1282
|
}>;
|
|
1283
1283
|
declare const createAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
|
|
1284
|
-
id: string;
|
|
1285
1284
|
tenantId: string;
|
|
1286
1285
|
projectId: string;
|
|
1286
|
+
id: string;
|
|
1287
1287
|
graphId: string;
|
|
1288
1288
|
createdAt: string;
|
|
1289
1289
|
updatedAt: string;
|
|
@@ -1303,9 +1303,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
1303
1303
|
externalAgentId?: string;
|
|
1304
1304
|
relationType: string;
|
|
1305
1305
|
}) => Promise<{
|
|
1306
|
-
id: string;
|
|
1307
1306
|
tenantId: string;
|
|
1308
1307
|
projectId: string;
|
|
1308
|
+
id: string;
|
|
1309
1309
|
graphId: string;
|
|
1310
1310
|
createdAt: string;
|
|
1311
1311
|
updatedAt: string;
|
|
@@ -1318,9 +1318,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
1318
1318
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
1319
1319
|
*/
|
|
1320
1320
|
declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelationInsert) => Promise<{
|
|
1321
|
-
id: string;
|
|
1322
1321
|
tenantId: string;
|
|
1323
1322
|
projectId: string;
|
|
1323
|
+
id: string;
|
|
1324
1324
|
graphId: string;
|
|
1325
1325
|
createdAt: string;
|
|
1326
1326
|
updatedAt: string;
|
|
@@ -1330,9 +1330,9 @@ declare const upsertAgentRelation: (db: DatabaseClient) => (params: AgentRelatio
|
|
|
1330
1330
|
relationType: string | null;
|
|
1331
1331
|
}>;
|
|
1332
1332
|
declare const createExternalAgentRelation: (db: DatabaseClient) => (params: ExternalAgentRelationInsert) => Promise<{
|
|
1333
|
-
id: string;
|
|
1334
1333
|
tenantId: string;
|
|
1335
1334
|
projectId: string;
|
|
1335
|
+
id: string;
|
|
1336
1336
|
graphId: string;
|
|
1337
1337
|
createdAt: string;
|
|
1338
1338
|
updatedAt: string;
|
|
@@ -1346,9 +1346,9 @@ declare const updateAgentRelation: (db: DatabaseClient) => (params: {
|
|
|
1346
1346
|
relationId: string;
|
|
1347
1347
|
data: AgentRelationUpdate;
|
|
1348
1348
|
}) => Promise<{
|
|
1349
|
-
id: string;
|
|
1350
1349
|
tenantId: string;
|
|
1351
1350
|
projectId: string;
|
|
1351
|
+
id: string;
|
|
1352
1352
|
graphId: string;
|
|
1353
1353
|
createdAt: string;
|
|
1354
1354
|
updatedAt: string;
|
|
@@ -1373,9 +1373,9 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
1373
1373
|
toolId: string;
|
|
1374
1374
|
};
|
|
1375
1375
|
}) => Promise<{
|
|
1376
|
-
id: string;
|
|
1377
1376
|
tenantId: string;
|
|
1378
1377
|
projectId: string;
|
|
1378
|
+
id: string;
|
|
1379
1379
|
createdAt: string;
|
|
1380
1380
|
updatedAt: string;
|
|
1381
1381
|
agentId: string;
|
|
@@ -1386,9 +1386,9 @@ declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
1386
1386
|
relationId: string;
|
|
1387
1387
|
data: AgentToolRelationUpdate;
|
|
1388
1388
|
}) => Promise<{
|
|
1389
|
-
id: string;
|
|
1390
1389
|
tenantId: string;
|
|
1391
1390
|
projectId: string;
|
|
1391
|
+
id: string;
|
|
1392
1392
|
createdAt: string;
|
|
1393
1393
|
updatedAt: string;
|
|
1394
1394
|
agentId: string;
|
|
@@ -1406,9 +1406,9 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
1406
1406
|
scopes: ScopeConfig;
|
|
1407
1407
|
relationId: string;
|
|
1408
1408
|
}) => Promise<{
|
|
1409
|
-
id: string;
|
|
1410
1409
|
tenantId: string;
|
|
1411
1410
|
projectId: string;
|
|
1411
|
+
id: string;
|
|
1412
1412
|
createdAt: string;
|
|
1413
1413
|
updatedAt: string;
|
|
1414
1414
|
agentId: string;
|
|
@@ -1574,12 +1574,12 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1574
1574
|
scopes: ScopeConfig;
|
|
1575
1575
|
agentId: string;
|
|
1576
1576
|
}) => Promise<{
|
|
1577
|
-
name: string;
|
|
1578
|
-
prompt: string;
|
|
1579
|
-
description: string;
|
|
1580
|
-
id: string;
|
|
1581
1577
|
tenantId: string;
|
|
1582
1578
|
projectId: string;
|
|
1579
|
+
id: string;
|
|
1580
|
+
name: string;
|
|
1581
|
+
description: string;
|
|
1582
|
+
prompt: string;
|
|
1583
1583
|
createdAt: string;
|
|
1584
1584
|
updatedAt: string;
|
|
1585
1585
|
models: {
|
|
@@ -1604,12 +1604,12 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
1604
1604
|
declare const listAgents: (db: DatabaseClient) => (params: {
|
|
1605
1605
|
scopes: ScopeConfig;
|
|
1606
1606
|
}) => Promise<{
|
|
1607
|
-
name: string;
|
|
1608
|
-
prompt: string;
|
|
1609
|
-
description: string;
|
|
1610
|
-
id: string;
|
|
1611
1607
|
tenantId: string;
|
|
1612
1608
|
projectId: string;
|
|
1609
|
+
id: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
description: string;
|
|
1612
|
+
prompt: string;
|
|
1613
1613
|
createdAt: string;
|
|
1614
1614
|
updatedAt: string;
|
|
1615
1615
|
models: {
|
|
@@ -1671,12 +1671,12 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1671
1671
|
};
|
|
1672
1672
|
}>;
|
|
1673
1673
|
declare const createAgent: (db: DatabaseClient) => (params: AgentInsert) => Promise<{
|
|
1674
|
-
name: string;
|
|
1675
|
-
prompt: string;
|
|
1676
|
-
description: string;
|
|
1677
|
-
id: string;
|
|
1678
1674
|
tenantId: string;
|
|
1679
1675
|
projectId: string;
|
|
1676
|
+
id: string;
|
|
1677
|
+
name: string;
|
|
1678
|
+
description: string;
|
|
1679
|
+
prompt: string;
|
|
1680
1680
|
createdAt: string;
|
|
1681
1681
|
updatedAt: string;
|
|
1682
1682
|
models: {
|
|
@@ -1703,12 +1703,12 @@ declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
|
1703
1703
|
agentId: string;
|
|
1704
1704
|
data: AgentUpdate;
|
|
1705
1705
|
}) => Promise<{
|
|
1706
|
-
name: string;
|
|
1707
|
-
prompt: string;
|
|
1708
|
-
description: string;
|
|
1709
|
-
id: string;
|
|
1710
1706
|
tenantId: string;
|
|
1711
1707
|
projectId: string;
|
|
1708
|
+
id: string;
|
|
1709
|
+
name: string;
|
|
1710
|
+
description: string;
|
|
1711
|
+
prompt: string;
|
|
1712
1712
|
createdAt: string;
|
|
1713
1713
|
updatedAt: string;
|
|
1714
1714
|
models: {
|
|
@@ -1789,9 +1789,9 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
1789
1789
|
scopes: ScopeConfig;
|
|
1790
1790
|
id: string;
|
|
1791
1791
|
}) => Promise<{
|
|
1792
|
-
id: string;
|
|
1793
1792
|
tenantId: string;
|
|
1794
1793
|
projectId: string;
|
|
1794
|
+
id: string;
|
|
1795
1795
|
graphId: string;
|
|
1796
1796
|
publicId: string;
|
|
1797
1797
|
keyHash: string;
|
|
@@ -1802,9 +1802,9 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
1802
1802
|
updatedAt: string;
|
|
1803
1803
|
} | undefined>;
|
|
1804
1804
|
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1805
|
-
id: string;
|
|
1806
1805
|
tenantId: string;
|
|
1807
1806
|
projectId: string;
|
|
1807
|
+
id: string;
|
|
1808
1808
|
graphId: string;
|
|
1809
1809
|
publicId: string;
|
|
1810
1810
|
keyHash: string;
|
|
@@ -1818,9 +1818,9 @@ declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
|
1818
1818
|
scopes: ScopeConfig;
|
|
1819
1819
|
graphId?: string;
|
|
1820
1820
|
}) => Promise<{
|
|
1821
|
-
id: string;
|
|
1822
1821
|
tenantId: string;
|
|
1823
1822
|
projectId: string;
|
|
1823
|
+
id: string;
|
|
1824
1824
|
graphId: string;
|
|
1825
1825
|
publicId: string;
|
|
1826
1826
|
keyHash: string;
|
|
@@ -1844,9 +1844,9 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
|
1844
1844
|
};
|
|
1845
1845
|
}>;
|
|
1846
1846
|
declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
1847
|
-
id: string;
|
|
1848
1847
|
tenantId: string;
|
|
1849
1848
|
projectId: string;
|
|
1849
|
+
id: string;
|
|
1850
1850
|
graphId: string;
|
|
1851
1851
|
publicId: string;
|
|
1852
1852
|
keyHash: string;
|
|
@@ -1861,9 +1861,9 @@ declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
|
1861
1861
|
id: string;
|
|
1862
1862
|
data: ApiKeyUpdate;
|
|
1863
1863
|
}) => Promise<{
|
|
1864
|
-
id: string;
|
|
1865
1864
|
tenantId: string;
|
|
1866
1865
|
projectId: string;
|
|
1866
|
+
id: string;
|
|
1867
1867
|
graphId: string;
|
|
1868
1868
|
publicId: string;
|
|
1869
1869
|
keyHash: string;
|
|
@@ -1900,11 +1900,11 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
1900
1900
|
scopes: ScopeConfig;
|
|
1901
1901
|
id: string;
|
|
1902
1902
|
}) => Promise<{
|
|
1903
|
-
name: string;
|
|
1904
|
-
description: string;
|
|
1905
|
-
id: string;
|
|
1906
1903
|
tenantId: string;
|
|
1907
1904
|
projectId: string;
|
|
1905
|
+
id: string;
|
|
1906
|
+
name: string;
|
|
1907
|
+
description: string;
|
|
1908
1908
|
createdAt: string;
|
|
1909
1909
|
updatedAt: string;
|
|
1910
1910
|
summaryProps: Record<string, unknown> | null;
|
|
@@ -1936,11 +1936,11 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
|
|
|
1936
1936
|
};
|
|
1937
1937
|
}>;
|
|
1938
1938
|
declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
|
|
1939
|
-
name: string;
|
|
1940
|
-
description: string;
|
|
1941
|
-
id: string;
|
|
1942
1939
|
tenantId: string;
|
|
1943
1940
|
projectId: string;
|
|
1941
|
+
id: string;
|
|
1942
|
+
name: string;
|
|
1943
|
+
description: string;
|
|
1944
1944
|
createdAt: string;
|
|
1945
1945
|
updatedAt: string;
|
|
1946
1946
|
summaryProps: Record<string, unknown> | null;
|
|
@@ -1951,11 +1951,11 @@ declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
|
1951
1951
|
id: string;
|
|
1952
1952
|
data: ArtifactComponentUpdate;
|
|
1953
1953
|
}) => Promise<{
|
|
1954
|
-
name: string;
|
|
1955
|
-
description: string;
|
|
1956
|
-
id: string;
|
|
1957
1954
|
tenantId: string;
|
|
1958
1955
|
projectId: string;
|
|
1956
|
+
id: string;
|
|
1957
|
+
name: string;
|
|
1958
|
+
description: string;
|
|
1959
1959
|
createdAt: string;
|
|
1960
1960
|
updatedAt: string;
|
|
1961
1961
|
summaryProps: Record<string, unknown> | null;
|
|
@@ -1984,9 +1984,9 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
|
|
|
1984
1984
|
agentId: string;
|
|
1985
1985
|
artifactComponentId: string;
|
|
1986
1986
|
}) => Promise<{
|
|
1987
|
-
id: string;
|
|
1988
1987
|
tenantId: string;
|
|
1989
1988
|
projectId: string;
|
|
1989
|
+
id: string;
|
|
1990
1990
|
createdAt: string;
|
|
1991
1991
|
agentId: string;
|
|
1992
1992
|
artifactComponentId: string;
|
|
@@ -2031,9 +2031,9 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
|
|
|
2031
2031
|
agentId: string;
|
|
2032
2032
|
artifactComponentId: string;
|
|
2033
2033
|
}) => Promise<{
|
|
2034
|
-
id: string;
|
|
2035
2034
|
tenantId: string;
|
|
2036
2035
|
projectId: string;
|
|
2036
|
+
id: string;
|
|
2037
2037
|
createdAt: string;
|
|
2038
2038
|
agentId: string;
|
|
2039
2039
|
artifactComponentId: string;
|
|
@@ -2114,11 +2114,11 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
2114
2114
|
scopes: ScopeConfig;
|
|
2115
2115
|
id: string;
|
|
2116
2116
|
}) => Promise<{
|
|
2117
|
-
name: string;
|
|
2118
|
-
description: string;
|
|
2119
|
-
id: string;
|
|
2120
2117
|
tenantId: string;
|
|
2121
2118
|
projectId: string;
|
|
2119
|
+
id: string;
|
|
2120
|
+
name: string;
|
|
2121
|
+
description: string;
|
|
2122
2122
|
createdAt: string;
|
|
2123
2123
|
updatedAt: string;
|
|
2124
2124
|
requestContextSchema: unknown;
|
|
@@ -2127,11 +2127,11 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
2127
2127
|
declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
2128
2128
|
scopes: ScopeConfig;
|
|
2129
2129
|
}) => Promise<{
|
|
2130
|
-
name: string;
|
|
2131
|
-
description: string;
|
|
2132
|
-
id: string;
|
|
2133
2130
|
tenantId: string;
|
|
2134
2131
|
projectId: string;
|
|
2132
|
+
id: string;
|
|
2133
|
+
name: string;
|
|
2134
|
+
description: string;
|
|
2135
2135
|
createdAt: string;
|
|
2136
2136
|
updatedAt: string;
|
|
2137
2137
|
requestContextSchema: unknown;
|
|
@@ -2150,11 +2150,11 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
|
2150
2150
|
};
|
|
2151
2151
|
}>;
|
|
2152
2152
|
declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
2153
|
-
name: string;
|
|
2154
|
-
description: string;
|
|
2155
|
-
id: string;
|
|
2156
2153
|
tenantId: string;
|
|
2157
2154
|
projectId: string;
|
|
2155
|
+
id: string;
|
|
2156
|
+
name: string;
|
|
2157
|
+
description: string;
|
|
2158
2158
|
createdAt: string;
|
|
2159
2159
|
updatedAt: string;
|
|
2160
2160
|
requestContextSchema: unknown;
|
|
@@ -2165,11 +2165,11 @@ declare const updateContextConfig: (db: DatabaseClient) => (params: {
|
|
|
2165
2165
|
id: string;
|
|
2166
2166
|
data: Partial<ContextConfigUpdate>;
|
|
2167
2167
|
}) => Promise<{
|
|
2168
|
-
name: string;
|
|
2169
|
-
description: string;
|
|
2170
|
-
id: string;
|
|
2171
2168
|
tenantId: string;
|
|
2172
2169
|
projectId: string;
|
|
2170
|
+
id: string;
|
|
2171
|
+
name: string;
|
|
2172
|
+
description: string;
|
|
2173
2173
|
createdAt: string;
|
|
2174
2174
|
updatedAt: string;
|
|
2175
2175
|
requestContextSchema: unknown;
|
|
@@ -2190,11 +2190,11 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
|
|
|
2190
2190
|
scopes: ScopeConfig;
|
|
2191
2191
|
name: string;
|
|
2192
2192
|
}) => Promise<{
|
|
2193
|
-
name: string;
|
|
2194
|
-
description: string;
|
|
2195
|
-
id: string;
|
|
2196
2193
|
tenantId: string;
|
|
2197
2194
|
projectId: string;
|
|
2195
|
+
id: string;
|
|
2196
|
+
name: string;
|
|
2197
|
+
description: string;
|
|
2198
2198
|
createdAt: string;
|
|
2199
2199
|
updatedAt: string;
|
|
2200
2200
|
requestContextSchema: unknown;
|
|
@@ -2206,11 +2206,11 @@ declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
|
|
|
2206
2206
|
declare const upsertContextConfig: (db: DatabaseClient) => (params: {
|
|
2207
2207
|
data: ContextConfigInsert;
|
|
2208
2208
|
}) => Promise<{
|
|
2209
|
-
name: string;
|
|
2210
|
-
description: string;
|
|
2211
|
-
id: string;
|
|
2212
2209
|
tenantId: string;
|
|
2213
2210
|
projectId: string;
|
|
2211
|
+
id: string;
|
|
2212
|
+
name: string;
|
|
2213
|
+
description: string;
|
|
2214
2214
|
createdAt: string;
|
|
2215
2215
|
updatedAt: string;
|
|
2216
2216
|
requestContextSchema: unknown;
|
|
@@ -2226,15 +2226,15 @@ declare const listConversations: (db: DatabaseClient) => (params: {
|
|
|
2226
2226
|
total: number;
|
|
2227
2227
|
}>;
|
|
2228
2228
|
declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
2229
|
-
id: string;
|
|
2230
2229
|
tenantId: string;
|
|
2231
2230
|
projectId: string;
|
|
2231
|
+
id: string;
|
|
2232
2232
|
createdAt: string;
|
|
2233
2233
|
updatedAt: string;
|
|
2234
2234
|
metadata: ConversationMetadata | null;
|
|
2235
|
+
title: string | null;
|
|
2235
2236
|
userId: string | null;
|
|
2236
2237
|
activeAgentId: string;
|
|
2237
|
-
title: string | null;
|
|
2238
2238
|
lastContextResolution: string | null;
|
|
2239
2239
|
}>;
|
|
2240
2240
|
declare const updateConversation: (db: DatabaseClient) => (params: {
|
|
@@ -2242,15 +2242,15 @@ declare const updateConversation: (db: DatabaseClient) => (params: {
|
|
|
2242
2242
|
conversationId: string;
|
|
2243
2243
|
data: ConversationUpdate;
|
|
2244
2244
|
}) => Promise<{
|
|
2245
|
-
id: string;
|
|
2246
2245
|
tenantId: string;
|
|
2247
2246
|
projectId: string;
|
|
2247
|
+
id: string;
|
|
2248
2248
|
createdAt: string;
|
|
2249
2249
|
updatedAt: string;
|
|
2250
2250
|
metadata: ConversationMetadata | null;
|
|
2251
|
+
title: string | null;
|
|
2251
2252
|
userId: string | null;
|
|
2252
2253
|
activeAgentId: string;
|
|
2253
|
-
title: string | null;
|
|
2254
2254
|
lastContextResolution: string | null;
|
|
2255
2255
|
}>;
|
|
2256
2256
|
declare const deleteConversation: (db: DatabaseClient) => (params: {
|
|
@@ -2262,30 +2262,30 @@ declare const updateConversationActiveAgent: (db: DatabaseClient) => (params: {
|
|
|
2262
2262
|
conversationId: string;
|
|
2263
2263
|
activeAgentId: string;
|
|
2264
2264
|
}) => Promise<{
|
|
2265
|
-
id: string;
|
|
2266
2265
|
tenantId: string;
|
|
2267
2266
|
projectId: string;
|
|
2267
|
+
id: string;
|
|
2268
2268
|
createdAt: string;
|
|
2269
2269
|
updatedAt: string;
|
|
2270
2270
|
metadata: ConversationMetadata | null;
|
|
2271
|
+
title: string | null;
|
|
2271
2272
|
userId: string | null;
|
|
2272
2273
|
activeAgentId: string;
|
|
2273
|
-
title: string | null;
|
|
2274
2274
|
lastContextResolution: string | null;
|
|
2275
2275
|
}>;
|
|
2276
2276
|
declare const getConversation: (db: DatabaseClient) => (params: {
|
|
2277
2277
|
scopes: ScopeConfig;
|
|
2278
2278
|
conversationId: string;
|
|
2279
2279
|
}) => Promise<{
|
|
2280
|
-
id: string;
|
|
2281
2280
|
tenantId: string;
|
|
2282
2281
|
projectId: string;
|
|
2282
|
+
id: string;
|
|
2283
2283
|
createdAt: string;
|
|
2284
2284
|
updatedAt: string;
|
|
2285
2285
|
metadata: ConversationMetadata | null;
|
|
2286
|
+
title: string | null;
|
|
2286
2287
|
userId: string | null;
|
|
2287
2288
|
activeAgentId: string;
|
|
2288
|
-
title: string | null;
|
|
2289
2289
|
lastContextResolution: string | null;
|
|
2290
2290
|
} | undefined>;
|
|
2291
2291
|
declare const createOrGetConversation: (db: DatabaseClient) => (input: ConversationInsert) => Promise<{
|
|
@@ -2315,15 +2315,15 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
2315
2315
|
scopes: ScopeConfig;
|
|
2316
2316
|
conversationId: string;
|
|
2317
2317
|
}) => Promise<{
|
|
2318
|
-
id: string;
|
|
2319
2318
|
tenantId: string;
|
|
2320
2319
|
projectId: string;
|
|
2320
|
+
id: string;
|
|
2321
2321
|
createdAt: string;
|
|
2322
2322
|
updatedAt: string;
|
|
2323
2323
|
metadata: ConversationMetadata | null;
|
|
2324
|
+
title: string | null;
|
|
2324
2325
|
userId: string | null;
|
|
2325
2326
|
activeAgentId: string;
|
|
2326
|
-
title: string | null;
|
|
2327
2327
|
lastContextResolution: string | null;
|
|
2328
2328
|
} | undefined>;
|
|
2329
2329
|
/**
|
|
@@ -2486,9 +2486,9 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
|
|
|
2486
2486
|
agentId: string;
|
|
2487
2487
|
dataComponentId: string;
|
|
2488
2488
|
}) => Promise<{
|
|
2489
|
-
id: string;
|
|
2490
2489
|
tenantId: string;
|
|
2491
2490
|
projectId: string;
|
|
2491
|
+
id: string;
|
|
2492
2492
|
createdAt: string;
|
|
2493
2493
|
agentId: string;
|
|
2494
2494
|
dataComponentId: string;
|
|
@@ -2531,9 +2531,9 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
|
|
|
2531
2531
|
agentId: string;
|
|
2532
2532
|
dataComponentId: string;
|
|
2533
2533
|
}) => Promise<{
|
|
2534
|
-
id: string;
|
|
2535
2534
|
tenantId: string;
|
|
2536
2535
|
projectId: string;
|
|
2536
|
+
id: string;
|
|
2537
2537
|
createdAt: string;
|
|
2538
2538
|
agentId: string;
|
|
2539
2539
|
dataComponentId: string;
|
|
@@ -2712,20 +2712,20 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
2712
2712
|
scopes: ScopeConfig;
|
|
2713
2713
|
messageId: string;
|
|
2714
2714
|
}) => Promise<{
|
|
2715
|
-
id: string;
|
|
2716
2715
|
tenantId: string;
|
|
2717
2716
|
projectId: string;
|
|
2717
|
+
id: string;
|
|
2718
2718
|
createdAt: string;
|
|
2719
2719
|
updatedAt: string;
|
|
2720
|
-
conversationId: string;
|
|
2721
2720
|
metadata: MessageMetadata | null;
|
|
2722
|
-
agentId: string | null;
|
|
2723
2721
|
role: string;
|
|
2722
|
+
content: MessageContent;
|
|
2723
|
+
conversationId: string;
|
|
2724
|
+
agentId: string | null;
|
|
2724
2725
|
fromAgentId: string | null;
|
|
2725
2726
|
toAgentId: string | null;
|
|
2726
2727
|
fromExternalAgentId: string | null;
|
|
2727
2728
|
toExternalAgentId: string | null;
|
|
2728
|
-
content: MessageContent;
|
|
2729
2729
|
visibility: string;
|
|
2730
2730
|
messageType: string;
|
|
2731
2731
|
taskId: string | null;
|
|
@@ -2838,20 +2838,20 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
2838
2838
|
updatedAt: string;
|
|
2839
2839
|
}[]>;
|
|
2840
2840
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
2841
|
-
id: string;
|
|
2842
2841
|
tenantId: string;
|
|
2843
2842
|
projectId: string;
|
|
2843
|
+
id: string;
|
|
2844
2844
|
createdAt: string;
|
|
2845
2845
|
updatedAt: string;
|
|
2846
|
-
conversationId: string;
|
|
2847
2846
|
metadata: MessageMetadata | null;
|
|
2848
|
-
agentId: string | null;
|
|
2849
2847
|
role: string;
|
|
2848
|
+
content: MessageContent;
|
|
2849
|
+
conversationId: string;
|
|
2850
|
+
agentId: string | null;
|
|
2850
2851
|
fromAgentId: string | null;
|
|
2851
2852
|
toAgentId: string | null;
|
|
2852
2853
|
fromExternalAgentId: string | null;
|
|
2853
2854
|
toExternalAgentId: string | null;
|
|
2854
|
-
content: MessageContent;
|
|
2855
2855
|
visibility: string;
|
|
2856
2856
|
messageType: string;
|
|
2857
2857
|
taskId: string | null;
|
|
@@ -2864,20 +2864,20 @@ declare const updateMessage: (db: DatabaseClient) => (params: {
|
|
|
2864
2864
|
messageId: string;
|
|
2865
2865
|
data: MessageUpdate;
|
|
2866
2866
|
}) => Promise<{
|
|
2867
|
-
id: string;
|
|
2868
2867
|
tenantId: string;
|
|
2869
2868
|
projectId: string;
|
|
2869
|
+
id: string;
|
|
2870
2870
|
createdAt: string;
|
|
2871
2871
|
updatedAt: string;
|
|
2872
|
-
conversationId: string;
|
|
2873
2872
|
metadata: MessageMetadata | null;
|
|
2874
|
-
agentId: string | null;
|
|
2875
2873
|
role: string;
|
|
2874
|
+
content: MessageContent;
|
|
2875
|
+
conversationId: string;
|
|
2876
|
+
agentId: string | null;
|
|
2876
2877
|
fromAgentId: string | null;
|
|
2877
2878
|
toAgentId: string | null;
|
|
2878
2879
|
fromExternalAgentId: string | null;
|
|
2879
2880
|
toExternalAgentId: string | null;
|
|
2880
|
-
content: MessageContent;
|
|
2881
2881
|
visibility: string;
|
|
2882
2882
|
messageType: string;
|
|
2883
2883
|
taskId: string | null;
|
|
@@ -2889,20 +2889,20 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
2889
2889
|
scopes: ScopeConfig;
|
|
2890
2890
|
messageId: string;
|
|
2891
2891
|
}) => Promise<{
|
|
2892
|
-
id: string;
|
|
2893
2892
|
tenantId: string;
|
|
2894
2893
|
projectId: string;
|
|
2894
|
+
id: string;
|
|
2895
2895
|
createdAt: string;
|
|
2896
2896
|
updatedAt: string;
|
|
2897
|
-
conversationId: string;
|
|
2898
2897
|
metadata: MessageMetadata | null;
|
|
2899
|
-
agentId: string | null;
|
|
2900
2898
|
role: string;
|
|
2899
|
+
content: MessageContent;
|
|
2900
|
+
conversationId: string;
|
|
2901
|
+
agentId: string | null;
|
|
2901
2902
|
fromAgentId: string | null;
|
|
2902
2903
|
toAgentId: string | null;
|
|
2903
2904
|
fromExternalAgentId: string | null;
|
|
2904
2905
|
toExternalAgentId: string | null;
|
|
2905
|
-
content: MessageContent;
|
|
2906
2906
|
visibility: string;
|
|
2907
2907
|
messageType: string;
|
|
2908
2908
|
taskId: string | null;
|
|
@@ -2980,14 +2980,14 @@ declare const deleteProject: (db: DatabaseClient) => (params: {
|
|
|
2980
2980
|
}) => Promise<boolean>;
|
|
2981
2981
|
|
|
2982
2982
|
declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
|
|
2983
|
-
id: string;
|
|
2984
2983
|
tenantId: string;
|
|
2985
2984
|
projectId: string;
|
|
2985
|
+
id: string;
|
|
2986
2986
|
createdAt: string;
|
|
2987
2987
|
updatedAt: string;
|
|
2988
|
-
contextId: string;
|
|
2989
|
-
status: string;
|
|
2990
2988
|
metadata: TaskMetadataConfig | null;
|
|
2989
|
+
status: string;
|
|
2990
|
+
contextId: string;
|
|
2991
2991
|
agentId: string;
|
|
2992
2992
|
}>;
|
|
2993
2993
|
declare const getTask: (db: DatabaseClient) => (params: {
|
|
@@ -3000,14 +3000,14 @@ declare const updateTask: (db: DatabaseClient) => (params: {
|
|
|
3000
3000
|
metadata?: any;
|
|
3001
3001
|
};
|
|
3002
3002
|
}) => Promise<{
|
|
3003
|
-
id: string;
|
|
3004
3003
|
tenantId: string;
|
|
3005
3004
|
projectId: string;
|
|
3005
|
+
id: string;
|
|
3006
3006
|
createdAt: string;
|
|
3007
3007
|
updatedAt: string;
|
|
3008
|
-
contextId: string;
|
|
3009
|
-
status: string;
|
|
3010
3008
|
metadata: TaskMetadataConfig | null;
|
|
3009
|
+
status: string;
|
|
3010
|
+
contextId: string;
|
|
3011
3011
|
agentId: string;
|
|
3012
3012
|
}>;
|
|
3013
3013
|
declare const listTaskIdsByContextId: (db: DatabaseClient) => (params: {
|
|
@@ -3019,21 +3019,21 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
3019
3019
|
scopes: ScopeConfig;
|
|
3020
3020
|
toolId: string;
|
|
3021
3021
|
}) => Promise<{
|
|
3022
|
-
name: string;
|
|
3023
|
-
headers: Record<string, string> | null;
|
|
3024
|
-
id: string;
|
|
3025
3022
|
tenantId: string;
|
|
3026
3023
|
projectId: string;
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
credentialReferenceId: string | null;
|
|
3030
|
-
status: string;
|
|
3024
|
+
id: string;
|
|
3025
|
+
name: string;
|
|
3031
3026
|
config: {
|
|
3032
3027
|
type: "mcp";
|
|
3033
3028
|
mcp: ToolMcpConfig;
|
|
3034
3029
|
};
|
|
3035
|
-
|
|
3030
|
+
credentialReferenceId: string | null;
|
|
3031
|
+
createdAt: string;
|
|
3032
|
+
updatedAt: string;
|
|
3033
|
+
headers: Record<string, string> | null;
|
|
3034
|
+
status: string;
|
|
3036
3035
|
capabilities: ToolServerCapabilities | null;
|
|
3036
|
+
imageUrl: string | null;
|
|
3037
3037
|
lastHealthCheck: string | null;
|
|
3038
3038
|
lastError: string | null;
|
|
3039
3039
|
availableTools: McpToolDefinition[] | null;
|
|
@@ -3099,42 +3099,42 @@ declare const listToolsByStatus: (db: DatabaseClient) => (params: {
|
|
|
3099
3099
|
scopes: ScopeConfig;
|
|
3100
3100
|
status: McpToolStatus;
|
|
3101
3101
|
}) => Promise<{
|
|
3102
|
-
name: string;
|
|
3103
|
-
headers: Record<string, string> | null;
|
|
3104
|
-
id: string;
|
|
3105
3102
|
tenantId: string;
|
|
3106
3103
|
projectId: string;
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
credentialReferenceId: string | null;
|
|
3110
|
-
status: string;
|
|
3104
|
+
id: string;
|
|
3105
|
+
name: string;
|
|
3111
3106
|
config: {
|
|
3112
3107
|
type: "mcp";
|
|
3113
3108
|
mcp: ToolMcpConfig;
|
|
3114
3109
|
};
|
|
3115
|
-
|
|
3110
|
+
credentialReferenceId: string | null;
|
|
3111
|
+
createdAt: string;
|
|
3112
|
+
updatedAt: string;
|
|
3113
|
+
headers: Record<string, string> | null;
|
|
3114
|
+
status: string;
|
|
3116
3115
|
capabilities: ToolServerCapabilities | null;
|
|
3116
|
+
imageUrl: string | null;
|
|
3117
3117
|
lastHealthCheck: string | null;
|
|
3118
3118
|
lastError: string | null;
|
|
3119
3119
|
availableTools: McpToolDefinition[] | null;
|
|
3120
3120
|
lastToolsSync: string | null;
|
|
3121
3121
|
}[]>;
|
|
3122
3122
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
3123
|
-
name: string;
|
|
3124
|
-
headers: Record<string, string> | null;
|
|
3125
|
-
id: string;
|
|
3126
3123
|
tenantId: string;
|
|
3127
3124
|
projectId: string;
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
credentialReferenceId: string | null;
|
|
3131
|
-
status: string;
|
|
3125
|
+
id: string;
|
|
3126
|
+
name: string;
|
|
3132
3127
|
config: {
|
|
3133
3128
|
type: "mcp";
|
|
3134
3129
|
mcp: ToolMcpConfig;
|
|
3135
3130
|
};
|
|
3136
|
-
|
|
3131
|
+
credentialReferenceId: string | null;
|
|
3132
|
+
createdAt: string;
|
|
3133
|
+
updatedAt: string;
|
|
3134
|
+
headers: Record<string, string> | null;
|
|
3135
|
+
status: string;
|
|
3137
3136
|
capabilities: ToolServerCapabilities | null;
|
|
3137
|
+
imageUrl: string | null;
|
|
3138
3138
|
lastHealthCheck: string | null;
|
|
3139
3139
|
lastError: string | null;
|
|
3140
3140
|
availableTools: McpToolDefinition[] | null;
|
|
@@ -3145,21 +3145,21 @@ declare const updateTool: (db: DatabaseClient) => (params: {
|
|
|
3145
3145
|
toolId: string;
|
|
3146
3146
|
data: ToolUpdate;
|
|
3147
3147
|
}) => Promise<{
|
|
3148
|
-
name: string;
|
|
3149
|
-
headers: Record<string, string> | null;
|
|
3150
|
-
id: string;
|
|
3151
3148
|
tenantId: string;
|
|
3152
3149
|
projectId: string;
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
credentialReferenceId: string | null;
|
|
3156
|
-
status: string;
|
|
3150
|
+
id: string;
|
|
3151
|
+
name: string;
|
|
3157
3152
|
config: {
|
|
3158
3153
|
type: "mcp";
|
|
3159
3154
|
mcp: ToolMcpConfig;
|
|
3160
3155
|
};
|
|
3161
|
-
|
|
3156
|
+
credentialReferenceId: string | null;
|
|
3157
|
+
createdAt: string;
|
|
3158
|
+
updatedAt: string;
|
|
3159
|
+
headers: Record<string, string> | null;
|
|
3160
|
+
status: string;
|
|
3162
3161
|
capabilities: ToolServerCapabilities | null;
|
|
3162
|
+
imageUrl: string | null;
|
|
3163
3163
|
lastHealthCheck: string | null;
|
|
3164
3164
|
lastError: string | null;
|
|
3165
3165
|
availableTools: McpToolDefinition[] | null;
|
|
@@ -3174,9 +3174,9 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
3174
3174
|
agentId: string;
|
|
3175
3175
|
toolId: string;
|
|
3176
3176
|
}) => Promise<{
|
|
3177
|
-
id: string;
|
|
3178
3177
|
tenantId: string;
|
|
3179
3178
|
projectId: string;
|
|
3179
|
+
id: string;
|
|
3180
3180
|
createdAt: string;
|
|
3181
3181
|
updatedAt: string;
|
|
3182
3182
|
agentId: string;
|
|
@@ -3187,9 +3187,9 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
|
3187
3187
|
agentId: string;
|
|
3188
3188
|
toolId: string;
|
|
3189
3189
|
}) => Promise<{
|
|
3190
|
-
id: string;
|
|
3191
3190
|
tenantId: string;
|
|
3192
3191
|
projectId: string;
|
|
3192
|
+
id: string;
|
|
3193
3193
|
createdAt: string;
|
|
3194
3194
|
updatedAt: string;
|
|
3195
3195
|
agentId: string;
|
|
@@ -3203,9 +3203,9 @@ declare const upsertAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3203
3203
|
agentId: string;
|
|
3204
3204
|
toolId: string;
|
|
3205
3205
|
}) => Promise<{
|
|
3206
|
-
id: string;
|
|
3207
3206
|
tenantId: string;
|
|
3208
3207
|
projectId: string;
|
|
3208
|
+
id: string;
|
|
3209
3209
|
createdAt: string;
|
|
3210
3210
|
updatedAt: string;
|
|
3211
3211
|
agentId: string;
|
|
@@ -3218,21 +3218,21 @@ declare const updateToolStatus: (db: DatabaseClient) => (params: {
|
|
|
3218
3218
|
lastHealthCheck?: string;
|
|
3219
3219
|
lastError?: string;
|
|
3220
3220
|
}) => Promise<{
|
|
3221
|
-
name: string;
|
|
3222
|
-
headers: Record<string, string> | null;
|
|
3223
|
-
id: string;
|
|
3224
3221
|
tenantId: string;
|
|
3225
3222
|
projectId: string;
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
credentialReferenceId: string | null;
|
|
3229
|
-
status: string;
|
|
3223
|
+
id: string;
|
|
3224
|
+
name: string;
|
|
3230
3225
|
config: {
|
|
3231
3226
|
type: "mcp";
|
|
3232
3227
|
mcp: ToolMcpConfig;
|
|
3233
3228
|
};
|
|
3234
|
-
|
|
3229
|
+
credentialReferenceId: string | null;
|
|
3230
|
+
createdAt: string;
|
|
3231
|
+
updatedAt: string;
|
|
3232
|
+
headers: Record<string, string> | null;
|
|
3233
|
+
status: string;
|
|
3235
3234
|
capabilities: ToolServerCapabilities | null;
|
|
3235
|
+
imageUrl: string | null;
|
|
3236
3236
|
lastHealthCheck: string | null;
|
|
3237
3237
|
lastError: string | null;
|
|
3238
3238
|
availableTools: McpToolDefinition[] | null;
|
|
@@ -3244,21 +3244,21 @@ declare const updateToolStatus: (db: DatabaseClient) => (params: {
|
|
|
3244
3244
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
3245
3245
|
data: ToolInsert;
|
|
3246
3246
|
}) => Promise<{
|
|
3247
|
-
name: string;
|
|
3248
|
-
headers: Record<string, string> | null;
|
|
3249
|
-
id: string;
|
|
3250
3247
|
tenantId: string;
|
|
3251
3248
|
projectId: string;
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
credentialReferenceId: string | null;
|
|
3255
|
-
status: string;
|
|
3249
|
+
id: string;
|
|
3250
|
+
name: string;
|
|
3256
3251
|
config: {
|
|
3257
3252
|
type: "mcp";
|
|
3258
3253
|
mcp: ToolMcpConfig;
|
|
3259
3254
|
};
|
|
3260
|
-
|
|
3255
|
+
credentialReferenceId: string | null;
|
|
3256
|
+
createdAt: string;
|
|
3257
|
+
updatedAt: string;
|
|
3258
|
+
headers: Record<string, string> | null;
|
|
3259
|
+
status: string;
|
|
3261
3260
|
capabilities: ToolServerCapabilities | null;
|
|
3261
|
+
imageUrl: string | null;
|
|
3262
3262
|
lastHealthCheck: string | null;
|
|
3263
3263
|
lastError: string | null;
|
|
3264
3264
|
availableTools: McpToolDefinition[] | null;
|
|
@@ -3423,7 +3423,7 @@ declare const detectAuthenticationRequired: (tool: McpTool, error: Error, logger
|
|
|
3423
3423
|
*/
|
|
3424
3424
|
declare function getCredentialStoreLookupKeyFromRetrievalParams({ retrievalParams, credentialStoreType, }: {
|
|
3425
3425
|
retrievalParams: Record<string, unknown>;
|
|
3426
|
-
credentialStoreType:
|
|
3426
|
+
credentialStoreType: keyof typeof CredentialStoreType;
|
|
3427
3427
|
}): string | null;
|
|
3428
3428
|
|
|
3429
3429
|
declare const ErrorCode: z$1.ZodEnum<{
|
|
@@ -3989,4 +3989,4 @@ declare function getGlobalTracer(): Tracer;
|
|
|
3989
3989
|
*/
|
|
3990
3990
|
declare function forceFlushTracer(): Promise<void>;
|
|
3991
3991
|
|
|
3992
|
-
export { AgentGraphInsert, AgentGraphUpdate, AgentInsert, AgentRelationInsert, AgentRelationUpdate, AgentSelect, AgentToolRelationUpdate, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, BASE, type CommonCreateErrorResponses, type CommonDeleteErrorResponses, type CommonGetErrorResponses, type CommonUpdateErrorResponses, ConsoleLogger, ContextCache, ContextCacheInsert, ContextCacheSelect, ContextConfigBuilder, type ContextConfigBuilderOptions, ContextConfigInsert, ContextConfigSelect, ContextConfigUpdate, ContextFetchDefinition, ContextFetcher, type ContextResolutionOptions, type ContextResolutionResult, ContextResolver, type ContextResolverInterface, type ContextValidationError, type ContextValidationResult, ConversationHistoryConfig, ConversationInsert, ConversationMetadata, ConversationSelect, ConversationUpdate, CreateApiKeyParams, type CredentialContext, type CredentialData, CredentialReferenceInsert, CredentialReferenceSelect, CredentialReferenceUpdate, type CredentialReferenceWithTools, type CredentialResolverInput, CredentialStore, type CredentialStoreReference, CredentialStoreRegistry, CredentialStuffer, DataComponentInsert, DataComponentSelect, DataComponentUpdate, type DatabaseClient, type DatabaseConfig, ERROR_DOCS_BASE_URL, ErrorCode, type ErrorCodes, type ErrorResponse, ExecutionContext, ExternalAgentInsert, ExternalAgentRelationInsert, ExternalAgentSelect, ExternalAgentUpdate, FetchDefinition, type FetchResult, FullGraphDefinition, type GraphLogger, HTTP_REQUEST_PARTS, type HttpRequestPart, InMemoryCredentialStore, KeyChainStore, LedgerArtifactSelect, type Logger$1 as Logger, type LoggerFactoryConfig, MCPToolConfig, McpClient, type McpClientOptions, type McpSSEConfig, type McpServerConfig, type McpStreamableHttpConfig, McpTool, McpToolDefinition, McpToolStatus, MessageContent, MessageInsert, MessageMetadata, MessageUpdate, MessageVisibility, NangoCredentialStore, NoOpLogger, type OAuthConfig, PaginationConfig, PaginationResult, type ParsedHttpRequest, type ProblemDetails, ProjectInfo, ProjectInsert, ProjectResourceCounts, ProjectSelect, ProjectUpdate, RequestSchemaConfig, RequestSchemaDefinition, type ResolvedContext, SERVICE_NAME, SERVICE_VERSION, ScopeConfig, TaskInsert, TaskMetadataConfig, TaskSelect, type TemplateContext, TemplateEngine, type TemplateRenderOptions, ToolInsert, ToolMcpConfig, ToolSelect, ToolServerCapabilities, ToolUpdate, addLedgerArtifacts, addToolToAgent, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, configureLogging, contextConfig, contextValidationMiddleware, countApiKeys, countArtifactComponents, countArtifactComponentsForAgent, countContextConfigs, countCredentialReferences, countDataComponents, countExternalAgents, countLedgerArtifactsByTask, countMessagesByConversation, countProjects, createAgent, createAgentGraph, createAgentRelation, createAgentToolRelation, createApiError, createApiKey, createArtifactComponent, createContextConfig, createConversation, createCredentialReference, createDataComponent, createDatabaseClient, createDefaultCredentialStores, createExecutionContext, createExternalAgent, createExternalAgentRelation, createFullGraphServerSide, createInMemoryDatabaseClient, createKeyChainStore, createMessage, createNangoCredentialStore, createOrGetConversation, createProject, createRequestSchema, createSpanName, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentGraph, deleteAgentRelation, deleteAgentRelationsByGraph, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullGraph, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteTool, detectAuthenticationRequired, determineContextTrigger, discoverOAuthEndpoints, errorResponseSchema, errorSchemaFactory, externalAgentExists, externalAgentUrlExists, extractPublicId, fetchComponentRelationships, fetchDefinition, forceFlushTracer, generateAndCreateApiKey, generateApiKey, getActiveAgentForConversation, getAgentById, getAgentGraph, getAgentGraphById, getAgentGraphWithDefaultAgent, getAgentInGraphContext, getAgentRelationById, getAgentRelationByParams, getAgentRelations, getAgentRelationsByGraph, getAgentRelationsBySource, getAgentRelationsByTarget, getAgentToolRelationByAgent, getAgentToolRelationById, getAgentToolRelationByTool, getAgentsByIds, getAgentsForTool, getAgentsUsingArtifactComponent, getAgentsUsingDataComponent, getApiKeyById, getApiKeyByPublicId, getArtifactComponentById, getArtifactComponentsForAgent, getCacheEntry, getCachedValidator, getContextConfigById, getContextConfigCacheEntries, getContextConfigsByName, getConversation, getConversationCacheEntries, getConversationHistory, getCredentialReference, getCredentialReferenceById, getCredentialReferenceWithTools, getCredentialStoreLookupKeyFromRetrievalParams, getDataComponent, getDataComponentsForAgent, getExternalAgent, getExternalAgentByUrl, getExternalAgentRelations, getFullGraph, getFullGraphDefinition, getGlobalTracer, getGraphAgentInfos, getHealthyToolsForAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getLogger, getMessageById, getMessagesByConversation, getMessagesByTask, getProject, getProjectResourceCounts, getRelatedAgentsForGraph, getRequestExecutionContext, getTask, getToolById, getToolsByStatus, getToolsForAgent, getVisibleMessages, graphHasArtifactComponents, handleApiError, handleContextConfigChange, handleContextResolution, handleSpanError, hasApiKey, hasContextConfig, hasCredentialReference, hashApiKey, invalidateInvocationDefinitionsCache, invalidateRequestContextCache, isApiKeyExpired, isArtifactComponentAssociatedWithAgent, isComprehensiveRequestSchema, isDataComponentAssociatedWithAgent, isValidHttpRequest, listAgentGraphs, listAgentGraphsPaginated, listAgentRelations, listAgentToolRelations, listAgentToolRelationsByAgent, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listMessages, listProjects, listProjectsPaginated, listTaskIdsByContextId, listTools, listToolsByStatus, loggerFactory, maskApiKey, problemDetailsSchema, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, updateAgent, updateAgentGraph, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullGraphServerSide, updateMessage, updateProject, updateTask, updateTool, updateToolStatus, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertAgentGraph, upsertAgentRelation, upsertAgentToolRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateExternalAgent, validateHttpRequestParts, validateInternalAgent, validateProjectExists, validateRequestContext, validationHelper, withProjectValidation };
|
|
3992
|
+
export { AgentGraphInsert, AgentGraphUpdate, AgentInsert, AgentRelationInsert, AgentRelationUpdate, AgentSelect, AgentToolRelationUpdate, AgentUpdate, ApiKeyCreateResult, type ApiKeyGenerationResult, ApiKeyInsert, ApiKeySelect, ApiKeyUpdate, Artifact, ArtifactComponentInsert, ArtifactComponentSelect, ArtifactComponentUpdate, BASE, type CommonCreateErrorResponses, type CommonDeleteErrorResponses, type CommonGetErrorResponses, type CommonUpdateErrorResponses, ConsoleLogger, ContextCache, ContextCacheInsert, ContextCacheSelect, ContextConfigBuilder, type ContextConfigBuilderOptions, ContextConfigInsert, ContextConfigSelect, ContextConfigUpdate, ContextFetchDefinition, ContextFetcher, type ContextResolutionOptions, type ContextResolutionResult, ContextResolver, type ContextResolverInterface, type ContextValidationError, type ContextValidationResult, ConversationHistoryConfig, ConversationInsert, ConversationMetadata, ConversationSelect, ConversationUpdate, CreateApiKeyParams, type CredentialContext, type CredentialData, CredentialReferenceInsert, CredentialReferenceSelect, CredentialReferenceUpdate, type CredentialReferenceWithTools, type CredentialResolverInput, CredentialStore, type CredentialStoreReference, CredentialStoreRegistry, CredentialStoreType, CredentialStuffer, DataComponentInsert, DataComponentSelect, DataComponentUpdate, type DatabaseClient, type DatabaseConfig, ERROR_DOCS_BASE_URL, ErrorCode, type ErrorCodes, type ErrorResponse, ExecutionContext, ExternalAgentInsert, ExternalAgentRelationInsert, ExternalAgentSelect, ExternalAgentUpdate, FetchDefinition, type FetchResult, FullGraphDefinition, type GraphLogger, HTTP_REQUEST_PARTS, type HttpRequestPart, InMemoryCredentialStore, KeyChainStore, LedgerArtifactSelect, type Logger$1 as Logger, type LoggerFactoryConfig, MCPToolConfig, MCPTransportType, McpClient, type McpClientOptions, type McpSSEConfig, type McpServerConfig, type McpStreamableHttpConfig, McpTool, McpToolDefinition, McpToolStatus, MessageContent, MessageInsert, MessageMetadata, MessageUpdate, MessageVisibility, NangoCredentialStore, NoOpLogger, type OAuthConfig, PaginationConfig, PaginationResult, type ParsedHttpRequest, type ProblemDetails, ProjectInfo, ProjectInsert, ProjectResourceCounts, ProjectSelect, ProjectUpdate, RequestSchemaConfig, RequestSchemaDefinition, type ResolvedContext, SERVICE_NAME, SERVICE_VERSION, ScopeConfig, TaskInsert, TaskMetadataConfig, TaskSelect, type TemplateContext, TemplateEngine, type TemplateRenderOptions, ToolInsert, ToolMcpConfig, ToolSelect, ToolServerCapabilities, ToolUpdate, addLedgerArtifacts, addToolToAgent, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, configureLogging, contextConfig, contextValidationMiddleware, countApiKeys, countArtifactComponents, countArtifactComponentsForAgent, countContextConfigs, countCredentialReferences, countDataComponents, countExternalAgents, countLedgerArtifactsByTask, countMessagesByConversation, countProjects, createAgent, createAgentGraph, createAgentRelation, createAgentToolRelation, createApiError, createApiKey, createArtifactComponent, createContextConfig, createConversation, createCredentialReference, createDataComponent, createDatabaseClient, createDefaultCredentialStores, createExecutionContext, createExternalAgent, createExternalAgentRelation, createFullGraphServerSide, createInMemoryDatabaseClient, createKeyChainStore, createMessage, createNangoCredentialStore, createOrGetConversation, createProject, createRequestSchema, createSpanName, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentGraph, deleteAgentRelation, deleteAgentRelationsByGraph, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullGraph, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteTool, detectAuthenticationRequired, determineContextTrigger, discoverOAuthEndpoints, errorResponseSchema, errorSchemaFactory, externalAgentExists, externalAgentUrlExists, extractPublicId, fetchComponentRelationships, fetchDefinition, forceFlushTracer, generateAndCreateApiKey, generateApiKey, getActiveAgentForConversation, getAgentById, getAgentGraph, getAgentGraphById, getAgentGraphWithDefaultAgent, getAgentInGraphContext, getAgentRelationById, getAgentRelationByParams, getAgentRelations, getAgentRelationsByGraph, getAgentRelationsBySource, getAgentRelationsByTarget, getAgentToolRelationByAgent, getAgentToolRelationById, getAgentToolRelationByTool, getAgentsByIds, getAgentsForTool, getAgentsUsingArtifactComponent, getAgentsUsingDataComponent, getApiKeyById, getApiKeyByPublicId, getArtifactComponentById, getArtifactComponentsForAgent, getCacheEntry, getCachedValidator, getContextConfigById, getContextConfigCacheEntries, getContextConfigsByName, getConversation, getConversationCacheEntries, getConversationHistory, getCredentialReference, getCredentialReferenceById, getCredentialReferenceWithTools, getCredentialStoreLookupKeyFromRetrievalParams, getDataComponent, getDataComponentsForAgent, getExternalAgent, getExternalAgentByUrl, getExternalAgentRelations, getFullGraph, getFullGraphDefinition, getGlobalTracer, getGraphAgentInfos, getHealthyToolsForAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getLogger, getMessageById, getMessagesByConversation, getMessagesByTask, getProject, getProjectResourceCounts, getRelatedAgentsForGraph, getRequestExecutionContext, getTask, getToolById, getToolsByStatus, getToolsForAgent, getVisibleMessages, graphHasArtifactComponents, handleApiError, handleContextConfigChange, handleContextResolution, handleSpanError, hasApiKey, hasContextConfig, hasCredentialReference, hashApiKey, invalidateInvocationDefinitionsCache, invalidateRequestContextCache, isApiKeyExpired, isArtifactComponentAssociatedWithAgent, isComprehensiveRequestSchema, isDataComponentAssociatedWithAgent, isValidHttpRequest, listAgentGraphs, listAgentGraphsPaginated, listAgentRelations, listAgentToolRelations, listAgentToolRelationsByAgent, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listMessages, listProjects, listProjectsPaginated, listTaskIdsByContextId, listTools, listToolsByStatus, loggerFactory, maskApiKey, problemDetailsSchema, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, updateAgent, updateAgentGraph, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullGraphServerSide, updateMessage, updateProject, updateTask, updateTool, updateToolStatus, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertAgentGraph, upsertAgentRelation, upsertAgentToolRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateApiKey, validateExternalAgent, validateHttpRequestParts, validateInternalAgent, validateProjectExists, validateRequestContext, validationHelper, withProjectValidation };
|