Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import { RegistryContext } from "@effect/atom-react";
import { AtomRegistry } from "effect/unstable/reactivity";
import { createElement } from "react";
export let appAtomRegistry = AtomRegistry.make();
export function AppAtomRegistryProvider({ children }: React.PropsWithChildren) {
return createElement(RegistryContext.Provider, { value: appAtomRegistry }, children);
}
export function resetAppAtomRegistryForTests() {
appAtomRegistry.dispose();
appAtomRegistry = AtomRegistry.make();
}