opencode-cursor-agent/internal
王性驊 3d5f2d91c0 feat: Switch to playwright-go for better DOM automation
Major refactor using Playwright (pure Go):
- Add playwright-go dependency (v0.5700.1)
- Create PlaywrightProvider with auto-wait for elements
- Use LaunchPersistentContext for session persistence
- Implement Locator-based element finding (auto-wait)
- Fill input using Playwright's built-in methods
- Add fallback selectors for input fields
- Better error messages with page URL and title

Key improvements over Rod:
- Auto-wait for elements (solves 'input field not found')
- More mature browser automation library
- Better documentation and examples
- Based on project-golem's proven strategies

Installation:
- Playwright driver and Chromium downloaded to ~/Library/Caches/ms-playwright/
- ~160MB download (one-time setup)
2026-04-03 01:20:42 +08:00
..
agent add docker file and claude flow output 2026-04-01 04:32:17 +00:00
anthropic fix 2026-04-01 00:53:34 +00:00
apitypes feat: Add GeminiWeb provider foundation 2026-04-02 22:45:41 +08:00
config feat: Add GeminiWeb provider foundation 2026-04-02 22:45:41 +08:00
env feat: Add GeminiWeb provider foundation 2026-04-02 22:45:41 +08:00
handlers feat: Route chat completions to Gemini Web provider when configured 2026-04-03 00:36:48 +08:00
httputil first commit 2026-03-30 14:09:15 +00:00
logger feat: Add provider display in startup logs and OpenCode gemini-web config 2026-04-03 00:29:22 +08:00
models fix 2026-04-01 00:53:34 +00:00
openai fix 2026-04-01 00:53:34 +00:00
parser fix output 2026-04-02 21:54:28 +08:00
pool fix 2026-04-01 00:53:34 +00:00
process fix 2026-04-01 00:53:34 +00:00
providers feat: Switch to playwright-go for better DOM automation 2026-04-03 01:20:42 +08:00
router feat: Route chat completions to Gemini Web provider when configured 2026-04-03 00:36:48 +08:00
sanitize first commit 2026-03-30 14:09:15 +00:00
server fix 2026-04-01 00:53:34 +00:00
toolcall fix output 2026-04-02 21:54:28 +08:00
winlimit fix 2026-04-01 00:53:34 +00:00
workspace first commit 2026-03-30 14:09:15 +00:00