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

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.15
4
+
5
+ - Based on `0.1.14`, with unchanged search logic; the generated bundle only updates its embedded version metadata.
6
+ - Add exact DSH `0.2.1-rc.3` to all four existing peer requirements, retaining previous versions and excluding future releases. Search logic is unchanged; the generated bundle only updates its embedded version metadata.
7
+ - Verify 0.1.15 installation and HTTP on exact rc.3. Native dot Linux Web search/highlighting, history paging, archive/restore, masked projections, lifecycle, and light/dark theme smoke passed on the patched 0.1.14 candidate with equivalent search logic. All 198 checks and release-artifact checks pass. Electron/Tauri and other host versions were not rerun.
8
+ - Add declaration checks and a modern real-host acceptance harness; see `docs/rc3-compatibility.md` for actual results and unverified boundaries.
9
+
3
10
  ## 0.1.14
4
11
 
5
12
  - Fix modern whole-conversation user-text projection using official evaluator semantics and historical facts, with default secret masks and explicit partial coverage for unsupported content.
package/README.md CHANGED
@@ -14,7 +14,9 @@ DeepSeek Harness(DSH)的对话查找插件。搜索各工作区对话的标
14
14
  2. 输入 `@ryuu-64/dsh-find-all`,安装并启用。
15
15
  3. 重启 DSH(网页版需重启服务并刷新页面)。
16
16
 
17
- 如果装过 `dsh-find-bar`,请先卸载,避免快捷键冲突。现已支持官方 DSH `0.2.1-rc.2`,并保留此前声明的宿主版本;Web 与桌面端的实测范围见[兼容说明](docs/compatibility.md)。
17
+ 如果装过 `dsh-find-bar`,请先卸载,避免快捷键冲突。`0.1.15` 精确支持官方 DSH `0.2.1-rc.3`,并保留此前声明的宿主版本;Web 与桌面端的实测范围见[兼容说明](docs/compatibility.md)。
18
+
19
+ > `0.1.15` 在 `0.1.14` 基线上精确加入 `0.2.1-rc.3`,搜索逻辑不变;构建产物仅更新内置版本号。rc.3 实测范围为 dot Linux Web,不外推 Electron/Tauri。原因、实测与未测边界见 [rc.3 兼容审查](docs/rc3-compatibility.md)。
18
20
 
19
21
  ## 使用
20
22
 
@@ -1,6 +1,8 @@
1
+ > **0.1.15 / rc.3:** this version additionally admits exact `0.2.1-rc.3`; see [the separate native Web review and verification results](rc3-compatibility.md). Historical results below describe the rc.2 baseline and do not imply a new rc.3 Desktop pass.
2
+
1
3
  # Issue 35: modern user-text projection
2
4
 
3
- The package now admits official DSH `0.2.1-rc.2` through all four existing DSH peer ranges. Every previously listed release remains admitted; other `0.2.1` prereleases and future versions are not added. Normal installation needs no exact-version exemption. The current release's Web verification and the reported packaged Windows Desktop acceptance are recorded below.
5
+ The package now admits official DSH `0.2.1-rc.2` through all four existing DSH peer ranges. Every previously listed release remains admitted; that released baseline did not add other `0.2.1` prereleases or future versions. Version 0.1.15 adds only exact rc.3 as noted above. Normal installation needs no exact-version exemption. The rc.2 baseline's Web verification and the reported packaged Windows Desktop acceptance are recorded below.
4
6
 
5
7
  The current-conversation whole-session path uses the retained Session's public `uiConversation.userText.createEvaluator()` when the legacy `ui.projectUserText` API is absent. It supplies the historical message's batch-derived session labels and skill names, not the current composer's facts. Official text/display, session/file/folder labels, command/skill names and default secret masks are projected without mounting hidden Chat rows. Unknown or malformed nodes, evaluator/renderer failures, missing capabilities and non-text user attachments produce explicit partial coverage. One failed source does not discard independent usable sources or fall back to its stored raw input.
6
8
 
@@ -0,0 +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.
package/lib/client.js CHANGED
@@ -7899,7 +7899,7 @@ async function copyDiagnostics() {
7899
7899
  feedback.textContent = L2.copyingDiagnostics;
7900
7900
  var copied = false;
7901
7901
  try {
7902
- var summary = { schemaVersion: 1, pluginVersion: "0.1.14", current: diagnosticState(), lastFailure: state.lastFailure };
7902
+ var summary = { schemaVersion: 1, pluginVersion: "0.1.15", current: diagnosticState(), lastFailure: state.lastFailure };
7903
7903
  copied = typeof state.writeClipboard === "function" && await state.writeClipboard(JSON.stringify(summary, null, 2)) === true;
7904
7904
  } catch (error) {
7905
7905
  }
@@ -8330,7 +8330,7 @@ async function checkForUpdates() {
8330
8330
  state.updateResult = null;
8331
8331
  renderUpdateCheck();
8332
8332
  try {
8333
- var result2 = await checkLatestVersion("0.1.14", task.signal);
8333
+ var result2 = await checkLatestVersion("0.1.15", task.signal);
8334
8334
  if (state.mounted && state.updateTask === task) state.updateResult = result2;
8335
8335
  } catch (error) {
8336
8336
  if (state.mounted && state.updateTask === task) state.updateResult = { status: "failed" };
@@ -9280,7 +9280,7 @@ function buildBar() {
9280
9280
  updateCommand.className = "history-command update-command";
9281
9281
  var currentVersion = document.createElement("p");
9282
9282
  currentVersion.className = "update-version";
9283
- currentVersion.textContent = L2.currentVersion + " 0.1.14";
9283
+ currentVersion.textContent = L2.currentVersion + " 0.1.15";
9284
9284
  var updateBtn = document.createElement("button");
9285
9285
  updateBtn.type = "button";
9286
9286
  updateBtn.className = "check-update";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuu-64/dsh-find-all",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Find saved conversation text across DeepSeek Harness (DSH), with Ctrl+F / Cmd+F inside a conversation.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -18,7 +18,8 @@
18
18
  "NOTICE.md",
19
19
  "docs/compatibility.md",
20
20
  "docs/issue35-testing.md",
21
- "LICENSE"
21
+ "LICENSE",
22
+ "docs/rc3-compatibility.md"
22
23
  ],
23
24
  "author": "Ryuu-64",
24
25
  "contributors": [
@@ -37,10 +38,10 @@
37
38
  "registry": "https://registry.npmjs.org/"
38
39
  },
39
40
  "peerDependencies": {
40
- "@deepseek-ai/dsh-api-session-controller": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.2",
41
- "@deepseek-ai/dsh-client-ui-chat": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.2",
42
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.2",
43
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.2"
41
+ "@deepseek-ai/dsh-api-session-controller": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.3",
42
+ "@deepseek-ai/dsh-client-ui-chat": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.3",
43
+ "@deepseek-ai/dsh-client-ui-conversation": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.3",
44
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.3"
44
45
  },
45
46
  "scripts": {
46
47
  "test": "node --test \"test/**/*.test.mjs\"",