@stardustlc/dsh-review 0.4.5 → 0.4.6

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
@@ -1,5 +1,10 @@
1
1
  # 变更记录
2
2
 
3
+ ## 0.4.6 (2026-10-29)
4
+
5
+ - 补齐中英文使用流程:准备、入口、具体操作与结果核对;新增累计 npm 下载徽章并保留月统计。
6
+ - Add practical getting-started workflows and lifetime npm download badges alongside monthly counts.
7
+
3
8
  ## 0.4.5 (2026-10-29)
4
9
 
5
10
  - 同步仓库与 npm 的简明介绍、中英文 README 和反馈入口;本次为文档与包元数据更新。
package/README.en.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  [中文](README.md)
4
4
 
5
+ [![npm](https://img.shields.io/npm/v/@stardustlc/dsh-review)](https://www.npmjs.com/package/@stardustlc/dsh-review) [![downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-review-downloads.svg)](https://www.npmjs.com/package/@stardustlc/dsh-review) [![total downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-review-total-downloads.svg)](https://www.npmjs.com/package/@stardustlc/dsh-review)
6
+
7
+ [Download statistics](https://github.com/STARDUSTLC666/dsh-suite/blob/npm-downloads/README.md)
8
+
5
9
  Review Git changes with independent defect discovery, cross-checked source evidence, fix tracking and an explicit review gate. Keeps unfinished work and human decisions visible, with quick, standard and deep modes. Inspired by [the Claude Code team's workflow](https://claude.dev/blog/solving-code-review-at-anthropic/).
6
10
 
7
11
  Feedback and contributions are welcome: report [issues](https://github.com/STARDUSTLC666/dsh-review/issues) or submit [pull requests](https://github.com/STARDUSTLC666/dsh-review/pulls).
@@ -46,6 +50,14 @@ See [integration, migration and rollback](docs/INTEGRATION.md), [design and boun
46
50
 
47
51
  Issues and PRs are welcome. Include reproducible inputs, versions and expected/actual behavior; redact secrets and private source. MIT License.
48
52
 
53
+ ## Start using it
54
+
55
+ 1. Install @stardustlc/dsh-review in the profile you use, then start a new session in the target Git repository.
56
+ 2. Choose the working tree, staged changes or a Git base, and the appropriate review depth.
57
+ 3. Ask the assistant to run review_run. Keep its runId and inspect unfinished work with review_status.
58
+ 4. Check each trigger, code location and independent verification; fix the issue or record a reasoned disposition.
59
+ 5. Review changed code again and check review_gate. The AI gate does not replace CI or human approval.
60
+
49
61
  ## Plugin updates
50
62
 
51
63
  Requires DSH 0.2.1-rc.3 or newer. Update controls sit at the bottom of the existing workbench, or native plugin details for plugins without a workbench. Checks, release notes and preferences expand in place, with no separate update page or settings menu. Automatic checks are on by default; **automatic installation is off by default**. Only explicit opt-in permits compatible stable patches while idle with no unsaved changes. Preferences are independent, with per-plugin disable, deferral and ignore controls. No forced DSH restart or upgrade, and local-source installations stay unchanged. Suite components explain and operate on the whole Suite in the same footer.
package/README.md CHANGED
@@ -2,10 +2,22 @@
2
2
 
3
3
  [English](README.en.md)
4
4
 
5
+ [![npm](https://img.shields.io/npm/v/@stardustlc/dsh-review)](https://www.npmjs.com/package/@stardustlc/dsh-review) [![downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-review-downloads.svg)](https://www.npmjs.com/package/@stardustlc/dsh-review) [![total downloads](https://raw.githubusercontent.com/STARDUSTLC666/dsh-suite/npm-downloads/assets/dsh-review-total-downloads.svg)](https://www.npmjs.com/package/@stardustlc/dsh-review)
6
+
7
+ [下载统计说明](https://github.com/STARDUSTLC666/dsh-suite/blob/npm-downloads/README.md)
8
+
5
9
  面向 Git 改动的代码审阅插件:独立查找缺陷、交叉复核证据、跟踪修复,并给出明确的审阅门禁。保留未完成项和需人工决定的结论,支持 quick、standard、deep 三种模式。
6
10
 
7
11
  参考 [Claude Code 团队的审阅流程](https://claude.dev/blog/solving-code-review-at-anthropic/),实现其中可在 DSH 内完成的审阅环节。它不授予人工批准,也不会自动发评论或合并代码。
8
12
 
13
+ ## 开始使用
14
+
15
+ 1. 按安装说明把 @stardustlc/dsh-review 安装到实际使用的 profile,再在目标 Git 仓库创建新会话。
16
+ 2. 说明审阅范围:当前工作区、暂存改动或指定 Git 基准,并选择合适的审阅深度。
17
+ 3. 让助手调用 review_run;保留返回的 runId,查看 review_status 中的未完成项。
18
+ 4. 逐项核对触发条件、代码位置和独立复核证据,修复问题或记录有理由的处置。
19
+ 5. 代码改变后重新审阅并检查 review_gate;AI 门禁不代替 CI 或人工批准。
20
+
9
21
  ## 使用
10
22
 
11
23
  需要 Git、Node.js 22.19+ / 24+,以及提供子智能体、权限预设和作业管理服务的官方 DSH 运行环境。当前最低要求为 DSH 0.2.1-rc.3;[本轮验收](docs/validation-0.4.4.md)使用官方 0.2.1-rc.4。在 Git 仓库根目录创建会话后,让 DSH:
@@ -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:"@stardustlc/dsh-review",factory:require=>({apply(){}})},{"name":"@stardustlc/dsh-review","version":"0.1.0","hasWorkbench":false,"packageVersion":"0.4.5","label":"代码审阅","labelEn":"Review","suiteComponent":false}));
440
+ window.__ModuleLoader__.load(__stardustUpdatesWrap({id:"@stardustlc/dsh-review",factory:require=>({apply(){}})},{"name":"@stardustlc/dsh-review","version":"0.1.0","hasWorkbench":false,"packageVersion":"0.4.6","label":"代码审阅","labelEn":"Review","suiteComponent":false}));
441
441
 
442
442
  /* STARDUSTLC_UPDATE_CLIENT_BODY_END */
443
443
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stardustlc/dsh-review",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "DSH 代码审阅:独立发现缺陷、证据复核、修复跟踪与门禁;支持三种审阅模式。欢迎提交 issues 和 PR。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",