feat(agentRegistry): support agent download directory with multi-source

* ✨feat(docs): 更新数据库支持文档,增加新数据库和下载链接说明

- 在数据库支持列表中添加 ChromaDB、Cloudflare D1、Apache Spark、Dremio 和 OSCAR
- 更新文档中关于下载来源的描述,增加对新数据库的支持说明
- 增加下载链接功能,支持 GitHub、CNB 和 AtomGit 下载

* ✨feat(agentRegistry): 增加代理下载目录功能,支持从多个源获取下载资产

- 添加新的接口和类型以支持代理下载
- 实现从 GitHub、CNB 和 AtomGit 获取下载资产的功能
- 更新下载链接格式化逻辑
This commit is contained in:
二丫讲梵
2026-07-16 16:48:10 +08:00
committed by GitHub
parent b0a20e8364
commit df1d31e74f
7 changed files with 294 additions and 70 deletions
+13 -2
View File
@@ -12,12 +12,13 @@ description: 了解 DBX 可以连接哪些数据库,以及每类高级功能
| 分组 | 类型 | 说明 |
| ------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| 核心 SQL 数据库 | MySQL、PostgreSQL、SQLite、DuckDB、ClickHouse、SQL Server、Oracle、Redshift、DM、GaussDB、KWDB、Teradata、Vertica、Exasol、Firebird、SAP HANA、崖山 YashanDB、GBase | 直接出现在 DBX 连接选择器中 |
| 文档、键值与配置服务 | Redis、MongoDB、Elasticsearch、etcd、Nacos | 根据数据模型使用专门浏览器、管理控制台或查询流程,不完全等同于关系型表格 |
| 文档、键值、向量与配置服务 | Redis、MongoDB、Elasticsearch、Qdrant、Milvus、Weaviate、ChromaDB、etcd、Apache ZooKeeper、Nacos | 根据数据模型使用专门浏览器、管理控制台或查询流程,不完全等同于关系型表格 |
| MySQL 兼容类型 | MariaDB、TiDB、OceanBase、Doris、SelectDB、StarRocks、Manticore Search、GoldenDB、TDSQL、PolarDB、GreatSQL、自定义 MySQL | 复用 MySQL 风格连接能力 |
| PostgreSQL 兼容类型 | openGauss、KingBase、HighGo、Vastbase、CockroachDB、自定义 PostgreSQL | 复用 PostgreSQL 风格连接能力 |
| 文件型数据库 | SQLite、DuckDB、Microsoft Access、RQLite、Turso | 选择本地数据库文件或 HTTP 端点,不填写主机和端口 |
| 时序与边缘数据库 | Cloudflare D1、InfluxDB、IoTDB、TDengine、Databend、QuestDB | 托管 SQLite、时序、IoT 或边缘场景 |
| Agent/JDBC 扩展类型 | H2、Snowflake、Trino、PrestoSQL、Hive、DB2、Informix、Neo4j、Cassandra、BigQuery、Kylin、SunDB、XuguDB、Databricks、IRIS、JDBC | 功能覆盖取决于对应驱动路径 |
| 分析与消息服务 | Apache Spark、Dremio、Apache Pulsar、Apache Kafka | 用于分布式分析、消息和流管理场景 |
| Agent/JDBC 扩展类型 | H2、Snowflake、Trino、PrestoSQL、Hive、DB2、Informix、Neo4j、Cassandra、BigQuery、Kylin、SunDB、OSCAR、XuguDB、Databricks、IRIS、JDBC | 功能覆盖取决于对应驱动路径 |
## 默认端口
@@ -31,6 +32,10 @@ description: 了解 DBX 可以连接哪些数据库,以及每类高级功能
| SQL Server | 1433 |
| Oracle | 1521 |
| Elasticsearch | 9200 |
| Qdrant | 6333 |
| Milvus | 19530 |
| Weaviate | 8080 |
| ChromaDB | 8000 |
| TiDB | 4000 |
| OceanBase | 2881 |
| Doris / SelectDB / StarRocks / Databend | 9030 |
@@ -53,6 +58,7 @@ description: 了解 DBX 可以连接哪些数据库,以及每类高级功能
| InfluxDB | 8086 |
| IoTDB | 6667 |
| etcd | 2379 |
| Apache ZooKeeper | 2181 |
| Nacos | 8848 |
| Nacos 控制台/admin API | 8085 |
| IRIS | 1972 |
@@ -62,16 +68,21 @@ description: 了解 DBX 可以连接哪些数据库,以及每类高级功能
| Trino | 8080 |
| PrestoSQL | 8080 |
| Hive | 10000 |
| Apache Spark | 10015 |
| DB2 | 50000 |
| Informix | 9088 |
| Dremio | 31010 |
| Neo4j | 7687 |
| Cassandra | 9042 |
| BigQuery | 443 |
| Kylin | 7070 |
| SunDB | 22000 |
| OSCAR | 2003 |
| TDengine | 6041 |
| XuguDB | 5138 |
| QuestDB | 8812 |
| Apache Pulsar Admin API | 8080 |
| Apache Kafka | 9092 |
<Callout type="info">SQLite、DuckDB、Access 和 JDBC 在不需要网络端口时,会在连接模型中保存为端口 `0`。</Callout>
+13 -2
View File
@@ -12,12 +12,13 @@ The connection dialog exposes ready-to-use profiles with default ports and drive
| Group | Profiles | Notes |
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Core SQL engines | MySQL, PostgreSQL, SQLite, DuckDB, ClickHouse, SQL Server, Oracle, Redshift, DM, GaussDB, KWDB, Teradata, Vertica, Exasol, Firebird, SAP HANA, YashanDB, GBase | Available directly in the DBX connection picker |
| Document, key-value, and config services | Redis, MongoDB, Elasticsearch, etcd, Nacos | Use dedicated browsers, admin consoles, or query flows instead of the generic relational grid where appropriate |
| Document, key-value, vector, and config services | Redis, MongoDB, Elasticsearch, Qdrant, Milvus, Weaviate, ChromaDB, etcd, Apache ZooKeeper, Nacos | Use dedicated browsers, admin consoles, or query flows instead of the generic relational grid where appropriate |
| MySQL-compatible profiles | MariaDB, TiDB, OceanBase, Doris, SelectDB, StarRocks, Manticore Search, GoldenDB, TDSQL, PolarDB, GreatSQL, custom MySQL | Reuse MySQL-style connection handling where the engine speaks a compatible protocol |
| PostgreSQL-compatible profiles | openGauss, KingBase, HighGo, Vastbase, CockroachDB, custom PostgreSQL | Reuse PostgreSQL-style connection handling where the engine speaks a compatible protocol |
| File-based engines | SQLite, DuckDB, Microsoft Access, RQLite, Turso | Choose a local database file or HTTP endpoint instead of host and port |
| Time-series and edge | Cloudflare D1, InfluxDB, IoTDB, TDengine, Databend, QuestDB | Managed SQLite, time-series, IoT, or edge workloads |
| Agent/JDBC-oriented engines | H2, Snowflake, Trino, PrestoSQL, Hive, DB2, Informix, Neo4j, Cassandra, BigQuery, Kylin, SunDB, XuguDB, Databricks, IRIS, JDBC | Feature coverage depends on the driver path used by that engine |
| Analytics and messaging services | Apache Spark, Dremio, Apache Pulsar, Apache Kafka | Distributed analytics, messaging, and stream-management workloads |
| Agent/JDBC-oriented engines | H2, Snowflake, Trino, PrestoSQL, Hive, DB2, Informix, Neo4j, Cassandra, BigQuery, Kylin, SunDB, OSCAR, XuguDB, Databricks, IRIS, JDBC | Feature coverage depends on the driver path used by that engine |
## Default Ports
@@ -31,6 +32,10 @@ The connection dialog exposes ready-to-use profiles with default ports and drive
| SQL Server | 1433 |
| Oracle | 1521 |
| Elasticsearch | 9200 |
| Qdrant | 6333 |
| Milvus | 19530 |
| Weaviate | 8080 |
| ChromaDB | 8000 |
| TiDB | 4000 |
| OceanBase | 2881 |
| Doris / SelectDB / StarRocks / Databend | 9030 |
@@ -53,6 +58,7 @@ The connection dialog exposes ready-to-use profiles with default ports and drive
| InfluxDB | 8086 |
| IoTDB | 6667 |
| etcd | 2379 |
| Apache ZooKeeper | 2181 |
| Nacos | 8848 |
| Nacos console/admin API | 8085 |
| IRIS | 1972 |
@@ -62,16 +68,21 @@ The connection dialog exposes ready-to-use profiles with default ports and drive
| Trino | 8080 |
| PrestoSQL | 8080 |
| Hive | 10000 |
| Apache Spark | 10015 |
| DB2 | 50000 |
| Informix | 9088 |
| Dremio | 31010 |
| Neo4j | 7687 |
| Cassandra | 9042 |
| BigQuery | 443 |
| Kylin | 7070 |
| SunDB | 22000 |
| OSCAR | 2003 |
| TDengine | 6041 |
| XuguDB | 5138 |
| QuestDB | 8812 |
| Apache Pulsar Admin API | 8080 |
| Apache Kafka | 9092 |
<Callout type="info">SQLite, DuckDB, Access, and JDBC profiles use port `0` in the saved connection model when a network port is not part of the connection.</Callout>