mcp-squared 0.3.1 → 0.3.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.
package/README.md CHANGED
@@ -27,6 +27,21 @@ npx mcp-squared --help
27
27
  npm exec --yes mcp-squared -- --help
28
28
  ```
29
29
 
30
+ If you see `Cannot find module '@/version.js'`, check for a stale global install:
31
+
32
+ ```bash
33
+ which mcp-squared
34
+ npm ls -g --depth=0 mcp-squared
35
+ ```
36
+
37
+ `mcp-squared@0.3.0` shipped unresolved `@/...` aliases in `dist/index.js`. Remove the old global package and re-run:
38
+
39
+ ```bash
40
+ npm uninstall -g mcp-squared
41
+ hash -r
42
+ npx --yes mcp-squared@latest --help
43
+ ```
44
+
30
45
  ### Install globally
31
46
 
32
47
  ```bash
package/dist/index.js CHANGED
@@ -1,17 +1,13 @@
1
1
  #!/usr/bin/env bun
2
2
  // @bun
3
3
  var __defProp = Object.defineProperty;
4
- var __returnValue = (v) => v;
5
- function __exportSetter(name, newValue) {
6
- this[name] = __returnValue.bind(null, newValue);
7
- }
8
4
  var __export = (target, all) => {
9
5
  for (var name in all)
10
6
  __defProp(target, name, {
11
7
  get: all[name],
12
8
  enumerable: true,
13
9
  configurable: true,
14
- set: __exportSetter.bind(all, name)
10
+ set: (newValue) => all[name] = () => newValue
15
11
  });
16
12
  };
17
13
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-squared",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "MCP² (Mercury Control Plane) - A local-first meta-server and proxy for the Model Context Protocol",
5
5
  "author": "aditzel",
6
6
  "license": "Apache-2.0",
@@ -22,14 +22,15 @@
22
22
  "build": "bun build src/index.ts --outdir dist --target bun --packages=external",
23
23
  "build:compile": "bun build src/index.ts --compile --outfile dist/mcp-squared --external @opentui/core --external @opentui/core-darwin-arm64 --external @opentui/core-darwin-x64 --external @opentui/core-linux-arm64 --external @opentui/core-linux-x64 --external @opentui/core-win32-arm64 --external @opentui/core-win32-x64",
24
24
  "build:compile:matrix": "bash scripts/compile-matrix.sh",
25
- "prepack": "bun run build",
25
+ "prepack": "bun run build && bun run build:verify",
26
26
  "audit": "bun audit",
27
27
  "test": "bun test",
28
28
  "test:fast": "SKIP_SLOW_TESTS=true bun test",
29
29
  "test:watch": "bun test --watch",
30
30
  "typecheck": "tsc --noEmit",
31
31
  "lint": "biome check src tests scripts AGENTS.md CLAUDE.md WARP.md README.md CHANGELOG.md package.json biome.json tsconfig.json",
32
- "release:check": "bun run audit && bun test && bun run build && bun run lint && bun run typecheck && bun pm pack --dry-run",
32
+ "release:check": "bun run audit && bun test && bun run build && bun run build:verify && bun run lint && bun run typecheck && bun pm pack --dry-run",
33
+ "build:verify": "bun run scripts/verify-dist-runtime-imports.ts",
33
34
  "lint:fix": "biome check --write .",
34
35
  "format": "biome format --write .",
35
36
  "clean": "rm -rf dist",