Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(scripts): read core auth state from result field

Steven Enamakel96a5e4e96b8d
diff --git a/scripts/debug/web-ui-lib.mjs b/scripts/debug/web-ui-lib.mjs
index 86d152dd67..b2ddac0803 100644
--- a/scripts/debug/web-ui-lib.mjs
+++ b/scripts/debug/web-ui-lib.mjs
@@ -50,7 +50,7 @@ export function startCoreChild(startChild, core, corePort, launchSpec) {
/** Whether a logged core RPC auth state reports an authenticated credential. */
export function isCoreAuthenticated(authState) {
- return authState?.isAuthenticated === true;
+ return authState?.result?.isAuthenticated === true;
}
/** Navigate an authenticated scripted session to chat when Home has no composer. */