Phase 6: Testing & Validation - Additional Fixes
Fixed remaining references found during testing: Rust source code fixes: - Updated CLI bin_name and override_usage: codex → llmx - Updated test examples in wsl_paths.rs - Updated GitHub URLs: github.com/openai/codex → github.com/valknar/llmx - Updated directory references: ~/.codex/ → ~/.llmx/ - Updated documentation link: "Codex docs" → "LLMX docs" - Updated feedback URL to point to valknar/llmx repository Configuration files: - Regenerated llmx-cli/package-lock.json with updated package name - Updated pnpm-lock.yaml Test results: - TypeScript SDK build: ✓ Success - TypeScript lint: ✓ Pass - Rust tests: 12/13 passed (1 locale-specific test failure unrelated to rename) - Rust release build: In progress Files changed: 22 files (49 insertions, 46 deletions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ use llmx_core::config::Config;
|
||||
use llmx_core::config::ConfigOverrides;
|
||||
use llmx_core::features::is_known_feature_key;
|
||||
|
||||
/// Codex CLI
|
||||
/// LLMX CLI
|
||||
///
|
||||
/// If no subcommand is specified, options will be forwarded to the interactive CLI.
|
||||
#[derive(Debug, Parser)]
|
||||
@@ -46,10 +46,10 @@ use llmx_core::features::is_known_feature_key;
|
||||
// If a sub‑command is given, ignore requirements of the default args.
|
||||
subcommand_negates_reqs = true,
|
||||
// The executable is sometimes invoked via a platform‑specific name like
|
||||
// `codex-x86_64-unknown-linux-musl`, but the help output should always use
|
||||
// the generic `codex` command name that users run.
|
||||
bin_name = "codex",
|
||||
override_usage = "codex [OPTIONS] [PROMPT]\n codex [OPTIONS] <COMMAND> [ARGS]"
|
||||
// `llmx-x86_64-unknown-linux-musl`, but the help output should always use
|
||||
// the generic `llmx` command name that users run.
|
||||
bin_name = "llmx",
|
||||
override_usage = "llmx [OPTIONS] [PROMPT]\n llmx [OPTIONS] <COMMAND> [ARGS]"
|
||||
)]
|
||||
struct MultitoolCli {
|
||||
#[clap(flatten)]
|
||||
|
||||
@@ -27,7 +27,7 @@ use llmx_rmcp_client::supports_oauth_login;
|
||||
/// - `serve` — run the MCP server on stdio
|
||||
/// - `list` — list configured servers (with `--json`)
|
||||
/// - `get` — show a single server (with `--json`)
|
||||
/// - `add` — add a server launcher entry to `~/.codex/config.toml`
|
||||
/// - `add` — add a server launcher entry to `~/.llmx/config.toml`
|
||||
/// - `remove` — delete a server entry
|
||||
#[derive(Debug, clap::Parser)]
|
||||
pub struct McpCli {
|
||||
@@ -354,7 +354,7 @@ async fn run_login(config_overrides: &CliConfigOverrides, login_args: LoginArgs)
|
||||
|
||||
if !config.features.enabled(Feature::RmcpClient) {
|
||||
bail!(
|
||||
"OAuth login is only supported when [features].rmcp_client is true in config.toml. See https://github.com/openai/codex/blob/main/docs/config.md#feature-flags for details."
|
||||
"OAuth login is only supported when [features].rmcp_client is true in config.toml. See https://github.com/valknar/llmx/blob/main/docs/config.md#feature-flags for details."
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ use std::ffi::OsStr;
|
||||
|
||||
/// WSL-specific path helpers used by the updater logic.
|
||||
///
|
||||
/// See https://github.com/openai/codex/issues/6086.
|
||||
/// See https://github.com/valknar/llmx/issues/6086.
|
||||
pub fn is_wsl() -> bool {
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
@@ -59,14 +59,14 @@ mod tests {
|
||||
#[test]
|
||||
fn win_to_wsl_basic() {
|
||||
assert_eq!(
|
||||
win_path_to_wsl(r"C:\Temp\codex.zip").as_deref(),
|
||||
Some("/mnt/c/Temp/codex.zip")
|
||||
win_path_to_wsl(r"C:\Temp\llmx.zip").as_deref(),
|
||||
Some("/mnt/c/Temp/llmx.zip")
|
||||
);
|
||||
assert_eq!(
|
||||
win_path_to_wsl("D:/Work/codex.tgz").as_deref(),
|
||||
Some("/mnt/d/Work/codex.tgz")
|
||||
win_path_to_wsl("D:/Work/llmx.tgz").as_deref(),
|
||||
Some("/mnt/d/Work/llmx.tgz")
|
||||
);
|
||||
assert!(win_path_to_wsl("/home/user/codex").is_none());
|
||||
assert!(win_path_to_wsl("/home/user/llmx").is_none());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user