@xcr1234/dbhub-fork 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1073,7 +1073,7 @@ function validateSourceConfig(source, configPath) {
1073
1073
  );
1074
1074
  }
1075
1075
  if (source.type) {
1076
- const validTypes = ["postgres", "mysql", "mariadb", "sqlserver", "sqlite"];
1076
+ const validTypes = ["postgres", "mysql", "mariadb", "sqlserver", "sqlite", "oracle"];
1077
1077
  if (!validTypes.includes(source.type)) {
1078
1078
  throw new Error(
1079
1079
  `Configuration file ${configPath}: source '${source.id}' has invalid type '${source.type}'. Valid types: ${validTypes.join(", ")}`
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  resolveSourceConfigs,
13
13
  resolveTomlConfigPath,
14
14
  resolveTransport
15
- } from "./chunk-YYDWHEUE.js";
15
+ } from "./chunk-XVCBZIOJ.js";
16
16
  import {
17
17
  loadConnectors
18
18
  } from "./chunk-WVVMH6FJ.js";
@@ -1428,7 +1428,7 @@ See documentation for more details on configuring database connections.
1428
1428
  const sources = sourceConfigsData.sources;
1429
1429
  console.error(`Configuration source: ${sourceConfigsData.source}`);
1430
1430
  await connectorManager.connectWithSources(sources);
1431
- const { initializeToolRegistry: initializeToolRegistry2 } = await import("./registry-H3S7N4PP.js");
1431
+ const { initializeToolRegistry: initializeToolRegistry2 } = await import("./registry-LAQHLQWA.js");
1432
1432
  initializeToolRegistry2({
1433
1433
  sources: sourceConfigsData.sources,
1434
1434
  tools: sourceConfigsData.tools
@@ -2,7 +2,7 @@ import {
2
2
  ToolRegistry,
3
3
  getToolRegistry,
4
4
  initializeToolRegistry
5
- } from "./chunk-YYDWHEUE.js";
5
+ } from "./chunk-XVCBZIOJ.js";
6
6
  import "./chunk-WVVMH6FJ.js";
7
7
  import "./chunk-C7WEAPX4.js";
8
8
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xcr1234/dbhub-fork",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "mcpName": "io.github.xcr1234/dbhub",
5
5
  "description": "Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB",
6
6
  "repository": {