Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/agent_env/explorer/ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/agent_env/explorer/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^2.6.0",
"zod": "^3.24.1"
"zod": "^4.6.6"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 UI type check fails

Zod 4 removes z.SafeParseReturnType, but src/env.mjs:43 still uses it in a JSDoc type. tsconfig.json enables checkJs and includes every .mjs file, so npm run typecheck fails even though nothing imports env.mjs. Update that type to z.ZodSafeParseResult<MergedOutput> as part of this upgrade.

Prompt To Fix With AI
This is a comment left during a code review.
Path: src/agent_env/explorer/ui/package.json
Line: 31

Comment:
**UI type check fails**

Zod 4 removes `z.SafeParseReturnType`, but `src/env.mjs:43` still uses it in a JSDoc type. `tsconfig.json` enables `checkJs` and includes every `.mjs` file, so `npm run typecheck` fails even though nothing imports `env.mjs`. Update that type to `z.ZodSafeParseResult<MergedOutput>` as part of this upgrade.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Fix in Cursor Fix in Claude Code Fix in Codex

},
"devDependencies": {
"@eslint/eslintrc": "^3.3.7",
Expand Down
Loading