# Settings

> Open and search the Settings window, change settings from the command palette or flow-cli, and find where settings.json lives.

Flow keeps almost every preference in one place: the Settings window. Each row there is also reachable from the command palette and from `flow-cli`, and every value lands in one flat JSON file, `~/.flow/settings.json`. This page covers how to find and change a setting, where the file lives, and a reference of the setting groups.

## Open the Settings window

- Press `⌘,` (the `open_settings` shortcut), or click the gear chip in the sidebar.
- Settings opens in its own window with a section list on the left. The "‹ Workspace" link at the top of that list closes the window and brings the main window forward. `⌘W` closes it too.
- Changes save the moment you make them. There is no Apply or Save button.

The window follows the App chrome text size (`⌘=` / `⌘-` outside a terminal), so its list and controls grow with the rest of Flow.

## Search settings

Type in the search field at the top of the section list. A row matches when every word you type appears somewhere in its label, its section, its block caption, its keywords, its option labels or its current value. Rows whose label starts with your text rank first, then rows whose label contains it, then everything else.

## Change settings from the command palette

You don't have to open the Settings window to change a setting:

1. Press `⇧⌘P` and type part of a setting's name ("font size", "merge", "dark").
2. Matching settings appear as rows with their real control: a switch, a segmented control, a stepper, a text field or a list.
3. Press `↩` to act on the selected row. A toggle flips, a segmented control moves to the next option, a stepper or text row starts an inline edit, and a list, terminal theme or font opens its options with a live preview.
4. Use `←` / `→` to step a value, and `⌘⌫` to reset a row to its default.

The footer confirms each change ("Label → value") with an Undo link. Shortcut rows only appear when your query contains a word starting with "shortcut", "key", "hotkey" or "binding".

To browse settings in the palette instead of searching from its root, run **Browse settings…** (the `browse_settings` action, unbound by default; bind it in [Keybindings](https://flow.worldbreakstudios.com/docs/configuration/keybindings.md)). It shows every row under section chips: `⇥` / `⇧⇥` move between chips.

## Change settings from a shell

`flow-cli` writes a Settings row exactly as clicking it does, with the same validation and side effects. Each row has a stable id, listed in the reference tables below.

```sh
flow-cli read settings-catalog font size      # matching rows: id, value, default, control
flow-cli settings apply appearance.mode dark  # write a row by id
flow-cli settings reset appearance.mode       # back to the row's default
flow-cli reveal-setting appearance.mode       # open the Settings window at that row
flow-cli read settings terminal.font_size     # one raw key from settings.json
```

Values for `settings apply`: `true` / `false` for a toggle, a number for a stepper (clamped to its range), the option value for a choice, the text for a text row, a family name (or `""` for the default) for a font, and a chord such as `cmd-shift-k` (or `none`) for a shortcut. The reply lists every settings key the write moved, before and after, so you can undo it. Buttons and editors (the license key, terminal colors, the tool lineup and similar) refuse `apply`: open them with `flow-cli reveal-setting` instead.

`flow-cli settings set KEY VALUE` writes a raw key that no row writes (a label's terminal theme, a sidebar ground). Not every raw key applies live. See [flow-cli](https://flow.worldbreakstudios.com/docs/cli/flow-cli.md) for the full command reference.

## Where the settings file lives

| File | What it holds |
|---|---|
| `~/.flow/settings.json` | Every Settings row's value as a flat JSON object (`"appearance.mode": "dark"`, `"keyboard.split_right": "cmd-d"`…), plus an optional `"!important"` list of keys (see [Settings scopes](https://flow.worldbreakstudios.com/docs/configuration/settings-scopes.md)). |
| `~/.flow/repo_config/REPO/flowspace.json`, `…/drop.json` | Your per-repository overrides. See [Settings scopes](https://flow.worldbreakstudios.com/docs/configuration/settings-scopes.md). |
| `.flowspace.json` in a checkout | Workspace profiles, run commands and other repository keys. See [.flowspace.json](https://flow.worldbreakstudios.com/docs/configuration/flowspace.md). |
| `~/.flow/snippets.json`, `~/.flow/golinks.json`, `~/.flow/icons/`, `~/.flow/skills/` | Snippets, go links, tab icons and agent skills. These are edited on their own pages, not in Settings. |

Settings › Advanced › Diagnostics has a **Reveal settings.json** button that shows the file in Finder.

## Edit settings.json by hand

Flow reads `settings.json` once, at launch, and rewrites the whole file from memory every time a setting changes. An edit you make while Flow is running is therefore overwritten by the next change, and nothing applies it in the meantime.

To edit the file by hand:

1. Quit Flow (`⌘Q`).
2. Edit `~/.flow/settings.json`. Keep it a single flat JSON object of key → value.
3. Launch Flow again.

A missing or unreadable file never stops Flow from launching: it starts with every setting at its default. While Flow is running, use `flow-cli settings apply` or `flow-cli settings set` instead of a text editor.

> **Tip:** Removing a key resets that setting to its built-in default.

## Experiments

Settings › Experiments holds feature flags. Each is a `features.KEY` boolean, off by default. Beta features are on their way to shipping; Alpha features may still be removed.

| Setting | Feature | Stage | What it turns on |
|---|---|---|---|
| `features.flow` | Flow agent | BETA | Bottom command bar that drives this workspace through an embedded agent. `⌃⌘J` toggles it. |
| `features.web_tabs` | Web tabs | BETA | Browser tabs beside your terminals: the New tab page's Web card, New webview…, and opening links in a Flow tab |
| `features.remote` | Puddles | BETA | Pair your other devices into a puddle by QR code or link (Tools › Puddle). |
| `features.pull_requests` | Pull requests | BETA | The Reviews and My PRs pages in the Tools band: pull requests waiting on your review and your own open ones |
| `features.automations` | Automations | BETA | The Schedules page: run commands on a cron. Off, no schedule runs — your schedules are kept for when you turn it back on |
| `features.factory` | Factory | ALPHA | The Factory page, from the sidebar header's factory chip or ⌘;: sessions you add move through their own plan's gates, scored by proven checks. Off, your plans are kept |
| `features.decisions` | Decisions | ALPHA | Bring your own decisions model — a hosted vendor like Jev or OpenAI, or a local one like Laya — for features that make typed decisions. Setup: Settings › Decisions |
| `features.notebooks` | Notebooks | ALPHA | Run Python, JavaScript and shell fences in a Notes page's Preview, with inline outputs and charts, and sliders that re-run them live |
| `features.link_router` | Link router | ALPHA | With Flow as your default browser, links open where your rules say: a Flow tab, a PR review session, another browser or app, or a chooser. Setup: Settings › Link router |
| `features.claude_images` | Claude image previews | BETA | Hover an [Image #N] placeholder in a Claude Code session to preview the pasted image; click it to open it in a Files tab |

Turning an experiment off keeps its data (schedules, plans, settings) for when you turn it back on. While Decisions or Link router is off, its Settings section is hidden.

## Reference of setting groups

The sections of the Settings window, in order:

| Section | What it covers | Details |
|---|---|---|
| About | Version, updates, license, open-source credits | [Activation](https://flow.worldbreakstudios.com/docs/licensing/activation.md) |
| General | Login item, sessions, tabs, agents, panes, palette search, Dashboard, pull requests, webhooks | Below |
| Notifications | How each kind of notification reaches you, and Do Not Disturb | Below |
| Snooze | Snooze defaults, wake triggers, watches | [Notifications and snooze](https://flow.worldbreakstudios.com/docs/workspace/notifications-and-snooze.md) |
| Code | External code search and standard-library sources | [Code navigation](https://flow.worldbreakstudios.com/docs/features/code-navigation.md) |
| Clipboard | Clipboard history and snippet expansion | Below |
| Appearance | Mode, accent, fonts, text sizes, terminal colors, sidebar background | [Appearance](https://flow.worldbreakstudios.com/docs/configuration/appearance.md) |
| Icons | Tab icons | [Tab icons](https://flow.worldbreakstudios.com/docs/features/tab-icons.md) |
| Tools | The sidebar's Tools band, the Factory, the Trash, the Puddle | Below |
| Repos | Which value applies in each repository, and why | [Settings scopes](https://flow.worldbreakstudios.com/docs/configuration/settings-scopes.md) |
| Keyboard | Every rebindable shortcut and the global hotkeys | [Keybindings](https://flow.worldbreakstudios.com/docs/configuration/keybindings.md) |
| Experiments | Feature flags | Above |
| Decisions | The decisions model (only while `features.decisions` is on) | Below |
| Link router | Link routing rules (only while `features.link_router` is on) | [Link router](https://flow.worldbreakstudios.com/docs/features/link-router.md) |
| Advanced | Command-line tools, remote hosts, schedules while quit, agent skills, diagnostics | Below |

In the tables, **Setting** is the row id that `flow-cli settings apply` takes; for most rows it is also the key written to `settings.json`. **Default** is the JSON value a fresh install uses. "Editor" rows open a larger editor in the Settings window, and "button" rows run an action.

### About

| Setting | Label | Type | Default | What it does |
|---|---|---|---|---|
| `about.version` | About › Version | editor | — | The installed Flow version and what the updater last found. |
| `updates.check_now` | About › Check for updates | button | — | The installed version and what the updater found: check, download and install, or relaunch. |
| `license` | License › License key | editor | — | Your plan, and the key that unlocks Flow on this Mac. |
| `updates.check` | Updates › Check for updates automatically | toggle | `true` | At launch and every six hours. Nothing is downloaded until you choose to install. |
| `updates.auto` | Updates › Install updates automatically | toggle | `false` | Download and install a found update without asking. Flow relaunches only when you say so. |
| `updates.channel` | Updates › Release channel | choice: `stable`, `dev`, `experimental` | `"stable"` | Stable gets finished releases; Dev also gets early builds published as prereleases; Experimental adds hourly AI-built releases. |
| `about.credits` | Credits › Open source credits | editor | — | The open-source software Flow includes, each with its license and full notice. |

### General

| Setting | Label | Type | Default | What it does |
|---|---|---|---|---|
| `login_item` | Startup › Open at login | toggle | `false` | Launch flow when you log in to your Mac. |
| `session.primary_command` | Sessions › Primary command | text | `"claude"` | Runs in the primary pane when a group opens. |
| `terminal.persist` | Sessions › Persist sessions | toggle | `true` | Shells keep running when flow quits and panes reattach to them on relaunch. Sessions, folders and layouts always persist. |
| `tabs.new_tab` | Tabs › New tab | choice: `ask`, `terminal` | `"ask"` | What + and ⌘T open: Ask shows the New tab launcher (a command, URL, path or #PR, or a tab type); Terminal opens a terminal directly. |
| `links.open_in` | Tabs › Open links in | choice: `browser`, `app` | `"browser"` | ⇧-click opens the other (⌘⇧-click on a terminal link, ⇧↩ on a go link). |
| `shells.capture` | Agents › Shell capture | choice: `off`, `background`, `all` | `"all"` | Records the shells an agent (Claude Code) runs in a pane — every one, or only those it starts in the background — and shows them in a Shells tab. Turning it on applies to panes opened afterwards; turning it off, or switching between Background and All, applies from the next shell in the panes already open. |
| `agents.column` | Agents › Centre agent panes | toggle | `true` | While a coding agent runs in a session's main pane, its text sits in a centred column of at most the width below. |
| `agents.max_columns` | Agents › Agent column width | number 60–300 cols, step 10 | `120.0` | The centred column's width, in terminal columns. |
| `agents.programs` | Agents › Agent programs | text | `"claude, codex, pi, gemini, opencode, aider, amp, cursor-agent"` | Programs that count as coding agents, comma-separated, matched like tab icons (through env, npx and node). Empty restores the default list. |
| `agents.context_card` | Agents › Context card | toggle | `true` | At the top right of a Claude Code pane, a card lists the session's sources (images and files you attached, images and documents it read) and outputs (files it wrote). Its – button minimizes it to a chip in the pane's header. |
| `panes.combine_pills` | Panes › Combine collapsed panes | choice: `2`, `3`, `4`, `never` | `"3"` | A collapsed pane becomes a pill on the seam it folded onto. Past this many pills (or when they would collide) they combine into one pill that opens a chooser. |
| `palette.search_engine` | Command palette › Web search | choice: `google`, `duckduckgo`, `bing`, `kagi`, `custom` | `"google"` | The palette's Search row for what you type: ↩ opens it in your browser, ⌘↩ in a webview. |
| `palette.search_engine.url` | Command palette › Search URL | text | `""` | An http(s) URL with {query} where the search goes. Enter saves; one without {query} searches Google. |
| `dashboard.minimap` | Dashboard › Minimap | toggle | `true` | An overview of every card beside the dashboard's scrollbar, with the part in view marked. Click a card there to focus it. |
| `git.cli` | Pull requests › Pull request CLI | text | `"ghx"` | Program that reads PR data: the bundled ghx cache, gh, or any client with the same commands. Enter saves; empty means ghx. |
| `git.events` | Pull requests › Cache events command | text | `"ghx events"` | Long-running command whose cache-updated lines refresh PR data (async only). Defaults to the CLI's own `<cli> events`, none with gh. Enter saves and restarts it; empty turns it off. |
| `git.async` | Pull requests › Async streaming | toggle | `true` | Serve cached data instantly and refresh in the background (-A). Not available with gh. |
| `git.gh_alias` | Pull requests › Route gh through ghx | button | — | Adds `alias gh=ghx` to ~/.zshrc, so gh run in your shells (and by agents that use them, like Claude Code) reads through the cache and busts it after writes, updating flow too. New shells only. |
| `git.git_alias` | Pull requests › Route git through gitx | button | — | Adds `alias git=gitx` to ~/.zshrc, so pushes from your shells (and from agents that use them) update PRs at once — git runs unchanged. New shells only. |
| `git.open_pr_in_review` | Pull requests › Open pull requests in a review tab | toggle | `true` | ⇧⌘G, the pane header's PR pill and a dashboard card's PR label open the pull request as a review tab in its session; off, they open it in the browser. |
| `git.pin_pr_review_tab` | Pull requests › Pin pull request review tabs | toggle | `true` | A pull request opened as a review tab (⇧⌘G, the PR pill, ⌥⌘R) is pinned to the front of its pane's tabs, so ⌘W keeps it until you unpin it; off, it opens as an ordinary tab. |
| `pr.diff_wrap` | Pull requests › Wrap long lines in diffs | toggle | `true` | A review tab's Changes view wraps a long line in its cell; off, each cell scrolls sideways. |
| `pr.ref_chips` | Pull requests › Issue and PR references | choice: `github`, `titled`, `compact` | `"github"` | How #123 and pull request or issue links in PR pages and Notes show: GitHub style titles a reference on its own line and keeps one inside a sentence compact; or always show titles; or numbers only. Hover a reference for its card. |
| `pr.diff_by_hunk` | Pull requests › Sort hunks, not whole files, into diff groups | toggle | `false` | A review tab's Changes view sorts each hunk into the diff groups, not the whole file: a file whose hunks land in different groups (code and its inline tests) shows one card per group. |
| `pr.diff_by_model` | Pull requests › Sort hunks with the decisions model | toggle | `false` | A review tab's Changes view asks Settings › Decisions' model which diff group each hunk belongs to (Code, Tests, Boilerplate or your own), the patterns sorting meanwhile and wherever it isn't sure. Sorts by hunk whether or not the setting above is on. With a hosted provider the hunks' text is sent to it; answers are cached, so a reopen asks nothing. |
| `webhooks.follow_url` | Webhooks › Follow a webhook receiver | text | `""` | The URL of a ghx webhook receiver (https://… or http://127.0.0.1:…): GitHub's events arrive from it and refresh cached PR data at once. Enter saves; empty stops following. Not used while this Mac runs the receiver. |
| `webhooks.serve` | Webhooks › Run the receiver on this Mac | toggle | `false` | Runs `ghx webhooks serve` while Flow is open: GitHub posts events to it, and this Mac (and any device following it) refreshes cached PR data at once. |
| `webhooks.funnel` | Webhooks › Tailscale Funnel | toggle | `false` | Has the receiver bring a Tailscale Funnel up, so GitHub can reach it from the internet, and take it down when it stops. Applies while the receiver runs on this Mac. |

### Notifications

Every notification kind except "Answers to your actions" takes one of `toast` (an in-app toast), `system` (Notification Center), `silent` (history only) or `off`.

| Setting | Label | Type | Default | What it does |
|---|---|---|---|---|
| `notifications.dnd` | Do Not Disturb › Do Not Disturb | toggle | `false` | Hold notifications in the history instead of showing them. Answers to what you just did still show. |
| `notifications.feedback` | General › Answers to your actions | choice: `toast`, `system` | `"toast"` | What you just did, done or refused: a link copied, a failed save. Do Not Disturb never holds these. |
| `notifications.agent.message` | General › Agent messages | choice: `toast`, `system`, `silent`, `off` | `"toast"` | Posted by an agent or a script with flow-cli notify. |
| `notifications.links` | General › Link routing | choice: `toast`, `system`, `silent`, `off` | `"toast"` | A link from another app that could not open where it was routed, and where it went instead. |
| `notifications.pr.ops` | Sessions › Background pull request operations | choice: `toast`, `system`, `silent`, `off` | `"toast"` | A pull request operation the Factory started on its own finishing, or failing. |
| `notifications.snooze.wake` | Sessions › Snoozed session woke | choice: `toast`, `system`, `silent`, `off` | `"system"` | A snoozed session waking up, while Snooze's Notify is on. History only or Off also mutes its sound. |
| `notifications.caffeinate` | Sessions › Caffeinate wore off | choice: `toast`, `system`, `silent`, `off` | `"toast"` | Caffeinate ending on its own. |
| `notifications.schedules.runs` | Schedules › Scheduled runs | choice: `toast`, `system`, `silent`, `off` | `"toast"` | A scheduled run starting. |
| `notifications.schedules.inbox` | Schedules › Schedules Inbox | choice: `toast`, `system`, `silent`, `off` | `"toast"` | A run leaving something in the Inbox for you. |
| `notifications.schedules.failed` | Schedules › Schedule failures | choice: `toast`, `system`, `silent`, `off` | `"toast"` | A run failing or not starting, a worktree left behind, schedules unable to run while Flow is quit. |
| `notifications.puddle.pairing` | Puddles › Join requests | choice: `toast`, `system`, `silent`, `off` | `"toast"` | A device asking to join your puddle while the Puddle page is not open. |
| `notifications.puddle.viewing` | Puddles › Someone is viewing a session | choice: `toast`, `system`, `silent`, `off` | `"silent"` | A paired device starting to view one of this device's sessions. |
| `notifications.puddle.created` | Puddles › Sessions started from another device | choice: `toast`, `system`, `silent`, `off` | `"toast"` | A paired device starting a session on this Mac. |
| `notifications.puddle.remote_action` | Puddles › Sessions changed from another device | choice: `toast`, `system`, `silent`, `off` | `"silent"` | A paired device closing, renaming or pinning one of this Mac's sessions or tabs. |
| `notifications.puddle.attention` | Puddles › An agent needs you on another Mac | choice: `toast`, `system`, `silent`, `off` | `"toast"` | An agent finishing or asking for you in a session on one of your Macs while you are using another: told once, on the Mac you used last. |
| `notifications.updates` | App › Updates | choice: `toast`, `system`, `silent`, `off` | `"toast"` | A new version found by the periodic check, or the automatic install's outcome. |
| `notifications.license` | App › License | choice: `toast`, `system`, `silent`, `off` | `"toast"` | Your license changing on its own: a refresh dropping it, a deactivation the server missed. |
| `notifications.system` | App › Flow services | choice: `toast`, `system`, `silent`, `off` | `"toast"` | Flow's own machinery: the command bus going down, or coming back. |

### Clipboard

| Setting | Label | Type | Default | What it does |
|---|---|---|---|---|
| `clipboard.enabled` | Clipboard history › Record clipboard history | toggle | `true` | Keep what you copy so ⌥⌘V (or the palette's Clipboard history) can paste it again. |
| `clipboard.ttl_days` | Clipboard history › Keep history | choice: `0`, `1`, `7`, `30`, `90`, `365` | `"0"` | Unpinned items older than this are removed. Pinned items stay. |
| `clipboard.ignore_apps` | Clipboard history › Ignored apps | text | `""` | Bundle ids whose copies are never recorded, comma-separated. Saved on Enter or when you leave the field. |
| `snippets.expand` | Snippets › Expand snippet keywords | toggle | `true` | Typing a snippet's keyword anywhere replaces it with the snippet. Needs Accessibility. |
| `snippets.accessibility` | Snippets › Keyword expansion | button | — | Whether the expander is running; Grant Accessibility lets it expand keywords in every app. |
| `clipboard.paste_access` | Permissions › Paste access | button | — | Whether flow may read what other apps copy; Open System Settings changes it. |
| `clipboard.accessibility` | Permissions › Accessibility (paste into other apps) | button | — | Granted, ↩ pastes straight into the app you summoned the palette over; else it copies. |
| `clipboard.clear` | Storage › Clear history… | button | — | Removes every unpinned item. Pinned items are kept. |

### Tools

The `tools.sidebar.*` rows switch built-in pages in or out of the sidebar's Tools band; a CLI tool's row is `tools.sidebar.cli.SLUG`. See [Custom tools](https://flow.worldbreakstudios.com/docs/cli/custom-tools.md) for CLI tools.

| Setting | Label | Type | Default | What it does |
|---|---|---|---|---|
| `tools.sidebar.trash` | Sidebar › Trash | toggle | `true` | Old worktrees, judged safe or not, deleted in a click |
| `tools.sidebar.tasks` | Sidebar › Task Manager | toggle | `true` | Live CPU and memory for every pane’s processes |
| `tools.sidebar.schedules` | Sidebar › Schedules | toggle | `true` | Commands and agents that run on a timer |
| `tools.sidebar.pr_reviews` | Sidebar › Reviews | toggle | `true` | Pull requests waiting on your review, sorted into sections |
| `tools.sidebar.my_prs` | Sidebar › My PRs | toggle | `true` | Your open pull requests and what each one needs |
| `tools.order` | Sidebar › Reorder tools | editor | — | Drag a tool's grip to move it in the sidebar; a CLI tool's trash removes it. |
| `tools.add` | Add a tool › Add a tool | editor | — | Register a CLI tool: its name, command and directory; it gets its own page. |
| `factory.threshold` | Factory › Line threshold | number 50–100, step 5 | `80.0` | The verification score a session needs before the Factory puts it in front of you. |
| `trash.confirm` | Trash › Confirm deletes | choice: `risky`, `always` | `"risky"` | When the Trash asks before deleting worktrees: only when uncommitted or unpushed work would be lost, or every time. |
| `trash.live_minutes` | Trash › In-use window | number 1–120 min, step 1 | `10.0` | A worktree touched this recently counts as in use, and the Trash never offers it as safe. |
| `puddle.bind` | Puddle › Puddle network | choice: `auto`, `tailscale`, `lan`, `tailcat` | `"auto"` | Where the Puddle service listens: Automatic is Tailscale when it is up, else this Mac only; Tailcat reaches across networks through relays. |
| `puddle.port` | Puddle › Puddle port | number 1024–65535, step 1 | `47633.0` | The TCP port the Puddle service listens on. |
| `puddle.spaces_bar` | Puddle › Paired devices in the spaces bar | link | — | Show or hide each paired device's chips in the spaces bar, and pick its icon, on the Puddle page. |
| `puddle.pane_size` | Puddle › Shared pane size | choice: `latest`, `smallest` | `"latest"` | How a terminal shown on another device too is sized: to the screen of the device you typed in last, or to fit the smallest of them. Applies to sessions started after a change. |
| `puddle.sync` | Puddle › Sync sessions with your devices | toggle | `true` | Other devices see this Mac's sessions, icons and unread state live, and closes, renames and pins made there apply here. Off, they see a listing refreshed every 15 seconds. |
| `puddle.close_remote` | Puddle › Close on the other device too | choice: `ask`, `always`, `never` | `"ask"` | Closing a session you opened from another device also closes it there. |
| `tools.sync` | Puddle › Sync CLI tools with your devices | toggle | `true` | A tool added, changed or removed on one of your Macs is added, changed or removed on the others that sync theirs. A device's space lists its tools; Add to this Mac copies one here. |
| `trash.devices` | Trash › Show from | choice: `local`, `all` | `"all"` | Whose worktrees the page lists: this Mac's, or every Puddle device's joined (a device's own chip on the page shows just that one). |
| `schedules.devices` | Schedules › Show from | choice: `local`, `all` | `"all"` | Whose schedules the page lists: this Mac's, or every Puddle device's joined (a device's own chip on the page shows just that one). |
| `page.schedules` | Schedules | link | — | Commands and agents that run on a timer, on their own page. |

### Decisions

Shown only while the Decisions experiment (`features.decisions`) is on. The API key itself is never stored in `settings.json`: it comes from the Keychain, an environment variable or a command.

| Setting | Label | Type | Default | What it does |
|---|---|---|---|---|
| `decisions.provider` | Provider › Provider | choice: `typesafe`, `openai`, `ollama`, `lmstudio`, `custom` | `"typesafe"` | Who answers: a hosted vendor (TypeSafe's Jev, OpenAI) or a server you run (Ollama, LM Studio, any URL). A new provider starts at its own base URL, model and key source. |
| `decisions.base_url` | Provider › Base URL | text | `""` | Where requests go (http or https; a trailing /v1 is fine). Empty is the provider's default. Enter saves. |
| `decisions.model` | Provider › Model | text | `""` | The model that answers. Empty is the provider's default (jev-latest, gpt-6-luna, laya). Enter saves. |
| `decisions.dialect` | Provider › Dialect | choice: `systemone`, `openai` | `"systemone"` | Custom only: the API the server speaks — System One (/v1/systemone) or OpenAI Decisions (/v1/decisions). |
| `decisions.key_source` | API key › Key source | choice: `none`, `keychain`, `env`, `command` | `"keychain"` | Where the API key comes from: none, the macOS Keychain, an environment variable, or a command that prints a token. Read only when a request needs it. |
| `decisions.key_env` | API key › Environment variable | text | `""` | The variable's name, never its value: read from Flow's environment, else your login shell's. Empty is the provider's (TYPESAFE_API_KEY, OPENAI_API_KEY). |
| `decisions.key_command` | API key › Key command | text | `""` | Run through your login shell when a request needs a key: its first line of output is the key, kept in memory for ten minutes. |
| `decisions.test` | Connection › Test connection | button | — | Ask the model one small yes / no question: the model that answered and the latency, or why it failed. |

### Advanced

| Setting | Label | Type | Default | What it does |
|---|---|---|---|---|
| `cli.install` | Command-line tools › flow-cli, drop and ghx | button | — | Links flow-cli, drop, ghx, gitx and sink into /usr/local/bin so your shells can run them. |
| `remote.ssh` | Remote hosts › ssh program | text | `"ssh"` | Every remote pane and lookup runs this (remote.ssh). Enter saves. |
| `remote_hosts` | Remote hosts › Remote hosts | editor | — | Each known host's persistence and profile: default directory, remote shell, extra ssh args. |
| `schedules.launchd` | Schedules › Run schedules while flow is quit | toggle | `true` | A launchd agent runs due schedules every minute while the app is closed. |
| `flow_skills` | Flow agent skills › Flow agent skills | editor | — | The agent's playbooks: the skills folder and each SKILL.md. |
| `debug.overlay` | Diagnostics › Show frame stats | toggle | `false` | Overlay render timing in the corner of each terminal. |
| `diagnostics` | Diagnostics › Diagnostics | editor | — | The settings file, chrome, scale, surface and cell size, and the workspace's counts. |
| `settings_file.reveal` | Diagnostics › Reveal settings.json | button | — | Show the settings file in Finder. |

## Limits

- Edits to `settings.json` while Flow runs are lost (see above).
- An experiment's rows are missing from search, the palette and `flow-cli read settings-catalog` while that experiment is off.
- Only the keys listed in [Settings scopes](https://flow.worldbreakstudios.com/docs/configuration/settings-scopes.md) can vary per repository. Every other setting has one value for the whole app.
