@inkeep/agents-core 0.18.0 → 0.19.0

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.
Files changed (42) hide show
  1. package/README.md +4 -4
  2. package/dist/{chunk-E4SFK6AI.js → chunk-3GZBRBXP.js} +84 -87
  3. package/dist/{chunk-JTHQYGCX.js → chunk-3XUV5Q4D.js} +34 -34
  4. package/dist/{chunk-ID4CFGVF.js → chunk-B6F3RF4T.js} +87 -120
  5. package/dist/chunk-E6R6PML7.js +19 -0
  6. package/dist/chunk-HYS7HUYJ.js +27 -0
  7. package/dist/{chunk-TCLX6C3C.js → chunk-SLL6V3AE.js} +25 -18
  8. package/dist/{chunk-R2EERZSW.js → chunk-YECQCT5N.js} +1 -1
  9. package/dist/client-exports.cjs +201 -231
  10. package/dist/client-exports.d.cts +13 -14
  11. package/dist/client-exports.d.ts +13 -14
  12. package/dist/client-exports.js +10 -10
  13. package/dist/constants/models.cjs +31 -0
  14. package/dist/constants/models.d.cts +33 -0
  15. package/dist/constants/models.d.ts +33 -0
  16. package/dist/constants/models.js +1 -0
  17. package/dist/db/schema.cjs +85 -118
  18. package/dist/db/schema.d.cts +2 -3
  19. package/dist/db/schema.d.ts +2 -3
  20. package/dist/db/schema.js +1 -1
  21. package/dist/index.cjs +213943 -1046
  22. package/dist/index.d.cts +209 -208
  23. package/dist/index.d.ts +209 -208
  24. package/dist/index.js +213657 -767
  25. package/dist/{schema-Bjy5TkFv.d.cts → schema-Dp-qgdBT.d.ts} +56 -54
  26. package/dist/{schema-CfWbqju2.d.ts → schema-DrDaCn6H.d.cts} +56 -54
  27. package/dist/{signoz-queries-CifqdbnO.d.ts → signoz-queries-CuWMQh1H.d.cts} +19 -14
  28. package/dist/{signoz-queries-CifqdbnO.d.cts → signoz-queries-CuWMQh1H.d.ts} +19 -14
  29. package/dist/types/index.d.cts +2 -3
  30. package/dist/types/index.d.ts +2 -3
  31. package/dist/{utility-Fxoh7s82.d.cts → utility-BxbySenH.d.cts} +158 -307
  32. package/dist/{utility-Fxoh7s82.d.ts → utility-BxbySenH.d.ts} +158 -307
  33. package/dist/utils/schema-conversion.js +1 -1
  34. package/dist/validation/index.cjs +212 -249
  35. package/dist/validation/index.d.cts +12 -13
  36. package/dist/validation/index.d.ts +12 -13
  37. package/dist/validation/index.js +2 -2
  38. package/drizzle/0007_mighty_typhoid_mary.sql +227 -0
  39. package/drizzle/meta/0007_snapshot.json +2766 -0
  40. package/drizzle/meta/_journal.json +7 -0
  41. package/package.json +6 -1
  42. package/dist/chunk-MKBO26DX.js +0 -9
@@ -1,11 +1,10 @@
1
- import { g as CredentialStoreType } from '../utility-Fxoh7s82.js';
2
- export { b9 as A2AError, bF as A2ARequest, bG as A2AResponse, aK as APIKeySecurityScheme, aG as AgentCapabilities, aU as AgentCard, dl as AgentConversationHistoryConfig, d6 as AgentDefinition, bU as AgentGraphApiInsert, bT as AgentGraphApiSelect, bV as AgentGraphApiUpdate, x as AgentGraphInsert, bS as AgentGraphSelect, y as AgentGraphUpdate, aH as AgentProvider, N as AgentScopeConfig, aI as AgentSkill, cO as AllAgentSelect, cS as ApiKeyApiCreationResponse, cQ as ApiKeyApiInsert, cP as ApiKeyApiSelect, cR as ApiKeyApiUpdate, I as ApiKeyCreateResult, D as ApiKeyInsert, B as ApiKeySelect, E as ApiKeyUpdate, a9 as Artifact, cD as ArtifactComponentApiInsert, cC as ArtifactComponentApiSelect, cE as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aN as AuthorizationCodeOAuthFlow, d4 as CanUseItem, bp as CancelTaskRequest, bA as CancelTaskResponse, bz as CancelTaskSuccessResponse, aO as ClientCredentialsOAuthFlow, b7 as ContentTypeNotSupportedError, cr as ContextCacheApiInsert, cq as ContextCacheApiSelect, cs as ContextCacheApiUpdate, dm as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cp as ContextCacheUpdate, cl as ContextConfigApiInsert, ck as ContextConfigApiSelect, cm as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, l as ContextFetchDefinition, ce as ConversationApiInsert, cd as ConversationApiSelect, cf as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, o as ConversationMetadata, dk as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cT as CredentialReferenceApiSelect, cU as CredentialReferenceApiUpdate, _ as CredentialReferenceInsert, Y as CredentialReferenceSelect, $ as CredentialReferenceUpdate, cu as DataComponentApiInsert, ct as DataComponentApiSelect, cv as DataComponentApiUpdate, a1 as DataComponentInsert, a0 as DataComponentSelect, a2 as DataComponentUpdate, aE as DataPart, ax as ExecutionContext, cM as ExternalAgentApiInsert, cL as ExternalAgentApiSelect, cN as ExternalAgentApiUpdate, a3 as ExternalAgentInsert, a4 as ExternalAgentSelect, a5 as ExternalAgentUpdate, bR as ExternalSubAgentRelationApiInsert, am as ExternalSubAgentRelationInsert, co as FetchConfig, cn as FetchDefinition, aA as FileBase, aD as FilePart, aB as FileWithBytes, aC as FileWithUri, d3 as FullGraphAgentInsert, z as FullGraphDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, ca as FunctionApiSelect, cb as FunctionApiUpdate, c8 as FunctionInsert, c7 as FunctionSelect, a7 as FunctionToolApiInsert, cc as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, c9 as FunctionUpdate, br as GetTaskPushNotificationConfigRequest, bE as GetTaskPushNotificationConfigResponse, bD as GetTaskPushNotificationConfigSuccessResponse, bo as GetTaskRequest, by as GetTaskResponse, bx as GetTaskSuccessResponse, u as GraphScopeConfig, aL as HTTPAuthSecurityScheme, aP as ImplicitOAuthFlow, d5 as InternalAgentDefinition, b2 as InternalError, b8 as InvalidAgentResponseError, b1 as InvalidParamsError, a$ as InvalidRequestError, a_ as JSONParseError, bj as JSONRPCError, bl as JSONRPCErrorResponse, bh as JSONRPCMessage, bi as JSONRPCRequest, bk as JSONRPCResult, d1 as LedgerArtifactApiInsert, d0 as LedgerArtifactApiSelect, d2 as LedgerArtifactApiUpdate, c_ as LedgerArtifactInsert, aa as LedgerArtifactSelect, c$ as LedgerArtifactUpdate, dv as MCPServerType, t as MCPToolConfig, h as MCPTransportType, dn as McpAuthType, dp as McpServerAuth, dr as McpServerCapabilities, au as McpTool, ds as McpToolDefinition, dq as McpTransportConfig, aV as Message, ci as MessageApiInsert, ch as MessageApiSelect, cj as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, df as MessageMode, bH as MessagePart, de as MessageRole, cg as MessageSelect, bf as MessageSendConfiguration, bg as MessageSendParams, dd as MessageType, ad as MessageUpdate, ab as MessageVisibility, b0 as MethodNotFoundError, dg as Models, aR as OAuth2SecurityScheme, aM as OAuthFlows, aS as OpenIdConnectSecurityScheme, db as Pagination, w as PaginationConfig, ah as PaginationResult, P as Part, ay as PartBase, aQ as PasswordOAuthFlow, d9 as ProjectApiInsert, d8 as ProjectApiSelect, da as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, dh as ProjectModels, ai as ProjectResourceCounts, v as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, ba as PushNotificationAuthenticationInfo, bb as PushNotificationConfig, b5 as PushNotificationNotSupportedError, aT as SecurityScheme, aJ as SecuritySchemeBase, bm as SendMessageRequest, bu as SendMessageResponse, bt as SendMessageSuccessResponse, bn as SendStreamingMessageRequest, bw as SendStreamingMessageResponse, bv as SendStreamingMessageSuccessResponse, bq as SetTaskPushNotificationConfigRequest, bC as SetTaskPushNotificationConfigResponse, bB as SetTaskPushNotificationConfigSuccessResponse, dj as StatusComponent, di as StatusUpdateSettings, bK as SubAgentApiInsert, bJ as SubAgentApiSelect, bL as SubAgentApiUpdate, cJ as SubAgentArtifactComponentApiInsert, cI as SubAgentArtifactComponentApiSelect, cK as SubAgentArtifactComponentApiUpdate, cG as SubAgentArtifactComponentInsert, cF as SubAgentArtifactComponentSelect, cH as SubAgentArtifactComponentUpdate, cA as SubAgentDataComponentApiInsert, cz as SubAgentDataComponentApiSelect, cB as SubAgentDataComponentApiUpdate, cx as SubAgentDataComponentInsert, cw as SubAgentDataComponentSelect, cy as SubAgentDataComponentUpdate, ap as SubAgentInsert, bO as SubAgentRelationApiInsert, bN as SubAgentRelationApiSelect, bP as SubAgentRelationApiUpdate, al as SubAgentRelationInsert, bQ as SubAgentRelationQuery, bM as SubAgentRelationSelect, an as SubAgentRelationUpdate, ar as SubAgentSelect, cY as SubAgentToolRelationApiInsert, cX as SubAgentToolRelationApiSelect, cZ as SubAgentToolRelationApiUpdate, cW as SubAgentToolRelationInsert, cV as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dc as SummaryEvent, dt as TOOL_STATUS_VALUES, aX as Task, bY as TaskApiInsert, bX as TaskApiSelect, bZ as TaskApiUpdate, bI as TaskArtifact, aZ as TaskArtifactUpdateEvent, bd as TaskIdParams, as as TaskInsert, T as TaskMetadataConfig, b4 as TaskNotCancelableError, b3 as TaskNotFoundError, bc as TaskPushNotificationConfig, be as TaskQueryParams, c2 as TaskRelationApiInsert, c1 as TaskRelationApiSelect, c3 as TaskRelationApiUpdate, b$ as TaskRelationInsert, b_ as TaskRelationSelect, c0 as TaskRelationUpdate, bs as TaskResubscriptionRequest, at as TaskSelect, aF as TaskState, aW as TaskStatus, aY as TaskStatusUpdateEvent, bW as TaskUpdate, az as TextPart, c5 as ToolApiInsert, c4 as ToolApiSelect, c6 as ToolApiUpdate, d7 as ToolDefinition, av as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, aw as ToolUpdate, b6 as UnsupportedOperationError, du as VALID_RELATION_TYPES } from '../utility-Fxoh7s82.js';
1
+ import { h as CredentialStoreType } from '../utility-BxbySenH.js';
2
+ export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bU as AgentApiInsert, bT as AgentApiSelect, bV as AgentApiUpdate, aH as AgentCapabilities, aV as AgentCard, dl as AgentConversationHistoryConfig, y as AgentInsert, aI as AgentProvider, v as AgentScopeConfig, D as AgentSelect, aJ as AgentSkill, z as AgentUpdate, cO as AllAgentSelect, cS as ApiKeyApiCreationResponse, cQ as ApiKeyApiInsert, cP as ApiKeyApiSelect, cR as ApiKeyApiUpdate, J as ApiKeyCreateResult, G as ApiKeyInsert, E as ApiKeySelect, H as ApiKeyUpdate, aa as Artifact, cD as ArtifactComponentApiInsert, cC as ArtifactComponentApiSelect, cE as ArtifactComponentApiUpdate, L as ArtifactComponentInsert, K as ArtifactComponentSelect, N as ArtifactComponentUpdate, aO as AuthorizationCodeOAuthFlow, d4 as CanUseItem, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cr as ContextCacheApiInsert, cq as ContextCacheApiSelect, cs as ContextCacheApiUpdate, dm as ContextCacheEntry, R as ContextCacheInsert, Q as ContextCacheSelect, cp as ContextCacheUpdate, cl as ContextConfigApiInsert, ck as ContextConfigApiSelect, cm as ContextConfigApiUpdate, U as ContextConfigInsert, t as ContextConfigSelect, V as ContextConfigUpdate, m as ContextFetchDefinition, ce as ConversationApiInsert, cd as ConversationApiSelect, cf as ConversationApiUpdate, C as ConversationHistoryConfig, X as ConversationInsert, p as ConversationMetadata, dk as ConversationScopeOptions, W as ConversationSelect, Y as ConversationUpdate, I as CreateApiKeyParams, s as CredentialReferenceApiInsert, cT as CredentialReferenceApiSelect, cU as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Z as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cu as DataComponentApiInsert, ct as DataComponentApiSelect, cv as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aF as DataPart, ay as ExecutionContext, cL as ExternalAgentApiSelect, cN as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, cM as ExternalSubAgentApiInsert, bS as ExternalSubAgentRelationApiInsert, an as ExternalSubAgentRelationInsert, co as FetchConfig, cn as FetchDefinition, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, d3 as FullAgentAgentInsert, B as FullAgentDefinition, af as FullProjectDefinition, a7 as FunctionApiInsert, ca as FunctionApiSelect, cb as FunctionApiUpdate, c8 as FunctionInsert, c7 as FunctionSelect, a8 as FunctionToolApiInsert, cc as FunctionToolApiSelect, a9 as FunctionToolApiUpdate, c9 as FunctionUpdate, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, aQ as ImplicitOAuthFlow, b3 as InternalError, d5 as InternalSubAgentDefinition, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, d1 as LedgerArtifactApiInsert, d0 as LedgerArtifactApiSelect, d2 as LedgerArtifactApiUpdate, c_ as LedgerArtifactInsert, ab as LedgerArtifactSelect, c$ as LedgerArtifactUpdate, dv as MCPServerType, u as MCPToolConfig, i as MCPTransportType, dn as McpAuthType, dp as McpServerAuth, dr as McpServerCapabilities, av as McpTool, ds as McpToolDefinition, dq as McpTransportConfig, aW as Message, ci as MessageApiInsert, ch as MessageApiSelect, cj as MessageApiUpdate, q as MessageContent, ad as MessageInsert, r as MessageMetadata, df as MessageMode, bI as MessagePart, de as MessageRole, cg as MessageSelect, bg as MessageSendConfiguration, bh as MessageSendParams, dd as MessageType, ae as MessageUpdate, ac as MessageVisibility, b1 as MethodNotFoundError, dg as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, db as Pagination, x as PaginationConfig, ai as PaginationResult, P as Part, az as PartBase, aR as PasswordOAuthFlow, d9 as ProjectApiInsert, d8 as ProjectApiSelect, da as ProjectApiUpdate, ag as ProjectInfo, ak as ProjectInsert, dh as ProjectModels, aj as ProjectResourceCounts, w as ProjectScopeConfig, ah as ProjectSelect, al as ProjectUpdate, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, dj as StatusComponent, di as StatusUpdateSettings, bL as SubAgentApiInsert, bK as SubAgentApiSelect, bM as SubAgentApiUpdate, cJ as SubAgentArtifactComponentApiInsert, cI as SubAgentArtifactComponentApiSelect, cK as SubAgentArtifactComponentApiUpdate, cG as SubAgentArtifactComponentInsert, cF as SubAgentArtifactComponentSelect, cH as SubAgentArtifactComponentUpdate, cA as SubAgentDataComponentApiInsert, cz as SubAgentDataComponentApiSelect, cB as SubAgentDataComponentApiUpdate, cx as SubAgentDataComponentInsert, cw as SubAgentDataComponentSelect, cy as SubAgentDataComponentUpdate, d6 as SubAgentDefinition, aq as SubAgentInsert, bP as SubAgentRelationApiInsert, bO as SubAgentRelationApiSelect, bQ as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bR as SubAgentRelationQuery, bN as SubAgentRelationSelect, ao as SubAgentRelationUpdate, O as SubAgentScopeConfig, as as SubAgentSelect, cY as SubAgentToolRelationApiInsert, cX as SubAgentToolRelationApiSelect, cZ as SubAgentToolRelationApiUpdate, cW as SubAgentToolRelationInsert, cV as SubAgentToolRelationSelect, ap as SubAgentToolRelationUpdate, ar as SubAgentUpdate, dc as SummaryEvent, dt as TOOL_STATUS_VALUES, aY as Task, bY as TaskApiInsert, bX as TaskApiSelect, bZ as TaskApiUpdate, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c2 as TaskRelationApiInsert, c1 as TaskRelationApiSelect, c3 as TaskRelationApiUpdate, b$ as TaskRelationInsert, b_ as TaskRelationSelect, c0 as TaskRelationUpdate, bt as TaskResubscriptionRequest, au as TaskSelect, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bW as TaskUpdate, aA as TextPart, c5 as ToolApiInsert, c4 as ToolApiSelect, c6 as ToolApiUpdate, d7 as ToolDefinition, aw as ToolInsert, n as ToolMcpConfig, _ as ToolSelect, o as ToolServerCapabilities, ax as ToolUpdate, b7 as UnsupportedOperationError, du as VALID_RELATION_TYPES } from '../utility-BxbySenH.js';
3
3
  import { Context } from 'hono';
4
4
  import 'zod';
5
5
  import 'drizzle-zod';
6
6
  import 'drizzle-orm/sqlite-core';
7
7
  import '@hono/zod-openapi';
8
- import '@modelcontextprotocol/sdk/client/streamableHttp.js';
9
8
 
10
9
  /**
11
10
  * Credential store interface for managing different types of credentials