← 返回列表
D

dsh-sql

v0.3.0 · 1 天前发布

DSH 工程师级数据库插件:sql_list/query/exec/schema 四工具,SQLite/MySQL/PostgreSQL 三引擎、多连接、只读模式与写操作审批门、词法级只读保护、流式行数钳制与可配置查询/写超时。

dshdeepseek-harnesspluginsqlsqlitemysqlpostgresqldatabasedsh-plugin

README

English

dsh-sql

你的 agent 会查库了:SQLite / MySQL / PostgreSQL 三引擎,只读白名单 + 写审批门。

DSH(DeepSeek Harness)工程师级数据库插件:四个工具覆盖连接管理、只读查询、写操作与结构探查。

!npm version !npm downloads !license !stars

![Awesome DSH Plugin](https://awesome-dsh-plugin.com)

安装

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:

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-sql
    Repo
    git+https://github.com/STARDUSTLC666/dsh-sql.git
    Engines
    {"node":">=22.13"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}