agentscope-runtime 0.1.4__tar.gz → 0.1.5b2__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 (175) hide show
  1. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/PKG-INFO +21 -4
  2. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/README.md +3 -2
  3. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/pyproject.toml +22 -2
  4. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/agentscope_agent/agent.py +3 -0
  5. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/__init__.py +16 -0
  6. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py +2886 -0
  7. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py +51 -0
  8. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py +314 -0
  9. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/cli_fc_deploy.py +184 -0
  10. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/kubernetes_deployer.py +265 -0
  11. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/local_deployer.py +441 -0
  12. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/modelstudio_deployer.py +677 -0
  13. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/deployment_modes.py +14 -0
  14. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py +8 -0
  15. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +429 -0
  16. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +240 -0
  17. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/runner_image_factory.py +297 -0
  18. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/package_project_utils.py +932 -0
  19. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/service_utils/__init__.py +9 -0
  20. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +504 -0
  21. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py +157 -0
  22. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +268 -0
  23. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/service_utils/service_config.py +75 -0
  24. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/service_utils/service_factory.py +220 -0
  25. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils/wheel_packager.py +389 -0
  26. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/helpers/agent_api_builder.py +651 -0
  27. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/runner.py +36 -10
  28. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/schemas/agent_schemas.py +70 -2
  29. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/schemas/embedding.py +37 -0
  30. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/schemas/modelstudio_llm.py +310 -0
  31. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/schemas/oai_llm.py +538 -0
  32. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/schemas/realtime.py +254 -0
  33. agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/services/mem0_memory_service.py +124 -0
  34. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/memory_service.py +2 -1
  35. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/redis_session_history_service.py +4 -3
  36. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/session_history_service.py +4 -3
  37. agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/training_box/environments/__init__.py +0 -0
  38. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py +555 -10
  39. agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/manager/server/__init__.py +0 -0
  40. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/version.py +1 -1
  41. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/PKG-INFO +21 -4
  42. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/SOURCES.txt +27 -0
  43. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/entry_points.txt +1 -0
  44. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/requires.txt +18 -1
  45. agentscope_runtime-0.1.4/src/agentscope_runtime/engine/deployers/__init__.py +0 -3
  46. agentscope_runtime-0.1.4/src/agentscope_runtime/engine/deployers/local_deployer.py +0 -586
  47. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/LICENSE +0 -0
  48. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/setup.cfg +0 -0
  49. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/setup.py +0 -0
  50. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/__init__.py +0 -0
  51. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/__init__.py +0 -0
  52. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/__init__.py +0 -0
  53. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/agentscope_agent/__init__.py +0 -0
  54. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/agentscope_agent/hooks.py +0 -0
  55. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/agno_agent.py +0 -0
  56. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/autogen_agent.py +0 -0
  57. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/base_agent.py +0 -0
  58. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/langgraph_agent.py +0 -0
  59. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/llm_agent.py +0 -0
  60. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/__init__.py +0 -0
  61. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +0 -0
  62. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py +0 -0
  63. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py +0 -0
  64. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +0 -0
  65. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/protocol_adapter.py +0 -0
  66. {agentscope_runtime-0.1.4/src/agentscope_runtime/engine/misc → agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/adapter/responses}/__init__.py +0 -0
  67. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/base.py +0 -0
  68. {agentscope_runtime-0.1.4/src/agentscope_runtime/engine/schemas → agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/deployers/utils}/__init__.py +0 -0
  69. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/helpers/helper.py +0 -0
  70. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/llms/__init__.py +0 -0
  71. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/llms/base_llm.py +0 -0
  72. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/llms/qwen_llm.py +0 -0
  73. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box → agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/misc}/__init__.py +0 -0
  74. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/base → agentscope_runtime-0.1.5b2/src/agentscope_runtime/engine/schemas}/__init__.py +0 -0
  75. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/schemas/context.py +0 -0
  76. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/__init__.py +0 -0
  77. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/base.py +0 -0
  78. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/context_manager.py +0 -0
  79. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/environment_manager.py +0 -0
  80. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/manager.py +0 -0
  81. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/rag_service.py +0 -0
  82. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/redis_memory_service.py +0 -0
  83. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/reme_personal_memory_service.py +0 -0
  84. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/reme_task_memory_service.py +0 -0
  85. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/sandbox_service.py +0 -0
  86. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/__init__.py +0 -0
  87. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/base.py +0 -0
  88. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/local_logging_handler.py +0 -0
  89. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/tracing_metric.py +0 -0
  90. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/wrapper.py +0 -0
  91. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/__init__.py +0 -0
  92. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/base → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox}/box/__init__.py +0 -0
  93. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/browser → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/base}/__init__.py +0 -0
  94. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/base/base_sandbox.py +0 -0
  95. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/browser → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/base}/box/__init__.py +0 -0
  96. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/dummy → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/browser}/__init__.py +0 -0
  97. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/filesystem → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/browser/box}/__init__.py +0 -0
  98. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/browser/browser_sandbox.py +0 -0
  99. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/filesystem/box → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/dummy}/__init__.py +0 -0
  100. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py +0 -0
  101. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/shared → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/filesystem}/__init__.py +0 -0
  102. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/training_box → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/filesystem/box}/__init__.py +0 -0
  103. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +0 -0
  104. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/sandbox.py +0 -0
  105. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/box/training_box/environments → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/shared}/__init__.py +0 -0
  106. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/app.py +0 -0
  107. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/dependencies/__init__.py +0 -0
  108. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/dependencies/deps.py +0 -0
  109. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/__init__.py +0 -0
  110. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/generic.py +0 -0
  111. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/mcp.py +0 -0
  112. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +0 -0
  113. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py +0 -0
  114. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/workspace.py +0 -0
  115. {agentscope_runtime-0.1.4/src/agentscope_runtime/sandbox/manager/server → agentscope_runtime-0.1.5b2/src/agentscope_runtime/sandbox/box/training_box}/__init__.py +0 -0
  116. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/base.py +0 -0
  117. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/env_service.py +0 -0
  118. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py +0 -0
  119. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py +0 -0
  120. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py +0 -0
  121. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py +0 -0
  122. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/registry.py +0 -0
  123. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/src/trajectory.py +0 -0
  124. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/training_box.py +0 -0
  125. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/build.py +0 -0
  126. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/client/__init__.py +0 -0
  127. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/client/http_client.py +0 -0
  128. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/client/training_client.py +0 -0
  129. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/constant.py +0 -0
  130. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/custom/__init__.py +0 -0
  131. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/custom/custom_sandbox.py +0 -0
  132. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/custom/example.py +0 -0
  133. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/enums.py +0 -0
  134. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/__init__.py +0 -0
  135. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/__init__.py +0 -0
  136. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/base_mapping.py +0 -0
  137. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/base_queue.py +0 -0
  138. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/base_set.py +0 -0
  139. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py +0 -0
  140. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/in_memory_queue.py +0 -0
  141. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/in_memory_set.py +0 -0
  142. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/redis_mapping.py +0 -0
  143. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/redis_queue.py +0 -0
  144. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/redis_set.py +0 -0
  145. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/container_clients/__init__.py +0 -0
  146. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/container_clients/base_client.py +0 -0
  147. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/container_clients/docker_client.py +0 -0
  148. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/sandbox_manager.py +0 -0
  149. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/server/app.py +0 -0
  150. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/server/config.py +0 -0
  151. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/server/models.py +0 -0
  152. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/storage/__init__.py +0 -0
  153. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/storage/data_storage.py +0 -0
  154. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/storage/local_storage.py +0 -0
  155. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/storage/oss_storage.py +0 -0
  156. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/mcp_server.py +0 -0
  157. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/model/__init__.py +0 -0
  158. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/model/api.py +0 -0
  159. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/model/container.py +0 -0
  160. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/model/manager_config.py +0 -0
  161. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/registry.py +0 -0
  162. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/__init__.py +0 -0
  163. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/base/__init__.py +0 -0
  164. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/base/tool.py +0 -0
  165. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/browser/__init__.py +0 -0
  166. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/browser/tool.py +0 -0
  167. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/filesystem/__init__.py +0 -0
  168. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/filesystem/tool.py +0 -0
  169. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/function_tool.py +0 -0
  170. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/mcp_tool.py +0 -0
  171. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/sandbox_tool.py +0 -0
  172. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/tool.py +0 -0
  173. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/utils.py +0 -0
  174. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/dependency_links.txt +0 -0
  175. {agentscope_runtime-0.1.4 → agentscope_runtime-0.1.5b2}/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: 0.1.4
3
+ Version: 0.1.5b2
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
@@ -8,7 +8,7 @@ License-File: LICENSE
8
8
  Requires-Dist: mcp>=1.13
9
9
  Requires-Dist: fastapi>=0.104.0
10
10
  Requires-Dist: uvicorn[standard]>=0.24.0
11
- Requires-Dist: openai
11
+ Requires-Dist: openai>=1.108.1
12
12
  Requires-Dist: pydantic>=2.11.7
13
13
  Requires-Dist: requests>=2.32.4
14
14
  Provides-Extra: dev
@@ -56,6 +56,22 @@ Requires-Dist: langchain-community>=0.3.27; extra == "llamaindex-rag"
56
56
  Requires-Dist: bs4>=0.0.2; extra == "llamaindex-rag"
57
57
  Provides-Extra: memory-ext
58
58
  Requires-Dist: reme-ai==0.1.9; python_full_version >= "3.12" and extra == "memory-ext"
59
+ Requires-Dist: mem0ai>=0.1.117; extra == "memory-ext"
60
+ Provides-Extra: deployment
61
+ Requires-Dist: alibabacloud-oss-v2; extra == "deployment"
62
+ Requires-Dist: alibabacloud-bailian20231229>=2.5.0; extra == "deployment"
63
+ Requires-Dist: build; extra == "deployment"
64
+ Requires-Dist: setuptools>=40.8.0; extra == "deployment"
65
+ Requires-Dist: wheel; extra == "deployment"
66
+ Requires-Dist: steel-sdk>=0.1.0; extra == "deployment"
67
+ Requires-Dist: alibabacloud-credentials; extra == "deployment"
68
+ Requires-Dist: jinja2; extra == "deployment"
69
+ Requires-Dist: psutil; extra == "deployment"
70
+ Requires-Dist: shortuuid>=1.0.13; extra == "deployment"
71
+ Requires-Dist: docker>=7.1.0; extra == "deployment"
72
+ Requires-Dist: kubernetes>=33.1.0; extra == "deployment"
73
+ Requires-Dist: PyYAML; extra == "deployment"
74
+ Requires-Dist: oss2>=2.19.1; extra == "deployment"
59
75
  Dynamic: license-file
60
76
 
61
77
  <div align="center">
@@ -405,7 +421,7 @@ limitations under the License.
405
421
 
406
422
  ## Contributors ✨
407
423
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
408
- [![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)
424
+ [![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-)
409
425
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
410
426
 
411
427
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -425,7 +441,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
425
441
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/jinliyl"><img src="https://avatars.githubusercontent.com/u/6469360?v=4?s=100" width="100px;" alt="jinliyl"/><br /><sub><b>jinliyl</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=jinliyl" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=jinliyl" title="Documentation">📖</a></td>
426
442
  </tr>
427
443
  <tr>
428
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/Osier-Yi"><img src="https://avatars.githubusercontent.com/u/8287381?v=4?s=100" width="100px;" alt="Osier-Yi"/><br /><sub><b>Osier-Yi</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Osier-Yi" title="Code">💻</a></td>
444
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Osier-Yi"><img src="https://avatars.githubusercontent.com/u/8287381?v=4?s=100" width="100px;" alt="Osier-Yi"/><br /><sub><b>Osier-Yi</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Osier-Yi" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Osier-Yi" title="Documentation">📖</a></td>
445
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/kevinlin09"><img src="https://avatars.githubusercontent.com/u/26913335?v=4?s=100" width="100px;" alt="Kevin Lin"/><br /><sub><b>Kevin Lin</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=kevinlin09" title="Code">💻</a></td>
429
446
  </tr>
430
447
  </tbody>
431
448
  <tfoot>
@@ -345,7 +345,7 @@ limitations under the License.
345
345
 
346
346
  ## Contributors ✨
347
347
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
348
- [![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)
348
+ [![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-)
349
349
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
350
350
 
351
351
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -365,7 +365,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
365
365
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/jinliyl"><img src="https://avatars.githubusercontent.com/u/6469360?v=4?s=100" width="100px;" alt="jinliyl"/><br /><sub><b>jinliyl</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=jinliyl" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=jinliyl" title="Documentation">📖</a></td>
366
366
  </tr>
367
367
  <tr>
368
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/Osier-Yi"><img src="https://avatars.githubusercontent.com/u/8287381?v=4?s=100" width="100px;" alt="Osier-Yi"/><br /><sub><b>Osier-Yi</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Osier-Yi" title="Code">💻</a></td>
368
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Osier-Yi"><img src="https://avatars.githubusercontent.com/u/8287381?v=4?s=100" width="100px;" alt="Osier-Yi"/><br /><sub><b>Osier-Yi</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Osier-Yi" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Osier-Yi" title="Documentation">📖</a></td>
369
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/kevinlin09"><img src="https://avatars.githubusercontent.com/u/26913335?v=4?s=100" width="100px;" alt="Kevin Lin"/><br /><sub><b>Kevin Lin</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=kevinlin09" title="Code">💻</a></td>
369
370
  </tr>
370
371
  </tbody>
371
372
  <tfoot>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentscope-runtime"
3
- version = "0.1.4"
3
+ version = "0.1.5b2"
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"
@@ -8,7 +8,7 @@ dependencies = [
8
8
  "mcp>=1.13",
9
9
  "fastapi>=0.104.0",
10
10
  "uvicorn[standard]>=0.24.0",
11
- "openai",
11
+ "openai>=1.108.1",
12
12
  "pydantic>=2.11.7",
13
13
  "requests>=2.32.4",
14
14
  ]
@@ -24,6 +24,7 @@ build-backend = "setuptools.build_meta"
24
24
  runtime-sandbox-mcp = "agentscope_runtime.sandbox.mcp_server:main"
25
25
  runtime-sandbox-server = "agentscope_runtime.sandbox.manager.server.app:main"
26
26
  runtime-sandbox-builder = "agentscope_runtime.sandbox.build:main"
27
+ runtime-fc-deploy = "agentscope_runtime.engine.deployers.cli_fc_deploy:main"
27
28
 
28
29
  [project.optional-dependencies]
29
30
  dev = [
@@ -86,4 +87,23 @@ llamaindex_rag=[
86
87
  ]
87
88
  memory-ext = [
88
89
  "reme-ai==0.1.9 ; python_full_version >= '3.12'",
90
+ "mem0ai>=0.1.117"
89
91
  ]
92
+
93
+
94
+ deployment = [
95
+ "alibabacloud-oss-v2",
96
+ "alibabacloud-bailian20231229>=2.5.0",
97
+ "build",
98
+ "setuptools>=40.8.0",
99
+ "wheel",
100
+ "steel-sdk>=0.1.0",
101
+ "alibabacloud-credentials",
102
+ "jinja2",
103
+ "psutil",
104
+ "shortuuid>=1.0.13",
105
+ "docker>=7.1.0",
106
+ "kubernetes>=33.1.0",
107
+ "PyYAML",
108
+ "oss2>=2.19.1"
109
+ ]
@@ -317,6 +317,9 @@ class AgentScopeAgent(Agent):
317
317
  index = text_delta_content.index
318
318
  yield text_delta_content
319
319
  if hasattr(msg, "is_last"):
320
+ yield message.content_completed(
321
+ index,
322
+ )
320
323
  yield message.completed()
321
324
  message = Message(
322
325
  type=MessageType.MESSAGE,
@@ -0,0 +1,16 @@
1
+ # -*- coding: utf-8 -*-
2
+ from .base import DeployManager
3
+ from .local_deployer import LocalDeployManager
4
+ from .kubernetes_deployer import (
5
+ KubernetesDeployManager,
6
+ )
7
+ from .modelstudio_deployer import (
8
+ ModelstudioDeployManager,
9
+ )
10
+
11
+ __all__ = [
12
+ "DeployManager",
13
+ "LocalDeployManager",
14
+ "KubernetesDeployManager",
15
+ "ModelstudioDeployManager",
16
+ ]