@deep-eye/core 1.3.57 → 1.3.61

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 (111) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +1 -1
  3. package/dist/ChartRenderer-07GQehTP.js +29070 -0
  4. package/dist/ChartRenderer-Byw1b9iA.cjs +47 -0
  5. package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
  6. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  7. package/dist/_detached-asset_md4x-BNCCDSd7.js +4 -0
  8. package/dist/_detached-asset_md4x-ZnnIwwVu.cjs +1 -0
  9. package/dist/chart-C16JRbn_.js +7028 -0
  10. package/dist/chart-D3isPV5Q.cjs +18 -0
  11. package/dist/chat-token.css +1 -1
  12. package/dist/components/chat/ChatApp.vue.d.ts +12 -12
  13. package/dist/components/chat/ChatApp.vue.d.ts.map +1 -1
  14. package/dist/components/chat/ChatBot.vue.d.ts.map +1 -1
  15. package/dist/components/chat/chatSessionSidebarTypes.d.ts +37 -0
  16. package/dist/components/chat/chatSessionSidebarTypes.d.ts.map +1 -1
  17. package/dist/components/chat/cloudConfig.d.ts +40 -1
  18. package/dist/components/chat/cloudConfig.d.ts.map +1 -1
  19. package/dist/components/chat/components/ChatHistorySearchDialog.vue.d.ts +34 -3
  20. package/dist/components/chat/components/ChatHistorySearchDialog.vue.d.ts.map +1 -1
  21. package/dist/components/chat/components/ChatQueue.vue.d.ts.map +1 -1
  22. package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
  23. package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts +31 -3
  24. package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts.map +1 -1
  25. package/dist/components/chat/components/ChatSessionGroupRow.vue.d.ts +41 -0
  26. package/dist/components/chat/components/ChatSessionGroupRow.vue.d.ts.map +1 -0
  27. package/dist/components/chat/components/ChatSessionGroupSection.vue.d.ts +44 -0
  28. package/dist/components/chat/components/ChatSessionGroupSection.vue.d.ts.map +1 -0
  29. package/dist/components/chat/components/ChatSessionHistoryItem.vue.d.ts +16 -1
  30. package/dist/components/chat/components/ChatSessionHistoryItem.vue.d.ts.map +1 -1
  31. package/dist/components/chat/components/ChatSessionPinnedSection.vue.d.ts +26 -0
  32. package/dist/components/chat/components/ChatSessionPinnedSection.vue.d.ts.map +1 -0
  33. package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts +39 -3
  34. package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts.map +1 -1
  35. package/dist/components/chat/components/OpenGenerativeUiChartRenderer.vue.d.ts.map +1 -1
  36. package/dist/components/chat/components/ProcessStepGroup.vue.d.ts +1 -1
  37. package/dist/components/chat/components/ProcessStepGroup.vue.d.ts.map +1 -1
  38. package/dist/components/chat/components/document-viewer/office/DocxPreviewEngine.vue.d.ts.map +1 -1
  39. package/dist/components/chat/components/document-viewer/onlyoffice/OnlyOfficeRenderer.vue.d.ts.map +1 -1
  40. package/dist/components/chat/components/document-viewer/onlyoffice/loadDocumentServer.d.ts +8 -2
  41. package/dist/components/chat/components/document-viewer/onlyoffice/loadDocumentServer.d.ts.map +1 -1
  42. package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeConfig.d.ts +24 -5
  43. package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeConfig.d.ts.map +1 -1
  44. package/dist/components/chat/components/document-viewer/pdf/PdfPage.vue.d.ts +1 -1
  45. package/dist/components/chat/components/document-viewer/pdf/PdfPage.vue.d.ts.map +1 -1
  46. package/dist/components/chat/components/document-viewer/pdf/pdfWorker.d.ts +5 -2
  47. package/dist/components/chat/components/document-viewer/pdf/pdfWorker.d.ts.map +1 -1
  48. package/dist/components/chat/components/document-viewer/pdf/usePdfDocument.d.ts +1 -1
  49. package/dist/components/chat/components/document-viewer/pdf/usePdfDocument.d.ts.map +1 -1
  50. package/dist/components/chat/components/document-viewer/xlsx/parseSpreadsheet.d.ts.map +1 -1
  51. package/dist/components/chat/composables/chatApiRequest.d.ts +27 -4
  52. package/dist/components/chat/composables/chatApiRequest.d.ts.map +1 -1
  53. package/dist/components/chat/composables/chatHistoryApi.d.ts +25 -2
  54. package/dist/components/chat/composables/chatHistoryApi.d.ts.map +1 -1
  55. package/dist/components/chat/composables/chatSessionGroupApi.d.ts +13 -0
  56. package/dist/components/chat/composables/chatSessionGroupApi.d.ts.map +1 -0
  57. package/dist/components/chat/composables/chatSessionSectionMemory.d.ts +13 -0
  58. package/dist/components/chat/composables/chatSessionSectionMemory.d.ts.map +1 -0
  59. package/dist/components/chat/composables/useChatSessionGroups.d.ts +14 -0
  60. package/dist/components/chat/composables/useChatSessionGroups.d.ts.map +1 -0
  61. package/dist/components/chat/composables/useChatSessionHistory.d.ts +50 -5
  62. package/dist/components/chat/composables/useChatSessionHistory.d.ts.map +1 -1
  63. package/dist/components/chat/composables/useHistoryGroupExpand.d.ts.map +1 -1
  64. package/dist/components/chat/composables/useSessionListWindow.d.ts +19 -0
  65. package/dist/components/chat/composables/useSessionListWindow.d.ts.map +1 -0
  66. package/dist/components/chat/fileIcons.d.ts.map +1 -1
  67. package/dist/components/chat/index.d.ts +8 -7
  68. package/dist/components/chat/index.d.ts.map +1 -1
  69. package/dist/components/chat/mdoc/ContentNodes.vue.d.ts.map +1 -1
  70. package/dist/components/chat/mdoc/codeRegions.d.ts +19 -0
  71. package/dist/components/chat/mdoc/codeRegions.d.ts.map +1 -0
  72. package/dist/components/chat/mdoc/gfmTableGap.d.ts +7 -0
  73. package/dist/components/chat/mdoc/gfmTableGap.d.ts.map +1 -0
  74. package/dist/components/chat/mdoc/latexDelimiters.d.ts.map +1 -1
  75. package/dist/components/chat/mdoc/parser.d.ts.map +1 -1
  76. package/dist/components/chat/mdoc/textContent.d.ts.map +1 -1
  77. package/dist/components/chat/messageChrome.d.ts +10 -0
  78. package/dist/components/chat/messageChrome.d.ts.map +1 -1
  79. package/dist/components/chat/responseStream.d.ts.map +1 -1
  80. package/dist/components/chat/types.d.ts +28 -3
  81. package/dist/components/chat/types.d.ts.map +1 -1
  82. package/dist/components/chat/useChatReport.d.ts +10 -0
  83. package/dist/components/chat/useChatReport.d.ts.map +1 -0
  84. package/dist/components/ui/components/UiMenuColumn.vue.d.ts.map +1 -1
  85. package/dist/components/ui/types.d.ts +2 -0
  86. package/dist/components/ui/types.d.ts.map +1 -1
  87. package/dist/components/ui/utils/mapDropdownMenuItems.d.ts.map +1 -1
  88. package/dist/docx-preview-CAU_uzYl.cjs +38 -0
  89. package/dist/docx-preview-HSNGvrBH.js +5581 -0
  90. package/dist/{index-BRYdZUh-.js → index-CZhtteLP.js} +1 -1
  91. package/dist/index-D2PzA3oh.js +51636 -0
  92. package/dist/{index-D5-Wg1TF.cjs → index-DUJ_JEet.cjs} +1 -1
  93. package/dist/index-br2YauKm.cjs +1056 -0
  94. package/dist/index.cjs +1 -1
  95. package/dist/index.js +426 -404
  96. package/dist/katex-BuPdKLic.cjs +257 -0
  97. package/dist/katex-yuB6V-q6.js +11615 -0
  98. package/dist/md4x.wasm +0 -0
  99. package/dist/papaparse.min-BOX0WPZu.cjs +15 -0
  100. package/dist/papaparse.min-Vgu5If04.js +416 -0
  101. package/dist/pdf-CCxzGVA8.cjs +12 -0
  102. package/dist/pdf-Cl8ZP0Rp.js +14601 -0
  103. package/dist/pdf.worker.min.mjs +21 -0
  104. package/dist/style.css +2 -2
  105. package/dist/xlsx-BopDBbWb.js +24176 -0
  106. package/dist/xlsx-qn1xoUuv.cjs +105 -0
  107. package/package.json +3 -4
  108. package/dist/index-ChyhJU98.cjs +0 -1428
  109. package/dist/index-WC0U0bmE.js +0 -138257
  110. package/dist/md4x-C41yoHW7.js +0 -4
  111. package/dist/md4x-DWOZHZ3f.cjs +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,38 @@
2
2
 
3
3
  `@deep-eye/core` 的用户可见变更(语义化版本)。
4
4
 
5
+ ## [1.3.61] - 2026-10-14
6
+
7
+ ### Added
8
+
9
+ - **传入 `cloud` 后,对话失败和附件失败会自己上报**:`ChatApp` 用 `cloud.auth` 记这两类失败。地址跟随 `cloudPrefix`,请求头合并 `cloud.headers()`。不记录对话内容,也不监听页面上的其它错误。要采集页面错误、接口或性能时,另装 `@deep-eye/logger`(0.1.0);两份配置互不覆盖,同一次打开页面的 `sessionId` 相同。
10
+ - **`html` / `htm` 使用独立文件图标**。
11
+
12
+ ### Changed
13
+
14
+ - **宿主少解析大文件**:`pdf.worker.min.mjs` 和 `md4x.wasm` 放在 `dist` 里单独成文件,打包器只拷贝。公式、图表、表格、PDF 和 Word 预览在第一次用到时再加载。`style.css` 里的 KaTeX 字体只保留 woff2。
15
+ - **协议改为内部使用**:发布包 `license` 为 `UNLICENSED`。
16
+
17
+ ## [1.3.60] - 2026-10-13
18
+
19
+ ### Changed
20
+
21
+ - **发送缺省走 generic responses**:不写 `cloud.chat.protocol` 时 `POST /agent/generic/responses`,正文从 `redis_stream` 拉。刷新或重开仍在跑的会话先回放 `redis_history`。断线和 `超时读取失败` 用 `last_id` 重拉,这条提示不展示给用户。停止仍走 `abort_session`。显式 `protocol: 'agent-chat-keep'` 保持原来的 `agentChatKeep` 和 `lastSession`。
22
+ - **侧栏分组叫「空间」**:置顶、空间、任务历史的标题带数量。置顶和每个空间先显示 6 条,点「更多」再显示 6 条。这三块和任务历史共用一条滚动,不再各自限高。标题更深,展开箭头、新建和搜索在悬停该行或分区展开时出现。
23
+
24
+ ## [1.3.59] - 2026-10-13
25
+
26
+ ### Fixed
27
+
28
+ - **技能表里提到 `{% chart %}` 不再被当成没写完的图表**:行内代码和代码块里的标签按原文显示。正文里真正未闭合的图表标签仍提示「图表数据不完整」。
29
+ - **紧贴在标题下面的表格会按表格显示**:加粗标题下一行直接写 `| 列 |` 时,补上表格前的空行,不再把 `|---|` 当成正文。
30
+
31
+ ## [1.3.58] - 2026-10-12
32
+
33
+ ### Fixed
34
+
35
+ - **回复不再因为「事件类型必须是字符串」整段失败**:事件 `type` 缺失或为 `null` 时,先拆开 `stream` 里的真正事件;SSE 事件名对得上就用事件名。只有错误对象时按失败处理。仍然认不出的帧跳过,已生成的内容继续保留,续传不会在同一帧上再失败一次。
36
+
5
37
  ## [1.3.57] - 2026-10-12
6
38
 
7
39
  ### Added
package/README.md CHANGED
@@ -201,4 +201,4 @@ assistant `content` 原生支持 GFM、代码高亮、KaTeX 公式、图片/视
201
201
 
202
202
  ## License
203
203
 
204
- MIT
204
+ 内部使用,保留所有权利。详见仓库根目录 [LICENSE](../../LICENSE)。