@evantahler/mcpx 0.21.3 → 0.21.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evantahler/mcpx",
3
- "version": "0.21.3",
3
+ "version": "0.21.4",
4
4
  "description": "A command-line interface for MCP servers. curl for MCP.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -10,9 +10,20 @@
10
10
  // that environment node_modules exists and onnxruntime-web is reachable
11
11
  // through normal module resolution.
12
12
 
13
+ // The relative `../../node_modules/...` paths only resolve from the local repo
14
+ // layout (and inside `bun build --compile`). When this file is shipped via npm,
15
+ // deps are hoisted, so consumer `tsc` runs hit TS2307. The `ts-ignore` directive
16
+ // below silences that for consumers; we avoid the stricter `expect-error` form
17
+ // because in the local repo the path resolves fine and there would be no error
18
+ // to expect. At runtime the dynamic import in semantic.ts is wrapped in
19
+ // try/catch and falls back to transformers.js's default WASM loader (issue #85).
20
+ // biome-ignore lint/suspicious/noTsIgnore: must stay as ts-ignore per comment above
21
+ // @ts-ignore - dynamic-only import
13
22
  import wasmMjsPath from "../../node_modules/onnxruntime-web/dist/ort-wasm-simd-threaded.asyncify.mjs" with {
14
23
  type: "file",
15
24
  };
25
+ // biome-ignore lint/suspicious/noTsIgnore: must stay as ts-ignore per comment above
26
+ // @ts-ignore - dynamic-only import
16
27
  import wasmBinPath from "../../node_modules/onnxruntime-web/dist/ort-wasm-simd-threaded.asyncify.wasm" with {
17
28
  type: "file",
18
29
  };