@wonderwhy-er/desktop-commander
Version:
MCP server for terminal operations and file editing
10 lines (9 loc) • 381 B
TypeScript
import { CommandExecutionResult } from '../types.js';
/**
* Platform detection and sandbox execution router
*/
export declare function executeSandboxedCommand(command: string, timeoutMs?: number, shell?: string): Promise<CommandExecutionResult>;
/**
* Check if sandboxed execution is available for the current platform
*/
export declare function isSandboxAvailable(): boolean;