@mrxkun/mcfast-mcp 4.1.0 → 4.1.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrxkun/mcfast-mcp",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Ultra-fast code editing with WASM acceleration, fuzzy patching, multi-layer caching, and 8 unified tools. Optimized for AI code assistants with 80-98% latency reduction. Phase 5: Memory v4.1.0 - Markdown source, Hybrid Search, Two-tier memory.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -7,6 +7,7 @@
7
7
  import Database from 'better-sqlite3';
8
8
  import path from 'path';
9
9
  import fs from 'fs/promises';
10
+ import crypto from 'crypto';
10
11
 
11
12
  export class MemoryDatabase {
12
13
  constructor(dbPath = null) {
@@ -363,7 +364,6 @@ export class MemoryDatabase {
363
364
  VALUES (?, ?, ?, ?, ?, ?)
364
365
  `);
365
366
 
366
- const crypto = await import('crypto');
367
367
  const queryHash = crypto.createHash('md5').update(query).digest('hex');
368
368
 
369
369
  stmt.run(query, queryHash, method, resultsCount, Math.round(durationMs), Date.now());