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
+10 -1
View File
@@ -22,6 +22,8 @@ struct RecordedCall: Sendable, Equatable {
var executable: String
var arguments: [String]
var environment: [String: String]?
var directory: URL? = nil
var input: String? = nil
}
/// Records every call and answers from a script; for tests of argument construction and error paths.
@@ -39,7 +41,14 @@ final class ScriptedRunner: ProcessRunning, @unchecked Sendable {
}
func run(_ executable: String, arguments: [String], in directory: URL?, environment: [String: String]?) async throws -> ProcessResult {
let call = RecordedCall(executable: executable, arguments: arguments, environment: environment)
let call = RecordedCall(executable: executable, arguments: arguments, environment: environment, directory: directory)
lock.withLock { recorded.append(call) }
return try await respond(call)
}
func run(_ executable: String, arguments: [String], in directory: URL?, environment: [String: String]?,
input: String) async throws -> ProcessResult {
let call = RecordedCall(executable: executable, arguments: arguments, environment: environment, directory: directory, input: input)
lock.withLock { recorded.append(call) }
return try await respond(call)
}