Commit a0681b6
Fix getLastSnippet() to return bounded 200-char context
Previously returned 0 to 8192 characters depending on buffer position.
Now consistently returns up to the last 200 characters read, providing
useful error context without excessive output.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 87e7db8 commit a0681b6
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
181 | 185 | | |
182 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
183 | 189 | | |
184 | 190 | | |
185 | 191 | | |
0 commit comments