@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.
- package/dist/index.js +82 -27
- package/dist/index.js.map +1 -1
- package/dist/resources/sessions.d.ts +4 -1
- package/dist/schemas/projection.d.ts +1 -0
- package/dist/schemas/session.d.ts +2 -0
- package/dist/shared/projection/builder.d.ts +1 -0
- package/dist/types/rest.d.ts +248 -411
- package/dist/types/socket-events.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.md +4 -2
|
@@ -227,8 +227,11 @@ export declare class SessionsResource {
|
|
|
227
227
|
id: string;
|
|
228
228
|
leaf_id: string;
|
|
229
229
|
}>;
|
|
230
|
-
deleteSession(sessionId: string
|
|
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>;
|
|
@@ -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
|
};
|