@blueking/chat-helper 0.0.12 → 0.0.13-dev.2
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/dist/agent/type.d.ts +0 -2
- package/dist/agent/use-agent.d.ts +403 -397
- package/dist/event/ag-ui.ts.js +3 -32
- package/dist/event/type.d.ts +2 -2
- package/dist/http/index.d.ts +2 -2
- package/dist/http/module/index.d.ts +2 -2
- package/dist/http/module/message.d.ts +2 -2
- package/dist/http/transform/agent.ts.js +2 -3
- package/dist/http/transform/message.spec.d.ts +1 -0
- package/dist/http/transform/message.ts.js +2 -0
- package/dist/index.d.ts +3178 -3124
- package/dist/message/type.d.ts +5 -0
- package/dist/message/use-message.d.ts +611 -595
- package/dist/session/use-session.d.ts +2041 -2009
- package/package.json +1 -1
package/dist/message/type.d.ts
CHANGED
|
@@ -109,6 +109,8 @@ export interface IBinaryInputContent {
|
|
|
109
109
|
filename?: string;
|
|
110
110
|
id?: string;
|
|
111
111
|
mimeType: string;
|
|
112
|
+
/** 上传接口返回的 path,文件在会话内的永久身份,用于引用、预览与下载 */
|
|
113
|
+
outputId?: string;
|
|
112
114
|
size?: number;
|
|
113
115
|
type: MessageType.Binary;
|
|
114
116
|
url?: string;
|
|
@@ -118,6 +120,7 @@ export interface IBinaryInputContentApi {
|
|
|
118
120
|
filename?: string;
|
|
119
121
|
id?: string;
|
|
120
122
|
mime_type: string;
|
|
123
|
+
output_id?: string;
|
|
121
124
|
size?: number;
|
|
122
125
|
type: MessageType.Binary;
|
|
123
126
|
url?: string;
|
|
@@ -285,6 +288,8 @@ export interface IMessageProperty {
|
|
|
285
288
|
/** 其他扩展字段 */
|
|
286
289
|
[key: string]: unknown;
|
|
287
290
|
artifacts?: IMessageArtifact[];
|
|
291
|
+
/** 输入框富文本文档;承载资源引用协议,与 extra 同级。不导入 chat-x 类型 */
|
|
292
|
+
docSchema?: unknown;
|
|
288
293
|
extra?: {
|
|
289
294
|
/** 其他扩展字段 */
|
|
290
295
|
[key: string]: unknown;
|