The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(debug): log child shutdown signals in web-ui script
Steven Enamakel32d1513a214d
diff --git a/scripts/debug/web-ui.mjs b/scripts/debug/web-ui.mjsindex 18c060e673..4885c137e5 100644--- a/scripts/debug/web-ui.mjs+++ b/scripts/debug/web-ui.mjs@@ -61,7 +61,9 @@ async function shutdown(code) {// Each child leads its own process group, so pnpm/node grandchildren go too.try {process.kill(-child.pid, "SIGTERM");- } catch {+ log(`sent SIGTERM to ${child.name} group ${child.pid}`);+ } catch (err) {+ log(`group kill of ${child.name} failed (${err.code}); signalling the pid`);child.kill("SIGTERM");}}@@ -86,6 +88,7 @@ function startChild(name, command, args, env, cwd = repo) {void shutdown(1);}});+ child.name = name;children.push(child);return child;}