@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 +6 -0
- package/README.md +1 -1
- package/dist/{ChartRenderer-DZcTNtTA.js → ChartRenderer-C_S1MGeH.js} +1 -1
- package/dist/{ChartRenderer-C8dUuhUs.cjs → ChartRenderer-DODGCPhq.cjs} +1 -1
- package/dist/components/chat/components/ChatQueue.vue.d.ts +2 -2
- package/dist/components/chat/components/ChatQueue.vue.d.ts.map +1 -1
- package/dist/{docx-preview-ioU7zY5z.js → docx-preview-B4DwSikM.js} +1 -1
- package/dist/{docx-preview-QYoD_XSF.cjs → docx-preview-BHoj6wLC.cjs} +1 -1
- package/dist/{index-D2hZ9VSX.cjs → index-9_7hUJhu.cjs} +161 -161
- package/dist/{index-9dBUTIre.js → index-DoNj42v0.js} +1 -1
- package/dist/{index-dof8fFuK.js → index-I-hj-dQn.js} +8394 -8358
- package/dist/{index-AFXPNzEa.cjs → index-j_Jj7pvo.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{papaparse.min-CNbVVGVh.js → papaparse.min-CD4g78dC.js} +1 -1
- package/dist/{papaparse.min-BtMKEedo.cjs → papaparse.min-yZw3osds.cjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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`
|
|
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-
|
|
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-
|
|
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":"
|
|
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-
|
|
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-
|
|
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>
|