diff options
| author | Adam <[email protected]> | 2025-11-25 16:27:53 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-11-25 16:27:53 -0600 |
| commit | e8ac4a1e995ae57795e639115289e91851805a21 (patch) | |
| tree | 947b375259fcf22b9197b6c4d9aa5ad9e1c2fa1d | |
| parent | 19c8654195a7b27f974de3abefa9ef00a7cd7c1b (diff) | |
| download | opencode-e8ac4a1e995ae57795e639115289e91851805a21.tar.gz opencode-e8ac4a1e995ae57795e639115289e91851805a21.zip | |
fix: build error
| -rw-r--r-- | packages/util/package.json | 3 | ||||
| -rw-r--r-- | packages/util/src/sanitize.ts | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/util/package.json b/packages/util/package.json index 7855f11f3..a573fac3c 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.ts index 892fe87cf..270b618ae 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) ?? "" |
