agentcore-cli 0.31.1__tar.gz

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 (844) hide show
  1. agentcore_cli-0.31.1/.gitignore +2 -0
  2. agentcore_cli-0.31.1/LICENSE +175 -0
  3. agentcore_cli-0.31.1/NOTICE +88 -0
  4. agentcore_cli-0.31.1/PKG-INFO +87 -0
  5. agentcore_cli-0.31.1/README.md +52 -0
  6. agentcore_cli-0.31.1/pyproject.toml +81 -0
  7. agentcore_cli-0.31.1/src/agentcore/__init__.py +1 -0
  8. agentcore_cli-0.31.1/src/agentcore/agent_inspector/NOTICE +9 -0
  9. agentcore_cli-0.31.1/src/agentcore/agent_inspector/favicon.svg +60 -0
  10. agentcore_cli-0.31.1/src/agentcore/agent_inspector/index.css +1 -0
  11. agentcore_cli-0.31.1/src/agentcore/agent_inspector/index.html +14 -0
  12. agentcore_cli-0.31.1/src/agentcore/agent_inspector/index.js +289 -0
  13. agentcore_cli-0.31.1/src/agentcore/assets/AGENTS.md +60 -0
  14. agentcore_cli-0.31.1/src/agentcore/assets/README.md +108 -0
  15. agentcore_cli-0.31.1/src/agentcore/assets/agents/AGENTS.md +218 -0
  16. agentcore_cli-0.31.1/src/agentcore/assets/cdk/.prettierrc +8 -0
  17. agentcore_cli-0.31.1/src/agentcore/assets/cdk/README.md +26 -0
  18. agentcore_cli-0.31.1/src/agentcore/assets/cdk/bin/cdk.ts +216 -0
  19. agentcore_cli-0.31.1/src/agentcore/assets/cdk/cdk.json +88 -0
  20. agentcore_cli-0.31.1/src/agentcore/assets/cdk/gitignore.template +9 -0
  21. agentcore_cli-0.31.1/src/agentcore/assets/cdk/jest.config.js +9 -0
  22. agentcore_cli-0.31.1/src/agentcore/assets/cdk/lib/cdk-stack.ts +291 -0
  23. agentcore_cli-0.31.1/src/agentcore/assets/cdk/npmignore.template +6 -0
  24. agentcore_cli-0.31.1/src/agentcore/assets/cdk/package.json +30 -0
  25. agentcore_cli-0.31.1/src/agentcore/assets/cdk/test/cdk.test.ts +31 -0
  26. agentcore_cli-0.31.1/src/agentcore/assets/cdk/tsconfig.json +28 -0
  27. agentcore_cli-0.31.1/src/agentcore/assets/container/python/Dockerfile +47 -0
  28. agentcore_cli-0.31.1/src/agentcore/assets/container/python/dockerignore.template +27 -0
  29. agentcore_cli-0.31.1/src/agentcore/assets/container/typescript/Dockerfile +25 -0
  30. agentcore_cli-0.31.1/src/agentcore/assets/container/typescript/dockerignore.template +24 -0
  31. agentcore_cli-0.31.1/src/agentcore/assets/datasets/predefined-v1.jsonl +3 -0
  32. agentcore_cli-0.31.1/src/agentcore/assets/datasets/simulated-v1.jsonl +3 -0
  33. agentcore_cli-0.31.1/src/agentcore/assets/evaluators/autoevals-lambda/execution-role-policy.json +15 -0
  34. agentcore_cli-0.31.1/src/agentcore/assets/evaluators/autoevals-lambda/lambda_function.py +37 -0
  35. agentcore_cli-0.31.1/src/agentcore/assets/evaluators/autoevals-lambda/pyproject.toml +22 -0
  36. agentcore_cli-0.31.1/src/agentcore/assets/evaluators/deepeval-lambda/execution-role-policy.json +15 -0
  37. agentcore_cli-0.31.1/src/agentcore/assets/evaluators/deepeval-lambda/lambda_function.py +29 -0
  38. agentcore_cli-0.31.1/src/agentcore/assets/evaluators/deepeval-lambda/pyproject.toml +19 -0
  39. agentcore_cli-0.31.1/src/agentcore/assets/evaluators/python-lambda/execution-role-policy.json +10 -0
  40. agentcore_cli-0.31.1/src/agentcore/assets/evaluators/python-lambda/lambda_function.py +19 -0
  41. agentcore_cli-0.31.1/src/agentcore/assets/evaluators/python-lambda/pyproject.toml +15 -0
  42. agentcore_cli-0.31.1/src/agentcore/assets/harness/invoke.py.template +74 -0
  43. agentcore_cli-0.31.1/src/agentcore/assets/mcp/python/README.md +27 -0
  44. agentcore_cli-0.31.1/src/agentcore/assets/mcp/python/pyproject.toml +22 -0
  45. agentcore_cli-0.31.1/src/agentcore/assets/mcp/python/server.py +117 -0
  46. agentcore_cli-0.31.1/src/agentcore/assets/mcp/python-lambda/README.md +22 -0
  47. agentcore_cli-0.31.1/src/agentcore/assets/mcp/python-lambda/handler.py +144 -0
  48. agentcore_cli-0.31.1/src/agentcore/assets/mcp/python-lambda/pyproject.toml +15 -0
  49. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/googleadk/base/README.md +22 -0
  50. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/googleadk/base/gitignore.template +41 -0
  51. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/googleadk/base/main.py +124 -0
  52. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/googleadk/base/model/__init__.py +1 -0
  53. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/googleadk/base/model/load.py +41 -0
  54. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/googleadk/base/pyproject.toml +22 -0
  55. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/langchain_langgraph/base/README.md +22 -0
  56. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/langchain_langgraph/base/gitignore.template +41 -0
  57. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/langchain_langgraph/base/main.py +144 -0
  58. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/langchain_langgraph/base/model/__init__.py +1 -0
  59. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/langchain_langgraph/base/model/load.py +123 -0
  60. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/langchain_langgraph/base/pyproject.toml +26 -0
  61. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/strands/base/README.md +22 -0
  62. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/strands/base/gitignore.template +41 -0
  63. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/strands/base/main.py +113 -0
  64. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/strands/base/model/__init__.py +1 -0
  65. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/strands/base/model/load.py +123 -0
  66. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/strands/base/pyproject.toml +23 -0
  67. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/strands/capabilities/memory/__init__.py +1 -0
  68. agentcore_cli-0.31.1/src/agentcore/assets/python/a2a/strands/capabilities/memory/session.py +46 -0
  69. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/googleadk/base/README.md +30 -0
  70. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/googleadk/base/gitignore.template +41 -0
  71. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/googleadk/base/main.py +91 -0
  72. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/googleadk/base/model/__init__.py +1 -0
  73. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/googleadk/base/model/load.py +41 -0
  74. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/googleadk/base/pyproject.toml +25 -0
  75. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/langchain_langgraph/base/README.md +22 -0
  76. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/langchain_langgraph/base/gitignore.template +41 -0
  77. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/langchain_langgraph/base/main.py +130 -0
  78. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/langchain_langgraph/base/model/__init__.py +1 -0
  79. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/langchain_langgraph/base/model/load.py +123 -0
  80. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/langchain_langgraph/base/pyproject.toml +31 -0
  81. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/strands/base/README.md +22 -0
  82. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/strands/base/gitignore.template +41 -0
  83. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/strands/base/main.py +105 -0
  84. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/strands/base/model/__init__.py +1 -0
  85. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/strands/base/model/load.py +123 -0
  86. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/strands/base/pyproject.toml +27 -0
  87. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/strands/capabilities/memory/__init__.py +1 -0
  88. agentcore_cli-0.31.1/src/agentcore/assets/python/agui/strands/capabilities/memory/session.py +46 -0
  89. agentcore_cli-0.31.1/src/agentcore/assets/python/http/autogen/base/README.md +45 -0
  90. agentcore_cli-0.31.1/src/agentcore/assets/python/http/autogen/base/gitignore.template +41 -0
  91. agentcore_cli-0.31.1/src/agentcore/assets/python/http/autogen/base/main.py +145 -0
  92. agentcore_cli-0.31.1/src/agentcore/assets/python/http/autogen/base/mcp_client/__init__.py +1 -0
  93. agentcore_cli-0.31.1/src/agentcore/assets/python/http/autogen/base/mcp_client/client.py +28 -0
  94. agentcore_cli-0.31.1/src/agentcore/assets/python/http/autogen/base/model/__init__.py +1 -0
  95. agentcore_cli-0.31.1/src/agentcore/assets/python/http/autogen/base/model/load.py +136 -0
  96. agentcore_cli-0.31.1/src/agentcore/assets/python/http/autogen/base/pyproject.toml +34 -0
  97. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/Dockerfile +41 -0
  98. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/README.md +178 -0
  99. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/client.py +200 -0
  100. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/lifecycle/server.py +641 -0
  101. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/otel/collector.yaml +69 -0
  102. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/plugins/acr-report/.codex-plugin/plugin.json +6 -0
  103. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/plugins/acr-report/skills/acr-report/SKILL.md +16 -0
  104. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/policies/bma-acr-policy.json +11 -0
  105. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/policies/bma-session-policy.json +35 -0
  106. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/policies/bma-session-trust.json +20 -0
  107. agentcore_cli-0.31.1/src/agentcore/assets/python/http/bma/base/pyproject.toml +21 -0
  108. agentcore_cli-0.31.1/src/agentcore/assets/python/http/googleadk/base/README.md +45 -0
  109. agentcore_cli-0.31.1/src/agentcore/assets/python/http/googleadk/base/gitignore.template +41 -0
  110. agentcore_cli-0.31.1/src/agentcore/assets/python/http/googleadk/base/main.py +207 -0
  111. agentcore_cli-0.31.1/src/agentcore/assets/python/http/googleadk/base/mcp_client/__init__.py +1 -0
  112. agentcore_cli-0.31.1/src/agentcore/assets/python/http/googleadk/base/mcp_client/client.py +75 -0
  113. agentcore_cli-0.31.1/src/agentcore/assets/python/http/googleadk/base/model/__init__.py +1 -0
  114. agentcore_cli-0.31.1/src/agentcore/assets/python/http/googleadk/base/model/load.py +41 -0
  115. agentcore_cli-0.31.1/src/agentcore/assets/python/http/googleadk/base/pyproject.toml +24 -0
  116. agentcore_cli-0.31.1/src/agentcore/assets/python/http/langchain_langgraph/base/README.md +45 -0
  117. agentcore_cli-0.31.1/src/agentcore/assets/python/http/langchain_langgraph/base/gitignore.template +41 -0
  118. agentcore_cli-0.31.1/src/agentcore/assets/python/http/langchain_langgraph/base/main.py +227 -0
  119. agentcore_cli-0.31.1/src/agentcore/assets/python/http/langchain_langgraph/base/mcp_client/__init__.py +1 -0
  120. agentcore_cli-0.31.1/src/agentcore/assets/python/http/langchain_langgraph/base/mcp_client/client.py +79 -0
  121. agentcore_cli-0.31.1/src/agentcore/assets/python/http/langchain_langgraph/base/model/__init__.py +1 -0
  122. agentcore_cli-0.31.1/src/agentcore/assets/python/http/langchain_langgraph/base/model/load.py +123 -0
  123. agentcore_cli-0.31.1/src/agentcore/assets/python/http/langchain_langgraph/base/pyproject.toml +38 -0
  124. agentcore_cli-0.31.1/src/agentcore/assets/python/http/openaiagents/base/README.md +45 -0
  125. agentcore_cli-0.31.1/src/agentcore/assets/python/http/openaiagents/base/gitignore.template +41 -0
  126. agentcore_cli-0.31.1/src/agentcore/assets/python/http/openaiagents/base/main.py +200 -0
  127. agentcore_cli-0.31.1/src/agentcore/assets/python/http/openaiagents/base/mcp_client/__init__.py +1 -0
  128. agentcore_cli-0.31.1/src/agentcore/assets/python/http/openaiagents/base/mcp_client/client.py +74 -0
  129. agentcore_cli-0.31.1/src/agentcore/assets/python/http/openaiagents/base/model/__init__.py +1 -0
  130. agentcore_cli-0.31.1/src/agentcore/assets/python/http/openaiagents/base/model/load.py +37 -0
  131. agentcore_cli-0.31.1/src/agentcore/assets/python/http/openaiagents/base/pyproject.toml +21 -0
  132. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/README.md +46 -0
  133. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/gitignore.template +41 -0
  134. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/main.py +714 -0
  135. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/mcp_client/__init__.py +1 -0
  136. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/mcp_client/client.py +116 -0
  137. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/model/__init__.py +1 -0
  138. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/model/load.py +239 -0
  139. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/model/mantle_compat.py +21 -0
  140. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/pyproject.toml +31 -0
  141. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/base/skills/fetcher.py +279 -0
  142. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/capabilities/execution-limits/hooks/execution_limits.py +54 -0
  143. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/capabilities/memory/__init__.py +1 -0
  144. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/capabilities/memory/session.py +47 -0
  145. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/capabilities/payments/__init__.py +4 -0
  146. agentcore_cli-0.31.1/src/agentcore/assets/python/http/strands/capabilities/payments/payments.py +142 -0
  147. agentcore_cli-0.31.1/src/agentcore/assets/python/mcp/standalone/base/README.md +36 -0
  148. agentcore_cli-0.31.1/src/agentcore/assets/python/mcp/standalone/base/gitignore.template +41 -0
  149. agentcore_cli-0.31.1/src/agentcore/assets/python/mcp/standalone/base/main.py +83 -0
  150. agentcore_cli-0.31.1/src/agentcore/assets/python/mcp/standalone/base/pyproject.toml +16 -0
  151. agentcore_cli-0.31.1/src/agentcore/assets/typescript/.gitkeep +0 -0
  152. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/strands/base/README.md +42 -0
  153. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/strands/base/gitignore.template +22 -0
  154. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/strands/base/main.ts +149 -0
  155. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/strands/base/mcp_client/client.ts +11 -0
  156. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/strands/base/model/load.ts +102 -0
  157. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/strands/base/package.json +38 -0
  158. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/strands/base/tsconfig.json +19 -0
  159. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/strands/capabilities/memory/memory.ts +52 -0
  160. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/vercelai/base/README.md +42 -0
  161. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/vercelai/base/gitignore.template +22 -0
  162. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/vercelai/base/main.ts +70 -0
  163. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/vercelai/base/model/load.ts +121 -0
  164. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/vercelai/base/package.json +35 -0
  165. agentcore_cli-0.31.1/src/agentcore/assets/typescript/http/vercelai/base/tsconfig.json +19 -0
  166. agentcore_cli-0.31.1/src/agentcore/aws/__init__.py +263 -0
  167. agentcore_cli-0.31.1/src/agentcore/aws/_aws_errors.py +72 -0
  168. agentcore_cli-0.31.1/src/agentcore/aws/_http.py +176 -0
  169. agentcore_cli-0.31.1/src/agentcore/aws/_util.py +37 -0
  170. agentcore_cli-0.31.1/src/agentcore/aws/account.py +165 -0
  171. agentcore_cli-0.31.1/src/agentcore/aws/agentcore.py +971 -0
  172. agentcore_cli-0.31.1/src/agentcore/aws/agentcore_ab_tests.py +230 -0
  173. agentcore_cli-0.31.1/src/agentcore/aws/agentcore_batch_evaluation.py +227 -0
  174. agentcore_cli-0.31.1/src/agentcore/aws/agentcore_config_bundles.py +220 -0
  175. agentcore_cli-0.31.1/src/agentcore/aws/agentcore_control.py +994 -0
  176. agentcore_cli-0.31.1/src/agentcore/aws/agentcore_datasets.py +222 -0
  177. agentcore_cli-0.31.1/src/agentcore/aws/agentcore_harness.py +330 -0
  178. agentcore_cli-0.31.1/src/agentcore/aws/agentcore_payments.py +430 -0
  179. agentcore_cli-0.31.1/src/agentcore/aws/agentcore_recommendation.py +140 -0
  180. agentcore_cli-0.31.1/src/agentcore/aws/agui_parser.py +131 -0
  181. agentcore_cli-0.31.1/src/agentcore/aws/agui_types.py +342 -0
  182. agentcore_cli-0.31.1/src/agentcore/aws/api_client.py +87 -0
  183. agentcore_cli-0.31.1/src/agentcore/aws/arn.py +18 -0
  184. agentcore_cli-0.31.1/src/agentcore/aws/aws_context.py +23 -0
  185. agentcore_cli-0.31.1/src/agentcore/aws/bedrock.py +44 -0
  186. agentcore_cli-0.31.1/src/agentcore/aws/bedrock_agent.py +129 -0
  187. agentcore_cli-0.31.1/src/agentcore/aws/bedrock_import.py +252 -0
  188. agentcore_cli-0.31.1/src/agentcore/aws/bedrock_import_types.py +111 -0
  189. agentcore_cli-0.31.1/src/agentcore/aws/cloudwatch.py +136 -0
  190. agentcore_cli-0.31.1/src/agentcore/aws/connect_shell.py +266 -0
  191. agentcore_cli-0.31.1/src/agentcore/aws/iam.py +41 -0
  192. agentcore_cli-0.31.1/src/agentcore/aws/partition.py +58 -0
  193. agentcore_cli-0.31.1/src/agentcore/aws/policy_generation.py +116 -0
  194. agentcore_cli-0.31.1/src/agentcore/aws/region.py +54 -0
  195. agentcore_cli-0.31.1/src/agentcore/aws/retry.py +27 -0
  196. agentcore_cli-0.31.1/src/agentcore/aws/shell_framer.py +136 -0
  197. agentcore_cli-0.31.1/src/agentcore/aws/stage_endpoint.py +39 -0
  198. agentcore_cli-0.31.1/src/agentcore/aws/target_region.py +54 -0
  199. agentcore_cli-0.31.1/src/agentcore/aws/transaction_search.py +97 -0
  200. agentcore_cli-0.31.1/src/agentcore/cdk/__init__.py +10 -0
  201. agentcore_cli-0.31.1/src/agentcore/cdk/constants.py +13 -0
  202. agentcore_cli-0.31.1/src/agentcore/cdk/local_cdk_project.py +48 -0
  203. agentcore_cli-0.31.1/src/agentcore/cdk/toolkit.py +706 -0
  204. agentcore_cli-0.31.1/src/agentcore/cli/__init__.py +0 -0
  205. agentcore_cli-0.31.1/src/agentcore/cli/commands/__init__.py +0 -0
  206. agentcore_cli-0.31.1/src/agentcore/cli/commands/_jobs_common.py +39 -0
  207. agentcore_cli-0.31.1/src/agentcore/cli/commands/_run_wizards.py +639 -0
  208. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/__init__.py +37 -0
  209. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/_commander.py +52 -0
  210. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/_common.py +47 -0
  211. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/agent_wizard.py +528 -0
  212. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/auth_options.py +154 -0
  213. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/skill_action.py +105 -0
  214. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/skill_command.py +87 -0
  215. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/tool_action.py +160 -0
  216. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/tool_command.py +117 -0
  217. agentcore_cli-0.31.1/src/agentcore/cli/commands/add/validate.py +333 -0
  218. agentcore_cli-0.31.1/src/agentcore/cli/commands/capacity_provider/__init__.py +86 -0
  219. agentcore_cli-0.31.1/src/agentcore/cli/commands/capacity_provider/action.py +114 -0
  220. agentcore_cli-0.31.1/src/agentcore/cli/commands/capacity_provider/constants.py +22 -0
  221. agentcore_cli-0.31.1/src/agentcore/cli/commands/config.py +91 -0
  222. agentcore_cli-0.31.1/src/agentcore/cli/commands/config_bundle.py +251 -0
  223. agentcore_cli-0.31.1/src/agentcore/cli/commands/create/__init__.py +643 -0
  224. agentcore_cli-0.31.1/src/agentcore/cli/commands/create/action.py +406 -0
  225. agentcore_cli-0.31.1/src/agentcore/cli/commands/create/dependencies.py +91 -0
  226. agentcore_cli-0.31.1/src/agentcore/cli/commands/create/harness_validate.py +82 -0
  227. agentcore_cli-0.31.1/src/agentcore/cli/commands/create/validate.py +195 -0
  228. agentcore_cli-0.31.1/src/agentcore/cli/commands/create/wizard.py +127 -0
  229. agentcore_cli-0.31.1/src/agentcore/cli/commands/dataset.py +119 -0
  230. agentcore_cli-0.31.1/src/agentcore/cli/commands/deploy/__init__.py +31 -0
  231. agentcore_cli-0.31.1/src/agentcore/cli/commands/deploy/_guards.py +25 -0
  232. agentcore_cli-0.31.1/src/agentcore/cli/commands/deploy/actions.py +840 -0
  233. agentcore_cli-0.31.1/src/agentcore/cli/commands/deploy/command.py +349 -0
  234. agentcore_cli-0.31.1/src/agentcore/cli/commands/deploy/progress.py +115 -0
  235. agentcore_cli-0.31.1/src/agentcore/cli/commands/deploy/types.py +68 -0
  236. agentcore_cli-0.31.1/src/agentcore/cli/commands/deploy/utils.py +43 -0
  237. agentcore_cli-0.31.1/src/agentcore/cli/commands/deploy/validate.py +21 -0
  238. agentcore_cli-0.31.1/src/agentcore/cli/commands/dev/__init__.py +5 -0
  239. agentcore_cli-0.31.1/src/agentcore/cli/commands/dev/_deps.py +50 -0
  240. agentcore_cli-0.31.1/src/agentcore/cli/commands/dev/browser_mode.py +270 -0
  241. agentcore_cli-0.31.1/src/agentcore/cli/commands/dev/command.py +450 -0
  242. agentcore_cli-0.31.1/src/agentcore/cli/commands/dev/terminal_mode.py +379 -0
  243. agentcore_cli-0.31.1/src/agentcore/cli/commands/exec/__init__.py +29 -0
  244. agentcore_cli-0.31.1/src/agentcore/cli/commands/exec/action.py +442 -0
  245. agentcore_cli-0.31.1/src/agentcore/cli/commands/exec/command.py +206 -0
  246. agentcore_cli-0.31.1/src/agentcore/cli/commands/exec/types.py +35 -0
  247. agentcore_cli-0.31.1/src/agentcore/cli/commands/export/__init__.py +114 -0
  248. agentcore_cli-0.31.1/src/agentcore/cli/commands/export/constants.py +21 -0
  249. agentcore_cli-0.31.1/src/agentcore/cli/commands/export/fetch_harness_spec.py +234 -0
  250. agentcore_cli-0.31.1/src/agentcore/cli/commands/export/harness_action.py +385 -0
  251. agentcore_cli-0.31.1/src/agentcore/cli/commands/export/harness_mapper.py +868 -0
  252. agentcore_cli-0.31.1/src/agentcore/cli/commands/export/harness_resolver.py +95 -0
  253. agentcore_cli-0.31.1/src/agentcore/cli/commands/export/types.py +90 -0
  254. agentcore_cli-0.31.1/src/agentcore/cli/commands/export/wizard.py +97 -0
  255. agentcore_cli-0.31.1/src/agentcore/cli/commands/feedback/__init__.py +69 -0
  256. agentcore_cli-0.31.1/src/agentcore/cli/commands/feedback/action.py +30 -0
  257. agentcore_cli-0.31.1/src/agentcore/cli/commands/feedback/consent_prompt.py +35 -0
  258. agentcore_cli-0.31.1/src/agentcore/cli/commands/feedback/wizard.py +49 -0
  259. agentcore_cli-0.31.1/src/agentcore/cli/commands/fetch/__init__.py +69 -0
  260. agentcore_cli-0.31.1/src/agentcore/cli/commands/fetch/action.py +62 -0
  261. agentcore_cli-0.31.1/src/agentcore/cli/commands/help.py +65 -0
  262. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/__init__.py +167 -0
  263. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/_js.py +72 -0
  264. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/actions.py +457 -0
  265. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/constants.py +45 -0
  266. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/import_evaluator.py +140 -0
  267. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/import_gateway.py +520 -0
  268. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/import_memory.py +128 -0
  269. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/import_online_eval.py +165 -0
  270. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/import_pipeline.py +145 -0
  271. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/import_runtime.py +214 -0
  272. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/import_utils.py +410 -0
  273. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/phase1_update.py +110 -0
  274. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/phase2_import.py +206 -0
  275. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/resource_import.py +228 -0
  276. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/template_utils.py +148 -0
  277. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/types.py +150 -0
  278. agentcore_cli-0.31.1/src/agentcore/cli/commands/import_/yaml_parser.py +265 -0
  279. agentcore_cli-0.31.1/src/agentcore/cli/commands/init.py +196 -0
  280. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/__init__.py +32 -0
  281. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/_deps.py +73 -0
  282. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/action.py +840 -0
  283. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/command.py +490 -0
  284. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/constants.py +40 -0
  285. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/guards.py +23 -0
  286. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/interactive.py +604 -0
  287. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/resolve.py +149 -0
  288. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/resolve_prompt.py +60 -0
  289. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/types.py +61 -0
  290. agentcore_cli-0.31.1/src/agentcore/cli/commands/invoke/validate.py +33 -0
  291. agentcore_cli-0.31.1/src/agentcore/cli/commands/job_actions.py +239 -0
  292. agentcore_cli-0.31.1/src/agentcore/cli/commands/job_history.py +380 -0
  293. agentcore_cli-0.31.1/src/agentcore/cli/commands/logs/__init__.py +53 -0
  294. agentcore_cli-0.31.1/src/agentcore/cli/commands/logs/action.py +159 -0
  295. agentcore_cli-0.31.1/src/agentcore/cli/commands/logs/filter_pattern.py +17 -0
  296. agentcore_cli-0.31.1/src/agentcore/cli/commands/logs/guards.py +51 -0
  297. agentcore_cli-0.31.1/src/agentcore/cli/commands/logs_evals.py +42 -0
  298. agentcore_cli-0.31.1/src/agentcore/cli/commands/package.py +118 -0
  299. agentcore_cli-0.31.1/src/agentcore/cli/commands/remove/__init__.py +172 -0
  300. agentcore_cli-0.31.1/src/agentcore/cli/commands/remove/skill_command.py +131 -0
  301. agentcore_cli-0.31.1/src/agentcore/cli/commands/remove/tool_command.py +59 -0
  302. agentcore_cli-0.31.1/src/agentcore/cli/commands/run.py +808 -0
  303. agentcore_cli-0.31.1/src/agentcore/cli/commands/run_ingest.py +97 -0
  304. agentcore_cli-0.31.1/src/agentcore/cli/commands/shared/__init__.py +0 -0
  305. agentcore_cli-0.31.1/src/agentcore/cli/commands/shared/arn_utils.py +9 -0
  306. agentcore_cli-0.31.1/src/agentcore/cli/commands/shared/filesystem_utils.py +421 -0
  307. agentcore_cli-0.31.1/src/agentcore/cli/commands/shared/header_utils.py +87 -0
  308. agentcore_cli-0.31.1/src/agentcore/cli/commands/shared/indexed_key_parser.py +76 -0
  309. agentcore_cli-0.31.1/src/agentcore/cli/commands/shared/lifecycle_utils.py +72 -0
  310. agentcore_cli-0.31.1/src/agentcore/cli/commands/shared/region_utils.py +20 -0
  311. agentcore_cli-0.31.1/src/agentcore/cli/commands/shared/vpc_utils.py +99 -0
  312. agentcore_cli-0.31.1/src/agentcore/cli/commands/status/__init__.py +30 -0
  313. agentcore_cli-0.31.1/src/agentcore/cli/commands/status/_guards.py +25 -0
  314. agentcore_cli-0.31.1/src/agentcore/cli/commands/status/action.py +741 -0
  315. agentcore_cli-0.31.1/src/agentcore/cli/commands/status/command.py +321 -0
  316. agentcore_cli-0.31.1/src/agentcore/cli/commands/status/constants.py +36 -0
  317. agentcore_cli-0.31.1/src/agentcore/cli/commands/status/format_knowledge_base.py +111 -0
  318. agentcore_cli-0.31.1/src/agentcore/cli/commands/telemetry.py +79 -0
  319. agentcore_cli-0.31.1/src/agentcore/cli/commands/traces/__init__.py +155 -0
  320. agentcore_cli-0.31.1/src/agentcore/cli/commands/traces/action.py +123 -0
  321. agentcore_cli-0.31.1/src/agentcore/cli/commands/update/__init__.py +63 -0
  322. agentcore_cli-0.31.1/src/agentcore/cli/commands/update/action.py +164 -0
  323. agentcore_cli-0.31.1/src/agentcore/cli/commands/validate.py +165 -0
  324. agentcore_cli-0.31.1/src/agentcore/cli/constants.py +96 -0
  325. agentcore_cli-0.31.1/src/agentcore/cli/errors.py +118 -0
  326. agentcore_cli-0.31.1/src/agentcore/cli/external_requirements/__init__.py +67 -0
  327. agentcore_cli-0.31.1/src/agentcore/cli/external_requirements/checks.py +280 -0
  328. agentcore_cli-0.31.1/src/agentcore/cli/external_requirements/detect.py +55 -0
  329. agentcore_cli-0.31.1/src/agentcore/cli/external_requirements/versions.py +57 -0
  330. agentcore_cli-0.31.1/src/agentcore/cli/groups.py +23 -0
  331. agentcore_cli-0.31.1/src/agentcore/cli/interactive.py +85 -0
  332. agentcore_cli-0.31.1/src/agentcore/cli/main.py +137 -0
  333. agentcore_cli-0.31.1/src/agentcore/cli/naming.py +11 -0
  334. agentcore_cli-0.31.1/src/agentcore/cli/notices.py +42 -0
  335. agentcore_cli-0.31.1/src/agentcore/cli/project.py +34 -0
  336. agentcore_cli-0.31.1/src/agentcore/cli/run_command.py +27 -0
  337. agentcore_cli-0.31.1/src/agentcore/cli/tree.py +135 -0
  338. agentcore_cli-0.31.1/src/agentcore/cli/update_notifier.py +123 -0
  339. agentcore_cli-0.31.1/src/agentcore/cli/variadic.py +50 -0
  340. agentcore_cli-0.31.1/src/agentcore/cloudformation/__init__.py +84 -0
  341. agentcore_cli-0.31.1/src/agentcore/cloudformation/bootstrap.py +64 -0
  342. agentcore_cli-0.31.1/src/agentcore/cloudformation/logical_ids.py +37 -0
  343. agentcore_cli-0.31.1/src/agentcore/cloudformation/outputs.py +566 -0
  344. agentcore_cli-0.31.1/src/agentcore/cloudformation/stack_discovery.py +75 -0
  345. agentcore_cli-0.31.1/src/agentcore/cloudformation/stack_events.py +107 -0
  346. agentcore_cli-0.31.1/src/agentcore/cloudformation/stack_status.py +98 -0
  347. agentcore_cli-0.31.1/src/agentcore/cloudformation/types.py +44 -0
  348. agentcore_cli-0.31.1/src/agentcore/lib/__init__.py +68 -0
  349. agentcore_cli-0.31.1/src/agentcore/lib/constants.py +77 -0
  350. agentcore_cli-0.31.1/src/agentcore/lib/dependency_management/__init__.py +23 -0
  351. agentcore_cli-0.31.1/src/agentcore/lib/dependency_management/messages.py +92 -0
  352. agentcore_cli-0.31.1/src/agentcore/lib/dependency_management/plan.py +98 -0
  353. agentcore_cli-0.31.1/src/agentcore/lib/dependency_management/semver.py +137 -0
  354. agentcore_cli-0.31.1/src/agentcore/lib/dependency_management/sync.py +139 -0
  355. agentcore_cli-0.31.1/src/agentcore/lib/dependency_management/types.py +56 -0
  356. agentcore_cli-0.31.1/src/agentcore/lib/errors/__init__.py +5 -0
  357. agentcore_cli-0.31.1/src/agentcore/lib/errors/types.py +352 -0
  358. agentcore_cli-0.31.1/src/agentcore/lib/errors/validation.py +121 -0
  359. agentcore_cli-0.31.1/src/agentcore/lib/packaging/__init__.py +81 -0
  360. agentcore_cli-0.31.1/src/agentcore/lib/packaging/build_args.py +23 -0
  361. agentcore_cli-0.31.1/src/agentcore/lib/packaging/build_context.py +26 -0
  362. agentcore_cli-0.31.1/src/agentcore/lib/packaging/build_context_dockerignore.py +45 -0
  363. agentcore_cli-0.31.1/src/agentcore/lib/packaging/container.py +95 -0
  364. agentcore_cli-0.31.1/src/agentcore/lib/packaging/helpers.py +289 -0
  365. agentcore_cli-0.31.1/src/agentcore/lib/packaging/node.py +153 -0
  366. agentcore_cli-0.31.1/src/agentcore/lib/packaging/python.py +135 -0
  367. agentcore_cli-0.31.1/src/agentcore/lib/packaging/types.py +69 -0
  368. agentcore_cli-0.31.1/src/agentcore/lib/packaging/uv.py +45 -0
  369. agentcore_cli-0.31.1/src/agentcore/lib/result.py +104 -0
  370. agentcore_cli-0.31.1/src/agentcore/lib/schemas/__init__.py +1 -0
  371. agentcore_cli-0.31.1/src/agentcore/lib/schemas/io/__init__.py +27 -0
  372. agentcore_cli-0.31.1/src/agentcore/lib/schemas/io/config_io.py +458 -0
  373. agentcore_cli-0.31.1/src/agentcore/lib/schemas/io/global_config.py +239 -0
  374. agentcore_cli-0.31.1/src/agentcore/lib/schemas/io/path_resolver.py +132 -0
  375. agentcore_cli-0.31.1/src/agentcore/lib/secrets/__init__.py +18 -0
  376. agentcore_cli-0.31.1/src/agentcore/lib/secrets/cipher.py +70 -0
  377. agentcore_cli-0.31.1/src/agentcore/lib/secrets/key_provider.py +163 -0
  378. agentcore_cli-0.31.1/src/agentcore/lib/secrets/sensitive_keys.py +55 -0
  379. agentcore_cli-0.31.1/src/agentcore/lib/time_constants.py +4 -0
  380. agentcore_cli-0.31.1/src/agentcore/lib/utils/__init__.py +47 -0
  381. agentcore_cli-0.31.1/src/agentcore/lib/utils/aws_account.py +15 -0
  382. agentcore_cli-0.31.1/src/agentcore/lib/utils/credentials.py +68 -0
  383. agentcore_cli-0.31.1/src/agentcore/lib/utils/dotenv.py +32 -0
  384. agentcore_cli-0.31.1/src/agentcore/lib/utils/env.py +105 -0
  385. agentcore_cli-0.31.1/src/agentcore/lib/utils/json_format.py +29 -0
  386. agentcore_cli-0.31.1/src/agentcore/lib/utils/json_rpc.py +22 -0
  387. agentcore_cli-0.31.1/src/agentcore/lib/utils/platform.py +33 -0
  388. agentcore_cli-0.31.1/src/agentcore/lib/utils/polling.py +86 -0
  389. agentcore_cli-0.31.1/src/agentcore/lib/utils/subprocess.py +135 -0
  390. agentcore_cli-0.31.1/src/agentcore/lib/utils/time_parser.py +48 -0
  391. agentcore_cli-0.31.1/src/agentcore/lib/utils/validation.py +106 -0
  392. agentcore_cli-0.31.1/src/agentcore/logging/__init__.py +10 -0
  393. agentcore_cli-0.31.1/src/agentcore/logging/_common.py +77 -0
  394. agentcore_cli-0.31.1/src/agentcore/logging/cdk_io_host.py +36 -0
  395. agentcore_cli-0.31.1/src/agentcore/logging/create_logger.py +107 -0
  396. agentcore_cli-0.31.1/src/agentcore/logging/dev_logger.py +63 -0
  397. agentcore_cli-0.31.1/src/agentcore/logging/exec_logger.py +159 -0
  398. agentcore_cli-0.31.1/src/agentcore/logging/invoke_logger.py +154 -0
  399. agentcore_cli-0.31.1/src/agentcore/logging/remove_logger.py +95 -0
  400. agentcore_cli-0.31.1/src/agentcore/operations/__init__.py +0 -0
  401. agentcore_cli-0.31.1/src/agentcore/operations/agent/__init__.py +0 -0
  402. agentcore_cli-0.31.1/src/agentcore/operations/agent/config_bundle_defaults.py +31 -0
  403. agentcore_cli-0.31.1/src/agentcore/operations/agent/generate/__init__.py +28 -0
  404. agentcore_cli-0.31.1/src/agentcore/operations/agent/generate/schema_mapper.py +319 -0
  405. agentcore_cli-0.31.1/src/agentcore/operations/agent/generate/types.py +172 -0
  406. agentcore_cli-0.31.1/src/agentcore/operations/agent/generate/write_agent_to_project.py +67 -0
  407. agentcore_cli-0.31.1/src/agentcore/operations/agent/import_/__init__.py +31 -0
  408. agentcore_cli-0.31.1/src/agentcore/operations/agent/import_/base_translator.py +449 -0
  409. agentcore_cli-0.31.1/src/agentcore/operations/agent/import_/constants.py +23 -0
  410. agentcore_cli-0.31.1/src/agentcore/operations/agent/import_/execute.py +127 -0
  411. agentcore_cli-0.31.1/src/agentcore/operations/agent/import_/langgraph_translator.py +294 -0
  412. agentcore_cli-0.31.1/src/agentcore/operations/agent/import_/pyproject_generator.py +73 -0
  413. agentcore_cli-0.31.1/src/agentcore/operations/agent/import_/strands_translator.py +289 -0
  414. agentcore_cli-0.31.1/src/agentcore/operations/config_bundle/__init__.py +1 -0
  415. agentcore_cli-0.31.1/src/agentcore/operations/config_bundle/bundle_name_variants.py +9 -0
  416. agentcore_cli-0.31.1/src/agentcore/operations/config_bundle/diff_versions.py +52 -0
  417. agentcore_cli-0.31.1/src/agentcore/operations/config_bundle/resolve_bundle.py +65 -0
  418. agentcore_cli-0.31.1/src/agentcore/operations/connectors/__init__.py +3 -0
  419. agentcore_cli-0.31.1/src/agentcore/operations/connectors/translators.py +63 -0
  420. agentcore_cli-0.31.1/src/agentcore/operations/dataset/__init__.py +21 -0
  421. agentcore_cli-0.31.1/src/agentcore/operations/dataset/delete.py +7 -0
  422. agentcore_cli-0.31.1/src/agentcore/operations/dataset/publish.py +16 -0
  423. agentcore_cli-0.31.1/src/agentcore/operations/dataset/pull.py +21 -0
  424. agentcore_cli-0.31.1/src/agentcore/operations/dataset/push.py +201 -0
  425. agentcore_cli-0.31.1/src/agentcore/operations/dataset/resolve_dataset.py +65 -0
  426. agentcore_cli-0.31.1/src/agentcore/operations/dataset/status.py +18 -0
  427. agentcore_cli-0.31.1/src/agentcore/operations/dataset/wait.py +25 -0
  428. agentcore_cli-0.31.1/src/agentcore/operations/deploy/__init__.py +152 -0
  429. agentcore_cli-0.31.1/src/agentcore/operations/deploy/backfill_vpc_id.py +90 -0
  430. agentcore_cli-0.31.1/src/agentcore/operations/deploy/change_detection.py +84 -0
  431. agentcore_cli-0.31.1/src/agentcore/operations/deploy/constants.py +58 -0
  432. agentcore_cli-0.31.1/src/agentcore/operations/deploy/dependency_sync.py +105 -0
  433. agentcore_cli-0.31.1/src/agentcore/operations/deploy/ensure_target.py +30 -0
  434. agentcore_cli-0.31.1/src/agentcore/operations/deploy/gateway_status.py +44 -0
  435. agentcore_cli-0.31.1/src/agentcore/operations/deploy/managed_memory_notice.py +36 -0
  436. agentcore_cli-0.31.1/src/agentcore/operations/deploy/payment_connector_authorization.py +106 -0
  437. agentcore_cli-0.31.1/src/agentcore/operations/deploy/post_deploy_datasets.py +96 -0
  438. agentcore_cli-0.31.1/src/agentcore/operations/deploy/post_deploy_knowledge_bases.py +104 -0
  439. agentcore_cli-0.31.1/src/agentcore/operations/deploy/post_deploy_observability.py +28 -0
  440. agentcore_cli-0.31.1/src/agentcore/operations/deploy/post_deploy_online_evals.py +60 -0
  441. agentcore_cli-0.31.1/src/agentcore/operations/deploy/pre_deploy_identity.py +505 -0
  442. agentcore_cli-0.31.1/src/agentcore/operations/deploy/preflight.py +385 -0
  443. agentcore_cli-0.31.1/src/agentcore/operations/deploy/region_override.py +45 -0
  444. agentcore_cli-0.31.1/src/agentcore/operations/deploy/teardown.py +153 -0
  445. agentcore_cli-0.31.1/src/agentcore/operations/dev/__init__.py +61 -0
  446. agentcore_cli-0.31.1/src/agentcore/operations/dev/_http.py +79 -0
  447. agentcore_cli-0.31.1/src/agentcore/operations/dev/_server.py +165 -0
  448. agentcore_cli-0.31.1/src/agentcore/operations/dev/codezip_dev_server.py +151 -0
  449. agentcore_cli-0.31.1/src/agentcore/operations/dev/config.py +128 -0
  450. agentcore_cli-0.31.1/src/agentcore/operations/dev/constants.py +9 -0
  451. agentcore_cli-0.31.1/src/agentcore/operations/dev/container_dev_server.py +237 -0
  452. agentcore_cli-0.31.1/src/agentcore/operations/dev/container_runtime.py +37 -0
  453. agentcore_cli-0.31.1/src/agentcore/operations/dev/dev_server.py +244 -0
  454. agentcore_cli-0.31.1/src/agentcore/operations/dev/gateway_env.py +25 -0
  455. agentcore_cli-0.31.1/src/agentcore/operations/dev/invoke.py +214 -0
  456. agentcore_cli-0.31.1/src/agentcore/operations/dev/invoke_a2a.py +204 -0
  457. agentcore_cli-0.31.1/src/agentcore/operations/dev/invoke_agui.py +88 -0
  458. agentcore_cli-0.31.1/src/agentcore/operations/dev/invoke_mcp.py +145 -0
  459. agentcore_cli-0.31.1/src/agentcore/operations/dev/invoke_types.py +30 -0
  460. agentcore_cli-0.31.1/src/agentcore/operations/dev/load_dev_env.py +26 -0
  461. agentcore_cli-0.31.1/src/agentcore/operations/dev/memory_env.py +19 -0
  462. agentcore_cli-0.31.1/src/agentcore/operations/dev/otel/__init__.py +5 -0
  463. agentcore_cli-0.31.1/src/agentcore/operations/dev/otel/collector.py +234 -0
  464. agentcore_cli-0.31.1/src/agentcore/operations/dev/otel/transforms.py +331 -0
  465. agentcore_cli-0.31.1/src/agentcore/operations/dev/payment_env.py +50 -0
  466. agentcore_cli-0.31.1/src/agentcore/operations/dev/server.py +28 -0
  467. agentcore_cli-0.31.1/src/agentcore/operations/dev/sse_transform.py +30 -0
  468. agentcore_cli-0.31.1/src/agentcore/operations/dev/utils.py +152 -0
  469. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/__init__.py +31 -0
  470. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/constants.py +25 -0
  471. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/__init__.py +36 -0
  472. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/_common.py +36 -0
  473. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/_deployed.py +37 -0
  474. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/a2a_proxy.py +37 -0
  475. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/cloudwatch_traces.py +71 -0
  476. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/harness_invocation.py +89 -0
  477. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/harness_utils.py +95 -0
  478. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/invocations.py +327 -0
  479. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/mcp_proxy.py +119 -0
  480. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/memory.py +84 -0
  481. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/resources.py +351 -0
  482. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/start.py +182 -0
  483. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/status.py +25 -0
  484. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/handlers/traces.py +50 -0
  485. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/run_web_ui.py +60 -0
  486. agentcore_cli-0.31.1/src/agentcore/operations/dev/web_ui/web_server.py +297 -0
  487. agentcore_cli-0.31.1/src/agentcore/operations/eval/__init__.py +8 -0
  488. agentcore_cli-0.31.1/src/agentcore/operations/eval/list_eval_runs.py +18 -0
  489. agentcore_cli-0.31.1/src/agentcore/operations/eval/logs_eval.py +119 -0
  490. agentcore_cli-0.31.1/src/agentcore/operations/eval/pause_resume.py +90 -0
  491. agentcore_cli-0.31.1/src/agentcore/operations/eval/run_eval.py +354 -0
  492. agentcore_cli-0.31.1/src/agentcore/operations/eval/shared/__init__.py +0 -0
  493. agentcore_cli-0.31.1/src/agentcore/operations/eval/shared/dataset_loader.py +68 -0
  494. agentcore_cli-0.31.1/src/agentcore/operations/eval/shared/dataset_session_provider.py +122 -0
  495. agentcore_cli-0.31.1/src/agentcore/operations/eval/shared/evaluator_runner.py +89 -0
  496. agentcore_cli-0.31.1/src/agentcore/operations/eval/shared/scenario_executor.py +71 -0
  497. agentcore_cli-0.31.1/src/agentcore/operations/eval/shared/span_collector.py +255 -0
  498. agentcore_cli-0.31.1/src/agentcore/operations/eval/storage.py +67 -0
  499. agentcore_cli-0.31.1/src/agentcore/operations/feedback/__init__.py +21 -0
  500. agentcore_cli-0.31.1/src/agentcore/operations/feedback/aperture_client.py +98 -0
  501. agentcore_cli-0.31.1/src/agentcore/operations/feedback/build_payload.py +97 -0
  502. agentcore_cli-0.31.1/src/agentcore/operations/feedback/constants.py +26 -0
  503. agentcore_cli-0.31.1/src/agentcore/operations/feedback/submit_feedback.py +150 -0
  504. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/__init__.py +36 -0
  505. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/_target.py +17 -0
  506. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/fetch_gateway_token.py +75 -0
  507. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/fetch_harness_token.py +72 -0
  508. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/fetch_runtime_token.py +76 -0
  509. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/list_agents.py +18 -0
  510. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/list_gateways.py +26 -0
  511. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/list_harnesses.py +23 -0
  512. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/oauth_token.py +162 -0
  513. agentcore_cli-0.31.1/src/agentcore/operations/fetch_access/types.py +34 -0
  514. agentcore_cli-0.31.1/src/agentcore/operations/harness/__init__.py +1 -0
  515. agentcore_cli-0.31.1/src/agentcore/operations/harness/orphan.py +84 -0
  516. agentcore_cli-0.31.1/src/agentcore/operations/harness/skill_utils.py +56 -0
  517. agentcore_cli-0.31.1/src/agentcore/operations/identity/__init__.py +33 -0
  518. agentcore_cli-0.31.1/src/agentcore/operations/identity/api_key_credential_provider.py +68 -0
  519. agentcore_cli-0.31.1/src/agentcore/operations/identity/oauth2_credential_provider.py +95 -0
  520. agentcore_cli-0.31.1/src/agentcore/operations/ingest/__init__.py +184 -0
  521. agentcore_cli-0.31.1/src/agentcore/operations/init/__init__.py +3 -0
  522. agentcore_cli-0.31.1/src/agentcore/operations/init/files.py +59 -0
  523. agentcore_cli-0.31.1/src/agentcore/operations/insights/__init__.py +21 -0
  524. agentcore_cli-0.31.1/src/agentcore/operations/insights/insights_storage.py +67 -0
  525. agentcore_cli-0.31.1/src/agentcore/operations/insights/run_insights.py +148 -0
  526. agentcore_cli-0.31.1/src/agentcore/operations/invoke/__init__.py +5 -0
  527. agentcore_cli-0.31.1/src/agentcore/operations/invoke/resolve_agent_context.py +85 -0
  528. agentcore_cli-0.31.1/src/agentcore/operations/jobs/__init__.py +38 -0
  529. agentcore_cli-0.31.1/src/agentcore/operations/jobs/ab_test/__init__.py +0 -0
  530. agentcore_cli-0.31.1/src/agentcore/operations/jobs/ab_test/build_options.py +126 -0
  531. agentcore_cli-0.31.1/src/agentcore/operations/jobs/ab_test/format.py +121 -0
  532. agentcore_cli-0.31.1/src/agentcore/operations/jobs/ab_test/handler.py +412 -0
  533. agentcore_cli-0.31.1/src/agentcore/operations/jobs/ab_test/promote.py +142 -0
  534. agentcore_cli-0.31.1/src/agentcore/operations/jobs/ab_test/resolve.py +221 -0
  535. agentcore_cli-0.31.1/src/agentcore/operations/jobs/batch_evaluation/__init__.py +0 -0
  536. agentcore_cli-0.31.1/src/agentcore/operations/jobs/batch_evaluation/build_source.py +68 -0
  537. agentcore_cli-0.31.1/src/agentcore/operations/jobs/batch_evaluation/dataset_phase1.py +95 -0
  538. agentcore_cli-0.31.1/src/agentcore/operations/jobs/batch_evaluation/format.py +58 -0
  539. agentcore_cli-0.31.1/src/agentcore/operations/jobs/batch_evaluation/handler.py +203 -0
  540. agentcore_cli-0.31.1/src/agentcore/operations/jobs/insights/__init__.py +0 -0
  541. agentcore_cli-0.31.1/src/agentcore/operations/jobs/insights/format.py +65 -0
  542. agentcore_cli-0.31.1/src/agentcore/operations/jobs/insights/handler.py +178 -0
  543. agentcore_cli-0.31.1/src/agentcore/operations/jobs/recommendation/__init__.py +0 -0
  544. agentcore_cli-0.31.1/src/agentcore/operations/jobs/recommendation/apply_to_bundle.py +76 -0
  545. agentcore_cli-0.31.1/src/agentcore/operations/jobs/recommendation/build_config.py +271 -0
  546. agentcore_cli-0.31.1/src/agentcore/operations/jobs/recommendation/fetch_session_spans.py +93 -0
  547. agentcore_cli-0.31.1/src/agentcore/operations/jobs/recommendation/format.py +77 -0
  548. agentcore_cli-0.31.1/src/agentcore/operations/jobs/recommendation/handler.py +331 -0
  549. agentcore_cli-0.31.1/src/agentcore/operations/jobs/shared/__init__.py +0 -0
  550. agentcore_cli-0.31.1/src/agentcore/operations/jobs/shared/constants.py +85 -0
  551. agentcore_cli-0.31.1/src/agentcore/operations/jobs/shared/engine.py +187 -0
  552. agentcore_cli-0.31.1/src/agentcore/operations/jobs/shared/format.py +104 -0
  553. agentcore_cli-0.31.1/src/agentcore/operations/jobs/shared/region.py +34 -0
  554. agentcore_cli-0.31.1/src/agentcore/operations/jobs/shared/resolve_agent_state.py +30 -0
  555. agentcore_cli-0.31.1/src/agentcore/operations/jobs/shared/storage.py +117 -0
  556. agentcore_cli-0.31.1/src/agentcore/operations/jobs/shared/wait.py +30 -0
  557. agentcore_cli-0.31.1/src/agentcore/operations/knowledge_base/__init__.py +33 -0
  558. agentcore_cli-0.31.1/src/agentcore/operations/knowledge_base/connector_config.py +105 -0
  559. agentcore_cli-0.31.1/src/agentcore/operations/knowledge_base/hydrate_data_sources.py +59 -0
  560. agentcore_cli-0.31.1/src/agentcore/operations/mcp/__init__.py +4 -0
  561. agentcore_cli-0.31.1/src/agentcore/operations/memory/__init__.py +13 -0
  562. agentcore_cli-0.31.1/src/agentcore/operations/memory/_records.py +72 -0
  563. agentcore_cli-0.31.1/src/agentcore/operations/memory/list_memory_records.py +45 -0
  564. agentcore_cli-0.31.1/src/agentcore/operations/memory/retrieve_memory_records.py +52 -0
  565. agentcore_cli-0.31.1/src/agentcore/operations/node/__init__.py +15 -0
  566. agentcore_cli-0.31.1/src/agentcore/operations/node/setup.py +36 -0
  567. agentcore_cli-0.31.1/src/agentcore/operations/python/__init__.py +17 -0
  568. agentcore_cli-0.31.1/src/agentcore/operations/python/setup.py +47 -0
  569. agentcore_cli-0.31.1/src/agentcore/operations/resolve_agent.py +159 -0
  570. agentcore_cli-0.31.1/src/agentcore/operations/session/__init__.py +86 -0
  571. agentcore_cli-0.31.1/src/agentcore/operations/traces/__init__.py +29 -0
  572. agentcore_cli-0.31.1/src/agentcore/operations/traces/get_trace.py +202 -0
  573. agentcore_cli-0.31.1/src/agentcore/operations/traces/insights_query.py +74 -0
  574. agentcore_cli-0.31.1/src/agentcore/operations/traces/list_traces.py +46 -0
  575. agentcore_cli-0.31.1/src/agentcore/operations/traces/trace_url.py +25 -0
  576. agentcore_cli-0.31.1/src/agentcore/operations/traces/types.py +55 -0
  577. agentcore_cli-0.31.1/src/agentcore/primitives/__init__.py +0 -0
  578. agentcore_cli-0.31.1/src/agentcore/primitives/_gateway_target_wizard.py +293 -0
  579. agentcore_cli-0.31.1/src/agentcore/primitives/_gateway_validation.py +442 -0
  580. agentcore_cli-0.31.1/src/agentcore/primitives/_harness_cli.py +557 -0
  581. agentcore_cli-0.31.1/src/agentcore/primitives/_harness_validation.py +163 -0
  582. agentcore_cli-0.31.1/src/agentcore/primitives/_harness_wizard.py +726 -0
  583. agentcore_cli-0.31.1/src/agentcore/primitives/_knowledge_base_wizard.py +259 -0
  584. agentcore_cli-0.31.1/src/agentcore/primitives/_payment_wizard.py +331 -0
  585. agentcore_cli-0.31.1/src/agentcore/primitives/_policy_form.py +160 -0
  586. agentcore_cli-0.31.1/src/agentcore/primitives/agent.py +817 -0
  587. agentcore_cli-0.31.1/src/agentcore/primitives/auth_utils.py +77 -0
  588. agentcore_cli-0.31.1/src/agentcore/primitives/base.py +178 -0
  589. agentcore_cli-0.31.1/src/agentcore/primitives/capacity_provider.py +501 -0
  590. agentcore_cli-0.31.1/src/agentcore/primitives/config_bundle.py +329 -0
  591. agentcore_cli-0.31.1/src/agentcore/primitives/credential.py +387 -0
  592. agentcore_cli-0.31.1/src/agentcore/primitives/credential_utils.py +45 -0
  593. agentcore_cli-0.31.1/src/agentcore/primitives/dataset.py +211 -0
  594. agentcore_cli-0.31.1/src/agentcore/primitives/deployed_gateways.py +34 -0
  595. agentcore_cli-0.31.1/src/agentcore/primitives/evaluator.py +909 -0
  596. agentcore_cli-0.31.1/src/agentcore/primitives/gateway.py +496 -0
  597. agentcore_cli-0.31.1/src/agentcore/primitives/gateway_target.py +988 -0
  598. agentcore_cli-0.31.1/src/agentcore/primitives/harness.py +706 -0
  599. agentcore_cli-0.31.1/src/agentcore/primitives/knowledge_base.py +477 -0
  600. agentcore_cli-0.31.1/src/agentcore/primitives/memory.py +387 -0
  601. agentcore_cli-0.31.1/src/agentcore/primitives/online_eval_config.py +365 -0
  602. agentcore_cli-0.31.1/src/agentcore/primitives/online_insights.py +275 -0
  603. agentcore_cli-0.31.1/src/agentcore/primitives/payment_connector.py +427 -0
  604. agentcore_cli-0.31.1/src/agentcore/primitives/payment_eligible.py +20 -0
  605. agentcore_cli-0.31.1/src/agentcore/primitives/payment_manager.py +605 -0
  606. agentcore_cli-0.31.1/src/agentcore/primitives/payment_validation.py +68 -0
  607. agentcore_cli-0.31.1/src/agentcore/primitives/policy.py +622 -0
  608. agentcore_cli-0.31.1/src/agentcore/primitives/policy_engine.py +358 -0
  609. agentcore_cli-0.31.1/src/agentcore/primitives/registry.py +56 -0
  610. agentcore_cli-0.31.1/src/agentcore/primitives/runtime_endpoint.py +361 -0
  611. agentcore_cli-0.31.1/src/agentcore/primitives/secret_flag_warning.py +17 -0
  612. agentcore_cli-0.31.1/src/agentcore/schema/__init__.py +14 -0
  613. agentcore_cli-0.31.1/src/agentcore/schema/_zod.py +395 -0
  614. agentcore_cli-0.31.1/src/agentcore/schema/constants.py +306 -0
  615. agentcore_cli-0.31.1/src/agentcore/schema/schemas/__init__.py +40 -0
  616. agentcore_cli-0.31.1/src/agentcore/schema/schemas/agent_env.py +545 -0
  617. agentcore_cli-0.31.1/src/agentcore/schema/schemas/agentcore_project.py +530 -0
  618. agentcore_cli-0.31.1/src/agentcore/schema/schemas/auth.py +286 -0
  619. agentcore_cli-0.31.1/src/agentcore/schema/schemas/aws_targets.py +72 -0
  620. agentcore_cli-0.31.1/src/agentcore/schema/schemas/connections.py +187 -0
  621. agentcore_cli-0.31.1/src/agentcore/schema/schemas/deployed_state.py +322 -0
  622. agentcore_cli-0.31.1/src/agentcore/schema/schemas/mcp.py +650 -0
  623. agentcore_cli-0.31.1/src/agentcore/schema/schemas/mcp_defs.py +54 -0
  624. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/__init__.py +52 -0
  625. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/ab_test.py +162 -0
  626. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/capacity_provider.py +214 -0
  627. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/config_bundle.py +48 -0
  628. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/dataset.py +55 -0
  629. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/evaluator.py +171 -0
  630. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/harness.py +710 -0
  631. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/knowledge_base.py +90 -0
  632. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/memory.py +113 -0
  633. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/online_eval_config.py +77 -0
  634. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/payment.py +114 -0
  635. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/policy.py +83 -0
  636. agentcore_cli-0.31.1/src/agentcore/schema/schemas/primitives/tags.py +50 -0
  637. agentcore_cli-0.31.1/src/agentcore/schema/schemas/zod_util.py +5 -0
  638. agentcore_cli-0.31.1/src/agentcore/schema/types/__init__.py +3 -0
  639. agentcore_cli-0.31.1/src/agentcore/schema/types/path.py +16 -0
  640. agentcore_cli-0.31.1/src/agentcore/templates/__init__.py +115 -0
  641. agentcore_cli-0.31.1/src/agentcore/templates/_handlebars.py +782 -0
  642. agentcore_cli-0.31.1/src/agentcore/templates/_js.py +164 -0
  643. agentcore_cli-0.31.1/src/agentcore/templates/base_renderer.py +107 -0
  644. agentcore_cli-0.31.1/src/agentcore/templates/cdk_renderer.py +129 -0
  645. agentcore_cli-0.31.1/src/agentcore/templates/evaluator_renderer.py +39 -0
  646. agentcore_cli-0.31.1/src/agentcore/templates/gateway_target_renderer.py +69 -0
  647. agentcore_cli-0.31.1/src/agentcore/templates/llm_context/README.md +16 -0
  648. agentcore_cli-0.31.1/src/agentcore/templates/llm_context/agentcore.ts +685 -0
  649. agentcore_cli-0.31.1/src/agentcore/templates/llm_context/aws-targets.ts +51 -0
  650. agentcore_cli-0.31.1/src/agentcore/templates/profiles.py +151 -0
  651. agentcore_cli-0.31.1/src/agentcore/templates/render.py +92 -0
  652. agentcore_cli-0.31.1/src/agentcore/templates/renderers.py +83 -0
  653. agentcore_cli-0.31.1/src/agentcore/templates/schema_assets.py +23 -0
  654. agentcore_cli-0.31.1/src/agentcore/templates/template_root.py +28 -0
  655. agentcore_cli-0.31.1/src/agentcore/templates/types.py +192 -0
  656. agentcore_cli-0.31.1/tests/aws/__init__.py +0 -0
  657. agentcore_cli-0.31.1/tests/aws/_fakes.py +51 -0
  658. agentcore_cli-0.31.1/tests/aws/conftest.py +190 -0
  659. agentcore_cli-0.31.1/tests/aws/test_account.py +244 -0
  660. agentcore_cli-0.31.1/tests/aws/test_agentcore.py +784 -0
  661. agentcore_cli-0.31.1/tests/aws/test_agentcore_ab_tests.py +114 -0
  662. agentcore_cli-0.31.1/tests/aws/test_agentcore_batch_evaluation.py +134 -0
  663. agentcore_cli-0.31.1/tests/aws/test_agentcore_config_bundles.py +104 -0
  664. agentcore_cli-0.31.1/tests/aws/test_agentcore_control.py +961 -0
  665. agentcore_cli-0.31.1/tests/aws/test_agentcore_datasets.py +107 -0
  666. agentcore_cli-0.31.1/tests/aws/test_agentcore_harness.py +221 -0
  667. agentcore_cli-0.31.1/tests/aws/test_agentcore_payments.py +239 -0
  668. agentcore_cli-0.31.1/tests/aws/test_agentcore_recommendation.py +87 -0
  669. agentcore_cli-0.31.1/tests/aws/test_agui.py +164 -0
  670. agentcore_cli-0.31.1/tests/aws/test_bedrock.py +312 -0
  671. agentcore_cli-0.31.1/tests/aws/test_connect_shell.py +228 -0
  672. agentcore_cli-0.31.1/tests/aws/test_http.py +113 -0
  673. agentcore_cli-0.31.1/tests/aws/test_observability.py +302 -0
  674. agentcore_cli-0.31.1/tests/aws/test_partition_region.py +169 -0
  675. agentcore_cli-0.31.1/tests/aws/test_shell_framer.py +148 -0
  676. agentcore_cli-0.31.1/tests/cli/test_config_telemetry.py +64 -0
  677. agentcore_cli-0.31.1/tests/cli/test_filesystem_utils.py +280 -0
  678. agentcore_cli-0.31.1/tests/cli/test_quickstart.py +138 -0
  679. agentcore_cli-0.31.1/tests/cli/test_validate.py +115 -0
  680. agentcore_cli-0.31.1/tests/cloudformation/__init__.py +0 -0
  681. agentcore_cli-0.31.1/tests/cloudformation/conftest.py +71 -0
  682. agentcore_cli-0.31.1/tests/cloudformation/test_bootstrap_status_discovery.py +203 -0
  683. agentcore_cli-0.31.1/tests/cloudformation/test_cdk_toolkit.py +439 -0
  684. agentcore_cli-0.31.1/tests/cloudformation/test_logical_ids_types.py +47 -0
  685. agentcore_cli-0.31.1/tests/cloudformation/test_outputs.py +411 -0
  686. agentcore_cli-0.31.1/tests/cloudformation/test_outputs_aws_and_roundtrip.py +291 -0
  687. agentcore_cli-0.31.1/tests/config_bundles/test_config_bundles.py +122 -0
  688. agentcore_cli-0.31.1/tests/conftest.py +37 -0
  689. agentcore_cli-0.31.1/tests/create/__init__.py +0 -0
  690. agentcore_cli-0.31.1/tests/create/_helpers.py +64 -0
  691. agentcore_cli-0.31.1/tests/create/conftest.py +38 -0
  692. agentcore_cli-0.31.1/tests/create/test_create_e2e.py +218 -0
  693. agentcore_cli-0.31.1/tests/create/test_interactive.py +133 -0
  694. agentcore_cli-0.31.1/tests/create/test_validators.py +391 -0
  695. agentcore_cli-0.31.1/tests/datasets/test_datasets.py +304 -0
  696. agentcore_cli-0.31.1/tests/deploy/__init__.py +0 -0
  697. agentcore_cli-0.31.1/tests/deploy/conftest.py +228 -0
  698. agentcore_cli-0.31.1/tests/deploy/test_deploy_command.py +405 -0
  699. agentcore_cli-0.31.1/tests/deploy/test_operations.py +964 -0
  700. agentcore_cli-0.31.1/tests/deploy/test_preflight.py +320 -0
  701. agentcore_cli-0.31.1/tests/dev/__init__.py +0 -0
  702. agentcore_cli-0.31.1/tests/dev/conftest.py +124 -0
  703. agentcore_cli-0.31.1/tests/dev/test_config.py +179 -0
  704. agentcore_cli-0.31.1/tests/dev/test_dev_command.py +147 -0
  705. agentcore_cli-0.31.1/tests/dev/test_dev_server.py +206 -0
  706. agentcore_cli-0.31.1/tests/dev/test_env.py +107 -0
  707. agentcore_cli-0.31.1/tests/dev/test_invoke_local.py +260 -0
  708. agentcore_cli-0.31.1/tests/dev/test_loggers.py +129 -0
  709. agentcore_cli-0.31.1/tests/dev/test_otel_collector.py +231 -0
  710. agentcore_cli-0.31.1/tests/dev/test_terminal_mode.py +31 -0
  711. agentcore_cli-0.31.1/tests/dev/test_web_server.py +360 -0
  712. agentcore_cli-0.31.1/tests/evals/test_eval_operations.py +398 -0
  713. agentcore_cli-0.31.1/tests/evals/test_interactive_flows.py +274 -0
  714. agentcore_cli-0.31.1/tests/exec/__init__.py +0 -0
  715. agentcore_cli-0.31.1/tests/exec/conftest.py +25 -0
  716. agentcore_cli-0.31.1/tests/exec/test_exec_action.py +332 -0
  717. agentcore_cli-0.31.1/tests/exec/test_exec_command.py +117 -0
  718. agentcore_cli-0.31.1/tests/export/__init__.py +0 -0
  719. agentcore_cli-0.31.1/tests/export/conftest.py +1 -0
  720. agentcore_cli-0.31.1/tests/export/test_export_command.py +173 -0
  721. agentcore_cli-0.31.1/tests/export/test_fetch_and_notes.py +157 -0
  722. agentcore_cli-0.31.1/tests/export/test_harness_mapper.py +325 -0
  723. agentcore_cli-0.31.1/tests/feedback/__init__.py +0 -0
  724. agentcore_cli-0.31.1/tests/feedback/test_feedback.py +232 -0
  725. agentcore_cli-0.31.1/tests/harness/__init__.py +0 -0
  726. agentcore_cli-0.31.1/tests/harness/_script.py +29 -0
  727. agentcore_cli-0.31.1/tests/harness/conftest.py +1 -0
  728. agentcore_cli-0.31.1/tests/harness/test_create_and_wizard.py +163 -0
  729. agentcore_cli-0.31.1/tests/harness/test_ops.py +52 -0
  730. agentcore_cli-0.31.1/tests/harness/test_tool_skill.py +363 -0
  731. agentcore_cli-0.31.1/tests/import/__init__.py +0 -0
  732. agentcore_cli-0.31.1/tests/import/conftest.py +137 -0
  733. agentcore_cli-0.31.1/tests/import/fixtures/agent-with-execution-role.yaml +23 -0
  734. agentcore_cli-0.31.1/tests/import/fixtures/cli-project-with-agent-and-memory.json +37 -0
  735. agentcore_cli-0.31.1/tests/import/fixtures/different-agent.yaml +28 -0
  736. agentcore_cli-0.31.1/tests/import/fixtures/jwt-authorizer.yaml +30 -0
  737. agentcore_cli-0.31.1/tests/import/fixtures/partial-import.yaml +44 -0
  738. agentcore_cli-0.31.1/tests/import/fixtures/same-name-agent.yaml +32 -0
  739. agentcore_cli-0.31.1/tests/import/fixtures/similar-names.yaml +40 -0
  740. agentcore_cli-0.31.1/tests/import/fixtures/three-agents-shared-memory.yaml +65 -0
  741. agentcore_cli-0.31.1/tests/import/fixtures/two-agents.yaml +49 -0
  742. agentcore_cli-0.31.1/tests/import/fixtures/underscore-names.yaml +40 -0
  743. agentcore_cli-0.31.1/tests/import/test_import_flows.py +414 -0
  744. agentcore_cli-0.31.1/tests/import/test_import_parsing.py +348 -0
  745. agentcore_cli-0.31.1/tests/integration/test_config_roundtrip.py +67 -0
  746. agentcore_cli-0.31.1/tests/invoke/__init__.py +0 -0
  747. agentcore_cli-0.31.1/tests/invoke/_project.py +78 -0
  748. agentcore_cli-0.31.1/tests/invoke/conftest.py +25 -0
  749. agentcore_cli-0.31.1/tests/invoke/test_invoke_command.py +332 -0
  750. agentcore_cli-0.31.1/tests/invoke/test_invoke_helpers.py +185 -0
  751. agentcore_cli-0.31.1/tests/invoke/test_invoke_interactive.py +73 -0
  752. agentcore_cli-0.31.1/tests/invoke/test_invoke_resolve.py +161 -0
  753. agentcore_cli-0.31.1/tests/jobs/_project.py +96 -0
  754. agentcore_cli-0.31.1/tests/jobs/test_ab_test.py +401 -0
  755. agentcore_cli-0.31.1/tests/jobs/test_batch_and_insights.py +242 -0
  756. agentcore_cli-0.31.1/tests/jobs/test_job_commands.py +282 -0
  757. agentcore_cli-0.31.1/tests/jobs/test_recommendation.py +397 -0
  758. agentcore_cli-0.31.1/tests/jobs/test_shared.py +264 -0
  759. agentcore_cli-0.31.1/tests/lib/__init__.py +0 -0
  760. agentcore_cli-0.31.1/tests/lib/conftest.py +40 -0
  761. agentcore_cli-0.31.1/tests/lib/test_cipher.py +92 -0
  762. agentcore_cli-0.31.1/tests/lib/test_config_io.py +230 -0
  763. agentcore_cli-0.31.1/tests/lib/test_dependency_management.py +126 -0
  764. agentcore_cli-0.31.1/tests/lib/test_env.py +101 -0
  765. agentcore_cli-0.31.1/tests/lib/test_global_config.py +85 -0
  766. agentcore_cli-0.31.1/tests/lib/test_key_provider.py +108 -0
  767. agentcore_cli-0.31.1/tests/lib/test_packaging.py +301 -0
  768. agentcore_cli-0.31.1/tests/lib/test_sensitive_keys.py +17 -0
  769. agentcore_cli-0.31.1/tests/lib/test_utils_and_errors.py +165 -0
  770. agentcore_cli-0.31.1/tests/logs/__init__.py +0 -0
  771. agentcore_cli-0.31.1/tests/logs/conftest.py +94 -0
  772. agentcore_cli-0.31.1/tests/logs/test_capacity_provider.py +216 -0
  773. agentcore_cli-0.31.1/tests/logs/test_filter_pattern.py +36 -0
  774. agentcore_cli-0.31.1/tests/logs/test_logs_action.py +170 -0
  775. agentcore_cli-0.31.1/tests/logs/test_time_parser.py +34 -0
  776. agentcore_cli-0.31.1/tests/operations/__init__.py +0 -0
  777. agentcore_cli-0.31.1/tests/operations/test_agent_import.py +394 -0
  778. agentcore_cli-0.31.1/tests/operations/test_connectors.py +22 -0
  779. agentcore_cli-0.31.1/tests/operations/test_identity_ops.py +279 -0
  780. agentcore_cli-0.31.1/tests/operations/test_ingest.py +234 -0
  781. agentcore_cli-0.31.1/tests/operations/test_knowledge_base_ops.py +117 -0
  782. agentcore_cli-0.31.1/tests/operations/test_memory_records.py +161 -0
  783. agentcore_cli-0.31.1/tests/operations/test_project_ops.py +209 -0
  784. agentcore_cli-0.31.1/tests/operations/test_schema_mapper.py +148 -0
  785. agentcore_cli-0.31.1/tests/primitives/__init__.py +0 -0
  786. agentcore_cli-0.31.1/tests/primitives/_project.py +104 -0
  787. agentcore_cli-0.31.1/tests/primitives/conftest.py +1 -0
  788. agentcore_cli-0.31.1/tests/primitives/test_agent_memory_credential.py +319 -0
  789. agentcore_cli-0.31.1/tests/primitives/test_capacity_provider.py +154 -0
  790. agentcore_cli-0.31.1/tests/primitives/test_config_bundle.py +79 -0
  791. agentcore_cli-0.31.1/tests/primitives/test_dataset.py +63 -0
  792. agentcore_cli-0.31.1/tests/primitives/test_deployed_gateways.py +36 -0
  793. agentcore_cli-0.31.1/tests/primitives/test_evaluator.py +214 -0
  794. agentcore_cli-0.31.1/tests/primitives/test_gateway.py +248 -0
  795. agentcore_cli-0.31.1/tests/primitives/test_gateway_target.py +477 -0
  796. agentcore_cli-0.31.1/tests/primitives/test_harness.py +537 -0
  797. agentcore_cli-0.31.1/tests/primitives/test_knowledge_base.py +396 -0
  798. agentcore_cli-0.31.1/tests/primitives/test_online_eval_config.py +103 -0
  799. agentcore_cli-0.31.1/tests/primitives/test_online_insights.py +73 -0
  800. agentcore_cli-0.31.1/tests/primitives/test_payment_connector.py +206 -0
  801. agentcore_cli-0.31.1/tests/primitives/test_payment_manager.py +273 -0
  802. agentcore_cli-0.31.1/tests/primitives/test_policy.py +262 -0
  803. agentcore_cli-0.31.1/tests/primitives/test_runtime_endpoint.py +162 -0
  804. agentcore_cli-0.31.1/tests/schema/__init__.py +0 -0
  805. agentcore_cli-0.31.1/tests/schema/_helpers.py +45 -0
  806. agentcore_cli-0.31.1/tests/schema/fixtures/agentcore.schema.v1.json +3531 -0
  807. agentcore_cli-0.31.1/tests/schema/fixtures/reviewer.agentcore.json +28 -0
  808. agentcore_cli-0.31.1/tests/schema/fixtures/reviewer.aws-targets.json +8 -0
  809. agentcore_cli-0.31.1/tests/schema/fixtures/reviewer.harness.json +13 -0
  810. agentcore_cli-0.31.1/tests/schema/fixtures/typescript-package.agentcore.json +14 -0
  811. agentcore_cli-0.31.1/tests/schema/test_schema_agent_env.py +211 -0
  812. agentcore_cli-0.31.1/tests/schema/test_schema_fixtures.py +360 -0
  813. agentcore_cli-0.31.1/tests/schema/test_schema_harness.py +244 -0
  814. agentcore_cli-0.31.1/tests/schema/test_schema_mcp.py +231 -0
  815. agentcore_cli-0.31.1/tests/schema/test_schema_misc.py +192 -0
  816. agentcore_cli-0.31.1/tests/schema/test_schema_primitives.py +302 -0
  817. agentcore_cli-0.31.1/tests/schema/test_schema_project.py +305 -0
  818. agentcore_cli-0.31.1/tests/status/__init__.py +0 -0
  819. agentcore_cli-0.31.1/tests/status/conftest.py +74 -0
  820. agentcore_cli-0.31.1/tests/status/test_format_knowledge_base.py +98 -0
  821. agentcore_cli-0.31.1/tests/status/test_status_action.py +798 -0
  822. agentcore_cli-0.31.1/tests/status/test_status_command.py +225 -0
  823. agentcore_cli-0.31.1/tests/templates/__init__.py +0 -0
  824. agentcore_cli-0.31.1/tests/templates/__snapshots__/assets.snapshot.test.ts.snap +9836 -0
  825. agentcore_cli-0.31.1/tests/templates/__snapshots__/dockerfile-render.test.ts.snap +87 -0
  826. agentcore_cli-0.31.1/tests/templates/_snapshots.py +40 -0
  827. agentcore_cli-0.31.1/tests/templates/conftest.py +40 -0
  828. agentcore_cli-0.31.1/tests/templates/test_asset_templates.py +215 -0
  829. agentcore_cli-0.31.1/tests/templates/test_assets_snapshot.py +45 -0
  830. agentcore_cli-0.31.1/tests/templates/test_base_renderer.py +90 -0
  831. agentcore_cli-0.31.1/tests/templates/test_bma.py +273 -0
  832. agentcore_cli-0.31.1/tests/templates/test_handlebars.py +106 -0
  833. agentcore_cli-0.31.1/tests/templates/test_multi_gateway_collision.py +140 -0
  834. agentcore_cli-0.31.1/tests/templates/test_profiles.py +80 -0
  835. agentcore_cli-0.31.1/tests/templates/test_render.py +68 -0
  836. agentcore_cli-0.31.1/tests/templates/test_renderers.py +215 -0
  837. agentcore_cli-0.31.1/tests/templates/test_schema_assets.py +35 -0
  838. agentcore_cli-0.31.1/tests/traces/__init__.py +0 -0
  839. agentcore_cli-0.31.1/tests/traces/conftest.py +94 -0
  840. agentcore_cli-0.31.1/tests/traces/test_fetch_access.py +325 -0
  841. agentcore_cli-0.31.1/tests/traces/test_traces_command.py +129 -0
  842. agentcore_cli-0.31.1/tests/traces/test_traces_operations.py +239 -0
  843. agentcore_cli-0.31.1/tests/update/__init__.py +0 -0
  844. agentcore_cli-0.31.1/tests/update/test_update.py +195 -0
@@ -0,0 +1,2 @@
1
+ # Created by venv; see https://docs.python.org/3/library/venv.html
2
+ *
@@ -0,0 +1,175 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
@@ -0,0 +1,88 @@
1
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+
3
+ ------
4
+
5
+ This product includes the following third-party software/licensing:
6
+
7
+ ** @aws-cdk/toolkit-lib - https://github.com/aws/aws-cdk
8
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
9
+ License: Apache-2.0
10
+
11
+ ** @aws-sdk/client-bedrock-agentcore - https://github.com/aws/aws-sdk-js-v3
12
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
13
+ License: Apache-2.0
14
+
15
+ ** @aws-sdk/client-bedrock-agentcore-control - https://github.com/aws/aws-sdk-js-v3
16
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
17
+ License: Apache-2.0
18
+
19
+ ** @aws-sdk/client-bedrock-runtime - https://github.com/aws/aws-sdk-js-v3
20
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
21
+ License: Apache-2.0
22
+
23
+ ** @aws-sdk/client-cloudformation - https://github.com/aws/aws-sdk-js-v3
24
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
25
+ License: Apache-2.0
26
+
27
+ ** @aws-sdk/client-resource-groups-tagging-api - https://github.com/aws/aws-sdk-js-v3
28
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
29
+ License: Apache-2.0
30
+
31
+ ** @aws-sdk/client-sts - https://github.com/aws/aws-sdk-js-v3
32
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
+ License: Apache-2.0
34
+
35
+ ** @aws-sdk/credential-providers - https://github.com/aws/aws-sdk-js-v3
36
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
37
+ License: Apache-2.0
38
+
39
+ ** @smithy/shared-ini-file-loader - https://github.com/smithy-lang/smithy-typescript
40
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
41
+ License: Apache-2.0
42
+
43
+ ** @commander-js/extra-typings - https://github.com/tj/commander.js
44
+ Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
45
+ License: MIT
46
+
47
+ ** commander - https://github.com/tj/commander.js
48
+ Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
49
+ License: MIT
50
+
51
+ ** dotenv - https://github.com/motdotla/dotenv
52
+ Copyright (c) 2015, Scott Motte
53
+ License: BSD-2-Clause
54
+
55
+ ** fflate - https://github.com/101arrowz/fflate
56
+ Copyright (c) 2020 Arjun Barrett
57
+ License: MIT
58
+
59
+ ** handlebars - https://github.com/handlebars-lang/handlebars.js
60
+ Copyright (C) 2011-2019 by Yehuda Katz
61
+ License: MIT
62
+
63
+ ** ink - https://github.com/vadimdemedes/ink
64
+ Copyright (c) Vadim Demedes <vdemedes@gmail.com> (https://vadimdemedes.com)
65
+ License: MIT
66
+
67
+ ** ink-link - https://github.com/sindresorhus/ink-link
68
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
69
+ License: MIT
70
+
71
+ ** ink-spinner - https://github.com/vadimdemedes/ink-spinner
72
+ Copyright (c) Vadim Demedes <vdemedes@gmail.com> (https://vadimdemedes.com)
73
+ License: MIT
74
+
75
+ ** react - https://github.com/facebook/react
76
+ Copyright (c) Meta Platforms, Inc. and affiliates.
77
+ License: MIT
78
+
79
+ ** zod - https://github.com/colinhacks/zod
80
+ Copyright (c) 2020 Colin McDonnell
81
+ License: MIT
82
+
83
+ This package (agentcore-cli) is an unofficial Python port of the AgentCore CLI
84
+ (https://github.com/aws/agentcore-cli, @aws/agentcore v0.31.1). The source was translated from
85
+ TypeScript to Python and modified; it is not affiliated with or endorsed by Amazon Web Services.
86
+
87
+ Bundled third-party assets: src/agentcore/agent_inspector (from @aws/agent-inspector 0.6.1,
88
+ Apache-2.0); see the NOTICE file in that directory.
@@ -0,0 +1,87 @@
1
+ Metadata-Version: 2.5
2
+ Name: agentcore-cli
3
+ Version: 0.31.1
4
+ Summary: Unofficial Python port of the AgentCore CLI (@aws/agentcore) for Amazon Bedrock AgentCore
5
+ License-Expression: Apache-2.0
6
+ License-File: LICENSE
7
+ License-File: NOTICE
8
+ Keywords: agentcore,agents,aws,bedrock,cli
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Requires-Python: >=3.11
19
+ Requires-Dist: boto3>=1.43.111
20
+ Requires-Dist: cryptography>=42
21
+ Requires-Dist: keyring>=25
22
+ Requires-Dist: opentelemetry-proto>=1.20
23
+ Requires-Dist: packaging>=24
24
+ Requires-Dist: pybars3>=0.9.7
25
+ Requires-Dist: pydantic>=2.7
26
+ Requires-Dist: pyyaml>=6
27
+ Requires-Dist: questionary>=2
28
+ Requires-Dist: rich>=13
29
+ Requires-Dist: typer>=0.12
30
+ Requires-Dist: websockets>=13
31
+ Provides-Extra: dev
32
+ Requires-Dist: pytest>=8; extra == 'dev'
33
+ Requires-Dist: ruff>=0.5; extra == 'dev'
34
+ Description-Content-Type: text/markdown
35
+
36
+ # agentcore-cli
37
+
38
+ Unofficial Python port of the [AgentCore CLI](https://github.com/aws/agentcore-cli) (`@aws/agentcore` v0.31.1) for
39
+ Amazon Bedrock AgentCore.
40
+
41
+ > **Status:** early release. All commands are ported and covered by tests, but `agentcore deploy` has not yet
42
+ > been verified end-to-end against a real AWS account. Please report issues.
43
+
44
+ ## Install
45
+
46
+ ```bash
47
+ pip install agentcore-cli
48
+ ```
49
+
50
+ Requirements: Python 3.11+, [uv](https://docs.astral.sh/uv/) for Python agents, and Node.js 20+ for
51
+ `agentcore deploy` (deploys run the project's CDK app).
52
+
53
+ ## Quick start
54
+
55
+ ```bash
56
+ # Initialize a new agent project (choose framework: strands, langgraph, or custom)
57
+ agentcore init my-agent --framework strands
58
+
59
+ # Develop locally
60
+ cd my-agent
61
+ agentcore dev
62
+
63
+ # Deploy to AgentCore Runtime
64
+ agentcore deploy --region us-east-1
65
+
66
+ # Test the deployed agent
67
+ agentcore invoke --agent-name my-agent --input "Hello, what can you do?"
68
+ ```
69
+
70
+ `init` derives valid names from the folder: `my-agent` becomes project `MyAgent` with agent
71
+ `my_agent` (`invoke --agent-name` accepts either spelling). `--framework custom` scaffolds a minimal
72
+ `bedrock-agentcore` entrypoint for your own code.
73
+
74
+ ## Compatibility with the npm CLI
75
+
76
+ All upstream commands and flags work as documented in the
77
+ [upstream command reference](https://github.com/aws/agentcore-cli/blob/main/docs/commands.md)
78
+ (`agentcore create`, `add`, `remove`, `status`, `logs`, `traces`, evals, ...).
79
+
80
+ - Projects are interchangeable: the same `agentcore/` files, written byte-for-byte as the npm CLI writes them.
81
+ - Secrets in `agentcore/.env.local` use the same `enc:v1:` AES-256-GCM envelope and key (OS keychain entry
82
+ `aws-agentcore` / `env-local-secret-key`, or `~/.agentcore/secrets.key`).
83
+ - Additions in this port: `agentcore init`, `deploy --region`, and `invoke --agent-name` / `--input`.
84
+ - Differences: interactive mode uses prompts instead of a full-screen UI; no telemetry is sent;
85
+ `agentcore update` upgrades via pip (or tells you the pipx/uv command).
86
+
87
+ Both this package and the npm CLI install an `agentcore` command; whichever is first on `PATH` runs.
@@ -0,0 +1,52 @@
1
+ # agentcore-cli
2
+
3
+ Unofficial Python port of the [AgentCore CLI](https://github.com/aws/agentcore-cli) (`@aws/agentcore` v0.31.1) for
4
+ Amazon Bedrock AgentCore.
5
+
6
+ > **Status:** early release. All commands are ported and covered by tests, but `agentcore deploy` has not yet
7
+ > been verified end-to-end against a real AWS account. Please report issues.
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ pip install agentcore-cli
13
+ ```
14
+
15
+ Requirements: Python 3.11+, [uv](https://docs.astral.sh/uv/) for Python agents, and Node.js 20+ for
16
+ `agentcore deploy` (deploys run the project's CDK app).
17
+
18
+ ## Quick start
19
+
20
+ ```bash
21
+ # Initialize a new agent project (choose framework: strands, langgraph, or custom)
22
+ agentcore init my-agent --framework strands
23
+
24
+ # Develop locally
25
+ cd my-agent
26
+ agentcore dev
27
+
28
+ # Deploy to AgentCore Runtime
29
+ agentcore deploy --region us-east-1
30
+
31
+ # Test the deployed agent
32
+ agentcore invoke --agent-name my-agent --input "Hello, what can you do?"
33
+ ```
34
+
35
+ `init` derives valid names from the folder: `my-agent` becomes project `MyAgent` with agent
36
+ `my_agent` (`invoke --agent-name` accepts either spelling). `--framework custom` scaffolds a minimal
37
+ `bedrock-agentcore` entrypoint for your own code.
38
+
39
+ ## Compatibility with the npm CLI
40
+
41
+ All upstream commands and flags work as documented in the
42
+ [upstream command reference](https://github.com/aws/agentcore-cli/blob/main/docs/commands.md)
43
+ (`agentcore create`, `add`, `remove`, `status`, `logs`, `traces`, evals, ...).
44
+
45
+ - Projects are interchangeable: the same `agentcore/` files, written byte-for-byte as the npm CLI writes them.
46
+ - Secrets in `agentcore/.env.local` use the same `enc:v1:` AES-256-GCM envelope and key (OS keychain entry
47
+ `aws-agentcore` / `env-local-secret-key`, or `~/.agentcore/secrets.key`).
48
+ - Additions in this port: `agentcore init`, `deploy --region`, and `invoke --agent-name` / `--input`.
49
+ - Differences: interactive mode uses prompts instead of a full-screen UI; no telemetry is sent;
50
+ `agentcore update` upgrades via pip (or tells you the pipx/uv command).
51
+
52
+ Both this package and the npm CLI install an `agentcore` command; whichever is first on `PATH` runs.
@@ -0,0 +1,81 @@
1
+ [project]
2
+ name = "agentcore-cli"
3
+ version = "0.31.1"
4
+ description = "Unofficial Python port of the AgentCore CLI (@aws/agentcore) for Amazon Bedrock AgentCore"
5
+ readme = "README.md"
6
+ license = "Apache-2.0"
7
+ license-files = ["LICENSE", "NOTICE"]
8
+ requires-python = ">=3.11"
9
+ keywords = ["aws", "bedrock", "agentcore", "agents", "cli"]
10
+ classifiers = [
11
+ "Development Status :: 4 - Beta",
12
+ "Environment :: Console",
13
+ "Intended Audience :: Developers",
14
+ "Operating System :: OS Independent",
15
+ "Programming Language :: Python :: 3",
16
+ "Programming Language :: Python :: 3.11",
17
+ "Programming Language :: Python :: 3.12",
18
+ "Programming Language :: Python :: 3.13",
19
+ "Programming Language :: Python :: 3.14",
20
+ ]
21
+ dependencies = [
22
+ "typer>=0.12",
23
+ "rich>=13",
24
+ "questionary>=2",
25
+ "pydantic>=2.7",
26
+ # Oldest version tested; AgentCore APIs (Evaluate, InvokeAgentRuntimeCommand, policy generation) need a recent botocore.
27
+ "boto3>=1.43.111",
28
+ "pyyaml>=6",
29
+ "pybars3>=0.9.7",
30
+ "cryptography>=42",
31
+ "keyring>=25",
32
+ "packaging>=24",
33
+ "websockets>=13",
34
+ # OTLP/HTTP protobuf decoding for the `agentcore dev` trace collector.
35
+ "opentelemetry-proto>=1.20",
36
+ ]
37
+
38
+ [project.optional-dependencies]
39
+ dev = ["pytest>=8", "ruff>=0.5"]
40
+
41
+ [project.scripts]
42
+ agentcore = "agentcore.cli.main:app"
43
+
44
+ [build-system]
45
+ requires = ["hatchling"]
46
+ build-backend = "hatchling.build"
47
+
48
+ [tool.hatch.build]
49
+ # Template assets are package data and must ship even if a VCS ignore file matches them
50
+ # (e.g. assets/cdk/lib, assets/cdk/bin, dotfiles). The glob survives a rename of the import package.
51
+ artifacts = ["src/*/assets/**", "src/*/templates/llm_context/**", "src/*/agent_inspector/**"]
52
+
53
+ [tool.hatch.build.targets.sdist]
54
+ # Internal porting notes stay out of the published source archive.
55
+ exclude = ["PORTING.md", "INTEGRATION.md"]
56
+
57
+ [tool.hatch.build.targets.wheel]
58
+ packages = ["src/agentcore"]
59
+
60
+ [tool.ruff]
61
+ line-length = 120
62
+ target-version = "py311"
63
+ # Handlebars templates (and their template pyproject.toml files) and vendored web UI assets.
64
+ extend-exclude = ["src/*/assets", "src/*/agent_inspector"]
65
+
66
+ [tool.ruff.lint]
67
+ select = ["E", "F", "W", "I", "B", "UP", "RUF"]
68
+ ignore = [
69
+ "B008", # typer.Option(...) defaults are the Typer idiom
70
+ "E501", # line length is left to the formatter
71
+ "RUF001", "RUF002", "RUF003", # user-facing text intentionally uses unicode punctuation from upstream
72
+ "RUF100", # noqa comments document intent for stricter configs; keep them
73
+ ]
74
+
75
+ [tool.ruff.lint.per-file-ignores]
76
+ "**/__init__.py" = ["F401", "F403"] # package re-exports
77
+ "tests/**" = ["RUF043", "E741", "F811", "RUF059", "RUF012", "RUF005", "RUF007", "E731"] # pytest fixtures/idioms
78
+ "src/agentcore/cli/commands/help.py" = ["W293"] # help text copied verbatim from upstream
79
+
80
+ [tool.pytest.ini_options]
81
+ testpaths = ["tests"]
@@ -0,0 +1 @@
1
+ __version__ = "0.31.1"
@@ -0,0 +1,9 @@
1
+ Agent Inspector web UI assets
2
+
3
+ The files in this directory (index.html, index.js, index.css, favicon.svg) are the prebuilt
4
+ frontend of the npm package @aws/agent-inspector, version 0.6.1
5
+ (https://github.com/aws/agent-inspector), vendored byte-for-byte as shipped in
6
+ @aws/agentcore 0.31.1 (dist/agent-inspector/).
7
+
8
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
9
+ Licensed under the Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0).
@@ -0,0 +1,60 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 200 200">
3
+ <!-- Generator: Adobe Illustrator 29.5.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 141) -->
4
+ <defs>
5
+ <!-- <style>
6
+ .st0 {
7
+ fill: #fff;
8
+ }
9
+
10
+ .st1 {
11
+ stroke: #fff;
12
+ stroke-linejoin: round;
13
+ stroke-width: 6px;
14
+ }
15
+
16
+ .st1, .st2 {
17
+ fill: none;
18
+ }
19
+
20
+ .st3 {
21
+ fill: url(#linear-gradient1);
22
+ }
23
+
24
+ .st4 {
25
+ fill: url(#linear-gradient);
26
+ }
27
+
28
+ .st5 {
29
+ clip-path: url(#clippath);
30
+ }
31
+ </style> -->
32
+ <linearGradient id="linear-gradient" x1="-332.91" y1="-2554.29" x2="-598.06" y2="-2502.11" gradientTransform="translate(564 2628.67)" gradientUnits="userSpaceOnUse">
33
+ <stop offset=".38" stop-color="#7638fa"/>
34
+ <stop offset="1" stop-color="#341478" stop-opacity=".68"/>
35
+ </linearGradient>
36
+ <linearGradient id="linear-gradient1" x1="-332.91" y1="-2554.29" x2="-598.06" y2="-2502.11" gradientTransform="translate(564 2628.67)" gradientUnits="userSpaceOnUse">
37
+ <stop offset=".38" stop-color="#7638fa"/>
38
+ <stop offset="1" stop-color="#341478" stop-opacity=".68"/>
39
+ </linearGradient>
40
+ <clipPath id="clippath">
41
+ <rect fill="none" x="102.77" y="37.56" width="93.05" height="122.85"/>
42
+ </clipPath>
43
+ </defs>
44
+ <rect fill="url(#linear-gradient)" y=".18" width="200" height="200"/>
45
+ <rect fill="url(#linear-gradient1)" y=".18" width="200" height="200"/>
46
+ <polygon fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="6px" points="102.77 37.56 102.77 163.02 78.76 171.14 46.56 152.18 46.56 126.84 27.9 115.86 27.9 84.72 46.33 73.81 46.33 48.4 78.84 29.72 102.77 37.56"/>
47
+ <line fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="6px" x1="65.33" y1="63.71" x2="65.33" y2="38.73"/>
48
+ <line fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="6px" x1="62.74" y1="139.69" x2="103.32" y2="115.79"/>
49
+ <line fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="6px" x1="86.53" y1="149.78" x2="65.71" y2="162.9"/>
50
+ <line fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="6px" x1="63.28" y1="115.79" x2="45.93" y2="126.73"/>
51
+ <polyline fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="6px" points="81.06 55.86 81.06 73.81 65.33 84.88 46.33 73.81"/>
52
+ <polyline fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="6px" points="51.94 105.49 65.33 97.45 65.33 85.58"/>
53
+ <line fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="6px" x1="78.72" y1="105.49" x2="65.33" y2="97.45"/>
54
+ <g clip-path="url(#clippath)">
55
+ <g>
56
+ <path fill="none" stroke="#fff" stroke-linejoin="round" stroke-width="6px" d="M139.93,88.57l25.05,10.04c1.49.6,1.48,2.71-.02,3.29l-24.51,9.47-10.2,25.29c-.61,1.5-2.74,1.47-3.3-.05l-9.22-24.93-25.52-9.76c-1.51-.58-1.52-2.72,0-3.3l24.84-9.63,9.86-25.14c.59-1.5,2.7-1.5,3.29,0l9.75,24.73h-.02Z"/>
57
+ <path fill="#fff" d="M165.25,66.92l9.5,3.81c.41.16.4.74,0,.9l-9.3,3.59-3.87,9.59c-.17.41-.75.4-.9-.01l-3.5-9.46-9.68-3.7c-.41-.16-.41-.74,0-.9l9.43-3.66,3.74-9.53c.16-.41.74-.41.9,0l3.7,9.38h-.02Z"/>
58
+ </g>
59
+ </g>
60
+ </svg>