diff options
| author | Adam <[email protected]> | 2025-12-09 14:49:00 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-09 15:21:47 -0600 |
| commit | b9fa7d91630fdaddf1744ba73b6dfcc8821e0b28 (patch) | |
| tree | 10eaa287374cb90dd5541f50ab5df72051060aef /packages/util | |
| parent | f736751ab275f52701d40ca0488b75081ed851ec (diff) | |
| download | opencode-b9fa7d91630fdaddf1744ba73b6dfcc8821e0b28.tar.gz opencode-b9fa7d91630fdaddf1744ba73b6dfcc8821e0b28.zip | |
wip(desktop): progress
Diffstat (limited to 'packages/util')
| -rw-r--r-- | packages/util/src/sanitize.ts | 2 |
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) ?? "" |
