sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.59k stars 275 forks source link

Update Cody Web package #4741

Closed vovakulikov closed 3 months ago

vovakulikov commented 3 months ago

Part of SRCH-632

This is the one of PRs that come from the bigger change we did for Cody Web in this main PR https://github.com/sourcegraph/cody/pull/4605.

This PR is based on https://github.com/sourcegraph/cody/pull/4731 (which adds remote context functionality which is used only in the Cody Web package). This should be safe to merge since it only updates cody web package and has no impact on the shared vs code cody extension logic.

This PR updates cody web package

Test plan

github-actions[bot] commented 3 months ago

‼️ Hey @sourcegraph/cody-security, please review this PR carefully as it introduces the usage of an unsafe_ function or abuses PromptString.