GaleDocs

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.

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.

Share a workspace

Share Workspace (command palette when the open folder is a GitHub checkout) creates an invite link for a collaborator. Gale reads owner/repo from the folder's git remote, registers the invite with the getgale.dev relay, and shows a copy-link sheet with Revoke. Invites are single-claim and expire after 7 days.

The invitee opens the link in a browser. Without a GitHub account the page walks through github.com/signup first; with one, Open in Gale passes the code to Gale with the gale://join deep link (paste-the-code and Download Gale fallbacks included).

Their Gale authorizes GitHub with a device flow — the invitee approves the request at github.com/login/device and the token never leaves their Mac. Claiming pings the relay, the owner's Gale shows a confirm card, and approving runs gh api to add the collaborator (a connected GitHub MCP is the fallback when gh is missing). The invitee's Gale then clones the repo into ~/Gale Workspaces and opens it as a workspace.

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