@blade-hq/agent-react 2610.0.0-beta.36 → 2610.0.0-beta.37
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 +3 -0
- package/package.json +2 -2
- package/public-api.md +25 -1
package/dist/embed/entry.d.ts
CHANGED
|
@@ -35,6 +35,9 @@ declare const BladeAgent: {
|
|
|
35
35
|
isInboundEnvelope: typeof agentClient.isInboundEnvelope;
|
|
36
36
|
ComputersResource: typeof agentClient.ComputersResource;
|
|
37
37
|
canToggleComputer: typeof agentClient.canToggleComputer;
|
|
38
|
+
computerDaemonVersion: typeof agentClient.computerDaemonVersion;
|
|
39
|
+
computerOS: typeof agentClient.computerOS;
|
|
40
|
+
computerPlatformLabel: typeof agentClient.computerPlatformLabel;
|
|
38
41
|
computerState: typeof agentClient.computerState;
|
|
39
42
|
sortComputers: typeof agentClient.sortComputers;
|
|
40
43
|
ModelsResource: typeof agentClient.ModelsResource;
|
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.37",
|
|
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.37"
|
|
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
|
+
共 238 个公开声明。
|
|
7
7
|
|
|
8
8
|
## `acceptedPostChatFollowupCompletesLatestRun` (function)
|
|
9
9
|
|
|
@@ -451,6 +451,30 @@ tokens_before: number | null | undefined
|
|
|
451
451
|
trigger: "auto" | "manual" | "forced_retry" | null | undefined
|
|
452
452
|
```
|
|
453
453
|
|
|
454
|
+
## `computerDaemonVersion` (function)
|
|
455
|
+
|
|
456
|
+
```ts
|
|
457
|
+
computerDaemonVersion: (computer: SessionComputer) => string
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
## `computerOS` (function)
|
|
461
|
+
|
|
462
|
+
```ts
|
|
463
|
+
computerOS: (computer: SessionComputer) => ComputerOS
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
## `ComputerOS` (type)
|
|
467
|
+
|
|
468
|
+
```ts
|
|
469
|
+
export type ComputerOS = "macos" | "windows" | "linux" | "unknown"
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
## `computerPlatformLabel` (function)
|
|
473
|
+
|
|
474
|
+
```ts
|
|
475
|
+
computerPlatformLabel: (computer: SessionComputer) => string
|
|
476
|
+
```
|
|
477
|
+
|
|
454
478
|
## `ComputersResource` (class)
|
|
455
479
|
|
|
456
480
|
```ts
|