Skip to content
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

feat: add terminal context menu command #807

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

samhvw8
Copy link

@samhvw8 samhvw8 commented Feb 6, 2025

  • Add terminal context menu commands for:
    • Adding terminal content to context
    • Fixing failed commands
    • Explaining commands
  • Implement terminal content selection and retrieval
  • Add support prompts for terminal actions
  • Register terminal action handlers

Description

This Pr allow user, quickly send content from terminal to Roo code

some screenshot

image image image

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • My code follows the patterns of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Additional context

Related Issues

Reviewers


Important

Add terminal context menu commands for content management, command fixing, and explanation, with handlers and prompts support.

  • Behavior:
    • Add terminal context menu commands in package.json for adding content, fixing, and explaining commands.
    • Implement terminal content selection and retrieval in TerminalManager.ts.
    • Register terminal action handlers in registerTerminalActions.ts.
  • Functions:
    • handleTerminalAction() in ClineProvider.ts to process terminal actions.
    • getTerminalContents() in TerminalManager.ts to retrieve terminal content.
  • Prompts:
    • Add support prompts for terminal actions in support-prompt.ts.

This description was created by Ellipsis for 0ceb370. It will automatically update as commits are pushed.

- Add terminal context menu commands for:
  - Adding terminal content to context
  - Fixing failed commands
  - Explaining commands
- Implement terminal content selection and retrieval
- Add support prompts for terminal actions
- Register terminal action handlers
Copy link

changeset-bot bot commented Feb 6, 2025

⚠️ No Changeset found

Latest commit: 679866c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Collaborator

@mrubens mrubens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@mrubens mrubens merged commit 517b545 into RooVetGit:main Feb 6, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants