Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(cua): show Cua Driver calls as computer use in every provider #16529

Draftjuliusmarmingewants to merge 1 commit intot3code/cua/2-providers fromrefs/pull/16529/headopened View on GitHub

juliusmarmingecommented

Cua tool calls showed up as raw mcp__cua-driver__click rows. They now read like Codex's own computer use in every harness: the target app's name in a plain title ("Clicked in Safari"), its icon, and a computer source.

  • The shared MCP presentation recognizes the cua-driver server, so Claude, Codex, Cursor, the ACP family, OpenCode 1.x, OpenCode 2, and Pi all reach it through one helper.
  • Completed calls teach the thread which app owns each pid, so later calls that only name a pid or window still name the app.
  • The title table covers every tool Cua 0.38 exposes on any platform, pinned by a test. A run_steps batch is attributed to the window its last step names.
  • App icons resolve on every host: Spotlight and sips on macOS; launcher entries and the hicolor theme on Linux (from https://git.cafe/pingdotgg/t3code/pulls/10899); and on Windows, the executable's associated icon, found through running processes or the Start Menu, rendered to a cached PNG with PowerShell.

Verification

  • Focused tests: Cua presentation across every provider's tool-name shape, title table against the 0.38 catalogue, Linux icon lookup, and the adapter and provider suites (2001 tests).
  • Not verified: the Windows icon path on a real Windows host.

Built with Claude Opus 5.5 in T3 Code, through the Claude Code harness.

🤖 Generated with Claude Code

    1. Pushed9cc0147

    2. Pushed57bb8d7

Sign in to join this conversation.