dsh-think-skin 1.0.2 → 1.1.1
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 +48 -0
- package/assets/music//351/205/222/347/213/220//346/234/213/345/217/213/347/232/204/351/205/222 1.ogg +0 -0
- package/assets/music//351/205/222/347/213/220//346/234/213/345/217/213/347/232/204/351/205/222 2.ogg +0 -0
- package/assets/music//351/205/222/347/213/220//346/234/213/345/217/213/347/232/204/351/205/222 3.ogg +0 -0
- package/assets/screenshots/1-cover.png +0 -0
- package/assets/screenshots/2-settings.png +0 -0
- package/assets/screenshots/3-fish.png +0 -0
- package/assets/screenshots/4-jjfox.png +0 -0
- package/assets/screenshots/5-claude.png +0 -0
- package/assets/screenshots/6-music.png +0 -0
- package/client.js +636 -5
- package/index.js +394 -12
- package/package.json +4 -1
- package/screenshots.json +8 -0
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# dsh-think-skin
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
**Give the DSH thinking row your own face and your own words.**
|
|
4
6
|
|
|
5
7
|
The row that says `深度求索中,用时 3秒 ···` next to a whale tail is the one thing you look at
|
|
@@ -9,6 +11,23 @@ more than the answer. This replaces its icon and its copy, and keeps the timer.
|
|
|
9
11
|
|
|
10
12
|
▶ **[宣传片 · B 站](https://www.bilibili.com/video/BV1Layaz2Em7)** (1 分 45 秒,三套皮肤 + 安装全过程)
|
|
11
13
|
|
|
14
|
+
## Screenshots / 截图
|
|
15
|
+
|
|
16
|
+
**设置页** —— 套组卡片、字形(字符转圈)、文字渐变、音乐,都在这一页里。
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
**音乐池** —— 每个套组一个,每张图还能单独配;导入的音频会随套组 zip 一起走。
|
|
21
|
+
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+
**三套皮肤的那一行** —— 图和句分开抽,同一任务跑两次不重样。
|
|
25
|
+
|
|
26
|
+
| 蓝色大肥鱼 | 酒狐 | ClaudeCode |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
|  |  |  |
|
|
29
|
+
|
|
30
|
+
|
|
12
31
|
---
|
|
13
32
|
|
|
14
33
|
## What it does
|
|
@@ -25,6 +44,24 @@ more than the answer. This replaces its icon and its copy, and keeps the timer.
|
|
|
25
44
|
导出/导入 .zip、字形参数与实时预览
|
|
26
45
|
```
|
|
27
46
|
|
|
47
|
+
### 音乐(1.1.0)
|
|
48
|
+
|
|
49
|
+
思考那一行出现时可以放歌,行消失就淡出。音乐不进来路不明的默认曲库——**全部由你自己导入**,
|
|
50
|
+
所以也没有版权问题。
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
位置 设置 → 思考状态:顶部有总开关 + 音量滑轨;每张图的详情里有它自己的音乐池,
|
|
54
|
+
通用池下面有这一套共用的音��池
|
|
55
|
+
抽取 三种模式,根菜单里选:随机(洗牌袋一轮不重复)/ 顺序(按池子顺序走)/
|
|
56
|
+
单曲循环(这一轮认定一首,一直重放)
|
|
57
|
+
内置 酒狐自带《朋友的酒》三段(共 76 秒,0.63 MB),装完就有;
|
|
58
|
+
删掉的话下次启动会重新出现
|
|
59
|
+
转场 进 0.2 秒淡入,出 0.3 秒淡出;一首放完先淡出再从池里抽下一首
|
|
60
|
+
导出 音乐随套组 zip 一起走,导入时复制进 storages,不引用你硬盘上的原文件
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
建议导入一首歌的**几段**而不是整首——抽起来才有换歌的感觉,也不用我们做静音切片。
|
|
64
|
+
|
|
28
65
|
**双随机:** 一次运行抽一张图(整轮固定),图再带自己的文案池,池里每 7–15 秒抽一句。
|
|
29
66
|
两个随机在不同尺度上,组合数远大于单池。
|
|
30
67
|
|
|
@@ -110,6 +147,17 @@ binary is recorded in [assets/ClaudeCode/FINDINGS.md](assets/ClaudeCode/FINDINGS
|
|
|
110
147
|
|
|
111
148
|
---
|
|
112
149
|
|
|
150
|
+
## Security / 安全
|
|
151
|
+
|
|
152
|
+
插件在 DSH 的 web server 上挂了 8 条路由(读写套组、上传图片与音乐、导出导入)。
|
|
153
|
+
每条都先过 DSH 自己的访问检查 `ctx.connection.requestRejection` ——
|
|
154
|
+
它要求请求来自**已认证的活跃 Peer**,跨站的网页过不去。
|
|
155
|
+
老版本 DSH 里没有这个服务时,退回同源的 `Sec-Fetch-Site` / `Origin` 判断。
|
|
156
|
+
|
|
157
|
+
导入套组那条 `POST /import` 会去下载用户给的 URL:只允许 http/https,
|
|
158
|
+
拒绝回环、内网、链路本地、CGNAT、`*.local`,跟随重定向后复查一次,
|
|
159
|
+
30 秒超时,192 MB 上限。
|
|
160
|
+
|
|
113
161
|
## Credits
|
|
114
162
|
|
|
115
163
|
- **Mechanism reference:** [`huanlinoto/dsh-plugin-prts-neuron`](https://github.com/huanlinoto/dsh-plugin-prts-neuron).
|
package/assets/music//351/205/222/347/213/220//346/234/213/345/217/213/347/232/204/351/205/222 1.ogg
ADDED
|
Binary file
|
package/assets/music//351/205/222/347/213/220//346/234/213/345/217/213/347/232/204/351/205/222 2.ogg
ADDED
|
Binary file
|
package/assets/music//351/205/222/347/213/220//346/234/213/345/217/213/347/232/204/351/205/222 3.ogg
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|