dsh-code-explainer

在 DSH 工具卡的代码块上给每一行加中文行尾注释:输入侧是灰色「//」,输出侧的代码用蓝色箭头,规则能判的行即时给出、判不出的行用当前会话的模型补一版;顶部「注释:开/关」可关回纯代码,内容在发给模型与落盘前先做凭据掩码。

插件介绍

在 DSH 工具卡的代码块上给每一行加中文行尾注释:输入侧是灰色「//」,输出侧的代码用蓝色箭头,规则能判的行即时给出、判不出的行用当前会话的模型补一版;顶部「注释:开/关」可关回纯代码,内容在发给模型与落盘前先做凭据掩码。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:xiaoluoli45/dsh-code-explainer

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。