@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.
@@ -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;