Skip to content
Merged
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
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ What changed in each version of Kaern. A version's section is what its update wi

## [Unreleased]

### New

- An Open button in the toolbar opens the repository in your editor, VS Code for example, and shows that editor's
icon. Its ▾ opens it in another editor, in an agent, in Finder or in the terminal. ⌥E, ⌥O and ⌥T do the same from
the keyboard, as in GitKraken.
- The agents you have show up in the Open menus by themselves: Claude Code and Codex (in their apps, the Claude app
and ChatGPT, or in a terminal), Kiro CLI, Gemini CLI, Cursor Agent and Copilot CLI. From a file's menu, Claude Code
and Codex start with the file named in their prompt.
- Review has an Open button too: it opens the file you're looking at in your editor at its first change, and so does
⌘↓. For a commit's file, its ▾ also opens that commit's version as a read-only copy. The files' right-click menus
have Open in and Open With.
- Settings › Open In: choose the editor and the terminal, leave out of the Open menus what you don't use, and add
any other app, a command to run in your terminal, or a link (Customize Menu… in the ▾ goes there). Open in
Terminal used to always open Terminal.

### Improved

- A branch or tag name that doesn't fit can be read whole: rest the pointer on it. In the history, a label that
Expand All @@ -24,6 +39,8 @@ What changed in each version of Kaern. A version's section is what its update wi
the submodule out, as it does with `ignore = all`. It read "?" before.
- Quick Look opened again right after closing it (Space twice in a row) stays open. Before, it closed again at
once.
- Blame on a file that a commit deleted, from that commit's right-click menu, shows the file as it was before the
commit. It showed an empty blame.

## [1.0.1] - 2026-11-19

Expand Down
4 changes: 4 additions & 0 deletions Kaern/App/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
#endif
AppModel.shared.launch()
QuickLookCopies.removeOld()
VersionCopies.removeOld()
TerminalCommands.removeOld()
// The agents in the terminal are found on your login shell's PATH (OpenAgents).
LoginPath.load()
// Release builds only (UpdateController.isAvailable).
UpdateController.shared.start()
}
Expand Down
2 changes: 2 additions & 0 deletions Kaern/App/AppModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ final class AppModel {
// Without the file watcher (Settings › Advanced), coming back to Kaern refreshes.
center.addObserver(forName: NSApplication.didBecomeActiveNotification, object: nil, queue: .main) { [weak self] _ in
MainActor.assumeIsolated {
// An editor or a terminal may have been installed or removed meanwhile (OpenIn).
OpenIn.refresh()
guard let self, !AppSettings.watchesFiles else { return }
for model in self.repositories.values where model.isVisible { model.refreshAfterActivation() }
}
Expand Down
10 changes: 7 additions & 3 deletions Kaern/App/DebugDriver+Phase4.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ extension DebugDriver {
"undoPop", "openStash", "closeScreen", "stashBranch", "renameStash", "sheet", "sheetName", "sheetSubmit", "sheetClose", "finishFeature",
"irAction", "irMove", "irStart", "irBase", "squash", "type",
"history", "blame", "historySelect", "blameFocus", "blameBefore", "exploreMode", "blameOption", "showInHistory",
"autoFetchNow", "fetchAll", "activity", "fakeFailure", "signInSheet", "quickOpen",
"autoFetchNow", "fetchAll", "activity", "fakeFailure", "signInSheet", "openInSheet", "quickOpen",
]

func phase4(_ command: String, _ args: [String]) {
switch command {
case "settings":
// settings <General|Accounts|Git|Diff|Advanced> | settings close
// settings <General|Accounts|Git|Diff|Open In|Advanced> | settings close
if args.first == "close" {
SettingsWindowController.shared.window?.close()
} else {
let pane = SettingsWindowController.Pane(rawValue: args.first ?? "General") ?? .general
let pane = SettingsWindowController.Pane(rawValue: args.isEmpty ? "General" : args.joined(separator: " ")) ?? .general
SettingsWindowController.shared.show(pane)
}
return
Expand Down Expand Up @@ -54,6 +54,10 @@ extension DebugDriver {
case "signInSheet":
SettingsWindowController.shared.showSignIn(host: args.first ?? "github.com")
return
case "openInSheet":
// openInSheet — Settings › Open In with its + sheet open (Add to the Open Menus).
SettingsWindowController.shared.showAddOpenItem()
return
case "fakeAccount":
// fakeAccount <login> <host> [Full Name] — shows an account without a token (Accounts pane).
guard args.count >= 2 else { return }
Expand Down
Loading