@kingsleyasher/dsh-knowledge-base 0.0.0-stage → 3.1.5

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.
Files changed (516) hide show
  1. package/ARCHITECTURE.en.md +35 -0
  2. package/ARCHITECTURE.md +40 -0
  3. package/BETA4.md +31 -0
  4. package/BETA7.md +35 -0
  5. package/BETA8.md +39 -0
  6. package/BETA9.md +38 -0
  7. package/CONTRIBUTING.md +5 -0
  8. package/DEVELOPMENT.en.md +26 -0
  9. package/DEVELOPMENT.md +27 -0
  10. package/EXISTING-FRAMEWORK-OPTIMIZATION.md +101 -0
  11. package/LICENSE +21 -0
  12. package/MONOREPO.md +34 -0
  13. package/NPM-EDITION.md +12 -0
  14. package/PARSING-PREVIEW.md +84 -0
  15. package/PERFORMANCE.md +43 -0
  16. package/PRIVACY.md +7 -0
  17. package/PROJECT-RECORD.en.md +782 -0
  18. package/PROJECT-RECORD.md +793 -0
  19. package/README.md +109 -3
  20. package/README.zh-CN.md +117 -0
  21. package/RELEASE.en.md +559 -0
  22. package/RELEASE.md +570 -0
  23. package/RETRIEVAL.md +93 -0
  24. package/SECURITY.md +7 -0
  25. package/THIRD-PARTY-NOTICES.md +5 -0
  26. package/VERSIONING.en.md +51 -0
  27. package/VERSIONING.md +50 -0
  28. package/WORKBENCH.en.md +201 -0
  29. package/WORKBENCH.md +195 -0
  30. package/browser-extension/background.js +146 -0
  31. package/browser-extension/icons/knowledge-base-128.png +0 -0
  32. package/browser-extension/icons/knowledge-base-16.png +0 -0
  33. package/browser-extension/icons/knowledge-base-32.png +0 -0
  34. package/browser-extension/icons/knowledge-base-48.png +0 -0
  35. package/browser-extension/manifest.json +25 -0
  36. package/browser-extension/options.html +22 -0
  37. package/browser-extension/options.js +41 -0
  38. package/browser-extension/popup.html +17 -0
  39. package/browser-extension/popup.js +58 -0
  40. package/browser-extension/style.css +11 -0
  41. package/cordis.patch.yml +88 -0
  42. package/docs/LEGACY-246-BOOTSTRAP.md +21 -0
  43. package/docs/LIBRARY-FRAMEWORK-MIGRATION.md +45 -0
  44. package/docs/ORIGINAL-FILE-INDEX-ARCHITECTURE.md +43 -0
  45. package/docs/TODO-LIFECYCLE-VALIDATION.md +42 -0
  46. package/docs/UPDATE-RECOVERY.en.md +18 -0
  47. package/docs/UPDATE-RECOVERY.md +70 -0
  48. package/docs/WINDOWS-SIGNING.md +30 -0
  49. package/docs/client/ARCHITECTURE.en.md +17 -0
  50. package/docs/client/ARCHITECTURE.md +17 -0
  51. package/docs/client/CONTRIBUTING.md +5 -0
  52. package/docs/client/CROSS-VOLUME-TRASH.md +13 -0
  53. package/docs/client/DEVELOPMENT.en.md +33 -0
  54. package/docs/client/DEVELOPMENT.md +33 -0
  55. package/docs/client/EXISTING-FRAMEWORK-OPTIMIZATION.md +3 -0
  56. package/docs/client/PERFORMANCE.md +3 -0
  57. package/docs/client/PRIVACY.md +7 -0
  58. package/docs/client/PROJECT-RECORD.en.md +199 -0
  59. package/docs/client/PROJECT-RECORD.md +219 -0
  60. package/docs/client/README.md +55 -0
  61. package/docs/client/README.zh-CN.md +45 -0
  62. package/docs/client/RELEASE.en.md +148 -0
  63. package/docs/client/RELEASE.md +149 -0
  64. package/docs/client/RETRIEVAL.md +3 -0
  65. package/docs/client/SECURITY.md +7 -0
  66. package/docs/client/THIRD-PARTY-NOTICES.md +5 -0
  67. package/docs/client/VERSIONING.en.md +9 -0
  68. package/docs/client/VERSIONING.md +9 -0
  69. package/docs/client/WORKBENCH.en.md +24 -0
  70. package/docs/client/WORKBENCH.md +24 -0
  71. package/docs/client/skills/personal-knowledge-base/SKILL.md +38 -0
  72. package/docs/releases/client-1.0.1.md +32 -0
  73. package/docs/releases/client-1.0.2.md +32 -0
  74. package/docs/releases/client-1.0.3.md +31 -0
  75. package/docs/releases/client-1.1.1.md +28 -0
  76. package/docs/releases/client-1.1.2.md +16 -0
  77. package/docs/releases/client-1.1.4.md +7 -0
  78. package/docs/releases/client-2.0.0.en.md +13 -0
  79. package/docs/releases/client-2.0.0.md +13 -0
  80. package/docs/releases/client-2.0.1.en.md +10 -0
  81. package/docs/releases/client-2.0.1.md +10 -0
  82. package/docs/releases/client-2.0.3.en.md +8 -0
  83. package/docs/releases/client-2.0.3.md +8 -0
  84. package/docs/releases/plugin-2.4.1.md +24 -0
  85. package/docs/releases/plugin-2.4.10.md +22 -0
  86. package/docs/releases/plugin-2.4.11.md +14 -0
  87. package/docs/releases/plugin-2.4.12.md +14 -0
  88. package/docs/releases/plugin-2.4.13.md +27 -0
  89. package/docs/releases/plugin-2.4.14.md +18 -0
  90. package/docs/releases/plugin-2.4.2.md +31 -0
  91. package/docs/releases/plugin-2.4.3.md +25 -0
  92. package/docs/releases/plugin-2.4.4.md +31 -0
  93. package/docs/releases/plugin-2.4.5.md +23 -0
  94. package/docs/releases/plugin-2.4.6.md +23 -0
  95. package/docs/releases/plugin-2.4.7.md +14 -0
  96. package/docs/releases/plugin-2.4.8.md +14 -0
  97. package/docs/releases/plugin-2.4.9.md +18 -0
  98. package/docs/releases/plugin-2.5.10.md +11 -0
  99. package/docs/releases/plugin-2.5.13.en.md +11 -0
  100. package/docs/releases/plugin-2.5.13.md +11 -0
  101. package/docs/releases/plugin-2.5.3.md +28 -0
  102. package/docs/releases/plugin-2.5.4.md +14 -0
  103. package/docs/releases/plugin-2.5.5.md +16 -0
  104. package/docs/releases/plugin-2.5.6.md +3 -0
  105. package/docs/releases/plugin-2.5.7.md +7 -0
  106. package/docs/releases/plugin-2.5.8.md +7 -0
  107. package/docs/releases/plugin-2.5.9.md +7 -0
  108. package/docs/releases/plugin-3.0.0.en.md +13 -0
  109. package/docs/releases/plugin-3.0.0.md +13 -0
  110. package/docs/releases/plugin-3.0.1.en.md +10 -0
  111. package/docs/releases/plugin-3.0.1.md +10 -0
  112. package/docs/releases/plugin-3.1.3.en.md +11 -0
  113. package/docs/releases/plugin-3.1.3.md +11 -0
  114. package/docs/validation/windows-auto-update-2.4.13.md +31 -0
  115. package/docs/validation/windows-direct-246-to-2413.md +32 -0
  116. package/package.json +78 -6
  117. package/packages/kb-contracts/desktop.js +29 -0
  118. package/packages/kb-contracts/index.js +132 -0
  119. package/packages/kb-contracts/node.js +3 -0
  120. package/packages/kb-contracts/package.json +17 -0
  121. package/packages/kb-contracts/schema.js +42 -0
  122. package/packages/kb-contracts/tools.js +1 -0
  123. package/packages/kb-contracts/version-policy.js +45 -0
  124. package/packages/kb-core/index.js +9 -0
  125. package/packages/kb-core/package.json +15 -0
  126. package/packages/kb-core/src/capture-surface.js +22 -0
  127. package/packages/kb-core/src/documents.js +105 -0
  128. package/packages/kb-core/src/embedded.js +29 -0
  129. package/packages/kb-core/src/file-catalog.js +151 -0
  130. package/packages/kb-core/src/file-classification.js +60 -0
  131. package/packages/kb-core/src/flow-workspace.js +66 -0
  132. package/packages/kb-core/src/flows.js +1136 -0
  133. package/packages/kb-core/src/fsindex.js +293 -0
  134. package/packages/kb-core/src/import-service.js +486 -0
  135. package/packages/kb-core/src/importer.js +909 -0
  136. package/packages/kb-core/src/inbox-flow.js +2 -0
  137. package/packages/kb-core/src/index-architecture.js +48 -0
  138. package/packages/kb-core/src/index-maintenance.js +81 -0
  139. package/packages/kb-core/src/index-policy-service.js +191 -0
  140. package/packages/kb-core/src/index-policy.js +121 -0
  141. package/packages/kb-core/src/kbcore.js +2519 -0
  142. package/packages/kb-core/src/library-framework.js +186 -0
  143. package/packages/kb-core/src/library-state.js +68 -0
  144. package/packages/kb-core/src/managed-files.js +69 -0
  145. package/packages/kb-core/src/map.js +171 -0
  146. package/packages/kb-core/src/parse-credentials.js +49 -0
  147. package/packages/kb-core/src/parse-discovery.js +119 -0
  148. package/packages/kb-core/src/parse-job-storage.js +40 -0
  149. package/packages/kb-core/src/parse-native.js +87 -0
  150. package/packages/kb-core/src/parse-presets.js +46 -0
  151. package/packages/kb-core/src/parse-source-authority.js +72 -0
  152. package/packages/kb-core/src/parsing.js +2307 -0
  153. package/packages/kb-core/src/relation-name-lookup.js +43 -0
  154. package/packages/kb-core/src/retrieval-api.js +79 -0
  155. package/packages/kb-core/src/retrieval-cache.js +22 -0
  156. package/packages/kb-core/src/retrieval-chunks.js +128 -0
  157. package/packages/kb-core/src/retrieval-pool.js +102 -0
  158. package/packages/kb-core/src/retrieval-worker.js +190 -0
  159. package/packages/kb-core/src/retrieval.js +618 -0
  160. package/packages/kb-core/src/runtime-resources.js +73 -0
  161. package/packages/kb-core/src/service-ownership.js +18 -0
  162. package/packages/kb-core/src/source-references.js +61 -0
  163. package/packages/kb-core/src/storage-io.js +121 -0
  164. package/packages/kb-core/src/system-upgrades.js +104 -0
  165. package/packages/kb-core/src/workbench-backup.js +219 -0
  166. package/packages/kb-core/src/workbench-deliverables.js +73 -0
  167. package/packages/kb-core/src/workbench-files.js +25 -0
  168. package/packages/kb-core/src/workbench-inbox.js +57 -0
  169. package/packages/kb-core/src/workbench-links.js +236 -0
  170. package/packages/kb-core/src/workbench-question.js +131 -0
  171. package/packages/kb-core/src/workbench-relation-index.js +110 -0
  172. package/packages/kb-core/src/workbench-state.js +102 -0
  173. package/packages/kb-core/src/workbench-trash.js +213 -0
  174. package/packages/kb-core/src/workbench.js +936 -0
  175. package/packages/kb-service/auth.js +39 -0
  176. package/packages/kb-service/build.js +18 -0
  177. package/packages/kb-service/cli.js +26 -0
  178. package/packages/kb-service/client.js +64 -0
  179. package/packages/kb-service/clipper.js +15 -0
  180. package/packages/kb-service/compatibility.js +34 -0
  181. package/packages/kb-service/desktop-files.js +514 -0
  182. package/packages/kb-service/desktop-host-links.js +39 -0
  183. package/packages/kb-service/dsh-broker.js +64 -0
  184. package/packages/kb-service/dsh-host.js +168 -0
  185. package/packages/kb-service/dsh-stream-relay.js +32 -0
  186. package/packages/kb-service/engines.js +32 -0
  187. package/packages/kb-service/extension.js +8 -0
  188. package/packages/kb-service/first-library-handoff.js +28 -0
  189. package/packages/kb-service/handoff-api.js +22 -0
  190. package/packages/kb-service/host-adapter.js +151 -0
  191. package/packages/kb-service/host-assets.js +9 -0
  192. package/packages/kb-service/host-python.js +30 -0
  193. package/packages/kb-service/host-updates.js +97 -0
  194. package/packages/kb-service/inbox-host.js +47 -0
  195. package/packages/kb-service/inbox-jobs.js +54 -0
  196. package/packages/kb-service/index.js +3 -0
  197. package/packages/kb-service/io.js +24 -0
  198. package/packages/kb-service/launch-lock.js +27 -0
  199. package/packages/kb-service/launcher.js +18 -0
  200. package/packages/kb-service/legacy-handoff.js +27 -0
  201. package/packages/kb-service/legacy-ports.js +18 -0
  202. package/packages/kb-service/main.js +13 -0
  203. package/packages/kb-service/memory-channel.js +57 -0
  204. package/packages/kb-service/memory-sync.js +42 -0
  205. package/packages/kb-service/migration.js +131 -0
  206. package/packages/kb-service/native.py +216 -0
  207. package/packages/kb-service/operations.js +19 -0
  208. package/packages/kb-service/package.json +1 -0
  209. package/packages/kb-service/runtime.js +185 -0
  210. package/packages/kb-service/safe-update.js +104 -0
  211. package/packages/kb-service/service.js +494 -0
  212. package/packages/kb-service/tool-definitions.json +934 -0
  213. package/packages/kb-service/tool-router.js +45 -0
  214. package/packages/kb-service/vector-profiles.js +41 -0
  215. package/presets/01-knowledge-agent.patch.yml +347 -0
  216. package/runtime/python/LICENSE.txt +676 -0
  217. package/runtime/python/_asyncio.pyd +0 -0
  218. package/runtime/python/_bz2.pyd +0 -0
  219. package/runtime/python/_ctypes.pyd +0 -0
  220. package/runtime/python/_decimal.pyd +0 -0
  221. package/runtime/python/_elementtree.pyd +0 -0
  222. package/runtime/python/_hashlib.pyd +0 -0
  223. package/runtime/python/_lzma.pyd +0 -0
  224. package/runtime/python/_multiprocessing.pyd +0 -0
  225. package/runtime/python/_overlapped.pyd +0 -0
  226. package/runtime/python/_queue.pyd +0 -0
  227. package/runtime/python/_remote_debugging.pyd +0 -0
  228. package/runtime/python/_socket.pyd +0 -0
  229. package/runtime/python/_sqlite3.pyd +0 -0
  230. package/runtime/python/_ssl.pyd +0 -0
  231. package/runtime/python/_uuid.pyd +0 -0
  232. package/runtime/python/_wmi.pyd +0 -0
  233. package/runtime/python/_zoneinfo.pyd +0 -0
  234. package/runtime/python/_zstd.pyd +0 -0
  235. package/runtime/python/libcrypto-3.dll +0 -0
  236. package/runtime/python/libffi-8.dll +0 -0
  237. package/runtime/python/libssl-3.dll +0 -0
  238. package/runtime/python/libtommath.dll +0 -0
  239. package/runtime/python/pyexpat.pyd +0 -0
  240. package/runtime/python/python.cat +0 -0
  241. package/runtime/python/python.exe +0 -0
  242. package/runtime/python/python3.dll +0 -0
  243. package/runtime/python/python314._pth +5 -0
  244. package/runtime/python/python314.dll +0 -0
  245. package/runtime/python/python314.zip +0 -0
  246. package/runtime/python/pythonw.exe +0 -0
  247. package/runtime/python/select.pyd +0 -0
  248. package/runtime/python/sqlite3.dll +0 -0
  249. package/runtime/python/unicodedata.pyd +0 -0
  250. package/runtime/python/vcruntime140.dll +0 -0
  251. package/runtime/python/vcruntime140_1.dll +0 -0
  252. package/runtime/python/winsound.pyd +0 -0
  253. package/skills/personal-knowledge-base/SKILL.md +38 -0
  254. package/src/client/capture-icon-192.png +0 -0
  255. package/src/client/capture-icon-512.png +0 -0
  256. package/src/client/capture-icon.svg +12 -0
  257. package/src/client/capture-sw.js +10 -0
  258. package/src/client/capture.css +1 -0
  259. package/src/client/capture.html +1 -0
  260. package/src/client/capture.js +37 -0
  261. package/src/client/capture.webmanifest +1 -0
  262. package/src/client/inbox-organize-bridge.js +22 -0
  263. package/src/client/index.js +4975 -0
  264. package/src/client/knowledge-ui.css +255 -0
  265. package/src/client/pdfjs/LICENSE +177 -0
  266. package/src/client/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
  267. package/src/client/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
  268. package/src/client/pdfjs/cmaps/78-H.bcmap +0 -0
  269. package/src/client/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
  270. package/src/client/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
  271. package/src/client/pdfjs/cmaps/78-V.bcmap +0 -0
  272. package/src/client/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
  273. package/src/client/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
  274. package/src/client/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
  275. package/src/client/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
  276. package/src/client/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
  277. package/src/client/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
  278. package/src/client/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
  279. package/src/client/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
  280. package/src/client/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
  281. package/src/client/pdfjs/cmaps/Add-H.bcmap +0 -0
  282. package/src/client/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
  283. package/src/client/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
  284. package/src/client/pdfjs/cmaps/Add-V.bcmap +0 -0
  285. package/src/client/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
  286. package/src/client/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
  287. package/src/client/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
  288. package/src/client/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
  289. package/src/client/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
  290. package/src/client/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
  291. package/src/client/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
  292. package/src/client/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  293. package/src/client/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
  294. package/src/client/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
  295. package/src/client/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
  296. package/src/client/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
  297. package/src/client/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
  298. package/src/client/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
  299. package/src/client/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  300. package/src/client/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
  301. package/src/client/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
  302. package/src/client/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
  303. package/src/client/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
  304. package/src/client/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
  305. package/src/client/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
  306. package/src/client/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
  307. package/src/client/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  308. package/src/client/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
  309. package/src/client/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
  310. package/src/client/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
  311. package/src/client/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  312. package/src/client/pdfjs/cmaps/B5-H.bcmap +0 -0
  313. package/src/client/pdfjs/cmaps/B5-V.bcmap +0 -0
  314. package/src/client/pdfjs/cmaps/B5pc-H.bcmap +0 -0
  315. package/src/client/pdfjs/cmaps/B5pc-V.bcmap +0 -0
  316. package/src/client/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
  317. package/src/client/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
  318. package/src/client/pdfjs/cmaps/CNS1-H.bcmap +0 -0
  319. package/src/client/pdfjs/cmaps/CNS1-V.bcmap +0 -0
  320. package/src/client/pdfjs/cmaps/CNS2-H.bcmap +0 -0
  321. package/src/client/pdfjs/cmaps/CNS2-V.bcmap +3 -0
  322. package/src/client/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
  323. package/src/client/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
  324. package/src/client/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
  325. package/src/client/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
  326. package/src/client/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
  327. package/src/client/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
  328. package/src/client/pdfjs/cmaps/EUC-H.bcmap +0 -0
  329. package/src/client/pdfjs/cmaps/EUC-V.bcmap +0 -0
  330. package/src/client/pdfjs/cmaps/Ext-H.bcmap +0 -0
  331. package/src/client/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
  332. package/src/client/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
  333. package/src/client/pdfjs/cmaps/Ext-V.bcmap +0 -0
  334. package/src/client/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
  335. package/src/client/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
  336. package/src/client/pdfjs/cmaps/GB-H.bcmap +4 -0
  337. package/src/client/pdfjs/cmaps/GB-V.bcmap +0 -0
  338. package/src/client/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
  339. package/src/client/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
  340. package/src/client/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
  341. package/src/client/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
  342. package/src/client/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
  343. package/src/client/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
  344. package/src/client/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
  345. package/src/client/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
  346. package/src/client/pdfjs/cmaps/GBT-H.bcmap +0 -0
  347. package/src/client/pdfjs/cmaps/GBT-V.bcmap +0 -0
  348. package/src/client/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
  349. package/src/client/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
  350. package/src/client/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
  351. package/src/client/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
  352. package/src/client/pdfjs/cmaps/H.bcmap +0 -0
  353. package/src/client/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
  354. package/src/client/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
  355. package/src/client/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
  356. package/src/client/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
  357. package/src/client/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
  358. package/src/client/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
  359. package/src/client/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
  360. package/src/client/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
  361. package/src/client/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
  362. package/src/client/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
  363. package/src/client/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
  364. package/src/client/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
  365. package/src/client/pdfjs/cmaps/Hankaku.bcmap +0 -0
  366. package/src/client/pdfjs/cmaps/Hiragana.bcmap +0 -0
  367. package/src/client/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
  368. package/src/client/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
  369. package/src/client/pdfjs/cmaps/KSC-H.bcmap +0 -0
  370. package/src/client/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
  371. package/src/client/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
  372. package/src/client/pdfjs/cmaps/KSC-V.bcmap +0 -0
  373. package/src/client/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
  374. package/src/client/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  375. package/src/client/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  376. package/src/client/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
  377. package/src/client/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
  378. package/src/client/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
  379. package/src/client/pdfjs/cmaps/Katakana.bcmap +0 -0
  380. package/src/client/pdfjs/cmaps/LICENSE +36 -0
  381. package/src/client/pdfjs/cmaps/NWP-H.bcmap +0 -0
  382. package/src/client/pdfjs/cmaps/NWP-V.bcmap +0 -0
  383. package/src/client/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
  384. package/src/client/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
  385. package/src/client/pdfjs/cmaps/Roman.bcmap +0 -0
  386. package/src/client/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  387. package/src/client/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  388. package/src/client/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  389. package/src/client/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  390. package/src/client/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  391. package/src/client/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  392. package/src/client/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  393. package/src/client/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  394. package/src/client/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
  395. package/src/client/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
  396. package/src/client/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
  397. package/src/client/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
  398. package/src/client/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
  399. package/src/client/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
  400. package/src/client/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
  401. package/src/client/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
  402. package/src/client/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  403. package/src/client/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  404. package/src/client/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  405. package/src/client/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  406. package/src/client/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  407. package/src/client/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  408. package/src/client/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  409. package/src/client/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  410. package/src/client/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  411. package/src/client/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  412. package/src/client/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  413. package/src/client/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  414. package/src/client/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  415. package/src/client/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  416. package/src/client/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  417. package/src/client/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  418. package/src/client/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  419. package/src/client/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  420. package/src/client/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  421. package/src/client/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  422. package/src/client/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  423. package/src/client/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  424. package/src/client/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  425. package/src/client/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
  426. package/src/client/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
  427. package/src/client/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
  428. package/src/client/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
  429. package/src/client/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
  430. package/src/client/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
  431. package/src/client/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
  432. package/src/client/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
  433. package/src/client/pdfjs/cmaps/V.bcmap +0 -0
  434. package/src/client/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
  435. package/src/client/pdfjs/pdf.mjs +26779 -0
  436. package/src/client/pdfjs/pdf.worker.mjs +63420 -0
  437. package/src/client/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
  438. package/src/client/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
  439. package/src/client/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
  440. package/src/client/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  441. package/src/client/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
  442. package/src/client/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
  443. package/src/client/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
  444. package/src/client/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  445. package/src/client/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
  446. package/src/client/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
  447. package/src/client/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
  448. package/src/client/pdfjs/standard_fonts/LICENSE_LIBERATION +102 -0
  449. package/src/client/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
  450. package/src/client/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  451. package/src/client/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
  452. package/src/client/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
  453. package/src/client/pdfjs/wasm/LICENSE_JBIG2 +196 -0
  454. package/src/client/pdfjs/wasm/LICENSE_OPENJPEG +39 -0
  455. package/src/client/pdfjs/wasm/LICENSE_PDFJS_JBIG2 +13 -0
  456. package/src/client/pdfjs/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
  457. package/src/client/pdfjs/wasm/LICENSE_PDFJS_QCMS +22 -0
  458. package/src/client/pdfjs/wasm/LICENSE_QCMS +21 -0
  459. package/src/client/pdfjs/wasm/jbig2.wasm +0 -0
  460. package/src/client/pdfjs/wasm/openjpeg.wasm +0 -0
  461. package/src/client/pdfjs/wasm/openjpeg_nowasm_fallback.js +17 -0
  462. package/src/client/pdfjs/wasm/qcms_bg.wasm +0 -0
  463. package/src/client/todo-lifecycle-ui.js +58 -0
  464. package/src/client/workbench-features.js +148 -0
  465. package/src/client/workbench-relations.js +86 -0
  466. package/src/client/workbench-theme.css +81 -0
  467. package/src/client/workbench-ui.js +1761 -0
  468. package/src/host/capture-surface.js +2 -0
  469. package/src/host/citation-guard.js +40 -0
  470. package/src/host/command-description.js +43 -0
  471. package/src/host/flow-workspace.js +62 -0
  472. package/src/host/flows.js +2 -0
  473. package/src/host/fsindex.js +2 -0
  474. package/src/host/gateway.js +916 -0
  475. package/src/host/import-service.js +2 -0
  476. package/src/host/importer.js +2 -0
  477. package/src/host/index-maintenance.js +2 -0
  478. package/src/host/index-policy-service.js +2 -0
  479. package/src/host/index-policy.js +2 -0
  480. package/src/host/index.js +2220 -0
  481. package/src/host/kbcore.js +2 -0
  482. package/src/host/managed-files.js +2 -0
  483. package/src/host/map.js +2 -0
  484. package/src/host/parse-credentials.js +2 -0
  485. package/src/host/parse-discovery.js +2 -0
  486. package/src/host/parse-native.js +2 -0
  487. package/src/host/parse-presets.js +2 -0
  488. package/src/host/parse-source-authority.js +2 -0
  489. package/src/host/parsing.js +7 -0
  490. package/src/host/relation-name-lookup.js +2 -0
  491. package/src/host/retrieval-api.js +2 -0
  492. package/src/host/retrieval-cache.js +2 -0
  493. package/src/host/retrieval-chunks.js +2 -0
  494. package/src/host/retrieval-pool.js +2 -0
  495. package/src/host/retrieval-worker.js +2 -0
  496. package/src/host/retrieval.js +2 -0
  497. package/src/host/runtime-resources.js +2 -0
  498. package/src/host/selftest.js +747 -0
  499. package/src/host/storage-io.js +2 -0
  500. package/src/host/system-upgrades.js +2 -0
  501. package/src/host/todo-lifecycle.js +66 -0
  502. package/src/host/updates.js +281 -0
  503. package/src/host/versioning.js +2 -0
  504. package/src/host/workbench-backup.js +2 -0
  505. package/src/host/workbench-deliverables.js +2 -0
  506. package/src/host/workbench-files.js +2 -0
  507. package/src/host/workbench-inbox.js +2 -0
  508. package/src/host/workbench-links.js +2 -0
  509. package/src/host/workbench-question.js +2 -0
  510. package/src/host/workbench-relation-index.js +2 -0
  511. package/src/host/workbench-state.js +2 -0
  512. package/src/host/workbench-trash.js +2 -0
  513. package/src/host/workbench.js +5 -0
  514. package/tools/kb-local-model.py +141 -0
  515. package/tools/kb-pdf-pages.py +78 -0
  516. package/tools/kb-transactional-update.py +292 -0
package/RELEASE.en.md ADDED
@@ -0,0 +1,559 @@
1
+ ## 2026-11-16 · Plugin 3.1.3 / client 2.0.3 · File tree and patrol performance
2
+
3
+ Every desktop request re-read and validated the roughly 3.9 MB file catalog, and every directory listing re-read the exclusion policy, resolved each path segment through realpath and probed access twice per entry; a real 687-entry directory took 376 ms on first read. Index patrol also rescanned every original on a fixed five-minute timer, holding the single service queue for about 1.9 seconds and making the tree appear to reload after the client had been open for a while.
4
+
5
+ Catalog and policy reads are now cached by file identity; listings read the policy once and precompile it into prefix lookups, entries use the validated parent directory for one lstat each, and directory responses are reused for 15 seconds behind directory, policy, catalog and privacy signatures. Patrol compares file stat digests and requests/import-sources content digests and reuses the persisted catalog when nothing changed. The client requests only newly expanded directories, reuses loaded rows when a directory is reopened, and refreshes everything only when the sort order changes.
6
+
7
+ Measured: the 687-entry real directory went from 376 ms to 32 ms first read and 0.8 ms on repeat; a 250-entry directory with 400 exclusion groups went from 819 ms to 49 ms; catalog parsing from 16.5 ms to 0.4 ms; unchanged patrol from about 1.9 s to 0.1 s. Index policy, architecture, maintenance, classification, workbench, large-library and service integration checks pass, with new policy-matcher equivalence, listing-cache invalidation and patrol-reuse checks. GitHub Releases v3.1.3 and client-v2.0.3 are published, and the stable update feed and website downloads now point at plugin 3.1.3 / client 2.0.3. The client installer is unsigned and still requires an empty destination.
8
+
9
+ ## Plugin 3.1.4 · OCR configuration errors
10
+
11
+ Display specific validation errors when saving OCR providers instead of only HTTP 400. Browser acceptance used a synthetic host, not a real third-party service; desktop remains 2.0.3.
12
+
13
+ ## 2026-11-15 · Plugin 3.1.2 · Stop and ask after parsing failure
14
+
15
+ Restore the detailed kb_parse description and all-Agent parsing context in shared-library mode. Current OCR/ASR defaults take precedence over memory. Missing API configuration, credentials, quota, connectivity and partial failures require stopping, reporting the cause and asking whether to repair configuration or switch services. Local models, other cloud services, scripts and HTTP require explicit consent for this request; users still change defaults in settings. Rejected submissions and failed or partial public responses include no-fallback and ask-user recovery instructions, and tool rendering preserves actual errors.
16
+
17
+ Twelve local focused checks passed, covering a working local ASR service, a cloud default missing credentials, a remembered local provider ID, retry, empty defaults and the real Windows shared service. Cloud failures made no additional local calls. Release artifacts contain the 3.1.2 plugin TGZ, checksums and update parts; the public desktop installer remains 2.0.1. Restart DSH to load the rules. No paid cloud API or real model conversation was tested; these rules do not provide host-level interception of general Shell/HTTP tools.
18
+
19
+ ## 2026-11-14 · Plugin 3.1.1 · Release notes follow the actual upgrade range
20
+
21
+ Filter notes strictly after the previously installed version through the target version. The last dismissed version and older unread notes no longer widen the range. Reopening the same target preserves its range; another upgrade starts a new range. Retire legacy pending ranges without replay, display the version interval, and register the missing 3.1.0 DeepSeek parsing, default selectors and settings fixes. Patch-only installs remain quiet; fresh installs and downgrades do not show historical upgrade notes.
22
+
23
+ Validation covers patch-to-minor upgrades, skipped versions, upgrades with unclosed notes, same-version reopening, legacy state, hot-load previous-version evidence and four dismissal paths; 18 focused checks and release source/archive checksum verification passed. Plugin 3.1.1 only; public desktop installer remains 2.0.1. Libraries, parsing configuration and external-transfer policy are unchanged.
24
+
25
+ ## 2026-11-14 · Plugin 3.1.0 · DeepSeek parsing and default-service selection
26
+
27
+ Integrate the official standalone DeepSeek OCR / ASR APIs. Unconfigured libraries offer DeepSeek defaults; retain existing providers, selections and local-only policies. Submit documents directly to OCR and convert long audio with FFmpeg to mono 16 kHz PCM chunks. Preserve pages, truncation and failures without inventing word timestamps. Credentials use encrypted storage or DEEPSEEK_API_KEY; official endpoints are pinned.
28
+
29
+ Expose separate OCR / ASR selectors in workbench and global settings, automatically save choices and refresh after provider changes. Show readable vendor names when no custom name exists. Fix blank settings caused by mismatched shared-service directory fields and include the previously unreleased first-library handoff fix. Package updates do not rebuild or migrate existing libraries.
30
+
31
+ Focused parsing, selector, directory-contract, credential, external-policy and chunk-retry checks passed; the release workflow also checks transaction recovery, shared-library compatibility and retrieval. Synthetic files and simulated cloud responses were used, with real FFmpeg conversion. No paid cloud requests were made; live quota and recognition quality are not claimed. Publish plugin 3.1.0 only; public desktop remains 2.0.1. Local desktop 2.0.2 and signing preparation do not constitute a new installer release.
32
+
33
+ ## 2026-11-11 · Signing preparation after local 2.0.2 build (unreleased)
34
+
35
+ Adds trusted-signing preflight and timestamp verification and fixes payload location after Authenticode signing. Production builds require a certificate; explicit --allow-unsigned is for local development. C# compilation and three structural/preflight tests passed; actual trusted signing and installation on the affected other computer remain unverified. No new signed installer or GitHub Release was published. See [Windows signing](docs/WINDOWS-SIGNING.md).
36
+
37
+ ## 2026-11-11 · Plugin 3.0.2 / client 2.0.2 · Local manual-install fix
38
+
39
+ Includes the first-library shared-service handoff fix: retain successful creation, stop old embedded-runtime refresh, explain that DSH must fully exit and reopen, serialize concurrent setup and reuse its successful receipt. Single-writer protection remains enforced. No storage epoch change or existing-library rebuild.
40
+
41
+ This is a local build, not yet published to GitHub. Isolated Windows validation covers plugin-first/client-first creation and independent/shared use, plus guide/settings callbacks and handoff API regression checks. The client installer remains unsigned; Smart App Control/administrator-policy blocking is unresolved. Choosing manual installation does not establish system trust. Use an empty destination, reopen the original library, and retain the old installation for rollback.
42
+
43
+ ## 2026-11-11 · Plugin 3.0.1 / client 2.0.1 · Update transaction recovery patch
44
+
45
+ Fixes abandoned prepared receipts blocking later updates after a separate Host installation. Under the profile writer lock, archive the complete old receipt and abort only its preparation before staging a new update. Preserve the installed version, candidates and backups, and reject stale confirmations. Publishing/unknown phases, publication backups and active writer locks still require recovery or waiting. Update dialogs distinguish recovery from writer contention.
46
+
47
+ Adds a preparation-only `cancel-prepared` recovery command and bilingual instructions. Archive before cancellation; never roll back a publishing transaction through this command.
48
+
49
+ An installed older version still runs its older updater. An already blocked installation needs one-time safe cancellation of the preparation-only receipt before the normal update to 3.0.1; the not-yet-installed patch cannot repair that updater in advance. This machine's historical receipt was backed up and cancelled. Client 2.0.1 includes the matching repaired backend and plugin.
50
+
51
+ Validation covers real pnpm archive/restage/commit, stale confirmation rejection, writer/publication guards, real Windows service drain and reconnection, and an isolated copy of the installed profile. Synchronizes bilingual records, product feeds and download links. No protocol/storage epoch change or library rebuild. The unsigned client installer still requires an empty destination.
52
+
53
+ ## Plugin 3.0.0 / Client 2.0.0 · Major release
54
+
55
+ Consolidates release, cross-round and visual review fixes. Both products work independently or share one library. Compatibility continues to use the shared protocol, storage generation and negotiated capabilities; changing the product major version does not force migration or rebuilding.
56
+
57
+ - Fixes first-run creation, interrupted initialization, migration, backup restoration, grant renewal, concurrent ingestion and update handoff.
58
+ - External edits within the library trigger scoped maintenance with retryable continuous saves. Startup reads coalesce, healthy indexes are reused, and permission changes hide stale content.
59
+ - Restores shared management control styling, aligned switches, light/dark themes, readable badges, modal scrolling and visible keyboard focus.
60
+ - Checks build/package fingerprints and regenerates real-library launcher pairing metadata for the exact companion plugin.
61
+
62
+ Existing originals stay in place. A version upgrade alone does not migrate or rebuild the entire library. Copy imports watch the library copy, not the external source. The client checks and verifies downloads; installation still uses the installer. Historical host installation constraints and the 2.4.6 recovery boundary remain unchanged.
63
+
64
+ Release tags are v3.0.0 and client-v2.0.0, with separate plugin TGZ, client EXE and product manifests. The installer is unsigned and requires an empty destination. Publication does not install into production. See release assets for checksums and validation scope.
65
+
66
+ ## Plugin 2.5.13 / Client 1.1.4 · Release audit fixes (unpublished)
67
+
68
+ Mixed-version update: keep the base contract stable and negotiate inbox reconciliation separately. Compatible old/new peers share one service; incompatible storage epochs or missing mandatory capabilities reject the new connection while preserving existing peers.
69
+
70
+ Fix fail-open privacy on corrupt source maps and lost mappings during concurrent imports. Original-file backups retain classification catalogs and index policy, and restored libraries undergo a health check. Desktop restore copies receive their own identity and grant, can be reopened, and share one service with the plugin adapter.
71
+
72
+ Interrupted first-time initialization can resume. Launch locks from dead processes are reclaimed only after identity checks; live or unverifiable owners remain protected. Offline migration preserves interrupted staging before rebuilding it, validates the source before completing an unfinished journal, and retains grants for other libraries. Unknown inbox launches now have an explicit reconciliation action that rejects late receipts and avoids blind resending. Local bootstrap credentials renew before expiry without reviving revoked grants.
73
+
74
+ Fix mirror release-note extraction and standalone UI module syntax. Extend CI coverage for first-time setup, index migration, service lifecycle and Windows live updates. Upgrade PDF.js and packaging dependencies and resolve the math renderer dependency advisory. Add fault regressions for source maps, concurrent imports, backup restore, interrupted setup, launch locks, task reconciliation, credential renewal and offline migration.
75
+
76
+ Validation uses isolated synthetic libraries and covers standalone plugin setup, standalone desktop access and a single shared writer. Real user data was not modified. These are unpublished source changes and local candidate packages, not evidence of publication, installation or real cloud-model acceptance. Final validation results are recorded in the release audit report.
77
+
78
+ ## Plugin 2.5.12 · First shared library and inbox workflow refresh
79
+
80
+ On Windows, a new shared library created in an empty folder enables original-file indexing by default. The plugin and desktop client can operate independently or connect to one library. Fully exit and reopen DSH after its first shared-library binding. Existing embedded libraries still require explicit migration.
81
+
82
+ The workflow view refreshes after an update or service reconnect. Inbox organization reads the current workflow revision before starting. A same-library revision conflict retries preparation once, before a session or prompt is created. A library change stops the old request and displays a notice.
83
+
84
+ ## Plugin 2.5.10 · Unified memory integration
85
+
86
+ The workbench uses the versioned interface to read and modify DSH global memory. Linked entries follow their source documents. The Memory panel refreshes on change notifications while connected and returns to library-only entries if the DSH host disconnects.
87
+
88
+ This release includes the safe service handoff from 2.5.9. Pair it with DSH Memory 1.0.14.
89
+
90
+ ## Plugin 2.5.9 · Safe service handoff
91
+
92
+ The updater reuses its verified package while knowledge-base work is active. When idle, it drains the old service, applies the package and uses DSH hot reload where available. Completion requires the new Host and worker to be active.
93
+
94
+ ## Plugin 2.5.8 · Faster library reopening
95
+
96
+ Reopening the same library reuses the current view. File changes and manual refresh update it, and permission changes discard the old view.
97
+
98
+ ## Plugin 2.5.7 · ASAR indexing fix
99
+
100
+ The knowledge-base service treats Electron ASAR archives as physical files. Virtual entries no longer cause repeated file-change errors during index maintenance. Desktop client 1.1.2 remains compatible.
101
+
102
+ ## Plugin 2.5.6 · Linked memory for historical sessions
103
+
104
+ The knowledge bridge uses stored library ownership to read linked memories for historical sessions. A disconnected secondary library returns an explicit status. Pair with DSH Memory 1.0.12. The desktop client remains on 1.1.2.
105
+
106
+ ## Plugin 2.5.5 / client 1.1.2: compatible shared services and manual updates (2026-11-07)
107
+
108
+ Compatible patches no longer require identical runtime fingerprints. Both entry points check the protocol major, full method-contract hash, storage and engine epochs, and required capabilities before reusing one shared service. Verified public 2.5.3/2.5.4 runtimes can remain online while the repaired client joins them. Unknown legacy runtimes or incompatible contracts retain fail-closed handoff behavior. Breaking storage or engine semantics require an epoch change.
109
+
110
+ Help → Updates and manual installation now offers explicit verified download, installer launch and official download-page actions. Cached installers are checked again before launch, with no renderer-supplied executable path. Automatic in-place replacement remains unfinished; save work and close the client before completing the installer. Existing automatic checks/downloads remain available.
111
+
112
+ Thirty focused checks passed, including real Windows services, reproduction using the old connector, different-build joins in both orders, single-writer/original preservation, safe resume and corrupted manual installers. Synthetic libraries are used; no private document body, library migration or paid model is involved. Actual installation/loading evidence is recorded separately.
113
+
114
+ ## Plugin 2.5.4: update delivery and failure dialogs (2026-11-07)
115
+
116
+ A readable version manifest no longer leaves the downloader dependent solely on large raw binary files. Domestic mirrors can serve small base64 parts at fixed digest-addressed paths, with at most three concurrent requests. The assembled archive must pass the existing size, SHA-256 and plugin-format checks. Fixed maintainer-owned GitHub Pages and Release endpoints provide additional fallbacks; arbitrary manifest download URLs are not accepted.
117
+
118
+ Progressing large downloads use an idle timeout with a separate five-minute ceiling. Dismissing an update failure survives navigation and remounts in the page session; an explicit retry can report a new failure. Thirty-six focused tests passed, including integrity failures, redirects, bounded concurrency, slow streams and dismissal recovery. No real private library or paid model was used. Desktop client remains 1.1.1; library migration is not automatic. Legacy downloaders need a verified local TGZ or prefilled verified cache to obtain this first repair.
119
+
120
+ ## Plugin 2.5.3 / desktop client 1.1.1 (2026-11-07)
121
+
122
+ This paired release publishes the previously local original-file index architecture and subsequent fixes. The products share a core and service while retaining independent versions and installations.
123
+
124
+ - Originals stay in place. The index records identity, path, classification, tags and fingerprints. Both products offer migration preview and confirmation; installing an update does not migrate a library automatically.
125
+ - The client adds the original-file classification tree and classification actions, with shared-service visibility checks.
126
+ - Flow cards save model and reasoning settings. Run uses that saved route; the builtin inbox still requires High. Custom-flow preparation no longer enters the builtin inbox-only gate.
127
+ - The task-plan panel fixes width and upward disclosure. Bounded progress reminders ask the model to reconcile actual results during long runs; the observer does not complete tasks itself.
128
+ - Deliverable instructions support existing series folders: task is the folder name, title identifies the issue, and path is library-relative. No per-date folder is required; path and privacy checks remain enforced.
129
+
130
+ Validation uses synthetic libraries and focused checks, with source/archive, build and digest verification. No private library or paid model is used. Historical evidence retains its original scope. Packaging does not establish production installation, running DSH activation, real report generation or external delivery. Client automatic in-place installation and activation remain unfinished.
131
+
132
+ Install the TGZ from v2.5.3 and the unsigned Windows x64 Setup.exe from client-v1.1.1, checking their separate manifests and SHA-256 digests. The client installer requires an empty application directory; save work and exit the old client first. Reload the plugin as directed by DSH or exit including its tray process and reopen, then verify version and build. Existing recovery instructions still apply to blocked legacy 2.4.6 updaters.
133
+
134
+ ## 2.5.0: original-file index architecture (local delivery, 2026-11-06)
135
+
136
+ Plugin 2.5.0 and client 1.1.0 share migration preview, explicit confirmation, original-file identities and classification. Originals remain in place. Classification and fulltext/vector data use the index layer; existing identity and authorization journals remain compatible. Local synthetic checks cover independent and linked service connections and the Electron migration UI. No real private library migration or real model call was performed. This local build is not published to the remote update feed.
137
+
138
+ ## 2.4.14: existing-library framework migration (2026-11-05)
139
+
140
+ Add a read-only preview and explicit confirmation under version settings. Fill missing standard folders, entry templates and framework guidance. Preserve document locations, custom folders, AGENTS rules, manual INDEX and differing templates; bundled reference text is available for review. No automatic reorganization, note rewriting or model calls.
141
+
142
+ Bind the preview to the library and file snapshot. Changed state, path-type conflicts or links stop execution. Failed publication removes only verified additions and empty directories; follow-up user edits are preserved for recovery. The shared service enforces management access and reports the actual core version.
143
+
144
+ Seven migration/UI checks and two existing managed-upgrade checks passed, including a real Windows shared service and EPERM recovery. Package integrity and upgrade activation receive separate focused checks. No real private library was migrated, complete Electron UI or model calls verified. Program updates and library migration are separate; legacy updater limitations remain.
145
+
146
+ ## 2.4.6 migration boundary (2026-11-05)
147
+
148
+ The pristine 2.4.6 updater can block on a missing legacy receipt before downloading any new or transition payload. Its old preparation worker may also resolve unrelated Host dependencies. Publishing 2.4.13 cannot repair that already-running code. Success after a one-time local recovery does not prove zero-intervention upgrades for other users.
149
+
150
+ A separate [2.4.6 migration recovery entry](docs/LEGACY-246-BOOTSTRAP.md) verifies the public old package and transactionally installs the unchanged official 2.4.13 package. It discovers one profile or requires an explicit choice. This is one-time external recovery, not silent automatic migration. Four Windows entry/real-pnpm checks and two client-boundary checks cover dependency preservation, EPERM rollback, busy processes, profile selection and bundled Python. Mismatched historical safe transactions remain a limitation. Universal zero-intervention migration requires an independent Host recovery channel and is not claimed complete.
151
+
152
+ ## 2.4.13: preserve unrelated Host dependency locks (2026-11-05)
153
+
154
+ Resolve only the dependency-free knowledge package in an isolated resolver, then merge its importer, package and snapshot entries into the original pnpm v9 lockfile. Other source specifiers, pinned versions and records remain byte-for-byte intact. Host-internal packages are not looked up, copied or reinstalled. Unsupported or ambiguous locks and cross-package references fail closed.
155
+
156
+ Nineteen update-confirmation checks and eight real-pnpm/transaction checks passed. An isolated copy of the actual profile metadata also prepared successfully while the live manifest and lock remained unchanged. Rollback and crash recovery remain in place. Live installation and activation results are recorded separately from staging success.
157
+
158
+ ## 2.4.12: local dependencies during automatic update staging (2026-11-05)
159
+
160
+ Retain the shared-build and legacy confirmation fixes from 2.4.11. Profile-local relative package dependencies are now copied into isolated shadow staging so pnpm can resolve them without changing their live source specifiers or files. Escapes, links, metadata collisions and relative packages over 64 MiB are rejected. Knowledge libraries and credentials are not staged.
161
+
162
+ Nineteen confirmation checks and seven real-pnpm/transaction checks passed, including dependency preservation, escape rejection, rollback and crash recovery. Live-device automatic upgrade results are recorded separately; downloads, synthetic checks and disk package versions alone do not establish activation of the new running build.
163
+
164
+ ## 2.4.11: shared build status and automatic update confirmation (2026-11-05)
165
+
166
+ Shared POST status omitted the build required for update confirmation, so an already loaded update could remain uncertain indefinitely. Shared status now includes the Host build. The client can read the legacy GET status for compatibility and still requires an exact version/build match.
167
+
168
+ Nineteen focused checks passed, including the original missing-build regression and legacy status confirmation. Existing writer-lock, prepared-transaction and failure safeguards remain. A client already locked by old code needs a controlled compatibility recovery before its automatic flow can resume; publishing a feed cannot change running old code. Verify the pending request against the installed build before recovery. Live upgrade results are recorded separately from synthetic checks.
169
+
170
+ ## 2.4.10: installation confirmation recovery (2026-11-05)
171
+
172
+ Fix an old missing installation receipt keeping the UI indefinitely uncertain with installation disabled. Reconciliation now checks the installed disk build, active safe operation and profile writer lock. A legacy record clears only after the Host confirms its request is absent and authoritative quiet-writer/build checks pass. Elapsed time and failed requests alone never authorize retry.
173
+
174
+ A prepared but unstarted safe transaction can resume the same transaction without another preparation. Target files already installed under an old running Host require a restart. Active, unverifiable and damaged states continue to block blind installation.
175
+
176
+ Seventeen focused checks passed across legacy recovery, locks, active operations, missing journals, installed-but-unloaded files, transaction continuation and completion state. No live user installation, client-cache deletion or forced restart was performed.
177
+
178
+ An old UI already locked by a pending record cannot load this fix through its disabled button. Use the Host's own Settings → Plugins entry once with this official release, then reload when requested. See the recovery instructions.
179
+
180
+ ## 2.4.9: kb_flow output contract (2026-11-05)
181
+
182
+ Fix shared-mode kb_flow results missing the required action field. Both the service router and Host tool boundary retain the requested action on success, domain errors, disconnection and caller-verification failures. Existing validation, error details and success state remain intact; calls are not replayed.
183
+
184
+ Three focused tests passed across all eight actions, the registered Host tool's success/error returns and an isolated real Windows shared service. Synthetic data only; no live user workflow was replayed.
185
+
186
+ A separate memory-plugin 1.0.4 issue was identified: tool-only continuation could replace recalled preferences with an empty snapshot. Its 1.0.5 local fix is delivered separately, is not included here and has not been publicly released or installed automatically. Synthetic classroom-audio checks cover persisted recall and continuation context, not real-user note creation.
187
+
188
+ ## 2.4.8: parsing records in shared-service settings (2026-11-05)
189
+
190
+ Fix management reads being treated as ordinary session reads. OCR/ASR job and submission visibility now follows the authenticated connection's admin grant instead of whether the request mutates state. Settings can see Agent-initiated tasks across sessions while library visibility filtering remains active. Ordinary model tools and read-only grants retain their existing restrictions; management writes still require authorization.
191
+
192
+ Three focused tests passed. An isolated real Windows shared service uses synthetic local OCR/ASR endpoints and a separate Agent session; both settings read paths see running jobs, submissions and completed history. Ordinary sessions, read-only grants and forged input fields do not gain management access. The regression fails before the fix and passes afterward. No live personal library, paid API or full user-UI verification is claimed.
193
+
194
+ ## 2.4.7: service preparation during update handoff (2026-11-05)
195
+
196
+ Keep the workbench API registered during handoff. The client shows a neutral preparation message and continues after readiness. Only requests explicitly rejected before execution may be retried; genuine HTTP 405, lost responses and unknown write outcomes remain errors. Preparation failures and timeouts retain recovery guidance.
197
+
198
+ Nineteen focused checks passed, including a real local HTTP server, exactly one mutation after readiness, failure/timeout boundaries and service lifecycle checks. No additional full regression or live user-instance/UI verification is claimed.
199
+
200
+ # 2.4.6:2.4.3 直接自动升级与恢复(2026-11-05)
201
+
202
+ 沿用本次验证的 2.4.3 直接安装、自然退出交接、条件错误提示和固定旧包恢复。补充 Windows 内置管理员 SID 别名的规范化校验,权限仍要求同一组明确的主体与授权。2.4.5 候选未通过发布环境校验,未创建正式 Release;保留其包字节,后续以 2.4.6 为自动更新目标。
203
+
204
+ Direct 2.4.3 upgrades, natural idle handoff, conditional recovery help and pinned legacy repair are retained. Windows SID aliases are normalized before exact ACL comparison. The unpublished 2.4.5 candidate is preserved; 2.4.6 is the follow-up distribution.
205
+
206
+ [升级错误恢复说明 / Recovery instructions](docs/UPDATE-RECOVERY.md)
207
+
208
+ [升级报错后的手动恢复说明 / Upgrade error recovery](docs/UPDATE-RECOVERY.md)
209
+
210
+ ## 2.4.5: direct 2.4.3 updates and legacy service handoff (2026-11-05)
211
+
212
+ Restore the stable feed for direct updates from normal 2.4.3 installations. Identify the published legacy runtime by its exact fingerprint, release the probe connection and wait for its existing idle lifecycle to finish. Require matching process identity and a clean receipt before starting the new service. Never send legacy shutdown or terminate other clients/tasks; timeout offers recovery guidance.
213
+
214
+ The new client shows recovery help only after an installation or handoff error. A 2.4.3 pnpm failure before new code loads retains the old error UI; its existing release-notes link leads to recovery instructions. Do not claim the new popup exists in that old client. The recovery bundle can reconstruct damaged 2.4.3 code from the pinned public archive, preserving residual files and profile metadata before a transactional upgrade.
215
+
216
+ Windows evidence uses the actual public 2.4.3 archive, a live service and real pnpm. Initial legacy installation still runs through the old Host installer and cannot retroactively acquire transaction protection. Recovery is the fallback on failure. No live user profile installation or complete Electron UI automation is claimed; other legacy versions are outside this targeted verification.
217
+
218
+ ## 2.4.4: safe Windows updates and rollback (2026-11-05)
219
+
220
+ - Run pnpm only against an isolated profile-metadata copy. Verify the archive, build inventory and staged files before touching the live package.
221
+ - An admin-authorized drain protocol refuses other connections and queued/running parsing, import or flow work. Require a clean shutdown receipt and process exit before switching complete directories.
222
+ - Retain the previous package and metadata in a private transaction directory. Failed publication restores and verifies the old files. Durable receipts support recovery after installer interruption and prevent unknown outcomes from being reported as success or retried blindly.
223
+ - The safe feed is release-manifest-v2.json. Legacy release-manifest.json distribution is disabled so old updaters cannot execute the unsafe in-place path. Versions through 2.4.3 need the transition installer once, after exiting the Host and connected clients. A legacy service without the drain protocol is refused.
224
+ - Successful installation requires a Host restart. Embedded mode, missing drain capability, unsupported dependency layouts and incomplete previous installations fail closed.
225
+
226
+ Evidence: 35 focused Node checks, 5 real-filesystem/real-pnpm transaction tests and 1 composite live-service scenario on Windows passed. The scenario covers legacy 2.4.3 refusal, busy connections/tasks, a protocol-capable service using the old package Python, exact restoration after a real 2.4.3 package switch fails, successful upgrade/restart and preserved synthetic originals. Forward safe-protocol upgrades and the unmodified legacy transition are distinct paths. No live user profile installation, real-model evaluation or complete UI regression was performed.
227
+
228
+ ## 2.4.3: source synchronization and Windows parsing jobs (2026-11-05)
229
+
230
+ - Merge text-original retrieval and citation synchronization. Archived text is searchable; edits refresh source records and ranges. Legacy generated mirrors resolve to current originals while independently authored summaries remain searchable.
231
+ - Preserve exclusions across related originals and derived records, reuse unchanged embeddings, and support PDF rendering with non-ASCII paths and versioned Python executables.
232
+ - Serialize parsing-record reads and atomic replacements in one process, including separate service instances. External locks receive bounded retries; exhausted writes preserve the old record and clean up temporary files.
233
+ - Catch background failures during submission, retry and startup recovery. Persist failure diagnostics where possible, report persistence failures, and release heartbeats and running registrations.
234
+
235
+ Windows focused verification passed 73/73 tests: 68 existing checks and 5 injected-failure regressions. Synthetic inputs and transport stubs do not establish real OCR/ASR quality, automatic PDF/Office re-indexing, native source-position mapping or complete desktop compatibility. The independently released client remains 1.0.3; its installer is not rebuilt for this release.
236
+
237
+ ## 历史记录 / Earlier releases
238
+
239
+ # Unified repository source · 2026-11-04
240
+
241
+ Source versions: client 1.0.1 / plugin 2.4.1. Consolidated desktop app, shared core/service, optional memory integration adapters and existing installer source. Both products use this repository for ongoing development. No binary Release is published by this documentation change; the public plugin manifest remains 2.3.1. Historical entries below describe the plugin unless stated otherwise. [Client release notes](docs/client/RELEASE.en.md).
242
+
243
+ # 2.3.1: inbox requests and task-state fixes (2026-11-03)
244
+
245
+ - Inbox organization sends exactly “帮我整理并归档收件箱内文件”, without the generic workflow or directory wrapper. Model selection and High reasoning effort remain in effect.
246
+ - OCR/ASR history refreshes in the background without inserting a loading row. Concurrent progress events share an in-flight request, preserving the list position and expanded details.
247
+ - Knowledge-base shell calls can supply a missing display-only description. Execution arguments, tool visibility, and permission decisions continue through the original tool.
248
+ - Conversation plans receive step-update guidance and at most one reconciliation request before a turn stops. The dock uses live host status: an unfinished step in a stopped session is shown as unconfirmed, while completion counts still come from recorded todo updates. Waiting for user confirmation is shown separately.
249
+
250
+ Validation used targeted checks, synthetic dispatch through the installed DSH tool runtime, and Edge scenarios for task refresh and todo lifecycle. Policy denial and tool restrictions remained effective. Production desktop installation, real model completion quality, and real cloud OCR/ASR are unverified.
251
+
252
+ # 2.3.0 maintenance: inbox moves and one-click organization (2026-10-31)
253
+
254
+ [English](RELEASE.en.md) · [简体中文](RELEASE.md)
255
+
256
+ - The desktop Inbox reads files directly from the current library's `90-收件箱/` directory. Selecting or dropping a file moves the original into that directory without Base64 upload or a separate capture record. The desktop move has no 8 MiB application limit. Name collisions receive a numbered suffix; transfers across volumes are copied and verified before the source is removed. Failed moves preserve the source. The mobile capture page retains its upload limit.
257
+ - Fixed the missing `remote.session` dependency when one-click organization selects a model. Failed model selections stop submission. Errors now distinguish a task that was never sent from a send whose outcome is uncertain; neither is automatically retried.
258
+ - The organization request contains only “整理并归档收件箱内的文件。” The knowledge Agent and plugin supply the operating rules. The selected model and High reasoning effort still apply.
259
+
260
+ The version remains 2.3.0. This maintenance change updates repository source and its bundled installer; it does not move the existing `v2.3.0` tag or replace Release attachments. Eight targeted tests and workflow probes passed using synthetic materials and host-service substitutes. Production DSH installation and real model execution remain unverified.
261
+
262
+ # 2.3.0 stable: unified desktop UI (2026-10-30)
263
+
264
+ [English](RELEASE.en.md) · [简体中文](RELEASE.md)
265
+
266
+ - Fixed OCR/ASR submissions being incorrectly rejected for a knowledge-base Agent in an ordinary desktop host. Without H1, submission now checks a live knowledge-base root session or current delegation authorization. Explicit `parse.allowWithoutIsolation:false` still requires H1, and an enabled but unready H1 does not fall back. An authorized knowledge-base session in a separate workflow workspace can parse originals in the currently bound library. The source-authorization entry now preserves the actual rejection code and reason, so isolation failures are not misreported as missing knowledge-base permission. Six targeted checks passed, including submission and result retrieval for fictional originals through simulated local OCR/ASR services. No real model was called.
267
+
268
+ - Every OCR/ASR submission record now has **View details**, including rejected submissions. Details show the original failure text and code, request ID, time, source file, originating session/Agent/preset and authorization entry point, library ID, and related task. When an execution task exists, users can continue to its details and result preview. Missing information in older records is labeled as not recorded.
269
+
270
+ - OCR/ASR submissions are explicitly marked as results from **that submission**. Historical rejections can be expanded to show the original message, so they are not mistaken for a current inability to view task records. Permission errors in older records may reflect an older generic message for isolation failures.
271
+
272
+ - Fixed a layout conflict in the desktop host settings dialog. When the content area is narrow, category navigation moves to the top and wraps; the settings form fills the area below. Wider pages retain a side-by-side layout. The decision uses the width of the settings content area.
273
+
274
+ - The awaiting-archive list now filters system navigation files such as `README.md` (case-insensitive), `INDEX.md`, `AGENTS.md`, and `知识库清单.md`. The same files remain filtered after moving into the excluded-index section. This only filters the organization list; it does not delete system files.
275
+
276
+ - Corrected the awaiting-archive list to exclude the Inbox's `原件归档` and legacy `_archive` directories, including historically archived originals without processing records. The UI and AI `kb_inbox` list share this filter. Automatic and manual backup destinations now have a **Choose folder** button using the host folder picker; manual path entry remains available.
277
+
278
+ - Knowledge Base tabs and host settings now share fonts, theme colors, cards, forms, and button rules. Standard form controls and buttons are 36 px tall, with light and dark themes.
279
+ - The Inbox foregrounds drag/select, the organization model, and one-click organization. Pending and archived material details both use an **Exclude from index** switch: on means excluded; off means normally indexed. Batch updates remain available. Details stay open after material moves instead of collapsing on refresh.
280
+ - Host settings group library and import, preferences and privacy, retrieval, parsing, capture, backup, and version. The workbench and host reuse the same preference form. Changing host-setting categories preserves unsaved retrieval fields. Technical runtime details are collapsed by default.
281
+ - [Editable Figma design](https://www.figma.com/design/9O89rqsKJ8ufkiPQGhqGTn). The shared style source is `src/client/knowledge-ui.css`; a synchronization script embeds it into the client and validates it through the build inventory. This work covers desktop only and adds no mobile adaptation.
282
+
283
+ Verification: all 9 targeted checks passed. Edge checks with a fictional library covered file selection/drag-and-drop, individual and batch exclusion, model selection and send order, saving host settings and switching categories, toggling exclusion for archived materials, and rendering light/dark desktop themes. Host services were test substitutes; the build was not installed in a production DSH host and no real model was called. Version 2.3.0 is published as a stable release.
284
+
285
+ # 2.3.0 stable: inbox entry and one-click organization (2026-10-29)
286
+
287
+ - Added a material-exclusion policy. Pending cards support per-item or batch changes; archived materials can also be changed in details. Originals and registered derivatives move together into **Excluded from index**. Exclusion removes full-text, vector, and relationship entries. Removing exclusion restores the original classification and rebuilds full-text and relationship indexes; enabled vector services fill their index in the background.
288
+ - Unarchived items are not included in full-text, vector, or relationship indexes. A knowledge-base Agent reads and organizes them directly through the pending-item list. Archived outputs inherit the source's exclusion state. Parsed text remains viewable within the excluded section. Completed items leave the pending list.
289
+ - File moves retain checksums and progress. A same-named file with different content is not overwritten. Failure retains the state that blocks retrieval and can be retried. The previous vector generation is cleared before eligible items are rebuilt. See the [index-mechanism guide](RETRIEVAL.en.md).
290
+
291
+ - The Inbox supports dropping or selecting multiple files. Each is saved immediately and the full Inbox is listed, including files added manually. The 8 MiB limit still applies per file; duplicates are skipped and each add result is shown.
292
+ - **Organize now** has a model selector and remembers the last choice per library. It creates a knowledge-base Agent session with the selected model and High reasoning effort. The fixed organization/archive instruction is sent only after model selection succeeds. If the model is unavailable, does not support High, or selection fails, no task is sent. The built-in workflow can also select a model when run from the Workflow page.
293
+ - The Workflow page permanently lists **Organize and archive inbox**, which also runs in a new session. The built-in workflow cannot be edited, disabled, or deleted. Existing text, web, and capture records are collapsed under an auxiliary entry.
294
+
295
+ Verification: targeted backend checks on a fictional library and Edge checks for file selection, drag-and-drop, file display, and session send order passed; desktop and narrow-screen checks showed no horizontal overflow. The host session service was a test substitute; no real DSH installation or model organization was run. Version 2.3.0 has been published as a stable release.
296
+
297
+ # 2.3.0 stable: session-directory sidebar entry (2026-10-28)
298
+
299
+ - Added a **Knowledge Base** row in the left session directory alongside plugins and scheduled tasks (order 20). Opening it shows the same workbench; the top **Knowledge Base** tab remains, and both entries use the same data.
300
+ - The row and global panel are registered as a pair: row `id` and panel `key` both use `kb-panel`. The host renders the row; the plugin supplies its icon (`stroke` uses `currentColor` and follows the theme).
301
+ - No setting, data migration, or index rebuild was added. First-run setup remains available from the tab or plugin settings.
302
+
303
+ Verification: targeted checks and a same-layer mirror probe checked row/panel pairing, label, order, and icon attributes. A browser tool was unavailable, so actual rendering in the host was not observed. The probe only mirrored rules read from the host. Rollback remains unchanged.
304
+
305
+ # 2.2.1: execution model for custom workflows (2026-10-27)
306
+
307
+ - When adding or editing a workflow, users can save an execution model and reasoning effort. Models come from services configured in the current host; effort choices follow the selected model, and changing models clears the previous effort.
308
+ - **Run now** first lets users choose the model, reasoning effort, and parameters for this run. One-run changes do not replace workflow defaults. A new session completes model selection before sending the task; failure does not start it.
309
+ - Background workflow steps use the saved model settings as well. Older workflows that specify no model continue to use the existing default route; no manual migration or index rebuild is required.
310
+
311
+ Targeted checks passed for workflow-setting persistence, edit/reload round trips, one-run overrides, model selection before sending, and blocking after failure. Per-file package and digest checks passed. The package was not installed in a production DSH host and no real model was called.
312
+
313
+ The host loads the upgrade. Fully exit DSH, including the tray process, only if the host requests a restart. Rollback can reinstall the previous 2.2.0 stable package. This change does not alter knowledge text, bindings, credentials, or index formats.
314
+
315
+ # 2.2.0: stability and foundational performance (2026-10-27)
316
+
317
+ - Cache validated body indexes and reuse source text and line positions within the same request, while retaining exact ranking, permission checks, and citation checks.
318
+ - Share watchers for the same root and coordinate foreground/background maintenance. Unchanged relationship snapshots are not written again; large derived JSON is published in synced segments.
319
+ - Improve backoff and recovery from temporary read/write failures, preserve identity and abnormal-deletion protection, and fix source folding for Windows short paths.
320
+ - Add no runtime dependency, setting, manual migration, or compatible-vector rebuild. Version 2.2.0 shipped as stable but was not installed in the user's production host.
321
+
322
+ See the [optimization record](EXISTING-FRAMEWORK-OPTIMIZATION.en.md) for verification and benchmark conditions.
323
+
324
+ # 2.1.5: exact retrieval in the existing framework for large libraries (2026-10-26)
325
+
326
+ - Reuse line positions for long text, retain every candidate needed for the original ranking, and scan large vector working sets in windows while keeping full scoring and checksum checks.
327
+ - Add retention budgets for body, chunk, and manifest caches; reuse unchanged manifests; improve scope filtering, batch index-input generation, concurrency limiting, and cancellation of active queries.
328
+ - Accelerate existing name-substring suggestions and fix relationship refreshes returning the old file list after waiting on an earlier scan.
329
+ - Plugin settings show only the version; build IDs remain in internal update and integrity checks.
330
+ - Keep models, chunk versions, disk indexes, and Q&A protocol. No compatible index rebuild is needed. SQLite/USearch and a new evidence protocol were deferred and are not in this release.
331
+
332
+ Synthetic comparison: for 20,000 1,024-dimensional vectors, warm-query median changed from about 553 ms to 180 ms and peak RSS in separate processes from about 418 MB to 201 MB; ranking and coverage matched. All 71 related checks passed. Full vector reads remain 81.92 MB per query and the Q&A context budget is unchanged. Windows and real libraries of hundreds of GB were not accepted. See the [optimization and validation record](EXISTING-FRAMEWORK-OPTIMIZATION.en.md).
333
+
334
+ # 2.1.4: background-update and completion-state fixes (2026-10-26)
335
+
336
+ - Stable releases eligible for automatic installation within the same major version now download, verify, and install silently rather than also showing an **Update available** prompt. Major-version and preview-channel changes remain manual.
337
+ - Once the host build and client version confirm the new build loaded, shared version state is refreshed, the installed-version notice is removed, and a new check starts. A late pre-update result cannot restore stale state.
338
+ - Stable patch upgrades do not show release notes. Minor or major changes do, combining unread patch notes. Preview releases continue to show notes for every upgrade.
339
+
340
+ Verification: 26 targeted checks and client syntax checks passed for silent notices, completion state, late checks, hot-load recovery, and release-note read state. An upgrade was not installed in a real DSH host.
341
+
342
+ # 2.1.3: responsiveness and retrieval optimization (2026-10-26)
343
+
344
+ - The workbench and relationship graph coalesce event-driven refreshes, reducing repeated five-second scans. Visible pages keep a 60-second fallback and refresh on return or focus. Retrieval settings update from task events; relationship indexing adds completion/failure notices.
345
+ - The retrieval worker reuses a versioned material directory, term frequencies, and postings, sending only changes to materials. Vector shards use a bounded cache and retain file-fingerprint and per-vector checksum checks.
346
+ - Each shard is opened and synced once per build batch; the manifest is committed only after all data is persisted. Interrupted-build recovery, old generations, privacy filtering, and source-citation verification remain. Local phase timings and cache counts were added without sensitive-content logs.
347
+
348
+ Synthetic benchmark: for 20,000 single-chunk materials, worker warm-query p50 changed from about 109 ms to 17 ms and p95 from about 129 ms to 40 ms; cold queries became slightly slower. These numbers do not predict a real personal library, model API, or whole-interface response time. See the [performance record](PERFORMANCE.en.md) for the method and cache boundaries.
349
+
350
+ Verification covered targeted regression, ranking consistency, cache isolation, damaged shards, recovery after sync failure, and refresh scheduling with a real browser, watcher, and SSE. The complete DSH React host, production desktop installation, and real cloud APIs were not verified. No personal knowledge base was read. Parallel scanning remained conditional.
351
+
352
+ Upgrade preserves materials and disk-index formats. Follow the host's load/restart request and verify version 2.1.3 against the build ID in the release manifest. Rollback can reinstall stable 2.1.2. Patch upgrades follow the existing rule of no release-notes dialog; their notes remain available for a future minor-version summary.
353
+
354
+ # 2.1.2: full-screen relationship canvas (2026-10-26)
355
+
356
+ The relationship graph gained **Full-screen canvas / Exit full screen**, expanding both graph and relationship list across the application window. The canvas adapts to the actual region's aspect ratio to reduce empty space on wide displays. Zoom, dragging, fit, and node details remain available. Esc exits full screen first; changing tabs or opening link checks closes it automatically. Full-screen state is not persisted.
357
+
358
+ Full screen means the application window. On entry and exit, pane widths return to their defaults without overwriting prior drag preferences.
359
+
360
+ Verification: the source build had already passed synthetic-host browser acceptance. This release ran syntax, targeted regression, package consistency, and privacy checks. It was not installed in a real DSH desktop host. Transforms, filters, or containment on host ancestors may limit the fixed-position overlay. No real model or cloud API was called.
361
+
362
+ The new build was still labeled 2.1.1 in the delivery directory and was unified as 2.1.2 for stable release, with a recalculated build ID and package digest. Rollback can reinstall the previous 2.1.1 package.
363
+
364
+ # 2.1.1: cleanup of download entry points
365
+
366
+ The current installation entry is now stable 2.1.1. Older preview packages and website copies were withdrawn. The preview channel shows **No preview available**; an out-of-sync older mirror preview is not recommended as current. The website installation guide and download links were synchronized.
367
+
368
+ # 2.1.1: inbox and page-scrolling fixes
369
+
370
+ The browser-extension guide in the client gained **Download browser extension**, which selects Gitee, GitCode, or GitHub automatically and changes source after a download or file-verification failure. Only if all sources fail does it show the reasons and fallback links. README, usage guide, and development record were updated with regional download sources.
371
+
372
+ Inbox lists and details can move a capture original to Trash, where it remains recoverable for 30 days after confirmation. An original capture can be deleted independently even after its knowledge note is removed. The workbench stays within the visible area, top navigation remains fixed, and lists and details scroll independently with natural scroll chaining at boundaries. Preview details reserve scrolling space for the host composer at the bottom.
373
+
374
+ # 2.1.1: icon update
375
+
376
+ The plugin adopted a unified book-page and knowledge-node icon for the desktop plugin list, web quick-capture entry, browser-extension toolbar/popup/settings, and product showcase. This update changes branding only; it does not change behavior or version.
377
+
378
+ The stable installer, browser-extension package, showcase, and release digest now use the same icon.
379
+
380
+ ---
381
+
382
+ # 2.1.0 stable release
383
+
384
+ This release promoted verified 2.1 preview features to stable and retained 2.0.3's automatic stable updates within the same major version.
385
+
386
+
387
+
388
+ ## 2026-11-05: plugin 2.4.2 / desktop client 1.0.3
389
+
390
+ Desktop feedback now creates public GitHub Issues through Cloudflare Workers and D1 without requiring users to log in. Users explicitly confirm publication of entered text plus version/build information. Library files, logs and device paths are not attached automatically. Credentials remain server-side Secrets. Receipts prevent duplicate creation; uncertain outcomes are reconciled. Submission limits apply.
391
+
392
+ New trash archives stay in library metadata on the library volume. Legacy archives remain readable, cross-volume restoration copies and verifies before publication, and failure recovery requires evidence that the source was unchanged and never moved. Reconnection refreshes retain the existing snapshot.
393
+
394
+ Plugin 2.4.2 enables stable update checking/preparation in shared-service Hosts, accepts verified manifests up to 1 MiB, and distinguishes offline/local/preview/ahead states. Bundled Python helpers are verified and copied to a persistent content-addressed location outside the replaceable plugin directory. Existing bindings, configuration, parsing records and service identity are retained. The optional offline installer refuses active clients, backs up and compares state, and invokes the existing package manager. Actual installation and Host activation remain user-operated.
395
+
396
+ Evidence includes feedback tests, live deployment Issues #46/#47 with duplicate receipts, isolated two distinct volumes trash/restore checks, the service file lifecycle, Windows package-directory renaming while a copied helper remains alive, and reopening synthetic 2.4.1 state. Offline installer package-manager calls are mocked. These checks do not establish live-model quality, real-library load performance, full Office fidelity or availability on every network.
397
+
398
+ The products retain independent versions, manifests and digests. Client update checks and verified downloads work; automatic in-place installation/activation remain unfinished. Mirror attachments become available after successful synchronization and verification.
399
+
400
+
401
+ ## Client 1.0.2 · 2026-11-04
402
+
403
+ Isolate the installer launch environment, remove synchronous first-paint IPC, prepare the library service in the background, focus the existing window on repeated launches, and recover retries after an initial connection failure.
404
+
405
+ Splitters preview widths once per frame and commit on release. PDF, image and floating-window size observers settle before expensive rendering. Cancellation, blur and splitter unmount release drag state.
406
+
407
+ Feedback copies entered text plus version/build information to the system clipboard. No feedback server, upload endpoint or automatic Issue creation is connected; submit copied feedback manually to repository Issues.
408
+
409
+ Validation used isolated sample libraries: production build, 22 focused tests, nine UI checks, install-to-first-launch, failed-connection recovery and final installed-build startup/unmount checks. The old intermittent white screen was not consistently reproduced; these checks do not establish a unique root cause or real-library performance. No private data or live-model evaluation is included.
410
+
411
+ Update checks and verified downloads are available; automatic in-place installation and activation remain unfinished. Plugin version stays 2.4.1.
412
+
413
+
414
+ ## Stable release record
415
+
416
+ - GitHub Release: [`v2.1.0`](https://github.com/KingsleyAsher/Personal-Knowledge-Base/releases/tag/v2.1.0), published. The original release was merged into `main` by PR [#25](https://github.com/KingsleyAsher/Personal-Knowledge-Base/pull/25), commit `bf41c52c088495596c619af30b38a4a4bc43a3e1`.
417
+ - PR [#26](https://github.com/KingsleyAsher/Personal-Knowledge-Base/pull/26) synchronized the release record, bundled documentation, installer, website download copy, and digest manifest to `main`, merged as `5abc0bbfd37162e91343906aa761a37ea590639f`. This was a documentation and release-metadata sync; build ID remained `37b7ff660806754d`.
418
+ - The authoritative package byte count, SHA-256, and per-file digests are in [`release-manifest-v2.json`](release-manifest-v2.json).
419
+ - Product showcase: [Personal Knowledge Base 2.1.0](https://kingsleyasher.github.io/Personal-Knowledge-Base/). Stable-release workflow and Pages deployment both passed.
420
+ - Gitee mirror sync succeeded; the GitCode mirror workflow failed. Mirror results are recorded separately from GitHub Release status.
421
+ - The stable package was not installed on the maintainer's machine, and no real cloud Embedding/Rerank API was used.
422
+
423
+ - Multilingual hybrid full-text and vector retrieval: parallel recall, one round of bidirectional local supplementation, RRF fusion, exact matching, and source deduplication.
424
+ - Long text is chunked by structure and linked to sections and source positions; necessary context is restored for hits without narrowing the original evidence scope.
425
+ - Built-in SiliconFlow BGE-M3 configuration, generic Embedding and Rerank APIs, and automatic incremental indexing after saving and enabling.
426
+ - Indexes are under `索引层` at the library root; space uses KB/MB/GB estimates. API keys use encrypted credentials and are not reset on upgrade.
427
+ - Reuse the retrieval worker, tokenization, reads within a request, and vectors for simultaneous in-flight queries; follow up on evidence gaps. Final answers are not cached.
428
+ - The Q&A protocol reduces resending full answers and retains the blue knowledge-base reference, source links, and a short retrieval summary enabled by default.
429
+ - Added final citation checking. A missing citation or skipped review can trigger at most one targeted correction. An initial draft may stream first; the check does not prove every fact is correct.
430
+ - Added mechanism-version checks, compatible index upgrades, and managed-file difference handling while preserving user edits and `AGENTS` rules.
431
+
432
+ ## Companion memory patch
433
+
434
+ The Release attachment `memory-evolve-context-fix.zip` separates titles, aliases, and review/write reminders from stable memory so small changes do not trigger a large reinjection. It does not delete body text, reduce rule budgets, or rewrite existing session history. Real memory updates and other plugin changes can still add context. Installing only the knowledge-base package does not change the memory plugin automatically.
435
+
436
+ The patch is a separately applied, reversible code change for a specific `memory-evolve` baseline. It contains no maintainer memory data or device paths. See the [patch guide](companion-memory/README.en.md).
437
+
438
+ ## Updates and verification
439
+
440
+ Users confirmed the preview build was usable on a real device. Before the stable release, version, manifest, package, and download entry were resynchronized. Release preparation ran targeted checks, source/archive consistency, and public-content checks. No large stress test or live cloud request was added.
441
+
442
+ All 25 targeted automated checks passed, as did per-file package-digest checks, the stable-release workflow, and the showcase deployment. The release manifest explicitly says the stable package was not installed in production by the maintainer and no real cloud model was called.
443
+
444
+ Upgrading does not automatically remove duplicate content accumulated in existing sessions. After a full restart, verify in a new session. Review pending differences in custom rules or presets in Knowledge Base Settings.
445
+
446
+ ---
447
+
448
+ # 2.0.3 patch release
449
+
450
+ - Stable minor and patch updates within the same major version download, verify, and are handed to DSH for installation. Major-version and preview updates still require manual selection.
451
+ - Retains the existing **Update available** prompt, dismissal record, and post-install release-note rules.
452
+ - If the host has no client installation interface, updates continue through the DSH plugin manager.
453
+
454
+ This was a patch release and showed no post-install release-note dialog under the stable-release rule.
455
+
456
+ ---
457
+
458
+ # 2.0.2 patch release
459
+
460
+ - Removed maintainer device paths, account directories, local service addresses, and personal-library directory examples from public materials and packages. Local OCR/ASR paths now come from user configuration or discovery in the current environment.
461
+ - Changed the bundled knowledge-base Skill to generic safety guidance, without personal-material directories, account paths, or private workflow examples.
462
+ - Added pre-release documentation privacy scanning and fixed the public-content privacy boundary in the plugin design/development record.
463
+ - Removed bundled material copies from old release assets and published the reviewed 2.0.2 package.
464
+
465
+ This was a patch release and showed no post-install release-note dialog under the stable-release rule.
466
+
467
+ ---
468
+
469
+ # 2.0.1 patch release
470
+
471
+ - Combined update notes into one list of changes since the previous read. Historical version grouping was removed, duplicate items are shown once, and multi-version summaries and read-state-on-dismissal remain.
472
+ - Added the [plugin design and development record](PROJECT-RECORD.en.md), covering product goals, architecture, data and permissions, implementation, source index, roadmap, future directions, and capability boundaries.
473
+ - Added documentation links near the top of the README, in workbench settings, and in DSH Personal Knowledge Base settings. Documentation ships in the package, and release checks require its version to match.
474
+
475
+ Under the patch-update rule, upgrading from 2.0.0 to 2.0.1 shows no post-install notes. Users upgrading from an earlier major/minor release or preview see the combined notes under the existing rules.
476
+
477
+ ---
478
+
479
+ # 2.0.0 stable release
480
+
481
+ This release moved the Knowledge Base workbench from preview to stable, unifying navigation and layout for Overview, Library, Relationships, Inbox, Reading and Excerpts, Review, Workflows, and Settings. The graph uses an index maintained as files change; users can choose a center material, view library sections, trace links, and repair evidence. Ordinary writable files can be moved to Trash and restored within 30 days; system files are protected. OCR/ASR requests use the managed parsing channel with task and submission records, and results return to the originating session.
482
+
483
+ The header and Settings share update state. Stable users receive notices only for new stable versions; preview users receive notices for new versions in either channel. Installation requires a user click. See [`VERSIONING.md`](VERSIONING.en.md) for version formats and migration comparison with historical `2.0.2-betaN` versions.
484
+
485
+ Post-install release notes depend on version changes: stable major/minor upgrades show a dialog; patch-only upgrades do not; every preview upgrade does. If several versions were skipped, one dialog summarizes the interval and records the read version when closed. This is separate from the **Update available** prompt.
486
+
487
+ Upgrading does not actively delete the user's knowledge base. For rollback, use the plugin package and configuration backup saved before installation. Trash files live in a protected area inside the library; before downgrading to a version without Trash support, first identify any files that need restoration.
488
+
489
+ ---
490
+
491
+ # 1.1.6 stable: automatically select an available update source
492
+
493
+ Simplifies updates based on regional sources: after **Update**, choose an available address automatically, download and verify the package, and hand it to the host for installation. Normally the UI does not list sources, addresses, or an individual source's failure. It shows reasons and fallback entries only if all sources fail. Users can still choose stable or preview. This release did not include the workbench.
494
+
495
+ Corresponding preview: 2.0.1-beta3. Older packages were retained.
496
+
497
+ ---
498
+
499
+ # 1.1.5 stable: regional update sources
500
+
501
+ A minor update to 1.1.4. Added checking and downloading from Gitee, GitCode, and GitHub while preserving user choice between stable and preview. No knowledge-base workbench was included.
502
+
503
+ - Read all manifests concurrently and use the newest available version so a lagging mirror does not hide a newer release.
504
+ - Block updates if digests for the same version differ; switch sources after download or verification failure.
505
+ - Expand the source list to see each source's status and stable/preview package entry points.
506
+ - GitCode uses its official raw-file API. Gitee permits HTTPS redirects only to platform file domains.
507
+ - Checking for updates does not download or install. Materials, bindings, and settings are retained.
508
+
509
+ Stable: 1.1.5. Preview: 2.0.1-beta2. Older users must install this update before they can use regional sources.
510
+
511
+ ---
512
+
513
+ # 1.1.4 stable: optional update channel
514
+
515
+ Based on 1.1.3; adds separate checks and notices for stable and preview updates, with the user choosing whether to download/install. The knowledge-base workbench is available only in preview 2.0.1-beta1.
516
+
517
+ - Older users receive stable 1.1.4 through the existing **Check for updates** entry.
518
+ - After installing 1.1.4, check both stable status and optional preview updates.
519
+ - A check does not download or install. Those actions happen only after selecting a preview.
520
+ - If the preview manifest is unavailable, stable checks remain available. Before installation, version, package identity, size, and SHA-256 are checked again.
521
+ - Existing materials, bindings, and settings remain; no workbench onboarding was added.
522
+
523
+ Historical 1.1.4 and 2.0.1-beta1 packages were removed from public downloads. Their notes remain only as feature history.
524
+
525
+ Update-channel, existing update-installation, and import-authorization regressions passed with simulated services. Real DSH installation still required device acceptance.
526
+
527
+ ---
528
+
529
+ # Personal Knowledge Base 1.1.3
530
+
531
+ This release fixed two gaps: previously `kb_import action=parse` did not pass through `kb_parse` caller-authorization and H1-state checks. Now only a host-confirmed knowledge-base root session or a still-authorized knowledge-base subagent can parse, and H1 must be ready. Task records retain the authorization source. A model-supplied `providerId` cannot change the default in Settings.
532
+
533
+ Update notices now use a unified close handler for the button, backdrop, and Esc key. Closing with Esc also saves the read state for this release.
534
+
535
+ At the time, notices showed only those explicitly selected by the maintainer. Starting with 2.0.0, post-install notes instead follow the version-change rules above. Historical read records for 1.1.1, 1.1.2, and 1.1.3 are used only to migrate old state.
536
+
537
+ Added one-click in-client updates: **Update now** downloads a package from a fixed repository, checks size, SHA-256, package name, version, and archive path, then hands it to the native DSH plugin manager. When hot loading is supported, the plugin loads directly; a host `restart-required` result shows a restart prompt. A persisted request ID recovers results after hot-load disconnection. Success is shown only when the actual host build and client version both match; if only the UI was not replaced, a refresh-UI action is provided. Download, validation, and installation failures are explicit. If the result is unknown, duplicate installs are blocked and a verification entry is offered. A late response from an older module cannot overwrite a later update record.
538
+
539
+ The historical 1.1.3 package is no longer publicly downloadable. Older versions must first install the current stable package through the host plugin manager, then adopt the new updater.
540
+
541
+ Showcase URL: `https://kingsleyasher.github.io/Personal-Knowledge-Base/`. After merge, GitHub Pages Actions published the 1.1.3 page and package download.
542
+
543
+ Regression tests cover rejection of unauthorized or forged callers, missing or unready H1, revoked authorization, recording the authorization source, and persistence of the read state after Esc. No 1.1.3 DSH-device launch acceptance or real paid cloud API verification was performed.
544
+
545
+ One-click update validation used an isolated temporary directory and simulated native-service results. The native DSH 0.2.1-rc.2 source contracts for `installBundle`, `waitForInstall`, and HMR were inspected. As requested, the desktop installation remained on 1.1.2; its upgrade and hot loading were not actually run.
546
+
547
+ ## 2026-11-04: shared versions and fully automatic update policy
548
+
549
+ Shared naming, ordering and packaging validation. Plugin major/preview candidates are automatically eligible, retaining channel preference, payload checks and busy/uncertain-operation guards. No update-confirmation modal; post-install notes retain their existing rules. The client online executor remains unfinished. Source policy change only; no new binary publication.
550
+
551
+
552
+ ### 2.5.1 task plan follow-up (2026-11-07)
553
+
554
+ Task plan disclosure and list symbols now use vectors/CSS rather than font-dependent characters. During long knowledge tasks, bounded pre-step checkpoints request truthful todo_write progress updates instead of waiting until the final response. No step is automatically marked complete from tool count or elapsed time. Install the local update package and fully restart DSH to load host changes; real long-task behavior remains an installed-host verification step.
555
+
556
+
557
+ ### Local update 2.5.2 (2026-11-07)
558
+
559
+ The task plan expands upward above the composer: its arrow now points up when collapsed and down when expanded.