Skip to content

Commit e6f598e

Browse files
committed
refactor: migrate rexos-cli to loopforge-cli across repo
1 parent b695049 commit e6f598e

25 files changed

Lines changed: 88 additions & 85 deletions

.github/workflows/release-dry-run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: Swatinem/rust-cache@v2
4545

4646
- name: Build (release)
47-
run: cargo build --release -p rexos-cli --locked
47+
run: cargo build --release -p loopforge-cli --locked
4848

4949
- name: Package (dry run)
5050
run: python scripts/package_release.py --version "dryrun-${{ github.run_id }}" --target "${{ matrix.target }}" --bin "${{ matrix.bin }}" --out-dir dist

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
uses: Swatinem/rust-cache@v2
4848

4949
- name: Build (release)
50-
run: cargo build --release -p rexos-cli --locked
50+
run: cargo build --release -p loopforge-cli --locked
5151

5252
- name: Package
5353
run: python scripts/package_release.py --version "${{ github.ref_name }}" --target "${{ matrix.target }}" --bin "${{ matrix.bin }}" --out-dir dist

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
resolver = "2"
33
members = [
44
"crates/rexos",
5-
"crates/rexos-cli",
5+
"crates/loopforge-cli",
66
"crates/rexos-daemon",
77
"crates/rexos-harness",
88
"crates/rexos-kernel",

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Download the archive for your OS from GitHub Releases, extract it, and put `loop
2929

3030
```bash
3131
# Install to ~/.cargo/bin (recommended for dev)
32-
cargo install --path crates/rexos-cli --locked
32+
cargo install --path crates/loopforge-cli --locked
3333
loopforge --help
3434

3535
# Or build a local binary
36-
cargo build --release -p rexos-cli
36+
cargo build --release -p loopforge-cli
3737
./target/release/loopforge --help
3838
```
3939

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ LoopForge(原 RexOS)是一个长任务的 Agent OS:持久化记忆、工
2929

3030
```bash
3131
# 安装到 ~/.cargo/bin(开发推荐)
32-
cargo install --path crates/rexos-cli --locked
32+
cargo install --path crates/loopforge-cli --locked
3333
loopforge --help
3434

3535
# 或仅构建本地二进制
36-
cargo build --release -p rexos-cli
36+
cargo build --release -p loopforge-cli
3737
./target/release/loopforge --help
3838
```
3939

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "rexos-cli"
2+
name = "loopforge-cli"
33
version.workspace = true
44
edition.workspace = true
55
license.workspace = true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl DoctorReport {
5555

5656
pub fn to_text(&self) -> String {
5757
let mut out = String::new();
58-
out.push_str("LoopForge doctor\n\n");
58+
out.push_str("LoopForge doctor (compat: rexos)\n\n");
5959
for c in &self.checks {
6060
let prefix = match c.status {
6161
CheckStatus::Ok => "OK ",
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ struct OnboardEvent {
5959

6060
#[derive(Debug, Parser)]
6161
#[command(name = "loopforge")]
62-
#[command(about = "LoopForge: long-running agent operating system", long_about = None)]
62+
#[command(
63+
about = "LoopForge (formerly RexOS): long-running agent operating system",
64+
long_about = None
65+
)]
6366
struct Cli {
6467
#[command(subcommand)]
6568
command: Command,

crates/rexos-harness/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn init_workspace(workspace_dir: &Path) -> anyhow::Result<()> {
4444

4545
std::fs::write(
4646
&progress_path,
47-
"# RexOS Progress Log\n\nThis file is append-only.\n",
47+
"# LoopForge Progress Log\n\nThis file is append-only.\n",
4848
)
4949
.with_context(|| format!("write {}", progress_path.display()))?;
5050

@@ -53,7 +53,7 @@ pub fn init_workspace(workspace_dir: &Path) -> anyhow::Result<()> {
5353
r#"#!/usr/bin/env bash
5454
set -euo pipefail
5555
56-
echo "[rexos] init.sh: customize this script for your project"
56+
echo "[loopforge] init.sh: customize this script for your project"
5757
"#,
5858
)
5959
.with_context(|| format!("write {}", init_sh_path.display()))?;
@@ -62,7 +62,7 @@ echo "[rexos] init.sh: customize this script for your project"
6262
&init_ps1_path,
6363
r#"$ErrorActionPreference = "Stop"
6464
65-
Write-Output "[rexos] init.ps1: customize this script for your project"
65+
Write-Output "[loopforge] init.ps1: customize this script for your project"
6666
"#,
6767
)
6868
.with_context(|| format!("write {}", init_ps1_path.display()))?;
@@ -343,7 +343,7 @@ fn ensure_gitignore_has_rexos_dir(workspace_dir: &Path) -> anyhow::Result<()> {
343343
}
344344

345345
fn initializer_system_prompt() -> &'static str {
346-
r#"You are RexOS initializer.
346+
r#"You are LoopForge initializer.
347347
348348
Your job:
349349
- Generate a comprehensive `features.json` from the user prompt.
@@ -362,7 +362,7 @@ Rules:
362362
}
363363

364364
fn coding_system_prompt() -> &'static str {
365-
r#"You are RexOS running a long-horizon harness coding session.
365+
r#"You are LoopForge running a long-horizon harness coding session.
366366
367367
Rules:
368368
- Work only inside the workspace directory.

0 commit comments

Comments
 (0)