This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit 57666f3
committed
fix: bound accumulatedOutput growth in execute_command
Prevent unbounded memory growth during long-running commands by trimming
the accumulated output buffer. The full output is preserved by the
OutputInterceptor; this buffer is only used for UI display.1 parent 2893261 commit 57666f3
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
227 | 230 | | |
228 | 231 | | |
229 | 232 | | |
230 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
231 | 239 | | |
232 | 240 | | |
233 | 241 | | |
| |||
0 commit comments