@softerist/heuristic-mcp 2.1.23 → 2.1.25
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/features/lifecycle.js +4 -2
- package/features/register.js +3 -18
- package/package.json +1 -1
package/features/lifecycle.js
CHANGED
|
@@ -143,8 +143,9 @@ export async function logs() {
|
|
|
143
143
|
if (cacheDirs.length === 0) {
|
|
144
144
|
console.log('[Logs] No cache directories found.');
|
|
145
145
|
console.log(`[Logs] Expected location: ${globalCacheRoot}`);
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
console.log('');
|
|
147
|
+
// Don't return - fall through to show paths section
|
|
148
|
+
} else {
|
|
148
149
|
|
|
149
150
|
console.log(`[Logs] Found ${cacheDirs.length} cache director${cacheDirs.length === 1 ? 'y' : 'ies'} in ${globalCacheRoot}\n`);
|
|
150
151
|
|
|
@@ -203,6 +204,7 @@ export async function logs() {
|
|
|
203
204
|
}
|
|
204
205
|
|
|
205
206
|
console.log(`${'─'.repeat(60)}\n`);
|
|
207
|
+
}
|
|
206
208
|
|
|
207
209
|
// Show important paths
|
|
208
210
|
console.log('[Paths] Important locations:');
|
package/features/register.js
CHANGED
|
@@ -41,25 +41,10 @@ function getConfigPaths() {
|
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
// VS Code
|
|
45
|
-
|
|
46
|
-
paths.push({
|
|
47
|
-
name: 'VS Code',
|
|
48
|
-
path: path.join(home, 'Library', 'Application Support', 'Code', 'User', 'settings.json')
|
|
49
|
-
});
|
|
50
|
-
} else if (platform === 'win32') {
|
|
51
|
-
paths.push({
|
|
52
|
-
name: 'VS Code',
|
|
53
|
-
path: path.join(process.env.APPDATA || '', 'Code', 'User', 'settings.json')
|
|
54
|
-
});
|
|
55
|
-
} else {
|
|
56
|
-
paths.push({
|
|
57
|
-
name: 'VS Code',
|
|
58
|
-
path: path.join(home, '.config', 'Code', 'User', 'settings.json')
|
|
59
|
-
});
|
|
60
|
-
}
|
|
44
|
+
// Note: VS Code support is shown in --logs but NOT auto-registered
|
|
45
|
+
// because settings.json is a general config file that should not be auto-modified.
|
|
61
46
|
|
|
62
|
-
// Cursor (
|
|
47
|
+
// Cursor (has MCP support, uses settings.json key)
|
|
63
48
|
if (platform === 'darwin') {
|
|
64
49
|
paths.push({
|
|
65
50
|
name: 'Cursor',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softerist/heuristic-mcp",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.25",
|
|
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",
|