@blade-hq/agent-client 2612.0.0-beta.72 → 2612.0.0-beta.73
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/README.md +2 -0
- package/dist/{chunk-T5PXAGPI.js → chunk-H4DV34V3.js} +4 -2
- package/dist/chunk-H4DV34V3.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/resources/sessions.d.ts +1 -0
- package/dist/schemas/session.d.ts +1 -0
- package/dist/session/definition.d.ts +1 -0
- package/dist/types/sdk-profile.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.md +2 -0
- package/dist/chunk-T5PXAGPI.js.map +0 -1
package/dist/index.js
CHANGED
package/dist/internal.js
CHANGED
|
@@ -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;
|
|
@@ -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
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",
|