universal-mcp-agents 0.1.23rc4__py3-none-any.whl → 0.1.23rc5__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.
Potentially problematic release.
This version of universal-mcp-agents might be problematic. Click here for more details.
- universal_mcp/agents/codeact0/sandbox.py +8 -2
- {universal_mcp_agents-0.1.23rc4.dist-info → universal_mcp_agents-0.1.23rc5.dist-info}/METADATA +1 -1
- {universal_mcp_agents-0.1.23rc4.dist-info → universal_mcp_agents-0.1.23rc5.dist-info}/RECORD +4 -4
- {universal_mcp_agents-0.1.23rc4.dist-info → universal_mcp_agents-0.1.23rc5.dist-info}/WHEEL +0 -0
|
@@ -7,6 +7,7 @@ import socket
|
|
|
7
7
|
import threading
|
|
8
8
|
import types
|
|
9
9
|
from typing import Any
|
|
10
|
+
import pickle
|
|
10
11
|
|
|
11
12
|
from langchain_core.tools import tool
|
|
12
13
|
|
|
@@ -65,7 +66,7 @@ def eval_unsafe(
|
|
|
65
66
|
# Filter locals for picklable/storable variables
|
|
66
67
|
all_vars = {}
|
|
67
68
|
for key, value in _locals.items():
|
|
68
|
-
if key
|
|
69
|
+
if key.startswith("__"):
|
|
69
70
|
continue
|
|
70
71
|
if inspect.iscoroutine(value) or inspect.iscoroutinefunction(value):
|
|
71
72
|
continue
|
|
@@ -74,7 +75,12 @@ def eval_unsafe(
|
|
|
74
75
|
if isinstance(value, EXCLUDE_TYPES):
|
|
75
76
|
continue
|
|
76
77
|
if not callable(value) or not hasattr(value, "__name__"):
|
|
77
|
-
|
|
78
|
+
# Only keep if it can be pickled (serialized) successfully
|
|
79
|
+
try:
|
|
80
|
+
pickle.dumps(value)
|
|
81
|
+
all_vars[key] = value
|
|
82
|
+
except Exception:
|
|
83
|
+
pass
|
|
78
84
|
|
|
79
85
|
# Safely derive context
|
|
80
86
|
try:
|
{universal_mcp_agents-0.1.23rc4.dist-info → universal_mcp_agents-0.1.23rc5.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: universal-mcp-agents
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.23rc5
|
|
4
4
|
Summary: Add your description here
|
|
5
5
|
Project-URL: Homepage, https://github.com/universal-mcp/applications
|
|
6
6
|
Project-URL: Repository, https://github.com/universal-mcp/applications
|
{universal_mcp_agents-0.1.23rc4.dist-info → universal_mcp_agents-0.1.23rc5.dist-info}/RECORD
RENAMED
|
@@ -27,7 +27,7 @@ universal_mcp/agents/codeact0/config.py,sha256=H-1woj_nhSDwf15F63WYn723y4qlRefXz
|
|
|
27
27
|
universal_mcp/agents/codeact0/langgraph_agent.py,sha256=8nz2wq-LexImx-l1y9_f81fK72IQetnCeljwgnduNGY,420
|
|
28
28
|
universal_mcp/agents/codeact0/llm_tool.py,sha256=-pAz04OrbZ_dJ2ueysT1qZd02DrbLY4EbU0tiuF_UNU,798
|
|
29
29
|
universal_mcp/agents/codeact0/prompts.py,sha256=Zt0ea01ofz6oS7fgyGK2Q2zN9CNMHGubBdR54VgvKic,11684
|
|
30
|
-
universal_mcp/agents/codeact0/sandbox.py,sha256=
|
|
30
|
+
universal_mcp/agents/codeact0/sandbox.py,sha256=AYy512wsOKgh4nmXccEF0mntuXDBeHaccsz0aUSIQMI,4696
|
|
31
31
|
universal_mcp/agents/codeact0/state.py,sha256=cf-94hfVub-HSQJk6b7_SzqBS-oxMABjFa8jqyjdDK0,1925
|
|
32
32
|
universal_mcp/agents/codeact0/tools.py,sha256=i2-WppqEfpJXPa7QouLfX3qXJgInBGVY9qxAGxFOUEg,14896
|
|
33
33
|
universal_mcp/agents/codeact0/utils.py,sha256=F2aFnN0tNXbFfe8imO1iccHXTvWwSSulIbsrkwhhpno,21123
|
|
@@ -39,6 +39,6 @@ universal_mcp/applications/filesystem/app.py,sha256=0TRjjm8YnslVRSmfkXI7qQOAlqWl
|
|
|
39
39
|
universal_mcp/applications/llm/__init__.py,sha256=_XGRxN3O1--ZS5joAsPf8IlI9Qa6negsJrwJ5VJXno0,46
|
|
40
40
|
universal_mcp/applications/llm/app.py,sha256=g9mK-luOLUshZzBGyQZMOHBeCSXmh2kCKir40YnsGUo,12727
|
|
41
41
|
universal_mcp/applications/ui/app.py,sha256=c7OkZsO2fRtndgAzAQbKu-1xXRuRp9Kjgml57YD2NR4,9459
|
|
42
|
-
universal_mcp_agents-0.1.
|
|
43
|
-
universal_mcp_agents-0.1.
|
|
44
|
-
universal_mcp_agents-0.1.
|
|
42
|
+
universal_mcp_agents-0.1.23rc5.dist-info/METADATA,sha256=JN1atZb7RAGx_PCxS2MMWgRXQwkCHT1a-oi_2GzRDFA,931
|
|
43
|
+
universal_mcp_agents-0.1.23rc5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
44
|
+
universal_mcp_agents-0.1.23rc5.dist-info/RECORD,,
|
|
File without changes
|