The open source coding agent.
TypeScript
fix: build error
Adame8ac4a1e995a
diff --git a/packages/util/package.json b/packages/util/package.jsonindex 7855f11f3db..a573fac3c58 100644--- a/packages/util/package.json+++ b/packages/util/package.json@@ -13,7 +13,6 @@"zod": "catalog:"},"devDependencies": {- "typescript": "catalog:",- "@types/node": "catalog:"+ "typescript": "catalog:"}}diff --git a/packages/util/src/sanitize.ts b/packages/util/src/sanitize.tsindex 892fe87cf04..270b618ae2c 100644--- a/packages/util/src/sanitize.ts+++ b/packages/util/src/sanitize.ts@@ -1,4 +1,4 @@-import { Part } from "@opencode-ai/sdk"+import type { Part } from "@opencode-ai/sdk/client"export const sanitize = (text: string | undefined, remove?: RegExp) => (remove ? text?.replace(remove, "") : text) ?? ""