Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ temp_lib/
AGENTS.md
CLAUDE.md
*_TASK.md
TODO.md

# Claude project-specific files
.claude/
Expand Down
13 changes: 11 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description = "GUI app and Toolkit for Claude Code"
authors = ["mufeedvh", "123vviekr"]
license = "AGPL-3.0"
edition = "2021"
default-run = "opcode"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down Expand Up @@ -56,6 +57,7 @@ sha2 = "0.10"
zstd = "0.13"
uuid = { version = "1.6", features = ["v4", "serde"] }
walkdir = "2"
open = "5"
serde_yaml = "0.9"
axum = { version = "0.8", features = ["ws"] }
tower = "0.5"
Expand Down
6 changes: 5 additions & 1 deletion src-tauri/capabilities/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
"core:window:allow-unmaximize",
"core:window:allow-close",
"core:window:allow-is-maximized",
"core:window:allow-start-dragging"
"core:window:allow-start-dragging",
"core:menu:default",
"core:menu:allow-new",
"core:menu:allow-append",
"core:menu:allow-popup"
]
}
11 changes: 11 additions & 0 deletions src-tauri/src/claude_binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,5 +689,16 @@ pub fn create_command_with_env(program: &str) -> Command {
}
}

// Ensure ~/.local/bin is in PATH (common install location for claude via npm/npx)
if let Ok(home) = std::env::var("HOME") {
let local_bin = format!("{}/.local/bin", home);
let current_path = std::env::var("PATH").unwrap_or_default();
if !current_path.contains(&local_bin) {
let new_path = format!("{}:{}", local_bin, current_path);
debug!("Adding ~/.local/bin to PATH: {}", local_bin);
cmd.env("PATH", new_path);
}
}

cmd
}
Loading