Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.
Rust ai-agentsai-assistantai-botautomationbotbots-teamchatbotclaude-duetgrokgrok-botgrok-bot-alternativeharnessllmmulti-agentopenai-dotsopenbotpersonal-agentrustself-hostedselfhosted-ai
/** Puts text on the clipboard. True only when the browser says it did; false when it refused (an insecure
* origin, a denied permission) or has no clipboard at all. Callers say "Copied" or "Couldn't copy" from this. */
export async function copyText(text: string): Promise<boolean> {
const clip = typeof navigator !== 'undefined' ? navigator.clipboard : undefined;
if (!clip || typeof clip.writeText !== 'function') return false;
try {
await clip.writeText(text);
return true;
} catch {
return false;
}
}