Phase 7: Build & Release Pipeline

Updated GitHub Actions workflows and build scripts:

GitHub Actions:
- Updated all workflow files to use llmx-rs instead of codex-rs
- Updated rust-release.yml to build llmx binary
- Updated rust-ci.yml for continuous integration
- Updated sdk.yml for TypeScript SDK workflows

Build Scripts:
- Renamed scripts/debug-codex.sh → scripts/debug-llmx.sh
- Updated debug script to use LLMX_RS_DIR and build llmx binary
- Updated scripts/stage_npm_packages.py with new package names
- Updated llmx-cli/scripts/build_npm_package.py:
  - Package choices: "codex" → "llmx", "codex-responses-api-proxy" → "llmx-responses-api-proxy"
  - Updated default package: codex → llmx
  - Updated component dependencies
- Updated llmx-cli/scripts/install_native_deps.py:
  - Binary component names: codex → llmx
  - Artifact prefixes and destinations updated
  - Variable names: CODEX_CLI_ROOT → LLMX_CLI_ROOT
  - Default components: ["codex", "rg"] → ["llmx", "rg"]

GitHub URLs:
- Updated all references: github.com/openai/codex → github.com/valknar/llmx

Files changed: 8 files (build scripts and workflows)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Sebastian Krüger
2025-11-11 15:14:15 +01:00
parent 7be8b00b05
commit ef47ff60f9
8 changed files with 60 additions and 60 deletions

View File

@@ -1,10 +0,0 @@
#!/bin/bash
# Set "chatgpt.cliExecutable": "/Users/<USERNAME>/code/codex/scripts/debug-codex.sh" in VSCode settings to always get the
# latest codex-rs binary when debugging Codex Extension.
set -euo pipefail
CODEX_RS_DIR=$(realpath "$(dirname "$0")/../codex-rs")
(cd "$CODEX_RS_DIR" && cargo run --quiet --bin codex -- "$@")

10
scripts/debug-llmx.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Set "chatgpt.cliExecutable": "/Users/<USERNAME>/code/llmx/scripts/debug-llmx.sh" in VSCode settings to always get the
# latest llmx-rs binary when debugging LLMX Extension.
set -euo pipefail
LLMX_RS_DIR=$(realpath "$(dirname "$0")/../llmx-rs")
(cd "$LLMX_RS_DIR" && cargo run --quiet --bin llmx -- "$@")

View File

@@ -14,12 +14,12 @@ from pathlib import Path
REPO_ROOT = Path(__file__).resolve().parent.parent
BUILD_SCRIPT = REPO_ROOT / "codex-cli" / "scripts" / "build_npm_package.py"
INSTALL_NATIVE_DEPS = REPO_ROOT / "codex-cli" / "scripts" / "install_native_deps.py"
BUILD_SCRIPT = REPO_ROOT / "llmx-cli" / "scripts" / "build_npm_package.py"
INSTALL_NATIVE_DEPS = REPO_ROOT / "llmx-cli" / "scripts" / "install_native_deps.py"
WORKFLOW_NAME = ".github/workflows/rust-release.yml"
GITHUB_REPO = "openai/codex"
GITHUB_REPO = "valknar/llmx"
_SPEC = importlib.util.spec_from_file_location("codex_build_npm_package", BUILD_SCRIPT)
_SPEC = importlib.util.spec_from_file_location("llmx_build_npm_package", BUILD_SCRIPT)
if _SPEC is None or _SPEC.loader is None:
raise RuntimeError(f"Unable to load module from {BUILD_SCRIPT}")
_BUILD_MODULE = importlib.util.module_from_spec(_SPEC)