@mastra/e2b 0.11.0-alpha.0 → 0.11.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -551,7 +551,7 @@ var E2BProcessManager = class extends _mastra_core_workspace.SandboxProcessManag
551
551
  handle = new E2BProcessHandle(await e2b.commands.run(command, {
552
552
  background: true,
553
553
  stdin: true,
554
- cwd: options.cwd,
554
+ cwd: options.cwd ?? this.sandbox.workingDirectory,
555
555
  envs,
556
556
  timeoutMs: options.timeout,
557
557
  onStdout: (data) => handle.emitStdout(data),