@aws/agentcore 1.0.0-preview.9 → 1.0.0-rc.3

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 (386) hide show
  1. package/README.md +1218 -145
  2. package/dist/assets/agent-inspector/index.css.asset +1 -0
  3. package/dist/assets/agent-inspector/index.js.asset +289 -0
  4. package/dist/assets/cdk/README.md +43 -17
  5. package/dist/assets/cdk/bin/cdk.ts +22 -123
  6. package/dist/assets/cdk/lib/cdk-stack.ts +18 -69
  7. package/dist/assets/cdk/package.json +6 -13
  8. package/dist/assets/cdk/tsconfig.json +1 -1
  9. package/dist/assets/evaluators/python-lambda/README.md +32 -0
  10. package/dist/assets/evaluators/python-lambda/pyproject.toml +1 -1
  11. package/dist/assets/templates/a2a-python-strands/README.md +31 -0
  12. package/dist/assets/templates/a2a-python-strands/main.py +100 -0
  13. package/dist/assets/templates/a2a-python-strands/memory/session.py +35 -0
  14. package/dist/assets/templates/a2a-python-strands/model/load.py +6 -0
  15. package/dist/assets/templates/a2a-python-strands/pyproject.toml +20 -0
  16. package/dist/assets/templates/agent-python-langchain/README.md +56 -0
  17. package/dist/assets/{python/a2a/googleadk/base → templates/agent-python-langchain}/gitignore.template +1 -1
  18. package/dist/assets/templates/agent-python-langchain/main.py +50 -0
  19. package/dist/assets/templates/agent-python-langchain/model/load.py +9 -0
  20. package/dist/assets/templates/agent-python-langchain/pyproject.toml +21 -0
  21. package/dist/assets/templates/agent-python-minimal/README.md +31 -0
  22. package/dist/assets/templates/agent-python-minimal/main.py +13 -0
  23. package/dist/assets/templates/agent-python-minimal/pyproject.toml +18 -0
  24. package/dist/assets/{container/python/Dockerfile → templates/agent-python-strands/Dockerfile.template} +3 -1
  25. package/dist/assets/templates/agent-python-strands/README.md +60 -0
  26. package/dist/assets/{python/a2a/langchain_langgraph/base → templates/agent-python-strands}/gitignore.template +1 -1
  27. package/dist/assets/templates/agent-python-strands/main.py +65 -0
  28. package/dist/assets/templates/agent-python-strands/memory/__init__.py +0 -0
  29. package/dist/assets/templates/agent-python-strands/memory/session.py +31 -0
  30. package/dist/assets/{python/http/strands/base → templates/agent-python-strands}/model/load.py +49 -3
  31. package/dist/assets/templates/agent-python-strands/parse.py +41 -0
  32. package/dist/assets/templates/agent-python-strands/pyproject.toml +24 -0
  33. package/dist/assets/templates/agent-typescript-strands/README.md +50 -0
  34. package/dist/assets/templates/agent-typescript-strands/gitignore.template +22 -0
  35. package/dist/assets/templates/agent-typescript-strands/main.ts +77 -0
  36. package/dist/assets/templates/agent-typescript-strands/memory/memory.ts +33 -0
  37. package/dist/assets/templates/agent-typescript-strands/model/load.ts +5 -0
  38. package/dist/assets/templates/agent-typescript-strands/package.json.template +28 -0
  39. package/dist/assets/templates/agent-typescript-strands/tsconfig.json +19 -0
  40. package/dist/assets/templates/agent-typescript-vercel/README.md +22 -0
  41. package/dist/assets/templates/agent-typescript-vercel/gitignore.template +22 -0
  42. package/dist/assets/templates/agent-typescript-vercel/main.ts +35 -0
  43. package/dist/assets/templates/agent-typescript-vercel/package.json.template +24 -0
  44. package/dist/assets/templates/agent-typescript-vercel/tsconfig.json +19 -0
  45. package/dist/assets/templates/agui-python-strands/README.md +39 -0
  46. package/dist/assets/{python/a2a/strands/base → templates/agui-python-strands}/gitignore.template +1 -1
  47. package/dist/assets/{python/agui/strands/base → templates/agui-python-strands}/main.py +11 -14
  48. package/dist/assets/templates/agui-python-strands/memory/__init__.py +0 -0
  49. package/dist/assets/templates/agui-python-strands/memory/session.py +35 -0
  50. package/dist/assets/templates/agui-python-strands/model/load.py +6 -0
  51. package/dist/assets/templates/agui-python-strands/pyproject.toml +22 -0
  52. package/dist/assets/{python/http/strands/base → templates/export-harness-python}/README.md +15 -8
  53. package/dist/assets/templates/export-harness-python/gitignore.template +41 -0
  54. package/dist/assets/templates/export-harness-python/main.py +584 -0
  55. package/dist/assets/templates/export-harness-python/mcp_client/client.py +63 -0
  56. package/dist/assets/templates/export-harness-python/memory/__init__.py +0 -0
  57. package/dist/assets/templates/export-harness-python/memory/session.py +47 -0
  58. package/dist/assets/templates/export-harness-python/model/load.py +249 -0
  59. package/dist/assets/templates/export-harness-python/model/mantle_compat.py +21 -0
  60. package/dist/assets/templates/export-harness-python/pyproject.toml +22 -0
  61. package/dist/assets/templates/export-harness-python/skills/fetcher.py +279 -0
  62. package/dist/assets/templates/harness/harness.yaml +157 -0
  63. package/dist/assets/templates/mcp-python-fastmcp/README.md +32 -0
  64. package/dist/assets/templates/mcp-python-fastmcp/gitignore.template +41 -0
  65. package/dist/assets/templates/mcp-python-fastmcp/main.py +83 -0
  66. package/dist/assets/{python/mcp/standalone/base → templates/mcp-python-fastmcp}/pyproject.toml +3 -2
  67. package/dist/assets/templates/shared/env.local.template +11 -0
  68. package/dist/assets/templates/shared/gitignore.template +19 -0
  69. package/dist/index.js +4 -27
  70. package/dist/main.js +1582 -0
  71. package/package.json +76 -148
  72. package/LICENSE +0 -175
  73. package/dist/agent-inspector/index.css +0 -1
  74. package/dist/agent-inspector/index.js +0 -279
  75. package/dist/assets/README.md +0 -104
  76. package/dist/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap +0 -5673
  77. package/dist/assets/__tests__/__snapshots__/dockerfile-render.test.ts.snap +0 -77
  78. package/dist/assets/__tests__/assets.snapshot.test.ts +0 -125
  79. package/dist/assets/__tests__/dockerfile-render.test.ts +0 -24
  80. package/dist/assets/agents/AGENTS.md +0 -141
  81. package/dist/assets/cdk/.prettierrc +0 -8
  82. package/dist/assets/cdk/jest.config.js +0 -9
  83. package/dist/assets/cdk/npmignore.template +0 -6
  84. package/dist/assets/cdk/test/cdk.test.ts +0 -28
  85. package/dist/assets/harness/invoke.py.template +0 -74
  86. package/dist/assets/mcp/python/README.md +0 -27
  87. package/dist/assets/mcp/python/pyproject.toml +0 -22
  88. package/dist/assets/mcp/python/server.py +0 -117
  89. package/dist/assets/mcp/python-lambda/README.md +0 -22
  90. package/dist/assets/mcp/python-lambda/handler.py +0 -144
  91. package/dist/assets/mcp/python-lambda/pyproject.toml +0 -15
  92. package/dist/assets/python/a2a/googleadk/base/README.md +0 -22
  93. package/dist/assets/python/a2a/googleadk/base/main.py +0 -110
  94. package/dist/assets/python/a2a/googleadk/base/model/load.py +0 -41
  95. package/dist/assets/python/a2a/googleadk/base/pyproject.toml +0 -20
  96. package/dist/assets/python/a2a/langchain_langgraph/base/README.md +0 -22
  97. package/dist/assets/python/a2a/langchain_langgraph/base/main.py +0 -130
  98. package/dist/assets/python/a2a/langchain_langgraph/base/model/load.py +0 -123
  99. package/dist/assets/python/a2a/langchain_langgraph/base/pyproject.toml +0 -25
  100. package/dist/assets/python/a2a/strands/base/README.md +0 -22
  101. package/dist/assets/python/a2a/strands/base/main.py +0 -107
  102. package/dist/assets/python/a2a/strands/base/model/load.py +0 -123
  103. package/dist/assets/python/a2a/strands/base/pyproject.toml +0 -23
  104. package/dist/assets/python/a2a/strands/capabilities/memory/session.py +0 -43
  105. package/dist/assets/python/agui/googleadk/base/README.md +0 -30
  106. package/dist/assets/python/agui/googleadk/base/gitignore.template +0 -41
  107. package/dist/assets/python/agui/googleadk/base/main.py +0 -31
  108. package/dist/assets/python/agui/googleadk/base/model/load.py +0 -41
  109. package/dist/assets/python/agui/googleadk/base/pyproject.toml +0 -24
  110. package/dist/assets/python/agui/langchain_langgraph/base/README.md +0 -22
  111. package/dist/assets/python/agui/langchain_langgraph/base/gitignore.template +0 -41
  112. package/dist/assets/python/agui/langchain_langgraph/base/main.py +0 -74
  113. package/dist/assets/python/agui/langchain_langgraph/base/model/load.py +0 -123
  114. package/dist/assets/python/agui/langchain_langgraph/base/pyproject.toml +0 -30
  115. package/dist/assets/python/agui/strands/base/README.md +0 -22
  116. package/dist/assets/python/agui/strands/base/gitignore.template +0 -41
  117. package/dist/assets/python/agui/strands/base/model/__init__.py +0 -1
  118. package/dist/assets/python/agui/strands/base/model/load.py +0 -123
  119. package/dist/assets/python/agui/strands/base/pyproject.toml +0 -27
  120. package/dist/assets/python/agui/strands/capabilities/memory/__init__.py +0 -1
  121. package/dist/assets/python/agui/strands/capabilities/memory/session.py +0 -43
  122. package/dist/assets/python/http/autogen/base/README.md +0 -39
  123. package/dist/assets/python/http/autogen/base/gitignore.template +0 -41
  124. package/dist/assets/python/http/autogen/base/main.py +0 -112
  125. package/dist/assets/python/http/autogen/base/mcp_client/__init__.py +0 -1
  126. package/dist/assets/python/http/autogen/base/mcp_client/client.py +0 -28
  127. package/dist/assets/python/http/autogen/base/model/__init__.py +0 -1
  128. package/dist/assets/python/http/autogen/base/model/load.py +0 -136
  129. package/dist/assets/python/http/autogen/base/pyproject.toml +0 -34
  130. package/dist/assets/python/http/googleadk/base/README.md +0 -39
  131. package/dist/assets/python/http/googleadk/base/gitignore.template +0 -41
  132. package/dist/assets/python/http/googleadk/base/main.py +0 -160
  133. package/dist/assets/python/http/googleadk/base/mcp_client/__init__.py +0 -1
  134. package/dist/assets/python/http/googleadk/base/mcp_client/client.py +0 -75
  135. package/dist/assets/python/http/googleadk/base/model/__init__.py +0 -1
  136. package/dist/assets/python/http/googleadk/base/model/load.py +0 -41
  137. package/dist/assets/python/http/googleadk/base/pyproject.toml +0 -22
  138. package/dist/assets/python/http/langchain_langgraph/base/README.md +0 -39
  139. package/dist/assets/python/http/langchain_langgraph/base/gitignore.template +0 -41
  140. package/dist/assets/python/http/langchain_langgraph/base/main.py +0 -176
  141. package/dist/assets/python/http/langchain_langgraph/base/mcp_client/__init__.py +0 -1
  142. package/dist/assets/python/http/langchain_langgraph/base/mcp_client/client.py +0 -77
  143. package/dist/assets/python/http/langchain_langgraph/base/model/__init__.py +0 -1
  144. package/dist/assets/python/http/langchain_langgraph/base/model/load.py +0 -123
  145. package/dist/assets/python/http/langchain_langgraph/base/pyproject.toml +0 -37
  146. package/dist/assets/python/http/openaiagents/base/README.md +0 -39
  147. package/dist/assets/python/http/openaiagents/base/gitignore.template +0 -41
  148. package/dist/assets/python/http/openaiagents/base/main.py +0 -169
  149. package/dist/assets/python/http/openaiagents/base/mcp_client/__init__.py +0 -1
  150. package/dist/assets/python/http/openaiagents/base/mcp_client/client.py +0 -74
  151. package/dist/assets/python/http/openaiagents/base/model/__init__.py +0 -1
  152. package/dist/assets/python/http/openaiagents/base/model/load.py +0 -37
  153. package/dist/assets/python/http/openaiagents/base/pyproject.toml +0 -21
  154. package/dist/assets/python/http/strands/base/main.py +0 -217
  155. package/dist/assets/python/http/strands/base/mcp_client/__init__.py +0 -1
  156. package/dist/assets/python/http/strands/base/mcp_client/client.py +0 -73
  157. package/dist/assets/python/http/strands/base/model/__init__.py +0 -1
  158. package/dist/assets/python/http/strands/base/pyproject.toml +0 -25
  159. package/dist/assets/python/http/strands/capabilities/memory/__init__.py +0 -1
  160. package/dist/assets/python/http/strands/capabilities/memory/session.py +0 -44
  161. package/dist/assets/python/mcp/standalone/base/README.md +0 -36
  162. package/dist/assets/python/mcp/standalone/base/gitignore.template +0 -41
  163. package/dist/assets/python/mcp/standalone/base/main.py +0 -25
  164. package/dist/cli/index.mjs +0 -1718
  165. package/dist/index.d.ts +0 -9
  166. package/dist/index.d.ts.map +0 -1
  167. package/dist/index.js.map +0 -1
  168. package/dist/lib/constants.d.ts +0 -37
  169. package/dist/lib/constants.d.ts.map +0 -1
  170. package/dist/lib/constants.js +0 -69
  171. package/dist/lib/constants.js.map +0 -1
  172. package/dist/lib/errors/config.d.ts +0 -49
  173. package/dist/lib/errors/config.d.ts.map +0 -1
  174. package/dist/lib/errors/config.js +0 -170
  175. package/dist/lib/errors/config.js.map +0 -1
  176. package/dist/lib/errors/index.d.ts +0 -2
  177. package/dist/lib/errors/index.d.ts.map +0 -1
  178. package/dist/lib/errors/index.js +0 -18
  179. package/dist/lib/errors/index.js.map +0 -1
  180. package/dist/lib/index.d.ts +0 -7
  181. package/dist/lib/index.d.ts.map +0 -1
  182. package/dist/lib/index.js +0 -44
  183. package/dist/lib/index.js.map +0 -1
  184. package/dist/lib/packaging/build-args.d.ts +0 -6
  185. package/dist/lib/packaging/build-args.d.ts.map +0 -1
  186. package/dist/lib/packaging/build-args.js +0 -18
  187. package/dist/lib/packaging/build-args.js.map +0 -1
  188. package/dist/lib/packaging/container.d.ts +0 -10
  189. package/dist/lib/packaging/container.d.ts.map +0 -1
  190. package/dist/lib/packaging/container.js +0 -78
  191. package/dist/lib/packaging/container.js.map +0 -1
  192. package/dist/lib/packaging/errors.d.ts +0 -16
  193. package/dist/lib/packaging/errors.d.ts.map +0 -1
  194. package/dist/lib/packaging/errors.js +0 -36
  195. package/dist/lib/packaging/errors.js.map +0 -1
  196. package/dist/lib/packaging/helpers.d.ts +0 -54
  197. package/dist/lib/packaging/helpers.d.ts.map +0 -1
  198. package/dist/lib/packaging/helpers.js +0 -463
  199. package/dist/lib/packaging/helpers.js.map +0 -1
  200. package/dist/lib/packaging/index.d.ts +0 -40
  201. package/dist/lib/packaging/index.d.ts.map +0 -1
  202. package/dist/lib/packaging/index.js +0 -98
  203. package/dist/lib/packaging/index.js.map +0 -1
  204. package/dist/lib/packaging/node.d.ts +0 -22
  205. package/dist/lib/packaging/node.d.ts.map +0 -1
  206. package/dist/lib/packaging/node.js +0 -109
  207. package/dist/lib/packaging/node.js.map +0 -1
  208. package/dist/lib/packaging/python.d.ts +0 -23
  209. package/dist/lib/packaging/python.d.ts.map +0 -1
  210. package/dist/lib/packaging/python.js +0 -165
  211. package/dist/lib/packaging/python.js.map +0 -1
  212. package/dist/lib/packaging/types/index.d.ts +0 -2
  213. package/dist/lib/packaging/types/index.d.ts.map +0 -1
  214. package/dist/lib/packaging/types/index.js +0 -3
  215. package/dist/lib/packaging/types/index.js.map +0 -1
  216. package/dist/lib/packaging/types/packaging.d.ts +0 -57
  217. package/dist/lib/packaging/types/packaging.d.ts.map +0 -1
  218. package/dist/lib/packaging/types/packaging.js +0 -3
  219. package/dist/lib/packaging/types/packaging.js.map +0 -1
  220. package/dist/lib/packaging/uv.d.ts +0 -7
  221. package/dist/lib/packaging/uv.d.ts.map +0 -1
  222. package/dist/lib/packaging/uv.js +0 -40
  223. package/dist/lib/packaging/uv.js.map +0 -1
  224. package/dist/lib/schemas/io/config-io.d.ts +0 -119
  225. package/dist/lib/schemas/io/config-io.d.ts.map +0 -1
  226. package/dist/lib/schemas/io/config-io.js +0 -323
  227. package/dist/lib/schemas/io/config-io.js.map +0 -1
  228. package/dist/lib/schemas/io/global-config.d.ts +0 -33
  229. package/dist/lib/schemas/io/global-config.d.ts.map +0 -1
  230. package/dist/lib/schemas/io/global-config.js +0 -89
  231. package/dist/lib/schemas/io/global-config.js.map +0 -1
  232. package/dist/lib/schemas/io/index.d.ts +0 -3
  233. package/dist/lib/schemas/io/index.d.ts.map +0 -1
  234. package/dist/lib/schemas/io/index.js +0 -18
  235. package/dist/lib/schemas/io/index.js.map +0 -1
  236. package/dist/lib/schemas/io/path-resolver.d.ts +0 -119
  237. package/dist/lib/schemas/io/path-resolver.d.ts.map +0 -1
  238. package/dist/lib/schemas/io/path-resolver.js +0 -207
  239. package/dist/lib/schemas/io/path-resolver.js.map +0 -1
  240. package/dist/lib/utils/aws-account.d.ts +0 -7
  241. package/dist/lib/utils/aws-account.d.ts.map +0 -1
  242. package/dist/lib/utils/aws-account.js +0 -24
  243. package/dist/lib/utils/aws-account.js.map +0 -1
  244. package/dist/lib/utils/credentials.d.ts +0 -86
  245. package/dist/lib/utils/credentials.d.ts.map +0 -1
  246. package/dist/lib/utils/credentials.js +0 -153
  247. package/dist/lib/utils/credentials.js.map +0 -1
  248. package/dist/lib/utils/env.d.ts +0 -22
  249. package/dist/lib/utils/env.d.ts.map +0 -1
  250. package/dist/lib/utils/env.js +0 -65
  251. package/dist/lib/utils/env.js.map +0 -1
  252. package/dist/lib/utils/index.d.ts +0 -9
  253. package/dist/lib/utils/index.d.ts.map +0 -1
  254. package/dist/lib/utils/index.js +0 -27
  255. package/dist/lib/utils/index.js.map +0 -1
  256. package/dist/lib/utils/json-rpc.d.ts +0 -3
  257. package/dist/lib/utils/json-rpc.d.ts.map +0 -1
  258. package/dist/lib/utils/json-rpc.js +0 -27
  259. package/dist/lib/utils/json-rpc.js.map +0 -1
  260. package/dist/lib/utils/platform.d.ts +0 -63
  261. package/dist/lib/utils/platform.d.ts.map +0 -1
  262. package/dist/lib/utils/platform.js +0 -88
  263. package/dist/lib/utils/platform.js.map +0 -1
  264. package/dist/lib/utils/subprocess.d.ts +0 -29
  265. package/dist/lib/utils/subprocess.d.ts.map +0 -1
  266. package/dist/lib/utils/subprocess.js +0 -116
  267. package/dist/lib/utils/subprocess.js.map +0 -1
  268. package/dist/lib/utils/time-parser.d.ts +0 -11
  269. package/dist/lib/utils/time-parser.d.ts.map +0 -1
  270. package/dist/lib/utils/time-parser.js +0 -47
  271. package/dist/lib/utils/time-parser.js.map +0 -1
  272. package/dist/lib/utils/zod.d.ts +0 -14
  273. package/dist/lib/utils/zod.d.ts.map +0 -1
  274. package/dist/lib/utils/zod.js +0 -32
  275. package/dist/lib/utils/zod.js.map +0 -1
  276. package/dist/schema/constants.d.ts +0 -119
  277. package/dist/schema/constants.d.ts.map +0 -1
  278. package/dist/schema/constants.js +0 -170
  279. package/dist/schema/constants.js.map +0 -1
  280. package/dist/schema/index.d.ts +0 -4
  281. package/dist/schema/index.d.ts.map +0 -1
  282. package/dist/schema/index.js +0 -21
  283. package/dist/schema/index.js.map +0 -1
  284. package/dist/schema/schemas/agent-env.d.ts +0 -186
  285. package/dist/schema/schemas/agent-env.d.ts.map +0 -1
  286. package/dist/schema/schemas/agent-env.js +0 -240
  287. package/dist/schema/schemas/agent-env.js.map +0 -1
  288. package/dist/schema/schemas/agentcore-project.d.ts +0 -838
  289. package/dist/schema/schemas/agentcore-project.d.ts.map +0 -1
  290. package/dist/schema/schemas/agentcore-project.js +0 -335
  291. package/dist/schema/schemas/agentcore-project.js.map +0 -1
  292. package/dist/schema/schemas/auth.d.ts +0 -140
  293. package/dist/schema/schemas/auth.d.ts.map +0 -1
  294. package/dist/schema/schemas/auth.js +0 -114
  295. package/dist/schema/schemas/auth.js.map +0 -1
  296. package/dist/schema/schemas/aws-targets.d.ts +0 -71
  297. package/dist/schema/schemas/aws-targets.d.ts.map +0 -1
  298. package/dist/schema/schemas/aws-targets.js +0 -57
  299. package/dist/schema/schemas/aws-targets.js.map +0 -1
  300. package/dist/schema/schemas/deployed-state.d.ts +0 -725
  301. package/dist/schema/schemas/deployed-state.d.ts.map +0 -1
  302. package/dist/schema/schemas/deployed-state.js +0 -218
  303. package/dist/schema/schemas/deployed-state.js.map +0 -1
  304. package/dist/schema/schemas/index.d.ts +0 -9
  305. package/dist/schema/schemas/index.d.ts.map +0 -1
  306. package/dist/schema/schemas/index.js +0 -26
  307. package/dist/schema/schemas/index.js.map +0 -1
  308. package/dist/schema/schemas/mcp-defs.d.ts +0 -52
  309. package/dist/schema/schemas/mcp-defs.d.ts.map +0 -1
  310. package/dist/schema/schemas/mcp-defs.js +0 -50
  311. package/dist/schema/schemas/mcp-defs.js.map +0 -1
  312. package/dist/schema/schemas/mcp.d.ts +0 -820
  313. package/dist/schema/schemas/mcp.d.ts.map +0 -1
  314. package/dist/schema/schemas/mcp.js +0 -564
  315. package/dist/schema/schemas/mcp.js.map +0 -1
  316. package/dist/schema/schemas/primitives/ab-test.d.ts +0 -141
  317. package/dist/schema/schemas/primitives/ab-test.d.ts.map +0 -1
  318. package/dist/schema/schemas/primitives/ab-test.js +0 -97
  319. package/dist/schema/schemas/primitives/ab-test.js.map +0 -1
  320. package/dist/schema/schemas/primitives/config-bundle.d.ts +0 -31
  321. package/dist/schema/schemas/primitives/config-bundle.d.ts.map +0 -1
  322. package/dist/schema/schemas/primitives/config-bundle.js +0 -38
  323. package/dist/schema/schemas/primitives/config-bundle.js.map +0 -1
  324. package/dist/schema/schemas/primitives/evaluator.d.ts +0 -102
  325. package/dist/schema/schemas/primitives/evaluator.d.ts.map +0 -1
  326. package/dist/schema/schemas/primitives/evaluator.js +0 -84
  327. package/dist/schema/schemas/primitives/evaluator.js.map +0 -1
  328. package/dist/schema/schemas/primitives/harness.d.ts +0 -363
  329. package/dist/schema/schemas/primitives/harness.d.ts.map +0 -1
  330. package/dist/schema/schemas/primitives/harness.js +0 -261
  331. package/dist/schema/schemas/primitives/harness.js.map +0 -1
  332. package/dist/schema/schemas/primitives/http-gateway.d.ts +0 -21
  333. package/dist/schema/schemas/primitives/http-gateway.d.ts.map +0 -1
  334. package/dist/schema/schemas/primitives/http-gateway.js +0 -34
  335. package/dist/schema/schemas/primitives/http-gateway.js.map +0 -1
  336. package/dist/schema/schemas/primitives/index.d.ts +0 -15
  337. package/dist/schema/schemas/primitives/index.d.ts.map +0 -1
  338. package/dist/schema/schemas/primitives/index.js +0 -61
  339. package/dist/schema/schemas/primitives/index.js.map +0 -1
  340. package/dist/schema/schemas/primitives/memory.d.ts +0 -51
  341. package/dist/schema/schemas/primitives/memory.d.ts.map +0 -1
  342. package/dist/schema/schemas/primitives/memory.js +0 -73
  343. package/dist/schema/schemas/primitives/memory.js.map +0 -1
  344. package/dist/schema/schemas/primitives/online-eval-config.d.ts +0 -14
  345. package/dist/schema/schemas/primitives/online-eval-config.d.ts.map +0 -1
  346. package/dist/schema/schemas/primitives/online-eval-config.js +0 -30
  347. package/dist/schema/schemas/primitives/online-eval-config.js.map +0 -1
  348. package/dist/schema/schemas/primitives/policy.d.ts +0 -49
  349. package/dist/schema/schemas/primitives/policy.d.ts.map +0 -1
  350. package/dist/schema/schemas/primitives/policy.js +0 -62
  351. package/dist/schema/schemas/primitives/policy.js.map +0 -1
  352. package/dist/schema/schemas/primitives/tags.d.ts +0 -6
  353. package/dist/schema/schemas/primitives/tags.d.ts.map +0 -1
  354. package/dist/schema/schemas/primitives/tags.js +0 -27
  355. package/dist/schema/schemas/primitives/tags.js.map +0 -1
  356. package/dist/schema/schemas/zod-util.d.ts +0 -10
  357. package/dist/schema/schemas/zod-util.d.ts.map +0 -1
  358. package/dist/schema/schemas/zod-util.js +0 -23
  359. package/dist/schema/schemas/zod-util.js.map +0 -1
  360. package/dist/schema/types/index.d.ts +0 -2
  361. package/dist/schema/types/index.d.ts.map +0 -1
  362. package/dist/schema/types/index.js +0 -18
  363. package/dist/schema/types/index.js.map +0 -1
  364. package/dist/schema/types/path.d.ts +0 -27
  365. package/dist/schema/types/path.d.ts.map +0 -1
  366. package/dist/schema/types/path.js +0 -13
  367. package/dist/schema/types/path.js.map +0 -1
  368. package/scripts/bump-version.ts +0 -393
  369. package/scripts/bundle.mjs +0 -219
  370. package/scripts/check-old-cli.lib.mjs +0 -102
  371. package/scripts/check-old-cli.mjs +0 -10
  372. package/scripts/copy-assets.mjs +0 -64
  373. package/scripts/generate-schema.mjs +0 -40
  374. package/scripts/run-e2e-local.sh +0 -112
  375. package/scripts/start-tui-harness.sh +0 -90
  376. /package/dist/{agent-inspector/favicon.svg → assets/agent-inspector/favicon.svg.asset} +0 -0
  377. /package/dist/{agent-inspector/index.html → assets/agent-inspector/index.html.asset} +0 -0
  378. /package/dist/assets/{python/http/strands/base → templates/a2a-python-strands}/gitignore.template +0 -0
  379. /package/dist/assets/{typescript/.gitkeep → templates/a2a-python-strands/memory/__init__.py} +0 -0
  380. /package/dist/assets/{python/a2a/googleadk/base → templates/a2a-python-strands}/model/__init__.py +0 -0
  381. /package/dist/assets/{python/a2a/langchain_langgraph/base → templates/agent-python-langchain}/model/__init__.py +0 -0
  382. /package/dist/assets/{container/python → templates/agent-python-strands}/dockerignore.template +0 -0
  383. /package/dist/assets/{python/a2a/strands/base → templates/agent-python-strands}/model/__init__.py +0 -0
  384. /package/dist/assets/{python/a2a/strands/capabilities/memory → templates/agui-python-strands/model}/__init__.py +0 -0
  385. /package/dist/assets/{python/agui/googleadk/base/model → templates/export-harness-python/mcp_client}/__init__.py +0 -0
  386. /package/dist/assets/{python/agui/langchain_langgraph/base → templates/export-harness-python}/model/__init__.py +0 -0
@@ -1,119 +0,0 @@
1
- export declare const CONFIG_FILES: {
2
- readonly AGENT_ENV: "agentcore.json";
3
- readonly AWS_TARGETS: "aws-targets.json";
4
- readonly DEPLOYED_STATE: "deployed-state.json";
5
- readonly MCP_DEFS: "mcp-defs.json";
6
- };
7
- /**
8
- * Error thrown when no AgentCore project is found.
9
- */
10
- export declare class NoProjectError extends Error {
11
- constructor(message?: string);
12
- }
13
- /**
14
- * Get the working directory where the user invoked the CLI.
15
- *
16
- * When running via npm/bun scripts (e.g., `npm run cli`), the package manager
17
- * changes process.cwd() to the package root. INIT_CWD preserves the original
18
- * directory where the user ran the command.
19
- *
20
- * For globally installed CLIs, INIT_CWD is not set, so we fall back to process.cwd().
21
- */
22
- export declare function getWorkingDirectory(): string;
23
- /**
24
- * Find the config root, throwing NoProjectError if not found.
25
- * Use this when a project is required to proceed.
26
- */
27
- export declare function requireConfigRoot(startDir?: string): string;
28
- /**
29
- * Set the project root for the current session.
30
- * Call this after init creates a new project at cwd/projectName/.
31
- * Subsequent calls to findConfigRoot() will check this location first.
32
- */
33
- export declare function setSessionProjectRoot(projectRoot: string): void;
34
- /**
35
- * Get the current session project root, if set.
36
- */
37
- export declare function getSessionProjectRoot(): string | null;
38
- /**
39
- * Configuration for where AgentCore files are stored
40
- */
41
- export interface PathConfig {
42
- /** Base directory for all AgentCore files */
43
- baseDir: string;
44
- }
45
- /**
46
- * Walk up the directory tree from startDir looking for an agentcore directory.
47
- * If a session project was set (via setSessionProjectRoot), checks there first.
48
- * Returns the path to the agentcore directory if found, or null if not found.
49
- */
50
- export declare function findConfigRoot(startDir?: string): string | null;
51
- /**
52
- * Get the project root directory (parent of agentcore/).
53
- * Returns null if no project is found.
54
- */
55
- export declare function findProjectRoot(startDir?: string): string | null;
56
- /**
57
- * Default configuration uses agentcore/ in current working directory.
58
- */
59
- export declare const DEFAULT_PATH_CONFIG: PathConfig;
60
- /**
61
- * Utility class for resolving AgentCore file paths
62
- */
63
- export declare class PathResolver {
64
- private config;
65
- constructor(config?: Partial<PathConfig>);
66
- /**
67
- * Get the base directory path (the agentcore/ config directory)
68
- */
69
- getBaseDir(): string;
70
- /**
71
- * Get the project root directory (parent of agentcore/)
72
- */
73
- getProjectRoot(): string;
74
- /**
75
- * Get the path to the agent config file (agentcore.json)
76
- */
77
- getAgentConfigPath(): string;
78
- /**
79
- * Get the path to the AWS targets config file (aws-targets.json)
80
- */
81
- getAWSTargetsConfigPath(): string;
82
- /**
83
- * Get the path to the CLI system directory (agentcore/.cli/)
84
- */
85
- getCliSystemDir(): string;
86
- /**
87
- * Get the path to the logs directory (agentcore/.cli/logs/)
88
- */
89
- getLogsDir(): string;
90
- /**
91
- * Get the path to the invoke logs directory (agentcore/.cli/logs/invoke/)
92
- */
93
- getInvokeLogsDir(): string;
94
- /**
95
- * Get the path to the deployed state file (agentcore/.cli/deployed-state.json)
96
- */
97
- getStatePath(): string;
98
- /**
99
- * Get the path to the MCP definitions file (mcp-defs.json)
100
- */
101
- getMcpDefsPath(): string;
102
- /**
103
- * Get the path to the harnesses directory (app/)
104
- */
105
- getHarnessesDir(): string;
106
- /**
107
- * Get the path to a specific harness directory (app/<harnessName>/)
108
- */
109
- getHarnessDir(harnessName: string): string;
110
- /**
111
- * Get the path to a specific harness config file (app/<harnessName>/harness.json)
112
- */
113
- getHarnessConfigPath(harnessName: string): string;
114
- /**
115
- * Update the base directory
116
- */
117
- setBaseDir(baseDir: string): void;
118
- }
119
- //# sourceMappingURL=path-resolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"path-resolver.d.ts","sourceRoot":"","sources":["../../../../src/lib/schemas/io/path-resolver.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;CAAgB,CAAC;AAE1C;;GAEG;AACH,qBAAa,cAAe,SAAQ,KAAK;gBAC3B,OAAO,CAAC,EAAE,MAAM;CAI7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAM3D;AAQD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAE/D;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,GAAG,IAAI,CAErD;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;CACjB;AAUD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,QAAQ,GAAE,MAA8B,GAAG,MAAM,GAAG,IAAI,CAyBtF;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,QAAQ,GAAE,MAAsB,GAAG,MAAM,GAAG,IAAI,CAG/E;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,UAEjC,CAAC;AAEF;;GAEG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAa;gBAEf,MAAM,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC;IAOxC;;OAEG;IACH,UAAU,IAAI,MAAM;IAIpB;;OAEG;IACH,cAAc,IAAI,MAAM;IAIxB;;OAEG;IACH,kBAAkB,IAAI,MAAM;IAI5B;;OAEG;IACH,uBAAuB,IAAI,MAAM;IAIjC;;OAEG;IACH,eAAe,IAAI,MAAM;IAIzB;;OAEG;IACH,UAAU,IAAI,MAAM;IAIpB;;OAEG;IACH,gBAAgB,IAAI,MAAM;IAI1B;;OAEG;IACH,YAAY,IAAI,MAAM;IAItB;;OAEG;IACH,cAAc,IAAI,MAAM;IAIxB;;OAEG;IACH,eAAe,IAAI,MAAM;IAIzB;;OAEG;IACH,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM;IAI1C;;OAEG;IACH,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM;IAIjD;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;CAGlC"}
@@ -1,207 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PathResolver = exports.DEFAULT_PATH_CONFIG = exports.NoProjectError = exports.CONFIG_FILES = void 0;
4
- exports.getWorkingDirectory = getWorkingDirectory;
5
- exports.requireConfigRoot = requireConfigRoot;
6
- exports.setSessionProjectRoot = setSessionProjectRoot;
7
- exports.getSessionProjectRoot = getSessionProjectRoot;
8
- exports.findConfigRoot = findConfigRoot;
9
- exports.findProjectRoot = findProjectRoot;
10
- const constants_1 = require("../../constants");
11
- const fs_1 = require("fs");
12
- const path_1 = require("path");
13
- // Re-export for backward compatibility
14
- exports.CONFIG_FILES = constants_1.CONFIG_FILES;
15
- /**
16
- * Error thrown when no AgentCore project is found.
17
- */
18
- class NoProjectError extends Error {
19
- constructor(message) {
20
- super(message ?? 'No agentcore project found. Run "agentcore create" first.');
21
- this.name = 'NoProjectError';
22
- }
23
- }
24
- exports.NoProjectError = NoProjectError;
25
- /**
26
- * Get the working directory where the user invoked the CLI.
27
- *
28
- * When running via npm/bun scripts (e.g., `npm run cli`), the package manager
29
- * changes process.cwd() to the package root. INIT_CWD preserves the original
30
- * directory where the user ran the command.
31
- *
32
- * For globally installed CLIs, INIT_CWD is not set, so we fall back to process.cwd().
33
- */
34
- function getWorkingDirectory() {
35
- return process.env.INIT_CWD ?? process.cwd();
36
- }
37
- /**
38
- * Find the config root, throwing NoProjectError if not found.
39
- * Use this when a project is required to proceed.
40
- */
41
- function requireConfigRoot(startDir) {
42
- const configRoot = findConfigRoot(startDir);
43
- if (!configRoot) {
44
- throw new NoProjectError();
45
- }
46
- return configRoot;
47
- }
48
- /**
49
- * Session-level project root override.
50
- * Set this after init creates a project so subsequent discovery finds it.
51
- */
52
- let sessionProjectRoot = null;
53
- /**
54
- * Set the project root for the current session.
55
- * Call this after init creates a new project at cwd/projectName/.
56
- * Subsequent calls to findConfigRoot() will check this location first.
57
- */
58
- function setSessionProjectRoot(projectRoot) {
59
- sessionProjectRoot = projectRoot;
60
- }
61
- /**
62
- * Get the current session project root, if set.
63
- */
64
- function getSessionProjectRoot() {
65
- return sessionProjectRoot;
66
- }
67
- /**
68
- * Check if a directory is a valid AgentCore config directory.
69
- * A valid config directory contains agentcore.json.
70
- */
71
- function isValidConfigDir(configPath) {
72
- return (0, fs_1.existsSync)((0, path_1.join)(configPath, constants_1.CONFIG_FILES.AGENT_ENV));
73
- }
74
- /**
75
- * Walk up the directory tree from startDir looking for an agentcore directory.
76
- * If a session project was set (via setSessionProjectRoot), checks there first.
77
- * Returns the path to the agentcore directory if found, or null if not found.
78
- */
79
- function findConfigRoot(startDir = getWorkingDirectory()) {
80
- // Check session project first (set after init creates a project)
81
- if (sessionProjectRoot) {
82
- const sessionConfigPath = (0, path_1.join)(sessionProjectRoot, constants_1.CONFIG_DIR);
83
- if ((0, fs_1.existsSync)(sessionConfigPath) && isValidConfigDir(sessionConfigPath)) {
84
- return sessionConfigPath;
85
- }
86
- }
87
- // Fall back to walking up the directory tree
88
- let currentDir = startDir;
89
- while (true) {
90
- const configPath = (0, path_1.join)(currentDir, constants_1.CONFIG_DIR);
91
- if ((0, fs_1.existsSync)(configPath) && isValidConfigDir(configPath)) {
92
- return configPath;
93
- }
94
- const parentDir = (0, path_1.dirname)(currentDir);
95
- // Reached filesystem root
96
- if (parentDir === currentDir) {
97
- return null;
98
- }
99
- currentDir = parentDir;
100
- }
101
- }
102
- /**
103
- * Get the project root directory (parent of agentcore/).
104
- * Returns null if no project is found.
105
- */
106
- function findProjectRoot(startDir = process.cwd()) {
107
- const configRoot = findConfigRoot(startDir);
108
- return configRoot ? (0, path_1.dirname)(configRoot) : null;
109
- }
110
- /**
111
- * Default configuration uses agentcore/ in current working directory.
112
- */
113
- exports.DEFAULT_PATH_CONFIG = {
114
- baseDir: (0, path_1.join)(getWorkingDirectory(), constants_1.CONFIG_DIR),
115
- };
116
- /**
117
- * Utility class for resolving AgentCore file paths
118
- */
119
- class PathResolver {
120
- config;
121
- constructor(config) {
122
- this.config = {
123
- ...exports.DEFAULT_PATH_CONFIG,
124
- ...config,
125
- };
126
- }
127
- /**
128
- * Get the base directory path (the agentcore/ config directory)
129
- */
130
- getBaseDir() {
131
- return this.config.baseDir;
132
- }
133
- /**
134
- * Get the project root directory (parent of agentcore/)
135
- */
136
- getProjectRoot() {
137
- return (0, path_1.dirname)(this.config.baseDir);
138
- }
139
- /**
140
- * Get the path to the agent config file (agentcore.json)
141
- */
142
- getAgentConfigPath() {
143
- return (0, path_1.join)(this.config.baseDir, exports.CONFIG_FILES.AGENT_ENV);
144
- }
145
- /**
146
- * Get the path to the AWS targets config file (aws-targets.json)
147
- */
148
- getAWSTargetsConfigPath() {
149
- return (0, path_1.join)(this.config.baseDir, exports.CONFIG_FILES.AWS_TARGETS);
150
- }
151
- /**
152
- * Get the path to the CLI system directory (agentcore/.cli/)
153
- */
154
- getCliSystemDir() {
155
- return (0, path_1.join)(this.config.baseDir, constants_1.CLI_SYSTEM_DIR);
156
- }
157
- /**
158
- * Get the path to the logs directory (agentcore/.cli/logs/)
159
- */
160
- getLogsDir() {
161
- return (0, path_1.join)(this.config.baseDir, constants_1.CLI_SYSTEM_DIR, constants_1.CLI_LOGS_DIR);
162
- }
163
- /**
164
- * Get the path to the invoke logs directory (agentcore/.cli/logs/invoke/)
165
- */
166
- getInvokeLogsDir() {
167
- return (0, path_1.join)(this.config.baseDir, constants_1.CLI_SYSTEM_DIR, constants_1.CLI_LOGS_DIR, 'invoke');
168
- }
169
- /**
170
- * Get the path to the deployed state file (agentcore/.cli/deployed-state.json)
171
- */
172
- getStatePath() {
173
- return (0, path_1.join)(this.config.baseDir, constants_1.CLI_SYSTEM_DIR, exports.CONFIG_FILES.DEPLOYED_STATE);
174
- }
175
- /**
176
- * Get the path to the MCP definitions file (mcp-defs.json)
177
- */
178
- getMcpDefsPath() {
179
- return (0, path_1.join)(this.config.baseDir, exports.CONFIG_FILES.MCP_DEFS);
180
- }
181
- /**
182
- * Get the path to the harnesses directory (app/)
183
- */
184
- getHarnessesDir() {
185
- return (0, path_1.join)(this.getProjectRoot(), constants_1.APP_DIR);
186
- }
187
- /**
188
- * Get the path to a specific harness directory (app/<harnessName>/)
189
- */
190
- getHarnessDir(harnessName) {
191
- return (0, path_1.join)(this.getProjectRoot(), constants_1.APP_DIR, harnessName);
192
- }
193
- /**
194
- * Get the path to a specific harness config file (app/<harnessName>/harness.json)
195
- */
196
- getHarnessConfigPath(harnessName) {
197
- return (0, path_1.join)(this.getProjectRoot(), constants_1.APP_DIR, harnessName, 'harness.json');
198
- }
199
- /**
200
- * Update the base directory
201
- */
202
- setBaseDir(baseDir) {
203
- this.config.baseDir = baseDir;
204
- }
205
- }
206
- exports.PathResolver = PathResolver;
207
- //# sourceMappingURL=path-resolver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"path-resolver.js","sourceRoot":"","sources":["../../../../src/lib/schemas/io/path-resolver.ts"],"names":[],"mappings":";;;AA0BA,kDAEC;AAMD,8CAMC;AAaD,sDAEC;AAKD,sDAEC;AAuBD,wCAyBC;AAMD,0CAGC;AAvHD,+CAAmH;AACnH,2BAAgC;AAChC,+BAAqC;AAErC,uCAAuC;AAC1B,QAAA,YAAY,GAAG,wBAAa,CAAC;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,KAAK;IACvC,YAAY,OAAgB;QAC1B,KAAK,CAAC,OAAO,IAAI,2DAA2D,CAAC,CAAC;QAC9E,IAAI,CAAC,IAAI,GAAG,gBAAgB,CAAC;IAC/B,CAAC;CACF;AALD,wCAKC;AAED;;;;;;;;GAQG;AACH,SAAgB,mBAAmB;IACjC,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;AAC/C,CAAC;AAED;;;GAGG;AACH,SAAgB,iBAAiB,CAAC,QAAiB;IACjD,MAAM,UAAU,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;IAC5C,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,MAAM,IAAI,cAAc,EAAE,CAAC;IAC7B,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED;;;GAGG;AACH,IAAI,kBAAkB,GAAkB,IAAI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0BAAc,EAAE,wBAAY,EAAE,QAAQ,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,YAAY;QACV,OAAO,IAAA,WAAI,EAAC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,0BAAc,EAAE,oBAAY,CAAC,cAAc,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,cAAc;QACZ,OAAO,IAAA,WAAI,EAAC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,oBAAY,CAAC,QAAQ,CAAC,CAAC;IAC1D,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAA,WAAI,EAAC,IAAI,CAAC,cAAc,EAAE,EAAE,mBAAO,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,WAAmB;QAC/B,OAAO,IAAA,WAAI,EAAC,IAAI,CAAC,cAAc,EAAE,EAAE,mBAAO,EAAE,WAAW,CAAC,CAAC;IAC3D,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,WAAmB;QACtC,OAAO,IAAA,WAAI,EAAC,IAAI,CAAC,cAAc,EAAE,EAAE,mBAAO,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,OAAe;QACxB,IAAI,CAAC,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC;IAChC,CAAC;CACF;AApGD,oCAoGC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Detect AWS account ID from current credentials using STS GetCallerIdentity.
3
- * This call always succeeds if credentials are valid (cannot be denied by IAM).
4
- * Returns null if credentials are not available or invalid.
5
- */
6
- export declare function detectAwsAccount(): Promise<string | null>;
7
- //# sourceMappingURL=aws-account.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"aws-account.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/aws-account.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAW/D"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.detectAwsAccount = detectAwsAccount;
4
- const client_sts_1 = require("@aws-sdk/client-sts");
5
- const credential_providers_1 = require("@aws-sdk/credential-providers");
6
- /**
7
- * Detect AWS account ID from current credentials using STS GetCallerIdentity.
8
- * This call always succeeds if credentials are valid (cannot be denied by IAM).
9
- * Returns null if credentials are not available or invalid.
10
- */
11
- async function detectAwsAccount() {
12
- try {
13
- const client = new client_sts_1.STSClient({
14
- credentials: (0, credential_providers_1.fromNodeProviderChain)(),
15
- region: process.env.AWS_REGION ?? process.env.AWS_DEFAULT_REGION ?? 'us-east-1',
16
- });
17
- const response = await client.send(new client_sts_1.GetCallerIdentityCommand({}));
18
- return response.Account ?? null;
19
- }
20
- catch {
21
- return null;
22
- }
23
- }
24
- //# sourceMappingURL=aws-account.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"aws-account.js","sourceRoot":"","sources":["../../../src/lib/utils/aws-account.ts"],"names":[],"mappings":";;AAQA,4CAWC;AAnBD,oDAA0E;AAC1E,wEAAsE;AAEtE;;;;GAIG;AACI,KAAK,UAAU,gBAAgB;IACpC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,sBAAS,CAAC;YAC3B,WAAW,EAAE,IAAA,4CAAqB,GAAE;YACpC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,WAAW;SAChF,CAAC,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,qCAAwB,CAAC,EAAE,CAAC,CAAC,CAAC;QACrE,OAAO,QAAQ,CAAC,OAAO,IAAI,IAAI,CAAC;IAClC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
@@ -1,86 +0,0 @@
1
- /**
2
- * Secure credential management utilities.
3
- * Prevents accidental exposure of sensitive data in logs, JSON serialization, and stack traces.
4
- */
5
- /**
6
- * A secure wrapper for credential data that prevents accidental exposure.
7
- *
8
- * Features:
9
- * - Prevents JSON serialization of actual credential values
10
- * - Returns redacted string in toString() for safe logging
11
- * - Prevents iteration over credential keys in for...in loops
12
- * - Immutable after creation
13
- *
14
- * @example
15
- * ```ts
16
- * const creds = new SecureCredentials({ OPENAI_API_KEY: 'sk-...' });
17
- *
18
- * // Safe to log - won't expose values
19
- * console.log(creds); // "[SecureCredentials: 1 credential(s)]"
20
- * console.log(JSON.stringify(creds)); // '{"_redacted":"[CREDENTIALS REDACTED]","count":1}'
21
- *
22
- * // Access values explicitly when needed
23
- * const apiKey = creds.get('OPENAI_API_KEY');
24
- *
25
- * // Check if credential exists
26
- * if (creds.has('OPENAI_API_KEY')) { ... }
27
- * ```
28
- */
29
- export declare class SecureCredentials {
30
- private readonly credentials;
31
- constructor(credentials?: Record<string, string>);
32
- /**
33
- * Get a credential value by key.
34
- * Returns undefined if the key doesn't exist.
35
- */
36
- get(key: string): string | undefined;
37
- /**
38
- * Check if a credential exists.
39
- */
40
- has(key: string): boolean;
41
- /**
42
- * Get the number of stored credentials.
43
- */
44
- get size(): number;
45
- /**
46
- * Check if any credentials are stored.
47
- */
48
- isEmpty(): boolean;
49
- /**
50
- * Get all credential keys (not values).
51
- * Safe to log as it only returns key names.
52
- */
53
- keys(): string[];
54
- /**
55
- * Merge with another SecureCredentials instance or plain object.
56
- * Returns a new SecureCredentials instance (immutable).
57
- * The provided credentials take precedence over existing ones.
58
- */
59
- merge(other: SecureCredentials | Record<string, string>): SecureCredentials;
60
- /**
61
- * Convert to plain object for internal use only.
62
- * WARNING: This exposes credential values. Use only when passing to APIs that require plain objects.
63
- */
64
- toPlainObject(): Record<string, string>;
65
- /**
66
- * Prevent JSON serialization from exposing credential values.
67
- */
68
- toJSON(): {
69
- _redacted: string;
70
- count: number;
71
- keys: string[];
72
- };
73
- /**
74
- * Safe string representation for logging.
75
- */
76
- toString(): string;
77
- /**
78
- * Static factory to create from environment variables.
79
- */
80
- static fromEnvVars(envVars: Record<string, string>): SecureCredentials;
81
- /**
82
- * Static factory to create an empty SecureCredentials instance.
83
- */
84
- static empty(): SecureCredentials;
85
- }
86
- //# sourceMappingURL=credentials.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/credentials.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAsB;gBAEtC,WAAW,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM;IAMpD;;;OAGG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAIpC;;OAEG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAIzB;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;OAEG;IACH,OAAO,IAAI,OAAO;IAIlB;;;OAGG;IACH,IAAI,IAAI,MAAM,EAAE;IAIhB;;;;OAIG;IACH,KAAK,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,iBAAiB;IA8B3E;;;OAGG;IACH,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAWvC;;OAEG;IACH,MAAM,IAAI;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE;IAQ9D;;OAEG;IACH,QAAQ,IAAI,MAAM;IAWlB;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,iBAAiB;IAItE;;OAEG;IACH,MAAM,CAAC,KAAK,IAAI,iBAAiB;CAGlC"}
@@ -1,153 +0,0 @@
1
- "use strict";
2
- /**
3
- * Secure credential management utilities.
4
- * Prevents accidental exposure of sensitive data in logs, JSON serialization, and stack traces.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.SecureCredentials = void 0;
8
- /**
9
- * A secure wrapper for credential data that prevents accidental exposure.
10
- *
11
- * Features:
12
- * - Prevents JSON serialization of actual credential values
13
- * - Returns redacted string in toString() for safe logging
14
- * - Prevents iteration over credential keys in for...in loops
15
- * - Immutable after creation
16
- *
17
- * @example
18
- * ```ts
19
- * const creds = new SecureCredentials({ OPENAI_API_KEY: 'sk-...' });
20
- *
21
- * // Safe to log - won't expose values
22
- * console.log(creds); // "[SecureCredentials: 1 credential(s)]"
23
- * console.log(JSON.stringify(creds)); // '{"_redacted":"[CREDENTIALS REDACTED]","count":1}'
24
- *
25
- * // Access values explicitly when needed
26
- * const apiKey = creds.get('OPENAI_API_KEY');
27
- *
28
- * // Check if credential exists
29
- * if (creds.has('OPENAI_API_KEY')) { ... }
30
- * ```
31
- */
32
- class SecureCredentials {
33
- credentials;
34
- constructor(credentials = {}) {
35
- this.credentials = new Map(Object.entries(credentials));
36
- // Freeze to prevent modification
37
- Object.freeze(this);
38
- }
39
- /**
40
- * Get a credential value by key.
41
- * Returns undefined if the key doesn't exist.
42
- */
43
- get(key) {
44
- return this.credentials.get(key);
45
- }
46
- /**
47
- * Check if a credential exists.
48
- */
49
- has(key) {
50
- return this.credentials.has(key);
51
- }
52
- /**
53
- * Get the number of stored credentials.
54
- */
55
- get size() {
56
- return this.credentials.size;
57
- }
58
- /**
59
- * Check if any credentials are stored.
60
- */
61
- isEmpty() {
62
- return this.credentials.size === 0;
63
- }
64
- /**
65
- * Get all credential keys (not values).
66
- * Safe to log as it only returns key names.
67
- */
68
- keys() {
69
- return Array.from(this.credentials.keys());
70
- }
71
- /**
72
- * Merge with another SecureCredentials instance or plain object.
73
- * Returns a new SecureCredentials instance (immutable).
74
- * The provided credentials take precedence over existing ones.
75
- */
76
- merge(other) {
77
- const merged = {};
78
- // Copy existing credentials
79
- for (const key of this.credentials.keys()) {
80
- const value = this.credentials.get(key);
81
- if (value !== undefined) {
82
- merged[key] = value;
83
- }
84
- }
85
- // Overlay new credentials
86
- if (other instanceof SecureCredentials) {
87
- for (const key of other.keys()) {
88
- const value = other.get(key);
89
- if (value !== undefined) {
90
- merged[key] = value;
91
- }
92
- }
93
- }
94
- else {
95
- for (const [key, value] of Object.entries(other)) {
96
- if (value !== undefined) {
97
- merged[key] = value;
98
- }
99
- }
100
- }
101
- return new SecureCredentials(merged);
102
- }
103
- /**
104
- * Convert to plain object for internal use only.
105
- * WARNING: This exposes credential values. Use only when passing to APIs that require plain objects.
106
- */
107
- toPlainObject() {
108
- const result = {};
109
- for (const key of this.credentials.keys()) {
110
- const value = this.credentials.get(key);
111
- if (value !== undefined) {
112
- result[key] = value;
113
- }
114
- }
115
- return result;
116
- }
117
- /**
118
- * Prevent JSON serialization from exposing credential values.
119
- */
120
- toJSON() {
121
- return {
122
- _redacted: '[CREDENTIALS REDACTED]',
123
- count: this.credentials.size,
124
- keys: this.keys(),
125
- };
126
- }
127
- /**
128
- * Safe string representation for logging.
129
- */
130
- toString() {
131
- return `[SecureCredentials: ${this.credentials.size} credential(s)]`;
132
- }
133
- /**
134
- * Custom inspect for Node.js console.log.
135
- */
136
- [Symbol.for('nodejs.util.inspect.custom')]() {
137
- return this.toString();
138
- }
139
- /**
140
- * Static factory to create from environment variables.
141
- */
142
- static fromEnvVars(envVars) {
143
- return new SecureCredentials(envVars);
144
- }
145
- /**
146
- * Static factory to create an empty SecureCredentials instance.
147
- */
148
- static empty() {
149
- return new SecureCredentials();
150
- }
151
- }
152
- exports.SecureCredentials = SecureCredentials;
153
- //# sourceMappingURL=credentials.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../src/lib/utils/credentials.ts"],"names":[],"mappings":";AAAA;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AC,MAAM,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;QACxC,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,OAA+B;QAChD,OAAO,IAAI,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAK;QACV,OAAO,IAAI,iBAAiB,EAAE,CAAC;IACjC,CAAC;CACF;AAtID,8CAsIC"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Get the path to agentcore/.env.local.
3
- * @param configRoot - Optional config root, defaults to finding it automatically
4
- */
5
- export declare function getEnvPath(configRoot?: string): string;
6
- /**
7
- * Read agentcore/.env.local.
8
- */
9
- export declare function readEnvFile(configRoot?: string): Promise<Record<string, string>>;
10
- /**
11
- * Get a single value from agentcore/.env.local.
12
- */
13
- export declare function getEnvVar(key: string, configRoot?: string): Promise<string | undefined>;
14
- /**
15
- * Write to agentcore/.env.local. Merges with existing values by default.
16
- */
17
- export declare function writeEnvFile(updates: Record<string, string>, configRoot?: string, merge?: boolean): Promise<void>;
18
- /**
19
- * Set a single value in agentcore/.env.local.
20
- */
21
- export declare function setEnvVar(key: string, value: string, configRoot?: string): Promise<void>;
22
- //# sourceMappingURL=env.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/env.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,wBAAgB,UAAU,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAItD;AAED;;GAEG;AACH,wBAAsB,WAAW,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAItF;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAE7F;AAED;;GAEG;AACH,wBAAsB,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,KAAK,UAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAmBpH;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE9F"}