Tools & Capabilities

dsh-sql

STARDUSTLC666/dsh-sql · ★ 9

STARDUSTLC666Curated

Database tools for agents: list/query/exec/schema across SQLite/MySQL/PostgreSQL, with lexer-grade read-only protection, row caps and an approval-gated write path.

License
MIT
Added
2026-08-17
Maintenance
active
Install kind
github
npm
dsh-sql
Manifest details
Manifest status
Declared
Manifest path
package.json#dsh
Manifest checked
2026-08-19
Lifecycle scripts
None found

Static manifest checks report declarations only; they are not compatibility or security review.

安装

dsh plugin --profile web add github:STARDUSTLC666/dsh-sql

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: en · Read Chinese README

Table of contents
  1. SQL
  2. Features
  3. Install
  4. Start using it
  5. Before you start
  6. Plugin updates
  7. Documentation
  8. Feedback and contributions
  9. License

简体中文 · English

SQL

Inspect the schema, then answer questions with data.

npm downloads total downloads

Install · Workflow · Full guide

Features

  • Connect SQLite, MySQL or PostgreSQL.
  • Inspect schemas and summaries with row and time limits.
  • Review the database and SQL before writes, then verify by querying.

Install

Open Plugins in the DSH desktop app and install dsh-sql. If the CLI is available:

dsh plugin --profile desktop add dsh-sql

For the web profile, replace desktop with web. Restart that DSH profile after installation. The package’s DSH requirement is >=0.2.1-rc.3.

Start using it

  1. Add your SQLite, MySQL or PostgreSQL connection in plugin settings and confirm the database.
  2. Inspect the schema first, then query a small set of rows in read-only mode.
  3. Specify filters and result limits; check columns, row counts and truncation.
  4. Enable write access only when needed, review the SQL and connection before confirming, and query again to verify.

Example request:

Inspect the database schema and answer with a read-only query, stating row limits and any truncation.

Before you start

Bring your own database connection and permissions. Write permissions and host approval are separate controls.

Configuration, detailed tools and troubleshooting: full reference.

Plugin updates

Check updates at the bottom of the workbench or native plugin details. Automatic checks are on by default; automatic installation is off. You choose whether to install and when to restart. Suite-managed components update with their bundle. Update behavior.

Documentation

Feedback and contributions

If the plugin helps, a Star makes it easier for others to discover. Report problems or suggest improvements in Issues; code and documentation PRs are welcome. Include versions and reproduction steps, and remove credentials from reports.

License

MIT