@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 +1 -1
- package/package.json +1 -1
- package/src/index.js +3 -3
- package/src/strategies/fuzzy-patch.js +0 -1
package/README.md
CHANGED
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -254,11 +254,11 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
254
254
|
inputSchema: {
|
|
255
255
|
type: "object",
|
|
256
256
|
properties: {
|
|
257
|
-
|
|
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: ["
|
|
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({
|
|
776
|
+
async function handleRead({ filePath, start_line, end_line }) {
|
|
777
777
|
return await handleReadFile({ path: filePath, start_line, end_line });
|
|
778
778
|
}
|
|
779
779
|
|