GitHub

Desktop app

Installers, the built-in terminal, update behaviour, keyboard shortcuts, and where the app keeps its files.

The Desktop app runs the agent against a real folder on your machine. This page covers the part that is specific to the app — builds, terminal, updates, shortcuts, on-disk state — not how the agent itself works, which is on working with the agent.

Builds macOS — DMG and ZIP · Windows — NSIS · Linux — AppImage
Terminal Git Bash, COMSPEC or PowerShell on Windows; $SHELL elsewhere
Live terminals 12, with a 1 MiB output buffer each
Updates on launch, then every 2 hours; retry after a failure in 10 minutes
Mod ⌘ on macOS, Ctrl on Windows and Linux

Builds and platforms

The build configuration targets macOS, Windows and Linux. The installer formats differ by platform, and the download picker distinguishes architectures rather than handing everyone the same file:

PlatformInstallerArchitecture variants
macOSDMG, ZIPIntel and Apple silicon
WindowsNSISx64 and a separate ARM64 build
LinuxAppImagex64 and a separate ARM64 build

DEB packaging exists in the build configuration, but that alone does not make DEB the primary Linux download — take the AppImage unless your distribution page says otherwise. Minimum supported OS versions are not published here; if an installer refuses to run, the release page for that build is the authority.

The built-in terminal

The app opens a real shell, not an emulation of one. Which shell it opens depends on the platform:

  • Windows — Git Bash when it can be found, otherwise COMSPEC, otherwise powershell.exe.
  • macOS and Linux — $SHELL, falling back to /bin/sh, started as a login shell.

The shell inherits the environment the app passes down, gets TERM=xterm-256color, and has two internal tree-sitter variables stripped. The starting directory is your project folder; an initial directory that does not exist or cannot be entered is not accepted, and the terminal falls back to the workspace instead of opening somewhere unexpected.

Two numbers matter in practice. The app keeps at most 12 live terminal sessions, each with a 1 MiB output buffer. When the cap is reached it closes the least recently used terminals that have no attached view — a session you are looking at is not the one that disappears. That cap is about terminals the app keeps alive, not a limit on how many commands the agent may run in a chat.

Updates

The app checks for updates when it starts and then periodically, with a bounded retry when a check fails. The numbers are in the updater itself:

SettingValue
Check on launchYes
Check interval2 hours
Retry after a failed check10 minutes
Timeout for a check2 minutes
Timeout for an install5 minutes
Idle time before a deferred install60 seconds

Settings → Updates shows the current version and a Check for updates button. A check that times out is retried rather than treated as "up to date", and an install that hangs ends in an error state instead of leaving the app half updated.

On macOS an app launched straight from the DMG — or from App Translocation, which is what happens when you double-click a download without moving it — cannot update itself. Drag the app into Applications first; otherwise the update finishes and the running copy stays the old one.

Keyboard shortcuts

Mod is ⌘ on macOS and Ctrl on Windows and Linux. These are the rebindable actions in the shortcut registry:

ActionDesktopWeb
Left panelMod + Bsame
Bottom terminalCtrl + `same
Right panelMod + Alt + Bsame
Search chatsMod + Ksame
SettingsMod + ,same
New chatMod + TMod + Alt + N
Close tabMod + WMod + Alt + W
Next tabCtrl + TabMod + Alt + ]
Previous tabCtrl + Shift + TabMod + Alt + [
Reopen closed tabMod + Shift + Tsame
Open projectMod + Osame

A binding you set to something the app cannot use falls back to the default, and a key can be unbound on purpose. The Web build is not a copy of Desktop with fewer features: some browser-reserved combinations have to differ, which is why new and close are remapped there.

Where the app keeps its files

The state is split between the project folder and your user profile, and the two have different lifetimes:

WhatWhere
App profile ~/.config/freebuff-desktop/state.json; a source build uses freebuff-desktop-dev/state.json instead
Profile override FREEBUFF_DESKTOP_STATE_PATH
Project database <project>/.freebuff/desktop-v2.db, with the older ~/.config/freebuff-desktop/projects/<project-slug>/desktop-v2.db still present on installs that predate the move
Project settings <project>/.freebuff/settings.json
Application log orchestrator-stderr.log in Electron's app.getPath('logs')

Because .freebuff/ lives in the project, it travels with the project and can show up in a diff — a folder copied to another machine can therefore carry settings that nobody meant to share. An older desktop.db is left on disk when the database is created, so a project that has been open for a while can hold both files.

The project database has also moved once: a build that keeps it in the profile folder stores it under ~/.config/freebuff-desktop/projects/<project-slug>/desktop-v2.db. If a path from either location is missing, search the disk for desktop-v2.db instead of assuming the table is wrong for your version.

Uninstalling the app does not reliably remove either copy. If you are removing Freebuff for good, delete the project's .freebuff/ folder where you do not want settings to come back, and delete the profile directory as well.

Collecting a log for support

The log file above is the one to attach when the app fails at startup, and a startup error dialog can open it with Show Log. Read it before sending: a log from a broken build can contain paths, command lines and environment values. Redact the lines that carry secrets rather than sending the file unread.

Reversing a turn

Edits made by a turn can be reverted as a unit: the changes are undone in reverse order by applying their inverse patches. That is stricter than "restore the file from Git", and it is what makes it safe to revert one turn in a folder with uncommitted work.

A file is skipped, rather than forced back, when its patch no longer applies, when it is binary, when the change cannot be attributed to that turn, or when reading or writing fails. Skipping is deliberate: a file you changed after the turn should not be overwritten by a revert that assumed your version did not exist.

Commit before a large revert. A skipped file stays changed, so a revert can leave the tree in a mixed state — half restored, half kept — and Git is what tells you which is which.

Settings that belong to the person rather than the project — plan, balance, sign-in, verification — are not in either place. They live with the account; see account and settings.

When to use Desktop

Desktop is the right surface when the code is already on your disk, when the build needs a toolchain you installed yourself, or when the work should not leave the machine. If the project needs to be reachable from a browser, from a teammate or from your phone, it belongs in Cloud — the comparison is on Desktop and Cloud, and the command-line alternative is on CLI.