@morphllm/morphmcp 0.8.37 → 0.8.39

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/dist/index.js +1 -1
  2. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -78,7 +78,7 @@ if (args.length === 0 && !ENABLE_WORKSPACE_MODE) {
78
78
  // Auto-Update System
79
79
  // Checks for SDK updates periodically and installs them automatically
80
80
  // =============================================================================
81
- const AUTO_UPDATE_INTERVAL_MS = parseInt(process.env.AUTO_UPDATE_INTERVAL_MS || '3600000', 10); // Default: 1 hour
81
+ const AUTO_UPDATE_INTERVAL_MS = parseInt(process.env.AUTO_UPDATE_INTERVAL_MS || '1800000', 10); // Default: 30 minutes
82
82
  const DISABLE_AUTO_UPDATE = process.env.DISABLE_AUTO_UPDATE === 'true';
83
83
  // Get current installed version from package.json
84
84
  async function getInstalledVersion(packageName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morphllm/morphmcp",
3
- "version": "0.8.37",
3
+ "version": "0.8.39",
4
4
  "description": "Fast & accurate MCP server with AI-powered file editing and intelligent code search. Prevents context pollution and saves time for a better user experience.",
5
5
  "license": "MIT",
6
6
  "author": "Morph (https://morphllm.com)",
@@ -29,13 +29,14 @@
29
29
  "build:obfuscated": "npm run build && npm run obfuscate",
30
30
  "obfuscate": "npx javascript-obfuscator dist --output dist --target node --compact true --string-array true --exclude '**/dist/__tests__/**'",
31
31
  "prepare": "npm run build",
32
+ "postinstall": "npm install @morphllm/morphsdk@latest --no-save --silent 2>/dev/null || true",
32
33
  "watch": "tsc --watch",
33
34
  "test": "jest --config=jest.config.cjs --coverage"
34
35
  },
35
36
  "dependencies": {
36
37
  "@google/generative-ai": "^0.21.0",
37
38
  "@modelcontextprotocol/sdk": "^1.12.3",
38
- "@morphllm/morphsdk": "*",
39
+ "@morphllm/morphsdk": "latest",
39
40
  "@vscode/ripgrep": "^1.15.14",
40
41
  "axios": "^1.6.0",
41
42
  "chalk": "^5.3.0",