Replace builtin computer control with managed Cua MCP - #212
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@NarwhalChen must be a member of the codefox-repo team on Vercel to deploy. Learn more about collaboration on Vercel and other options here. |
# Conflicts: # packages/app/src/electron/ai/__tests__/codex-cli-mcp.test.ts # packages/app/src/electron/ai/provider-adapter.ts # packages/app/src/electron/ai/providers/claude-code.ts # packages/app/src/electron/ai/runtime.ts # packages/app/src/electron/main.ts # packages/app/src/electron/mcp/runtime-catalog.test.ts # packages/app/src/renderer/components/settings/pages/mcp-page.tsx
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
builtin:computer_controltool and its dedicated tests while retaining RobotJS and the shared robot wrapper for paste and other non-CUA behaviorcuaas a Convera-managed stdio MCP usingcua-driver mcp, preserve only its user-controlled disabled state, and protect it from replacement or deletion@modelcontextprotocol/sdkto 1.13.0, the minimum release that accepts the official driver's MCP protocol version2025-06-18AGENTS.mdinstructions requiring future agents to discover and run Convera's real Electron automation before declaring application behavior completeThe command and lifecycle follow the official Cua Driver references:
Verification
pnpm --filter @convera/app test— 21 files, 68 tests passedpnpm --filter @convera/app lint— passed with 6 pre-existing hook warnings outside this changepnpm --filter @convera/app exec tsc --noEmit --skipLibCheck— passedpnpm --filter @convera/app automation:typecheck— passedpnpm --filter @convera/app format— passedpnpm --filter @convera/app automation:prepare— packaged Electron and prepared matching ChromeDriverdoctorpassedcom.trycua.driverappcua-driver mcphandshake succeeded and exposed 49 native toolscuaservermcp__cua__start_session,mcp__cua__launch_app,mcp__cua__list_windows,mcp__cua__get_window_state,mcp__cua__click,mcp__cua__press_key, andmcp__cua__end_session7×8 = 56CONVERA_NATIVE_CUA_567×8and result56Remaining boundary
tsc --noEmitis still affected by existing third-party declaration errorsThis PR is intentionally left unmerged.