The keyring crate's Linux backend requires C libdbus, which cross builds (zigbuild) cannot link, so Linux desktop users hit the same desktop-migrated-but-MCP-blocked failure that macOS/Windows users hit in 0.4.94 - with no native build to fix it on. Replace the Linux keyring path with the secret-service crate (pure-Rust zbus, no C dependencies, speaks the session-bus protocol directly), keeping the exact on-disk attribute layout the keyring crate writes (target/service/username, with the legacy no-target fallback) so existing desktop-provisioned keys remain readable both ways. - connect/collection failures (no session bus, headless servers) map to a missing provider so callers keep falling back to the managed .dbx/secret.key file exactly as before - found-but-unreadable keyring items now fail fast with a specific KEYRING_ACCESS_FAILED code on every platform instead of silently provisioning a new key that would strand existing ciphertext - the Linux zigbuild MCP/CLI package legs build with os-keyring
Crates
Rust crates for DBX live here.
Directories
dbx-core/- application orchestration: connections, queries, schema operations, data workflows, AI tools, administration, persistence, safety, and host services.dbx-types/- shared connection, query, metadata, and serialization contracts; generated database identities.dbx-sql/- SQL parsing, dialects, analysis, risk classification, DDL/DML generation, and schema diff planning.dbx-drivers/- native database adapters, database Agents, tunnels, execution budgets, and driver lifecycle.dbx-formats/- data formatting and file encoders, independent of database connections.dbx-ai-provider/- AI provider clients, CLI adapters, streaming, and token usage.dbx-plugin-runtime/- plugin packages, signatures, marketplace, subprocess sessions, and host requests.dbx-platform/- shared process, path, proxy, download, version, and host-prompt primitives.dbx-web/- the Docker/web backend service binary published asdbx-web.dbx-cli/- the command-line application.dbx-mcp/- the MCP service library and binary.dbx-sqlite-worker/- the isolated SQLite file-host worker and protocol.
The workspace root is defined in the repository-level Cargo.toml.
See ARCHITECTURE.md for dependency rules, compatibility exports, feature selection, and validation commands.