@mastra/e2b 0.11.0 → 0.12.0-alpha.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
@@ -946,8 +946,12 @@ var E2BSandbox = class E2BSandbox extends _mastra_core_workspace.MastraSandbox {
946
946
  }
947
947
  /**
948
948
  * Bulk-write files into the sandbox filesystem via the SDK's native upload.
949
+ *
950
+ * Per-file permission modes are not supported; an explicit `mode` is
951
+ * rejected rather than silently discarded.
949
952
  */
950
953
  async writeFiles(files) {
954
+ (0, _mastra_core_workspace.assertModesUnsupported)(files, "E2B");
951
955
  await this.ensureRunning();
952
956
  await this.e2b.files.write(files.map((f) => ({
953
957
  path: f.path,