@paretools/process 0.11.0 → 0.12.0
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/dist/index.js +5 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
2
|
+
import { createServer } from "@paretools/shared";
|
|
4
3
|
import { registerAllTools } from "./tools/index.js";
|
|
5
|
-
|
|
4
|
+
await createServer({
|
|
5
|
+
name: "@paretools/process",
|
|
6
|
+
version: "0.8.1",
|
|
6
7
|
instructions: "Structured process execution (run). Runs commands with timeout, environment, and signal support. Returns typed JSON with exit code, stdout, stderr, duration, and timeout status.",
|
|
8
|
+
registerTools: registerAllTools,
|
|
7
9
|
});
|
|
8
|
-
registerAllTools(server);
|
|
9
|
-
const transport = new StdioServerTransport();
|
|
10
|
-
await server.connect(transport);
|
|
11
10
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,YAAY,CAAC;IACjB,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,YAAY,EACV,mLAAmL;IACrL,aAAa,EAAE,gBAAgB;CAChC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paretools/process",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"mcpName": "io.github.Dave-London/pare-process",
|
|
5
5
|
"description": "MCP server for running commands with structured output, timeout, and signal support",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
56
56
|
"zod": "^4.3.6",
|
|
57
|
-
"@paretools/shared": "0.
|
|
57
|
+
"@paretools/shared": "0.12.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/node": "^25.2.3",
|