@deep-eye/core 1.3.77 → 1.3.78

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,12 @@
2
2
 
3
3
  `@deep-eye/core` 的用户可见变更(语义化版本)。
4
4
 
5
+ ## [1.3.78] - 2026-11-02
6
+
7
+ ### Changed
8
+
9
+ - **待发送队列的操作收进「更多」**:每条队列消息行上只留「立即发送」和「删除」,悬停有文字提示。「编辑消息」和「引导」在「更多」菜单里。「立即发送」换成上箭头。「引导」仍只在正在生成时出现,点了之后的行为与 1.3.77 相同。
10
+
5
11
  ## [1.3.77] - 2026-10-30
6
12
 
7
13
  ### 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`**:多会话列表与可选的流式消息队列(`enableQueue` 开启后:编辑、删除、排序、终态自动出队)。≥ 1.3.77 配置 `cloud.chat` 后还可点「引导」,将排队消息插入正在生成的这一轮;请求失败退回队列。`ChatBotExpose.steerQueueItem(id)` 可由宿主触发同一操作,接口默认 `/agent/generic/responses/instruction`,可用 `cloud.chat.instructionUrl` 覆盖。引导原文在过程组内显示为「用户引导」,历史会话同样可以查看。
160
+ - **`ConversationList`**、**`ChatQueue`**:多会话列表与可选的流式消息队列(`enableQueue` 开启后:编辑、删除、排序、终态自动出队)。≥ 1.3.77 配置 `cloud.chat` 后可把排队消息插入正在生成的这一轮;请求失败退回队列。≥ 1.3.78 起,行上只留「立即发送」和「删除」,「编辑消息」和「引导」在「更多」菜单里。`ChatBotExpose.steerQueueItem(id)` 可由宿主触发同一操作,接口默认 `/agent/generic/responses/instruction`,可用 `cloud.chat.instructionUrl` 覆盖。引导原文在过程组内显示为「用户引导」,历史会话同样可以查看。
161
161
  - **`registerToolRenderer`** / **`registerChatPreviewRenderer`**:注册自定义工具调用渲染器与附件预览渲染器。
162
162
  - **`useConversation`**:`messages` 数组的本地状态管理(`appendMessage`、`setMessages`、`reset`),不处理网络或 SSE。
163
163
  - **`ChatBot.hydrateHistory`** / **`normalizeAgentHistoryMessages`**:把 GA `agent_history.messages` 直接灌入对话(库内消化 steps → flat 字段;`ask_user` 的 `function_call_output` 显示在工具回复里,不再补用户气泡),宿主无需 mapper。
@@ -2,7 +2,7 @@ var Ex = Object.defineProperty;
2
2
  var Mx = (r, e, t) => e in r ? Ex(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var bp = (r, e, t) => Mx(r, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { defineComponent as Xu, shallowRef as wh, inject as xl, toRefs as Ax, computed as tr, toValue as Tl, watch as Cl, watchEffect as l_, onMounted as u_, onBeforeUnmount as Ix, h as xh, shallowReactive as Of, onUpdated as Lx, onUnmounted as Ox, warn as Px, nextTick as Rx, Teleport as Nx, openBlock as it, createElementBlock as Ct, createElementVNode as si, toDisplayString as kx, Fragment as xs, renderList as Pf, createStaticVNode as Vx, ref as Bx, createVNode as zx, Transition as Fx, withCtx as Hx, unref as Wa, createBlock as Rf } from "vue";
5
- import { _ as qv, v as Gx, u as Ux } from "./index-dof8fFuK.js";
5
+ import { _ as qv, v as Gx, u as Ux } from "./index-I-hj-dQn.js";
6
6
  /*! *****************************************************************************
7
7
  Copyright (c) Microsoft Corporation.
8
8
 
@@ -1,4 +1,4 @@
1
- "use strict";var fx=Object.defineProperty;var cx=(r,e,t)=>e in r?fx(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var sp=(r,e,t)=>cx(r,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("vue"),os=require("./index-D2hZ9VSX.cjs");/*! *****************************************************************************
1
+ "use strict";var fx=Object.defineProperty;var cx=(r,e,t)=>e in r?fx(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var sp=(r,e,t)=>cx(r,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("vue"),os=require("./index-9_7hUJhu.cjs");/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -4,8 +4,8 @@ type __VLS_Props = {
4
4
  /** Queue item currently loaded into the composer for editing (Cursor-style). */
5
5
  editingId?: string | null;
6
6
  /**
7
- * 正在跑流时给每条消息多一个「引导」按钮:把这条插进当前轮次而不是另起一轮。
8
- * 非 streaming 时没有可引导的轮次,按钮直接不渲染(置灰会让人反复点)。
7
+ * 正在跑流时「更多」菜单多一项「引导」:把这条插进当前轮次而不是另起一轮。
8
+ * 非 streaming 时没有可引导的轮次,该项直接不渲染(置灰会让人反复点)。
9
9
  */
10
10
  steerable?: boolean;
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ChatQueue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatQueue.vue"],"names":[],"mappings":"AAqoBA,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,UAAU,CAAA;AAKrE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,aAAa,EAAE,CAAA;IAC/B,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAokBF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChatQueue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatQueue.vue"],"names":[],"mappings":"AAitBA,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,UAAU,CAAA;AAOrE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,aAAa,EAAE,CAAA;IAC/B,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAmpBF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,4 +1,4 @@
1
- import { g as ye, c as zt } from "./index-dof8fFuK.js";
1
+ import { g as ye, c as zt } from "./index-I-hj-dQn.js";
2
2
  function Rt(l) {
3
3
  throw new Error('Could not dynamically require "' + l + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Mt=require("./index-D2hZ9VSX.cjs");function Rt(l){throw new Error('Could not dynamically require "'+l+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ne={exports:{}};/*!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Mt=require("./index-9_7hUJhu.cjs");function Rt(l){throw new Error('Could not dynamically require "'+l+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ne={exports:{}};/*!
2
2
 
3
3
  JSZip v3.10.1 - A JavaScript class for generating and reading zip files
4
4
  <http://stuartk.com/jszip>