@wonderwhy-er/desktop-commander
Version:
MCP server for terminal operations and file editing
26 lines (25 loc) • 783 B
TypeScript
/**
* SPDX-License-Identifier: PolyForm-Small-Business-1.0.0
*
* Copyright (c) 2025 Desktope Commander MCP Contributors
*
* This file is licensed under the PolyForm Small Business License 1.0.0
* See the LICENSE file in the /src/polyform directory for the full license text.
*/
import { z } from 'zod';
export declare const EditBlockArgsSchema: z.ZodObject<{
file_path: z.ZodString;
old_string: z.ZodString;
new_string: z.ZodString;
expected_replacements: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
file_path: string;
old_string: string;
new_string: string;
expected_replacements: number;
}, {
file_path: string;
old_string: string;
new_string: string;
expected_replacements?: number | undefined;
}>;