@blade-hq/agent-react 2612.0.0-beta.3 → 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/README.md +10 -0
- package/dist/chat/customization.d.ts +1 -1
- package/dist/chat/runtime/actions.d.ts +1 -0
- package/dist/chat/runtime/composer-channels.d.ts +4 -0
- package/dist/{chunk-WCMGQJLE.js → chunk-7IPINZHT.js} +2 -2
- package/dist/{chunk-5J54S5BK.js → chunk-T5WGKZN4.js} +106 -3
- package/dist/chunk-T5WGKZN4.js.map +1 -0
- package/dist/{chunk-FQQJP2GJ.js → chunk-XULCQP3Q.js} +22 -6
- package/dist/{chunk-FQQJP2GJ.js.map → chunk-XULCQP3Q.js.map} +1 -1
- package/dist/components/TopicAssetSubmitDialog.d.ts +14 -0
- package/dist/embed/entry.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8 -4
- package/dist/internal.d.ts +2 -0
- package/dist/internal.js +7 -3
- package/dist/internal.js.map +1 -1
- package/dist/rich-input/FileCompletionMenu.d.ts +3 -2
- package/dist/rich-input/extensions/topic-asset-mention.d.ts +13 -0
- package/dist/rich-input/index.d.ts +2 -0
- package/dist/rich-input/lib/composer-content.d.ts +6 -1
- package/dist/rich-input/lib/topic-asset-suggestions.d.ts +6 -0
- package/dist/rich-input/use-input-history.d.ts +3 -1
- package/dist/rich-input.js +5689 -5529
- package/dist/rich-input.js.map +1 -1
- package/dist/style.full.css +1 -1
- package/package.json +2 -2
- package/public-api.md +23 -1
- package/dist/chunk-5J54S5BK.js.map +0 -1
- /package/dist/{chunk-WCMGQJLE.js.map → chunk-7IPINZHT.js.map} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blade-hq/agent-react",
|
|
3
|
-
"version": "2612.0.0-beta.
|
|
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.
|
|
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
|
-
共
|
|
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
|
+
|