huskies: merge 1186 story compact chat command: distill session context deterministically, then reset with a seed

This commit is contained in:
Huskies Agent
2026-07-17 12:05:04 +00:00
parent b241661941
commit 043c77f077
29 changed files with 1051 additions and 6 deletions
@@ -134,6 +134,7 @@ pub(super) async fn handle_llm_message(
Ok(ClaudeCodeResult {
messages,
session_id,
..
}) => {
let reply = if !remaining.is_empty() {
let _ = msg_tx.send(remaining.clone());
@@ -416,6 +416,7 @@ mod tests {
sender: sender.to_string(),
content: "previous message".to_string(),
}],
..Default::default()
},
);
m
@@ -153,6 +153,7 @@ mod tests {
content: "hi there!".to_string(),
},
],
..Default::default()
},
);
@@ -200,6 +201,7 @@ mod tests {
sender: "111".to_string(),
content: "msg1".to_string(),
}],
..Default::default()
},
);
history.insert(
@@ -211,6 +213,7 @@ mod tests {
sender: "222".to_string(),
content: "msg2".to_string(),
}],
..Default::default()
},
);