adds claude-generated commit messages and a recent commits panel to the git view - adds log tailing in the explorer, branch merging and a clean up button

This commit is contained in:
2026-11-04 10:07:52 +01:00
parent 600d4874d2
commit cc6651c08a
49 changed files with 1944 additions and 180 deletions
@@ -20,6 +20,16 @@ public struct ExecutableLocator: Sendable {
return ExecutableLocator(directories: dirs.filter { seen.insert($0).inserted })
}
/// `standard` plus the folders the Claude CLI installs itself into, which a GUI app's PATH never holds.
public static var agent: ExecutableLocator {
let home = FileManager.default.homeDirectoryForCurrentUser.path
var locator = standard
for dir in ["\(home)/.local/bin", "\(home)/.claude/local"] where !locator.directories.contains(dir) {
locator.directories.append(dir)
}
return locator
}
/// The first executable file called `name`, or nil. A name with a slash is checked as given.
public func locate(_ name: String) -> URL? {
let fm = FileManager.default