dsh-plugin-inspector: View declarative configuration and code directly on the plugin details page

dsh-plugin-inspector is a DSH client plugin maintained by liuweibing7 (version 1.0.0, MIT). It adds an "inspector" section to the plugin details page of the http:// Web GUI. Using two tabs—"Declaration" and "Code"—it displays the precise YAML patch entries declaring the plugin, as well as the actual installed files including package.json, Host entry point, browser bundle, src/ source code, and README. The Host side registers a same-origin POST /plugin-inspector read-only interface, while the browser side renders and performs syntax highlighting and Markdown rendering/raw toggling; the Code tab is loaded only upon first opening. It does not write files, connect to the network, or execute plugin code, making it suitable for troubleshooting discrepancies between plugin declarations and actual files. It is unavailable in the file:// environment, with a single file truncated at 256 KiB and a response limit of 1.6 MiB. It can be installed using `dsh plugin --profile <profile> add github:liuweibing7/dsh-plugin-inspector` or a local path.

Read More