Skip to content

Variable: executeSshCommandOperationSchema

const executeSshCommandOperationSchema: ZodObject<{ args: ZodDefault<ZodArray<ZodString>>; command: ZodString; cwd: ZodOptional<ZodString>; env: ZodOptional<ZodRecord<ZodString, ZodString>>; machineId: ZodString; timeoutMs: ZodOptional<ZodNumber>; }, $strict>

Execute a maintenance command on an assigned Sandbox. Create or select a persisted project first for app, demo, server, desktop, or persistent file work, and run from that project directory. Keep installation in mise hooks.postinstall and prefer documented mise start and stop tasks over ad-hoc workload commands. List available tasks, including hidden tasks, before invoking one.

  • machineId: Assigned Sandbox id from list_ssh_machines that executes the command.
  • command: Executable name only. Put arguments in args. For shell syntax, use command “sh” with args [“-lc”, “