#350·codebuff

Agent warnings: zod error / unhandled rejection

Author: HulukCreated Oct 26, 2025Updated Sep 30, 2026
Labelstype:bugarea:clistalebot:triaged

I wanted to try agents, and they seem to work but throw some errors on startup.

I'm running codebuff 1.0.506 on macOS 15.6.1.

$ codebuff --agent reviewer
Error importing agent: ResolveMessage - Cannot find module 'zod/v4' from '/Users/huluk/Documents/TaskHeap/.agents/types/util-types.ts'
undefined /Users/huluk/Documents/TaskHeap/.agents/types/util-types.ts

Unhandled Rejection at: [object Promise] reason: InternalError: An internal error caused this command to fail. Please file a bug report at https://github.com/isomorphic-git/isomorphic-git/issues with this error message: Unsupported dircache version: 3

I tried npm install -g zod@^4.0.0 first, but that didn't work. I needed to install it locally inside my project, which is not great, since it's not otherwise a js/ts project. And it only got rid of the first error, not the second one.