@leaflow/sdk 0.22.0 → 0.24.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.
|
@@ -974,6 +974,7 @@ export interface components {
|
|
|
974
974
|
/** Format: date-time */
|
|
975
975
|
createdAt: string;
|
|
976
976
|
detail?: string | null;
|
|
977
|
+
presentation?: components["schemas"]["PresentationResource"] | null;
|
|
977
978
|
/** Format: int64 */
|
|
978
979
|
durationMs?: number | null;
|
|
979
980
|
id: string;
|
|
@@ -1001,6 +1002,54 @@ export interface components {
|
|
|
1001
1002
|
*/
|
|
1002
1003
|
type: "user_message" | "agent_message" | "reasoning" | "dynamic_tool_call" | "context_compaction" | "token_budget_reminder" | "turn_failure";
|
|
1003
1004
|
};
|
|
1005
|
+
/**
|
|
1006
|
+
* @description Structured detail produced by a tool call, in addition to the single-line `detail`. Null
|
|
1007
|
+
* when the call produced none.
|
|
1008
|
+
*
|
|
1009
|
+
* `kind` determines which of the remaining fields is populated.
|
|
1010
|
+
*/
|
|
1011
|
+
PresentationResource: {
|
|
1012
|
+
fileDiff?: components["schemas"]["FileDiffResource"] | null;
|
|
1013
|
+
/**
|
|
1014
|
+
* @description Determines which of the remaining fields is populated
|
|
1015
|
+
* @enum {string}
|
|
1016
|
+
*/
|
|
1017
|
+
kind: "file_diff";
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* @description The change a tool call applied to a single file.
|
|
1021
|
+
*
|
|
1022
|
+
* Populated once the call has completed successfully. It is absent while the call is pending
|
|
1023
|
+
* or awaiting approval, as the file's prior contents are read during execution. To preview an
|
|
1024
|
+
* edit awaiting approval, derive it from the call's `old_string` and `new_string` arguments.
|
|
1025
|
+
*/
|
|
1026
|
+
FileDiffResource: {
|
|
1027
|
+
/**
|
|
1028
|
+
* Format: int64
|
|
1029
|
+
* @description Lines added. Complete even when `unified` is null
|
|
1030
|
+
*/
|
|
1031
|
+
added: number;
|
|
1032
|
+
/** @description Absolute path of the file on the instance */
|
|
1033
|
+
path: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* Format: int64
|
|
1036
|
+
* @description Lines removed. Complete even when `unified` is null
|
|
1037
|
+
*/
|
|
1038
|
+
removed: number;
|
|
1039
|
+
/**
|
|
1040
|
+
* @description What the call did to the file
|
|
1041
|
+
* @enum {string}
|
|
1042
|
+
*/
|
|
1043
|
+
status: "added" | "modified" | "deleted";
|
|
1044
|
+
/**
|
|
1045
|
+
* @description The change as a unified diff with three lines of context. A file created by the call is
|
|
1046
|
+
* diffed against `/dev/null`.
|
|
1047
|
+
*
|
|
1048
|
+
* Null when the change exceeds the service's size limit. The diff is omitted in full
|
|
1049
|
+
* rather than truncated; `added` and `removed` remain complete.
|
|
1050
|
+
*/
|
|
1051
|
+
unified?: string | null;
|
|
1052
|
+
};
|
|
1004
1053
|
StreamResource: {
|
|
1005
1054
|
path: string;
|
|
1006
1055
|
ticket: string;
|
|
@@ -1008,8 +1008,12 @@ export interface components {
|
|
|
1008
1008
|
/** Format: date-time */
|
|
1009
1009
|
resolved_at: string | null;
|
|
1010
1010
|
resolved_trigger_expression: string;
|
|
1011
|
-
/**
|
|
1012
|
-
|
|
1011
|
+
/**
|
|
1012
|
+
* Format: uuid
|
|
1013
|
+
* @description The machine this alert is about. Null when the alert is not about a machine
|
|
1014
|
+
*/
|
|
1015
|
+
server_id: string | null;
|
|
1016
|
+
/** @description Empty when server_id is null */
|
|
1013
1017
|
server_name: string;
|
|
1014
1018
|
/** @enum {string} */
|
|
1015
1019
|
severity: "NOT_CLASSIFIED" | "INFORMATION" | "WARNING" | "AVERAGE" | "HIGH" | "DISASTER";
|
|
@@ -1017,6 +1021,11 @@ export interface components {
|
|
|
1017
1021
|
started_at: string;
|
|
1018
1022
|
tags: components["schemas"]["TagResource"][] | null;
|
|
1019
1023
|
trigger_expression: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* Format: uuid
|
|
1026
|
+
* @description The web check that reported this alert. Null when the alert did not come from a web check. Both this and server_id are set when the check runs on one of your machines
|
|
1027
|
+
*/
|
|
1028
|
+
web_check_id: string | null;
|
|
1020
1029
|
zabbix_event_id: string;
|
|
1021
1030
|
};
|
|
1022
1031
|
LengthAwarePageIncidentResource: {
|
|
@@ -1973,6 +1982,8 @@ export interface operations {
|
|
|
1973
1982
|
offset?: number;
|
|
1974
1983
|
/** @description Restrict to a single machine */
|
|
1975
1984
|
server_id?: string;
|
|
1985
|
+
/** @description Restrict to a single web check */
|
|
1986
|
+
web_check_id?: string;
|
|
1976
1987
|
incident_status?: "PROBLEM" | "RESOLVED";
|
|
1977
1988
|
/** @description Matches at or above this severity, not exactly this severity */
|
|
1978
1989
|
min_severity?: "NOT_CLASSIFIED" | "INFORMATION" | "WARNING" | "AVERAGE" | "HIGH" | "DISASTER";
|