@mastra/daytona 0.10.1-alpha.0 → 0.11.0

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
@@ -1030,8 +1030,12 @@ var DaytonaSandbox = class DaytonaSandbox extends _mastra_core_workspace.MastraS
1030
1030
  }
1031
1031
  /**
1032
1032
  * Bulk-write files into the sandbox filesystem via the SDK's native upload.
1033
+ *
1034
+ * Per-file permission modes are not supported; an explicit `mode` is
1035
+ * rejected rather than silently discarded.
1033
1036
  */
1034
1037
  async writeFiles(files) {
1038
+ (0, _mastra_core_workspace.assertModesUnsupported)(files, "Daytona");
1035
1039
  await this.ensureRunning();
1036
1040
  await this.daytona.fs.uploadFiles(files.map((file) => ({
1037
1041
  source: Buffer.isBuffer(file.content) ? file.content : Buffer.from(file.content),