Commit 765cf63
fix(codex): use truncateUtf16Safe for tool transcript output truncation
Replace naive .slice(0, N) with truncateUtf16Safe() in event-projector
tool transcript output text to prevent surrogate pair splitting.
Co-Authored-By: Claude <[email protected]>1 parent f0d4d4f commit 765cf63
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
3066 | 3067 | | |
3067 | 3068 | | |
3068 | 3069 | | |
3069 | | - | |
| 3070 | + | |
3070 | 3071 | | |
3071 | 3072 | | |
3072 | 3073 | | |
| |||
0 commit comments