Skip to content

Variable: sshCommandResultSchema

const sshCommandResultSchema: ZodObject<{ args: ZodArray<ZodString>; command: ZodString; executionTimeMs: ZodNumber; exitCode: ZodNumber; stderr: ZodString; stdout: ZodString; success: ZodBoolean; timedOut: ZodOptional<ZodBoolean>; }, $strict>

SSH command execution result.

  • success: Whether the command exited successfully.
  • exitCode: Remote exit code.
  • stdout: Captured standard output.
  • stderr: Captured standard error.
  • executionTimeMs: Elapsed execution time.
  • timedOut (optional): Whether timeout terminated the command.
  • command: Executed command.
  • args: Executed arguments.