Honor resident swarm state configuration

This commit is contained in:
Meta Vens 2026-08-25 14:47:11 +02:00
commit a4a5bd9a3c
2 changed files with 6 additions and 1 deletions

View file

@ -34,7 +34,10 @@ const swarmOperatorViewSchemaId = "voidbot.swarm_operator_view.v1";
const args = parseArgs(process.argv.slice(2));
const env = await readDotEnv(resolve(repoRoot, ".env"));
const env = {
...(await readDotEnv(resolve(repoRoot, ".env"))),
...process.env,
};
const swarmCultMeshRudpEndpoint = String(
args.rudpEndpoint ||
args["rudp-endpoint"] ||

View file

@ -4,6 +4,8 @@ import test from "node:test";
const source = readFileSync(new URL("./render-voidbot-swarm-dashboard.mjs", import.meta.url), "utf8");
assert.match(source, /\.\.\.process\.env/, "the resident renderer must honor daemon process configuration");
test("the operator surface is composed from metrics and typed lists", () => {
for (const componentId of [
"voidbot-status-metrics",