dsh-skill-picker 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -24,6 +24,7 @@ English: A skill picker for the DSH Web GUI — a button in the composer's right
24
24
  - ⚡ 一键弹出全部技能(闪电图标,人人看得懂)
25
25
  - **`/` 直接补全**:输入斜杠即列出全部技能,**模糊搜索**(技能名+描述任意匹配)+ **常用排序**(v0.2.0)
26
26
  - 🔍 实时搜索(技能名 / 描述都搜)
27
+ - ⌨️ **键盘导航**:弹层内 ↑↓ 选择、Enter 插入、Esc 关闭,全程不碰鼠标(v0.2.2)
27
28
  - 🧠 **最近使用置顶、常用靠前**的智能排序(WorkBuddy 同款)
28
29
  - 📋 走官方宿主 skills API(与 DSH 内置 `/` 补全同一数据源,自动覆盖用户级+项目级技能)
29
30
  - 🧩 插入官方 `/技能名` 手势,加载/执行走 DSH 原生机制,**零 agent 侧改动**
@@ -44,7 +45,7 @@ dsh plugin --profile web add "github:a735624258/dsh-skill-picker"
44
45
  dsh plugin --profile web add dsh-skill-picker
45
46
  ```
46
47
 
47
- > 注:目前**尚未发布 npm**(`npm view dsh-skill-picker` 404),请用方式一或方式二。
48
+ > 注:已发布 npm(`npm view dsh-skill-picker` 可见 0.2.0+),方式三可直接安装;未发布时请用方式一或方式二。
48
49
  > 若 `dsh` 命令因 PowerShell 执行策略被拒(`File ... cannot be loaded`),用:
49
50
  > `powershell -ExecutionPolicy Bypass -Command "dsh plugin --profile web add link:C:\path\to\dsh-skill-picker"`
50
51
 
@@ -54,7 +55,7 @@ dsh plugin --profile web add dsh-skill-picker
54
55
 
55
56
  1. 打开任一会话,在输入框工具行右侧找到**⚡ 按钮**
56
57
  2. 点击弹出技能列表(可输入关键字过滤)
57
- 3. 点选技能 发送框自动出现 `/技能名 `
58
+ 3. **↑↓** 选择、**Enter** 插入(或直接鼠标点选)→ 发送框自动出现 `/技能名 `
58
59
  4. 继续输入你的话并发送——DSH 会识别 `/技能名` 手势,自动加载该技能并按其指令执行
59
60
 
60
61
  示例:点选 `duo-xuan-pi-gai` 后发送框变为 `/duo-xuan-pi-gai 帮我批改多选`,发送后技能自动加载。