dsh-session-superagent 0.9.161 → 0.9.163
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 +41 -0
- package/README.md +1 -1
- package/client.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,47 @@
|
|
|
2
2
|
|
|
3
3
|
格式参照 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
|
|
4
4
|
|
|
5
|
+
## [0.9.163] - 2026-11-03 —— 真机走查清单就位(离线证明不了的四组)
|
|
6
|
+
|
|
7
|
+
### 为什么
|
|
8
|
+
五条候选里唯有「键盘可达」只有静态断言:能证明源码里有 `focus()` / Escape / 焦点陷阱,
|
|
9
|
+
**不能证明真实 Tab 顺序、焦点归还、以及真机上样式到底有没有生效**。
|
|
10
|
+
这类项必须人肉确认,所以把它做成清单,而不是继续"假装测过"。
|
|
11
|
+
|
|
12
|
+
### 产出
|
|
13
|
+
`docs/真机走查清单-弹层.md`,四组共 22 项:
|
|
14
|
+
|
|
15
|
+
| 组 | 项数 | 例子 |
|
|
16
|
+
|---|---|---|
|
|
17
|
+
| 布局 | 9 | 实心卡片、两行封顶、会话名是中文标题、错误行只占一行 |
|
|
18
|
+
| 键盘 | 5 | Tab 能进弹层、顺序 立刻→暂停→删除、Escape 关闭、焦点归还圆环 |
|
|
19
|
+
| 主题与窄屏 | 4 | 深浅两套都清晰、500px/360px 不溢出 |
|
|
20
|
+
| 交互 | 4 | 立刻/暂停/删除 的真实反馈、未关闭时汇总仍刷新 |
|
|
21
|
+
|
|
22
|
+
### 知识库
|
|
23
|
+
`visual-sweep-checklist.md` 补一节:**断言只能证明"代码调用了",不能证明"用户看到的是对的"。**
|
|
24
|
+
|
|
25
|
+
## [0.9.162] - 2026-11-03 —— 双主题实拍底稿:让预览更接近宿主里的真实叠放
|
|
26
|
+
|
|
27
|
+
### 为什么
|
|
28
|
+
预览一直是"孤零零一张卡片",而真机里弹层是**浮在聊天内容之上**的。
|
|
29
|
+
差别会导致两个误判:
|
|
30
|
+
1. 行底色(`bg-layer-2`)在预览里看不出来 —— 因为背景本来就是纯色,有没有底色都一样;
|
|
31
|
+
2. 重叠感、边框清晰度在纯色背景上都偏乐观。
|
|
32
|
+
|
|
33
|
+
### 改法(只动预览工装,不动产品代码)
|
|
34
|
+
- 弹层容器加一层半透明"内容层",并在上面写一句「宿主里弹层浮在这层内容之上」;
|
|
35
|
+
- 弹层行显式给 `bg-layer-2` 与行间分隔线(与真机 DOM 一致),这样"透字"这类问题在预览里也能看出来。
|
|
36
|
+
|
|
37
|
+
### 出图
|
|
38
|
+
浅色 / 深色各一张底稿,供真机实拍时逐项对照(圆角、底色、比例条、行截断、动作位置)。
|
|
39
|
+
|
|
40
|
+
### 证据
|
|
41
|
+
```
|
|
42
|
+
audit-preview → PASS 30 块(含弹层)
|
|
43
|
+
node --test → 264/264;preflight 全量 → 36/36;ui-audit → 11/11 = 100
|
|
44
|
+
```
|
|
45
|
+
|
|
5
46
|
## [0.9.161] - 2026-11-03 —— 弹层每次打开都重钉一遍样式表
|
|
6
47
|
|
|
7
48
|
### 为什么
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<img src="assets/icon-180.png" width="88" height="88" alt="">
|
|
4
4
|
|
|
5
5
|
[](LICENSE)
|
|
6
|
-
[](https://github.com/MYCF711/dsh-session-superagent/releases)
|
|
7
7
|
[](https://www.npmjs.com/package/dsh-session-superagent)
|
|
8
8
|
[](https://github.com/topics/dsh-plugin)
|
|
9
9
|
|
package/client.js
CHANGED
|
@@ -14,7 +14,7 @@ window.__ModuleLoader__.load({
|
|
|
14
14
|
const { useCallback, useEffect, useRef, useState } = React
|
|
15
15
|
|
|
16
16
|
// 客户端版本探针:每次模块加载写一次,用来确认浏览器里跑的是哪一版
|
|
17
|
-
const CLIENT_VERSION = '0.9.
|
|
17
|
+
const CLIENT_VERSION = '0.9.163'
|
|
18
18
|
let BASE = '/session-superagent'
|
|
19
19
|
/**
|
|
20
20
|
* 挑「最新的那个服务端实例」。
|
package/lib/index.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
|
|
41
41
|
export const name = 'dsh-session-superagent'
|
|
42
42
|
/** 服务端版本:随 package.json 同步(meta 测试守着)。客户端据此挑「最新的那个实例」。 */
|
|
43
|
-
export const SERVER_VERSION = '0.9.
|
|
43
|
+
export const SERVER_VERSION = '0.9.163'
|
|
44
44
|
export const inject = ['tools', 'agents', 'webServer']
|
|
45
45
|
/** 一条会话每小时最多被唤醒几次(跨所有守累计)。单守上限挡不住多守叠加。 */
|
|
46
46
|
// 本进程启动时刻:用来区分「刚重启还没轮到」与「定时器真的丢了」
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-session-superagent",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.163",
|
|
4
4
|
"description": "Session-level superagent for DeepSeek Harness: watch a GitHub repository and wake a session when something needs doing. Credentials never reach the model.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|