agentkit-sdk-python 0.7.5__tar.gz → 0.7.7__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.5 → agentkit_sdk_python-0.7.7}/PKG-INFO +1 -1
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/langgraph.py +72 -57
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/migration.py +50 -1
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/version.py +1 -1
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit_sdk_python.egg-info/PKG-INFO +1 -1
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/pyproject.toml +1 -1
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/LICENSE +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/MANIFEST.in +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/README.md +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/a2a_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/a2a_app/a2a_app.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/a2a_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/agent_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/agent_server_app/agent_server_app.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/agent_server_app/middleware.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/agent_server_app/origin.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/agent_server_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/base_app.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/mcp_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/mcp_app/mcp_app.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/mcp_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/simple_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/simple_app/simple_app.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/simple_app/simple_app_handlers.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/simple_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/utils.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/_openapi.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/_redact.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/_sigv4.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/admin.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/credential_hosting.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/errors.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/model_login.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/oauth.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/profile.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/providers.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/resolve.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/session.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/ssl_trust.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/sso.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/store.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/auth/sts.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/client/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/client/base_agentkit_client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/client/base_iam_client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/client/base_service_client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/errors.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/_common.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/langchain.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/serving/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/serving/fastapi_mount.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/serving/langserve.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/platform/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/platform/configuration.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/platform/console_urls.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/platform/constants.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/platform/context.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/platform/provider.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/account/client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/account/types.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/identity/auth.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/identity/client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/identity/types.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/knowledge/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/knowledge/client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/knowledge/types.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/mcp/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/mcp/client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/mcp/types.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/memory/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/memory/client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/memory/types.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/runtime/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/runtime/client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/runtime/types.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/skills/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/skills/client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/skills/types.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/tools/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/tools/client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/sdk/tools/types.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/builders/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/builders/base.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/builders/local_docker.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/builders/ve_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/__main__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_add.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_auth.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_build.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_delete.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_deploy.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_destroy.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_init.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_knowledge.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_launch.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_list.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_logs.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_memory.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_runtime.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_skill.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_skills.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_skills_workflow.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_status.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_tools.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_version.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/console_reporter.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/interactive_config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/a2a_client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/agentkit_client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_create.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_exec.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_file.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_get.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_model_login.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_mount.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_run.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_shell.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_web.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/env_config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/git_config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/model_config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/sandbox_client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/session_create.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/session_sync.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/tool_resolve.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/tos_config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/utils.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/choice_resolvers.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/cloud_provider.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/config_handler.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/config_validator.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/constants.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/dataclass_utils.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/docker_build_config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/global_config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/region_defaults.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/region_resolver.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/strategy_configs.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/config/utils.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/context.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/docker/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/docker/base_images.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/docker/container.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/docker/dockerfile/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/docker/dockerfile/manager.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/docker/dockerfile/metadata.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/docker/utils.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/errors.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/executors/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/executors/base_executor.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/executors/build_executor.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/executors/deploy_executor.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/executors/init_executor.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/executors/invoke_executor.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/executors/lifecycle_executor.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/executors/status_executor.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/harness/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/harness/config_builder.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/harness/deploy.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/harness/env_mapping.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/models.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/reporter.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/a2a.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/agent_server.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/basic.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/basic_stream.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/customer_support_assistant.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/eino_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/eino_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/eino_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/eino_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/eino_a2a/main.go +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/financial_analyst.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/langchain_basic_stream.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/simple_app_veadk.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/simple_mcp_veadk.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_a2a/main.go +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_basic/agent.go +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_basic/build.sh +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_basic/go.mod +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_basic/go.sum +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/samples/veadk_go_basic/main.go +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/templates/code-pipeline-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/templates/golang/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/templates/python/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/wrappers/wrapper_basic.py.jinja2 +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/resources/wrappers/wrapper_stream.py.jinja2 +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/runners/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/runners/base.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/runners/local_docker.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/runners/ve_agentkit.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/bindings/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/bindings/memory.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/builder.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/client.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/deployer.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/initializer.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/invoker.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/lifecycle.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/sdk/status.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/strategies/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/strategies/base_strategy.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/strategies/cloud_strategy.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/strategies/hybrid_strategy.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/strategies/local_strategy.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/utils/agent_parser.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/apmplus_logs.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/code_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/cr.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/iam.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/services/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/services/cr_service.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/services/tos_service.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/sts.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/volcengine/utils/project_archiver.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/utils/global_config_io.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/utils/http_defaults.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/utils/logging_config.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/utils/misc.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/utils/redact.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/utils/request.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/utils/template_utils.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/utils/ve_sign.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit_sdk_python.egg-info/SOURCES.txt +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit_sdk_python.egg-info/dependency_links.txt +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit_sdk_python.egg-info/entry_points.txt +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit_sdk_python.egg-info/requires.txt +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit_sdk_python.egg-info/top_level.txt +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/setup.cfg +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/tests/test_client_uses_platform_context.py +0 -0
- {agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/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.7
|
|
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
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
from collections.abc import AsyncGenerator
|
|
6
|
+
import hashlib
|
|
6
7
|
import inspect
|
|
7
8
|
import json
|
|
8
9
|
from typing import Any
|
|
@@ -36,6 +37,7 @@ from agentkit.frameworks._common import (
|
|
|
36
37
|
|
|
37
38
|
|
|
38
39
|
LANGGRAPH_PENDING_INTERRUPT_STATE_KEY = "agentkit:langgraph:pending_interrupt"
|
|
40
|
+
_OUTPUT_FIELD_KEYS = ("answer", "output", "final", "response", "text", "messages")
|
|
39
41
|
|
|
40
42
|
|
|
41
43
|
def _method_kwargs(method: Any, kwargs: dict[str, Any]) -> dict[str, Any]:
|
|
@@ -95,7 +97,7 @@ def _update_output_text(data: Any) -> str:
|
|
|
95
97
|
if not isinstance(data, dict):
|
|
96
98
|
return chunk_to_text(data)
|
|
97
99
|
|
|
98
|
-
for key in
|
|
100
|
+
for key in _OUTPUT_FIELD_KEYS:
|
|
99
101
|
if key in data:
|
|
100
102
|
text = chunk_to_text(data[key])
|
|
101
103
|
if text:
|
|
@@ -105,7 +107,7 @@ def _update_output_text(data: Any) -> str:
|
|
|
105
107
|
for value in data.values():
|
|
106
108
|
if not isinstance(value, dict):
|
|
107
109
|
continue
|
|
108
|
-
for key in
|
|
110
|
+
for key in _OUTPUT_FIELD_KEYS:
|
|
109
111
|
if key in value:
|
|
110
112
|
text = chunk_to_text(value[key])
|
|
111
113
|
if text:
|
|
@@ -141,7 +143,15 @@ class LangGraphAgentkitBridge(BaseAgent):
|
|
|
141
143
|
session_id = getattr(session, "id", None)
|
|
142
144
|
if not session_id:
|
|
143
145
|
return None
|
|
144
|
-
|
|
146
|
+
app_name = getattr(session, "app_name", None)
|
|
147
|
+
user_id = getattr(session, "user_id", None)
|
|
148
|
+
if app_name and user_id:
|
|
149
|
+
raw_identity = f"{app_name}\0{user_id}\0{session_id}"
|
|
150
|
+
digest = hashlib.sha256(raw_identity.encode("utf-8")).hexdigest()
|
|
151
|
+
thread_id = f"agentkit:{digest}"
|
|
152
|
+
else:
|
|
153
|
+
thread_id = session_id
|
|
154
|
+
return {"configurable": {"thread_id": thread_id}}
|
|
145
155
|
|
|
146
156
|
def _pending_interrupt(self, ctx: InvocationContext) -> Any | None:
|
|
147
157
|
session = getattr(ctx, "session", None)
|
|
@@ -218,32 +228,37 @@ class LangGraphAgentkitBridge(BaseAgent):
|
|
|
218
228
|
stream_fn = getattr(self._graph, "stream", None)
|
|
219
229
|
if not callable(stream_fn):
|
|
220
230
|
return None
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
231
|
+
attempts = [
|
|
232
|
+
{
|
|
233
|
+
"config": config,
|
|
234
|
+
"stream_mode": ["messages", "updates"],
|
|
235
|
+
"version": "v2",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"config": config,
|
|
239
|
+
"stream_mode": ["messages", "updates"],
|
|
240
|
+
},
|
|
241
|
+
{"config": config},
|
|
242
|
+
]
|
|
243
|
+
|
|
244
|
+
def iterate_attempts():
|
|
245
|
+
last_error: TypeError | None = None
|
|
246
|
+
for kwargs in attempts:
|
|
247
|
+
emitted = False
|
|
248
|
+
try:
|
|
249
|
+
stream = stream_fn(payload, **_method_kwargs(stream_fn, kwargs))
|
|
250
|
+
for item in stream:
|
|
251
|
+
emitted = True
|
|
252
|
+
yield item
|
|
253
|
+
return
|
|
254
|
+
except TypeError as exc:
|
|
255
|
+
if emitted:
|
|
256
|
+
raise
|
|
257
|
+
last_error = exc
|
|
258
|
+
if last_error is not None:
|
|
259
|
+
raise last_error
|
|
260
|
+
|
|
261
|
+
return iterate_attempts()
|
|
247
262
|
|
|
248
263
|
async def _stream_graph(self, payload: Any, config: dict[str, Any] | None, *, prefer_sync: bool = False):
|
|
249
264
|
if prefer_sync:
|
|
@@ -255,35 +270,33 @@ class LangGraphAgentkitBridge(BaseAgent):
|
|
|
255
270
|
|
|
256
271
|
astream = getattr(self._graph, "astream", None)
|
|
257
272
|
if callable(astream):
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
273
|
+
attempts = [
|
|
274
|
+
{
|
|
275
|
+
"config": config,
|
|
276
|
+
"stream_mode": ["messages", "updates"],
|
|
277
|
+
"version": "v2",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"config": config,
|
|
281
|
+
"stream_mode": ["messages", "updates"],
|
|
282
|
+
},
|
|
283
|
+
{"config": config},
|
|
284
|
+
]
|
|
285
|
+
last_error: TypeError | None = None
|
|
286
|
+
for kwargs in attempts:
|
|
287
|
+
emitted = False
|
|
271
288
|
try:
|
|
272
|
-
stream = astream(
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
stream = astream(payload, **_method_kwargs(astream, {"config": config}))
|
|
284
|
-
async for item in stream:
|
|
285
|
-
yield item
|
|
286
|
-
return
|
|
289
|
+
stream = astream(payload, **_method_kwargs(astream, kwargs))
|
|
290
|
+
async for item in stream:
|
|
291
|
+
emitted = True
|
|
292
|
+
yield item
|
|
293
|
+
return
|
|
294
|
+
except TypeError as exc:
|
|
295
|
+
if emitted:
|
|
296
|
+
raise
|
|
297
|
+
last_error = exc
|
|
298
|
+
if last_error is not None:
|
|
299
|
+
raise last_error
|
|
287
300
|
|
|
288
301
|
stream = self._sync_stream(payload, config)
|
|
289
302
|
if stream is not None:
|
|
@@ -313,6 +326,8 @@ class LangGraphAgentkitBridge(BaseAgent):
|
|
|
313
326
|
elif isinstance(item, dict) and isinstance(item.get("type"), str):
|
|
314
327
|
mode = item["type"]
|
|
315
328
|
data = item.get("data")
|
|
329
|
+
elif isinstance(item, dict):
|
|
330
|
+
mode = "updates"
|
|
316
331
|
|
|
317
332
|
if mode == "messages":
|
|
318
333
|
message = data[0] if isinstance(data, tuple) and data else data
|
|
@@ -4,6 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import importlib
|
|
6
6
|
import importlib.util
|
|
7
|
+
import inspect
|
|
7
8
|
from pathlib import Path
|
|
8
9
|
import sys
|
|
9
10
|
from types import ModuleType
|
|
@@ -55,6 +56,50 @@ def _resolve_object(module: ModuleType, object_path: str) -> Any:
|
|
|
55
56
|
return target
|
|
56
57
|
|
|
57
58
|
|
|
59
|
+
def _call_zero_arg_factory(target: Any, object_path: str) -> Any:
|
|
60
|
+
if not callable(target):
|
|
61
|
+
raise TypeError(
|
|
62
|
+
f"Entry object {object_path!r} was marked as a factory, "
|
|
63
|
+
"but the loaded object is not callable."
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
try:
|
|
67
|
+
signature = inspect.signature(target)
|
|
68
|
+
except (TypeError, ValueError) as exc:
|
|
69
|
+
raise TypeError(
|
|
70
|
+
f"Entry factory {object_path!r} has no inspectable signature. "
|
|
71
|
+
"Expose a zero-argument factory or a constructed agent object."
|
|
72
|
+
) from exc
|
|
73
|
+
|
|
74
|
+
required_params = [
|
|
75
|
+
name
|
|
76
|
+
for name, param in signature.parameters.items()
|
|
77
|
+
if param.default is inspect.Parameter.empty
|
|
78
|
+
and param.kind
|
|
79
|
+
in {
|
|
80
|
+
inspect.Parameter.POSITIONAL_ONLY,
|
|
81
|
+
inspect.Parameter.POSITIONAL_OR_KEYWORD,
|
|
82
|
+
inspect.Parameter.KEYWORD_ONLY,
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
if required_params:
|
|
86
|
+
formatted = ", ".join(required_params)
|
|
87
|
+
raise TypeError(
|
|
88
|
+
f"Entry factory {object_path!r} requires arguments: {formatted}. "
|
|
89
|
+
"agentkit migrate can only call zero-argument factories; expose a "
|
|
90
|
+
"thin zero-argument entry object for migration."
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
result = target()
|
|
94
|
+
if inspect.isawaitable(result):
|
|
95
|
+
raise TypeError(
|
|
96
|
+
f"Entry factory {object_path!r} returned an awaitable object. "
|
|
97
|
+
"Async factories are not supported by generated migration apps; "
|
|
98
|
+
"expose a synchronous factory or a constructed agent object."
|
|
99
|
+
)
|
|
100
|
+
return result
|
|
101
|
+
|
|
102
|
+
|
|
58
103
|
def load_entry_object(
|
|
59
104
|
*,
|
|
60
105
|
file: str,
|
|
@@ -63,6 +108,7 @@ def load_entry_object(
|
|
|
63
108
|
project_root: str | Path = ".",
|
|
64
109
|
base_dir: str | Path | None = None,
|
|
65
110
|
import_name: str = "agentkit_migrated_entry",
|
|
111
|
+
call_factory: bool = False,
|
|
66
112
|
) -> Any:
|
|
67
113
|
"""Load an object from a migrated project's original entry reference.
|
|
68
114
|
|
|
@@ -83,4 +129,7 @@ def load_entry_object(
|
|
|
83
129
|
entry_path = (base_path / file).resolve()
|
|
84
130
|
loaded_module = _load_module_from_file(entry_path, import_name)
|
|
85
131
|
|
|
86
|
-
|
|
132
|
+
target = _resolve_object(loaded_module, object_path)
|
|
133
|
+
if call_factory:
|
|
134
|
+
return _call_zero_arg_factory(target, object_path)
|
|
135
|
+
return target
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/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.7
|
|
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.7"
|
|
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.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/agent_server_app/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/agent_server_app/middleware.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/agent_server_app/origin.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/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.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/simple_app/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/simple_app/simple_app.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/apps/simple_app/telemetry.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/client/base_agentkit_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/client/base_service_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/serving/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/serving/fastapi_mount.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/frameworks/serving/langserve.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/builders/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/builders/local_docker.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/builders/ve_pipeline.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_knowledge.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/cli_skills_workflow.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/console_reporter.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/interactive_config.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/__init__.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/a2a_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_create.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_exec.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_file.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_get.py
RENAMED
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_invoke.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentkit_sdk_python-0.7.5 → agentkit_sdk_python-0.7.7}/agentkit/toolkit/cli/sandbox/cli_mount.py
RENAMED
|
File without changes
|