@blade-hq/agent-client 1.1.3 → 1.1.5

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.
@@ -227,8 +227,11 @@ export declare class SessionsResource {
227
227
  id: string;
228
228
  leaf_id: string;
229
229
  }>;
230
- deleteSession(sessionId: string): Promise<{
230
+ deleteSession(sessionId: string, options?: {
231
+ deleteWorkspace?: boolean;
232
+ }): Promise<{
231
233
  deleted: boolean;
234
+ workspace_deleted?: boolean;
232
235
  }>;
233
236
  listBackgroundTasks(sessionId: string, init?: RequestInit): Promise<BackgroundTask[]>;
234
237
  getBackgroundTask(sessionId: string, taskId: string, tail?: number, init?: RequestInit): Promise<BackgroundTask>;
@@ -82,6 +82,7 @@ export interface PatchEnvelope {
82
82
  workspace_changed?: {
83
83
  tool_call_id?: string;
84
84
  tool_name?: string;
85
+ workspace_path?: string;
85
86
  };
86
87
  };
87
88
  }
@@ -56,6 +56,7 @@ export declare const SessionInfo: import("arktype/internal/variants/object.ts").
56
56
  disable_tools?: string[] | undefined;
57
57
  runtime_type?: string | null | undefined;
58
58
  daemon_id?: string | null | undefined;
59
+ workspace_path?: string | null | undefined;
59
60
  match?: unknown;
60
61
  }, {}>;
61
62
  export type SessionInfo = Omit<typeof SessionInfo.infer, "template_id" | "solution" | "ports" | "match"> & {
@@ -80,6 +81,7 @@ export type SessionInfo = Omit<typeof SessionInfo.infer, "template_id" | "soluti
80
81
  disable_tools?: string[];
81
82
  runtime_type?: "sandbox" | "daemon" | string | null;
82
83
  daemon_id?: string | null;
84
+ workspace_path?: string | null;
83
85
  /** 仅在带 q 搜索的列表响应中出现;普通列表里此字段缺省。 */
84
86
  match?: SessionSearchMatch | null;
85
87
  };
@@ -11,6 +11,7 @@ export type ProjectionUpdate = {
11
11
  loopId: string;
12
12
  toolCallId?: string;
13
13
  toolName?: string;
14
+ workspacePath?: string;
14
15
  };
15
16
  export declare class ClientProjectionBuilder {
16
17
  private activeTurns;