/** * Shell Photon - Command-Line Execution * * Provides basic shell command execution capabilities. * Enable with: NCP_ENABLE_SHELL=true * * Use with CLI discovery (NCP_CLI_AUTOSCAN=true) to get enhanced * tool suggestions based on available system commands. */ export default class ShellMCP { name: string; description: string; /** * Check if this MCP should be loaded based on environment */ shouldLoad(): Promise; /** * Execute a shell command */ execute(params: { command: string; cwd?: string; timeout?: number; env?: Record; }): Promise<{ stdout: string; stderr: string; exitCode: number; }>; /** * Run a command and return only stdout (convenience method) */ run(params: { command: string; cwd?: string; timeout?: number; }): Promise<{ output: string; }>; /** * Check if a command exists on the system */ which(params: { command: string; }): Promise<{ path: string | null; exists: boolean; }>; /** * Get environment variable value */ getEnv(params: { variable: string; }): Promise<{ value: string | undefined; }>; /** * List files in a directory */ ls(params: { path?: string; all?: boolean; long?: boolean; }): Promise<{ output: string; }>; /** * Get current working directory */ pwd(): Promise<{ path: string; }>; /** * Change directory and execute command */ cd(params: { path: string; command?: string; }): Promise<{ output: string; newPath: string; }>; } //# sourceMappingURL=shell.photon.d.ts.map