dsh-plugin-dbgraph: Indexes the database directory locally so the agent knows every table and field before writing queries.

dsh-plugin-dbgraph indexes the remote database catalog—tables, columns, comments, primary keys, indexes, and enum sampling—for DeepSeek Harness into a local SQLite (~/.dsh/dbgraph). This allows agents to know the structure before writing queries and ensures that forensic values are fetched in a single network call. This article verifies the README and repository metadata, introduces the division of labor between local indexing and online data, the index table structure, the two-level (L1/L2) indexing process, the two tools (dbgraph and dbgraph_index), the default masking of sensitive columns, and explains why the Rust write path reduces event loop blocking. It also provides applicable scenarios and pre-installation considerations.

Read More