agentkit-sdk-python 0.7.13__tar.gz → 0.8.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/PKG-INFO +1 -1
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_config.py +7 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_memory.py +38 -7
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_runtime.py +26 -4
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/__init__.py +6 -6
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/agentkit_client.py +23 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli.py +10 -6
- agentkit_sdk_python-0.8.1/agentkit/toolkit/cli/sandbox/cli_config.py +139 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli_create.py +233 -171
- agentkit_sdk_python-0.8.1/agentkit/toolkit/cli/sandbox/cli_delete.py +369 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli_exec.py +138 -136
- agentkit_sdk_python-0.7.13/agentkit/toolkit/cli/sandbox/cli_init_dockerfile.py → agentkit_sdk_python-0.8.1/agentkit/toolkit/cli/sandbox/cli_init.py +2 -5
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli_invoke.py +94 -18
- agentkit_sdk_python-0.8.1/agentkit/toolkit/cli/sandbox/cli_list.py +186 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli_model_login.py +29 -10
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli_mount.py +73 -126
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli_run.py +32 -23
- agentkit_sdk_python-0.8.1/agentkit/toolkit/cli/sandbox/cli_scp.py +666 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli_shell.py +45 -28
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli_web.py +29 -2
- agentkit_sdk_python-0.8.1/agentkit/toolkit/cli/sandbox/config_store.py +698 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/git_config.py +1 -1
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/sandbox_client.py +199 -76
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/session_create.py +46 -7
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/session_sync.py +2 -3
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/tool_resolve.py +88 -1
- agentkit_sdk_python-0.8.1/agentkit/toolkit/cli/tool_lookup.py +130 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/__init__.py +2 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/config_handler.py +3 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/constants.py +1 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/strategy_configs.py +9 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-package +0 -1
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-skills +0 -1
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.web-server +0 -1
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/runners/ve_agentkit.py +54 -11
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/strategies/cloud_strategy.py +1 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/strategies/hybrid_strategy.py +1 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/version.py +1 -1
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit_sdk_python.egg-info/PKG-INFO +1 -1
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit_sdk_python.egg-info/SOURCES.txt +7 -3
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/pyproject.toml +1 -1
- agentkit_sdk_python-0.7.13/agentkit/toolkit/cli/sandbox/cli_file.py +0 -926
- agentkit_sdk_python-0.7.13/agentkit/toolkit/cli/sandbox/cli_get.py +0 -104
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/LICENSE +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/MANIFEST.in +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/README.md +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/a2a_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/a2a_app/a2a_app.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/a2a_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/agent_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/agent_server_app/agent_server_app.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/agent_server_app/middleware.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/agent_server_app/origin.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/agent_server_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/base_app.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/langgraph_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/langgraph_server_app/langgraph_server_app.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/mcp_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/mcp_app/mcp_app.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/mcp_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/simple_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/simple_app/simple_app.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/simple_app/simple_app_handlers.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/simple_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/apps/utils.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/_openapi.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/_redact.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/_sigv4.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/admin.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/credential_hosting.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/errors.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/model_login.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/oauth.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/profile.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/providers.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/resolve.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/session.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/ssl_trust.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/sso.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/store.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/auth/sts.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/client/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/client/base_agentkit_client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/client/base_iam_client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/client/base_service_client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/errors.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/_common.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/agentcore.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/langchain.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/langgraph.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/migration.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/model_replacement.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/serving/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/serving/fastapi_mount.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/serving/langserve.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/frameworks/strands.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/platform/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/platform/configuration.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/platform/console_urls.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/platform/constants.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/platform/context.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/platform/provider.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/account/client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/account/types.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/identity/auth.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/identity/client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/identity/types.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/knowledge/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/knowledge/client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/knowledge/types.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/mcp/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/mcp/client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/mcp/types.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/memory/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/memory/client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/memory/types.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/runtime/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/runtime/client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/runtime/types.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/skills/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/skills/client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/skills/types.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/tools/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/tools/client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/sdk/tools/types.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/builders/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/builders/base.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/builders/local_docker.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/builders/ve_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/builders/ve_sandbox_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/__main__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_add.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_auth.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_build.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_delete.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_deploy.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_destroy.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_init.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_knowledge.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_launch.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_list.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_logs.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_skill.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_skills.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_skills_workflow.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_status.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_tools.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_version.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/console_reporter.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/interactive_config.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/a2a_client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli_build.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/env_config.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/model_config.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/tos_config.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/utils.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/choice_resolvers.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/cloud_provider.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/config.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/config_validator.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/dataclass_utils.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/docker_build_config.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/global_config.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/region_defaults.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/region_resolver.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/config/utils.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/context.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/docker/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/docker/base_images.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/docker/container.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/docker/dockerfile/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/docker/dockerfile/manager.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/docker/dockerfile/metadata.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/docker/utils.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/errors.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/executors/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/executors/base_executor.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/executors/build_executor.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/executors/deploy_executor.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/executors/init_executor.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/executors/invoke_executor.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/executors/lifecycle_executor.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/executors/status_executor.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/harness/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/harness/config_builder.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/harness/deploy.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/harness/env_mapping.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/models.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/reporter.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/a2a.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/agent_server.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/basic.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/basic_stream.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/customer_support_assistant.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/eino_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/eino_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/eino_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/eino_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/eino_a2a/main.go +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/financial_analyst.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/langchain_basic_stream.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/simple_app_veadk.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/simple_mcp_veadk.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_a2a/main.go +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_basic/agent.go +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_basic/build.sh +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_basic/go.mod +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_basic/go.sum +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/samples/veadk_go_basic/main.go +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/templates/code-pipeline-sandbox-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/templates/code-pipeline-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/templates/golang/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/templates/python/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/wrappers/wrapper_basic.py.jinja2 +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/resources/wrappers/wrapper_stream.py.jinja2 +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/runners/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/runners/base.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/runners/local_docker.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/bindings/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/bindings/memory.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/builder.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/client.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/config.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/deployer.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/initializer.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/invoker.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/lifecycle.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/sdk/status.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/strategies/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/strategies/base_strategy.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/strategies/local_strategy.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/utils/agent_parser.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/apmplus_logs.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/code_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/cr.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/iam.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/services/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/services/cr_service.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/services/tos_service.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/sts.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/volcengine/utils/project_archiver.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/utils/global_config_io.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/utils/http_defaults.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/utils/logging_config.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/utils/misc.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/utils/redact.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/utils/request.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/utils/template_utils.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/utils/ve_sign.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit_sdk_python.egg-info/dependency_links.txt +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit_sdk_python.egg-info/entry_points.txt +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit_sdk_python.egg-info/requires.txt +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit_sdk_python.egg-info/top_level.txt +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/setup.cfg +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/tests/test_client_uses_platform_context.py +0 -0
- {agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/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.
|
|
3
|
+
Version: 0.8.1
|
|
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
|
|
@@ -131,6 +131,12 @@ def config_command(
|
|
|
131
131
|
help="CR instance type when auto-creating: Micro/Enterprise",
|
|
132
132
|
),
|
|
133
133
|
# Runtime configuration parameters
|
|
134
|
+
project_name: Optional[str] = typer.Option(
|
|
135
|
+
None,
|
|
136
|
+
"--project_name",
|
|
137
|
+
"--project-name",
|
|
138
|
+
help="Volcano Engine project for the Runtime",
|
|
139
|
+
),
|
|
134
140
|
runtime_name: Optional[str] = typer.Option(
|
|
135
141
|
None, "--runtime_name", "--ve_runtime_name", help="Runtime instance name"
|
|
136
142
|
),
|
|
@@ -323,6 +329,7 @@ def config_command(
|
|
|
323
329
|
cr_namespace_name=cr_namespace_name,
|
|
324
330
|
cr_repo_name=cr_repo_name,
|
|
325
331
|
cr_auto_create_instance_type=cr_auto_create_instance_type,
|
|
332
|
+
project_name=project_name,
|
|
326
333
|
runtime_name=runtime_name,
|
|
327
334
|
runtime_role_name=runtime_role_name,
|
|
328
335
|
runtime_apikey_name=runtime_apikey_name,
|
|
@@ -31,6 +31,7 @@ from rich.console import Console
|
|
|
31
31
|
from rich.table import Table
|
|
32
32
|
from rich.panel import Panel
|
|
33
33
|
|
|
34
|
+
from agentkit.platform import CloudProvider, VolcConfiguration
|
|
34
35
|
from agentkit.sdk.memory.client import AgentkitMemoryClient
|
|
35
36
|
from agentkit.sdk.memory import types as memory_types
|
|
36
37
|
|
|
@@ -44,6 +45,8 @@ memory_app = typer.Typer(
|
|
|
44
45
|
|
|
45
46
|
|
|
46
47
|
# ---- ProviderType normalization and validation ----
|
|
48
|
+
DEFAULT_PROVIDER_TYPE = "MEM0"
|
|
49
|
+
BYTEPLUS_DEFAULT_PROVIDER_TYPE = "VIKINGDB_MEMORY"
|
|
47
50
|
ALLOWED_PROVIDER_TYPES = {"MEM0", "VIKINGDB_MEMORY"}
|
|
48
51
|
PROVIDER_TYPE_ALIASES = {
|
|
49
52
|
"mem0": "MEM0",
|
|
@@ -53,6 +56,10 @@ PROVIDER_TYPE_ALIASES = {
|
|
|
53
56
|
"vikingdb-memory": "VIKINGDB_MEMORY",
|
|
54
57
|
"VIKINGDB_MEMORY": "VIKINGDB_MEMORY",
|
|
55
58
|
}
|
|
59
|
+
CREATE_PROVIDER_TYPE_HELP = (
|
|
60
|
+
"Provider type: MEM0 | VIKINGDB_MEMORY. Defaults to MEM0; when cloud provider "
|
|
61
|
+
"is byteplus, defaults to VIKINGDB_MEMORY and MEM0 is not supported."
|
|
62
|
+
)
|
|
56
63
|
|
|
57
64
|
|
|
58
65
|
def _normalize_provider_type(value: Optional[str]) -> str:
|
|
@@ -61,7 +68,7 @@ def _normalize_provider_type(value: Optional[str]) -> str:
|
|
|
61
68
|
Accepts case-insensitive aliases and raises a helpful error on invalid values.
|
|
62
69
|
"""
|
|
63
70
|
if not value:
|
|
64
|
-
return
|
|
71
|
+
return DEFAULT_PROVIDER_TYPE
|
|
65
72
|
raw = value.strip()
|
|
66
73
|
if raw in ALLOWED_PROVIDER_TYPES:
|
|
67
74
|
return raw
|
|
@@ -79,6 +86,22 @@ def _normalize_provider_type(value: Optional[str]) -> str:
|
|
|
79
86
|
)
|
|
80
87
|
|
|
81
88
|
|
|
89
|
+
def _normalize_create_provider_type(
|
|
90
|
+
value: Optional[str],
|
|
91
|
+
cloud_provider: CloudProvider,
|
|
92
|
+
) -> str:
|
|
93
|
+
if not value and cloud_provider == CloudProvider.BYTEPLUS:
|
|
94
|
+
return BYTEPLUS_DEFAULT_PROVIDER_TYPE
|
|
95
|
+
|
|
96
|
+
normalized = _normalize_provider_type(value)
|
|
97
|
+
if cloud_provider == CloudProvider.BYTEPLUS and normalized == "MEM0":
|
|
98
|
+
raise typer.BadParameter(
|
|
99
|
+
"MEM0 provider type is not supported for BytePlus yet. "
|
|
100
|
+
"Use --provider-type vikingdb."
|
|
101
|
+
)
|
|
102
|
+
return normalized
|
|
103
|
+
|
|
104
|
+
|
|
82
105
|
def _validate_collection_name(name: Optional[str]):
|
|
83
106
|
"""Validate memory collection name: 1-48 chars, [A-Za-z0-9_]."""
|
|
84
107
|
if not name:
|
|
@@ -163,7 +186,7 @@ def create_command(
|
|
|
163
186
|
provider_type: Optional[str] = typer.Option(
|
|
164
187
|
None,
|
|
165
188
|
"--provider-type",
|
|
166
|
-
help=
|
|
189
|
+
help=CREATE_PROVIDER_TYPE_HELP,
|
|
167
190
|
),
|
|
168
191
|
vpc_id: Optional[str] = typer.Option(None, "--vpc-id", help="VPC ID"),
|
|
169
192
|
subnet_ids: Optional[str] = typer.Option(
|
|
@@ -202,7 +225,8 @@ def create_command(
|
|
|
202
225
|
):
|
|
203
226
|
"""Create a managed memory collection."""
|
|
204
227
|
try:
|
|
205
|
-
|
|
228
|
+
resolved_region = (region or "").strip()
|
|
229
|
+
cloud_provider = VolcConfiguration(region=resolved_region).provider
|
|
206
230
|
|
|
207
231
|
if json_body:
|
|
208
232
|
payload = json.loads(json_body)
|
|
@@ -210,8 +234,9 @@ def create_command(
|
|
|
210
234
|
if provider_type is not None:
|
|
211
235
|
payload["ProviderType"] = provider_type
|
|
212
236
|
# Default and normalize if missing or alias
|
|
213
|
-
payload["ProviderType"] =
|
|
214
|
-
payload.get("ProviderType")
|
|
237
|
+
payload["ProviderType"] = _normalize_create_provider_type(
|
|
238
|
+
payload.get("ProviderType"),
|
|
239
|
+
cloud_provider,
|
|
215
240
|
)
|
|
216
241
|
# Validate name and add default strategies if missing
|
|
217
242
|
_validate_collection_name(payload.get("Name"))
|
|
@@ -329,12 +354,16 @@ def create_command(
|
|
|
329
354
|
name=name,
|
|
330
355
|
description=description,
|
|
331
356
|
project_name=project_name,
|
|
332
|
-
provider_type=
|
|
357
|
+
provider_type=_normalize_create_provider_type(
|
|
358
|
+
provider_type,
|
|
359
|
+
cloud_provider,
|
|
360
|
+
),
|
|
333
361
|
long_term_configuration=long_term,
|
|
334
362
|
vpc_config=vpc,
|
|
335
363
|
tags=tags,
|
|
336
364
|
)
|
|
337
365
|
|
|
366
|
+
client = AgentkitMemoryClient(region=resolved_region)
|
|
338
367
|
resp = client.create_memory_collection(req)
|
|
339
368
|
console.print(
|
|
340
369
|
Panel.fit(
|
|
@@ -445,7 +474,9 @@ def provider_types_command():
|
|
|
445
474
|
table.add_row("VIKINGDB_MEMORY", "vikingdb, vikingdb_memory, vikingdb-memory")
|
|
446
475
|
console.print(table)
|
|
447
476
|
console.print(
|
|
448
|
-
"Default for create is [bold]MEM0[/bold]
|
|
477
|
+
"Default for create is [bold]MEM0[/bold], or "
|
|
478
|
+
"[bold]VIKINGDB_MEMORY[/bold] when cloud provider is byteplus. "
|
|
479
|
+
"MEM0 is not supported on BytePlus."
|
|
449
480
|
)
|
|
450
481
|
except Exception as e:
|
|
451
482
|
console.print(f"[red]Failed to list provider types: {e}[/red]")
|
{agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/cli_runtime.py
RENAMED
|
@@ -92,12 +92,25 @@ def _build_network_for_create_runtime(
|
|
|
92
92
|
)
|
|
93
93
|
|
|
94
94
|
|
|
95
|
+
def _validate_runtime_create_authorizer_options(
|
|
96
|
+
api_key_name: Optional[str],
|
|
97
|
+
jwt_discovery_url: Optional[str],
|
|
98
|
+
) -> None:
|
|
99
|
+
has_api_key_name = bool((api_key_name or "").strip())
|
|
100
|
+
has_jwt_discovery_url = bool((jwt_discovery_url or "").strip())
|
|
101
|
+
|
|
102
|
+
if has_api_key_name == has_jwt_discovery_url:
|
|
103
|
+
raise ValueError(
|
|
104
|
+
"Exactly one of --apikey-name or --jwt-discovery-url is required."
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
|
|
95
108
|
@runtime_app.command("create")
|
|
96
109
|
def create_runtime_command(
|
|
97
110
|
name: str = typer.Option(..., "--name", help="Runtime name"),
|
|
98
111
|
role_name: str = typer.Option(..., "--role-name", help="IAM role name"),
|
|
99
112
|
artifact_type: str = typer.Option(
|
|
100
|
-
..., "--artifact-type", help="Artifact type (e.g.,
|
|
113
|
+
..., "--artifact-type", help="Artifact type (e.g., image)"
|
|
101
114
|
),
|
|
102
115
|
artifact_url: str = typer.Option(
|
|
103
116
|
..., "--artifact-url", help="Artifact URL (image URL)"
|
|
@@ -137,13 +150,17 @@ def create_runtime_command(
|
|
|
137
150
|
help="Enable shared internet egress for private network (effective for private/both)",
|
|
138
151
|
),
|
|
139
152
|
api_key_name: Optional[str] = typer.Option(
|
|
140
|
-
None,
|
|
153
|
+
None,
|
|
154
|
+
"--apikey-name",
|
|
155
|
+
help="API key name (required unless --jwt-discovery-url is provided)",
|
|
141
156
|
),
|
|
142
157
|
api_key_location: Optional[str] = typer.Option(
|
|
143
158
|
None, "--apikey-location", help="API key location"
|
|
144
159
|
),
|
|
145
160
|
jwt_discovery_url: Optional[str] = typer.Option(
|
|
146
|
-
None,
|
|
161
|
+
None,
|
|
162
|
+
"--jwt-discovery-url",
|
|
163
|
+
help="JWT discovery URL (required unless --apikey-name is provided)",
|
|
147
164
|
),
|
|
148
165
|
jwt_allowed_clients: Optional[str] = typer.Option(
|
|
149
166
|
None, "--jwt-allowed-clients", help="JWT allowed clients (comma-separated)"
|
|
@@ -168,11 +185,15 @@ def create_runtime_command(
|
|
|
168
185
|
):
|
|
169
186
|
"""Create a Runtime."""
|
|
170
187
|
try:
|
|
171
|
-
client = AgentkitRuntimeClient(region=(region or "").strip())
|
|
172
188
|
if json_body:
|
|
173
189
|
payload = json.loads(json_body)
|
|
174
190
|
req = rt.CreateRuntimeRequest(**payload)
|
|
175
191
|
else:
|
|
192
|
+
_validate_runtime_create_authorizer_options(
|
|
193
|
+
api_key_name=api_key_name,
|
|
194
|
+
jwt_discovery_url=jwt_discovery_url,
|
|
195
|
+
)
|
|
196
|
+
|
|
176
197
|
authorizer = None
|
|
177
198
|
if any([api_key_name, api_key_location, jwt_discovery_url]):
|
|
178
199
|
authorizer = rt.AuthorizerForCreateRuntime(
|
|
@@ -237,6 +258,7 @@ def create_runtime_command(
|
|
|
237
258
|
envs=envs,
|
|
238
259
|
tags=tags,
|
|
239
260
|
)
|
|
261
|
+
client = AgentkitRuntimeClient(region=(region or "").strip())
|
|
240
262
|
resp = client.create_runtime(req)
|
|
241
263
|
console.print(
|
|
242
264
|
Panel.fit(
|
{agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/__init__.py
RENAMED
|
@@ -18,9 +18,9 @@ from agentkit.toolkit.cli.sandbox.cli import sandbox_app
|
|
|
18
18
|
from agentkit.toolkit.cli.sandbox.cli_build import build_command
|
|
19
19
|
from agentkit.toolkit.cli.sandbox.cli_create import create_command
|
|
20
20
|
from agentkit.toolkit.cli.sandbox.cli_exec import exec_command
|
|
21
|
-
from agentkit.toolkit.cli.sandbox.
|
|
22
|
-
from agentkit.toolkit.cli.sandbox.
|
|
23
|
-
from agentkit.toolkit.cli.sandbox.
|
|
21
|
+
from agentkit.toolkit.cli.sandbox.cli_scp import scp_command
|
|
22
|
+
from agentkit.toolkit.cli.sandbox.cli_list import list_command
|
|
23
|
+
from agentkit.toolkit.cli.sandbox.cli_init import init_command
|
|
24
24
|
from agentkit.toolkit.cli.sandbox.cli_run import run_command
|
|
25
25
|
from agentkit.toolkit.cli.sandbox.cli_shell import shell_command
|
|
26
26
|
from agentkit.toolkit.cli.sandbox.cli_web import web_command
|
|
@@ -29,9 +29,9 @@ __all__ = [
|
|
|
29
29
|
"build_command",
|
|
30
30
|
"create_command",
|
|
31
31
|
"exec_command",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
32
|
+
"scp_command",
|
|
33
|
+
"init_command",
|
|
34
|
+
"list_command",
|
|
35
35
|
"run_command",
|
|
36
36
|
"sandbox_app",
|
|
37
37
|
"shell_command",
|
|
@@ -28,6 +28,8 @@ from agentkit.sdk.tools.client import AgentkitToolsClient as _OpenapiAgentkitToo
|
|
|
28
28
|
from agentkit.sdk.tools.types import (
|
|
29
29
|
CreateSessionRequest,
|
|
30
30
|
CreateSessionResponse,
|
|
31
|
+
DeleteSessionRequest,
|
|
32
|
+
DeleteSessionResponse,
|
|
31
33
|
GetSessionRequest,
|
|
32
34
|
GetSessionResponse,
|
|
33
35
|
ListSessionsRequest,
|
|
@@ -128,6 +130,15 @@ class TipAgentkitToolsClient(_OpenapiAgentkitToolsClient):
|
|
|
128
130
|
if self.uses_tip_auth:
|
|
129
131
|
self._tip_session = requests.Session()
|
|
130
132
|
return
|
|
133
|
+
if not region:
|
|
134
|
+
try:
|
|
135
|
+
from agentkit.toolkit.cli.sandbox.config_store import (
|
|
136
|
+
config_default_str,
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
region = config_default_str("region") or region
|
|
140
|
+
except Exception:
|
|
141
|
+
pass
|
|
131
142
|
|
|
132
143
|
super().__init__(
|
|
133
144
|
access_key=access_key,
|
|
@@ -216,6 +227,13 @@ class TipAgentkitToolsClient(_OpenapiAgentkitToolsClient):
|
|
|
216
227
|
response_type=ListSessionsResponse,
|
|
217
228
|
)
|
|
218
229
|
|
|
230
|
+
def delete_session(self, request: DeleteSessionRequest) -> DeleteSessionResponse:
|
|
231
|
+
return self._invoke_tip_api(
|
|
232
|
+
api_action="DeleteSession",
|
|
233
|
+
request=request,
|
|
234
|
+
response_type=DeleteSessionResponse,
|
|
235
|
+
)
|
|
236
|
+
|
|
219
237
|
def _raise_tip_unsupported(self, api_action: str) -> None:
|
|
220
238
|
raise Exception(
|
|
221
239
|
f"{api_action} is not available with TIP sandbox auth. "
|
|
@@ -238,6 +256,11 @@ class TipAgentkitToolsClient(_OpenapiAgentkitToolsClient):
|
|
|
238
256
|
self._raise_tip_unsupported("ListTools")
|
|
239
257
|
return super().list_tools(request)
|
|
240
258
|
|
|
259
|
+
def delete_tool(self, request: Any) -> Any:
|
|
260
|
+
if self.uses_tip_auth:
|
|
261
|
+
self._raise_tip_unsupported("DeleteTool")
|
|
262
|
+
return super().delete_tool(request)
|
|
263
|
+
|
|
241
264
|
|
|
242
265
|
def is_tip_agentkit_client(client: object) -> bool:
|
|
243
266
|
return bool(getattr(client, "uses_tip_auth", False))
|
{agentkit_sdk_python-0.7.13 → agentkit_sdk_python-0.8.1}/agentkit/toolkit/cli/sandbox/cli.py
RENAMED
|
@@ -19,12 +19,14 @@ from __future__ import annotations
|
|
|
19
19
|
import typer
|
|
20
20
|
|
|
21
21
|
from agentkit.toolkit.cli.sandbox.cli_build import build_command
|
|
22
|
+
from agentkit.toolkit.cli.sandbox.cli_config import config_command
|
|
22
23
|
from agentkit.toolkit.cli.sandbox.cli_create import create_command
|
|
24
|
+
from agentkit.toolkit.cli.sandbox.cli_delete import delete_command
|
|
23
25
|
from agentkit.toolkit.cli.sandbox.cli_exec import exec_command
|
|
24
|
-
from agentkit.toolkit.cli.sandbox.
|
|
25
|
-
from agentkit.toolkit.cli.sandbox.
|
|
26
|
+
from agentkit.toolkit.cli.sandbox.cli_scp import scp_command
|
|
27
|
+
from agentkit.toolkit.cli.sandbox.cli_list import list_command
|
|
26
28
|
from agentkit.toolkit.cli.sandbox.cli_invoke import invoke_command
|
|
27
|
-
from agentkit.toolkit.cli.sandbox.
|
|
29
|
+
from agentkit.toolkit.cli.sandbox.cli_init import init_command
|
|
28
30
|
from agentkit.toolkit.cli.sandbox.cli_model_login import codex_login_command
|
|
29
31
|
from agentkit.toolkit.cli.sandbox.cli_mount import mount_command
|
|
30
32
|
from agentkit.toolkit.cli.sandbox.cli_run import run_command
|
|
@@ -38,12 +40,13 @@ sandbox_app = typer.Typer(
|
|
|
38
40
|
)
|
|
39
41
|
|
|
40
42
|
sandbox_app.command(name="build")(build_command)
|
|
41
|
-
sandbox_app.command(name="init
|
|
43
|
+
sandbox_app.command(name="init")(init_command)
|
|
42
44
|
sandbox_app.command(
|
|
43
45
|
name="create",
|
|
44
46
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
45
47
|
)(create_command)
|
|
46
|
-
sandbox_app.command(name="
|
|
48
|
+
sandbox_app.command(name="delete")(delete_command)
|
|
49
|
+
sandbox_app.command(name="list")(list_command)
|
|
47
50
|
sandbox_app.command(name="mount")(mount_command)
|
|
48
51
|
sandbox_app.command(
|
|
49
52
|
name="exec",
|
|
@@ -61,4 +64,5 @@ sandbox_app.command(
|
|
|
61
64
|
sandbox_app.command(name="web")(web_command)
|
|
62
65
|
sandbox_app.command(name="codex-login")(codex_login_command)
|
|
63
66
|
sandbox_app.command(name="model-login")(codex_login_command) # provider-agnostic alias
|
|
64
|
-
sandbox_app.
|
|
67
|
+
sandbox_app.command(name="config")(config_command)
|
|
68
|
+
sandbox_app.command(name="scp")(scp_command)
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Config command for sandbox CLI."""
|
|
16
|
+
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
19
|
+
import typer
|
|
20
|
+
import yaml
|
|
21
|
+
|
|
22
|
+
from agentkit.toolkit.cli.sandbox.config_store import (
|
|
23
|
+
SandboxConfigError,
|
|
24
|
+
configured_sandbox_config,
|
|
25
|
+
effective_sandbox_config,
|
|
26
|
+
ensure_sandbox_config_initialized,
|
|
27
|
+
get_sandbox_config_path,
|
|
28
|
+
redact_sandbox_config,
|
|
29
|
+
set_config_value,
|
|
30
|
+
unset_config_value,
|
|
31
|
+
write_sandbox_config,
|
|
32
|
+
)
|
|
33
|
+
from agentkit.toolkit.cli.sandbox.sandbox_client import error
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def _dump_yaml(payload: object) -> None:
|
|
37
|
+
typer.echo(
|
|
38
|
+
yaml.safe_dump(
|
|
39
|
+
payload,
|
|
40
|
+
sort_keys=False,
|
|
41
|
+
allow_unicode=True,
|
|
42
|
+
).rstrip()
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def _format_config_value(canonical: str, value: object) -> object:
|
|
47
|
+
if canonical in {"model-api-key", "websearch-apikey"}:
|
|
48
|
+
return "<redacted>"
|
|
49
|
+
return value
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def _parse_set_field(field: str) -> tuple[str, str]:
|
|
53
|
+
if "=" not in field:
|
|
54
|
+
raise SandboxConfigError("--set value must use KEY=VALUE format")
|
|
55
|
+
key, value = field.split("=", 1)
|
|
56
|
+
if not key.strip():
|
|
57
|
+
raise SandboxConfigError("--set key must not be empty")
|
|
58
|
+
return key, value
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def _apply_config_options(
|
|
62
|
+
set_fields: list[str],
|
|
63
|
+
unset_keys: list[str],
|
|
64
|
+
list_config: bool,
|
|
65
|
+
) -> None:
|
|
66
|
+
path = get_sandbox_config_path()
|
|
67
|
+
data = None
|
|
68
|
+
wrote = False
|
|
69
|
+
|
|
70
|
+
if set_fields:
|
|
71
|
+
try:
|
|
72
|
+
path, data, _created = ensure_sandbox_config_initialized()
|
|
73
|
+
for field in set_fields:
|
|
74
|
+
key, value = _parse_set_field(field)
|
|
75
|
+
canonical, parsed = set_config_value(data, key, value)
|
|
76
|
+
typer.echo(
|
|
77
|
+
f"Set {canonical}: {_format_config_value(canonical, parsed)}"
|
|
78
|
+
)
|
|
79
|
+
except SandboxConfigError as exc:
|
|
80
|
+
error(str(exc))
|
|
81
|
+
|
|
82
|
+
if unset_keys:
|
|
83
|
+
if data is None:
|
|
84
|
+
if not path.exists():
|
|
85
|
+
error(f"Sandbox config not found: {path}")
|
|
86
|
+
try:
|
|
87
|
+
data = configured_sandbox_config()
|
|
88
|
+
except SandboxConfigError as exc:
|
|
89
|
+
error(str(exc))
|
|
90
|
+
try:
|
|
91
|
+
for key in unset_keys:
|
|
92
|
+
canonical, removed = unset_config_value(data, key)
|
|
93
|
+
if removed:
|
|
94
|
+
typer.echo(f"Unset {canonical}")
|
|
95
|
+
else:
|
|
96
|
+
typer.echo(f"{canonical} was not set")
|
|
97
|
+
except SandboxConfigError as exc:
|
|
98
|
+
error(str(exc))
|
|
99
|
+
|
|
100
|
+
if data is not None:
|
|
101
|
+
write_sandbox_config(data, path)
|
|
102
|
+
wrote = True
|
|
103
|
+
|
|
104
|
+
if wrote:
|
|
105
|
+
typer.echo(f"Wrote {path}")
|
|
106
|
+
|
|
107
|
+
if list_config:
|
|
108
|
+
try:
|
|
109
|
+
_dump_yaml(redact_sandbox_config(effective_sandbox_config()))
|
|
110
|
+
except SandboxConfigError as exc:
|
|
111
|
+
error(str(exc))
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def config_command(
|
|
115
|
+
ctx: typer.Context,
|
|
116
|
+
set_fields: list[str] = typer.Option(
|
|
117
|
+
[],
|
|
118
|
+
"--set",
|
|
119
|
+
metavar="KEY=VALUE",
|
|
120
|
+
help="Set a config value. Can be repeated.",
|
|
121
|
+
),
|
|
122
|
+
unset_keys: list[str] = typer.Option(
|
|
123
|
+
[],
|
|
124
|
+
"--unset",
|
|
125
|
+
metavar="KEY",
|
|
126
|
+
help="Unset a config value. Can be repeated.",
|
|
127
|
+
),
|
|
128
|
+
list_config: bool = typer.Option(
|
|
129
|
+
False,
|
|
130
|
+
"--list",
|
|
131
|
+
help="List the current effective sandbox config.",
|
|
132
|
+
),
|
|
133
|
+
) -> None:
|
|
134
|
+
"""Configure default values for sandbox commands."""
|
|
135
|
+
has_options = bool(set_fields or unset_keys or list_config)
|
|
136
|
+
if not has_options:
|
|
137
|
+
typer.echo(ctx.get_help())
|
|
138
|
+
raise typer.Exit()
|
|
139
|
+
_apply_config_options(set_fields, unset_keys, list_config)
|