@getmonoceros/workbench 1.24.0 → 1.24.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/bin.js CHANGED
@@ -2518,7 +2518,13 @@ async function writeOpencodeConfig(targetDir, containerName2, features) {
2518
2518
  if (typeof config.permission !== "string") {
2519
2519
  const permission = typeof config.permission === "object" && config.permission !== null ? config.permission : {};
2520
2520
  const ext = typeof permission.external_directory === "object" && permission.external_directory !== null ? permission.external_directory : {};
2521
- ext[`${workspaceRoot}/projects/*`] = "allow";
2521
+ for (const p of [
2522
+ `${workspaceRoot}/projects/*`,
2523
+ `${workspaceRoot}/${containerName2}.code-workspace`,
2524
+ `${workspaceRoot}/logs/*`
2525
+ ]) {
2526
+ ext[p] = "allow";
2527
+ }
2522
2528
  permission.external_directory = ext;
2523
2529
  config.permission = permission;
2524
2530
  }
@@ -7227,7 +7233,7 @@ var CLI_VERSION;
7227
7233
  var init_version = __esm({
7228
7234
  "src/version.ts"() {
7229
7235
  "use strict";
7230
- CLI_VERSION = true ? "1.24.0" : "dev";
7236
+ CLI_VERSION = true ? "1.24.1" : "dev";
7231
7237
  }
7232
7238
  });
7233
7239