@blade-hq/agent-react 2612.0.0-beta.4 → 2612.0.0-beta.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blade-hq/agent-react",
3
- "version": "2612.0.0-beta.4",
3
+ "version": "2612.0.0-beta.5",
4
4
  "description": "Blade Agent React 绑定:BladeProvider、useAgentSession、开箱即用的 ChatView 聊天界面。",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,7 +40,7 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@blade-hq/agent-client": "2612.0.0-beta.4"
43
+ "@blade-hq/agent-client": "2612.0.0-beta.5"
44
44
  },
45
45
  "bundledDependencies": [],
46
46
  "peerDependencies": {
package/public-api.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > 本文件由 `scripts/public-api-report.mjs` 生成,请勿手改。
4
4
  > 公共面变更时重新生成本报告,并同步更新 README 对应章节——CI 会校验两者。
5
5
 
6
- 共 37 个公开声明。
6
+ 共 40 个公开声明。
7
7
 
8
8
  ## `AskUserQuestionData` (interface)
9
9
 
@@ -331,6 +331,22 @@ sessionId: string | undefined
331
331
  toolCall: ToolCallInfo
332
332
  ```
333
333
 
334
+ ## `TopicAssetSubmitDialog` (function)
335
+
336
+ ```ts
337
+ TopicAssetSubmitDialog: ({ sessionId, topicId, path, onClose, onSubmitted }: TopicAssetSubmitDialogProps) => JSX.Element
338
+ ```
339
+
340
+ ## `TopicAssetSubmitDialogProps` (interface)
341
+
342
+ ```ts
343
+ onClose: () => void
344
+ onSubmitted: (() => void) | undefined
345
+ path: string
346
+ sessionId: string
347
+ topicId: string
348
+ ```
349
+
334
350
  ## `useAgentSession` (function)
335
351
 
336
352
  ```ts
@@ -387,3 +403,9 @@ unsupportedReason: string | null
387
403
  message: ChatMessage
388
404
  ```
389
405
 
406
+ ## `useTopicAssetSubmissionAccess` (function)
407
+
408
+ ```ts
409
+ useTopicAssetSubmissionAccess: (sessionId: string | null) => { data: ChatGroup | null | undefined; error: Error | null; }
410
+ ```
411
+