agentkit-sdk-python 0.6.3__tar.gz → 0.6.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/PKG-INFO +2 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/session.py +95 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/sso.py +9 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/skills/client.py +12 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/skills/types.py +21 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli.py +4 -0
- agentkit_sdk_python-0.6.5/agentkit/toolkit/cli/cli_add.py +1019 -0
- agentkit_sdk_python-0.6.5/agentkit/toolkit/cli/cli_delete.py +186 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_deploy.py +52 -11
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_invoke.py +479 -9
- agentkit_sdk_python-0.6.5/agentkit/toolkit/cli/cli_list.py +404 -0
- agentkit_sdk_python-0.6.5/agentkit/toolkit/cli/cli_logs.py +253 -0
- agentkit_sdk_python-0.6.5/agentkit/toolkit/cli/cli_skill.py +476 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/__init__.py +2 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/cli.py +4 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/cli_create.py +27 -56
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/cli_exec.py +49 -5
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/cli_file.py +1 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/cli_get.py +1 -1
- agentkit_sdk_python-0.6.5/agentkit/toolkit/cli/sandbox/cli_mount.py +361 -0
- agentkit_sdk_python-0.6.5/agentkit/toolkit/cli/sandbox/cli_run.py +365 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/cli_shell.py +3 -3
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/cli_web.py +1 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/model_config.py +22 -21
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/session_create.py +3 -51
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/session_sync.py +1 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/tool_resolve.py +1 -1
- agentkit_sdk_python-0.6.5/agentkit/toolkit/cli/sandbox/tos_config.py +141 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/utils.py +17 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/executors/init_executor.py +13 -3
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/harness/__init__.py +2 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/harness/config_builder.py +7 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/harness/deploy.py +146 -5
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/__init__.py +2 -1
- agentkit_sdk_python-0.6.5/agentkit/toolkit/volcengine/apmplus_logs.py +184 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/version.py +1 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit_sdk_python.egg-info/PKG-INFO +2 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit_sdk_python.egg-info/SOURCES.txt +7 -1
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit_sdk_python.egg-info/requires.txt +1 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/pyproject.toml +2 -1
- agentkit_sdk_python-0.6.3/agentkit/toolkit/cli/cli_add.py +0 -421
- agentkit_sdk_python-0.6.3/agentkit/toolkit/cli/cli_delete.py +0 -84
- agentkit_sdk_python-0.6.3/agentkit/toolkit/cli/cli_list.py +0 -203
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/LICENSE +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/MANIFEST.in +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/README.md +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/a2a_app/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/a2a_app/a2a_app.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/a2a_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/agent_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/agent_server_app/agent_server_app.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/agent_server_app/middleware.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/agent_server_app/origin.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/agent_server_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/base_app.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/mcp_app/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/mcp_app/mcp_app.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/mcp_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/simple_app/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/simple_app/simple_app.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/simple_app/simple_app_handlers.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/simple_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/apps/utils.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/_openapi.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/_redact.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/_sigv4.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/admin.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/credential_hosting.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/errors.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/oauth.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/profile.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/providers.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/resolve.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/ssl_trust.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/store.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/auth/sts.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/client/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/client/base_agentkit_client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/client/base_iam_client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/client/base_service_client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/platform/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/platform/configuration.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/platform/console_urls.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/platform/constants.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/platform/context.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/platform/provider.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/account/client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/account/types.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/identity/auth.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/identity/client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/identity/types.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/knowledge/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/knowledge/client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/knowledge/types.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/mcp/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/mcp/client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/mcp/types.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/memory/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/memory/client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/memory/types.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/runtime/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/runtime/client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/runtime/types.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/skills/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/tools/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/tools/client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/sdk/tools/types.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/builders/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/builders/base.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/builders/local_docker.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/builders/ve_pipeline.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/__main__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_auth.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_build.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_config.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_destroy.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_init.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_knowledge.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_launch.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_memory.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_runtime.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_skills.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_skills_workflow.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_status.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_tools.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/cli_version.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/console_reporter.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/interactive_config.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/sandbox/git_config.py +0 -0
- /agentkit_sdk_python-0.6.3/agentkit/toolkit/cli/sandbox/utils.py → /agentkit_sdk_python-0.6.5/agentkit/toolkit/cli/sandbox/sandbox_client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/cli/utils.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/choice_resolvers.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/cloud_provider.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/config.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/config_handler.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/config_validator.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/constants.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/dataclass_utils.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/docker_build_config.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/global_config.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/region_defaults.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/region_resolver.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/config/strategy_configs.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/context.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/docker/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/docker/base_images.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/docker/container.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/docker/dockerfile/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/docker/dockerfile/manager.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/docker/dockerfile/metadata.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/docker/utils.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/errors.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/executors/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/executors/base_executor.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/executors/build_executor.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/executors/deploy_executor.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/executors/invoke_executor.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/executors/lifecycle_executor.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/executors/status_executor.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/harness/env_mapping.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/models.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/reporter.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/__pycache__/customer_support_assistant.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/__pycache__/financial_analyst.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/__pycache__/simple_app_veadk.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/__pycache__/simple_mcp_veadk.cpython-312.pyc +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/a2a.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/agent_server.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/basic.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/basic_stream.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/customer_support_assistant.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/eino_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/eino_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/eino_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/eino_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/eino_a2a/main.go +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/financial_analyst.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/langchain_basic_stream.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/simple_app_veadk.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/simple_mcp_veadk.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_a2a/main.go +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_basic/agent.go +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_basic/build.sh +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_basic/go.mod +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_basic/go.sum +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/samples/veadk_go_basic/main.go +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/templates/code-pipeline-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/templates/golang/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/templates/python/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/wrappers/wrapper_basic.py.jinja2 +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/resources/wrappers/wrapper_stream.py.jinja2 +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/runners/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/runners/base.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/runners/local_docker.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/runners/ve_agentkit.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/bindings/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/bindings/memory.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/builder.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/client.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/config.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/deployer.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/initializer.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/invoker.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/lifecycle.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/sdk/status.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/strategies/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/strategies/base_strategy.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/strategies/cloud_strategy.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/strategies/hybrid_strategy.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/strategies/local_strategy.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/utils/agent_parser.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/code_pipeline.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/cr.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/iam.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/services/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/services/cr_service.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/services/tos_service.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/sts.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/toolkit/volcengine/utils/project_archiver.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/utils/global_config_io.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/utils/logging_config.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/utils/misc.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/utils/request.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/utils/template_utils.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit/utils/ve_sign.py +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit_sdk_python.egg-info/dependency_links.txt +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit_sdk_python.egg-info/entry_points.txt +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/agentkit_sdk_python.egg-info/top_level.txt +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/setup.cfg +0 -0
- {agentkit_sdk_python-0.6.3 → agentkit_sdk_python-0.6.5}/tests/test_client_uses_platform_context.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentkit-sdk-python
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.5
|
|
4
4
|
Summary: Python SDK for transforming any AI agent into a production-ready application. Framework-agnostic primitives for runtime, memory, authentication, and tools with volcengine-managed infrastructure.
|
|
5
5
|
Author-email: Xiangrui Cheng <innsdcc@gmail.com>, Yumeng Bao <baoyumeng.123@gmail.com>, Yaozheng Fang <fangyozheng@gmail.com>, Guodong Li <cu.eric.lee@gmail.com>
|
|
6
6
|
License: Apache License
|
|
@@ -226,6 +226,7 @@ Requires-Dist: opentelemetry-exporter-otlp-proto-grpc<=1.37.0,>=1.32.1
|
|
|
226
226
|
Requires-Dist: opentelemetry-sdk<=1.37.0,>=1.32.1
|
|
227
227
|
Requires-Dist: pydantic>=2.11.9
|
|
228
228
|
Requires-Dist: requests>=2.32.5
|
|
229
|
+
Requires-Dist: PyJWT>=2.10.1
|
|
229
230
|
Requires-Dist: uvicorn>=0.37.0
|
|
230
231
|
Requires-Dist: pyyaml
|
|
231
232
|
Requires-Dist: python-dotenv>=1.1.0
|
|
@@ -77,6 +77,26 @@ def _effective_expiry(
|
|
|
77
77
|
return datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(seconds=duration_seconds)
|
|
78
78
|
|
|
79
79
|
|
|
80
|
+
def _jwt_expired(token: str, skew_seconds: int) -> bool:
|
|
81
|
+
"""True if a JWT is expired, within ``skew_seconds`` of expiry, or unreadable.
|
|
82
|
+
|
|
83
|
+
Reads only the ``exp`` claim (no signature check — the harness endpoint verifies
|
|
84
|
+
the signature; we just decide locally whether to refresh). An unparseable token or
|
|
85
|
+
a missing/invalid ``exp`` is treated as expired so we refresh rather than send a
|
|
86
|
+
token that will be rejected."""
|
|
87
|
+
try:
|
|
88
|
+
import jwt as _jwt
|
|
89
|
+
|
|
90
|
+
claims = _jwt.decode(token, options={"verify_signature": False, "verify_exp": False})
|
|
91
|
+
except Exception:
|
|
92
|
+
return True
|
|
93
|
+
exp = claims.get("exp")
|
|
94
|
+
if not isinstance(exp, (int, float)):
|
|
95
|
+
return True
|
|
96
|
+
now = datetime.datetime.now(datetime.timezone.utc).timestamp()
|
|
97
|
+
return now >= (exp - skew_seconds)
|
|
98
|
+
|
|
99
|
+
|
|
80
100
|
@dataclass(frozen=True)
|
|
81
101
|
class StsCredentials:
|
|
82
102
|
"""Short-lived Volcengine STS credentials."""
|
|
@@ -104,11 +124,17 @@ class AuthSession:
|
|
|
104
124
|
refresh_token: str | None = None,
|
|
105
125
|
sts: StsCredentials | None = None,
|
|
106
126
|
duration_seconds: int = 3600,
|
|
127
|
+
id_token: str | None = None,
|
|
128
|
+
access_token: str | None = None,
|
|
107
129
|
) -> None:
|
|
108
130
|
self.profile = profile
|
|
109
131
|
self._refresh_token = refresh_token
|
|
110
132
|
self._sts = sts
|
|
111
133
|
self._duration = duration_seconds
|
|
134
|
+
# OIDC tokens kept for data-plane (JWT) auth — the id_token is the inbound
|
|
135
|
+
# credential for `agentkit invoke harness`; access_token is stored for parity.
|
|
136
|
+
self._id_token = id_token
|
|
137
|
+
self._access_token = access_token
|
|
112
138
|
self._lock = threading.Lock()
|
|
113
139
|
|
|
114
140
|
# -- persistence ----------------------------------------------------------
|
|
@@ -118,6 +144,8 @@ class AuthSession:
|
|
|
118
144
|
"profile": self.profile.name,
|
|
119
145
|
"issuer": self.profile.issuer,
|
|
120
146
|
"refresh_token": self._refresh_token,
|
|
147
|
+
"id_token": self._id_token,
|
|
148
|
+
"access_token": self._access_token,
|
|
121
149
|
"duration_seconds": self._duration,
|
|
122
150
|
"sts": None
|
|
123
151
|
if sts is None
|
|
@@ -151,6 +179,8 @@ class AuthSession:
|
|
|
151
179
|
refresh_token=blob.get("refresh_token"),
|
|
152
180
|
sts=sts,
|
|
153
181
|
duration_seconds=int(blob.get("duration_seconds") or 3600),
|
|
182
|
+
id_token=blob.get("id_token"),
|
|
183
|
+
access_token=blob.get("access_token"),
|
|
154
184
|
)
|
|
155
185
|
|
|
156
186
|
# -- credentials ----------------------------------------------------------
|
|
@@ -180,6 +210,67 @@ class AuthSession:
|
|
|
180
210
|
assert self._sts is not None
|
|
181
211
|
return self._sts
|
|
182
212
|
|
|
213
|
+
# -- data-plane JWT (id_token) --------------------------------------------
|
|
214
|
+
def valid_id_token(self, *, skew_seconds: int = 60, force_refresh: bool = False) -> str:
|
|
215
|
+
"""Return a currently-valid OIDC ``id_token`` for data-plane (JWT) auth.
|
|
216
|
+
|
|
217
|
+
Used by ``agentkit invoke harness`` as the inbound Bearer credential — it never
|
|
218
|
+
touches STS. Refreshes via the ``refresh_token`` (``grant_type=refresh_token`` at
|
|
219
|
+
the UserPool token endpoint) when the cached id_token is missing, within
|
|
220
|
+
``skew_seconds`` of expiry, or when ``force_refresh`` is set (e.g. the harness
|
|
221
|
+
returned 401). Raises :class:`AuthError` pointing at ``agentkit login`` when no
|
|
222
|
+
refresh is possible.
|
|
223
|
+
"""
|
|
224
|
+
with self._lock:
|
|
225
|
+
if not force_refresh and self._id_token and not _jwt_expired(self._id_token, skew_seconds):
|
|
226
|
+
return self._id_token
|
|
227
|
+
with _profile_file_lock(self.profile.name):
|
|
228
|
+
# Re-read under the lock to pick up any sibling's rotated refresh_token /
|
|
229
|
+
# refreshed STS — so we neither refresh with a stale refresh_token nor clobber
|
|
230
|
+
# a sibling's update when we save below.
|
|
231
|
+
blob = store.load_session(self.profile.name)
|
|
232
|
+
if blob:
|
|
233
|
+
sibling = AuthSession.from_blob(self.profile, blob)
|
|
234
|
+
self._refresh_token = sibling._refresh_token or self._refresh_token
|
|
235
|
+
self._sts = sibling._sts or self._sts
|
|
236
|
+
if not force_refresh and sibling._id_token and not _jwt_expired(sibling._id_token, skew_seconds):
|
|
237
|
+
self._id_token = sibling._id_token
|
|
238
|
+
self._access_token = sibling._access_token or self._access_token
|
|
239
|
+
return self._id_token
|
|
240
|
+
self._refresh_id_token_locked()
|
|
241
|
+
assert self._id_token is not None
|
|
242
|
+
return self._id_token
|
|
243
|
+
|
|
244
|
+
def _refresh_id_token_locked(self) -> None:
|
|
245
|
+
if not self._refresh_token:
|
|
246
|
+
raise AuthError(
|
|
247
|
+
"no id_token and no refresh token available; re-login required.",
|
|
248
|
+
hint="run `agentkit login` to start a new browser session.",
|
|
249
|
+
)
|
|
250
|
+
from agentkit.auth.ssl_trust import harden_default_ssl_context
|
|
251
|
+
|
|
252
|
+
harden_default_ssl_context()
|
|
253
|
+
client = OAuthClient(self.profile.issuer, self.profile.client_id, scope=self.profile.scope)
|
|
254
|
+
try:
|
|
255
|
+
token = client.refresh(self._refresh_token)
|
|
256
|
+
except AuthError as exc:
|
|
257
|
+
raise AuthError(
|
|
258
|
+
"session refresh failed — the login has expired or was revoked.",
|
|
259
|
+
hint="run `agentkit login` to log in again.",
|
|
260
|
+
) from exc
|
|
261
|
+
id_token = str(token.get("id_token") or "")
|
|
262
|
+
if not id_token:
|
|
263
|
+
raise AuthError(
|
|
264
|
+
"refresh did not return an id_token; re-login required.",
|
|
265
|
+
hint="ensure the OAuth scope includes 'openid' (OIDC requires an ID Token).",
|
|
266
|
+
)
|
|
267
|
+
self._id_token = id_token
|
|
268
|
+
if token.get("access_token"):
|
|
269
|
+
self._access_token = str(token["access_token"])
|
|
270
|
+
if token.get("refresh_token"):
|
|
271
|
+
self._refresh_token = str(token["refresh_token"])
|
|
272
|
+
self.save()
|
|
273
|
+
|
|
183
274
|
def _renew_locked(self) -> None:
|
|
184
275
|
if not self._refresh_token:
|
|
185
276
|
raise AuthError(
|
|
@@ -199,6 +290,10 @@ class AuthSession:
|
|
|
199
290
|
"refresh did not return an id_token; re-login required.",
|
|
200
291
|
hint="ensure the OAuth scope includes 'openid' (OIDC requires an ID Token).",
|
|
201
292
|
)
|
|
293
|
+
# Keep the freshly-issued OIDC tokens for data-plane (JWT) auth, not just STS.
|
|
294
|
+
self._id_token = id_token
|
|
295
|
+
if token.get("access_token"):
|
|
296
|
+
self._access_token = str(token["access_token"])
|
|
202
297
|
# A rotated refresh token, if returned, must replace the old one.
|
|
203
298
|
if token.get("refresh_token"):
|
|
204
299
|
self._refresh_token = str(token["refresh_token"])
|
|
@@ -102,7 +102,15 @@ def login(
|
|
|
102
102
|
account_id=account,
|
|
103
103
|
)
|
|
104
104
|
session = AuthSession(
|
|
105
|
-
prof,
|
|
105
|
+
prof,
|
|
106
|
+
refresh_token=refresh_token,
|
|
107
|
+
sts=sts,
|
|
108
|
+
duration_seconds=duration_seconds,
|
|
109
|
+
# Persist the OIDC tokens so the data plane (`agentkit invoke harness`) can use
|
|
110
|
+
# the id_token as its inbound Bearer credential. Store the real id_token (not the
|
|
111
|
+
# access_token fallback used above for AssumeRoleWithOIDC).
|
|
112
|
+
id_token=token.get("id_token"),
|
|
113
|
+
access_token=token.get("access_token"),
|
|
106
114
|
)
|
|
107
115
|
session.save()
|
|
108
116
|
# Mark this profile active so separate CLI invocations (e.g. `sandbox create`)
|
|
@@ -28,6 +28,8 @@ from .types import (
|
|
|
28
28
|
DeleteSkillResponse,
|
|
29
29
|
DeleteSkillSpaceRequest,
|
|
30
30
|
DeleteSkillSpaceResponse,
|
|
31
|
+
GenTempTosObjectUrlRequest,
|
|
32
|
+
GenTempTosObjectUrlResponse,
|
|
31
33
|
GetSkillInfoRequest,
|
|
32
34
|
GetSkillInfoResponse,
|
|
33
35
|
GetSkillRequest,
|
|
@@ -69,6 +71,7 @@ class AgentkitSkillsClient(BaseAgentkitClient):
|
|
|
69
71
|
"CreateSkillSpace": "CreateSkillSpace",
|
|
70
72
|
"DeleteSkill": "DeleteSkill",
|
|
71
73
|
"DeleteSkillSpace": "DeleteSkillSpace",
|
|
74
|
+
"GenTempTosObjectUrl": "GenTempTosObjectUrl",
|
|
72
75
|
"GetSkill": "GetSkill",
|
|
73
76
|
"GetSkillInfo": "GetSkillInfo",
|
|
74
77
|
"GetSkillSpace": "GetSkillSpace",
|
|
@@ -133,6 +136,15 @@ class AgentkitSkillsClient(BaseAgentkitClient):
|
|
|
133
136
|
response_type=DeleteSkillSpaceResponse,
|
|
134
137
|
)
|
|
135
138
|
|
|
139
|
+
def gen_temp_tos_object_url(
|
|
140
|
+
self, request: GenTempTosObjectUrlRequest
|
|
141
|
+
) -> GenTempTosObjectUrlResponse:
|
|
142
|
+
return self._invoke_api(
|
|
143
|
+
api_action="GenTempTosObjectUrl",
|
|
144
|
+
request=request,
|
|
145
|
+
response_type=GenTempTosObjectUrlResponse,
|
|
146
|
+
)
|
|
147
|
+
|
|
136
148
|
def get_skill(self, request: GetSkillRequest) -> GetSkillResponse:
|
|
137
149
|
return self._invoke_api(
|
|
138
150
|
api_action="GetSkill",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
from __future__ import annotations
|
|
19
19
|
|
|
20
20
|
from typing import Optional
|
|
21
|
-
from pydantic import BaseModel, Field
|
|
21
|
+
from pydantic import AliasChoices, BaseModel, Field
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class SkillsBaseModel(BaseModel):
|
|
@@ -354,3 +354,23 @@ class UpdateSkillSpaceRequest(SkillsBaseModel):
|
|
|
354
354
|
|
|
355
355
|
class UpdateSkillSpaceResponse(SkillsBaseModel):
|
|
356
356
|
pass
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
class GenTempTosObjectUrlRequest(SkillsBaseModel):
|
|
360
|
+
project_name: str = Field(..., alias="ProjectName")
|
|
361
|
+
skill_name: str = Field(..., alias="SkillName")
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
class GenTempTosObjectUrlResponse(SkillsBaseModel):
|
|
365
|
+
# The exact response key is tolerated across known spellings; `extra="allow"`
|
|
366
|
+
# keeps any other returned fields so callers can fast-fail with full context
|
|
367
|
+
# when no URL is present.
|
|
368
|
+
model_config = {"populate_by_name": True, "extra": "allow"}
|
|
369
|
+
|
|
370
|
+
url: Optional[str] = Field(
|
|
371
|
+
default=None,
|
|
372
|
+
validation_alias=AliasChoices(
|
|
373
|
+
"Url", "TosUrl", "TempUrl", "ObjectUrl", "PresignedUrl"
|
|
374
|
+
),
|
|
375
|
+
serialization_alias="Url",
|
|
376
|
+
)
|
|
@@ -36,6 +36,7 @@ from agentkit.toolkit.cli.cli_knowledge import knowledge_app
|
|
|
36
36
|
from agentkit.toolkit.cli.cli_tools import tools_app
|
|
37
37
|
from agentkit.toolkit.cli.cli_runtime import runtime_app
|
|
38
38
|
from agentkit.toolkit.cli.cli_skills import skills_app
|
|
39
|
+
from agentkit.toolkit.cli.cli_skill import skill_app
|
|
39
40
|
from agentkit.toolkit.cli.sandbox.cli import sandbox_app
|
|
40
41
|
from agentkit.toolkit.cli.cli_auth import (
|
|
41
42
|
auth_app,
|
|
@@ -47,6 +48,7 @@ from agentkit.toolkit.cli.cli_auth import (
|
|
|
47
48
|
from agentkit.toolkit.cli.cli_add import add_app
|
|
48
49
|
from agentkit.toolkit.cli.cli_list import list_app
|
|
49
50
|
from agentkit.toolkit.cli.cli_delete import delete_app
|
|
51
|
+
from agentkit.toolkit.cli.cli_logs import logs_command
|
|
50
52
|
|
|
51
53
|
# Note: Avoid importing heavy packages at the top to keep CLI startup fast
|
|
52
54
|
|
|
@@ -109,6 +111,7 @@ app.command(name="deploy")(deploy_command)
|
|
|
109
111
|
app.command(name="launch")(launch_command)
|
|
110
112
|
app.command(name="status")(status_command)
|
|
111
113
|
app.command(name="destroy")(destroy_command)
|
|
114
|
+
app.command(name="logs")(logs_command)
|
|
112
115
|
|
|
113
116
|
# Auth: top-level convenience commands + an `auth` group for profiles.
|
|
114
117
|
app.command(name="login")(login_command)
|
|
@@ -123,6 +126,7 @@ app.add_typer(knowledge_app, name="knowledge")
|
|
|
123
126
|
app.add_typer(tools_app, name="tools")
|
|
124
127
|
app.add_typer(runtime_app, name="runtime")
|
|
125
128
|
app.add_typer(skills_app, name="skills")
|
|
129
|
+
app.add_typer(skill_app, name="skill")
|
|
126
130
|
app.add_typer(sandbox_app, name="sandbox")
|
|
127
131
|
app.add_typer(invoke_app, name="invoke")
|
|
128
132
|
app.add_typer(add_app, name="add")
|