@deep-eye/core 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  此文件记录 `@deep-eye/core` 的用户可见变更。新版本采用语义化版本,并按 `Added`、`Changed`、`Fixed`、`Removed` 分类记录。
4
4
 
5
+ ## [1.2.1] - 2026-07-31
6
+
7
+ ### Fixed
8
+
9
+ - 兼容真实 Responses SSE:`response.output_item.added` 中 `message` 尚未带 `content`、`function_call` 尚未带 `arguments` 时不再抛协议错误中断整条流(豆包等 provider 的常见序列)。
10
+
11
+ ## [1.2.0] - 2026-07-31
12
+
13
+ ### Added
14
+
15
+ - `ChatBot` 新增 `enableQueue`(默认 `false`):需显式开启后才挂载发送队列 UI,并在流式期间接受排队发送。
16
+
17
+ ### Changed
18
+
19
+ - `ChatQueue` UI 细化:统一表面卡片、序号与悬停拖拽手柄/操作,交互更接近 Cursor 队列体验。
20
+ - 未开启 `enableQueue` 时,流式期间的发送会被忽略(不再默认入队)。
21
+
5
22
  ## [1.1.0] - 2026-07-31
6
23
 
7
24
  ### Added
package/README.md CHANGED
@@ -157,7 +157,7 @@ assistant `content` 原生支持 GFM、代码高亮、KaTeX 公式、图片/视
157
157
  除以上四个主要组件外,`@deep-eye/core` 还导出一组可组合使用的 API,用于更细粒度的定制:
158
158
 
159
159
  - **`ChatProvider`**:统一配置上传方式、附件限制、主题、颜色模式与实例级 renderer,作用于内部所有 `ChatBot` 实例。
160
- - **`ConversationList`**、**`ChatQueue`**:多会话列表与流式消息队列(编辑、删除、排序、终态自动出队)。
160
+ - **`ConversationList`**、**`ChatQueue`**:多会话列表与可选的流式消息队列(`enableQueue` 开启后:编辑、删除、排序、终态自动出队)。
161
161
  - **`registerToolRenderer`** / **`registerChatPreviewRenderer`**:注册自定义工具调用渲染器与附件预览渲染器。
162
162
  - **`useConversation`**:`messages` 数组的本地状态管理(`appendMessage`、`setMessages`、`reset`),不处理网络或 SSE。
163
163
  - **`useMindMapTheme`** / **`useMindMapLayout`**:`D3MindMap` 主题与布局的组合式函数。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deep-eye/core",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"