agentkit-sdk-python 0.8.4__tar.gz → 0.8.5__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.8.4 → agentkit_sdk_python-0.8.5}/PKG-INFO +1 -1
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/tools/types.py +15 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_tools.py +4 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_create.py +40 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/config_store.py +5 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/tos_config.py +52 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/executors/init_executor.py +8 -2
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/harness/config_builder.py +16 -10
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/harness/deploy.py +54 -28
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/version.py +1 -1
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_sdk_python.egg-info/PKG-INFO +1 -1
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/pyproject.toml +1 -1
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/LICENSE +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/MANIFEST.in +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/README.md +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/a2a_app/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/a2a_app/a2a_app.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/a2a_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/agent_server_app.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/credential_service.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/inbound_auth.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/inbound_auth_adapter.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/middleware.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/origin.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/auth/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/auth/inbound.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/base_app.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/langgraph_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/langgraph_server_app/langgraph_server_app.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/mcp_app/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/mcp_app/mcp_app.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/mcp_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/simple_app/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/simple_app/simple_app.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/simple_app/simple_app_handlers.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/simple_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/utils.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/_openapi.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/_redact.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/_sigv4.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/admin.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/credential_hosting.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/errors.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/model_login.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/oauth.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/profile.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/providers.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/resolve.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/session.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/ssl_trust.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/sso.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/store.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/auth/sts.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/client/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/client/base_agentkit_client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/client/base_iam_client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/client/base_service_client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/errors.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/_common.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/agentcore.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/langchain.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/langgraph.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/migration.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/model_replacement.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/serving/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/serving/fastapi_mount.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/serving/langserve.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/frameworks/strands.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/_runtime_dependency.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/context.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/errors.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/jwt.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/middleware.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/runtime.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/transport.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/identity/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/platform/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/platform/configuration.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/platform/console_urls.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/platform/constants.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/platform/context.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/platform/provider.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/account/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/account/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/identity/auth.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/identity/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/identity/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/knowledge/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/knowledge/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/knowledge/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/mcp/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/mcp/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/mcp/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/memory/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/memory/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/memory/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/model_gateway/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/model_gateway/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/model_gateway/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/runtime/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/runtime/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/runtime/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/skills/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/skills/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/skills/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/tools/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/sdk/tools/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/builders/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/builders/base.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/builders/local_docker.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/builders/ve_pipeline.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/builders/ve_sandbox_pipeline.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/__main__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_add.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_auth.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_build.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_delete.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_deploy.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_destroy.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_init.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_knowledge.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_launch.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_list.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_logs.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_memory.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_model_gateway.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_runtime.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_skill.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_skills.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_skills_workflow.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_status.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/cli_version.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/console_reporter.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/interactive_config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/a2a_client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/agentkit_client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_build.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_delete.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_exec.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_init.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_list.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_model_login.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_mount.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_run.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_scp.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_shell.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_web.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/env_config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/git_config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/model_config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/sandbox_client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/session_create.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/session_sync.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/tool_resolve.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/tool_lookup.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/utils.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/choice_resolvers.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/cloud_provider.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/config_handler.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/config_validator.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/constants.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/dataclass_utils.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/docker_build_config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/global_config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/region_defaults.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/region_resolver.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/strategy_configs.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/config/utils.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/context.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/docker/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/docker/base_images.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/docker/container.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/docker/dockerfile/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/docker/dockerfile/manager.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/docker/dockerfile/metadata.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/docker/utils.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/errors.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/executors/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/executors/base_executor.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/executors/build_executor.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/executors/deploy_executor.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/executors/invoke_executor.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/executors/lifecycle_executor.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/executors/status_executor.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/harness/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/harness/env_mapping.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/models.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/reporter.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/a2a.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/agent_server.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/basic.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/basic_stream.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/customer_support_assistant.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/eino_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/eino_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/eino_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/eino_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/eino_a2a/main.go +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/financial_analyst.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/langchain_basic_stream.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/simple_app_veadk.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/simple_mcp_veadk.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/main.go +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_basic/agent.go +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_basic/build.sh +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_basic/go.mod +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_basic/go.sum +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/samples/veadk_go_basic/main.go +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/templates/code-pipeline-sandbox-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/templates/code-pipeline-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/templates/golang/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/templates/python/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-package +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-skills +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.web-server +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/wrappers/wrapper_basic.py.jinja2 +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/resources/wrappers/wrapper_stream.py.jinja2 +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/runners/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/runners/base.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/runners/local_docker.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/runners/ve_agentkit.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/bindings/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/bindings/memory.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/builder.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/client.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/deployer.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/initializer.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/invoker.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/lifecycle.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/sdk/status.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/strategies/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/strategies/base_strategy.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/strategies/cloud_strategy.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/strategies/hybrid_strategy.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/strategies/local_strategy.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/utils/agent_parser.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/apmplus_logs.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/code_pipeline.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/cr.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/iam.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/services/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/services/cr_service.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/services/tos_service.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/sts.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/volcengine/utils/project_archiver.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/utils/global_config_io.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/utils/http_defaults.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/utils/logging_config.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/utils/misc.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/utils/redact.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/utils/request.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/utils/template_utils.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/utils/ve_sign.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_identity/__init__.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_identity/context.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_identity/errors.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_identity/jwt.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_identity/middleware.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_identity/py.typed +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_identity/runtime.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_identity/transport.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_identity/types.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_sdk_python.egg-info/SOURCES.txt +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_sdk_python.egg-info/dependency_links.txt +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_sdk_python.egg-info/entry_points.txt +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_sdk_python.egg-info/requires.txt +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_sdk_python.egg-info/top_level.txt +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/setup.cfg +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/tests/test_client_uses_platform_context.py +0 -0
- {agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/tests/test_error_hierarchy.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentkit-sdk-python
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.5
|
|
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
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
from __future__ import annotations
|
|
19
19
|
|
|
20
|
+
from enum import Enum
|
|
20
21
|
from typing import Optional
|
|
21
22
|
from pydantic import BaseModel, Field
|
|
22
23
|
|
|
@@ -28,6 +29,11 @@ class ToolsBaseModel(BaseModel):
|
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
# Data Types
|
|
32
|
+
class CredentialType(str, Enum):
|
|
33
|
+
TOS_CREDENTIAL_TYPE_ACCESS_KEY = "TOS_CREDENTIAL_TYPE_ACCESS_KEY"
|
|
34
|
+
TOS_CREDENTIAL_TYPE_IAM_ROLE = "TOS_CREDENTIAL_TYPE_IAM_ROLE"
|
|
35
|
+
|
|
36
|
+
|
|
31
37
|
class AssociatedRuntimesForGetTool(ToolsBaseModel):
|
|
32
38
|
id: Optional[str] = Field(default=None, alias="Id")
|
|
33
39
|
name: Optional[str] = Field(default=None, alias="Name")
|
|
@@ -204,6 +210,9 @@ class TosMountConfigForGetTool(ToolsBaseModel):
|
|
|
204
210
|
credentials: Optional[CredentialsForGetTool] = Field(
|
|
205
211
|
default=None, alias="Credentials"
|
|
206
212
|
)
|
|
213
|
+
credential_type: Optional[CredentialType] = Field(
|
|
214
|
+
default=None, alias="CredentialType"
|
|
215
|
+
)
|
|
207
216
|
enable_tos: Optional[bool] = Field(default=None, alias="EnableTos")
|
|
208
217
|
mount_points: Optional[list[MountPointsForGetTool]] = Field(
|
|
209
218
|
default=None, alias="MountPoints"
|
|
@@ -348,6 +357,9 @@ class TosMountForCreateTool(ToolsBaseModel):
|
|
|
348
357
|
credentials: Optional[TosMountCredentialsForCreateTool] = Field(
|
|
349
358
|
default=None, alias="Credentials"
|
|
350
359
|
)
|
|
360
|
+
credential_type: Optional[CredentialType] = Field(
|
|
361
|
+
default=None, alias="CredentialType"
|
|
362
|
+
)
|
|
351
363
|
mount_points: Optional[list[TosMountMountPointsItemForCreateTool]] = Field(
|
|
352
364
|
default=None, alias="MountPoints"
|
|
353
365
|
)
|
|
@@ -678,6 +690,9 @@ class TosMountForUpdateTool(ToolsBaseModel):
|
|
|
678
690
|
credentials: Optional[TosMountCredentialsForUpdateTool] = Field(
|
|
679
691
|
default=None, alias="Credentials"
|
|
680
692
|
)
|
|
693
|
+
credential_type: Optional[CredentialType] = Field(
|
|
694
|
+
default=None, alias="CredentialType"
|
|
695
|
+
)
|
|
681
696
|
mount_points: Optional[list[TosMountMountPointsItemForUpdateTool]] = Field(
|
|
682
697
|
default=None, alias="MountPoints"
|
|
683
698
|
)
|
|
@@ -329,6 +329,10 @@ def update_tool_command(
|
|
|
329
329
|
client = AgentkitToolsClient(region=(region or "").strip())
|
|
330
330
|
if json_body:
|
|
331
331
|
payload = json.loads(json_body)
|
|
332
|
+
if not isinstance(payload, dict):
|
|
333
|
+
raise ValueError("--json must contain a JSON object")
|
|
334
|
+
payload.pop("tool_id", None)
|
|
335
|
+
payload["ToolId"] = tool_id.strip()
|
|
332
336
|
else:
|
|
333
337
|
payload = tools_types.UpdateToolRequest(
|
|
334
338
|
tool_id=tool_id, description=description
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/cli_create.py
RENAMED
|
@@ -56,8 +56,10 @@ from agentkit.toolkit.cli.sandbox.model_config import (
|
|
|
56
56
|
)
|
|
57
57
|
from agentkit.toolkit.cli.sandbox.tool_resolve import save_tool_result_if_resolvable
|
|
58
58
|
from agentkit.toolkit.cli.sandbox.tos_config import (
|
|
59
|
+
DEFAULT_TOS_CREDENTIAL_TYPE,
|
|
59
60
|
DEFAULT_TOS_LOCAL_PATH,
|
|
60
61
|
build_create_tool_tos_mount_config,
|
|
62
|
+
normalize_tos_credential_type,
|
|
61
63
|
)
|
|
62
64
|
from agentkit.toolkit.cli.sandbox.sandbox_client import error
|
|
63
65
|
from agentkit.toolkit.volcengine.services.tos_service import (
|
|
@@ -206,6 +208,7 @@ def _build_create_tool_request(
|
|
|
206
208
|
tos_bucket: Optional[str],
|
|
207
209
|
tos_region: str,
|
|
208
210
|
tos_mount_path: str = DEFAULT_TOS_LOCAL_PATH,
|
|
211
|
+
tos_credential_type: str | tools_types.CredentialType | None = None,
|
|
209
212
|
cpu: int = DEFAULT_CPU,
|
|
210
213
|
model_name: Optional[str] = None,
|
|
211
214
|
model_api_key: Optional[str] = None,
|
|
@@ -228,6 +231,16 @@ def _build_create_tool_request(
|
|
|
228
231
|
is_private_tool = resolved_tool_type == PRIVATE_TOOL_TYPE
|
|
229
232
|
if is_private_tool and not (image_url or "").strip():
|
|
230
233
|
error("--image-url is required when --tool-type Private")
|
|
234
|
+
resolved_tos_credential_type = normalize_tos_credential_type(
|
|
235
|
+
tos_credential_type
|
|
236
|
+
)
|
|
237
|
+
if (
|
|
238
|
+
is_private_tool
|
|
239
|
+
and (tos_bucket or "").strip()
|
|
240
|
+
and resolved_tos_credential_type
|
|
241
|
+
== tools_types.CredentialType.TOS_CREDENTIAL_TYPE_IAM_ROLE
|
|
242
|
+
):
|
|
243
|
+
error("TOS IAM Role mounting is only supported for Built-in Tools")
|
|
231
244
|
command = PRIVATE_TOOL_COMMAND if is_private_tool else None
|
|
232
245
|
port = PRIVATE_TOOL_PORT if is_private_tool else None
|
|
233
246
|
envs = (
|
|
@@ -256,6 +269,7 @@ def _build_create_tool_request(
|
|
|
256
269
|
tos_bucket,
|
|
257
270
|
tos_region,
|
|
258
271
|
local_mount_path=tos_mount_path,
|
|
272
|
+
credential_type=resolved_tos_credential_type,
|
|
259
273
|
tos_service_cls=TOSService,
|
|
260
274
|
tos_service_config_cls=TOSServiceConfig,
|
|
261
275
|
)
|
|
@@ -451,6 +465,7 @@ def create_tool(
|
|
|
451
465
|
tool_name: Optional[str] = None,
|
|
452
466
|
tos_bucket: Optional[str] = None,
|
|
453
467
|
tos_mount_path: str = DEFAULT_TOS_LOCAL_PATH,
|
|
468
|
+
tos_credential_type: str | tools_types.CredentialType | None = None,
|
|
454
469
|
cpu: int = DEFAULT_CPU,
|
|
455
470
|
model_name: Optional[str] = None,
|
|
456
471
|
model_api_key: Optional[str] = None,
|
|
@@ -508,6 +523,7 @@ def create_tool(
|
|
|
508
523
|
tos_bucket=tos_bucket,
|
|
509
524
|
tos_region=tos_region,
|
|
510
525
|
tos_mount_path=tos_mount_path,
|
|
526
|
+
tos_credential_type=tos_credential_type,
|
|
511
527
|
cpu=cpu,
|
|
512
528
|
model_name=model_name,
|
|
513
529
|
model_api_key=model_api_key,
|
|
@@ -571,6 +587,15 @@ def create_command(
|
|
|
571
587
|
f"Defaults to {DEFAULT_TOS_LOCAL_PATH} when omitted."
|
|
572
588
|
),
|
|
573
589
|
),
|
|
590
|
+
tos_credential_type: Optional[str] = typer.Option(
|
|
591
|
+
None,
|
|
592
|
+
"--tos-credential-type",
|
|
593
|
+
help=(
|
|
594
|
+
"TOS mount authentication: access-key or iam-role. "
|
|
595
|
+
"IAM Role is only supported for Built-in Tools. "
|
|
596
|
+
"Defaults to access-key."
|
|
597
|
+
),
|
|
598
|
+
),
|
|
574
599
|
cpu: int = typer.Option(
|
|
575
600
|
DEFAULT_CPU,
|
|
576
601
|
"--cpu",
|
|
@@ -672,6 +697,13 @@ def create_command(
|
|
|
672
697
|
tos_mount = config_default_if_unprovided(
|
|
673
698
|
ctx, "tos_mount", "tos-mount", tos_mount, data=config_defaults
|
|
674
699
|
)
|
|
700
|
+
tos_credential_type = config_default_if_unprovided(
|
|
701
|
+
ctx,
|
|
702
|
+
"tos_credential_type",
|
|
703
|
+
"tos-credential-type",
|
|
704
|
+
tos_credential_type,
|
|
705
|
+
data=config_defaults,
|
|
706
|
+
)
|
|
675
707
|
cpu = config_default_if_unprovided(
|
|
676
708
|
ctx,
|
|
677
709
|
"cpu",
|
|
@@ -777,6 +809,11 @@ def create_command(
|
|
|
777
809
|
)
|
|
778
810
|
if tos_mount is not None and not (tos_bucket or "").strip():
|
|
779
811
|
error("--tos-mount requires --tos-bucket")
|
|
812
|
+
if (
|
|
813
|
+
tos_credential_type is not None
|
|
814
|
+
and not (tos_bucket or "").strip()
|
|
815
|
+
):
|
|
816
|
+
error("--tos-credential-type requires --tos-bucket")
|
|
780
817
|
model_provider_was_provided = param_was_provided(ctx, "model_provider")
|
|
781
818
|
model_base_url_was_provided = param_was_provided(ctx, "model_base_url")
|
|
782
819
|
result = create_tool(
|
|
@@ -784,6 +821,9 @@ def create_command(
|
|
|
784
821
|
tool_name=tool_name,
|
|
785
822
|
tos_bucket=tos_bucket,
|
|
786
823
|
tos_mount_path=tos_mount or DEFAULT_TOS_LOCAL_PATH,
|
|
824
|
+
tos_credential_type=(
|
|
825
|
+
tos_credential_type or DEFAULT_TOS_CREDENTIAL_TYPE
|
|
826
|
+
),
|
|
787
827
|
cpu=cpu,
|
|
788
828
|
model_name=model_name,
|
|
789
829
|
model_api_key=model_api_key,
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/config_store.py
RENAMED
|
@@ -157,6 +157,11 @@ CONFIG_KEY_SPECS: dict[str, ConfigKeySpec] = {
|
|
|
157
157
|
"cpu": ConfigKeySpec(("tool", "cpu"), _int_value, VALID_CPU_VALUES),
|
|
158
158
|
"tos-bucket": ConfigKeySpec(("tool", "tos_bucket"), _str_value),
|
|
159
159
|
"tos-mount": ConfigKeySpec(("tool", "tos_mount"), _str_value),
|
|
160
|
+
"tos-credential-type": ConfigKeySpec(
|
|
161
|
+
("tool", "tos_credential_type"),
|
|
162
|
+
_str_value,
|
|
163
|
+
("access-key", "iam-role"),
|
|
164
|
+
),
|
|
160
165
|
"role-name": ConfigKeySpec(("tool", "role_name"), _str_value),
|
|
161
166
|
"enable-snapshot": ConfigKeySpec(("tool", "enable_snapshot"), _bool_value),
|
|
162
167
|
"websearch-apikey": ConfigKeySpec(("tool", "websearch_apikey"), _str_value),
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/cli/sandbox/tos_config.py
RENAMED
|
@@ -29,6 +29,35 @@ from agentkit.toolkit.volcengine.services.tos_service import (
|
|
|
29
29
|
DEFAULT_TOS_BUCKET_PATH = "/sandbox-session/default/default"
|
|
30
30
|
DEFAULT_TOS_LOCAL_PATH = "/home/gem/workspace"
|
|
31
31
|
DEFAULT_SANDBOX_WORKSPACE = "/home/gem"
|
|
32
|
+
DEFAULT_TOS_CREDENTIAL_TYPE = (
|
|
33
|
+
tools_types.CredentialType.TOS_CREDENTIAL_TYPE_ACCESS_KEY
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def normalize_tos_credential_type(
|
|
38
|
+
value: str | tools_types.CredentialType | None,
|
|
39
|
+
) -> tools_types.CredentialType:
|
|
40
|
+
if isinstance(value, tools_types.CredentialType):
|
|
41
|
+
return value
|
|
42
|
+
|
|
43
|
+
normalized = (value or "").strip().upper().replace("-", "_")
|
|
44
|
+
aliases = {
|
|
45
|
+
"": DEFAULT_TOS_CREDENTIAL_TYPE,
|
|
46
|
+
"ACCESS_KEY": tools_types.CredentialType.TOS_CREDENTIAL_TYPE_ACCESS_KEY,
|
|
47
|
+
"TOS_CREDENTIAL_TYPE_ACCESS_KEY": (
|
|
48
|
+
tools_types.CredentialType.TOS_CREDENTIAL_TYPE_ACCESS_KEY
|
|
49
|
+
),
|
|
50
|
+
"IAM_ROLE": tools_types.CredentialType.TOS_CREDENTIAL_TYPE_IAM_ROLE,
|
|
51
|
+
"TOS_CREDENTIAL_TYPE_IAM_ROLE": (
|
|
52
|
+
tools_types.CredentialType.TOS_CREDENTIAL_TYPE_IAM_ROLE
|
|
53
|
+
),
|
|
54
|
+
}
|
|
55
|
+
credential_type = aliases.get(normalized)
|
|
56
|
+
if credential_type is None:
|
|
57
|
+
error(
|
|
58
|
+
"--tos-credential-type must be one of: access-key, iam-role"
|
|
59
|
+
)
|
|
60
|
+
return credential_type
|
|
32
61
|
|
|
33
62
|
|
|
34
63
|
def resolve_tos_bucket(tos_bucket: Optional[str]) -> str:
|
|
@@ -50,6 +79,7 @@ def build_create_tool_tos_mount_config(
|
|
|
50
79
|
region: str,
|
|
51
80
|
*,
|
|
52
81
|
local_mount_path: str = DEFAULT_TOS_LOCAL_PATH,
|
|
82
|
+
credential_type: str | tools_types.CredentialType | None = None,
|
|
53
83
|
tos_service_cls=TOSService,
|
|
54
84
|
tos_service_config_cls=TOSServiceConfig,
|
|
55
85
|
) -> tools_types.TosMountForCreateTool | None:
|
|
@@ -58,6 +88,25 @@ def build_create_tool_tos_mount_config(
|
|
|
58
88
|
|
|
59
89
|
resolved_bucket = resolve_tos_bucket(tos_bucket)
|
|
60
90
|
resolved_local_mount_path = resolve_tos_mount_path(local_mount_path)
|
|
91
|
+
resolved_credential_type = normalize_tos_credential_type(credential_type)
|
|
92
|
+
if (
|
|
93
|
+
resolved_credential_type
|
|
94
|
+
== tools_types.CredentialType.TOS_CREDENTIAL_TYPE_IAM_ROLE
|
|
95
|
+
):
|
|
96
|
+
return tools_types.TosMountForCreateTool(
|
|
97
|
+
EnableTos=True,
|
|
98
|
+
CredentialType=resolved_credential_type,
|
|
99
|
+
MountPoints=[
|
|
100
|
+
tools_types.TosMountMountPointsItemForCreateTool(
|
|
101
|
+
BucketName=resolved_bucket,
|
|
102
|
+
BucketPath=DEFAULT_TOS_BUCKET_PATH,
|
|
103
|
+
Endpoint=TOSService.build_mount_endpoint(region),
|
|
104
|
+
LocalMountPath=resolved_local_mount_path,
|
|
105
|
+
ReadOnly=False,
|
|
106
|
+
)
|
|
107
|
+
],
|
|
108
|
+
)
|
|
109
|
+
|
|
61
110
|
service = tos_service_cls(
|
|
62
111
|
tos_service_config_cls(
|
|
63
112
|
bucket=resolved_bucket,
|
|
@@ -76,6 +125,9 @@ def to_create_tool_tos_mount_config(
|
|
|
76
125
|
) -> tools_types.TosMountForCreateTool:
|
|
77
126
|
return tools_types.TosMountForCreateTool(
|
|
78
127
|
EnableTos=True,
|
|
128
|
+
CredentialType=(
|
|
129
|
+
tools_types.CredentialType.TOS_CREDENTIAL_TYPE_ACCESS_KEY
|
|
130
|
+
),
|
|
79
131
|
Credentials=tools_types.TosMountCredentialsForCreateTool(
|
|
80
132
|
AccessKeyId=mount_config.credentials.access_key_id,
|
|
81
133
|
SecretAccessKey=mount_config.credentials.secret_access_key,
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/executors/init_executor.py
RENAMED
|
@@ -131,13 +131,19 @@ TEMPLATES = {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
# `.env.example` written into a harness directory.
|
|
135
|
-
#
|
|
134
|
+
# `.env.example` written into a harness directory. Copy it to `.env` and fill in
|
|
135
|
+
# the credential pair for the selected cloud provider before deploying.
|
|
136
136
|
_HARNESS_ENV_EXAMPLE = """\
|
|
137
137
|
# Volcengine credentials for harness deploy. Copy this file to `.env` and fill in.
|
|
138
138
|
VOLCENGINE_ACCESS_KEY=
|
|
139
139
|
VOLCENGINE_SECRET_KEY=
|
|
140
140
|
# VOLCENGINE_REGION=cn-beijing
|
|
141
|
+
|
|
142
|
+
# BytePlus credentials (uncomment these lines and set CLOUD_PROVIDER=byteplus).
|
|
143
|
+
# CLOUD_PROVIDER=byteplus
|
|
144
|
+
# BYTEPLUS_ACCESS_KEY=
|
|
145
|
+
# BYTEPLUS_SECRET_KEY=
|
|
146
|
+
# BYTEPLUS_REGION=ap-southeast-1
|
|
141
147
|
"""
|
|
142
148
|
|
|
143
149
|
# Container image for the harness server. The base image's apt mirror is an
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/toolkit/harness/config_builder.py
RENAMED
|
@@ -23,6 +23,7 @@ def build_agentkit_config(
|
|
|
23
23
|
envs: Dict[str, str],
|
|
24
24
|
auth: Optional[Dict[str, Any]] = None,
|
|
25
25
|
runtime_id: str = "Auto",
|
|
26
|
+
cloud_provider: Optional[str] = None,
|
|
26
27
|
) -> Dict[str, Any]:
|
|
27
28
|
"""Build the cloud AgentKit launch config dict (auto-provision).
|
|
28
29
|
|
|
@@ -37,7 +38,8 @@ def build_agentkit_config(
|
|
|
37
38
|
|
|
38
39
|
When ``auth`` (a normalized ``{discovery_url, allowed_ids}`` block) is given,
|
|
39
40
|
the runtime is gated by OAuth2/JWT (``custom_jwt``); otherwise it keeps the
|
|
40
|
-
default API-key auth (``key_auth``).
|
|
41
|
+
default API-key auth (``key_auth``). ``cloud_provider`` pins the generated
|
|
42
|
+
launch config to the same provider used to resolve credentials and region.
|
|
41
43
|
"""
|
|
42
44
|
cloud: Dict[str, Any] = {
|
|
43
45
|
"region": region,
|
|
@@ -64,16 +66,20 @@ def build_agentkit_config(
|
|
|
64
66
|
cloud["runtime_apikey_name"] = "Auto"
|
|
65
67
|
cloud["runtime_apikey"] = "Auto"
|
|
66
68
|
cloud["runtime_jwt_allowed_clients"] = []
|
|
69
|
+
common: Dict[str, Any] = {
|
|
70
|
+
"agent_name": runtime_name,
|
|
71
|
+
"entry_point": "app.py",
|
|
72
|
+
"description": "Harness Server - VeADK",
|
|
73
|
+
"language": "Python",
|
|
74
|
+
"language_version": "3.12",
|
|
75
|
+
"runtime_envs": envs,
|
|
76
|
+
"launch_type": "cloud",
|
|
77
|
+
}
|
|
78
|
+
if cloud_provider:
|
|
79
|
+
common["cloud_provider"] = cloud_provider
|
|
80
|
+
|
|
67
81
|
return {
|
|
68
|
-
"common":
|
|
69
|
-
"agent_name": runtime_name,
|
|
70
|
-
"entry_point": "app.py",
|
|
71
|
-
"description": "Harness Server - VeADK",
|
|
72
|
-
"language": "Python",
|
|
73
|
-
"language_version": "3.12",
|
|
74
|
-
"runtime_envs": envs,
|
|
75
|
-
"launch_type": "cloud",
|
|
76
|
-
},
|
|
82
|
+
"common": common,
|
|
77
83
|
"launch_types": {"cloud": cloud},
|
|
78
84
|
"docker_build": {},
|
|
79
85
|
}
|
|
@@ -28,7 +28,6 @@ from typing import Any, Callable, Dict, Optional, Union
|
|
|
28
28
|
|
|
29
29
|
from ..models import LifecycleResult
|
|
30
30
|
from ..reporter import Reporter
|
|
31
|
-
|
|
32
31
|
from .config_builder import build_agentkit_config
|
|
33
32
|
from .env_mapping import to_runtime_env
|
|
34
33
|
|
|
@@ -43,9 +42,9 @@ _DEFAULT_HARNESS_NAME = "default"
|
|
|
43
42
|
HARNESS_TAG_KEY = "agentkit:agenttype"
|
|
44
43
|
HARNESS_TAG_VALUE = "harness"
|
|
45
44
|
|
|
46
|
-
#
|
|
45
|
+
# Cloud deploy credentials: needed locally to authenticate the build/deploy,
|
|
47
46
|
# but must never be uploaded into the cloud runtime's environment (the runtime
|
|
48
|
-
# gets its
|
|
47
|
+
# gets its cloud access from its IAM role). A harness's own `.env` carries
|
|
49
48
|
# these for deploy; they are excluded from the runtime env upload (see
|
|
50
49
|
# COMPAT_ENV_EXCLUDE). Credentials a harness genuinely needs at runtime come from
|
|
51
50
|
# its spec instead, so they are not affected.
|
|
@@ -56,6 +55,9 @@ _DEPLOY_CREDENTIAL_ENV_KEYS = {
|
|
|
56
55
|
"VOLC_ACCESSKEY",
|
|
57
56
|
"VOLC_SECRETKEY",
|
|
58
57
|
"VOLC_SESSIONTOKEN",
|
|
58
|
+
"BYTEPLUS_ACCESS_KEY",
|
|
59
|
+
"BYTEPLUS_SECRET_KEY",
|
|
60
|
+
"BYTEPLUS_SESSION_TOKEN",
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
|
|
@@ -217,16 +219,17 @@ def deploy_harness(
|
|
|
217
219
|
(``HarnessDeployAborted``); if ``on_conflict`` is ``None`` (e.g. a
|
|
218
220
|
programmatic caller or a non-interactive CLI), it fast-fails.
|
|
219
221
|
|
|
220
|
-
Credentials note: a local ``.env`` is loaded for deploy auth, but the
|
|
221
|
-
|
|
222
|
+
Credentials note: a local ``.env`` is loaded for deploy auth, but the cloud
|
|
223
|
+
deploy credentials in it are NOT uploaded into the runtime
|
|
222
224
|
environment (the runtime authenticates via its IAM role); other ``.env`` keys
|
|
223
225
|
are still merged in.
|
|
224
226
|
|
|
225
227
|
Args:
|
|
226
228
|
name: Harness name; locates ``<name>.harness.json`` and names the runtime.
|
|
227
229
|
path: Directory containing the spec and Dockerfile (default: cwd).
|
|
228
|
-
region: AgentKit region (default
|
|
229
|
-
access_key / secret_key:
|
|
230
|
+
region: AgentKit region (default resolved for the active cloud provider).
|
|
231
|
+
access_key / secret_key: Explicit cloud credentials (default: resolved from
|
|
232
|
+
provider-specific environment variables or global configuration).
|
|
230
233
|
discovery_url / allowed_id: OAuth2/JWT overrides for the spec ``auth`` block.
|
|
231
234
|
reporter: Progress reporter forwarded to the launch (default: silent).
|
|
232
235
|
on_conflict: Callback consulted when a single same-name harness exists;
|
|
@@ -242,12 +245,13 @@ def deploy_harness(
|
|
|
242
245
|
"""
|
|
243
246
|
# Heavy imports are lazy: this module is imported by `agentkit.toolkit.sdk`
|
|
244
247
|
# at package init, and these pull in the runtime client / executors.
|
|
245
|
-
from agentkit.
|
|
246
|
-
from agentkit.toolkit.models import PreflightMode
|
|
247
|
-
from agentkit.toolkit.config import utils as cfg_utils
|
|
248
|
-
from agentkit.toolkit.config.utils import load_dotenv_file
|
|
248
|
+
from agentkit.platform import VolcConfiguration, resolve_credentials
|
|
249
249
|
from agentkit.sdk.runtime import types as rt_types
|
|
250
250
|
from agentkit.sdk.runtime.client import AgentkitRuntimeClient
|
|
251
|
+
from agentkit.toolkit.config import utils as cfg_utils
|
|
252
|
+
from agentkit.toolkit.config.utils import load_dotenv_file
|
|
253
|
+
from agentkit.toolkit.models import PreflightMode
|
|
254
|
+
from agentkit.toolkit.sdk.lifecycle import launch
|
|
251
255
|
|
|
252
256
|
proj_dir = Path(path).resolve()
|
|
253
257
|
if not proj_dir.is_dir():
|
|
@@ -263,26 +267,27 @@ def deploy_harness(
|
|
|
263
267
|
runtime_name = name
|
|
264
268
|
auth = _resolve_auth(spec.get("auth"), discovery_url, allowed_id)
|
|
265
269
|
|
|
266
|
-
#
|
|
267
|
-
#
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
"or set VOLCENGINE_ACCESS_KEY / VOLCENGINE_SECRET_KEY."
|
|
278
|
-
)
|
|
279
|
-
|
|
280
|
-
resolved_region = region or os.getenv("VOLCENGINE_REGION") or "cn-beijing"
|
|
270
|
+
# Use the shared platform abstraction so credentials and region follow the
|
|
271
|
+
# active provider (Volcengine or BytePlus) consistently with other clients.
|
|
272
|
+
platform_config = VolcConfiguration(region=region or None)
|
|
273
|
+
credentials = resolve_credentials(
|
|
274
|
+
"agentkit",
|
|
275
|
+
explicit_access_key=access_key,
|
|
276
|
+
explicit_secret_key=secret_key,
|
|
277
|
+
platform_config=platform_config,
|
|
278
|
+
)
|
|
279
|
+
resolved_region = platform_config.region
|
|
280
|
+
cloud_provider = platform_config.provider.value
|
|
281
281
|
|
|
282
282
|
# Resolve a name collision into a deploy mode. The harness config defaults to
|
|
283
283
|
# `runtime_id: Auto` (create new); an existing same-name harness can instead
|
|
284
284
|
# be updated in place (new version) after confirmation.
|
|
285
|
-
client = AgentkitRuntimeClient(
|
|
285
|
+
client = AgentkitRuntimeClient(
|
|
286
|
+
access_key=credentials.access_key,
|
|
287
|
+
secret_key=credentials.secret_key,
|
|
288
|
+
region=resolved_region,
|
|
289
|
+
session_token=credentials.session_token or "",
|
|
290
|
+
)
|
|
286
291
|
matches = _find_runtimes_by_name(client, runtime_name)
|
|
287
292
|
update_runtime_id = None
|
|
288
293
|
if len(matches) > 1:
|
|
@@ -328,6 +333,7 @@ def deploy_harness(
|
|
|
328
333
|
runtime_envs,
|
|
329
334
|
auth,
|
|
330
335
|
runtime_id=update_runtime_id or "Auto",
|
|
336
|
+
cloud_provider=cloud_provider,
|
|
331
337
|
)
|
|
332
338
|
|
|
333
339
|
# AgentKit's launch path exposes no hook for runtime tags, so tag the runtime
|
|
@@ -349,11 +355,26 @@ def deploy_harness(
|
|
|
349
355
|
cwd = os.getcwd()
|
|
350
356
|
os.chdir(proj_dir)
|
|
351
357
|
AgentkitRuntimeClient.create_runtime = _create_runtime_with_harness_tag
|
|
352
|
-
# Keep deploy-only
|
|
358
|
+
# Keep deploy-only cloud credentials in the local .env out of the
|
|
353
359
|
# uploaded runtime environment (the compat layer auto-loads .env). Scoped to
|
|
354
360
|
# this launch and restored afterwards.
|
|
355
361
|
prev_exclude = cfg_utils.COMPAT_ENV_EXCLUDE
|
|
356
362
|
cfg_utils.COMPAT_ENV_EXCLUDE = set(prev_exclude) | _DEPLOY_CREDENTIAL_ENV_KEYS
|
|
363
|
+
provider_prefix = "BYTEPLUS" if cloud_provider == "byteplus" else "VOLCENGINE"
|
|
364
|
+
deploy_env = {
|
|
365
|
+
"VOLC_ACCESSKEY": credentials.access_key,
|
|
366
|
+
"VOLC_SECRETKEY": credentials.secret_key,
|
|
367
|
+
"VOLC_SESSIONTOKEN": credentials.session_token,
|
|
368
|
+
f"{provider_prefix}_ACCESS_KEY": credentials.access_key,
|
|
369
|
+
f"{provider_prefix}_SECRET_KEY": credentials.secret_key,
|
|
370
|
+
f"{provider_prefix}_SESSION_TOKEN": credentials.session_token,
|
|
371
|
+
}
|
|
372
|
+
previous_deploy_env = {key: os.environ.get(key) for key in deploy_env}
|
|
373
|
+
for key, value in deploy_env.items():
|
|
374
|
+
if value:
|
|
375
|
+
os.environ[key] = value
|
|
376
|
+
else:
|
|
377
|
+
os.environ.pop(key, None)
|
|
357
378
|
try:
|
|
358
379
|
result = launch(
|
|
359
380
|
config_dict=cfg,
|
|
@@ -363,6 +384,11 @@ def deploy_harness(
|
|
|
363
384
|
finally:
|
|
364
385
|
AgentkitRuntimeClient.create_runtime = orig_create_runtime
|
|
365
386
|
cfg_utils.COMPAT_ENV_EXCLUDE = prev_exclude
|
|
387
|
+
for key, value in previous_deploy_env.items():
|
|
388
|
+
if value is None:
|
|
389
|
+
os.environ.pop(key, None)
|
|
390
|
+
else:
|
|
391
|
+
os.environ[key] = value
|
|
366
392
|
os.chdir(cwd)
|
|
367
393
|
|
|
368
394
|
if not result.success:
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit_sdk_python.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentkit-sdk-python
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.5
|
|
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
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agentkit-sdk-python"
|
|
7
|
-
version = "0.8.
|
|
7
|
+
version = "0.8.5"
|
|
8
8
|
description = "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."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/middleware.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/origin.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/agent_server_app/telemetry.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/simple_app/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/simple_app/simple_app.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.8.4 → agentkit_sdk_python-0.8.5}/agentkit/apps/simple_app/telemetry.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|