Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Mar 31, 2025

This reverts commit c62e8f2.


Important

Reverts changes to mention handling for OS-specific path styles and files with spaces, affecting multiple files and tests.

  • Revert Changes:
    • Reverts handling of OS-specific path styles in Cline.ts, index.ts, and ClineProvider.ts.
    • Removes osInfo parameter from openMention() and parseMentions() functions.
    • Deletes formatPath.ts and types.ts related to mention handling.
  • Tests:
    • Removes tests related to path styles and spaces in context-mentions.test.ts.
    • Updates WorkspaceTracker.test.ts to reflect reverted changes.
  • Misc:
    • Updates mentionRegex in context-mentions.ts to previous state.
    • Removes osInfo from ExtensionState in ExtensionMessage.ts.

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

@changeset-bot
Copy link

changeset-bot bot commented Mar 31, 2025

🦋 Changeset detected

Latest commit: b88c787

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
roo-cline Patch

Not sure what this means? Click here to learn what changesets are.

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

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Mar 31, 2025
}
const content = await extractTextFromFile(absoluteFilePath)
return `<file_content path="${filePath}">\n${content}\n</file_content>`
return `<file_content path="${filePath.toPosix()}">\n${content}\n</file_content>`
Copy link
Contributor

Choose a reason for hiding this comment

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

The use of filePath.toPosix() is problematic because filePath is a string and does not have a toPosix() method. Consider using path.posix.join(…) or a similar approach to correctly convert the path to POSIX format.

Suggested change
return `<file_content path="${filePath.toPosix()}">\n${content}\n</file_content>`
return `<file_content path="${path.posix.join(filePath)}">\n${content}\n</file_content>`

@mrubens mrubens merged commit b0b4240 into main Mar 31, 2025
10 checks passed
@mrubens mrubens deleted the try_to_fix_chat_area_problems branch March 31, 2025 20:56
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 31, 2025
cte pushed a commit that referenced this pull request Apr 1, 2025
…2162)

* Revert "feat @-mention window path style & file with space (#1924)"

This reverts commit c62e8f2.

* Add changeset
Smartsheet-JB-Brown added a commit to Smartsheet-JB-Brown/Roo-Code that referenced this pull request Apr 1, 2025
* main: (21 commits)
  Update contributors list (RooCodeInc#2137)
  Tree-sitter Enhancements: TSX, TypeScript, JSON, and Markdown Support (RooCodeInc#2169)
  Fix Tests to run properly on Windows (RooCodeInc#1963)
  We should post state to webview at the end of `RooCodeAPI.clearCurrentTask()` (RooCodeInc#1874)
  Update app icon (RooCodeInc#2166)
  Changeset version bump (RooCodeInc#2163)
  Revert "feat @-mention window path style & file with space (RooCodeInc#1924)" (RooCodeInc#2162)
  Changeset version bump (RooCodeInc#2154)
  Include inference-profile in Bedrock arnRegex (RooCodeInc#2156)
  Add requesty to connect-src (RooCodeInc#2155)
  Update the webview when changing settings via the API (RooCodeInc#2143)
  Split webviewMessageHandler out of ClineProvider.ts (RooCodeInc#2149)
  Changeset version bump (RooCodeInc#2141)
  Relax provider profiles schema and log parse error to PostHog (RooCodeInc#2139)
  Changeset version bump (RooCodeInc#1992)
  v3.11.0 (RooCodeInc#2136)
  Update contributors list (RooCodeInc#2090)
  Preserve existing provider profiles when importing (RooCodeInc#2052)
  feat: Add shift-click to append suggestions to text area (RooCodeInc#2081)
  Remove hard-coded o3-mini model when streaming is enabled, allowing custom o3-mini-<reasoning> model (RooCodeInc#2134)
  ...
monotykamary pushed a commit to monotykamary/Roo-Code that referenced this pull request Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants