@getmonoceros/workbench 1.23.2 → 1.23.3
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 +8 -1
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -2515,6 +2515,13 @@ async function writeOpencodeConfig(targetDir, containerName2, features) {
|
|
|
2515
2515
|
...managedInstructions,
|
|
2516
2516
|
...existingInstructions.filter((i) => !managedInstructions.includes(i))
|
|
2517
2517
|
];
|
|
2518
|
+
if (typeof config.permission !== "string") {
|
|
2519
|
+
const permission = typeof config.permission === "object" && config.permission !== null ? config.permission : {};
|
|
2520
|
+
const ext = typeof permission.external_directory === "object" && permission.external_directory !== null ? permission.external_directory : {};
|
|
2521
|
+
ext[`${workspaceRoot}/projects/*`] = "allow";
|
|
2522
|
+
permission.external_directory = ext;
|
|
2523
|
+
config.permission = permission;
|
|
2524
|
+
}
|
|
2518
2525
|
if (model) {
|
|
2519
2526
|
config.model = model;
|
|
2520
2527
|
}
|
|
@@ -7220,7 +7227,7 @@ var CLI_VERSION;
|
|
|
7220
7227
|
var init_version = __esm({
|
|
7221
7228
|
"src/version.ts"() {
|
|
7222
7229
|
"use strict";
|
|
7223
|
-
CLI_VERSION = true ? "1.23.
|
|
7230
|
+
CLI_VERSION = true ? "1.23.3" : "dev";
|
|
7224
7231
|
}
|
|
7225
7232
|
});
|
|
7226
7233
|
|