agentkit-sdk-python 0.4.3__tar.gz → 0.5.0__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.
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/PKG-INFO +1 -1
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/agent_server_app/agent_server_app.py +41 -16
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/simple_app/simple_app_handlers.py +67 -4
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/knowledge/types.py +3 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/mcp/types.py +138 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/memory/types.py +3 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/runtime/types.py +12 -2
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/tools/types.py +87 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/builders/local_docker.py +10 -4
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/builders/ve_pipeline.py +10 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_config.py +10 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_runtime.py +71 -13
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/config_handler.py +5 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/strategy_configs.py +2 -2
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/docker/dockerfile/metadata.py +20 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/templates/python/Dockerfile.j2 +1 -1
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/runners/ve_agentkit.py +30 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/version.py +1 -1
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit_sdk_python.egg-info/PKG-INFO +1 -1
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/pyproject.toml +2 -1
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/LICENSE +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/MANIFEST.in +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/README.md +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/a2a_app/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/a2a_app/a2a_app.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/a2a_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/agent_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/agent_server_app/middleware.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/agent_server_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/base_app.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/mcp_app/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/mcp_app/mcp_app.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/mcp_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/simple_app/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/simple_app/simple_app.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/simple_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/apps/utils.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/client/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/client/base_agentkit_client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/client/base_iam_client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/client/base_service_client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/platform/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/platform/configuration.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/platform/constants.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/account/client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/account/types.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/identity/auth.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/knowledge/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/knowledge/client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/mcp/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/mcp/client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/memory/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/memory/client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/runtime/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/runtime/client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/tools/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/sdk/tools/client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/builders/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/builders/base.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/__main__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_build.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_deploy.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_destroy.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_init.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_knowledge.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_launch.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_memory.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_status.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_tools.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/cli_version.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/console_reporter.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/interactive_config.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/cli/utils.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/config.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/config_validator.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/constants.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/dataclass_utils.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/docker_build_config.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/global_config.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/region_resolver.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/config/utils.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/context.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/docker/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/docker/container.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/docker/dockerfile/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/docker/dockerfile/manager.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/docker/utils.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/errors.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/executors/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/executors/base_executor.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/executors/build_executor.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/executors/deploy_executor.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/executors/init_executor.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/executors/invoke_executor.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/executors/lifecycle_executor.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/executors/status_executor.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/models.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/reporter.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/__pycache__/customer_support_assistant.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/__pycache__/financial_analyst.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/__pycache__/simple_app_veadk.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/__pycache__/simple_mcp_veadk.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/a2a.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/agent_server.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/basic.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/basic_stream.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/customer_support_assistant.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/eino_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/eino_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/eino_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/eino_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/eino_a2a/main.go +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/financial_analyst.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/langchain_basic_stream.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/simple_app_veadk.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/simple_mcp_veadk.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_a2a/main.go +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_basic/agent.go +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_basic/build.sh +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_basic/go.mod +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_basic/go.sum +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/samples/veadk_go_basic/main.go +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/templates/code-pipeline-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/templates/golang/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/wrappers/wrapper_basic.py.jinja2 +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/resources/wrappers/wrapper_stream.py.jinja2 +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/runners/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/runners/base.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/runners/local_docker.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/bindings/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/bindings/memory.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/builder.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/client.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/config.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/deployer.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/initializer.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/invoker.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/lifecycle.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/sdk/status.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/strategies/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/strategies/base_strategy.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/strategies/cloud_strategy.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/strategies/hybrid_strategy.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/strategies/local_strategy.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/utils/agent_parser.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/code_pipeline.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/cr.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/iam.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/services/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/services/cr_service.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/services/tos_service.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/sts.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/toolkit/volcengine/utils/project_archiver.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/utils/global_config_io.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/utils/logging_config.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/utils/misc.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/utils/request.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/utils/template_utils.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit/utils/ve_sign.py +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit_sdk_python.egg-info/SOURCES.txt +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit_sdk_python.egg-info/dependency_links.txt +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit_sdk_python.egg-info/entry_points.txt +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit_sdk_python.egg-info/requires.txt +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/agentkit_sdk_python.egg-info/top_level.txt +0 -0
- {agentkit_sdk_python-0.4.3 → agentkit_sdk_python-0.5.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentkit-sdk-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Python SDK for transforming any AI agent into a production-ready application. Framework-agnostic primitives for runtime, memory, authentication, and tools with volcengine-managed infrastructure.
|
|
5
5
|
Author-email: Xiangrui Cheng <innsdcc@gmail.com>, Yumeng Bao <baoyumeng.123@gmail.com>, Yaozheng Fang <fangyozheng@gmail.com>, Guodong Li <cu.eric.lee@gmail.com>
|
|
6
6
|
License: Apache License
|
|
@@ -24,6 +24,7 @@ from fastapi.responses import StreamingResponse
|
|
|
24
24
|
from google.adk.a2a.utils.agent_to_a2a import to_a2a
|
|
25
25
|
from google.adk.agents.base_agent import BaseAgent
|
|
26
26
|
from google.adk.agents.run_config import RunConfig, StreamingMode
|
|
27
|
+
from google.adk.apps.app import App
|
|
27
28
|
from google.adk.artifacts.in_memory_artifact_service import (
|
|
28
29
|
InMemoryArtifactService,
|
|
29
30
|
)
|
|
@@ -42,8 +43,8 @@ from google.adk.utils.context_utils import Aclosing
|
|
|
42
43
|
from google.genai import types
|
|
43
44
|
from opentelemetry import trace
|
|
44
45
|
from veadk import Agent
|
|
45
|
-
from veadk.memory.short_term_memory import ShortTermMemory
|
|
46
46
|
from veadk.runner import Runner
|
|
47
|
+
from veadk.memory.short_term_memory import ShortTermMemory
|
|
47
48
|
|
|
48
49
|
from agentkit.apps.agent_server_app.middleware import (
|
|
49
50
|
AgentkitTelemetryHTTPMiddleware,
|
|
@@ -55,27 +56,37 @@ logger = logging.getLogger(__name__)
|
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
class AgentKitAgentLoader(BaseAgentLoader):
|
|
58
|
-
def __init__(self,
|
|
59
|
+
def __init__(self, agent_or_app: BaseAgent | App) -> None:
|
|
59
60
|
super().__init__()
|
|
60
61
|
|
|
61
|
-
self.
|
|
62
|
+
self.agent_or_app = agent_or_app
|
|
63
|
+
if isinstance(agent_or_app, App):
|
|
64
|
+
self.root_agent = agent_or_app.root_agent
|
|
65
|
+
self.app_name = agent_or_app.name or self.root_agent.name
|
|
66
|
+
else:
|
|
67
|
+
self.root_agent = agent_or_app
|
|
68
|
+
self.app_name = agent_or_app.name
|
|
62
69
|
|
|
63
70
|
@override
|
|
64
|
-
def load_agent(self, agent_name: str) -> BaseAgent:
|
|
65
|
-
|
|
71
|
+
def load_agent(self, agent_name: str) -> BaseAgent | App:
|
|
72
|
+
if agent_name != self.app_name:
|
|
73
|
+
raise ValueError(
|
|
74
|
+
f"Unknown agent '{agent_name}'. Expected '{self.app_name}'."
|
|
75
|
+
)
|
|
76
|
+
return self.agent_or_app
|
|
66
77
|
|
|
67
78
|
@override
|
|
68
79
|
def list_agents(self) -> list[str]:
|
|
69
|
-
return [self.
|
|
80
|
+
return [self.app_name]
|
|
70
81
|
|
|
71
82
|
@override
|
|
72
83
|
def list_agents_detailed(self) -> list[dict[str, Any]]:
|
|
73
|
-
name = self.
|
|
74
|
-
description = getattr(self.
|
|
84
|
+
name = self.app_name
|
|
85
|
+
description = getattr(self.root_agent, "description", "") or ""
|
|
75
86
|
return [
|
|
76
87
|
{
|
|
77
88
|
"name": name,
|
|
78
|
-
"root_agent_name": name,
|
|
89
|
+
"root_agent_name": self.root_agent.name,
|
|
79
90
|
"description": description,
|
|
80
91
|
"language": "python",
|
|
81
92
|
}
|
|
@@ -85,11 +96,25 @@ class AgentKitAgentLoader(BaseAgentLoader):
|
|
|
85
96
|
class AgentkitAgentServerApp(BaseAgentkitApp):
|
|
86
97
|
def __init__(
|
|
87
98
|
self,
|
|
88
|
-
agent: BaseAgent,
|
|
89
|
-
short_term_memory: BaseSessionService | ShortTermMemory,
|
|
99
|
+
agent: BaseAgent | App | None = None,
|
|
100
|
+
short_term_memory: BaseSessionService | ShortTermMemory | None = None,
|
|
101
|
+
*,
|
|
102
|
+
app: App | None = None,
|
|
90
103
|
) -> None:
|
|
91
104
|
super().__init__()
|
|
92
105
|
|
|
106
|
+
if short_term_memory is None:
|
|
107
|
+
raise TypeError("short_term_memory is required.")
|
|
108
|
+
|
|
109
|
+
if app is not None and agent is not None:
|
|
110
|
+
raise TypeError("Only one of 'agent' or 'app' can be provided.")
|
|
111
|
+
|
|
112
|
+
entry = app if app is not None else agent
|
|
113
|
+
if entry is None:
|
|
114
|
+
raise TypeError("Either 'agent' or 'app' must be provided.")
|
|
115
|
+
|
|
116
|
+
root_agent = entry.root_agent if isinstance(entry, App) else entry
|
|
117
|
+
|
|
93
118
|
_artifact_service = InMemoryArtifactService()
|
|
94
119
|
_credential_service = InMemoryCredentialService()
|
|
95
120
|
|
|
@@ -97,12 +122,12 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
|
|
|
97
122
|
_eval_set_results_manager = LocalEvalSetResultsManager(agents_dir=".")
|
|
98
123
|
|
|
99
124
|
self.server = AdkWebServer(
|
|
100
|
-
agent_loader=AgentKitAgentLoader(
|
|
125
|
+
agent_loader=AgentKitAgentLoader(entry),
|
|
101
126
|
session_service=short_term_memory
|
|
102
127
|
if isinstance(short_term_memory, BaseSessionService)
|
|
103
128
|
else short_term_memory.session_service,
|
|
104
|
-
memory_service=
|
|
105
|
-
if isinstance(
|
|
129
|
+
memory_service=root_agent.long_term_memory
|
|
130
|
+
if isinstance(root_agent, Agent) and root_agent.long_term_memory
|
|
106
131
|
else InMemoryMemoryService(),
|
|
107
132
|
artifact_service=_artifact_service,
|
|
108
133
|
credential_service=_credential_service,
|
|
@@ -111,8 +136,8 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
|
|
|
111
136
|
agents_dir=".",
|
|
112
137
|
)
|
|
113
138
|
|
|
114
|
-
runner = Runner(agent=
|
|
115
|
-
_a2a_server_app = to_a2a(agent=
|
|
139
|
+
runner = Runner(agent=root_agent)
|
|
140
|
+
_a2a_server_app = to_a2a(agent=root_agent, runner=runner)
|
|
116
141
|
|
|
117
142
|
@asynccontextmanager
|
|
118
143
|
async def lifespan(app: FastAPI):
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
15
|
import asyncio
|
|
16
|
+
import json
|
|
16
17
|
import inspect
|
|
17
18
|
import logging
|
|
18
19
|
import threading
|
|
@@ -22,6 +23,7 @@ from abc import ABC, abstractmethod
|
|
|
22
23
|
from typing import Any, Callable, Optional
|
|
23
24
|
from typing_extensions import override
|
|
24
25
|
|
|
26
|
+
from starlette.exceptions import HTTPException
|
|
25
27
|
from starlette.requests import Request
|
|
26
28
|
from starlette.responses import JSONResponse, Response, StreamingResponse
|
|
27
29
|
|
|
@@ -33,6 +35,13 @@ from opentelemetry import trace
|
|
|
33
35
|
logger = logging.getLogger("agentkit." + __name__)
|
|
34
36
|
|
|
35
37
|
|
|
38
|
+
class InvalidJSONPayloadError(Exception): ...
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def _build_error_content(message: str, error_type: str) -> dict[str, dict[str, str]]:
|
|
42
|
+
return {"error": {"message": message, "type": error_type}}
|
|
43
|
+
|
|
44
|
+
|
|
36
45
|
class BaseHandler(ABC):
|
|
37
46
|
def __init__(self, func: Callable | None = None) -> None:
|
|
38
47
|
self.func = func
|
|
@@ -46,7 +55,13 @@ class InvokeHandler(BaseHandler):
|
|
|
46
55
|
async def handle(self, request: Request) -> Response | StreamingResponse:
|
|
47
56
|
if not self.func:
|
|
48
57
|
logger.error("Invoke handler function is not set")
|
|
49
|
-
return
|
|
58
|
+
return JSONResponse(
|
|
59
|
+
status_code=404,
|
|
60
|
+
content=_build_error_content(
|
|
61
|
+
message="Entrypoint function is not set. Please register a function with @app.entrypoint.",
|
|
62
|
+
error_type="NotFound",
|
|
63
|
+
),
|
|
64
|
+
)
|
|
50
65
|
|
|
51
66
|
span = telemetry.tracer.start_span(name="agentkit_invocation")
|
|
52
67
|
ctx = trace.set_span_in_context(span)
|
|
@@ -72,13 +87,58 @@ class InvokeHandler(BaseHandler):
|
|
|
72
87
|
media_type="text/event-stream",
|
|
73
88
|
)
|
|
74
89
|
|
|
90
|
+
if isinstance(result, Response):
|
|
91
|
+
logger.info("Returning Starlette response")
|
|
92
|
+
telemetry.trace_agent_finish("", None)
|
|
93
|
+
return result
|
|
94
|
+
|
|
75
95
|
logger.info("Returning non-streaming response")
|
|
76
96
|
safe_json_string = safe_serialize_to_json_string(result)
|
|
77
97
|
telemetry.trace_agent_finish(safe_json_string, None)
|
|
98
|
+
except InvalidJSONPayloadError as e:
|
|
99
|
+
logger.warning("Failed to parse JSON payload: %s", e)
|
|
100
|
+
telemetry.trace_agent_finish("", e)
|
|
101
|
+
return JSONResponse(
|
|
102
|
+
status_code=400,
|
|
103
|
+
content=_build_error_content(
|
|
104
|
+
message="Invalid JSON payload. Please provide a valid JSON object in the request body.",
|
|
105
|
+
error_type="BadRequest",
|
|
106
|
+
),
|
|
107
|
+
)
|
|
108
|
+
except HTTPException as e:
|
|
109
|
+
logger.info("Returning HTTP exception: %s", e.status_code)
|
|
110
|
+
status_code = int(getattr(e, "status_code", 500) or 500)
|
|
111
|
+
detail = getattr(e, "detail", "")
|
|
112
|
+
if status_code < 500:
|
|
113
|
+
telemetry.trace_agent_finish("", None)
|
|
114
|
+
if isinstance(detail, str):
|
|
115
|
+
message = detail
|
|
116
|
+
else:
|
|
117
|
+
message = safe_serialize_to_json_string(detail)
|
|
118
|
+
content = _build_error_content(
|
|
119
|
+
message=message, error_type="HTTPException"
|
|
120
|
+
)
|
|
121
|
+
else:
|
|
122
|
+
telemetry.trace_agent_finish("", e)
|
|
123
|
+
content = _build_error_content(
|
|
124
|
+
message="An error occurred inside the user-defined entrypoint function (decorated with @app.entrypoint). This is likely caused by the agent application, not AgentKit. Please contact agent administrator and check the Runtime logs.",
|
|
125
|
+
error_type="HTTPException",
|
|
126
|
+
)
|
|
127
|
+
return JSONResponse(
|
|
128
|
+
status_code=status_code,
|
|
129
|
+
content=content,
|
|
130
|
+
headers=getattr(e, "headers", None),
|
|
131
|
+
)
|
|
78
132
|
except Exception as e:
|
|
79
|
-
logger.
|
|
133
|
+
logger.exception("Invoke handler function failed: %s", e)
|
|
80
134
|
telemetry.trace_agent_finish("", e)
|
|
81
|
-
|
|
135
|
+
return JSONResponse(
|
|
136
|
+
status_code=500,
|
|
137
|
+
content=_build_error_content(
|
|
138
|
+
message="An error occurred inside the user-defined entrypoint function (decorated with @app.entrypoint). This is likely caused by the agent application, not AgentKit. Please contact agent administrator and check the Runtime logs.",
|
|
139
|
+
error_type=type(e).__name__,
|
|
140
|
+
),
|
|
141
|
+
)
|
|
82
142
|
|
|
83
143
|
return Response(safe_json_string, media_type="application/json")
|
|
84
144
|
|
|
@@ -99,7 +159,10 @@ class InvokeHandler(BaseHandler):
|
|
|
99
159
|
return {}, {}, {"message": "Invoke handler function is not set."}
|
|
100
160
|
|
|
101
161
|
# parse request
|
|
102
|
-
|
|
162
|
+
try:
|
|
163
|
+
payload: dict = await request.json()
|
|
164
|
+
except json.JSONDecodeError as e:
|
|
165
|
+
raise InvalidJSONPayloadError(str(e)) from e
|
|
103
166
|
headers: dict = dict(request.headers)
|
|
104
167
|
|
|
105
168
|
# parse entrypoint function params
|
|
@@ -100,6 +100,9 @@ class VpcConfigForGetKnowledgeBase(KnowledgeBaseModel):
|
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
class VpcConfigurationForListKnowledgeBases(KnowledgeBaseModel):
|
|
103
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
104
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
105
|
+
)
|
|
103
106
|
security_group_ids: Optional[list[str]] = Field(
|
|
104
107
|
default=None, alias="SecurityGroupIds"
|
|
105
108
|
)
|
|
@@ -63,10 +63,22 @@ class AuthorizerConfigurationForListMCPToolsets(MCPBaseModel):
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
class AuthorizerForGetMCPServiceForInboundAuthorizerConfiguration(MCPBaseModel):
|
|
66
|
+
custom_jwt_authorizer: Optional[CustomJwtAuthorizerForGetMCPService] = Field(
|
|
67
|
+
default=None, alias="CustomJwtAuthorizer"
|
|
68
|
+
)
|
|
69
|
+
identity_authorizer: Optional[IdentityAuthorizerForGetMCPService] = Field(
|
|
70
|
+
default=None, alias="IdentityAuthorizer"
|
|
71
|
+
)
|
|
66
72
|
key_auth: Optional[KeyAuthForGetMCPService] = Field(default=None, alias="KeyAuth")
|
|
67
73
|
|
|
68
74
|
|
|
69
75
|
class AuthorizerForGetMCPServiceForOutboundAuthorizerConfiguration(MCPBaseModel):
|
|
76
|
+
custom_jwt_authorizer: Optional[CustomJwtAuthorizerForGetMCPService] = Field(
|
|
77
|
+
default=None, alias="CustomJwtAuthorizer"
|
|
78
|
+
)
|
|
79
|
+
identity_authorizer: Optional[IdentityAuthorizerForGetMCPService] = Field(
|
|
80
|
+
default=None, alias="IdentityAuthorizer"
|
|
81
|
+
)
|
|
70
82
|
key_auth: Optional[KeyAuthForGetMCPService] = Field(default=None, alias="KeyAuth")
|
|
71
83
|
|
|
72
84
|
|
|
@@ -91,9 +103,15 @@ class BackendConfigurationForGetMCPService(MCPBaseModel):
|
|
|
91
103
|
custom_mcp_configuration: Optional[CustomMcpConfigurationForGetMCPService] = Field(
|
|
92
104
|
default=None, alias="CustomMcpConfiguration"
|
|
93
105
|
)
|
|
106
|
+
ecs_configuration: Optional[EcsConfigurationForGetMCPService] = Field(
|
|
107
|
+
default=None, alias="EcsConfiguration"
|
|
108
|
+
)
|
|
94
109
|
function_configuration: Optional[FunctionConfigurationForGetMCPService] = Field(
|
|
95
110
|
default=None, alias="FunctionConfiguration"
|
|
96
111
|
)
|
|
112
|
+
vke_configuration: Optional[VkeConfigurationForGetMCPService] = Field(
|
|
113
|
+
default=None, alias="VkeConfiguration"
|
|
114
|
+
)
|
|
97
115
|
|
|
98
116
|
|
|
99
117
|
class CustomConfigurationForGetMCPService(MCPBaseModel):
|
|
@@ -102,6 +120,11 @@ class CustomConfigurationForGetMCPService(MCPBaseModel):
|
|
|
102
120
|
protocol_type: Optional[str] = Field(default=None, alias="ProtocolType")
|
|
103
121
|
|
|
104
122
|
|
|
123
|
+
class CustomJwtAuthorizerForGetMCPService(MCPBaseModel):
|
|
124
|
+
allowed_clients: Optional[list[str]] = Field(default=None, alias="AllowedClients")
|
|
125
|
+
discovery_url: Optional[str] = Field(default=None, alias="DiscoveryUrl")
|
|
126
|
+
|
|
127
|
+
|
|
105
128
|
class CustomJwtAuthorizerForGetMCPToolset(MCPBaseModel):
|
|
106
129
|
allowed_clients: Optional[list[str]] = Field(default=None, alias="AllowedClients")
|
|
107
130
|
discovery_url: Optional[str] = Field(default=None, alias="DiscoveryUrl")
|
|
@@ -124,6 +147,12 @@ class CustomMcpConfigurationForGetMCPService(MCPBaseModel):
|
|
|
124
147
|
)
|
|
125
148
|
|
|
126
149
|
|
|
150
|
+
class EcsConfigurationForGetMCPService(MCPBaseModel):
|
|
151
|
+
instances: Optional[list[InstancesForGetMCPService]] = Field(
|
|
152
|
+
default=None, alias="Instances"
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
|
|
127
156
|
class EnvsForGetMCPService(MCPBaseModel):
|
|
128
157
|
key: Optional[str] = Field(default=None, alias="Key")
|
|
129
158
|
value: Optional[str] = Field(default=None, alias="Value")
|
|
@@ -134,6 +163,13 @@ class FunctionConfigurationForGetMCPService(MCPBaseModel):
|
|
|
134
163
|
function_name: Optional[str] = Field(default=None, alias="FunctionName")
|
|
135
164
|
|
|
136
165
|
|
|
166
|
+
class IdentityAuthorizerForGetMCPService(MCPBaseModel):
|
|
167
|
+
credential_provider_name: Optional[str] = Field(
|
|
168
|
+
default=None, alias="CredentialProviderName"
|
|
169
|
+
)
|
|
170
|
+
provider_type: Optional[str] = Field(default=None, alias="ProviderType")
|
|
171
|
+
|
|
172
|
+
|
|
137
173
|
class InboundAuthorizerConfigurationForGetMCPService(MCPBaseModel):
|
|
138
174
|
authorizer: Optional[
|
|
139
175
|
AuthorizerForGetMCPServiceForInboundAuthorizerConfiguration
|
|
@@ -141,6 +177,12 @@ class InboundAuthorizerConfigurationForGetMCPService(MCPBaseModel):
|
|
|
141
177
|
authorizer_type: Optional[str] = Field(default=None, alias="AuthorizerType")
|
|
142
178
|
|
|
143
179
|
|
|
180
|
+
class InstancesForGetMCPService(MCPBaseModel):
|
|
181
|
+
instance_id: Optional[str] = Field(default=None, alias="InstanceId")
|
|
182
|
+
ip: Optional[str] = Field(default=None, alias="Ip")
|
|
183
|
+
port: Optional[int] = Field(default=None, alias="Port")
|
|
184
|
+
|
|
185
|
+
|
|
144
186
|
class KeyAuthForGetMCPService(MCPBaseModel):
|
|
145
187
|
api_key_location: Optional[str] = Field(default=None, alias="ApiKeyLocation")
|
|
146
188
|
api_keys: Optional[list[ApiKeysForGetMCPService]] = Field(
|
|
@@ -171,6 +213,7 @@ class MCPServiceForGetMCPService(MCPBaseModel):
|
|
|
171
213
|
)
|
|
172
214
|
backend_type: Optional[str] = Field(default=None, alias="BackendType")
|
|
173
215
|
created_at: Optional[str] = Field(default=None, alias="CreatedAt")
|
|
216
|
+
failed_log_file_url: Optional[str] = Field(default=None, alias="FailedLogFileUrl")
|
|
174
217
|
inbound_authorizer_configuration: Optional[
|
|
175
218
|
InboundAuthorizerConfigurationForGetMCPService
|
|
176
219
|
] = Field(default=None, alias="InboundAuthorizerConfiguration")
|
|
@@ -416,17 +459,33 @@ class TagsForListMCPToolsets(MCPBaseModel):
|
|
|
416
459
|
value: Optional[str] = Field(default=None, alias="Value")
|
|
417
460
|
|
|
418
461
|
|
|
462
|
+
class VkeConfigurationForGetMCPService(MCPBaseModel):
|
|
463
|
+
cluster_id: Optional[str] = Field(default=None, alias="ClusterId")
|
|
464
|
+
namespace: Optional[str] = Field(default=None, alias="Namespace")
|
|
465
|
+
port: Optional[int] = Field(default=None, alias="Port")
|
|
466
|
+
service_name: Optional[str] = Field(default=None, alias="ServiceName")
|
|
467
|
+
|
|
468
|
+
|
|
419
469
|
class VpcConfigurationForGetMCPService(MCPBaseModel):
|
|
470
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
471
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
472
|
+
)
|
|
420
473
|
subnet_ids: Optional[list[str]] = Field(default=None, alias="SubnetIds")
|
|
421
474
|
vpc_id: Optional[str] = Field(default=None, alias="VpcId")
|
|
422
475
|
|
|
423
476
|
|
|
424
477
|
class VpcConfigurationForGetMCPToolset(MCPBaseModel):
|
|
478
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
479
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
480
|
+
)
|
|
425
481
|
subnet_ids: Optional[list[str]] = Field(default=None, alias="SubnetIds")
|
|
426
482
|
vpc_id: Optional[str] = Field(default=None, alias="VpcId")
|
|
427
483
|
|
|
428
484
|
|
|
429
485
|
class VpcConfigurationForListMCPServices(MCPBaseModel):
|
|
486
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
487
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
488
|
+
)
|
|
430
489
|
security_group_ids: Optional[list[str]] = Field(
|
|
431
490
|
default=None, alias="SecurityGroupIds"
|
|
432
491
|
)
|
|
@@ -435,6 +494,9 @@ class VpcConfigurationForListMCPServices(MCPBaseModel):
|
|
|
435
494
|
|
|
436
495
|
|
|
437
496
|
class VpcConfigurationForListMCPToolsets(MCPBaseModel):
|
|
497
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
498
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
499
|
+
)
|
|
438
500
|
security_group_ids: Optional[list[str]] = Field(
|
|
439
501
|
default=None, alias="SecurityGroupIds"
|
|
440
502
|
)
|
|
@@ -450,9 +512,15 @@ class BackendForCreateMCPService(MCPBaseModel):
|
|
|
450
512
|
custom_mcp_configuration: Optional[BackendCustomMcpForCreateMCPService] = Field(
|
|
451
513
|
default=None, alias="CustomMcpConfiguration"
|
|
452
514
|
)
|
|
515
|
+
ecs_configuration: Optional[BackendEcsForCreateMCPService] = Field(
|
|
516
|
+
default=None, alias="EcsConfiguration"
|
|
517
|
+
)
|
|
453
518
|
function_configuration: Optional[BackendFunctionForCreateMCPService] = Field(
|
|
454
519
|
default=None, alias="FunctionConfiguration"
|
|
455
520
|
)
|
|
521
|
+
vke_configuration: Optional[BackendVkeForCreateMCPService] = Field(
|
|
522
|
+
default=None, alias="VkeConfiguration"
|
|
523
|
+
)
|
|
456
524
|
|
|
457
525
|
|
|
458
526
|
class BackendCustomForCreateMCPService(MCPBaseModel):
|
|
@@ -496,11 +564,24 @@ class BackendCustomMcpPublicPackageForCreateMCPService(MCPBaseModel):
|
|
|
496
564
|
raw_config: Optional[str] = Field(default=None, alias="RawConfig")
|
|
497
565
|
|
|
498
566
|
|
|
567
|
+
class BackendEcsForCreateMCPService(MCPBaseModel):
|
|
568
|
+
instances: Optional[list[BackendEcsInstancesItemForCreateMCPService]] = Field(
|
|
569
|
+
default=None, alias="Instances"
|
|
570
|
+
)
|
|
571
|
+
|
|
572
|
+
|
|
499
573
|
class BackendFunctionForCreateMCPService(MCPBaseModel):
|
|
500
574
|
function_id: Optional[str] = Field(default=None, alias="FunctionId")
|
|
501
575
|
function_name: Optional[str] = Field(default=None, alias="FunctionName")
|
|
502
576
|
|
|
503
577
|
|
|
578
|
+
class BackendVkeForCreateMCPService(MCPBaseModel):
|
|
579
|
+
cluster_id: Optional[str] = Field(default=None, alias="ClusterId")
|
|
580
|
+
namespace: Optional[str] = Field(default=None, alias="Namespace")
|
|
581
|
+
port: Optional[int] = Field(default=None, alias="Port")
|
|
582
|
+
service_name: Optional[str] = Field(default=None, alias="ServiceName")
|
|
583
|
+
|
|
584
|
+
|
|
504
585
|
class InboundAuthorizerForCreateMCPService(MCPBaseModel):
|
|
505
586
|
authorizer: Optional[InboundAuthorizerAuthorizerForCreateMCPService] = Field(
|
|
506
587
|
default=None, alias="Authorizer"
|
|
@@ -543,6 +624,9 @@ class NetworkForCreateMCPService(MCPBaseModel):
|
|
|
543
624
|
|
|
544
625
|
|
|
545
626
|
class NetworkVpcForCreateMCPService(MCPBaseModel):
|
|
627
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
628
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
629
|
+
)
|
|
546
630
|
subnet_ids: Optional[list[str]] = Field(default=None, alias="SubnetIds")
|
|
547
631
|
vpc_id: str = Field(..., alias="VpcId")
|
|
548
632
|
|
|
@@ -555,11 +639,21 @@ class OutboundAuthorizerForCreateMCPService(MCPBaseModel):
|
|
|
555
639
|
|
|
556
640
|
|
|
557
641
|
class OutboundAuthorizerAuthorizerForCreateMCPService(MCPBaseModel):
|
|
642
|
+
identity_authorizer: Optional[
|
|
643
|
+
OutboundAuthorizerAuthorizerIdentityAuthorizerForCreateMCPService
|
|
644
|
+
] = Field(default=None, alias="IdentityAuthorizer")
|
|
558
645
|
key_auth: Optional[OutboundAuthorizerAuthorizerKeyAuthForCreateMCPService] = Field(
|
|
559
646
|
default=None, alias="KeyAuth"
|
|
560
647
|
)
|
|
561
648
|
|
|
562
649
|
|
|
650
|
+
class OutboundAuthorizerAuthorizerIdentityAuthorizerForCreateMCPService(MCPBaseModel):
|
|
651
|
+
credential_provider_name: Optional[str] = Field(
|
|
652
|
+
default=None, alias="CredentialProviderName"
|
|
653
|
+
)
|
|
654
|
+
provider_type: Optional[str] = Field(default=None, alias="ProviderType")
|
|
655
|
+
|
|
656
|
+
|
|
563
657
|
class OutboundAuthorizerAuthorizerKeyAuthForCreateMCPService(MCPBaseModel):
|
|
564
658
|
api_keys: Optional[
|
|
565
659
|
list[OutboundAuthorizerAuthorizerKeyAuthApiKeysItemForCreateMCPService]
|
|
@@ -584,6 +678,12 @@ class BackendCustomMcpPrivatePackageEnvsItemForCreateMCPService(MCPBaseModel):
|
|
|
584
678
|
value: Optional[str] = Field(default=None, alias="Value")
|
|
585
679
|
|
|
586
680
|
|
|
681
|
+
class BackendEcsInstancesItemForCreateMCPService(MCPBaseModel):
|
|
682
|
+
instance_id: Optional[str] = Field(default=None, alias="InstanceId")
|
|
683
|
+
ip: Optional[str] = Field(default=None, alias="Ip")
|
|
684
|
+
port: Optional[int] = Field(default=None, alias="Port")
|
|
685
|
+
|
|
686
|
+
|
|
587
687
|
class InboundAuthorizerAuthorizerKeyAuthApiKeysItemForCreateMCPService(MCPBaseModel):
|
|
588
688
|
key: Optional[str] = Field(default=None, alias="Key")
|
|
589
689
|
name: str = Field(..., alias="Name")
|
|
@@ -674,6 +774,9 @@ class NetworkForCreateMCPToolset(MCPBaseModel):
|
|
|
674
774
|
|
|
675
775
|
|
|
676
776
|
class NetworkVpcForCreateMCPToolset(MCPBaseModel):
|
|
777
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
778
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
779
|
+
)
|
|
677
780
|
security_group_ids: Optional[list[str]] = Field(
|
|
678
781
|
default=None, alias="SecurityGroupIds"
|
|
679
782
|
)
|
|
@@ -855,9 +958,15 @@ class BackendForUpdateMCPService(MCPBaseModel):
|
|
|
855
958
|
custom_mcp_configuration: Optional[BackendCustomMcpForUpdateMCPService] = Field(
|
|
856
959
|
default=None, alias="CustomMcpConfiguration"
|
|
857
960
|
)
|
|
961
|
+
ecs_configuration: Optional[BackendEcsForUpdateMCPService] = Field(
|
|
962
|
+
default=None, alias="EcsConfiguration"
|
|
963
|
+
)
|
|
858
964
|
function_configuration: Optional[BackendFunctionForUpdateMCPService] = Field(
|
|
859
965
|
default=None, alias="FunctionConfiguration"
|
|
860
966
|
)
|
|
967
|
+
vke_configuration: Optional[BackendVkeForUpdateMCPService] = Field(
|
|
968
|
+
default=None, alias="VkeConfiguration"
|
|
969
|
+
)
|
|
861
970
|
|
|
862
971
|
|
|
863
972
|
class BackendCustomForUpdateMCPService(MCPBaseModel):
|
|
@@ -901,11 +1010,24 @@ class BackendCustomMcpPublicPackageForUpdateMCPService(MCPBaseModel):
|
|
|
901
1010
|
raw_config: Optional[str] = Field(default=None, alias="RawConfig")
|
|
902
1011
|
|
|
903
1012
|
|
|
1013
|
+
class BackendEcsForUpdateMCPService(MCPBaseModel):
|
|
1014
|
+
instances: Optional[list[BackendEcsInstancesItemForUpdateMCPService]] = Field(
|
|
1015
|
+
default=None, alias="Instances"
|
|
1016
|
+
)
|
|
1017
|
+
|
|
1018
|
+
|
|
904
1019
|
class BackendFunctionForUpdateMCPService(MCPBaseModel):
|
|
905
1020
|
function_id: Optional[str] = Field(default=None, alias="FunctionId")
|
|
906
1021
|
function_name: Optional[str] = Field(default=None, alias="FunctionName")
|
|
907
1022
|
|
|
908
1023
|
|
|
1024
|
+
class BackendVkeForUpdateMCPService(MCPBaseModel):
|
|
1025
|
+
cluster_id: Optional[str] = Field(default=None, alias="ClusterId")
|
|
1026
|
+
namespace: Optional[str] = Field(default=None, alias="Namespace")
|
|
1027
|
+
port: Optional[int] = Field(default=None, alias="Port")
|
|
1028
|
+
service_name: Optional[str] = Field(default=None, alias="ServiceName")
|
|
1029
|
+
|
|
1030
|
+
|
|
909
1031
|
class InboundAuthorizerForUpdateMCPService(MCPBaseModel):
|
|
910
1032
|
authorizer: Optional[InboundAuthorizerAuthorizerForUpdateMCPService] = Field(
|
|
911
1033
|
default=None, alias="Authorizer"
|
|
@@ -943,11 +1065,21 @@ class OutboundAuthorizerForUpdateMCPService(MCPBaseModel):
|
|
|
943
1065
|
|
|
944
1066
|
|
|
945
1067
|
class OutboundAuthorizerAuthorizerForUpdateMCPService(MCPBaseModel):
|
|
1068
|
+
identity_authorizer: Optional[
|
|
1069
|
+
OutboundAuthorizerAuthorizerIdentityAuthorizerForUpdateMCPService
|
|
1070
|
+
] = Field(default=None, alias="IdentityAuthorizer")
|
|
946
1071
|
key_auth: Optional[OutboundAuthorizerAuthorizerKeyAuthForUpdateMCPService] = Field(
|
|
947
1072
|
default=None, alias="KeyAuth"
|
|
948
1073
|
)
|
|
949
1074
|
|
|
950
1075
|
|
|
1076
|
+
class OutboundAuthorizerAuthorizerIdentityAuthorizerForUpdateMCPService(MCPBaseModel):
|
|
1077
|
+
credential_provider_name: Optional[str] = Field(
|
|
1078
|
+
default=None, alias="CredentialProviderName"
|
|
1079
|
+
)
|
|
1080
|
+
provider_type: Optional[str] = Field(default=None, alias="ProviderType")
|
|
1081
|
+
|
|
1082
|
+
|
|
951
1083
|
class OutboundAuthorizerAuthorizerKeyAuthForUpdateMCPService(MCPBaseModel):
|
|
952
1084
|
api_keys: Optional[
|
|
953
1085
|
list[OutboundAuthorizerAuthorizerKeyAuthApiKeysItemForUpdateMCPService]
|
|
@@ -961,6 +1093,12 @@ class BackendCustomMcpPrivatePackageEnvsItemForUpdateMCPService(MCPBaseModel):
|
|
|
961
1093
|
value: Optional[str] = Field(default=None, alias="Value")
|
|
962
1094
|
|
|
963
1095
|
|
|
1096
|
+
class BackendEcsInstancesItemForUpdateMCPService(MCPBaseModel):
|
|
1097
|
+
instance_id: Optional[str] = Field(default=None, alias="InstanceId")
|
|
1098
|
+
ip: Optional[str] = Field(default=None, alias="Ip")
|
|
1099
|
+
port: Optional[int] = Field(default=None, alias="Port")
|
|
1100
|
+
|
|
1101
|
+
|
|
964
1102
|
class InboundAuthorizerAuthorizerKeyAuthApiKeysItemForUpdateMCPService(MCPBaseModel):
|
|
965
1103
|
key: Optional[str] = Field(default=None, alias="Key")
|
|
966
1104
|
name: str = Field(..., alias="Name")
|
|
@@ -140,6 +140,9 @@ class VpcConfigForGetMemoryCollection(MemoryBaseModel):
|
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
class VpcConfigurationForListMemoryCollections(MemoryBaseModel):
|
|
143
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
144
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
145
|
+
)
|
|
143
146
|
security_group_ids: Optional[list[str]] = Field(
|
|
144
147
|
default=None, alias="SecurityGroupIds"
|
|
145
148
|
)
|
|
@@ -166,11 +166,12 @@ class EnvsForListRuntimes(RuntimeTypeBaseModel):
|
|
|
166
166
|
|
|
167
167
|
|
|
168
168
|
class InstanceItemsForListRuntimeInstances(RuntimeTypeBaseModel):
|
|
169
|
+
alias_name: Optional[str] = Field(default=None, alias="AliasName")
|
|
169
170
|
create_time: Optional[str] = Field(default=None, alias="CreateTime")
|
|
170
|
-
function_id: Optional[str] = Field(default=None, alias="FunctionId")
|
|
171
171
|
instance_name: Optional[str] = Field(default=None, alias="InstanceName")
|
|
172
172
|
instance_status: Optional[str] = Field(default=None, alias="InstanceStatus")
|
|
173
173
|
revision_number: Optional[int] = Field(default=None, alias="RevisionNumber")
|
|
174
|
+
runtime_id: Optional[str] = Field(default=None, alias="RuntimeId")
|
|
174
175
|
|
|
175
176
|
|
|
176
177
|
class KeyAuthForGetRuntime(RuntimeTypeBaseModel):
|
|
@@ -241,6 +242,9 @@ class TlsConfigurationForListRuntimes(RuntimeTypeBaseModel):
|
|
|
241
242
|
|
|
242
243
|
|
|
243
244
|
class VpcConfigurationForGetRuntime(RuntimeTypeBaseModel):
|
|
245
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
246
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
247
|
+
)
|
|
244
248
|
security_group_ids: Optional[list[str]] = Field(
|
|
245
249
|
default=None, alias="SecurityGroupIds"
|
|
246
250
|
)
|
|
@@ -249,6 +253,9 @@ class VpcConfigurationForGetRuntime(RuntimeTypeBaseModel):
|
|
|
249
253
|
|
|
250
254
|
|
|
251
255
|
class VpcConfigurationForListRuntimes(RuntimeTypeBaseModel):
|
|
256
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
257
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
258
|
+
)
|
|
252
259
|
security_group_ids: Optional[list[str]] = Field(
|
|
253
260
|
default=None, alias="SecurityGroupIds"
|
|
254
261
|
)
|
|
@@ -289,6 +296,9 @@ class NetworkForCreateRuntime(RuntimeTypeBaseModel):
|
|
|
289
296
|
|
|
290
297
|
|
|
291
298
|
class NetworkVpcForCreateRuntime(RuntimeTypeBaseModel):
|
|
299
|
+
enable_shared_internet_access: Optional[bool] = Field(
|
|
300
|
+
default=None, alias="EnableSharedInternetAccess"
|
|
301
|
+
)
|
|
292
302
|
subnet_ids: Optional[list[str]] = Field(default=None, alias="SubnetIds")
|
|
293
303
|
vpc_id: str = Field(..., alias="VpcId")
|
|
294
304
|
|
|
@@ -415,9 +425,9 @@ class GetRuntimeCozeTokenResponse(RuntimeTypeBaseModel):
|
|
|
415
425
|
|
|
416
426
|
# GetRuntimeInstanceLogs - Request
|
|
417
427
|
class GetRuntimeInstanceLogsRequest(RuntimeTypeBaseModel):
|
|
418
|
-
function_id: str = Field(..., alias="FunctionId")
|
|
419
428
|
instance_name: str = Field(..., alias="InstanceName")
|
|
420
429
|
limit: Optional[int] = Field(default=None, alias="Limit")
|
|
430
|
+
runtime_id: str = Field(..., alias="RuntimeId")
|
|
421
431
|
|
|
422
432
|
|
|
423
433
|
# GetRuntimeInstanceLogs - Response
|