@ryuu-64/dsh-find-all 0.1.15 → 0.1.17

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.
@@ -1,22 +1,22 @@
1
- # Issue 35:回归测试清单
2
-
3
- ## 先知道当前状态
4
-
5
- 2026-10-22:196 项自动测试和打包检查已通过。官方 DSH `0.2.0-rc.2` 和 `0.2.1-rc.2` 的隔离 Web 回归均已完成,覆盖下列各自适用的场景;新版使用实际声明支持该版本的候选,通过正常安装流程验证。两个宿主的实测内容与 bundle hash 见[兼容说明](compatibility.md)。PR #36 后续报告:同一候选也通过从官方签名安装器原样解包的 Windows Desktop `0.2.1-rc.2` 验收;未测 Windows 安装器/注册表集成及旧版 Desktop。该报告的详细范围与两条未逐一归因的资源错误见[PR #36](https://github.com/Ryuu-64/dsh-find-all/pull/36)。
6
-
7
- 兼容范围已加入确切的 `0.2.1-rc.2`,其余原有版本保留。复测时不要使用 `allow-version --accept-risk` 绕过安装检查,不要碰真实会话,也不需要调用模型。此前现代测试曾出现浏览器 Error 9,原因未确定;后续通过不能证明修复了该崩溃。
8
-
9
- ## 按这个顺序测
10
-
11
- 1. **先跑自动检查。** 检出待测提交,按仓库现有依赖安装方式准备环境,运行 `npm run check` 和 `npm run verify:release`。两项都应通过,打包内容应与当前 `lib/client.js` 一致。
12
- 2. **在两个目标宿主正常安装。** 分别准备独立的官方 DSH `0.2.0-rc.2` 和 `0.2.1-rc.2` Web 环境与空测试配置,通过正常插件安装流程装入同一份当前候选。记录宿主版本、Git 提交和 bundle SHA-256。不要复用别的任务的运行实例;安装或下载失败就报告阻塞。下列第 3–5 项在两个宿主执行,第 6 项在新版执行。
13
- 3. **检查“全文”和“已加载”不是同一个数。** 用仓库 `scripts/compat/synthetic-history.mjs` 的 `seedHistory` 在自己的隔离环境准备80轮已结束的假对话。搜索 `FIND_ALL_A_USER_`:全文应有80处;如果页面只加载最后25条,已加载模式应有25处。再搜索 `FIND_ALL_A_REPLY_`,全文应有80处;搜索 `FIND_ALL_A_`,应有160处。
14
- 4. **检查跳转和高亮。** 在全文结果里跳到第一条用户消息和第一条助手回复。页面应先加载旧消息,再显示001并准确高亮查询文字。等待动作完成后再检查,不能只看刚点击时的结果;不能跳错消息、停在加载中或出现导航失败提示。
15
- 5. **检查切换和取消。** 搜索时换词、关闭搜索、切到另一条假会话再回来。旧结果不能继续滚动页面或高亮新会话。再搜索应得到对应会话的正确结果。
16
- 6. **复查现代显示规则时,使用假数据。** 文件引用应按实际显示的文件名找到。两条默认遮挡的假密钥应有2处;手动展开第一条后总数仍为2,第一条旧高亮被清掉并给出提示,第二条仍能跳转。全文不能搜到隐藏的原文片段;已加载模式可以找到手动展开的那一条。切走再回来应重新遮挡并恢复正常定位。此项须用支持这些显示规则的宿主和真实 Chat 消息,不能用独立演示组件代替。安装不兼容就报告,不强行绕过。
17
-
18
- ## 最后交回什么
19
-
20
- 简明列出:宿主版本、代码提交、bundle hash、每一步通过/失败/没测、实际计数、导航后的截图。失败时附操作顺序和错误提示,不要附真实密钥、认证链接或整份会话内容。
21
-
22
- 本清单不授权发布 npm。Electron 桌面端或其他宿主版本需要各自的实机结果,不能用这里的 Web 结果代替。
1
+ # Issue 35:回归测试清单
2
+
3
+ ## 先知道当前状态
4
+
5
+ 2026-10-22:196 项自动测试和打包检查已通过。官方 DSH `0.2.0-rc.2` 和 `0.2.1-rc.2` 的隔离 Web 回归均已完成,覆盖下列各自适用的场景;新版使用实际声明支持该版本的候选,通过正常安装流程验证。两个宿主的实测内容与 bundle hash 见[兼容说明](compatibility.md)。PR #36 后续报告:同一候选也通过从官方签名安装器原样解包的 Windows Desktop `0.2.1-rc.2` 验收;未测 Windows 安装器/注册表集成及旧版 Desktop。该报告的详细范围与两条未逐一归因的资源错误见[PR #36](https://github.com/Ryuu-64/dsh-find-all/pull/36)。
6
+
7
+ 兼容范围已加入确切的 `0.2.1-rc.2`,其余原有版本保留。复测时不要使用 `allow-version --accept-risk` 绕过安装检查,不要碰真实会话,也不需要调用模型。此前现代测试曾出现浏览器 Error 9,原因未确定;后续通过不能证明修复了该崩溃。
8
+
9
+ ## 按这个顺序测
10
+
11
+ 1. **先跑自动检查。** 检出待测提交,按仓库现有依赖安装方式准备环境,运行 `npm run check` 和 `npm run verify:release`。两项都应通过,打包内容应与当前 `lib/client.js` 一致。
12
+ 2. **在两个目标宿主正常安装。** 分别准备独立的官方 DSH `0.2.0-rc.2` 和 `0.2.1-rc.2` Web 环境与空测试配置,通过正常插件安装流程装入同一份当前候选。记录宿主版本、Git 提交和 bundle SHA-256。不要复用别的任务的运行实例;安装或下载失败就报告阻塞。下列第 3–5 项在两个宿主执行,第 6 项在新版执行。
13
+ 3. **检查“全文”和“已加载”不是同一个数。** 用仓库 `scripts/compat/synthetic-history.mjs` 的 `seedHistory` 在自己的隔离环境准备80轮已结束的假对话。搜索 `FIND_ALL_A_USER_`:全文应有80处;如果页面只加载最后25条,已加载模式应有25处。再搜索 `FIND_ALL_A_REPLY_`,全文应有80处;搜索 `FIND_ALL_A_`,应有160处。
14
+ 4. **检查跳转和高亮。** 在全文结果里跳到第一条用户消息和第一条助手回复。页面应先加载旧消息,再显示001并准确高亮查询文字。等待动作完成后再检查,不能只看刚点击时的结果;不能跳错消息、停在加载中或出现导航失败提示。
15
+ 5. **检查切换和取消。** 搜索时换词、关闭搜索、切到另一条假会话再回来。旧结果不能继续滚动页面或高亮新会话。再搜索应得到对应会话的正确结果。
16
+ 6. **复查现代显示规则时,使用假数据。** 文件引用应按实际显示的文件名找到。两条默认遮挡的假密钥应有2处;手动展开第一条后总数仍为2,第一条旧高亮被清掉并给出提示,第二条仍能跳转。全文不能搜到隐藏的原文片段;已加载模式可以找到手动展开的那一条。切走再回来应重新遮挡并恢复正常定位。此项须用支持这些显示规则的宿主和真实 Chat 消息,不能用独立演示组件代替。安装不兼容就报告,不强行绕过。
17
+
18
+ ## 最后交回什么
19
+
20
+ 简明列出:宿主版本、代码提交、bundle hash、每一步通过/失败/没测、实际计数、导航后的截图。失败时附操作顺序和错误提示,不要附真实密钥、认证链接或整份会话内容。
21
+
22
+ 本清单不授权发布 npm。Electron 桌面端或其他宿主版本需要各自的实机结果,不能用这里的 Web 结果代替。
@@ -1,158 +1,158 @@
1
- # DSH 0.2.1-rc.3 compatibility review — plugin 0.1.15
2
-
3
- ## Baseline and scope
4
-
5
- Version `0.1.15` is based on plugin `0.1.14`, commit `c0d9ae1`, not the reported
6
- `0.1.12`. Version 0.1.14 already contains the modern user-text evaluator fix.
7
- The search logic is unchanged; the generated bundle only updates its embedded version metadata. All four existing DSH peer requirements
8
- add only `0.2.1-rc.3`; previous entries remain and unknown future versions remain
9
- excluded. Neither `engines.dsh` nor a compatibility exemption is introduced.
10
-
11
- ## Official evidence and boundaries
12
-
13
- Official host source: [`dsh-v0.2.1-rc.3`, `1f81c047`](https://github.com/deepseek-ai/deepseek-harness/tree/1f81c047fc48fa190a683e469daa699857e9afe8).
14
-
15
- - The [compatibility evaluator](https://github.com/deepseek-ai/deepseek-harness/blob/1f81c047fc48fa190a683e469daa699857e9afe8/packages/boot/app-boot/src/plugin-compatibility.ts)
16
- checks all DSH peers when `engines.dsh` is absent and includes prereleases.
17
- A failed declaration check occurs before plugin execution; passing that check
18
- alone does not establish API compatibility.
19
- - Official [plugin practices](https://github.com/deepseek-ai/deepseek-harness/blob/1f81c047fc48fa190a683e469daa699857e9afe8/packages/preset/agent-preset/skills/cordis-plugin-development/references/practices.md)
20
- recommend public extension points and owned UI/theme tokens rather than
21
- importing Harness Client modules from ordinary JavaScript plugins. The current
22
- plugin still imports UI primitives, including renderers used to preserve
23
- search-text fidelity. This review does **not** claim to migrate that architecture
24
- or to make those modules a stable SDK.
25
- - The rc.2 and rc.3 source blobs for the used Markdown/tool renderers and
26
- Modal/Button/Input/Checkbox/clipboard exports are unchanged. Dropping them
27
- without an equivalent projection contract would break whole-history search,
28
- so this compatibility fix preserves them and tests the exact host instead.
29
- - Vendor pins in `scripts/compat/vendor-versions.json` come from each official
30
- tag's `vendor/*/package.json`; no drifting newer host dependencies or host
31
- source modifications are used for acceptance.
32
-
33
- ### Complete source-tree comparison (rc.2 → rc.3)
34
-
35
- Both recursive Git trees were complete (`truncated: false`); comparison used
36
- individual blob SHAs rather than the limited GitHub compare response.
37
-
38
- | Dependency surface | Observed source changes |
39
- | --- | --- |
40
- | session-controller | Package version and one comment in `sessions/service.ts` |
41
- | ui-chat | Package version only |
42
- | ui-conversation | More views menu, draft initialization, submit statistics; userText contract/registry/document/component unchanged |
43
- | ui-primitives | Menu optional parameters, Tooltip positioning, new icons; the renderers/controls used here remain unchanged |
44
-
45
- These observations reduce the expected regression surface but do not replace
46
- browser acceptance. Menu/Tooltip placement and keyboard/resize behavior remain
47
- explicitly unverified in this run.
48
-
49
- ## Reproduction
50
-
51
- ```sh
52
- npm ci --ignore-scripts --legacy-peer-deps
53
- npm run check
54
- npm run verify:release
55
- mkdir -p evidence/artifact
56
- npm pack --ignore-scripts --pack-destination evidence/artifact
57
- FIND_ALL_FULL_ACCEPTANCE=1 node scripts/compat/web-smoke.mjs 0.2.1-rc.3 \
58
- evidence/artifact/ryuu-64-dsh-find-all-0.1.15.tgz evidence/0.2.1-rc.3
59
- ```
60
-
61
- The development dependency install flag is not used to bypass the host's plugin
62
- gate. Runtime installation is strict and the CLI installs the candidate normally.
63
- Use only synthetic sessions and isolated profiles, without model credentials.
64
- `FIND_ALL_CHROMIUM_PATH` optionally selects an installed Chromium executable.
65
- `FIND_ALL_REUSE_RUN` may point to the runner's own isolated acceptance directory
66
- for diagnostic retries; every installed DSH/vendor version is still verified.
67
- Only dependency installation is reused: each retry gets a fresh isolated home and workspace. This is recorded separately from a fresh dependency download.
68
-
69
- ## Results on the dot cloud computer (2026-10-27)
70
-
71
- - Baseline `npm run check`: 196 passed. Candidate: 198 passed, including exact
72
- version/lock checks. `verify:release` passed. Production client SHA-256 remains
73
- `a15289613f673c5586117d50e6d88c0ee797087fe5352011f98a74740a96e623`.
74
- - Official `0.2.1-rc.3` installed with strict dependency checks. All installed
75
- DSH and vendor versions were verified. The installed official evaluator rejects
76
- original `0.1.14` on four peers, accepts this candidate without exemptions, and
77
- rejects unknown `0.2.1-rc.4`.
78
- - The same candidate installed through normal official `plugin add`. Its real
79
- HTTP route rejects unauthenticated requests (401); earliest A user/B assistant
80
- body queries each return one session, title query two, absent query zero. All
81
- finish with zero failed/skipped sessions, exact snippet offsets, and working
82
- cancellation. No optional SQLite full-text index was enabled.
83
-
84
- ### Actual native-browser acceptance
85
-
86
- The exact host ran in dot's native Terminal, with a runtime in the shared
87
- workspace and a newly isolated HOME/XDG/DSH profile. The existing dot Chromium
88
- opened the official fresh local-login URL. All sessions were synthetic; no
89
- model account, real credentials, or external model calls were used.
90
-
91
- Passed through actual UI actions and read-only DOM observations:
92
-
93
- - A's loaded-content search finds 25 user and 25 assistant messages; whole-history
94
- search finds 80 each and 160 combined while only 25 turns remain rendered.
95
- - First-user A001 and independently first-assistant B001 navigation load earlier
96
- real Chat rows. Genuine screenshots show exact orange query highlights, the
97
- correct 001 text and 1/80 after settling. The browser's read-only inspection
98
- wrapper does not expose `CSS.highlights`; screenshot/visible DOM evidence is
99
- used here, not a claimed automated CSS Range assertion.
100
- - Ctrl+F, rapid query replacement, Close, and A/B/A session switching produce
101
- the current session's correct results without duplicate find bars.
102
- - Cross-conversation body and title search, retained-query handoff, archive
103
- exclusion by default, explicit Include archived, and Unarchive and open pass.
104
- Merely displaying an archived result does not restore/open it.
105
- - Modern file labels match twice while their undisplayed raw path matches zero.
106
- Two default-masked synthetic secrets match; manually revealing the first
107
- clears its old highlight while whole-history retains two default-mask results.
108
- The second mask remains navigable. A revealed raw fragment matches zero in
109
- whole-history and one in loaded-content mode; remounting restores masking.
110
- - Two native plugin-manager disable/re-enable cycles remove/reinstall the search
111
- entry (0 → 1) without a page refresh. Ctrl+F subsequently opens one working bar.
112
- - Light and dark-theme find/highlight smoke checks pass; System theme is restored.
113
-
114
- The captured warning/error review contained 269 entries, all attributed to the
115
- browser extension's content script (`Error sending browser metadata to extension`).
116
- No other source appeared in that review. This is not a claim of a completely
117
- empty browser console or a fix to the extension.
118
-
119
- ### Why the first attempt could not reach the browser
120
-
121
- The command runner and native desktop do not share the same temporary directory
122
- or localhost process environment. Launching a new Chromium subprocess inside the
123
- command runner failed at Unix sockets; a normal escalation attempt failed during
124
- environment initialization. The existing native browser could not reach the
125
- runner-local server. These failures did not establish a plugin failure.
126
-
127
- The previously successful supported method resolved the issue: put the exact
128
- runtime in the shared workspace, launch only the already-authorized local DSH
129
- host through native Terminal, and use the existing dot browser. No security
130
- setting was changed, no denied file was accessed, and no blocked Chromium launch
131
- or escalation was repeated. Do not reuse old authentication URLs or profiles.
132
-
133
- ### Scope / evidence matrix
134
-
135
- | Plugin / host | Version gate | This run's evidence |
136
- | --- | --- | --- |
137
- | Released 0.1.14 / DSH 0.2.1-rc.3 | Rejected on four peers | Official evaluator reproduced |
138
- | 0.1.15 (same verified runtime code) / DSH 0.2.1-rc.3 Web on dot Linux | Accepted without exemption | 0.1.15 normal installation/HTTP passed; full native UI passed on the patched 0.1.14 candidate with equivalent search logic |
139
- | Candidate / rc.2 and previous declared hosts | Exact declarations preserved | Not rerun; historical records remain separate |
140
- | Candidate / unknown future releases | Rejected | rc.4 explicitly checked; no future compatibility claim |
141
- | Packaged Electron / other operating systems | Not established here | Not tested by this Linux Web run |
142
-
143
- A full responsive/resize/Tooltip matrix, third-party renderer combinations, and
144
- all historical host versions remain unverified. The Playwright browser script
145
- was updated from observed modern UI, but was not itself run end-to-end: the
146
- browser acceptance above used supported native browser control.
147
-
148
- The native acceptance was performed with the local patched 0.1.14 candidate;
149
- 0.1.15 carries identical search logic and peer declarations, with embedded version values and release
150
- metadata/documentation updated. A user still on 0.1.12 needs the complete modern
151
- baseline in 0.1.15, not only a peer-range edit. No account/security settings are
152
- changed by this compatibility fix.
153
-
154
- Use `FIND_ALL_HTTP_ONLY=1` for the separately named HTTP layer. For the native
155
- browser method, use `scripts/compat/native-host.sh` with an already prepared
156
- exact runtime under the shared workspace, then open the fresh official local
157
- URL in dot's existing browser. Local authentication output must never be included
158
- in commits or evidence delivery.
1
+ # DSH 0.2.1-rc.3 compatibility review — plugin 0.1.15
2
+
3
+ ## Baseline and scope
4
+
5
+ Version `0.1.15` is based on plugin `0.1.14`, commit `c0d9ae1`, not the reported
6
+ `0.1.12`. Version 0.1.14 already contains the modern user-text evaluator fix.
7
+ The search logic is unchanged; the generated bundle only updates its embedded version metadata. All four existing DSH peer requirements
8
+ add only `0.2.1-rc.3`; previous entries remain and unknown future versions remain
9
+ excluded. Neither `engines.dsh` nor a compatibility exemption is introduced.
10
+
11
+ ## Official evidence and boundaries
12
+
13
+ Official host source: [`dsh-v0.2.1-rc.3`, `1f81c047`](https://github.com/deepseek-ai/deepseek-harness/tree/1f81c047fc48fa190a683e469daa699857e9afe8).
14
+
15
+ - The [compatibility evaluator](https://github.com/deepseek-ai/deepseek-harness/blob/1f81c047fc48fa190a683e469daa699857e9afe8/packages/boot/app-boot/src/plugin-compatibility.ts)
16
+ checks all DSH peers when `engines.dsh` is absent and includes prereleases.
17
+ A failed declaration check occurs before plugin execution; passing that check
18
+ alone does not establish API compatibility.
19
+ - Official [plugin practices](https://github.com/deepseek-ai/deepseek-harness/blob/1f81c047fc48fa190a683e469daa699857e9afe8/packages/preset/agent-preset/skills/cordis-plugin-development/references/practices.md)
20
+ recommend public extension points and owned UI/theme tokens rather than
21
+ importing Harness Client modules from ordinary JavaScript plugins. The current
22
+ plugin still imports UI primitives, including renderers used to preserve
23
+ search-text fidelity. This review does **not** claim to migrate that architecture
24
+ or to make those modules a stable SDK.
25
+ - The rc.2 and rc.3 source blobs for the used Markdown/tool renderers and
26
+ Modal/Button/Input/Checkbox/clipboard exports are unchanged. Dropping them
27
+ without an equivalent projection contract would break whole-history search,
28
+ so this compatibility fix preserves them and tests the exact host instead.
29
+ - Vendor pins in `scripts/compat/vendor-versions.json` come from each official
30
+ tag's `vendor/*/package.json`; no drifting newer host dependencies or host
31
+ source modifications are used for acceptance.
32
+
33
+ ### Complete source-tree comparison (rc.2 → rc.3)
34
+
35
+ Both recursive Git trees were complete (`truncated: false`); comparison used
36
+ individual blob SHAs rather than the limited GitHub compare response.
37
+
38
+ | Dependency surface | Observed source changes |
39
+ | --- | --- |
40
+ | session-controller | Package version and one comment in `sessions/service.ts` |
41
+ | ui-chat | Package version only |
42
+ | ui-conversation | More views menu, draft initialization, submit statistics; userText contract/registry/document/component unchanged |
43
+ | ui-primitives | Menu optional parameters, Tooltip positioning, new icons; the renderers/controls used here remain unchanged |
44
+
45
+ These observations reduce the expected regression surface but do not replace
46
+ browser acceptance. Menu/Tooltip placement and keyboard/resize behavior remain
47
+ explicitly unverified in this run.
48
+
49
+ ## Reproduction
50
+
51
+ ```sh
52
+ npm ci --ignore-scripts --legacy-peer-deps
53
+ npm run check
54
+ npm run verify:release
55
+ mkdir -p ../../TaskArtifacts/dsh-find-all/artifact
56
+ npm pack --ignore-scripts --pack-destination ../../TaskArtifacts/dsh-find-all/artifact
57
+ FIND_ALL_FULL_ACCEPTANCE=1 node scripts/compat/web-smoke.mjs 0.2.1-rc.3 \
58
+ ../../TaskArtifacts/dsh-find-all/artifact/ryuu-64-dsh-find-all-0.1.15.tgz ../../TaskArtifacts/dsh-find-all/0.2.1-rc.3
59
+ ```
60
+
61
+ The development dependency install flag is not used to bypass the host's plugin
62
+ gate. Runtime installation is strict and the CLI installs the candidate normally.
63
+ Use only synthetic sessions and isolated profiles, without model credentials.
64
+ `FIND_ALL_CHROMIUM_PATH` optionally selects an installed Chromium executable.
65
+ `FIND_ALL_REUSE_RUN` may point to the runner's own isolated acceptance directory
66
+ for diagnostic retries; every installed DSH/vendor version is still verified.
67
+ Only dependency installation is reused: each retry gets a fresh isolated home and workspace. This is recorded separately from a fresh dependency download.
68
+
69
+ ## Results on the dot cloud computer (2026-10-27)
70
+
71
+ - Baseline `npm run check`: 196 passed. Candidate: 198 passed, including exact
72
+ version/lock checks. `verify:release` passed. Production client SHA-256 remains
73
+ `a15289613f673c5586117d50e6d88c0ee797087fe5352011f98a74740a96e623`.
74
+ - Official `0.2.1-rc.3` installed with strict dependency checks. All installed
75
+ DSH and vendor versions were verified. The installed official evaluator rejects
76
+ original `0.1.14` on four peers, accepts this candidate without exemptions, and
77
+ rejects unknown `0.2.1-rc.4`.
78
+ - The same candidate installed through normal official `plugin add`. Its real
79
+ HTTP route rejects unauthenticated requests (401); earliest A user/B assistant
80
+ body queries each return one session, title query two, absent query zero. All
81
+ finish with zero failed/skipped sessions, exact snippet offsets, and working
82
+ cancellation. No optional SQLite full-text index was enabled.
83
+
84
+ ### Actual native-browser acceptance
85
+
86
+ The exact host ran in dot's native Terminal, with a runtime in the shared
87
+ workspace and a newly isolated HOME/XDG/DSH profile. The existing dot Chromium
88
+ opened the official fresh local-login URL. All sessions were synthetic; no
89
+ model account, real credentials, or external model calls were used.
90
+
91
+ Passed through actual UI actions and read-only DOM observations:
92
+
93
+ - A's loaded-content search finds 25 user and 25 assistant messages; whole-history
94
+ search finds 80 each and 160 combined while only 25 turns remain rendered.
95
+ - First-user A001 and independently first-assistant B001 navigation load earlier
96
+ real Chat rows. Genuine screenshots show exact orange query highlights, the
97
+ correct 001 text and 1/80 after settling. The browser's read-only inspection
98
+ wrapper does not expose `CSS.highlights`; screenshot/visible DOM evidence is
99
+ used here, not a claimed automated CSS Range assertion.
100
+ - Ctrl+F, rapid query replacement, Close, and A/B/A session switching produce
101
+ the current session's correct results without duplicate find bars.
102
+ - Cross-conversation body and title search, retained-query handoff, archive
103
+ exclusion by default, explicit Include archived, and Unarchive and open pass.
104
+ Merely displaying an archived result does not restore/open it.
105
+ - Modern file labels match twice while their undisplayed raw path matches zero.
106
+ Two default-masked synthetic secrets match; manually revealing the first
107
+ clears its old highlight while whole-history retains two default-mask results.
108
+ The second mask remains navigable. A revealed raw fragment matches zero in
109
+ whole-history and one in loaded-content mode; remounting restores masking.
110
+ - Two native plugin-manager disable/re-enable cycles remove/reinstall the search
111
+ entry (0 → 1) without a page refresh. Ctrl+F subsequently opens one working bar.
112
+ - Light and dark-theme find/highlight smoke checks pass; System theme is restored.
113
+
114
+ The captured warning/error review contained 269 entries, all attributed to the
115
+ browser extension's content script (`Error sending browser metadata to extension`).
116
+ No other source appeared in that review. This is not a claim of a completely
117
+ empty browser console or a fix to the extension.
118
+
119
+ ### Why the first attempt could not reach the browser
120
+
121
+ The command runner and native desktop do not share the same temporary directory
122
+ or localhost process environment. Launching a new Chromium subprocess inside the
123
+ command runner failed at Unix sockets; a normal escalation attempt failed during
124
+ environment initialization. The existing native browser could not reach the
125
+ runner-local server. These failures did not establish a plugin failure.
126
+
127
+ The previously successful supported method resolved the issue: put the exact
128
+ runtime in the shared workspace, launch only the already-authorized local DSH
129
+ host through native Terminal, and use the existing dot browser. No security
130
+ setting was changed, no denied file was accessed, and no blocked Chromium launch
131
+ or escalation was repeated. Do not reuse old authentication URLs or profiles.
132
+
133
+ ### Scope / evidence matrix
134
+
135
+ | Plugin / host | Version gate | This run's evidence |
136
+ | --- | --- | --- |
137
+ | Released 0.1.14 / DSH 0.2.1-rc.3 | Rejected on four peers | Official evaluator reproduced |
138
+ | 0.1.15 (same verified runtime code) / DSH 0.2.1-rc.3 Web on dot Linux | Accepted without exemption | 0.1.15 normal installation/HTTP passed; full native UI passed on the patched 0.1.14 candidate with equivalent search logic |
139
+ | Candidate / rc.2 and previous declared hosts | Exact declarations preserved | Not rerun; historical records remain separate |
140
+ | Candidate / unknown future releases | Rejected | rc.4 explicitly checked; no future compatibility claim |
141
+ | Packaged Electron / other operating systems | Not established here | Not tested by this Linux Web run |
142
+
143
+ A full responsive/resize/Tooltip matrix, third-party renderer combinations, and
144
+ all historical host versions remain unverified. The Playwright browser script
145
+ was updated from observed modern UI, but was not itself run end-to-end: the
146
+ browser acceptance above used supported native browser control.
147
+
148
+ The native acceptance was performed with the local patched 0.1.14 candidate;
149
+ 0.1.15 carries identical search logic and peer declarations, with embedded version values and release
150
+ metadata/documentation updated. A user still on 0.1.12 needs the complete modern
151
+ baseline in 0.1.15, not only a peer-range edit. No account/security settings are
152
+ changed by this compatibility fix.
153
+
154
+ Use `FIND_ALL_HTTP_ONLY=1` for the separately named HTTP layer. For the native
155
+ browser method, use `scripts/compat/native-host.sh` with an already prepared
156
+ exact runtime under the shared workspace, then open the fresh official local
157
+ URL in dot's existing browser. Local authentication output must never be included
158
+ in commits or evidence delivery.
@@ -1,48 +1,48 @@
1
- # dsh-find-bar
2
-
3
- DSH web 插件:为桌面 App(Electron 壳)补上 **⌘F / Ctrl+F 页内查找**,
4
- 体验对齐浏览器原生查找条——支持全文高亮、匹配计数、回车跳转。
5
-
6
- 搜索范围:当前页面渲染的全部文本——对话内容、侧边栏、设置页。
7
-
8
- ## 原理
9
-
10
- Electron 没有浏览器内置查找栏。本插件在客户端实现:
11
-
12
- - 监听 ⌘F/Ctrl+F(capture 阶段)弹出自绘查找条(跟随主题变量)
13
- - 用 TreeWalker 收集文本节点(含 shadow root 内),构建 DOM Range 匹配
14
- - 用 **CSS Custom Highlight API**(`CSS.highlights` + `::highlight()`)高亮——
15
- 只绘制不修改 DOM,与 React 渲染零冲突
16
- - 不支持该 API 的环境自动退回 `window.find()`
17
-
18
- ## 快捷键
19
-
20
- | 键 | 功能 |
21
- |---|---|
22
- | ⌘F / Ctrl+F | 打开查找条(自动填入当前选中文本) |
23
- | Enter / Shift+Enter | 下一个 / 上一个匹配 |
24
- | ⌘G / F3(+Shift) | 下一个 / 上一个 |
25
- | Esc | 关闭并清除高亮 |
26
-
27
- 输入即搜(防抖跟随内容流式更新),计数显示 `当前/总数`。
28
-
29
- ## 安装
30
-
31
- ```sh
32
- npm pack
33
- dsh plugin --profile desktop add ./dsh-find-bar-0.1.0.tgz
34
- ```
35
-
36
- 安装后重启一次应用(插件清单启动时装载)。
37
-
38
- ## 已知限制
39
-
40
- - 只搜索**已渲染**在 DOM 里的内容;未展开的会话/极长列表若被界面折叠,需先展开
41
- - 匹配上限 5000 条(超限显示 `+`)
42
- - 大小写不敏感,暂无"区分大小写"开关
43
-
44
- ## 卸载
45
-
46
- ```sh
47
- dsh plugin --profile desktop remove dsh-find-bar
48
- ```
1
+ # dsh-find-bar
2
+
3
+ DSH web 插件:为桌面 App(Electron 壳)补上 **⌘F / Ctrl+F 页内查找**,
4
+ 体验对齐浏览器原生查找条——支持全文高亮、匹配计数、回车跳转。
5
+
6
+ 搜索范围:当前页面渲染的全部文本——对话内容、侧边栏、设置页。
7
+
8
+ ## 原理
9
+
10
+ Electron 没有浏览器内置查找栏。本插件在客户端实现:
11
+
12
+ - 监听 ⌘F/Ctrl+F(capture 阶段)弹出自绘查找条(跟随主题变量)
13
+ - 用 TreeWalker 收集文本节点(含 shadow root 内),构建 DOM Range 匹配
14
+ - 用 **CSS Custom Highlight API**(`CSS.highlights` + `::highlight()`)高亮——
15
+ 只绘制不修改 DOM,与 React 渲染零冲突
16
+ - 不支持该 API 的环境自动退回 `window.find()`
17
+
18
+ ## 快捷键
19
+
20
+ | 键 | 功能 |
21
+ |---|---|
22
+ | ⌘F / Ctrl+F | 打开查找条(自动填入当前选中文本) |
23
+ | Enter / Shift+Enter | 下一个 / 上一个匹配 |
24
+ | ⌘G / F3(+Shift) | 下一个 / 上一个 |
25
+ | Esc | 关闭并清除高亮 |
26
+
27
+ 输入即搜(防抖跟随内容流式更新),计数显示 `当前/总数`。
28
+
29
+ ## 安装
30
+
31
+ ```sh
32
+ npm pack
33
+ dsh plugin --profile desktop add ./dsh-find-bar-0.1.0.tgz
34
+ ```
35
+
36
+ 安装后重启一次应用(插件清单启动时装载)。
37
+
38
+ ## 已知限制
39
+
40
+ - 只搜索**已渲染**在 DOM 里的内容;未展开的会话/极长列表若被界面折叠,需先展开
41
+ - 匹配上限 5000 条(超限显示 `+`)
42
+ - 大小写不敏感,暂无"区分大小写"开关
43
+
44
+ ## 卸载
45
+
46
+ ```sh
47
+ dsh plugin --profile desktop remove dsh-find-bar
48
+ ```