Commit graph

104 commits

Author SHA1 Message Date
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
Daniel Trugman
e14b1b2dab Add OpenAI-style cost calculation 2025-03-07 13:53:32 +00:00
cte
7eee3e0878 Smart truncation for terminal output 2025-03-05 19:36:52 -08:00
Chris Estreich
159621cea6 Move & clean up model fetchers 2025-02-25 11:35:24 -08:00
System233
0eecda2dc3 feat: ollama-deepseek reasoning support 2025-02-20 11:50:14 +08:00
ColemanRoo
4585281dc8 Modify Full Integration Test Structure to allow for multiple tests that start new tasks
Add test for mode switching functionality
2025-02-10 12:32:51 -06:00
Nissa Seru
b194bcea4d 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
Nissa Seru
6ae6535201 Fix meta spreading order 2025-02-08 12:06:12 -05:00
Nissa Seru
41d18bdaaa
Update src/utils/logging/index.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-02-08 09:52:07 -05:00
Nissa Seru
f403a336dc Implement logging utility 2025-02-08 09:41:29 -05:00
Matt Rubens
d145039d72 Safer profile path check 2025-02-04 23:59:36 -05:00
Matt Rubens
ec3df254a3 Merge remote-tracking branch 'origin/main' into add-command-fixes-from-cline 2025-02-03 22:35:35 -05:00
Nissa Seru
f8b29e718d Add command fixes 2025-02-01 23:25:44 -05:00
loup
064dc4e52f feat: opened tabs and selection in the @ menu 2025-02-01 11:16:38 -05:00
sam hoang
085d42873c refactor: generalize prompt enhancement into single completion handler
- Rename enhance-prompt.ts to single-completion-handler.ts for better clarity
- Refactor enhancement logic to be more generic and reusable
- Update prompt template handling to use template literals
- Adjust tests and imports accordingly
2025-01-24 01:14:48 +07:00
Matt Rubens
60a0a824b9 Prettier backfill 2025-01-17 14:11:28 -05:00
Matt Rubens
75e308b033 Add a screen for custom prompts 2025-01-13 22:45:14 -05:00
Matt Rubens
5fbfe9b775 Add test coverage 2025-01-07 16:20:11 -05:00
Matt Rubens
7e9ea7ac28 Add a Git section to the context mentions 2025-01-06 12:17:26 -05:00
Matt Rubens
621655aacb Try a better enhanced prompt prompt 2025-01-01 00:13:29 -08:00
Matt Rubens
fb70552b57 Interface cleanup 2024-12-28 21:50:27 -08:00
Matt Rubens
111abdbb2c Enhance prompt button for openrouter 2024-12-28 15:44:14 -08:00
Justin Quan
1adc36a292 add volume setting 2024-12-15 23:22:44 -08:00
Matt Rubens
c0b070e6f0
Improvements to apply_diff (#52) 2024-12-08 10:51:40 -05:00
Matt Rubens
4b74f290d4
Play sound effects for notifications and events (#38)
Co-authored-by: HeavenOSK <heavenosk@gmail.com>
2024-12-01 22:25:10 -05:00
Mark Percival
93e70c62f1
Chore: Prettier for consistant formatting (#794)
* Chore: Pretier for consistant formatting

- TODO: This PR needs to be updated by Saoud after he runs `npm install` & `npm format:fix` and commits the results of the prettier changes.

* Revert prettier config

* Run npm install

* Fix prettier config and ignore package lock

* Run format

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2024-11-21 13:13:54 -08:00
Saoud Rizwan
c04dfc76cb Misc refactor cline 2024-10-09 01:49:59 -04:00
Saoud Rizwan
f6a14fdfb9 Add markdown rendering for model description; fixes 2024-10-09 01:49:57 -04:00
Saoud Rizwan
ab327e3bbf Refactor util functions out of claude dev 2024-10-09 01:49:55 -04:00
Saoud Rizwan
2b63b91bfb Refactor out file helpers into fs.ts 2024-10-09 01:49:55 -04:00
Saoud Rizwan
1cc3546b7e Initial streaming refactor 2024-10-09 01:49:54 -04:00
Saoud Rizwan
40f7942801 Refactor out of utils 2024-09-24 11:45:12 -04:00
Saoud Rizwan
7c21a4c833 Refactor out of utils 2024-09-24 11:36:37 -04:00
Saoud Rizwan
98441bf98c Refactor theme 2024-09-24 11:24:57 -04:00
Saoud Rizwan
24bad56785 Refactor services 2024-09-24 11:15:24 -04:00
Saoud Rizwan
a009c84597 Refactor API 2024-09-24 10:43:31 -04:00
Saoud Rizwan
fd2472de3b Add comments 2024-09-22 20:56:34 -04:00
Saoud Rizwan
b5ca470ebf Use safe path comparison 2024-09-22 20:05:38 -04:00
Saoud Rizwan
69e681ebce Normalize all file paths to posix format when presenting to AI or user 2024-09-22 19:20:10 -04:00
Saoud Rizwan
3bd09e4e1b Fallback to fullpage when page dimensions arent available 2024-09-22 08:18:02 -04:00
Saoud Rizwan
1528aeb3dd Fallback to body if documentElement not available 2024-09-22 07:42:50 -04:00
Saoud Rizwan
47d5902ef9 Fix screenshot options 2024-09-21 16:28:06 -04:00
Saoud Rizwan
46ceafa016 Close browser even if screenshot fails; handle case where webp screenshot fails 2024-09-21 16:24:59 -04:00
Saoud Rizwan
2e272a1ad3 Wait for html to stabilize before considering page loaded 2024-09-21 16:01:34 -04:00
Saoud Rizwan
99a82e5563 Use networkidle0 for inspect_site 2024-09-21 15:34:14 -04:00
Saoud Rizwan
2e865f32fe Prepare for release 2024-09-21 11:50:25 -04:00
Saoud Rizwan
f7d12a3e02 Add inspect_site tool 2024-09-21 10:54:20 -04:00
Saoud Rizwan
f282df604a Send only new errors to claude after he applies an edit 2024-09-20 16:23:43 -04:00
Saoud Rizwan
5fbb335bb6 Refactor 2024-09-19 16:49:31 -04:00
Saoud Rizwan
826ee28fc1 Minor fixes 2024-09-19 15:17:24 -04:00