Files
Two places hold state. The data folder is this machine. The workspace folder is what you commit.

Data folder
termorq under the platform data directory.
Builds before this change used com.garrardkitchen.ai-terminal. When the app or termorq-cli starts and finds that folder, it moves the contents into termorq. If a file exists in both, the copy in termorq is kept. The old folder is then deleted. If any copy fails, the old folder is kept and the move runs again at the next start. The result goes to the OS log and to logs/app-data-migration.log:
- Windows: Event Viewer, Application log, source
Termorq. - macOS: Unified Logging (
log show --predicate 'process == "termorq"'). - Linux: the journal (
journalctl -t termorq).
Keychain secrets used the service com.garrardkitchen.ai-terminal and now use termorq. Each secret moves the first time the app reads it. Deleting a connection removes the entry under both names.
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/termorq |
| Linux | $XDG_DATA_HOME or ~/.local/share/termorq |
| Windows | %APPDATA%\termorq |
| File | What it is |
|---|---|
collections.json | The shelf. Older localStorage data is moved here once |
workflows/user/<id>.yml | A workflow you saved. Included workflows ship read-only with the app |
workflows/runs/<workflow id>/<run id>/ | One run: run.json, masked block logs, and files/ |
command_history.json | The last 500 commands and their times |
api_connections.json | API connections, without secret values |
api_endpoints.json | Endpoints |
openai_connections.json | Model connections, without the key |
mcp_connections.json | MCP servers, without secret values |
ssh_connections.json | SSH connections, without passwords or passphrases |
ssh_known_hosts | Host keys you trusted, in OpenSSH format. ~/.ssh/known_hosts is read, never written |
mcp_prefs.json | Favourites and related MCP preferences |
network_settings.json | The additional CA certificate setting |
reports/ | AI content reports: ai-report-YYYYMMDD-HHMMSS.json and .md, UTC time. No API key. A Microsoft Store install keeps this folder under %LOCALAPPDATA%\Packages\<package family>\LocalCache\Roaming\termorq |
The keychain service is termorq. An AES-256-GCM fallback file lives in this folder when the keychain cannot be used. Do not edit it to plant a token.
The Pro-only termorq-cli --data-dir points at this folder. termorq-cli models and termorq-cli tools use it. Checks and environment variables for a headless run come from --workspace, not from this folder.
Team workspace
<folder>/.ai-terminal/, schema 1, pretty JSON, sorted keys.
| File | What you commit |
|---|---|
workspace.json | Name |
api-connections.json | Connections and vault references |
endpoints.json | Endpoints and checks |
collections.json | Lines and captures |
environments.json | Environments, variables, customers |
mcp-servers.json | Servers, secret env names only |
workflows/<id>.yml | A workflow for this checkout. The app reads it while the workspace is open and never commits it |
.gitignore | local.json and *.local.json |
termorq-cli --workspace is the folder that contains .ai-terminal, not the .ai-terminal directory itself. The path is absolute or starts with ~.
Transfer files
| Extension | Encryption | Notes |
|---|---|---|
.aitcol | Optional, required when a bundle includes secrets | Collections, optional endpoints, connections, and MCP servers |
.aitmcp | Always | MCP only |
.aitapi | Always | Endpoints and their API connections, including secrets |
.aitbak | Always | Full backup, including secrets. Restore replaces same-named records and deletes nothing else |
Passwords are at least 12 characters and are not stored.
YAML beside the app
skills.yaml and commands.yaml ship with the app. A checkout uses the copies at the repo root while CARGO_MANIFEST_DIR or the working directory points there. Edit, then restart.
A plan file for termorq-cli run --file is schema 1 and is not written back. The shape is on Run a collection.
localStorage
These stay in the webview, on this machine.
| Key | Contents |
|---|---|
ai-terminal-settings | Environments and customers as used by the header, history behaviour, command times, font, shell, interpretation, Agent system prompt |
ai-terminal-tabs | Tab title, colour, folder, history, capped scrollback, active tab, and whether Agent is on |
ai-terminal-theme | Current scheme |
ai-terminal-theme-light / ai-terminal-theme-dark | Last scheme in each group |