fix: use zod instead of zod/v4 — project zod doesn't export /v4 subpath

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
snomiao
2026-03-27 07:51:37 +00:00
parent 742216ad18
commit 0984ec2706

View File

@@ -13,8 +13,7 @@
import type { Page } from '@playwright/test'
import { query, tool, createSdkMcpServer } from '@anthropic-ai/claude-agent-sdk'
import { GoogleGenerativeAI } from '@google/generative-ai'
// eslint-disable-next-line import-x/no-unresolved -- zod/v4 is re-exported by claude-agent-sdk
import { z } from 'zod/v4'
import { z } from 'zod'
import { execSync } from 'child_process'
import { mkdirSync, writeFileSync, readFileSync } from 'fs'