@inkeep/agents-core 0.0.0-dev-20250910233133 → 0.0.0-dev-20250910233151

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 (279) hide show
  1. package/dist/chunk-BIIFENNH.js +11 -0
  2. package/dist/chunk-H2F72PDA.js +15 -0
  3. package/dist/chunk-MKBO26DX.js +9 -0
  4. package/dist/chunk-ODONDMHT.js +665 -0
  5. package/dist/chunk-TSPWAF64.js +821 -0
  6. package/dist/client-exports.cjs +232 -0
  7. package/dist/client-exports.d.cts +302 -0
  8. package/dist/client-exports.d.ts +46 -43
  9. package/dist/client-exports.js +200 -247
  10. package/dist/db/schema.cjs +818 -0
  11. package/dist/db/schema.d.cts +7 -0
  12. package/dist/db/schema.d.ts +7 -4335
  13. package/dist/db/schema.js +1 -696
  14. package/dist/index.cjs +9809 -0
  15. package/dist/index.d.cts +3992 -0
  16. package/dist/index.d.ts +3992 -12
  17. package/dist/index.js +7807 -13
  18. package/dist/schema-B5YbTpz8.d.ts +4382 -0
  19. package/dist/schema-E0ulMd3k.d.cts +4382 -0
  20. package/dist/types/index.cjs +29 -0
  21. package/dist/types/index.d.cts +123 -0
  22. package/dist/types/index.d.ts +123 -5
  23. package/dist/types/index.js +2 -6
  24. package/dist/{validation/schemas.d.ts → utility-D2Lb-YAS.d.cts} +1350 -617
  25. package/dist/utility-D2Lb-YAS.d.ts +7946 -0
  26. package/dist/validation/index.cjs +1617 -0
  27. package/dist/validation/index.d.cts +63 -0
  28. package/dist/validation/index.d.ts +63 -4
  29. package/dist/validation/index.js +1 -5
  30. package/package.json +2 -2
  31. package/dist/__tests__/integration/helpers.d.ts +0 -5
  32. package/dist/__tests__/integration/helpers.d.ts.map +0 -1
  33. package/dist/__tests__/integration/helpers.js +0 -37
  34. package/dist/__tests__/integration/helpers.js.map +0 -1
  35. package/dist/__tests__/setup.d.ts +0 -3
  36. package/dist/__tests__/setup.d.ts.map +0 -1
  37. package/dist/__tests__/setup.js +0 -29
  38. package/dist/__tests__/setup.js.map +0 -1
  39. package/dist/client-exports.d.ts.map +0 -1
  40. package/dist/client-exports.js.map +0 -1
  41. package/dist/context/ContextConfig.d.ts +0 -54
  42. package/dist/context/ContextConfig.d.ts.map +0 -1
  43. package/dist/context/ContextConfig.js +0 -302
  44. package/dist/context/ContextConfig.js.map +0 -1
  45. package/dist/context/ContextFetcher.d.ts +0 -64
  46. package/dist/context/ContextFetcher.d.ts.map +0 -1
  47. package/dist/context/ContextFetcher.js +0 -325
  48. package/dist/context/ContextFetcher.js.map +0 -1
  49. package/dist/context/ContextResolver.d.ts +0 -52
  50. package/dist/context/ContextResolver.d.ts.map +0 -1
  51. package/dist/context/ContextResolver.js +0 -298
  52. package/dist/context/ContextResolver.js.map +0 -1
  53. package/dist/context/TemplateEngine.d.ts +0 -46
  54. package/dist/context/TemplateEngine.d.ts.map +0 -1
  55. package/dist/context/TemplateEngine.js +0 -175
  56. package/dist/context/TemplateEngine.js.map +0 -1
  57. package/dist/context/context.d.ts +0 -8
  58. package/dist/context/context.d.ts.map +0 -1
  59. package/dist/context/context.js +0 -157
  60. package/dist/context/context.js.map +0 -1
  61. package/dist/context/contextCache.d.ts +0 -50
  62. package/dist/context/contextCache.d.ts.map +0 -1
  63. package/dist/context/contextCache.js +0 -175
  64. package/dist/context/contextCache.js.map +0 -1
  65. package/dist/context/index.d.ts +0 -11
  66. package/dist/context/index.d.ts.map +0 -1
  67. package/dist/context/index.js +0 -8
  68. package/dist/context/index.js.map +0 -1
  69. package/dist/credential-stores/CredentialStoreRegistry.d.ts +0 -39
  70. package/dist/credential-stores/CredentialStoreRegistry.d.ts.map +0 -1
  71. package/dist/credential-stores/CredentialStoreRegistry.js +0 -65
  72. package/dist/credential-stores/CredentialStoreRegistry.js.map +0 -1
  73. package/dist/credential-stores/defaults.d.ts +0 -6
  74. package/dist/credential-stores/defaults.d.ts.map +0 -1
  75. package/dist/credential-stores/defaults.js +0 -22
  76. package/dist/credential-stores/defaults.js.map +0 -1
  77. package/dist/credential-stores/index.d.ts +0 -6
  78. package/dist/credential-stores/index.d.ts.map +0 -1
  79. package/dist/credential-stores/index.js +0 -6
  80. package/dist/credential-stores/index.js.map +0 -1
  81. package/dist/credential-stores/keychain-store.d.ts +0 -100
  82. package/dist/credential-stores/keychain-store.d.ts.map +0 -1
  83. package/dist/credential-stores/keychain-store.js +0 -225
  84. package/dist/credential-stores/keychain-store.js.map +0 -1
  85. package/dist/credential-stores/memory-store.d.ts +0 -39
  86. package/dist/credential-stores/memory-store.d.ts.map +0 -1
  87. package/dist/credential-stores/memory-store.js +0 -58
  88. package/dist/credential-stores/memory-store.js.map +0 -1
  89. package/dist/credential-stores/nango-store.d.ts +0 -59
  90. package/dist/credential-stores/nango-store.d.ts.map +0 -1
  91. package/dist/credential-stores/nango-store.js +0 -264
  92. package/dist/credential-stores/nango-store.js.map +0 -1
  93. package/dist/credential-stuffer/CredentialStuffer.d.ts +0 -80
  94. package/dist/credential-stuffer/CredentialStuffer.d.ts.map +0 -1
  95. package/dist/credential-stuffer/CredentialStuffer.js +0 -186
  96. package/dist/credential-stuffer/CredentialStuffer.js.map +0 -1
  97. package/dist/credential-stuffer/index.d.ts +0 -2
  98. package/dist/credential-stuffer/index.d.ts.map +0 -1
  99. package/dist/credential-stuffer/index.js +0 -2
  100. package/dist/credential-stuffer/index.js.map +0 -1
  101. package/dist/data-access/agentDataComponents.d.ts +0 -1
  102. package/dist/data-access/agentDataComponents.d.ts.map +0 -1
  103. package/dist/data-access/agentDataComponents.js +0 -2
  104. package/dist/data-access/agentDataComponents.js.map +0 -1
  105. package/dist/data-access/agentGraphs.d.ts +0 -399
  106. package/dist/data-access/agentGraphs.d.ts.map +0 -1
  107. package/dist/data-access/agentGraphs.js +0 -551
  108. package/dist/data-access/agentGraphs.js.map +0 -1
  109. package/dist/data-access/agentRelations.d.ts +0 -456
  110. package/dist/data-access/agentRelations.d.ts.map +0 -1
  111. package/dist/data-access/agentRelations.js +0 -471
  112. package/dist/data-access/agentRelations.js.map +0 -1
  113. package/dist/data-access/agents.d.ts +0 -218
  114. package/dist/data-access/agents.d.ts.map +0 -1
  115. package/dist/data-access/agents.js +0 -130
  116. package/dist/data-access/agents.js.map +0 -1
  117. package/dist/data-access/apiKeys.d.ts +0 -114
  118. package/dist/data-access/apiKeys.d.ts.map +0 -1
  119. package/dist/data-access/apiKeys.js +0 -185
  120. package/dist/data-access/apiKeys.js.map +0 -1
  121. package/dist/data-access/artifactComponents.d.ts +0 -152
  122. package/dist/data-access/artifactComponents.d.ts.map +0 -1
  123. package/dist/data-access/artifactComponents.js +0 -214
  124. package/dist/data-access/artifactComponents.js.map +0 -1
  125. package/dist/data-access/contextCache.d.ts +0 -68
  126. package/dist/data-access/contextCache.d.ts.map +0 -1
  127. package/dist/data-access/contextCache.js +0 -135
  128. package/dist/data-access/contextCache.js.map +0 -1
  129. package/dist/data-access/contextConfigs.d.ts +0 -110
  130. package/dist/data-access/contextConfigs.d.ts.map +0 -1
  131. package/dist/data-access/contextConfigs.js +0 -156
  132. package/dist/data-access/contextConfigs.js.map +0 -1
  133. package/dist/data-access/conversations.d.ts +0 -125
  134. package/dist/data-access/conversations.d.ts.map +0 -1
  135. package/dist/data-access/conversations.js +0 -244
  136. package/dist/data-access/conversations.js.map +0 -1
  137. package/dist/data-access/credentialReferences.d.ts +0 -86
  138. package/dist/data-access/credentialReferences.d.ts.map +0 -1
  139. package/dist/data-access/credentialReferences.js +0 -175
  140. package/dist/data-access/credentialReferences.js.map +0 -1
  141. package/dist/data-access/dataComponents.d.ts +0 -129
  142. package/dist/data-access/dataComponents.d.ts.map +0 -1
  143. package/dist/data-access/dataComponents.js +0 -213
  144. package/dist/data-access/dataComponents.js.map +0 -1
  145. package/dist/data-access/externalAgents.d.ts +0 -83
  146. package/dist/data-access/externalAgents.d.ts.map +0 -1
  147. package/dist/data-access/externalAgents.js +0 -163
  148. package/dist/data-access/externalAgents.js.map +0 -1
  149. package/dist/data-access/graphFull.d.ts +0 -32
  150. package/dist/data-access/graphFull.d.ts.map +0 -1
  151. package/dist/data-access/graphFull.js +0 -996
  152. package/dist/data-access/graphFull.js.map +0 -1
  153. package/dist/data-access/index.d.ts +0 -21
  154. package/dist/data-access/index.d.ts.map +0 -1
  155. package/dist/data-access/index.js +0 -22
  156. package/dist/data-access/index.js.map +0 -1
  157. package/dist/data-access/ledgerArtifacts.d.ts +0 -49
  158. package/dist/data-access/ledgerArtifacts.d.ts.map +0 -1
  159. package/dist/data-access/ledgerArtifacts.js +0 -112
  160. package/dist/data-access/ledgerArtifacts.js.map +0 -1
  161. package/dist/data-access/messages.d.ts +0 -209
  162. package/dist/data-access/messages.d.ts.map +0 -1
  163. package/dist/data-access/messages.js +0 -100
  164. package/dist/data-access/messages.js.map +0 -1
  165. package/dist/data-access/projects.d.ts +0 -67
  166. package/dist/data-access/projects.d.ts.map +0 -1
  167. package/dist/data-access/projects.js +0 -337
  168. package/dist/data-access/projects.js.map +0 -1
  169. package/dist/data-access/tasks.d.ts +0 -37
  170. package/dist/data-access/tasks.d.ts.map +0 -1
  171. package/dist/data-access/tasks.js +0 -40
  172. package/dist/data-access/tasks.js.map +0 -1
  173. package/dist/data-access/tools.d.ts +0 -277
  174. package/dist/data-access/tools.d.ts.map +0 -1
  175. package/dist/data-access/tools.js +0 -183
  176. package/dist/data-access/tools.js.map +0 -1
  177. package/dist/data-access/validation.d.ts +0 -17
  178. package/dist/data-access/validation.d.ts.map +0 -1
  179. package/dist/data-access/validation.js +0 -52
  180. package/dist/data-access/validation.js.map +0 -1
  181. package/dist/db/clean.d.ts +0 -6
  182. package/dist/db/clean.d.ts.map +0 -1
  183. package/dist/db/clean.js +0 -81
  184. package/dist/db/clean.js.map +0 -1
  185. package/dist/db/client.d.ts +0 -19
  186. package/dist/db/client.d.ts.map +0 -1
  187. package/dist/db/client.js +0 -24
  188. package/dist/db/client.js.map +0 -1
  189. package/dist/db/schema.d.ts.map +0 -1
  190. package/dist/db/schema.js.map +0 -1
  191. package/dist/db/test-client.d.ts +0 -25
  192. package/dist/db/test-client.d.ts.map +0 -1
  193. package/dist/db/test-client.js +0 -136
  194. package/dist/db/test-client.js.map +0 -1
  195. package/dist/env.d.ts +0 -19
  196. package/dist/env.d.ts.map +0 -1
  197. package/dist/env.js +0 -49
  198. package/dist/env.js.map +0 -1
  199. package/dist/index.d.ts.map +0 -1
  200. package/dist/index.js.map +0 -1
  201. package/dist/middleware/contextValidation.d.ts +0 -49
  202. package/dist/middleware/contextValidation.d.ts.map +0 -1
  203. package/dist/middleware/contextValidation.js +0 -473
  204. package/dist/middleware/contextValidation.js.map +0 -1
  205. package/dist/middleware/index.d.ts +0 -2
  206. package/dist/middleware/index.d.ts.map +0 -1
  207. package/dist/middleware/index.js +0 -2
  208. package/dist/middleware/index.js.map +0 -1
  209. package/dist/types/a2a.d.ts +0 -373
  210. package/dist/types/a2a.d.ts.map +0 -1
  211. package/dist/types/a2a.js +0 -14
  212. package/dist/types/a2a.js.map +0 -1
  213. package/dist/types/entities.d.ts +0 -147
  214. package/dist/types/entities.d.ts.map +0 -1
  215. package/dist/types/entities.js +0 -2
  216. package/dist/types/entities.js.map +0 -1
  217. package/dist/types/index.d.ts.map +0 -1
  218. package/dist/types/index.js.map +0 -1
  219. package/dist/types/server.d.ts +0 -116
  220. package/dist/types/server.d.ts.map +0 -1
  221. package/dist/types/server.js +0 -2
  222. package/dist/types/server.js.map +0 -1
  223. package/dist/types/utility.d.ts +0 -213
  224. package/dist/types/utility.d.ts.map +0 -1
  225. package/dist/types/utility.js +0 -9
  226. package/dist/types/utility.js.map +0 -1
  227. package/dist/utils/apiKeys.d.ts +0 -32
  228. package/dist/utils/apiKeys.d.ts.map +0 -1
  229. package/dist/utils/apiKeys.js +0 -117
  230. package/dist/utils/apiKeys.js.map +0 -1
  231. package/dist/utils/auth-detection.d.ts +0 -23
  232. package/dist/utils/auth-detection.d.ts.map +0 -1
  233. package/dist/utils/auth-detection.js +0 -148
  234. package/dist/utils/auth-detection.js.map +0 -1
  235. package/dist/utils/credential-store-utils.d.ts +0 -11
  236. package/dist/utils/credential-store-utils.d.ts.map +0 -1
  237. package/dist/utils/credential-store-utils.js +0 -19
  238. package/dist/utils/credential-store-utils.js.map +0 -1
  239. package/dist/utils/error.d.ts +0 -526
  240. package/dist/utils/error.d.ts.map +0 -1
  241. package/dist/utils/error.js +0 -282
  242. package/dist/utils/error.js.map +0 -1
  243. package/dist/utils/execution.d.ts +0 -18
  244. package/dist/utils/execution.d.ts.map +0 -1
  245. package/dist/utils/execution.js +0 -25
  246. package/dist/utils/execution.js.map +0 -1
  247. package/dist/utils/index.d.ts +0 -9
  248. package/dist/utils/index.d.ts.map +0 -1
  249. package/dist/utils/index.js +0 -9
  250. package/dist/utils/index.js.map +0 -1
  251. package/dist/utils/logger.d.ts +0 -79
  252. package/dist/utils/logger.d.ts.map +0 -1
  253. package/dist/utils/logger.js +0 -102
  254. package/dist/utils/logger.js.map +0 -1
  255. package/dist/utils/logging.d.ts +0 -11
  256. package/dist/utils/logging.d.ts.map +0 -1
  257. package/dist/utils/logging.js +0 -6
  258. package/dist/utils/logging.js.map +0 -1
  259. package/dist/utils/mcp-client.d.ts +0 -48
  260. package/dist/utils/mcp-client.d.ts.map +0 -1
  261. package/dist/utils/mcp-client.js +0 -174
  262. package/dist/utils/mcp-client.js.map +0 -1
  263. package/dist/utils/tracer.d.ts +0 -24
  264. package/dist/utils/tracer.d.ts.map +0 -1
  265. package/dist/utils/tracer.js +0 -110
  266. package/dist/utils/tracer.js.map +0 -1
  267. package/dist/validation/graphFull.d.ts +0 -36
  268. package/dist/validation/graphFull.d.ts.map +0 -1
  269. package/dist/validation/graphFull.js +0 -128
  270. package/dist/validation/graphFull.js.map +0 -1
  271. package/dist/validation/id-validation.d.ts +0 -38
  272. package/dist/validation/id-validation.d.ts.map +0 -1
  273. package/dist/validation/id-validation.js +0 -60
  274. package/dist/validation/id-validation.js.map +0 -1
  275. package/dist/validation/index.d.ts.map +0 -1
  276. package/dist/validation/index.js.map +0 -1
  277. package/dist/validation/schemas.d.ts.map +0 -1
  278. package/dist/validation/schemas.js +0 -576
  279. package/dist/validation/schemas.js.map +0 -1
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ // src/types/a2a.ts
4
+ var TaskState = /* @__PURE__ */ ((TaskState2) => {
5
+ TaskState2["Submitted"] = "submitted";
6
+ TaskState2["Working"] = "working";
7
+ TaskState2["InputRequired"] = "input-required";
8
+ TaskState2["Completed"] = "completed";
9
+ TaskState2["Canceled"] = "canceled";
10
+ TaskState2["Failed"] = "failed";
11
+ TaskState2["Rejected"] = "rejected";
12
+ TaskState2["AuthRequired"] = "auth-required";
13
+ TaskState2["Unknown"] = "unknown";
14
+ return TaskState2;
15
+ })(TaskState || {});
16
+
17
+ // src/types/utility.ts
18
+ var TOOL_STATUS_VALUES = [
19
+ "healthy",
20
+ "unhealthy",
21
+ "unknown",
22
+ "disabled",
23
+ "needs_auth"
24
+ ];
25
+ var VALID_RELATION_TYPES = ["transfer", "delegate"];
26
+
27
+ exports.TOOL_STATUS_VALUES = TOOL_STATUS_VALUES;
28
+ exports.TaskState = TaskState;
29
+ exports.VALID_RELATION_TYPES = VALID_RELATION_TYPES;
@@ -0,0 +1,123 @@
1
+ export { aT as A2AError, bn as A2ARequest, bo as A2AResponse, as as APIKeySecurityScheme, bs as AgentApiInsert, br as AgentApiSelect, bt as AgentApiUpdate, cl as AgentArtifactComponentApiInsert, ck as AgentArtifactComponentApiSelect, cm as AgentArtifactComponentApiUpdate, ci as AgentArtifactComponentInsert, ch as AgentArtifactComponentSelect, cj as AgentArtifactComponentUpdate, ao as AgentCapabilities, aC as AgentCard, cY as AgentConversationHistoryConfig, cc as AgentDataComponentApiInsert, cb as AgentDataComponentApiSelect, cd as AgentDataComponentApiUpdate, c9 as AgentDataComponentInsert, c8 as AgentDataComponentSelect, ca as AgentDataComponentUpdate, cK as AgentDefinition, bC as AgentGraphApiInsert, bB as AgentGraphApiSelect, bD as AgentGraphApiUpdate, A as AgentGraphInsert, bA as AgentGraphSelect, k as AgentGraphUpdate, p as AgentInsert, ap as AgentProvider, bw as AgentRelationApiInsert, bv as AgentRelationApiSelect, bx as AgentRelationApiUpdate, m as AgentRelationInsert, by as AgentRelationQuery, bu as AgentRelationSelect, n as AgentRelationUpdate, r as AgentSelect, aq as AgentSkill, cB as AgentToolRelationApiInsert, cA as AgentToolRelationApiSelect, cC as AgentToolRelationApiUpdate, cz as AgentToolRelationInsert, cy as AgentToolRelationSelect, o as AgentToolRelationUpdate, q as AgentUpdate, cq as AllAgentSelect, cu as ApiKeyApiCreationResponse, cs as ApiKeyApiInsert, cr as ApiKeyApiSelect, ct as ApiKeyApiUpdate, w as ApiKeyCreateResult, t as ApiKeyInsert, s as ApiKeySelect, u as ApiKeyUpdate, _ as Artifact, cf as ArtifactComponentApiInsert, ce as ArtifactComponentApiSelect, cg as ArtifactComponentApiUpdate, y as ArtifactComponentInsert, x as ArtifactComponentSelect, z as ArtifactComponentUpdate, av as AuthorizationCodeOAuthFlow, b7 as CancelTaskRequest, bi as CancelTaskResponse, bh as CancelTaskSuccessResponse, aw as ClientCredentialsOAuthFlow, aR as ContentTypeNotSupportedError, c3 as ContextCacheApiInsert, c2 as ContextCacheApiSelect, c4 as ContextCacheApiUpdate, cZ as ContextCacheEntry, D as ContextCacheInsert, B as ContextCacheSelect, c1 as ContextCacheUpdate, b_ as ContextConfigApiInsert, bZ as ContextConfigApiSelect, b$ as ContextConfigApiUpdate, G as ContextConfigInsert, h as ContextConfigSelect, H as ContextConfigUpdate, C as ContextFetchDefinition, bT as ConversationApiInsert, bS as ConversationApiSelect, bU as ConversationApiUpdate, a as ConversationHistoryConfig, J as ConversationInsert, d as ConversationMetadata, cX as ConversationScopeOptions, I as ConversationSelect, K as ConversationUpdate, v as CreateApiKeyParams, cw as CredentialReferenceApiInsert, cv as CredentialReferenceApiSelect, cx as CredentialReferenceApiUpdate, O as CredentialReferenceInsert, L as CredentialReferenceSelect, Q as CredentialReferenceUpdate, c6 as DataComponentApiInsert, c5 as DataComponentApiSelect, c7 as DataComponentApiUpdate, V as DataComponentInsert, U as DataComponentSelect, W as DataComponentUpdate, am as DataPart, af as ExecutionContext, co as ExternalAgentApiInsert, cn as ExternalAgentApiSelect, cp as ExternalAgentApiUpdate, X as ExternalAgentInsert, bz as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, Y as ExternalAgentSelect, Z as ExternalAgentUpdate, c0 as FetchConfig, F as FetchDefinition, ai as FileBase, al as FilePart, aj as FileWithBytes, ak as FileWithUri, cI as FullGraphAgentInsert, l as FullGraphDefinition, b9 as GetTaskPushNotificationConfigRequest, bm as GetTaskPushNotificationConfigResponse, bl as GetTaskPushNotificationConfigSuccessResponse, b6 as GetTaskRequest, bg as GetTaskResponse, bf as GetTaskSuccessResponse, at as HTTPAuthSecurityScheme, 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, cF as LedgerArtifactApiSelect, cH as LedgerArtifactApiUpdate, cD as LedgerArtifactInsert, $ as LedgerArtifactSelect, cE as LedgerArtifactUpdate, i as MCPToolConfig, c$ as McpAuthType, d0 as McpServerAuth, d2 as McpServerCapabilities, ab as McpTool, M as McpToolDefinition, bR as McpToolServerConfig, ac as McpToolStatus, c_ as McpTranportType, d1 as McpTransportConfig, aD as Message, bX as MessageApiInsert, bW as MessageApiSelect, bY as MessageApiUpdate, e as MessageContent, a1 as MessageInsert, f as MessageMetadata, cS as MessageMode, bp as MessagePart, cR as MessageRole, bV as MessageSelect, aZ as MessageSendConfiguration, a_ as MessageSendParams, cQ as MessageType, a2 as MessageUpdate, a0 as MessageVisibility, aK as MethodNotFoundError, cU as ModelSettings, cT as Models, az as OAuth2SecurityScheme, au as OAuthFlows, aA as OpenIdConnectSecurityScheme, cP as Pagination, j as PaginationConfig, a5 as PaginationResult, P as Part, ag as PartBase, ay as PasswordOAuthFlow, cN as ProjectApiInsert, cM as ProjectApiSelect, cO as ProjectApiUpdate, a3 as ProjectInfo, a7 as ProjectInsert, a6 as ProjectResourceCounts, a4 as ProjectSelect, a8 as ProjectUpdate, aU as PushNotificationAuthenticationInfo, aV as PushNotificationConfig, aP as PushNotificationNotSupportedError, g as RequestSchemaConfig, R as RequestSchemaDefinition, S as ScopeConfig, 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, cW as StatusComponent, cV as StatusUpdateSettings, d4 as TOOL_STATUS_VALUES, aF as Task, bG as TaskApiInsert, bF as TaskApiSelect, bH as TaskApiUpdate, bq as TaskArtifact, aH as TaskArtifactUpdateEvent, aX as TaskIdParams, a9 as TaskInsert, T as TaskMetadataConfig, aO as TaskNotCancelableError, aN as TaskNotFoundError, aW as TaskPushNotificationConfig, aY as TaskQueryParams, bM as TaskRelationApiInsert, bL as TaskRelationApiSelect, bN as TaskRelationApiUpdate, bJ as TaskRelationInsert, bI as TaskRelationSelect, bK as TaskRelationUpdate, ba as TaskResubscriptionRequest, aa as TaskSelect, an as TaskState, aE as TaskStatus, aG as TaskStatusUpdateEvent, bE as TaskUpdate, ah as TextPart, bP as ToolApiInsert, bO as ToolApiSelect, bQ as ToolApiUpdate, cL as ToolDefinition, ad as ToolInsert, b as ToolMcpConfig, N as ToolSelect, c as ToolServerCapabilities, ae as ToolUpdate, aQ as UnsupportedOperationError, d5 as VALID_RELATION_TYPES, d3 as toolStatus } from '../utility-D2Lb-YAS.cjs';
2
+ import { Context } from 'hono';
3
+ import 'zod';
4
+ import 'drizzle-zod';
5
+ import 'drizzle-orm/sqlite-core';
6
+ import '@hono/zod-openapi';
7
+
8
+ /**
9
+ * Credential store interface for managing different types of credentials
10
+ */
11
+ interface CredentialStore {
12
+ /**
13
+ * Unique identifier for this credential store
14
+ */
15
+ id: string;
16
+ /**
17
+ * Type of credential store
18
+ */
19
+ type: string;
20
+ /**
21
+ * Get a credential by key
22
+ */
23
+ get(key: string): Promise<string | null>;
24
+ /**
25
+ * Set a credential
26
+ */
27
+ set(key: string, value: string): Promise<void>;
28
+ /**
29
+ * Check if a credential exists
30
+ */
31
+ has(key: string): Promise<boolean>;
32
+ /**
33
+ * Delete a credential
34
+ */
35
+ delete(key: string): Promise<boolean>;
36
+ }
37
+ /**
38
+ * Server configuration options for HTTP server behavior
39
+ * These settings control connection management, timeouts, and server behavior
40
+ */
41
+ interface ServerOptions {
42
+ /**
43
+ * Server port to listen on
44
+ * Default: 3000
45
+ */
46
+ port?: number;
47
+ /**
48
+ * Keep alive timeout in milliseconds
49
+ * Time to wait for additional data after the last response before closing the connection.
50
+ * Used for persistent connections to improve performance by reusing connections.
51
+ * Scenario: Set higher (10-30s) for high-traffic APIs, lower (1-5s) for low-traffic services.
52
+ * Default: 60000ms (60 seconds)
53
+ */
54
+ keepAliveTimeout?: number;
55
+ /**
56
+ * Enable keep alive connections
57
+ * When true, allows connection reuse for multiple requests.
58
+ * Improves performance but uses more server resources.
59
+ * Scenario: Enable for APIs with frequent requests, disable for one-off services.
60
+ * Default: true
61
+ */
62
+ keepAlive?: boolean;
63
+ /**
64
+ * Request timeout in milliseconds
65
+ * Maximum time to wait for a complete request from the client.
66
+ * Helps prevent DoS attacks by limiting resource consumption from slow clients.
67
+ * Scenario: Set lower (30s) for simple APIs, higher (5-10min) for file upload services.
68
+ * Default: 60000ms (60 seconds)
69
+ */
70
+ requestTimeout?: number;
71
+ }
72
+ /**
73
+ * CORS configuration compatible with Hono's CORSOptions
74
+ */
75
+ interface CorsConfig {
76
+ /**
77
+ * Allowed origins - string, array of strings, or function
78
+ */
79
+ origin?: string | string[] | ((origin: string, c?: Context) => string | null | undefined);
80
+ /**
81
+ * Allowed methods
82
+ */
83
+ allowMethods?: string[];
84
+ /**
85
+ * Allowed headers
86
+ */
87
+ allowHeaders?: string[];
88
+ /**
89
+ * Exposed headers
90
+ */
91
+ exposeHeaders?: string[];
92
+ /**
93
+ * Max age for preflight requests
94
+ */
95
+ maxAge?: number;
96
+ /**
97
+ * Whether to allow credentials
98
+ */
99
+ credentials?: boolean;
100
+ }
101
+ /**
102
+ * Base server configuration for all Inkeep services
103
+ */
104
+ interface ServerConfig {
105
+ /**
106
+ * Server port to listen on
107
+ */
108
+ port?: number;
109
+ /**
110
+ * Server options for HTTP behavior
111
+ */
112
+ serverOptions?: ServerOptions;
113
+ /**
114
+ * Array of credential stores for managing API keys, tokens, etc.
115
+ */
116
+ credentialStores?: CredentialStore[];
117
+ /**
118
+ * CORS configuration
119
+ */
120
+ cors?: CorsConfig;
121
+ }
122
+
123
+ export type { CorsConfig, CredentialStore, ServerConfig, ServerOptions };
@@ -1,5 +1,123 @@
1
- export * from './a2a';
2
- export * from './entities';
3
- export * from './server';
4
- export * from './utility';
5
- //# sourceMappingURL=index.d.ts.map
1
+ export { aT as A2AError, bn as A2ARequest, bo as A2AResponse, as as APIKeySecurityScheme, bs as AgentApiInsert, br as AgentApiSelect, bt as AgentApiUpdate, cl as AgentArtifactComponentApiInsert, ck as AgentArtifactComponentApiSelect, cm as AgentArtifactComponentApiUpdate, ci as AgentArtifactComponentInsert, ch as AgentArtifactComponentSelect, cj as AgentArtifactComponentUpdate, ao as AgentCapabilities, aC as AgentCard, cY as AgentConversationHistoryConfig, cc as AgentDataComponentApiInsert, cb as AgentDataComponentApiSelect, cd as AgentDataComponentApiUpdate, c9 as AgentDataComponentInsert, c8 as AgentDataComponentSelect, ca as AgentDataComponentUpdate, cK as AgentDefinition, bC as AgentGraphApiInsert, bB as AgentGraphApiSelect, bD as AgentGraphApiUpdate, A as AgentGraphInsert, bA as AgentGraphSelect, k as AgentGraphUpdate, p as AgentInsert, ap as AgentProvider, bw as AgentRelationApiInsert, bv as AgentRelationApiSelect, bx as AgentRelationApiUpdate, m as AgentRelationInsert, by as AgentRelationQuery, bu as AgentRelationSelect, n as AgentRelationUpdate, r as AgentSelect, aq as AgentSkill, cB as AgentToolRelationApiInsert, cA as AgentToolRelationApiSelect, cC as AgentToolRelationApiUpdate, cz as AgentToolRelationInsert, cy as AgentToolRelationSelect, o as AgentToolRelationUpdate, q as AgentUpdate, cq as AllAgentSelect, cu as ApiKeyApiCreationResponse, cs as ApiKeyApiInsert, cr as ApiKeyApiSelect, ct as ApiKeyApiUpdate, w as ApiKeyCreateResult, t as ApiKeyInsert, s as ApiKeySelect, u as ApiKeyUpdate, _ as Artifact, cf as ArtifactComponentApiInsert, ce as ArtifactComponentApiSelect, cg as ArtifactComponentApiUpdate, y as ArtifactComponentInsert, x as ArtifactComponentSelect, z as ArtifactComponentUpdate, av as AuthorizationCodeOAuthFlow, b7 as CancelTaskRequest, bi as CancelTaskResponse, bh as CancelTaskSuccessResponse, aw as ClientCredentialsOAuthFlow, aR as ContentTypeNotSupportedError, c3 as ContextCacheApiInsert, c2 as ContextCacheApiSelect, c4 as ContextCacheApiUpdate, cZ as ContextCacheEntry, D as ContextCacheInsert, B as ContextCacheSelect, c1 as ContextCacheUpdate, b_ as ContextConfigApiInsert, bZ as ContextConfigApiSelect, b$ as ContextConfigApiUpdate, G as ContextConfigInsert, h as ContextConfigSelect, H as ContextConfigUpdate, C as ContextFetchDefinition, bT as ConversationApiInsert, bS as ConversationApiSelect, bU as ConversationApiUpdate, a as ConversationHistoryConfig, J as ConversationInsert, d as ConversationMetadata, cX as ConversationScopeOptions, I as ConversationSelect, K as ConversationUpdate, v as CreateApiKeyParams, cw as CredentialReferenceApiInsert, cv as CredentialReferenceApiSelect, cx as CredentialReferenceApiUpdate, O as CredentialReferenceInsert, L as CredentialReferenceSelect, Q as CredentialReferenceUpdate, c6 as DataComponentApiInsert, c5 as DataComponentApiSelect, c7 as DataComponentApiUpdate, V as DataComponentInsert, U as DataComponentSelect, W as DataComponentUpdate, am as DataPart, af as ExecutionContext, co as ExternalAgentApiInsert, cn as ExternalAgentApiSelect, cp as ExternalAgentApiUpdate, X as ExternalAgentInsert, bz as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, Y as ExternalAgentSelect, Z as ExternalAgentUpdate, c0 as FetchConfig, F as FetchDefinition, ai as FileBase, al as FilePart, aj as FileWithBytes, ak as FileWithUri, cI as FullGraphAgentInsert, l as FullGraphDefinition, b9 as GetTaskPushNotificationConfigRequest, bm as GetTaskPushNotificationConfigResponse, bl as GetTaskPushNotificationConfigSuccessResponse, b6 as GetTaskRequest, bg as GetTaskResponse, bf as GetTaskSuccessResponse, at as HTTPAuthSecurityScheme, 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, cF as LedgerArtifactApiSelect, cH as LedgerArtifactApiUpdate, cD as LedgerArtifactInsert, $ as LedgerArtifactSelect, cE as LedgerArtifactUpdate, i as MCPToolConfig, c$ as McpAuthType, d0 as McpServerAuth, d2 as McpServerCapabilities, ab as McpTool, M as McpToolDefinition, bR as McpToolServerConfig, ac as McpToolStatus, c_ as McpTranportType, d1 as McpTransportConfig, aD as Message, bX as MessageApiInsert, bW as MessageApiSelect, bY as MessageApiUpdate, e as MessageContent, a1 as MessageInsert, f as MessageMetadata, cS as MessageMode, bp as MessagePart, cR as MessageRole, bV as MessageSelect, aZ as MessageSendConfiguration, a_ as MessageSendParams, cQ as MessageType, a2 as MessageUpdate, a0 as MessageVisibility, aK as MethodNotFoundError, cU as ModelSettings, cT as Models, az as OAuth2SecurityScheme, au as OAuthFlows, aA as OpenIdConnectSecurityScheme, cP as Pagination, j as PaginationConfig, a5 as PaginationResult, P as Part, ag as PartBase, ay as PasswordOAuthFlow, cN as ProjectApiInsert, cM as ProjectApiSelect, cO as ProjectApiUpdate, a3 as ProjectInfo, a7 as ProjectInsert, a6 as ProjectResourceCounts, a4 as ProjectSelect, a8 as ProjectUpdate, aU as PushNotificationAuthenticationInfo, aV as PushNotificationConfig, aP as PushNotificationNotSupportedError, g as RequestSchemaConfig, R as RequestSchemaDefinition, S as ScopeConfig, 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, cW as StatusComponent, cV as StatusUpdateSettings, d4 as TOOL_STATUS_VALUES, aF as Task, bG as TaskApiInsert, bF as TaskApiSelect, bH as TaskApiUpdate, bq as TaskArtifact, aH as TaskArtifactUpdateEvent, aX as TaskIdParams, a9 as TaskInsert, T as TaskMetadataConfig, aO as TaskNotCancelableError, aN as TaskNotFoundError, aW as TaskPushNotificationConfig, aY as TaskQueryParams, bM as TaskRelationApiInsert, bL as TaskRelationApiSelect, bN as TaskRelationApiUpdate, bJ as TaskRelationInsert, bI as TaskRelationSelect, bK as TaskRelationUpdate, ba as TaskResubscriptionRequest, aa as TaskSelect, an as TaskState, aE as TaskStatus, aG as TaskStatusUpdateEvent, bE as TaskUpdate, ah as TextPart, bP as ToolApiInsert, bO as ToolApiSelect, bQ as ToolApiUpdate, cL as ToolDefinition, ad as ToolInsert, b as ToolMcpConfig, N as ToolSelect, c as ToolServerCapabilities, ae as ToolUpdate, aQ as UnsupportedOperationError, d5 as VALID_RELATION_TYPES, d3 as toolStatus } from '../utility-D2Lb-YAS.js';
2
+ import { Context } from 'hono';
3
+ import 'zod';
4
+ import 'drizzle-zod';
5
+ import 'drizzle-orm/sqlite-core';
6
+ import '@hono/zod-openapi';
7
+
8
+ /**
9
+ * Credential store interface for managing different types of credentials
10
+ */
11
+ interface CredentialStore {
12
+ /**
13
+ * Unique identifier for this credential store
14
+ */
15
+ id: string;
16
+ /**
17
+ * Type of credential store
18
+ */
19
+ type: string;
20
+ /**
21
+ * Get a credential by key
22
+ */
23
+ get(key: string): Promise<string | null>;
24
+ /**
25
+ * Set a credential
26
+ */
27
+ set(key: string, value: string): Promise<void>;
28
+ /**
29
+ * Check if a credential exists
30
+ */
31
+ has(key: string): Promise<boolean>;
32
+ /**
33
+ * Delete a credential
34
+ */
35
+ delete(key: string): Promise<boolean>;
36
+ }
37
+ /**
38
+ * Server configuration options for HTTP server behavior
39
+ * These settings control connection management, timeouts, and server behavior
40
+ */
41
+ interface ServerOptions {
42
+ /**
43
+ * Server port to listen on
44
+ * Default: 3000
45
+ */
46
+ port?: number;
47
+ /**
48
+ * Keep alive timeout in milliseconds
49
+ * Time to wait for additional data after the last response before closing the connection.
50
+ * Used for persistent connections to improve performance by reusing connections.
51
+ * Scenario: Set higher (10-30s) for high-traffic APIs, lower (1-5s) for low-traffic services.
52
+ * Default: 60000ms (60 seconds)
53
+ */
54
+ keepAliveTimeout?: number;
55
+ /**
56
+ * Enable keep alive connections
57
+ * When true, allows connection reuse for multiple requests.
58
+ * Improves performance but uses more server resources.
59
+ * Scenario: Enable for APIs with frequent requests, disable for one-off services.
60
+ * Default: true
61
+ */
62
+ keepAlive?: boolean;
63
+ /**
64
+ * Request timeout in milliseconds
65
+ * Maximum time to wait for a complete request from the client.
66
+ * Helps prevent DoS attacks by limiting resource consumption from slow clients.
67
+ * Scenario: Set lower (30s) for simple APIs, higher (5-10min) for file upload services.
68
+ * Default: 60000ms (60 seconds)
69
+ */
70
+ requestTimeout?: number;
71
+ }
72
+ /**
73
+ * CORS configuration compatible with Hono's CORSOptions
74
+ */
75
+ interface CorsConfig {
76
+ /**
77
+ * Allowed origins - string, array of strings, or function
78
+ */
79
+ origin?: string | string[] | ((origin: string, c?: Context) => string | null | undefined);
80
+ /**
81
+ * Allowed methods
82
+ */
83
+ allowMethods?: string[];
84
+ /**
85
+ * Allowed headers
86
+ */
87
+ allowHeaders?: string[];
88
+ /**
89
+ * Exposed headers
90
+ */
91
+ exposeHeaders?: string[];
92
+ /**
93
+ * Max age for preflight requests
94
+ */
95
+ maxAge?: number;
96
+ /**
97
+ * Whether to allow credentials
98
+ */
99
+ credentials?: boolean;
100
+ }
101
+ /**
102
+ * Base server configuration for all Inkeep services
103
+ */
104
+ interface ServerConfig {
105
+ /**
106
+ * Server port to listen on
107
+ */
108
+ port?: number;
109
+ /**
110
+ * Server options for HTTP behavior
111
+ */
112
+ serverOptions?: ServerOptions;
113
+ /**
114
+ * Array of credential stores for managing API keys, tokens, etc.
115
+ */
116
+ credentialStores?: CredentialStore[];
117
+ /**
118
+ * CORS configuration
119
+ */
120
+ cors?: CorsConfig;
121
+ }
122
+
123
+ export type { CorsConfig, CredentialStore, ServerConfig, ServerOptions };
@@ -1,6 +1,2 @@
1
- // Re-export all types for convenience
2
- export * from './a2a';
3
- export * from './entities';
4
- export * from './server';
5
- export * from './utility';
6
- //# sourceMappingURL=index.js.map
1
+ export { TaskState } from '../chunk-H2F72PDA.js';
2
+ export { TOOL_STATUS_VALUES, VALID_RELATION_TYPES } from '../chunk-BIIFENNH.js';