agentscope-runtime 1.0.1__py3-none-any.whl → 1.0.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/adapters/agentscope/message.py +32 -7
- agentscope_runtime/adapters/agentscope/stream.py +121 -91
- agentscope_runtime/adapters/agno/__init__.py +0 -0
- agentscope_runtime/adapters/agno/message.py +30 -0
- agentscope_runtime/adapters/agno/stream.py +122 -0
- agentscope_runtime/adapters/langgraph/__init__.py +12 -0
- agentscope_runtime/adapters/langgraph/message.py +257 -0
- agentscope_runtime/adapters/langgraph/stream.py +205 -0
- agentscope_runtime/cli/__init__.py +7 -0
- agentscope_runtime/cli/cli.py +63 -0
- agentscope_runtime/cli/commands/__init__.py +2 -0
- agentscope_runtime/cli/commands/chat.py +815 -0
- agentscope_runtime/cli/commands/deploy.py +1062 -0
- agentscope_runtime/cli/commands/invoke.py +58 -0
- agentscope_runtime/cli/commands/list_cmd.py +103 -0
- agentscope_runtime/cli/commands/run.py +176 -0
- agentscope_runtime/cli/commands/sandbox.py +128 -0
- agentscope_runtime/cli/commands/status.py +60 -0
- agentscope_runtime/cli/commands/stop.py +185 -0
- agentscope_runtime/cli/commands/web.py +166 -0
- agentscope_runtime/cli/loaders/__init__.py +6 -0
- agentscope_runtime/cli/loaders/agent_loader.py +295 -0
- agentscope_runtime/cli/state/__init__.py +10 -0
- agentscope_runtime/cli/utils/__init__.py +18 -0
- agentscope_runtime/cli/utils/console.py +378 -0
- agentscope_runtime/cli/utils/validators.py +118 -0
- agentscope_runtime/engine/app/agent_app.py +7 -4
- agentscope_runtime/engine/deployers/__init__.py +1 -0
- agentscope_runtime/engine/deployers/agentrun_deployer.py +152 -22
- agentscope_runtime/engine/deployers/base.py +27 -2
- agentscope_runtime/engine/deployers/kubernetes_deployer.py +158 -31
- agentscope_runtime/engine/deployers/local_deployer.py +188 -25
- agentscope_runtime/engine/deployers/modelstudio_deployer.py +109 -18
- agentscope_runtime/engine/deployers/state/__init__.py +9 -0
- agentscope_runtime/engine/deployers/state/manager.py +388 -0
- agentscope_runtime/engine/deployers/state/schema.py +96 -0
- agentscope_runtime/engine/deployers/utils/build_cache.py +736 -0
- agentscope_runtime/engine/deployers/utils/detached_app.py +105 -30
- agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +31 -10
- agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +15 -8
- agentscope_runtime/engine/deployers/utils/docker_image_utils/image_factory.py +30 -2
- agentscope_runtime/engine/deployers/utils/k8s_utils.py +241 -0
- agentscope_runtime/engine/deployers/utils/package.py +56 -6
- agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +16 -2
- agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +155 -5
- agentscope_runtime/engine/deployers/utils/wheel_packager.py +107 -123
- agentscope_runtime/engine/runner.py +25 -6
- agentscope_runtime/engine/schemas/exception.py +580 -0
- agentscope_runtime/sandbox/box/mobile/mobile_sandbox.py +113 -39
- agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +20 -4
- agentscope_runtime/sandbox/utils.py +2 -0
- agentscope_runtime/version.py +1 -1
- {agentscope_runtime-1.0.1.dist-info → agentscope_runtime-1.0.2.dist-info}/METADATA +24 -7
- {agentscope_runtime-1.0.1.dist-info → agentscope_runtime-1.0.2.dist-info}/RECORD +58 -28
- {agentscope_runtime-1.0.1.dist-info → agentscope_runtime-1.0.2.dist-info}/entry_points.txt +1 -0
- {agentscope_runtime-1.0.1.dist-info → agentscope_runtime-1.0.2.dist-info}/WHEEL +0 -0
- {agentscope_runtime-1.0.1.dist-info → agentscope_runtime-1.0.2.dist-info}/licenses/LICENSE +0 -0
- {agentscope_runtime-1.0.1.dist-info → agentscope_runtime-1.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
import logging
|
|
3
|
-
import
|
|
3
|
+
import subprocess
|
|
4
4
|
import platform
|
|
5
5
|
from typing import Optional, List, Union
|
|
6
|
+
from urllib.parse import urlencode, urljoin
|
|
6
7
|
|
|
7
8
|
from agentscope_runtime.sandbox.box.sandbox import Sandbox
|
|
8
9
|
|
|
@@ -14,8 +15,34 @@ from ...constant import TIMEOUT
|
|
|
14
15
|
logger = logging.getLogger(__name__)
|
|
15
16
|
|
|
16
17
|
|
|
18
|
+
class MobileMixin:
|
|
19
|
+
@property
|
|
20
|
+
def mobile_url(self):
|
|
21
|
+
if not self.manager_api.check_health(identity=self.sandbox_id):
|
|
22
|
+
raise RuntimeError(f"Sandbox {self.sandbox_id} is not healthy")
|
|
23
|
+
|
|
24
|
+
info = self.get_info()
|
|
25
|
+
# 'path' and 'remote_path' are conceptually different:
|
|
26
|
+
# 'path' is used for local URLs,
|
|
27
|
+
# 'remote_path' for remote URLs. In this implementation,
|
|
28
|
+
# both point to "/websockify/".
|
|
29
|
+
# If the endpoints diverge in the future,
|
|
30
|
+
# update these values accordingly.
|
|
31
|
+
path = "/websockify/"
|
|
32
|
+
remote_path = "/websockify/"
|
|
33
|
+
params = {"password": info["runtime_token"]}
|
|
34
|
+
|
|
35
|
+
if self.base_url is None:
|
|
36
|
+
return urljoin(info["url"], path) + "?" + urlencode(params)
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
f"{self.base_url}/desktop/{self.sandbox_id}{remote_path}"
|
|
40
|
+
f"?{urlencode(params)}"
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
17
44
|
class HostPrerequisiteError(Exception):
|
|
18
|
-
"""
|
|
45
|
+
"""Exception raised when host prerequisites
|
|
19
46
|
for MobileSandbox are not met."""
|
|
20
47
|
|
|
21
48
|
|
|
@@ -27,7 +54,7 @@ class HostPrerequisiteError(Exception):
|
|
|
27
54
|
description="Mobile Sandbox",
|
|
28
55
|
runtime_config={"privileged": True},
|
|
29
56
|
)
|
|
30
|
-
class MobileSandbox(Sandbox):
|
|
57
|
+
class MobileSandbox(MobileMixin, Sandbox):
|
|
31
58
|
_host_check_done = False
|
|
32
59
|
|
|
33
60
|
def __init__( # pylint: disable=useless-parent-delegation
|
|
@@ -38,7 +65,7 @@ class MobileSandbox(Sandbox):
|
|
|
38
65
|
bearer_token: Optional[str] = None,
|
|
39
66
|
sandbox_type: SandboxType = SandboxType.MOBILE,
|
|
40
67
|
):
|
|
41
|
-
if not self.__class__._host_check_done:
|
|
68
|
+
if base_url is None and not self.__class__._host_check_done:
|
|
42
69
|
self._check_host_readiness()
|
|
43
70
|
self.__class__._host_check_done = True
|
|
44
71
|
|
|
@@ -65,36 +92,80 @@ class MobileSandbox(Sandbox):
|
|
|
65
92
|
"=========================================================",
|
|
66
93
|
)
|
|
67
94
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
95
|
+
os_type = platform.system()
|
|
96
|
+
if os_type == "Linux":
|
|
97
|
+
try:
|
|
98
|
+
result = subprocess.run(
|
|
99
|
+
["lsmod"],
|
|
100
|
+
capture_output=True,
|
|
101
|
+
text=True,
|
|
102
|
+
check=True,
|
|
103
|
+
)
|
|
104
|
+
loaded_modules = result.stdout
|
|
105
|
+
except (FileNotFoundError, subprocess.CalledProcessError):
|
|
106
|
+
loaded_modules = ""
|
|
107
|
+
logger.warning(
|
|
108
|
+
"Could not execute 'lsmod' to verify kernel modules.",
|
|
109
|
+
)
|
|
75
110
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
111
|
+
if "binder_linux" not in loaded_modules:
|
|
112
|
+
error_message = (
|
|
113
|
+
"\n========== HOST PREREQUISITE FAILED ==========\n"
|
|
114
|
+
"MobileSandbox requires specific kernel modules"
|
|
115
|
+
" that appear to be missing or not loaded.\n\n"
|
|
116
|
+
"To fix this, please run the following commands"
|
|
117
|
+
" on your Linux host:\n\n"
|
|
118
|
+
"## Install required kernel modules\n"
|
|
119
|
+
"sudo apt update"
|
|
120
|
+
" && sudo apt install -y linux-modules-extra-`uname -r`\n"
|
|
121
|
+
"sudo modprobe binder_linux"
|
|
122
|
+
' devices="binder,hwbinder,vndbinder"\n'
|
|
123
|
+
"## (Optional) Load the ashmem driver for older kernels\n"
|
|
124
|
+
"sudo modprobe ashmem_linux\n"
|
|
125
|
+
"=================================================="
|
|
126
|
+
)
|
|
127
|
+
raise HostPrerequisiteError(error_message)
|
|
79
128
|
|
|
80
|
-
|
|
129
|
+
if os_type == "Windows":
|
|
130
|
+
try:
|
|
131
|
+
result = subprocess.run(
|
|
132
|
+
["wsl", "lsmod"],
|
|
133
|
+
capture_output=True,
|
|
134
|
+
text=True,
|
|
135
|
+
check=True,
|
|
136
|
+
encoding="utf-8",
|
|
137
|
+
)
|
|
138
|
+
loaded_modules = result.stdout
|
|
139
|
+
except (FileNotFoundError, subprocess.CalledProcessError):
|
|
140
|
+
loaded_modules = ""
|
|
141
|
+
logger.warning(
|
|
142
|
+
"Could not execute 'wsl lsmod' to verify kernel modules.",
|
|
143
|
+
)
|
|
144
|
+
|
|
145
|
+
if "binder_linux" not in loaded_modules:
|
|
81
146
|
error_message = (
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"To fix this, please
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
"2.
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
147
|
+
"\n========== HOST PREREQUISITE FAILED ==========\n"
|
|
148
|
+
"MobileSandbox on Windows requires Docker Desktop "
|
|
149
|
+
"with the WSL 2 backend.\n"
|
|
150
|
+
"The required kernel modules seem to be missing "
|
|
151
|
+
"in your WSL 2 environment.\n\n"
|
|
152
|
+
"To fix this, please follow these steps:\n\n"
|
|
153
|
+
"1. **Ensure Docker Desktop is using WSL 2**:\n"
|
|
154
|
+
" - Open Docker Desktop -> Settings -> General.\n"
|
|
155
|
+
" - Make sure 'Use the WSL 2 based engine' "
|
|
156
|
+
"is checked.\n\n"
|
|
157
|
+
"2. **Ensure WSL is installed and updated**:\n"
|
|
158
|
+
" - Open PowerShell or Command Prompt "
|
|
159
|
+
"as Administrator.\n"
|
|
160
|
+
" - Run: wsl --install\n"
|
|
161
|
+
" - Run: wsl --update\n"
|
|
162
|
+
" (An update usually installs a recent Linux kernel "
|
|
163
|
+
"with the required modules.)\n\n"
|
|
164
|
+
"3. **Verify manually (Optional)**:\n"
|
|
165
|
+
" - After updating, run 'wsl lsmod | findstr binder' "
|
|
166
|
+
"in your terminal.\n"
|
|
167
|
+
" - If it shows 'binder_linux', "
|
|
168
|
+
"the issue should be resolved.\n"
|
|
98
169
|
"=================================================="
|
|
99
170
|
)
|
|
100
171
|
raise HostPrerequisiteError(error_message)
|
|
@@ -157,14 +228,17 @@ class MobileSandbox(Sandbox):
|
|
|
157
228
|
"""Get the screen resolution of the connected mobile device."""
|
|
158
229
|
return self.call_tool("adb", {"action": "get_screen_resolution"})
|
|
159
230
|
|
|
160
|
-
def mobile_tap(self,
|
|
231
|
+
def mobile_tap(self, coordinate: List[int]):
|
|
161
232
|
"""Tap a specific coordinate on the screen.
|
|
162
233
|
|
|
163
234
|
Args:
|
|
164
|
-
|
|
165
|
-
|
|
235
|
+
coordinate (List[int]):
|
|
236
|
+
The screen coordinates for the tap location.
|
|
166
237
|
"""
|
|
167
|
-
return self.call_tool(
|
|
238
|
+
return self.call_tool(
|
|
239
|
+
"adb",
|
|
240
|
+
{"action": "tap", "coordinate": coordinate},
|
|
241
|
+
)
|
|
168
242
|
|
|
169
243
|
def mobile_swipe(
|
|
170
244
|
self,
|
|
@@ -177,11 +251,11 @@ class MobileSandbox(Sandbox):
|
|
|
177
251
|
from a start point to an end point.
|
|
178
252
|
|
|
179
253
|
Args:
|
|
180
|
-
start (
|
|
254
|
+
start (List[int]):
|
|
181
255
|
The starting coordinates [x, y] in pixels.
|
|
182
|
-
end (
|
|
256
|
+
end (List[int]):
|
|
183
257
|
The ending coordinates [x, y] in pixels.
|
|
184
|
-
duration (int
|
|
258
|
+
duration (Optional[int]):
|
|
185
259
|
The duration of the swipe in milliseconds.
|
|
186
260
|
"""
|
|
187
261
|
return self.call_tool(
|
|
@@ -206,7 +280,7 @@ class MobileSandbox(Sandbox):
|
|
|
206
280
|
"""Send an Android key event to the device.
|
|
207
281
|
|
|
208
282
|
Args:
|
|
209
|
-
code (int
|
|
283
|
+
code (Union[int, str]): The key event code (e.g., 3 for HOME) or a
|
|
210
284
|
string representation (e.g., 'HOME', 'BACK').
|
|
211
285
|
"""
|
|
212
286
|
return self.call_tool("adb", {"action": "key_event", "code": code})
|
|
@@ -5,6 +5,7 @@ import os
|
|
|
5
5
|
import shutil
|
|
6
6
|
import traceback
|
|
7
7
|
from contextlib import AsyncExitStack
|
|
8
|
+
from datetime import timedelta
|
|
8
9
|
from typing import Any
|
|
9
10
|
|
|
10
11
|
from mcp import ClientSession, StdioServerParameters
|
|
@@ -16,6 +17,18 @@ logging.basicConfig(level=logging.INFO)
|
|
|
16
17
|
logger = logging.getLogger(__name__)
|
|
17
18
|
|
|
18
19
|
|
|
20
|
+
def _coerce_timedelta(value: Any, default: timedelta) -> timedelta:
|
|
21
|
+
"""Normalize timeout values to timedelta for MCP client compatibility."""
|
|
22
|
+
if value is None:
|
|
23
|
+
return default
|
|
24
|
+
if isinstance(value, timedelta):
|
|
25
|
+
return value
|
|
26
|
+
try:
|
|
27
|
+
return timedelta(seconds=float(value))
|
|
28
|
+
except (TypeError, ValueError):
|
|
29
|
+
return default
|
|
30
|
+
|
|
31
|
+
|
|
19
32
|
class MCPSessionHandler:
|
|
20
33
|
"""Manages MCP server connections and tool execution."""
|
|
21
34
|
|
|
@@ -57,10 +70,13 @@ class MCPSessionHandler:
|
|
|
57
70
|
streamablehttp_client(
|
|
58
71
|
url=self.config["url"],
|
|
59
72
|
headers=self.config.get("headers"),
|
|
60
|
-
timeout=
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
73
|
+
timeout=_coerce_timedelta(
|
|
74
|
+
self.config.get("timeout"),
|
|
75
|
+
default=timedelta(seconds=30),
|
|
76
|
+
),
|
|
77
|
+
sse_read_timeout=_coerce_timedelta(
|
|
78
|
+
self.config.get("sse_read_timeout"),
|
|
79
|
+
default=timedelta(seconds=60 * 5),
|
|
64
80
|
),
|
|
65
81
|
),
|
|
66
82
|
)
|
|
@@ -75,6 +75,8 @@ def dynamic_import(ext: str):
|
|
|
75
75
|
if os.path.isfile(ext):
|
|
76
76
|
module_name = os.path.splitext(os.path.basename(ext))[0]
|
|
77
77
|
spec = importlib.util.spec_from_file_location(module_name, ext)
|
|
78
|
+
if spec is None or spec.loader is None:
|
|
79
|
+
raise ImportError(f"Failed to import module from file: {ext}")
|
|
78
80
|
module = importlib.util.module_from_spec(spec)
|
|
79
81
|
spec.loader.exec_module(module)
|
|
80
82
|
return module
|
agentscope_runtime/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
__version__ = "v1.0.
|
|
2
|
+
__version__ = "v1.0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentscope-runtime
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.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
|
|
@@ -26,6 +26,8 @@ Requires-Dist: psutil
|
|
|
26
26
|
Requires-Dist: dashscope>=1.25.0
|
|
27
27
|
Requires-Dist: jsonref
|
|
28
28
|
Requires-Dist: asgiref
|
|
29
|
+
Requires-Dist: click>=8.0.0
|
|
30
|
+
Requires-Dist: rich>=13.0.0
|
|
29
31
|
Provides-Extra: dev
|
|
30
32
|
Requires-Dist: pytest>=8.3.5; extra == "dev"
|
|
31
33
|
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
|
|
@@ -37,9 +39,11 @@ Requires-Dist: fakeredis>=2.31.0; extra == "dev"
|
|
|
37
39
|
Requires-Dist: sphinx-autoapi>=3.6.0; extra == "dev"
|
|
38
40
|
Requires-Dist: pytest-mock>=3.15.1; extra == "dev"
|
|
39
41
|
Requires-Dist: sphinxcontrib-mermaid>=1.2.3; extra == "dev"
|
|
40
|
-
Requires-Dist: langgraph>=0.4.0; extra == "dev"
|
|
41
|
-
Requires-Dist: autogen-agentchat>=0.7.0; extra == "dev"
|
|
42
42
|
Provides-Extra: ext
|
|
43
|
+
Requires-Dist: langchain>=1.1.3; extra == "ext"
|
|
44
|
+
Requires-Dist: langchain_openai>=1.0.1; extra == "ext"
|
|
45
|
+
Requires-Dist: langgraph>=1.0.4; extra == "ext"
|
|
46
|
+
Requires-Dist: autogen-agentchat>=0.7.0; extra == "ext"
|
|
43
47
|
Requires-Dist: reme-ai>=0.2.0.2; extra == "ext"
|
|
44
48
|
Requires-Dist: mem0ai>=0.1.117; extra == "ext"
|
|
45
49
|
Requires-Dist: alibabacloud-agentrun20250910>=2.0.1; extra == "ext"
|
|
@@ -61,6 +65,7 @@ Requires-Dist: setuptools>=40.8.0; extra == "ext"
|
|
|
61
65
|
Requires-Dist: wheel; extra == "ext"
|
|
62
66
|
Requires-Dist: alibabacloud-credentials; extra == "ext"
|
|
63
67
|
Requires-Dist: PyYAML; extra == "ext"
|
|
68
|
+
Requires-Dist: agno>=2.3.8; extra == "ext"
|
|
64
69
|
Dynamic: license-file
|
|
65
70
|
|
|
66
71
|
<div align="center">
|
|
@@ -71,6 +76,7 @@ Dynamic: license-file
|
|
|
71
76
|
[](https://pypi.org/project/agentscope-runtime/)
|
|
72
77
|
[](https://pepy.tech/project/agentscope-runtime)
|
|
73
78
|
[](https://python.org)
|
|
79
|
+
[](https://github.com/agentscope-ai/agentscope-runtime)
|
|
74
80
|
[](LICENSE)
|
|
75
81
|
[](https://github.com/psf/black)
|
|
76
82
|
[](https://github.com/agentscope-ai/agentscope-runtime/stargazers)
|
|
@@ -114,7 +120,15 @@ Dynamic: license-file
|
|
|
114
120
|
|
|
115
121
|
> [!NOTE]
|
|
116
122
|
>
|
|
117
|
-
> **About Framework-Agnostic**: Currently, AgentScope Runtime supports the **AgentScope** framework. We plan to extend compatibility to more agent development frameworks in the future.
|
|
123
|
+
> **About Framework-Agnostic**: Currently, AgentScope Runtime supports the **AgentScope** framework. We plan to extend compatibility to more agent development frameworks in the future. This table shows the current version’s adapter support for different frameworks. The level of support for each functionality varies across frameworks:
|
|
124
|
+
>
|
|
125
|
+
> | Framework/Feature | Message/Event | Tool | Service |
|
|
126
|
+
> | ------------------------------------------------------------ | ------------- | ---- | ------- |
|
|
127
|
+
> | AgentScope | ✅ | ✅ | ✅ |
|
|
128
|
+
> | [LangGraph](https://runtime.agentscope.io/en/langgraph_guidelines.html) | ✅ | 🚧 | 🚧 |
|
|
129
|
+
> | AutoGen | 🚧 | ✅ | 🚧 |
|
|
130
|
+
> | Microsoft Agent Framework | 🚧 | 🚧 | 🚧 |
|
|
131
|
+
> | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ | 🚧 |
|
|
118
132
|
|
|
119
133
|
---
|
|
120
134
|
|
|
@@ -124,7 +138,7 @@ Welcome to join our community on
|
|
|
124
138
|
|
|
125
139
|
| [Discord](https://discord.gg/eYMpfnkG8h) | DingTalk |
|
|
126
140
|
| ------------------------------------------------------------ | ------------------------------------------------------------ |
|
|
127
|
-
| <img src="https://gw.alicdn.com/imgextra/i1/O1CN01hhD1mu1Dd3BWVUvxN_!!6000000000238-2-tps-400-400.png" width="100" height="100"> | <img src="https://img.alicdn.com/imgextra/
|
|
141
|
+
| <img src="https://gw.alicdn.com/imgextra/i1/O1CN01hhD1mu1Dd3BWVUvxN_!!6000000000238-2-tps-400-400.png" width="100" height="100"> | <img src="https://img.alicdn.com/imgextra/i4/O1CN014mhqFq1ZlgNuYjxrz_!!6000000003235-2-tps-400-400.png" width="100" height="100"> |
|
|
128
142
|
|
|
129
143
|
---
|
|
130
144
|
|
|
@@ -389,6 +403,8 @@ with FilesystemSandbox() as box:
|
|
|
389
403
|
|
|
390
404
|
Provides a **sandboxed Android emulator environment** that allows executing various mobile operations, such as tapping, swiping, inputting text, and taking screenshots.
|
|
391
405
|
|
|
406
|
+
<img src="https://img.alicdn.com/imgextra/i4/O1CN01yPnBC21vOi45fLy7V_!!6000000006163-2-tps-544-865.png" alt="Mobile Sandbox" height="500">
|
|
407
|
+
|
|
392
408
|
##### Prerequisites
|
|
393
409
|
|
|
394
410
|
- **Linux Host**:
|
|
@@ -410,7 +426,7 @@ with MobileSandbox() as box:
|
|
|
410
426
|
# By default, pulls 'agentscope/runtime-sandbox-mobile:latest' from DockerHub
|
|
411
427
|
print(box.list_tools()) # List all available tools
|
|
412
428
|
print(box.mobile_get_screen_resolution()) # Get the screen resolution
|
|
413
|
-
print(box.mobile_tap(
|
|
429
|
+
print(box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
|
|
414
430
|
print(box.mobile_input_text("Hello from AgentScope!")) # Input text
|
|
415
431
|
print(box.mobile_key_event(3)) # Sends a HOME key event (KeyCode: 3)
|
|
416
432
|
screenshot_result = box.mobile_get_screenshot() # Get the current screenshot
|
|
@@ -636,7 +652,7 @@ limitations under the License.
|
|
|
636
652
|
|
|
637
653
|
## Contributors ✨
|
|
638
654
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
639
|
-
[](#contributors-)
|
|
640
656
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
641
657
|
|
|
642
658
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
|
|
@@ -678,6 +694,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
|
|
|
678
694
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/XiuShenAl"><img src="https://avatars.githubusercontent.com/u/242360128?v=4?s=100" width="100px;" alt="XiuShenAl"/><br /><sub><b>XiuShenAl</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=XiuShenAl" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=XiuShenAl" title="Documentation">📖</a></td>
|
|
679
695
|
<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>
|
|
680
696
|
<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
|
+
<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>
|
|
681
698
|
</tr>
|
|
682
699
|
</tbody>
|
|
683
700
|
<tfoot>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
agentscope_runtime/__init__.py,sha256=LMAUeUpPo2qzqh3zyZ-JJwc8GrsiT9b-yNhQMxlKmfE,84
|
|
2
|
-
agentscope_runtime/version.py,sha256=
|
|
2
|
+
agentscope_runtime/version.py,sha256=1WRwjmkMrY3KYF9w0Q4ng-38_Fa1JzKPFaY6gFkzDgY,47
|
|
3
3
|
agentscope_runtime/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
agentscope_runtime/adapters/agentscope/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
agentscope_runtime/adapters/agentscope/message.py,sha256=
|
|
6
|
-
agentscope_runtime/adapters/agentscope/stream.py,sha256=
|
|
5
|
+
agentscope_runtime/adapters/agentscope/message.py,sha256=Bhb3V6TOv8s9uAhuZSl7uN728bFvnDzRYqejs0u_bNU,23057
|
|
6
|
+
agentscope_runtime/adapters/agentscope/stream.py,sha256=qYwLT3z82OsMM6vaQt07VVB3nQSxGgGJ178mTmGdgg0,23181
|
|
7
7
|
agentscope_runtime/adapters/agentscope/long_term_memory/__init__.py,sha256=Hg4ghENb8u49svojY_q89HEjKImvLjKMQwmL8Y3wGgE,135
|
|
8
8
|
agentscope_runtime/adapters/agentscope/long_term_memory/_long_term_memory_adapter.py,sha256=dwUS6-xvn9g4VlVcHL89gCbHjdw-VWKEBNpVkmzUAgE,7873
|
|
9
9
|
agentscope_runtime/adapters/agentscope/memory/__init__.py,sha256=zqVxvsJv1t1mjJKdOjtP6dUGNOrc0LLwZx_yZCNq7Xs,137
|
|
@@ -11,11 +11,35 @@ agentscope_runtime/adapters/agentscope/memory/_memory_adapter.py,sha256=DDyhzzT2
|
|
|
11
11
|
agentscope_runtime/adapters/agentscope/tool/__init__.py,sha256=wrBKu2FidSJuGBuhy2BEG0Xy9J9pZldtHxsKBs3iWQ0,249
|
|
12
12
|
agentscope_runtime/adapters/agentscope/tool/sandbox_tool.py,sha256=amwtmhtCXDw9TVMUNFiFakNsfj3pp4fllHCBEXzvSEE,2002
|
|
13
13
|
agentscope_runtime/adapters/agentscope/tool/tool.py,sha256=rgANo-1fByWIlyQk1Bmhscas3QVCVgDuSLMT1XFX76M,7235
|
|
14
|
+
agentscope_runtime/adapters/agno/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
+
agentscope_runtime/adapters/agno/message.py,sha256=p9PyXgPtGrv9lkoQO8X8RRvoEGYG5d9AbflSZ_t5AYk,870
|
|
16
|
+
agentscope_runtime/adapters/agno/stream.py,sha256=CMNEBtdnsoqG15cJjEnce1wyCCyzApI5TDGgAvledi4,3835
|
|
14
17
|
agentscope_runtime/adapters/autogen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
18
|
agentscope_runtime/adapters/autogen/tool/__init__.py,sha256=FJXusI2gPKYOuAIN_eqMIPUxnJ34_NCPwtScTKosrWM,152
|
|
16
19
|
agentscope_runtime/adapters/autogen/tool/tool.py,sha256=NFSitBvL5uP3sVwHQfxprbsG6B39SmDVlT2vHTguUII,6587
|
|
20
|
+
agentscope_runtime/adapters/langgraph/__init__.py,sha256=yLNYabjNXn6BgIVdWCP7m3DOqzqOFsVm_Qu1FV5MyeU,309
|
|
21
|
+
agentscope_runtime/adapters/langgraph/message.py,sha256=T2RNsrhCSkyelo4NRZeZf7abK1iK8VvpyEWUunS_XZQ,9267
|
|
22
|
+
agentscope_runtime/adapters/langgraph/stream.py,sha256=MB5NE2bx9hE-TYLwW5jwepZBRAuJ_TLAGYVSejskdo8,7974
|
|
17
23
|
agentscope_runtime/adapters/text/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
24
|
agentscope_runtime/adapters/text/stream.py,sha256=qtk-WIj8itvOUZO0IHzNPBNWX4V5Dm13nhsNlDyYWKc,682
|
|
25
|
+
agentscope_runtime/cli/__init__.py,sha256=aAc30JEk1UNLLmxcQeTiNMJXbFczjym4Oses4ULIsFI,181
|
|
26
|
+
agentscope_runtime/cli/cli.py,sha256=_STqVMgRSaOa0GhWQDSMYEDY3r3yAHmEXbfk1Zfjb6s,1431
|
|
27
|
+
agentscope_runtime/cli/commands/__init__.py,sha256=MylJNzS3HeGgqekkD0pYg5MALiK_GK7pDArFXZDF9pk,59
|
|
28
|
+
agentscope_runtime/cli/commands/chat.py,sha256=Ttm62VpgSEe_GMLWqfewGfnt33ZZNlZ0nITUn3IBWEE,29776
|
|
29
|
+
agentscope_runtime/cli/commands/deploy.py,sha256=AIN7c1XKMiKRX4DR02W6kZcf1M4ccNMrYzfTzs-zvxs,32408
|
|
30
|
+
agentscope_runtime/cli/commands/invoke.py,sha256=4AYswJ7ErPAlX-gWGhFRUBiwOXeuPl0fa_Dha6edqGY,1381
|
|
31
|
+
agentscope_runtime/cli/commands/list_cmd.py,sha256=SZTx58e323u_agtZJJfbzgfD1srk_qW0R-uWKd4Ifiw,2581
|
|
32
|
+
agentscope_runtime/cli/commands/run.py,sha256=L8F8Ph0RFA_QPcF7flrdEWHJK8nYuFoTtUDH4qdg5Xo,5139
|
|
33
|
+
agentscope_runtime/cli/commands/sandbox.py,sha256=2FNbc9AbkvOCO_L2NXUW2cEJleSC363NKL6MPC3PrDY,3374
|
|
34
|
+
agentscope_runtime/cli/commands/status.py,sha256=_O5iT5KD6c0BhSx2XLIu2qJTOpL3VDuyiMTnN0PPeGQ,1479
|
|
35
|
+
agentscope_runtime/cli/commands/stop.py,sha256=hv75KBmVWvEGVBmTdf3_OGXkcvOFeiPw6X3nS8NoGYA,5637
|
|
36
|
+
agentscope_runtime/cli/commands/web.py,sha256=LFmikdKLgRwW-gH2yaSJ8k6egbq8RHdLIHNst6yV9qw,4686
|
|
37
|
+
agentscope_runtime/cli/loaders/__init__.py,sha256=fqNkqPt2nCGL1iW3Ga2tFFlfk_kiLWzxeMQEFIUJjgA,151
|
|
38
|
+
agentscope_runtime/cli/loaders/agent_loader.py,sha256=WS8ruZ6qc2LhDSo0zesqOpuBAmTlu7-SEve3fmDCWtc,9547
|
|
39
|
+
agentscope_runtime/cli/state/__init__.py,sha256=pUlDPdgj8RSyR3qeQVwGRs715Tao9uZKQvfBjW58src,376
|
|
40
|
+
agentscope_runtime/cli/utils/__init__.py,sha256=6kMHsj-qbyLeED4gV_MEk9HvYokgIgiRTNqKJlG6cio,367
|
|
41
|
+
agentscope_runtime/cli/utils/console.py,sha256=q_aecGe0qIHoZYSXCBSwEFubMQ6f3Vpgzn5TkNin5Bk,10593
|
|
42
|
+
agentscope_runtime/cli/utils/validators.py,sha256=x_WtwLzPaLYdW3Ku_mYUmYCgxuLIvAwX5YGy3OKoVXo,3481
|
|
19
43
|
agentscope_runtime/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
44
|
agentscope_runtime/common/collections/__init__.py,sha256=teQPF7huMB2yEX_CAFsmIJhQxH7ldHR7gr11W3jlx4o,582
|
|
21
45
|
agentscope_runtime/common/collections/base_mapping.py,sha256=IIVNwvaGVAiL6XxV0LvUHx-JmDvUc19iOGyRyAccMaI,361
|
|
@@ -37,18 +61,18 @@ agentscope_runtime/common/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
|
|
|
37
61
|
agentscope_runtime/common/utils/lazy_loader.py,sha256=YbhbKNJrm1d3adCZ6gM6ljZE0QCCcpt4yGDCjNWtkJ4,1937
|
|
38
62
|
agentscope_runtime/engine/__init__.py,sha256=lJV0pGExSfUmyW43MNdTG06jOTNnMrLHSgBS2AhYvyQ,656
|
|
39
63
|
agentscope_runtime/engine/constant.py,sha256=KOXujjNLky8Jcm8D_gPhQLsQdzPcU4RfrQzAvJUCrpU,128
|
|
40
|
-
agentscope_runtime/engine/runner.py,sha256=
|
|
64
|
+
agentscope_runtime/engine/runner.py,sha256=94fNmQGl7m0s-Glc5iz9FA2gmUQCMoalOZB2SPeeDA4,9929
|
|
41
65
|
agentscope_runtime/engine/app/__init__.py,sha256=8asUQNRTjIEyoWjl955mn3gLkcYna8-CK4A810Eol0Y,87
|
|
42
|
-
agentscope_runtime/engine/app/agent_app.py,sha256=
|
|
66
|
+
agentscope_runtime/engine/app/agent_app.py,sha256=gsVx5TzbgWV8M97HvgfOHN_S8Q-bT6f0ggYqQNVztMU,10715
|
|
43
67
|
agentscope_runtime/engine/app/base_app.py,sha256=ILLp4GUVslRtLxSjCTrpTX6f1E5QhM9oXefxy4sA28I,2290
|
|
44
68
|
agentscope_runtime/engine/app/celery_mixin.py,sha256=fDPc4loHieUXvgJYRYWAv-3qOSssdbfKH9Fiu-ShrIs,2929
|
|
45
|
-
agentscope_runtime/engine/deployers/__init__.py,sha256=
|
|
46
|
-
agentscope_runtime/engine/deployers/agentrun_deployer.py,sha256=
|
|
47
|
-
agentscope_runtime/engine/deployers/base.py,sha256=
|
|
69
|
+
agentscope_runtime/engine/deployers/__init__.py,sha256=goBDVczK_iEzSQ7H4comkFCr6vEwuTXCo87yktRj8Vg,555
|
|
70
|
+
agentscope_runtime/engine/deployers/agentrun_deployer.py,sha256=hNYhTPIBkXvCDvvuKdMzFmESsAyVFtBsq_NPD-z-zMo,106117
|
|
71
|
+
agentscope_runtime/engine/deployers/base.py,sha256=X4Vdu1x_ln0GK3aB_SSMaFoWDRYjh9nQT-mPOxWwkXY,1393
|
|
48
72
|
agentscope_runtime/engine/deployers/cli_fc_deploy.py,sha256=OZ6vn6t3FEKQJgbxADvPM5S90WP7OJGdBEBc-te_GiE,6063
|
|
49
|
-
agentscope_runtime/engine/deployers/kubernetes_deployer.py,sha256=
|
|
50
|
-
agentscope_runtime/engine/deployers/local_deployer.py,sha256=
|
|
51
|
-
agentscope_runtime/engine/deployers/modelstudio_deployer.py,sha256=
|
|
73
|
+
agentscope_runtime/engine/deployers/kubernetes_deployer.py,sha256=dKAx5HuImlbI-0t7SJwOsQxcAnE3UelUOJQ1nEmRL78,13390
|
|
74
|
+
agentscope_runtime/engine/deployers/local_deployer.py,sha256=mmEk5kSRqQW5Z32Gm3PWNphCu2QXisAoejWmDI5XBVk,22485
|
|
75
|
+
agentscope_runtime/engine/deployers/modelstudio_deployer.py,sha256=Pyb4XubHFUm78hm3NbUBC0FWm91-KWuzI4FlaqSJfiQ,34912
|
|
52
76
|
agentscope_runtime/engine/deployers/adapter/__init__.py,sha256=11R2POJNbfH5WE3hntYvhUOm_bq-LB-EaUGfbPwCHuQ,66
|
|
53
77
|
agentscope_runtime/engine/deployers/adapter/protocol_adapter.py,sha256=OpLfBWiFY_xC0uG53UYSeQuUnw7vZzvNnm5w6QFr9_w,737
|
|
54
78
|
agentscope_runtime/engine/deployers/adapter/a2a/__init__.py,sha256=3D6TxH-seVfR7_SqYttNSkGkZv3o_TS9R5XqUkVxed4,83
|
|
@@ -59,20 +83,25 @@ agentscope_runtime/engine/deployers/adapter/responses/__init__.py,sha256=0f1SVBa
|
|
|
59
83
|
agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py,sha256=MmvLkHDbb1cQMS2kQKnS3FT_6DUOQRdL2vb_HMA6eFo,98448
|
|
60
84
|
agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py,sha256=B3F1GOvu_HFFdH8gnKJtVlr8u34jjRV3iKMgVz1XHVY,1593
|
|
61
85
|
agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py,sha256=hm0bSy9QDh8har4KMv8GsSjLsqin-eII75xh8ytiXAE,10345
|
|
86
|
+
agentscope_runtime/engine/deployers/state/__init__.py,sha256=82FD16dRBpbRxgwXgWz48ncwW1IeOl7Ia4N_IVIS0TU,278
|
|
87
|
+
agentscope_runtime/engine/deployers/state/manager.py,sha256=k3XT4Dz-x5luAq6hBAAt7Vx4pPBupCrBGaucVp1gfAU,14101
|
|
88
|
+
agentscope_runtime/engine/deployers/state/schema.py,sha256=pKkVCGdRGLeEP6D-A4ZvkBOEABrgigh-Ogzks9RaHPM,2624
|
|
62
89
|
agentscope_runtime/engine/deployers/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
63
90
|
agentscope_runtime/engine/deployers/utils/app_runner_utils.py,sha256=v47ztKLiGfc3YabxGU7Ubv6W2TM_Vb-N530sL4nHyu0,754
|
|
91
|
+
agentscope_runtime/engine/deployers/utils/build_cache.py,sha256=VNbUIZQ_-s9HZufnRjnefJimMrHmurndGJ9tXGGlhs0,23894
|
|
64
92
|
agentscope_runtime/engine/deployers/utils/deployment_modes.py,sha256=vr2UzA1bzAAzxjToj9bVGzRWm47Za6w6cDI0nF1NMD0,448
|
|
65
|
-
agentscope_runtime/engine/deployers/utils/detached_app.py,sha256
|
|
66
|
-
agentscope_runtime/engine/deployers/utils/
|
|
67
|
-
agentscope_runtime/engine/deployers/utils/
|
|
93
|
+
agentscope_runtime/engine/deployers/utils/detached_app.py,sha256=-6wTiqMYssKYDGduRMHeehuqvHigz9qoUMj-pereVpU,18707
|
|
94
|
+
agentscope_runtime/engine/deployers/utils/k8s_utils.py,sha256=lgVYTewDBhtSwigEJ3Fok39wwrXPTuPmonyaB6mmaOo,7381
|
|
95
|
+
agentscope_runtime/engine/deployers/utils/package.py,sha256=L7W5j6iAyVFYLOsotCbagnA_otfktQ6Y9DF_xG7fwc4,22970
|
|
96
|
+
agentscope_runtime/engine/deployers/utils/wheel_packager.py,sha256=GFMvLnLoQhs0joGfDz2x60Dy9WTMbpSNYP7XQgYP__E,14475
|
|
68
97
|
agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py,sha256=DQlspd1dFOTV7GO82Jel5APuUqYkbjmpT72K1vb5SVw,235
|
|
69
|
-
agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py,sha256=
|
|
70
|
-
agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py,sha256=
|
|
71
|
-
agentscope_runtime/engine/deployers/utils/docker_image_utils/image_factory.py,sha256=
|
|
98
|
+
agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py,sha256=5hnjfauzlbQf3j7v8EaPXCn6HsxkTB4NmbkPIBruF3Q,14179
|
|
99
|
+
agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py,sha256=at2kQDdZBqzChGnFLEHpyqyba3LxPQlz5A1Rd4Fu9pM,7742
|
|
100
|
+
agentscope_runtime/engine/deployers/utils/docker_image_utils/image_factory.py,sha256=Ij-QZA6dIoHEgfsZU2x2Y6rVxXj6yYYjTIGnaQmpWD4,13568
|
|
72
101
|
agentscope_runtime/engine/deployers/utils/service_utils/__init__.py,sha256=qYPjEoNP_eJXPc3j-ClR0GnQKYDa0udJ-ymVGV-IsOs,169
|
|
73
|
-
agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py,sha256=
|
|
102
|
+
agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py,sha256=9e5qlsNbCuvHPrFvNSxL8XUh80p13MBvnrjvk2-J7NU,39030
|
|
74
103
|
agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py,sha256=xsfoQWKidfT-S9sQWLygcNG_vGsppLQDlwXtBw1nziE,4784
|
|
75
|
-
agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py,sha256=
|
|
104
|
+
agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py,sha256=rZIN4RP2cbPeqrHsNm5xll0KPwGL-exj0krO8qGo0sk,13777
|
|
76
105
|
agentscope_runtime/engine/deployers/utils/templates/app_main.py.j2,sha256=cgaSFV7_SNu6wfI4myTku1tgBcAgykv9a10QMFGAaSI,2175
|
|
77
106
|
agentscope_runtime/engine/deployers/utils/templates/runner_main.py.j2,sha256=W__KQfZ0qpdQwlkFMpahEVt7HhKnB71dS3R3zNg0hho,2464
|
|
78
107
|
agentscope_runtime/engine/deployers/utils/templates/standalone_main.py.j2,sha256=AfFDaSjM9t7gMgGvhfcQ2vBPusc29rkDHNaPHnbhKas,5621
|
|
@@ -82,6 +111,7 @@ agentscope_runtime/engine/misc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
82
111
|
agentscope_runtime/engine/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
83
112
|
agentscope_runtime/engine/schemas/agent_schemas.py,sha256=wNUl5khvOX21PJkpd7g5BRvCMHODSylI5OCE8096g-I,27030
|
|
84
113
|
agentscope_runtime/engine/schemas/embedding.py,sha256=yn6VaKPXkze0bvJuaLKzWIOus_AuT-8Z_XRABk4NH60,891
|
|
114
|
+
agentscope_runtime/engine/schemas/exception.py,sha256=hozLtfAHo384Gx2-42Nwmh-wF9frCsHfPUYUiF5Idd8,15300
|
|
85
115
|
agentscope_runtime/engine/schemas/modelstudio_llm.py,sha256=mi_1IWjaPq1W4IaVtVtIy-kwfUSFMfWKM3kaPu2KLC4,9803
|
|
86
116
|
agentscope_runtime/engine/schemas/oai_llm.py,sha256=U0lG4phFd5WYRoYomoprW87voaBm7Mm-N0uqfm5e-20,16645
|
|
87
117
|
agentscope_runtime/engine/schemas/realtime.py,sha256=caTRKLfCF9v-tKbdurvqMZ1myM9-ft2UeCNuiUIUmEs,7144
|
|
@@ -126,7 +156,7 @@ agentscope_runtime/sandbox/constant.py,sha256=NzpxJ1hBDkP9J_c45FsG3iDgBkfEkIlkSK
|
|
|
126
156
|
agentscope_runtime/sandbox/enums.py,sha256=8aAilIiP9Gw4SsPmhsDvGLo7D2ElZ2n0hRCU1TwmCio,1920
|
|
127
157
|
agentscope_runtime/sandbox/mcp_server.py,sha256=UT3aRZqyeHqEhhm-wZ0Ilhew3eDMHzz9DCN6Qb-eKFk,6012
|
|
128
158
|
agentscope_runtime/sandbox/registry.py,sha256=3ukwbTOjSINWH7DIOmG1iPgze5nb-zXl2X8M7_AeBwg,4190
|
|
129
|
-
agentscope_runtime/sandbox/utils.py,sha256=
|
|
159
|
+
agentscope_runtime/sandbox/utils.py,sha256=XH0t0QJMUt5RFACa_7FGo5YIC0Z3tPtdBsOtnCovPJU,3199
|
|
130
160
|
agentscope_runtime/sandbox/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
131
161
|
agentscope_runtime/sandbox/box/sandbox.py,sha256=-BWme4Zxx9xWssRXf6KzH3RVueR9MuzcOcN8Gdu7mTg,5309
|
|
132
162
|
agentscope_runtime/sandbox/box/agentbay/__init__.py,sha256=R-KRTawGZwblLBh0ZrXz2ESaV8biE3pLqVXUcLUI1-g,101
|
|
@@ -148,7 +178,7 @@ agentscope_runtime/sandbox/box/gui/__init__.py,sha256=-tzNU2yYdKjXD83PlNaMtsu5nq
|
|
|
148
178
|
agentscope_runtime/sandbox/box/gui/gui_sandbox.py,sha256=UkVGcOX0naQZmxf2T6ltPIQ_FBL2YRZKfX5Iks6HoXY,5204
|
|
149
179
|
agentscope_runtime/sandbox/box/gui/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
150
180
|
agentscope_runtime/sandbox/box/mobile/__init__.py,sha256=x9eL7XEw9oAZIzKr-_6UFbtkfTvfmXJ57Lmc4rXMyv0,95
|
|
151
|
-
agentscope_runtime/sandbox/box/mobile/mobile_sandbox.py,sha256=
|
|
181
|
+
agentscope_runtime/sandbox/box/mobile/mobile_sandbox.py,sha256=a-uynxbBPEXZ_nVNaocYtAzwiJRPwXxCeUVOAGYpQsE,10985
|
|
152
182
|
agentscope_runtime/sandbox/box/mobile/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
153
183
|
agentscope_runtime/sandbox/box/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
154
184
|
agentscope_runtime/sandbox/box/shared/app.py,sha256=bw6l0XPVF86yuh0jO_Sx9S-B-luFE3U3lIb6Qjc3dGU,1107
|
|
@@ -157,7 +187,7 @@ agentscope_runtime/sandbox/box/shared/dependencies/deps.py,sha256=pavJWhin5Dbc1f
|
|
|
157
187
|
agentscope_runtime/sandbox/box/shared/routers/__init__.py,sha256=QokVfRhfBftiXktqpn3iqdKcSz7TcSn-4Kbf4QhOUXs,273
|
|
158
188
|
agentscope_runtime/sandbox/box/shared/routers/generic.py,sha256=5hIwNPpC2Pu4uTqKWGcymBKXdKqbYEsyOYD4Vv7XR44,5164
|
|
159
189
|
agentscope_runtime/sandbox/box/shared/routers/mcp.py,sha256=_2492A88qba3hUPV67oexfWm-mHEFcr9ygzW-Qqhyi0,6046
|
|
160
|
-
agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py,sha256=
|
|
190
|
+
agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py,sha256=K3t4fg6latjD2bdYpRVB4SdAcN2AjIXOhhh2lnx4YOM,6449
|
|
161
191
|
agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py,sha256=v4jAGYtJaYsRJaSTv7e7hmDLHWVAtJqnSnpPq-kFcmU,5344
|
|
162
192
|
agentscope_runtime/sandbox/box/shared/routers/workspace.py,sha256=cQMbWNQG7ojHZfWN0xFqEivhlpQO4qEDo3amkhVHUBg,9748
|
|
163
193
|
agentscope_runtime/sandbox/box/training_box/__init__.py,sha256=vG2MQviqdmIUSjHmHiC5N_kiHinMnvOdjwW0AUdfZ3Y,125
|
|
@@ -237,9 +267,9 @@ agentscope_runtime/tools/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
237
267
|
agentscope_runtime/tools/utils/api_key_util.py,sha256=xIIUsvWgSt4etgYP7lS0WnqVIhZ-REzrBLwzAT-TrVI,1210
|
|
238
268
|
agentscope_runtime/tools/utils/crypto_utils.py,sha256=Wqq4cn3FHQge-2Q1zGSMUyKh4V4A2baiZm8ZNhMqhPo,3382
|
|
239
269
|
agentscope_runtime/tools/utils/mcp_util.py,sha256=n3GGKBEQPJ-fiNXdYnBx_90GVKWvm9eaNbR2G0q2lOw,905
|
|
240
|
-
agentscope_runtime-1.0.
|
|
241
|
-
agentscope_runtime-1.0.
|
|
242
|
-
agentscope_runtime-1.0.
|
|
243
|
-
agentscope_runtime-1.0.
|
|
244
|
-
agentscope_runtime-1.0.
|
|
245
|
-
agentscope_runtime-1.0.
|
|
270
|
+
agentscope_runtime-1.0.2.dist-info/licenses/LICENSE,sha256=3MckDTgiTJ0E6cxo8FeamFVEFiwz3XJWsriuTtRJzxY,11337
|
|
271
|
+
agentscope_runtime-1.0.2.dist-info/METADATA,sha256=QqGmESmRD5aSZu3bKhHFBIH0iHQFGRtOQw0MVRDjzY0,40260
|
|
272
|
+
agentscope_runtime-1.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
273
|
+
agentscope_runtime-1.0.2.dist-info/entry_points.txt,sha256=Mpjpwe0A9lYNsFtWe_VeoGhtDVsKLIi6w9ZKzyhc17M,425
|
|
274
|
+
agentscope_runtime-1.0.2.dist-info/top_level.txt,sha256=0YHketA7WcMmRmF-3lUzedeTOnP7iL77h-ekb-iG720,19
|
|
275
|
+
agentscope_runtime-1.0.2.dist-info/RECORD,,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
[console_scripts]
|
|
2
|
+
agentscope = agentscope_runtime.cli.cli:main
|
|
2
3
|
modelstudio-mcp-server = agentscope_runtime.tools.cli.modelstudio_mcp_server:main
|
|
3
4
|
runtime-fc-deploy = agentscope_runtime.engine.deployers.cli_fc_deploy:main
|
|
4
5
|
runtime-sandbox-builder = agentscope_runtime.sandbox.build:main
|
|
File without changes
|
|
File without changes
|
|
File without changes
|