mle-kit-mcp 0.2.2__py3-none-any.whl → 0.2.3__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.
@@ -354,11 +354,17 @@ def create_remote_text_editor(
354
354
  command = args_dict["command"]
355
355
 
356
356
  if command != "write":
357
+ dir_path = "/".join(path.split("/")[:-1])
358
+ if dir_path:
359
+ recieve_rsync(instance, f"/root/{path}", f"{get_workspace_dir()}/{dir_path}")
357
360
  recieve_rsync(instance, f"/root/{path}", f"{get_workspace_dir()}")
358
361
 
359
362
  result: str = text_editor_func(*args, **kwargs)
360
363
 
361
364
  if command != "view":
365
+ dir_path = "/".join(path.split("/")[:-1])
366
+ if dir_path:
367
+ send_rsync(instance, f"{get_workspace_dir()}/{path}", f"/root/{dir_path}")
362
368
  send_rsync(instance, f"{get_workspace_dir()}/{path}", "/root")
363
369
 
364
370
  return result
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mle-kit-mcp
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: MCP server that provides different tools for MLE
5
5
  Author-email: Ilya Gusev <phoenixilya@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/IlyaGusev/mle_kit_mcp
@@ -8,11 +8,11 @@ mle_kit_mcp/utils.py,sha256=iHNcEZZzPD37bEYE18SzJ3WUjLP3Ym-kc91SwcW1vlI,1984
8
8
  mle_kit_mcp/tools/__init__.py,sha256=r2fIg2mZ6zaeq0CzEKCEdeUTjV0pcA9NZaaOfBNVTnE,332
9
9
  mle_kit_mcp/tools/bash.py,sha256=kunYHc3dyPGOooT-KY9L7eI_N22lBrcDbTlcp_yTTws,2820
10
10
  mle_kit_mcp/tools/llm_proxy.py,sha256=RHW-PgxNnq2rs3sLJCA_CHNGt2ar1DYN2U0OlRjvDZ0,5234
11
- mle_kit_mcp/tools/remote_gpu.py,sha256=CiGoRL8nwgJN_gtSm0CI6qfYM71jD15y3xSl_91ejEE,12203
11
+ mle_kit_mcp/tools/remote_gpu.py,sha256=2Wjp6fYTGX9i6bZUhSWM5WMKh0eMc73wCdezes04bDg,12546
12
12
  mle_kit_mcp/tools/text_editor.py,sha256=0uGcSjcBjdPlqjYZYuWo29SmAMzBcWgKt4KRumFI3WE,9529
13
- mle_kit_mcp-0.2.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
14
- mle_kit_mcp-0.2.2.dist-info/METADATA,sha256=ipFifawHzN_MYiOXosclk7Aj22FCEfiV5byHUl-YWqY,1074
15
- mle_kit_mcp-0.2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- mle_kit_mcp-0.2.2.dist-info/entry_points.txt,sha256=-iHSUVPN49jkBj1ySpc-P0rVF5-IPHw-KWNayNIiEsk,49
17
- mle_kit_mcp-0.2.2.dist-info/top_level.txt,sha256=XeBtCq_CnVI0gh0Z_daZOLmGl5XPlkA8RgHaj5s5VQY,12
18
- mle_kit_mcp-0.2.2.dist-info/RECORD,,
13
+ mle_kit_mcp-0.2.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
14
+ mle_kit_mcp-0.2.3.dist-info/METADATA,sha256=fzWaPwNQaj3zdsaoLyaU_ng4OajRllWXRD_qZ-Eu_84,1074
15
+ mle_kit_mcp-0.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
+ mle_kit_mcp-0.2.3.dist-info/entry_points.txt,sha256=-iHSUVPN49jkBj1ySpc-P0rVF5-IPHw-KWNayNIiEsk,49
17
+ mle_kit_mcp-0.2.3.dist-info/top_level.txt,sha256=XeBtCq_CnVI0gh0Z_daZOLmGl5XPlkA8RgHaj5s5VQY,12
18
+ mle_kit_mcp-0.2.3.dist-info/RECORD,,