@inkeep/agents-core 0.35.0 → 0.35.2

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 (47) hide show
  1. package/dist/auth/auth-schema.d.ts +1097 -0
  2. package/dist/auth/auth-schema.js +1 -0
  3. package/dist/auth/auth-validation-schemas.d.ts +1881 -0
  4. package/dist/auth/auth-validation-schemas.js +39 -0
  5. package/dist/auth/auth.d.ts +118 -0
  6. package/dist/auth/auth.js +95 -0
  7. package/dist/auth/permissions.d.ts +273 -0
  8. package/dist/auth/permissions.js +1 -0
  9. package/dist/chunk-4JZT4QEE.js +162 -0
  10. package/dist/chunk-F5WWOOIX.js +62 -0
  11. package/dist/{chunk-YZ5ZBVHJ.js → chunk-NFYCSHD3.js} +3 -81
  12. package/dist/chunk-NOPEANIU.js +82 -0
  13. package/dist/{chunk-J5AHY6M2.js → chunk-SPRTYWRV.js} +1 -1
  14. package/dist/{chunk-OP3KPT4T.js → chunk-TGESM3JG.js} +1 -160
  15. package/dist/{chunk-DYGTCLJO.js → chunk-VBCCPAZK.js} +1 -1
  16. package/dist/chunk-ZYSTJ4XY.js +948 -0
  17. package/dist/client-CPYOMZF2.d.ts +19 -0
  18. package/dist/client-exports.d.ts +5 -5
  19. package/dist/client-exports.js +4 -3
  20. package/dist/db/schema.d.ts +3 -2
  21. package/dist/db/schema.js +2 -1
  22. package/dist/index.d.ts +253 -398
  23. package/dist/index.js +1566 -2499
  24. package/dist/{schema-DQBYINXB.d.cts → schema-5N2lPWNV.d.ts} +3 -1096
  25. package/dist/types/index.d.ts +2 -2
  26. package/dist/{utility-Ct1UMzr_.d.cts → utility-DbltUp2Q.d.ts} +295 -295
  27. package/dist/validation/index.d.ts +2 -2
  28. package/dist/validation/index.js +2 -2
  29. package/package.json +17 -1
  30. package/dist/auth-detection-CGqhPDnj.d.cts +0 -435
  31. package/dist/client-exports.cjs +0 -2833
  32. package/dist/client-exports.d.cts +0 -289
  33. package/dist/constants/models.cjs +0 -40
  34. package/dist/constants/models.d.cts +0 -42
  35. package/dist/db/schema.cjs +0 -1090
  36. package/dist/db/schema.d.cts +0 -7
  37. package/dist/index.cjs +0 -227898
  38. package/dist/index.d.cts +0 -4893
  39. package/dist/props-validation-BMR1qNiy.d.cts +0 -15
  40. package/dist/schema-DlcSfZRM.d.ts +0 -6352
  41. package/dist/types/index.cjs +0 -39
  42. package/dist/types/index.d.cts +0 -132
  43. package/dist/utility-Ct1UMzr_.d.ts +0 -17079
  44. package/dist/utils/schema-conversion.cjs +0 -232
  45. package/dist/utils/schema-conversion.d.cts +0 -26
  46. package/dist/validation/index.cjs +0 -2930
  47. package/dist/validation/index.d.cts +0 -279
@@ -1,5 +1,5 @@
1
- import { h as CredentialStoreType } from '../utility-Ct1UMzr_.js';
2
- export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, bU as AgentApiSelect, bW as AgentApiUpdate, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, y as AgentInsert, aI as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aJ as AgentSkill, z as AgentUpdate, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, cR as ApiKeyApiInsert, cQ as ApiKeyApiSelect, cS as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cE as ArtifactComponentApiInsert, cD as ArtifactComponentApiSelect, cF as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, cr as ContextCacheApiSelect, ct as ContextCacheApiUpdate, dy as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cq as ContextCacheUpdate, cm as ContextConfigApiInsert, cl as ContextConfigApiSelect, cn as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, l as ContextFetchDefinition, cf as ConversationApiInsert, ce as ConversationApiSelect, cg as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, o as ConversationMetadata, dw as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cU as CredentialReferenceApiSelect, cV as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Y as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cv as DataComponentApiInsert, cu as DataComponentApiSelect, cw as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aF as DataPart, ay as ExecutionContext, cN as ExternalAgentApiInsert, cM as ExternalAgentApiSelect, cO as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bT as ExternalSubAgentRelationApiInsert, bS as ExternalSubAgentRelationInsert, cp as FetchConfig, co as FetchDefinition, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cb as FunctionApiSelect, cc as FunctionApiUpdate, c9 as FunctionInsert, c8 as FunctionSelect, a7 as FunctionToolApiInsert, cd as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, ca 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, 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, dc as LedgerArtifactApiInsert, db as LedgerArtifactApiSelect, dd as LedgerArtifactApiUpdate, d9 as LedgerArtifactInsert, aa as LedgerArtifactSelect, da as LedgerArtifactUpdate, dG as MCPServerType, t as MCPToolConfig, i as MCPTransportType, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, av as McpTool, dD as McpToolDefinition, dB as McpTransportConfig, aW as Message, cj as MessageApiInsert, ci as MessageApiSelect, ck as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, dr as MessageMode, bI as MessagePart, dq as MessageRole, ch as MessageSelect, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ad as MessageUpdate, ab as MessageVisibility, b1 as MethodNotFoundError, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, dj as ProjectApiSelect, dl as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, dt as ProjectModels, ai as ProjectResourceCounts, u as ProjectScopeConfig, ag as ProjectSelect, ak 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, dv as StatusComponent, du as StatusUpdateSettings, bL as SubAgentApiInsert, bK as SubAgentApiSelect, bM as SubAgentApiUpdate, cK as SubAgentArtifactComponentApiInsert, cJ as SubAgentArtifactComponentApiSelect, cL as SubAgentArtifactComponentApiUpdate, cH as SubAgentArtifactComponentInsert, cG as SubAgentArtifactComponentSelect, cI as SubAgentArtifactComponentUpdate, cB as SubAgentDataComponentApiInsert, cA as SubAgentDataComponentApiSelect, cC as SubAgentDataComponentApiUpdate, cy as SubAgentDataComponentInsert, cx as SubAgentDataComponentSelect, cz as SubAgentDataComponentUpdate, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, d1 as SubAgentExternalAgentRelationApiSelect, d3 as SubAgentExternalAgentRelationApiUpdate, al as SubAgentExternalAgentRelationInsert, c$ as SubAgentExternalAgentRelationSelect, d0 as SubAgentExternalAgentRelationUpdate, ap as SubAgentInsert, bP as SubAgentRelationApiInsert, bO as SubAgentRelationApiSelect, bQ as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bR as SubAgentRelationQuery, bN as SubAgentRelationSelect, an as SubAgentRelationUpdate, N as SubAgentScopeConfig, ar as SubAgentSelect, d7 as SubAgentTeamAgentRelationApiInsert, d6 as SubAgentTeamAgentRelationApiSelect, d8 as SubAgentTeamAgentRelationApiUpdate, as as SubAgentTeamAgentRelationInsert, d4 as SubAgentTeamAgentRelationSelect, d5 as SubAgentTeamAgentRelationUpdate, cZ as SubAgentToolRelationApiInsert, cY as SubAgentToolRelationApiSelect, c_ as SubAgentToolRelationApiUpdate, cX as SubAgentToolRelationInsert, cW as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, bY as TaskApiSelect, b_ 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, c3 as TaskRelationApiInsert, c2 as TaskRelationApiSelect, c4 as TaskRelationApiUpdate, c0 as TaskRelationInsert, b$ as TaskRelationSelect, c1 as TaskRelationUpdate, bt as TaskResubscriptionRequest, au as TaskSelect, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, aA as TextPart, c6 as ToolApiInsert, c5 as ToolApiSelect, c7 as ToolApiUpdate, di as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES } from '../utility-Ct1UMzr_.js';
1
+ import { h as CredentialStoreType } from '../utility-DbltUp2Q.js';
2
+ export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, bU as AgentApiSelect, bW as AgentApiUpdate, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, y as AgentInsert, aI as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aJ as AgentSkill, z as AgentUpdate, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, cR as ApiKeyApiInsert, cQ as ApiKeyApiSelect, cS as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cE as ArtifactComponentApiInsert, cD as ArtifactComponentApiSelect, cF as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, cr as ContextCacheApiSelect, ct as ContextCacheApiUpdate, dy as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cq as ContextCacheUpdate, cm as ContextConfigApiInsert, cl as ContextConfigApiSelect, cn as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, l as ContextFetchDefinition, cf as ConversationApiInsert, ce as ConversationApiSelect, cg as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, o as ConversationMetadata, dw as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cU as CredentialReferenceApiSelect, cV as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Y as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cv as DataComponentApiInsert, cu as DataComponentApiSelect, cw as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aF as DataPart, ay as ExecutionContext, cN as ExternalAgentApiInsert, cM as ExternalAgentApiSelect, cO as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bT as ExternalSubAgentRelationApiInsert, bS as ExternalSubAgentRelationInsert, cp as FetchConfig, co as FetchDefinition, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cb as FunctionApiSelect, cc as FunctionApiUpdate, c9 as FunctionInsert, c8 as FunctionSelect, a7 as FunctionToolApiInsert, cd as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, ca 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, 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, dc as LedgerArtifactApiInsert, db as LedgerArtifactApiSelect, dd as LedgerArtifactApiUpdate, d9 as LedgerArtifactInsert, aa as LedgerArtifactSelect, da as LedgerArtifactUpdate, dG as MCPServerType, t as MCPToolConfig, i as MCPTransportType, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, av as McpTool, dD as McpToolDefinition, dB as McpTransportConfig, aW as Message, cj as MessageApiInsert, ci as MessageApiSelect, ck as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, dr as MessageMode, bI as MessagePart, dq as MessageRole, ch as MessageSelect, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ad as MessageUpdate, ab as MessageVisibility, b1 as MethodNotFoundError, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, dj as ProjectApiSelect, dl as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, dt as ProjectModels, ai as ProjectResourceCounts, u as ProjectScopeConfig, ag as ProjectSelect, ak 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, dv as StatusComponent, du as StatusUpdateSettings, bL as SubAgentApiInsert, bK as SubAgentApiSelect, bM as SubAgentApiUpdate, cK as SubAgentArtifactComponentApiInsert, cJ as SubAgentArtifactComponentApiSelect, cL as SubAgentArtifactComponentApiUpdate, cH as SubAgentArtifactComponentInsert, cG as SubAgentArtifactComponentSelect, cI as SubAgentArtifactComponentUpdate, cB as SubAgentDataComponentApiInsert, cA as SubAgentDataComponentApiSelect, cC as SubAgentDataComponentApiUpdate, cy as SubAgentDataComponentInsert, cx as SubAgentDataComponentSelect, cz as SubAgentDataComponentUpdate, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, d1 as SubAgentExternalAgentRelationApiSelect, d3 as SubAgentExternalAgentRelationApiUpdate, al as SubAgentExternalAgentRelationInsert, c$ as SubAgentExternalAgentRelationSelect, d0 as SubAgentExternalAgentRelationUpdate, ap as SubAgentInsert, bP as SubAgentRelationApiInsert, bO as SubAgentRelationApiSelect, bQ as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bR as SubAgentRelationQuery, bN as SubAgentRelationSelect, an as SubAgentRelationUpdate, N as SubAgentScopeConfig, ar as SubAgentSelect, d7 as SubAgentTeamAgentRelationApiInsert, d6 as SubAgentTeamAgentRelationApiSelect, d8 as SubAgentTeamAgentRelationApiUpdate, as as SubAgentTeamAgentRelationInsert, d4 as SubAgentTeamAgentRelationSelect, d5 as SubAgentTeamAgentRelationUpdate, cZ as SubAgentToolRelationApiInsert, cY as SubAgentToolRelationApiSelect, c_ as SubAgentToolRelationApiUpdate, cX as SubAgentToolRelationInsert, cW as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, bY as TaskApiSelect, b_ 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, c3 as TaskRelationApiInsert, c2 as TaskRelationApiSelect, c4 as TaskRelationApiUpdate, c0 as TaskRelationInsert, b$ as TaskRelationSelect, c1 as TaskRelationUpdate, bt as TaskResubscriptionRequest, au as TaskSelect, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, aA as TextPart, c6 as ToolApiInsert, c5 as ToolApiSelect, c7 as ToolApiUpdate, di as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES } from '../utility-DbltUp2Q.js';
3
3
  import { Context } from 'hono';
4
4
  import 'zod';
5
5
  import 'drizzle-zod';