25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix: add InfluxDB to agent catalog and bridge types
t8y28a458f14321d
diff --git a/crates/dbx-core/src/agent_catalog.rs b/crates/dbx-core/src/agent_catalog.rsindex da2f3ab631..228abc5998 100644--- a/crates/dbx-core/src/agent_catalog.rs+++ b/crates/dbx-core/src/agent_catalog.rs@@ -168,6 +168,13 @@ const AGENT_CATALOG: &[AgentCatalogEntry] = &[store_visible: true,profiles: &[],},+ AgentCatalogEntry {+ db_type: DatabaseType::InfluxDb,+ key: "influxdb",+ label: "InfluxDB",+ store_visible: true,+ profiles: &[],+ },AgentCatalogEntry {db_type: DatabaseType::Neo4j,key: "neo4j",diff --git a/crates/dbx-core/tests/database_capabilities.rs b/crates/dbx-core/tests/database_capabilities.rsindex 673dc07e78..b36aa7ad01 100644--- a/crates/dbx-core/tests/database_capabilities.rs+++ b/crates/dbx-core/tests/database_capabilities.rs@@ -63,6 +63,7 @@ fn maps_agent_database_types_to_driver_keys() {assert_eq!(agent_key(&DatabaseType::Access, None), Some("access"));assert_eq!(agent_key(&DatabaseType::Oracle, None), Some("oracle"));assert_eq!(agent_key(&DatabaseType::Databend, None), Some("databend"));+ assert_eq!(agent_key(&DatabaseType::InfluxDb, None), Some("influxdb"));assert_eq!(agent_key(&DatabaseType::Oracle, Some("oracle-legacy")), Some("oracle-legacy"));assert_eq!(agent_key(&DatabaseType::Oracle, Some("oracle-10g")), Some("oracle-10g"));assert_eq!(agent_key(&DatabaseType::Postgres, None), None);@@ -86,6 +87,7 @@ fn classifies_agent_database_types() {assert!(is_agent_type(&DatabaseType::Gbase));assert!(is_agent_type(&DatabaseType::Access));assert!(is_agent_type(&DatabaseType::Databend));+ assert!(is_agent_type(&DatabaseType::InfluxDb));assert!(!is_agent_type(&DatabaseType::Mysql));assert!(!is_agent_type(&DatabaseType::Jdbc));assert!(!is_agent_type(&DatabaseType::Gaussdb));@@ -136,6 +138,7 @@ fn skips_tcp_probe_for_local_file_plugin_and_agent_types() {assert!(skips_tcp_probe(&DatabaseType::OceanbaseOracle));assert!(skips_tcp_probe(&DatabaseType::Gbase));assert!(skips_tcp_probe(&DatabaseType::Databend));+ assert!(skips_tcp_probe(&DatabaseType::InfluxDb));assert!(!skips_tcp_probe(&DatabaseType::Postgres));assert!(!skips_tcp_probe(&DatabaseType::Mysql));assert!(!skips_tcp_probe(&DatabaseType::Gaussdb));diff --git a/packages/node-core/src/diagnostics.ts b/packages/node-core/src/diagnostics.tsindex 85d519982e..a8f7dff796 100644--- a/packages/node-core/src/diagnostics.ts+++ b/packages/node-core/src/diagnostics.ts@@ -53,6 +53,7 @@ export const BRIDGE_REQUIRED_TYPES = ["xugu","jdbc","access",+ "influxdb",] as const;export interface DbxDiagnostics {