dsh-sql
キュレーションリスト掲載メンテナンス: 活発stardustlc666/dsh-sql
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-sql9
スター
4
フォーク
JavaScript
言語
MIT
ライセンス
2026-08-14
作成日
2026-11-13
最終プッシュ
README
简体中文 · English
SQL
先看表结构,再用查询回答问题。
功能
- 连接 SQLite、MySQL 或 PostgreSQL。
- 查看结构与概览,限制返回行数和查询时间。
- 写入前核对目标与 SQL,并在完成后查询验证。
安装
在 DSH 桌面版「插件」面板安装 dsh-sql。已配置命令行时也可使用:
dsh plugin --profile desktop add dsh-sql
网页版把 desktop 改为 web;安装后重启对应的 DSH。宿主要求以包声明 >=0.2.2-rc.3 为准。
开始使用
- 在插件设置中添加自己的 SQLite、MySQL 或 PostgreSQL 连接,确认目标数据库。
- 先让助手读取表结构,再用只读查询检查少量记录。
- 明确查询条件与结果上限,核对返回列、行数和是否被截断。
- 确需写入时才启用相应权限,先核对 SQL 和连接再确认;完成后重新查询验证。
可以这样说:
先读取数据库表结构,用只读查询回答这个问题,并说明结果上限和截断情况。
开始前要知道
需要自己的数据库连接与权限;写入权限和宿主审批分别生效。
配置、完整工具与排错见详细使用说明。
插件更新
在工作台或原生插件详情页底部检查更新。默认自动检查,默认不自动安装;是否安装、何时重启由你决定。Suite 管理的组件随整包更新。查看更新规则。
文档
反馈与贡献
如果插件帮到了你,欢迎 Star,让更多人发现它。问题和建议请提交 Issues,也欢迎代码与文档 PR。反馈时附上版本与复现步骤,并移除凭据。
License
その他 の他のプラグイン
deepwiki-rs
by sopaco
Turn code into clarity. Generate accurate technical docs and AI-ready context in minutes—perfectly structured for human teams and intelligent agents.
dsh-plugin-radar
by adamplatin123
An ecosystem radar for the DeepSeek Harness (dsh) plugin community that auto-discovers thousands of candidate plugins and runs continuous k8s-level validation, publishing the results as a browsable plugin catalog.
eac-pack
by ebony-vinyl
A bundled suite of DeepSeek Harness plugins designed to work together in one setup.
picgo-core
by picgo
:zap:The ultimate image uploading engine. Both CLI & API supports.
