refactor(config): purge numeric tuning knobs behind built-in defaults (#111382)

This commit is contained in:
Peter Steinberger
2026-07-19 07:35:45 -07:00
committed by GitHub
parent ec01949d86
commit 783a5d21cf
365 changed files with 1672 additions and 9001 deletions
@@ -1,7 +1,7 @@
// Mutates plugin metadata fixtures for config reload E2E scenarios.
// Mutates display metadata for config reload E2E scenarios.
import fs from "node:fs";
const configPath = process.env.OPENCLAW_CONFIG_PATH;
const config = JSON.parse(fs.readFileSync(configPath, "utf8"));
config.gateway.channelHealthCheckMinutes = 2;
config.ui.seamColor = "#ff6600";
fs.writeFileSync(configPath, `${JSON.stringify(config, null, 2)}\n`, "utf8");
+2 -2
View File
@@ -15,10 +15,10 @@ function writeConfig(kind) {
mode: "token",
token: { source: "env", provider: "default", id: "GATEWAY_AUTH_TOKEN_REF" },
},
channelHealthCheckMinutes: 1,
controlUi: { enabled: false },
reload: { mode: "hybrid", debounceMs: 0 },
reload: { mode: "hybrid" },
},
ui: { seamColor: "#ff4500" },
}
: kind === "browser-cdp"
? {
+2 -1
View File
@@ -290,7 +290,8 @@ export function readPluginSdkSurfaceBudgets(env = process.env) {
// channel-outbound and its two compatibility barrels.
// Net +1: public session catalog locator types after the protocol cleanup harvest.
// +2: lifecycle-owned prepared model catalog sync and async readers.
8192,
// Harvest: retired tuning-knob config types -10.
8182,
env,
),
publicFunctionExports: readPluginSdkSurfaceBudgetEnv(