Add a LinkedIn sender by pasting its li_at session cookie. Validates the cookie against LinkedIn before saving and enforces the plan sender limit. userAgent is OPTIONAL: if omitted a realistic desktop Chrome default is used. For the longest-lived cookie, OFFER to capture the user's real browser user-agent — ask them to paste what navigator.userAgent prints in the SAME browser they copied the li_at from (or, if a browser-automation tool is connected, read it from there) — since LinkedIn ties the session to that fingerprint. If they can't, proceed with the default and mention it was used. Prefer connect_linkedin_with_credentials when the user can share their login: a saved email+password (plus the authenticator setup key if the account has 2FA) enables silent cookie auto-refresh so the account runs 24/7. On success it returns connectMessage + suggestions noting this is a cookie-only connection (works now but the cookie will expire) and how to make it run 24/7 (reconnect with email + password, and store the authenticator setup key if the account has 2FA) — relay them.
ConnectorOAuth