@blade-hq/agent-react 2610.0.0-beta.27 → 2610.0.0-beta.28
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 +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/public-api.md +5 -1
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.28",
|
|
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.28"
|
|
35
35
|
},
|
|
36
36
|
"bundledDependencies": [],
|
|
37
37
|
"peerDependencies": {
|
package/public-api.md
CHANGED
|
@@ -526,6 +526,7 @@ createInitialSessionState: (sessionId: string) => SessionState
|
|
|
526
526
|
## `CreateSessionRequest` (interface)
|
|
527
527
|
|
|
528
528
|
```ts
|
|
529
|
+
agent_runtime_id: string | null | undefined
|
|
529
530
|
biz_role_id: string | null | undefined
|
|
530
531
|
compaction_ratio: number | null | undefined
|
|
531
532
|
daemon_id: string | null | undefined
|
|
@@ -536,7 +537,7 @@ intent: string | undefined
|
|
|
536
537
|
memory_enabled: boolean | null | undefined
|
|
537
538
|
model: string | null | undefined
|
|
538
539
|
primary_skill_id: string | null | undefined
|
|
539
|
-
runtime_type: "sandbox" | "daemon" | null | undefined
|
|
540
|
+
runtime_type: "sandbox" | "daemon" | "native" | null | undefined
|
|
540
541
|
session_solution_asset_id: string | null | undefined
|
|
541
542
|
solution_id: string | undefined
|
|
542
543
|
solution_ref: PublishedSolutionRef | undefined
|
|
@@ -1304,6 +1305,7 @@ SDK_VERSION: string
|
|
|
1304
1305
|
|
|
1305
1306
|
```ts
|
|
1306
1307
|
askUserAnswer: Record<string, unknown> | undefined
|
|
1308
|
+
kbIds: number[] | undefined
|
|
1307
1309
|
mode: string | undefined
|
|
1308
1310
|
model: string | undefined
|
|
1309
1311
|
replayDecision: "keep_replay" | "continue_replay" | undefined
|
|
@@ -1342,6 +1344,7 @@ solution: SolutionDefinition | undefined
|
|
|
1342
1344
|
## `SessionDetail` (interface)
|
|
1343
1345
|
|
|
1344
1346
|
```ts
|
|
1347
|
+
agent_runtime_id: string | null | undefined
|
|
1345
1348
|
biz_role_id: string | null | undefined
|
|
1346
1349
|
bound_skill_id: string | null | undefined
|
|
1347
1350
|
created_at: string
|
|
@@ -1434,6 +1437,7 @@ SessionInfo = type({
|
|
|
1434
1437
|
"disable_tools?": "string[]",
|
|
1435
1438
|
"runtime_type?": "string | null",
|
|
1436
1439
|
"daemon_id?": "string | null",
|
|
1440
|
+
"agent_runtime_id?": "string | null",
|
|
1437
1441
|
"workspace_path?": "string | null",
|
|
1438
1442
|
"match?": "unknown",
|
|
1439
1443
|
})
|