@softerist/heuristic-mcp 2.1.29 → 2.1.30
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 +1 -1
- package/scripts/postinstall.js +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softerist/heuristic-mcp",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.30",
|
|
4
4
|
"description": "An enhanced MCP server providing intelligent semantic code search with find-similar-code, recency ranking, and improved chunking. Fork of smart-coding-mcp.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
package/scripts/postinstall.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { register } from '../features/register.js';
|
|
2
2
|
|
|
3
|
-
// Run the registration process
|
|
3
|
+
// Run the registration process - MUST await to ensure file writes complete
|
|
4
4
|
console.log('[PostInstall] Running Heuristic MCP registration...');
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
try {
|
|
7
|
+
await register();
|
|
8
|
+
console.log('[PostInstall] Registration complete.');
|
|
9
|
+
} catch (err) {
|
|
6
10
|
console.error('[PostInstall] Registration failed:', err.message);
|
|
7
11
|
// Don't fail the install if registration fails, just warn
|
|
8
|
-
|
|
9
|
-
});
|
|
12
|
+
}
|