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
style(scripts): reformat debug web UI code to satisfy formatter
Steven Enamakelf50ff35ecc4f
diff --git a/scripts/__tests__/debug-web-ui.test.mjs b/scripts/__tests__/debug-web-ui.test.mjsindex baa74c58f7..91fc7dc28a 100644--- a/scripts/__tests__/debug-web-ui.test.mjs+++ b/scripts/__tests__/debug-web-ui.test.mjs@@ -89,7 +89,9 @@ test("core RPC client bounds a stalled request and propagates its timeout", asynconst hangingFetch = (_url, init) => {signal = init.signal;return new Promise((_resolve, reject) => {- signal.addEventListener("abort", () => reject(signal.reason), { once: true });+ signal.addEventListener("abort", () => reject(signal.reason), {+ once: true,+ });});};const rpc = createCoreRpcClient(@@ -99,7 +101,9 @@ test("core RPC client bounds a stalled request and propagates its timeout", asyn5,);- await assert.rejects(rpc("openhuman.auth_get_state"), { name: "TimeoutError" });+ await assert.rejects(rpc("openhuman.auth_get_state"), {+ name: "TimeoutError",+ });assert.equal(signal.aborted, true);});diff --git a/scripts/debug/web-ui-lib.mjs b/scripts/debug/web-ui-lib.mjsindex 1871f0a284..4401506a6f 100644--- a/scripts/debug/web-ui-lib.mjs+++ b/scripts/debug/web-ui-lib.mjs@@ -58,7 +58,12 @@ export async function ensureSignedInChat(page, appOrigin) {}/** Create an authenticated core RPC client with a bounded request lifetime. */-export function createCoreRpcClient(rpcUrl, token, fetchImpl = fetch, timeoutMs = 10_000) {+export function createCoreRpcClient(+ rpcUrl,+ token,+ fetchImpl = fetch,+ timeoutMs = 10_000,+) {return async (method, params = {}) => {const res = await fetchImpl(rpcUrl, {method: "POST",