universal-mcp-applications 0.1.9__py3-none-any.whl → 0.1.10__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-applications might be problematic. Click here for more details.
- universal_mcp/applications/e2b/app.py +25 -13
- {universal_mcp_applications-0.1.9.dist-info → universal_mcp_applications-0.1.10.dist-info}/METADATA +1 -1
- {universal_mcp_applications-0.1.9.dist-info → universal_mcp_applications-0.1.10.dist-info}/RECORD +5 -5
- {universal_mcp_applications-0.1.9.dist-info → universal_mcp_applications-0.1.10.dist-info}/WHEEL +0 -0
- {universal_mcp_applications-0.1.9.dist-info → universal_mcp_applications-0.1.10.dist-info}/licenses/LICENSE +0 -0
|
@@ -93,26 +93,38 @@ class E2bApp(APIApplication):
|
|
|
93
93
|
logger.info("E2B API Key successfully retrieved and cached.")
|
|
94
94
|
return self._e2b_api_key
|
|
95
95
|
|
|
96
|
-
def _format_execution_output(self,
|
|
96
|
+
def _format_execution_output(self, execution: Any) -> str:
|
|
97
97
|
"""Helper function to format the E2B execution logs nicely."""
|
|
98
98
|
output_parts = []
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
try:
|
|
101
|
+
logs = getattr(execution, "logs", None)
|
|
102
|
+
|
|
103
|
+
if logs is not None:
|
|
104
|
+
# Collect stdout
|
|
105
|
+
if getattr(logs, "stdout", None):
|
|
106
|
+
stdout_content = "".join(logs.stdout).strip()
|
|
107
|
+
if stdout_content:
|
|
108
|
+
output_parts.append(stdout_content)
|
|
109
|
+
|
|
110
|
+
# Collect stderr
|
|
111
|
+
if getattr(logs, "stderr", None):
|
|
112
|
+
stderr_content = "".join(logs.stderr).strip()
|
|
113
|
+
if stderr_content:
|
|
114
|
+
output_parts.append(f"--- ERROR ---\n{stderr_content}")
|
|
115
|
+
|
|
116
|
+
# Fallback: check execution.text (covers expressions returning values)
|
|
117
|
+
if not output_parts and hasattr(execution, "text"):
|
|
118
|
+
text_content = str(execution.text).strip()
|
|
119
|
+
if text_content:
|
|
120
|
+
output_parts.append(text_content)
|
|
108
121
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
if stderr_content:
|
|
112
|
-
output_parts.append(f"--- ERROR ---\n{stderr_content}")
|
|
122
|
+
except Exception as e:
|
|
123
|
+
output_parts.append(f"Failed to format execution output: {e}")
|
|
113
124
|
|
|
114
125
|
if not output_parts:
|
|
115
126
|
return "Execution finished with no output (stdout/stderr)."
|
|
127
|
+
|
|
116
128
|
return "\n\n".join(output_parts)
|
|
117
129
|
|
|
118
130
|
def execute_python_code(
|
{universal_mcp_applications-0.1.9.dist-info → universal_mcp_applications-0.1.10.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: universal-mcp-applications
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.10
|
|
4
4
|
Summary: A Universal MCP Application: universal_mcp_applications
|
|
5
5
|
Project-URL: Homepage, https://github.com/universal-mcp/applications
|
|
6
6
|
Project-URL: Repository, https://github.com/universal-mcp/applications
|
{universal_mcp_applications-0.1.9.dist-info → universal_mcp_applications-0.1.10.dist-info}/RECORD
RENAMED
|
@@ -57,7 +57,7 @@ universal_mcp/applications/domain_checker/__init__.py,sha256=4s7K0D6jORpJAUySJS1
|
|
|
57
57
|
universal_mcp/applications/domain_checker/app.py,sha256=R-uXWkG0pMrdyAGgsIxBGLfxbChB05d02xN5mj5NEPI,9915
|
|
58
58
|
universal_mcp/applications/e2b/README.md,sha256=King2LmyUlseNZ76c3bmsJCxg8PHhCQMzVcN35l_-qc,296
|
|
59
59
|
universal_mcp/applications/e2b/__init__.py,sha256=hL17jBumsx-oi93AAIFCoDdoP7zQElnrTjnCDc7NBH4,24
|
|
60
|
-
universal_mcp/applications/e2b/app.py,sha256=
|
|
60
|
+
universal_mcp/applications/e2b/app.py,sha256=Hx_mf2q25Rtw9VPO5tPPTaJs6BQK0rVvDLJJ9ghMZac,7364
|
|
61
61
|
universal_mcp/applications/elevenlabs/README.md,sha256=xftSdiuQjBLyx9uYK7re4uUp2Pwrni5678-O2Tzqu2I,10940
|
|
62
62
|
universal_mcp/applications/elevenlabs/__init__.py,sha256=2ojwxRFjYEwBieAqUZlPJulRfOaoPrCrqeEiZNxG48M,31
|
|
63
63
|
universal_mcp/applications/elevenlabs/app.py,sha256=bQQOi6KhqtYygcQLFv7abOeV54kpkmABUgZhIjPC72U,4886
|
|
@@ -267,7 +267,7 @@ universal_mcp/applications/youtube/app.py,sha256=hhKqnbXvMAyOW3LOqp-ODPdIuQorr1n
|
|
|
267
267
|
universal_mcp/applications/zenquotes/README.md,sha256=x1mZHjNKD4WOgsIhedcbbaR1nvbt794GSrKud1tSLD0,296
|
|
268
268
|
universal_mcp/applications/zenquotes/__init__.py,sha256=IkASLYaZiHJXlkGwEMk1HgIq5GwEZp5GhAIiJyjBd3g,30
|
|
269
269
|
universal_mcp/applications/zenquotes/app.py,sha256=6v8trNWjxbixdlEyaM-gJbfY8z9ZAmkIzSUks_fbsT4,1076
|
|
270
|
-
universal_mcp_applications-0.1.
|
|
271
|
-
universal_mcp_applications-0.1.
|
|
272
|
-
universal_mcp_applications-0.1.
|
|
273
|
-
universal_mcp_applications-0.1.
|
|
270
|
+
universal_mcp_applications-0.1.10.dist-info/METADATA,sha256=hzfvZju9HSY-HVpgXq5G8A5NRqVZBL5TKni4wcLZHAE,3919
|
|
271
|
+
universal_mcp_applications-0.1.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
272
|
+
universal_mcp_applications-0.1.10.dist-info/licenses/LICENSE,sha256=NweDZVPslBAZFzlgByF158b85GR0f5_tLQgq1NS48To,1063
|
|
273
|
+
universal_mcp_applications-0.1.10.dist-info/RECORD,,
|
{universal_mcp_applications-0.1.9.dist-info → universal_mcp_applications-0.1.10.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|