dsh-input-traffic 0.4.0 → 0.4.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.
- package/CHANGELOG.md +8 -0
- package/dsh.plugin.json +4 -1
- package/lib/client.js +1433 -1433
- package/lib/client.js.map +1 -1
- package/lib/types/client/index.js +117 -117
- package/lib/types/client/session-guard-bridge.d.ts.map +1 -1
- package/lib/types/client/session-guard-bridge.js.map +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
所有重要变更与 bug 修复记录于此。版本遵循语义化版本(`dsh plugin --profile web add dsh-input-traffic` 安装)。
|
|
4
4
|
|
|
5
|
+
## 0.4.1 — 2026-09-20
|
|
6
|
+
|
|
7
|
+
### 修复:等待队列尾部按钮被「调整对话宽度」把手抢走点击
|
|
8
|
+
|
|
9
|
+
- **现象**:队列卡片「取消并清空」与三档规划按钮(绿/黄/红)落在对话栏右侧的全高宽度把手(`div.wSkVaW_widthHandle[data-side="right"]`)覆盖范围内,点击被把手解释为拖拽,按钮无法操作。
|
|
10
|
+
- **根因**:把手位于 `.body`(`position: absolute`、`z-index: 8`),而 composer 座位 `.composerSeat` 是 `z-index: 7` 的层叠上下文;本插件的 `.dock` 原为 `width: 100%`(铺满 composer 栈),比输入卡片宽约 32px,尾部控件因此伸进把手的命中带。作为层叠上下文内的后代,dock 无法用 `z-index` 越出撤销层级,只能从几何上让位。
|
|
11
|
+
- **修复**:`.dock` 收敛到官方 `QueueDock` 同款卡片列——按「两侧 clearance + 两侧 dock inset」从栈宽扣除、上限为 composer 卡片宽减去 dock inners、`margin: 0 auto` 居中、inset 以 `padding` 返还,使面板仍与输入卡片对齐;并额外用 `min()` 叠加顶层 `--dsh-chat-content-width` 上限,让面板右缘距把手内缘稳定留出 24px 安全带(窄栏下该把手宽度为 0,`min()` 自动回落为卡片列宽)。离线 Chrome 几何探针:对齐场景把手到面板间距 24.5px → 48.5px,位移 16px 的错位场景 8.5px → 32.5px,四个按钮 `elementFromPoint` 命中自身。
|
|
12
|
+
|
|
5
13
|
## Unreleased
|
|
6
14
|
|
|
7
15
|
### 变更:仅支持 DSH 0.1.5+,compat/0.1.5 线(0.2.12-beta.1)
|
package/dsh.plugin.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-input-traffic",
|
|
3
|
-
"version": "0.2
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"description": "Busy-time input queue: three-tier planning, drag-to-reorder, interject/interrupt, batch clear, session freeze.",
|
|
6
|
+
"engines": {
|
|
7
|
+
"dsh": ">=0.1.5-alpha.1 <0.1.6-0"
|
|
8
|
+
},
|
|
6
9
|
"contributes": {
|
|
7
10
|
"tools": [],
|
|
8
11
|
"skills": []
|