feat: zod support v3/4

This commit is contained in:
Simon
2026-03-05 19:13:18 +08:00
parent 121104e13d
commit 53db2069ce
15 changed files with 54 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
import { InvokeError, LLM, type Tool } from '@page-agent/llms'
import type { BrowserState, PageController } from '@page-agent/page-controller'
import chalk from 'chalk'
import * as z from 'zod'
import * as z from 'zod/v4'
import SYSTEM_PROMPT from './prompts/system_prompt.md?raw'
import { tools } from './tools'