@mastra/daytona 0.5.0 → 0.5.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/CHANGELOG.md +18 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/sandbox/process-manager.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -632,7 +632,8 @@ var DaytonaProcessManager = class extends SandboxProcessManager {
|
|
|
632
632
|
async spawn(command, options = {}) {
|
|
633
633
|
const effectiveOptions = {
|
|
634
634
|
...options,
|
|
635
|
-
timeout: options.timeout ?? this._defaultTimeout
|
|
635
|
+
timeout: options.timeout ?? this._defaultTimeout,
|
|
636
|
+
cwd: options.cwd ?? this.sandbox.mounts?.entries?.keys().next().value
|
|
636
637
|
};
|
|
637
638
|
const mergedEnv = { ...this.env, ...effectiveOptions.env };
|
|
638
639
|
const envs = Object.fromEntries(
|