@gongfpp/dsh-novel-fish 1.1.0 → 1.2.0
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 +21 -0
- package/README.md +41 -20
- package/docs/evidence/settings-reliability.png +0 -0
- package/index.json +12 -0
- package/lib/client.js +734 -128
- package/locale/en.json +15 -0
- package/locale/zh.json +15 -0
- package/package.json +5 -7
- package/screenshots.json +6 -0
- package/docs/acceptance.md +0 -42
- package/docs/community-markets.md +0 -88
- package/docs/compatibility-017.md +0 -70
- package/docs/compatibility-101.md +0 -41
- package/docs/continuous-reading-020.md +0 -46
- package/docs/ebook-tests.md +0 -99
- package/docs/evidence/abc-result.json +0 -9
- package/docs/evidence/banner-100.png +0 -0
- package/docs/evidence/community-market-014-result.json +0 -170
- package/docs/evidence/compatibility-017-result.json +0 -65
- package/docs/evidence/continuous-reading-020-result.json +0 -72
- package/docs/evidence/formats-result.json +0 -12
- package/docs/evidence/live-ab.png +0 -0
- package/docs/evidence/live-collapsed.png +0 -0
- package/docs/evidence/live-disabled.png +0 -0
- package/docs/evidence/live-epub.png +0 -0
- package/docs/evidence/live-market.png +0 -0
- package/docs/evidence/live-resume.png +0 -0
- package/docs/evidence/live-unloaded.png +0 -0
- package/docs/evidence/long-result.json +0 -11
- package/docs/evidence/multi-region-014-result.json +0 -47
- package/docs/evidence/native-disclosure-013-result.json +0 -36
- package/docs/evidence/native-disclosures-013.png +0 -0
- package/docs/evidence/native-open-013.png +0 -0
- package/docs/evidence/native-settings-sample.md +0 -11
- package/docs/evidence/native-settings-types-015.png +0 -0
- package/docs/evidence/npm-market-014-result.json +0 -132
- package/docs/evidence/plugin-settings-details.png +0 -0
- package/docs/evidence/public-release-014-result.json +0 -51
- package/docs/evidence/public-release-015-result.json +0 -36
- package/docs/evidence/public-release-result.json +0 -48
- package/docs/evidence/reading-demo-100.png +0 -0
- package/docs/evidence/reading-two-expansions-110.gif +0 -0
- package/docs/evidence/reading-two-expansions-110.json +0 -89
- package/docs/evidence/samples-110-capture.json +0 -49
- package/docs/evidence/settings-011-result.json +0 -28
- package/docs/evidence/settings-011.png +0 -0
- package/docs/evidence/settings-100.png +0 -0
- package/docs/evidence/settings-110.png +0 -0
- package/docs/evidence/settings-chat-011.png +0 -0
- package/docs/evidence/type-append-012-result.json +0 -30
- package/docs/evidence/type-append-012.png +0 -0
- package/docs/evidence/type-settings-012.png +0 -0
- package/docs/evidence/unload-result.json +0 -7
- package/docs/host-adapter.md +0 -43
- package/docs/icon-metadata-021.md +0 -40
- package/docs/interaction-paths-020.md +0 -39
- package/docs/marketplace.md +0 -42
- package/docs/multi-region-update.md +0 -53
- package/docs/native-disclosure-update.md +0 -39
- package/docs/native-settings-update.md +0 -48
- package/docs/plugin-settings-update.md +0 -61
- package/docs/release.md +0 -151
- package/docs/settings-update.md +0 -49
- package/docs/type-append-update.md +0 -50
- package/pnpm-workspace.yaml +0 -5
- package/scripts/build.mjs +0 -70
- package/scripts/check-host-contracts.mjs +0 -247
- package/scripts/licenses/path-webpack.txt +0 -28
- package/scripts/make-readme-gif.mjs +0 -69
- package/scripts/test-browser-samples.mjs +0 -665
- package/scripts/test-candidate-books.mjs +0 -71
- package/scripts/test-ebook-corpus.mjs +0 -161
- package/src/bundled-books.js +0 -42
- package/src/chat-adapter.js +0 -278
- package/src/client.js +0 -61
- package/src/epub.js +0 -166
- package/src/novel-content.js +0 -28
- package/src/persistence.js +0 -271
- package/src/pg-notice.js +0 -19
- package/src/segments.js +0 -185
- package/src/settings.js +0 -243
- package/src/store.js +0 -429
- package/src/text-decoding.js +0 -28
- package/test/bundled-library.test.js +0 -526
- package/test/chat-adapter.test.js +0 -518
- package/test/client.test.js +0 -124
- package/test/ebooks.test.js +0 -192
- package/test/epub.test.js +0 -185
- package/test/helpers/host-primitives.js +0 -28
- package/test/helpers/memory-storage.js +0 -48
- package/test/host-contracts.test.js +0 -32
- package/test/import.test.js +0 -102
- package/test/persistence.test.js +0 -27
- package/test/pg-notice.test.js +0 -109
- package/test/release.test.js +0 -87
- package/test/segments.test.js +0 -182
- package/test/settings.test.js +0 -312
- package/test/store.test.js +0 -617
- package/test/text-decoding.test.js +0 -49
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "0.1.5",
|
|
3
|
-
"publishedAt": "2026-10-29T14:06:33Z",
|
|
4
|
-
"release": "https://github.com/gongfpp/dsh-novel-fish/releases/tag/v0.1.5",
|
|
5
|
-
"sourceCommit": "61a0e62d7caa06f3101b450277f3ef530e1561f8",
|
|
6
|
-
"sourcePr": "https://github.com/gongfpp/dsh-novel-fish/pull/1",
|
|
7
|
-
"sourcePrMerged": true,
|
|
8
|
-
"ci": { "prRun": 40887341400, "mainRun": 40887491392, "conclusion": "success" },
|
|
9
|
-
"tests": { "passed": 100, "failed": 0, "skipped": 0 },
|
|
10
|
-
"bundleSha256": "6d738419476fac97a0ae912cae38a12e8eb3789168f4baa31ed948273736aa44",
|
|
11
|
-
"archives": [
|
|
12
|
-
{ "name": "gongfpp-dsh-novel-fish-0.1.5.tgz", "entries": 74, "httpStatus": 200, "sha256": "a6b52477815f6c1e5d5aa453cbf6366eda3438aa69d6001aea97701ab53e2392" },
|
|
13
|
-
{ "name": "dsh-novel-fish-source-0.1.5.zip", "entries": 90, "httpStatus": 200, "sha256": "3819e37020c4fa0cbe02e01512b1a007efc86939000764056281c9f9fa6f0deb" },
|
|
14
|
-
{ "name": "SHA256SUMS.txt", "httpStatus": 200, "sha256": "b08f88dee286bba3823d477f320d4020b8df088437a543eb55210f23c23691ac" }
|
|
15
|
-
],
|
|
16
|
-
"anonymousDownloadsMatchLocal": true,
|
|
17
|
-
"unsafeArchivePaths": false,
|
|
18
|
-
"isolatedInstallations": [
|
|
19
|
-
{ "requested": "github:gongfpp/dsh-novel-fish#v0.1.5", "installedVersion": "0.1.5", "exitCode": 0 },
|
|
20
|
-
{ "requested": "downloaded release tarball", "installedVersion": "0.1.5", "exitCode": 0 },
|
|
21
|
-
{ "requested": "github:gongfpp/dsh-novel-fish#61a0e62d7caa06f3101b450277f3ef530e1561f8", "installedVersion": "0.1.5", "exitCode": 0 }
|
|
22
|
-
],
|
|
23
|
-
"npmLatestObserved": "0.1.4",
|
|
24
|
-
"npm015Published": false,
|
|
25
|
-
"marketUpdates": {
|
|
26
|
-
"awesome": "https://github.com/awesome-dsh-plugin/awesome-dsh-plugin/pull/10407",
|
|
27
|
-
"awesomeObservedState": "OPEN",
|
|
28
|
-
"dshopenReviewRequest": "https://github.com/polang233/dsh-plugin-index/issues/101#issuecomment-6498960335",
|
|
29
|
-
"workshopExistingPrUpdate": "https://github.com/zhu1090093659/dsh-community-plugins/pull/60#issuecomment-6498962198",
|
|
30
|
-
"thirdParty015IndexRefreshClaimed": false
|
|
31
|
-
},
|
|
32
|
-
"realUiVerified": ["native settings layout", "native menu items", "select all changes 1/5 to 5/5", "custom title input", "native import button opens system file picker"],
|
|
33
|
-
"notReverified": ["complete import and book-switch GUI flow", "delete modal GUI flow", "trusted chat A/B/C", "keyboard and hover"],
|
|
34
|
-
"dshRestart": { "service": "gui/501/com.user.dsh-web", "port": 3080, "beforePid": 72959, "afterPid": 71224, "status": "running", "anonymousHttpStatus": 401, "authenticationRequired": true, "postRestartGui": "real plugin detail shows 0.1.5 and native settings", "dailyProfileStillLinksProject": true },
|
|
35
|
-
"onlyDeclaredDshVersion": "0.2.1-rc.2"
|
|
36
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"repository": "https://github.com/gongfpp/dsh-novel-fish",
|
|
3
|
-
"visibility": "public",
|
|
4
|
-
"tag": "v0.1.0",
|
|
5
|
-
"sourceCommit": "cf9c931866b1d557ce9e63497c4aaa2ddc9f3bbe",
|
|
6
|
-
"package": "@gongfpp/dsh-novel-fish",
|
|
7
|
-
"version": "0.1.0",
|
|
8
|
-
"testedDsh": "0.2.1-rc.2",
|
|
9
|
-
"tests": { "passed": 37, "failed": 0, "skipped": 0 },
|
|
10
|
-
"githubActions": "https://github.com/gongfpp/dsh-novel-fish/actions/runs/39770634304",
|
|
11
|
-
"isolatedProfileInstalls": {
|
|
12
|
-
"githubTag": "success",
|
|
13
|
-
"marketCommitPinnedSpec": "success",
|
|
14
|
-
"downloadedReleaseTarball": "success"
|
|
15
|
-
},
|
|
16
|
-
"market": {
|
|
17
|
-
"kind": "publisher-maintained custom index, not official listing",
|
|
18
|
-
"url": "https://raw.githubusercontent.com/gongfpp/dsh-novel-fish/main/index.json",
|
|
19
|
-
"anonymousHttpStatus": 200,
|
|
20
|
-
"officialParserVersion": "0.2.1-rc.2",
|
|
21
|
-
"format": 1,
|
|
22
|
-
"installSpec": "git+https://github.com/gongfpp/dsh-novel-fish.git#cf9c931866b1d557ce9e63497c4aaa2ddc9f3bbe",
|
|
23
|
-
"iconHttpStatus": 200,
|
|
24
|
-
"realDshDiscover": {
|
|
25
|
-
"sourceAddedThroughUi": true,
|
|
26
|
-
"entryVisible": true,
|
|
27
|
-
"installButtonEnabled": true,
|
|
28
|
-
"browserErrors": [],
|
|
29
|
-
"screenshot": "live-market.png",
|
|
30
|
-
"dailyProfilePluginInstallationChanged": false
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"anonymousDownloads": [
|
|
34
|
-
{
|
|
35
|
-
"name": "gongfpp-dsh-novel-fish-0.1.0.tgz",
|
|
36
|
-
"httpStatus": 200,
|
|
37
|
-
"bytes": 717841,
|
|
38
|
-
"sha256": "bcafb2aadb9b1b1233c3392886559d47ba1c4a32cf6d19d23b1ab3a687527651"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "dsh-novel-fish-source-0.1.0.zip",
|
|
42
|
-
"httpStatus": 200,
|
|
43
|
-
"bytes": 740396,
|
|
44
|
-
"sha256": "65822f4b5d8023b4b49257852d2a1cb06af3163f3db76bde7ff6a2a5d464acb7"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"scope": "Public identity, artifact distribution, official index parsing and isolated profile installation. Original live reading evidence remains separately documented; no new model requests were made for publication."
|
|
48
|
-
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"capturedOn": "2026-11-07",
|
|
3
|
-
"host": "DSH Web 0.2.2-alpha.2",
|
|
4
|
-
"source": "Actual running DSH GUI, native Cua window captures; not a mock Host.",
|
|
5
|
-
"method": "Paced native before/after window frames; not continuous desktop video. No interpolated or fabricated UI frames.",
|
|
6
|
-
"interaction": "Expand first thought, scroll, collapse; expand a different thought, scroll, collapse. No model messages sent.",
|
|
7
|
-
"book": "Existing user-imported AQ TXT, 98 segments, intentionally preserved by migration. New bundled AQ MD is independently tested.",
|
|
8
|
-
"crop": {
|
|
9
|
-
"x": 0,
|
|
10
|
-
"y": 94,
|
|
11
|
-
"width": 1567,
|
|
12
|
-
"height": 856
|
|
13
|
-
},
|
|
14
|
-
"redaction": {
|
|
15
|
-
"x": 0,
|
|
16
|
-
"y": 541,
|
|
17
|
-
"width": 298,
|
|
18
|
-
"height": 442,
|
|
19
|
-
"scope": "Original capture pixels; opaque mask over unrelated sidebar sessions, quota and account."
|
|
20
|
-
},
|
|
21
|
-
"unchanged": "No rewriting of the reasoning, novel, plugin controls, logo or current project/session.",
|
|
22
|
-
"frames": [
|
|
23
|
-
{
|
|
24
|
-
"capture": 41,
|
|
25
|
-
"sha256": "73dbb60ea1f139861fd4edcf75881a9cd48ba6772c8284ed912d3f2b2c065883",
|
|
26
|
-
"seconds": 2,
|
|
27
|
-
"action": "Both thoughts collapsed"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"capture": 43,
|
|
31
|
-
"sha256": "089061ed97671b1ea878c2f5be02ea276153cb24448bd6e6faf6dea20306f9a1",
|
|
32
|
-
"seconds": 1.2,
|
|
33
|
-
"action": "First thought expanded; original reasoning precedes novel"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"capture": 45,
|
|
37
|
-
"sha256": "550bbc7ad38079785593ce7b68d127859d85858d9c4bc6da134db107ca6f6e6d",
|
|
38
|
-
"seconds": 0.7,
|
|
39
|
-
"action": "Scroll within the actual conversation"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"capture": 47,
|
|
43
|
-
"sha256": "c8bcc23585f16a4ac5f482fdf079f42d295f42da0a845482c98e06dad9df1b97",
|
|
44
|
-
"seconds": 0.5,
|
|
45
|
-
"action": "Adjust viewport without altering content"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"capture": 49,
|
|
49
|
-
"sha256": "43ff4301a7b82aa110a38534e16f8a9924c0b3f27a5b2af503346996ddce80e4",
|
|
50
|
-
"seconds": 5,
|
|
51
|
-
"action": "First thought and first novel passage readable"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"capture": 51,
|
|
55
|
-
"sha256": "36ae148b1b1f12e66152ae632f1be191c66635e419ebccab363553a1af3ab7e0",
|
|
56
|
-
"seconds": 1.5,
|
|
57
|
-
"action": "First thought collapsed"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"capture": 53,
|
|
61
|
-
"sha256": "6d68383df298dbbefdd2cad08ed79cf3a847bce00fb2fabe776a0737c753b50d",
|
|
62
|
-
"seconds": 2,
|
|
63
|
-
"action": "Second distinct thought expanded; next novel passage"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"capture": 55,
|
|
67
|
-
"sha256": "a8b0381936a164951e5469d43ebb47e2327b1e9f1483bd0a932d9f41fbf228fd",
|
|
68
|
-
"seconds": 5,
|
|
69
|
-
"action": "Scroll to read the second passage"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"capture": 59,
|
|
73
|
-
"sha256": "d0b1387a3a43b260ae51a313aa4fbc23ed0de79b6eb978e7e96320ee82f01f7e",
|
|
74
|
-
"seconds": 2,
|
|
75
|
-
"action": "Second thought collapsed"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"output": {
|
|
79
|
-
"file": "docs/evidence/reading-two-expansions-110.gif",
|
|
80
|
-
"bytes": 1304583,
|
|
81
|
-
"sha256": "6950fd061b3c4c1c3252d9afcc79d7c842b6626f5c744a3a0d70304c9e284b41",
|
|
82
|
-
"width": 1567,
|
|
83
|
-
"height": 856
|
|
84
|
-
},
|
|
85
|
-
"testedBundle": {
|
|
86
|
-
"bytes": 1380122,
|
|
87
|
-
"sha256": "48678d32b97fcac1d321c36fe833fd32dd2311f695a7c0083eb70a1c2015775b"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"date": "2026-11-06",
|
|
3
|
-
"host": "DSH Web 0.2.2-alpha.2",
|
|
4
|
-
"plugin": "1.1.0 local candidate",
|
|
5
|
-
"origin": "http://127.0.0.1:3080",
|
|
6
|
-
"method": "Native Cua screenshot of existing logged-in Chrome window after user granted a brief exclusive operation window; rectangular crops only, no text editing/compositing.",
|
|
7
|
-
"scope": "Actual AQ sample import and reasoning-row reading. No model messages. Other books and geometry have separate isolated-browser evidence.",
|
|
8
|
-
"privacy": "Only cropped plugin/main content published. Raw window captures remain temporary local files and are not packaged.",
|
|
9
|
-
"images": [
|
|
10
|
-
{
|
|
11
|
-
"file": "settings-110.png",
|
|
12
|
-
"rawWindowSize": [
|
|
13
|
-
1567,
|
|
14
|
-
983
|
|
15
|
-
],
|
|
16
|
-
"rawSha256": "3175166a12cc9482d400dc68799f200ab0807a12aa36b79eea62bc91fc84211e",
|
|
17
|
-
"cropLeftTopRightBottom": [
|
|
18
|
-
403,
|
|
19
|
-
111,
|
|
20
|
-
1455,
|
|
21
|
-
916
|
|
22
|
-
],
|
|
23
|
-
"size": [
|
|
24
|
-
1052,
|
|
25
|
-
805
|
|
26
|
-
],
|
|
27
|
-
"sha256": "996968d3933a7e788f2d4d9fc2030b3c7c37d64e7667ccf918871c4f0d633a08"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"file": "reading-demo-110.png",
|
|
31
|
-
"rawWindowSize": [
|
|
32
|
-
1567,
|
|
33
|
-
983
|
|
34
|
-
],
|
|
35
|
-
"rawSha256": "d67d25f978918f78c2d452d983f8d94e2ae7324ab9506e8233ad07fabae25ed4",
|
|
36
|
-
"cropLeftTopRightBottom": [
|
|
37
|
-
470,
|
|
38
|
-
477,
|
|
39
|
-
1401,
|
|
40
|
-
835
|
|
41
|
-
],
|
|
42
|
-
"size": [
|
|
43
|
-
931,
|
|
44
|
-
358
|
|
45
|
-
],
|
|
46
|
-
"sha256": "d5590a67b14926e437e0ee2046d02b075b42d9fd4b55c99fb414e7c494cd513c"
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"date": "2026-10-23",
|
|
3
|
-
"stage": "verified",
|
|
4
|
-
"version": "0.1.1",
|
|
5
|
-
"runtime": "DSH Web 0.2.1-rc.2",
|
|
6
|
-
"browser": "155.0.8059.85",
|
|
7
|
-
"testMode": "fresh Chrome context; local bundle response override; module id aliased to the installed local package; no installed files or daily browser storage changed",
|
|
8
|
-
"isolatedPackageInstallation": {
|
|
9
|
-
"profile": "settings-check",
|
|
10
|
-
"package": "@gongfpp/dsh-novel-fish",
|
|
11
|
-
"version": "0.1.1",
|
|
12
|
-
"succeeded": true,
|
|
13
|
-
"dailyProfileChanged": false
|
|
14
|
-
},
|
|
15
|
-
"errors": [],
|
|
16
|
-
"selects": 5,
|
|
17
|
-
"targetListed": true,
|
|
18
|
-
"targetSelectedWithoutClosingSettings": true,
|
|
19
|
-
"initialProgress": "已读 0 / 6 段(0%)· 自动记忆进度",
|
|
20
|
-
"afterRepeat": "已读 1 / 6 段(16%)· 自动记忆进度",
|
|
21
|
-
"afterRefresh": "已读 1 / 6 段(16%)· 自动记忆进度",
|
|
22
|
-
"repeatedTextUnchanged": true,
|
|
23
|
-
"typedTitle": "连续输入ABCD",
|
|
24
|
-
"screenshots": [
|
|
25
|
-
"settings-011.png",
|
|
26
|
-
"settings-chat-011.png"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "0.1.2",
|
|
3
|
-
"host": "DSH Web 0.2.1-rc.2",
|
|
4
|
-
"browser": "156.0.8078.4",
|
|
5
|
-
"isolatedBrowserContext": true,
|
|
6
|
-
"installedPackage": true,
|
|
7
|
-
"responseSubstitution": false,
|
|
8
|
-
"checks": [
|
|
9
|
-
"Settings select reasoning TYPE only; no exact-step list, paste entry or persistent targets",
|
|
10
|
-
"Existing real historical thoughts are decorated across the selected type; history load consumes zero; tools untouched",
|
|
11
|
-
"Synthetic automatic opening retains original thought but consumes zero passages",
|
|
12
|
-
"A appends first passage AFTER unchanged real thought; collapse/remount/reopen reuses A with progress 1/4",
|
|
13
|
-
"First trusted opening of B reads second passage; original thought remains above it",
|
|
14
|
-
"Refresh/history restoration consumes zero; next explicit open reads saved progress C, not permanent A mapping",
|
|
15
|
-
"Disabling reading removes custom labels and append blocks, preserves original thought and progress"
|
|
16
|
-
],
|
|
17
|
-
"errors": [],
|
|
18
|
-
"screenshot": {
|
|
19
|
-
"passageIndex": 2,
|
|
20
|
-
"originalThoughtCharacters": 72,
|
|
21
|
-
"personalPathsIncluded": false
|
|
22
|
-
},
|
|
23
|
-
"readingNetwork": {
|
|
24
|
-
"nonGetRequests": [],
|
|
25
|
-
"websocketFramesSent": 0
|
|
26
|
-
},
|
|
27
|
-
"originalThoughtCharacters": 491,
|
|
28
|
-
"passageCharacters": 299,
|
|
29
|
-
"finalProgress": "3/4"
|
|
30
|
-
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"checks": [
|
|
3
|
-
"whole bundle disabled: client removed from boot entries; original thought and disclosure operate normally; no decorations remain",
|
|
4
|
-
"legacy bundle enablement restored; new bundle left installed but disabled to avoid conflict"
|
|
5
|
-
],
|
|
6
|
-
"errors": []
|
|
7
|
-
}
|
package/docs/host-adapter.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# 宿主接入依据
|
|
2
|
-
|
|
3
|
-
最初接入基于 DSH Web `0.2.1-rc.2`,发布构建 `332895e`。0.1.7 候选版扩展至 `0.2.2-alpha.2`,兼容范围和新增验证记录见 [0.1.7 兼容说明](compatibility-017.md)。下文行号为最初接入构建的定位记录,不代表所有版本相同行号。插件不修改安装目录、不新增服务器。
|
|
4
|
-
|
|
5
|
-
## 正文接口不等于标题接口
|
|
6
|
-
|
|
7
|
-
安装包 `@deepseek-ai/dsh-client-ui-chat/lib/types/client/contract/slots.d.ts` 的 `ReasoningBodyOwnerProps` 仅提供 `text`、`running`;`conversation.chat.reasoning.body` 是展开后的正文插槽,不能更改标题和图标,也没有主动点击通知或稳定步骤身份。
|
|
8
|
-
|
|
9
|
-
同包 `lib/client.js` 的 `ReasoningRow`(当前安装构建行 6164–6215)直接将原生 Think 图标和 `t('message.think')` 传入 `DisclosureRow`,没有标题/图标扩展插槽。公开 `./client` 导出不包含 `ReasoningRow`。仅替换正文不能满足标题定制。
|
|
10
|
-
|
|
11
|
-
曾验证 `conversation.chat.node` 的 `assistant-step` 替换路径;重新声明原生两个子插槽会被实际宿主拒绝:`slot "conversation.chat.reasoning.body" is already declared`。重新实现整个 assistant 渲染器会扩大影响面,因此不采用。
|
|
12
|
-
|
|
13
|
-
## 最小本地适配(0.1.4)
|
|
14
|
-
|
|
15
|
-
唯一宿主适配文件是 [chat-adapter.js](../src/chat-adapter.js)。思考正文使用官方 body 插槽,原始 `text` 和 `running` 始终委托 `conversation.chat.reasoning.content` Factory。小说不再送入 Markdown Factory,而由 [novel-content.js](../src/novel-content.js) 提供统一纯文本模型、宿主字体/颜色 token 和分隔线样式。React 文本节点或 `textContent` 保证小说不会变成公式、HTML、链接或控件。
|
|
16
|
-
|
|
17
|
-
### 定位与缓存身份
|
|
18
|
-
|
|
19
|
-
设置只保存 `targetTypes` 类型数组,不保存具体会话/步骤位置:
|
|
20
|
-
|
|
21
|
-
- 思考:`[data-chat-flow-kind="assistant-step"] [data-variant="think"]`。
|
|
22
|
-
- 工具:`[data-chat-call-id] [data-tool]`;当前专用命令行另有 `[data-sample="bash"]`。
|
|
23
|
-
- `read` / `read_image` 分到打开文件,`grep` / `glob` 分到文件搜索,`data-variant="bash"` 分到运行命令,其余是工具调用,不重复分类。
|
|
24
|
-
|
|
25
|
-
工具依据来自当前 `@deepseek-ai/dsh-client-ui-tool/lib/client.js`:`ToolRow` 根节点带 `data-tool` / `data-variant`(安装构建行 1829–1851),`ToolNode` 提供 `data-chat-call-id`(行 1963),专用命令行带 `data-sample="bash"`(行 2522–2523)。这不是由显示标题猜测工具类型。
|
|
26
|
-
|
|
27
|
-
最近的 `[data-conversation-session]`、`[data-chat-node-key]`、类型和原生思考序号/工具 callId 组成页面内临时键,不持久化、不永久绑定小说。相同 callId 的原生节点重挂载不主动读书。没有身份或可展开控件时保留原文、不生成伪控件。
|
|
28
|
-
|
|
29
|
-
### 保留原生内容和交互
|
|
30
|
-
|
|
31
|
-
只改原生标题、已有补充文字及其 shimmer 层中的文字。图标、箭头、按钮、布局和事件处理不替换;没有原生补充位置时不另建一行。停用后恢复仍由插件持有的文字。
|
|
32
|
-
|
|
33
|
-
思考原文之后追加横线、章节和一段纯文本。工具没有公开的正文末尾 slot,因此只在已定位的原生工具卡片末尾添加自有节点,不替换工具 renderer,不修改原工具输入输出、文件链接、复制控件或内容节点。关闭、收起及卸载时移除自有工具节点。
|
|
34
|
-
|
|
35
|
-
只监听可信 `click` 或 Enter/空格意图,不拦截、不取消、不重新派发宿主事件。区分整行切换与仅左侧按钮切换,忽略嵌套控件、按键重复和已展开状态。捕获时必须为 `aria-expanded="false"`,下一帧还必须是同一控件实际变为 `true`;书籍、类型、启用状态、意图身份和代次都要有效,才调用 `claimPassage(key, actualType)`。开启同区域续读后,同一区域的可信重开改为调用 `continuePassage(key, actualType)`,覆盖该区域最后一页,其余门控完全相同。
|
|
36
|
-
|
|
37
|
-
设置取消即撤销待执行帧/微任务;关闭后重开、取消类型后重选、切书后切回不能复活旧意图。DOM 观察、正文挂载和流式更新只同步显示,不读书。
|
|
38
|
-
|
|
39
|
-
## 限制与证据
|
|
40
|
-
|
|
41
|
-
这些 DOM 标记不是宿主承诺稳定的公开扩展协议,安装范围只覆盖已检查的版本上界,不自动承诺未来宿主。原生过程分组、系统/上下文卡片不是本轮目标。隐藏在过程分组内的行需先展开分组;没有原生内容或折叠控件的卡片不提供阅读区。
|
|
42
|
-
|
|
43
|
-
本轮自动化与真实 GUI 限制见 [0.1.4 验证记录](multi-region-update.md)。未完成的可信点击、键盘、悬停和新版真实 A/B/C 需要补验;历史截图不作为新候选版的运行证明。
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# 0.2.1 图标元信息修正
|
|
2
|
-
|
|
3
|
-
## 现象
|
|
4
|
-
|
|
5
|
-
安装 0.2.0 后,插件管理页的「包含的组件」卡片显示:
|
|
6
|
-
|
|
7
|
-
```text
|
|
8
|
-
包元信息错误: Plugin metadata for @gongfpp/dsh-novel-fish: Error: ENOENT: no such file or directory, lstat
|
|
9
|
-
'/Users/mass/.dsh/profiles/web/node_modules/@gongfpp/dsh-novel-fish/assets/icon.svg'
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
同时卡片图标回退为默认占位图,插件仍正常运行。
|
|
13
|
-
|
|
14
|
-
## 宿主如何读取插件图标
|
|
15
|
-
|
|
16
|
-
宿主 `dsh-app-boot` 的插件元信息读取函数(本机安装路径 `node_modules/@deepseek-ai/dsh/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js`,约 2164–2332 行)规则如下:
|
|
17
|
-
|
|
18
|
-
- 包清单 `package.json` 的 `icon` 字段优先于 `<specifier>/icon` 导出资源。
|
|
19
|
-
- `icon` 必须是包内相对路径,且不能逃出清单所在目录;绝对路径或带 scheme 的值直接报错。
|
|
20
|
-
- 允许的媒体类型只有 SVG、PNG、JPEG、WebP。
|
|
21
|
-
- 原始图标字节数上限 `MAX_ICON_BYTES = 256 KiB`,超限报 `icon exceeds 256 KiB`。
|
|
22
|
-
- 客户端只渲染宿主返回的 `meta.icon`(base64 data URL),不自行解析文件路径。
|
|
23
|
-
|
|
24
|
-
## 0.2.0 的问题
|
|
25
|
-
|
|
26
|
-
- `assets/icon.png` 为 512×512 RGBA PNG,380984 字节(约 372 KiB),超过 256 KiB 上限。
|
|
27
|
-
- `package.json` 只有 `exports["./icon"] = "./assets/icon.png"`,没有显式 `icon` 字段;旧版 0.1.8 的 `./icon` 曾指向 `./assets/icon.svg`。
|
|
28
|
-
- 报错里的 `assets/icon.svg` 来自运行中宿主此前缓存的元信息路径,而 0.2.0 安装目录里已没有该文件,于是按需读取时报 `ENOENT`。
|
|
29
|
-
|
|
30
|
-
## 0.2.1 的修正
|
|
31
|
-
|
|
32
|
-
- 图标重采样为 512×512 调色板 PNG,保留透明圆角,62056 字节。
|
|
33
|
-
- `package.json` 增加 `"icon": "./assets/icon.png"`,不再依赖导出资源的解析结果。
|
|
34
|
-
- `files` 与索引 `icon` 仍指向 `assets/icon.png`;`lib/client.js`、阅读行为和宿主兼容范围与 0.2.0 相同。
|
|
35
|
-
|
|
36
|
-
## 验证
|
|
37
|
-
|
|
38
|
-
- `pnpm verify`:测试与发布契约全部通过。
|
|
39
|
-
- 宿主契约探针:`ok=true`,7 项检查通过。
|
|
40
|
-
- 真实页面(2026-11-04,同一运行中的 `127.0.0.1:3080` 实例):用 `plugin_manager` 把 0.2.0 替换为 0.2.1 后,插件详情页显示版本 0.2.1,卡片与 README 图标都渲染为鲸鱼读书图(宿主返回 `data:image/png;base64` 图标,约 62 KiB),「包元信息错误」消失,宿主进程未重启。
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# 0.2.x 交互路径补验:悬停与键盘
|
|
2
|
-
|
|
3
|
-
日期:2026-11-04。宿主 0.2.2-alpha.2(全局安装,PID 未重启),插件 0.2.1(当前 profile 已装)。
|
|
4
|
-
|
|
5
|
-
## 方法
|
|
6
|
-
|
|
7
|
-
用 headless Chrome 通过 CDP 驱动独立临时 profile(`/tmp/dsh-interact/profile`),打开同一个运行中的 `127.0.0.1:3080` 实例。点击用 `Input.dispatchMouseEvent`、按键用 `Input.dispatchKeyEvent`,都是浏览器可信事件,能穿过适配器的 `isTrusted` 门控;没有改写门控、没有重写宿主事件。
|
|
8
|
-
|
|
9
|
-
为不接触用户书库,先在该临时 profile 的 IndexedDB 里写入一本三段的验证用书和设置(主标题「思考」、补充文字「验证中」),再刷新页面让 store 从持久化层水合;随后只读打开账号里的真实会话,观察「思考」行。会话 DOM 的展开/折叠由宿主负责,插件只负责在可信点击/按键通过门控后追加书页。
|
|
10
|
-
|
|
11
|
-
## 结果
|
|
12
|
-
|
|
13
|
-
| 路径 | 观察 |
|
|
14
|
-
| --- | --- |
|
|
15
|
-
| 可信鼠标点击折叠的思考行 | 行展开;行内出现 `data-novel-append`,带标签「小说 · 第二章」和对应段落;进度跨页面刷新保留(首次运领取第一章,再次运领取第二章)。 |
|
|
16
|
-
| 悬停(`mouseMoved` 移到行上再移开) | 没有新增领取,已渲染的书页不变,无告警。 |
|
|
17
|
-
| 键盘 Enter(先 `focus()` 到 `DIV role=button tabindex=0` 的宿主披露行,再发可信 keyDown/keyUp) | 第一次回车折叠、第二次回车重新展开;同一个步骤重新展开后显示的段落与第一次一致(该书已读完时显示「本书已读完」),没有重复领取或报错。 |
|
|
18
|
-
| 页面告警 | 全程 `[role=alert]` 为空。 |
|
|
19
|
-
|
|
20
|
-
补充说明:在仍有智能体流式输出的会话里,行会随流式刷新重建,行索引不稳定,键盘与行的一一对应会变模糊;补验时应选已结束的会话。触摸、展示模式切换、过程分组折叠 reset、虚拟化重挂载仍未验证。
|
|
21
|
-
|
|
22
|
-
## 探针进 CI
|
|
23
|
-
|
|
24
|
-
`.github/workflows/verify.yml` 新增 `host-contracts` 任务:安装固定版本 `@deepseek-ai/dsh@0.2.2-alpha.2`(`--ignore-scripts`),用 `HOST_ROOT` 跑 `scripts/check-host-contracts.mjs` 与 `test/host-contracts.test.js`。探针原本只认全局安装的嵌套布局,现在同时兼容 `npm install` 的提升布局(`existsSync` 判断,同级 `@deepseek-ai` 目录兜底)。首次运行 `host-contracts` 1m10s 通过,`verify` 15s 通过。
|
|
25
|
-
|
|
26
|
-
## 展示模式与过程分组折叠
|
|
27
|
-
|
|
28
|
-
补验日期:2026-11-04。沿用同一 headless Chrome + 临时 profile;宿主的聊天展示设置是服务端 `ui-chat` 命名空间,先读基线值,再临时改档位观察页面,最后按原值写回。
|
|
29
|
-
|
|
30
|
-
| 场景 | 观察 |
|
|
31
|
-
| --- | --- |
|
|
32
|
-
| 工作步骤展示 `transcriptView` 依次设为 `compact`、`verbose`、`expanded`、`standard`,再取消设置回到默认 | 已追加的小说段落一直保留,行仍是展开状态;没有新增 `data-novel-append`,也没有重复领取;取消设置后值与基线一致。改档位会让宿主重渲染行,插件按同一步骤标识恢复原段落。 |
|
|
33
|
-
| 收起时机 `collapseTiming` 从 `next-input` 临时改为 `completion` 再写回 | 已完成回合的折叠状态与已渲染段落都不变(该设置作用于之后新回合的折叠时机);写回后用户值仍为 `next-input`。 |
|
|
34
|
-
| 折叠整个回合的过程分组(`button[data-turn-process]` 由 `aria-expanded=true` 点成 `false`) | 117 个过程行和 2 处小说附录一起隐藏;再次展开后过程行恢复,但宿主重置了逐行展开状态,小说附录不自动重现。 |
|
|
35
|
-
| 展开状态被重置后,重新主动展开曾读过的同一步骤 | 显示的是同一段(缓存命中,`小说 · 第1章…`),书进度没有前进,没有重复领取。 |
|
|
36
|
-
|
|
37
|
-
需要说明的边界:逐行展开状态是宿主在重挂载时重置的,插件不篡改它;插件保证的是同一步骤重新展开时返回同一段而非新段。折叠分组后隐藏附录属于宿主分组行为,符合“隐藏行需先展开分组”的既有说明。`ui-chat` 设置是账号级、会实时作用到任何打开的页面,全部改动都在观察后立即按原值恢复;临时 profile 读完即删,没有触碰用户书库。
|
|
38
|
-
|
|
39
|
-
仍未验证:不同窗口尺寸下的虚拟化重挂载,以及用户自己已打开浏览器标签页里的表现(需要用户在场操作)。
|
package/docs/marketplace.md
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# DSH 插件市场接入
|
|
2
|
-
|
|
3
|
-
## 这是什么
|
|
4
|
-
|
|
5
|
-
DSH `0.2.1-rc.2` 的市场由用户信任并添加的静态 JSON 索引提供,默认没有索引源。这不是官方统一商店,也没有“提交一次就自动向所有用户展示”的流程。本项目发布自己的索引,不声称官方审核、推荐或收录。
|
|
6
|
-
|
|
7
|
-
- 索引地址:<https://raw.githubusercontent.com/gongfpp/dsh-novel-fish/main/index.json>
|
|
8
|
-
- 源码仓库:<https://github.com/gongfpp/dsh-novel-fish>
|
|
9
|
-
- 包名:`@gongfpp/dsh-novel-fish`
|
|
10
|
-
|
|
11
|
-
另见 [公共社区来源与收录进展](community-markets.md):已向多个独立社区来源申请,并区分已合并目录、旧版自动收录、待审申请和可安装索引。本页下面介绍的仍是**项目自建索引**,不是主流公共目录。
|
|
12
|
-
|
|
13
|
-
## 在 DSH 内添加本项目自建索引
|
|
14
|
-
|
|
15
|
-
1. 在设置中的实验性功能启用「自定义插件市场」(若「发现」页尚未出现)。
|
|
16
|
-
2. 打开插件的「发现」页,通过索引源管理添加上面的 HTTPS 地址。
|
|
17
|
-
3. 选择该索引,找到「小说摸鱼 / Novel Fish」,查看版本、来源和兼容范围后安装。
|
|
18
|
-
4. 选择最新的 **1.0.0**。按 [README](../README.md#开始读) 导入书籍并勾选原生区域类型。先停用其他接管思考区域的阅读插件;新版本不依赖旧阅读插件。
|
|
19
|
-
|
|
20
|
-
已添加本索引的用户刷新索引后查看 1.0.0;若显示旧版本,请核对索引 URL 和网络缓存,再刷新插件页面。0.1.0 保留供明确选择旧版本,不作为最新推荐版本。
|
|
21
|
-
|
|
22
|
-
目标 DSH 的发现页尚不提供原地升级:已安装旧版可用 README 的固定版本命令替换,或先卸载插件再从发现页安装。书库和进度属于当前站点的 IndexedDB,勿清除站点数据。
|
|
23
|
-
|
|
24
|
-
自建索引现在包含 1.0.0(下方 0.2.1 及更早条目保留各自当时的记录);0.1.4 的远端索引曾通过目标宿主官方解析器验证,推荐版本为 `0.1.4` 是当时的记录;固定提交安装、README 标签和公开 tarball 三条隔离安装均通过,见 [发布实测](release.md) 和 [分发结果](evidence/public-release-014-result.json)。本轮没有新版真实市场卡片截图或可信展开全流程复验。
|
|
25
|
-
|
|
26
|
-
索引里的 Git 来源固定为完整提交 SHA,不使用浮动分支或可移动 tag。索引可随发布追加版本,但已有版本的源码提交不会悄悄替换。GitHub 安装不要求 npm scope 所有权,也不需要先发布 npm 包。1.0.0 起同时提供 npm 包(`@gongfpp/dsh-novel-fish@1.0.0`,与 GitHub 附件同一个 tgz)。
|
|
27
|
-
|
|
28
|
-
## 历史 0.1.0 的真实 DSH 显示
|
|
29
|
-
|
|
30
|
-
2026-10-22 已在现有 DSH Web `0.2.1-rc.2` 的「发现」页实际添加本索引,显示 0.1.0 版本和作者,安装按钮可用;下图只截取当时的真实插件卡片,不含账号、侧栏和会话,不是 0.1.4 的实拍证明。此操作没有安装到日常 profile,也没有改变原有阅读插件状态。安装动作在独立空 profile 中验证。
|
|
31
|
-
|
|
32
|
-

|
|
33
|
-
|
|
34
|
-
## 格式与官方依据
|
|
35
|
-
|
|
36
|
-
本索引采用目标版本的 `format: 1` 契约,而不是把未来 master 的新增规则未经验证套进旧版宿主:
|
|
37
|
-
|
|
38
|
-
- [当前官方插件索引用户指南](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/user/guide/plugin-market.zh.md):截至 2026-10-26,仍由用户添加静态索引,不内置统一第三方目录。
|
|
39
|
-
- [目标宿主版本的官方索引校验器与格式契约](https://github.com/deepseek-ai/deepseek-harness/blob/dsh-v0.2.1-rc.2/packages/util/plugin-market-index/README.zh.md)
|
|
40
|
-
- [当前官方索引服务说明](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/boot/plugin-market/README.zh.md)
|
|
41
|
-
|
|
42
|
-
公开 HTTPS 索引已由目标版本的官方解析器验证,其生成的完整 SHA 安装命令已在空 DSH profile 中安装成功,详见 [发布记录](release.md)。添加索引不代表信任所有第三方代码;插件安装后以宿主权限运行,请先检查来源。此仓库添加 `dsh-plugin` topic 供发现,不向目前不接收外部 PR 的宿主源码仓库提交收录 PR。
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# 0.1.4:审计修复与多区域追加
|
|
2
|
-
|
|
3
|
-
本记录描述 0.1.4 开发完成时的功能验证;公开发布另见[发布记录](release.md)。原有 0.1.0–0.1.3 验收记录属于各自版本,不能替代本轮证据。
|
|
4
|
-
|
|
5
|
-
## 已实施
|
|
6
|
-
|
|
7
|
-
1. **小说纯文本**:思考原文仍由 DSH 原生 Factory 渲染,小说改用 React 文本节点;工具中的小说使用 `textContent`。括号、美元金额、邮箱、网址、缩进和类似 Markdown 的行都不再经过数学、自动链接或 Markdown 解析器。不开启 HTML。
|
|
8
|
-
2. **关闭与取消类型的竞态**:设置意图同步使未完成读取失效,执行和保存边界重新校验。已经成功缓存的内容不丢弃;设置保存失败也不复活旧读取。宿主待执行帧还会核对意图身份和代次,关后重开、取消后重选、切书后切回均不能复活旧点击。
|
|
9
|
-
3. **有界 EPUB 解压**:仅解压容器、OPF、导航及线性正文;不做会提前解压全包的 CRC 检查。分块累计数据在收集前扣除 128 MiB 预算,实际使用项仍增量校验 CRC。采用 `crc-32`,避免 JSZip 深层模块意外引入 Node `stream`、导致浏览器构建失败。128 MiB 是累计解压字节限制,不是峰值堆内存承诺;拼接、解码、XML DOM 另占内存。
|
|
10
|
-
4. **明确编码处理**:TXT/MD 支持严格 UTF-8、UTF-8 BOM、UTF-16LE/BE BOM;EPUB XML 另识别 UTF-16 字节标志和相符声明。未知编码、错误编码或不一致声明明确失败,不乱码入库。GBK 当前不自动转码,请先另存为 UTF-8。
|
|
11
|
-
5. **XHTML 命名空间**:支持默认、带前缀的 XHTML namespace;保留无 `xmlns` 章节的回退。
|
|
12
|
-
6. **正文边界**:块元素维持段落边界,行内元素连贯拼接,隐藏内容和脚本仍被过滤。
|
|
13
|
-
7. **章节可见**:正文上方显示“小说 · 章节名”,没有目录或章节导航工具。
|
|
14
|
-
|
|
15
|
-
## 阅读区域多选
|
|
16
|
-
|
|
17
|
-
设置在 **左下角头像 → 设置 → 通用设置 → 小说摸鱼**。原来单选的类型改为下拉多选,可“全选 / 全不选”以下五类;不是指定某个会话或某一轮:
|
|
18
|
-
|
|
19
|
-
| 设置项 | 当前实际定位依据 |
|
|
20
|
-
| --- | --- |
|
|
21
|
-
| 思考 | `assistant-step` 内的 `data-variant="think"` |
|
|
22
|
-
| 工具调用 | 同一 `data-chat-call-id` 下其他原生 `data-tool` 卡片 |
|
|
23
|
-
| 打开文件 | `data-tool` 为 `read` / `read_image` |
|
|
24
|
-
| 运行命令 | `data-variant="bash"`;兼容当前专用 `data-sample="bash"` 行 |
|
|
25
|
-
| 文件搜索 | `data-tool` 为 `grep` / `glob` |
|
|
26
|
-
|
|
27
|
-
五类不重叠:“工具调用”是其他工具,不会再给同一条命令或文件读取追加第二份。类型全部不选时不读取。只附加在已经存在、可展开的原生区域;没有原生展开控件的卡片不会被改造成阅读区。系统提示、上下文注入、压缩记录和整个过程分组不是本轮新增目标。
|
|
28
|
-
|
|
29
|
-
**原文、工具输入输出和控件均保留。** 上方是原内容,下方是可见横线、小说/章节标记和一段纯文本;图标、箭头、悬停和折叠事件仍属于 DSH。工具区域没有公开正文末尾插槽,因此只在已定位的原生卡片末尾添加本插件自有节点;关闭、收起或卸载会移除它,不重写工具 renderer。
|
|
30
|
-
|
|
31
|
-
## EPUB 图片
|
|
32
|
-
|
|
33
|
-
**不显示书内图片。** 当前只解析文字,不执行脚本、不加载书内或远端图片,也不复刻排版。扫描版/纯图片 EPUB 没有可读文字时会报无正文;本次没有添加图文阅读器。
|
|
34
|
-
|
|
35
|
-
## 本轮验证
|
|
36
|
-
|
|
37
|
-
- `pnpm verify`:浏览器构建成功,**92 项通过、0 失败、0 跳过**。
|
|
38
|
-
- 覆盖七项审计回归、五类区域独立定位与稳定缓存键、原工具节点保持、明显分隔线/章节、普通文本逐字保留、自动展开不读取、帧内取消不复活、失败不推进、切书/关闭/类型取消、书末停止。
|
|
39
|
-
- EPUB 用实际 ZIP 样本验证:未引用的大条目不解压、伪造尺寸不能绕过预算、读取项 CRC 损坏报错、命名空间和无命名空间、UTF-16、块/行内混排。
|
|
40
|
-
- 测试中的用户事件是适配器级可控事件夹具,不冒充浏览器实际可信输入。
|
|
41
|
-
- **新版真实 GUI 全流程未完成**:当前 Cua 拒绝接入日常 Chrome profile(`browser_consent_required`);另开隔离浏览器并出现翻译弹窗后,原生窗口与 CDP 关联降为 heuristic,返回 `authorization_host_failed` 且不允许变更。没有绕过拒绝、改用其他浏览器后端或取消 `isTrusted` 限制。未把旧截图、设置预览或单元测试作为新版真实 A/B/C、悬停和键盘证明。
|
|
42
|
-
|
|
43
|
-
机器可读结果见 [multi-region-014-result.json](evidence/multi-region-014-result.json)。开发验证阶段未发起模型请求、未修改 DSH 安装文件;后续公开分发验证见[发布记录](release.md)。
|
|
44
|
-
|
|
45
|
-
## 手工补验
|
|
46
|
-
|
|
47
|
-
在已有真实会话导入含 A/B/C 的测试书;勾选全部五类:
|
|
48
|
-
|
|
49
|
-
1. 主动展开思考或有原生控件的工具行 A:原文/输入输出在上,横线和章节/小说在下;检查文件链接、复制等原生控件仍正常。
|
|
50
|
-
2. A 收起再展开进度不变,首次展开 B 才继续;快速重复点击不跳段。
|
|
51
|
-
3. 自动展开、切会话、历史加载、流式更新、模型结束不扣段。刷新后主动展开从保存进度继续。
|
|
52
|
-
4. 读取未完成时关闭再开启、取消类型再勾选、切书再切回,均不能把旧点击恢复成新读取。
|
|
53
|
-
5. 分别单选五类,其他四类不追加;全不选及关闭阅读后恢复原生显示。键盘 Enter/空格、悬停箭头和原生文字选择需在可信输入下补验。
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# 0.1.3 只改文字,保留原生图标与折叠行为
|
|
2
|
-
|
|
3
|
-
## 本轮修正
|
|
4
|
-
|
|
5
|
-
对照当前安装的 DSH Web `0.2.1-rc.2` 的 `DisclosureRow`、`ReasoningRow`、`TextShimmer` 以及命令/读取/查找行:
|
|
6
|
-
|
|
7
|
-
- 删除自定义图标、标题覆盖层和聊天内专用 CSS。图标、关闭时的悬停箭头、展开箭头、按钮、标题层、分隔符和原生 shimmer 节点全部保留,不重建折叠行。
|
|
8
|
-
- 设置不再提供图标替换;只保留主标题和补充文字的预设/可选自定义。同步修改原生基础文字层与 shimmer 高亮层,避免流式时出现两套文字。没有原生补充文字位置时不另建一行。
|
|
9
|
-
- 不接管或重新派发宿主点击、键盘事件。区分原生“整行点击”和“仅左侧按钮点击”两种模式;原生标题在仅按钮模式下不可点击时,插件也不续读。
|
|
10
|
-
- 只记录可信的关闭→展开意图,下一帧确认宿主实际展开成功后才读书。嵌套链接、取消的事件、重复键、无效点击、快速开合、切书和已移除的节点不提前消耗内容。
|
|
11
|
-
- 真实思考保持在前;小说、加载/失败/书末/等待提示均使用原生正文 Factory。移除额外分隔线、内边距、字号和颜色。转义小说 Markdown,避免引入图片、链接等新的视觉或交互控件。
|
|
12
|
-
|
|
13
|
-
## 自动验证
|
|
14
|
-
|
|
15
|
-
`pnpm verify`:**49 项通过,0 失败、0 跳过**。
|
|
16
|
-
|
|
17
|
-
回归覆盖原生 SVG、箭头、shimmer/布局节点身份和 class 不变;没有注入样式或图标节点;工具行不变;两种原生点击模式;Enter/空格;取消、嵌套控件、快速点击、切书和卸载;真实原文、小说和所有提示均委托原生排版。原有导入、缓存、并发、失败重试和书末测试继续通过。
|
|
18
|
-
|
|
19
|
-
## 真实宿主验证与限制
|
|
20
|
-
|
|
21
|
-
已把本地 `0.1.3` 安装到原有 `web` profile,在隔离浏览器中访问原来的 DSH 服务并打开已有真实聊天;没有替换客户端响应或会话数据,也没有发送新聊天消息。验收书仅导入隔离浏览器,不更改日常书库。
|
|
22
|
-
|
|
23
|
-
真实设置确认只定制文字,导入三段 MD 后显示 `0 / 3`。以明确的合成 DOM 点击展开原生思考时,真实原文正常出现、原生展开箭头正常保留,阅读区提示主动展开;没有把合成事件当成用户续读。原生图标的关闭状态与命令/读取行的对比如下。合成展开再收起后的保存进度仍为 `0 / 3`,详见 [结构化验收记录](evidence/native-disclosure-013-result.json)。截图只裁掉侧栏、账号和无关内容,没有改绘图标或正文。
|
|
24
|
-
|
|
25
|
-

|
|
26
|
-
|
|
27
|
-

|
|
28
|
-
|
|
29
|
-
**本轮未完成原生可信鼠标/键盘的端到端续读复测**:Cua 的可信浏览器点击返回 `route_unavailable`;原生窗口 AX 无法解析且系统截图不可用,后台原生输入被拒绝。没有通过改 `isTrusted` 门控、重写宿主事件或替换其他自动化通道绕过该限制。真实鼠标悬停动画、操作系统键盘焦点和持续模型流式状态,本轮主要依据实际宿主实现及确定性自动测试,不声称已全部人工实测。0.1.2 的 A/B/C 实测仍作为各自版本的历史记录,不冒充本轮证据。
|
|
30
|
-
|
|
31
|
-
## 本机与发布
|
|
32
|
-
|
|
33
|
-
本机 `web` profile 使用 `@gongfpp/dsh-novel-fish` **0.1.3**,沿用原书库数据库和每书进度。日常窗口需刷新加载新客户端;不需要安装旧阅读插件。
|
|
34
|
-
|
|
35
|
-
```sh
|
|
36
|
-
dsh plugin --profile web add ./dist/gongfpp-dsh-novel-fish-0.1.3.tgz
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
本轮仅本地提交和产物;未推送、未打标签、未更新 GitHub Release 或市场索引,公开版本仍为 0.1.0。其他 DSH 版本、Desktop、其他浏览器、多标签同步和配额耗尽未验收。标题仍依赖小模块中的特定宿主 DOM 契约,不是稳定公开标题 API。
|