@bytebase/dbhub 0.4.10 → 0.4.11

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.
package/README.md CHANGED
@@ -14,15 +14,15 @@ DBHub is a universal database gateway implementing the Model Context Protocol (M
14
14
  | | | | | |
15
15
  | Claude Desktop +--->+ +--->+ PostgreSQL |
16
16
  | | | | | |
17
- | Cursor +--->+ DBHub +--->+ SQL Server |
17
+ | Cursor +--->+ DBHub +--->+ SQL Server |
18
18
  | | | | | |
19
- | Other MCP +--->+ +--->+ SQLite |
20
- | Clients | | | | |
21
- | | | +--->+ MySQL |
19
+ | Other Clients +--->+ +--->+ SQLite |
20
+ | | | | | |
21
+ | | | +--->+ MySQL |
22
22
  | | | | | |
23
23
  | | | +--->+ MariaDB |
24
24
  | | | | | |
25
- | | | +--->+ Oracle |
25
+ | | | +--->+ Oracle |
26
26
  | | | | | |
27
27
  +------------------+ +--------------+ +------------------+
28
28
  MCP Clients MCP Server Databases
@@ -261,7 +261,7 @@ DBHub supports the following database connection string formats:
261
261
  | MariaDB | `mariadb://[user]:[password]@[host]:[port]/[database]` | `mariadb://user:password@localhost:3306/dbname?sslmode=disable` |
262
262
  | PostgreSQL | `postgres://[user]:[password]@[host]:[port]/[database]` | `postgres://user:password@localhost:5432/dbname?sslmode=disable` |
263
263
  | SQL Server | `sqlserver://[user]:[password]@[host]:[port]/[database]` | `sqlserver://user:password@localhost:1433/dbname?sslmode=disable` |
264
- | SQLite | `sqlite:///[path/to/file]` or `sqlite::memory:` | `sqlite:///path/to/database.db`, `sqlite:C:/Users/YourName/data/database.db (windows)` or `sqlite::memory:` |
264
+ | SQLite | `sqlite:///[path/to/file]` or `sqlite:///:memory:` | `sqlite:///path/to/database.db`, `sqlite:C:/Users/YourName/data/database.db (windows)` or `sqlite:///:memory:` |
265
265
  | Oracle | `oracle://[user]:[password]@[host]:[port]/[service_name]` | `oracle://username:password@localhost:1521/service_name?sslmode=disable` |
266
266
 
267
267
  #### Oracle
package/dist/index.js CHANGED
@@ -822,7 +822,7 @@ var SQLiteDSNParser = class {
822
822
  try {
823
823
  const url = new SafeURL(dsn);
824
824
  let dbPath;
825
- if (url.hostname === "" && url.pathname === ":memory:") {
825
+ if (url.hostname === "" && url.pathname === "/:memory:") {
826
826
  dbPath = ":memory:";
827
827
  } else {
828
828
  if (url.pathname.startsWith("//")) {
@@ -2385,7 +2385,7 @@ function resolveDSN() {
2385
2385
  const args = parseCommandLineArgs();
2386
2386
  if (isDemoMode()) {
2387
2387
  return {
2388
- dsn: "sqlite::memory:",
2388
+ dsn: "sqlite:///:memory:",
2389
2389
  source: "demo mode",
2390
2390
  isDemo: true
2391
2391
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebase/dbhub",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "Universal Database MCP Server",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",