UNPKG

@luxorai/sandbox

Version:

TypeScript SDK for Luxor Sandbox: cloud sandboxes (microVMs) for AI agents on Luxor Agent Cloud

15 lines • 456 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.stdoutText = stdoutText; exports.stderrText = stderrText; exports.isSuccess = isSuccess; function stdoutText(result) { return new TextDecoder().decode(result.stdout).trim(); } function stderrText(result) { return new TextDecoder().decode(result.stderr).trim(); } function isSuccess(status) { return status === "SUCCEEDED"; } //# sourceMappingURL=result.js.map