feat(ai): add Claude Code CLI provider

This commit is contained in:
Guoyu Su authored and GitHub committed 2026-07-17 01:17:06 +08:00
1 parent 89fca90dbc
commit d3947d246c
28 files changed
+1723 -176

No files matched your search

+16
View File
@@ -1466,6 +1466,18 @@ export default {
codexCliEnvValuePlaceholder: "http://proxy:9800",
codexCliEnvInvalidName: "Invalid environment variable name: {name}",
codexCliEnvReservedName: "{name} is managed by DBX for the MCP server and cannot be set here.",
cliMcpRequiredTitle: "DBX MCP Server required",
cliMcpRequiredDescription: "{provider} uses the DBX MCP Server to access database schema and query tools. Install it before using this provider in the AI assistant.",
cliPath: "{provider} Path",
cliPathHint: "Leave empty to use {command} from PATH. Sign in separately with {loginCommand}.",
cliPathEnvError: "{provider} path should contain only the executable path. Add environment variables below.",
cliEnv: "Environment variables",
cliEnvAdd: "Add variable",
cliEnvHint: "Optional variables passed to {provider}, such as HTTPS_PROXY, NO_PROXY, or SSL_CERT_FILE.",
cliEnvKeyPlaceholder: "HTTPS_PROXY",
cliEnvValuePlaceholder: "http://proxy:9800",
cliEnvInvalidName: "Invalid environment variable name: {name}",
cliEnvReservedName: "{name} is managed by DBX for the MCP server and cannot be set here.",
codexMcpRequiredTitle: "DBX MCP Server required",
codexMcpRequiredDescription: "Codex CLI uses the DBX MCP Server to access database schema and query tools. Install it before using Codex in the AI assistant.",
reasoningLevel: "Reasoning level",
@@ -1474,7 +1486,11 @@ export default {
reasoningLevelLow: "Low",
reasoningLevelMedium: "Medium",
reasoningLevelHigh: "High",
reasoningLevelXhigh: "Extra high",
reasoningLevelMax: "Maximum",
reasoningLevelHint: "Controls Codex CLI model_reasoning_effort. Default uses your Codex config.",
claudeCodeEffortHint: "Available levels are reported by the selected model through your local Claude Code CLI.",
claudeCodeEffortUnavailable: "The selected model does not report configurable effort levels. Claude Code will use its default.",
actions: {
general: "General",
generate: "Generate SQL",
+16
View File
@@ -1325,13 +1325,29 @@ export default withEnglishFallback({
codexCliEnvValuePlaceholder: "http://proxy:9800",
codexCliEnvInvalidName: "Nombre de variable de entorno no válido: {name}",
codexCliEnvReservedName: "{name} lo administra DBX para MCP Server y no se puede configurar aquí.",
cliMcpRequiredTitle: "DBX MCP Server required",
cliMcpRequiredDescription: "{provider} uses the DBX MCP Server to access database schema and query tools. Install it before using this provider in the AI assistant.",
cliPath: "{provider} Path",
cliPathHint: "Leave empty to use {command} from PATH. Sign in separately with {loginCommand}.",
cliPathEnvError: "{provider} path should contain only the executable path. Add environment variables below.",
cliEnv: "Environment variables",
cliEnvAdd: "Add variable",
cliEnvHint: "Optional variables passed to {provider}, such as HTTPS_PROXY, NO_PROXY, or SSL_CERT_FILE.",
cliEnvKeyPlaceholder: "HTTPS_PROXY",
cliEnvValuePlaceholder: "http://proxy:9800",
cliEnvInvalidName: "Invalid environment variable name: {name}",
cliEnvReservedName: "{name} is managed by DBX for the MCP server and cannot be set here.",
reasoningLevel: "Nivel de razonamiento",
reasoningLevelDefault: "Predeterminado",
reasoningLevelMinimal: "Mínimo",
reasoningLevelLow: "Bajo",
reasoningLevelMedium: "Medio",
reasoningLevelHigh: "Alto",
reasoningLevelXhigh: "Muy alto",
reasoningLevelMax: "Máximo",
reasoningLevelHint: "Controla model_reasoning_effort de Codex CLI. Predeterminado usa tu configuración de Codex.",
claudeCodeEffortHint: "Los niveles disponibles los proporciona dinámicamente tu Claude Code CLI local para el modelo seleccionado.",
claudeCodeEffortUnavailable: "El modelo seleccionado no informa niveles de esfuerzo configurables. Claude Code usará su valor predeterminado.",
run: "Ejecutar",
readingSchema: "Leyendo esquema",
noConnection: "No hay una conexión disponible para esta pestaña",
+16
View File
@@ -1406,6 +1406,18 @@ export default withEnglishFallback({
codexCliEnvValuePlaceholder: "http://proxy:9800",
codexCliEnvInvalidName: "Nome variabile d'ambiente non valido: {name}",
codexCliEnvReservedName: "{name} è gestita da DBX per MCP Server e non può essere impostata qui.",
cliMcpRequiredTitle: "DBX MCP Server required",
cliMcpRequiredDescription: "{provider} uses the DBX MCP Server to access database schema and query tools. Install it before using this provider in the AI assistant.",
cliPath: "{provider} Path",
cliPathHint: "Leave empty to use {command} from PATH. Sign in separately with {loginCommand}.",
cliPathEnvError: "{provider} path should contain only the executable path. Add environment variables below.",
cliEnv: "Environment variables",
cliEnvAdd: "Add variable",
cliEnvHint: "Optional variables passed to {provider}, such as HTTPS_PROXY, NO_PROXY, or SSL_CERT_FILE.",
cliEnvKeyPlaceholder: "HTTPS_PROXY",
cliEnvValuePlaceholder: "http://proxy:9800",
cliEnvInvalidName: "Invalid environment variable name: {name}",
cliEnvReservedName: "{name} is managed by DBX for the MCP server and cannot be set here.",
codexMcpRequiredTitle: "DBX MCP Server richiesto",
codexMcpRequiredDescription: "Codex CLI usa il DBX MCP Server per accedere allo schema del database e agli strumenti di query. Installalo prima di usare Codex nell'assistente AI.",
reasoningLevel: "Livello di ragionamento",
@@ -1414,7 +1426,11 @@ export default withEnglishFallback({
reasoningLevelLow: "Basso",
reasoningLevelMedium: "Medio",
reasoningLevelHigh: "Alto",
reasoningLevelXhigh: "Molto alto",
reasoningLevelMax: "Massimo",
reasoningLevelHint: "Controlla model_reasoning_effort di Codex CLI. Predefinito usa la configurazione Codex.",
claudeCodeEffortHint: "I livelli disponibili vengono forniti dinamicamente dal Claude Code CLI locale per il modello selezionato.",
claudeCodeEffortUnavailable: "Il modello selezionato non segnala livelli di effort configurabili. Claude Code userà il valore predefinito.",
actions: {
general: "Generale",
generate: "Genera SQL",
+16
View File
@@ -1324,6 +1324,18 @@ export default withEnglishFallback({
codexCliEnvValuePlaceholder: "http://proxy:9800",
codexCliEnvInvalidName: "無効な環境変数名: {name}",
codexCliEnvReservedName: "{name}はMCP Server用にDBXが管理しているため、ここでは設定できません。",
cliMcpRequiredTitle: "DBX MCP Server required",
cliMcpRequiredDescription: "{provider} uses the DBX MCP Server to access database schema and query tools. Install it before using this provider in the AI assistant.",
cliPath: "{provider} Path",
cliPathHint: "Leave empty to use {command} from PATH. Sign in separately with {loginCommand}.",
cliPathEnvError: "{provider} path should contain only the executable path. Add environment variables below.",
cliEnv: "Environment variables",
cliEnvAdd: "Add variable",
cliEnvHint: "Optional variables passed to {provider}, such as HTTPS_PROXY, NO_PROXY, or SSL_CERT_FILE.",
cliEnvKeyPlaceholder: "HTTPS_PROXY",
cliEnvValuePlaceholder: "http://proxy:9800",
cliEnvInvalidName: "Invalid environment variable name: {name}",
cliEnvReservedName: "{name} is managed by DBX for the MCP server and cannot be set here.",
contextWindow: "コンテキストウィンドウ",
contextWindowAuto: "自動(モデル名から検出)",
contextWindowHint: "トークン数。空欄で自動検出。ローカル/カスタムモデルは手動設定してください。",
@@ -1335,7 +1347,11 @@ export default withEnglishFallback({
reasoningLevelLow: "低",
reasoningLevelMedium: "中",
reasoningLevelHigh: "高",
reasoningLevelXhigh: "非常に高い",
reasoningLevelMax: "最大",
reasoningLevelHint: "Codex CLIのmodel_reasoning_effortを制御します。デフォルトではCodex設定を使用します。",
claudeCodeEffortHint: "利用可能なレベルは、選択したモデルについてローカルのClaude Code CLIから動的に取得されます。",
claudeCodeEffortUnavailable: "選択したモデルは設定可能なeffortレベルを返していません。Claude Codeのデフォルトを使用します。",
run: "実行",
readingSchema: "スキーマを読み取り中",
noConnection: "このタブに利用可能な接続がありません",
+16
View File
@@ -1327,13 +1327,29 @@ export default withEnglishFallback({
codexCliEnvValuePlaceholder: "http://proxy:9800",
codexCliEnvInvalidName: "Nome de variável de ambiente inválido: {name}",
codexCliEnvReservedName: "{name} é gerenciada pelo DBX para o MCP Server e não pode ser definida aqui.",
cliMcpRequiredTitle: "DBX MCP Server required",
cliMcpRequiredDescription: "{provider} uses the DBX MCP Server to access database schema and query tools. Install it before using this provider in the AI assistant.",
cliPath: "{provider} Path",
cliPathHint: "Leave empty to use {command} from PATH. Sign in separately with {loginCommand}.",
cliPathEnvError: "{provider} path should contain only the executable path. Add environment variables below.",
cliEnv: "Environment variables",
cliEnvAdd: "Add variable",
cliEnvHint: "Optional variables passed to {provider}, such as HTTPS_PROXY, NO_PROXY, or SSL_CERT_FILE.",
cliEnvKeyPlaceholder: "HTTPS_PROXY",
cliEnvValuePlaceholder: "http://proxy:9800",
cliEnvInvalidName: "Invalid environment variable name: {name}",
cliEnvReservedName: "{name} is managed by DBX for the MCP server and cannot be set here.",
reasoningLevel: "Nível de raciocínio",
reasoningLevelDefault: "Padrão",
reasoningLevelMinimal: "Mínimo",
reasoningLevelLow: "Baixo",
reasoningLevelMedium: "Médio",
reasoningLevelHigh: "Alto",
reasoningLevelXhigh: "Muito alto",
reasoningLevelMax: "Máximo",
reasoningLevelHint: "Controla model_reasoning_effort do Codex CLI. Padrão usa sua configuração do Codex.",
claudeCodeEffortHint: "Os níveis disponíveis são informados dinamicamente pelo Claude Code CLI local para o modelo selecionado.",
claudeCodeEffortUnavailable: "O modelo selecionado não informa níveis de effort configuráveis. O Claude Code usará o padrão.",
run: "Executar",
readingSchema: "Lendo schema",
noConnection: "Nenhuma conexão disponível para esta aba",
+16
View File
@@ -1466,6 +1466,18 @@ export default withEnglishFallback({
codexCliEnvValuePlaceholder: "http://proxy:9800",
codexCliEnvInvalidName: "环境变量名称无效:{name}",
codexCliEnvReservedName: "{name} 由 DBX 用于 MCP Server,不能在这里设置。",
cliMcpRequiredTitle: "需要 DBX MCP Server",
cliMcpRequiredDescription: "{provider} 会通过 DBX MCP Server 访问数据库结构和查询工具。请先安装后再在 AI 助手中使用该提供商。",
cliPath: "{provider} 路径",
cliPathHint: "留空则使用 PATH 中的 {command}。请先在终端执行 {loginCommand} 登录。",
cliPathEnvError: "{provider} 路径只能填写可执行文件路径。请在下方添加环境变量。",
cliEnv: "环境变量",
cliEnvAdd: "添加变量",
cliEnvHint: "传递给 {provider} 的可选变量,例如 HTTPS_PROXY、NO_PROXY 或 SSL_CERT_FILE。",
cliEnvKeyPlaceholder: "HTTPS_PROXY",
cliEnvValuePlaceholder: "http://proxy:9800",
cliEnvInvalidName: "环境变量名称无效:{name}",
cliEnvReservedName: "{name} 由 DBX 用于 MCP Server,不能在这里设置。",
codexMcpRequiredTitle: "需要 DBX MCP Server",
codexMcpRequiredDescription: "Codex CLI 通过 DBX MCP Server 访问数据库结构和查询工具。请先安装后再在 AI 助手中使用 Codex。",
reasoningLevel: "推理级别",
@@ -1474,7 +1486,11 @@ export default withEnglishFallback({
reasoningLevelLow: "低",
reasoningLevelMedium: "中",
reasoningLevelHigh: "高",
reasoningLevelXhigh: "极高",
reasoningLevelMax: "最高",
reasoningLevelHint: "控制 Codex CLI 的 model_reasoning_effort。默认使用你的 Codex 配置。",
claudeCodeEffortHint: "可用级别由本地 Claude Code CLI 根据所选模型动态提供。",
claudeCodeEffortUnavailable: "所选模型未提供可配置的推理级别,将使用 Claude Code 的默认设置。",
actions: {
general: "通用问答",
generate: "生成 SQL",
+16
View File
@@ -1410,13 +1410,29 @@ export default withEnglishFallback({
codexCliEnvValuePlaceholder: "http://proxy:9800",
codexCliEnvInvalidName: "環境變數名稱無效:{name}",
codexCliEnvReservedName: "{name} 由 DBX 用於 MCP Server,不能在這裡設定。",
cliMcpRequiredTitle: "需要 DBX MCP Server",
cliMcpRequiredDescription: "{provider} 会通过 DBX MCP Server 访问数据库结构和查询工具。请先安装后再在 AI 助手中使用该提供商。",
cliPath: "{provider} 路径",
cliPathHint: "留空则使用 PATH 中的 {command}。请先在终端执行 {loginCommand} 登录。",
cliPathEnvError: "{provider} 路径只能填写可执行文件路径。请在下方添加环境变量。",
cliEnv: "环境变量",
cliEnvAdd: "添加变量",
cliEnvHint: "传递给 {provider} 的可选变量,例如 HTTPS_PROXY、NO_PROXY 或 SSL_CERT_FILE。",
cliEnvKeyPlaceholder: "HTTPS_PROXY",
cliEnvValuePlaceholder: "http://proxy:9800",
cliEnvInvalidName: "环境变量名称无效:{name}",
cliEnvReservedName: "{name} 由 DBX 用于 MCP Server,不能在这里设置。",
reasoningLevel: "推理層級",
reasoningLevelDefault: "預設",
reasoningLevelMinimal: "最小",
reasoningLevelLow: "低",
reasoningLevelMedium: "中",
reasoningLevelHigh: "高",
reasoningLevelXhigh: "極高",
reasoningLevelMax: "最高",
reasoningLevelHint: "控制 Codex CLI 的 model_reasoning_effort。預設會使用你的 Codex 設定。",
claudeCodeEffortHint: "可用層級由本機 Claude Code CLI 根據所選模型動態提供。",
claudeCodeEffortUnavailable: "所選模型未提供可設定的推理層級,將使用 Claude Code 的預設設定。",
actions: {
general: "通用問答",
generate: "產生 SQL",