Loading desktop.package.json +5 −0 Original line number Diff line number Diff line Loading @@ -361,6 +361,11 @@ "title": "Add New Chat", "category": "GitLab", "icon": "$(add)" }, { "command": "gl.mcp.openUserConfig", "title": "Open User Settings (JSON)", "category": "GitLab MCP" } ], "menus": { Loading src/common/command_names.ts +1 −0 Original line number Diff line number Diff line Loading @@ -24,4 +24,5 @@ export const USER_COMMANDS = { SHOW_DIAGNOSTICS_FROM_SIDE_PANEL: 'gl.showDiagnosticsFromSidePanel', AGENTIC_CHAT_NEW_CONVERSATION: 'gl.agenticChat.startNewConversation', AGENTIC_CHAT_HISTORY: 'gl.agenticChat.showHistoryView', MCP_OPEN_USER_CONFIG: 'gl.mcp.openUserConfig', }; src/desktop/command_names.ts +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ export const USER_COMMANDS = { PUBLISH_TO_GITLAB: 'gl.publishToGitLab', AGENTIC_CHAT_NEW_CONVERSATION: COMMON_USER_COMMANDS.AGENTIC_CHAT_NEW_CONVERSATION, AGENTIC_CHAT_HISTORY: COMMON_USER_COMMANDS.AGENTIC_CHAT_HISTORY, MCP_OPEN_USER_CONFIG: COMMON_USER_COMMANDS.MCP_OPEN_USER_CONFIG, }; /* Loading src/desktop/extension.ts +2 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,7 @@ import { createDeselectWorkspaceAccountCommand } from './accounts/deselect_works import { AccountPreselectionService } from './accounts/account_preselection_service'; import { TokenRefreshService } from './accounts/token_refresh_service'; import { tokenExchangeService } from './gitlab/token_exchange_service'; import { openMcpUserConfigCommand } from './mcp/open_mcp_config_command'; const registerCommands = ( context: vscode.ExtensionContext, Loading Loading @@ -235,6 +236,7 @@ const registerCommands = ( await languageServerManager.restartLanguageServer(); }, [PROGRAMMATIC_COMMANDS.SHOW_ERROR_MESSAGE]: openers.showErrorMessage, [USER_COMMANDS.MCP_OPEN_USER_CONFIG]: openMcpUserConfigCommand, }; Object.keys(commands).forEach(cmd => { Loading src/desktop/mcp/open_mcp_config_command.ts 0 → 100644 +3 −0 Original line number Diff line number Diff line import { openMcpUserConfigFile } from './utils/mcp_config'; export const openMcpUserConfigCommand = () => openMcpUserConfigFile(); Loading
desktop.package.json +5 −0 Original line number Diff line number Diff line Loading @@ -361,6 +361,11 @@ "title": "Add New Chat", "category": "GitLab", "icon": "$(add)" }, { "command": "gl.mcp.openUserConfig", "title": "Open User Settings (JSON)", "category": "GitLab MCP" } ], "menus": { Loading
src/common/command_names.ts +1 −0 Original line number Diff line number Diff line Loading @@ -24,4 +24,5 @@ export const USER_COMMANDS = { SHOW_DIAGNOSTICS_FROM_SIDE_PANEL: 'gl.showDiagnosticsFromSidePanel', AGENTIC_CHAT_NEW_CONVERSATION: 'gl.agenticChat.startNewConversation', AGENTIC_CHAT_HISTORY: 'gl.agenticChat.showHistoryView', MCP_OPEN_USER_CONFIG: 'gl.mcp.openUserConfig', };
src/desktop/command_names.ts +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ export const USER_COMMANDS = { PUBLISH_TO_GITLAB: 'gl.publishToGitLab', AGENTIC_CHAT_NEW_CONVERSATION: COMMON_USER_COMMANDS.AGENTIC_CHAT_NEW_CONVERSATION, AGENTIC_CHAT_HISTORY: COMMON_USER_COMMANDS.AGENTIC_CHAT_HISTORY, MCP_OPEN_USER_CONFIG: COMMON_USER_COMMANDS.MCP_OPEN_USER_CONFIG, }; /* Loading
src/desktop/extension.ts +2 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,7 @@ import { createDeselectWorkspaceAccountCommand } from './accounts/deselect_works import { AccountPreselectionService } from './accounts/account_preselection_service'; import { TokenRefreshService } from './accounts/token_refresh_service'; import { tokenExchangeService } from './gitlab/token_exchange_service'; import { openMcpUserConfigCommand } from './mcp/open_mcp_config_command'; const registerCommands = ( context: vscode.ExtensionContext, Loading Loading @@ -235,6 +236,7 @@ const registerCommands = ( await languageServerManager.restartLanguageServer(); }, [PROGRAMMATIC_COMMANDS.SHOW_ERROR_MESSAGE]: openers.showErrorMessage, [USER_COMMANDS.MCP_OPEN_USER_CONFIG]: openMcpUserConfigCommand, }; Object.keys(commands).forEach(cmd => { Loading
src/desktop/mcp/open_mcp_config_command.ts 0 → 100644 +3 −0 Original line number Diff line number Diff line import { openMcpUserConfigFile } from './utils/mcp_config'; export const openMcpUserConfigCommand = () => openMcpUserConfigFile();