dsh-scroll-piano 0.2.0 → 0.2.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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
|---|---|
|
|
19
19
|
| `13:input-message<uuid>` | 用户消息 → 角色显示「你」 |
|
|
20
20
|
| `14:assistant-stepN:M` | AI 消息 → 角色显示「AI」 |
|
|
21
|
-
| `12:turn-processN` / `["process",…]` / `9:turn-tailN` | 过程 / 工具调用 /
|
|
21
|
+
| `12:turn-processN` / `["process",…]` / `9:turn-tailN` | 过程 / 工具调用 / 轮次尾,**跳过**(此时显示离鼠标最近的那条消息,不弹占位文案) |
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
滑动时按鼠标纵坐标 y 找**包含 y 的那条**(落在过程/工具块上则取**距离最近的那条**消息),`getBoundingClientRect()` 实时判定、`innerText` 取正文(去掉末尾 `HH:MM` 时间戳),显示在气泡里。**只认这些 `data-*` 属性**——容器类名(`icaHSq_flowItem`、`ST7X_W_scrollBody`)都带 hash,不碰。
|
|
24
24
|
|
|
25
25
|
## 触发区为什么按坐标而不是抓 DOM
|
|
26
26
|
|