opencode-cursor-agent/internal
王性驊 32673c028e refactor: Complete rewrite of GeminiWeb provider
Based on project-golem implementation:

Phase 1: Browser Persistence
- Add BrowserManager singleton to manage browser lifecycle
- Use launchPersistentContext with UserDataDir
- Auto-save cookies and session state
- Clean Chrome lock files on startup
- Single browser instance reused across requests

Phase 2: Improved DOM Interaction
- Use correct input selectors (ProseMirror first)
- Implement 'Physical Enter' send method
- Trigger input/change/keyup events properly
- Check for 'Stop' button to detect busy state

Phase 3: Session Management
- No manual cookie saving/loading needed
- Session pool just manages userDataDir paths
- Default session directory structure

Breaking changes:
- Remove manual cookie management
- Browser stays open between requests
- Simpler session management
2026-04-03 01:05:54 +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 refactor: Complete rewrite of GeminiWeb provider 2026-04-03 01:05:54 +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