summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/util/package.json3
-rw-r--r--packages/util/src/sanitize.ts2
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) ?? ""