Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
test(engines): check pins for engines installable on this host
leonongoing54f9f249c98e
diff --git a/server/engine-updates.test.ts b/server/engine-updates.test.tsindex 4c01e785a2..40e3b22e6c 100644--- a/server/engine-updates.test.ts+++ b/server/engine-updates.test.ts@@ -55,12 +55,13 @@ function noSteps(): EngineUpdaterOptions["steps"] {}describe("the version table", () => {- it("pins every engine the app installs, at or above its minimum, and a standalone engine at its pinned build", () => {+ it("pins every engine installable on this platform, at or above its minimum, and a standalone engine at its pinned build", () => {for (const driver of BUILT_IN_DRIVERS) {const installs = Boolean(npmPackageOf(driver.install) || driver.install?.standalone || driver.install?.managed);- expect(Boolean(ENGINE_VERSIONS[driver.driverKind]), driver.driverKind).toBe(installs);+ if (installs) expect(ENGINE_VERSIONS[driver.driverKind], driver.driverKind).toBeDefined();}for (const [kind, pin] of Object.entries(ENGINE_VERSIONS)) {+ expect(BUILT_IN_DRIVERS.some((driver) => driver.driverKind === kind), kind).toBe(true);if (pin.target !== LATEST) expect(isNewerVersion(pin.minimum, pin.target), kind).toBe(false);}for (const plan of enginePlans(BUILT_IN_DRIVERS)) {