Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
import type { ServerText } from "../../shared/server-text.ts";
import { noticeFailure } from "../chat-notices.ts";
export function codexActionFailure(message: string, mayHaveRun: boolean, text?: ServerText) {
return mayHaveRun ? noticeFailure("chat.notice.codexActionMayHaveRun", { message }) : { message, ...(text ? { text } : {}) };
}