@blueking/chat-helper 0.0.12-beta.13 → 0.0.12-beta.14
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/README.md +8 -2
- package/dist/agent/type.d.ts +69 -0
- package/dist/agent/type.ts.js +1 -1
- package/dist/agent/use-agent.d.ts +515 -357
- package/dist/agent/use-agent.ts.js +50 -11
- package/dist/event/ag-ui.d.ts +2 -0
- package/dist/event/ag-ui.ts.js +34 -3
- package/dist/event/type.d.ts +14 -3
- package/dist/event/type.ts.js +2 -0
- package/dist/http/fetch/fetch.ts.js +80 -16
- package/dist/http/index.d.ts +4 -2
- package/dist/http/module/agent.d.ts +2 -0
- package/dist/http/module/agent.ts.js +19 -2
- package/dist/http/module/index.d.ts +4 -2
- package/dist/http/module/message.d.ts +2 -2
- package/dist/http/module/session.d.ts +2 -1
- package/dist/http/module/session.ts.js +19 -0
- package/dist/http/transform/agent.d.ts +9 -1
- package/dist/http/transform/agent.ts.js +27 -0
- package/dist/http/transform/message.ts.js +4 -0
- package/dist/index.d.ts +3536 -2751
- package/dist/message/type.d.ts +18 -3
- package/dist/message/type.ts.js +2 -0
- package/dist/message/use-message.d.ts +593 -385
- package/dist/session/type.d.ts +14 -0
- package/dist/session/use-session.d.ts +2341 -1924
- package/dist/session/use-session.ts.js +5 -0
- package/package.json +1 -1
package/dist/session/type.d.ts
CHANGED
|
@@ -96,3 +96,17 @@ export interface ISessionFeedbackApi {
|
|
|
96
96
|
session_code: string;
|
|
97
97
|
session_content_ids: number[];
|
|
98
98
|
}
|
|
99
|
+
/** pv_files/download_url 响应(保持后端 snake_case) */
|
|
100
|
+
export interface IPvFileDownloadUrlResult {
|
|
101
|
+
download_url: string;
|
|
102
|
+
expires_at: string;
|
|
103
|
+
preview_url: string;
|
|
104
|
+
sha256: string;
|
|
105
|
+
size: number;
|
|
106
|
+
}
|
|
107
|
+
export interface GetPvFileDownloadUrlOptions {
|
|
108
|
+
/** 有效期秒数,默认 600,最大 3600 */
|
|
109
|
+
expiresIn?: number;
|
|
110
|
+
/** 请求超时毫秒,默认 20000 */
|
|
111
|
+
timeout?: number;
|
|
112
|
+
}
|