lcsdg/dsh-quick-prompts0

@max1997/dsh-quick-prompts

Quick prompts dock for the dsh web GUI: a row of user-defined prompt chips above the composer — click a chip to preview and edit its text (with {{placeholder}} fields), then sync it into the input or send it directly. Prompts are stored in the official settings document, not localStorage.

包名
@max1997/dsh-quick-prompts
版本
0.1.0
许可证
MIT
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lcsdg/dsh-quick-prompts

配置说明 / Configuration

指令列表保存在 settings namespace quick-prompts(schema 驱动,官方设置页同样可见)。结构:

{
  "categories": [
    { "id": "review", "name": "代码审查" }
  ],
  "prompts": [
    { "id": "review-changes", "label": "审查当前改动", "text": "审查当前 git 改动…", "categoryId": "review" }
  ]
}

text 中的 {{任意名字}} 会成为预览弹窗里的填写字段(橙色高亮),同步/发送时替换为填写值;未填写的占位符原样保留。