@softerist/heuristic-mcp 2.1.41 → 2.1.43

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.
Files changed (2) hide show
  1. package/index.js +7 -6
  2. package/package.json +16 -16
package/index.js CHANGED
@@ -36,7 +36,13 @@ try {
36
36
 
37
37
 
38
38
  // Parse workspace from command line arguments
39
- const args = process.argv.slice(2);
39
+ let args = process.argv.slice(2);
40
+ const hadLogs = args.includes('--logs');
41
+ if (hadLogs) {
42
+ process.env.SMART_CODING_VERBOSE = 'true';
43
+ args = args.filter(arg => arg !== '--logs');
44
+ console.log('[Logs] Starting server with verbose console output (Ctrl+C to stop)...');
45
+ }
40
46
 
41
47
  if (args.includes('--stop')) {
42
48
  await stop();
@@ -53,11 +59,6 @@ if (args.includes('--status')) {
53
59
  process.exit(0);
54
60
  }
55
61
 
56
- if (args.includes('--logs')) {
57
- console.log("⚠️ Note: '--logs' is deprecated. Please use '--status' to see cache information.");
58
- await status();
59
- process.exit(0);
60
- }
61
62
 
62
63
  // Check if --register flag is present
63
64
  if (args.includes('--register')) {
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@softerist/heuristic-mcp",
3
- "version": "2.1.41",
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
- "type": "module",
6
- "main": "index.js",
7
- "bin": {
8
- "heuristic-mcp": "index.js"
9
- },
10
- "scripts": {
11
- "start": "node index.js",
12
- "dev": "node --watch index.js",
13
- "test": "vitest run",
14
- "test:watch": "vitest",
15
- "clean": "node scripts/clear-cache.js",
16
- "postinstall": "node scripts/postinstall.js && node scripts/download-model.js"
17
- },
3
+ "version": "2.1.43",
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
+ "type": "module",
6
+ "main": "index.js",
7
+ "bin": {
8
+ "heuristic-mcp": "index.js"
9
+ },
10
+ "scripts": {
11
+ "start": "node index.js",
12
+ "dev": "node --watch index.js",
13
+ "test": "vitest run",
14
+ "test:watch": "vitest",
15
+ "clean": "node scripts/clear-cache.js",
16
+ "postinstall": "node scripts/postinstall.js && node scripts/download-model.js"
17
+ },
18
18
  "keywords": [
19
19
  "mcp",
20
20
  "semantic-search",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",
43
- "url": "https://github.com/softerist/heuristic-mcp"
43
+ "url": "git+https://github.com/softerist/heuristic-mcp.git"
44
44
  },
45
45
  "homepage": "https://github.com/softerist/heuristic-mcp#readme",
46
46
  "license": "MIT",