@leaflow/sdk 0.43.0 → 0.44.0
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.
|
@@ -455,12 +455,24 @@ export interface paths {
|
|
|
455
455
|
get: operations["get-thread"];
|
|
456
456
|
put?: never;
|
|
457
457
|
post?: never;
|
|
458
|
-
|
|
458
|
+
/**
|
|
459
|
+
* Delete a conversation
|
|
460
|
+
* @description Removes the conversation from every list and makes it unreachable by id. The assistant can no longer find it either — neither by searching past conversations nor by reading one back.
|
|
461
|
+
*
|
|
462
|
+
* Deleting is not the same as archiving, and the two are not degrees of the same thing. An archived conversation is still there and still readable, it just takes no new input; a deleted one is gone from view. Archiving can be undone; this cannot.
|
|
463
|
+
*
|
|
464
|
+
* What survives is the record itself, because a conversation with this assistant is an account of what was done to real infrastructure — which machine was changed, which disk was removed. That record is kept even though nobody can reach it here.
|
|
465
|
+
*
|
|
466
|
+
* Fails while a turn is running: stop it first. Deleting an already deleted conversation succeeds and changes nothing.
|
|
467
|
+
*/
|
|
468
|
+
delete: operations["delete-thread"];
|
|
459
469
|
options?: never;
|
|
460
470
|
head?: never;
|
|
461
471
|
/**
|
|
462
472
|
* Update conversation settings
|
|
463
|
-
* @description Changes the approval mode and archived
|
|
473
|
+
* @description Changes the title, the approval mode, and whether the conversation is archived. A change to the approval mode takes effect from the next turn; a turn already running keeps the settings it started with.
|
|
474
|
+
*
|
|
475
|
+
* Archiving makes a conversation read-only: it stays in the list under "archived", stays readable, and the assistant can still find it when it searches past conversations — it just takes no new input. Unarchive it to continue. Archiving fails while a turn is running; stop it first.
|
|
464
476
|
*/
|
|
465
477
|
patch: operations["update-thread"];
|
|
466
478
|
trace?: never;
|
|
@@ -2267,6 +2279,35 @@ export interface operations {
|
|
|
2267
2279
|
};
|
|
2268
2280
|
};
|
|
2269
2281
|
};
|
|
2282
|
+
"delete-thread": {
|
|
2283
|
+
parameters: {
|
|
2284
|
+
query?: never;
|
|
2285
|
+
header?: never;
|
|
2286
|
+
path: {
|
|
2287
|
+
thread: string;
|
|
2288
|
+
};
|
|
2289
|
+
cookie?: never;
|
|
2290
|
+
};
|
|
2291
|
+
requestBody?: never;
|
|
2292
|
+
responses: {
|
|
2293
|
+
/** @description No Content */
|
|
2294
|
+
204: {
|
|
2295
|
+
headers: {
|
|
2296
|
+
[name: string]: unknown;
|
|
2297
|
+
};
|
|
2298
|
+
content?: never;
|
|
2299
|
+
};
|
|
2300
|
+
/** @description Error */
|
|
2301
|
+
default: {
|
|
2302
|
+
headers: {
|
|
2303
|
+
[name: string]: unknown;
|
|
2304
|
+
};
|
|
2305
|
+
content: {
|
|
2306
|
+
"application/json": components["schemas"]["Error"];
|
|
2307
|
+
};
|
|
2308
|
+
};
|
|
2309
|
+
};
|
|
2310
|
+
};
|
|
2270
2311
|
"update-thread": {
|
|
2271
2312
|
parameters: {
|
|
2272
2313
|
query?: never;
|