@beastmode-develeap/beastmode 0.1.57 → 0.1.58
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.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/web/board.html +0 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,7 +39,6 @@ var init_schemas = __esm({
|
|
|
39
39
|
satisfaction_threshold: z.number().min(0).max(1).default(0.85),
|
|
40
40
|
prod_accept_floor: z.number().min(0).max(1).default(0.65),
|
|
41
41
|
max_iterations: z.number().int().min(1).max(20).default(5),
|
|
42
|
-
parallel_coders: z.number().int().min(1).max(10).default(2),
|
|
43
42
|
fail_fast_threshold: z.number().min(0).max(1).default(0.3)
|
|
44
43
|
});
|
|
45
44
|
ModelsConfigSchema = z.object({
|
|
@@ -5619,10 +5618,11 @@ Path: ${projConfig.path}
|
|
|
5619
5618
|
pattern: "/api/config",
|
|
5620
5619
|
handler: () => {
|
|
5621
5620
|
const configPath = join13(factoryDir, ".beastmode", "config.json");
|
|
5622
|
-
|
|
5623
|
-
|
|
5621
|
+
const raw = existsSync15(configPath) ? JSON.parse(readFileSync12(configPath, "utf-8")) : generateDefaults();
|
|
5622
|
+
if (raw.pipeline && typeof raw.pipeline === "object") {
|
|
5623
|
+
delete raw.pipeline.parallel_coders;
|
|
5624
5624
|
}
|
|
5625
|
-
return
|
|
5625
|
+
return raw;
|
|
5626
5626
|
}
|
|
5627
5627
|
},
|
|
5628
5628
|
{
|
|
@@ -5671,6 +5671,9 @@ Path: ${projConfig.path}
|
|
|
5671
5671
|
}
|
|
5672
5672
|
}
|
|
5673
5673
|
const merged = deepMerge2(current, updatesClean);
|
|
5674
|
+
if (merged.pipeline && typeof merged.pipeline === "object") {
|
|
5675
|
+
delete merged.pipeline.parallel_coders;
|
|
5676
|
+
}
|
|
5674
5677
|
writeFileSync12(configPath, JSON.stringify(merged, null, 2) + "\n", "utf-8");
|
|
5675
5678
|
const daemonConfigPaths = [
|
|
5676
5679
|
join13(factoryDir, "config", "beastmode.daemon.json"),
|