Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Apr 2, 2025

Context

Implementation

Screenshots

before after

How to Test

Get in Touch


Important

Add taskModeSwitched event to track mode changes in tasks, update tests and API to handle the new event.

  • Events:
    • Add taskModeSwitched event to ClineEvents in Cline.ts and ClineProvider.ts.
    • Emit taskModeSwitched in handleModeSwitch() in ClineProvider.ts and Cline.ts.
  • Testing:
    • Update modes.test.ts to include assertions for taskModeSwitched event, checking for "architect", "ask", and "debug" modes.
  • API:
    • Update API class in api.ts to listen for taskModeSwitched and emit RooCodeEventName.TaskModeSwitched.
  • Schemas:
    • Add taskModeSwitched to RooCodeEvents in roo-code.d.ts, types.ts, and index.ts.

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

@changeset-bot
Copy link

changeset-bot bot commented Apr 2, 2025

⚠️ No Changeset found

Latest commit: 796429a

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

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 2, 2025
@dosubot dosubot bot added the enhancement New feature or request label Apr 2, 2025
@cte cte merged commit 42f7465 into main Apr 2, 2025
19 checks passed
@cte cte deleted the cte/mode-switch-event branch April 2, 2025 21:25
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Apr 2, 2025
monotykamary pushed a commit to monotykamary/Roo-Code that referenced this pull request Apr 4, 2025
…2237)

The VPC endpoint for AnthropicBedrock should be specified using the
'baseURL' parameter instead of the 'endpoint' parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants