Community plugin

Hieupt1904 / dsh-project-flow-explainer

Skill agent: đọc repository mã nguồn và dựng sơ đồ quy trình HTML tương tác, mở offline, có căn cứ file/dòng | Read a codebase, trace a flow, render a self-contained interactive HTML workflow diagram

  • Python
  • MIT
  • 0 stars
  • Nov 21, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

dsh-project-flow-explainer is a DSH plugin published from the dsh-plugin package in the Hieupt1904/project-flow-explainer repository.

  • Listing statusManifest verified
  • Manifest checkedNov 19, 2026
  • Packagedsh-project-flow-explainer
  • Package pathdsh-plugin
  • Package version0.5.5
  • DSH engine0.2.2-rc.2
  • Source commit6b6524b
  • Repository createdNov 19, 2026

Capabilities and topics

agent-skillagent-toolai-agentcode-analysis
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

Cached versionView on GitHub

dsh-project-flow-explainer (DSH adapter)

Adapter mỏng đăng ký 7 tool trong DeepSeek Harness và gọi lại core Python qua subprocess. Core không phụ thuộc DSH: xoá thư mục này thì CLI Python vẫn chạy nguyên vẹn.

Yêu cầu

Thành phầnGiá trị
Node>= 20 (đã test 24.22.3)
DSH0.2.2-rc.2 (engines.dsh)
Python3.12 (chỉ standard library)
Mạngkhông cần lúc chạy; chỉ cần khi cài bundle lần đầu vào profile mới

Tool

ToolQuyền ghiGhi chú
project_flow_explaincó (artifact flow)trả đường dẫn tuyệt đối, đánh dấu host-only
project_code_indexcó (.pfe/index)full hoặc incremental
project_code_searchkhôngchỉ trả đường dẫn tương đối
project_context_packkhôngmặc định không snippet
project_impact_analysiskhôngcần index
project_verify_flowkhôngverdict pass/partial/fail
project_knowledge_refreshcó (.pfe/index)chỉ parse lại file đã đổi

Cài đặt

Từ checkout (dev)

dsh plugin --profile pfe-test add /duong/dan/project-flow-explainer/dsh-plugin

Từ tarball (độc lập, không cần checkout)

node dsh-plugin/scripts/pack.mjs                                  # -> dist/dsh-project-flow-explainer-0.3.0.tgz
dsh plugin --profile pfe-test add "$PWD/dist/dsh-project-flow-explainer-0.3.0.tgz"

Tarball chứa vendor/core/{scripts,assets,tools,pfe} do script pack sinh ra từ checkout. Bản cài độc lập tìm được scripts/build_flow.py và tools/pfe_cli.py mà không cần thư mục cha.

Cấu hình: override row, không insert lại

cordis.patch.yml của bundle đã insert row project-flow-explainer. Profile chỉ cần override theo id; insert lại cùng id sẽ tạo duplicate loader entry:

- id: project-flow-explainer
  config:
    allowedRoots:
      - /home/ban/workspace
    pythonPath: python3
    timeoutMs: 180000
    maxOutputBytes: 1048576
KeyMặc địnhÝ nghĩa
allowedRootskhông có → từ chối mọi pathdanh sách thư mục gốc được đọc, so sánh sau realpath
pythonPathpython3interpreter gọi core
coreRoottự dò (vendor/core → thư mục cha)chỉ đặt khi core ở nơi khác; sai là core_not_found
timeoutMs180000ngân sách mỗi lần gọi
maxOutputBytes1048576giới hạn stdout/stderr của child

Không có cấu hình nào cho phép artifact ra ngoài <repo>/artifacts/flows.

Profile template headless

Template này không có API key và cần preset permission tường minh. Thêm vào patch layer:

- id: permission
  config:
    defaultPreset: workspace-write
- id: project-flow-explainer
  config:
    allowedRoots: ['/duong/dan/workspace']

Thiếu defaultPreset thì DSH dừng với lỗi composed sandbox/approval defaults.

Mã lỗi ổn định

MãKhi nào
allowed_roots_unconfiguredthiếu hoặc rỗng allowedRoots
allowed_roots_invalidphần tử không phải chuỗi hoặc không tuyệt đối
repository_outside_allowed_rootsrepo ngoài root sau realpath
repository_path_missing / _invalid_type / _relativetham số sai
invalid_artifact_root / artifact_symlink_escapeoutput không phải artifacts/flows
core_timeoutvượt timeoutMs
core_failed / core_spawn_failedcore lỗi hoặc không chạy được
core_cli_not_foundbản core cũ không có tools/pfe_cli.py
index_missingchưa chạy project_code_index
no_changed_filesimpact thiếu changed_files và diff
invalid_argumentstham số không phải object
ABORTEDruntime map từ Error{name:'AbortError'}

Gỡ cài đặt

dsh plugin --profile pfe-test remove dsh-project-flow-explainer

Profile web không bị chạm trong mọi bước.

Kiểm thử

node --test dsh-plugin/tests/plugin.test.mjs      # 16 test: policy, artifact, abort, config
node --test dsh-plugin/tests/knowledge.test.mjs   # 9 test: 6 tool tri thức + validation
node --test dsh-plugin/tests/pack.test.mjs        # 2 test: pack + cài độc lập

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/Hieupt1904/project-flow-explainer/dsh-plugin)