Skip to content

armgit / dbx

Public Imported from GitHub
0

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。

fix(driver-store): show IRIS agent driver

t8y2f8501bcaf1f3
diff --git a/crates/dbx-core/assets/database-drivers.manifest.json b/crates/dbx-core/assets/database-drivers.manifest.json
index fa6d331a72..4dcaa5c3e8 100644
--- a/crates/dbx-core/assets/database-drivers.manifest.json
+++ b/crates/dbx-core/assets/database-drivers.manifest.json
@@ -461,6 +461,17 @@
"skipTcpProbe": true,
"defaultPort": 5138
},
+ {
+ "dbType": "iris",
+ "label": "InterSystems IRIS",
+ "runtimeMode": "agent",
+ "mcpMode": "bridge",
+ "agentKey": "iris",
+ "singleConnectionPool": true,
+ "metadataConnectionScoped": false,
+ "skipTcpProbe": true,
+ "defaultPort": 1972
+ },
{
"dbType": "jdbc",
"label": "JDBC",
diff --git a/crates/dbx-core/src/agent_catalog.rs b/crates/dbx-core/src/agent_catalog.rs
index bfd5784d6f..c663777fc3 100644
--- a/crates/dbx-core/src/agent_catalog.rs
+++ b/crates/dbx-core/src/agent_catalog.rs
@@ -225,7 +225,7 @@ const AGENT_CATALOG: &[AgentCatalogEntry] = &[
db_type: DatabaseType::Iris,
key: "iris",
label: "InterSystems IRIS",
- store_visible: false,
+ store_visible: true,
profiles: &[],
},
];
diff --git a/crates/dbx-core/tests/database_capabilities.rs b/crates/dbx-core/tests/database_capabilities.rs
index 73e78f9c3b..321d0ccb40 100644
--- a/crates/dbx-core/tests/database_capabilities.rs
+++ b/crates/dbx-core/tests/database_capabilities.rs
@@ -203,7 +203,7 @@ fn catalog_marks_runtime_only_agent_entries_explicitly() {
let runtime_only: Vec<&str> =
agent_catalog::entries().iter().filter(|entry| !entry.store_visible).map(|entry| entry.key).collect();
- assert_eq!(runtime_only, vec!["iris"]);
+ assert!(runtime_only.is_empty());
assert!(is_agent_type(&DatabaseType::Iris));
assert_eq!(agent_key(&DatabaseType::Iris, None), Some("iris"));
}