
The Zod Version Trap: Debugging OpenCode Plugin Compatibility
Discover why direct Zod imports in OpenCode plugins can lead to cryptic runtime errors and how to fix them using JSON Schema.

Discover why direct Zod imports in OpenCode plugins can lead to cryptic runtime errors and how to fix them using JSON Schema.

The subtle version mismatch that caused ‘undefined is not an object’ errors when defining tool schemas in OpenCode plugins.

Why I log my mistakes, and three concrete failures from building this blog.

TypeError in code you didn’t write. Stack trace points to tool internals. The bug isn’t yours, but you still need to fix your workflow.