Roo-Code/src/utils
Eric Wheeler 070a36baa2 Revert "Smart truncation for terminal output"
This reverts commit 7eee3e0878.

Middle-out truncation is a really great feature and it should still be
implemented, however it unnecessarily interferes with #1365 because it
hooked into the low-level chunk management that comes directly from VSCE
shell integration.

The best place to hook OutputBuilder is as follows depending on the
state of terminal interaction:

1. Foreground terminals:

Cline.ts:
	 executeCommandTool(...) {
	     process.on("line", (line) => {
		    lines.push(line)
		    ...
	    }
	 }

2. For background terminals: hook in at the point that getUnretrievedOutput is consumed for active or
   inactive terminals in Cline.ts:getEnvironmentDetails()

Please note:

The Terminal classes are very sensitive to change, partially because of
the complicated way that shell integration works with VSCE, and
partially because of the way that Cline interacts with the Terminal*
class abstractions that make VSCE shell integration easier to work with.

At the point that PR#1365 is merged, it is unlikely that any Terminal*
classes will need to be modified substantially.  Generally speaking, we
should think of this is a stable interface and minimize changes.

Reverts: #1390
2025-03-10 20:54:53 -07:00
..
__tests__ Add OpenAI-style cost calculation 2025-03-07 13:53:32 +00:00
logging Merge branch 'create-logging-util' of https://github.com/nissa-seru/Roo-Code into create-logging-util 2025-02-08 12:06:34 -05:00
cost.ts Add OpenAI-style cost calculation 2025-03-07 13:53:32 +00:00
fs.ts Refactor out file helpers into fs.ts 2024-10-09 01:49:55 -04:00
git.ts Revert "Smart truncation for terminal output" 2025-03-10 20:54:53 -07:00
path.ts feat: opened tabs and selection in the @ menu 2025-02-01 11:16:38 -05:00
shell.ts Safer profile path check 2025-02-04 23:59:36 -05:00
single-completion-handler.ts refactor: generalize prompt enhancement into single completion handler 2025-01-24 01:14:48 +07:00
sound.ts Prettier backfill 2025-01-17 14:11:28 -05:00
xml-matcher.ts feat: ollama-deepseek reasoning support 2025-02-20 11:50:14 +08:00