From 6733a5a822f9927081f8bccfc41de3842b29858d Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 5 Mar 2026 22:12:10 -0500 Subject: [PATCH] fix: use sha1 for hash instead of unsupported xxhash3-xxh64 --- packages/opencode/src/util/hash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/util/hash.ts b/packages/opencode/src/util/hash.ts index 648148f93..680e0f40b 100644 --- a/packages/opencode/src/util/hash.ts +++ b/packages/opencode/src/util/hash.ts @@ -2,6 +2,6 @@ import { createHash } from "crypto" export namespace Hash { export function fast(input: string | Buffer): string { - return createHash("xxhash3-xxh64").update(input).digest("hex") + return createHash("sha1").update(input).digest("hex") } }