dsh-quick-phrases

在输入框旁加一排快捷短语按钮:按钮名称与真正发送的内容分开编辑,点按行为可选「直接发送」或「插入光标处」,输入框里已有草稿时总是插到光标处;有草稿时整排缩成一个小胶囊,设置里关掉「显示短语行」后连胶囊都不渲染;单条短语也可单独隐藏;位置可选输入框下方、上方或工具行右侧;管理页支持新增、改名、拖动排序、两步确认删除与恢复默认。行为全部集中在一个渲染端脚本里,无依赖、不联网,短语以明文存在 localStorage。

插件介绍

在输入框旁加一排快捷短语按钮:按钮名称与真正发送的内容分开编辑,点按行为可选「直接发送」或「插入光标处」,输入框里已有草稿时总是插到光标处;有草稿时整排缩成一个小胶囊,设置里关掉「显示短语行」后连胶囊都不渲染;单条短语也可单独隐藏;位置可选输入框下方、上方或工具行右侧;管理页支持新增、改名、拖动排序、两步确认删除与恢复默认。行为全部集中在一个渲染端脚本里,无依赖、不联网,短语以明文存在 localStorage。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-quick-phrases

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:pengtang1024/dsh-quick-phrases

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.

版本兼容情况

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

安装提示

  • 可能调用终端命令