@blade-hq/agent-client 2612.0.0-beta.72 → 2612.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/dist/index.js CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  parseAskUserQuestion,
27
27
  transformSlashCommand,
28
28
  userFacingErrorText
29
- } from "./chunk-T5PXAGPI.js";
29
+ } from "./chunk-Y5UEXTRK.js";
30
30
  export {
31
31
  AgentSession,
32
32
  AgentSessionError,
package/dist/internal.js CHANGED
@@ -95,7 +95,7 @@ import {
95
95
  withTurns,
96
96
  workflowEntriesFromOutput,
97
97
  workflowNameFromArguments
98
- } from "./chunk-T5PXAGPI.js";
98
+ } from "./chunk-Y5UEXTRK.js";
99
99
 
100
100
  // src/polling-backoff.ts
101
101
  var MAX_BACKOFF_MS = 6e4;
@@ -115,6 +115,7 @@ export interface CreateSessionRequest {
115
115
  enable_thinking?: boolean | null;
116
116
  memory_enabled?: boolean | null;
117
117
  env?: Record<string, string>;
118
+ /** Pass ["platform:schedule"] to disable BA scheduled work for this session. */
118
119
  disable_tools?: string[] | null;
119
120
  mcp_sources?: McpSourceConfig[];
120
121
  /** 此会话的所有普通轮次直接执行工具,不弹审批。 */
@@ -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;
@@ -32,6 +32,7 @@ export interface SessionConfig {
32
32
  memoryEnabled?: boolean;
33
33
  compactionRatio?: number;
34
34
  env?: Record<string, string>;
35
+ /** Disable tools or an entire platform domain, e.g. ["platform:schedule"]. */
35
36
  disableTools?: string[];
36
37
  }
37
38
  /**
@@ -15,6 +15,7 @@ export interface SessionProfile {
15
15
  compactionRatio?: number;
16
16
  enableThinking?: boolean;
17
17
  memoryEnabled?: boolean;
18
+ /** Disable tools or an entire platform domain, e.g. ["platform:schedule"]. */
18
19
  disableTools?: string[];
19
20
  env?: Record<string, string>;
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blade-hq/agent-client",
3
- "version": "2612.0.0-beta.72",
3
+ "version": "2612.0.0-beta.74",
4
4
  "description": "Blade Agent 框架无关客户端:会话实时状态机、REST 通道、弹窗登录、页面协作。浏览器与 Node.js 通用。",
5
5
  "repository": {
6
6
  "type": "git",
package/public-api.md CHANGED
@@ -1357,6 +1357,7 @@ ports: SessionPortMapping[] | undefined
1357
1357
  preview_url: string | null | undefined
1358
1358
  replay_state: ReplayState | null | undefined
1359
1359
  sandbox_version: string | null | undefined
1360
+ scheduled_task_id: string | undefined
1360
1361
  shared: boolean | undefined
1361
1362
  solution: Solution | null | undefined
1362
1363
  solution_id: string | null | undefined
@@ -1382,6 +1383,7 @@ SessionInfo = type({
1382
1383
  "is_persistent?": "boolean",
1383
1384
  "initiator?": "'ui' | 'sdk' | 'unknown' | null",
1384
1385
  "is_headless?": "boolean",
1386
+ "scheduled_task_id?": "string",
1385
1387
  "viewer_role?": "'owner' | 'viewer'",
1386
1388
  "model?": "string | null",
1387
1389
  "enable_thinking?": "boolean | null",