@yfwu2020/dsh-selection-explain 0.10.6 → 0.11.0

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
@@ -8,7 +8,7 @@ DSH 中的翻译、上下文解读与语音追问。
8
8
 
9
9
  [快速安装](#install) · [语音输入](#voice) · [功能一览](#read) · [使用与设置](#settings)
10
10
 
11
- `DSH 插件` · `v0.10.6` · `MIT`
11
+ `DSH 插件` · `v0.11.0` · `MIT`
12
12
 
13
13
  </div>
14
14
 
@@ -77,6 +77,16 @@ DSH 中的翻译、上下文解读与语音追问。
77
77
 
78
78
  ![真实小窗中,所选内容作为引用卡片出现在追问输入框上方](https://raw.githubusercontent.com/yfwu2020/dsh-selection-explain/v0.10.4/assets/quotes.png)
79
79
 
80
+ ### 图片和文件,直接拖进来
81
+
82
+ 追问时可以把图片或文件**拖进小窗**,也可以直接粘贴(`⌘V`)或用输入框左下角的 **+** 选择。一次最多 **10 件**,单件不超过 **20 MB**。
83
+
84
+ - 图片显示为缩略图(点开看原图),文件显示为可下载的卡片。**发送后仍留在消息气泡里**,关掉小窗再打开也在 —— 存的是引用而不是字节,历史文件不会因为几张截图变胖。
85
+ - 拖到小窗上的文件**只会进小窗**,不会同时落进主会话的输入框;拖到小窗外面则照常归主会话。
86
+ - 模型可以直接读取你附带的文件(读它的只读副本),不必你复制路径过去。
87
+ - 追问时最近 **2 张图片**会重新带给模型,更早的图片自动降级成一行文字说明(避免请求超限);文件不占这个额度。
88
+ - **升格**时这些附件会一并带进正式会话,继续在主会话里追问同一张图、同一个文件。
89
+
80
90
  不必每次从头来:
81
91
 
82
92
  | 想做什么 | 入口 |
@@ -103,11 +113,11 @@ dsh plugin --profile web add @yfwu2020/dsh-selection-explain
103
113
  <details>
104
114
  <summary>安装 Release 构建包</summary>
105
115
 
106
- 将下载的 `.tgz` 放到当前目录,以 v0.10.6 为例:
116
+ 将下载的 `.tgz` 放到当前目录,以 v0.11.0 为例:
107
117
 
108
118
  ```bash
109
119
  mkdir -p ~/.dsh/plugins/dsh-selection-explain
110
- tar -xzf yfwu2020-dsh-selection-explain-0.10.6.tgz -C ~/.dsh/plugins/dsh-selection-explain --strip-components=1
120
+ tar -xzf yfwu2020-dsh-selection-explain-0.11.0.tgz -C ~/.dsh/plugins/dsh-selection-explain --strip-components=1
111
121
  dsh plugin --profile web add ~/.dsh/plugins/dsh-selection-explain
112
122
  ```
113
123