Skip to content

Agent warnings: zod error / unhandled rejection #350

Description

@Huluk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliThe Codebuff/Freebuff terminal clientbot:triagedClassified by the community triage bottype:bugA defect in the code with a reproducible failure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions