@mrxkun/mcfast-mcp 2.2.2 → 2.2.4

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/README.md CHANGED
@@ -99,7 +99,7 @@ Read file contents with optional line ranges to save tokens.
99
99
 
100
100
  ```javascript
101
101
  {
102
- path: "/path/to/file.js",
102
+ filePath: "/path/to/file.js",
103
103
  start_line: 50,
104
104
  end_line: 100
105
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrxkun/mcfast-mcp",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "Ultra-fast code editing with fuzzy patching, auto-rollback, and 5 unified tools.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -254,11 +254,11 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
254
254
  inputSchema: {
255
255
  type: "object",
256
256
  properties: {
257
- path: { type: "string", description: "Absolute path to the file" },
257
+ filePath: { type: "string", description: "Absolute path to the file" },
258
258
  start_line: { type: "number", description: "Start line (1-indexed, inclusive)" },
259
259
  end_line: { type: "number", description: "End line (1-indexed, inclusive)" }
260
260
  },
261
- required: ["path"]
261
+ required: ["filePath"]
262
262
  }
263
263
  },
264
264
  // CORE TOOL 4: list_files
@@ -773,7 +773,7 @@ async function handleSearch({ query, files, path, mode = 'auto', regex = false,
773
773
  * UNIFIED HANDLER 3: handleRead (v2.0)
774
774
  * Renamed from handleReadFile for consistency
775
775
  */
776
- async function handleRead({ path: filePath, start_line, end_line }) {
776
+ async function handleRead({ filePath, start_line, end_line }) {
777
777
  return await handleReadFile({ path: filePath, start_line, end_line });
778
778
  }
779
779
 
@@ -3,7 +3,6 @@
3
3
  * Applies unified diffs with whitespace tolerance and semantic similarity
4
4
  */
5
5
 
6
- import { parsePatch } from './patch-parser.js';
7
6
  import {
8
7
  tokenSimilarity,
9
8
  calculateConfidence,