protocol rename

This commit is contained in:
Roy Han
2026-03-24 14:42:53 -07:00
parent e7a4e25e83
commit 5d7f0e0c83
77 changed files with 296 additions and 308 deletions

View File

@@ -564,7 +564,7 @@ async fn thread_resume_without_overrides_does_not_change_updated_at_or_mtime() -
text: "Hello".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -614,7 +614,7 @@ async fn thread_resume_keeps_in_flight_turn_streaming() -> Result<()> {
text: "seed history".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -640,7 +640,7 @@ async fn thread_resume_keeps_in_flight_turn_streaming() -> Result<()> {
text: "respond with docs".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -723,7 +723,7 @@ async fn thread_resume_rejects_history_when_thread_is_running() -> Result<()> {
text: "seed history".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -747,7 +747,7 @@ async fn thread_resume_rejects_history_when_thread_is_running() -> Result<()> {
text: "keep running".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -841,7 +841,7 @@ async fn thread_resume_rejects_mismatched_path_when_thread_is_running() -> Resul
text: "seed history".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -865,7 +865,7 @@ async fn thread_resume_rejects_mismatched_path_when_thread_is_running() -> Resul
text: "keep running".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -949,7 +949,7 @@ async fn thread_resume_rejoins_running_thread_even_with_override_mismatch() -> R
text: "seed history".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -972,7 +972,7 @@ async fn thread_resume_rejoins_running_thread_even_with_override_mismatch() -> R
text: "keep running".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -1064,7 +1064,7 @@ async fn thread_resume_replays_pending_command_execution_request_approval() -> R
text: "seed history".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -1088,7 +1088,7 @@ async fn thread_resume_replays_pending_command_execution_request_approval() -> R
text_elements: Vec::new(),
}],
approval_policy: Some(AskForApproval::UnlessTrusted),
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -1205,7 +1205,7 @@ async fn thread_resume_replays_pending_file_change_request_approval() -> Result<
text_elements: Vec::new(),
}],
cwd: Some(workspace.clone()),
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -1230,7 +1230,7 @@ async fn thread_resume_replays_pending_file_change_request_approval() -> Result<
}],
cwd: Some(workspace.clone()),
approval_policy: Some(AskForApproval::UnlessTrusted),
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -1375,7 +1375,7 @@ async fn thread_resume_with_overrides_defers_updated_at_until_turn_start() -> Re
text: "Hello".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -1555,7 +1555,7 @@ async fn thread_resume_prefers_path_over_thread_id() -> Result<()> {
text: "materialize".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -1676,7 +1676,7 @@ async fn start_materialized_thread_and_restart(
text: seed_text.to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -1751,7 +1751,7 @@ async fn thread_resume_accepts_personality_override() -> Result<()> {
text: "seed history".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;
@@ -1792,7 +1792,7 @@ async fn thread_resume_accepts_personality_override() -> Result<()> {
text: "Hello".to_string(),
text_elements: Vec::new(),
}],
user_message_type: None,
submission_type: None,
..Default::default()
})
.await?;