dsh-explainer

DSH 的零摩擦快问:对话、Markdown/代码、渲染后的 HTML 报告、better-sidebar 编辑器里都能划词。默认回答会自动开始(英文正文先翻译、术语解释概念、问句直接回答),输入即取消。答案由一次性 completion 流式产出,沿用主窗口模型,继承只读对话快照,把所选文件作为上下文读取(默认上限 2 万字符),且不写入主会话。一行命令安装;宿主路由、客户端插槽、文档 renderer、iframe 选区桥都是可分离的扩展点。

插件介绍

DSH 的零摩擦快问:对话、Markdown/代码、渲染后的 HTML 报告、better-sidebar 编辑器里都能划词。默认回答会自动开始(英文正文先翻译、术语解释概念、问句直接回答),输入即取消。答案由一次性 completion 流式产出,沿用主窗口模型,继承只读对话快照,把所选文件作为上下文读取(默认上限 2 万字符),且不写入主会话。一行命令安装;宿主路由、客户端插槽、文档 renderer、iframe 选区桥都是可分离的扩展点。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-explainer

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:wzciczw/dsh-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.

版本兼容情况

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

安装提示

  • 可能调用终端命令