@paretools/http 0.13.0 → 0.13.1
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 +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { createServer } from "@paretools/shared";
|
|
2
|
+
import { createServer, readPackageVersion } from "@paretools/shared";
|
|
3
3
|
import { registerAllTools } from "./tools/index.js";
|
|
4
4
|
await createServer({
|
|
5
5
|
name: "@paretools/http",
|
|
6
|
-
version:
|
|
6
|
+
version: readPackageVersion(import.meta.url),
|
|
7
7
|
instructions: "Structured HTTP request operations via curl (request, get, post, head). Returns typed JSON with status, headers, body, timing, and size.",
|
|
8
8
|
registerTools: registerAllTools,
|
|
9
9
|
});
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,YAAY,CAAC;IACjB,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;IAC5C,YAAY,EACV,0IAA0I;IAC5I,aAAa,EAAE,gBAAgB;CAChC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paretools/http",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"mcpName": "io.github.Dave-London/pare-http",
|
|
5
5
|
"description": "MCP server for HTTP requests (curl) with structured, token-efficient output",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"dist"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@modelcontextprotocol/sdk": "^1.27.
|
|
55
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
56
56
|
"zod": "^4.3.6",
|
|
57
|
-
"@paretools/shared": "0.13.
|
|
57
|
+
"@paretools/shared": "0.13.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/node": "^25.3.
|
|
60
|
+
"@types/node": "^25.3.3",
|
|
61
61
|
"typescript": "^5.7.0",
|
|
62
62
|
"vitest": "^4.0.18",
|
|
63
63
|
"@paretools/tsconfig": "0.0.0"
|