Commit ac0294f
committed
fix: add prt_ prefix to part IDs for OpenCode 1.2.25+ compatibility
OpenCode 1.2.25+ validates part IDs with Zod schema requiring 'prt' prefix.
The chat.message hook was creating parts with non-compliant IDs causing ZodError.
Fixes #291 parent 6bca5df commit ac0294f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
0 commit comments