@leaflow/sdk 0.16.0 → 0.17.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.
|
@@ -906,6 +906,8 @@ export interface components {
|
|
|
906
906
|
status: string;
|
|
907
907
|
stream: components["schemas"]["StreamResource"] | null;
|
|
908
908
|
turn: components["schemas"]["TurnResource"] | null;
|
|
909
|
+
/** @description The assistant's checklist for the work in this conversation, in the order it intends to do it. Empty when it has not written one — short tasks do not get a list. It is rewritten in full each time, so what is here is the current state. */
|
|
910
|
+
todos?: components["schemas"]["TodoResource"][];
|
|
909
911
|
turnId: string | null;
|
|
910
912
|
wait: components["schemas"]["WaitResource"] | null;
|
|
911
913
|
};
|
|
@@ -929,6 +931,17 @@ export interface components {
|
|
|
929
931
|
attachmentIds?: string[] | null;
|
|
930
932
|
text: string;
|
|
931
933
|
};
|
|
934
|
+
TodoResource: {
|
|
935
|
+
/** @description The same step phrased as happening now — "Installing nginx". Show this one while the item is in progress. */
|
|
936
|
+
activeForm: string;
|
|
937
|
+
/** @description The step as an instruction — "Install nginx". */
|
|
938
|
+
content: string;
|
|
939
|
+
/**
|
|
940
|
+
* @description Where this step stands. At most one item is in_progress at any time.
|
|
941
|
+
* @enum {string}
|
|
942
|
+
*/
|
|
943
|
+
status: "pending" | "in_progress" | "completed";
|
|
944
|
+
};
|
|
932
945
|
TurnIDResponseBody: {
|
|
933
946
|
/** @description True when the assistant was already busy and this message was put in line instead of starting a turn. It is read at the next step of the turn already running, so there is nothing further to do — and turnId is empty in this case. */
|
|
934
947
|
queued: boolean;
|
|
@@ -363,6 +363,8 @@ export interface paths {
|
|
|
363
363
|
*
|
|
364
364
|
* To change enrollment settings, use PATCH. This endpoint returns an error when the parameters differ, and does not update an existing configuration.
|
|
365
365
|
*
|
|
366
|
+
* A failed call leaves the machine recorded with `monitoring_status: FAILED`; the reason is reported in `last_error` via `GET /servers/{serverId}`.
|
|
367
|
+
*
|
|
366
368
|
* The `tls_psk` in the response is **returned only this once**; store it immediately. If it is lost, it must be rotated.
|
|
367
369
|
*/
|
|
368
370
|
put: operations["enable-server-monitoring"];
|
|
@@ -2685,6 +2687,7 @@ export interface operations {
|
|
|
2685
2687
|
query?: never;
|
|
2686
2688
|
header?: never;
|
|
2687
2689
|
path: {
|
|
2690
|
+
/** @description Supplied by the caller; no operation issues one. Reuse the identifier the machine already carries in the originating system — a Leaflow Compute instance id, or the caller's own inventory identifier — or allocate a UUID and persist it before the first call. It is the idempotency key of the enrollment. */
|
|
2688
2691
|
serverId: string;
|
|
2689
2692
|
};
|
|
2690
2693
|
cookie?: never;
|
|
@@ -640,8 +640,6 @@ export interface components {
|
|
|
640
640
|
email_override_verified_at: string | null;
|
|
641
641
|
/** @description The language notifications are written in, as an IETF language tag */
|
|
642
642
|
locale: string;
|
|
643
|
-
/** @description The IANA time zone times in notifications are stated in */
|
|
644
|
-
timezone: string;
|
|
645
643
|
};
|
|
646
644
|
/** @description Fields that are omitted are left alone. */
|
|
647
645
|
UpdatePreferencesRequestBody: {
|
|
@@ -649,8 +647,6 @@ export interface components {
|
|
|
649
647
|
email_override?: string | null;
|
|
650
648
|
/** @description An IETF language tag. A language that is not supported is rejected rather than approximated */
|
|
651
649
|
locale?: string;
|
|
652
|
-
/** @description An IANA time zone name, such as Asia/Shanghai */
|
|
653
|
-
timezone?: string;
|
|
654
650
|
};
|
|
655
651
|
TypePreferenceResource: {
|
|
656
652
|
/** @description Where this type is delivered */
|