Repository navigation
v0.7.0
Changed (breaking)
- Computer Use now runs through ChatGPT's current runtime,
cua_repl: the JavaScript tool ChatGPT's own threads use. Pi registerscua_replandcua_repl_reset; MCP exposesjsandjs_reset. Both use the descriptions and parameters ChatGPT gives its own model. (#45) - The ten
computer_use_*codemode tools are removed. Use thecuaAPI insidecua_repl, for examplelet app = await cua.getApp("Calculator"); await app.click(7);. - Bindings such as
applast across calls and agent turns. Each turn ends with ChatGPT's officialturn_endedcall. - The
computerUseAppPathsetting is replaced bycuaReplConfigPath.
Added
- Browser control: agents can list Chrome tabs and open, read, act in and close tabs through ChatGPT's Chrome extension. This works without ChatGPT's per-turn browser permission.
Requirements
ChatGPT writes the runtime settings this release needs only when OpenAI has turned on its unified Computer Use runtime for the account. To check, run ls ~/.codex/plugins/cache/openai-bundled/unified-computer-use/; it should list a version folder. If it doesn't, the error says so; until it does, use 0.6.5: pi install npm:codex-computer-use-mcp@0.6.5. (#46)
Validation
All 71 tests, lint, core and Pi type checks, and the build pass, including live tests against ChatGPT for Work 26.1029.61003. Real openai-codex/gpt-6.1-sol runs through Pi:
- Opened a Finder folder and computed 17 × 23 + 9 in Calculator, then reused the binding on the next turn.
- Opened, read and closed a Chrome tab.
- Computed 12 × 12 through the packed and installed 0.7.0 tarball.
pi install npm:codex-computer-use-mcp