summaryrefslogtreecommitdiffhomepage
path: root/packages/util/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/util/src')
-rw-r--r--packages/util/src/sanitize.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/util/src/sanitize.ts b/packages/util/src/sanitize.ts
index 38ad2b290..4bb762393 100644
--- a/packages/util/src/sanitize.ts
+++ b/packages/util/src/sanitize.ts
@@ -1,4 +1,4 @@
-import type { Part } from "@opencode-ai/sdk/client"
+import type { Part } from "@opencode-ai/sdk/v2/client"
export const sanitize = (text: string | undefined, remove?: RegExp) => (remove ? text?.replace(remove, "") : text) ?? ""