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.
/**
* The vendored brand marks, inlined at build time as data URIs.
*
* The same files the desktop setup window draws, read from `shared/marks/` so there is one copy of
* each vendor's artwork rather than two to keep in step. See `shared/marks/README.md` before
* adding, renaming or drawing anything here: the rules in it are the reason a brand with no mark
* shows its name alone instead of a monogram we invented.
*
* As URIs rather than SVG source on purpose: an `<img>` cannot execute anything, so drawing these
* needs no `dangerouslySetInnerHTML` and what is in the file never becomes a security question.
*/
const files = import.meta.glob("../../../shared/marks/*.svg", {
eager: true,
query: "?inline",
import: "default",
}) as Record<string, string>;
const byId = new Map<string, string>(
Object.entries(files).map(([path, uri]) => [
path.replace(/^.*\/marks\//, "").replace(".svg", ""),
uri,
]),
);
/** The mark for a brand id, or null where no maintained set has one. */
export function markFor(id: string | null | undefined): string | null {
return (id && byId.get(id)) ?? null;
}