-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Description
Summary
A customer reported a ZodError when using the plugin with OpenCode 1.2.25+:
"name": "UnknownError",
"data": {
"message": "ZodError: [{ \"origin\": \"string\", \"code\": \"invalid_format\", \"format\": \"starts_with\", \"prefix\": \"prt\", \"path\": [\"id\"], \"message\": \"Invalid string: must start with \\\"prt\\\"\" }]"
}
Root Cause
OpenCode 1.2.25+ added server-side Zod validation requiring Part IDs to start with "prt". Older versions of the plugin generated Part IDs without this prefix.
Fix
Already fixed in commit ac0294f (fix: add prt_ prefix to part IDs for OpenCode 1.2.25+ compatibility) and included in v2.0.5.
Verified
- Tested locally with OpenCode 1.3.2 + plugin v2.0.5 — error no longer reproduces.
Resolution
Customers hitting this error should update to the latest plugin version:
opencode-supermemory@latest
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels