Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat(frontend): add MCP settings page (#18445)
p0ny631b31f3be4a
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 738d889e28..9e39ec996d 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -423,6 +423,7 @@"users-and-groups": "Users & Groups","iam-and-admin": "IAM & Admin","im-integration": "IM",+ "mcp": "MCP","sso": "SSO","subscription": "Subscription","global-masking": "Global Masking",@@ -526,6 +527,22 @@"im-integration": {"description": "The IM integration will be used to push direct messages to users for specific issue events. Works with the project webhook."},+ "mcp": {+ "title": "MCP Integration",+ "description": "Connect AI assistants to Bytebase using the Model Context Protocol.",+ "setup": {+ "external-url-warning": "External URL is not configured.",+ "configure-external-url": "Configure External URL in General Settings",+ "add-to-config": "Add to your MCP configuration:",+ "run-command": "Run this command:",+ "oauth-note": "On first use, you'll be prompted to authorize access."+ },+ "first-prompt": {+ "title": "Your First Prompt",+ "description": "Once connected, try asking your AI assistant:",+ "example": "List all projects in my Bytebase instance"+ }+ },"sso": {"create": "Create SSO","description": "Single Sign-On (SSO) is an authentication method that enables users to authenticate with multiple applications and websites via a single set of credentials.",@@ -1236,8 +1253,7 @@"self": "Stage | Stages","run-stage": "Run Stage","confirm-create": "Confirm to create tasks for this stage?",- "back-to-stage": "Back to Stage {stage}",- "no-stages": {}+ "back-to-stage": "Back to Stage {stage}"},"task": {"selected-count": "{count} task selected | {count} tasks selected",@@ -1646,7 +1662,6 @@"establish-database-baseline": "Establish \"{name}\" baseline","export": "Export Changelog","need-to-select-first": "Need to select changelog first",-"rollback-tip": "Select a specific DDL changelog to rollback."},"database": {@@ -2109,7 +2124,6 @@"allow-admin-mode-only": "Instance {instance} is accessible in admin mode only.","query-time": "Query time","connection-lost": "Connection lost. Will try to reconnect when executing next query.",- "sheet": {},"tab": {"context-menu": {"actions": {@@ -2652,9 +2666,7 @@"data_export": "Export Data","request-role": "Request Role"}- },- "template": {},- "source": {}+ }},"approval-flow": {"self": "Approval Flow",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 5e571356d4..0befdf2a0e 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -423,6 +423,7 @@"users-and-groups": "Usuarios y grupos","iam-and-admin": "IAM y administración","im-integration": "Integración de IM",+ "mcp": "MCP","sso": "SSO","subscription": "Suscripción","global-masking": "Enmascaramiento Global",@@ -526,6 +527,22 @@"im-integration": {"description": "La integración de IM se utilizará para enviar mensajes directos a los usuarios para eventos de incidencias específicos. Funciona con el webhook del proyecto."},+ "mcp": {+ "title": "Integración MCP",+ "description": "Conecte asistentes de IA a Bytebase usando el Model Context Protocol.",+ "setup": {+ "external-url-warning": "La URL externa no está configurada.",+ "configure-external-url": "Configurar URL externa en Configuración general",+ "add-to-config": "Agregar a su configuración MCP:",+ "run-command": "Ejecute este comando:",+ "oauth-note": "En el primer uso, se le pedirá que autorice el acceso."+ },+ "first-prompt": {+ "title": "Tu primer prompt",+ "description": "Una vez conectado, intente preguntar a su asistente de IA:",+ "example": "Listar todos los proyectos en mi instancia de Bytebase"+ }+ },"sso": {"create": "Crear SSO","description": "Inicio de Sesión Único (SSO) es un método de autenticación que permite a los usuarios autenticarse en múltiples aplicaciones y sitios web a través de un solo conjunto de credenciales.",@@ -1236,8 +1253,7 @@"self": "Escenario | Escenarios","run-stage": "Etapa de ejecución","confirm-create": "¿Está seguro de que desea crear tareas para esta etapa?",- "back-to-stage": "Volver a la etapa {stage}",- "no-stages": {}+ "back-to-stage": "Volver a la etapa {stage}"},"task": {"selected-count": "{count} tarea seleccionada | {count} tareas seleccionadas",@@ -2108,7 +2124,6 @@"allow-admin-mode-only": "La instancia {instance} solo es accesible en modo administrador.","query-time": "Tiempo de consulta","connection-lost": "Conexión perdida. \nIntentará volver a conectarse al ejecutar la siguiente consulta.",- "sheet": {},"tab": {"context-menu": {"actions": {@@ -2651,9 +2666,7 @@"data_export": "Exportar datos","request-role": "Rol de solicitud"}- },- "template": {},- "source": {}+ }},"approval-flow": {"self": "Flujo de aprobación",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex b2e914cdc2..cd1ff79c02 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -423,6 +423,7 @@"users-and-groups": "ユーザーとグループ","iam-and-admin": "IAM と管理","im-integration": "IM",+ "mcp": "MCP","sso": "SSO","subscription": "サブスクリプション","global-masking": "グローバルマスキング",@@ -526,6 +527,22 @@"im-integration": {"description": "IM 統合は、特定のイシューイベントについてユーザーにダイレクトメッセージをプッシュするために使用されます。プロジェクト Webhook と連携して動作します。"},+ "mcp": {+ "title": "MCP 統合",+ "description": "Model Context Protocol を使用して、AI アシスタントを Bytebase に接続します。",+ "setup": {+ "external-url-warning": "外部 URL が設定されていません。",+ "configure-external-url": "一般設定で外部 URL を設定する",+ "add-to-config": "MCP 設定に追加:",+ "run-command": "このコマンドを実行:",+ "oauth-note": "初回使用時に、アクセスの承認を求められます。"+ },+ "first-prompt": {+ "title": "最初のプロンプト",+ "description": "接続後、AI アシスタントに聞いてみてください:",+ "example": "Bytebase インスタンス内のすべてのプロジェクトをリストする"+ }+ },"sso": {"create": "SSOの作成","description": "シングル サインオン (SSO) は、ユーザーが他のアプリケーションや Web サイトからログインできるようにする認証方法です。",@@ -1236,8 +1253,7 @@"self": "ステージ | ステージ","run-stage": "ランステージ","confirm-create": "このステージのタスクを作成してもよろしいですか?",- "back-to-stage": "ステージに戻る {stage}",- "no-stages": {}+ "back-to-stage": "ステージに戻る {stage}"},"task": {"selected-count": "{count} 個のタスクが選択されました | {count} 個のタスクが選択されました",@@ -2108,7 +2124,6 @@"allow-admin-mode-only": "インスタンス {instance} には管理者モードでのみアクセスできます。","query-time": "クエリ時間","connection-lost": "接続切断。次回クエリが実行されるときに再接続が試行されます。",- "sheet": {},"tab": {"context-menu": {"actions": {@@ -2651,9 +2666,7 @@"data_export": "データのエクスポート","request-role": "ロールのリクエスト"}- },- "template": {},- "source": {}+ }},"approval-flow": {"self": "承認の流れ",diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex b432fd1dc9..3473c0761f 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -423,6 +423,7 @@"users-and-groups": "Người dùng & Nhóm","iam-and-admin": "IAM & Quản trị","im-integration": "Tích hợp",+ "mcp": "MCP","sso": "SSO","subscription": "Gói đăng ký","global-masking": "Che giấu toàn cục",@@ -526,6 +527,22 @@"im-integration": {"description": "Tích hợp IM sẽ được sử dụng để đẩy tin nhắn trực tiếp đến người dùng cho các sự kiện vấn đề cụ thể. Hoạt động với webhook của dự án."},+ "mcp": {+ "title": "Tích hợp MCP",+ "description": "Kết nối trợ lý AI với Bytebase bằng Model Context Protocol.",+ "setup": {+ "external-url-warning": "URL bên ngoài chưa được cấu hình.",+ "configure-external-url": "Cấu hình URL bên ngoài trong Cài đặt chung",+ "add-to-config": "Thêm vào cấu hình MCP:",+ "run-command": "Chạy lệnh này:",+ "oauth-note": "Khi sử dụng lần đầu, bạn sẽ được yêu cầu cấp quyền truy cập."+ },+ "first-prompt": {+ "title": "Prompt đầu tiên của bạn",+ "description": "Sau khi kết nối, hãy thử hỏi trợ lý AI của bạn:",+ "example": "Liệt kê tất cả các dự án trong phiên bản Bytebase của tôi"+ }+ },"sso": {"create": "Tạo SSO","description": "Đăng nhập một lần (SSO) là một phương thức xác thực cho phép người dùng xác thực với nhiều ứng dụng và trang web bằng một thông tin đăng nhập duy nhất.",@@ -1236,8 +1253,7 @@"self": "Giai đoạn | Các giai đoạn","run-stage": "Chạy sân khấu","confirm-create": "Bạn có chắc chắn muốn tạo tác vụ cho giai đoạn này không?",- "back-to-stage": "Trở lại sân khấu {stage}",- "no-stages": {}+ "back-to-stage": "Trở lại sân khấu {stage}"},"task": {"selected-count": "{count} nhiệm vụ đã chọn | {count} nhiệm vụ đã chọn",@@ -2108,7 +2124,6 @@"allow-admin-mode-only": "Phiên bản {instance} chỉ có thể truy cập ở chế độ quản trị.","query-time": "Thời gian truy vấn","connection-lost": "Mất kết nối. Sẽ thử kết nối lại khi thực hiện truy vấn tiếp theo.",- "sheet": {},"tab": {"context-menu": {"actions": {@@ -2651,9 +2666,7 @@"data_export": "Xuất dữ liệu","request-role": "Yêu cầu vai trò"}- },- "template": {},- "source": {}+ }},"approval-flow": {"self": "Quy trình phê duyệt",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 3e185bca60..732816526c 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -423,6 +423,7 @@"users-and-groups": "用户和群组","iam-and-admin": "IAM & 管理","im-integration": "IM",+ "mcp": "MCP","sso": "SSO","subscription": "订阅","global-masking": "全局数据脱敏",@@ -526,6 +527,22 @@"im-integration": {"description": "即时通讯集成用于针对特定工单事件向用户推送私信消息。需要与项目 webhook 配合使用。"},+ "mcp": {+ "title": "MCP 集成",+ "description": "使用模型上下文协议将 AI 助手连接到 Bytebase。",+ "setup": {+ "external-url-warning": "外部 URL 未配置。",+ "configure-external-url": "在通用设置中配置外部 URL",+ "add-to-config": "添加到您的 MCP 配置:",+ "run-command": "运行此命令:",+ "oauth-note": "首次使用时,系统会提示您授权访问。"+ },+ "first-prompt": {+ "title": "您的第一个提示",+ "description": "连接后,尝试向 AI 助手提问:",+ "example": "列出我的 Bytebase 实例中的所有项目"+ }+ },"sso": {"create": "创建 SSO","description": "单点登录(SSO)是一种认证方法,使用户能够通过其他应用程序和网站来进行登录。",@@ -1236,8 +1253,7 @@"self": "阶段 | 阶段","run-stage": "运行阶段","confirm-create": "确定要为此阶段创建任务吗?",- "back-to-stage": "返回阶段 {stage}",- "no-stages": {}+ "back-to-stage": "返回阶段 {stage}"},"task": {"selected-count": "已选择 {count} 个任务",@@ -2108,7 +2124,6 @@"allow-admin-mode-only": "实例{instance}只能通过管理员模式访问。","query-time": "查询时间","connection-lost": "连接丢失。下一次执行查询时将尝试重新连接。",- "sheet": {},"tab": {"context-menu": {"actions": {@@ -2651,9 +2666,7 @@"data_export": "导出数据","request-role": "请求角色"}- },- "template": {},- "source": {}+ }},"approval-flow": {"self": "审批流",diff --git a/frontend/src/router/dashboard/workspace.ts b/frontend/src/router/dashboard/workspace.tsindex a747c6bdbd..c162f47141 100644--- a/frontend/src/router/dashboard/workspace.ts+++ b/frontend/src/router/dashboard/workspace.ts@@ -15,6 +15,7 @@ import {WORKSPACE_ROUTE_IDENTITY_PROVIDERS,WORKSPACE_ROUTE_IM,WORKSPACE_ROUTE_LANDING,+ WORKSPACE_ROUTE_MCP,WORKSPACE_ROUTE_MEMBERS,WORKSPACE_ROUTE_RISK_CENTER,WORKSPACE_ROUTE_ROLES,@@ -319,6 +320,15 @@ const workspaceRoutes: RouteRecordRaw[] = [component: () => import("@/views/SettingWorkspaceIM.vue"),props: true,},+ {+ path: "mcp",+ name: WORKSPACE_ROUTE_MCP,+ meta: {+ title: () => t("settings.sidebar.mcp"),+ },+ component: () => import("@/views/SettingWorkspaceMCP.vue"),+ props: true,+ },],},];diff --git a/frontend/src/router/dashboard/workspaceRoutes.ts b/frontend/src/router/dashboard/workspaceRoutes.tsindex a9bfd08cf1..19c9653d48 100644--- a/frontend/src/router/dashboard/workspaceRoutes.ts+++ b/frontend/src/router/dashboard/workspaceRoutes.ts@@ -29,3 +29,4 @@ export const WORKSPACE_ROUTE_IDENTITY_PROVIDERS =export const WORKSPACE_ROUTE_IDENTITY_PROVIDER_DETAIL = `${WORKSPACE_ROUTE_IDENTITY_PROVIDERS}.detail`;export const WORKSPACE_ROUTE_IM = "workspace.im";+export const WORKSPACE_ROUTE_MCP = "workspace.mcp";diff --git a/frontend/src/utils/useDashboardSidebar.ts b/frontend/src/utils/useDashboardSidebar.tsindex b1e23aa668..8a425bd157 100644--- a/frontend/src/utils/useDashboardSidebar.ts+++ b/frontend/src/utils/useDashboardSidebar.ts@@ -28,6 +28,7 @@ import {WORKSPACE_ROUTE_IDENTITY_PROVIDERS,WORKSPACE_ROUTE_IM,WORKSPACE_ROUTE_LANDING,+ WORKSPACE_ROUTE_MCP,WORKSPACE_ROUTE_MEMBERS,WORKSPACE_ROUTE_RISK_CENTER,WORKSPACE_ROUTE_ROLES,@@ -238,6 +239,11 @@ export const useDashboardSidebar = () => {name: WORKSPACE_ROUTE_IM,type: "route",},+ {+ title: t("settings.sidebar.mcp"),+ name: WORKSPACE_ROUTE_MCP,+ type: "route",+ },],},{diff --git a/frontend/src/views/SettingWorkspaceMCP.vue b/frontend/src/views/SettingWorkspaceMCP.vuenew file mode 100644index 0000000000..956e29434d--- /dev/null+++ b/frontend/src/views/SettingWorkspaceMCP.vue@@ -0,0 +1,318 @@+<template>+ <div class="w-full flex flex-col gap-y-6 pb-4">+ <!-- Header -->+ <div>+ <h2 class="text-lg font-medium">{{ $t("settings.mcp.title") }}</h2>+ <p class="textinfolabel mt-1">+ {{ $t("settings.mcp.description") }}+ </p>+ </div>++ <!-- Warning if external URL not configured -->+ <NAlert v-if="!hasExternalUrl" type="warning" :bordered="false">+ <template #header>+ {{ $t("settings.mcp.setup.external-url-warning") }}+ </template>+ <router-link+ :to="{ name: SETTING_ROUTE_WORKSPACE_GENERAL }"+ class="normal-link"+ >+ {{ $t("settings.mcp.setup.configure-external-url") }}+ </router-link>+ </NAlert>++ <!-- General JSON Config (always visible) -->+ <div class="flex flex-col gap-y-3">+ <div class="flex items-center gap-x-2">+ <span class="text-sm text-control-light">+ {{ $t("settings.mcp.setup.add-to-config") }}+ </span>+ <NTooltip>+ <template #trigger>+ <NButton+ quaternary+ size="small"+ :disabled="!hasExternalUrl"+ @click="copyGeneralConfig"+ >+ <template #icon>+ <CopyIcon class="w-4 h-4" />+ </template>+ </NButton>+ </template>+ {{ $t("common.copy") }}+ </NTooltip>+ </div>+ <NInput+ type="textarea"+ :value="generalConfig"+ readonly+ :autosize="{ minRows: 5, maxRows: 8 }"+ class="font-mono text-sm"+ />+ </div>++ <!-- CLI Quick Commands Tabs -->+ <div class="flex flex-col gap-y-3">+ <NTabs type="line" animated>+ <!-- Claude Code -->+ <NTabPane name="claude-code" tab="Claude Code">+ <div class="flex flex-col gap-y-3 pt-3">+ <div class="flex items-center gap-x-2">+ <span class="text-sm text-control-light">+ {{ $t("settings.mcp.setup.run-command") }}+ </span>+ <NTooltip>+ <template #trigger>+ <NButton+ quaternary+ size="small"+ :disabled="!hasExternalUrl"+ @click="copyCliCommand('claudeCode')"+ >+ <template #icon>+ <CopyIcon class="w-4 h-4" />+ </template>+ </NButton>+ </template>+ {{ $t("common.copy") }}+ </NTooltip>+ </div>+ <NInput+ :value="cliCommands.claudeCode"+ readonly+ class="font-mono text-sm"+ />+ </div>+ </NTabPane>++ <!-- Codex -->+ <NTabPane name="codex" tab="Codex">+ <div class="flex flex-col gap-y-3 pt-3">+ <div class="flex items-center gap-x-2">+ <span class="text-sm text-control-light">+ {{ $t("settings.mcp.setup.run-command") }}+ </span>+ <NTooltip>+ <template #trigger>+ <NButton+ quaternary+ size="small"+ :disabled="!hasExternalUrl"+ @click="copyCliCommand('codex')"+ >+ <template #icon>+ <CopyIcon class="w-4 h-4" />+ </template>+ </NButton>+ </template>+ {{ $t("common.copy") }}+ </NTooltip>+ </div>+ <NInput+ :value="cliCommands.codex"+ readonly+ class="font-mono text-sm"+ />+ </div>+ </NTabPane>++ <!-- Copilot CLI -->+ <NTabPane name="copilot-cli" tab="Copilot CLI">+ <div class="flex flex-col gap-y-3 pt-3">+ <div class="flex items-center gap-x-2">+ <span class="text-sm text-control-light">+ {{ $t("settings.mcp.setup.run-command") }}+ </span>+ <NTooltip>+ <template #trigger>+ <NButton+ quaternary+ size="small"+ :disabled="!hasExternalUrl"+ @click="copyCliCommand('copilotCli')"+ >+ <template #icon>+ <CopyIcon class="w-4 h-4" />+ </template>+ </NButton>+ </template>+ {{ $t("common.copy") }}+ </NTooltip>+ </div>+ <NInput+ :value="cliCommands.copilotCli"+ readonly+ class="font-mono text-sm"+ />+ </div>+ </NTabPane>++ <!-- Gemini CLI -->+ <NTabPane name="gemini-cli" tab="Gemini CLI">+ <div class="flex flex-col gap-y-3 pt-3">+ <div class="flex items-center gap-x-2">+ <span class="text-sm text-control-light">+ {{ $t("settings.mcp.setup.run-command") }}+ </span>+ <NTooltip>+ <template #trigger>+ <NButton+ quaternary+ size="small"+ :disabled="!hasExternalUrl"+ @click="copyCliCommand('geminiCli')"+ >+ <template #icon>+ <CopyIcon class="w-4 h-4" />+ </template>+ </NButton>+ </template>+ {{ $t("common.copy") }}+ </NTooltip>+ </div>+ <NInput+ :value="cliCommands.geminiCli"+ readonly+ class="font-mono text-sm"+ />+ </div>+ </NTabPane>++ <!-- VS Code -->+ <NTabPane name="vscode" tab="VS Code">+ <div class="flex flex-col gap-y-3 pt-3">+ <div class="flex items-center gap-x-2">+ <span class="text-sm text-control-light">+ {{ $t("settings.mcp.setup.add-to-config") }}+ </span>+ <NTooltip>+ <template #trigger>+ <NButton+ quaternary+ size="small"+ :disabled="!hasExternalUrl"+ @click="copyVSCodeConfig"+ >+ <template #icon>+ <CopyIcon class="w-4 h-4" />+ </template>+ </NButton>+ </template>+ {{ $t("common.copy") }}+ </NTooltip>+ </div>+ <NInput+ type="textarea"+ :value="vscodeConfig"+ readonly+ :autosize="{ minRows: 5, maxRows: 8 }"+ class="font-mono text-sm"+ />+ </div>+ </NTabPane>+ </NTabs>+ <p class="text-sm text-control-light">+ {{ $t("settings.mcp.setup.oauth-note") }}+ </p>+ </div>++ <!-- Your First Prompt -->+ <div class="flex flex-col gap-y-2">+ <h3 class="text-base font-medium">+ {{ $t("settings.mcp.first-prompt.title") }}+ </h3>+ <p class="text-sm text-control-light">+ {{ $t("settings.mcp.first-prompt.description") }}+ </p>+ <code class="text-sm bg-gray-100 px-3 py-2 rounded">+ {{ $t("settings.mcp.first-prompt.example") }}+ </code>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { useClipboard } from "@vueuse/core";+import { CopyIcon } from "lucide-vue-next";+import { NAlert, NButton, NInput, NTabPane, NTabs, NTooltip } from "naive-ui";+import { computed } from "vue";+import { useI18n } from "vue-i18n";+import { SETTING_ROUTE_WORKSPACE_GENERAL } from "@/router/dashboard/workspaceSetting";+import { pushNotification, useActuatorV1Store } from "@/store";++const { t } = useI18n();+const actuatorStore = useActuatorV1Store();+const { copy } = useClipboard();++const hasExternalUrl = computed(() => {+ return !actuatorStore.needConfigureExternalUrl;+});++const mcpEndpointUrl = computed(() => {+ const url = actuatorStore.serverInfo?.externalUrl ?? "";+ if (!hasExternalUrl.value || !url) {+ return "https://your-bytebase-url.com/mcp";+ }+ const base = url.replace(/\/$/, "");+ return `${base}/mcp`;+});++const generalConfig = computed(() => {+ const config = {+ mcpServers: {+ bytebase: {+ type: "http",+ url: mcpEndpointUrl.value,+ },+ },+ };+ return JSON.stringify(config, null, 2);+});++const cliCommands = computed(() => ({+ claudeCode: `claude mcp add bytebase --transport http ${mcpEndpointUrl.value}`,+ codex: `codex mcp add --name bytebase --transport http --url ${mcpEndpointUrl.value}`,+ copilotCli: `gh copilot mcp add bytebase --transport http --url ${mcpEndpointUrl.value}`,+ geminiCli: `gemini mcp add --name bytebase --transport http --url ${mcpEndpointUrl.value}`,+}));++const vscodeConfig = computed(() => {+ const config = {+ "mcp.servers": {+ bytebase: {+ type: "http",+ url: mcpEndpointUrl.value,+ },+ },+ };+ return JSON.stringify(config, null, 2);+});++const copyGeneralConfig = async () => {+ await copy(generalConfig.value);+ pushNotification({+ module: "bytebase",+ style: "SUCCESS",+ title: t("common.copied"),+ });+};++const copyCliCommand = async (key: keyof typeof cliCommands.value) => {+ await copy(cliCommands.value[key]);+ pushNotification({+ module: "bytebase",+ style: "SUCCESS",+ title: t("common.copied"),+ });+};++const copyVSCodeConfig = async () => {+ await copy(vscodeConfig.value);+ pushNotification({+ module: "bytebase",+ style: "SUCCESS",+ title: t("common.copied"),+ });+};+</script>