mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
* fix: add character limit to prevent terminal output context explosion - Enhanced truncateOutput function to accept character limits alongside line limits - Character limits take priority over line limits to prevent context window explosion - Added terminalOutputCharacterLimit setting (default: 100,000 characters) - Updated all terminal output processing to use both limits - Added comprehensive tests for character limit functionality Fixes #5775 * feat: add terminal output character limit setting to UI - Add character limit slider to Terminal Settings UI (default: 50,000) - Update ExtensionStateContext to manage character limit state - Add validation for positive character limit values - Add English translation and translations for all 17 supported languages - Connect UI to backend through proper message handling - Character limit takes precedence over line limit to prevent memory issues * fix: update test expectations for character limit edge cases - Fix multi-byte character test to account for JavaScript's string length behavior - Fix newline content test to match actual slice behavior - Tests now correctly validate the truncateOutput function's character limit handling --------- Co-authored-by: Roo Code <roomote@roocode.com> Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| api.ts | ||
| array.ts | ||
| checkExistApiConfig.ts | ||
| combineApiRequests.ts | ||
| combineCommandSequences.ts | ||
| context-mentions.ts | ||
| cost.ts | ||
| embeddingModels.ts | ||
| experiments.ts | ||
| ExtensionMessage.ts | ||
| getApiMetrics.ts | ||
| globalFileNames.ts | ||
| language.ts | ||
| mcp.ts | ||
| modes.ts | ||
| package.ts | ||
| ProfileValidator.ts | ||
| safeJsonParse.ts | ||
| support-prompt.ts | ||
| TelemetrySetting.ts | ||
| todo.ts | ||
| tools.ts | ||
| vsCodeSelectorUtils.ts | ||
| WebviewMessage.ts | ||