dbx/packages/node-core
Anubis 2a92746dc0
feat(d1): add Cloudflare D1 database support
2026-07-12 22:03:57 +08:00
..
src feat(d1): add Cloudflare D1 database support 2026-07-12 22:03:57 +08:00
tests feat(safety): add production environment safeguards 2026-07-12 10:02:27 +08:00
README.md feat: show username/password fields for Access database connections 2026-06-10 08:37:18 +08:00
package.json chore(packages): release 0.4.27 [skip node-packages-release] 2026-07-12 06:09:42 +00:00
tsconfig.json feat(cli): add dbx node packages 2026-05-18 00:53:06 +08:00
vitest.config.ts chore: migrate test runner from node:test/tsx to vitest 2026-06-08 01:17:27 +08:00

README.md

DBX Node Core

Shared Node.js runtime utilities for DBX CLI and DBX MCP Server.

This package reads DBX Desktop connection storage, redacts connection summaries, builds schema context, applies SQL safety rules, and executes supported direct database queries.

Supported Runtime

Requires Node.js 22.13.0 or newer.

Direct Query Support

Direct execution currently supports:

  • PostgreSQL and Redshift
  • MySQL-compatible databases, including MySQL, Doris, and StarRocks
  • SQLite

Other DBX connection types can be routed through DBX Desktop bridge integrations used by the CLI and MCP server.

Public Modules

import { createBackend, loadConnections, getDbxDiagnostics, evaluateSqlSafety, buildSchemaContext } from "@dbx-app/node-core";

The package is intended as a shared implementation layer for official DBX Node packages. Applications should prefer @dbx-app/cli for terminal workflows and @dbx-app/mcp-server for MCP clients.