@blade-hq/agent-react 2610.0.0-beta.80 → 2610.0.0-beta.81
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/dist/embed/entry.d.ts +1 -0
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/public-api.md +13 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blade-hq/agent-react",
|
|
3
|
-
"version": "2610.0.0-beta.
|
|
3
|
+
"version": "2610.0.0-beta.81",
|
|
4
4
|
"description": "Blade Agent React 绑定:BladeProvider、useAgentSession、开箱即用的 ChatView 聊天界面。",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@blade-hq/agent-client": "2610.0.0-beta.
|
|
34
|
+
"@blade-hq/agent-client": "2610.0.0-beta.81"
|
|
35
35
|
},
|
|
36
36
|
"bundledDependencies": [],
|
|
37
37
|
"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
|
+
共 373 个公开声明。
|
|
7
7
|
|
|
8
8
|
## `acceptedPostChatFollowupCompletesLatestRun` (function)
|
|
9
9
|
|
|
@@ -132,6 +132,16 @@ subscribe: (listener: () => void) => () => void
|
|
|
132
132
|
updateQueuedMessage: (itemId: string, expectedVersion: number, content: string) => Promise<QueueOperationResult>
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
+
## `AgentSessionError` (class)
|
|
136
|
+
|
|
137
|
+
```ts
|
|
138
|
+
cause: unknown
|
|
139
|
+
code: string | undefined
|
|
140
|
+
message: string
|
|
141
|
+
name: "AgentSessionError"
|
|
142
|
+
stack: string | undefined
|
|
143
|
+
```
|
|
144
|
+
|
|
135
145
|
## `AgentSessionEventName` (type)
|
|
136
146
|
|
|
137
147
|
```ts
|
|
@@ -146,7 +156,7 @@ attachRequested: { label: string; content: string; }
|
|
|
146
156
|
backgroundTask: { id: string; command: string; description?: string; status: "starting" | "running" | "cancelling" | "succeeded" | "failed" | "cancelled" | "lost"; failureReason?: string | null; exitCode?: number | null; elapsedSeconds: number; output?: string; }
|
|
147
157
|
chatEnd: { status: string; }
|
|
148
158
|
command: { action: string; payload: unknown; toolCallId?: string; }
|
|
149
|
-
error: { message: string; }
|
|
159
|
+
error: { message: string; code?: string; }
|
|
150
160
|
insertTextRequested: { text: string; }
|
|
151
161
|
message: { message: ChatMessage; turn: TurnProjection; }
|
|
152
162
|
modeChange: { mode: "planning" | "executing"; }
|
|
@@ -1990,6 +2000,7 @@ queuedMessageStatusLabel: (status: QueuedMessageStatus) => string
|
|
|
1990
2000
|
## `QueueOperationResult` (interface)
|
|
1991
2001
|
|
|
1992
2002
|
```ts
|
|
2003
|
+
code: string | undefined
|
|
1993
2004
|
conflict: boolean
|
|
1994
2005
|
message: string | null
|
|
1995
2006
|
ok: boolean
|