@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
@@ -0,0 +1,148 @@
1
+ ## 插件 2.5.3 / 客户端 1.1.1(2026-11-07)
2
+
3
+ 本次统一发布此前本地交付的原件索引架构及后续修正,两端继续使用同一共享内核与服务,独立安装、独立版本。
4
+
5
+ - 原件保持原位;索引层记录身份、路径、分类、标签与指纹。插件和客户端提供迁移预览与确认入口,程序更新不会自动迁移资料库。
6
+ - 客户端增加原件分类文件树及分类操作,分类与隐私筛选由共享服务执行;既有文件、绑定及资料库身份保留。
7
+ - 流程卡保存模型与推理配置,运行使用已保存配置;内置收件箱仍要求 High。自定义流程准备不再误入内置收件箱校验。
8
+ - 任务计划面板修正宽度和向上展开方向;长工具执行期间提示模型核对进度,由模型依据实际结果更新状态。
9
+ - 成品登记说明明确支持复用系列目录:task 填系列目录名,title 填单期标题,path 填库内相对路径。无需按日期拆目录,路径与隐私校验继续生效。
10
+
11
+ 本次验证使用虚构库与针对性检查,发布包核对源码、构建指纹和摘要;不读取真实私有库,不调用收费模型。历史验收记录保留其当时范围;本次打包不代表正式用户安装、DSH 重启激活、真实报告生成或外部发送已经验证。客户端自动覆盖安装与激活尚未接入。
12
+
13
+ 安装:插件使用 v2.5.3 Release 中的 TGZ;客户端使用 client-v1.1.1 Release 中的 Windows x64 Setup.exe(未签名),分别核对清单与 SHA-256。客户端安装目录需为空,先保存工作并退出旧客户端;DSH 插件按宿主提示重新加载或完全退出含托盘后重开,核对版本和构建号。旧 2.4.6 更新受阻时仍使用既有恢复入口。
14
+
15
+ ## Plugin 2.5.3 / desktop client 1.1.1 (2026-11-07)
16
+
17
+ 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.
18
+
19
+ - 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.
20
+ - The client adds the original-file classification tree and classification actions, with shared-service visibility checks.
21
+ - 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.
22
+ - 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.
23
+ - 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.
24
+
25
+ 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.
26
+
27
+ 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.
28
+
29
+ > Unified project: [main README](../../README.md) · [shared architecture](../../ARCHITECTURE.en.md).
30
+
31
+ # Client release notes
32
+
33
+ [中文](RELEASE.md) · English
34
+
35
+
36
+
37
+ ## 2.4.13: preserve unrelated Host dependency locks (2026-11-05)
38
+
39
+ 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.
40
+
41
+ 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.
42
+
43
+ ## 2.4.12: local dependencies during automatic update staging (2026-11-05)
44
+
45
+ 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.
46
+
47
+ 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.
48
+
49
+ ## 2.4.11: shared build status and automatic update confirmation (2026-11-05)
50
+
51
+ 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.
52
+
53
+ 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.
54
+
55
+ ## 2.4.10: installation confirmation recovery (2026-11-05)
56
+
57
+ 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.
58
+
59
+ 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.
60
+
61
+ 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.
62
+
63
+ 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.
64
+
65
+ ## 2.4.9: kb_flow output contract (2026-11-05)
66
+
67
+ 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.
68
+
69
+ 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.
70
+
71
+ 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.
72
+
73
+ ## 2.4.8: parsing records in shared-service settings (2026-11-05)
74
+
75
+ 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.
76
+
77
+ 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.
78
+
79
+ ## 2.4.7: service preparation during update handoff (2026-11-05)
80
+
81
+ 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.
82
+
83
+ 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.
84
+
85
+ ## 2.4.6: direct 2.4.3 updates and legacy service handoff (2026-11-05)
86
+
87
+ 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.
88
+
89
+ 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.
90
+
91
+ 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.
92
+
93
+ ## 2.4.4: safe Windows updates and rollback (2026-11-05)
94
+
95
+ - Run pnpm only against an isolated profile-metadata copy. Verify the archive, build inventory and staged files before touching the live package.
96
+ - 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.
97
+ - 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.
98
+ - 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.
99
+ - Successful installation requires a Host restart. Embedded mode, missing drain capability, unsupported dependency layouts and incomplete previous installations fail closed.
100
+
101
+ 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.
102
+
103
+ ## 2.4.3: source synchronization and Windows parsing jobs (2026-11-05)
104
+
105
+ - 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.
106
+ - Preserve exclusions across related originals and derived records, reuse unchanged embeddings, and support PDF rendering with non-ASCII paths and versioned Python executables.
107
+ - 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.
108
+ - Catch background failures during submission, retry and startup recovery. Persist failure diagnostics where possible, report persistence failures, and release heartbeats and running registrations.
109
+
110
+ 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.
111
+
112
+ ## 2026-11-05: plugin 2.4.2 / desktop client 1.0.3
113
+
114
+ 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.
115
+
116
+ 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.
117
+
118
+ 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.
119
+
120
+ 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.
121
+
122
+ 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.
123
+
124
+
125
+ ## Client 1.0.2 · 2026-11-04
126
+
127
+ 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.
128
+
129
+ 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.
130
+
131
+ 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.
132
+
133
+ 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.
134
+
135
+ Update checks and verified downloads are available; automatic in-place installation and activation remain unfinished. Plugin version stays 2.4.1.
136
+
137
+
138
+ ## 1.0.1 · 2026-11-04
139
+
140
+ Packages the existing file workspace, four-pane preview/editing, relationship and management windows, DSH conversations, independent light/dark palettes and paper-green installer. Paired plugin: 2.4.1, including optional memory integration.
141
+
142
+ The local delivery passed production build, version/payload checks and installer-UI smoke verification. Renaming the release did not add live-model or full regression evidence. Source publication and binary Release publication are separate operations.
143
+
144
+ Client online updates and in-place installation are not implemented. Office fidelity, cloud availability and DSH-version compatibility have limits documented in the user guide.
145
+
146
+ ## 2026-11-04: shared versions and fully automatic update policy
147
+
148
+ 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.
@@ -0,0 +1,149 @@
1
+ ## 插件 2.5.3 / 客户端 1.1.1(2026-11-07)
2
+
3
+ 本次统一发布此前本地交付的原件索引架构及后续修正,两端继续使用同一共享内核与服务,独立安装、独立版本。
4
+
5
+ - 原件保持原位;索引层记录身份、路径、分类、标签与指纹。插件和客户端提供迁移预览与确认入口,程序更新不会自动迁移资料库。
6
+ - 客户端增加原件分类文件树及分类操作,分类与隐私筛选由共享服务执行;既有文件、绑定及资料库身份保留。
7
+ - 流程卡保存模型与推理配置,运行使用已保存配置;内置收件箱仍要求 High。自定义流程准备不再误入内置收件箱校验。
8
+ - 任务计划面板修正宽度和向上展开方向;长工具执行期间提示模型核对进度,由模型依据实际结果更新状态。
9
+ - 成品登记说明明确支持复用系列目录:task 填系列目录名,title 填单期标题,path 填库内相对路径。无需按日期拆目录,路径与隐私校验继续生效。
10
+
11
+ 本次验证使用虚构库与针对性检查,发布包核对源码、构建指纹和摘要;不读取真实私有库,不调用收费模型。历史验收记录保留其当时范围;本次打包不代表正式用户安装、DSH 重启激活、真实报告生成或外部发送已经验证。客户端自动覆盖安装与激活尚未接入。
12
+
13
+ 安装:插件使用 v2.5.3 Release 中的 TGZ;客户端使用 client-v1.1.1 Release 中的 Windows x64 Setup.exe(未签名),分别核对清单与 SHA-256。客户端安装目录需为空,先保存工作并退出旧客户端;DSH 插件按宿主提示重新加载或完全退出含托盘后重开,核对版本和构建号。旧 2.4.6 更新受阻时仍使用既有恢复入口。
14
+
15
+ ## Plugin 2.5.3 / desktop client 1.1.1 (2026-11-07)
16
+
17
+ 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.
18
+
19
+ - 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.
20
+ - The client adds the original-file classification tree and classification actions, with shared-service visibility checks.
21
+ - 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.
22
+ - 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.
23
+ - 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.
24
+
25
+ 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.
26
+
27
+ 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.
28
+
29
+ > 统一项目入口:[主 README](../../README.zh-CN.md) · [架构与共库](../../ARCHITECTURE.md)。
30
+
31
+ # 客户端版本说明
32
+
33
+ [English](RELEASE.en.md) · 中文
34
+
35
+
36
+
37
+ ## 2.4.13:更新不再重解析宿主依赖(2026-11-05)
38
+
39
+ 安全更新只在独立解析目录中解析无依赖的知识库包,将其 importer、package、snapshot 三组记录合并到原 pnpm v9 锁文件。其他插件的来源、锁定版本及记录逐字节保留,不再向注册源查找宿主内置包,也不复制或重装其他插件。未知锁格式、歧义或跨包引用失败时保留旧安装。
40
+
41
+ 19 项更新状态检查、8 项真实 pnpm/事务检查通过;另用本机清单的隔离副本验证仅解析知识库包能完成准备,原 profile 清单与锁未改动。保留回滚与崩溃恢复;真实设备安装及加载结果另记,不由准备成功推断。
42
+
43
+ ## 2.4.12:本地依赖与自动更新准备(2026-11-05)
44
+
45
+ 保留 2.4.11 的共享状态构建字段与旧接口确认修复。进一步修复更新准备阶段拒绝 profile 内相对路径本地插件的问题:将这些依赖复制到隔离的影子目录,使 pnpm 只处理影子清单;保持真实 profile 中其他插件的来源字符串及文件不变。拒绝越界、链接、元数据冲突和超过 64 MiB 的相对依赖,不复制运行知识库或凭据。
46
+
47
+ 19 项状态确认检查、7 项真实 pnpm 与事务检查通过,覆盖本地依赖保留、越界拒绝、发布失败回滚和进程崩溃恢复。实际设备自动升级另行记录;下载成功、合成检查或磁盘包版本均不单独代表正在运行的新构建已经生效。
48
+
49
+ ## 2.4.11:共享状态构建与自动更新确认(2026-11-05)
50
+
51
+ 修复共享模式 POST status 缺少 build,而更新确认必须校验版本与构建号的问题。旧安装即使已经加载,也可能永久停在待确认。现在共享状态统一携带 Host 构建;客户端兼容从旧版 GET 状态读取构建,仍要求精确匹配,不按版本号单独确认。
52
+
53
+ 19 项定向检查通过,新增原共享状态缺字段反例和旧接口兼容确认;保留安装锁、已准备事务续装及失败恢复限制。针对已被旧代码锁住的客户端,需要一次受控的兼容恢复才能重新进入自动流程;发布更新源本身不能修改正在运行的旧代码。恢复必须先验证旧请求与已安装构建,不得无条件清空客户端状态。真实用户升级结果单独记录,不把这些合成检查当作实机安装证明。
54
+
55
+ ## 2.4.10:安装待确认状态恢复(2026-11-05)
56
+
57
+ 修复核对不到旧安装回执时,界面永久停在待确认、安装按钮保持禁用的问题。核对流程增加磁盘安装构建、当前安全安装操作和 profile 写锁信息;只有宿主明确没有旧请求、安装操作及写锁均不活跃且当前安装可校验时,才解除旧请求。单纯等待时间变长或接口失败不能触发解除。
58
+
59
+ 已准备但尚未开始的安全事务可继续原事务,不创建第二次准备或重复安装。目标文件已经写入而宿主仍运行旧构建时,显示保存工作并重启;正在安装、无法校验或损坏状态继续拒绝盲目重试。
60
+
61
+ 17 项定向检查通过,覆盖失效旧请求、写锁与活动操作、缺失事务文件、已安装未加载、原事务续装及既有完成状态。没有对正式用户实例执行安装、删除客户端缓存或强制重启。
62
+
63
+ 若旧版界面已经被待确认状态锁住,新修复尚无法加载:在 DSH 自身“设置 → 插件”中使用本版正式安装源更新一次,按宿主提示重新加载;不要在知识库的灰色按钮上反复尝试。详见升级恢复说明。
64
+
65
+ ## 2.4.9:kb_flow 返回契约(2026-11-05)
66
+
67
+ 修复共享模式 kb_flow 的返回结果缺少 action,导致宿主报 value.action 字段缺失的问题。共享服务与 Host 工具边界都按原请求补全动作;业务失败、断线与调用方校验失败也保留 action、原错误和成功状态,不放宽原输出校验,不把失败伪装成成功,不重放调用。
68
+
69
+ 3 项定向测试通过,覆盖全部 8 种动作、实际注册的 Host 工具成功及失败返回,以及隔离真实 Windows 共享服务读取与业务失败。仅使用合成数据,没有重放正式用户流程。
70
+
71
+ 另定位到记忆插件 1.0.4 在工具续步中仅从新输入查用户消息,可能以空快照替换已召回约定;该组件的 1.0.5 本地修复另行交付,不包含在此知识库包内,未公开发布或自动安装。合成课堂录音约定验证了持久保存、召回及解析完成后的上下文续接,未证明正式录音已自动生成笔记。
72
+
73
+ ## 2.4.8:设置页的解析调用记录(2026-11-05)
74
+
75
+ 修复共享服务把管理界面的只读请求当作普通会话的问题。设置页依据已认证连接的管理权限读取 OCR / ASR 执行任务和提交记录,不再按固定界面会话误过滤 Agent 发起的任务;资料可见性筛选仍然生效。普通模型工具和只读连接不因此获得跨会话管理权限,写接口仍要求管理授权。
76
+
77
+ 3 项定向测试通过:在隔离的真实 Windows 共享服务中,由独立 Agent 会话调用本地合成 OCR / ASR 接口,设置页两种读取入口均能看到执行中、提交及完成后的记录;普通会话、只读连接与伪造参数不能越权。反例在修复前复现为空列表,修复后通过。样本和接口为合成数据,未读取正式知识库、调用外部付费服务或验证正式用户完整界面。
78
+
79
+ ## 2.4.7:升级交接等待提示(2026-11-05)
80
+
81
+ 交接期间保留稳定的知识库 API 入口,明确返回服务准备状态;界面显示“知识库服务准备中,请稍候…”,接口就绪后继续读取。只对服务明确确认尚未执行的请求等待后重新提交;真实 HTTP 405、断线及未知写入结果不自动重放。准备失败或等待超时仍提供错误与恢复说明,不把它们伪装为就绪。
82
+
83
+ 19 项定向检查通过,包含真实本地 HTTP 路由准备、恢复后的写请求仅执行一次、失败与超时边界、旧服务交接和服务恢复。未额外重复完整功能回归;未对正式用户实例操作或声称完整界面实测。
84
+
85
+ ## 2.4.6:2.4.3 直接自动升级与旧服务交接(2026-11-05)
86
+
87
+ - 恢复正式自动更新入口,正常 2.4.3 可直接安装本版,不要求先手动安装过渡版本。
88
+ - 新版通过已发布 2.4.3 的精确运行时指纹识别旧服务;释放探测连接后等待旧服务按原有空闲机制自然退出,核对原进程出生标识和清理回执,再启动新服务。不向缺少停服协议的旧服务发送 shutdown,不终止其他连接或任务;超时显示恢复说明。
89
+ - 新版运行中的安装、事务恢复或交接确实报错时,才显示手动更新与恢复说明。2.4.3 若在首次 pnpm 安装阶段就失败,新代码尚未加载,仍使用旧版原错误界面;现有更新说明入口提供同一恢复文档,不能承诺旧界面具有新版弹窗。
90
+ - 手动恢复包可从固定摘要的公开 2.4.3 包重建受损代码目录,保留残留目录和原 profile 清单,再使用事务安装器升级;不清空知识库或解析记录。
91
+
92
+ 验证使用真实公开 2.4.3 TGZ、Windows 上的运行服务与真实 pnpm,覆盖直接安装、自然退出后交接、原件保留及受损旧安装恢复;事务失败回退沿用并补验现有检查。验证范围不包含正式用户 profile 安装或完整 Electron 界面操作。旧 2.4.3 首次安装仍由宿主旧安装器执行,不能获得新版事务器在安装前的保护;异常时走恢复入口。旧更新源不能按客户端运行状态筛选,2.4.3 以外的旧版不属于本次定向保证。
93
+
94
+ ## 2.4.4:Windows 安全更新与失败恢复(2026-11-05)
95
+
96
+ - pnpm 只在隔离的清单副本中准备锁文件;新包先完成摘要、构建号、路径和文件校验,不让包管理器改写在线插件目录。
97
+ - 更新前通过管理员授权的停服协议检查其他连接、排队及运行中的解析、导入和流程任务;忙碌时延后。停服后核对清理回执及进程退出,再切换完整包目录。
98
+ - 原插件目录和清单保留在私有事务目录;切换或清单写入失败时回退并逐文件校验。中途退出的安装可从持久事务记录恢复,不把未知结果标为成功,不重复发起安装。
99
+ - 2.4.4 使用 release-manifest-v2.json。旧 release-manifest.json 停用安装分发,阻断旧更新器继续走不安全的原地安装。2.4.3 及更早版本首次过渡须退出宿主及连接客户端,使用本版过渡安装包;旧服务不支持停服协议时自动路径会拒绝接管。
100
+ - 成功安装后明确提示重启生效。嵌入模式或缺少安全停服能力时保持旧版,暂不自动安装。包带额外依赖、相对本地依赖或旧包已不完整等不支持的情况均停止,不擅自重建用户配置。
101
+
102
+ 验证:35 项 Node 定向检查、5 项真实文件系统/真实 pnpm 事务测试,以及 1 个 Windows 运行服务升级复合场景通过。复合场景包括原始 2.4.3 服务的拒绝接管、额外连接和排队任务的延后、使用旧目录 Python 的协议服务退出、真实 2.4.3 包切换失败后逐文件恢复、成功升级重启和虚构原件保留。具备新停服协议的服务升级与未修改旧服务的首次过渡是两条不同路径。本次未在正式用户 profile 安装,也未验证真实模型或完整 UI。
103
+
104
+ ## 2.4.3:原件同步与 Windows 解析任务修复(2026-11-05)
105
+
106
+ - 合入文本原件与引用同步:归档文本参与检索,原件编辑后更新索引与引用范围;旧的自动生成镜像引用当前原件,独立撰写的摘要仍保留。
107
+ - 调整索引排除与恢复时的关联原件、派生记录及增量向量复用;修复含中文路径及版本化 Python 路径的 PDF 渲染。
108
+ - Windows 解析任务记录的读取和原子替换共用进程级队列,减少句柄重叠;外部占用有限重试,耗尽时保留旧记录并清理临时文件。
109
+ - 提交、重试和启动恢复的后台错误均被捕获;尽力保存失败状态,无法保存时明确报告,清理心跳和运行标记。
110
+
111
+ Windows 定向复验 73/73 通过(原有 68 项及新增 5 项故障测试)。测试使用虚构资料和请求替身,不证明真实 OCR/ASR 效果、自动 PDF/Office 索引同步、原生位置映射或完整桌面运行兼容性。客户端独立发布版本仍为 1.0.3,本次不重新发布客户端安装器。
112
+
113
+ ## 2026-11-05:插件 2.4.2 / 客户端 1.0.3
114
+
115
+ 客户端反馈现已通过 Cloudflare Workers 与 D1 创建公开 GitHub Issue。用户无需登录 GitHub,提交前填写标题、正文并确认公开;只附带版本和构建号,不自动附带资料、日志或设备路径。凭据只保存在服务端 Secret 中。重复提交使用同一回执,结果未知时核对而不盲目重发;存在频率和每日总量限制。
116
+
117
+ 跨盘回收修复:新回收项保存到资料库内部元数据目录;兼容旧回收项目,跨盘恢复经过复制及逐项校验;失败回执只有在确认源目录未变化且未移动时才标记失败。断线重连刷新保留已有页面快照。
118
+
119
+ 插件 2.4.2 修复共库 Host 的正式更新检查与准备接口、1 MiB 发布清单读取及版本状态提示。共享 Host 的 Python helper 按内容摘要复制并验证到插件目录之外的持久运行目录,避免占用待替换的插件文件。沿用原有绑定、配置、解析记录和服务身份,不初始化、迁库或重发解析任务。独立离线安装器先阻止活跃客户端、备份并比较状态,再调用本机包管理器;真实安装及宿主激活由用户完成。
120
+
121
+ 验证包括反馈接口及状态测试、真实部署测试 Issue #46 / #47(重复提交返回原 Issue)、隔离 C/D 双卷回收恢复、服务文件生命周期、Windows helper 存活时原包目录改名,以及 2.4.1 状态重开测试。独立安装器的包管理调用使用模拟;未以用户真实库或真实模型调用作评测,也不声称完整 Office 保真或所有网络可达。
122
+
123
+ 两端分别使用 client-update.json 与 release-manifest-v2.json,版本与 SHA-256 独立核验。客户端检查更新及校验下载已实现,自动覆盖安装与激活尚未实现。镜像附件在同步校验完成后可用。
124
+
125
+
126
+ ## 客户端 1.0.2 · 2026-11-04
127
+
128
+ 修复安装完成后首次启动的潜在阻塞:隔离安装器运行环境,首屏不再同步等待 IPC 或知识库服务;重复启动聚焦已有窗口。修正首次连接失败后的重试。
129
+
130
+ 左右侧栏及预览分栏按帧预览宽度,松手提交布局;PDF、图片和浮窗等待尺寸稳定后更新,避免拖动反复重绘。拖动取消、失焦和栏目卸载均释放拖动状态。
131
+
132
+ 反馈入口只把用户输入、版本和构建号复制到系统剪贴板,没有反馈服务器、上传接口或自动创建 Issue。请手动提交到本仓库 Issues。
133
+
134
+ 验证:生产构建、22 项针对性测试、9 项界面检查、隔离安装后首次启动、连接失败重试,以及最终安装版本启动与拖动卸载检查通过。旧版间歇性白屏未稳定复现;不据此声称唯一根因或真实库负载性能。测试使用示例库,不包含个人资料或真实模型调用。
135
+
136
+ 客户端检查更新和校验下载可用;自动覆盖安装与激活仍未完成。插件保持 2.4.1。
137
+
138
+
139
+ ## 1.0.1 · 2026-11-04
140
+
141
+ 整合本地文件工作区、最多四栏预览编辑、关系与管理浮窗、DSH 会话联动、独立浅深色主题及现有纸页绿安装器。配套知识库插件为 2.4.1,含可选记忆联动接口。
142
+
143
+ 本地交付通过生产构建、版本/包文件校验及安装界面启动简查。未因版本改名额外进行真实模型或完整功能回归。源码公开与二进制 Release 发布分别进行。
144
+
145
+ 当前没有接入客户端自动更新,也没有覆盖安装。复杂 Office 文件、云端服务与 DSH 版本兼容性存在边界,详见使用说明。
146
+
147
+ ## 2026-11-04:同步版本与全自动更新策略
148
+
149
+ 共享版本命名、比较和打包校验;插件跨大版本和预览候选更新均允许自动安装,保留通道偏好、包校验与忙碌/未知结果保护,不再弹更新确认窗口。安装后的版本说明规则不变。客户端在线下载安装尚未接入。本次只更新源码规则,不发布新包。
@@ -0,0 +1,3 @@
1
+ # 检索与索引
2
+
3
+ 全文和向量索引由共享内核维护。文件树浏览与进入索引是两种不同状态;用户可单个或批量排除索引。索引和关系始终归属当前库。向量服务需用户配置,是否可用由实际服务决定。
@@ -0,0 +1,7 @@
1
+ # Security and privacy
2
+
3
+ Do not post credentials, document contents, chat histories, embeddings, personal paths or raw logs in public issues. Submit a minimal redacted reproduction and version information. For sensitive vulnerability details, contact the maintainer privately before disclosure; no dedicated security mailbox is configured here.
4
+
5
+ Opening a document does not automatically attach it to a conversation. Explicit attachments and configured cloud processing may transmit selected data to those providers. Runtime authorization and provider configuration govern that boundary.
6
+
7
+ Tests must use synthetic fixtures and isolated storage/service-discovery paths. Do not enable real model requests by default.
@@ -0,0 +1,5 @@
1
+ # Third-party components
2
+
3
+ The application uses Electron, React, Vite, CodeMirror, PDF.js, KaTeX, Noto Sans SC, Lucide and other packages listed in `apps/desktop/package-lock.json`. Python's Windows embedded runtime is downloaded for packaging. Installer icon generation uses Pillow. These components retain their respective licenses; the project's MIT license does not replace them.
4
+
5
+ Keep bundled license files when distributing binaries. Dependency versions are defined by the lockfile and packaging scripts. No runtime archives or private model files are committed here.
@@ -0,0 +1,9 @@
1
+ # 客户端版本与更新 / Client versions and updates
2
+
3
+ 当前版本 / Current versions: client **2.0.0**, plugin **3.0.0**.
4
+
5
+ [统一版本与自动更新规则 / Authoritative version and update policy](../../VERSIONING.en.md).
6
+
7
+ 客户端和插件独立版本、标签、清单与摘要。客户端支持检查更新和校验下载,自动覆盖安装与激活尚未接入。Client and plugin retain separate versions, tags, manifests and digests. Client checks and verified downloads are implemented; automatic in-place installation and activation remain unfinished.
8
+
9
+ [Current release](../releases/client-2.0.3.en.md).
@@ -0,0 +1,9 @@
1
+ # 客户端版本与更新 / Client versions and updates
2
+
3
+ 当前版本 / Current versions: client **2.0.0**, plugin **3.0.0**.
4
+
5
+ [统一版本与自动更新规则 / Authoritative version and update policy](../../VERSIONING.md).
6
+
7
+ 客户端和插件独立版本、标签、清单与摘要。客户端支持检查更新和校验下载,自动覆盖安装与激活尚未接入。Client and plugin retain separate versions, tags, manifests and digests. Client checks and verified downloads are implemented; automatic in-place installation and activation remain unfinished.
8
+
9
+ [Current release](../releases/client-2.0.3.md).
@@ -0,0 +1,24 @@
1
+ > Unified project: [main README](../../README.md) · [shared architecture](../../ARCHITECTURE.en.md).
2
+
3
+ # Installation and use
4
+
5
+ [中文](WORKBENCH.md) · English
6
+
7
+ Install into an application directory separate from document libraries. The existing installer requires an empty target. Save work before handling an older installation. Uninstall preserves personal data and settings.
8
+
9
+ Use the library menu to add a local folder. Removing its registration does not delete source files; the plugin-owned binding is protected. Use the authorization flow for shared libraries instead of copying index databases manually.
10
+
11
+ Open files in up to four panes and drag tabs to move or merge them. Enable editing before making changes, then save. Ctrl+wheel zooms content; images support drag-to-pan; PDF pages scroll vertically.
12
+
13
+ Alt+F opens movable global search. Results can be dragged into panes. Explore relationship nodes and previews, organize the inbox and control index inclusion. Model-powered organization requires an online DSH host.
14
+
15
+ The DSH sidebar offers reconnect, sessions, Agent presets and model/reasoning controls. Enter sends; Shift+Enter inserts a newline. Attach tabs or selected text explicitly. Capabilities depend on the connected host.
16
+
17
+ Index snapshots are not backups of original files. Confirm backup type and restore target. Preserve originals when editing complex Office documents.
18
+
19
+
20
+ ## 当前版本 / Current release
21
+
22
+ 当前发布:客户端 2.0.3,配套插件 3.1.3。原件分类树读取共享索引;在设置中预览并确认索引迁移。系列成品复用已有目录。
23
+
24
+ Client 2.0.3 pairs with plugin 3.1.3. The original-file tree uses shared classification. Preview and confirm index migration in Settings. Reuse series folders for deliverables. [Release notes](../releases/client-2.0.3.en.md).
@@ -0,0 +1,24 @@
1
+ > 统一项目入口:[主 README](../../README.zh-CN.md) · [架构与共库](../../ARCHITECTURE.md)。
2
+
3
+ # 安装与使用
4
+
5
+ [English](WORKBENCH.en.md) · 中文
6
+
7
+ 选择与文档库分开的应用安装目录。现有安装器要求空目录;已安装版本应保存内容并按安装器提示处理旧版本,再安装新包。卸载仅处理应用文件与快捷方式,个人资料与设置保留。
8
+
9
+ 首次使用可以浏览示例资料,或在左下角资料库设置添加本机文件夹。移除资料库登记不会删除原文件;插件自己的绑定库受保护。真实库共享应通过客户端授权流程完成,不要手工复制索引数据库。
10
+
11
+ 点击文件自动打开可用预览栏,最多四栏;拖动标签可移动或合并。开启编辑开关后修改,点击保存。Ctrl 加滚轮缩放内容,图片支持拖动平移。PDF 使用纵向连续页面。
12
+
13
+ Alt+F 打开可移动全局搜索;结果可拖入预览栏。关系网络支持选择节点、查看联系与旁侧预览。收件箱可整理归档、单个或批量管理索引;模型整理要求 DSH 在线。
14
+
15
+ 右侧 DSH 栏可连接、重连、选择会话及 Agent 预设。输入框附近选择模型和推理强度;Enter 发送,Shift+Enter 换行。文件标签或选中文字可主动加入对话。连接和模型能力取决于宿主实际提供的接口。
16
+
17
+ 不要把索引快照视为原文件备份。恢复前确认所选备份类型和目标。Office 预览与编辑有格式限制,重要复杂文档应保留原件。
18
+
19
+
20
+ ## 当前版本 / Current release
21
+
22
+ 当前发布:客户端 2.0.3,配套插件 3.1.3。原件分类树读取共享索引;在设置中预览并确认索引迁移。系列成品复用已有目录。
23
+
24
+ Client 2.0.3 pairs with plugin 3.1.3. The original-file tree uses shared classification. Preview and confirm index migration in Settings. Reuse series folders for deliverables. [Release notes](../releases/client-2.0.3.md).
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: personal-knowledge-base
3
+ description: Safely search, read, organize, and maintain user-authorized materials through the host knowledge-base interface. Use when the user asks to find, archive, summarize, or maintain personal knowledge-base content.
4
+ ---
5
+
6
+ # Personal Knowledge Base
7
+
8
+ Use the knowledge base configured by the host. Never assume a filesystem location, account name, device address, service port, or private folder layout from this skill.
9
+
10
+ ## Access and privacy
11
+
12
+ - Use the host's knowledge-base tools and current binding to discover the active library.
13
+ - Do not search the whole device for library files or infer a library path from previous conversations.
14
+ - Read only the files needed for the current request and respect the host's visibility and permission checks.
15
+ - Treat profile notes, relationship records, health information, and other personal material as private. Include them only when they are relevant to the user's current request.
16
+ - Do not send knowledge-base contents to external services unless the user explicitly requests that service and the host permits it.
17
+
18
+ ## Reading and retrieval
19
+
20
+ 1. Search by title, path, or content using the host's knowledge-base search tools.
21
+ 2. Open the matching source and verify the relevant passage before answering.
22
+ 3. Distinguish source text from summaries and inferences. Cite the source title and location when available.
23
+ 4. If no reliable match is found, say so instead of guessing or searching unrelated local folders.
24
+
25
+ ## Writing and organization
26
+
27
+ - Create or update files only through the authorized knowledge-base write tools.
28
+ - Preserve existing content and structure unless the user asks for a rewrite.
29
+ - Unless the current task explicitly specifies a destination or an existing user memory establishes another location, save files generated by the knowledge base or agents under `任务成品/` inside the active library, preferably in a task-named subfolder. Use `kb_deliverable prepare` and `register` when available. For series outputs, reuse the existing series folder: `task` is its single-level folder name (for example, `信息报`), while `title` identifies the issue. Both calls use the same `task`; `path` is library-relative, such as `任务成品/信息报/028.pdf`. Preparing an existing folder is supported; do not split it by issue or date just for registration. Preserve existing source files and update existing notes/code in place when that is the task. User-provided inbound originals still use the configured inbox.
30
+ - Report the resulting title and library-relative location after a successful write.
31
+ - For deletion, use the library's recovery workflow when available and verify the operation result.
32
+
33
+ ## Personalization
34
+
35
+ - Use profile information only when it directly helps with the user's request.
36
+ - Separate recorded facts, the user's current statements, and your own interpretation.
37
+ - Do not turn uncertain relationship or personal-history notes into established facts.
38
+ - Do not expose private profile details in public documentation, examples, logs, release notes, or generated artifacts.
@@ -0,0 +1,32 @@
1
+ # 知识库客户端 1.0.1 / Knowledge Workbench Client 1.0.1
2
+
3
+ ## 安装 / Install
4
+
5
+ 下载本 Release 的 KnowledgeWorkbench-1.0.1-Setup.exe,核对 client-SHA256SUMS 后运行。Windows x64;安装包未签名,Windows 可能显示发布者未知。现有安装器要求空目录;已安装版本请先保存工作、退出并按原卸载流程处理,个人资料与设置保留。
6
+
7
+ Download the Windows x64 installer and verify client-SHA256SUMS. This build is unsigned. The installer requires an empty target directory; save work and exit before handling an existing installation. Uninstall preserves personal data/settings.
8
+
9
+ ## 功能 / Features
10
+
11
+ - 完整文件树、路径定位,最多四栏预览与编辑、标签拖放和面板调整。
12
+ - Markdown、UTF-8 文本与代码;纵向连续 PDF 与选字;图片缩放拖动;受限 DOCX、XLSX、CSV 编辑。
13
+ - 全局搜索、关系网络、收件箱、回收站、备份与任务浮窗。
14
+ - DSH 会话、Agent 预设、模型与推理强度、流式回复和主动附件;配套知识库插件 2.4.1。
15
+ - 独立浅深色配色和六套彩色主题,沿用纸页绿安装界面与动画。
16
+ - 内置 Gitee、GitCode、GitHub 客户端专用更新清单与下载源,失效源回退,校验产品身份、大小和 SHA-256。
17
+
18
+ Four-pane file workspace, common document editing, relationship/management windows, DSH sidebar, independently authored themes and the existing installer design. Dedicated update feeds prefer domestic sources and verify downloads before accepting them.
19
+
20
+ ## 当前边界 / Limitations
21
+
22
+ 自动检查与校验下载已接入;自动覆盖安装、自动激活及客户端安装后说明窗口尚未完成。不会把下载成功标成安装成功。国内镜像附件仅在镜像任务完成并校验后可用,单源不可用时回退其他源。
23
+
24
+ Automatic checking and verified download are implemented. In-place automatic installation, activation and client post-install notice integration remain unfinished. Mirror attachments are available only after publishing/verification completes. Download completion is not installation completion.
25
+
26
+ Office 编辑不等同完整 Office。聊天和模型整理需要 DSH 与相应模型在线。真实云模型、全量回归和全部宿主版本兼容性未因本次发布而额外验证。
27
+
28
+ ## 验证 / Validation
29
+
30
+ 生产构建;四项更新源、摘要冲突、原子下载/防重复和损坏包检查;共享版本规则与插件更新相关针对性测试。测试使用合成数据,不包含私人知识库、聊天、凭据或索引。
31
+
32
+ See client-update.json and client-SHA256SUMS for the exact payload/build identity. Source, guides and issues are maintained in this unified repository.
@@ -0,0 +1,32 @@
1
+ # 知识库客户端 1.0.2 / Knowledge Workbench Client 1.0.2
2
+
3
+ ## 安装 / Install
4
+
5
+ 下载本 Release 的 KnowledgeWorkbench-1.0.2-Setup.exe,核对 client-SHA256SUMS 后运行。Windows x64;安装包未签名,Windows 可能显示发布者未知。现有安装器要求空目录;已安装版本请先保存工作、退出并按原卸载流程处理,个人资料与设置保留。
6
+
7
+ Download the Windows x64 installer and verify client-SHA256SUMS. This build is unsigned. The installer requires an empty target directory; save work and exit before handling an existing installation. Uninstall preserves personal data/settings.
8
+
9
+ ## 客户端 1.0.2 · 2026-11-04
10
+
11
+ 修复安装完成后首次启动的潜在阻塞:隔离安装器运行环境,首屏不再同步等待 IPC 或知识库服务;重复启动聚焦已有窗口。修正首次连接失败后的重试。
12
+
13
+ 左右侧栏及预览分栏按帧预览宽度,松手提交布局;PDF、图片和浮窗等待尺寸稳定后更新,避免拖动反复重绘。拖动取消、失焦和栏目卸载均释放拖动状态。
14
+
15
+ 反馈入口只把用户输入、版本和构建号复制到系统剪贴板,没有反馈服务器、上传接口或自动创建 Issue。请手动提交到本仓库 Issues。
16
+
17
+ 验证:生产构建、22 项针对性测试、9 项界面检查、隔离安装后首次启动、连接失败重试,以及最终安装版本启动与拖动卸载检查通过。旧版间歇性白屏未稳定复现;不据此声称唯一根因或真实库负载性能。测试使用示例库,不包含个人资料或真实模型调用。
18
+
19
+ 客户端检查更新和校验下载可用;自动覆盖安装与激活仍未完成。插件保持 2.4.1。
20
+
21
+ ## Client 1.0.2 · 2026-11-04
22
+
23
+ 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.
24
+
25
+ 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.
26
+
27
+ 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.
28
+
29
+ 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.
30
+
31
+ Update checks and verified downloads are available; automatic in-place installation and activation remain unfinished. Plugin version stays 2.4.1.
32
+
@@ -0,0 +1,31 @@
1
+ # 知识库客户端 1.0.3 / Desktop client 1.0.3
2
+
3
+ ## 2026-11-05:插件 2.4.2 / 客户端 1.0.3
4
+
5
+ 客户端反馈现已通过 Cloudflare Workers 与 D1 创建公开 GitHub Issue。用户无需登录 GitHub,提交前填写标题、正文并确认公开;只附带版本和构建号,不自动附带资料、日志或设备路径。凭据只保存在服务端 Secret 中。重复提交使用同一回执,结果未知时核对而不盲目重发;存在频率和每日总量限制。
6
+
7
+ 跨盘回收修复:新回收项保存到资料库内部元数据目录;兼容旧回收项目,跨盘恢复经过复制及逐项校验;失败回执只有在确认源目录未变化且未移动时才标记失败。断线重连刷新保留已有页面快照。
8
+
9
+ 插件 2.4.2 修复共库 Host 的正式更新检查与准备接口、1 MiB 发布清单读取及版本状态提示。共享 Host 的 Python helper 按内容摘要复制并验证到插件目录之外的持久运行目录,避免占用待替换的插件文件。沿用原有绑定、配置、解析记录和服务身份,不初始化、迁库或重发解析任务。独立离线安装器先阻止活跃客户端、备份并比较状态,再调用本机包管理器;真实安装及宿主激活由用户完成。
10
+
11
+ 验证包括反馈接口及状态测试、真实部署测试 Issue #46 / #47(重复提交返回原 Issue)、隔离 C/D 双卷回收恢复、服务文件生命周期、Windows helper 存活时原包目录改名,以及 2.4.1 状态重开测试。独立安装器的包管理调用使用模拟;未以用户真实库或真实模型调用作评测,也不声称完整 Office 保真或所有网络可达。
12
+
13
+ 两端分别使用 client-update.json 与 release-manifest.json,版本与 SHA-256 独立核验。客户端检查更新及校验下载已实现,自动覆盖安装与激活尚未实现。镜像附件在同步校验完成后可用。
14
+
15
+ ## 2026-11-05: plugin 2.4.2 / desktop client 1.0.3
16
+
17
+ 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.
18
+
19
+ 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.
20
+
21
+ 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.
22
+
23
+ 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.
24
+
25
+ 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.
26
+
27
+ ## 安装 / Installation
28
+
29
+ 下载 KnowledgeWorkbench-1.0.3-Setup.exe 并核对 client-SHA256SUMS。Windows x64,未签名;安装目录需要为空,卸载保留个人资料。请保存工作、退出旧客户端后安装。
30
+
31
+ Download the unsigned Windows x64 installer and verify client-SHA256SUMS. The target application directory must be empty; uninstall preserves personal data. Save work and exit the old client first.
@@ -0,0 +1,28 @@
1
+ ## 插件 2.5.3 / 客户端 1.1.1(2026-11-07)
2
+
3
+ 本次统一发布此前本地交付的原件索引架构及后续修正,两端继续使用同一共享内核与服务,独立安装、独立版本。
4
+
5
+ - 原件保持原位;索引层记录身份、路径、分类、标签与指纹。插件和客户端提供迁移预览与确认入口,程序更新不会自动迁移资料库。
6
+ - 客户端增加原件分类文件树及分类操作,分类与隐私筛选由共享服务执行;既有文件、绑定及资料库身份保留。
7
+ - 流程卡保存模型与推理配置,运行使用已保存配置;内置收件箱仍要求 High。自定义流程准备不再误入内置收件箱校验。
8
+ - 任务计划面板修正宽度和向上展开方向;长工具执行期间提示模型核对进度,由模型依据实际结果更新状态。
9
+ - 成品登记说明明确支持复用系列目录:task 填系列目录名,title 填单期标题,path 填库内相对路径。无需按日期拆目录,路径与隐私校验继续生效。
10
+
11
+ 本次验证使用虚构库与针对性检查,发布包核对源码、构建指纹和摘要;不读取真实私有库,不调用收费模型。历史验收记录保留其当时范围;本次打包不代表正式用户安装、DSH 重启激活、真实报告生成或外部发送已经验证。客户端自动覆盖安装与激活尚未接入。
12
+
13
+ 安装:插件使用 v2.5.3 Release 中的 TGZ;客户端使用 client-v1.1.1 Release 中的 Windows x64 Setup.exe(未签名),分别核对清单与 SHA-256。客户端安装目录需为空,先保存工作并退出旧客户端;DSH 插件按宿主提示重新加载或完全退出含托盘后重开,核对版本和构建号。旧 2.4.6 更新受阻时仍使用既有恢复入口。
14
+
15
+ ## Plugin 2.5.3 / desktop client 1.1.1 (2026-11-07)
16
+
17
+ 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.
18
+
19
+ - 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.
20
+ - The client adds the original-file classification tree and classification actions, with shared-service visibility checks.
21
+ - 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.
22
+ - 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.
23
+ - 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.
24
+
25
+ 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.
26
+
27
+ 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.
28
+