Land Phase 3 Epiphany thread state exposure

This commit is contained in:
Meta Vens 2026-04-24 00:41:16 +01:00
commit 80bc702675
20 changed files with 681 additions and 200 deletions

View file

@ -1327,6 +1327,7 @@ mod tests {
agent_role: None,
git_info: None,
name: None,
epiphany_state: None,
turns: vec![Turn {
id: "turn-1".to_string(),
items: vec![ThreadItem::CommandExecution {
@ -1503,6 +1504,7 @@ mod tests {
agent_role: None,
git_info: None,
name: Some("restore".to_string()),
epiphany_state: None,
turns: vec![
Turn {
id: "turn-complete".to_string(),

View file

@ -127,6 +127,7 @@ mod tests {
agent_role: None,
git_info: None,
name: None,
epiphany_state: None,
turns: Vec::new(),
}
}

View file

@ -2728,6 +2728,7 @@ async fn inactive_thread_started_notification_initializes_replay_session() -> Re
agent_role: Some("explorer".to_string()),
git_info: None,
name: Some("agent thread".to_string()),
epiphany_state: None,
turns: Vec::new(),
},
}),
@ -2813,6 +2814,7 @@ async fn inactive_thread_started_notification_preserves_primary_model_when_path_
agent_role: Some("explorer".to_string()),
git_info: None,
name: Some("agent thread".to_string()),
epiphany_state: None,
turns: Vec::new(),
},
}),
@ -2871,6 +2873,7 @@ async fn thread_read_session_state_does_not_reuse_primary_permission_profile() {
agent_role: None,
git_info: None,
name: Some("read thread".to_string()),
epiphany_state: None,
turns: Vec::new(),
};
@ -4633,6 +4636,7 @@ async fn thread_rollback_response_discards_queued_active_thread_events() {
agent_role: None,
git_info: None,
name: None,
epiphany_state: None,
turns: Vec::new(),
},
},

View file

@ -1576,6 +1576,7 @@ mod tests {
agent_role: None,
git_info: None,
name: None,
epiphany_state: None,
turns: vec![Turn {
id: "turn-1".to_string(),
items: vec![

View file

@ -2048,6 +2048,7 @@ mod tests {
agent_role: None,
git_info: None,
name: Some(String::from("Named thread")),
epiphany_state: None,
turns: Vec::new(),
};