Workspace
Folders and windows
Open project folders as workspaces, nickname them, pair checkouts, and jump into an external editor.
Open a folder
Home prompts Open Folder when nothing is open. You can also use File → Open Folder, ⌘O, the command palette, or drop folders onto the window. Recents persist on this Mac. Each folder gets its own sessions in Gale userData.
- Sidebar views are Folders, Focus, and All. Folders lists open folders. Focus shows chats that need a response, unread chats, and running chats, then those folders collapsed. Quick filter pills in the top bar toggle Needs attention, Parked (with count), and Archived in one click. Search filters the list. View settings sorts chats and toggles takeaway previews, Show parked, and Show archived
- Duplicate folder names show a disambiguating path suffix
- Files workspace (toolbar Files or ⇧⌘O) browses the folder beside the chat. Mention files with @, search chats, files, and folders from the toolbar search (⌘F), and inspect Context and Changes
- Remove folder closes it in Gale; session files stay in userData until cleanup
- Opening a file outside Gale uses Settings → General → Editor (default Cursor)
- CLI: --open-folder /path/to/repo opens that workspace on launch
Nicknames and pairs
Open files in
enumGale- Default
- Cursor
- Location
- Settings → General → Editor
- Storage
- preferences.preferredEditor
- Values
- gale · cursor · vsCode · xcode · finder
Preferred app when a file is opened outside Gale: a tab’s Open in editor, an explore card, or a file chip. Gale opens the file in the in-app files workspace; the others open it in that app. Toolbar Open in Editor, File → Open in Editor, and ⇧⌘O open Gale’s files workspace.
GitHub file links
enumGale- Default
- Gale
- Location
- Settings → General → Editor
- Storage
- preferences.githubFileLinkTarget
- Values
- gale · github
Where a chat link to a file on GitHub opens. Click uses this choice. Right-click the link to open it in Gale or on GitHub.
Workspace nicknames
stringGale- Default
- folder name
- Location
- Settings → Workspaces → Workspaces
- Storage
- GalePreferences.folders[].nickname
Rename how a folder appears in the sidebar without changing the path.
Workspace icons
actionGale- Default
- auto-detected favicon
- Location
- Settings → Workspaces → Workspaces
- Storage
- GalePreferences.folders[].icon
Shows an icon beside each workspace in the sidebar and on the iPhone. Gale auto-detects the workspace's favicon or app icon; Choose… picks a custom image and Reset returns to auto-detect.
Workspace account
enumGale- Default
- Default
- Location
- Settings → Workspaces → Workspaces
- Storage
- preferences.payerByFolderPath
Which account this workspace uses. Default follows the account in Settings → Tools → Servers. A workspace can pin Work or a connected personal provider account, including a named one. Chats without their own pin resolve the workspace pin; the account chip in the composer switches one chat.
Trust this folder
booleanGale- Default
- true
- Location
- Settings → Workspaces → Workspaces
- Storage
- GalePreferences.folders[].trusted
Trusted folders load project skills and rules. Untrusted folders only load your user-level skills. The first open asks; later changes are here. A missing value stays trusted.
Per-workspace settings file
An open folder can carry a checked-in `.gale/settings.json` that layers agent settings over the global store for that workspace. Values resolve as: built-in defaults, then global preferences, then this file, then a chat's own overrides — delete the file or a key and Gale falls back to the global value. The file starts as `{ "$version": 1 }` and commits with the repo, so a clone carries its agent settings with it.
- `agent.maxToolRounds` — tool-round limit for turns in this workspace (12 / 24 / 48, or null for unlimited)
- `env` — extra environment variables injected into the agent's tool shells; the reserved key `env.pathAppend` lists directories appended to the inherited PATH (PATH is never replaced)
- `permissions.preset` — permission preset for this workspace (`"ask"`, `"autoAccept"`, or `"allowEditsAskShell"`)
- `providers.<id>.baseURL` / `.timeoutMs` / `.chunkTimeoutMs` — endpoint and streaming-timeout tuning per personal provider; secrets never come from this file
- `worktree.autoCleanup` — `enabled`, `when`, `idleDays`, and `keepLast` for worktree cleanup in this workspace
- `cost.<flag>` — tri-state cost caps keyed by flag name: `true` uses the flag's default number, `false` is off, and a number is the cap itself (an explicit number also turns the flag on); only flags with a numeric cap participate
- `mcp.disabled` — MCP server names disabled for chats in this workspace; the list only ever disables, never enables
- `skills.paths` — extra skill directories scanned on top of `.gale/skills` and `~/.gale/skills`; workspace-relative entries accept globs (`tools/*/skills`)
- `sounds.volume` — attention-sound volume, 0 (silent) to 100
- `webSearch.provider` — engine behind the agent's web_search tool (`"gateway"`); `webSearch.enabled: false` removes the tool from this workspace's toolset
- `tools.enabled` / `tools.disabled` — agent tool ids forced on or kept out of this workspace's toolset, overriding global toggles and the Fewer-tools preset