@holin-work/holin-cli 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/bin/holin-cli.js +3 -1
  2. package/package.json +1 -1
package/bin/holin-cli.js CHANGED
@@ -155,11 +155,13 @@ function createProxyServer() {
155
155
  }
156
156
 
157
157
  // Build upstream request
158
+ // MCP streamable-http has a single endpoint; forward directly to upstream path.
159
+ // Accio requests http://127.0.0.1:18787/mcp → upstream https://api.holin.work/icbu/mcp
158
160
  const upstreamUrl = new URL(UPSTREAM_URL);
159
161
  const options = {
160
162
  hostname: upstreamUrl.hostname,
161
163
  port: upstreamUrl.port || 443,
162
- path: upstreamUrl.pathname + (req.url || ""),
164
+ path: upstreamUrl.pathname,
163
165
  method: req.method,
164
166
  headers: {
165
167
  ...req.headers,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holin-work/holin-cli",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Holin CLI — Accio plugin authorization tool for ICBU batch listing",
5
5
  "type": "module",
6
6
  "bin": {