[app-server] fix: emit item/fileChange/outputDelta for file change items (#7399)

This commit is contained in:
Owen Lin
2025-12-01 09:52:34 -08:00
committed by GitHub
parent 44d92675eb
commit 8532876ad8
4 changed files with 70 additions and 10 deletions

View File

@@ -1353,6 +1353,16 @@ pub struct CommandExecutionOutputDeltaNotification {
pub delta: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct FileChangeOutputDeltaNotification {
pub thread_id: String,
pub turn_id: String,
pub item_id: String,
pub delta: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]