dsh-sql 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  [返回简介](README.md) · [使用说明](docs/USAGE.md) · [验证记录](docs/VALIDATION.md)
4
4
 
5
+ ## 0.5.7 (2026-10-29)
6
+
7
+ - 补齐中英文使用流程:准备、入口、具体操作与结果核对;新增累计 npm 下载徽章并保留月统计。
8
+ - Add practical getting-started workflows and lifetime npm download badges alongside monthly counts.
9
+
5
10
  ## 0.5.6 (2026-10-29)
6
11
 
7
12
  - 同步仓库与 npm 的简明介绍、中英文 README 和反馈入口;本次为文档与包元数据更新。
package/README.en.md CHANGED
@@ -6,7 +6,9 @@
6
6
 
7
7
  Connect SQLite, MySQL or PostgreSQL to query data and inspect schemas and statistics from DSH. Includes read-only protection, result and timeout limits, configurable write confirmation and separate connection and permission checks.
8
8
 
9
- [![npm](https://img.shields.io/npm/v/dsh-sql)](https://www.npmjs.com/package/dsh-sql) [![downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-sql-downloads.svg)](https://www.npmjs.com/package/dsh-sql)
9
+ [![npm](https://img.shields.io/npm/v/dsh-sql)](https://www.npmjs.com/package/dsh-sql) [![downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-sql-downloads.svg)](https://www.npmjs.com/package/dsh-sql) [![total downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-sql-total-downloads.svg)](https://www.npmjs.com/package/dsh-sql)
10
+
11
+ [Download statistics](https://github.com/STARDUSTLC666/dsh-suite/blob/npm-downloads/README.md)
10
12
 
11
13
  Feedback and contributions are welcome: report [issues](https://github.com/STARDUSTLC666/dsh-sql/issues) or submit [pull requests](https://github.com/STARDUSTLC666/dsh-sql/pulls).
12
14
 
@@ -28,7 +30,10 @@ For the web version, replace `desktop` with `web`. Restart DSH after installatio
28
30
 
29
31
  ## Start using it
30
32
 
31
- Configure a connection, then ask to inspect a table schema and its ten latest rows using read-only queries.
33
+ 1. Add your SQLite, MySQL or PostgreSQL connection in plugin settings and confirm the database.
34
+ 2. Inspect the schema first, then query a small set of rows in read-only mode.
35
+ 3. Specify filters and result limits; check columns, row counts and truncation.
36
+ 4. Enable write access only when needed, review the SQL and connection before confirming, and query again to verify.
32
37
 
33
38
  ## Requirements and configuration
34
39
 
package/README.md CHANGED
@@ -6,7 +6,9 @@
6
6
 
7
7
  连接 SQLite、MySQL 或 PostgreSQL,在 DSH 中查询数据、查看表结构与统计。提供只读保护、结果与超时限制、可配置的写操作确认,并分别报告连接和权限状态。
8
8
 
9
- [![npm](https://img.shields.io/npm/v/dsh-sql)](https://www.npmjs.com/package/dsh-sql) [![downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-sql-downloads.svg)](https://www.npmjs.com/package/dsh-sql)
9
+ [![npm](https://img.shields.io/npm/v/dsh-sql)](https://www.npmjs.com/package/dsh-sql) [![downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-sql-downloads.svg)](https://www.npmjs.com/package/dsh-sql) [![total downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-sql-total-downloads.svg)](https://www.npmjs.com/package/dsh-sql)
10
+
11
+ [下载统计说明](https://github.com/STARDUSTLC666/dsh-suite/blob/npm-downloads/README.md)
10
12
 
11
13
  欢迎使用,遇到问题或有改进建议,请提交 [issues](https://github.com/STARDUSTLC666/dsh-sql/issues) 和 [PR](https://github.com/STARDUSTLC666/dsh-sql/pulls)。
12
14
 
@@ -28,7 +30,10 @@ dsh plugin --profile desktop add dsh-sql
28
30
 
29
31
  ## 开始使用
30
32
 
31
- 配置数据库连接后,可说:“查看这张表的结构和最近十条记录,先只读查询。”
33
+ 1. 在插件设置中添加自己的 SQLite、MySQL 或 PostgreSQL 连接,确认目标数据库。
34
+ 2. 先让助手读取表结构,再用只读查询检查少量记录。
35
+ 3. 明确查询条件与结果上限,核对返回列、行数和是否被截断。
36
+ 4. 确需写入时才启用相应权限,先核对 SQL 和连接再确认;完成后重新查询验证。
32
37
 
33
38
  ## 依赖与配置
34
39
 
@@ -437,7 +437,7 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
437
437
  }
438
438
 
439
439
  /* STARDUSTLC_UPDATE_CLIENT_BODY_START */
440
- window.__ModuleLoader__.load(__stardustUpdatesWrap({id:"dsh-sql",factory:require=>({apply(){}})},{"name":"dsh-sql","version":"0.1.0","hasWorkbench":false,"packageVersion":"0.5.6","label":"数据库","labelEn":"SQL","suiteComponent":true}));
440
+ window.__ModuleLoader__.load(__stardustUpdatesWrap({id:"dsh-sql",factory:require=>({apply(){}})},{"name":"dsh-sql","version":"0.1.0","hasWorkbench":false,"packageVersion":"0.5.7","label":"数据库","labelEn":"SQL","suiteComponent":true}));
441
441
 
442
442
  /* STARDUSTLC_UPDATE_CLIENT_BODY_END */
443
443
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sql",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "DSH 数据库工具:SQLite / MySQL / PostgreSQL 查询、结构与统计、只读保护和写操作确认。欢迎提交 issues 和 PR。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",