fix: resolve viewId inconsistency in WebPreviewProvider

- Changed viewId from "roo-code.webPreview" to "roo-cline.WebPreviewProvider" to match package.json and registerCommands.ts
- This fixes the issue identified by ellipsis-dev bot in PR #5981
- Security vulnerabilities were already fixed in the original PR
This commit is contained in:
Roo Code 2025-07-20 05:52:16 +00:00
parent a9e4f1ef3c
commit a125c4bcb5

View file

@ -29,7 +29,7 @@ export interface WebPreviewMessage {
}
export class WebPreviewProvider implements vscode.WebviewViewProvider {
public static readonly viewId = "roo-code.webPreview"
public static readonly viewId = "roo-cline.WebPreviewProvider"
private static instance?: WebPreviewProvider
private view?: vscode.WebviewView