The open source coding agent.
TypeScript
fix: use sha1 for hash instead of unsupported xxhash3-xxh64
Dax Raad6733a5a822f9
diff --git a/packages/opencode/src/util/hash.ts b/packages/opencode/src/util/hash.tsindex 648148f93db..680e0f40bc8 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")}}