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:
@@ -12,9 +12,12 @@ public struct WorkspaceServices {
|
||||
public var recentFiles: RecentFilesStoring
|
||||
/// The Schema view's dump reading and `helder:schema` runs.
|
||||
public var schema: SchemaServicing
|
||||
/// The Git view's Gen. Commit Message: the Claude CLI in print mode.
|
||||
public var commitMessages: CommitMessageGenerating
|
||||
|
||||
public init(git: GitServicing, files: FileServicing, search: SearchServicing, symbols: SymbolServicing,
|
||||
config: ConfigServicing, recentFiles: RecentFilesStoring, schema: SchemaServicing) {
|
||||
config: ConfigServicing, recentFiles: RecentFilesStoring, schema: SchemaServicing,
|
||||
commitMessages: CommitMessageGenerating) {
|
||||
self.git = git
|
||||
self.files = files
|
||||
self.search = search
|
||||
@@ -22,6 +25,7 @@ public struct WorkspaceServices {
|
||||
self.config = config
|
||||
self.recentFiles = recentFiles
|
||||
self.schema = schema
|
||||
self.commitMessages = commitMessages
|
||||
}
|
||||
|
||||
public static func live(root: URL) -> WorkspaceServices {
|
||||
@@ -34,7 +38,8 @@ public struct WorkspaceServices {
|
||||
symbols: SymbolService(root: root, config: config),
|
||||
config: config,
|
||||
recentFiles: RecentFilesStore(root: root),
|
||||
schema: SchemaService(root: root)
|
||||
schema: SchemaService(root: root),
|
||||
commitMessages: ClaudeCommitMessageService(root: root)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user