feat(desktop): default to control-chrome executable without npx (#534)

This commit is contained in:
ben
2026-02-10 23:22:01 -08:00
committed by GitHub
parent 0b3c9ae602
commit b393d67605
7 changed files with 88 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ description: Guide users through browser automation setup using Chrome DevTools
4. If DevTools MCP calls fail:
- Ask the user to open Chrome and keep it running.
- Retry `chrome-devtools_list_pages`.
- If it still fails, ensure `opencode.jsonc` includes `mcp.chrome-devtools` with command `['npx','-y','chrome-devtools-mcp@latest']` and ask the user to restart OpenWork/OpenCode.
- If it still fails, ensure `opencode.jsonc` includes `mcp.control-chrome` with command `['chrome-devtools-mcp']` and ask the user to restart OpenWork/OpenCode.
- Retry the DevTools MCP check.
5. If DevTools MCP is ready:
- Offer a first task ("Let's try opening a webpage").