feat: add compaction event (#7289)

This commit is contained in:
jif-oai
2025-11-25 16:12:14 +00:00
committed by GitHub
parent 157a16cefa
commit 9ba27cfa0a
12 changed files with 38 additions and 10 deletions

View File

@@ -1219,6 +1219,14 @@ pub struct WindowsWorldWritableWarningNotification {
pub failed_scan: bool,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct ContextCompactedNotification {
pub thread_id: String,
pub turn_id: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]