JohnXu22786/db-connector

JohnXu22786★ 0TypeScript最后同步: 2026-08-20

在 GitHub 打开

Database connector bundle for DeepSeek Harness (dsh): SQLite/PostgreSQL/MySQL connections, schema introspection, read-only safety, a write approval gate and a JSONL SQL audit trail.

README 摘要

dsh-db-connector 中文说明 A database connector bundle for DeepSeek Harness ( dsh , the "everything is a plugin" framework built on Cordis). It gives your agent safe, audited access to SQLite , PostgreSQL and MySQL through five model-facing tools, plus a human /db command, with a deliberate focus on read-only safety, schema intelligence, write approval, and a durable SQL audit trail — an area the official dsh tool set does not cover. This bundle is an independent, from-scratch implementation. It does not reuse any existing open-source dsh tool code; the tool names, parameter shapes, and result formats are this bundle's own design and are not tied to any official dsh schema. Feature overview Concern What the bundle provides Connections Named connections for SQLite / PostgreSQL / MySQL; lazy open, reuse, explicit close, one line of redacted status per connection. Credentials Secrets come from environment variables ( ${VAR} placeholders, passwordEnv ) or the dsh credentials service ( passwordRef ). Never written to logs or audit records. Schema introspection Tables, views, columns (name/type/nullable/default/primary key), indexes, foreign keys; per-connection snapshot cache with TTL, refre…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdshdsh-pluginagent

分类