Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix: Release version 0.1.3 with Windows compatibility
Maximilian Roos77399844f78a
diff --git a/Cargo.lock b/Cargo.lockindex 3ac575b6c..88b8952cb 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2619,7 +2619,7 @@ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"[[package]]name = "worktrunk"-version = "0.1.2"+version = "0.1.3"dependencies = ["anstream","anstyle",diff --git a/Cargo.toml b/Cargo.tomlindex 886b9bda1..68d83d14e 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -1,6 +1,6 @@[package]name = "worktrunk"-version = "0.1.2"+version = "0.1.3"edition = "2024"build = "build.rs"repository = "https://github.com/max-sixty/worktrunk"@@ -47,7 +47,6 @@ serde = { version = "1.0", features = ["derive"] }serde_json = "1.0"shell-escape = "0.1"shellexpand = "3.1"-skim = "0.20"strum = { version = "0.27", features = ["derive"] }synoptic = "2"terminal_size = "0.4"@@ -62,6 +61,9 @@ tree-sitter-bash = { version = "0.20", optional = true }tree-sitter-highlight = { version = "0.20", optional = true }unicode-width = "0.2"+[target.'cfg(unix)'.dependencies]+skim = "0.20"+[build-dependencies]vergen-gitcl = { version = "1.0.8", features = ["build"] }diff --git a/src/commands/mod.rs b/src/commands/mod.rsindex 8f79ca416..649e6bc7e 100644--- a/src/commands/mod.rs+++ b/src/commands/mod.rs@@ -8,6 +8,7 @@ pub mod init;pub mod list;pub mod merge;pub mod process;+#[cfg(unix)]pub mod select;pub mod worktree;@@ -23,6 +24,7 @@ pub use configure_shell::{ConfigAction, handle_configure_shell};pub use init::handle_init;pub use list::handle_list;pub use merge::handle_merge;+#[cfg(unix)]pub use select::handle_select;pub use worktree::{handle_remove, handle_switch};diff --git a/src/main.rs b/src/main.rsindex b61a7134a..5bf50b456 100644--- a/src/main.rs+++ b/src/main.rs@@ -28,13 +28,15 @@ mod display;mod llm;mod output;+#[cfg(unix)]+use commands::handle_select;use commands::worktree::SwitchResult;use commands::{ConfigAction, Shell, handle_beta_ask_approvals, handle_beta_commit, handle_beta_push,handle_beta_rebase, handle_beta_run_hook, handle_beta_squash, handle_complete,handle_completion, handle_config_help, handle_config_init, handle_config_list,handle_config_refresh_cache, handle_configure_shell, handle_init, handle_list, handle_merge,- handle_remove, handle_select, handle_switch,+ handle_remove, handle_switch,};use output::{execute_user_command, handle_remove_output, handle_switch_output};@@ -158,6 +160,7 @@ enum BetaCommand {/// - Mode 3: Branch diff (line changes ahead of main)////// Note: When viewing main itself, all commits shown without dimming+ #[cfg(unix)]Select,}@@ -614,6 +617,7 @@ fn main() {} => handle_beta_push(target.as_deref(), allow_merge_commits),BetaCommand::Rebase { target } => handle_beta_rebase(target.as_deref()).map(|_| ()),BetaCommand::AskApprovals { force, all } => handle_beta_ask_approvals(force, all),+ #[cfg(unix)]BetaCommand::Select => handle_select(),},Commands::List {