agentkit-sdk-python 0.7.8__tar.gz → 0.7.9__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.8 → agentkit_sdk_python-0.7.9}/PKG-INFO +1 -1
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/identity/auth.py +2 -2
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/code_pipeline.py +25 -70
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/cr.py +25 -72
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/services/cr_service.py +1 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/utils/ve_sign.py +41 -20
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/version.py +1 -1
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit_sdk_python.egg-info/PKG-INFO +1 -1
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/pyproject.toml +1 -1
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/LICENSE +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/MANIFEST.in +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/README.md +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/a2a_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/a2a_app/a2a_app.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/a2a_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/agent_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/agent_server_app/agent_server_app.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/agent_server_app/middleware.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/agent_server_app/origin.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/agent_server_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/base_app.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/mcp_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/mcp_app/mcp_app.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/mcp_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/simple_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/simple_app/simple_app.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/simple_app/simple_app_handlers.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/simple_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/utils.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/_openapi.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/_redact.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/_sigv4.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/admin.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/credential_hosting.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/errors.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/model_login.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/oauth.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/profile.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/providers.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/resolve.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/session.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/ssl_trust.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/sso.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/store.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/auth/sts.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/client/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/client/base_agentkit_client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/client/base_iam_client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/client/base_service_client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/errors.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/frameworks/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/frameworks/_common.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/frameworks/langchain.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/frameworks/langgraph.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/frameworks/migration.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/frameworks/serving/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/frameworks/serving/fastapi_mount.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/frameworks/serving/langserve.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/platform/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/platform/configuration.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/platform/console_urls.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/platform/constants.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/platform/context.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/platform/provider.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/account/client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/account/types.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/identity/client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/identity/types.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/knowledge/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/knowledge/client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/knowledge/types.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/mcp/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/mcp/client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/mcp/types.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/memory/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/memory/client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/memory/types.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/runtime/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/runtime/client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/runtime/types.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/skills/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/skills/client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/skills/types.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/tools/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/tools/client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/sdk/tools/types.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/builders/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/builders/base.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/builders/local_docker.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/builders/ve_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/builders/ve_sandbox_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/__main__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_add.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_auth.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_build.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_delete.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_deploy.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_destroy.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_init.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_knowledge.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_launch.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_list.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_logs.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_memory.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_runtime.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_skill.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_skills.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_skills_workflow.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_status.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_tools.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/cli_version.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/console_reporter.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/interactive_config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/a2a_client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/agentkit_client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_build.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_create.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_exec.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_file.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_get.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_init_dockerfile.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_model_login.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_mount.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_run.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_shell.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/cli_web.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/env_config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/git_config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/model_config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/sandbox_client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/session_create.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/session_sync.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/tool_resolve.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/sandbox/tos_config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/cli/utils.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/choice_resolvers.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/cloud_provider.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/config_handler.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/config_validator.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/constants.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/dataclass_utils.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/docker_build_config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/global_config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/region_defaults.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/region_resolver.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/strategy_configs.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/config/utils.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/context.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/docker/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/docker/base_images.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/docker/container.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/docker/dockerfile/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/docker/dockerfile/manager.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/docker/dockerfile/metadata.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/docker/utils.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/errors.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/executors/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/executors/base_executor.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/executors/build_executor.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/executors/deploy_executor.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/executors/init_executor.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/executors/invoke_executor.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/executors/lifecycle_executor.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/executors/status_executor.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/harness/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/harness/config_builder.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/harness/deploy.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/harness/env_mapping.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/models.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/reporter.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/a2a.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/agent_server.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/basic.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/basic_stream.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/customer_support_assistant.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/eino_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/eino_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/eino_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/eino_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/eino_a2a/main.go +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/financial_analyst.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/langchain_basic_stream.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/simple_app_veadk.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/simple_mcp_veadk.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_a2a/main.go +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_basic/agent.go +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_basic/build.sh +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_basic/go.mod +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_basic/go.sum +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/samples/veadk_go_basic/main.go +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/templates/code-pipeline-sandbox-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/templates/code-pipeline-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/templates/golang/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/templates/python/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-package +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-skills +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.web-server +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/wrappers/wrapper_basic.py.jinja2 +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/resources/wrappers/wrapper_stream.py.jinja2 +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/runners/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/runners/base.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/runners/local_docker.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/runners/ve_agentkit.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/bindings/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/bindings/memory.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/builder.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/client.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/deployer.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/initializer.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/invoker.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/lifecycle.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/sdk/status.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/strategies/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/strategies/base_strategy.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/strategies/cloud_strategy.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/strategies/hybrid_strategy.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/strategies/local_strategy.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/utils/agent_parser.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/apmplus_logs.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/iam.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/services/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/services/tos_service.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/sts.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/utils/project_archiver.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/utils/global_config_io.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/utils/http_defaults.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/utils/logging_config.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/utils/misc.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/utils/redact.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/utils/request.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/utils/template_utils.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit_sdk_python.egg-info/SOURCES.txt +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit_sdk_python.egg-info/dependency_links.txt +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit_sdk_python.egg-info/entry_points.txt +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit_sdk_python.egg-info/requires.txt +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit_sdk_python.egg-info/top_level.txt +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/setup.cfg +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/tests/test_client_uses_platform_context.py +0 -0
- {agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/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.7.
|
|
3
|
+
Version: 0.7.9
|
|
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
|
|
@@ -41,7 +41,7 @@ def requires_api_key(*, provider_name: str, into: str = "api_key"):
|
|
|
41
41
|
endpoint = resolve_endpoint("identity")
|
|
42
42
|
access_key = creds.access_key
|
|
43
43
|
secret_key = creds.secret_key
|
|
44
|
-
session_token = ""
|
|
44
|
+
session_token = getattr(creds, "session_token", None) or None
|
|
45
45
|
|
|
46
46
|
response = ve_request(
|
|
47
47
|
request_body={
|
|
@@ -49,9 +49,9 @@ def requires_api_key(*, provider_name: str, into: str = "api_key"):
|
|
|
49
49
|
"IdentityToken": "identity_token",
|
|
50
50
|
},
|
|
51
51
|
action="GetResourceApiKey",
|
|
52
|
-
header={"X-Security-Token": session_token} if session_token else {},
|
|
53
52
|
ak=access_key,
|
|
54
53
|
sk=secret_key,
|
|
54
|
+
session_token=session_token,
|
|
55
55
|
version=endpoint.api_version,
|
|
56
56
|
service=endpoint.service,
|
|
57
57
|
host=endpoint.host,
|
{agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/toolkit/volcengine/code_pipeline.py
RENAMED
|
@@ -31,11 +31,13 @@ class VeCodePipeline:
|
|
|
31
31
|
secret_key: str = "",
|
|
32
32
|
region: str = "",
|
|
33
33
|
provider: str | None = None,
|
|
34
|
+
session_token: str = "",
|
|
34
35
|
) -> None:
|
|
35
36
|
# Use provided region or None to trigger auto-detection in VolcConfiguration
|
|
36
37
|
config = VolcConfiguration(
|
|
37
38
|
access_key=access_key or None,
|
|
38
39
|
secret_key=secret_key or None,
|
|
40
|
+
session_token=session_token or None,
|
|
39
41
|
region=region or None,
|
|
40
42
|
provider=provider or None,
|
|
41
43
|
)
|
|
@@ -45,6 +47,7 @@ class VeCodePipeline:
|
|
|
45
47
|
creds = config.get_service_credentials("cp")
|
|
46
48
|
self.volcengine_access_key = creds.access_key
|
|
47
49
|
self.volcengine_secret_key = creds.secret_key
|
|
50
|
+
self.volcengine_session_token = creds.session_token or None
|
|
48
51
|
elif not all([access_key, secret_key]):
|
|
49
52
|
raise ValueError(
|
|
50
53
|
"Error create cp instance: missing access key or secret key",
|
|
@@ -52,6 +55,7 @@ class VeCodePipeline:
|
|
|
52
55
|
else:
|
|
53
56
|
self.volcengine_access_key = access_key
|
|
54
57
|
self.volcengine_secret_key = secret_key
|
|
58
|
+
self.volcengine_session_token = session_token or None
|
|
55
59
|
|
|
56
60
|
endpoint = config.get_service_endpoint("cp")
|
|
57
61
|
|
|
@@ -61,12 +65,10 @@ class VeCodePipeline:
|
|
|
61
65
|
self.host = endpoint.host
|
|
62
66
|
self.content_type = "application/json"
|
|
63
67
|
|
|
64
|
-
def
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
request_body={},
|
|
69
|
-
action="GetDefaultWorkspaceInner",
|
|
68
|
+
def _ve_request(self, request_body: dict, action: str) -> dict:
|
|
69
|
+
return ve_request(
|
|
70
|
+
request_body=request_body,
|
|
71
|
+
action=action,
|
|
70
72
|
ak=self.volcengine_access_key,
|
|
71
73
|
sk=self.volcengine_secret_key,
|
|
72
74
|
service=self.service,
|
|
@@ -74,6 +76,15 @@ class VeCodePipeline:
|
|
|
74
76
|
region=self.region,
|
|
75
77
|
host=self.host,
|
|
76
78
|
content_type=self.content_type,
|
|
79
|
+
session_token=self.volcengine_session_token,
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
def _get_default_workspace(self) -> str:
|
|
83
|
+
logger.info("Getting default workspace...")
|
|
84
|
+
|
|
85
|
+
res = self._ve_request(
|
|
86
|
+
request_body={},
|
|
87
|
+
action="GetDefaultWorkspaceInner",
|
|
77
88
|
)
|
|
78
89
|
|
|
79
90
|
try:
|
|
@@ -134,16 +145,9 @@ class VeCodePipeline:
|
|
|
134
145
|
if visible_users:
|
|
135
146
|
request_body["VisibleUsers"] = visible_users
|
|
136
147
|
|
|
137
|
-
res =
|
|
148
|
+
res = self._ve_request(
|
|
138
149
|
request_body=request_body,
|
|
139
150
|
action="CreateWorkspace",
|
|
140
|
-
ak=self.volcengine_access_key,
|
|
141
|
-
sk=self.volcengine_secret_key,
|
|
142
|
-
service=self.service,
|
|
143
|
-
version=self.version,
|
|
144
|
-
region=self.region,
|
|
145
|
-
host=self.host,
|
|
146
|
-
content_type=self.content_type,
|
|
147
151
|
)
|
|
148
152
|
|
|
149
153
|
try:
|
|
@@ -206,16 +210,9 @@ class VeCodePipeline:
|
|
|
206
210
|
if workspace_ids:
|
|
207
211
|
request_body["Filter"]["Ids"] = workspace_ids
|
|
208
212
|
|
|
209
|
-
res =
|
|
213
|
+
res = self._ve_request(
|
|
210
214
|
request_body=request_body,
|
|
211
215
|
action="ListWorkspaces",
|
|
212
|
-
ak=self.volcengine_access_key,
|
|
213
|
-
sk=self.volcengine_secret_key,
|
|
214
|
-
service=self.service,
|
|
215
|
-
version=self.version,
|
|
216
|
-
region=self.region,
|
|
217
|
-
host=self.host,
|
|
218
|
-
content_type=self.content_type,
|
|
219
216
|
)
|
|
220
217
|
|
|
221
218
|
try:
|
|
@@ -301,7 +298,7 @@ class VeCodePipeline:
|
|
|
301
298
|
parameters: list[dict[str, str]] | None = None,
|
|
302
299
|
) -> str:
|
|
303
300
|
logger.info("Creating pipeline...")
|
|
304
|
-
res =
|
|
301
|
+
res = self._ve_request(
|
|
305
302
|
request_body={
|
|
306
303
|
"WorkspaceId": workspace_id,
|
|
307
304
|
"Name": pipeline_name,
|
|
@@ -309,13 +306,6 @@ class VeCodePipeline:
|
|
|
309
306
|
"Parameters": parameters or [],
|
|
310
307
|
},
|
|
311
308
|
action="CreatePipeline",
|
|
312
|
-
ak=self.volcengine_access_key,
|
|
313
|
-
sk=self.volcengine_secret_key,
|
|
314
|
-
service=self.service,
|
|
315
|
-
version=self.version,
|
|
316
|
-
region=self.region,
|
|
317
|
-
host=self.host,
|
|
318
|
-
content_type=self.content_type,
|
|
319
309
|
)
|
|
320
310
|
|
|
321
311
|
try:
|
|
@@ -366,16 +356,9 @@ class VeCodePipeline:
|
|
|
366
356
|
if resources:
|
|
367
357
|
request_body["Resources"] = resources
|
|
368
358
|
|
|
369
|
-
res =
|
|
359
|
+
res = self._ve_request(
|
|
370
360
|
request_body=request_body,
|
|
371
361
|
action="RunPipeline",
|
|
372
|
-
ak=self.volcengine_access_key,
|
|
373
|
-
sk=self.volcengine_secret_key,
|
|
374
|
-
service=self.service,
|
|
375
|
-
version=self.version,
|
|
376
|
-
region=self.region,
|
|
377
|
-
host=self.host,
|
|
378
|
-
content_type=self.content_type,
|
|
379
362
|
)
|
|
380
363
|
|
|
381
364
|
try:
|
|
@@ -459,16 +442,9 @@ class VeCodePipeline:
|
|
|
459
442
|
if run_ids:
|
|
460
443
|
request_body["Filter"]["Ids"] = run_ids
|
|
461
444
|
|
|
462
|
-
res =
|
|
445
|
+
res = self._ve_request(
|
|
463
446
|
request_body=request_body,
|
|
464
447
|
action="ListPipelineRuns",
|
|
465
|
-
ak=self.volcengine_access_key,
|
|
466
|
-
sk=self.volcengine_secret_key,
|
|
467
|
-
service=self.service,
|
|
468
|
-
version=self.version,
|
|
469
|
-
region=self.region,
|
|
470
|
-
host=self.host,
|
|
471
|
-
content_type=self.content_type,
|
|
472
448
|
)
|
|
473
449
|
|
|
474
450
|
try:
|
|
@@ -569,16 +545,9 @@ class VeCodePipeline:
|
|
|
569
545
|
if pipeline_ids:
|
|
570
546
|
request_body["Filter"]["Ids"] = pipeline_ids
|
|
571
547
|
|
|
572
|
-
res =
|
|
548
|
+
res = self._ve_request(
|
|
573
549
|
request_body=request_body,
|
|
574
550
|
action="ListPipelines",
|
|
575
|
-
ak=self.volcengine_access_key,
|
|
576
|
-
sk=self.volcengine_secret_key,
|
|
577
|
-
service=self.service,
|
|
578
|
-
version=self.version,
|
|
579
|
-
region=self.region,
|
|
580
|
-
host=self.host,
|
|
581
|
-
content_type=self.content_type,
|
|
582
551
|
)
|
|
583
552
|
|
|
584
553
|
try:
|
|
@@ -684,16 +653,9 @@ class VeCodePipeline:
|
|
|
684
653
|
"PipelineRunId": pipeline_run_id,
|
|
685
654
|
}
|
|
686
655
|
|
|
687
|
-
res =
|
|
656
|
+
res = self._ve_request(
|
|
688
657
|
request_body=request_body,
|
|
689
658
|
action="ListPipelineRunStagesInner",
|
|
690
|
-
ak=self.volcengine_access_key,
|
|
691
|
-
sk=self.volcengine_secret_key,
|
|
692
|
-
service=self.service,
|
|
693
|
-
version=self.version,
|
|
694
|
-
region=self.region,
|
|
695
|
-
host=self.host,
|
|
696
|
-
content_type=self.content_type,
|
|
697
659
|
)
|
|
698
660
|
|
|
699
661
|
try:
|
|
@@ -757,16 +719,9 @@ class VeCodePipeline:
|
|
|
757
719
|
"StepName": step_name,
|
|
758
720
|
}
|
|
759
721
|
|
|
760
|
-
res =
|
|
722
|
+
res = self._ve_request(
|
|
761
723
|
request_body=request_body,
|
|
762
724
|
action="GetTaskRunLogDownloadURI",
|
|
763
|
-
ak=self.volcengine_access_key,
|
|
764
|
-
sk=self.volcengine_secret_key,
|
|
765
|
-
service=self.service,
|
|
766
|
-
version=self.version,
|
|
767
|
-
region=self.region,
|
|
768
|
-
host=self.host,
|
|
769
|
-
content_type=self.content_type,
|
|
770
725
|
)
|
|
771
726
|
|
|
772
727
|
try:
|
|
@@ -32,9 +32,11 @@ class VeCR:
|
|
|
32
32
|
secret_key: str,
|
|
33
33
|
region: str | None = None,
|
|
34
34
|
provider: str | None = None,
|
|
35
|
+
session_token: str | None = None,
|
|
35
36
|
):
|
|
36
37
|
self.ak = access_key
|
|
37
38
|
self.sk = secret_key
|
|
39
|
+
self.session_token = session_token or None
|
|
38
40
|
|
|
39
41
|
config = VolcConfiguration(region=region or None, provider=provider or None)
|
|
40
42
|
ep = resolve_endpoint(
|
|
@@ -47,6 +49,20 @@ class VeCR:
|
|
|
47
49
|
self.host = ep.host
|
|
48
50
|
self.scheme = ep.scheme
|
|
49
51
|
|
|
52
|
+
def _ve_request(self, request_body: dict, action: str) -> dict:
|
|
53
|
+
return ve_request(
|
|
54
|
+
request_body=request_body,
|
|
55
|
+
action=action,
|
|
56
|
+
ak=self.ak,
|
|
57
|
+
sk=self.sk,
|
|
58
|
+
service="cr",
|
|
59
|
+
version=self.version,
|
|
60
|
+
region=self.region,
|
|
61
|
+
host=self.host,
|
|
62
|
+
scheme=self.scheme,
|
|
63
|
+
session_token=self.session_token,
|
|
64
|
+
)
|
|
65
|
+
|
|
50
66
|
def _create_instance(
|
|
51
67
|
self,
|
|
52
68
|
instance_name: str = DEFAULT_CR_INSTANCE_NAME,
|
|
@@ -74,7 +90,7 @@ class VeCR:
|
|
|
74
90
|
if status != "NONEXIST":
|
|
75
91
|
logger.debug(f"cr instance {instance_name} already running")
|
|
76
92
|
return instance_name
|
|
77
|
-
response =
|
|
93
|
+
response = self._ve_request(
|
|
78
94
|
request_body={
|
|
79
95
|
"Name": instance_name,
|
|
80
96
|
"ResourceTags": [
|
|
@@ -83,13 +99,6 @@ class VeCR:
|
|
|
83
99
|
"Type": instance_type,
|
|
84
100
|
},
|
|
85
101
|
action="CreateRegistry",
|
|
86
|
-
ak=self.ak,
|
|
87
|
-
sk=self.sk,
|
|
88
|
-
service="cr",
|
|
89
|
-
version=self.version,
|
|
90
|
-
region=self.region,
|
|
91
|
-
host=self.host,
|
|
92
|
-
scheme=self.scheme,
|
|
93
102
|
)
|
|
94
103
|
logger.debug(f"create cr instance {instance_name}: {response}")
|
|
95
104
|
|
|
@@ -129,20 +138,13 @@ class VeCR:
|
|
|
129
138
|
Returns:
|
|
130
139
|
cr instance status
|
|
131
140
|
"""
|
|
132
|
-
response =
|
|
141
|
+
response = self._ve_request(
|
|
133
142
|
request_body={
|
|
134
143
|
"Filter": {
|
|
135
144
|
"Names": [instance_name],
|
|
136
145
|
}
|
|
137
146
|
},
|
|
138
147
|
action="ListRegistries",
|
|
139
|
-
ak=self.ak,
|
|
140
|
-
sk=self.sk,
|
|
141
|
-
service="cr",
|
|
142
|
-
version=self.version,
|
|
143
|
-
region=self.region,
|
|
144
|
-
host=self.host,
|
|
145
|
-
scheme=self.scheme,
|
|
146
148
|
)
|
|
147
149
|
logger.debug(f"check cr instance {instance_name}: {response}")
|
|
148
150
|
|
|
@@ -168,19 +170,12 @@ class VeCR:
|
|
|
168
170
|
Returns:
|
|
169
171
|
cr namespace name
|
|
170
172
|
"""
|
|
171
|
-
response =
|
|
173
|
+
response = self._ve_request(
|
|
172
174
|
request_body={
|
|
173
175
|
"Name": namespace_name,
|
|
174
176
|
"Registry": instance_name,
|
|
175
177
|
},
|
|
176
178
|
action="CreateNamespace",
|
|
177
|
-
ak=self.ak,
|
|
178
|
-
sk=self.sk,
|
|
179
|
-
service="cr",
|
|
180
|
-
version=self.version,
|
|
181
|
-
region=self.region,
|
|
182
|
-
host=self.host,
|
|
183
|
-
scheme=self.scheme,
|
|
184
179
|
)
|
|
185
180
|
logger.debug(f"create cr namespace {namespace_name}: {response}")
|
|
186
181
|
|
|
@@ -217,7 +212,7 @@ class VeCR:
|
|
|
217
212
|
Returns:
|
|
218
213
|
cr repo name
|
|
219
214
|
"""
|
|
220
|
-
response =
|
|
215
|
+
response = self._ve_request(
|
|
221
216
|
request_body={
|
|
222
217
|
"Name": repo_name,
|
|
223
218
|
"Registry": instance_name,
|
|
@@ -226,13 +221,6 @@ class VeCR:
|
|
|
226
221
|
"Description": "veadk cr repo",
|
|
227
222
|
},
|
|
228
223
|
action="CreateRepository",
|
|
229
|
-
ak=self.ak,
|
|
230
|
-
sk=self.sk,
|
|
231
|
-
service="cr",
|
|
232
|
-
version=self.version,
|
|
233
|
-
region=self.region,
|
|
234
|
-
host=self.host,
|
|
235
|
-
scheme=self.scheme,
|
|
236
224
|
)
|
|
237
225
|
logger.debug(f"create cr repo {repo_name}: {response}")
|
|
238
226
|
|
|
@@ -255,18 +243,11 @@ class VeCR:
|
|
|
255
243
|
"""
|
|
256
244
|
get cr authorization token
|
|
257
245
|
"""
|
|
258
|
-
response =
|
|
246
|
+
response = self._ve_request(
|
|
259
247
|
request_body={
|
|
260
248
|
"Registry": instance_name,
|
|
261
249
|
},
|
|
262
250
|
action="GetAuthorizationToken",
|
|
263
|
-
ak=self.ak,
|
|
264
|
-
sk=self.sk,
|
|
265
|
-
service="cr",
|
|
266
|
-
version=self.version,
|
|
267
|
-
region=self.region,
|
|
268
|
-
host=self.host,
|
|
269
|
-
scheme=self.scheme,
|
|
270
251
|
)
|
|
271
252
|
logger.debug("got cr authorization token")
|
|
272
253
|
|
|
@@ -291,18 +272,11 @@ class VeCR:
|
|
|
291
272
|
"""
|
|
292
273
|
get cr public endpoint
|
|
293
274
|
"""
|
|
294
|
-
response =
|
|
275
|
+
response = self._ve_request(
|
|
295
276
|
request_body={
|
|
296
277
|
"Registry": instance_name,
|
|
297
278
|
},
|
|
298
279
|
action="GetPublicEndpoint",
|
|
299
|
-
ak=self.ak,
|
|
300
|
-
sk=self.sk,
|
|
301
|
-
service="cr",
|
|
302
|
-
version=self.version,
|
|
303
|
-
region=self.region,
|
|
304
|
-
host=self.host,
|
|
305
|
-
scheme=self.scheme,
|
|
306
280
|
)
|
|
307
281
|
logger.debug(f"get cr public endpoint: {response}")
|
|
308
282
|
if "Error" in response["ResponseMetadata"]:
|
|
@@ -318,19 +292,12 @@ class VeCR:
|
|
|
318
292
|
"""
|
|
319
293
|
update cr public endpoint
|
|
320
294
|
"""
|
|
321
|
-
response =
|
|
295
|
+
response = self._ve_request(
|
|
322
296
|
request_body={
|
|
323
297
|
"Registry": instance_name,
|
|
324
298
|
"Enabled": enabled,
|
|
325
299
|
},
|
|
326
300
|
action="UpdatePublicEndpoint",
|
|
327
|
-
ak=self.ak,
|
|
328
|
-
sk=self.sk,
|
|
329
|
-
service="cr",
|
|
330
|
-
version=self.version,
|
|
331
|
-
region=self.region,
|
|
332
|
-
host=self.host,
|
|
333
|
-
scheme=self.scheme,
|
|
334
301
|
)
|
|
335
302
|
logger.debug(f"update cr public endpoint: {response}")
|
|
336
303
|
if "Error" in response["ResponseMetadata"]:
|
|
@@ -354,7 +321,7 @@ class VeCR:
|
|
|
354
321
|
"""
|
|
355
322
|
create endpoint acl policies
|
|
356
323
|
"""
|
|
357
|
-
response =
|
|
324
|
+
response = self._ve_request(
|
|
358
325
|
request_body={
|
|
359
326
|
"Registry": instance_name,
|
|
360
327
|
"Type": policy_type,
|
|
@@ -362,13 +329,6 @@ class VeCR:
|
|
|
362
329
|
"Description": description,
|
|
363
330
|
},
|
|
364
331
|
action="CreateEndpointAclPolicies",
|
|
365
|
-
ak=self.ak,
|
|
366
|
-
sk=self.sk,
|
|
367
|
-
service="cr",
|
|
368
|
-
version=self.version,
|
|
369
|
-
region=self.region,
|
|
370
|
-
host=self.host,
|
|
371
|
-
scheme=self.scheme,
|
|
372
332
|
)
|
|
373
333
|
logger.debug(f"create endpoint acl policies: {response}")
|
|
374
334
|
|
|
@@ -387,18 +347,11 @@ class VeCR:
|
|
|
387
347
|
"""
|
|
388
348
|
list cr domains
|
|
389
349
|
"""
|
|
390
|
-
response =
|
|
350
|
+
response = self._ve_request(
|
|
391
351
|
request_body={
|
|
392
352
|
"Registry": instance_name,
|
|
393
353
|
},
|
|
394
354
|
action="ListDomains",
|
|
395
|
-
ak=self.ak,
|
|
396
|
-
sk=self.sk,
|
|
397
|
-
service="cr",
|
|
398
|
-
version=self.version,
|
|
399
|
-
region=self.region,
|
|
400
|
-
host=self.host,
|
|
401
|
-
scheme=self.scheme,
|
|
402
355
|
)
|
|
403
356
|
logger.debug(f"list cr domains: {response}")
|
|
404
357
|
if "Error" in response["ResponseMetadata"]:
|
|
@@ -212,19 +212,22 @@ def norm_query(params):
|
|
|
212
212
|
return query.replace("+", "%20")
|
|
213
213
|
|
|
214
214
|
|
|
215
|
-
# 第一步:准备辅助函数。
|
|
216
|
-
# sha256 非对称加密
|
|
217
215
|
def hmac_sha256(key: bytes, content: str):
|
|
218
216
|
return hmac.new(key, content.encode("utf-8"), hashlib.sha256).digest()
|
|
219
217
|
|
|
220
218
|
|
|
221
|
-
# sha256 hash算法
|
|
222
219
|
def hash_sha256(content: str):
|
|
223
220
|
return hashlib.sha256(content.encode("utf-8")).hexdigest()
|
|
224
221
|
|
|
225
222
|
|
|
226
|
-
|
|
227
|
-
|
|
223
|
+
def _header_value(headers: dict, name: str) -> str | None:
|
|
224
|
+
for key, value in headers.items():
|
|
225
|
+
if key.lower() == name.lower() and value:
|
|
226
|
+
return str(value)
|
|
227
|
+
return None
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
def request(method, date, query, header, ak, sk, action, body, session_token=None):
|
|
228
231
|
# 第三步:创建身份证明。其中的 Service 和 Region 字段是固定的。ak 和 sk 分别代表
|
|
229
232
|
# AccessKeyID 和 SecretAccessKey。同时需要初始化签名结构体。一些签名计算时需要的属性也在这里处理。
|
|
230
233
|
# 初始化身份证明结构体
|
|
@@ -257,24 +260,28 @@ def request(method, date, query, header, ak, sk, action, body):
|
|
|
257
260
|
"X-Date": x_date,
|
|
258
261
|
"Content-Type": request_param["content_type"],
|
|
259
262
|
}
|
|
263
|
+
token = session_token or _header_value(header, "X-Security-Token")
|
|
264
|
+
if token:
|
|
265
|
+
sign_result["X-Security-Token"] = token
|
|
266
|
+
|
|
260
267
|
# 第五步:计算 Signature 签名。
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
268
|
+
signed_header_names = ["content-type", "host", "x-content-sha256", "x-date"]
|
|
269
|
+
canonical_header_lines = [
|
|
270
|
+
"content-type:" + request_param["content_type"],
|
|
271
|
+
"host:" + request_param["host"],
|
|
272
|
+
"x-content-sha256:" + x_content_sha256,
|
|
273
|
+
"x-date:" + x_date,
|
|
274
|
+
]
|
|
275
|
+
if token:
|
|
276
|
+
signed_header_names.append("x-security-token")
|
|
277
|
+
canonical_header_lines.append("x-security-token:" + token)
|
|
278
|
+
signed_headers_str = ";".join(signed_header_names)
|
|
265
279
|
canonical_request_str = "\n".join(
|
|
266
280
|
[
|
|
267
281
|
request_param["method"].upper(),
|
|
268
282
|
request_param["path"],
|
|
269
283
|
norm_query(request_param["query"]),
|
|
270
|
-
"\n".join(
|
|
271
|
-
[
|
|
272
|
-
"content-type:" + request_param["content_type"],
|
|
273
|
-
"host:" + request_param["host"],
|
|
274
|
-
"x-content-sha256:" + x_content_sha256,
|
|
275
|
-
"x-date:" + x_date,
|
|
276
|
-
]
|
|
277
|
-
),
|
|
284
|
+
"\n".join(canonical_header_lines),
|
|
278
285
|
"",
|
|
279
286
|
signed_headers_str,
|
|
280
287
|
x_content_sha256,
|
|
@@ -309,9 +316,14 @@ def request(method, date, query, header, ak, sk, action, body):
|
|
|
309
316
|
signature,
|
|
310
317
|
)
|
|
311
318
|
)
|
|
319
|
+
if token:
|
|
320
|
+
header = {
|
|
321
|
+
key: value
|
|
322
|
+
for key, value in header.items()
|
|
323
|
+
if key.lower() != "x-security-token"
|
|
324
|
+
}
|
|
312
325
|
header = ensure_x_custom_source_header(header)
|
|
313
326
|
header = {**header, **sign_result}
|
|
314
|
-
# header = {**header, **{"X-Security-Token": SessionToken}}
|
|
315
327
|
# 第六步:将 Signature 签名写入 HTTP Header 中,并发送 HTTP 请求。
|
|
316
328
|
r = _signed_request(
|
|
317
329
|
method=method,
|
|
@@ -335,6 +347,7 @@ def ve_request(
|
|
|
335
347
|
header: dict | None = None,
|
|
336
348
|
content_type: str = "application/json",
|
|
337
349
|
scheme: str = "https",
|
|
350
|
+
session_token: str | None = None,
|
|
338
351
|
):
|
|
339
352
|
# response_body = request("Get", datetime.datetime.utcnow(), {}, {}, AK, SK, "ListUsers", None)
|
|
340
353
|
# print(response_body)
|
|
@@ -355,14 +368,22 @@ def ve_request(
|
|
|
355
368
|
AK = ak
|
|
356
369
|
SK = sk
|
|
357
370
|
|
|
358
|
-
now = datetime.datetime.
|
|
371
|
+
now = datetime.datetime.now(datetime.timezone.utc).replace(tzinfo=None)
|
|
359
372
|
|
|
360
373
|
# Body的格式需要配合Content-Type,API使用的类型请阅读具体的官方文档,如:json格式需要json.dumps(obj)
|
|
361
374
|
# response_body = request("GET", now, {"Limit": "2"}, {}, AK, SK, "ListUsers", None)
|
|
362
375
|
import json
|
|
363
376
|
|
|
364
377
|
response_body = request(
|
|
365
|
-
"POST",
|
|
378
|
+
"POST",
|
|
379
|
+
now,
|
|
380
|
+
{},
|
|
381
|
+
header or {},
|
|
382
|
+
AK,
|
|
383
|
+
SK,
|
|
384
|
+
action,
|
|
385
|
+
json.dumps(request_body),
|
|
386
|
+
session_token=session_token,
|
|
366
387
|
)
|
|
367
388
|
check_error(response_body)
|
|
368
389
|
return response_body
|
{agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/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.7.
|
|
3
|
+
Version: 0.7.9
|
|
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.7.
|
|
7
|
+
version = "0.7.9"
|
|
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.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/agent_server_app/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/agent_server_app/middleware.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/agent_server_app/origin.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/agent_server_app/telemetry.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/simple_app/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/agentkit/apps/simple_app/simple_app.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.8 → agentkit_sdk_python-0.7.9}/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
|