agentscope-runtime 0.1.5b1__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 (173) hide show
  1. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/PKG-INFO +1 -1
  2. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/pyproject.toml +1 -1
  3. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/cli_fc_deploy.py +49 -8
  4. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/modelstudio_deployer.py +68 -17
  5. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +3 -3
  6. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/version.py +1 -1
  7. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/PKG-INFO +1 -1
  8. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/LICENSE +0 -0
  9. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/README.md +0 -0
  10. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/setup.cfg +0 -0
  11. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/setup.py +0 -0
  12. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/__init__.py +0 -0
  13. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/__init__.py +0 -0
  14. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/__init__.py +0 -0
  15. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/agentscope_agent/__init__.py +0 -0
  16. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/agentscope_agent/agent.py +0 -0
  17. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/agentscope_agent/hooks.py +0 -0
  18. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/agno_agent.py +0 -0
  19. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/autogen_agent.py +0 -0
  20. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/base_agent.py +0 -0
  21. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/langgraph_agent.py +0 -0
  22. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/agents/llm_agent.py +0 -0
  23. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/__init__.py +0 -0
  24. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/__init__.py +0 -0
  25. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +0 -0
  26. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py +0 -0
  27. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py +0 -0
  28. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +0 -0
  29. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/protocol_adapter.py +0 -0
  30. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/responses/__init__.py +0 -0
  31. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py +0 -0
  32. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py +0 -0
  33. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py +0 -0
  34. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/base.py +0 -0
  35. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/kubernetes_deployer.py +0 -0
  36. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/local_deployer.py +0 -0
  37. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/__init__.py +0 -0
  38. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/deployment_modes.py +0 -0
  39. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py +0 -0
  40. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +0 -0
  41. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/runner_image_factory.py +0 -0
  42. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/package_project_utils.py +0 -0
  43. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/service_utils/__init__.py +0 -0
  44. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +0 -0
  45. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py +0 -0
  46. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +0 -0
  47. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/service_utils/service_config.py +0 -0
  48. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/service_utils/service_factory.py +0 -0
  49. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/deployers/utils/wheel_packager.py +0 -0
  50. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/helpers/agent_api_builder.py +0 -0
  51. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/helpers/helper.py +0 -0
  52. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/llms/__init__.py +0 -0
  53. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/llms/base_llm.py +0 -0
  54. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/llms/qwen_llm.py +0 -0
  55. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/misc/__init__.py +0 -0
  56. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/runner.py +0 -0
  57. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/schemas/__init__.py +0 -0
  58. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/schemas/agent_schemas.py +0 -0
  59. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/schemas/context.py +0 -0
  60. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/schemas/embedding.py +0 -0
  61. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/schemas/modelstudio_llm.py +0 -0
  62. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/schemas/oai_llm.py +0 -0
  63. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/schemas/realtime.py +0 -0
  64. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/__init__.py +0 -0
  65. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/base.py +0 -0
  66. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/context_manager.py +0 -0
  67. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/environment_manager.py +0 -0
  68. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/manager.py +0 -0
  69. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/mem0_memory_service.py +0 -0
  70. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/memory_service.py +0 -0
  71. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/rag_service.py +0 -0
  72. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/redis_memory_service.py +0 -0
  73. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/redis_session_history_service.py +0 -0
  74. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/reme_personal_memory_service.py +0 -0
  75. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/reme_task_memory_service.py +0 -0
  76. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/sandbox_service.py +0 -0
  77. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/services/session_history_service.py +0 -0
  78. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/__init__.py +0 -0
  79. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/base.py +0 -0
  80. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/local_logging_handler.py +0 -0
  81. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/tracing_metric.py +0 -0
  82. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/engine/tracing/wrapper.py +0 -0
  83. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/__init__.py +0 -0
  84. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/__init__.py +0 -0
  85. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/base/__init__.py +0 -0
  86. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/base/base_sandbox.py +0 -0
  87. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/base/box/__init__.py +0 -0
  88. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/browser/__init__.py +0 -0
  89. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/browser/box/__init__.py +0 -0
  90. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/browser/browser_sandbox.py +0 -0
  91. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/dummy/__init__.py +0 -0
  92. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py +0 -0
  93. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/filesystem/__init__.py +0 -0
  94. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/filesystem/box/__init__.py +0 -0
  95. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +0 -0
  96. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/sandbox.py +0 -0
  97. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/__init__.py +0 -0
  98. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/app.py +0 -0
  99. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/dependencies/__init__.py +0 -0
  100. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/dependencies/deps.py +0 -0
  101. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/__init__.py +0 -0
  102. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/generic.py +0 -0
  103. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/mcp.py +0 -0
  104. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +0 -0
  105. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py +0 -0
  106. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/shared/routers/workspace.py +0 -0
  107. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/__init__.py +0 -0
  108. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/base.py +0 -0
  109. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/env_service.py +0 -0
  110. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/environments/__init__.py +0 -0
  111. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py +0 -0
  112. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py +0 -0
  113. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py +0 -0
  114. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py +0 -0
  115. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/registry.py +0 -0
  116. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/src/trajectory.py +0 -0
  117. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/box/training_box/training_box.py +0 -0
  118. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/build.py +0 -0
  119. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/client/__init__.py +0 -0
  120. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/client/http_client.py +0 -0
  121. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/client/training_client.py +0 -0
  122. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/constant.py +0 -0
  123. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/custom/__init__.py +0 -0
  124. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/custom/custom_sandbox.py +0 -0
  125. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/custom/example.py +0 -0
  126. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/enums.py +0 -0
  127. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/__init__.py +0 -0
  128. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/__init__.py +0 -0
  129. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/base_mapping.py +0 -0
  130. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/base_queue.py +0 -0
  131. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/base_set.py +0 -0
  132. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py +0 -0
  133. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/in_memory_queue.py +0 -0
  134. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/in_memory_set.py +0 -0
  135. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/redis_mapping.py +0 -0
  136. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/redis_queue.py +0 -0
  137. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/collections/redis_set.py +0 -0
  138. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/container_clients/__init__.py +0 -0
  139. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/container_clients/base_client.py +0 -0
  140. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/container_clients/docker_client.py +0 -0
  141. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py +0 -0
  142. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/sandbox_manager.py +0 -0
  143. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/server/__init__.py +0 -0
  144. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/server/app.py +0 -0
  145. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/server/config.py +0 -0
  146. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/server/models.py +0 -0
  147. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/storage/__init__.py +0 -0
  148. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/storage/data_storage.py +0 -0
  149. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/storage/local_storage.py +0 -0
  150. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/manager/storage/oss_storage.py +0 -0
  151. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/mcp_server.py +0 -0
  152. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/model/__init__.py +0 -0
  153. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/model/api.py +0 -0
  154. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/model/container.py +0 -0
  155. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/model/manager_config.py +0 -0
  156. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/registry.py +0 -0
  157. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/__init__.py +0 -0
  158. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/base/__init__.py +0 -0
  159. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/base/tool.py +0 -0
  160. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/browser/__init__.py +0 -0
  161. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/browser/tool.py +0 -0
  162. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/filesystem/__init__.py +0 -0
  163. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/filesystem/tool.py +0 -0
  164. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/function_tool.py +0 -0
  165. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/mcp_tool.py +0 -0
  166. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/sandbox_tool.py +0 -0
  167. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/tool.py +0 -0
  168. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime/sandbox/tools/utils.py +0 -0
  169. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/SOURCES.txt +0 -0
  170. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/dependency_links.txt +0 -0
  171. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/entry_points.txt +0 -0
  172. {agentscope_runtime-0.1.5b1 → agentscope_runtime-0.1.5b2}/src/agentscope_runtime.egg-info/requires.txt +0 -0
  173. {agentscope_runtime-0.1.5b1 → 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.5b1
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentscope-runtime"
3
- version = "0.1.5b1"
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"
@@ -60,6 +60,19 @@ def _parse_args() -> argparse.Namespace:
60
60
  default=None,
61
61
  help="Custom directory for temporary build artifacts (optional)",
62
62
  )
63
+ parser.add_argument(
64
+ "--update",
65
+ dest="agent_id",
66
+ default=None,
67
+ help="Update an existing agent. "
68
+ "Specify agent_id to update a particular agent (optional)",
69
+ )
70
+ parser.add_argument(
71
+ "--desc",
72
+ dest="agent_desc",
73
+ default=None,
74
+ help="Add description to current agent(optional)",
75
+ )
63
76
  return parser.parse_args()
64
77
 
65
78
 
@@ -72,6 +85,8 @@ async def _run(
72
85
  build_root: Optional[str],
73
86
  mode: str,
74
87
  whl_path: Optional[str],
88
+ agent_id: Optional[str],
89
+ agent_desc: Optional[str],
75
90
  ):
76
91
  deployer = ModelstudioDeployManager(build_root=build_root)
77
92
  # If a wheel path is provided, skip local build entirely
@@ -83,6 +98,8 @@ async def _run(
83
98
  skip_upload=skip_upload,
84
99
  telemetry_enabled=telemetry_enabled,
85
100
  external_whl_path=whl_path,
101
+ agent_id=agent_id,
102
+ agent_desc=agent_desc,
86
103
  )
87
104
 
88
105
  if mode == "native":
@@ -96,20 +113,25 @@ async def _run(
96
113
  skip_upload=skip_upload,
97
114
  telemetry_enabled=telemetry_enabled,
98
115
  external_whl_path=str(built_whl),
116
+ agent_id=agent_id,
117
+ agent_desc=agent_desc,
99
118
  )
100
119
 
101
120
  # wrapper mode (default): require dir and cmd
102
- if not dir_path or not cmd:
103
- raise SystemExit(
104
- "In wrapper mode, --dir and --cmd are required. Alternatively "
105
- "use --mode native or --whl-path.",
106
- )
121
+ if not agent_id:
122
+ if not dir_path or not cmd:
123
+ raise SystemExit(
124
+ "In wrapper mode, --dir and --cmd are required. Alternatively "
125
+ "use --mode native or --whl-path.",
126
+ )
107
127
  return await deployer.deploy(
108
128
  project_dir=dir_path,
109
129
  cmd=cmd,
110
130
  deploy_name=deploy_name,
111
131
  skip_upload=skip_upload,
112
132
  telemetry_enabled=telemetry_enabled,
133
+ agent_id=agent_id,
134
+ agent_desc=agent_desc,
113
135
  )
114
136
 
115
137
 
@@ -126,17 +148,36 @@ def main() -> None:
126
148
  build_root=args.build_root,
127
149
  mode=args.mode,
128
150
  whl_path=args.whl_path,
151
+ agent_id=args.agent_id,
152
+ agent_desc=args.agent_desc,
129
153
  ),
130
154
  )
131
155
  print("Built wheel at:", result.get("wheel_path", ""))
132
156
  if result.get("artifact_url"):
133
157
  print("Artifact URL:", result.get("artifact_url"))
134
- print("Deploy ID:", result.get("deploy_id"))
135
158
  print("Resource Name:", result.get("resource_name"))
136
159
  if result.get("workspace_id"):
137
160
  print("Workspace:", result.get("workspace_id"))
138
- if result.get("url"):
139
- print("Console Url:", result.get("url"))
161
+
162
+ console_url = result.get("url")
163
+ deploy_id = result.get("deploy_id")
164
+ if console_url and deploy_id:
165
+ title = "Deploy Result"
166
+ console_url_str = f"Console URL: {console_url}"
167
+ deploy_id_str = f"Deploy ID: {deploy_id}"
168
+ url_len = len(console_url_str)
169
+ box_width = max(url_len, len(title), 20)
170
+
171
+ # print title
172
+ print("")
173
+ print(title.center(box_width + 4))
174
+
175
+ # print content
176
+ print("┏" + "━" * (box_width + 2) + "┓")
177
+ print(f"┃ {console_url_str.ljust(box_width)} ┃")
178
+ print(f"┃ {deploy_id_str.ljust(box_width)} ┃")
179
+ print("┗" + "━" * (box_width + 2) + "┛")
180
+ print("")
140
181
 
141
182
 
142
183
  if __name__ == "__main__": # pragma: no cover
@@ -163,7 +163,24 @@ async def _oss_create_bucket_if_not_exists(client, bucket_name: str) -> None:
163
163
  storage_class="IA",
164
164
  ),
165
165
  )
166
- client.put_bucket(req)
166
+ try:
167
+ put_bucket_result = client.put_bucket(req)
168
+ logger.info(
169
+ f"put bucket status code: {put_bucket_result.status_code},"
170
+ f" request id: {put_bucket_result.request_id}",
171
+ )
172
+ except oss.exceptions.OperationError as e:
173
+ logger.error(
174
+ "OSS PutBucket failed: Http Status: %s, ErrorCode: %s, RequestId: %s, Message: %s",
175
+ getattr(e, "http_code", None),
176
+ getattr(e, "error_code", None),
177
+ getattr(e, "request_id", None),
178
+ getattr(e, "message", str(e)),
179
+ )
180
+ raise
181
+ except Exception as e:
182
+ logger.error("Unexpected put bucket failure: %s", e, exc_info=True)
183
+ raise
167
184
  result = client.put_bucket_tags(
168
185
  oss.PutBucketTagsRequest(
169
186
  bucket=bucket_name,
@@ -220,6 +237,8 @@ async def _modelstudio_deploy(
220
237
  file_url: str,
221
238
  filename: str,
222
239
  deploy_name: str,
240
+ agent_id: Optional[str] = None,
241
+ agent_desc: Optional[str] = None,
223
242
  telemetry_enabled: bool = True,
224
243
  ) -> str:
225
244
  cfg.ensure_valid()
@@ -230,6 +249,8 @@ async def _modelstudio_deploy(
230
249
  config.endpoint = cfg.endpoint
231
250
  client_modelstudio = ModelstudioClient(config)
232
251
  req = ModelstudioTypes.HighCodeDeployRequest(
252
+ agent_desc=agent_desc,
253
+ agent_id=agent_id,
233
254
  source_code_name=filename,
234
255
  source_code_oss_url=file_url,
235
256
  agent_name=deploy_name,
@@ -244,6 +265,10 @@ async def _modelstudio_deploy(
244
265
  runtime,
245
266
  )
246
267
 
268
+ # logger.info(json.dumps(resp.to_map(), indent=2, ensure_ascii=False))
269
+ request_id = resp.to_map()["headers"].get("x-acs-request-id")
270
+ logger.info("deploy request id: %s", request_id)
271
+
247
272
  # Extract deploy identifier string from response
248
273
  def _extract_deploy_identifier(response_obj) -> str:
249
274
  try:
@@ -473,14 +498,17 @@ class ModelstudioDeployManager(DeployManager):
473
498
  self,
474
499
  wheel_path: Path,
475
500
  name: str,
501
+ agent_id: Optional[str] = None,
502
+ agent_desc: Optional[str] = None,
476
503
  telemetry_enabled: bool = True,
477
- ) -> Tuple[str, str]:
504
+ ) -> Tuple[str, str, str]:
478
505
  logger.info("Uploading wheel to OSS and generating presigned URL")
479
506
  client = _oss_get_client(self.oss_config)
480
- bucket_name = (
481
- f"tmp-bucket-for-code-deployment-"
482
- f"{os.getenv('MODELSTUDIO_WORKSPACE_ID', str(uuid.uuid4()))}"
483
- )
507
+
508
+ bucket_suffix = (
509
+ os.getenv("MODELSTUDIO_WORKSPACE_ID", str(uuid.uuid4()))
510
+ ).lower()
511
+ bucket_name = (f"tmp-code-deploy-" f"{bucket_suffix}")[:63]
484
512
  await _oss_create_bucket_if_not_exists(client, bucket_name)
485
513
  filename = wheel_path.name
486
514
  with wheel_path.open("rb") as f:
@@ -494,6 +522,8 @@ class ModelstudioDeployManager(DeployManager):
494
522
 
495
523
  logger.info("Triggering Modelstudio Full-Code deploy for %s", name)
496
524
  deploy_identifier = await _modelstudio_deploy(
525
+ agent_desc=agent_desc,
526
+ agent_id=agent_id,
497
527
  cfg=self.modelstudio_config,
498
528
  file_url=artifact_url,
499
529
  filename=filename,
@@ -501,25 +531,24 @@ class ModelstudioDeployManager(DeployManager):
501
531
  telemetry_enabled=telemetry_enabled,
502
532
  )
503
533
 
504
- def _build_console_url(endpoint: str, identifier: str) -> str:
534
+ def _build_console_url(endpoint: str) -> str:
505
535
  # Map API endpoint to console domain (no fragment in base)
506
536
  base = (
507
- "https://pre-bailian.console.aliyun.com/?tab=app&efm_v=3.4.108#"
537
+ "https://pre-bailian.console.aliyun.com/?tab=app#"
508
538
  if ("bailian-pre" in endpoint or "pre" in endpoint)
509
- else "https://bailian.console.aliyun.com/?tab=app"
539
+ else "https://bailian.console.aliyun.com/?tab=app#"
510
540
  )
511
541
  # Optional query can be appended if needed; keep path clean
512
- return f"{base}/app-center/high-code-detail/{identifier}"
542
+ return f"{base}/app-center"
513
543
 
514
544
  console_url = (
515
545
  _build_console_url(
516
546
  self.modelstudio_config.endpoint,
517
- deploy_identifier,
518
547
  )
519
548
  if deploy_identifier
520
549
  else ""
521
550
  )
522
- return artifact_url, console_url
551
+ return artifact_url, console_url, deploy_identifier
523
552
 
524
553
  async def deploy(
525
554
  self,
@@ -538,6 +567,8 @@ class ModelstudioDeployManager(DeployManager):
538
567
  skip_upload: bool = False,
539
568
  telemetry_enabled: bool = True,
540
569
  external_whl_path: Optional[str] = None,
570
+ agent_id: Optional[str] = None,
571
+ agent_desc: Optional[str] = None,
541
572
  **kwargs,
542
573
  ) -> Dict[str, str]:
543
574
  """
@@ -546,8 +577,9 @@ class ModelstudioDeployManager(DeployManager):
546
577
  Returns a dict containing deploy_id, wheel_path, artifact_url (if uploaded),
547
578
  resource_name (deploy_name), and workspace_id.
548
579
  """
549
- if not runner and not project_dir and not external_whl_path:
550
- raise ValueError("")
580
+ if not agent_id:
581
+ if not runner and not project_dir and not external_whl_path:
582
+ raise ValueError("")
551
583
 
552
584
  # convert services_config to Model body
553
585
  if services_config and isinstance(services_config, dict):
@@ -567,10 +599,18 @@ class ModelstudioDeployManager(DeployManager):
567
599
  extra_packages=extra_packages,
568
600
  **kwargs,
569
601
  )
570
- self._generate_env_file(project_dir, environment)
602
+ if project_dir:
603
+ self._generate_env_file(project_dir, environment)
571
604
  cmd = "python main.py"
572
605
  deploy_name = deploy_name or default_deploy_name()
573
606
 
607
+ if agent_id:
608
+ if not external_whl_path:
609
+ raise FileNotFoundError(
610
+ "wheel file not found. "
611
+ "Please specify your .whl file path by "
612
+ "'--whl-path <whlpath>' in command line.",
613
+ )
574
614
  # if whl exists then skip the project package method
575
615
  if external_whl_path:
576
616
  wheel_path = Path(external_whl_path).resolve()
@@ -579,6 +619,9 @@ class ModelstudioDeployManager(DeployManager):
579
619
  f"External wheel file not found: {wheel_path}",
580
620
  )
581
621
  name = deploy_name or default_deploy_name()
622
+ # 如果是更新agent,且没有传deploy_name, 则不更新名字
623
+ if agent_id and (deploy_name is None):
624
+ name = None
582
625
  else:
583
626
  (
584
627
  wheel_path,
@@ -592,25 +635,33 @@ class ModelstudioDeployManager(DeployManager):
592
635
 
593
636
  artifact_url = ""
594
637
  console_url = ""
638
+ deploy_identifier = ""
595
639
  if not skip_upload:
596
640
  # Only require cloud SDKs and credentials when performing upload/deploy
597
641
  _assert_cloud_sdks_available()
598
642
  self.oss_config.ensure_valid()
599
643
  self.modelstudio_config.ensure_valid()
600
- artifact_url, console_url = await self._upload_and_deploy(
644
+ (
645
+ artifact_url,
646
+ console_url,
647
+ deploy_identifier,
648
+ ) = await self._upload_and_deploy(
601
649
  wheel_path,
602
650
  name,
651
+ agent_id,
652
+ agent_desc,
603
653
  telemetry_enabled,
604
654
  )
605
655
 
606
656
  result: Dict[str, str] = {
607
- "deploy_id": self.deploy_id,
608
657
  "wheel_path": str(wheel_path),
609
658
  "artifact_url": artifact_url,
610
659
  "resource_name": name,
611
660
  "workspace_id": self.modelstudio_config.workspace_id or "",
612
661
  "url": console_url,
613
662
  }
663
+ if deploy_identifier:
664
+ result["deploy_id"] = deploy_identifier
614
665
 
615
666
  return result
616
667
  except Exception as e:
@@ -103,12 +103,12 @@ class DockerImageBuilder:
103
103
  """
104
104
  if not os.path.exists(build_context):
105
105
  raise ValueError(f"Build context does not exist: {build_context}")
106
-
107
106
  config = config or BuildConfig()
108
107
  full_image_name = self.get_full_name(image_name, image_tag)
109
108
 
110
- if not source_updated:
111
- return full_image_name
109
+ # if not source_updated:
110
+ # return full_image_name
111
+ logger.info(f"Source Updated: {source_updated}")
112
112
 
113
113
  # Prepare docker build command
114
114
  build_cmd = ["docker", "build", "-t", full_image_name]
@@ -1,2 +1,2 @@
1
1
  # -*- coding: utf-8 -*-
2
- __version__ = "0.1.5b1"
2
+ __version__ = "0.1.5b2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentscope-runtime
3
- Version: 0.1.5b1
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