typegraph-mcp 0.9.4 → 0.9.5

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.
@@ -1136,13 +1136,6 @@ async function main(configOverride) {
1136
1136
  console.log("");
1137
1137
  return { passed, failed, skipped };
1138
1138
  }
1139
- var isDirectRun = process.argv[1] && fs4.realpathSync(process.argv[1]) === fs4.realpathSync(new URL(import.meta.url).pathname);
1140
- if (isDirectRun) {
1141
- main().then((result) => process.exit(result.failed > 0 ? 1 : 0)).catch((err) => {
1142
- console.error("Fatal:", err);
1143
- process.exit(1);
1144
- });
1145
- }
1146
1139
  export {
1147
1140
  main
1148
1141
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typegraph-mcp",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "Type-aware codebase navigation for AI coding agents — 14 MCP tools powered by tsserver + oxc",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/smoke-test.ts CHANGED
@@ -484,17 +484,3 @@ export async function main(configOverride?: TypegraphConfig): Promise<SmokeTestR
484
484
  return { passed, failed, skipped };
485
485
  }
486
486
 
487
- // ─── Self-run guard ──────────────────────────────────────────────────────────
488
-
489
- const isDirectRun =
490
- process.argv[1] &&
491
- fs.realpathSync(process.argv[1]) === fs.realpathSync(new URL(import.meta.url).pathname);
492
-
493
- if (isDirectRun) {
494
- main()
495
- .then((result) => process.exit(result.failed > 0 ? 1 : 0))
496
- .catch((err) => {
497
- console.error("Fatal:", err);
498
- process.exit(1);
499
- });
500
- }