chore: checkpoint pi lab rust integration work
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
*/
|
||||
|
||||
import { execFileSync } from "node:child_process";
|
||||
import { existsSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
@@ -62,9 +61,6 @@ function executeMcpRequest(params: {
|
||||
tool?: string;
|
||||
arguments?: Record<string, unknown>;
|
||||
}): Record<string, unknown> {
|
||||
if (!existsSync(MCP_CLIENT_PATH)) {
|
||||
throw new Error(`MNote MCP client 不存在: ${MCP_CLIENT_PATH}`);
|
||||
}
|
||||
const requestJson = JSON.stringify({
|
||||
server: params.server,
|
||||
mode: params.mode,
|
||||
|
||||
Reference in New Issue
Block a user