Keep AI session history local and update Galaxy branding
This commit is contained in:
@@ -193,11 +193,11 @@ impl CliAgentPluginManager for CodexPluginManager {
|
||||
}
|
||||
|
||||
fn install_success_message(&self) -> &'static str {
|
||||
"Warp plugin installed. Please restart Codex to activate."
|
||||
"Galaxy plugin installed. Please restart Codex to activate."
|
||||
}
|
||||
|
||||
fn update_success_message(&self) -> &'static str {
|
||||
"Warp plugin updated. Please restart Codex to activate."
|
||||
"Galaxy plugin updated. Please restart Codex to activate."
|
||||
}
|
||||
|
||||
fn install_instructions(&self) -> &'static PluginInstructions {
|
||||
@@ -273,17 +273,17 @@ impl CliAgentPluginManager for CodexPluginManager {
|
||||
|
||||
static PLUGIN_INSTALL_INSTRUCTIONS: LazyLock<PluginInstructions> =
|
||||
LazyLock::new(|| PluginInstructions {
|
||||
title: "Install Warp Plugin for Codex",
|
||||
title: "Install Galaxy notification plugin for Codex",
|
||||
subtitle: "Run the following commands, then restart Codex.",
|
||||
steps: &[
|
||||
PluginInstructionStep {
|
||||
description: "Add the Warp plugin marketplace repository",
|
||||
description: "Add the notification plugin marketplace repository",
|
||||
command: "codex plugin marketplace add warpdotdev/codex-warp",
|
||||
executable: true,
|
||||
link: None,
|
||||
},
|
||||
PluginInstructionStep {
|
||||
description: "Install the Warp plugin",
|
||||
description: "Install the notification plugin",
|
||||
command: "codex plugin add warp@codex-warp",
|
||||
executable: true,
|
||||
link: None,
|
||||
@@ -294,8 +294,8 @@ static PLUGIN_INSTALL_INSTRUCTIONS: LazyLock<PluginInstructions> =
|
||||
|
||||
static NATIVE_INSTALL_INSTRUCTIONS: LazyLock<PluginInstructions> = LazyLock::new(|| {
|
||||
PluginInstructions {
|
||||
title: "Enable Warp Notifications for Codex",
|
||||
subtitle: "Update Codex to the latest version, then enable in-focus notifications so Warp can display them while you work.",
|
||||
title: "Enable Galaxy notifications for Codex",
|
||||
subtitle: "Update Codex to the latest version, then enable in-focus notifications so Galaxy can display them while you work.",
|
||||
steps: &[
|
||||
PluginInstructionStep {
|
||||
description: "Update Codex to the latest version.",
|
||||
@@ -323,7 +323,7 @@ static EMPTY_INSTRUCTIONS: LazyLock<PluginInstructions> = LazyLock::new(|| Plugi
|
||||
|
||||
static PLUGIN_UPDATE_INSTRUCTIONS: LazyLock<PluginInstructions> = LazyLock::new(|| {
|
||||
PluginInstructions {
|
||||
title: "Update Warp Plugin for Codex",
|
||||
title: "Update Galaxy notification plugin for Codex",
|
||||
subtitle: "Run the following commands, then restart Codex.",
|
||||
steps: &[
|
||||
PluginInstructionStep {
|
||||
@@ -333,7 +333,7 @@ static PLUGIN_UPDATE_INSTRUCTIONS: LazyLock<PluginInstructions> = LazyLock::new(
|
||||
link: None,
|
||||
},
|
||||
PluginInstructionStep {
|
||||
description: "Reinstall the Warp plugin",
|
||||
description: "Reinstall the notification plugin",
|
||||
command: "codex plugin add warp@codex-warp",
|
||||
executable: true,
|
||||
link: None,
|
||||
|
||||
@@ -21,7 +21,7 @@ fn can_auto_install_is_false_without_codex_plugin() {
|
||||
fn install_instructions_are_native_without_codex_plugin() {
|
||||
let _guard = FeatureFlag::CodexPlugin.override_enabled(false);
|
||||
let instructions = CodexPluginManager::new(None, None, None).install_instructions();
|
||||
assert_eq!(instructions.title, "Enable Warp Notifications for Codex");
|
||||
assert_eq!(instructions.title, "Enable Galaxy notifications for Codex");
|
||||
assert_eq!(
|
||||
instructions.steps[1].command,
|
||||
"[tui]\nnotification_condition = \"always\""
|
||||
|
||||
@@ -45,7 +45,7 @@ use crate::terminal::view::ambient_agent::AmbientAgentViewModel;
|
||||
use crate::workspace::WorkspaceAction;
|
||||
use crate::workspaces::user_workspaces::UserWorkspaces;
|
||||
|
||||
const AUTO_BEDROCK_TOOLTIP: &str = "Warp uses Bedrock when the model Auto selects supports it; otherwise it may use Warp-hosted inference.";
|
||||
const AUTO_BEDROCK_TOOLTIP: &str = "Galaxy uses Bedrock when the model Auto selects supports it. Other models use their configured provider.";
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct AcceptModel {
|
||||
|
||||
@@ -79,7 +79,7 @@ pub fn wormhole_description(
|
||||
|
||||
let description = FormattedText::new(vec![FormattedTextLine::Line(vec![
|
||||
FormattedTextFragment::plain_text(
|
||||
"Bring Galaxy's features to your remote session: blocks, full text editing, completions, Oz, and more."
|
||||
"Bring Galaxy's features to your remote session: blocks, full text editing, completions, Galaxy Agent, and more."
|
||||
),
|
||||
])]);
|
||||
wormhole::render::build_description_row(description, theme, appearance, hyperlink_index.clone())
|
||||
|
||||
@@ -7801,24 +7801,24 @@ impl TerminalView {
|
||||
.get_pending_action(app)
|
||||
.map(|action| match &action.action {
|
||||
AIAgentActionType::RequestCommandOutput { command, .. } => {
|
||||
format!("Oz needs your permission to run `{command}`")
|
||||
format!("Galaxy needs your permission to run `{command}`")
|
||||
}
|
||||
AIAgentActionType::ReadFiles(..) => {
|
||||
"Oz needs your permission to read files".to_string()
|
||||
"Galaxy needs your permission to read files".to_string()
|
||||
}
|
||||
AIAgentActionType::SearchCodebase(..) => {
|
||||
"Oz needs your permission to search your codebase".to_string()
|
||||
"Galaxy needs your permission to search your codebase".to_string()
|
||||
}
|
||||
AIAgentActionType::RequestFileEdits { .. } => {
|
||||
"Oz needs your permission to edit a file".to_string()
|
||||
"Galaxy needs your permission to edit a file".to_string()
|
||||
}
|
||||
AIAgentActionType::WriteToLongRunningShellCommand { .. } => {
|
||||
"Oz needs your permission to interact with a running shell command"
|
||||
"Galaxy needs your permission to interact with a running shell command"
|
||||
.to_string()
|
||||
}
|
||||
_ => "Oz needs your confirmation to continue".to_string(),
|
||||
_ => "Galaxy needs your confirmation to continue".to_string(),
|
||||
})
|
||||
.unwrap_or("Oz needs your confirmation to continue".to_string());
|
||||
.unwrap_or("Galaxy needs your confirmation to continue".to_string());
|
||||
return Some(AIBlockNotificationSummary {
|
||||
success: false,
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user