chore: cleanup versioned zod imports (#3460)

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
This commit is contained in:
Jérôme Benoit
2025-10-26 20:50:41 +01:00
committed by GitHub
parent 3241f6b8bb
commit 0eb899a950
53 changed files with 78 additions and 77 deletions

View File

@@ -7,7 +7,7 @@ import { defer } from "../util/defer"
import { MessageV2 } from "./message-v2"
import { SystemPrompt } from "./system"
import { Bus } from "../bus"
import z from "zod/v4"
import z from "zod"
import type { ModelsDev } from "../provider/models"
import { SessionPrompt } from "./prompt"
import { Flag } from "../flag/flag"

View File

@@ -1,5 +1,5 @@
import { Decimal } from "decimal.js"
import z from "zod/v4"
import z from "zod"
import { type LanguageModelUsage, type ProviderMetadata } from "ai"
import PROMPT_INITIALIZE from "../session/prompt/initialize.txt"

View File

@@ -1,4 +1,4 @@
import z from "zod/v4"
import z from "zod"
import { Instance } from "../project/instance"
import { Log } from "../util/log"
import { NamedError } from "../util/error"

View File

@@ -1,4 +1,4 @@
import z from "zod/v4"
import z from "zod"
import { Bus } from "../bus"
import { NamedError } from "../util/error"
import { Message } from "./message"

View File

@@ -1,4 +1,4 @@
import z from "zod/v4"
import z from "zod"
import { NamedError } from "../util/error"
export namespace Message {

View File

@@ -1,7 +1,7 @@
import path from "path"
import os from "os"
import fs from "fs/promises"
import z from "zod/v4"
import z from "zod"
import { Identifier } from "../id/id"
import { MessageV2 } from "./message-v2"
import { Log } from "../util/log"

View File

@@ -1,4 +1,4 @@
import z from "zod/v4"
import z from "zod"
import { Identifier } from "../id/id"
import { Snapshot } from "../snapshot"
import { MessageV2 } from "./message-v2"

View File

@@ -1,4 +1,4 @@
import z from "zod/v4"
import z from "zod"
import { Bus } from "../bus"
import { Storage } from "../storage/storage"