File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
extensions/vscode/src/extension
gui/src/components/BackgroundMode Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11import { ConfigHandler } from "core/config/ConfigHandler" ;
2+ import { getControlPlaneEnv } from "core/control-plane/env" ;
23import { DataLogger } from "core/data/log" ;
34import { EDIT_MODE_STREAM_ID } from "core/edit/constants" ;
45import {
@@ -387,10 +388,9 @@ export class VsCodeMessenger {
387388 ) ;
388389
389390 if ( selection === "Connect GitHub" ) {
391+ const env = await getControlPlaneEnv ( this . ide . getIdeSettings ( ) ) ;
390392 vscode . env . openExternal (
391- vscode . Uri . parse (
392- "https://hub.continue.dev/settings/integrations" ,
393- ) ,
393+ vscode . Uri . parse ( `${ env . APP_URL } settings/integrations` ) ,
394394 ) ;
395395 }
396396 } else {
Original file line number Diff line number Diff line change @@ -109,8 +109,9 @@ export function AgentsList() {
109109 className = "cursor-pointer rounded-lg border border-gray-200 bg-gray-50 p-3 transition-colors hover:bg-gray-100"
110110 onClick = { ( ) => {
111111 // Open agent detail in browser
112- const agentUrl = `https://app.continue.dev/agents/${ agent . id } ` ;
113- ideMessenger . post ( "openUrl" , agentUrl ) ;
112+ ideMessenger . post ( "controlPlane/openUrl" , {
113+ path : `agents/${ agent . id } ` ,
114+ } ) ;
114115 } }
115116 >
116117 < div className = "flex items-start justify-between" >
Original file line number Diff line number Diff line change @@ -31,10 +31,9 @@ export function BackgroundModeView({ onCreateAgent }: BackgroundModeViewProps) {
3131
3232 const handleOpenGitHubSettings = useCallback ( ( ) => {
3333 // Open the hub settings page for GitHub integration
34- ideMessenger . post (
35- "openUrl" ,
36- "https://hub.continue.dev/settings/integrations/github" ,
37- ) ;
34+ ideMessenger . post ( "controlPlane/openUrl" , {
35+ path : "settings/integrations/github" ,
36+ } ) ;
3837 } , [ ideMessenger ] ) ;
3938
4039 // Check if user has GitHub installations when signed in
You can’t perform that action at this time.
0 commit comments