@aws/agentcore 1.0.0-preview.9 → 1.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1218 -145
- package/dist/assets/agent-inspector/index.css.asset +1 -0
- package/dist/assets/agent-inspector/index.js.asset +289 -0
- package/dist/assets/cdk/README.md +43 -17
- package/dist/assets/cdk/bin/cdk.ts +22 -123
- package/dist/assets/cdk/lib/cdk-stack.ts +18 -69
- package/dist/assets/cdk/package.json +6 -13
- package/dist/assets/cdk/tsconfig.json +1 -1
- package/dist/assets/evaluators/python-lambda/README.md +32 -0
- package/dist/assets/evaluators/python-lambda/pyproject.toml +1 -1
- package/dist/assets/templates/a2a-python-strands/README.md +31 -0
- package/dist/assets/templates/a2a-python-strands/main.py +100 -0
- package/dist/assets/templates/a2a-python-strands/memory/session.py +35 -0
- package/dist/assets/templates/a2a-python-strands/model/load.py +6 -0
- package/dist/assets/templates/a2a-python-strands/pyproject.toml +20 -0
- package/dist/assets/templates/agent-python-langchain/README.md +56 -0
- package/dist/assets/{python/a2a/googleadk/base → templates/agent-python-langchain}/gitignore.template +1 -1
- package/dist/assets/templates/agent-python-langchain/main.py +50 -0
- package/dist/assets/templates/agent-python-langchain/model/load.py +9 -0
- package/dist/assets/templates/agent-python-langchain/pyproject.toml +21 -0
- package/dist/assets/templates/agent-python-minimal/README.md +31 -0
- package/dist/assets/templates/agent-python-minimal/main.py +13 -0
- package/dist/assets/templates/agent-python-minimal/pyproject.toml +18 -0
- package/dist/assets/{container/python/Dockerfile → templates/agent-python-strands/Dockerfile.template} +3 -1
- package/dist/assets/templates/agent-python-strands/README.md +60 -0
- package/dist/assets/{python/a2a/langchain_langgraph/base → templates/agent-python-strands}/gitignore.template +1 -1
- package/dist/assets/templates/agent-python-strands/main.py +65 -0
- package/dist/assets/templates/agent-python-strands/memory/__init__.py +0 -0
- package/dist/assets/templates/agent-python-strands/memory/session.py +31 -0
- package/dist/assets/{python/http/strands/base → templates/agent-python-strands}/model/load.py +49 -3
- package/dist/assets/templates/agent-python-strands/parse.py +41 -0
- package/dist/assets/templates/agent-python-strands/pyproject.toml +24 -0
- package/dist/assets/templates/agent-typescript-strands/README.md +50 -0
- package/dist/assets/templates/agent-typescript-strands/gitignore.template +22 -0
- package/dist/assets/templates/agent-typescript-strands/main.ts +77 -0
- package/dist/assets/templates/agent-typescript-strands/memory/memory.ts +33 -0
- package/dist/assets/templates/agent-typescript-strands/model/load.ts +5 -0
- package/dist/assets/templates/agent-typescript-strands/package.json.template +28 -0
- package/dist/assets/templates/agent-typescript-strands/tsconfig.json +19 -0
- package/dist/assets/templates/agent-typescript-vercel/README.md +22 -0
- package/dist/assets/templates/agent-typescript-vercel/gitignore.template +22 -0
- package/dist/assets/templates/agent-typescript-vercel/main.ts +35 -0
- package/dist/assets/templates/agent-typescript-vercel/package.json.template +24 -0
- package/dist/assets/templates/agent-typescript-vercel/tsconfig.json +19 -0
- package/dist/assets/templates/agui-python-strands/README.md +39 -0
- package/dist/assets/{python/a2a/strands/base → templates/agui-python-strands}/gitignore.template +1 -1
- package/dist/assets/{python/agui/strands/base → templates/agui-python-strands}/main.py +11 -14
- package/dist/assets/templates/agui-python-strands/memory/__init__.py +0 -0
- package/dist/assets/templates/agui-python-strands/memory/session.py +35 -0
- package/dist/assets/templates/agui-python-strands/model/load.py +6 -0
- package/dist/assets/templates/agui-python-strands/pyproject.toml +22 -0
- package/dist/assets/{python/http/strands/base → templates/export-harness-python}/README.md +15 -8
- package/dist/assets/templates/export-harness-python/gitignore.template +41 -0
- package/dist/assets/templates/export-harness-python/main.py +584 -0
- package/dist/assets/templates/export-harness-python/mcp_client/client.py +63 -0
- package/dist/assets/templates/export-harness-python/memory/__init__.py +0 -0
- package/dist/assets/templates/export-harness-python/memory/session.py +47 -0
- package/dist/assets/templates/export-harness-python/model/load.py +249 -0
- package/dist/assets/templates/export-harness-python/model/mantle_compat.py +21 -0
- package/dist/assets/templates/export-harness-python/pyproject.toml +22 -0
- package/dist/assets/templates/export-harness-python/skills/fetcher.py +279 -0
- package/dist/assets/templates/harness/harness.yaml +157 -0
- package/dist/assets/templates/mcp-python-fastmcp/README.md +32 -0
- package/dist/assets/templates/mcp-python-fastmcp/gitignore.template +41 -0
- package/dist/assets/templates/mcp-python-fastmcp/main.py +83 -0
- package/dist/assets/{python/mcp/standalone/base → templates/mcp-python-fastmcp}/pyproject.toml +3 -2
- package/dist/assets/templates/shared/env.local.template +11 -0
- package/dist/assets/templates/shared/gitignore.template +19 -0
- package/dist/index.js +4 -27
- package/dist/main.js +1582 -0
- package/package.json +76 -148
- package/LICENSE +0 -175
- package/dist/agent-inspector/index.css +0 -1
- package/dist/agent-inspector/index.js +0 -279
- package/dist/assets/README.md +0 -104
- package/dist/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap +0 -5673
- package/dist/assets/__tests__/__snapshots__/dockerfile-render.test.ts.snap +0 -77
- package/dist/assets/__tests__/assets.snapshot.test.ts +0 -125
- package/dist/assets/__tests__/dockerfile-render.test.ts +0 -24
- package/dist/assets/agents/AGENTS.md +0 -141
- package/dist/assets/cdk/.prettierrc +0 -8
- package/dist/assets/cdk/jest.config.js +0 -9
- package/dist/assets/cdk/npmignore.template +0 -6
- package/dist/assets/cdk/test/cdk.test.ts +0 -28
- package/dist/assets/harness/invoke.py.template +0 -74
- package/dist/assets/mcp/python/README.md +0 -27
- package/dist/assets/mcp/python/pyproject.toml +0 -22
- package/dist/assets/mcp/python/server.py +0 -117
- package/dist/assets/mcp/python-lambda/README.md +0 -22
- package/dist/assets/mcp/python-lambda/handler.py +0 -144
- package/dist/assets/mcp/python-lambda/pyproject.toml +0 -15
- package/dist/assets/python/a2a/googleadk/base/README.md +0 -22
- package/dist/assets/python/a2a/googleadk/base/main.py +0 -110
- package/dist/assets/python/a2a/googleadk/base/model/load.py +0 -41
- package/dist/assets/python/a2a/googleadk/base/pyproject.toml +0 -20
- package/dist/assets/python/a2a/langchain_langgraph/base/README.md +0 -22
- package/dist/assets/python/a2a/langchain_langgraph/base/main.py +0 -130
- package/dist/assets/python/a2a/langchain_langgraph/base/model/load.py +0 -123
- package/dist/assets/python/a2a/langchain_langgraph/base/pyproject.toml +0 -25
- package/dist/assets/python/a2a/strands/base/README.md +0 -22
- package/dist/assets/python/a2a/strands/base/main.py +0 -107
- package/dist/assets/python/a2a/strands/base/model/load.py +0 -123
- package/dist/assets/python/a2a/strands/base/pyproject.toml +0 -23
- package/dist/assets/python/a2a/strands/capabilities/memory/session.py +0 -43
- package/dist/assets/python/agui/googleadk/base/README.md +0 -30
- package/dist/assets/python/agui/googleadk/base/gitignore.template +0 -41
- package/dist/assets/python/agui/googleadk/base/main.py +0 -31
- package/dist/assets/python/agui/googleadk/base/model/load.py +0 -41
- package/dist/assets/python/agui/googleadk/base/pyproject.toml +0 -24
- package/dist/assets/python/agui/langchain_langgraph/base/README.md +0 -22
- package/dist/assets/python/agui/langchain_langgraph/base/gitignore.template +0 -41
- package/dist/assets/python/agui/langchain_langgraph/base/main.py +0 -74
- package/dist/assets/python/agui/langchain_langgraph/base/model/load.py +0 -123
- package/dist/assets/python/agui/langchain_langgraph/base/pyproject.toml +0 -30
- package/dist/assets/python/agui/strands/base/README.md +0 -22
- package/dist/assets/python/agui/strands/base/gitignore.template +0 -41
- package/dist/assets/python/agui/strands/base/model/__init__.py +0 -1
- package/dist/assets/python/agui/strands/base/model/load.py +0 -123
- package/dist/assets/python/agui/strands/base/pyproject.toml +0 -27
- package/dist/assets/python/agui/strands/capabilities/memory/__init__.py +0 -1
- package/dist/assets/python/agui/strands/capabilities/memory/session.py +0 -43
- package/dist/assets/python/http/autogen/base/README.md +0 -39
- package/dist/assets/python/http/autogen/base/gitignore.template +0 -41
- package/dist/assets/python/http/autogen/base/main.py +0 -112
- package/dist/assets/python/http/autogen/base/mcp_client/__init__.py +0 -1
- package/dist/assets/python/http/autogen/base/mcp_client/client.py +0 -28
- package/dist/assets/python/http/autogen/base/model/__init__.py +0 -1
- package/dist/assets/python/http/autogen/base/model/load.py +0 -136
- package/dist/assets/python/http/autogen/base/pyproject.toml +0 -34
- package/dist/assets/python/http/googleadk/base/README.md +0 -39
- package/dist/assets/python/http/googleadk/base/gitignore.template +0 -41
- package/dist/assets/python/http/googleadk/base/main.py +0 -160
- package/dist/assets/python/http/googleadk/base/mcp_client/__init__.py +0 -1
- package/dist/assets/python/http/googleadk/base/mcp_client/client.py +0 -75
- package/dist/assets/python/http/googleadk/base/model/__init__.py +0 -1
- package/dist/assets/python/http/googleadk/base/model/load.py +0 -41
- package/dist/assets/python/http/googleadk/base/pyproject.toml +0 -22
- package/dist/assets/python/http/langchain_langgraph/base/README.md +0 -39
- package/dist/assets/python/http/langchain_langgraph/base/gitignore.template +0 -41
- package/dist/assets/python/http/langchain_langgraph/base/main.py +0 -176
- package/dist/assets/python/http/langchain_langgraph/base/mcp_client/__init__.py +0 -1
- package/dist/assets/python/http/langchain_langgraph/base/mcp_client/client.py +0 -77
- package/dist/assets/python/http/langchain_langgraph/base/model/__init__.py +0 -1
- package/dist/assets/python/http/langchain_langgraph/base/model/load.py +0 -123
- package/dist/assets/python/http/langchain_langgraph/base/pyproject.toml +0 -37
- package/dist/assets/python/http/openaiagents/base/README.md +0 -39
- package/dist/assets/python/http/openaiagents/base/gitignore.template +0 -41
- package/dist/assets/python/http/openaiagents/base/main.py +0 -169
- package/dist/assets/python/http/openaiagents/base/mcp_client/__init__.py +0 -1
- package/dist/assets/python/http/openaiagents/base/mcp_client/client.py +0 -74
- package/dist/assets/python/http/openaiagents/base/model/__init__.py +0 -1
- package/dist/assets/python/http/openaiagents/base/model/load.py +0 -37
- package/dist/assets/python/http/openaiagents/base/pyproject.toml +0 -21
- package/dist/assets/python/http/strands/base/main.py +0 -217
- package/dist/assets/python/http/strands/base/mcp_client/__init__.py +0 -1
- package/dist/assets/python/http/strands/base/mcp_client/client.py +0 -73
- package/dist/assets/python/http/strands/base/model/__init__.py +0 -1
- package/dist/assets/python/http/strands/base/pyproject.toml +0 -25
- package/dist/assets/python/http/strands/capabilities/memory/__init__.py +0 -1
- package/dist/assets/python/http/strands/capabilities/memory/session.py +0 -44
- package/dist/assets/python/mcp/standalone/base/README.md +0 -36
- package/dist/assets/python/mcp/standalone/base/gitignore.template +0 -41
- package/dist/assets/python/mcp/standalone/base/main.py +0 -25
- package/dist/cli/index.mjs +0 -1718
- package/dist/index.d.ts +0 -9
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lib/constants.d.ts +0 -37
- package/dist/lib/constants.d.ts.map +0 -1
- package/dist/lib/constants.js +0 -69
- package/dist/lib/constants.js.map +0 -1
- package/dist/lib/errors/config.d.ts +0 -49
- package/dist/lib/errors/config.d.ts.map +0 -1
- package/dist/lib/errors/config.js +0 -170
- package/dist/lib/errors/config.js.map +0 -1
- package/dist/lib/errors/index.d.ts +0 -2
- package/dist/lib/errors/index.d.ts.map +0 -1
- package/dist/lib/errors/index.js +0 -18
- package/dist/lib/errors/index.js.map +0 -1
- package/dist/lib/index.d.ts +0 -7
- package/dist/lib/index.d.ts.map +0 -1
- package/dist/lib/index.js +0 -44
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/packaging/build-args.d.ts +0 -6
- package/dist/lib/packaging/build-args.d.ts.map +0 -1
- package/dist/lib/packaging/build-args.js +0 -18
- package/dist/lib/packaging/build-args.js.map +0 -1
- package/dist/lib/packaging/container.d.ts +0 -10
- package/dist/lib/packaging/container.d.ts.map +0 -1
- package/dist/lib/packaging/container.js +0 -78
- package/dist/lib/packaging/container.js.map +0 -1
- package/dist/lib/packaging/errors.d.ts +0 -16
- package/dist/lib/packaging/errors.d.ts.map +0 -1
- package/dist/lib/packaging/errors.js +0 -36
- package/dist/lib/packaging/errors.js.map +0 -1
- package/dist/lib/packaging/helpers.d.ts +0 -54
- package/dist/lib/packaging/helpers.d.ts.map +0 -1
- package/dist/lib/packaging/helpers.js +0 -463
- package/dist/lib/packaging/helpers.js.map +0 -1
- package/dist/lib/packaging/index.d.ts +0 -40
- package/dist/lib/packaging/index.d.ts.map +0 -1
- package/dist/lib/packaging/index.js +0 -98
- package/dist/lib/packaging/index.js.map +0 -1
- package/dist/lib/packaging/node.d.ts +0 -22
- package/dist/lib/packaging/node.d.ts.map +0 -1
- package/dist/lib/packaging/node.js +0 -109
- package/dist/lib/packaging/node.js.map +0 -1
- package/dist/lib/packaging/python.d.ts +0 -23
- package/dist/lib/packaging/python.d.ts.map +0 -1
- package/dist/lib/packaging/python.js +0 -165
- package/dist/lib/packaging/python.js.map +0 -1
- package/dist/lib/packaging/types/index.d.ts +0 -2
- package/dist/lib/packaging/types/index.d.ts.map +0 -1
- package/dist/lib/packaging/types/index.js +0 -3
- package/dist/lib/packaging/types/index.js.map +0 -1
- package/dist/lib/packaging/types/packaging.d.ts +0 -57
- package/dist/lib/packaging/types/packaging.d.ts.map +0 -1
- package/dist/lib/packaging/types/packaging.js +0 -3
- package/dist/lib/packaging/types/packaging.js.map +0 -1
- package/dist/lib/packaging/uv.d.ts +0 -7
- package/dist/lib/packaging/uv.d.ts.map +0 -1
- package/dist/lib/packaging/uv.js +0 -40
- package/dist/lib/packaging/uv.js.map +0 -1
- package/dist/lib/schemas/io/config-io.d.ts +0 -119
- package/dist/lib/schemas/io/config-io.d.ts.map +0 -1
- package/dist/lib/schemas/io/config-io.js +0 -323
- package/dist/lib/schemas/io/config-io.js.map +0 -1
- package/dist/lib/schemas/io/global-config.d.ts +0 -33
- package/dist/lib/schemas/io/global-config.d.ts.map +0 -1
- package/dist/lib/schemas/io/global-config.js +0 -89
- package/dist/lib/schemas/io/global-config.js.map +0 -1
- package/dist/lib/schemas/io/index.d.ts +0 -3
- package/dist/lib/schemas/io/index.d.ts.map +0 -1
- package/dist/lib/schemas/io/index.js +0 -18
- package/dist/lib/schemas/io/index.js.map +0 -1
- package/dist/lib/schemas/io/path-resolver.d.ts +0 -119
- package/dist/lib/schemas/io/path-resolver.d.ts.map +0 -1
- package/dist/lib/schemas/io/path-resolver.js +0 -207
- package/dist/lib/schemas/io/path-resolver.js.map +0 -1
- package/dist/lib/utils/aws-account.d.ts +0 -7
- package/dist/lib/utils/aws-account.d.ts.map +0 -1
- package/dist/lib/utils/aws-account.js +0 -24
- package/dist/lib/utils/aws-account.js.map +0 -1
- package/dist/lib/utils/credentials.d.ts +0 -86
- package/dist/lib/utils/credentials.d.ts.map +0 -1
- package/dist/lib/utils/credentials.js +0 -153
- package/dist/lib/utils/credentials.js.map +0 -1
- package/dist/lib/utils/env.d.ts +0 -22
- package/dist/lib/utils/env.d.ts.map +0 -1
- package/dist/lib/utils/env.js +0 -65
- package/dist/lib/utils/env.js.map +0 -1
- package/dist/lib/utils/index.d.ts +0 -9
- package/dist/lib/utils/index.d.ts.map +0 -1
- package/dist/lib/utils/index.js +0 -27
- package/dist/lib/utils/index.js.map +0 -1
- package/dist/lib/utils/json-rpc.d.ts +0 -3
- package/dist/lib/utils/json-rpc.d.ts.map +0 -1
- package/dist/lib/utils/json-rpc.js +0 -27
- package/dist/lib/utils/json-rpc.js.map +0 -1
- package/dist/lib/utils/platform.d.ts +0 -63
- package/dist/lib/utils/platform.d.ts.map +0 -1
- package/dist/lib/utils/platform.js +0 -88
- package/dist/lib/utils/platform.js.map +0 -1
- package/dist/lib/utils/subprocess.d.ts +0 -29
- package/dist/lib/utils/subprocess.d.ts.map +0 -1
- package/dist/lib/utils/subprocess.js +0 -116
- package/dist/lib/utils/subprocess.js.map +0 -1
- package/dist/lib/utils/time-parser.d.ts +0 -11
- package/dist/lib/utils/time-parser.d.ts.map +0 -1
- package/dist/lib/utils/time-parser.js +0 -47
- package/dist/lib/utils/time-parser.js.map +0 -1
- package/dist/lib/utils/zod.d.ts +0 -14
- package/dist/lib/utils/zod.d.ts.map +0 -1
- package/dist/lib/utils/zod.js +0 -32
- package/dist/lib/utils/zod.js.map +0 -1
- package/dist/schema/constants.d.ts +0 -119
- package/dist/schema/constants.d.ts.map +0 -1
- package/dist/schema/constants.js +0 -170
- package/dist/schema/constants.js.map +0 -1
- package/dist/schema/index.d.ts +0 -4
- package/dist/schema/index.d.ts.map +0 -1
- package/dist/schema/index.js +0 -21
- package/dist/schema/index.js.map +0 -1
- package/dist/schema/schemas/agent-env.d.ts +0 -186
- package/dist/schema/schemas/agent-env.d.ts.map +0 -1
- package/dist/schema/schemas/agent-env.js +0 -240
- package/dist/schema/schemas/agent-env.js.map +0 -1
- package/dist/schema/schemas/agentcore-project.d.ts +0 -838
- package/dist/schema/schemas/agentcore-project.d.ts.map +0 -1
- package/dist/schema/schemas/agentcore-project.js +0 -335
- package/dist/schema/schemas/agentcore-project.js.map +0 -1
- package/dist/schema/schemas/auth.d.ts +0 -140
- package/dist/schema/schemas/auth.d.ts.map +0 -1
- package/dist/schema/schemas/auth.js +0 -114
- package/dist/schema/schemas/auth.js.map +0 -1
- package/dist/schema/schemas/aws-targets.d.ts +0 -71
- package/dist/schema/schemas/aws-targets.d.ts.map +0 -1
- package/dist/schema/schemas/aws-targets.js +0 -57
- package/dist/schema/schemas/aws-targets.js.map +0 -1
- package/dist/schema/schemas/deployed-state.d.ts +0 -725
- package/dist/schema/schemas/deployed-state.d.ts.map +0 -1
- package/dist/schema/schemas/deployed-state.js +0 -218
- package/dist/schema/schemas/deployed-state.js.map +0 -1
- package/dist/schema/schemas/index.d.ts +0 -9
- package/dist/schema/schemas/index.d.ts.map +0 -1
- package/dist/schema/schemas/index.js +0 -26
- package/dist/schema/schemas/index.js.map +0 -1
- package/dist/schema/schemas/mcp-defs.d.ts +0 -52
- package/dist/schema/schemas/mcp-defs.d.ts.map +0 -1
- package/dist/schema/schemas/mcp-defs.js +0 -50
- package/dist/schema/schemas/mcp-defs.js.map +0 -1
- package/dist/schema/schemas/mcp.d.ts +0 -820
- package/dist/schema/schemas/mcp.d.ts.map +0 -1
- package/dist/schema/schemas/mcp.js +0 -564
- package/dist/schema/schemas/mcp.js.map +0 -1
- package/dist/schema/schemas/primitives/ab-test.d.ts +0 -141
- package/dist/schema/schemas/primitives/ab-test.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/ab-test.js +0 -97
- package/dist/schema/schemas/primitives/ab-test.js.map +0 -1
- package/dist/schema/schemas/primitives/config-bundle.d.ts +0 -31
- package/dist/schema/schemas/primitives/config-bundle.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/config-bundle.js +0 -38
- package/dist/schema/schemas/primitives/config-bundle.js.map +0 -1
- package/dist/schema/schemas/primitives/evaluator.d.ts +0 -102
- package/dist/schema/schemas/primitives/evaluator.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/evaluator.js +0 -84
- package/dist/schema/schemas/primitives/evaluator.js.map +0 -1
- package/dist/schema/schemas/primitives/harness.d.ts +0 -363
- package/dist/schema/schemas/primitives/harness.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/harness.js +0 -261
- package/dist/schema/schemas/primitives/harness.js.map +0 -1
- package/dist/schema/schemas/primitives/http-gateway.d.ts +0 -21
- package/dist/schema/schemas/primitives/http-gateway.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/http-gateway.js +0 -34
- package/dist/schema/schemas/primitives/http-gateway.js.map +0 -1
- package/dist/schema/schemas/primitives/index.d.ts +0 -15
- package/dist/schema/schemas/primitives/index.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/index.js +0 -61
- package/dist/schema/schemas/primitives/index.js.map +0 -1
- package/dist/schema/schemas/primitives/memory.d.ts +0 -51
- package/dist/schema/schemas/primitives/memory.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/memory.js +0 -73
- package/dist/schema/schemas/primitives/memory.js.map +0 -1
- package/dist/schema/schemas/primitives/online-eval-config.d.ts +0 -14
- package/dist/schema/schemas/primitives/online-eval-config.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/online-eval-config.js +0 -30
- package/dist/schema/schemas/primitives/online-eval-config.js.map +0 -1
- package/dist/schema/schemas/primitives/policy.d.ts +0 -49
- package/dist/schema/schemas/primitives/policy.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/policy.js +0 -62
- package/dist/schema/schemas/primitives/policy.js.map +0 -1
- package/dist/schema/schemas/primitives/tags.d.ts +0 -6
- package/dist/schema/schemas/primitives/tags.d.ts.map +0 -1
- package/dist/schema/schemas/primitives/tags.js +0 -27
- package/dist/schema/schemas/primitives/tags.js.map +0 -1
- package/dist/schema/schemas/zod-util.d.ts +0 -10
- package/dist/schema/schemas/zod-util.d.ts.map +0 -1
- package/dist/schema/schemas/zod-util.js +0 -23
- package/dist/schema/schemas/zod-util.js.map +0 -1
- package/dist/schema/types/index.d.ts +0 -2
- package/dist/schema/types/index.d.ts.map +0 -1
- package/dist/schema/types/index.js +0 -18
- package/dist/schema/types/index.js.map +0 -1
- package/dist/schema/types/path.d.ts +0 -27
- package/dist/schema/types/path.d.ts.map +0 -1
- package/dist/schema/types/path.js +0 -13
- package/dist/schema/types/path.js.map +0 -1
- package/scripts/bump-version.ts +0 -393
- package/scripts/bundle.mjs +0 -219
- package/scripts/check-old-cli.lib.mjs +0 -102
- package/scripts/check-old-cli.mjs +0 -10
- package/scripts/copy-assets.mjs +0 -64
- package/scripts/generate-schema.mjs +0 -40
- package/scripts/run-e2e-local.sh +0 -112
- package/scripts/start-tui-harness.sh +0 -90
- /package/dist/{agent-inspector/favicon.svg → assets/agent-inspector/favicon.svg.asset} +0 -0
- /package/dist/{agent-inspector/index.html → assets/agent-inspector/index.html.asset} +0 -0
- /package/dist/assets/{python/http/strands/base → templates/a2a-python-strands}/gitignore.template +0 -0
- /package/dist/assets/{typescript/.gitkeep → templates/a2a-python-strands/memory/__init__.py} +0 -0
- /package/dist/assets/{python/a2a/googleadk/base → templates/a2a-python-strands}/model/__init__.py +0 -0
- /package/dist/assets/{python/a2a/langchain_langgraph/base → templates/agent-python-langchain}/model/__init__.py +0 -0
- /package/dist/assets/{container/python → templates/agent-python-strands}/dockerignore.template +0 -0
- /package/dist/assets/{python/a2a/strands/base → templates/agent-python-strands}/model/__init__.py +0 -0
- /package/dist/assets/{python/a2a/strands/capabilities/memory → templates/agui-python-strands/model}/__init__.py +0 -0
- /package/dist/assets/{python/agui/googleadk/base/model → templates/export-harness-python/mcp_client}/__init__.py +0 -0
- /package/dist/assets/{python/agui/langchain_langgraph/base → templates/export-harness-python}/model/__init__.py +0 -0
|
@@ -1,820 +0,0 @@
|
|
|
1
|
-
import type { DirectoryPath, FilePath } from '../types';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
export declare const GatewayTargetTypeSchema: z.ZodEnum<{
|
|
4
|
-
lambda: "lambda";
|
|
5
|
-
mcpServer: "mcpServer";
|
|
6
|
-
openApiSchema: "openApiSchema";
|
|
7
|
-
smithyModel: "smithyModel";
|
|
8
|
-
apiGateway: "apiGateway";
|
|
9
|
-
lambdaFunctionArn: "lambdaFunctionArn";
|
|
10
|
-
}>;
|
|
11
|
-
export type GatewayTargetType = z.infer<typeof GatewayTargetTypeSchema>;
|
|
12
|
-
export declare const OutboundAuthTypeSchema: z.ZodEnum<{
|
|
13
|
-
NONE: "NONE";
|
|
14
|
-
OAUTH: "OAUTH";
|
|
15
|
-
API_KEY: "API_KEY";
|
|
16
|
-
}>;
|
|
17
|
-
export type OutboundAuthType = z.infer<typeof OutboundAuthTypeSchema>;
|
|
18
|
-
export declare const OutboundAuthSchema: z.ZodObject<{
|
|
19
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
20
|
-
NONE: "NONE";
|
|
21
|
-
OAUTH: "OAUTH";
|
|
22
|
-
API_KEY: "API_KEY";
|
|
23
|
-
}>>;
|
|
24
|
-
credentialName: z.ZodOptional<z.ZodString>;
|
|
25
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
-
}, z.core.$strict>;
|
|
27
|
-
export type OutboundAuth = z.infer<typeof OutboundAuthSchema>;
|
|
28
|
-
/**
|
|
29
|
-
* Outbound authentication rules per gateway target type.
|
|
30
|
-
*
|
|
31
|
-
* - `authRequired` — target cannot be created without outbound auth
|
|
32
|
-
* - `validAuthTypes` — allowed OutboundAuthType values (empty = no outbound auth applicable)
|
|
33
|
-
* - `iamRoleFallback` — CDK passes GATEWAY_IAM_ROLE when no auth configured
|
|
34
|
-
*/
|
|
35
|
-
export declare const TARGET_TYPE_AUTH_CONFIG: Record<GatewayTargetType, {
|
|
36
|
-
authRequired: boolean;
|
|
37
|
-
validAuthTypes: readonly OutboundAuthType[];
|
|
38
|
-
iamRoleFallback: boolean;
|
|
39
|
-
}>;
|
|
40
|
-
export declare const ApiGatewayHttpMethodSchema: z.ZodEnum<{
|
|
41
|
-
GET: "GET";
|
|
42
|
-
POST: "POST";
|
|
43
|
-
PUT: "PUT";
|
|
44
|
-
DELETE: "DELETE";
|
|
45
|
-
PATCH: "PATCH";
|
|
46
|
-
HEAD: "HEAD";
|
|
47
|
-
OPTIONS: "OPTIONS";
|
|
48
|
-
}>;
|
|
49
|
-
export type ApiGatewayHttpMethod = z.infer<typeof ApiGatewayHttpMethodSchema>;
|
|
50
|
-
export declare const ApiGatewayToolFilterSchema: z.ZodObject<{
|
|
51
|
-
filterPath: z.ZodString;
|
|
52
|
-
methods: z.ZodArray<z.ZodEnum<{
|
|
53
|
-
GET: "GET";
|
|
54
|
-
POST: "POST";
|
|
55
|
-
PUT: "PUT";
|
|
56
|
-
DELETE: "DELETE";
|
|
57
|
-
PATCH: "PATCH";
|
|
58
|
-
HEAD: "HEAD";
|
|
59
|
-
OPTIONS: "OPTIONS";
|
|
60
|
-
}>>;
|
|
61
|
-
}, z.core.$strict>;
|
|
62
|
-
export declare const ApiGatewayToolOverrideSchema: z.ZodObject<{
|
|
63
|
-
name: z.ZodString;
|
|
64
|
-
path: z.ZodString;
|
|
65
|
-
method: z.ZodEnum<{
|
|
66
|
-
GET: "GET";
|
|
67
|
-
POST: "POST";
|
|
68
|
-
PUT: "PUT";
|
|
69
|
-
DELETE: "DELETE";
|
|
70
|
-
PATCH: "PATCH";
|
|
71
|
-
HEAD: "HEAD";
|
|
72
|
-
OPTIONS: "OPTIONS";
|
|
73
|
-
}>;
|
|
74
|
-
description: z.ZodOptional<z.ZodString>;
|
|
75
|
-
}, z.core.$strict>;
|
|
76
|
-
export declare const ApiGatewayToolConfigurationSchema: z.ZodObject<{
|
|
77
|
-
toolFilters: z.ZodArray<z.ZodObject<{
|
|
78
|
-
filterPath: z.ZodString;
|
|
79
|
-
methods: z.ZodArray<z.ZodEnum<{
|
|
80
|
-
GET: "GET";
|
|
81
|
-
POST: "POST";
|
|
82
|
-
PUT: "PUT";
|
|
83
|
-
DELETE: "DELETE";
|
|
84
|
-
PATCH: "PATCH";
|
|
85
|
-
HEAD: "HEAD";
|
|
86
|
-
OPTIONS: "OPTIONS";
|
|
87
|
-
}>>;
|
|
88
|
-
}, z.core.$strict>>;
|
|
89
|
-
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
90
|
-
name: z.ZodString;
|
|
91
|
-
path: z.ZodString;
|
|
92
|
-
method: z.ZodEnum<{
|
|
93
|
-
GET: "GET";
|
|
94
|
-
POST: "POST";
|
|
95
|
-
PUT: "PUT";
|
|
96
|
-
DELETE: "DELETE";
|
|
97
|
-
PATCH: "PATCH";
|
|
98
|
-
HEAD: "HEAD";
|
|
99
|
-
OPTIONS: "OPTIONS";
|
|
100
|
-
}>;
|
|
101
|
-
description: z.ZodOptional<z.ZodString>;
|
|
102
|
-
}, z.core.$strict>>>;
|
|
103
|
-
}, z.core.$strict>;
|
|
104
|
-
export declare const ApiGatewayConfigSchema: z.ZodObject<{
|
|
105
|
-
restApiId: z.ZodString;
|
|
106
|
-
stage: z.ZodString;
|
|
107
|
-
apiGatewayToolConfiguration: z.ZodObject<{
|
|
108
|
-
toolFilters: z.ZodArray<z.ZodObject<{
|
|
109
|
-
filterPath: z.ZodString;
|
|
110
|
-
methods: z.ZodArray<z.ZodEnum<{
|
|
111
|
-
GET: "GET";
|
|
112
|
-
POST: "POST";
|
|
113
|
-
PUT: "PUT";
|
|
114
|
-
DELETE: "DELETE";
|
|
115
|
-
PATCH: "PATCH";
|
|
116
|
-
HEAD: "HEAD";
|
|
117
|
-
OPTIONS: "OPTIONS";
|
|
118
|
-
}>>;
|
|
119
|
-
}, z.core.$strict>>;
|
|
120
|
-
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121
|
-
name: z.ZodString;
|
|
122
|
-
path: z.ZodString;
|
|
123
|
-
method: z.ZodEnum<{
|
|
124
|
-
GET: "GET";
|
|
125
|
-
POST: "POST";
|
|
126
|
-
PUT: "PUT";
|
|
127
|
-
DELETE: "DELETE";
|
|
128
|
-
PATCH: "PATCH";
|
|
129
|
-
HEAD: "HEAD";
|
|
130
|
-
OPTIONS: "OPTIONS";
|
|
131
|
-
}>;
|
|
132
|
-
description: z.ZodOptional<z.ZodString>;
|
|
133
|
-
}, z.core.$strict>>>;
|
|
134
|
-
}, z.core.$strict>;
|
|
135
|
-
}, z.core.$strict>;
|
|
136
|
-
export type ApiGatewayConfig = z.infer<typeof ApiGatewayConfigSchema>;
|
|
137
|
-
export declare const LambdaFunctionArnConfigSchema: z.ZodObject<{
|
|
138
|
-
lambdaArn: z.ZodString;
|
|
139
|
-
toolSchemaFile: z.ZodString;
|
|
140
|
-
}, z.core.$strict>;
|
|
141
|
-
export type LambdaFunctionArnConfig = z.infer<typeof LambdaFunctionArnConfigSchema>;
|
|
142
|
-
export declare const McpImplLanguageSchema: z.ZodEnum<{
|
|
143
|
-
Python: "Python";
|
|
144
|
-
TypeScript: "TypeScript";
|
|
145
|
-
}>;
|
|
146
|
-
export type McpImplementationLanguage = z.infer<typeof McpImplLanguageSchema>;
|
|
147
|
-
export declare const ComputeHostSchema: z.ZodEnum<{
|
|
148
|
-
AgentCoreRuntime: "AgentCoreRuntime";
|
|
149
|
-
Lambda: "Lambda";
|
|
150
|
-
}>;
|
|
151
|
-
export type ComputeHost = z.infer<typeof ComputeHostSchema>;
|
|
152
|
-
/**
|
|
153
|
-
* Code-based tool implementation (Python, TypeScript).
|
|
154
|
-
*
|
|
155
|
-
* The CLI is responsible for:
|
|
156
|
-
* - installing dependencies
|
|
157
|
-
* - building / bundling
|
|
158
|
-
* - creating a zip artifact
|
|
159
|
-
* - uploading artifacts to S3
|
|
160
|
-
*/
|
|
161
|
-
export declare const ToolImplementationBindingSchema: z.ZodObject<{
|
|
162
|
-
language: z.ZodEnum<{
|
|
163
|
-
Python: "Python";
|
|
164
|
-
TypeScript: "TypeScript";
|
|
165
|
-
}>;
|
|
166
|
-
path: z.ZodString;
|
|
167
|
-
handler: z.ZodString;
|
|
168
|
-
}, z.core.$strict>;
|
|
169
|
-
export type ToolImplementationBinding = z.infer<typeof ToolImplementationBindingSchema>;
|
|
170
|
-
/**
|
|
171
|
-
* Opaque IAM policy document.
|
|
172
|
-
*
|
|
173
|
-
* This is passed through verbatim to CloudFormation / IAM.
|
|
174
|
-
* AgentCore does not validate, transform, or provide compatibility guarantees.
|
|
175
|
-
*/
|
|
176
|
-
export declare const IamPolicyDocumentSchema: z.ZodObject<{
|
|
177
|
-
Version: z.ZodString;
|
|
178
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
179
|
-
}, z.core.$loose>;
|
|
180
|
-
export type IamPolicyDocument = z.infer<typeof IamPolicyDocumentSchema>;
|
|
181
|
-
declare const CodeZipRuntimeConfigSchema: z.ZodObject<{
|
|
182
|
-
artifact: z.ZodLiteral<"CodeZip">;
|
|
183
|
-
pythonVersion: z.ZodEnum<{
|
|
184
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
185
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
186
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
187
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
188
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
189
|
-
}>;
|
|
190
|
-
name: z.ZodString;
|
|
191
|
-
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
192
|
-
codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
|
|
193
|
-
instrumentation: z.ZodOptional<z.ZodObject<{
|
|
194
|
-
enableOtel: z.ZodDefault<z.ZodBoolean>;
|
|
195
|
-
}, z.core.$strip>>;
|
|
196
|
-
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
197
|
-
PUBLIC: "PUBLIC";
|
|
198
|
-
VPC: "VPC";
|
|
199
|
-
}>>>;
|
|
200
|
-
description: z.ZodOptional<z.ZodString>;
|
|
201
|
-
}, z.core.$strict>;
|
|
202
|
-
export type CodeZipRuntimeConfig = z.infer<typeof CodeZipRuntimeConfigSchema>;
|
|
203
|
-
/**
|
|
204
|
-
* Runtime configuration for AgentCore Runtime (MCP mode).
|
|
205
|
-
* Explicit CodeZip artifact configuration - no CLI-managed defaults.
|
|
206
|
-
*/
|
|
207
|
-
export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
208
|
-
artifact: z.ZodLiteral<"CodeZip">;
|
|
209
|
-
pythonVersion: z.ZodEnum<{
|
|
210
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
211
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
212
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
213
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
214
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
215
|
-
}>;
|
|
216
|
-
name: z.ZodString;
|
|
217
|
-
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
218
|
-
codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
|
|
219
|
-
instrumentation: z.ZodOptional<z.ZodObject<{
|
|
220
|
-
enableOtel: z.ZodDefault<z.ZodBoolean>;
|
|
221
|
-
}, z.core.$strip>>;
|
|
222
|
-
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
223
|
-
PUBLIC: "PUBLIC";
|
|
224
|
-
VPC: "VPC";
|
|
225
|
-
}>>>;
|
|
226
|
-
description: z.ZodOptional<z.ZodString>;
|
|
227
|
-
}, z.core.$strict>;
|
|
228
|
-
export type RuntimeConfig = z.infer<typeof RuntimeConfigSchema>;
|
|
229
|
-
/**
|
|
230
|
-
* Lambda compute configuration schema.
|
|
231
|
-
* Lambda supports both Python and TypeScript.
|
|
232
|
-
*/
|
|
233
|
-
declare const LambdaComputeConfigSchema: z.ZodObject<{
|
|
234
|
-
host: z.ZodLiteral<"Lambda">;
|
|
235
|
-
implementation: z.ZodObject<{
|
|
236
|
-
language: z.ZodEnum<{
|
|
237
|
-
Python: "Python";
|
|
238
|
-
TypeScript: "TypeScript";
|
|
239
|
-
}>;
|
|
240
|
-
path: z.ZodString;
|
|
241
|
-
handler: z.ZodString;
|
|
242
|
-
}, z.core.$strict>;
|
|
243
|
-
nodeVersion: z.ZodOptional<z.ZodEnum<{
|
|
244
|
-
NODE_18: "NODE_18";
|
|
245
|
-
NODE_20: "NODE_20";
|
|
246
|
-
NODE_22: "NODE_22";
|
|
247
|
-
}>>;
|
|
248
|
-
pythonVersion: z.ZodOptional<z.ZodEnum<{
|
|
249
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
250
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
251
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
252
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
253
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
254
|
-
}>>;
|
|
255
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
256
|
-
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
257
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
258
|
-
Version: z.ZodString;
|
|
259
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
260
|
-
}, z.core.$loose>>;
|
|
261
|
-
}, z.core.$strict>;
|
|
262
|
-
export type LambdaComputeConfig = z.infer<typeof LambdaComputeConfigSchema>;
|
|
263
|
-
/**
|
|
264
|
-
* AgentCore Runtime compute configuration schema.
|
|
265
|
-
* AgentCore Runtime ONLY supports Python.
|
|
266
|
-
*/
|
|
267
|
-
declare const AgentCoreRuntimeComputeConfigSchema: z.ZodObject<{
|
|
268
|
-
host: z.ZodLiteral<"AgentCoreRuntime">;
|
|
269
|
-
implementation: z.ZodObject<{
|
|
270
|
-
language: z.ZodEnum<{
|
|
271
|
-
Python: "Python";
|
|
272
|
-
TypeScript: "TypeScript";
|
|
273
|
-
}>;
|
|
274
|
-
path: z.ZodString;
|
|
275
|
-
handler: z.ZodString;
|
|
276
|
-
}, z.core.$strict>;
|
|
277
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
278
|
-
artifact: z.ZodLiteral<"CodeZip">;
|
|
279
|
-
pythonVersion: z.ZodEnum<{
|
|
280
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
281
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
282
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
283
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
284
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
285
|
-
}>;
|
|
286
|
-
name: z.ZodString;
|
|
287
|
-
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
288
|
-
codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
|
|
289
|
-
instrumentation: z.ZodOptional<z.ZodObject<{
|
|
290
|
-
enableOtel: z.ZodDefault<z.ZodBoolean>;
|
|
291
|
-
}, z.core.$strip>>;
|
|
292
|
-
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
293
|
-
PUBLIC: "PUBLIC";
|
|
294
|
-
VPC: "VPC";
|
|
295
|
-
}>>>;
|
|
296
|
-
description: z.ZodOptional<z.ZodString>;
|
|
297
|
-
}, z.core.$strict>>;
|
|
298
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
299
|
-
Version: z.ZodString;
|
|
300
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
301
|
-
}, z.core.$loose>>;
|
|
302
|
-
}, z.core.$strict>;
|
|
303
|
-
export type AgentCoreRuntimeComputeConfig = z.infer<typeof AgentCoreRuntimeComputeConfigSchema>;
|
|
304
|
-
/**
|
|
305
|
-
* Tool compute configuration (discriminated union).
|
|
306
|
-
*/
|
|
307
|
-
export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
308
|
-
host: z.ZodLiteral<"Lambda">;
|
|
309
|
-
implementation: z.ZodObject<{
|
|
310
|
-
language: z.ZodEnum<{
|
|
311
|
-
Python: "Python";
|
|
312
|
-
TypeScript: "TypeScript";
|
|
313
|
-
}>;
|
|
314
|
-
path: z.ZodString;
|
|
315
|
-
handler: z.ZodString;
|
|
316
|
-
}, z.core.$strict>;
|
|
317
|
-
nodeVersion: z.ZodOptional<z.ZodEnum<{
|
|
318
|
-
NODE_18: "NODE_18";
|
|
319
|
-
NODE_20: "NODE_20";
|
|
320
|
-
NODE_22: "NODE_22";
|
|
321
|
-
}>>;
|
|
322
|
-
pythonVersion: z.ZodOptional<z.ZodEnum<{
|
|
323
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
324
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
325
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
326
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
327
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
328
|
-
}>>;
|
|
329
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
330
|
-
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
331
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
332
|
-
Version: z.ZodString;
|
|
333
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
334
|
-
}, z.core.$loose>>;
|
|
335
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
336
|
-
host: z.ZodLiteral<"AgentCoreRuntime">;
|
|
337
|
-
implementation: z.ZodObject<{
|
|
338
|
-
language: z.ZodEnum<{
|
|
339
|
-
Python: "Python";
|
|
340
|
-
TypeScript: "TypeScript";
|
|
341
|
-
}>;
|
|
342
|
-
path: z.ZodString;
|
|
343
|
-
handler: z.ZodString;
|
|
344
|
-
}, z.core.$strict>;
|
|
345
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
346
|
-
artifact: z.ZodLiteral<"CodeZip">;
|
|
347
|
-
pythonVersion: z.ZodEnum<{
|
|
348
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
349
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
350
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
351
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
352
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
353
|
-
}>;
|
|
354
|
-
name: z.ZodString;
|
|
355
|
-
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
356
|
-
codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
|
|
357
|
-
instrumentation: z.ZodOptional<z.ZodObject<{
|
|
358
|
-
enableOtel: z.ZodDefault<z.ZodBoolean>;
|
|
359
|
-
}, z.core.$strip>>;
|
|
360
|
-
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
361
|
-
PUBLIC: "PUBLIC";
|
|
362
|
-
VPC: "VPC";
|
|
363
|
-
}>>>;
|
|
364
|
-
description: z.ZodOptional<z.ZodString>;
|
|
365
|
-
}, z.core.$strict>>;
|
|
366
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
367
|
-
Version: z.ZodString;
|
|
368
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
369
|
-
}, z.core.$loose>>;
|
|
370
|
-
}, z.core.$strict>], "host">;
|
|
371
|
-
export type ToolComputeConfig = z.infer<typeof ToolComputeConfigSchema>;
|
|
372
|
-
/** Schema source: either a local file path (read at synth time) or an S3 URI. */
|
|
373
|
-
export declare const SchemaSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
374
|
-
inline: z.ZodObject<{
|
|
375
|
-
path: z.ZodString;
|
|
376
|
-
}, z.core.$strict>;
|
|
377
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
378
|
-
s3: z.ZodObject<{
|
|
379
|
-
uri: z.ZodString;
|
|
380
|
-
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
381
|
-
}, z.core.$strict>;
|
|
382
|
-
}, z.core.$strict>]>;
|
|
383
|
-
export type SchemaSource = z.infer<typeof SchemaSourceSchema>;
|
|
384
|
-
/**
|
|
385
|
-
* A gateway target binds one or more ToolDefinitions to compute that services them.
|
|
386
|
-
*
|
|
387
|
-
* A single Lambda or AgentCoreRuntime can expose multiple tools. The gateway routes
|
|
388
|
-
* tool invocations to the appropriate target based on tool name.
|
|
389
|
-
*
|
|
390
|
-
* If compute is omitted, the tools are treated as external or abstract targets.
|
|
391
|
-
*/
|
|
392
|
-
export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
393
|
-
name: z.ZodString;
|
|
394
|
-
targetType: z.ZodEnum<{
|
|
395
|
-
lambda: "lambda";
|
|
396
|
-
mcpServer: "mcpServer";
|
|
397
|
-
openApiSchema: "openApiSchema";
|
|
398
|
-
smithyModel: "smithyModel";
|
|
399
|
-
apiGateway: "apiGateway";
|
|
400
|
-
lambdaFunctionArn: "lambdaFunctionArn";
|
|
401
|
-
}>;
|
|
402
|
-
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
403
|
-
name: z.ZodString;
|
|
404
|
-
description: z.ZodString;
|
|
405
|
-
inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
|
|
406
|
-
outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
|
|
407
|
-
}, z.core.$strict>>>;
|
|
408
|
-
compute: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
409
|
-
host: z.ZodLiteral<"Lambda">;
|
|
410
|
-
implementation: z.ZodObject<{
|
|
411
|
-
language: z.ZodEnum<{
|
|
412
|
-
Python: "Python";
|
|
413
|
-
TypeScript: "TypeScript";
|
|
414
|
-
}>;
|
|
415
|
-
path: z.ZodString;
|
|
416
|
-
handler: z.ZodString;
|
|
417
|
-
}, z.core.$strict>;
|
|
418
|
-
nodeVersion: z.ZodOptional<z.ZodEnum<{
|
|
419
|
-
NODE_18: "NODE_18";
|
|
420
|
-
NODE_20: "NODE_20";
|
|
421
|
-
NODE_22: "NODE_22";
|
|
422
|
-
}>>;
|
|
423
|
-
pythonVersion: z.ZodOptional<z.ZodEnum<{
|
|
424
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
425
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
426
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
427
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
428
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
429
|
-
}>>;
|
|
430
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
431
|
-
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
432
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
433
|
-
Version: z.ZodString;
|
|
434
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
435
|
-
}, z.core.$loose>>;
|
|
436
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
437
|
-
host: z.ZodLiteral<"AgentCoreRuntime">;
|
|
438
|
-
implementation: z.ZodObject<{
|
|
439
|
-
language: z.ZodEnum<{
|
|
440
|
-
Python: "Python";
|
|
441
|
-
TypeScript: "TypeScript";
|
|
442
|
-
}>;
|
|
443
|
-
path: z.ZodString;
|
|
444
|
-
handler: z.ZodString;
|
|
445
|
-
}, z.core.$strict>;
|
|
446
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
447
|
-
artifact: z.ZodLiteral<"CodeZip">;
|
|
448
|
-
pythonVersion: z.ZodEnum<{
|
|
449
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
450
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
451
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
452
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
453
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
454
|
-
}>;
|
|
455
|
-
name: z.ZodString;
|
|
456
|
-
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
457
|
-
codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
|
|
458
|
-
instrumentation: z.ZodOptional<z.ZodObject<{
|
|
459
|
-
enableOtel: z.ZodDefault<z.ZodBoolean>;
|
|
460
|
-
}, z.core.$strip>>;
|
|
461
|
-
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
462
|
-
PUBLIC: "PUBLIC";
|
|
463
|
-
VPC: "VPC";
|
|
464
|
-
}>>>;
|
|
465
|
-
description: z.ZodOptional<z.ZodString>;
|
|
466
|
-
}, z.core.$strict>>;
|
|
467
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
468
|
-
Version: z.ZodString;
|
|
469
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
470
|
-
}, z.core.$loose>>;
|
|
471
|
-
}, z.core.$strict>], "host">>;
|
|
472
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
473
|
-
outboundAuth: z.ZodOptional<z.ZodObject<{
|
|
474
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
475
|
-
NONE: "NONE";
|
|
476
|
-
OAUTH: "OAUTH";
|
|
477
|
-
API_KEY: "API_KEY";
|
|
478
|
-
}>>;
|
|
479
|
-
credentialName: z.ZodOptional<z.ZodString>;
|
|
480
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
481
|
-
}, z.core.$strict>>;
|
|
482
|
-
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
483
|
-
restApiId: z.ZodString;
|
|
484
|
-
stage: z.ZodString;
|
|
485
|
-
apiGatewayToolConfiguration: z.ZodObject<{
|
|
486
|
-
toolFilters: z.ZodArray<z.ZodObject<{
|
|
487
|
-
filterPath: z.ZodString;
|
|
488
|
-
methods: z.ZodArray<z.ZodEnum<{
|
|
489
|
-
GET: "GET";
|
|
490
|
-
POST: "POST";
|
|
491
|
-
PUT: "PUT";
|
|
492
|
-
DELETE: "DELETE";
|
|
493
|
-
PATCH: "PATCH";
|
|
494
|
-
HEAD: "HEAD";
|
|
495
|
-
OPTIONS: "OPTIONS";
|
|
496
|
-
}>>;
|
|
497
|
-
}, z.core.$strict>>;
|
|
498
|
-
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
499
|
-
name: z.ZodString;
|
|
500
|
-
path: z.ZodString;
|
|
501
|
-
method: z.ZodEnum<{
|
|
502
|
-
GET: "GET";
|
|
503
|
-
POST: "POST";
|
|
504
|
-
PUT: "PUT";
|
|
505
|
-
DELETE: "DELETE";
|
|
506
|
-
PATCH: "PATCH";
|
|
507
|
-
HEAD: "HEAD";
|
|
508
|
-
OPTIONS: "OPTIONS";
|
|
509
|
-
}>;
|
|
510
|
-
description: z.ZodOptional<z.ZodString>;
|
|
511
|
-
}, z.core.$strict>>>;
|
|
512
|
-
}, z.core.$strict>;
|
|
513
|
-
}, z.core.$strict>>;
|
|
514
|
-
schemaSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
515
|
-
inline: z.ZodObject<{
|
|
516
|
-
path: z.ZodString;
|
|
517
|
-
}, z.core.$strict>;
|
|
518
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
519
|
-
s3: z.ZodObject<{
|
|
520
|
-
uri: z.ZodString;
|
|
521
|
-
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
522
|
-
}, z.core.$strict>;
|
|
523
|
-
}, z.core.$strict>]>>;
|
|
524
|
-
lambdaFunctionArn: z.ZodOptional<z.ZodObject<{
|
|
525
|
-
lambdaArn: z.ZodString;
|
|
526
|
-
toolSchemaFile: z.ZodString;
|
|
527
|
-
}, z.core.$strict>>;
|
|
528
|
-
}, z.core.$strict>;
|
|
529
|
-
export type AgentCoreGatewayTarget = z.infer<typeof AgentCoreGatewayTargetSchema>;
|
|
530
|
-
export declare const GatewayExceptionLevelSchema: z.ZodEnum<{
|
|
531
|
-
NONE: "NONE";
|
|
532
|
-
DEBUG: "DEBUG";
|
|
533
|
-
}>;
|
|
534
|
-
export type GatewayExceptionLevel = z.infer<typeof GatewayExceptionLevelSchema>;
|
|
535
|
-
export declare const PolicyEngineModeSchema: z.ZodEnum<{
|
|
536
|
-
LOG_ONLY: "LOG_ONLY";
|
|
537
|
-
ENFORCE: "ENFORCE";
|
|
538
|
-
}>;
|
|
539
|
-
export type PolicyEngineMode = z.infer<typeof PolicyEngineModeSchema>;
|
|
540
|
-
export declare const GatewayPolicyEngineConfigurationSchema: z.ZodObject<{
|
|
541
|
-
policyEngineName: z.ZodString;
|
|
542
|
-
mode: z.ZodEnum<{
|
|
543
|
-
LOG_ONLY: "LOG_ONLY";
|
|
544
|
-
ENFORCE: "ENFORCE";
|
|
545
|
-
}>;
|
|
546
|
-
}, z.core.$strict>;
|
|
547
|
-
export type GatewayPolicyEngineConfiguration = z.infer<typeof GatewayPolicyEngineConfigurationSchema>;
|
|
548
|
-
/**
|
|
549
|
-
* Gateway abstraction with opinionated defaults.
|
|
550
|
-
* Supports NONE (default) or CUSTOM_JWT authorizer types.
|
|
551
|
-
*/
|
|
552
|
-
export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
553
|
-
name: z.ZodString;
|
|
554
|
-
resourceName: z.ZodOptional<z.ZodString>;
|
|
555
|
-
description: z.ZodOptional<z.ZodString>;
|
|
556
|
-
targets: z.ZodArray<z.ZodObject<{
|
|
557
|
-
name: z.ZodString;
|
|
558
|
-
targetType: z.ZodEnum<{
|
|
559
|
-
lambda: "lambda";
|
|
560
|
-
mcpServer: "mcpServer";
|
|
561
|
-
openApiSchema: "openApiSchema";
|
|
562
|
-
smithyModel: "smithyModel";
|
|
563
|
-
apiGateway: "apiGateway";
|
|
564
|
-
lambdaFunctionArn: "lambdaFunctionArn";
|
|
565
|
-
}>;
|
|
566
|
-
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
567
|
-
name: z.ZodString;
|
|
568
|
-
description: z.ZodString;
|
|
569
|
-
inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
|
|
570
|
-
outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
|
|
571
|
-
}, z.core.$strict>>>;
|
|
572
|
-
compute: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
573
|
-
host: z.ZodLiteral<"Lambda">;
|
|
574
|
-
implementation: z.ZodObject<{
|
|
575
|
-
language: z.ZodEnum<{
|
|
576
|
-
Python: "Python";
|
|
577
|
-
TypeScript: "TypeScript";
|
|
578
|
-
}>;
|
|
579
|
-
path: z.ZodString;
|
|
580
|
-
handler: z.ZodString;
|
|
581
|
-
}, z.core.$strict>;
|
|
582
|
-
nodeVersion: z.ZodOptional<z.ZodEnum<{
|
|
583
|
-
NODE_18: "NODE_18";
|
|
584
|
-
NODE_20: "NODE_20";
|
|
585
|
-
NODE_22: "NODE_22";
|
|
586
|
-
}>>;
|
|
587
|
-
pythonVersion: z.ZodOptional<z.ZodEnum<{
|
|
588
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
589
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
590
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
591
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
592
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
593
|
-
}>>;
|
|
594
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
595
|
-
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
596
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
597
|
-
Version: z.ZodString;
|
|
598
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
599
|
-
}, z.core.$loose>>;
|
|
600
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
601
|
-
host: z.ZodLiteral<"AgentCoreRuntime">;
|
|
602
|
-
implementation: z.ZodObject<{
|
|
603
|
-
language: z.ZodEnum<{
|
|
604
|
-
Python: "Python";
|
|
605
|
-
TypeScript: "TypeScript";
|
|
606
|
-
}>;
|
|
607
|
-
path: z.ZodString;
|
|
608
|
-
handler: z.ZodString;
|
|
609
|
-
}, z.core.$strict>;
|
|
610
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
611
|
-
artifact: z.ZodLiteral<"CodeZip">;
|
|
612
|
-
pythonVersion: z.ZodEnum<{
|
|
613
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
614
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
615
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
616
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
617
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
618
|
-
}>;
|
|
619
|
-
name: z.ZodString;
|
|
620
|
-
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
621
|
-
codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
|
|
622
|
-
instrumentation: z.ZodOptional<z.ZodObject<{
|
|
623
|
-
enableOtel: z.ZodDefault<z.ZodBoolean>;
|
|
624
|
-
}, z.core.$strip>>;
|
|
625
|
-
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
626
|
-
PUBLIC: "PUBLIC";
|
|
627
|
-
VPC: "VPC";
|
|
628
|
-
}>>>;
|
|
629
|
-
description: z.ZodOptional<z.ZodString>;
|
|
630
|
-
}, z.core.$strict>>;
|
|
631
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
632
|
-
Version: z.ZodString;
|
|
633
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
634
|
-
}, z.core.$loose>>;
|
|
635
|
-
}, z.core.$strict>], "host">>;
|
|
636
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
637
|
-
outboundAuth: z.ZodOptional<z.ZodObject<{
|
|
638
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
639
|
-
NONE: "NONE";
|
|
640
|
-
OAUTH: "OAUTH";
|
|
641
|
-
API_KEY: "API_KEY";
|
|
642
|
-
}>>;
|
|
643
|
-
credentialName: z.ZodOptional<z.ZodString>;
|
|
644
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
645
|
-
}, z.core.$strict>>;
|
|
646
|
-
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
647
|
-
restApiId: z.ZodString;
|
|
648
|
-
stage: z.ZodString;
|
|
649
|
-
apiGatewayToolConfiguration: z.ZodObject<{
|
|
650
|
-
toolFilters: z.ZodArray<z.ZodObject<{
|
|
651
|
-
filterPath: z.ZodString;
|
|
652
|
-
methods: z.ZodArray<z.ZodEnum<{
|
|
653
|
-
GET: "GET";
|
|
654
|
-
POST: "POST";
|
|
655
|
-
PUT: "PUT";
|
|
656
|
-
DELETE: "DELETE";
|
|
657
|
-
PATCH: "PATCH";
|
|
658
|
-
HEAD: "HEAD";
|
|
659
|
-
OPTIONS: "OPTIONS";
|
|
660
|
-
}>>;
|
|
661
|
-
}, z.core.$strict>>;
|
|
662
|
-
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
663
|
-
name: z.ZodString;
|
|
664
|
-
path: z.ZodString;
|
|
665
|
-
method: z.ZodEnum<{
|
|
666
|
-
GET: "GET";
|
|
667
|
-
POST: "POST";
|
|
668
|
-
PUT: "PUT";
|
|
669
|
-
DELETE: "DELETE";
|
|
670
|
-
PATCH: "PATCH";
|
|
671
|
-
HEAD: "HEAD";
|
|
672
|
-
OPTIONS: "OPTIONS";
|
|
673
|
-
}>;
|
|
674
|
-
description: z.ZodOptional<z.ZodString>;
|
|
675
|
-
}, z.core.$strict>>>;
|
|
676
|
-
}, z.core.$strict>;
|
|
677
|
-
}, z.core.$strict>>;
|
|
678
|
-
schemaSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
679
|
-
inline: z.ZodObject<{
|
|
680
|
-
path: z.ZodString;
|
|
681
|
-
}, z.core.$strict>;
|
|
682
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
683
|
-
s3: z.ZodObject<{
|
|
684
|
-
uri: z.ZodString;
|
|
685
|
-
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
686
|
-
}, z.core.$strict>;
|
|
687
|
-
}, z.core.$strict>]>>;
|
|
688
|
-
lambdaFunctionArn: z.ZodOptional<z.ZodObject<{
|
|
689
|
-
lambdaArn: z.ZodString;
|
|
690
|
-
toolSchemaFile: z.ZodString;
|
|
691
|
-
}, z.core.$strict>>;
|
|
692
|
-
}, z.core.$strict>>;
|
|
693
|
-
authorizerType: z.ZodDefault<z.ZodEnum<{
|
|
694
|
-
NONE: "NONE";
|
|
695
|
-
AWS_IAM: "AWS_IAM";
|
|
696
|
-
CUSTOM_JWT: "CUSTOM_JWT";
|
|
697
|
-
}>>;
|
|
698
|
-
authorizerConfiguration: z.ZodOptional<z.ZodObject<{
|
|
699
|
-
customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
|
|
700
|
-
discoveryUrl: z.ZodString;
|
|
701
|
-
allowedAudience: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
702
|
-
allowedClients: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
703
|
-
allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
704
|
-
customClaims: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
705
|
-
inboundTokenClaimName: z.ZodString;
|
|
706
|
-
inboundTokenClaimValueType: z.ZodEnum<{
|
|
707
|
-
STRING: "STRING";
|
|
708
|
-
STRING_ARRAY: "STRING_ARRAY";
|
|
709
|
-
}>;
|
|
710
|
-
authorizingClaimMatchValue: z.ZodObject<{
|
|
711
|
-
claimMatchOperator: z.ZodEnum<{
|
|
712
|
-
EQUALS: "EQUALS";
|
|
713
|
-
CONTAINS: "CONTAINS";
|
|
714
|
-
CONTAINS_ANY: "CONTAINS_ANY";
|
|
715
|
-
}>;
|
|
716
|
-
claimMatchValue: z.ZodObject<{
|
|
717
|
-
matchValueString: z.ZodOptional<z.ZodString>;
|
|
718
|
-
matchValueStringList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
719
|
-
}, z.core.$strip>;
|
|
720
|
-
}, z.core.$strip>;
|
|
721
|
-
}, z.core.$strict>>>;
|
|
722
|
-
}, z.core.$strict>>;
|
|
723
|
-
}, z.core.$strip>>;
|
|
724
|
-
enableSemanticSearch: z.ZodDefault<z.ZodBoolean>;
|
|
725
|
-
exceptionLevel: z.ZodDefault<z.ZodEnum<{
|
|
726
|
-
NONE: "NONE";
|
|
727
|
-
DEBUG: "DEBUG";
|
|
728
|
-
}>>;
|
|
729
|
-
policyEngineConfiguration: z.ZodOptional<z.ZodObject<{
|
|
730
|
-
policyEngineName: z.ZodString;
|
|
731
|
-
mode: z.ZodEnum<{
|
|
732
|
-
LOG_ONLY: "LOG_ONLY";
|
|
733
|
-
ENFORCE: "ENFORCE";
|
|
734
|
-
}>;
|
|
735
|
-
}, z.core.$strict>>;
|
|
736
|
-
executionRoleArn: z.ZodOptional<z.ZodString>;
|
|
737
|
-
tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
738
|
-
}, z.core.$strict>;
|
|
739
|
-
export type AgentCoreGateway = z.infer<typeof AgentCoreGatewaySchema>;
|
|
740
|
-
/**
|
|
741
|
-
* Binding from an MCP runtime tool to a runtime.
|
|
742
|
-
* When present, the runtime is granted InvokeAgentRuntime permission
|
|
743
|
-
* and receives the runtime ARN in the specified environment variable.
|
|
744
|
-
*/
|
|
745
|
-
export declare const McpRuntimeBindingSchema: z.ZodObject<{
|
|
746
|
-
runtimeName: z.ZodString;
|
|
747
|
-
envVarName: z.ZodString;
|
|
748
|
-
}, z.core.$strict>;
|
|
749
|
-
export type McpRuntimeBinding = z.infer<typeof McpRuntimeBindingSchema>;
|
|
750
|
-
/**
|
|
751
|
-
* AgentCore MCP Runtime tool servers.
|
|
752
|
-
*
|
|
753
|
-
* These are not behind a Gateway. They are deployed as AgentCoreRuntime compute
|
|
754
|
-
* and are directly addressable by agents via the generated DNS endpoint.
|
|
755
|
-
*
|
|
756
|
-
* Use the `bindings` array to grant agents permission to invoke this tool.
|
|
757
|
-
* Each binding grants InvokeAgentRuntime permission and sets an environment variable
|
|
758
|
-
* with the runtime ARN on the bound agent.
|
|
759
|
-
*/
|
|
760
|
-
export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
|
|
761
|
-
name: z.ZodString;
|
|
762
|
-
toolDefinition: z.ZodObject<{
|
|
763
|
-
name: z.ZodString;
|
|
764
|
-
description: z.ZodString;
|
|
765
|
-
inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
|
|
766
|
-
outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
|
|
767
|
-
}, z.core.$strict>;
|
|
768
|
-
compute: z.ZodObject<{
|
|
769
|
-
host: z.ZodLiteral<"AgentCoreRuntime">;
|
|
770
|
-
implementation: z.ZodObject<{
|
|
771
|
-
language: z.ZodEnum<{
|
|
772
|
-
Python: "Python";
|
|
773
|
-
TypeScript: "TypeScript";
|
|
774
|
-
}>;
|
|
775
|
-
path: z.ZodString;
|
|
776
|
-
handler: z.ZodString;
|
|
777
|
-
}, z.core.$strict>;
|
|
778
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
779
|
-
artifact: z.ZodLiteral<"CodeZip">;
|
|
780
|
-
pythonVersion: z.ZodEnum<{
|
|
781
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
782
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
783
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
784
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
785
|
-
PYTHON_3_14: "PYTHON_3_14";
|
|
786
|
-
}>;
|
|
787
|
-
name: z.ZodString;
|
|
788
|
-
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
789
|
-
codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
|
|
790
|
-
instrumentation: z.ZodOptional<z.ZodObject<{
|
|
791
|
-
enableOtel: z.ZodDefault<z.ZodBoolean>;
|
|
792
|
-
}, z.core.$strip>>;
|
|
793
|
-
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
794
|
-
PUBLIC: "PUBLIC";
|
|
795
|
-
VPC: "VPC";
|
|
796
|
-
}>>>;
|
|
797
|
-
description: z.ZodOptional<z.ZodString>;
|
|
798
|
-
}, z.core.$strict>>;
|
|
799
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
800
|
-
Version: z.ZodString;
|
|
801
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
802
|
-
}, z.core.$loose>>;
|
|
803
|
-
}, z.core.$strict>;
|
|
804
|
-
bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
805
|
-
runtimeName: z.ZodString;
|
|
806
|
-
envVarName: z.ZodString;
|
|
807
|
-
}, z.core.$strict>>>;
|
|
808
|
-
}, z.core.$strict>;
|
|
809
|
-
export type AgentCoreMcpRuntimeTool = z.infer<typeof AgentCoreMcpRuntimeToolSchema>;
|
|
810
|
-
/**
|
|
811
|
-
* Shape of MCP-related fields within AgentCoreProjectSpec.
|
|
812
|
-
* These fields are now part of agentcore.json (previously in mcp.json).
|
|
813
|
-
*/
|
|
814
|
-
export interface AgentCoreMcpSpec {
|
|
815
|
-
agentCoreGateways: AgentCoreGateway[];
|
|
816
|
-
mcpRuntimeTools?: AgentCoreMcpRuntimeTool[];
|
|
817
|
-
unassignedTargets?: AgentCoreGatewayTarget[];
|
|
818
|
-
}
|
|
819
|
-
export {};
|
|
820
|
-
//# sourceMappingURL=mcp.d.ts.map
|