agentscope-runtime 1.0.2__tar.gz → 1.0.3__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.
Files changed (288) hide show
  1. {agentscope_runtime-1.0.2/src/agentscope_runtime.egg-info → agentscope_runtime-1.0.3}/PKG-INFO +9 -3
  2. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/README.md +6 -1
  3. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/pyproject.toml +3 -2
  4. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/deploy.py +12 -0
  5. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/redis_mapping.py +4 -1
  6. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/app/agent_app.py +48 -5
  7. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +57 -0
  8. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +487 -0
  9. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_registry.py +273 -0
  10. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/adapter/a2a/nacos_a2a_registry.py +640 -0
  11. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/kubernetes_deployer.py +3 -0
  12. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +8 -2
  13. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/image_factory.py +5 -0
  14. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/utils/net_utils.py +65 -0
  15. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/runner.py +5 -3
  16. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/exception.py +24 -0
  17. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/agent_state/redis_state_service.py +61 -8
  18. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/agent_state/state_service_factory.py +2 -5
  19. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/services/memory/redis_memory_service.py +291 -0
  20. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/services/session_history/redis_session_history_service.py +283 -0
  21. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/build.py +50 -57
  22. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/version.py +1 -1
  23. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3/src/agentscope_runtime.egg-info}/PKG-INFO +9 -3
  24. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/SOURCES.txt +3 -0
  25. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/requires.txt +2 -1
  26. agentscope_runtime-1.0.2/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +0 -2
  27. agentscope_runtime-1.0.2/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +0 -79
  28. agentscope_runtime-1.0.2/src/agentscope_runtime/engine/services/memory/redis_memory_service.py +0 -187
  29. agentscope_runtime-1.0.2/src/agentscope_runtime/engine/services/session_history/redis_session_history_service.py +0 -157
  30. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/LICENSE +0 -0
  31. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/setup.cfg +0 -0
  32. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/setup.py +0 -0
  33. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/__init__.py +0 -0
  34. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/__init__.py +0 -0
  35. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/__init__.py +0 -0
  36. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/long_term_memory/__init__.py +0 -0
  37. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/long_term_memory/_long_term_memory_adapter.py +0 -0
  38. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/memory/__init__.py +0 -0
  39. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/memory/_memory_adapter.py +0 -0
  40. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/message.py +0 -0
  41. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/stream.py +0 -0
  42. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/tool/__init__.py +0 -0
  43. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/tool/sandbox_tool.py +0 -0
  44. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/tool/tool.py +0 -0
  45. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agno/__init__.py +0 -0
  46. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agno/message.py +0 -0
  47. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agno/stream.py +0 -0
  48. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/autogen/__init__.py +0 -0
  49. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/autogen/tool/__init__.py +0 -0
  50. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/autogen/tool/tool.py +0 -0
  51. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/langgraph/__init__.py +0 -0
  52. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/langgraph/message.py +0 -0
  53. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/langgraph/stream.py +0 -0
  54. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/text/__init__.py +0 -0
  55. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/text/stream.py +0 -0
  56. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/__init__.py +0 -0
  57. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/cli.py +0 -0
  58. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/__init__.py +0 -0
  59. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/chat.py +0 -0
  60. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/invoke.py +0 -0
  61. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/list_cmd.py +0 -0
  62. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/run.py +0 -0
  63. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/sandbox.py +0 -0
  64. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/status.py +0 -0
  65. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/stop.py +0 -0
  66. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/commands/web.py +0 -0
  67. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/loaders/__init__.py +0 -0
  68. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/loaders/agent_loader.py +0 -0
  69. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/state/__init__.py +0 -0
  70. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/utils/__init__.py +0 -0
  71. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/utils/console.py +0 -0
  72. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/cli/utils/validators.py +0 -0
  73. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/__init__.py +0 -0
  74. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/__init__.py +0 -0
  75. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/base_mapping.py +0 -0
  76. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/base_queue.py +0 -0
  77. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/base_set.py +0 -0
  78. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/in_memory_mapping.py +0 -0
  79. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/in_memory_queue.py +0 -0
  80. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/in_memory_set.py +0 -0
  81. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/redis_queue.py +0 -0
  82. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/redis_set.py +0 -0
  83. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/__init__.py +0 -0
  84. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/agentrun_client.py +0 -0
  85. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/base_client.py +0 -0
  86. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/docker_client.py +0 -0
  87. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/fc_client.py +0 -0
  88. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/kubernetes_client.py +0 -0
  89. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/utils/__init__.py +0 -0
  90. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/utils/lazy_loader.py +0 -0
  91. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/__init__.py +0 -0
  92. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/app/__init__.py +0 -0
  93. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/app/base_app.py +0 -0
  94. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/app/celery_mixin.py +0 -0
  95. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/constant.py +0 -0
  96. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/__init__.py +0 -0
  97. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/__init__.py +0 -0
  98. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py +0 -0
  99. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py +0 -0
  100. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/protocol_adapter.py +0 -0
  101. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/responses/__init__.py +0 -0
  102. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py +0 -0
  103. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py +0 -0
  104. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py +0 -0
  105. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/agentrun_deployer.py +0 -0
  106. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/base.py +0 -0
  107. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/cli_fc_deploy.py +0 -0
  108. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/local_deployer.py +0 -0
  109. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/modelstudio_deployer.py +0 -0
  110. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/state/__init__.py +0 -0
  111. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/state/manager.py +0 -0
  112. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/state/schema.py +0 -0
  113. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/__init__.py +0 -0
  114. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/app_runner_utils.py +0 -0
  115. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/build_cache.py +0 -0
  116. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/deployment_modes.py +0 -0
  117. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/detached_app.py +0 -0
  118. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py +0 -0
  119. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +0 -0
  120. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/k8s_utils.py +0 -0
  121. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/package.py +0 -0
  122. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/service_utils/__init__.py +0 -0
  123. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +0 -0
  124. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py +0 -0
  125. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +0 -0
  126. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/templates/app_main.py.j2 +0 -0
  127. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/templates/runner_main.py.j2 +0 -0
  128. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/templates/standalone_main.py.j2 +0 -0
  129. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/wheel_packager.py +0 -0
  130. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/helpers/agent_api_builder.py +0 -0
  131. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/helpers/runner.py +0 -0
  132. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/misc/__init__.py +0 -0
  133. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/__init__.py +0 -0
  134. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/agent_schemas.py +0 -0
  135. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/embedding.py +0 -0
  136. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/modelstudio_llm.py +0 -0
  137. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/oai_llm.py +0 -0
  138. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/realtime.py +0 -0
  139. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/response_api.py +0 -0
  140. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/session.py +0 -0
  141. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/__init__.py +0 -0
  142. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/agent_state/__init__.py +0 -0
  143. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/agent_state/state_service.py +0 -0
  144. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/base.py +0 -0
  145. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/__init__.py +0 -0
  146. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/mem0_memory_service.py +0 -0
  147. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/memory_service.py +0 -0
  148. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/memory_service_factory.py +0 -0
  149. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/reme_personal_memory_service.py +0 -0
  150. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/reme_task_memory_service.py +0 -0
  151. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/tablestore_memory_service.py +0 -0
  152. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/sandbox/__init__.py +0 -0
  153. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/sandbox/sandbox_service.py +0 -0
  154. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/sandbox/sandbox_service_factory.py +0 -0
  155. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/service_factory.py +0 -0
  156. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/session_history/__init__.py +0 -0
  157. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/session_history/session_history_service.py +0 -0
  158. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/session_history/session_history_service_factory.py +0 -0
  159. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/session_history/tablestore_session_history_service.py +0 -0
  160. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/utils/__init__.py +0 -0
  161. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/utils/tablestore_service_utils.py +0 -0
  162. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/__init__.py +0 -0
  163. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/asyncio_util.py +0 -0
  164. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/base.py +0 -0
  165. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/local_logging_handler.py +0 -0
  166. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/message_util.py +0 -0
  167. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/tracing_metric.py +0 -0
  168. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/tracing_util.py +0 -0
  169. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/wrapper.py +0 -0
  170. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/__init__.py +0 -0
  171. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/__init__.py +0 -0
  172. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/agentbay/__init__.py +0 -0
  173. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/agentbay/agentbay_sandbox.py +0 -0
  174. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/base/__init__.py +0 -0
  175. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/base/base_sandbox.py +0 -0
  176. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/base/box/__init__.py +0 -0
  177. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/browser/__init__.py +0 -0
  178. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/browser/box/__init__.py +0 -0
  179. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/browser/browser_sandbox.py +0 -0
  180. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/cloud/__init__.py +0 -0
  181. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/cloud/cloud_sandbox.py +0 -0
  182. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/dummy/__init__.py +0 -0
  183. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py +0 -0
  184. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/filesystem/__init__.py +0 -0
  185. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/filesystem/box/__init__.py +0 -0
  186. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +0 -0
  187. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/gui/__init__.py +0 -0
  188. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/gui/box/__init__.py +0 -0
  189. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/gui/gui_sandbox.py +0 -0
  190. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/mobile/__init__.py +0 -0
  191. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/mobile/box/__init__.py +0 -0
  192. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/mobile/mobile_sandbox.py +0 -0
  193. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/sandbox.py +0 -0
  194. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/__init__.py +0 -0
  195. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/app.py +0 -0
  196. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/dependencies/__init__.py +0 -0
  197. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/dependencies/deps.py +0 -0
  198. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/__init__.py +0 -0
  199. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/generic.py +0 -0
  200. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/mcp.py +0 -0
  201. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +0 -0
  202. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py +0 -0
  203. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/workspace.py +0 -0
  204. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/__init__.py +0 -0
  205. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/base.py +0 -0
  206. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/env_service.py +0 -0
  207. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/environments/__init__.py +0 -0
  208. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py +0 -0
  209. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py +0 -0
  210. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py +0 -0
  211. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py +0 -0
  212. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/registry.py +0 -0
  213. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/src/trajectory.py +0 -0
  214. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/training_box.py +0 -0
  215. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/client/__init__.py +0 -0
  216. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/client/http_client.py +0 -0
  217. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/client/training_client.py +0 -0
  218. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/constant.py +0 -0
  219. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/custom/__init__.py +0 -0
  220. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/custom/custom_sandbox.py +0 -0
  221. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/custom/example.py +0 -0
  222. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/enums.py +0 -0
  223. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/__init__.py +0 -0
  224. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/sandbox_manager.py +0 -0
  225. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/server/__init__.py +0 -0
  226. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/server/app.py +0 -0
  227. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/server/config.py +0 -0
  228. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/server/models.py +0 -0
  229. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/storage/__init__.py +0 -0
  230. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/storage/data_storage.py +0 -0
  231. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/storage/local_storage.py +0 -0
  232. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/storage/oss_storage.py +0 -0
  233. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/mcp_server.py +0 -0
  234. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/model/__init__.py +0 -0
  235. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/model/api.py +0 -0
  236. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/model/container.py +0 -0
  237. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/model/manager_config.py +0 -0
  238. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/registry.py +0 -0
  239. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/utils.py +0 -0
  240. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/RAGs/__init__.py +0 -0
  241. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/RAGs/modelstudio_rag.py +0 -0
  242. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/RAGs/modelstudio_rag_lite.py +0 -0
  243. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/__init__.py +0 -0
  244. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/_constants.py +0 -0
  245. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/alipay/__init__.py +0 -0
  246. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/alipay/base.py +0 -0
  247. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/alipay/payment.py +0 -0
  248. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/alipay/subscribe.py +0 -0
  249. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/base.py +0 -0
  250. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/cli/__init__.py +0 -0
  251. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/cli/modelstudio_mcp_server.py +0 -0
  252. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/__init__.py +0 -0
  253. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_image_to_video.py +0 -0
  254. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_image_to_video_wan25.py +0 -0
  255. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_speech_to_video.py +0 -0
  256. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_text_to_video.py +0 -0
  257. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_text_to_video_wan25.py +0 -0
  258. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_edit.py +0 -0
  259. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_edit_wan25.py +0 -0
  260. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_generation.py +0 -0
  261. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_generation_wan25.py +0 -0
  262. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_style_repaint.py +0 -0
  263. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_to_video.py +0 -0
  264. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/qwen_image_edit.py +0 -0
  265. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/qwen_image_generation.py +0 -0
  266. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/qwen_text_to_speech.py +0 -0
  267. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/speech_to_text.py +0 -0
  268. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/speech_to_video.py +0 -0
  269. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/text_to_video.py +0 -0
  270. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/mcp_wrapper.py +0 -0
  271. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/__init__.py +0 -0
  272. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/asr_client.py +0 -0
  273. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/azure_asr_client.py +0 -0
  274. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/azure_tts_client.py +0 -0
  275. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/modelstudio_asr_client.py +0 -0
  276. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/modelstudio_tts_client.py +0 -0
  277. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/realtime_tool.py +0 -0
  278. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/tts_client.py +0 -0
  279. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/searches/__init__.py +0 -0
  280. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/searches/modelstudio_search.py +0 -0
  281. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/searches/modelstudio_search_lite.py +0 -0
  282. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/utils/__init__.py +0 -0
  283. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/utils/api_key_util.py +0 -0
  284. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/utils/crypto_utils.py +0 -0
  285. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/utils/mcp_util.py +0 -0
  286. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/dependency_links.txt +0 -0
  287. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/entry_points.txt +0 -0
  288. {agentscope_runtime-1.0.2 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentscope-runtime
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: A production-ready runtime framework for agent applications, providing secure sandboxed execution environments and scalable deployment solutions with multi-framework support.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -51,7 +51,7 @@ Requires-Dist: alibabacloud_tea_openapi>=0.4.0; extra == "ext"
51
51
  Requires-Dist: alibabacloud-fc20230330>=4.4.0; extra == "ext"
52
52
  Requires-Dist: tablestore-for-agent-memory>=1.1.0; extra == "ext"
53
53
  Requires-Dist: langchain-community>=0.3.27; extra == "ext"
54
- Requires-Dist: wuying-agentbay-sdk>=0.5.0; extra == "ext"
54
+ Requires-Dist: wuying-agentbay-sdk<0.13.0,>=0.5.0; extra == "ext"
55
55
  Requires-Dist: alipay-sdk-python; extra == "ext"
56
56
  Requires-Dist: cryptography; extra == "ext"
57
57
  Requires-Dist: gunicorn>=20.0.0; extra == "ext"
@@ -66,6 +66,7 @@ Requires-Dist: wheel; extra == "ext"
66
66
  Requires-Dist: alibabacloud-credentials; extra == "ext"
67
67
  Requires-Dist: PyYAML; extra == "ext"
68
68
  Requires-Dist: agno>=2.3.8; extra == "ext"
69
+ Requires-Dist: nacos-sdk-python>=3.0.0; extra == "ext"
69
70
  Dynamic: license-file
70
71
 
71
72
  <div align="center">
@@ -652,7 +653,7 @@ limitations under the License.
652
653
 
653
654
  ## Contributors ✨
654
655
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
655
- [![All Contributors](https://img.shields.io/badge/all_contributors-26-orange.svg?style=flat-square)](#contributors-)
656
+ [![All Contributors](https://img.shields.io/badge/all_contributors-29-orange.svg?style=flat-square)](#contributors-)
656
657
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
657
658
 
658
659
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -695,6 +696,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
695
696
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/k-farruh"><img src="https://avatars.githubusercontent.com/u/33511681?v=4?s=100" width="100px;" alt="Farruh Kushnazarov"/><br /><sub><b>Farruh Kushnazarov</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=k-farruh" title="Documentation">📖</a></td>
696
697
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/fengxsong"><img src="https://avatars.githubusercontent.com/u/7008971?v=4?s=100" width="100px;" alt="fengxsong"/><br /><sub><b>fengxsong</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3Afengxsong" title="Bug reports">🐛</a></td>
697
698
  <td align="center" valign="top" width="14.28%"><a href="https://m4n5ter.github.io"><img src="https://avatars.githubusercontent.com/u/68144809?v=4?s=100" width="100px;" alt="Wang"/><br /><sub><b>Wang</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=M4n5ter" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3AM4n5ter" title="Bug reports">🐛</a></td>
699
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/qiacheng7"><img src="https://avatars.githubusercontent.com/u/223075252?v=4?s=100" width="100px;" alt="qiacheng7"/><br /><sub><b>qiacheng7</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=qiacheng7" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=qiacheng7" title="Documentation">📖</a></td>
700
+ <td align="center" valign="top" width="14.28%"><a href="https://xieyxclack.github.io/"><img src="https://avatars.githubusercontent.com/u/31954383?v=4?s=100" width="100px;" alt="Yuexiang XIE"/><br /><sub><b>Yuexiang XIE</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/pulls?q=is%3Apr+reviewed-by%3Axieyxclack" title="Reviewed Pull Requests">👀</a></td>
701
+ </tr>
702
+ <tr>
703
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/RTsama"><img src="https://avatars.githubusercontent.com/u/100779257?v=4?s=100" width="100px;" alt="RTsama"/><br /><sub><b>RTsama</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3ARTsama" title="Bug reports">🐛</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=RTsama" title="Code">💻</a></td>
698
704
  </tr>
699
705
  </tbody>
700
706
  <tfoot>
@@ -582,7 +582,7 @@ limitations under the License.
582
582
 
583
583
  ## Contributors ✨
584
584
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
585
- [![All Contributors](https://img.shields.io/badge/all_contributors-26-orange.svg?style=flat-square)](#contributors-)
585
+ [![All Contributors](https://img.shields.io/badge/all_contributors-29-orange.svg?style=flat-square)](#contributors-)
586
586
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
587
587
 
588
588
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -625,6 +625,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
625
625
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/k-farruh"><img src="https://avatars.githubusercontent.com/u/33511681?v=4?s=100" width="100px;" alt="Farruh Kushnazarov"/><br /><sub><b>Farruh Kushnazarov</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=k-farruh" title="Documentation">📖</a></td>
626
626
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/fengxsong"><img src="https://avatars.githubusercontent.com/u/7008971?v=4?s=100" width="100px;" alt="fengxsong"/><br /><sub><b>fengxsong</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3Afengxsong" title="Bug reports">🐛</a></td>
627
627
  <td align="center" valign="top" width="14.28%"><a href="https://m4n5ter.github.io"><img src="https://avatars.githubusercontent.com/u/68144809?v=4?s=100" width="100px;" alt="Wang"/><br /><sub><b>Wang</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=M4n5ter" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3AM4n5ter" title="Bug reports">🐛</a></td>
628
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/qiacheng7"><img src="https://avatars.githubusercontent.com/u/223075252?v=4?s=100" width="100px;" alt="qiacheng7"/><br /><sub><b>qiacheng7</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=qiacheng7" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=qiacheng7" title="Documentation">📖</a></td>
629
+ <td align="center" valign="top" width="14.28%"><a href="https://xieyxclack.github.io/"><img src="https://avatars.githubusercontent.com/u/31954383?v=4?s=100" width="100px;" alt="Yuexiang XIE"/><br /><sub><b>Yuexiang XIE</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/pulls?q=is%3Apr+reviewed-by%3Axieyxclack" title="Reviewed Pull Requests">👀</a></td>
630
+ </tr>
631
+ <tr>
632
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/RTsama"><img src="https://avatars.githubusercontent.com/u/100779257?v=4?s=100" width="100px;" alt="RTsama"/><br /><sub><b>RTsama</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3ARTsama" title="Bug reports">🐛</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=RTsama" title="Code">💻</a></td>
628
633
  </tr>
629
634
  </tbody>
630
635
  <tfoot>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentscope-runtime"
3
- version = "1.0.2"
3
+ version = "1.0.3"
4
4
  description = "A production-ready runtime framework for agent applications, providing secure sandboxed execution environments and scalable deployment solutions with multi-framework support."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -75,7 +75,7 @@ ext = [
75
75
  "alibabacloud-fc20230330>=4.4.0",
76
76
  "tablestore-for-agent-memory>=1.1.0",
77
77
  "langchain-community>=0.3.27",
78
- "wuying-agentbay-sdk>=0.5.0",
78
+ "wuying-agentbay-sdk>=0.5.0,<0.13.0",
79
79
  "alipay-sdk-python",
80
80
  "cryptography",
81
81
  "gunicorn>=20.0.0",
@@ -90,6 +90,7 @@ ext = [
90
90
  "alibabacloud-credentials",
91
91
  "PyYAML",
92
92
  "agno>=2.3.8",
93
+ "nacos-sdk-python>=3.0.0",
93
94
  ]
94
95
 
95
96
  [tool.pytest.ini_options]
@@ -828,6 +828,13 @@ def agentrun(
828
828
  help="Target platform (e.g., 'linux/amd64', 'linux/arm64')",
829
829
  default="linux/amd64",
830
830
  )
831
+ @click.option(
832
+ "--pypi-mirror",
833
+ help="PyPI mirror URL for pip package installation (e.g., "
834
+ "https://pypi.tuna.tsinghua.edu.cn/simple). If not specified, "
835
+ "uses pip default.",
836
+ default=None,
837
+ )
831
838
  def k8s(
832
839
  source: str,
833
840
  name: str,
@@ -854,6 +861,7 @@ def k8s(
854
861
  deploy_timeout: int,
855
862
  health_check: bool,
856
863
  platform: str,
864
+ pypi_mirror: str,
857
865
  ):
858
866
  """
859
867
  Deploy to Kubernetes/ACK.
@@ -898,6 +906,7 @@ def k8s(
898
906
  "deploy_timeout": deploy_timeout,
899
907
  "health_check": health_check,
900
908
  "platform": platform,
909
+ "pypi_mirror": pypi_mirror,
901
910
  }
902
911
  merged_config = _merge_config(config_dict, cli_params)
903
912
 
@@ -918,6 +927,7 @@ def k8s(
918
927
  deploy_timeout = merged_config.get("deploy_timeout", 300)
919
928
  health_check = merged_config.get("health_check", True)
920
929
  platform = merged_config.get("platform")
930
+ pypi_mirror = merged_config.get("pypi_mirror")
921
931
 
922
932
  # Handle requirements (can be comma-separated string, list, or file
923
933
  # path)
@@ -1033,6 +1043,8 @@ def k8s(
1033
1043
  deploy_params["health_check"] = health_check
1034
1044
  if platform:
1035
1045
  deploy_params["platform"] = platform
1046
+ if pypi_mirror:
1047
+ deploy_params["pypi_mirror"] = pypi_mirror
1036
1048
 
1037
1049
  # Add agent_source for state saving
1038
1050
  deploy_params["agent_source"] = abs_source
@@ -38,7 +38,10 @@ class RedisMapping(Mapping):
38
38
  match=search_pattern,
39
39
  )
40
40
  for key in keys:
41
- decoded_key = key.decode("utf-8")
41
+ if isinstance(key, bytes):
42
+ decoded_key = key.decode("utf-8")
43
+ else:
44
+ decoded_key = str(key)
42
45
  yield self._strip_prefix(decoded_key)
43
46
 
44
47
  if cursor == 0:
@@ -12,7 +12,11 @@ from pydantic import BaseModel
12
12
 
13
13
  from .base_app import BaseApp
14
14
  from ..deployers import DeployManager
15
- from ..deployers.adapter.a2a import A2AFastAPIDefaultAdapter
15
+ from ..deployers.adapter.a2a import (
16
+ A2AFastAPIDefaultAdapter,
17
+ AgentCardWithRuntimeConfig,
18
+ extract_a2a_config,
19
+ )
16
20
  from ..deployers.adapter.responses.response_api_protocol_adapter import (
17
21
  ResponseAPIDefaultAdapter,
18
22
  )
@@ -47,14 +51,49 @@ class AgentApp(BaseApp):
47
51
  backend_url: Optional[str] = None,
48
52
  runner: Optional[Runner] = None,
49
53
  enable_embedded_worker: bool = False,
54
+ a2a_config: Optional["AgentCardWithRuntimeConfig"] = None,
50
55
  **kwargs,
51
56
  ):
52
57
  """
53
58
  Initialize the AgentApp.
54
59
 
55
60
  Args:
56
- *args: Variable length argument list.
57
- **kwargs: Arbitrary keyword arguments.
61
+ app_name: Name of the agent application
62
+ app_description: Description of the agent application
63
+ endpoint_path: API endpoint path for processing requests
64
+ response_type: Type of response (default: "sse")
65
+ stream: Whether to enable streaming responses
66
+ request_model: Request model class
67
+ before_start: Callback function to execute before starting
68
+ after_finish: Callback function to execute after finishing
69
+ broker_url: URL for message broker
70
+ backend_url: URL for backend service
71
+ runner: Optional runner instance
72
+ enable_embedded_worker: Whether to enable embedded worker
73
+ a2a_config: Optional A2A runtime configuration.
74
+ Must be an ``AgentCardWithRuntimeConfig`` instance, which
75
+ contains ``agent_card`` (AgentCard object or dict) and runtime
76
+ settings (host, port, registry, task_timeout, etc.).
77
+ Example:
78
+ from a2a.types import AgentCard, AgentCapabilities
79
+ from agentscope_runtime.engine.deployers.adapter.a2a import ( # noqa: E501
80
+ AgentCardWithRuntimeConfig,
81
+ )
82
+ config = AgentCardWithRuntimeConfig(
83
+ agent_card={
84
+ "name": "MyAgent",
85
+ "version": "1.0.0",
86
+ "description": "My agent",
87
+ "url": "http://localhost:8080",
88
+ "capabilities": AgentCapabilities(),
89
+ "default_input_modes": ["text"],
90
+ "default_output_modes": ["text"],
91
+ "skills": [],
92
+ },
93
+ registry=[nacos_registry],
94
+ task_timeout=120,
95
+ )
96
+ **kwargs: Additional keyword arguments passed to FastAPI app
58
97
  """
59
98
 
60
99
  self.endpoint_path = endpoint_path
@@ -76,9 +115,13 @@ class AgentApp(BaseApp):
76
115
  self._shutdown_handler: Optional[Callable] = None
77
116
  self._framework_type: Optional[str] = None
78
117
 
118
+ # Prepare A2A protocol adapter configuration
119
+ a2a_config = extract_a2a_config(a2a_config=a2a_config)
120
+
79
121
  a2a_protocol = A2AFastAPIDefaultAdapter(
80
122
  agent_name=app_name,
81
123
  agent_description=app_description,
124
+ a2a_config=a2a_config,
82
125
  )
83
126
 
84
127
  response_protocol = ResponseAPIDefaultAdapter()
@@ -96,8 +139,8 @@ class AgentApp(BaseApp):
96
139
  backend_url=backend_url,
97
140
  )
98
141
 
99
- # Store custom endpoints and tasks for deployment
100
- # but don't add them to FastAPI here - let FastAPIAppFactory handle it
142
+ # Store custom endpoints for deployment
143
+ # FastAPIAppFactory will handle adding them to FastAPI
101
144
 
102
145
  def init(self, func):
103
146
  """Register init hook (support async and sync functions)."""
@@ -0,0 +1,57 @@
1
+ # -*- coding: utf-8 -*-
2
+ from .a2a_protocol_adapter import (
3
+ A2AFastAPIDefaultAdapter,
4
+ AgentCardWithRuntimeConfig,
5
+ extract_a2a_config,
6
+ )
7
+ from .a2a_registry import (
8
+ A2ARegistry,
9
+ A2ARegistrySettings,
10
+ get_registry_settings,
11
+ create_registry_from_env,
12
+ )
13
+
14
+ # NOTE: NacosRegistry is NOT imported at module import time to avoid forcing
15
+ # an optional dependency on environments that don't have nacos SDK installed.
16
+ # Instead, NacosRegistry is imported lazily via __getattr__ (see below) when
17
+ # actually needed (e.g., when user does: from ... import NacosRegistry).
18
+
19
+ __all__ = [
20
+ "A2AFastAPIDefaultAdapter",
21
+ "AgentCardWithRuntimeConfig",
22
+ "extract_a2a_config",
23
+ "A2ARegistry",
24
+ "A2ARegistrySettings",
25
+ "get_registry_settings",
26
+ "create_registry_from_env",
27
+ "NacosRegistry", # pylint: disable=undefined-all-variable
28
+ ]
29
+
30
+
31
+ def __getattr__(name: str):
32
+ """
33
+ Lazy import for NacosRegistry to avoid forcing optional nacos dependency.
34
+
35
+ This function is called by Python when an attribute is accessed
36
+ that doesn't exist at module level. This allows NacosRegistry
37
+ to be imported only when actually needed, rather than at module
38
+ import time.
39
+
40
+ If the nacos SDK is not installed, provides a helpful error message
41
+ instead of a confusing ImportError.
42
+ """
43
+ if name == "NacosRegistry":
44
+ try:
45
+ from .nacos_a2a_registry import NacosRegistry
46
+
47
+ return NacosRegistry
48
+ except ImportError as e:
49
+ # Check if it's the v2.nacos dependency that's missing
50
+ if "v2.nacos" in str(e) or "nacos" in str(e).lower():
51
+ raise ImportError(
52
+ "NacosRegistry requires the 'v2-nacos' package. "
53
+ "Install it with: pip install v2-nacos",
54
+ ) from e
55
+ # Re-raise other import errors as-is
56
+ raise
57
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")