dsh-sql
数据库工具:sql_list/query/exec/schema/stats/health,SQLite/MySQL/PostgreSQL 三引擎,词法级只读保护、行数钳制、CSV/JSON 查询输出与写审批门。
Database tools for agents: list/query/exec/schema/stats/health across SQLite/MySQL/PostgreSQL, with lexer-grade read-only protection, row caps, CSV/JSON query output and an approval-gated write path.
怎么安装
dsh plugin add dsh-sql 简介
English dsh-sql **你的 agent 会查库了**:SQLite / MySQL / PostgreSQL 三引擎,只读白名单 + 写审批门。 DSH(DeepSeek Harness)工程师级数据库插件:四个工具覆盖连接管理、只读查询、写操作与结构探查。 安装 bash dsh plugin --profile web add dsh-sql 配置 yaml id: sql name: 'dsh-sql' config: connections: name: local engine: sqlite file: E:\data\app.db # 或 :memory: name: prod engine: postgres host: db.internal database: app # password: xxx # 推荐环境变量 DSH_SQL_PASSWORD_PROD name: legacy engine: mysql host: 127.0.0.1 port: 3306 user: root database: legacy maxRows: 1000 # 查询返回行数上限(1-10000) queryTimeoutMs: 60000 # 单次查询超时(默认 60 秒,5 秒 - 10 分钟) execTimeoutMs: 120000 # 单次写操作…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 8
- 月下载
- 1.6K
- 最近更新
- 2026-09-18
- 创建于
- 2026-08-14
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- database, deepseek-harness, dsh-plugin, sql, sqlite