@blade-hq/agent-react 1.1.1 → 1.1.3
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 +0 -1
- package/dist/chunk-ZXXLY4RM.js +28255 -0
- package/dist/chunk-ZXXLY4RM.js.map +1 -0
- package/dist/components/MarkdownContent.d.ts +1 -5
- package/dist/embed/entry.d.ts +3 -3
- package/dist/highlighted-body-B3W2YXNL-YD7FAP6V.js +27 -0
- package/dist/highlighted-body-B3W2YXNL-YD7FAP6V.js.map +1 -0
- package/dist/hooks/use-agent-session.d.ts +1 -1
- package/dist/index.js +757 -79
- package/dist/index.js.map +1 -1
- package/dist/mermaid-3ZIDBTTL-N7YKJ3SM.js +8 -0
- package/dist/mermaid-3ZIDBTTL-N7YKJ3SM.js.map +1 -0
- package/package.json +7 -6
- package/public-api.md +85 -23
package/README.md
CHANGED
|
@@ -28,7 +28,6 @@ export function App() {
|
|
|
28
28
|
|
|
29
29
|
- 不传 `sessionId` 自动创建新会话;未登录时 `ChatView` 自己渲染登录按钮(弹窗授权,见 agent-client 的 `client.auth.login()`)。
|
|
30
30
|
- 同一 `BladeProvider` 下可以放多个 `ChatView`,各自独立会话、互不干扰。
|
|
31
|
-
- SDK 与 Server 版本不匹配时(见 agent-client「版本握手」),`ChatView` 会渲染可读的版本提示卡,而不是空白或报错堆栈。
|
|
32
31
|
|
|
33
32
|
## BladeProvider
|
|
34
33
|
|