dsh-mini-remote 0.1.6 → 0.1.7

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/CHANGELOG.md CHANGED
@@ -24,6 +24,19 @@
24
24
  - **手机上显示图片不再那么挑写法。** 原来正文里只有两种写法能用:完整网址,或者一个裸名字。写全路径(哪怕是 `lib/art/out-demo.webp` 这种本机路径)都只会画一个破图标——2026-09-28 用户为此第三次来问。现在第三种写法也认:电脑上任意一张图的位置(绝对路径,或相对项目根),PNG/JPG/WEBP/GIF 都行,不必先拷进 `lib/art`。这条通道只发图片类型(扩展名是唯一的闸门)、单张不超过 20MB、照旧要 token;地址里没有构建指纹,所以不让浏览器缓存。
25
25
  - 两处会把「会话睡着了」说成「这个会话已经结束了,请重新选一个会话」的提示改准:撤回排队时说「队列里排着的也跟着没了——重新发一条吧」,停止时说「现在没在跑,不用停」。会话会醒,手机上还挂着它,说"结束了"会把人引到重选会话上去。
26
26
 
27
+ ## [0.1.7] - 2026-09-29
28
+
29
+ ### 修了的
30
+
31
+ - **预览动图不再进发布包,包体积从 5.4 MB 降到约 0.95 MB。** 0.1.6 的包里混进了 11 张预览动图(合计 5.4 MB,`lib/art/out-*.gif`)——它们是发给本机手机看的运行期截图,不属于插件的资产。起因是 `package.json` 的 `files` 白名单整个列了 `lib` 目录,根目录那条 `.npmignore` 因此在打包时不起作用(子目录里的仍然生效)。现在在 `lib/art/` 下放一条 `.npmignore`,内容只有一行 `out-*`,这一类文件从此不进包。
32
+
33
+ ## [0.1.6] - 2026-09-29
34
+
35
+ ### 改了的
36
+
37
+ - **放开对 DSH 宿主的版本上限:`>=0.1.5-rc.2 <0.2.0` 改成 `>=0.1.5-rc.2 <0.3.0`。** 原来的上限把 0.2 以上整个排除掉;宿主的校验带 `includePrerelease`,该选项下 `0.2.0-rc.1` 小于 `0.2.0`,所以当时是侥幸通过——0.2.0 正式版一发布,插件就会不加载。抬到 `<0.3.0` 后 `0.1.5-rc.2`、`0.2.0-rc.1`、`0.2.0` 都通过,`0.3.0` 仍然拦住。
38
+ - **Node 口径与上游对齐:`>=22` 改成 `^22.19.0 || >=24.0.0`。** 这条不是门禁(宿主的校验只看 peer 依赖),只是把要求写成上游那一份。
39
+
27
40
  ## [0.1.5] - 2026-09-27
28
41
 
29
42
  ### 新加的
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mini-remote",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "DSH 极简移动端遥控器:只把「你的指令」和「AI 的最终回复」送到手机,屏蔽全部中间过程。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file