@jiangxiaoxu/lm-tools-bridge-proxy 0.1.2 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  "use strict";
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
@@ -189,6 +190,7 @@ function createStdioMessageHandler(targetGetter, targetRefresher) {
189
190
  path: targetUrl.pathname,
190
191
  method: "POST",
191
192
  headers: {
193
+ Accept: "application/json, text/event-stream",
192
194
  "Content-Type": "application/json",
193
195
  "Content-Length": Buffer.byteLength(payload)
194
196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiangxiaoxu/lm-tools-bridge-proxy",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Stdio MCP proxy for LM Tools Bridge (Windows Named Pipe resolve).",
5
5
  "license": "MIT",
6
6
  "bin": {