dsh-skill-picker 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +22 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,12 +1,23 @@
1
1
  # dsh-skill-picker
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/dsh-skill-picker.svg)](https://www.npmjs.com/package/dsh-skill-picker)
4
+ [![license](https://img.shields.io/npm/l/dsh-skill-picker.svg)](https://github.com/a735624258/dsh-skill-picker/blob/main/LICENSE)
5
+
3
6
  > **技能记不住名字?官方 `/` 补全靠前缀记忆,装了几十个技能谁记得住?** 本插件让技能**看得见、翻得到、选得快**——点一下 ⚡,全部技能带描述排在你面前,搜索、点选、插入,随消息发出自动加载。
4
7
 
8
+ ## ⚡ 快速安装(npm)
9
+
10
+ ```sh
11
+ dsh plugin --profile web add dsh-skill-picker
12
+ ```
13
+
14
+ 一条命令从 npm 装好并注入 DSH web profile,重启 `dsh web`(或刷新页面)即生效。源码方式见下文 [安装](#安装)。
15
+
5
16
  DSH Web GUI 的技能选择器:在输入框(composer)工具行右侧加一个按钮,点开可以**搜索并点选已安装的技能**,选中后把官方 `/技能名` 手势插入发送框——随消息一起发出,DSH 原生机制就会自动加载该技能并执行。WorkBuddy 式"把技能写进发送框"的交互,DeepSeek Harness 复刻版。
6
17
 
7
18
  English: A skill picker for the DSH Web GUI — a button in the composer's right tool row opens a searchable list of installed skills; picking one inserts the official `/skill-name` gesture into the draft, so DSH's native user-invocation path loads the skill with your message.
8
19
 
9
- 当前版本:**v0.3.0**(`/` 补全 + ⚡ 面板均支持**拼音搜索**)
20
+ 当前版本:**v0.3.2**(`/` 补全 + ⚡ 面板均支持**拼音搜索**)
10
21
 
11
22
  ## 为什么用它(vs 官方 `/` 补全)
12
23
 
@@ -49,10 +60,17 @@ dsh plugin --profile web add "github:a735624258/dsh-skill-picker"
49
60
  dsh plugin --profile web add dsh-skill-picker
50
61
  ```
51
62
 
52
- > 注:已发布 npm(`npm view dsh-skill-picker` 可见 0.3.0),方式三可直接安装;未发布时请用方式一或方式二。
63
+ > 注:已发布 npm(`npm view dsh-skill-picker` 可见 0.3.2),方式三可直接安装;未发布时请用方式一或方式二。
53
64
  > 若 `dsh` 命令因 PowerShell 执行策略被拒(`File ... cannot be loaded`),用:
54
65
  > `powershell -ExecutionPolicy Bypass -Command "dsh plugin --profile web add link:C:\path\to\dsh-skill-picker"`
55
66
 
67
+ **网络特例(国内/HTTPS 受限时)**:
68
+ - 方式一的 `git clone` 走 HTTPS 慢或不通时,改用 SSH:`git clone git@github.com:a735624258/dsh-skill-picker.git`
69
+ - 方式二的 `github:` 简写强制 HTTPS clone;仅 SSH 可用时改用:
70
+ `dsh plugin --profile web add "git+ssh://git@github.com:a735624258/dsh-skill-picker.git"`
71
+ (或先执行 `git config --global url."git@github.com:".insteadOf "https://github.com/"` 让 pnpm 走 SSH)
72
+ - 方式三新版本发布后 **24 小时内**裸名会被 pnpm 的 minimumReleaseAge 门禁挡到旧版(如装到 0.2.0);急用最新请指定版本:`dsh plugin --profile web add dsh-skill-picker@0.3.1`
73
+
56
74
  重启 `dsh web`(或刷新页面加载新 bundle)后生效。
57
75
 
58
76
  ## 用法
@@ -84,6 +102,8 @@ DSH 的 [dsh-tool-skill](https://github.com/deepseek-ai/deepseek-harness) 在 `a
84
102
 
85
103
  ## 更新日志
86
104
 
105
+ - **v0.3.2**:安装文档修正——实测三种安装方式并补网络特例(HTTPS 受限改 SSH、npm 新版本 24h 内被 minimumReleaseAge 门禁挡旧版的规避方法)
106
+ - **v0.3.1**:README 顶部新增一键快速安装命令(`dsh plugin --profile web add dsh-skill-picker`)与 npm 版本/许可徽章
87
107
  - **v0.3.0**:拼音搜索——`/` 补全与 ⚡ 面板的搜索目标加入技能名/描述的拼音全拼(带空格+连打)与首字母索引,中文技能可拼音直搜(如 `ji yi` →「备份记忆」)
88
108
  - **v0.2.2**:⚡ 弹层键盘导航(↑↓ 选择、Enter 插入、Esc 关闭);按钮盒 28×28 → 24×24,闪电图标 16px(对应 issue #1、#4)
89
109
  - **v0.2.1**:声明兼容 DSH 0.1.2-alpha 系列
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-skill-picker",
3
3
  "description": "DSH Web GUI skill picker: a button beside the composer opens a searchable list of installed skills; picking one inserts the official `/skill-name` gesture into the input box, so the skill loads with your message (WorkBuddy-style skill invocation for DeepSeek Harness).",
4
- "version": "0.3.0",
4
+ "version": "0.3.2",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "exports": {