@reposkein/mcp 0.2.2 → 0.2.3

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.
@@ -23,7 +23,7 @@
23
23
  overflow: hidden;
24
24
  }
25
25
  </style>
26
- <script type="module" crossorigin src="./assets/index-D2l9gwcq.js"></script>
26
+ <script type="module" crossorigin src="./assets/index-Ap4wp41j.js"></script>
27
27
  </head>
28
28
  <body>
29
29
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reposkein/mcp",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Deterministic code-graph (GraphRAG) MCP server — give your AI agent callers/callees, change-impact, and semantic search over your repo instead of grep. 7 languages, zero-infra, git-native.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -43,7 +43,7 @@
43
43
  "binary-digests.json"
44
44
  ],
45
45
  "scripts": {
46
- "build": "tsc",
46
+ "build": "tsc && node scripts/chmod-bin.mjs",
47
47
  "typecheck": "tsc --noEmit",
48
48
  "test": "vitest run",
49
49
  "start": "node dist/index.js",
@@ -0,0 +1,12 @@
1
+ // Make the compiled bin executable. tsc emits dist/index.js without the +x bit,
2
+ // so a bare `./dist/index.js` (or a global-install symlink invoked as an
3
+ // executable, or our pack→untar→exec smoke) fails with exit 126. `npm install`
4
+ // chmods bins on install, but the packed artifact should be correct on its own.
5
+ // Cross-platform: chmod is a no-op-ish on Windows but never throws.
6
+ import { chmodSync } from "node:fs";
7
+
8
+ try {
9
+ chmodSync(new URL("../dist/index.js", import.meta.url), 0o755);
10
+ } catch (e) {
11
+ console.error(`reposkein: could not chmod dist/index.js (${e instanceof Error ? e.message : e})`);
12
+ }