agentscope-runtime 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl
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.
- agentscope_runtime/engine/services/context_manager.py +28 -1
- agentscope_runtime/engine/services/rag_service.py +101 -0
- agentscope_runtime/sandbox/box/training_box/env_service.py +1 -1
- agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py +216 -0
- agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py +380 -0
- agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py +934 -0
- agentscope_runtime/sandbox/box/training_box/training_box.py +139 -9
- agentscope_runtime/sandbox/enums.py +2 -0
- agentscope_runtime/sandbox/manager/container_clients/docker_client.py +19 -9
- agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py +61 -6
- agentscope_runtime/sandbox/manager/sandbox_manager.py +95 -35
- agentscope_runtime/sandbox/manager/server/app.py +41 -4
- agentscope_runtime/sandbox/model/__init__.py +1 -5
- agentscope_runtime/sandbox/model/manager_config.py +2 -13
- agentscope_runtime/version.py +1 -1
- {agentscope_runtime-0.1.1.dist-info → agentscope_runtime-0.1.2.dist-info}/METADATA +6 -1
- {agentscope_runtime-0.1.1.dist-info → agentscope_runtime-0.1.2.dist-info}/RECORD +21 -17
- {agentscope_runtime-0.1.1.dist-info → agentscope_runtime-0.1.2.dist-info}/WHEEL +0 -0
- {agentscope_runtime-0.1.1.dist-info → agentscope_runtime-0.1.2.dist-info}/entry_points.txt +0 -0
- {agentscope_runtime-0.1.1.dist-info → agentscope_runtime-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {agentscope_runtime-0.1.1.dist-info → agentscope_runtime-0.1.2.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
from .container import ContainerModel
|
|
3
|
-
from .manager_config import
|
|
4
|
-
SandboxManagerEnvConfig,
|
|
5
|
-
DEFAULT_LOCAL_MANAGER_CONFIG,
|
|
6
|
-
)
|
|
3
|
+
from .manager_config import SandboxManagerEnvConfig
|
|
7
4
|
|
|
8
5
|
__all__ = [
|
|
9
6
|
"ContainerModel",
|
|
10
7
|
"SandboxManagerEnvConfig",
|
|
11
|
-
"DEFAULT_LOCAL_MANAGER_CONFIG",
|
|
12
8
|
]
|
|
@@ -114,10 +114,8 @@ class SandboxManagerEnvConfig(BaseModel):
|
|
|
114
114
|
|
|
115
115
|
@model_validator(mode="after")
|
|
116
116
|
def check_settings(cls, self):
|
|
117
|
-
if
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
os.makedirs(self.default_mount_dir, exist_ok=True)
|
|
117
|
+
if self.default_mount_dir:
|
|
118
|
+
os.makedirs(self.default_mount_dir, exist_ok=True)
|
|
121
119
|
|
|
122
120
|
if self.file_system == "oss":
|
|
123
121
|
required_oss_fields = [
|
|
@@ -164,12 +162,3 @@ class SandboxManagerEnvConfig(BaseModel):
|
|
|
164
162
|
)
|
|
165
163
|
|
|
166
164
|
return self
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
DEFAULT_LOCAL_MANAGER_CONFIG = SandboxManagerEnvConfig(
|
|
170
|
-
file_system="local",
|
|
171
|
-
redis_enabled=False,
|
|
172
|
-
container_deployment="docker",
|
|
173
|
-
pool_size=0,
|
|
174
|
-
default_mount_dir="sessions_mount_dir",
|
|
175
|
-
)
|
agentscope_runtime/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
__version__ = "v0.1.
|
|
2
|
+
__version__ = "v0.1.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentscope-runtime
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
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
|
|
@@ -40,6 +40,11 @@ Requires-Dist: a2a-sdk>=0.3.0; extra == "a2a"
|
|
|
40
40
|
Provides-Extra: autogen
|
|
41
41
|
Requires-Dist: autogen-agentchat>=0.7.4; extra == "autogen"
|
|
42
42
|
Requires-Dist: autogen-ext[openai]>=0.7.4; extra == "autogen"
|
|
43
|
+
Provides-Extra: langchain-rag
|
|
44
|
+
Requires-Dist: langchain>=0.3.25; extra == "langchain-rag"
|
|
45
|
+
Requires-Dist: pymilvus>=2.6.0; extra == "langchain-rag"
|
|
46
|
+
Requires-Dist: langchain-community>=0.3.27; extra == "langchain-rag"
|
|
47
|
+
Requires-Dist: langchain-milvus>=0.2.1; extra == "langchain-rag"
|
|
43
48
|
Dynamic: license-file
|
|
44
49
|
|
|
45
50
|
<div align="center">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
agentscope_runtime/__init__.py,sha256=LMAUeUpPo2qzqh3zyZ-JJwc8GrsiT9b-yNhQMxlKmfE,84
|
|
2
|
-
agentscope_runtime/version.py,sha256=
|
|
2
|
+
agentscope_runtime/version.py,sha256=pjOHhrefLzD0n2nmWmav13ebodq8-tis_BR3y2DzMgA,47
|
|
3
3
|
agentscope_runtime/engine/__init__.py,sha256=jsvYM1LlZVP4EFzsE5uu5ycgBU9CVnug7UyTzBmpX5g,213
|
|
4
4
|
agentscope_runtime/engine/runner.py,sha256=HhOjfAgao-b5vzSZh6pckVhx0K32qs868dvRE3Z56TA,5686
|
|
5
5
|
agentscope_runtime/engine/agents/__init__.py,sha256=xHp7FY6QM-nAhQAECi7xzrJkRkYZpAa5_zHRhO6Zogc,54
|
|
@@ -30,10 +30,11 @@ agentscope_runtime/engine/schemas/agent_schemas.py,sha256=N4uPXeL6v6lrCy7EiFo02V
|
|
|
30
30
|
agentscope_runtime/engine/schemas/context.py,sha256=Qd2ee4HCYNmD5VHsacrScdpNq8q2aJwsRtsrBZarI9M,1550
|
|
31
31
|
agentscope_runtime/engine/services/__init__.py,sha256=SAsmwIr8etoUbqz5W1K2pH5ONlFzooXMQ0UFXTXfHwM,271
|
|
32
32
|
agentscope_runtime/engine/services/base.py,sha256=g2hTc3ivj2MPjnsu5_09m6_MZ3KDHBfiYKu4F2pLA1I,2096
|
|
33
|
-
agentscope_runtime/engine/services/context_manager.py,sha256=
|
|
33
|
+
agentscope_runtime/engine/services/context_manager.py,sha256=93U0rBBDC6jwl_rARtCq7K-Q42zoVGxnxD7Xv1f5yo0,4947
|
|
34
34
|
agentscope_runtime/engine/services/environment_manager.py,sha256=Bd3vmgX5KkN9gTY60o7Pozpsw0S8etpSJns63woSlDU,1347
|
|
35
35
|
agentscope_runtime/engine/services/manager.py,sha256=r-TcHti8sEMXjZbwPWlG32J8iiMHUXuUJmAiwPvgn_Q,6282
|
|
36
36
|
agentscope_runtime/engine/services/memory_service.py,sha256=EHsvNPMXsH1B8LZY0zZKzYMvDHzaP18edKv9uimM98k,7889
|
|
37
|
+
agentscope_runtime/engine/services/rag_service.py,sha256=mqcKByt0t7MWA2m86vTyNhO-E49djZcPwAqb3GehQQM,2668
|
|
37
38
|
agentscope_runtime/engine/services/redis_memory_service.py,sha256=2A6ouYghs80jby_MUcwiKfCScmYUbIcYsMlmEMynuqg,5708
|
|
38
39
|
agentscope_runtime/engine/services/redis_session_history_service.py,sha256=Zo7H0QtUZRKXh07JHcvtZfmEqbmidEsTGkhGfk1aLQE,5042
|
|
39
40
|
agentscope_runtime/engine/services/sandbox_service.py,sha256=IzVg5BtDEfqFrVy7SnE3GDYXVXc0jzv9XIl0mFYHWDk,6082
|
|
@@ -46,7 +47,7 @@ agentscope_runtime/engine/tracing/wrapper.py,sha256=ioeKSRJDJgcW34OfFmAq7vgE0FNE
|
|
|
46
47
|
agentscope_runtime/sandbox/__init__.py,sha256=39NF3OdrBoUOje8gHI--cIgLMfY3ojm0JWYmGsEiWFU,378
|
|
47
48
|
agentscope_runtime/sandbox/build.py,sha256=rhcsHbDkcQgS4Hxv8z2Lsjp3LnheQyCCTbm3rkv80Tw,6439
|
|
48
49
|
agentscope_runtime/sandbox/constant.py,sha256=-CaSZkDPO2XQ70-PVymu4Z5Y7hlvdpPJ3zgP27MLvik,156
|
|
49
|
-
agentscope_runtime/sandbox/enums.py,sha256=
|
|
50
|
+
agentscope_runtime/sandbox/enums.py,sha256=zGSs3A3SsxjqmSrArn9qEWGO594cYahOHPnG8HHxpYk,1880
|
|
50
51
|
agentscope_runtime/sandbox/mcp_server.py,sha256=UT3aRZqyeHqEhhm-wZ0Ilhew3eDMHzz9DCN6Qb-eKFk,6012
|
|
51
52
|
agentscope_runtime/sandbox/registry.py,sha256=E4APDpk1oxhJCh8dEIDjZ1DtQJ-mPaRGYXr3AbTsnmc,4191
|
|
52
53
|
agentscope_runtime/sandbox/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -74,11 +75,14 @@ agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py,sha256=v4jAGYtJ
|
|
|
74
75
|
agentscope_runtime/sandbox/box/shared/routers/workspace.py,sha256=cQMbWNQG7ojHZfWN0xFqEivhlpQO4qEDo3amkhVHUBg,9748
|
|
75
76
|
agentscope_runtime/sandbox/box/training_box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
76
77
|
agentscope_runtime/sandbox/box/training_box/base.py,sha256=iUPsfA8oiGDR3BMVU7qisvO-UT8HtCx78ayW67DQ0WQ,3307
|
|
77
|
-
agentscope_runtime/sandbox/box/training_box/env_service.py,sha256=
|
|
78
|
+
agentscope_runtime/sandbox/box/training_box/env_service.py,sha256=YoMswhQrX8VmE202tpFq-bQo6gOd2oemBhTG_MD9Rwg,22616
|
|
78
79
|
agentscope_runtime/sandbox/box/training_box/registry.py,sha256=6fTMZvJbakhEqkaO61K-wIfX6uau7g4nFP63bQ7jiNI,1362
|
|
79
|
-
agentscope_runtime/sandbox/box/training_box/training_box.py,sha256=
|
|
80
|
+
agentscope_runtime/sandbox/box/training_box/training_box.py,sha256=yM1_Veorn2nwnxgAUB-6GZMp_1UKmus9-LpJQwKATxg,10200
|
|
80
81
|
agentscope_runtime/sandbox/box/training_box/environments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
81
82
|
agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py,sha256=FJc0eb6bnKL6lxx_4EKWr7kmKLi2jLsykNstecXEqkc,27786
|
|
83
|
+
agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py,sha256=jkg8wDwDXdZZU7q777tnyqc-C9hRlPF0pffJ4DX5upQ,7352
|
|
84
|
+
agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py,sha256=22hfq1yO5abZocG8FfaabCXD4HGg-RT_8AY1dHbtvxM,11878
|
|
85
|
+
agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py,sha256=T-W9w4nKI7_BXgF9caqV3KMeX5d6yvdfhQu0o2oWTUE,30114
|
|
82
86
|
agentscope_runtime/sandbox/box/training_box/src/trajectory.py,sha256=cFr3uVUPq5gHKPa6ALi7QCLBVkgYOyPgyJrOzgBHf3k,7885
|
|
83
87
|
agentscope_runtime/sandbox/client/__init__.py,sha256=KiNsTToc1jICqCC1BcH762jZgHuOkCPiG32oXGo6dQE,176
|
|
84
88
|
agentscope_runtime/sandbox/client/http_client.py,sha256=YqITjeq4fySWSDr39DAG80NpRfD0--Ndupr7hMqL7RA,17954
|
|
@@ -87,7 +91,7 @@ agentscope_runtime/sandbox/custom/__init__.py,sha256=wpu0DlzdLohYzOVM9yZloIWid3w
|
|
|
87
91
|
agentscope_runtime/sandbox/custom/custom_sandbox.py,sha256=2-HZRUlZcvv-YZh9NrHBByKamhVowwZ_drGJSAwKM8c,971
|
|
88
92
|
agentscope_runtime/sandbox/custom/example.py,sha256=ycKmuUHghmPTUYfEQW0AyG5SHt1Ggf3_NlAP5Z6OZAQ,931
|
|
89
93
|
agentscope_runtime/sandbox/manager/__init__.py,sha256=KNHc1uDaUWBH_ZnWjH5NHRBiQM_zDyi9B2xKVNtAWIg,98
|
|
90
|
-
agentscope_runtime/sandbox/manager/sandbox_manager.py,sha256=
|
|
94
|
+
agentscope_runtime/sandbox/manager/sandbox_manager.py,sha256=CTd5bd8EeRMoiL3PcPCW9HciNIWSU5XCe_5qI6IZjXk,23270
|
|
91
95
|
agentscope_runtime/sandbox/manager/collections/__init__.py,sha256=teQPF7huMB2yEX_CAFsmIJhQxH7ldHR7gr11W3jlx4o,582
|
|
92
96
|
agentscope_runtime/sandbox/manager/collections/base_mapping.py,sha256=IIVNwvaGVAiL6XxV0LvUHx-JmDvUc19iOGyRyAccMaI,361
|
|
93
97
|
agentscope_runtime/sandbox/manager/collections/base_queue.py,sha256=eCwb5eovwzSV83J_Nq3HX_4IQ8rjYw9wdeVRS5sRQHA,424
|
|
@@ -100,20 +104,20 @@ agentscope_runtime/sandbox/manager/collections/redis_queue.py,sha256=4MCIDs7SgSf
|
|
|
100
104
|
agentscope_runtime/sandbox/manager/collections/redis_set.py,sha256=eRCnMXc4hcDF2qyxFiNnrn2o4QjvtgDb6rEcblmV1o8,654
|
|
101
105
|
agentscope_runtime/sandbox/manager/container_clients/__init__.py,sha256=G5TTwLv_UgWUDwtwr6oohJXuGW3gAwxmgD1VhZH3zs8,225
|
|
102
106
|
agentscope_runtime/sandbox/manager/container_clients/base_client.py,sha256=_uvxRh65lbMNXDcHjq01aYuNUrcxRlNzRtRIPMgWFGc,992
|
|
103
|
-
agentscope_runtime/sandbox/manager/container_clients/docker_client.py,sha256=
|
|
104
|
-
agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py,sha256=
|
|
107
|
+
agentscope_runtime/sandbox/manager/container_clients/docker_client.py,sha256=rmm2mUDfot81kQ7H6O5fI0QHXvCDOsepUdlNnC5ouVU,13407
|
|
108
|
+
agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py,sha256=1LRlE53bfkGIFQxhZ5yGRAjqm9ilajmoNjLavCD8X5E,20884
|
|
105
109
|
agentscope_runtime/sandbox/manager/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
|
-
agentscope_runtime/sandbox/manager/server/app.py,sha256=
|
|
110
|
+
agentscope_runtime/sandbox/manager/server/app.py,sha256=JcIF8P8TRuVPkdaM2ibY8izNmBIo7Wv9ivifMYdCUSI,7874
|
|
107
111
|
agentscope_runtime/sandbox/manager/server/config.py,sha256=rIRKI_GHmyt3Wty_ujUya_vSw_ij-rRkerqiQPG_yzU,2423
|
|
108
112
|
agentscope_runtime/sandbox/manager/server/models.py,sha256=rCibF0HsotFcqsQVTSUoOTJCFQU3oqKvpOiWMWIRLyY,304
|
|
109
113
|
agentscope_runtime/sandbox/manager/storage/__init__.py,sha256=jGmpfXV1E2X7AqkGeF1xu1EHiSTvbH3TSIviLbKBFh4,210
|
|
110
114
|
agentscope_runtime/sandbox/manager/storage/data_storage.py,sha256=mGwf7LYbp_fRjLN9BZay6cm3eNziEdU6OlSBeFnIBMQ,475
|
|
111
115
|
agentscope_runtime/sandbox/manager/storage/local_storage.py,sha256=o6fkV-yUtBihhfZtLEdBUhF1K8_psSl92AWJFtYQxtk,1521
|
|
112
116
|
agentscope_runtime/sandbox/manager/storage/oss_storage.py,sha256=fIUxgOkOaH_1vlgWBnCM-e4UvD3xS_ycFe2yvSyXzBE,2970
|
|
113
|
-
agentscope_runtime/sandbox/model/__init__.py,sha256=
|
|
117
|
+
agentscope_runtime/sandbox/model/__init__.py,sha256=WoDOSD_67T-UkZdXOtJzwG4-0E8ABwUBJF6WSCs_sO0,182
|
|
114
118
|
agentscope_runtime/sandbox/model/api.py,sha256=Sjxw6DHkGa8Sp5dUU5kaajkHPj7eiX1EgFZk-zOPafM,400
|
|
115
119
|
agentscope_runtime/sandbox/model/container.py,sha256=w2X970bk0C7lLdpq0bk2BJzanVsEES6Btk1LdXWIp4I,1698
|
|
116
|
-
agentscope_runtime/sandbox/model/manager_config.py,sha256=
|
|
120
|
+
agentscope_runtime/sandbox/model/manager_config.py,sha256=P2T0lT_uVlyh2tOcTpJo-zsiS9J7eJ5Voipb9GMFHiw,5118
|
|
117
121
|
agentscope_runtime/sandbox/tools/__init__.py,sha256=ioRqvKFLma8Vq0ePwOR5MekijpcHs2USNYA4Dnr-e6M,287
|
|
118
122
|
agentscope_runtime/sandbox/tools/function_tool.py,sha256=mH4dq3M26pdk-XqxIm1wtsvQz5i8SXcP4Gz0-7_L7cQ,10309
|
|
119
123
|
agentscope_runtime/sandbox/tools/mcp_tool.py,sha256=yaEwWLeuLVxlZhhCXVHMxZPCod1bwGHo8W_rNkgKOpI,6063
|
|
@@ -126,9 +130,9 @@ agentscope_runtime/sandbox/tools/browser/__init__.py,sha256=gXQx3tXclYqAhPDrXb1-
|
|
|
126
130
|
agentscope_runtime/sandbox/tools/browser/tool.py,sha256=EJ-uhHX9oIb4Q-hXQhTS-7VRJ-AdCRWXb9HVdOQ5JAc,19206
|
|
127
131
|
agentscope_runtime/sandbox/tools/filesystem/__init__.py,sha256=AJK88YU0ceJe99H7T-on2tgaow4ujqGJ1jwv0sd1TtE,607
|
|
128
132
|
agentscope_runtime/sandbox/tools/filesystem/tool.py,sha256=CPsl4TMf76BOSQtG1dqDcVdymciKhMknIG5FffoI2Eg,9847
|
|
129
|
-
agentscope_runtime-0.1.
|
|
130
|
-
agentscope_runtime-0.1.
|
|
131
|
-
agentscope_runtime-0.1.
|
|
132
|
-
agentscope_runtime-0.1.
|
|
133
|
-
agentscope_runtime-0.1.
|
|
134
|
-
agentscope_runtime-0.1.
|
|
133
|
+
agentscope_runtime-0.1.2.dist-info/licenses/LICENSE,sha256=3MckDTgiTJ0E6cxo8FeamFVEFiwz3XJWsriuTtRJzxY,11337
|
|
134
|
+
agentscope_runtime-0.1.2.dist-info/METADATA,sha256=DIu328pONBuGKlDk9PQzw74ROl3ab7aqZ1811nOStD0,15012
|
|
135
|
+
agentscope_runtime-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
136
|
+
agentscope_runtime-0.1.2.dist-info/entry_points.txt,sha256=SGQZqgozJYj1yJtiyzqiJ2_iYmDvTl2lexxmXENY3wE,223
|
|
137
|
+
agentscope_runtime-0.1.2.dist-info/top_level.txt,sha256=0YHketA7WcMmRmF-3lUzedeTOnP7iL77h-ekb-iG720,19
|
|
138
|
+
agentscope_runtime-0.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|