@aws/agentcore-cdk 0.1.0-alpha.5 → 0.1.0-alpha.51

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 (351) hide show
  1. package/README.md +48 -12
  2. package/dist/cdk/constants.d.ts +8 -0
  3. package/dist/cdk/constants.d.ts.map +1 -1
  4. package/dist/cdk/constants.js +27 -1
  5. package/dist/cdk/constants.js.map +1 -1
  6. package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.d.ts +21 -4
  7. package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.d.ts.map +1 -1
  8. package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.js +69 -6
  9. package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.js.map +1 -1
  10. package/dist/cdk/constructs/bundling/container/ContainerSourceAssetFromPath.d.ts +17 -0
  11. package/dist/cdk/constructs/bundling/container/ContainerSourceAssetFromPath.d.ts.map +1 -0
  12. package/dist/cdk/constructs/bundling/container/ContainerSourceAssetFromPath.js +20 -0
  13. package/dist/cdk/constructs/bundling/container/ContainerSourceAssetFromPath.js.map +1 -0
  14. package/dist/cdk/constructs/bundling/container/index.d.ts +1 -0
  15. package/dist/cdk/constructs/bundling/container/index.d.ts.map +1 -1
  16. package/dist/cdk/constructs/bundling/container/index.js +3 -1
  17. package/dist/cdk/constructs/bundling/container/index.js.map +1 -1
  18. package/dist/cdk/constructs/bundling/index.d.ts +2 -0
  19. package/dist/cdk/constructs/bundling/index.d.ts.map +1 -1
  20. package/dist/cdk/constructs/bundling/index.js +6 -2
  21. package/dist/cdk/constructs/bundling/index.js.map +1 -1
  22. package/dist/cdk/constructs/bundling/zip/NodeBundledCodeZipAsset.d.ts +7 -0
  23. package/dist/cdk/constructs/bundling/zip/NodeBundledCodeZipAsset.d.ts.map +1 -0
  24. package/dist/cdk/constructs/bundling/zip/NodeBundledCodeZipAsset.js +30 -0
  25. package/dist/cdk/constructs/bundling/zip/NodeBundledCodeZipAsset.js.map +1 -0
  26. package/dist/cdk/constructs/bundling/zip/index.d.ts +1 -0
  27. package/dist/cdk/constructs/bundling/zip/index.d.ts.map +1 -1
  28. package/dist/cdk/constructs/bundling/zip/index.js +3 -1
  29. package/dist/cdk/constructs/bundling/zip/index.js.map +1 -1
  30. package/dist/cdk/constructs/components/base-props.d.ts +2 -0
  31. package/dist/cdk/constructs/components/base-props.d.ts.map +1 -1
  32. package/dist/cdk/constructs/components/container/ContainerBuildProject.d.ts +35 -8
  33. package/dist/cdk/constructs/components/container/ContainerBuildProject.d.ts.map +1 -1
  34. package/dist/cdk/constructs/components/container/ContainerBuildProject.js +117 -13
  35. package/dist/cdk/constructs/components/container/ContainerBuildProject.js.map +1 -1
  36. package/dist/cdk/constructs/components/container/ContainerImageBuilder.d.ts +23 -5
  37. package/dist/cdk/constructs/components/container/ContainerImageBuilder.d.ts.map +1 -1
  38. package/dist/cdk/constructs/components/container/ContainerImageBuilder.js +45 -7
  39. package/dist/cdk/constructs/components/container/ContainerImageBuilder.js.map +1 -1
  40. package/dist/cdk/constructs/components/container/container-build-handler.d.ts +4 -1
  41. package/dist/cdk/constructs/components/container/container-build-handler.d.ts.map +1 -1
  42. package/dist/cdk/constructs/components/container/container-build-handler.js +16 -3
  43. package/dist/cdk/constructs/components/container/container-build-handler.js.map +1 -1
  44. package/dist/cdk/constructs/components/mcp/Gateway.d.ts +71 -0
  45. package/dist/cdk/constructs/components/mcp/Gateway.d.ts.map +1 -0
  46. package/dist/cdk/constructs/components/mcp/Gateway.js +976 -0
  47. package/dist/cdk/constructs/components/mcp/Gateway.js.map +1 -0
  48. package/dist/cdk/constructs/components/mcp/McpLambdaCompute.js +2 -2
  49. package/dist/cdk/constructs/components/mcp/McpLambdaCompute.js.map +1 -1
  50. package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.js +1 -1
  51. package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.js.map +1 -1
  52. package/dist/cdk/constructs/components/mcp/connector-defaults.d.ts +20 -0
  53. package/dist/cdk/constructs/components/mcp/connector-defaults.d.ts.map +1 -0
  54. package/dist/cdk/constructs/components/mcp/connector-defaults.js +16 -0
  55. package/dist/cdk/constructs/components/mcp/connector-defaults.js.map +1 -0
  56. package/dist/cdk/constructs/components/mcp/index.d.ts +1 -1
  57. package/dist/cdk/constructs/components/mcp/index.d.ts.map +1 -1
  58. package/dist/cdk/constructs/components/mcp/index.js +3 -3
  59. package/dist/cdk/constructs/components/mcp/index.js.map +1 -1
  60. package/dist/cdk/constructs/components/mcp/mcp-utils.d.ts +1 -1
  61. package/dist/cdk/constructs/components/mcp/mcp-utils.d.ts.map +1 -1
  62. package/dist/cdk/constructs/components/mcp/mcp-utils.js +2 -2
  63. package/dist/cdk/constructs/components/mcp/mcp-utils.js.map +1 -1
  64. package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.d.ts +51 -0
  65. package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.d.ts.map +1 -0
  66. package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.js +54 -0
  67. package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.js.map +1 -0
  68. package/dist/cdk/constructs/components/primitives/capacity-provider/AgentCoreCapacityProvider.d.ts +45 -0
  69. package/dist/cdk/constructs/components/primitives/capacity-provider/AgentCoreCapacityProvider.d.ts.map +1 -0
  70. package/dist/cdk/constructs/components/primitives/capacity-provider/AgentCoreCapacityProvider.js +179 -0
  71. package/dist/cdk/constructs/components/primitives/capacity-provider/AgentCoreCapacityProvider.js.map +1 -0
  72. package/dist/cdk/constructs/components/primitives/capacity-provider/index.d.ts +2 -0
  73. package/dist/cdk/constructs/components/primitives/capacity-provider/index.d.ts.map +1 -0
  74. package/dist/cdk/constructs/components/primitives/capacity-provider/index.js +6 -0
  75. package/dist/cdk/constructs/components/primitives/capacity-provider/index.js.map +1 -0
  76. package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.d.ts +36 -0
  77. package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.d.ts.map +1 -0
  78. package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.js +66 -0
  79. package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.js.map +1 -0
  80. package/dist/cdk/constructs/components/primitives/config-bundle/index.d.ts +3 -0
  81. package/dist/cdk/constructs/components/primitives/config-bundle/index.d.ts.map +1 -0
  82. package/dist/cdk/constructs/components/primitives/config-bundle/index.js +6 -0
  83. package/dist/cdk/constructs/components/primitives/config-bundle/index.js.map +1 -0
  84. package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.d.ts +36 -0
  85. package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.d.ts.map +1 -0
  86. package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.js +91 -0
  87. package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.js.map +1 -0
  88. package/dist/cdk/constructs/components/primitives/dataset/index.d.ts +2 -0
  89. package/dist/cdk/constructs/components/primitives/dataset/index.d.ts.map +1 -0
  90. package/dist/cdk/constructs/components/primitives/dataset/index.js +6 -0
  91. package/dist/cdk/constructs/components/primitives/dataset/index.js.map +1 -0
  92. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.d.ts +50 -0
  93. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.d.ts.map +1 -0
  94. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.js +213 -0
  95. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.js.map +1 -0
  96. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.d.ts +28 -0
  97. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.d.ts.map +1 -0
  98. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.js +238 -0
  99. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.js.map +1 -0
  100. package/dist/cdk/constructs/components/primitives/evaluator/index.d.ts +3 -0
  101. package/dist/cdk/constructs/components/primitives/evaluator/index.d.ts.map +1 -0
  102. package/dist/cdk/constructs/components/primitives/evaluator/index.js +8 -0
  103. package/dist/cdk/constructs/components/primitives/evaluator/index.js.map +1 -0
  104. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.d.ts +58 -0
  105. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.d.ts.map +1 -0
  106. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.js +79 -0
  107. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.js.map +1 -0
  108. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.d.ts +65 -0
  109. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.d.ts.map +1 -0
  110. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.js +435 -0
  111. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.js.map +1 -0
  112. package/dist/cdk/constructs/components/primitives/harness/__tests__/AgentCoreHarnessRole.test.d.ts +2 -0
  113. package/dist/cdk/constructs/components/primitives/harness/__tests__/AgentCoreHarnessRole.test.d.ts.map +1 -0
  114. package/dist/cdk/constructs/components/primitives/harness/__tests__/AgentCoreHarnessRole.test.js +182 -0
  115. package/dist/cdk/constructs/components/primitives/harness/__tests__/AgentCoreHarnessRole.test.js.map +1 -0
  116. package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.d.ts +47 -0
  117. package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.d.ts.map +1 -0
  118. package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.js +391 -0
  119. package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.js.map +1 -0
  120. package/dist/cdk/constructs/components/primitives/harness/index.d.ts +3 -0
  121. package/dist/cdk/constructs/components/primitives/harness/index.d.ts.map +1 -0
  122. package/dist/cdk/constructs/components/primitives/harness/index.js +8 -0
  123. package/dist/cdk/constructs/components/primitives/harness/index.js.map +1 -0
  124. package/dist/cdk/constructs/components/primitives/index.d.ts +10 -0
  125. package/dist/cdk/constructs/components/primitives/index.d.ts.map +1 -1
  126. package/dist/cdk/constructs/components/primitives/index.js +23 -1
  127. package/dist/cdk/constructs/components/primitives/index.js.map +1 -1
  128. package/dist/cdk/constructs/components/primitives/knowledge-base/AgentCoreKnowledgeBase.d.ts +69 -0
  129. package/dist/cdk/constructs/components/primitives/knowledge-base/AgentCoreKnowledgeBase.d.ts.map +1 -0
  130. package/dist/cdk/constructs/components/primitives/knowledge-base/AgentCoreKnowledgeBase.js +292 -0
  131. package/dist/cdk/constructs/components/primitives/knowledge-base/AgentCoreKnowledgeBase.js.map +1 -0
  132. package/dist/cdk/constructs/components/primitives/knowledge-base/index.d.ts +2 -0
  133. package/dist/cdk/constructs/components/primitives/knowledge-base/index.d.ts.map +1 -0
  134. package/dist/cdk/constructs/components/primitives/knowledge-base/index.js +6 -0
  135. package/dist/cdk/constructs/components/primitives/knowledge-base/index.js.map +1 -0
  136. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts +15 -4
  137. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts.map +1 -1
  138. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js +96 -63
  139. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js.map +1 -1
  140. package/dist/cdk/constructs/components/primitives/memory/__tests__/AgentCoreMemory.test.d.ts +2 -0
  141. package/dist/cdk/constructs/components/primitives/memory/__tests__/AgentCoreMemory.test.d.ts.map +1 -0
  142. package/dist/cdk/constructs/components/primitives/memory/__tests__/AgentCoreMemory.test.js +146 -0
  143. package/dist/cdk/constructs/components/primitives/memory/__tests__/AgentCoreMemory.test.js.map +1 -0
  144. package/dist/cdk/constructs/components/primitives/memory/memory-actions.d.ts +15 -0
  145. package/dist/cdk/constructs/components/primitives/memory/memory-actions.d.ts.map +1 -0
  146. package/dist/cdk/constructs/components/primitives/memory/memory-actions.js +32 -0
  147. package/dist/cdk/constructs/components/primitives/memory/memory-actions.js.map +1 -0
  148. package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.d.ts +41 -0
  149. package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.d.ts.map +1 -0
  150. package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.js +64 -0
  151. package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.js.map +1 -0
  152. package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.d.ts +38 -0
  153. package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.d.ts.map +1 -0
  154. package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.js +111 -0
  155. package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.js.map +1 -0
  156. package/dist/cdk/constructs/components/primitives/payment/index.d.ts +3 -0
  157. package/dist/cdk/constructs/components/primitives/payment/index.d.ts.map +1 -0
  158. package/dist/cdk/constructs/components/primitives/payment/index.js +8 -0
  159. package/dist/cdk/constructs/components/primitives/payment/index.js.map +1 -0
  160. package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.d.ts +28 -0
  161. package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.d.ts.map +1 -0
  162. package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.js +75 -0
  163. package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.js.map +1 -0
  164. package/dist/cdk/constructs/components/primitives/policy/index.d.ts +2 -0
  165. package/dist/cdk/constructs/components/primitives/policy/index.d.ts.map +1 -0
  166. package/dist/cdk/constructs/components/primitives/policy/index.js +6 -0
  167. package/dist/cdk/constructs/components/primitives/policy/index.js.map +1 -0
  168. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts +43 -2
  169. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts.map +1 -1
  170. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js +337 -80
  171. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js.map +1 -1
  172. package/dist/cdk/constructs/components/primitives/runtime/__tests__/AgentCoreRuntime.test.d.ts +2 -0
  173. package/dist/cdk/constructs/components/primitives/runtime/__tests__/AgentCoreRuntime.test.d.ts.map +1 -0
  174. package/dist/cdk/constructs/components/primitives/runtime/__tests__/AgentCoreRuntime.test.js +113 -0
  175. package/dist/cdk/constructs/components/primitives/runtime/__tests__/AgentCoreRuntime.test.js.map +1 -0
  176. package/dist/cdk/constructs/components/shared/__tests__/build-authorizer-config.test.d.ts +2 -0
  177. package/dist/cdk/constructs/components/shared/__tests__/build-authorizer-config.test.d.ts.map +1 -0
  178. package/dist/cdk/constructs/components/shared/__tests__/build-authorizer-config.test.js +99 -0
  179. package/dist/cdk/constructs/components/shared/__tests__/build-authorizer-config.test.js.map +1 -0
  180. package/dist/cdk/constructs/components/shared/build-authorizer-config.d.ts +28 -0
  181. package/dist/cdk/constructs/components/shared/build-authorizer-config.d.ts.map +1 -0
  182. package/dist/cdk/constructs/components/shared/build-authorizer-config.js +39 -0
  183. package/dist/cdk/constructs/components/shared/build-authorizer-config.js.map +1 -0
  184. package/dist/cdk/constructs/components/shared/load-additional-policies.d.ts +18 -0
  185. package/dist/cdk/constructs/components/shared/load-additional-policies.d.ts.map +1 -0
  186. package/dist/cdk/constructs/components/shared/load-additional-policies.js +51 -0
  187. package/dist/cdk/constructs/components/shared/load-additional-policies.js.map +1 -0
  188. package/dist/cdk/constructs/connections/wire-connections.d.ts +24 -0
  189. package/dist/cdk/constructs/connections/wire-connections.d.ts.map +1 -0
  190. package/dist/cdk/constructs/connections/wire-connections.js +218 -0
  191. package/dist/cdk/constructs/connections/wire-connections.js.map +1 -0
  192. package/dist/cdk/constructs/index.d.ts +7 -3
  193. package/dist/cdk/constructs/index.d.ts.map +1 -1
  194. package/dist/cdk/constructs/index.js +22 -1
  195. package/dist/cdk/constructs/index.js.map +1 -1
  196. package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts +149 -2
  197. package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts.map +1 -1
  198. package/dist/cdk/constructs/l3/AgentCoreApplication.js +623 -10
  199. package/dist/cdk/constructs/l3/AgentCoreApplication.js.map +1 -1
  200. package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.d.ts +38 -0
  201. package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.d.ts.map +1 -0
  202. package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.js +92 -0
  203. package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.js.map +1 -0
  204. package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts +9 -1
  205. package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts.map +1 -1
  206. package/dist/cdk/constructs/l3/AgentCoreMcp.js +95 -17
  207. package/dist/cdk/constructs/l3/AgentCoreMcp.js.map +1 -1
  208. package/dist/cdk/constructs/l3/AgentCorePayments.d.ts +21 -0
  209. package/dist/cdk/constructs/l3/AgentCorePayments.d.ts.map +1 -0
  210. package/dist/cdk/constructs/l3/AgentCorePayments.js +149 -0
  211. package/dist/cdk/constructs/l3/AgentCorePayments.js.map +1 -0
  212. package/dist/cdk/constructs/l3/AgentEnvironment.d.ts +14 -0
  213. package/dist/cdk/constructs/l3/AgentEnvironment.d.ts.map +1 -1
  214. package/dist/cdk/constructs/l3/AgentEnvironment.js +55 -4
  215. package/dist/cdk/constructs/l3/AgentEnvironment.js.map +1 -1
  216. package/dist/cdk/constructs/l3/index.d.ts +3 -1
  217. package/dist/cdk/constructs/l3/index.d.ts.map +1 -1
  218. package/dist/cdk/constructs/l3/index.js +5 -1
  219. package/dist/cdk/constructs/l3/index.js.map +1 -1
  220. package/dist/cdk/index.d.ts +1 -1
  221. package/dist/cdk/index.d.ts.map +1 -1
  222. package/dist/cdk/index.js +16 -1
  223. package/dist/cdk/index.js.map +1 -1
  224. package/dist/cdk/utils/__tests__/tags.test.d.ts +2 -0
  225. package/dist/cdk/utils/__tests__/tags.test.d.ts.map +1 -0
  226. package/dist/cdk/utils/__tests__/tags.test.js +57 -0
  227. package/dist/cdk/utils/__tests__/tags.test.js.map +1 -0
  228. package/dist/cdk/utils/tags.d.ts +11 -0
  229. package/dist/cdk/utils/tags.d.ts.map +1 -0
  230. package/dist/cdk/utils/tags.js +22 -0
  231. package/dist/cdk/utils/tags.js.map +1 -0
  232. package/dist/index.d.ts +1 -1
  233. package/dist/index.d.ts.map +1 -1
  234. package/dist/index.js +16 -1
  235. package/dist/index.js.map +1 -1
  236. package/dist/lib/constants.d.ts +1 -0
  237. package/dist/lib/constants.d.ts.map +1 -1
  238. package/dist/lib/constants.js +2 -1
  239. package/dist/lib/constants.js.map +1 -1
  240. package/dist/lib/errors/config.js +1 -1
  241. package/dist/lib/errors/config.js.map +1 -1
  242. package/dist/lib/index.d.ts +1 -1
  243. package/dist/lib/index.d.ts.map +1 -1
  244. package/dist/lib/index.js +2 -1
  245. package/dist/lib/index.js.map +1 -1
  246. package/dist/lib/packaging/helpers.d.ts +19 -0
  247. package/dist/lib/packaging/helpers.d.ts.map +1 -1
  248. package/dist/lib/packaging/helpers.js +78 -21
  249. package/dist/lib/packaging/helpers.js.map +1 -1
  250. package/dist/lib/packaging/index.d.ts +3 -7
  251. package/dist/lib/packaging/index.d.ts.map +1 -1
  252. package/dist/lib/packaging/index.js +14 -11
  253. package/dist/lib/packaging/index.js.map +1 -1
  254. package/dist/lib/packaging/node.d.ts +6 -0
  255. package/dist/lib/packaging/node.d.ts.map +1 -0
  256. package/dist/lib/packaging/node.js +106 -0
  257. package/dist/lib/packaging/node.js.map +1 -0
  258. package/dist/lib/packaging/types/packaging.d.ts +2 -0
  259. package/dist/lib/packaging/types/packaging.d.ts.map +1 -1
  260. package/dist/lib/packaging/uv.d.ts.map +1 -1
  261. package/dist/lib/packaging/uv.js +1 -1
  262. package/dist/lib/packaging/uv.js.map +1 -1
  263. package/dist/lib/schemas/io/config-io.d.ts +6 -3
  264. package/dist/lib/schemas/io/config-io.d.ts.map +1 -1
  265. package/dist/lib/schemas/io/config-io.js +19 -11
  266. package/dist/lib/schemas/io/config-io.js.map +1 -1
  267. package/dist/schema/constants.d.ts +30 -0
  268. package/dist/schema/constants.d.ts.map +1 -1
  269. package/dist/schema/constants.js +58 -4
  270. package/dist/schema/constants.js.map +1 -1
  271. package/dist/schema/schemas/agent-env.d.ts +265 -6
  272. package/dist/schema/schemas/agent-env.d.ts.map +1 -1
  273. package/dist/schema/schemas/agent-env.js +414 -17
  274. package/dist/schema/schemas/agent-env.js.map +1 -1
  275. package/dist/schema/schemas/agentcore-project.d.ts +1105 -22
  276. package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
  277. package/dist/schema/schemas/agentcore-project.js +335 -11
  278. package/dist/schema/schemas/agentcore-project.js.map +1 -1
  279. package/dist/schema/schemas/auth.d.ts +318 -0
  280. package/dist/schema/schemas/auth.d.ts.map +1 -0
  281. package/dist/schema/schemas/auth.js +238 -0
  282. package/dist/schema/schemas/auth.js.map +1 -0
  283. package/dist/schema/schemas/aws-targets.d.ts +39 -0
  284. package/dist/schema/schemas/aws-targets.d.ts.map +1 -1
  285. package/dist/schema/schemas/aws-targets.js +14 -0
  286. package/dist/schema/schemas/aws-targets.js.map +1 -1
  287. package/dist/schema/schemas/connections.d.ts +183 -0
  288. package/dist/schema/schemas/connections.d.ts.map +1 -0
  289. package/dist/schema/schemas/connections.js +176 -0
  290. package/dist/schema/schemas/connections.js.map +1 -0
  291. package/dist/schema/schemas/deployed-state.d.ts +224 -16
  292. package/dist/schema/schemas/deployed-state.d.ts.map +1 -1
  293. package/dist/schema/schemas/deployed-state.js +52 -4
  294. package/dist/schema/schemas/deployed-state.js.map +1 -1
  295. package/dist/schema/schemas/index.d.ts +2 -0
  296. package/dist/schema/schemas/index.d.ts.map +1 -1
  297. package/dist/schema/schemas/index.js +2 -0
  298. package/dist/schema/schemas/index.js.map +1 -1
  299. package/dist/schema/schemas/mcp.d.ts +645 -32
  300. package/dist/schema/schemas/mcp.d.ts.map +1 -1
  301. package/dist/schema/schemas/mcp.js +567 -44
  302. package/dist/schema/schemas/mcp.js.map +1 -1
  303. package/dist/schema/schemas/primitives/capacity-provider.d.ts +239 -0
  304. package/dist/schema/schemas/primitives/capacity-provider.d.ts.map +1 -0
  305. package/dist/schema/schemas/primitives/capacity-provider.js +220 -0
  306. package/dist/schema/schemas/primitives/capacity-provider.js.map +1 -0
  307. package/dist/schema/schemas/primitives/config-bundle.d.ts +31 -0
  308. package/dist/schema/schemas/primitives/config-bundle.d.ts.map +1 -0
  309. package/dist/schema/schemas/primitives/config-bundle.js +41 -0
  310. package/dist/schema/schemas/primitives/config-bundle.js.map +1 -0
  311. package/dist/schema/schemas/primitives/dataset.d.ts +53 -0
  312. package/dist/schema/schemas/primitives/dataset.d.ts.map +1 -0
  313. package/dist/schema/schemas/primitives/dataset.js +65 -0
  314. package/dist/schema/schemas/primitives/dataset.js.map +1 -0
  315. package/dist/schema/schemas/primitives/evaluator.d.ts +113 -0
  316. package/dist/schema/schemas/primitives/evaluator.d.ts.map +1 -0
  317. package/dist/schema/schemas/primitives/evaluator.js +75 -0
  318. package/dist/schema/schemas/primitives/evaluator.js.map +1 -0
  319. package/dist/schema/schemas/primitives/harness.d.ts +649 -0
  320. package/dist/schema/schemas/primitives/harness.d.ts.map +1 -0
  321. package/dist/schema/schemas/primitives/harness.js +596 -0
  322. package/dist/schema/schemas/primitives/harness.js.map +1 -0
  323. package/dist/schema/schemas/primitives/index.d.ts +18 -2
  324. package/dist/schema/schemas/primitives/index.d.ts.map +1 -1
  325. package/dist/schema/schemas/primitives/index.js +80 -1
  326. package/dist/schema/schemas/primitives/index.js.map +1 -1
  327. package/dist/schema/schemas/primitives/knowledge-base.d.ts +103 -0
  328. package/dist/schema/schemas/primitives/knowledge-base.d.ts.map +1 -0
  329. package/dist/schema/schemas/primitives/knowledge-base.js +98 -0
  330. package/dist/schema/schemas/primitives/knowledge-base.js.map +1 -0
  331. package/dist/schema/schemas/primitives/memory.d.ts +33 -2
  332. package/dist/schema/schemas/primitives/memory.d.ts.map +1 -1
  333. package/dist/schema/schemas/primitives/memory.js +33 -3
  334. package/dist/schema/schemas/primitives/memory.js.map +1 -1
  335. package/dist/schema/schemas/primitives/online-evaluation-config.d.ts +32 -0
  336. package/dist/schema/schemas/primitives/online-evaluation-config.d.ts.map +1 -0
  337. package/dist/schema/schemas/primitives/online-evaluation-config.js +66 -0
  338. package/dist/schema/schemas/primitives/online-evaluation-config.js.map +1 -0
  339. package/dist/schema/schemas/primitives/policy.d.ts +62 -0
  340. package/dist/schema/schemas/primitives/policy.d.ts.map +1 -0
  341. package/dist/schema/schemas/primitives/policy.js +64 -0
  342. package/dist/schema/schemas/primitives/policy.js.map +1 -0
  343. package/dist/schema/schemas/primitives/tags.d.ts +6 -0
  344. package/dist/schema/schemas/primitives/tags.d.ts.map +1 -0
  345. package/dist/schema/schemas/primitives/tags.js +20 -0
  346. package/dist/schema/schemas/primitives/tags.js.map +1 -0
  347. package/package.json +22 -5
  348. package/dist/cdk/constructs/components/mcp/McpGateway.d.ts +0 -49
  349. package/dist/cdk/constructs/components/mcp/McpGateway.d.ts.map +0 -1
  350. package/dist/cdk/constructs/components/mcp/McpGateway.js +0 -288
  351. package/dist/cdk/constructs/components/mcp/McpGateway.js.map +0 -1
@@ -2,20 +2,35 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AgentCoreApplication = void 0;
4
4
  const lib_1 = require("../../../lib");
5
+ const constants_1 = require("../../constants");
5
6
  const logical_ids_1 = require("../../logical-ids");
7
+ const AgentCoreCapacityProvider_1 = require("../components/primitives/capacity-provider/AgentCoreCapacityProvider");
8
+ const AgentCoreConfigBundle_1 = require("../components/primitives/config-bundle/AgentCoreConfigBundle");
9
+ const AgentCoreDataset_1 = require("../components/primitives/dataset/AgentCoreDataset");
10
+ const AgentCoreEvaluator_1 = require("../components/primitives/evaluator/AgentCoreEvaluator");
11
+ const AgentCoreOnlineEvaluationConfig_1 = require("../components/primitives/evaluator/AgentCoreOnlineEvaluationConfig");
12
+ const AgentCoreKnowledgeBase_1 = require("../components/primitives/knowledge-base/AgentCoreKnowledgeBase");
6
13
  const AgentCoreMemory_1 = require("../components/primitives/memory/AgentCoreMemory");
14
+ const AgentCorePolicyEngine_1 = require("../components/primitives/policy/AgentCorePolicyEngine");
15
+ const wire_connections_1 = require("../connections/wire-connections");
16
+ const AgentCoreHarnessEnvironment_1 = require("./AgentCoreHarnessEnvironment");
7
17
  const AgentEnvironment_1 = require("./AgentEnvironment");
8
18
  const aws_cdk_lib_1 = require("aws-cdk-lib");
19
+ const aws_cdk_lib_2 = require("aws-cdk-lib");
9
20
  const constructs_1 = require("constructs");
10
21
  /**
11
22
  * AgentCore Application L3 Construct - v2 resource-centric model.
12
23
  *
13
24
  * Creates:
14
- * - Agent environments (runtimes) for each agent
25
+ * - Agent environments (runtimes) for each agent (may be empty for memory-only deployments)
15
26
  * - Memory resources at project level
27
+ * - Evaluator resources at project level
28
+ * - Online evaluation config resources at project level
16
29
  * - Wires all agents to all memories (implicit access)
17
30
  * - Wires credentials to all agents
18
31
  *
32
+ * Creation order: memories → evaluators → agents → online evaluation configs
33
+ *
19
34
  * All child constructs use stable logical IDs derived from resource names
20
35
  * via the logical-ids utility to ensure deterministic CloudFormation updates.
21
36
  */
@@ -24,10 +39,56 @@ class AgentCoreApplication extends constructs_1.Construct {
24
39
  environments = new Map();
25
40
  /** Memories keyed by memory name */
26
41
  memories = new Map();
42
+ /**
43
+ * Knowledge bases keyed by KB name.
44
+ *
45
+ * Public so Wave 2 can resolve `knowledgeBaseId` when wiring connector
46
+ * gateway targets — `app.knowledgeBases.get(kbName).knowledgeBaseId`.
47
+ * Do not narrow this back to private without updating Wave 2's lookup
48
+ * path; the contract is consumed cross-construct.
49
+ */
50
+ knowledgeBases = new Map();
51
+ /** Evaluators keyed by evaluator name */
52
+ evaluators = new Map();
53
+ /** Online evaluation configs keyed by config name */
54
+ onlineEvalConfigs = new Map();
55
+ /** Policy engines keyed by engine name */
56
+ policyEngines = new Map();
57
+ /** Config bundles keyed by bundle name */
58
+ configBundles = new Map();
59
+ /** Datasets keyed by dataset name */
60
+ datasets = new Map();
61
+ /** Capacity providers keyed by capacity provider name */
62
+ capacityProviders = new Map();
63
+ /** Harness roles keyed by harness name */
64
+ harnessRoles = new Map();
65
+ /** Harness CFN resources keyed by harness name (only those deployed via CDK with a full spec) */
66
+ harnesses = new Map();
27
67
  constructor(scope, id, props) {
28
68
  super(scope, id);
29
- const { spec } = props;
69
+ const { spec, connectorParametersByFile } = props;
30
70
  const projectName = spec.name;
71
+ const projectTags = spec.tags;
72
+ // Apply project-level tags via Tags.of() for propagation to supporting AWS resources.
73
+ // Exclude BedrockAgentCore resource types so that composeTags() on primary resources
74
+ // can correctly handle resource-level tag overrides on key conflicts.
75
+ if (projectTags) {
76
+ for (const [key, value] of Object.entries(projectTags)) {
77
+ aws_cdk_lib_1.Tags.of(this).add(key, value, {
78
+ excludeResourceTypes: [
79
+ 'AWS::BedrockAgentCore::Runtime',
80
+ 'AWS::BedrockAgentCore::Memory',
81
+ 'AWS::BedrockAgentCore::Evaluator',
82
+ 'AWS::BedrockAgentCore::OnlineEvaluationConfig',
83
+ 'AWS::BedrockAgentCore::PolicyEngine',
84
+ 'AWS::BedrockAgentCore::Gateway',
85
+ 'AWS::BedrockAgentCore::Dataset',
86
+ 'AWS::BedrockAgentCore::Harness',
87
+ 'AWS::BedrockAgentCore::CapacityProvider',
88
+ ],
89
+ });
90
+ }
91
+ }
31
92
  // Resolve config root once for all environments
32
93
  const configRoot = (0, lib_1.findConfigRoot)();
33
94
  if (!configRoot) {
@@ -40,21 +101,133 @@ class AgentCoreApplication extends constructs_1.Construct {
40
101
  const memory = new AgentCoreMemory_1.AgentCoreMemory(this, (0, logical_ids_1.toPascalId)('Memory', memorySpec.name), {
41
102
  projectName,
42
103
  memory: memorySpec,
104
+ projectTags,
43
105
  });
44
106
  this.memories.set(memorySpec.name, memory);
45
107
  }
46
108
  // ═══════════════════════════════════════════════════════════════════
109
+ // Create all knowledge bases (project-level resources)
110
+ // ═══════════════════════════════════════════════════════════════════
111
+ for (const kbSpec of spec.knowledgeBases ?? []) {
112
+ const kb = new AgentCoreKnowledgeBase_1.AgentCoreKnowledgeBase(this, (0, logical_ids_1.toPascalId)('KnowledgeBase', kbSpec.name), {
113
+ projectName,
114
+ knowledgeBase: kbSpec,
115
+ projectTags,
116
+ connectorParametersByFile,
117
+ });
118
+ this.knowledgeBases.set(kbSpec.name, kb);
119
+ }
120
+ // ═══════════════════════════════════════════════════════════════════
121
+ // Create all evaluators (project-level resources)
122
+ // ═══════════════════════════════════════════════════════════════════
123
+ for (const evalSpec of spec.evaluators ?? []) {
124
+ const evaluator = new AgentCoreEvaluator_1.AgentCoreEvaluator(this, (0, logical_ids_1.toPascalId)('Evaluator', evalSpec.name), {
125
+ projectName,
126
+ evaluator: evalSpec,
127
+ projectTags,
128
+ });
129
+ this.evaluators.set(evalSpec.name, evaluator);
130
+ }
131
+ // ═══════════════════════════════════════════════════════════════════
132
+ // Create all policy engines (project-level resources)
133
+ // ═══════════════════════════════════════════════════════════════════
134
+ for (const policyEngineSpec of spec.policyEngines ?? []) {
135
+ const policyEngine = new AgentCorePolicyEngine_1.AgentCorePolicyEngine(this, (0, logical_ids_1.toPascalId)('PolicyEngine', policyEngineSpec.name), {
136
+ projectName,
137
+ policyEngine: policyEngineSpec,
138
+ projectTags,
139
+ });
140
+ this.policyEngines.set(policyEngineSpec.name, policyEngine);
141
+ }
142
+ // ═══════════════════════════════════════════════════════════════════
143
+ // Create all datasets (project-level resources)
144
+ // ═══════════════════════════════════════════════════════════════════
145
+ for (const datasetSpec of spec.datasets ?? []) {
146
+ const dataset = new AgentCoreDataset_1.AgentCoreDataset(this, (0, logical_ids_1.toPascalId)('Dataset', datasetSpec.name), {
147
+ projectName,
148
+ dataset: datasetSpec,
149
+ projectTags,
150
+ });
151
+ this.datasets.set(datasetSpec.name, dataset);
152
+ }
153
+ // ═══════════════════════════════════════════════════════════════════
154
+ // Create all capacity providers (project-level resources)
155
+ // Created before runtimes so a runtime can reference a sibling capacity
156
+ // provider by name (Journey 2).
157
+ // ═══════════════════════════════════════════════════════════════════
158
+ for (const capacityProviderSpec of spec.capacityProviders ?? []) {
159
+ const capacityProvider = new AgentCoreCapacityProvider_1.AgentCoreCapacityProvider(this, (0, logical_ids_1.toPascalId)('CapacityProvider', capacityProviderSpec.name), {
160
+ projectName,
161
+ capacityProvider: capacityProviderSpec,
162
+ projectTags,
163
+ });
164
+ this.capacityProviders.set(capacityProviderSpec.name, capacityProvider);
165
+ }
166
+ // ═══════════════════════════════════════════════════════════════════
47
167
  // Create all agent environments
48
168
  // ═══════════════════════════════════════════════════════════════════
49
- for (const agentSpec of spec.agents ?? []) {
169
+ for (const agentSpec of spec.runtimes ?? []) {
170
+ const { capacityProviderArn, capacityProvider } = this.resolveCapacityProvider(agentSpec);
50
171
  const env = new AgentEnvironment_1.AgentEnvironment(this, (0, logical_ids_1.toPascalId)('Agent', agentSpec.name), {
51
172
  projectName,
52
173
  agent: agentSpec,
53
174
  configRoot,
175
+ projectTags,
176
+ capacityProviderArn,
54
177
  });
178
+ // The CP ARN is injected via addPropertyOverride (escape hatch), which bypasses CDK's automatic
179
+ // dependency tracking — add the dependency explicitly so the CP is created before the runtime.
180
+ if (capacityProvider) {
181
+ env.node.addDependency(capacityProvider);
182
+ }
55
183
  this.environments.set(agentSpec.name, env);
56
184
  }
57
185
  // ═══════════════════════════════════════════════════════════════════
186
+ // Create all config bundles (depend on runtimes/gateways for ARN refs)
187
+ // ═══════════════════════════════════════════════════════════════════
188
+ for (const bundleSpec of spec.configBundles ?? []) {
189
+ const resolvedComponents = this.resolveConfigBundleComponents(bundleSpec.components);
190
+ const configBundle = new AgentCoreConfigBundle_1.AgentCoreConfigBundle(this, (0, logical_ids_1.toPascalId)('ConfigBundle', bundleSpec.name), {
191
+ projectName,
192
+ configBundle: bundleSpec,
193
+ resolvedComponents,
194
+ projectTags,
195
+ });
196
+ this.configBundles.set(bundleSpec.name, configBundle);
197
+ }
198
+ // ═══════════════════════════════════════════════════════════════════
199
+ // Create all harnesses (IAM role + optional container + the CFN resource)
200
+ // ═══════════════════════════════════════════════════════════════════
201
+ for (const harness of props.harnesses ?? []) {
202
+ const { memoryArn, retrievalConfig } = this.resolveHarnessMemory(harness, spec.memories ?? []);
203
+ const harnessEnv = new AgentCoreHarnessEnvironment_1.AgentCoreHarnessEnvironment(this, (0, logical_ids_1.toPascalId)('Harness', harness.name), {
204
+ projectName,
205
+ projectTags,
206
+ harness,
207
+ spec: harness.spec,
208
+ harnessDir: harness.harnessDir,
209
+ memoryArn,
210
+ retrievalConfig,
211
+ credentials: props.credentials,
212
+ });
213
+ this.harnessRoles.set(harness.name, harnessEnv.harnessRole);
214
+ if (harnessEnv.harness)
215
+ this.harnesses.set(harness.name, harnessEnv.harness);
216
+ }
217
+ // ═══════════════════════════════════════════════════════════════════
218
+ // Create all online eval configs (depend on evaluators + agents)
219
+ // ═══════════════════════════════════════════════════════════════════
220
+ for (const configSpec of spec.onlineEvalConfigs ?? []) {
221
+ const onlineEvalConfig = new AgentCoreOnlineEvaluationConfig_1.AgentCoreOnlineEvaluationConfig(this, (0, logical_ids_1.toPascalId)('OnlineEval', configSpec.name), {
222
+ projectName,
223
+ config: configSpec,
224
+ environments: this.environments,
225
+ evaluators: this.evaluators,
226
+ projectTags,
227
+ });
228
+ this.onlineEvalConfigs.set(configSpec.name, onlineEvalConfig);
229
+ }
230
+ // ═══════════════════════════════════════════════════════════════════
58
231
  // Wire all agents to all memories (implicit project-level access)
59
232
  // ═══════════════════════════════════════════════════════════════════
60
233
  this.wireMemoriesToAgents(spec.memories ?? []);
@@ -63,9 +236,130 @@ class AgentCoreApplication extends constructs_1.Construct {
63
236
  // ═══════════════════════════════════════════════════════════════════
64
237
  this.wireCredentialsToAgents(spec.credentials ?? []);
65
238
  // ═══════════════════════════════════════════════════════════════════
66
- // Create memory outputs
239
+ // Wire all memories to all harness roles
240
+ // ═══════════════════════════════════════════════════════════════════
241
+ this.wireMemoriesToHarnesses(props.harnesses ?? []);
242
+ // ═══════════════════════════════════════════════════════════════════
243
+ // Wire harness connections to external AgentCore resources (IAM only —
244
+ // the harness runtime reads target config from its spec, not env vars)
245
+ // ═══════════════════════════════════════════════════════════════════
246
+ this.wireConnectionsToHarnesses(props.harnesses ?? []);
247
+ // ═══════════════════════════════════════════════════════════════════
248
+ // Create outputs
67
249
  // ═══════════════════════════════════════════════════════════════════
68
250
  this.createMemoryOutputs();
251
+ this.createEvaluatorOutputs();
252
+ this.createOnlineEvaluationConfigOutputs();
253
+ // ═══════════════════════════════════════════════════════════════════
254
+ // Create policy engine outputs
255
+ // ═══════════════════════════════════════════════════════════════════
256
+ this.createPolicyOutputs();
257
+ // ═══════════════════════════════════════════════════════════════════
258
+ // Create dataset outputs
259
+ // ═══════════════════════════════════════════════════════════════════
260
+ this.createDatasetOutputs();
261
+ // ═══════════════════════════════════════════════════════════════════
262
+ // Create capacity provider outputs
263
+ // ═══════════════════════════════════════════════════════════════════
264
+ this.createCapacityProviderOutputs();
265
+ // ═══════════════════════════════════════════════════════════════════
266
+ // Create config bundle outputs
267
+ // ═══════════════════════════════════════════════════════════════════
268
+ this.createConfigBundleOutputs();
269
+ // ═══════════════════════════════════════════════════════════════════
270
+ // Create knowledge base outputs
271
+ // ═══════════════════════════════════════════════════════════════════
272
+ this.createKnowledgeBaseOutputs();
273
+ // ═══════════════════════════════════════════════════════════════════
274
+ // Create harness outputs
275
+ // ═══════════════════════════════════════════════════════════════════
276
+ this.createHarnessOutputs();
277
+ }
278
+ /**
279
+ * Resolve a harness's referenced memory into the in-stack ARN token + the
280
+ * retrievalConfig derived from that memory's strategy namespaces.
281
+ * Direct ARN (`memory.arn`) takes precedence over a by-name reference.
282
+ */
283
+ /**
284
+ * Resolve a runtime's capacity-provider attachment to a concrete ARN. An external CP is
285
+ * referenced by ARN (passthrough); an in-project sibling is referenced by name and resolved to
286
+ * the created CP construct's ARN token. Returns the construct too, so the caller can add an
287
+ * explicit CloudFormation dependency (the ARN is injected via an escape-hatch override that
288
+ * bypasses automatic dependency tracking). Mirrors `resolveHarnessMemory`.
289
+ */
290
+ resolveCapacityProvider(agent) {
291
+ const ref = agent.capacityProviderConfiguration;
292
+ if (!ref)
293
+ return {};
294
+ if (ref.capacityProviderArn) {
295
+ return { capacityProviderArn: ref.capacityProviderArn };
296
+ }
297
+ const name = ref.capacityProviderName;
298
+ const capacityProvider = this.capacityProviders.get(name);
299
+ if (!capacityProvider) {
300
+ throw new Error(`Capacity provider "${name}" referenced by runtime "${agent.name}" is not defined in this project.`);
301
+ }
302
+ return { capacityProviderArn: capacityProvider.capacityProviderArn, capacityProvider };
303
+ }
304
+ resolveHarnessMemory(harness, memories) {
305
+ const memoryRef = harness.spec?.memory;
306
+ if (!memoryRef)
307
+ return {};
308
+ // Managed memory is owned by the harness internally; disabled has none. Neither resolves a
309
+ // sibling memory ARN or per-namespace retrievalConfig — those only apply to `existing`.
310
+ if (memoryRef.mode !== 'existing')
311
+ return {};
312
+ let memoryArn;
313
+ let memorySpec;
314
+ if (memoryRef.arn) {
315
+ memoryArn = memoryRef.arn;
316
+ }
317
+ else if (memoryRef.name) {
318
+ const memory = this.memories.get(memoryRef.name);
319
+ if (!memory) {
320
+ throw new Error(`Memory "${memoryRef.name}" referenced by harness "${harness.name}" is not defined in this project.`);
321
+ }
322
+ memoryArn = memory.memoryArn;
323
+ memorySpec = memories.find(m => m.name === memoryRef.name);
324
+ }
325
+ return { memoryArn, retrievalConfig: buildRetrievalConfig(memorySpec, memoryRef.retrievalConfig) };
326
+ }
327
+ /**
328
+ * Creates CloudFormation outputs for harnesses deployed via CDK.
329
+ * Per-harness: HarnessId, HarnessArn, Status, Version, AgentRuntimeArn.
330
+ * (The execution-role ARN output is emitted separately by AgentCoreHarnessRole.)
331
+ */
332
+ createHarnessOutputs() {
333
+ if (this.harnesses.size === 0)
334
+ return;
335
+ const stack = aws_cdk_lib_1.Stack.of(this);
336
+ for (const [harnessName, harness] of this.harnesses) {
337
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Harness', harnessName), 'Id'), {
338
+ description: `Harness ID for: ${harnessName}`,
339
+ value: harness.harnessId,
340
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Harness', harnessName, 'Id'),
341
+ });
342
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Harness', harnessName), 'Arn'), {
343
+ description: `Harness ARN for: ${harnessName}`,
344
+ value: harness.harnessArn,
345
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Harness', harnessName, 'Arn'),
346
+ });
347
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Harness', harnessName), 'Status'), {
348
+ description: `Harness status for: ${harnessName}`,
349
+ value: harness.status,
350
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Harness', harnessName, 'Status'),
351
+ });
352
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Harness', harnessName), 'Version'), {
353
+ description: `Harness config version for: ${harnessName}`,
354
+ value: harness.harnessVersion,
355
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Harness', harnessName, 'Version'),
356
+ });
357
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Harness', harnessName), 'AgentRuntimeArn'), {
358
+ description: `Underlying AgentCore Runtime ARN for harness: ${harnessName}`,
359
+ value: harness.agentRuntimeArn,
360
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Harness', harnessName, 'AgentRuntimeArn'),
361
+ });
362
+ }
69
363
  }
70
364
  /**
71
365
  * Wire all memories to all agents in the project.
@@ -78,8 +372,7 @@ class AgentCoreApplication extends constructs_1.Construct {
78
372
  for (const env of this.environments.values()) {
79
373
  memory.grant(env.runtime);
80
374
  // Add memory ID as environment variable (using MEMORY_{NAME}_ID pattern)
81
- const envVarName = `MEMORY_${memorySpec.name.toUpperCase()}_ID`;
82
- env.runtime.addEnvironmentVariable(envVarName, memory.memoryId);
375
+ env.runtime.addEnvironmentVariable(memory.getEnvVarName(), memory.getEnvVarValue());
83
376
  }
84
377
  }
85
378
  }
@@ -88,21 +381,92 @@ class AgentCoreApplication extends constructs_1.Construct {
88
381
  * Sets credential provider name env vars for each agent.
89
382
  */
90
383
  wireCredentialsToAgents(credentials) {
91
- for (const credential of credentials) {
92
- // Add credential provider name as env var to all agents
93
- const envVarName = `CREDENTIAL_${credential.name.toUpperCase().replace(/[.-]/g, '_')}_NAME`;
94
- for (const env of this.environments.values()) {
384
+ if (credentials.length === 0)
385
+ return;
386
+ for (const env of this.environments.values()) {
387
+ // Grant AgentCore Identity & API key permissions (only when credentials are configured)
388
+ env.runtime.grantCredentialAccess();
389
+ // Add credential provider name as env var
390
+ for (const credential of credentials) {
391
+ const envVarName = `CREDENTIAL_${credential.name.toUpperCase().replace(/[.-]/g, '_')}_NAME`;
95
392
  env.runtime.addEnvironmentVariable(envVarName, credential.name);
96
393
  }
97
394
  }
98
395
  }
396
+ /**
397
+ * Wire each harness role to its specific `existing` memory (if configured).
398
+ * Unlike agents which get implicit access to all memories, harnesses only get access to the
399
+ * single memory they reference. An `existing` ref resolves to a memory ARN one of two ways:
400
+ * - by name → a sibling project memory (looked up in `this.memories`); or
401
+ * - by ARN → an EXTERNAL memory not defined in this project.
402
+ * Both must receive the data-plane grant, scoped to the resolved ARN. (Managed/disabled/omitted
403
+ * memory is granted separately by AgentCoreHarnessRole's AgentCoreManagedMemory statement.)
404
+ */
405
+ wireMemoriesToHarnesses(harnesses) {
406
+ for (const harness of harnesses) {
407
+ const harnessRole = this.harnessRoles.get(harness.name);
408
+ if (!harnessRole)
409
+ continue;
410
+ // Resolve the target memory ARN: a sibling by name, or an external ARN carried on the spec.
411
+ let memoryArn;
412
+ if (harness.memoryName) {
413
+ memoryArn = this.memories.get(harness.memoryName)?.memoryArn;
414
+ }
415
+ else if (harness.spec?.memory?.mode === 'existing' && harness.spec.memory.arn) {
416
+ memoryArn = harness.spec.memory.arn;
417
+ }
418
+ if (!memoryArn)
419
+ continue;
420
+ harnessRole.addToPolicy(new aws_cdk_lib_2.aws_iam.PolicyStatement({
421
+ sid: 'AgentCoreExistingMemory',
422
+ actions: [...constants_1.HARNESS_MEMORY_DATA_PLANE_ACTIONS],
423
+ resources: [memoryArn],
424
+ }));
425
+ }
426
+ }
427
+ /**
428
+ * Wire each harness's external connections (memory/gateway/runtime) onto its execution role.
429
+ * IAM only — the harness runtime reads target config (auth, memory) from its spec, so no env
430
+ * vars are injected (and the harness CFN env vars are already fixed at construction). Imported
431
+ * roles emit a synth-time warning instead of attaching (AgentCoreHarnessRole.addToPolicy).
432
+ */
433
+ wireConnectionsToHarnesses(harnesses) {
434
+ for (const harness of harnesses) {
435
+ const connections = harness.spec?.connections;
436
+ if (!connections?.length)
437
+ continue;
438
+ const harnessRole = this.harnessRoles.get(harness.name);
439
+ if (!harnessRole)
440
+ continue;
441
+ for (const connection of connections) {
442
+ const { statements } = (0, wire_connections_1.buildConnectionWiring)(harnessRole, connection);
443
+ for (const statement of statements)
444
+ harnessRole.addToPolicy(statement);
445
+ }
446
+ }
447
+ }
99
448
  /**
100
449
  * Creates CloudFormation outputs for memories.
450
+ * Produces per-memory outputs (Id, Arn) plus aggregate outputs for backwards compatibility.
101
451
  */
102
452
  createMemoryOutputs() {
103
453
  if (this.memories.size === 0)
104
454
  return;
105
455
  const stack = aws_cdk_lib_1.Stack.of(this);
456
+ // Per-memory outputs
457
+ for (const [memoryName, memory] of this.memories) {
458
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Memory', memoryName), 'Id'), {
459
+ description: `Memory ID for: ${memoryName}`,
460
+ value: memory.memoryId,
461
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Memory', memoryName, 'Id'),
462
+ });
463
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Memory', memoryName), 'Arn'), {
464
+ description: `Memory ARN for: ${memoryName}`,
465
+ value: memory.memoryArn,
466
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Memory', memoryName, 'Arn'),
467
+ });
468
+ }
469
+ // Aggregate outputs (backwards compatibility)
106
470
  const memoryIds = Array.from(this.memories.values()).map(m => m.memoryId);
107
471
  const memoryNames = Array.from(this.memories.keys());
108
472
  new aws_cdk_lib_1.CfnOutput(this, 'MemoryIds', {
@@ -116,6 +480,255 @@ class AgentCoreApplication extends constructs_1.Construct {
116
480
  exportName: `${stack.stackName}-MemoryNames`,
117
481
  });
118
482
  }
483
+ /**
484
+ * Creates CloudFormation outputs for evaluators.
485
+ */
486
+ createEvaluatorOutputs() {
487
+ if (this.evaluators.size === 0)
488
+ return;
489
+ const stack = aws_cdk_lib_1.Stack.of(this);
490
+ for (const [evalName, evaluator] of this.evaluators) {
491
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Evaluator', evalName), 'Id'), {
492
+ description: `Evaluator ID for: ${evalName}`,
493
+ value: evaluator.evaluatorId,
494
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Evaluator', evalName, 'Id'),
495
+ });
496
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Evaluator', evalName), 'Arn'), {
497
+ description: `Evaluator ARN for: ${evalName}`,
498
+ value: evaluator.evaluatorArn,
499
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Evaluator', evalName, 'Arn'),
500
+ });
501
+ }
502
+ }
503
+ /**
504
+ * Creates CloudFormation outputs for online eval configs.
505
+ */
506
+ createOnlineEvaluationConfigOutputs() {
507
+ if (this.onlineEvalConfigs.size === 0)
508
+ return;
509
+ const stack = aws_cdk_lib_1.Stack.of(this);
510
+ for (const [configName, config] of this.onlineEvalConfigs) {
511
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('OnlineEval', configName), 'Id'), {
512
+ description: `Online evaluation config ID for: ${configName}`,
513
+ value: config.configId,
514
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'OnlineEval', configName, 'Id'),
515
+ });
516
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('OnlineEval', configName), 'Arn'), {
517
+ description: `Online evaluation config ARN for: ${configName}`,
518
+ value: config.configArn,
519
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'OnlineEval', configName, 'Arn'),
520
+ });
521
+ }
522
+ }
523
+ /**
524
+ * Creates CloudFormation outputs for datasets.
525
+ * Produces per-dataset outputs (Id, Arn).
526
+ */
527
+ createDatasetOutputs() {
528
+ if (this.datasets.size === 0)
529
+ return;
530
+ const stack = aws_cdk_lib_1.Stack.of(this);
531
+ for (const [datasetName, dataset] of this.datasets) {
532
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Dataset', datasetName), 'Id'), {
533
+ description: `Dataset ID for: ${datasetName}`,
534
+ value: dataset.datasetId,
535
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Dataset', datasetName, 'Id'),
536
+ });
537
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Dataset', datasetName), 'Arn'), {
538
+ description: `Dataset ARN for: ${datasetName}`,
539
+ value: dataset.datasetArn,
540
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Dataset', datasetName, 'Arn'),
541
+ });
542
+ }
543
+ }
544
+ /**
545
+ * Creates CloudFormation outputs for capacity providers.
546
+ * Produces per-capacity-provider outputs (Id, Arn).
547
+ */
548
+ createCapacityProviderOutputs() {
549
+ if (this.capacityProviders.size === 0)
550
+ return;
551
+ const stack = aws_cdk_lib_1.Stack.of(this);
552
+ for (const [capacityProviderName, capacityProvider] of this.capacityProviders) {
553
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('CapacityProvider', capacityProviderName), 'Id'), {
554
+ description: `Capacity provider ID for: ${capacityProviderName}`,
555
+ value: capacityProvider.capacityProviderId,
556
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'CapacityProvider', capacityProviderName, 'Id'),
557
+ });
558
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('CapacityProvider', capacityProviderName), 'Arn'), {
559
+ description: `Capacity provider ARN for: ${capacityProviderName}`,
560
+ value: capacityProvider.capacityProviderArn,
561
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'CapacityProvider', capacityProviderName, 'Arn'),
562
+ });
563
+ }
564
+ }
565
+ /**
566
+ * Creates CloudFormation outputs for knowledge bases and their data sources.
567
+ *
568
+ * Per-KB outputs: Id, Arn.
569
+ * Per-DS outputs: DataSourceN.Id and DataSourceN.Uri, where N is the index
570
+ * into the local `dataSources[]` array. Consumers (e.g. the CLI post-deploy
571
+ * hook) read these to map local URI → deployed DS id deterministically
572
+ * instead of parsing physical names.
573
+ */
574
+ createKnowledgeBaseOutputs() {
575
+ if (this.knowledgeBases.size === 0)
576
+ return;
577
+ const stack = aws_cdk_lib_1.Stack.of(this);
578
+ for (const [kbName, kb] of this.knowledgeBases) {
579
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('KnowledgeBase', kbName), 'Id'), {
580
+ description: `Knowledge Base ID for: ${kbName}`,
581
+ value: kb.knowledgeBaseId,
582
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'KnowledgeBase', kbName, 'Id'),
583
+ });
584
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('KnowledgeBase', kbName), 'Arn'), {
585
+ description: `Knowledge Base ARN for: ${kbName}`,
586
+ value: kb.knowledgeBaseArn,
587
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'KnowledgeBase', kbName, 'Arn'),
588
+ });
589
+ kb.dataSources.forEach((ds, index) => {
590
+ const dsLabel = `DataSource${index}`;
591
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('KnowledgeBase', kbName), dsLabel, 'Id'), {
592
+ description: `Data Source ${index} ID for KB: ${kbName}`,
593
+ value: ds.id,
594
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'KnowledgeBase', kbName, dsLabel, 'Id'),
595
+ });
596
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('KnowledgeBase', kbName), dsLabel, 'Uri'), {
597
+ description: `Data Source ${index} URI for KB: ${kbName}`,
598
+ value: ds.uri,
599
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'KnowledgeBase', kbName, dsLabel, 'Uri'),
600
+ });
601
+ });
602
+ }
603
+ }
604
+ /**
605
+ * Creates CloudFormation outputs for policy engines and their policies.
606
+ * Produces per-engine outputs (Id, Arn) and per-policy outputs (Id, Arn).
607
+ */
608
+ createPolicyOutputs() {
609
+ if (this.policyEngines.size === 0)
610
+ return;
611
+ const stack = aws_cdk_lib_1.Stack.of(this);
612
+ for (const [engineName, engine] of this.policyEngines) {
613
+ // Per-engine outputs
614
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('PolicyEngine', engineName), 'Id'), {
615
+ description: `Policy Engine ID for: ${engineName}`,
616
+ value: engine.policyEngineId,
617
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'PolicyEngine', engineName, 'Id'),
618
+ });
619
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('PolicyEngine', engineName), 'Arn'), {
620
+ description: `Policy Engine ARN for: ${engineName}`,
621
+ value: engine.policyEngineArn,
622
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'PolicyEngine', engineName, 'Arn'),
623
+ });
624
+ // Per-policy outputs
625
+ for (const [policyName, policy] of engine.policies) {
626
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Policy', engineName, policyName), 'Id'), {
627
+ description: `Policy ID for: ${engineName}/${policyName}`,
628
+ value: policy.policyId,
629
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Policy', engineName, policyName, 'Id'),
630
+ });
631
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('Policy', engineName, policyName), 'Arn'), {
632
+ description: `Policy ARN for: ${engineName}/${policyName}`,
633
+ value: policy.policyArn,
634
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'Policy', engineName, policyName, 'Arn'),
635
+ });
636
+ }
637
+ }
638
+ }
639
+ createConfigBundleOutputs() {
640
+ if (this.configBundles.size === 0)
641
+ return;
642
+ const stack = aws_cdk_lib_1.Stack.of(this);
643
+ for (const [bundleName, bundle] of this.configBundles) {
644
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('ConfigBundle', bundleName), 'Id'), {
645
+ description: `ConfigBundle ID for: ${bundleName}`,
646
+ value: bundle.bundleId,
647
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'ConfigBundle', bundleName, 'Id'),
648
+ });
649
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('ConfigBundle', bundleName), 'Arn'), {
650
+ description: `ConfigBundle ARN for: ${bundleName}`,
651
+ value: bundle.bundleArn,
652
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'ConfigBundle', bundleName, 'Arn'),
653
+ });
654
+ new aws_cdk_lib_1.CfnOutput(this, (0, logical_ids_1.outputId)((0, logical_ids_1.toPascalId)('ConfigBundle', bundleName), 'VersionId'), {
655
+ description: `ConfigBundle VersionId for: ${bundleName}`,
656
+ value: bundle.versionId,
657
+ exportName: (0, logical_ids_1.exportName)(stack.stackName, 'ConfigBundle', bundleName, 'VersionId'),
658
+ });
659
+ }
660
+ }
661
+ /**
662
+ * Resolve placeholder component keys (e.g., {{runtime:name}}, {{gateway:name}})
663
+ * to CDK token references from already-created constructs.
664
+ */
665
+ resolveConfigBundleComponents(components) {
666
+ const resolved = {};
667
+ for (const [key, value] of Object.entries(components)) {
668
+ // resolveComponentKey turns a {{runtime:name}} placeholder into the runtime ARN, which is an
669
+ // unresolved CDK token (cfnRuntime.attrAgentRuntimeArn → Fn::GetAtt). A token can't be used as
670
+ // a CFN map key directly, but that's fine here: AgentCoreConfigBundle wraps the whole Components
671
+ // map in CfnJson, which defers resolution to deploy time and emits a concrete ARN-keyed object.
672
+ // (resolveComponentKey still throws for unknown runtimes and unsupported {{gateway:...}} keys.)
673
+ resolved[this.resolveComponentKey(key)] = value;
674
+ }
675
+ return resolved;
676
+ }
677
+ resolveComponentKey(key) {
678
+ if (key.startsWith('arn:'))
679
+ return key;
680
+ const rtMatch = /^\{\{runtime:(.+)\}\}$/.exec(key);
681
+ if (rtMatch) {
682
+ const rtName = rtMatch[1];
683
+ const env = this.environments.get(rtName);
684
+ if (!env) {
685
+ throw new Error(`Config bundle references runtime "${rtName}" but it is not defined in runtimes[]. ` +
686
+ 'Ensure the runtime is listed in agentcore.json.');
687
+ }
688
+ return env.runtime.runtimeArn;
689
+ }
690
+ const gwMatch = /^\{\{gateway:(.+)\}\}$/.exec(key);
691
+ if (gwMatch) {
692
+ throw new Error(`Config bundle references gateway "${gwMatch[1]}" — gateway ARN resolution in config bundles ` +
693
+ 'requires the MCP construct. Use the full gateway ARN as the component key instead.');
694
+ }
695
+ return key;
696
+ }
119
697
  }
120
698
  exports.AgentCoreApplication = AgentCoreApplication;
699
+ /**
700
+ * Derive a harness retrievalConfig from the referenced memory's strategy namespaces,
701
+ * so the harness runtime knows which namespaces to search at inference time. The
702
+ * user-supplied flat tuning (`harness.memory.retrievalConfig`) is fanned out to every
703
+ * namespace — namespaces are only known here (from the resolved Memory's strategies),
704
+ * so a per-namespace map cannot be authored in the harness spec.
705
+ *
706
+ * Reads `namespaceTemplates` (preferred) and falls back to the deprecated `namespaces`,
707
+ * matching AgentCoreMemory's own resolution — a memory defined with only the new
708
+ * template fields would otherwise produce no retrieval namespaces at all.
709
+ */
710
+ function buildRetrievalConfig(memorySpec, tuning) {
711
+ if (!memorySpec?.strategies?.length)
712
+ return undefined;
713
+ // Multiple strategies can declare the same namespace template (e.g. SEMANTIC + USER_PREFERENCE
714
+ // both scoped to /users/{actorId}/profile). Dedup explicitly rather than relying on
715
+ // Object.fromEntries' implicit last-write-wins, which would silently collapse duplicates. The
716
+ // dedup is safe today only because every namespace receives the identical `perNamespace` value;
717
+ // if per-strategy tuning overrides are ever added, this must merge per namespace instead.
718
+ const namespaces = [
719
+ ...new Set(memorySpec.strategies.flatMap(s => [
720
+ ...(s.namespaceTemplates ?? s.namespaces ?? []),
721
+ ...(s.type === 'EPISODIC' ? (s.reflectionNamespaceTemplates ?? s.reflectionNamespaces ?? []) : []),
722
+ ])),
723
+ ];
724
+ if (namespaces.length === 0)
725
+ return undefined;
726
+ const perNamespace = {
727
+ ...(tuning?.topK !== undefined && { TopK: tuning.topK }),
728
+ ...(tuning?.relevanceScore !== undefined && { RelevanceScore: tuning.relevanceScore }),
729
+ };
730
+ // Spread a fresh copy per namespace so the entries don't alias one shared object — a future
731
+ // per-namespace tweak would otherwise mutate every namespace at once.
732
+ return Object.fromEntries(namespaces.map(ns => [ns, { ...perNamespace }]));
733
+ }
121
734
  //# sourceMappingURL=AgentCoreApplication.js.map