Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.
import { createRouter } from "@tanstack/react-router";
import { parseSearchText } from "./lib/search-text";
import type { RouterContext } from "./router-context";
import { routeTree } from "./routeTree.gen";
export const router = createRouter({
routeTree,
context: {} as RouterContext,
/*
* The router's own search parsing, minus the numbers it cannot render back: see
* `parseSearchText`. Every route that reads a parameter as text reads it through `searchText`,
* which needs what arrives to be something that text can be recovered from.
*/
parseSearch: parseSearchText,
});
declare module "@tanstack/react-router" {
interface Register {
router: typeof router;
}
}