Skip to content

v0.6.4 — lệnh nói rõ cách sửa khi sai thư mục

Choose a tag to compare

@Hieupt1904 Hieupt1904 released this 20 Nov 04:26
· 33 commits to main since this release

Bản này sửa trải nghiệm lệnh sau lần chạy thật đầu tiên trong DSH.

Lỗi lệnh giờ chỉ đúng cách sửa

Lần đầu gõ /project-flow-explainer trong session có cwd /home/hieupt (ngoài allowedRoots), kết quả là:

repository_outside_allowed_roots: repository_path nằm ngoài allowedRoots: /home/hieupt
allowedRoots hiện tại: /home/hieupt/Documents, /tmp/pfe-smoke
Cách sửa: thêm --repo <đường dẫn tuyệt đối tới repository>, hoặc mở phiên trong chính thư mục repository.

Đã kiểm chứng trong DSH thật

Bước Kết quả
Menu / liệt kê lệnh có (ảnh: artifacts/ui-verification/dsh-slash-command.png)
Chạy trong session cwd ngoài roots error + mã ổn định + cách sửa
Chạy với --repo trỏ đúng repo success, sinh 4 file artifact

Cài

dsh plugin --profile web add https://github.com/Hieupt1904/project-flow-explainer/releases/download/v0.6.4/dsh-project-flow-explainer.tgz

Kiểm chứng

  • 145 Python + 86 node test, 0 fail
  • DSH smoke 17/17 check, 36 tool, command_registered=true
  • Tarball 27 file gồm vendor/core