fix: open external links in VS Code runtime

Route shared URL opening through VS Code host instead of webview window APIs
Add a VS Code runtime URL-open API and bridge handler using vscode.env.openExternal
Keep shared URL helper behavior unchanged for desktop and web
This commit is contained in:
Bohdan Triapitsyn
2026-03-20 19:22:43 +02:00
parent 7356090e3d
commit 36793d00a4
5 changed files with 37 additions and 1 deletions
+1
View File
@@ -619,6 +619,7 @@ export interface EditorAPI {
export interface VSCodeAPI {
executeCommand(command: string, ...args: unknown[]): Promise<unknown>;
openAgentManager(): Promise<void>;
openExternalUrl(url: string): Promise<void>;
}
export interface PushSubscribePayload {