@auenkr/legerline-mcp-dev 1.0.0-dev.1 → 1.0.0-dev.2

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/cli.js +5 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -7305,6 +7305,7 @@ var require_dist = __commonJS({
7305
7305
 
7306
7306
  // src/index.ts
7307
7307
  import { createServer as createServer2 } from "node:http";
7308
+ import { realpathSync } from "node:fs";
7308
7309
 
7309
7310
  // ../../node_modules/.pnpm/@hono+node-server@2.1.3_hono@4.13.10/node_modules/@hono/node-server/dist/constants-BLSFu_RU.mjs
7310
7311
  var X_ALREADY_SENT = "x-hono-already-sent";
@@ -15457,6 +15458,9 @@ var StreamableHTTPServerTransport = class {
15457
15458
  }
15458
15459
  };
15459
15460
 
15461
+ // src/index.ts
15462
+ import { pathToFileURL } from "node:url";
15463
+
15460
15464
  // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.js
15461
15465
  var external_exports = {};
15462
15466
  __export(external_exports, {
@@ -23891,7 +23895,7 @@ async function main() {
23891
23895
  process.exitCode = 1;
23892
23896
  }
23893
23897
  }
23894
- var invokedDirectly = process.argv[1] && import.meta.url === new URL(`file://${process.argv[1]}`).href;
23898
+ var invokedDirectly = process.argv[1] && import.meta.url === pathToFileURL(realpathSync(process.argv[1])).href;
23895
23899
  if (invokedDirectly) await main();
23896
23900
  export {
23897
23901
  parseArgs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auenkr/legerline-mcp-dev",
3
- "version": "1.0.0-dev.1",
3
+ "version": "1.0.0-dev.2",
4
4
  "description": "Stateless HTTP MCP server for the Ledgerline Stock Market API",
5
5
  "type": "module",
6
6
  "license": "MIT",