diff --git a/llmx-rs/core/src/client_common.rs b/llmx-rs/core/src/client_common.rs index 2df3ef03..e8b68171 100644 --- a/llmx-rs/core/src/client_common.rs +++ b/llmx-rs/core/src/client_common.rs @@ -371,7 +371,7 @@ pub(crate) fn create_text_param_for_request( r#type: TextFormatType::JsonSchema, strict: true, schema: schema.clone(), - name: "codex_output_schema".to_string(), + name: "llmx_output_schema".to_string(), }), }) } @@ -518,7 +518,7 @@ mod tests { assert_eq!( format.get("name"), - Some(&serde_json::Value::String("codex_output_schema".into())) + Some(&serde_json::Value::String("llmx_output_schema".into())) ); assert_eq!( format.get("type"), diff --git a/llmx-rs/tui/src/bottom_pane/mod.rs b/llmx-rs/tui/src/bottom_pane/mod.rs index a5cade06..5cdd964d 100644 --- a/llmx-rs/tui/src/bottom_pane/mod.rs +++ b/llmx-rs/tui/src/bottom_pane/mod.rs @@ -640,7 +640,7 @@ mod tests { for x in 0..area.width { row.push(buf[(x, y)].symbol().chars().next().unwrap_or(' ')); } - if row.contains("Ask Codex") { + if row.contains("Ask LLMX") { found_composer = true; break; } diff --git a/llmx-rs/tui/src/onboarding/auth.rs b/llmx-rs/tui/src/onboarding/auth.rs index d119552d..34ef0bb7 100644 --- a/llmx-rs/tui/src/onboarding/auth.rs +++ b/llmx-rs/tui/src/onboarding/auth.rs @@ -177,7 +177,7 @@ impl AuthModeWidget { let mut lines: Vec = vec![ Line::from(vec![ " ".into(), - "Sign in with ChatGPT to use Codex as part of your paid plan".into(), + "Sign in with ChatGPT to use LLMX as part of your paid plan".into(), ]), Line::from(vec![ " ".into(), @@ -288,14 +288,14 @@ impl AuthModeWidget { "".into(), " Before you start:".into(), "".into(), - " Decide how much autonomy you want to grant Codex".into(), + " Decide how much autonomy you want to grant LLMX".into(), Line::from(vec![ " For more details see the ".into(), "\u{1b}]8;;https://github.com/valknar/llmx\u{7}LLMX docs\u{1b}]8;;\u{7}".underlined(), ]) .dim(), "".into(), - " Codex can make mistakes".into(), + " LLMX can make mistakes".into(), " Review the code it writes and commands it runs".dim().into(), "".into(), " Powered by your ChatGPT account".into(), @@ -329,7 +329,7 @@ impl AuthModeWidget { let lines = vec![ "✓ API key configured".fg(Color::Green).into(), "".into(), - " Codex will use usage-based billing with your API key.".into(), + " LLMX will use usage-based billing with your API key.".into(), ]; Paragraph::new(lines) diff --git a/llmx-rs/tui/src/onboarding/trust_directory.rs b/llmx-rs/tui/src/onboarding/trust_directory.rs index b1634f8b..d12e9d97 100644 --- a/llmx-rs/tui/src/onboarding/trust_directory.rs +++ b/llmx-rs/tui/src/onboarding/trust_directory.rs @@ -44,13 +44,13 @@ impl WidgetRef for &TrustDirectoryWidget { column.push(Line::from(vec![ "> ".into(), - "You are running Codex in ".bold(), + "You are running LLMX in ".bold(), self.cwd.to_string_lossy().to_string().into(), ])); column.push(""); let guidance = if self.is_git_repo { - "Since this folder is version controlled, you may wish to allow Codex to work in this folder without asking for approval." + "Since this folder is version controlled, you may wish to allow LLMX to work in this folder without asking for approval." } else { "Since this folder is not version controlled, we recommend requiring approval of all edits and commands." }; @@ -65,7 +65,7 @@ impl WidgetRef for &TrustDirectoryWidget { let mut options: Vec<(&str, TrustDirectorySelection)> = Vec::new(); if self.is_git_repo { options.push(( - "Yes, allow Codex to work in this folder without asking for approval", + "Yes, allow LLMX to work in this folder without asking for approval", TrustDirectorySelection::Trust, )); options.push(( @@ -74,7 +74,7 @@ impl WidgetRef for &TrustDirectoryWidget { )); } else { options.push(( - "Allow Codex to work in this folder without asking for approval", + "Allow LLMX to work in this folder without asking for approval", TrustDirectorySelection::Trust, )); options.push(( diff --git a/llmx-rs/tui/src/onboarding/welcome.rs b/llmx-rs/tui/src/onboarding/welcome.rs index 645c86ba..b06f6001 100644 --- a/llmx-rs/tui/src/onboarding/welcome.rs +++ b/llmx-rs/tui/src/onboarding/welcome.rs @@ -68,7 +68,7 @@ impl WidgetRef for &WelcomeWidget { lines.push(Line::from(vec![ " ".into(), "Welcome to ".into(), - "Codex".bold(), + "LLMX".bold(), ", OpenAI's command-line coding agent".into(), ])); diff --git a/llmx-rs/tui/src/onboarding/windows.rs b/llmx-rs/tui/src/onboarding/windows.rs index 82cc04de..616b3bf4 100644 --- a/llmx-rs/tui/src/onboarding/windows.rs +++ b/llmx-rs/tui/src/onboarding/windows.rs @@ -32,11 +32,11 @@ pub(crate) const WSL_INSTRUCTIONS: &str = r#"Install WSL2 by opening PowerShell curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash && export NVM_DIR="$HOME/.nvm" && \. "$NVM_DIR/nvm.sh" nvm install 22 - # Install and run Codex in WSL + # Install and run LLMX in WSL npm install --global @openai/codex codex - # Additional details and instructions for how to install and run Codex in WSL: + # Additional details and instructions for how to install and run LLMX in WSL: https://developers.openai.com/codex/windows"#; pub(crate) struct WindowsSetupWidget { @@ -99,9 +99,9 @@ impl WidgetRef for &WindowsSetupWidget { let mut lines: Vec = vec![ Line::from(vec![ "> ".into(), - "To use all Codex features, we recommend running Codex in Windows Subsystem for Linux (WSL2)".bold(), + "To use all LLMX features, we recommend running LLMX in Windows Subsystem for Linux (WSL2)".bold(), ]), - Line::from(vec![" ".into(), "WSL allows Codex to run Agent mode in a sandboxed environment with better data protections in place.".into()]), + Line::from(vec![" ".into(), "WSL allows LLMX to run Agent mode in a sandboxed environment with better data protections in place.".into()]), Line::from(vec![" ".into(), "Learn more: https://developers.openai.com/codex/windows".into()]), Line::from(""), ]; diff --git a/llmx-rs/tui/src/slash_command.rs b/llmx-rs/tui/src/slash_command.rs index 969d279b..5dcd7f5f 100644 --- a/llmx-rs/tui/src/slash_command.rs +++ b/llmx-rs/tui/src/slash_command.rs @@ -41,14 +41,14 @@ impl SlashCommand { SlashCommand::Compact => "summarize conversation to prevent hitting the context limit", SlashCommand::Review => "review my current changes and find issues", SlashCommand::Undo => "ask Codex to undo a turn", - SlashCommand::Quit | SlashCommand::Exit => "exit Codex", + SlashCommand::Quit | SlashCommand::Exit => "exit LLMX", SlashCommand::Diff => "show git diff (including untracked files)", SlashCommand::Mention => "mention a file", SlashCommand::Status => "show current session configuration and token usage", SlashCommand::Model => "choose what model and reasoning effort to use", SlashCommand::Approvals => "choose what Codex can do without approval", SlashCommand::Mcp => "list configured MCP tools", - SlashCommand::Logout => "log out of Codex", + SlashCommand::Logout => "log out of LLMX", SlashCommand::Rollout => "print the rollout file path", SlashCommand::TestApproval => "test approval request", }