agent: Rename a number of constructs from Assistant to Agent (#30196)

This PR renames a number of constructs in the `agent` crate from the
"Assistant" terminology to "Agent".

Not comprehensive, but it's a start.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-05-07 21:18:51 -04:00 committed by GitHub
parent d6c7cdd60f
commit 6cc6e4d4b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 155 additions and 163 deletions

View file

@ -52,8 +52,8 @@ pub trait InlineAssistDelegate {
cx: &mut Context<RulesLibrary>,
);
/// Returns whether the Assistant panel was focused.
fn focus_assistant_panel(
/// Returns whether the Agent panel was focused.
fn focus_agent_panel(
&self,
workspace: &mut Workspace,
window: &mut Window,
@ -814,7 +814,7 @@ impl RulesLibrary {
.update(cx, |workspace, window, cx| {
window.activate_window();
self.inline_assist_delegate
.focus_assistant_panel(workspace, window, cx)
.focus_agent_panel(workspace, window, cx)
})
.ok();
if panel == Some(true) {