feat: add XuguDB agent support

This commit is contained in:
t8y2 committed 2026-05-30 09:12:34 +08:00
1 parent 6ec8115984
commit 81e50cadb5
22 files changed
+265 -194

No files matched your search

@@ -257,6 +257,7 @@ const driverProfiles: Record<
sundb: { type: "sundb", port: 22000, user: "root", label: "SunDB", icon: "sundb" },
jdbc: { type: "jdbc", port: 0, user: "", label: "JDBC", icon: "jdbc" },
tdengine: { type: "tdengine", port: 6041, user: "root", label: "TDengine", icon: "tdengine" },
xugu: { type: "xugu", port: 5138, user: "", label: "虚谷 XuguDB", icon: "xugu" },
iris: { type: "iris", port: 1972, user: "_SYSTEM", label: "IRIS", icon: "iris" },
custom_mysql: {
type: "mysql",
@@ -486,6 +487,7 @@ const iconTypeMap: Record<string, string> = {
redshift: "redshift",
cockroachdb: "cockroachdb",
tdengine: "tdengine",
xugu: "xugu",
dm: "dm",
h2: "h2",
snowflake: "snowflake",
@@ -554,6 +556,7 @@ const dbOptions = [
{ value: "bigquery", label: "BigQuery" },
{ value: "kylin", label: "Kylin" },
{ value: "sundb", label: "SunDB" },
{ value: "xugu", label: "虚谷 XuguDB" },
{ value: "iris", label: "IRIS" },
{ value: "jdbc", label: "JDBC" },
{ value: "custom_mysql", label: "Custom (MySQL)" },
@@ -62,6 +62,7 @@ const assetIcons: Record<string, string> = {
tdsql: "tdsql.webp",
polardb: "polardb.webp",
greatsql: "greatsql.webp",
xugu: "xugu.png",
iris: "iris.png",
};