@blade-hq/agent-client 2610.0.0-beta.13 → 2610.0.0-beta.14

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blade-hq/agent-client",
3
- "version": "2610.0.0-beta.13",
3
+ "version": "2610.0.0-beta.14",
4
4
  "description": "Blade Agent 框架无关客户端:会话实时状态机、REST 通道、弹窗登录、页面协作。浏览器与 Node.js 通用。",
5
5
  "repository": {
6
6
  "type": "git",
package/public-api.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > 本文件由 `scripts/public-api-report.mjs` 生成,请勿手改。
4
4
  > 公共面变更时重新生成本报告,并同步更新 README 对应章节——CI 会校验两者。
5
5
 
6
- 共 143 个公开声明。
6
+ 共 137 个公开声明。
7
7
 
8
8
  ## `acceptedPostChatFollowupCompletesLatestRun` (function)
9
9
 
@@ -410,12 +410,6 @@ allowedOrigins: string[]
410
410
  iframe: HTMLIFrameElement | undefined
411
411
  ```
412
412
 
413
- ## `EMPTY_PLATFORM_ENDPOINTS` (const)
414
-
415
- ```ts
416
- EMPTY_PLATFORM_ENDPOINTS: PlatformEndpoints
417
- ```
418
-
419
413
  ## `ExchangeCodeParams` (interface)
420
414
 
421
415
  ```ts
@@ -608,20 +602,6 @@ export enum LayoutType {
608
602
  }
609
603
  ```
610
604
 
611
- ## `loadPlatformEndpoints` (function)
612
-
613
- ```ts
614
- loadPlatformEndpoints: (options?: LoadPlatformEndpointsOptions) => Promise<PlatformEndpoints>
615
- ```
616
-
617
- ## `LoadPlatformEndpointsOptions` (interface)
618
-
619
- ```ts
620
- baseUrl: string | undefined
621
- fetchImpl: { (input: RequestInfo | URL, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; } | undefined
622
- timeoutMs: number | undefined
623
- ```
624
-
625
605
  ## `LoginOptions` (interface)
626
606
 
627
607
  ```ts
@@ -734,18 +714,6 @@ sequence: number
734
714
  turn_id: string
735
715
  ```
736
716
 
737
- ## `PlatformEndpoints` (interface)
738
-
739
- ```ts
740
- services: Partial<Record<"os" | "hub" | "agent" | "oauth" | "llmGateway" | "gitea", string>>
741
- ```
742
-
743
- ## `PlatformServiceName` (type)
744
-
745
- ```ts
746
- export type PlatformServiceName = (typeof PLATFORM_SERVICE_NAMES)[number]
747
- ```
748
-
749
717
  ## `PostChatFollowup` (interface)
750
718
 
751
719
  ```ts
@@ -858,12 +826,6 @@ speed: ReplaySpeed | undefined
858
826
  status: "replay" | "autonomous" | undefined
859
827
  ```
860
828
 
861
- ## `resolveServiceUrl` (function)
862
-
863
- ```ts
864
- resolveServiceUrl: (endpoints: PlatformEndpoints, name: PlatformServiceName, path?: string) => string | null
865
- ```
866
-
867
829
  ## `ResultFeedback` (interface)
868
830
 
869
831
  ```ts
@@ -1,14 +0,0 @@
1
- export declare const PLATFORM_SERVICE_NAMES: readonly ["os", "hub", "agent", "oauth", "llmGateway", "gitea"];
2
- export type PlatformServiceName = (typeof PLATFORM_SERVICE_NAMES)[number];
3
- export interface PlatformEndpoints {
4
- services: Partial<Record<PlatformServiceName, string>>;
5
- }
6
- export declare const EMPTY_PLATFORM_ENDPOINTS: PlatformEndpoints;
7
- export interface LoadPlatformEndpointsOptions {
8
- baseUrl?: string;
9
- fetchImpl?: typeof fetch;
10
- timeoutMs?: number;
11
- }
12
- export declare function parsePlatformEndpoints(value: unknown): PlatformEndpoints | null;
13
- export declare function loadPlatformEndpoints(options?: LoadPlatformEndpointsOptions): Promise<PlatformEndpoints>;
14
- export declare function resolveServiceUrl(endpoints: PlatformEndpoints, name: PlatformServiceName, path?: string): string | null;