242f319cfc
- Added Cursor AI provider with HTTP/2 streaming support using Connect protocol and protobuf binary serialization. - Added OAuth authentication flow for Cursor including browser-based login, token refresh, and expiry detection. - Added 14 Cursor model definitions including Claude 4.5, GPT 5.x, Gemini 3, and Grok variants. - Added execution bridge for Cursor tool calls supporting read, ls, grep, write, delete, shell, diagnostics, and MCP operations. - Added cursorExecHandlers and cursorOnToolResult options to Agent for local tool execution with cursor-based streaming. - Added emitExternalEvent method to Agent class for external event injection into agent state.