mcp-fs-shell-windows 0.2.5 → 0.2.6
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.
- package/README.md +1 -1
- package/dist/shell/handler.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ User commands are spawned as `cmd.exe /d /c <command>` with **verbatim argv**
|
|
|
109
109
|
|
|
110
110
|
Practical notes:
|
|
111
111
|
|
|
112
|
-
- Background jobs live in an **in-memory registry** inside the server process: the table is lost on server restart, but job log files persist (under `%TEMP%\mcp-
|
|
112
|
+
- Background jobs live in an **in-memory registry** inside the server process: the table is lost on server restart, but job log files persist (under `%TEMP%\mcp-fs-shell-windows\shell-jobs`).
|
|
113
113
|
- `timeout /t` can fail when stdin is not an interactive console — use `ping -n N 127.0.0.1 >nul` for sleeps.
|
|
114
114
|
- Synchronous calls are bounded (max 28 s) so they cannot wedge the MCP request channel; anything longer should go through `shell_start`.
|
|
115
115
|
|
package/dist/shell/handler.js
CHANGED
|
@@ -13,7 +13,7 @@ import { SHELL_MAX_TIMEOUT_SEC } from "./schema.js";
|
|
|
13
13
|
// ---------------------------------------------------------------------------
|
|
14
14
|
// Shared state & helpers
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
16
|
-
export const SHELL_JOBS_DIR = nodePath.join(os.tmpdir(), "mcp-
|
|
16
|
+
export const SHELL_JOBS_DIR = nodePath.join(os.tmpdir(), "mcp-fs-shell-windows", "shell-jobs");
|
|
17
17
|
const jobs = new Map();
|
|
18
18
|
let defaultShellCwd = process.cwd();
|
|
19
19
|
// Best-effort startup cleanup: drop job log files older than 24 h.
|
package/package.json
CHANGED