This updates the web context provider to optionally use the new endpoint in the GraphQL API (introduced here) to fetch web context in cody web to get around CORS issues.
Test plan
Tested dev build against local Sourcegraph instance. Also tested that web mentions still work in VSCode.
@camdencheek merging this since we still need to bump the version in the Sourcegraph client. Change seems very safe since only Cody Web uses new Web URL mention logic
This updates the web context provider to optionally use the new endpoint in the GraphQL API (introduced here) to fetch web context in cody web to get around CORS issues.
Test plan
Tested dev build against local Sourcegraph instance. Also tested that web mentions still work in VSCode.