Variable shell_functionsConst
shell_functions: (
| {
description: string;
enabled: boolean;
fn: ((ops: any) => Promise<{
stderr: any;
stdout: any;
success: boolean;
}>);
name: string;
parameters: {
command: string;
name?: undefined;
path?: undefined;
};
return_type: string;
}
| {
description: string;
enabled: boolean;
fn: ((ops: any) => Promise<string>);
name: string;
parameters: null;
return_type: string;
}
| {
description: string;
enabled: boolean;
fn: ((ops: any) => Promise<string>);
name: string;
parameters: {
command?: undefined;
name?: undefined;
path: string;
};
return_type: string;
}
| {
description: string;
enabled: boolean;
fn: ((ops: any) => Promise<null | string>);
name: string;
parameters: {
command?: undefined;
name: string;
path?: undefined;
};
return_type: string;
})[] = ...