@llmindset/hf-mcp-server 0.1.16 → 0.1.17

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.
File without changes
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=streamableHttpJson.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streamableHttpJson.d.ts","sourceRoot":"","sources":["../../src/server/streamableHttpJson.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+ import { spawn } from 'node:child_process';
3
+ import { fileURLToPath } from 'node:url';
4
+ import { dirname, join } from 'node:path';
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+ const streamableHttpPath = join(__dirname, 'streamableHttp.js');
8
+ const args = ['--json', ...process.argv.slice(2)];
9
+ const child = spawn('node', [streamableHttpPath, ...args], {
10
+ stdio: 'inherit',
11
+ env: process.env
12
+ });
13
+ child.on('exit', (code) => {
14
+ process.exit(code || 0);
15
+ });
16
+ //# sourceMappingURL=streamableHttpJson.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"streamableHttpJson.js","sourceRoot":"","sources":["../../src/server/streamableHttpJson.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAGtC,MAAM,kBAAkB,GAAG,IAAI,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC;AAGhE,MAAM,IAAI,GAAG,CAAC,QAAQ,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAGlD,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,kBAAkB,EAAE,GAAG,IAAI,CAAC,EAAE;IACzD,KAAK,EAAE,SAAS;IAChB,GAAG,EAAE,OAAO,CAAC,GAAG;CACjB,CAAC,CAAC;AAEH,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC;AAC1B,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@llmindset/hf-mcp-server",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "Official Hugging Face MCP Server",
5
5
  "type": "module",
6
6
  "main": "./dist/server/streamableHttp.js",
7
7
  "bin": {
8
- "hf-mcp-server": "./dist/server/stdio.js"
8
+ "hf-mcp-server": "./dist/server/stdio.js",
9
+ "hf-mcp-server-http": "./dist/server/streamableHttp.js",
10
+ "hf-mcp-server-http-json": "./dist/server/streamableHttpJson.js"
9
11
  },
10
12
  "files": [
11
13
  "dist/**/*",
@@ -52,7 +54,7 @@
52
54
  "tailwind-merge": "^3.2.0",
53
55
  "tailwindcss": "^4.1.5",
54
56
  "zod": "^3.24.4",
55
- "@llmindset/hf-mcp": "^0.1.16"
57
+ "@llmindset/hf-mcp": "^0.1.17"
56
58
  },
57
59
  "devDependencies": {
58
60
  "@eslint/js": "^9.25.0",