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
const normalizePathname = (pathname: string): string =>
pathname.length > 1 ? pathname.replace(/\/+$/, '') : pathname;
export function missingHashRedirectTarget(pathname: string, search: string): string {
if (normalizePathname(pathname) === '/auth') {
return `/#/auth${search}`;
}
return `${pathname}${search}#/`;
}