-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add vscode config to disable proxying (#1197)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `enablePlaygroundProxy` setting to BAML VSCode extension to optionally disable proxying, with updates to configuration, RPC, and logic handling. > > - **Behavior**: > - Adds `enablePlaygroundProxy` setting to `bamlConfigSchema` in `bamlConfig.ts` and `package.json`. > - Updates `WebPanelView.ts` to handle `GET_VSCODE_SETTINGS` command, returning `enablePlaygroundProxy` status. > - Modifies `EventListener.tsx` to filter out `BOUNDARY_PROXY_URL` from environment variables if proxying is disabled. > - **RPC and API**: > - Adds `GetVSCodeSettingsRequest` and `GetVSCodeSettingsResponse` to `rpc.ts`. > - Implements `getIsProxyEnabled()` in `vscode.ts` to fetch proxy setting. > - **Testing and Hooks**: > - Updates `useRunHooks` in `testHooks.ts` to check `enablePlaygroundProxy` status. > - **Misc**: > - Minor logging changes in `vscode.ts` and `testHooks.ts`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 440a5da. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information
Showing
8 changed files
with
80 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters