@bastani/atomic 0.10.14 → 0.10.15-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +1 -1
- package/dist/_shared/dist-KOELCESV.js +2 -2
- package/dist/_shared/fork-row-index-UAUAQRD5.js +2 -2
- package/dist/_shared/lib-4PES5P4V.js +2 -2
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js +3 -3
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +3 -3
- package/dist/_shared/mode-shared-2QJSCUM6.js +3 -3
- package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
- package/dist/_shared/runtime-O4KCSG4C.js +2 -2
- package/dist/_shared/{sdk-B5LEWGGI.js → sdk-OHKMDJ74.js} +27 -5
- package/dist/_shared/{sdk-B5LEWGGI.js.map → sdk-OHKMDJ74.js.map} +1 -1
- package/dist/_shared/session-data-AHTU7IS6.js +2 -2
- package/dist/_shared/startup-0-0-Q3MWKUK4.js +2 -2
- package/dist/_shared/startup-0-1-M6OWAYHH.js +2 -2
- package/dist/_shared/{startup-0-2-5QHPCEON.js → startup-0-2-2HUMCPKX.js} +14 -16
- package/dist/_shared/startup-0-2-2HUMCPKX.js.map +1 -0
- package/dist/_shared/startup-0-3-4ZYBYQNM.js +3 -3
- package/dist/_shared/startup-0-4-ZMJV547D.js +3 -3
- package/dist/_shared/startup-0-5-YDW47QX6.js +3 -3
- package/dist/_shared/startup-10-0-TDQNBDDL.js +3 -3
- package/dist/_shared/startup-14-0-MLX36RBG.js +1 -1
- package/dist/_shared/startup-15-0-YUKGAC63.js +1 -1
- package/dist/_shared/startup-15-1-4S7FLMNG.js +6 -30
- package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
- package/dist/_shared/startup-8-0-34CBHPZH.js +3 -3
- package/dist/_shared/startup-8-1-LZFXSD3Z.js +3 -3
- package/dist/_shared/storage-command-7MGXLJGZ.js +2 -2
- package/dist/_shared/storage-status-K7PX2RXA.js +3 -3
- package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
- package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
- package/dist/builtin/intercom/index.bundle.mjs +1 -1
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/index.bundle.mjs +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/index.bundle.mjs +1 -1
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/auth-cli.code.js +1 -1
- package/dist/cli/auth-cli.impl.js +3 -3
- package/dist/cli/auth-cli.js +3 -3
- package/dist/cli/blueprint-command.impl.js +3 -3
- package/dist/cli/blueprint-command.js +3 -3
- package/dist/cli/intercom-command.code.js +3 -3
- package/dist/cli/intercom-command.impl.js +3 -3
- package/dist/cli/intercom-command.js +3 -3
- package/dist/cli/list-models.impl.js +3 -3
- package/dist/cli/list-models.js +3 -3
- package/dist/cli/session-picker.code.js +1 -1
- package/dist/cli/session-picker.impl.js +3 -3
- package/dist/cli/session-picker.js +3 -3
- package/dist/cli/startup-ui.code.js +1 -1
- package/dist/cli/startup-ui.impl.js +3 -3
- package/dist/cli/startup-ui.js +3 -3
- package/dist/cli/storage-command.impl.js +3 -3
- package/dist/cli/storage-command.js +3 -3
- package/dist/cli/storage-search-session.code.js +1 -1
- package/dist/cli/storage-search-session.impl.js +3 -3
- package/dist/cli/storage-search-session.js +3 -3
- package/dist/cli/team-command.code.js +1 -1
- package/dist/cli/team-command.impl.js +3 -3
- package/dist/cli/team-command.js +3 -3
- package/dist/cli.js +2 -2
- package/dist/core/compaction/compactor.d.ts +0 -8
- package/dist/core/debug.impl.js +3 -3
- package/dist/core/debug.js +3 -3
- package/dist/core/export-html/card-projection.impl.js +3 -3
- package/dist/core/export-html/card-projection.js +3 -3
- package/dist/core/export-html/index.code.js +2 -2
- package/dist/core/export-html/index.impl.js +3 -3
- package/dist/core/export-html/index.js +3 -3
- package/dist/core/export-html/json-spans.impl.js +3 -3
- package/dist/core/export-html/json-spans.js +3 -3
- package/dist/core/export-html/oversized-render-inputs.impl.js +3 -3
- package/dist/core/export-html/oversized-render-inputs.js +3 -3
- package/dist/core/export-html/tool-renderer.impl.js +3 -3
- package/dist/core/export-html/tool-renderer.js +3 -3
- package/dist/core/extensions/jiti-loader.impl.js +3 -3
- package/dist/core/extensions/jiti-loader.js +3 -3
- package/dist/core/extensions/jiti-static-loader.impl.js +3 -3
- package/dist/core/extensions/jiti-static-loader.js +3 -3
- package/dist/core/extensions/loader-host-modules.impl.js +3 -3
- package/dist/core/extensions/loader-host-modules.js +3 -3
- package/dist/core/intercom-broker-control-host.code.js +1 -1
- package/dist/core/intercom-broker-control-host.impl.js +3 -3
- package/dist/core/intercom-broker-control-host.js +3 -3
- package/dist/core/intercom-broker-control.code.js +2 -2
- package/dist/core/intercom-broker-control.impl.js +3 -3
- package/dist/core/intercom-broker-control.js +3 -3
- package/dist/core/package-manager-storage-adapters.impl.js +3 -3
- package/dist/core/package-manager-storage-adapters.js +3 -3
- package/dist/core/sdk.code.js +1 -1
- package/dist/core/sdk.impl.js +3 -3
- package/dist/core/sdk.js +3 -3
- package/dist/core/session-manager-core.js +3 -3
- package/dist/core/session-manager-list.impl.js +3 -3
- package/dist/core/session-manager-list.js +3 -3
- package/dist/core/session-manager.impl.js +3 -3
- package/dist/core/session-manager.js +3 -3
- package/dist/core/session-storage.impl.js +3 -3
- package/dist/core/session-storage.js +3 -3
- package/dist/core/storage/index.js +2 -2
- package/dist/core/storage/node-sqlite-thread.js +2 -2
- package/dist/core/storage/node-sqlite.js +2 -2
- package/dist/core/storage/offline-snapshot-file.impl.js +3 -3
- package/dist/core/storage/offline-snapshot-file.js +3 -3
- package/dist/core/storage/provider.js +2 -2
- package/dist/core/storage/selection.js +2 -2
- package/dist/core/storage/session/branch-fork-source.code.js +2 -2
- package/dist/core/storage/session/branch-fork-source.impl.js +3 -3
- package/dist/core/storage/session/branch-fork-source.js +3 -3
- package/dist/core/storage/session/card-view.impl.js +3 -3
- package/dist/core/storage/session/card-view.js +3 -3
- package/dist/core/storage/session/child-reader.code.js +2 -2
- package/dist/core/storage/session/child-reader.impl.js +3 -3
- package/dist/core/storage/session/child-reader.js +3 -3
- package/dist/core/storage/session/chunked-resume-projection.impl.js +3 -3
- package/dist/core/storage/session/chunked-resume-projection.js +3 -3
- package/dist/core/storage/session/expanded-child-details.code.js +2 -2
- package/dist/core/storage/session/expanded-child-details.impl.js +3 -3
- package/dist/core/storage/session/expanded-child-details.js +3 -3
- package/dist/core/storage/session/fork-row-bytes.impl.js +3 -3
- package/dist/core/storage/session/fork-row-bytes.js +3 -3
- package/dist/core/storage/session/fork-row-index.impl.js +3 -3
- package/dist/core/storage/session/fork-row-index.js +3 -3
- package/dist/core/storage/session/fork-staging.code.js +1 -1
- package/dist/core/storage/session/fork-staging.impl.js +3 -3
- package/dist/core/storage/session/fork-staging.js +3 -3
- package/dist/core/storage/session/fork-window.code.js +2 -2
- package/dist/core/storage/session/fork-window.impl.js +3 -3
- package/dist/core/storage/session/fork-window.js +3 -3
- package/dist/core/storage/session/history-pages.impl.js +3 -3
- package/dist/core/storage/session/history-pages.js +3 -3
- package/dist/core/storage/session/jsonl-entry-projection.impl.js +3 -3
- package/dist/core/storage/session/jsonl-entry-projection.js +3 -3
- package/dist/core/storage/session/jsonl-session-store.impl.js +3 -3
- package/dist/core/storage/session/jsonl-session-store.js +3 -3
- package/dist/core/storage/session/memory-session-store.impl.js +3 -3
- package/dist/core/storage/session/memory-session-store.js +3 -3
- package/dist/core/storage/session/pinned-branch-resume.code.js +2 -2
- package/dist/core/storage/session/pinned-branch-resume.impl.js +3 -3
- package/dist/core/storage/session/pinned-branch-resume.js +3 -3
- package/dist/core/storage/session/released-history-files.code.js +1 -1
- package/dist/core/storage/session/released-history-files.impl.js +3 -3
- package/dist/core/storage/session/released-history-files.js +3 -3
- package/dist/core/storage/session/resident-fork-rows.impl.js +3 -3
- package/dist/core/storage/session/resident-fork-rows.js +3 -3
- package/dist/core/storage/session/session-resume.impl.js +3 -3
- package/dist/core/storage/session/session-resume.js +3 -3
- package/dist/core/storage/session/snapshot-cut.impl.js +3 -3
- package/dist/core/storage/session/snapshot-cut.js +3 -3
- package/dist/core/storage/session/snapshot-history.code.js +2 -2
- package/dist/core/storage/session/snapshot-history.impl.js +3 -3
- package/dist/core/storage/session/snapshot-history.js +3 -3
- package/dist/core/storage/session/sql-session-store.code.js +1 -1
- package/dist/core/storage/session/sql-session-store.impl.js +3 -3
- package/dist/core/storage/session/sql-session-store.js +3 -3
- package/dist/core/storage/session/tree-outline.impl.js +3 -3
- package/dist/core/storage/session/tree-outline.js +3 -3
- package/dist/core/storage/session/tree-presentation.impl.js +3 -3
- package/dist/core/storage/session/tree-presentation.js +3 -3
- package/dist/core/storage/storage-status.impl.js +3 -3
- package/dist/core/storage/storage-status.js +3 -3
- package/dist/core/storage/team.impl.js +3 -3
- package/dist/core/storage/team.js +3 -3
- package/dist/core/structured-output/index.code.js +1 -1
- package/dist/core/structured-output/index.impl.js +3 -3
- package/dist/core/structured-output/index.js +3 -3
- package/dist/core/tasks/task-completion-entry.impl.js +3 -3
- package/dist/core/tasks/task-completion-entry.js +3 -3
- package/dist/core/tasks/task-file-history.code.js +2 -2
- package/dist/core/tasks/task-file-history.impl.js +3 -3
- package/dist/core/tasks/task-file-history.js +3 -3
- package/dist/core/tasks/task-reference-archive.code.js +2 -2
- package/dist/core/tasks/task-reference-archive.js +3 -3
- package/dist/core/tasks/task-reference-identity.js +3 -3
- package/dist/core/tasks/task-reference-stream.impl.js +3 -3
- package/dist/core/tasks/task-reference-stream.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.impl.js +3 -3
- package/dist/core/tasks/task-unsaved-answer.js +3 -3
- package/dist/core/tasks/task-view-source.impl.js +3 -3
- package/dist/core/tasks/task-view-source.js +3 -3
- package/dist/core/tools/read-url.impl.js +3 -3
- package/dist/core/tools/read-url.js +3 -3
- package/dist/core/worktree-snapshot/blob-store.js +2 -2
- package/dist/core/worktree-snapshot/errors.code.js +1 -1
- package/dist/core/worktree-snapshot/errors.impl.js +3 -3
- package/dist/core/worktree-snapshot/errors.js +3 -3
- package/dist/core/worktree-snapshot/session-index-reset.impl.js +3 -3
- package/dist/core/worktree-snapshot/session-index-reset.js +3 -3
- package/dist/extensions/codemode/execute.impl.js +3 -3
- package/dist/extensions/codemode/execute.js +3 -3
- package/dist/extensions/codemode/renderer.impl.js +3 -3
- package/dist/extensions/codemode/renderer.js +3 -3
- package/dist/extensions/mcp/cli.code.js +1 -1
- package/dist/extensions/mcp/cli.impl.js +3 -3
- package/dist/extensions/mcp/cli.js +3 -3
- package/dist/extensions/mcp/cli.lazy.code.js +2 -2
- package/dist/extensions/mcp/cli.lazy.impl.js +3 -3
- package/dist/extensions/mcp/cli.lazy.js +3 -3
- package/dist/extensions/mcp/runtime.code.js +1 -1
- package/dist/extensions/mcp/runtime.impl.js +3 -3
- package/dist/extensions/mcp/runtime.js +3 -3
- package/dist/index.d.ts +21 -1
- package/dist/index.js +2 -2
- package/dist/main-first-time-setup.code.js +1 -1
- package/dist/main-first-time-setup.impl.js +3 -3
- package/dist/main-first-time-setup.js +3 -3
- package/dist/modes/interactive/components/stored-tree-view.code.js +2 -2
- package/dist/modes/interactive/components/stored-tree-view.impl.js +3 -3
- package/dist/modes/interactive/components/stored-tree-view.js +3 -3
- package/dist/modes/interactive/components/user-message-selector-archive.impl.js +3 -3
- package/dist/modes/interactive/components/user-message-selector-archive.js +3 -3
- package/dist/modes/print-mode.js +1 -1
- package/dist/package-manager-cli.code.js +2 -2
- package/dist/package-manager-cli.impl.js +3 -3
- package/dist/package-manager-cli.js +3 -3
- package/dist/startup-files.json +1 -1
- package/dist/startup-stages/6.js +1 -1
- package/dist/utils/startup-database-spare.code.js +1 -1
- package/dist/utils/startup-database-spare.impl.js +3 -3
- package/dist/utils/startup-database-spare.js +3 -3
- package/dist/utils/tools-manager.impl.js +3 -3
- package/dist/utils/tools-manager.js +3 -3
- package/docs/background-tasks/reference.md +182 -0
- package/docs/background-tasks.md +98 -405
- package/docs/build.md +67 -27
- package/docs/changelog.mdx +11 -1
- package/docs/codemode.md +108 -39
- package/docs/compaction/branch-summaries.md +54 -0
- package/docs/compaction/custom-compactors.md +161 -0
- package/docs/compaction/memory-compaction.md +77 -0
- package/docs/compaction/reference.md +86 -38
- package/docs/compaction.md +51 -252
- package/docs/computer-use.md +169 -321
- package/docs/containerization.md +71 -57
- package/docs/custom-provider/api-reference.md +119 -25
- package/docs/custom-provider/oauth.md +114 -132
- package/docs/custom-provider/override.md +37 -27
- package/docs/custom-provider/registration.md +107 -83
- package/docs/custom-provider/streaming.md +85 -71
- package/docs/custom-provider.md +85 -52
- package/docs/development.md +39 -29
- package/docs/docs.json +80 -67
- package/docs/environment-variables.md +94 -44
- package/docs/extensions/api-reference.md +86 -43
- package/docs/extensions/authoring.md +162 -154
- package/docs/extensions/events.md +80 -25
- package/docs/extensions/examples.md +90 -85
- package/docs/extensions/ui.md +206 -82
- package/docs/extensions.md +79 -108
- package/docs/getting-started/authentication.md +67 -36
- package/docs/getting-started/first-session.md +53 -43
- package/docs/getting-started/installation.md +117 -90
- package/docs/getting-started/project-instructions.md +48 -34
- package/docs/guides/configuration.md +82 -20
- package/docs/guides/non-interactive.md +66 -24
- package/docs/guides/resume-on-any-machine.md +135 -82
- package/docs/guides/team-setup.md +114 -105
- package/docs/guides.md +76 -32
- package/docs/herdr.md +16 -17
- package/docs/how-atomic-works.md +140 -0
- package/docs/index.md +58 -44
- package/docs/intercom/operations.md +141 -151
- package/docs/intercom/reference.md +85 -108
- package/docs/intercom.md +84 -145
- package/docs/json.md +120 -67
- package/docs/keybindings.md +85 -49
- package/docs/libraries/agent-core.md +137 -275
- package/docs/libraries/ai.md +100 -84
- package/docs/libraries/codemode.md +210 -300
- package/docs/libraries/schema.md +59 -53
- package/docs/libraries/storage-postgres.md +49 -35
- package/docs/libraries/telemetry.md +153 -354
- package/docs/libraries/tui.md +265 -393
- package/docs/libraries.md +42 -26
- package/docs/llama-cpp.md +171 -161
- package/docs/mcp-servers.md +90 -51
- package/docs/models/choose-a-model.md +188 -0
- package/docs/models/reference.md +74 -30
- package/docs/models.md +153 -88
- package/docs/orchestration/migrating-workflows.md +23 -16
- package/docs/orchestration/patterns.md +39 -44
- package/docs/orchestration.md +65 -26
- package/docs/packages/authoring.md +51 -29
- package/docs/packages/reference.md +42 -21
- package/docs/packages.md +69 -58
- package/docs/programmatic.md +118 -24
- package/docs/prompt-templates.md +84 -83
- package/docs/providers/reference.md +43 -48
- package/docs/providers.md +219 -451
- package/docs/quickstart.md +140 -120
- package/docs/reference/cli.md +135 -97
- package/docs/reference.md +20 -19
- package/docs/rpc/examples.md +76 -20
- package/docs/rpc/extension-ui.md +64 -38
- package/docs/rpc/protocol.md +361 -110
- package/docs/rpc.md +57 -17
- package/docs/sdk/reference.md +409 -534
- package/docs/sdk/storage.md +53 -13
- package/docs/sdk/structured-decisions.md +82 -56
- package/docs/sdk/web-server.md +57 -43
- package/docs/sdk.md +106 -84
- package/docs/security.md +42 -64
- package/docs/session-format.md +62 -38
- package/docs/sessions.md +99 -214
- package/docs/settings.md +165 -195
- package/docs/shell-aliases.md +9 -6
- package/docs/skills/authoring.md +69 -48
- package/docs/skills/reference.md +51 -20
- package/docs/skills.md +99 -148
- package/docs/slash-commands.md +129 -0
- package/docs/storage/custom-adapters.md +160 -85
- package/docs/storage/jsonl.md +81 -66
- package/docs/storage/postgres/pgbouncer.md +120 -126
- package/docs/storage/postgres/tuning.md +120 -143
- package/docs/storage/postgres.md +314 -330
- package/docs/storage/sqlite.md +71 -42
- package/docs/storage.md +298 -302
- package/docs/subagents/authoring.md +55 -38
- package/docs/subagents/reference.md +73 -33
- package/docs/subagents.md +119 -187
- package/docs/terminal-setup.md +51 -39
- package/docs/themes/reference.md +23 -19
- package/docs/themes.md +142 -127
- package/docs/tmux.md +47 -55
- package/docs/tools.md +147 -109
- package/docs/tui/reference.md +166 -214
- package/docs/tui.md +196 -341
- package/docs/usage.md +118 -138
- package/docs/verification.md +79 -51
- package/docs/web-access.md +121 -101
- package/docs/windows.md +26 -27
- package/docs/worktree-snapshots/reference.md +245 -0
- package/docs/worktree-snapshots.md +71 -259
- package/package.json +8 -8
- package/dist/_shared/startup-0-2-5QHPCEON.js.map +0 -1
- package/docs/guides/intercom.md +0 -32
- package/docs/guides/orchestration.md +0 -28
- package/docs/guides/subagents.md +0 -37
- package/docs/termux.md +0 -118
package/docs/settings.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: "Settings
|
|
2
|
+
title: "Settings"
|
|
3
3
|
sidebarTitle: "Settings"
|
|
4
4
|
description: "Reference for every option in global and project settings.json files, including model scoping, fallbacks, retries, tools, and storage."
|
|
5
5
|
---
|
|
@@ -17,17 +17,24 @@ Edit these files directly or run `/settings` to change common options interactiv
|
|
|
17
17
|
|
|
18
18
|
- **Strict JSON and syntax errors.** `settings.json` must be valid JSON (no `//` comments or trailing commas; leading UTF-8 BOMs are stripped). If a file has a JSON syntax error, Atomic warns, uses defaults for that scope, and stops writing to that scope so your file is never overwritten.
|
|
19
19
|
- **Automatic startup defaults.** Interactive model or thinking switches (`/model`, `/thinking`, or cycling shortcuts) save `defaultProvider`, `defaultModel`, `defaultThinkingLevel`, and `modelThinkingLevels`. `/scoped-models` saves `enabledModels`. SDK calls, session restores, and automatic fallbacks do not overwrite saved defaults unless you request it.
|
|
20
|
-
- **
|
|
21
|
-
- **Scope merging and legacy `.pi` files.** Within
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
- **Editor schema and safe merges.** Add `"$schema": "https://raw.githubusercontent.com/bastani-inc/atomic/main/packages/coding-agent/schemas/settings.schema.json"` for editor completion and validation. Atomic preserves `$schema`, unknown keys (such as extension settings like `subagents.agentOverrides`), symlinks, and concurrent external edits. Saving writes only changed fields to `.atomic` (and only changed keys inside object settings such as `modelThinkingLevels`).
|
|
21
|
+
- **Scope merging and legacy `.pi` files.** Within one scope, `.atomic` overrides `.pi` per file, so legacy `queueMode` in `.atomic` beats `steeringMode` in `.pi`, and setting an array to `[]` in `.atomic` clears the `.pi` array in that scope. Across global and project scopes, `packages`, `extensions`, `skills`, `prompts`, and `themes` combine rather than replace; setting `"packages": []` in `.atomic/settings.json` clears only a legacy `.pi/settings.json` in that project, not global `~/.atomic/agent/settings.json`. Non-resource arrays (`enabledModels`, `fallbackModels`, `npmCommand`, `resume.cache`) replace the global array. Legacy `skills` objects (`{ "enableSkillCommands": ..., "customDirectories": [...] }`) migrate automatically on load.
|
|
22
|
+
|
|
23
|
+
<Note>
|
|
24
|
+
**Validation and invalid values.** Load-time type checks validate **top-level keys and top-level list entries** (plus deprecated `skills` object fields), ignoring wrong-typed values with a one-time warning without rewriting your file. Wrong-typed fields nested inside object settings (such as `retry.maxRetries`, `compaction.enabled`, `terminal.showImages`, or `search.contextBefore`) do not emit a load-time warning and either fall back to defaults or pass through the setting reader—use `$schema` in your editor to catch nested mistakes.
|
|
25
|
+
|
|
26
|
+
A few settings fail strictly instead of falling back:
|
|
27
|
+
|
|
28
|
+
- **Startup or `/reload`:** invalid `httpIdleTimeoutMs`, or an invalid active `storage` or `sessions.storage` selection.
|
|
29
|
+
- **First model request:** invalid `websocketConnectTimeoutMs` or `streamDeadlineMs`.
|
|
30
|
+
- **When the feature runs:** an invalid `snapshots` block (except `snapshots.pool.maxIdlePerRepository`, which falls back to `2`); a negative or non-integer `compaction.reserveTokens`; an invalid `decisionModel` (wrong type, whitespace-padded string, unregistered ID, bare ID without `provider/`, image model, or compactor model—`/settings` shows unavailable IDs without failing); or a non-string `compactionModel`.
|
|
31
|
+
|
|
32
|
+
For programmatic error classes, see [SDK reference](/sdk/reference).
|
|
33
|
+
</Note>
|
|
27
34
|
|
|
28
35
|
## Project trust
|
|
29
36
|
|
|
30
|
-
Project settings in `.atomic/settings.json` (and legacy `.pi/settings.json`) load only when the project is trusted
|
|
37
|
+
Project settings in `.atomic/settings.json` (and legacy `.pi/settings.json`) load only when the project is trusted:
|
|
31
38
|
|
|
32
39
|
- Interactive sessions prompt once before trusting a project with trust-gated files and save decisions in `~/.atomic/agent/trust.json` (manage them with `/trust`).
|
|
33
40
|
- Non-interactive modes (`-p`, `--mode json`, `--mode rpc`) never prompt; they follow global `defaultProjectTrust` (`"ask"` and `"never"` ignore project settings; `"always"` trusts them). Override for one run with `--approve`/`-a` or `--no-approve`/`-na`.
|
|
@@ -35,34 +42,33 @@ Project settings in `.atomic/settings.json` (and legacy `.pi/settings.json`) loa
|
|
|
35
42
|
|
|
36
43
|
See [Project trust](/security#project-trust) for the full list of trust-gated inputs and saved-decision behavior.
|
|
37
44
|
|
|
38
|
-
##
|
|
39
|
-
|
|
40
|
-
### Models and thinking
|
|
45
|
+
## Models and thinking
|
|
41
46
|
|
|
42
|
-
|
|
47
|
+
See [Choose a model](/models/choose-a-model) for everyday model selection, [Model providers](/providers) for credentials, and [Configure custom models](/models) for custom endpoints and overrides.
|
|
43
48
|
|
|
44
49
|
| Setting | Type | Default | Description |
|
|
45
50
|
| --- | --- | --- | --- |
|
|
46
51
|
| `defaultProvider` | string | unset | Startup provider, saved automatically on interactive model switch |
|
|
47
52
|
| `defaultModel` | string | unset | Startup model ID, saved automatically on interactive model switch |
|
|
48
|
-
| `enabledModels` | string[] | unset | Model patterns that
|
|
49
|
-
| `fallbackModels` | string[] | unset | Ordered main-chat fallback chain (`provider/model` with optional `:effort` suffix). See [`fallbackModels`](#fallbackmodels)
|
|
50
|
-
| `decisionModel` | string | `""` | Model for `structured_output` (when omitted) and `decide()`: exact `provider/model` (chat or classifier), or `""`/`"auto"` for the current chat model. See [`decisionModel`](#decisionmodel)
|
|
53
|
+
| `enabledModels` | string[] | unset | Model patterns that restrict the startup model, `Ctrl+P` cycling, `/model`, and subagent models. Fast and Ultrafast versions have their own model IDs, so patterns must match them too. See [Model scope (`enabledModels`)](#enabledmodels) |
|
|
54
|
+
| `fallbackModels` | string[] | unset | Ordered main-chat fallback chain (`provider/model` with optional `:effort` suffix). See [`fallbackModels`](#fallbackmodels) |
|
|
55
|
+
| `decisionModel` | string | `""` | Model for `structured_output` (when omitted) and `decide()`: exact `provider/model` (chat or classifier), or `""`/`"auto"` for the current chat model. See [`decisionModel`](#decisionmodel) |
|
|
51
56
|
| `defaultThinkingLevel` | string | unset | Startup thinking level (`"off"`, `"minimal"`, `"low"`, `"medium"`, `"high"`, `"xhigh"`, `"max"`), clamped to model support |
|
|
52
57
|
| `modelThinkingLevels` | object | unset | Per-model startup thinking levels keyed by `"provider/modelId"` |
|
|
53
58
|
| `hideThinkingBlock` | boolean | `false` | Hide thinking blocks in output |
|
|
54
59
|
| `thinkingBudgets` | object | unset | Custom token budgets per thinking level (native on Anthropic, Google, and Bedrock; OpenAI-compatible when `compat.thinkingTokenBudgetField` or `supportsThinkingTokenBudget` is set) |
|
|
55
60
|
| `showCacheMissNotices` | boolean | `false` | Show notices for significant prompt-cache misses, billed compaction or branch summaries, and provider recovery diagnostics (such as dropped Anthropic thinking blocks), including on resume |
|
|
56
|
-
| `cacheWarming` | `"off" \| "streaming" \| "idle"` | `"idle"` | Keep eligible prompt caches warm during runs (`"streaming"`, up to 60 min after the starting request) or up to 30 min between runs (`"idle"`). `"off"` disables. Refreshes incur provider cost. Global setting only
|
|
61
|
+
| `cacheWarming` | `"off" \| "streaming" \| "idle"` | `"idle"` | Keep eligible prompt caches warm during runs (`"streaming"`, up to 60 min after the starting request) or up to 30 min between runs (`"idle"`). `"off"` disables. Refreshes incur provider cost. Global setting only |
|
|
57
62
|
|
|
58
|
-
- **Cache warming.** Runs only when the model declares `promptCache` ([`models.json`
|
|
59
|
-
- **
|
|
60
|
-
- **
|
|
61
|
-
- **
|
|
63
|
+
- **Cache warming.** Runs only when the model declares `promptCache` (`short` and/or `long` TTLs in seconds in [`models.json`](/models-configuration)) and the request uses a retention tier with a configured TTL. A refresh is sent only when expected savings (`continuationProbability * missCost - warmCost`) are at least **$0.05**, where `continuationProbability` is `1.0` while streaming and `0.15` (15%) while idle, `missCost` is the extra cost of a cache miss over a cache hit, and `warmCost` is one cache read plus one output token. Warming is disabled for Anthropic models without adaptive thinking (`compat.forceAdaptiveThinking: true`) whenever thinking is enabled (such as Claude 4.5 Haiku, Sonnet, and Opus), because replaying with a 1-token output cap changes Anthropic's thinking-budget cache key. Refreshes are recorded in usage, never added to context, and can be intercepted by extensions via `cache_warming_decision`.
|
|
64
|
+
- **Fast and Ultrafast models.** Fast and Ultrafast tiers are selected using their canonical `<model-id>-fast` and `<model-id>-ultrafast` IDs anywhere models are configured (`/model`, `enabledModels`, `fallbackModels`, and subagents)—not via a separate setting. Reasoning suffixes work normally (for example `openai-codex/gpt-5.6-sol-fast:medium`), and standard, fast, and ultrafast IDs act as separate candidates. See [Fast models](/providers#fast-models).
|
|
65
|
+
- **Compaction model (`compactionModel`).** Configured under [Compaction](#compaction) (default `""`/`"auto"` for memory compaction, or a registered compactor ID such as `morph/morph-compactor`). See [Custom compaction models](/compaction/custom-compactors).
|
|
66
|
+
- **Unsupported saved default provider.** If `defaultProvider` and `defaultModel` name a provider still unsupported after extensions load, Atomic does not switch providers silently. Interactive mode warns, print and JSON modes warn on stderr and exit nonzero (stdout stays valid JSONL), and RPC rejects `prompt` until an explicit model switch succeeds. If the provider is supported but the model is unknown or unauthenticated, normal auto-selection applies.
|
|
67
|
+
- **Subagents (`model: "auto"`).** Subagents use `defaultProvider`/`defaultModel` when authenticated (at agent `thinking`, else `modelThinkingLevels`, else `defaultThinkingLevel`, else `medium`), falling back to the launching session's model. When `enabledModels` or `--models` is active, subagent model selection must stay inside that scope. Built-in agent overrides live under `subagents.agentOverrides`; see [Subagent reference](/subagents/reference#automatic-model-selection).
|
|
62
68
|
|
|
63
|
-
|
|
69
|
+
### Model scope (enabledModels) {#enabledmodels}
|
|
64
70
|
|
|
65
|
-
`enabledModels` (and the one-run CLI flag `--models`) restricts the active set of authenticated models for a session.
|
|
71
|
+
`enabledModels` (and the one-run CLI flag `--models`) restricts the active set of authenticated models for a session. Omit it or set `[]` to leave every authenticated model active.
|
|
66
72
|
|
|
67
73
|
```json
|
|
68
74
|
{
|
|
@@ -74,77 +80,51 @@ Set up provider credentials in [Model providers](/providers) and define custom e
|
|
|
74
80
|
}
|
|
75
81
|
```
|
|
76
82
|
|
|
77
|
-
|
|
83
|
+
#### How patterns match
|
|
78
84
|
|
|
79
|
-
Atomic resolves `enabledModels` and `--models` patterns against **authenticated, available models only** (including models registered by extensions once they finish loading). Each pattern is
|
|
85
|
+
Atomic resolves `enabledModels` and `--models` patterns against **authenticated, available models only** (including models registered by extensions once they finish loading). Each pattern is evaluated in three steps:
|
|
80
86
|
|
|
81
|
-
1. **Exact unmodified match first.**
|
|
82
|
-
2. **Glob patterns (`*`, `?`, `[`).** If the pattern contains
|
|
83
|
-
|
|
84
|
-
- It tries an exact match on the base ID before globbing, so a literal bracketed ID with a suffix (such as `provider/model[1m]:high`) still matches exactly.
|
|
85
|
-
- Otherwise, it runs case-insensitive glob matching against **both** `provider/id` and bare `id`.
|
|
86
|
-
3. **Fuzzy substring match (non-globs).** If the pattern has no glob characters and did not match verbatim:
|
|
87
|
-
- Atomic checks for a trailing `:thinking` suffix (case-insensitive). If the suffix is not a valid thinking level, Atomic warns and drops the suffix so the model still resolves at its default thinking level.
|
|
88
|
-
- It matches the remaining text as a case-insensitive substring against `model.id` or `model.name`. When multiple IDs match a fuzzy pattern, Atomic prefers non-dated aliases over dated `YYYYMMDD` IDs, then sorts reverse-alphabetically by model ID so newer versions win.
|
|
87
|
+
1. **Exact unmodified match first.** Checks for a case-insensitive exact match against `provider/id` or bare `id` before interpreting `:thinking` suffixes or glob characters. Literal catalog IDs containing colons or brackets (such as `qwen/qwen3-coder:exacto` or `provider/model[1m]`) match directly.
|
|
88
|
+
2. **Glob patterns (`*`, `?`, `[`).** If the pattern contains glob characters and did not match verbatim, Atomic strips any valid trailing `:thinking` suffix (`:off`, `:minimal`, `:low`, `:medium`, `:high`, `:xhigh`, or `:max`, case-insensitive), checks for an exact match on the base ID (so `provider/model[1m]:high` matches literally), and otherwise runs case-insensitive glob matching against both `provider/id` and bare `id`.
|
|
89
|
+
3. **Fuzzy substring match (non-globs).** If the pattern has no glob characters and did not match verbatim, Atomic checks for a trailing `:thinking` suffix (invalid suffixes warn and are dropped), then matches the remaining text as a case-insensitive substring against `model.id` or `model.name`. Among multiple matches, non-dated aliases beat dated `YYYYMMDD` IDs, and reverse-alphabetical order prefers newer versions.
|
|
89
90
|
|
|
90
91
|
Additional matching rules:
|
|
91
92
|
|
|
92
|
-
- **Provider-qualified vs bare IDs.** Use `provider/id` to pin a single provider. A bare ID or pattern matching multiple authenticated providers adds **every** matching provider to the scope.
|
|
93
|
-
- **Fast and Ultrafast
|
|
94
|
-
- **Order and
|
|
95
|
-
- **Project overrides.** Setting `"enabledModels": []` in `.atomic/settings.json` clears a global `enabledModels` list for that project.
|
|
96
|
-
|
|
97
|
-
##### What `enabledModels` controls
|
|
98
|
-
|
|
99
|
-
When a scope is active, it governs five areas across your session:
|
|
100
|
-
|
|
101
|
-
- **New-session startup model.** On a new session (without `--model`, `--continue`, or `--resume`), Atomic starts on your saved `defaultProvider`/`defaultModel` if it is in scope (applying that scope entry's `:thinking` suffix unless `--thinking` overrides it). If your saved default is outside scope, Atomic starts on the **first matched model** in `enabledModels` / `--models` instead.
|
|
102
|
-
- **`Ctrl+P` model cycling.** Cycles only through your scoped models in order.
|
|
103
|
-
- **`/model` picker and `/model <name>`.** `/model` opens filtered to your scoped models (press `Tab` to toggle between scoped models and all models; press `←`/`→` on a reasoning model row to set thinking effort before selecting). Direct `/model <name>` searches only your scoped models.
|
|
104
|
-
- **Subagent allowlist.** Child subagents inherit the active `enabledModels` / `--models` scope using the same matching rules. Any subagent start model (including `model: "auto"`, agent frontmatter `model`, or per-call `model` overrides) and any child fallback candidate outside scope is rejected with an error. If your `enabledModels` patterns match zero available models, subagent launches are blocked rather than widening to all models.
|
|
105
|
-
- **Extensions and SDK.** Extensions read the active resolved scope through [`ctx.scopedModels`](/extensions/api-reference#ctx-modelregistry-ctx-model-ctx-scopedmodels) (read-only). SDK hosts can resolve patterns with `resolveModelScopeFromModels()`; see [Resolving scoped models](/sdk/reference#resolving-scoped-models).
|
|
106
|
-
|
|
107
|
-
**What stays independent:** Main-chat `fallbackModels` is independent of `enabledModels`, so you can keep an out-of-scope emergency fallback for main-chat turns. Child subagent fallback chains remain bound by the parent session's `enabledModels` scope.
|
|
93
|
+
- **Provider-qualified vs. bare IDs.** Use `provider/id` to pin a single provider. A bare ID or pattern matching multiple authenticated providers adds **every** matching provider to the scope.
|
|
94
|
+
- **Fast and Ultrafast IDs.** Fast and Ultrafast versions have distinct IDs ending in `-fast` or `-ultrafast`, and a `*` in the provider part does not match into the model ID. `"openai-*/gpt-6.2-sol"` matches standard models only; use `"openai-*/gpt-6.2-sol*"` or list each ID explicitly to include faster tiers. Patterns never add a version the provider does not offer.
|
|
95
|
+
- **Order, deduplication, and project overrides.** Results keep pattern order and deduplicate `(provider, id)` while preserving the first `:thinking` suffix. Setting `"enabledModels": []` in `.atomic/settings.json` clears a global scope for that project.
|
|
108
96
|
|
|
109
|
-
|
|
97
|
+
#### What `enabledModels` controls
|
|
110
98
|
|
|
111
|
-
|
|
99
|
+
- **New-session startup model.** Without `--model`, `--continue`, or `--resume`, Atomic starts on `defaultProvider`/`defaultModel` if it is in scope (applying the scope entry's `:thinking` suffix unless `--thinking` overrides it), or on the **first matched model** in `enabledModels` otherwise.
|
|
100
|
+
- **`Ctrl+P` cycling and `/model`.** `Ctrl+P` cycles only through scoped models in order. `/model` opens filtered to scoped models (`Tab` toggles scoped vs. all models; `←`/`→` adjusts thinking effort before selecting). Direct `/model <name>` searches only scoped models.
|
|
101
|
+
- **Subagent allowlist.** Child subagents inherit the active `enabledModels` / `--models` scope. Any subagent start model (`model: "auto"`, agent frontmatter, or per-call override) or child fallback outside scope is rejected. When a requested Fast or Ultrafast ID is out of scope while its base model is in scope, the error names the exact ID to add to `enabledModels`. If patterns match zero available models, subagent launches fail instead of widening to all models. Nonexistent catalog IDs report `no such model in the catalog.` instead of a scope error.
|
|
102
|
+
- **Main-chat fallbacks stay independent.** Main-chat `fallbackModels` is independent of `enabledModels`, so you can keep an out-of-scope emergency fallback for main chat while child subagent fallback chains remain bound by `enabledModels`.
|
|
103
|
+
- **Extensions and SDK.** Extensions read the resolved scope via [`ctx.scopedModels`](/extensions/api-reference#ctx-modelregistry-ctx-model-ctx-scopedmodels), and SDK hosts can resolve patterns with `resolveModelScopeFromModels()` ([Resolving scoped models](/sdk/reference#resolving-scoped-models)).
|
|
112
104
|
|
|
113
|
-
|
|
114
|
-
Model openai-codex/gpt-6.2-sol-ultrafast:high is not available (Skipped openai-codex/gpt-6.2-sol-ultrafast:high: model is outside the session's enabledModels scope; its base model openai-codex/gpt-6.2-sol is in scope. Add "openai-codex/gpt-6.2-sol-ultrafast" to enabledModels.). No other model was used: a subagent launched on a named model runs only that model and its agent's fallbackModels.
|
|
115
|
-
```
|
|
105
|
+
#### Side effects from `/model` and `/scoped-models`
|
|
116
106
|
|
|
117
|
-
|
|
107
|
+
- **Picking an out-of-scope model in `/model`:** Pressing `Tab` and picking a model outside scope adds it to the active session's scope. If global `settings.json` already has a non-empty `enabledModels` list, Atomic also appends `"provider/id"` to global `enabledModels` and saves it (project-only or `--models` scopes do not create a global list).
|
|
108
|
+
- **Editing in `/scoped-models`:** Every toggle, reorder, enable-all, or clear-all saves immediately to **global** `settings.json` as explicit `provider/id` entries, replacing hand-written globs and `:thinking` suffixes. Unmatched patterns remain visible as unavailable rows until unchecked.
|
|
109
|
+
- **Enabling or clearing all in `/scoped-models`:** Enabling every available model removes `enabledModels`. Clearing all saves `"enabledModels": []` and unscopes the active session.
|
|
118
110
|
|
|
119
|
-
|
|
120
|
-
{
|
|
121
|
-
"enabledModels": ["openai-codex/gpt-6.2-sol", "openai-codex/gpt-6.2-sol-ultrafast"]
|
|
122
|
-
}
|
|
123
|
-
```
|
|
111
|
+
#### Model-matching comparison
|
|
124
112
|
|
|
125
|
-
|
|
113
|
+
See [CLI model options](/reference/cli#model-options) for CLI flag precedence.
|
|
126
114
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
- **Picking an out-of-scope model in `/model`:** If you press `Tab` in `/model` and pick a model outside your active scope, Atomic adds it to the active session's scope. When global `settings.json` has a non-empty `enabledModels` list, Atomic also appends `"provider/id"` to global `enabledModels` and saves `settings.json`. (If the scope came only from project settings or `--models`, global `enabledModels` is not created.)
|
|
130
|
-
- **Editing in `/scoped-models`:** Every toggle, reorder, enable-all, or clear-all saves immediately to **global** `settings.json` as explicit `provider/id` entries. Hand-written globs (such as `"claude-*"`) and `:thinking` suffixes (such as `"anthropic/claude-opus-5:high"`) are replaced by exact `provider/id` strings without thinking suffixes. Unmatched patterns stay visible as unavailable rows until you uncheck them.
|
|
131
|
-
- **Enabling or clearing all in `/scoped-models`:** Enabling every available model deletes `enabledModels`. Clearing all saves `"enabledModels": []` and unscopes the active session so all models appear again.
|
|
132
|
-
|
|
133
|
-
##### Comparison of model-selection settings and flags
|
|
134
|
-
|
|
135
|
-
| Mechanism | Matching rules | Globs (`*`, `?`, `[`) | Fuzzy match | `:thinking` suffix | Ambiguous bare ID |
|
|
115
|
+
| Mechanism | Matching rules | Globs | Fuzzy | `:thinking` suffix | Ambiguous bare ID |
|
|
136
116
|
| --- | --- | --- | --- | --- | --- |
|
|
137
|
-
| `enabledModels` / `--models` | Exact, then glob, then fuzzy (authenticated models only) | Yes
|
|
138
|
-
| `fallbackModels` / `--fallback-models` | Exact, then fuzzy (skips unauthenticated at runtime) | No | Yes | Strict (
|
|
139
|
-
| `--model` (CLI) | Exact, then fuzzy (
|
|
140
|
-
| `/model <name>` | Exact `provider/id` or bare `id` (scoped models
|
|
117
|
+
| `enabledModels` / `--models` | Exact, then glob, then fuzzy (authenticated models only) | Yes | Yes | Lenient (invalid warns and drops) | Adds all matching authenticated providers |
|
|
118
|
+
| `fallbackModels` / `--fallback-models` | Exact, then fuzzy (skips unauthenticated at runtime) | No | Yes | Strict (invalid fails match) | Prefers current or default provider; else skips |
|
|
119
|
+
| `--model` (CLI) | Exact, then fuzzy (all models; synthesizes unknown ID if provider known) | No | Yes | Strict (invalid kept literally) | Breaks tie by sole authenticated provider; else errors |
|
|
120
|
+
| `/model <name>` | Exact `provider/id` or bare `id` (scoped models when scoped; opens picker on miss) | No | No | No (use `←`/`→` or `/thinking`) | Opens picker instead of switching |
|
|
141
121
|
| `defaultProvider` + `defaultModel` | Exact ID lookup (`provider` normalized) | No | No | No (uses `modelThinkingLevels` / `defaultThinkingLevel`) | Not applicable (both required) |
|
|
142
122
|
| `decisionModel` | Exact case-sensitive `provider/model` (classifiers before chat models) | No | No | No | Not applicable (`provider/model` required) |
|
|
143
123
|
| `compactionModel` | Exact case-sensitive `provider/model` (registered compactors only) | No | No | No | Not applicable (`provider/model` required) |
|
|
144
124
|
|
|
145
|
-
|
|
125
|
+
### fallbackModels
|
|
146
126
|
|
|
147
|
-
Ordered fallback chain for main-chat turns
|
|
127
|
+
Ordered fallback chain for main-chat turns when the active model fails:
|
|
148
128
|
|
|
149
129
|
```json
|
|
150
130
|
{
|
|
@@ -158,29 +138,32 @@ Ordered fallback chain for main-chat turns after same-model retries exhaust on a
|
|
|
158
138
|
}
|
|
159
139
|
```
|
|
160
140
|
|
|
161
|
-
- **Entry format and matching.** Use `provider/model` (preferred; bare IDs and fuzzy substrings also match, and exact unmodified IDs containing `/` or `:` such as `qwen/qwen3-coder:exacto` match first) with an optional case-insensitive `:off`, `:minimal`, `:low`, `:medium`, `:high`, `:xhigh`, or `:max` suffix (clamped to model support). Run `atomic --list-models` for IDs.
|
|
162
|
-
- **Thinking level without a suffix.**
|
|
163
|
-
- **CLI precedence.** `--model` runs strictly as named and falls back only to `--fallback-models`, ignoring settings `fallbackModels`. `--no-fallback` disables fallback for one run, and `--fallback-models` replaces this list for one run.
|
|
164
|
-
- **
|
|
165
|
-
- **
|
|
166
|
-
- **
|
|
141
|
+
- **Entry format and matching.** Use `provider/model` (preferred; bare IDs and fuzzy substrings also match, and exact unmodified IDs containing `/` or `:` such as `qwen/qwen3-coder:exacto` match first) with an optional case-insensitive `:off`, `:minimal`, `:low`, `:medium`, `:high`, `:xhigh`, or `:max` suffix (clamped to model support). Run `atomic --list-models` for IDs. Invalid `:thinking` suffixes or unmatched entries warn once after extensions load and are skipped. Ambiguous bare IDs prefer the current or default provider and skip if neither matches.
|
|
142
|
+
- **Thinking level without a suffix.** Uses `defaultThinkingLevel`, else the current session's thinking level, else `"medium"`, clamped to model support (`modelThinkingLevels` is not consulted during fallback).
|
|
143
|
+
- **CLI precedence.** `--model` runs strictly as named and falls back only to `--fallback-models`, ignoring settings `fallbackModels`. `--no-fallback` disables fallback for one run, and `--fallback-models` replaces this list for one run. Press `Esc` during a retry wait or model switch to cancel. See [CLI model options](/reference/cli#model-options).
|
|
144
|
+
- **What retries vs. falls back.** Fallback eligibility is broader than same-model retry eligibility:
|
|
145
|
+
- **Retry same model, then fall back:** rate limits, transient server or network errors, timeouts, degenerate empty completions (no content and zero output tokens), and provider-intercepted zero-output canned safety refusals. Unrecognized errors (no status, code, or recognized message pattern) are retried on the same model first only when `fallbackModels` is configured, so a single unrecognized failure does not immediately switch models.
|
|
146
|
+
- **Skip same-model retry and fall back immediately:** authentication failures (HTTP 401/403, Codex token invalidation), unavailable models, incompatible requests, refused TLS certificates (each fallback is tried once), quota exhaustion (`The usage limit has been reached`), and content-filter refusals (such as OpenAI HTTP 422 `cyber_policy`, Anthropic refusal, or `content_filter`, unless `retry.fallbackOnContentFilter: false` is set to retry on the same model instead).
|
|
147
|
+
- **Context overflow:** compacts first, and falls back only if compaction is off, fails, or does not clear the overflow.
|
|
148
|
+
- **Never falls back:** `Esc` cancellations and non-fallbackable task errors. With `retry.enabled: false`, retryable errors advance immediately.
|
|
149
|
+
- **Skipping broken providers or models during a turn.** Unauthenticated providers are skipped before sending a request (if none have credentials, Atomic fails immediately and lists the missing providers). Rejected credentials (HTTP 401, `invalid_api_key`, `authentication_error`) exclude that provider for the rest of the turn; model-scoped HTTP 403 or incompatible-request errors exclude only that model across all reasoning suffixes.
|
|
150
|
+
- **Persistence, print output, and billing.** Once a fallback runs, it stays active for later turns (keeping thinking-level changes) until you switch via `/model` or model cycling. In print mode (`-p`), fallback notices and the final `Model: ran on <fallback>, not the requested <model>.` line go to **stderr** so stdout stays clean. Because switching providers changes billing and data-handling terms, list only approved providers.
|
|
167
151
|
|
|
168
|
-
|
|
152
|
+
### decisionModel
|
|
169
153
|
|
|
170
154
|
```json
|
|
171
155
|
{ "decisionModel": "" }
|
|
172
156
|
```
|
|
173
157
|
|
|
174
|
-
|
|
158
|
+
Selects the model used for `structured_output` calls (when no explicit `model` is passed; classifiers answer finite `Choice` schemas, otherwise Atomic tries `fallbackModels` and then the current chat model) and extension [`decide()`](/sdk/structured-decisions#decide) calls. It never changes your chat model or subagent execution model.
|
|
175
159
|
|
|
176
|
-
- **Configure.** Set in JSON, open `/settings` and
|
|
177
|
-
- **
|
|
178
|
-
- **
|
|
179
|
-
- **Legacy migration.** Valid legacy `routerModel` values migrate automatically when `decisionModel` is absent without rewriting the file. Removed `modelRouting` and built-in override `modelConstraints`/`taskNeeds` keys are removed automatically on startup from writable `.atomic` settings with a one-time notice.
|
|
160
|
+
- **Configure.** Set in JSON, open `/settings` and choose **Decision model** (updates project override if present, otherwise global), or update via SDK/RPC—changes made through `/settings`, the SDK, or RPC take effect immediately without `/reload`. `""` or `"auto"` uses the current chat model; pinning a model requires an exact case-sensitive `provider/model` of a registered classifier (such as `typesafe/jev-latest`, `vercel-ai-gateway/typesafe-ai/jev`, `opencode/jev-1.13`, or `opencode/jev-1.13-free`) or chat model (classifiers are checked before chat models). Run `/reload` only after editing `settings.json` externally.
|
|
161
|
+
- **Validation and runtime fallback.** A wrong JSON type or whitespace-padded string fails with an error when `decide()`, `structured_output`, or `/settings` reads `decisionModel`. An unregistered ID, bare ID without `provider/`, image model, or compactor model fails with an error during `decide()` or `structured_output` with no explicit `model` instead of falling back (`/settings` shows it as unavailable without failing). Once a registered classifier is selected, runtime failures (missing credentials, context error, refusal, or malformed output) fall back silently to the current chat model and log in [debug mode](#debug-mode). Chat models get 1 initial attempt plus 3 repair retries within [`httpIdleTimeoutMs`](#http). Cancellation does not fall back.
|
|
162
|
+
- **Credentials, cost, and legacy migration.** Authenticate a pinned classifier with its provider login (for example `/login typesafe` or `TYPESAFE_API_KEY`); classifiers do not appear in `/model`. An explicit `""` in project settings overrides a global selection. Valid legacy `routerModel` values migrate automatically when `decisionModel` is absent without rewriting the file; removed `modelRouting` and built-in override `modelConstraints`/`taskNeeds` keys are cleaned up automatically on startup with a one-time notice.
|
|
180
163
|
|
|
181
164
|
See [Structured decisions](/sdk/structured-decisions), [Classifier models](/models#use-classifier-models), [Local classification](/llama-cpp#classification), and [TypeSafe Jev](/providers#typesafe-jev).
|
|
182
165
|
|
|
183
|
-
|
|
166
|
+
### thinkingBudgets
|
|
184
167
|
|
|
185
168
|
```json
|
|
186
169
|
{
|
|
@@ -193,46 +176,31 @@ See [Structured decisions](/sdk/structured-decisions), [Classifier models](/mode
|
|
|
193
176
|
}
|
|
194
177
|
```
|
|
195
178
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
### Fast models
|
|
199
|
-
|
|
200
|
-
Fast and Ultrafast inference use canonical `<model-id>-fast` and `<model-id>-ultrafast` model IDs (not a separate setting) anywhere models are configured (`/model`, `fallbackModels`, `enabledModels`, and subagents). Reasoning suffixes work normally (`openai-codex/gpt-5.6-sol-fast:medium`, `openai/gpt-6.2-astra-ultrafast:high`), and standard, fast, and ultrafast IDs act as separate candidates:
|
|
201
|
-
|
|
202
|
-
```json
|
|
203
|
-
{
|
|
204
|
-
"fallbackModels": [
|
|
205
|
-
"openai-codex/gpt-5.6-sol-fast:medium",
|
|
206
|
-
"openai-codex/gpt-5.6-sol:medium"
|
|
207
|
-
]
|
|
208
|
-
}
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
See [Fast models](/providers#fast-models) and [Fast and Ultrafast tiers](/providers#fast-and-ultrafast-tiers) for supported providers, eligibility, and precedence over custom `-fast` or `-ultrafast` IDs.
|
|
179
|
+
Changes apply to new sessions. Resumed sessions keep the budget last used on the same model and thinking level so the provider does not re-bill the cached conversation; switching models or thinking levels applies the new setting.
|
|
212
180
|
|
|
213
|
-
|
|
181
|
+
## Interface and display
|
|
214
182
|
|
|
215
183
|
| Setting | Type | Default | Description |
|
|
216
184
|
| --- | --- | --- | --- |
|
|
217
|
-
| `theme` | string | `"dark"` | `"dark"`, `"light"`, `"system"` (terminal-derived palette), Catppuccin built-in,
|
|
218
|
-
| `fullscreenScrollbar` | string | `"auto"` | `"auto"` (show while scrolling), `"always"` (reserved right column), or `"hidden"`. Draggable in the main chat; also shown when viewing a subagent or shell output (not draggable)
|
|
219
|
-
| `fullscreenExitOutput` | string | `"transcript"` | `"transcript"` prints the final transcript and resume hint on exit; `"resume-hint"` restores the previous screen and prints only the resume hint. Configurable in `/settings
|
|
220
|
-
| `fullscreenCopyOnSelect` | boolean | `true` | Auto-copy text selection on mouse release (`false` highlights only; `/copy` copies the last assistant message). Configurable in `/settings
|
|
221
|
-
| `fullscreenWheelScrollLines` | `"auto"` or number | `"auto"` | Lines per wheel tick in the main chat, viewed subagent transcripts, and shell output (`"auto"` or `1` to `100`). Configurable in `/settings
|
|
222
|
-
| `quietStartup` | boolean or `"header"` | `false` | `true` hides the startup header; `"header"` keeps
|
|
223
|
-
| `defaultProjectTrust` | string | `"ask"` | Fallback project trust (`"ask"`, `"always"`, `"never"`). Global setting only
|
|
185
|
+
| `theme` | string | Auto-detected (`"dark"` or `"light"`) | `"dark"`, `"light"`, `"system"` (terminal-derived palette), Catppuccin built-in, custom theme name, or `"lightTheme/darkTheme"` pair in interactive mode to follow terminal appearance. When unset, Atomic detects terminal dark/light mode (`OSC 11` or `COLORFGBG`) and falls back to `"dark"`. Malformed values with extra `/` or an empty side fall back to the detected default. See [Themes](/themes) |
|
|
186
|
+
| `fullscreenScrollbar` | string | `"auto"` | `"auto"` (show while scrolling), `"always"` (reserved right column), or `"hidden"`. Draggable in the main chat; also shown when viewing a subagent or shell output (not draggable) |
|
|
187
|
+
| `fullscreenExitOutput` | string | `"transcript"` | `"transcript"` prints the final transcript and resume hint on exit; `"resume-hint"` restores the previous screen and prints only the resume hint. Configurable in `/settings` |
|
|
188
|
+
| `fullscreenCopyOnSelect` | boolean | `true` | Auto-copy text selection on mouse release (`false` highlights only; `/copy` copies the last assistant message). Configurable in `/settings` |
|
|
189
|
+
| `fullscreenWheelScrollLines` | `"auto"` or number | `"auto"` | Lines per wheel tick in the main chat, viewed subagent transcripts, and shell output (`"auto"` or `1` to `100`). Configurable in `/settings` |
|
|
190
|
+
| `quietStartup` | boolean or `"header"` | `false` | `true` hides the startup header and all startup details; `"header"` keeps the startup header while suppressing loaded resource listings, legacy workflow notices, and the model scope line. `--verbose` overrides both |
|
|
191
|
+
| `defaultProjectTrust` | string | `"ask"` | Fallback project trust (`"ask"`, `"always"`, `"never"`). Global setting only |
|
|
224
192
|
| `collapseChangelog` | boolean | `false` | Show a one-line update notice instead of What's New highlights (`/changelog` shows full history) |
|
|
225
|
-
| `doubleEscapeAction` | string | `"tree"` | Double-Esc action: `"tree"`, `"fork"`, or `"none"` |
|
|
193
|
+
| `doubleEscapeAction` | string | `"tree"` | Double-Esc action on an empty idle editor: `"tree"`, `"fork"`, or `"none"` |
|
|
226
194
|
| `treeFilterMode` | string | `"default"` | Default `/tree` filter: `"default"`, `"no-tools"`, `"user-only"`, `"labeled-only"`, `"all"` |
|
|
227
|
-
| `editorPaddingX` | number | `0` | Horizontal input editor padding (`0` to `3`) |
|
|
195
|
+
| `editorPaddingX` | number | `0` | Horizontal input editor padding (`0` to `3`; clamped on save via `/settings` or SDK setters) |
|
|
228
196
|
| `outputPad` | number | `1` | Horizontal transcript padding (`0` or `1`) |
|
|
229
197
|
| `externalEditor` | string | unset | Command for `Ctrl+G` external editor (overrides `$VISUAL` and `$EDITOR`; defaults to Notepad on Windows, `nano` elsewhere) |
|
|
230
|
-
| `autocompleteMaxVisible` | number | `5` | Max visible autocomplete items (`3` to `20
|
|
198
|
+
| `autocompleteMaxVisible` | number | `5` | Max visible autocomplete items (`3` to `20`; clamped on save via `/settings` or SDK setters) |
|
|
231
199
|
| `showHardwareCursor` | boolean | `false` | Use hardware terminal cursor instead of drawn cursor (still positioned for IME; falls back to `ATOMIC_HARDWARE_CURSOR=1` or legacy `PI_HARDWARE_CURSOR=1` when unset) |
|
|
232
200
|
|
|
233
|
-
Interactive mode runs fullscreen with stacked transient notices
|
|
201
|
+
Interactive mode runs fullscreen with stacked transient notices; closing an overlay clears text selection inside it. `Ctrl+G` checks `externalEditor`, `$VISUAL`, `$EDITOR`, then Notepad (Windows) or `nano` (POSIX) in main chat, embedded chat, and extension dialogs; saving empty clears text, while an editor error preserves the original text.
|
|
234
202
|
|
|
235
|
-
|
|
203
|
+
### Terminal and images
|
|
236
204
|
|
|
237
205
|
| Setting | Type | Default | Description |
|
|
238
206
|
| --- | --- | --- | --- |
|
|
@@ -248,7 +216,7 @@ Interactive mode runs fullscreen with stacked transient notices. Closing an over
|
|
|
248
216
|
|
|
249
217
|
Explicit JSON values for `terminal.hyperlinks`, `terminal.images`, and `terminal.trueColor` override their `ATOMIC_*` and legacy `PI_*` environment variables.
|
|
250
218
|
|
|
251
|
-
|
|
219
|
+
### Markdown
|
|
252
220
|
|
|
253
221
|
| Setting | Type | Default | Description |
|
|
254
222
|
| --- | --- | --- | --- |
|
|
@@ -256,15 +224,17 @@ Explicit JSON values for `terminal.hyperlinks`, `terminal.images`, and `terminal
|
|
|
256
224
|
| `markdown.mermaid` | string | `"streaming"` | Display-only Mermaid rendering: `"off"`, `"final"`, or `"streaming"` (invalid or oversized diagrams stay as code) |
|
|
257
225
|
| `markdown.latex` | boolean | `true` | Display-only Unicode math rendering (supports whitespace and matrix layouts; stored messages keep source Markdown) |
|
|
258
226
|
|
|
259
|
-
|
|
227
|
+
### Warnings
|
|
260
228
|
|
|
261
229
|
| Setting | Type | Default | Description |
|
|
262
230
|
| --- | --- | --- | --- |
|
|
263
231
|
| `warnings.anthropicExtraUsage` | boolean | `true` | Warn when Anthropic subscription auth may incur paid extra usage |
|
|
264
232
|
|
|
265
|
-
|
|
233
|
+
### Managed state keys
|
|
266
234
|
|
|
267
|
-
|
|
235
|
+
<Note>
|
|
236
|
+
Atomic writes these keys automatically in global `settings.json`. Leave them unchanged unless troubleshooting.
|
|
237
|
+
</Note>
|
|
268
238
|
|
|
269
239
|
| Setting | Type | Default | Description |
|
|
270
240
|
| --- | --- | --- | --- |
|
|
@@ -275,7 +245,7 @@ Atomic manages these keys automatically in global `settings.json`. Leave them un
|
|
|
275
245
|
| `trackingId` | string | unset | Locally generated analytics ID when `enableAnalytics` is enabled |
|
|
276
246
|
| `deviceId` | string | unset | Global install ID created when a provider sign-in needs one (project values ignored) |
|
|
277
247
|
|
|
278
|
-
|
|
248
|
+
## Message delivery
|
|
279
249
|
|
|
280
250
|
| Setting | Type | Default | Description |
|
|
281
251
|
| --- | --- | --- | --- |
|
|
@@ -283,23 +253,23 @@ Atomic manages these keys automatically in global `settings.json`. Leave them un
|
|
|
283
253
|
| `followUpMode` | string | `"one-at-a-time"` | Follow-up message delivery: `"one-at-a-time"` or `"all"` |
|
|
284
254
|
| `transport` | string | `"auto"` | Multi-transport provider preference: `"auto"`, `"websocket-cached"`, `"websocket"`, or `"sse"` (legacy boolean `websockets` migrates here) |
|
|
285
255
|
| `websocketConnectTimeoutMs` | number or string | `15000` | WebSocket handshake timeout (ms, duration string, or `"disabled"`/`0`) |
|
|
286
|
-
| `streamDeadlineMs` | number or string | `300000` | Max idle gap between provider stream events below HTTP (ms, duration string like `"30s"`, `"5m"`, `"1h"`, or `"disabled"`/`0`). Cuts stalled streams for retry or fallback; Anthropic `ping` events reset the timer
|
|
256
|
+
| `streamDeadlineMs` | number or string | `300000` | Max idle gap between provider stream events below HTTP (ms, duration string like `"30s"`, `"5m"`, `"1h"`, or `"disabled"`/`0`). Cuts stalled streams for retry or fallback; Anthropic `ping` events reset the timer |
|
|
287
257
|
|
|
288
258
|
How `transport` modes work on providers that support both WebSocket and SSE (such as OpenAI Codex):
|
|
289
259
|
|
|
290
|
-
- `"auto"` (default) and `"websocket-cached"`: use WebSocket with connection-scoped continuation (`previous_response_id`, 5-minute idle cache TTL, 55-minute max connection age)
|
|
291
|
-
- `"websocket"`: use WebSocket without cached continuation (sends the full request body
|
|
260
|
+
- `"auto"` (default) and `"websocket-cached"`: use WebSocket with connection-scoped continuation (`previous_response_id`, 5-minute idle cache TTL, 55-minute max connection age), falling back to SSE for the rest of the session if WebSocket fails before streaming starts.
|
|
261
|
+
- `"websocket"`: use WebSocket without cached continuation (sends the full request body every turn), still falling back to SSE on pre-stream failures.
|
|
292
262
|
- `"sse"`: disable WebSocket and always stream over SSE (with zstd request-body compression on Codex).
|
|
293
263
|
|
|
294
264
|
For the global HTTP idle timeout, see [HTTP](#http) (`httpIdleTimeoutMs`).
|
|
295
265
|
|
|
296
|
-
|
|
266
|
+
## Compaction
|
|
297
267
|
|
|
298
268
|
| Setting | Type | Default | Description |
|
|
299
269
|
| --- | --- | --- | --- |
|
|
300
270
|
| `compaction.enabled` | boolean | `true` | Enable automatic compaction |
|
|
301
271
|
| `compaction.reserveTokens` | number | `16384` | Non-negative safe integer; triggers auto-compaction when usage exceeds `contextWindow - reserveTokens` |
|
|
302
|
-
| `compactionModel` | string | `""` | `""`
|
|
272
|
+
| `compactionModel` | string | `""` | `""` or `"auto"` uses [memory compaction](/compaction/memory-compaction); an exact case-sensitive registered compactor ID (such as `morph/morph-compactor`) sends context to that model. See [Custom compaction models](/compaction/custom-compactors) |
|
|
303
273
|
|
|
304
274
|
```json
|
|
305
275
|
{
|
|
@@ -311,22 +281,24 @@ For the global HTTP idle timeout, see [HTTP](#http) (`httpIdleTimeoutMs`).
|
|
|
311
281
|
}
|
|
312
282
|
```
|
|
313
283
|
|
|
314
|
-
|
|
284
|
+
- Selecting **Compaction model** in `/settings` updates the project override if one exists, otherwise global (saving `""` for Automatic), and takes effect immediately without `/reload`.
|
|
285
|
+
- Leading or trailing whitespace in `settings.json` is trimmed on read; non-string values fail with an error instead of falling back. Saved non-compactor IDs (chat, classifier, or image) reset to `"auto"` on startup, while unknown string IDs stay in the file and fall back to memory compaction with a notice.
|
|
286
|
+
- Removed legacy compaction keys (`compression_ratio`, `preserve_recent`, `keepContextShare`, `query`, `planningTimeoutMs`, `modelOverrides`, `background`, `backgroundThresholdPercent`, `historyRecall`) are ignored silently. See [Compaction](/compaction) and [Compactor request contract](/compaction/reference#compactor-request-contract).
|
|
315
287
|
|
|
316
|
-
|
|
288
|
+
### Branch summary
|
|
317
289
|
|
|
318
290
|
| Setting | Type | Default | Description |
|
|
319
291
|
| --- | --- | --- | --- |
|
|
320
292
|
| `branchSummary.reserveTokens` | number | `16384` | Tokens reserved when selecting branch history for summary |
|
|
321
293
|
| `branchSummary.skipPrompt` | boolean | `false` | Skip the "Summarize branch?" prompt on `/tree` switches (defaults to no summary) |
|
|
322
294
|
|
|
323
|
-
|
|
295
|
+
### Session summary
|
|
324
296
|
|
|
325
297
|
| Setting | Type | Default | Description |
|
|
326
298
|
| --- | --- | --- | --- |
|
|
327
|
-
| `sessionSummary.enabled` | boolean | `true` | Generate one-line summaries for saved sessions in `/resume` when idle (skipped for `--no-session
|
|
299
|
+
| `sessionSummary.enabled` | boolean | `true` | Generate one-line summaries for saved sessions in `/resume` when idle (runs in interactive and RPC modes; skipped for `--no-session`, print mode `-p`, `--mode json`, and internal sessions) |
|
|
328
300
|
|
|
329
|
-
|
|
301
|
+
## Retry
|
|
330
302
|
|
|
331
303
|
| Setting | Type | Default | Description |
|
|
332
304
|
| --- | --- | --- | --- |
|
|
@@ -335,14 +307,18 @@ Removed legacy keys (`compression_ratio`, `preserve_recent`, `keepContextShare`,
|
|
|
335
307
|
| `retry.baseDelayMs` | number | `2000` | Base exponential backoff delay (2s, 4s, 8s) |
|
|
336
308
|
| `retry.maxAgentDelayMs` | number | `60000` | Cap on agent-level backoff (`0` retries immediately) |
|
|
337
309
|
| `retry.fallbackOnContentFilter` | boolean | `true` | Advance to next `fallbackModels` entry on content-filter refusals (such as OpenAI HTTP 422 `cyber_policy`); `false` retries on the same model |
|
|
338
|
-
| `retry.provider.timeoutMs` | number |
|
|
339
|
-
| `retry.provider.maxRetries` | number |
|
|
310
|
+
| `retry.provider.timeoutMs` | number | `httpIdleTimeoutMs` | Per-request provider timeout in ms. Defaults to `httpIdleTimeoutMs` (10 min by default, or `2147483647` ms when `httpIdleTimeoutMs` is `0`/`"disabled"`). Passing `0` explicitly times out immediately |
|
|
311
|
+
| `retry.provider.maxRetries` | number | unset | Provider client retries. Most providers default to `0` so agent-level retry controls backoff; Amazon Bedrock keeps AWS SDK defaults when unset, and classifier APIs default to `2` |
|
|
340
312
|
| `retry.provider.maxRetryDelayMs` | number | `60000` | Max server-hinted retry delay before failing fast (`0` disables cap; legacy `retry.maxDelayMs` migrates here) |
|
|
341
313
|
|
|
314
|
+
<Warning>
|
|
315
|
+
Do not set `retry.provider.timeoutMs` to `0` to disable timeouts—an explicit `0` is passed straight to provider clients and times out immediately. Leave `retry.provider.timeoutMs` unset and set `httpIdleTimeoutMs` to `0` or `"disabled"` instead.
|
|
316
|
+
</Warning>
|
|
317
|
+
|
|
342
318
|
- **Server retry hints.** Atomic honors `Retry-After-Ms`, `Retry-After`, Cloudflare 5xx `retry_after`, and Google `RetryInfo.retryDelay` up to `retry.provider.maxRetryDelayMs`, failing immediately if the server asks for longer (such as a 5-hour quota reset). This applies across OpenAI, OpenAI-compatible, Codex, Anthropic, Azure OpenAI, Mistral, Google, Vertex, and Bedrock. Cloudflare 520 to 524 and connection resets count as transient; non-retryable 4xx and quota errors fail immediately.
|
|
343
|
-
- **Refused TLS certificates.**
|
|
319
|
+
- **Refused TLS certificates.** Untrusted certificates (such as a self-signed certificate or corporate TLS proxy) are never retried. The error names the host, the error code (such as `SELF_SIGNED_CERT_IN_CHAIN`), and how to trust a private CA with [`NODE_EXTRA_CA_CERTS`](/environment-variables#tls-certificates). Connection resets during TLS handshakes still retry.
|
|
344
320
|
- **GitHub Copilot long cuts.** A stream cut after 5 minutes or more gets 1 retry; a second consecutive long cut switches to `fallbackModels` or fails with guidance. See [Streams cut after a long attempt](/providers#streams-cut-after-a-long-attempt).
|
|
345
|
-
- **SDK
|
|
321
|
+
- **SDK retry deadlines.** Programmatic callers can pass a monotonic `retryDeadline` with `signal` on provider requests to avoid starting backoff past a local budget; see [Custom provider streaming](/custom-provider/streaming).
|
|
346
322
|
|
|
347
323
|
```json
|
|
348
324
|
{
|
|
@@ -352,7 +328,7 @@ Removed legacy keys (`compression_ratio`, `preserve_recent`, `keepContextShare`,
|
|
|
352
328
|
"baseDelayMs": 2000,
|
|
353
329
|
"maxAgentDelayMs": 60000,
|
|
354
330
|
"provider": {
|
|
355
|
-
"timeoutMs":
|
|
331
|
+
"timeoutMs": 600000,
|
|
356
332
|
"maxRetries": 0,
|
|
357
333
|
"maxRetryDelayMs": 60000
|
|
358
334
|
}
|
|
@@ -360,12 +336,12 @@ Removed legacy keys (`compression_ratio`, `preserve_recent`, `keepContextShare`,
|
|
|
360
336
|
}
|
|
361
337
|
```
|
|
362
338
|
|
|
363
|
-
|
|
339
|
+
## Tools
|
|
364
340
|
|
|
365
341
|
| Setting | Type | Default | Description |
|
|
366
342
|
| --- | --- | --- | --- |
|
|
367
343
|
| `defaultTools` | string[] | unset | Initial built-in tools: plain names replace defaults; `+name` and `-name` modify them |
|
|
368
|
-
| `codemode.mode` | `"on"
|
|
344
|
+
| `codemode.mode` | `"on" \| "only"` | `"on"` | `"on"` keeps direct tools declared alongside codemode; `"only"` hides ordinary direct tools so the model uses scripts (model-only tools stay top-level) |
|
|
369
345
|
| `codemode.inlineBudget` | number | `3000` | Estimated token budget for inline codemode tool declarations (`0` lists namespaces only; omitted tools remain discoverable via `searchTools()`) |
|
|
370
346
|
|
|
371
347
|
Built-in tool names include `read`, `bash`, `powershell`, `kill`, `edit`, `write`, `find`, `search`, `ask_user_question`, `todo`, `codemode`, `tool_search`, and `ls`.
|
|
@@ -374,10 +350,6 @@ Built-in tool names include `read`, `bash`, `powershell`, `kill`, `edit`, `write
|
|
|
374
350
|
{ "defaultTools": ["bash", "edit", "write"] }
|
|
375
351
|
```
|
|
376
352
|
|
|
377
|
-
```json
|
|
378
|
-
{ "defaultTools": ["read", "powershell", "edit", "write"] }
|
|
379
|
-
```
|
|
380
|
-
|
|
381
353
|
```json
|
|
382
354
|
{ "defaultTools": ["-bash", "+ls"] }
|
|
383
355
|
```
|
|
@@ -386,17 +358,21 @@ Built-in tool names include `read`, `bash`, `powershell`, `kill`, `edit`, `write
|
|
|
386
358
|
- **`codemode` and `tool_search`.** `codemode` is on by default (remove with `["-codemode"]`, or include explicitly in a replacement list); `tool_search` is opt-in (`["+tool_search"]`). See [codemode](/tools#codemode) and [tool search](/tools#tool_search).
|
|
387
359
|
- **CLI and `/reload`.** Plain `--tools` replaces the set as an allowlist; modifier-only `--tools` adjusts the resolved selection (including on `/reload`). `--no-tools` disables every tool even with an allowlist or modifiers. `--no-builtin-tools` suppresses coding defaults only when no allowlist is given. `--exclude-tools` filters the result. `/reload` adds newly enabled `defaultTools` without re-enabling tools disabled mid-session.
|
|
388
360
|
|
|
389
|
-
|
|
361
|
+
## Shell
|
|
390
362
|
|
|
391
363
|
| Setting | Type | Default | Description |
|
|
392
364
|
| --- | --- | --- | --- |
|
|
393
|
-
| `shellPath` | string | unset | Custom Bash path
|
|
394
|
-
| `shellCommandPrefix` | string | unset | Prefix prepended to
|
|
365
|
+
| `shellPath` | string | unset | Custom Bash path or bare executable name. A bare name such as `bash` is looked up in absolute `PATH` directories; a path supports leading `~` expansion (`~/...` or `~\...` on Windows) and fails if missing. Does not change PowerShell used on native Windows `!` and `!!` |
|
|
366
|
+
| `shellCommandPrefix` | string | unset | Prefix prepended to every model `bash` tool call and interactive `!`/`!!` command (for example `"shopt -s expand_aliases"`). Leave unset on native Windows unless one side is disabled—`bash` runs Bash while `!`/`!!` runs PowerShell. See [Shell aliases](/shell-aliases) |
|
|
395
367
|
| `search.contextBefore` | number | `1` | Context lines before each `search` match |
|
|
396
368
|
| `search.contextAfter` | number | `3` | Context lines after each `search` match |
|
|
397
|
-
| `npmCommand` | string[] | unset | Command argv for npm lookup, install, uninstall, and git-package dependency installs (runs plain `install` when set, for example `["mise", "exec", "node@20", "--", "npm"]`). `atomic update` reads `npmCommand` from global settings only
|
|
369
|
+
| `npmCommand` | string[] | unset | Command argv for npm lookup, install, uninstall, and git-package dependency installs (runs plain `install` when set, for example `["mise", "exec", "node@20", "--", "npm"]`). `atomic update` reads `npmCommand` from global settings only |
|
|
398
370
|
| `selfUpdateCommand` | string[] | unset | Command argv for `atomic update` using `{packageName}`, `{version}`, and `{installSpec}` (`ATOMIC_SELF_UPDATE_COMMAND` overrides; global settings only; [Custom update command](/reference/cli#custom-update-command)) |
|
|
399
371
|
|
|
372
|
+
<Warning>
|
|
373
|
+
**Native Windows and `shellCommandPrefix`:** On native Windows, Atomic prepends `shellCommandPrefix` to **both** model `bash` tool calls (which run in Bash) and interactive `!`/`!!` commands (which run in PowerShell), while the model `powershell` tool ignores it. PowerShell syntax breaks every `bash` tool call, and Bash syntax breaks every `!`/`!!` command. Leave `shellCommandPrefix` unset on native Windows unless one side is disabled (inside WSL, both run in Bash).
|
|
374
|
+
</Warning>
|
|
375
|
+
|
|
400
376
|
On Windows, write JSON paths with forward slashes or escaped backslashes:
|
|
401
377
|
|
|
402
378
|
```json
|
|
@@ -407,33 +383,33 @@ On Windows, write JSON paths with forward slashes or escaped backslashes:
|
|
|
407
383
|
{ "shellPath": "C:\\Program Files\\Git\\bin\\bash.exe" }
|
|
408
384
|
```
|
|
409
385
|
|
|
410
|
-
|
|
386
|
+
## Tasks
|
|
411
387
|
|
|
412
388
|
| Setting | Type | Default | Description |
|
|
413
389
|
| --- | --- | --- | --- |
|
|
414
|
-
| `tasks.heartbeatMs` | number | `900000` |
|
|
390
|
+
| `tasks.heartbeatMs` | number | `900000` | Task heartbeat interval in ms (`0` disables; minimum `60000`; invalid values fall back to default; per-call `heartbeatMs` overrides). See [Heartbeat sampling and batching](/background-tasks/reference#heartbeat-sampling-and-batching) |
|
|
415
391
|
| `tasks.heartbeatWakesIdleSession` | boolean | `true` | Wake an Esc-interrupted idle session immediately on heartbeat (`false` waits for your next message) |
|
|
416
392
|
|
|
417
393
|
```json
|
|
418
394
|
{ "tasks": { "heartbeatMs": 1800000 } }
|
|
419
395
|
```
|
|
420
396
|
|
|
421
|
-
|
|
397
|
+
## Sessions
|
|
422
398
|
|
|
423
399
|
| Setting | Type | Default | Description |
|
|
424
400
|
| --- | --- | --- | --- |
|
|
425
|
-
| `sessions.storage` | object | Local SQLite | Session-only store: `{ "path": "..." }`, `{ "dir": "..." }
|
|
426
|
-
| `storage` | object | Local SQLite | Shared storage default (sessions when `sessions.storage` is unset; in global settings also selects Intercom broker storage, see [Running Intercom across machines](/intercom/operations#running-intercom-across-machines)). Same forms except `dir
|
|
401
|
+
| `sessions.storage` | object | Local SQLite | Session-only store: `{ "path": "...", "prefix"?: "..." }`, `{ "dir": "..." }` (JSONL; no `prefix`), `{ "memory": true }`, or `{ "adapter": "...", "options"?: {}, "secrets"?: {}, "prefix"?: "..." }` |
|
|
402
|
+
| `storage` | object | Local SQLite | Shared storage default (sessions when `sessions.storage` is unset; in global settings also selects Intercom broker storage, see [Running Intercom across machines](/intercom/operations#running-intercom-across-machines)). Same forms except `dir` |
|
|
427
403
|
|
|
428
404
|
```json
|
|
429
|
-
{ "sessions": { "storage": { "path": "sessions.sqlite" } } }
|
|
405
|
+
{ "sessions": { "storage": { "path": "sessions.sqlite", "prefix": "work_" } } }
|
|
430
406
|
```
|
|
431
407
|
|
|
432
|
-
- **Default.** `~/.atomic/workflows/journal.sqlite` (`session_` tables; under `<agentDir>/workflows/` when `ATOMIC_CODING_AGENT_DIR` is set unless it adopted a parent store; see [Storage home](/storage#storage-home)). JSONL is opt-in via `dir`, `--session-dir`, or `ATOMIC_CODING_AGENT_SESSION_DIR` (
|
|
433
|
-
- **Precedence.** Highest to lowest: SDK `sessionStore`, SDK `storage` (
|
|
434
|
-
- **
|
|
408
|
+
- **Default.** `~/.atomic/workflows/journal.sqlite` (`session_` tables; under `<agentDir>/workflows/` when `ATOMIC_CODING_AGENT_DIR` is set unless it adopted a parent store; see [Storage home](/storage#storage-home)). JSONL is opt-in via `dir`, `--session-dir`, or `ATOMIC_CODING_AGENT_SESSION_DIR`. Optional `prefix` namespaces SQLite and adapter tables inside a shared database (accepted by the schema on `{ "memory": true }` as well, though ignored by in-memory stores).
|
|
409
|
+
- **Precedence.** Highest to lowest: SDK `sessionStore`, SDK `storage` ([SDK storage](/sdk/storage)), `--no-session` / `--session-dir` / `--session-store`, `--storage` / `--storage-file`, `ATOMIC_SESSIONS_STORAGE` / `ATOMIC_CODING_AGENT_SESSION_DIR`, `ATOMIC_STORAGE`, `sessions.storage`, `storage`, and default SQLite. Project selections replace global objects whole rather than merging; an explicit `{}` on `sessions.storage` selects default SQLite rather than inheriting `storage`. Relative paths in settings, JSON flags, and JSON env vars resolve from [storage home](/storage#storage-home); `--session-dir`, `--session-store`, and `ATOMIC_CODING_AGENT_SESSION_DIR` resolve from `cwd`. See [Storage and team variables](/environment-variables#storage-and-team-variables).
|
|
410
|
+
- **Validation and errors.** Only the winning setting from `settings.json` is validated, whereas process-level selections (`--storage`, `--storage-file`, `ATOMIC_STORAGE`, and `ATOMIC_SESSIONS_STORAGE`) are validated unconditionally even when outranked. Naming the removed `@bastani/atomic-storage-libsql` adapter or setting any removed `ATOMIC_PROFILE=ci` team variable fails startup with `libsql-removed` (see [Moving off libSQL](/storage#moving-off-libsql)). Open failures never fall back to memory silently. See [Choosing a store](/sessions#choosing-a-store) and [Storage](/storage).
|
|
435
411
|
|
|
436
|
-
|
|
412
|
+
### Storage adapters
|
|
437
413
|
|
|
438
414
|
Install an adapter [Atomic package](/storage/custom-adapters#adapters-from-atomic-packages) (such as [`@bastani/atomic-storage-postgres`](/libraries/storage-postgres)), or pass its directory via `--extension` or SDK `additionalExtensionPaths` (which takes precedence over settings), and reference it in `storage` or `sessions.storage`:
|
|
439
415
|
|
|
@@ -450,9 +426,12 @@ Install an adapter [Atomic package](/storage/custom-adapters#adapters-from-atomi
|
|
|
450
426
|
|
|
451
427
|
- An empty shared `storage: {}` uses `<storageHome>/storage.sqlite`.
|
|
452
428
|
- `secrets` accepts `{ "env": "VAR" }` or `{ "file": "token.txt" }` (relative paths resolve from [storage home](/storage#storage-home), falling back to parent if an existing file lives there; one trailing `\n` or `\r\n` is stripped).
|
|
453
|
-
- Adapter modules execute code; review them before trusting project settings. See [Selecting an adapter](/storage/custom-adapters#selecting-an-adapter).
|
|
454
429
|
|
|
455
|
-
|
|
430
|
+
<Warning>
|
|
431
|
+
Storage adapter modules execute code with Atomic's permissions. Review any adapter configured in `.atomic/settings.json` before trusting a project. See [Selecting an adapter](/storage/custom-adapters#selecting-an-adapter).
|
|
432
|
+
</Warning>
|
|
433
|
+
|
|
434
|
+
## Snapshots
|
|
456
435
|
|
|
457
436
|
| Setting | Type | Default | Description |
|
|
458
437
|
| --- | --- | --- | --- |
|
|
@@ -466,21 +445,21 @@ Install an adapter [Atomic package](/storage/custom-adapters#adapters-from-atomi
|
|
|
466
445
|
| `snapshots.graceSeconds` | number | `3600` | Protect snapshot data stored or reused within this window (`0` disables) |
|
|
467
446
|
| `snapshots.pool.maxIdlePerRepository` | number | `2` | Idle restored worktrees kept per repository ([Restored worktrees](/worktree-snapshots#restored-worktrees)) |
|
|
468
447
|
|
|
469
|
-
See [Worktree snapshots](/worktree-snapshots).
|
|
448
|
+
See [Worktree snapshots](/worktree-snapshots) and [Worktree snapshots reference](/worktree-snapshots/reference).
|
|
470
449
|
|
|
471
|
-
|
|
450
|
+
## Resume
|
|
472
451
|
|
|
473
452
|
| Setting | Type | Default | Description |
|
|
474
453
|
| --- | --- | --- | --- |
|
|
475
|
-
| `resume.waitForBlueprint` | `"prompt"
|
|
476
|
-
| `resume.cache` | array | unset | Extra entries for [`atomic blueprint cache-key`](/guides/resume-on-any-machine#caches-for-runners): `{ "paths": [...], "kind"?: "store" \| "build", "keyFiles"?: [...] }`. `"store"` paths are absolute or `~` outside the repo; `"build"` paths are repo-relative. Globs, `!` exclusions, and credential paths are refused with a warning. Project list replaces global
|
|
477
|
-
| `resume.setupCommand` | string | unset | Deprecated (global only; prints warning). Move commands into `.atomic/blueprint.yaml` `maintenance` ([Set the environment up with a blueprint](/guides/resume-on-any-machine#set-the-environment-up-with-a-blueprint))
|
|
454
|
+
| `resume.waitForBlueprint` | `"prompt" \| "tools"` | `"prompt"` (interactive) / `"tools"` (non-interactive) | Wait for restored worktree builds before opening (`"prompt"`), or open immediately while holding tool calls until the build finishes (`"tools"`). Falls back to `"tools"` whenever a `project_trust` hook can still decline trust. See [Start the first turn while the build runs](/guides/resume-on-any-machine#start-the-first-turn-while-the-build-runs) |
|
|
455
|
+
| `resume.cache` | array | unset | Extra entries for [`atomic blueprint cache-key`](/guides/resume-on-any-machine#caches-for-runners): `{ "paths": [...], "kind"?: "store" \| "build", "keyFiles"?: [...] }`. `"store"` paths are absolute or `~` outside the repo; `"build"` paths are repo-relative. Globs, `!` exclusions, and credential paths are refused with a warning. Project list replaces global |
|
|
456
|
+
| `resume.setupCommand` | string | unset | Deprecated (global only; prints warning). Move commands into `.atomic/blueprint.yaml` `maintenance` ([Set the environment up with a blueprint](/guides/resume-on-any-machine#set-the-environment-up-with-a-blueprint)) |
|
|
478
457
|
|
|
479
|
-
|
|
458
|
+
## HTTP
|
|
480
459
|
|
|
481
460
|
| Setting | Type | Default | Description |
|
|
482
461
|
| --- | --- | --- | --- |
|
|
483
|
-
| `httpIdleTimeoutMs` | number or string | `600000` | Global HTTP dispatcher idle timeout in ms, integer duration string (`"30s"`, `"5m"`, `"1h"`), or `"disabled"`/`0
|
|
462
|
+
| `httpIdleTimeoutMs` | number or string | `600000` | Global HTTP dispatcher idle timeout in ms, integer duration string (`"30s"`, `"5m"`, `"1h"`), or `"disabled"`/`0` |
|
|
484
463
|
|
|
485
464
|
Accepted duration forms for `httpIdleTimeoutMs`, `websocketConnectTimeoutMs`, and `streamDeadlineMs`:
|
|
486
465
|
|
|
@@ -489,34 +468,21 @@ Accepted duration forms for `httpIdleTimeoutMs`, `websocketConnectTimeoutMs`, an
|
|
|
489
468
|
- Integer duration with unit `ms`, `s`, `m`, or `h`, case-insensitive (such as `"500ms"`, `"30s"`, `"5m"`, `"1h"`). Decimal durations (`"1.5m"`), negative values, blank strings, and other units (`"d"`) are rejected.
|
|
490
469
|
- `"disabled"` (case-insensitive), equivalent to `0`.
|
|
491
470
|
|
|
492
|
-
`httpIdleTimeoutMs` applies to `fetch`, provider HTTP clients, and the default total wall-clock budget for one [structured decision](/sdk/structured-decisions#cancellation-and-failures)
|
|
471
|
+
`httpIdleTimeoutMs` applies to `fetch`, provider HTTP clients (including the default for `retry.provider.timeoutMs`), and the default total wall-clock budget for one [structured decision](/sdk/structured-decisions#cancellation-and-failures). `/settings` presets offer `30 sec` (`30000`), `1 min` (`60000`), `5 min` (`300000`), `10 min` (`600000`), `30 min` (`1800000`), and `Disabled` (`"disabled"` or `0`). The standalone binary checks this timeout on a coarse timer, ending a silent request up to about 8 seconds late (or up to about two minutes late for timeouts longer than four minutes).
|
|
493
472
|
|
|
494
|
-
|
|
473
|
+
## Network proxy
|
|
495
474
|
|
|
496
475
|
| Setting | Type | Default | Description |
|
|
497
476
|
| --- | --- | --- | --- |
|
|
498
|
-
| `httpProxy` | string | unset | HTTP proxy URL applied as `HTTP_PROXY` and `HTTPS_PROXY` when those environment variables are unset. Global setting only
|
|
477
|
+
| `httpProxy` | string | unset | HTTP proxy URL applied as `HTTP_PROXY` and `HTTPS_PROXY` when those environment variables are unset. Global setting only |
|
|
499
478
|
|
|
500
479
|
```json
|
|
501
480
|
{ "httpProxy": "http://127.0.0.1:7890" }
|
|
502
481
|
```
|
|
503
482
|
|
|
504
|
-
Existing `HTTP_PROXY` and `HTTPS_PROXY` environment variables take precedence over `httpProxy` in `settings.json`.
|
|
505
|
-
|
|
506
|
-
Both the npm-installed `atomic` and the standalone binary route `https://` requests through `HTTP_PROXY` when `HTTPS_PROXY` is unset, and skip hosts listed in `NO_PROXY`. The binary uses Bun's HTTP client, which handles proxy variables differently in these cases:
|
|
507
|
-
|
|
508
|
-
| Setup | npm-installed `atomic` | Standalone binary |
|
|
509
|
-
| --- | --- | --- |
|
|
510
|
-
| `ALL_PROXY` naming an `http://` or `https://` proxy | Not read | Used when the request's own variable is unset |
|
|
511
|
-
| An empty lowercase variable (`http_proxy=""`, `no_proxy=""`) with the uppercase one set | The empty value counts: no proxy, no exemptions | The uppercase value is used |
|
|
512
|
-
| An address block in `NO_PROXY` (`10.0.0.0/8`) | Not matched | Exempts the addresses in it |
|
|
513
|
-
| Proxy variables changed while Atomic runs | Read at startup and when `httpIdleTimeoutMs` changes | Read for each request |
|
|
514
|
-
| An `http://` endpoint through a proxy | Sent through a `CONNECT` tunnel | Sent to the proxy with the full URL |
|
|
515
|
-
| A SOCKS proxy (`socks5://`) in `HTTP_PROXY` or `HTTPS_PROXY` | Used | Requests fail with `UnsupportedProxyProtocol` |
|
|
516
|
-
|
|
517
|
-
The OpenAI Codex WebSocket uses the same proxy as the install's other requests. In the binary it also reads proxy variables from a credential's [`env`](/providers#auth-file); an `ALL_PROXY` naming a SOCKS proxy is skipped for WebSocket and those requests fall back to SSE.
|
|
483
|
+
Existing `HTTP_PROXY` and `HTTPS_PROXY` environment variables take precedence over `httpProxy` in `settings.json`. For `NO_PROXY`, `ALL_PROXY`, OpenAI Codex WebSocket proxying, and differences between npm-installed `atomic` and the standalone binary, see [Proxy variables](/environment-variables#proxy-variables).
|
|
518
484
|
|
|
519
|
-
|
|
485
|
+
## Resources
|
|
520
486
|
|
|
521
487
|
Paths in `~/.atomic/agent/settings.json` resolve from `~/.atomic/agent`; paths in `.atomic/settings.json` resolve from `.atomic`. Supports absolute paths, `~`, globs, `!exclusions`, `+exact-include`, and `-exact-exclude`.
|
|
522
488
|
|
|
@@ -526,16 +492,16 @@ All five resource lists (`packages`, `extensions`, `skills`, `prompts`, and `the
|
|
|
526
492
|
| --- | --- | --- | --- |
|
|
527
493
|
| `packages` | array | `[]` | npm, git, or local packages (string or object filter form) |
|
|
528
494
|
| `extensions` | string[] | `[]` | Local extension files or directories |
|
|
529
|
-
| `skills` | string[] | `[]` | Local skill files or directories |
|
|
495
|
+
| `skills` | string[] | `[]` | Local skill files or directories (legacy `{ enableSkillCommands, customDirectories }` objects migrate automatically) |
|
|
530
496
|
| `prompts` | string[] | `[]` | Local prompt template paths or directories |
|
|
531
497
|
| `themes` | string[] | `[]` | Local theme files or directories |
|
|
532
498
|
| `enableSkillCommands` | boolean | `true` | Register skills as `/skill:<name>` commands |
|
|
533
499
|
|
|
534
500
|
Legacy `workflows` settings no longer run workflows. Atomic reads their paths only when you ask to [convert a workflow to a skill](/orchestration/migrating-workflows).
|
|
535
501
|
|
|
536
|
-
|
|
502
|
+
### packages
|
|
537
503
|
|
|
538
|
-
Load all resources with a string entry, or filter specific resources with an object entry (`"autoload": false`
|
|
504
|
+
Load all resources with a string entry, or filter specific resources with an object entry (`"autoload": false` starts empty and applies only explicit patterns). Supported filter keys are `extensions`, `skills`, `prompts`, `themes`, `mcpServers`, and `agents`:
|
|
539
505
|
|
|
540
506
|
```json
|
|
541
507
|
{
|
|
@@ -545,7 +511,11 @@ Load all resources with a string entry, or filter specific resources with an obj
|
|
|
545
511
|
"source": "@org/my-extension",
|
|
546
512
|
"autoload": false,
|
|
547
513
|
"skills": ["brave-search", "transcribe"],
|
|
548
|
-
"
|
|
514
|
+
"prompts": ["review.md"],
|
|
515
|
+
"themes": [],
|
|
516
|
+
"extensions": [],
|
|
517
|
+
"mcpServers": ["linear"],
|
|
518
|
+
"agents": ["reviewer"]
|
|
549
519
|
}
|
|
550
520
|
]
|
|
551
521
|
}
|
|
@@ -553,7 +523,7 @@ Load all resources with a string entry, or filter specific resources with an obj
|
|
|
553
523
|
|
|
554
524
|
See [Atomic packages](/packages).
|
|
555
525
|
|
|
556
|
-
|
|
526
|
+
## Integrations
|
|
557
527
|
|
|
558
528
|
- **Herdr:** Configure `herdr.enabled` below to control terminal pane status reporting.
|
|
559
529
|
- **MCP servers:** Configured separately in `mcp.json` (global and project); see [MCP servers](/mcp-servers).
|
|
@@ -561,15 +531,15 @@ See [Atomic packages](/packages).
|
|
|
561
531
|
- **Intercom:** Multi-node routing uses global `storage`; see [Intercom operations](/intercom/operations).
|
|
562
532
|
- **Codemode:** Configure `codemode.mode` and `codemode.inlineBudget` under [Tools](#tools).
|
|
563
533
|
|
|
564
|
-
|
|
534
|
+
### Herdr
|
|
565
535
|
|
|
566
536
|
| Setting | Type | Default | Description |
|
|
567
537
|
| --- | --- | --- | --- |
|
|
568
|
-
| `herdr.enabled` | boolean | `true` | Enable the built-in Herdr status reporter in interactive terminal sessions running inside a Herdr pane (disabled for subagents and non-interactive modes). Run `/reload` or restart after changing; setting `false` releases the pane registration cleanly on `/reload
|
|
538
|
+
| `herdr.enabled` | boolean | `true` | Enable the built-in Herdr status reporter in interactive terminal sessions running inside a Herdr pane (disabled for subagents and non-interactive modes). Run `/reload` or restart after changing; setting `false` releases the pane registration cleanly on `/reload` |
|
|
569
539
|
|
|
570
540
|
See [Herdr](/herdr) for state aggregation, reporter conflicts, and privacy.
|
|
571
541
|
|
|
572
|
-
|
|
542
|
+
## Telemetry and update checks
|
|
573
543
|
|
|
574
544
|
| Setting | Type | Default | Description |
|
|
575
545
|
| --- | --- | --- | --- |
|
|
@@ -579,11 +549,11 @@ See [Herdr](/herdr) for state aggregation, reporter conflicts, and privacy.
|
|
|
579
549
|
- **Update checks.** Queries `https://registry.npmjs.org/@bastani/atomic/latest`. Disable independently with `ATOMIC_SKIP_VERSION_CHECK=1` (`PI_SKIP_VERSION_CHECK=1`).
|
|
580
550
|
- **Offline mode.** `--offline` or `ATOMIC_OFFLINE=1` (`1`, `true`, or `yes`, falling back to `PI_OFFLINE`; `0` or `false` keeps network checks enabled) disables all startup network requests (update checks, package update checks, version-adoption telemetry, and model catalog refreshes).
|
|
581
551
|
|
|
582
|
-
|
|
552
|
+
## Debug mode
|
|
583
553
|
|
|
584
554
|
| Setting | Type | Default | Description |
|
|
585
555
|
| --- | --- | --- | --- |
|
|
586
|
-
| `debug` | boolean | `false` | Write verbose debug output to the debug log shown by `/debug` (**Debug mode** in `/settings`). Global setting only
|
|
556
|
+
| `debug` | boolean | `false` | Write verbose debug output to the debug log shown by `/debug` (**Debug mode** in `/settings`). Global setting only |
|
|
587
557
|
|
|
588
558
|
Use `--debug` or `ATOMIC_DEBUG=1` for a single run (shows a `debug` badge in the footer). Toggling in `/settings` applies immediately to new work; already-running workers and the Intercom broker apply it on next restart. See [Debugging](/development#debugging).
|
|
589
559
|
|