@leaflow/sdk 0.23.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;
|