@blade-hq/agent-react 2610.0.0-beta.73 → 2610.0.0-beta.74
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 +2 -2
- package/public-api.md +3 -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.74",
|
|
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.74"
|
|
35
35
|
},
|
|
36
36
|
"bundledDependencies": [],
|
|
37
37
|
"peerDependencies": {
|
package/public-api.md
CHANGED
|
@@ -154,7 +154,7 @@ notification: { type: string; title: string; detail?: string; status: "info" | "
|
|
|
154
154
|
replayMismatch: { actualMessage?: string; expectedMessage?: string; respond: (decision: "keep_replay" | "continue_replay") => void; }
|
|
155
155
|
rewind: { checkpointId: string; }
|
|
156
156
|
sandboxOom: { toolCallId: string; }
|
|
157
|
-
sessionUpdated: { intent?: string; status?: SessionStatus; model?: string | null; boundSkillId?: string | null; replayState?: Record<string, unknown> | null; }
|
|
157
|
+
sessionUpdated: { workspacePath?: string; chatGroupId?: string | null; intent?: string; status?: SessionStatus; model?: string | null; boundSkillId?: string | null; replayState?: Record<string, unknown> | null; }
|
|
158
158
|
taskListUpdated: { tasks: unknown[]; }
|
|
159
159
|
toolCall: { toolCall: ToolCallInfo; turn: TurnProjection; }
|
|
160
160
|
toolPreview: { toolCallId: string; type: "resource-html" | "resource-uri"; content: string; title: string; mcpApp?: McpAppData; }
|
|
@@ -449,13 +449,14 @@ instructions: string
|
|
|
449
449
|
name: string
|
|
450
450
|
session_count: number
|
|
451
451
|
updated_at: string
|
|
452
|
+
workspace_path: string
|
|
452
453
|
```
|
|
453
454
|
|
|
454
455
|
## `ChatGroupsResource` (class)
|
|
455
456
|
|
|
456
457
|
```ts
|
|
457
458
|
create: (payload: { name: string; instructions?: string; }) => Promise<ChatGroup>
|
|
458
|
-
delete: (groupId: string) => Promise<{ deleted: boolean; deleted_sessions: number; }>
|
|
459
|
+
delete: (groupId: string, options?: { deleteWorkspace?: boolean; }) => Promise<{ deleted: boolean; deleted_sessions: number; }>
|
|
459
460
|
list: () => Promise<ChatGroup[]>
|
|
460
461
|
update: (groupId: string, payload: { name?: string; instructions?: string; }) => Promise<ChatGroup>
|
|
461
462
|
```
|