Roo-Code/webview-ui
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
..
.storybook Additional @shadcn/ui components 2025-02-14 23:41:39 -08:00
public Remove CRA cruft 2025-01-30 14:38:41 -08:00
src Revert "Smart truncation for terminal output" 2025-03-10 20:54:53 -07:00
.eslintrc.json Stabilize tests in CI 2025-02-23 02:28:10 -08:00
.gitignore Add shadcn/ui + Storybook 2025-01-30 12:50:09 -08:00
.npmrc Improved logic for auto-approving chained commands 2024-12-26 22:45:09 -08:00
components.json Remove lucide 2025-01-30 14:47:59 -08:00
index.html Roo Cline -> Roo Code 2025-01-29 21:21:20 +07:00
jest.config.cjs Better model picker 2025-02-07 12:25:52 -08:00
package-lock.json Fix settings dropdown issues 2025-03-07 21:36:03 -08:00
package.json Fix settings dropdown issues 2025-03-07 21:36:03 -08:00
tsconfig.json Merged with main branch 2025-02-06 12:44:22 +05:30
vite.config.ts Composable, reusable chat interface with Markdown support + VSCode theme syntax highlighting 2025-02-15 02:11:22 -08:00