winterm-mcp 0.1.1__tar.gz → 0.1.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.
- {winterm_mcp-0.1.1/src/winterm_mcp.egg-info → winterm_mcp-0.1.2}/PKG-INFO +1 -1
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/pyproject.toml +1 -1
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/src/winterm_mcp/service.py +2 -2
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2/src/winterm_mcp.egg-info}/PKG-INFO +1 -1
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/LICENSE +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/README.md +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/setup.cfg +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/src/winterm_mcp/__init__.py +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/src/winterm_mcp/__main__.py +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/src/winterm_mcp/server.py +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/src/winterm_mcp.egg-info/SOURCES.txt +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/src/winterm_mcp.egg-info/dependency_links.txt +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/src/winterm_mcp.egg-info/entry_points.txt +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/src/winterm_mcp.egg-info/requires.txt +0 -0
- {winterm_mcp-0.1.1 → winterm_mcp-0.1.2}/src/winterm_mcp.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "winterm-mcp"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
description = "A Model Context Protocol (MCP) service for executing Windows terminal commands asynchronously"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -85,10 +85,10 @@ class RunCmdService:
|
|
|
85
85
|
if token in self.commands:
|
|
86
86
|
self.commands[token]["status"] = "running"
|
|
87
87
|
|
|
88
|
-
encoding = "
|
|
88
|
+
encoding = "gbk"
|
|
89
89
|
|
|
90
90
|
if shell_type == "powershell":
|
|
91
|
-
cmd_args = ["powershell", "-Command", command]
|
|
91
|
+
cmd_args = ["powershell", "-NoProfile", "-NonInteractive", "-Command", command]
|
|
92
92
|
else:
|
|
93
93
|
cmd_args = ["cmd", "/c", command]
|
|
94
94
|
|
|
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
|