dsh-delete-session 0.2.7 → 0.2.8
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 +5 -0
- package/package.json +1 -1
- package/src/client.js +2363 -2363
- package/src/index.js +150 -44
- package/test/artifacts.host.test.js +100 -1
- package/test/checkbox.dom.test.js +2818 -2818
package/README.md
CHANGED
|
@@ -162,6 +162,11 @@ MIT
|
|
|
162
162
|
|
|
163
163
|
## 修复记录
|
|
164
164
|
|
|
165
|
+
**(v0.2.8)** —— 删除更快:退避改成指数,批量改成三阶段流水线。
|
|
166
|
+
|
|
167
|
+
- **lease 探测不再固定等 200ms**:活跃会话的第一次探测几乎必然 busy(detach 后 lease 由异步 retirement 释放),原来每条都要先付 200ms。现在 20 → 40 → 80 → 160 → 200(封顶不变),典型情况落在 20–40ms,最坏总等待从 2200ms 降到 1900ms。
|
|
168
|
+
- **批量删除改成跨会话的三阶段流水线**:停止+flush 全部 → 探测全部 lease(16 路,这些是纯等待)→ 清理+校验+摘记账(6 路,沿用实测饱和点)。原来三个阶段在每条会话内部串着跑、6 路一波,活跃会话的等待按波次排队。
|
|
169
|
+
- 单删与批量现在共用同一组阶段函数(`stopSession` / `requireWritable` / `retireSession`),不会再各写一份慢慢漂移。
|
|
165
170
|
**(v0.2.7)** —— 多选时按钮型页脚入口也让位。
|
|
166
171
|
|
|
167
172
|
- **`dsh-sidebar-declutter` 的「收起面板列表」不再压住底栏**:它的入口是裸 `<button>` 挂在 `sidebar.footer.action` 上,既没有 `data-dsh-plugin`,也没有 `_entryRow` 包装,原来的两条让位规则都命中不了它,于是它和底栏挤在同一行。新增 `> button:not([role="toolbar"])` 覆盖这种形状。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-delete-session",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "Delete sessions from the DSH Web sidebar: adds a Delete action to the session row menu with a risk-consent dialog, sends the session log, workspace accounting and live session state to the system trash (or removes them outright), and, when opted in, quarantines the files the conversation produced.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|