瀏覽代碼

feat!: rename binary from sm121-launcher to sm121

Breaking change: the binary is now 'sm121' and the config directory
is ~/.config/sm121/ instead of ~/.config/sm121-launcher/.
Alexander Korolev 3 月之前
父節點
當前提交
12f1fa44f9
共有 5 個文件被更改,包括 6 次插入 和 6 次删除
  1. 1 1
      AGENTS.md
  2. 1 1
      Cargo.lock
  3. 1 1
      Cargo.toml
  4. 1 1
      src/config.rs
  5. 2 2
      src/config/tests.rs

+ 1 - 1
AGENTS.md

@@ -1,4 +1,4 @@
-# AGENTS.md — sm121-launcher
+# AGENTS.md — sm121
 
 Rust CLI (`edition 2024`) for launching vLLM/SGLang inference containers across a DGX Spark cluster via SSH (`russh`). Docker default, tmux alternative.
 

+ 1 - 1
Cargo.lock

@@ -3435,7 +3435,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
 
 [[package]]
-name = "sm121-launcher"
+name = "sm121"
 version = "0.1.0"
 dependencies = [
  "anyhow",

+ 1 - 1
Cargo.toml

@@ -1,5 +1,5 @@
 [package]
-name = "sm121-launcher"
+name = "sm121"
 version = "0.1.0"
 edition = "2024"
 

+ 1 - 1
src/config.rs

@@ -115,7 +115,7 @@ pub async fn load_recipe(recipe_name: &str) -> Result<Recipe> {
 }
 
 pub fn default_config_dir() -> Option<std::path::PathBuf> {
-    dirs::config_dir().map(|p| p.join("sm121-launcher"))
+    dirs::config_dir().map(|p| p.join("sm121"))
 }
 
 #[cfg(test)]

+ 2 - 2
src/config/tests.rs

@@ -160,9 +160,9 @@ fn test_default_distributed_backend_is_none() {
 }
 
 #[test]
-fn default_config_dir_appends_sm121_launcher() {
+fn default_config_dir_appends_sm121() {
     let Some(d) = default_config_dir() else {
         return;
     };
-    assert!(d.ends_with("sm121-launcher") && d.parent().is_some());
+    assert!(d.ends_with("sm121") && d.parent().is_some());
 }