Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
test(codex): drop the raw-prefix assertion that breaks on an apostrophe in TEMP
AdityaUmalec4e1a26e19f3
diff --git a/server/drivers/codex-update.test.ts b/server/drivers/codex-update.test.tsindex 54033f5cc8..3d47b9e183 100644--- a/server/drivers/codex-update.test.ts+++ b/server/drivers/codex-update.test.ts@@ -1,7 +1,7 @@import { mkdirSync, rmSync, writeFileSync } from "node:fs";import { join } from "node:path";import { afterEach, expect, it, vi } from "vitest";-import { enginesBinDir, enginesPrefix } from "../engine-install.ts";+import { enginesBinDir } from "../engine-install.ts";import { registerPathDir, unregisterPathDir } from "../env-path.ts";import { codexAppCopyUpdateCommand, codexReleaseUpdate, codexUpdateCommand } from "./codex-update.ts";@@ -58,7 +58,6 @@ it("updates the app's own npm copy in the app's folder, not npm's global copy thtry {const update = await codexReleaseUpdate("codex-cli 0.167.0", "codex", false);expect(update).toMatchObject({ title: "Update Codex to 0.169.0", serverInstall: false, command: codexAppCopyUpdateCommand("0.169.0") });- expect(update?.command).toContain(enginesPrefix());expect(update?.command).toContain("@openai/[email protected]");} finally {unregisterPathDir(bin);