@blade-hq/agent-client 2612.0.0-beta.21 → 2612.0.0-beta.23

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/index.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  normalizeTopicAssetRefs,
22
22
  transformSlashCommand,
23
23
  userFacingErrorText
24
- } from "./chunk-J3XXTHHK.js";
24
+ } from "./chunk-URGUACJP.js";
25
25
  export {
26
26
  AgentSession,
27
27
  AgentSessionError,
package/dist/internal.js CHANGED
@@ -86,7 +86,7 @@ import {
86
86
  withTurns,
87
87
  workflowEntriesFromOutput,
88
88
  workflowNameFromArguments
89
- } from "./chunk-J3XXTHHK.js";
89
+ } from "./chunk-URGUACJP.js";
90
90
 
91
91
  // src/polling-backoff.ts
92
92
  var MAX_BACKOFF_MS = 6e4;
@@ -63,6 +63,7 @@ export declare const SessionInfo: import("arktype/internal/variants/object.ts").
63
63
  is_persistent?: boolean | undefined;
64
64
  initiator?: "sdk" | "ui" | "unknown" | null | undefined;
65
65
  is_headless?: boolean | undefined;
66
+ scheduled_task_id?: string | undefined;
66
67
  viewer_role?: "owner" | "viewer" | undefined;
67
68
  model?: string | null | undefined;
68
69
  enable_thinking?: boolean | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blade-hq/agent-client",
3
- "version": "2612.0.0-beta.21",
3
+ "version": "2612.0.0-beta.23",
4
4
  "description": "Blade Agent 框架无关客户端:会话实时状态机、REST 通道、弹窗登录、页面协作。浏览器与 Node.js 通用。",
5
5
  "repository": {
6
6
  "type": "git",
package/public-api.md CHANGED
@@ -236,7 +236,7 @@ token: string | null
236
236
  anonymousSessionId: string | undefined
237
237
  baseUrl: string
238
238
  commandTransport: ((event: string, payload: Record<string, unknown>, send: () => Promise<Record<string, unknown>>, scope?: { anonymousSessionId: string; }) => Promise<Record<string, unknown>>) | undefined
239
- fetchImpl: { (input: RequestInfo | URL, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; } | undefined
239
+ fetchImpl: typeof fetch | undefined
240
240
  onRefreshSuccess: (() => void | Promise<void>) | undefined
241
241
  socketToken: string | (() => string | null | undefined) | undefined
242
242
  token: string | (() => string | null | undefined) | undefined
@@ -890,6 +890,7 @@ preview_url: string | null | undefined
890
890
  replay_state: ReplayState | null | undefined
891
891
  runtime_type: string | null | undefined
892
892
  sandbox_version: string | null | undefined
893
+ scheduled_task_id: string | undefined
893
894
  shared: boolean | undefined
894
895
  solution: Solution | null | undefined
895
896
  solution_id: string | null | undefined
@@ -915,6 +916,7 @@ SessionInfo = type({
915
916
  "is_persistent?": "boolean",
916
917
  "initiator?": "'ui' | 'sdk' | 'unknown' | null",
917
918
  "is_headless?": "boolean",
919
+ "scheduled_task_id?": "string",
918
920
  "viewer_role?": "'owner' | 'viewer'",
919
921
  "model?": "string | null",
920
922
  "enable_thinking?": "boolean | null",