-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New diff viewer like cursor, addon to system prompt while running, api logging for debugging #2175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
This pull request is quite large, with 53 changed files and over 4000 lines added. It includes a variety of changes such as documentation updates, new features, and refactoring across different components and services. To make the review process more manageable, it would be beneficial to split this pull request into smaller, more focused ones. Here are some suggestions on how to split the changes:
By splitting the changes, it will be easier to review and test each part independently, ensuring a smoother integration process. Thank you for your understanding and cooperation! |
… problematic DecorationController test
| .diff-header h2 { | ||
| margin: 0 0 16px 0; | ||
| font-size: 14px; | ||
| font-weight: normal; | ||
| color: var(--vscode-foreground); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use tailwind style ?
| logApiRequest({ | ||
| systemPrompt, | ||
| messages, | ||
| }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can logging be in another pr ?
Context
This PR introduces three major improvements to Roo Code:
Implementation
New Unified Diff Viewer
NewUnifiedDiffStrategythat provides more robust diff applicationAPI Logger
~/.roo_logs/api_history.txtSystem Prompt Enhancements
Screenshots
How to Test
Testing the Diff Viewer:
Testing the API Logger:
~/.roo_logs/api_history.txtfor detailed logsTesting System Prompt Changes:
Get in Touch
I'm available in the Roo Code Discord as [your handle] for any questions or feedback about these changes.
Important
Enhances Roo Code with a new diff viewer, API logging, and improved system prompt handling, integrating these features into the existing codebase with modular updates.
DiffApproveProviderinsrc/integrations/diff-approve/DiffApproveProvider.tsfor enhanced diff viewing.checkpointDiffWebmessage handling inwebviewMessageHandler.ts.ChatTextArea.tsxandCheckpointMenu.tsxto support new diff viewer actions.api-logger.tswithlogApiRequest()andsetApiLoggingEnabled().API_LOGGINGexperiment inexperiments.tsand updates related tests.anthropic.ts,gemini.ts, etc.SystemPromptTextAreacomponent inSystemPromptTextArea.tsxfor dynamic prompt appending.ChatView.tsxto include system prompt handling.generatePrompt()insystem.tsto append system prompt text.package.jsonto include new dependencies and scripts.chat.jsonandsettings.jsonfor UI elements.Cline.tsto integrate new functionalities and improve modularity.This description was created by
for e61123c50823097b303bf5d59139cdbbb8577d30. It will automatically update as commits are pushed.