mle-kit-mcp 1.0.0__tar.gz → 1.0.2__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.
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/PKG-INFO +1 -1
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/tools/remote_gpu.py +5 -2
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp.egg-info/PKG-INFO +1 -1
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/pyproject.toml +1 -1
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/LICENSE +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/README.md +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/__init__.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/__main__.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/files.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/llm_proxy.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/py.typed +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/server.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/tools/__init__.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/tools/bash.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/tools/llm_proxy.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/tools/text_editor.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp/utils.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp.egg-info/SOURCES.txt +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp.egg-info/dependency_links.txt +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp.egg-info/entry_points.txt +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp.egg-info/requires.txt +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/mle_kit_mcp.egg-info/top_level.txt +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/setup.cfg +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/tests/test_bash.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/tests/test_llm_proxy.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/tests/test_text_editor.py +0 -0
- {mle_kit_mcp-1.0.0 → mle_kit_mcp-1.0.2}/tests/test_truncate_context.py +0 -0
@@ -173,6 +173,7 @@ def recieve_rsync(
|
|
173
173
|
rsync_cmd = [
|
174
174
|
"rsync",
|
175
175
|
"-avz",
|
176
|
+
"--max-size=20m",
|
176
177
|
"-e",
|
177
178
|
f"ssh -i {info.ssh_key_path} -p {info.port} -o StrictHostKeyChecking=no",
|
178
179
|
f"{info.username}@{info.ip}:{remote_path}",
|
@@ -357,7 +358,8 @@ def create_remote_text_editor(
|
|
357
358
|
dir_path = "/".join(path.split("/")[:-1])
|
358
359
|
if dir_path:
|
359
360
|
recieve_rsync(instance, f"/root/{path}", f"{get_workspace_dir()}/{dir_path}")
|
360
|
-
|
361
|
+
else:
|
362
|
+
recieve_rsync(instance, f"/root/{path}", f"{get_workspace_dir()}")
|
361
363
|
|
362
364
|
result: str = text_editor_func(*args, **kwargs)
|
363
365
|
|
@@ -365,7 +367,8 @@ def create_remote_text_editor(
|
|
365
367
|
dir_path = "/".join(path.split("/")[:-1])
|
366
368
|
if dir_path:
|
367
369
|
send_rsync(instance, f"{get_workspace_dir()}/{path}", f"/root/{dir_path}")
|
368
|
-
|
370
|
+
else:
|
371
|
+
send_rsync(instance, f"{get_workspace_dir()}/{path}", "/root")
|
369
372
|
|
370
373
|
return result
|
371
374
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|