Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Windows MCP/CLI path beside the existing macOS Swift implementation. The Windows server uses Microsoft UI Automation through Windows PowerShell 5.1 and keeps macOS configs available as
.mcp.macos.jsonand.cursor/mcp.macos.json.What changed
scripts/ocu-windows.ps1,scripts/mcp-server.ps1, and a Windows MCP smoke test.ocuexecutable target macOS-only soOCUCorebuilds/tests on Windows with the official Swift toolchain.Validation
winget install --id Swift.Toolchain -e --source winget --silent --accept-package-agreements --accept-source-agreementsswift --version-> Swift 6.3.2, targetx86_64-unknown-windows-msvc.buildpowershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\smoke-test-windows.ps1powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\ocu-windows.ps1 safety-check --text "rm -rf /" --jsonpowershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\ocu-windows.ps1 safety-check --text "echo hello" --jsonswift buildfrom a Visual Studio x64 environmentswift testfrom a Visual Studio x64 environment: 17 XCTest tests, 0 failuresNotes
Windows UI Automation is constrained by normal Windows integrity/session boundaries, so elevated apps, other-user sessions, protected surfaces, and some custom-rendered controls may expose partial trees or reject actions.