Skip to Content

External interfaces

What a released Floe accepts from other software and what it reaches out to. The reasoning about which of these can be trusted is in the assurance case.

What other software can send Floe

LinkWhat it does
floe://oauthReturns from a sign-in in the browser. It must carry the state of a waiting sign-in
floe://thaw-appearanceThaw’s answer about its menu bar look. It must answer a request Floe made
raycast://oauth, com.raycast:/oauthThe same return, for an OAuth app that names Raycast’s addresses. Floe holds these two schemes only while such a sign-in waits
Any other raycast:// or com.raycast: linkPassed on to Raycast, if it is installed

Floe ignores any other link. IncomingLink.swift decides, and fuzz.yml fuzzes it.

App Intents

Shortcuts and other apps that run intents can use these:

IntentWhat it does
Open FloeShows the launcher
Search Menu Bar ItemsOpens the menu bar item search
Run CommandRuns an extension command you pick

Command line

Floe --pick lends the search panel to a script: it reads items on standard input and prints the one you choose. Picker has its options and exit codes. The other modes in Checks are for development, and --settings starts the settings process.

Notifications

The launcher and the settings process exchange distributed notifications named org.thaw.floe.link.*. Each is signed with a key handed over a pipe, so a copied or forged one is dropped. Floe also listens for com.stonerl.Thaw.appearanceDidChange, which carries nothing and only makes Floe ask Thaw again.

Files

Settings can export to and import from a Floe Settings.json file you choose.

Extensions

Each running command is a Bun process that speaks NDJSON with Floe over standard input and output. It runs under your account with no sandbox, so it can use your files and the network directly. runtime/api/index.ts stands in for @raycast/api.

The process starts with part of your login shell’s environment: the variables tools need, such as PATH (with the usual tool folders added), HOME, the locale, proxy settings and SSH_AUTH_SOCK. Sources/Floe/Extensions/ExtensionEnvironment.swift lists each one and why. Anything else your shell exports, such as an API token, is left out, unless you switch on “Pass on everything your shell exports” on the extension’s page in Settings. That switch is kept on this Mac only, and a settings import doesn’t change it. Floe adds its own FLOE_* variables and NODE_ENV. Floe puts none of its own secrets in the environment, which another program running as you can read with ps: the command’s preferences, with their Keychain values, and the extension’s own key for LocalStorage, which Floe makes from a key that never leaves the app, come as the first line of the host’s input, which it reads before the command runs. With “Pass on everything your shell exports” on, whatever secrets your shell exports, such as API tokens, are in the environment too.

Through that channel a command can also ask Floe for:

RequestWhat it returns or does
ai.askAn answer from the AI service you set up
oauth.authorize, oauth.getTokens, oauth.setTokens, oauth.removeTokensBrowser sign-in, and tokens kept in the Keychain for that installation
selectedText, selectedFinderItems, clipboard.readWhat you have selected or copied
environment.frontmostApplication, environment.getDefaultApplication, environment.getApplicationsThe frontmost app, a file’s default app, and the apps that can open a file
browser.tabs, browser.scriptYour open tabs, and running a script in one

Settings shows a record of what each extension reached.

Script commands

A script command is an executable file in the Scripts folder with Raycast’s @raycast.* comments. It runs under your account with no sandbox, from its own folder, with your login shell’s environment.

Actions on results

A @floe.subjects comment makes a script an action on results. Raycast reads no @floe.* line and runs the file as a plain command, where no FLOE_* variable is set, so a script like the one below fails there.

Shell
#!/bin/bash
# @raycast.schemaVersion 1
# @raycast.title Copy to Desktop
# @raycast.mode compact
# @floe.subjects file, folder

cp -R "$FLOE_PATH" ~/Desktop/ && echo "Copied $FLOE_FILENAME"

The comment names the kinds of result the script acts on: app, file, folder, url (or link) and text, which is a clipboard entry that holds text, or a snippet, separated by commas or spaces; a line that names none is an error. Such a script is not found by searching for its title. It is listed at the end of the Actions menu (⌘K) of each result of those kinds, and in Settings › Actions, where it can be made what Return does, given keys or left out of the menu. Made what Return does on apps, it also runs from an app’s hotkey. A script that needs confirming asks before it runs, and its output follows @raycast.mode as when it is searched for. It cannot have a required argument, since no argument can be given in the Actions menu; an argument with "optional": true is fine and is passed nothing. It runs only on a result, so it has no hotkey of its own: one it had before it got the line is taken off it, and a link that names it says where it runs instead.

The result is handed to the script in environment variables, never written into its command, so a name with quotes or $ in it is just a name. A value Floe doesn’t know is left unset, and a FLOE_* variable your login shell exports is not passed on. A symbolic link is read through: the path and everything else describe what it points at, and only FLOE_NAME is the link’s. What is read from the disk waits at most 10 seconds, for a volume that stopped answering; then the script runs with only the result’s name and path.

VariableOnWhat it holds
FLOE_SUBJECTallapp, file, folder, url or text
FLOE_NAMEallThe result’s name as Floe shows it: the app’s or file’s name, the link’s title or address, or the text’s first line
FLOE_URLapp, file, folder, urlThe web address, or the file:// URL of an app, file or folder
FLOE_QUERYallWhat was typed in the search on screen, Search Files’ own there, which can be empty. It is empty when an app’s hotkey ran the script
FLOE_PATHapp, file, folderThe full path, with no slash at the end
FLOE_FILENAMEapp, file, folderThe last part of the path, such as Report.pdf
FLOE_BASENAMEapp, file, folderThe file name without its extension, such as Report
FLOE_EXTENSIONapp, file, folderThe extension without its dot, such as pdf
FLOE_PARENTapp, file, folderThe folder it is in. The startup disk, /, has none, nor FLOE_FILENAME, FLOE_BASENAME or FLOE_EXTENSION
FLOE_CONTENT_TYPEapp, file, folderIts uniform type identifier, such as com.adobe.pdf
FLOE_TYPE_DESCRIPTIONapp, file, folderIts kind as Finder names it, such as PDF document
FLOE_MIME_TYPEapp, file, folderIts MIME type, such as application/pdf, where the type has one
FLOE_SIZEfileIts size in bytes
FLOE_CREATED, FLOE_MODIFIEDapp, file, folderWhen it was made and last changed, in ISO 8601, such as 2026-11-05T17:30:00Z
FLOE_BUNDLE_IDappIts bundle identifier, such as com.apple.Safari
FLOE_APP_VERSION, FLOE_APP_BUILDappIts version and build number
FLOE_APP_RUNNINGapp1 while it runs, else 0
FLOE_APP_PID, FLOE_APP_HIDDENappIts process identifier, and 1 if it is hidden, while it runs
FLOE_HOST, FLOE_SCHEMEurlThe address’s host, such as www.youtube.com, and its scheme, such as https
FLOE_TEXTtextThe text, up to 100,000 bytes of UTF-8 cut between characters: a clipboard entry’s, or a snippet’s as written, before its placeholders are filled

An app found by Search Files, or by its path, is an app. The choices made for a script in Settings are kept under its file name, so renaming the file loses them. Keys it had are free again, not kept from another row.

What Floe reaches out to

Network

AddressWhy
updates.thaw.run/floe/appcast.xml, which redirects to thaw-app.github.io/floe-updates, and GitHub ReleasesUpdates, checked with Sparkle’s EdDSA key
raw.githubusercontent.com/thaw-app/FloeThe changelog in Settings
api.github.com/repos/raycast/extensions, raw.githubusercontent.com/raycast/extensions, github.comThe extension store and installs
Bun’s package registryAn installed extension’s dependencies, with install scripts off
www.ecb.europa.euExchange rates
api.openai.com, openrouter.ai, api.z.ai, or an address you typeAI services you choose
localhost:11434, localhost:1234Ollama and LM Studio on this Mac
raycast.comThe page a browser sign-in returns through
iCloudSettings sync, in a release signed with the provisioning profile, when you switch it on
An image’s addressRemote icons named by an extension

Quicklinks open in your browser. Floe’s own code opens no listening socket, and App Transport Security allows plain HTTP only to local addresses.

macOS permissions

Floe asks for each of these when a feature needs it: Accessibility, Screen Recording, Automation (Apple Events), Contacts, Calendars, Reminders, folders and notifications. Passwords and tokens go in the Keychain.

Apple Events

Floe scripts Finder, System Events, Notes, Music, terminal apps and browsers. Its usage text in project.yml says what for.

Command line tools

Floe runs bun, git, ssh, shortcuts and screencapture. If you use them, it also runs gh and glab to lend a sign-in, and claude, codex and opencode to generate text.

Other apps

Floe opens thaw:// links to ask Thaw for its look, only while Thaw is running and you have the option on.

On this page