@bastani/atomic 0.10.9-alpha.1 → 0.10.10-alpha.1
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 +69 -0
- package/README.md +211 -155
- 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 +27 -12
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +1 -1
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +47 -7
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
- package/dist/_shared/mode-shared-2QJSCUM6.js +48 -19
- package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -1
- package/dist/_shared/{p1a-prewarm-UQY3X2UK.js → p1a-prewarm-XIU57JHF.js} +5 -5
- package/dist/_shared/{p1a-prewarm-UQY3X2UK.js.map → p1a-prewarm-XIU57JHF.js.map} +1 -1
- package/dist/_shared/p2-shell-main-B2WIALFD.js +30 -25
- package/dist/_shared/p2-shell-main-B2WIALFD.js.map +1 -1
- package/dist/_shared/runtime-O4KCSG4C.js +5 -5
- package/dist/_shared/{sdk-OSBEPR3Q.js → sdk-RRLVN7ER.js} +15 -9
- package/dist/_shared/sdk-RRLVN7ER.js.map +1 -0
- package/dist/_shared/session-data-AHTU7IS6.js +2 -2
- package/dist/_shared/session-manager-list-2BLEEZVG.js +1 -1
- package/dist/_shared/settings-startup-8-DNZ2RIHM.js +4 -1
- package/dist/_shared/settings-startup-8-DNZ2RIHM.js.map +1 -1
- package/dist/_shared/{startup-0-0-TYUFUOJZ.js → startup-0-0-4VG2G44V.js} +427 -33
- package/dist/_shared/startup-0-0-4VG2G44V.js.map +1 -0
- package/dist/_shared/{startup-0-1-W2G2UY7R.js → startup-0-1-XTIL65D4.js} +18 -11
- package/dist/_shared/startup-0-1-XTIL65D4.js.map +1 -0
- package/dist/_shared/{startup-0-2-UXBUEOXW.js → startup-0-2-27OWFHV6.js} +145 -58
- package/dist/_shared/startup-0-2-27OWFHV6.js.map +1 -0
- package/dist/_shared/startup-0-3-T4DVFYWX.js +15 -25
- package/dist/_shared/startup-0-3-T4DVFYWX.js.map +1 -1
- package/dist/_shared/{startup-0-4-HN5EB4K7.js → startup-0-4-ZMJV547D.js} +81 -12
- package/dist/_shared/startup-0-4-ZMJV547D.js.map +1 -0
- package/dist/_shared/startup-0-5-FD2P735I.js +90 -50
- package/dist/_shared/startup-0-5-FD2P735I.js.map +1 -1
- package/dist/_shared/startup-10-0-TDQNBDDL.js +5 -5
- package/dist/_shared/startup-12-0-55AAXBJZ.js +13 -7
- package/dist/_shared/startup-12-0-55AAXBJZ.js.map +1 -1
- package/dist/_shared/startup-14-0-MLX36RBG.js +4 -4
- package/dist/_shared/startup-15-0-YUKGAC63.js +4 -4
- package/dist/_shared/startup-15-1-4S7FLMNG.js +88 -28
- package/dist/_shared/startup-15-1-4S7FLMNG.js.map +1 -1
- package/dist/_shared/startup-8-0-34CBHPZH.js +5 -5
- package/dist/_shared/startup-8-1-4KANEHRA.js +61 -17
- package/dist/_shared/startup-8-1-4KANEHRA.js.map +1 -1
- package/dist/_shared/storage-command-7MGXLJGZ.js +4 -4
- package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
- package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
- package/dist/builtin/intercom/CHANGELOG.md +6 -0
- package/dist/builtin/intercom/README.md +85 -114
- package/dist/builtin/intercom/broker/broker.bundle.mjs +3 -3
- package/dist/builtin/intercom/broker/presence-handler.ts +1 -1
- package/dist/builtin/intercom/group.ts +7 -3
- package/dist/builtin/intercom/index.bundle.mjs +1 -1
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/README.md +37 -27
- package/dist/builtin/mcp/index.bundle.mjs +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +8 -0
- package/dist/builtin/subagents/README.md +71 -138
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +213 -74
- package/dist/builtin/web-access/CHANGELOG.md +9 -0
- package/dist/builtin/web-access/README.md +60 -87
- package/dist/builtin/web-access/index.bundle.mjs +387 -351
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/args.js +2 -2
- package/dist/cli/auth-cli.code.js +4 -4
- package/dist/cli/auth-cli.impl.js +3 -3
- package/dist/cli/auth-cli.js +3 -3
- package/dist/cli/blueprint-command.code.js +2 -2
- 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.code.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 +2 -2
- package/dist/cli/session-picker.impl.js +3 -3
- package/dist/cli/session-picker.js +3 -3
- package/dist/cli/startup-ui.code.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/agent-session-methods.d.ts +4 -1
- package/dist/core/agent-session-methods.js.map +1 -1
- package/dist/core/agent-session.d.ts +3 -0
- package/dist/core/compaction/compactor.d.ts +20 -14
- package/dist/core/compaction/errors.d.ts +120 -0
- package/dist/core/compaction/index.d.ts +1 -0
- package/dist/core/compaction/model-resolver.d.ts +2 -2
- 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.code.js +1 -1
- 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/api-types.d.ts +1 -1
- package/dist/core/extensions/api-types.js.map +1 -1
- package/dist/core/extensions/index.d.ts +1 -1
- 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.code.js +1 -1
- package/dist/core/extensions/loader-host-modules.impl.js +3 -3
- package/dist/core/extensions/loader-host-modules.js +3 -3
- package/dist/core/extensions/loader-virtual-modules.js +1 -1
- package/dist/core/extensions/provider-types.d.ts +18 -6
- package/dist/core/extensions/provider-types.js.map +1 -1
- package/dist/core/extensions/runner-context.js +1 -1
- 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 +3 -3
- package/dist/core/intercom-broker-control.impl.js +3 -3
- package/dist/core/intercom-broker-control.js +3 -3
- package/dist/core/model-config.d.ts +40 -0
- package/dist/core/model-registry.js +1 -1
- package/dist/core/model-resolver-scope.d.ts +4 -4
- package/dist/core/model-runtime.d.ts +1 -1
- package/dist/core/package-manager-storage-adapters.impl.js +3 -3
- package/dist/core/package-manager-storage-adapters.js +3 -3
- package/dist/core/provider-composer-internal.d.ts +11 -2
- package/dist/core/sdk.code.js +3 -3
- package/dist/core/sdk.impl.js +3 -3
- package/dist/core/sdk.js +3 -3
- package/dist/core/session-manager-core.js +5 -5
- package/dist/core/session-manager-list.impl.js +3 -3
- package/dist/core/session-manager-list.js +3 -3
- package/dist/core/session-manager.code.js +1 -1
- 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/settings-manager-basic-accessors.d.ts +6 -2
- 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 +3 -3
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -4
- package/dist/core/tasks/task-reference-archive.js +3 -3
- package/dist/core/tasks/task-reference-identity.code.js +1 -1
- 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.code.js +2 -2
- 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 +3 -3
- 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.code.js +1 -1
- package/dist/extensions/codemode/execute.impl.js +3 -3
- package/dist/extensions/codemode/execute.js +3 -3
- package/dist/extensions/codemode/renderer.code.js +2 -2
- package/dist/extensions/codemode/renderer.impl.js +3 -3
- package/dist/extensions/codemode/renderer.js +3 -3
- package/dist/extensions/mcp/cli.code.js +2 -2
- 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-extensions.d.ts +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +7 -7
- package/dist/main-first-time-setup.code.js +2 -2
- package/dist/main-first-time-setup.impl.js +3 -3
- package/dist/main-first-time-setup.js +3 -3
- package/dist/modes/interactive/components/settings-selector-types.d.ts +1 -0
- package/dist/modes/interactive/components/settings-selector-types.js.map +1 -1
- 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/interactive/theme/color-utils.d.ts +5 -5
- package/dist/modes/interactive/theme/theme-loading.d.ts +1 -0
- package/dist/modes/interactive-engine/engine-prewarm.js +1 -1
- package/dist/modes/interactive-engine/remote-model-catalog.d.ts +1 -0
- package/dist/modes/print-mode.js +1 -1
- package/dist/modes/rpc/rpc-client-api.d.ts +6 -0
- package/dist/modes/rpc/rpc-types.d.ts +29 -2
- package/dist/package-manager-cli.code.js +5 -5
- package/dist/package-manager-cli.impl.js +3 -3
- package/dist/package-manager-cli.js +3 -3
- package/dist/rpc-entry.js +1 -1
- package/dist/startup-files.json +1 -1
- package/dist/startup-stages/5.js +1 -1
- package/dist/startup-stages/7.js +1 -1
- package/dist/startup-stages/8.js +1 -2
- package/dist/startup-stages/9.js +2 -1
- package/dist/utils/native-module.d.ts +44 -0
- package/dist/utils/startup-database-spare.code.js +3 -3
- package/dist/utils/startup-database-spare.impl.js +3 -3
- package/dist/utils/startup-database-spare.js +3 -3
- package/dist/utils/tools-manager.code.js +1 -1
- package/dist/utils/tools-manager.impl.js +3 -3
- package/dist/utils/tools-manager.js +3 -3
- package/docs/background-tasks.md +235 -243
- package/docs/build.md +12 -11
- package/docs/codemode.md +60 -51
- package/docs/compaction/reference.md +61 -24
- package/docs/compaction.md +117 -65
- package/docs/computer-use.md +179 -146
- package/docs/containerization.md +79 -33
- package/docs/custom-provider/api-reference.md +148 -11
- package/docs/custom-provider/oauth.md +44 -27
- package/docs/custom-provider/override.md +14 -7
- package/docs/custom-provider/registration.md +75 -65
- package/docs/custom-provider/streaming.md +42 -19
- package/docs/custom-provider.md +25 -61
- package/docs/development.md +47 -43
- package/docs/docs.json +33 -33
- package/docs/environment-variables.md +83 -57
- package/docs/extensions/api-reference.md +323 -734
- package/docs/extensions/authoring.md +186 -269
- package/docs/extensions/events.md +308 -375
- package/docs/extensions/examples.md +122 -74
- package/docs/extensions/ui.md +217 -197
- package/docs/extensions.md +152 -259
- package/docs/getting-started/authentication.md +27 -14
- package/docs/getting-started/first-session.md +25 -26
- package/docs/getting-started/installation.md +62 -84
- package/docs/getting-started/project-instructions.md +39 -14
- package/docs/guides/configuration.md +42 -20
- package/docs/guides/intercom.md +17 -13
- package/docs/guides/non-interactive.md +29 -16
- package/docs/guides/orchestration.md +16 -10
- package/docs/guides/resume-on-any-machine.md +54 -49
- package/docs/guides/subagents.md +22 -14
- package/docs/guides/team-setup.md +37 -26
- package/docs/guides.md +22 -21
- package/docs/herdr.md +21 -16
- package/docs/index.md +16 -17
- package/docs/intercom/operations.md +68 -66
- package/docs/intercom/reference.md +196 -191
- package/docs/intercom.md +103 -92
- package/docs/json.md +71 -71
- package/docs/keybindings.md +63 -50
- package/docs/libraries/agent-core.md +49 -8
- package/docs/libraries/ai.md +21 -12
- package/docs/libraries/codemode.md +28 -6
- package/docs/libraries/schema.md +7 -7
- package/docs/libraries/telemetry.md +7 -7
- package/docs/libraries/tui.md +74 -94
- package/docs/libraries.md +5 -5
- package/docs/llama-cpp.md +38 -33
- package/docs/mcp-servers.md +96 -90
- package/docs/models/reference.md +46 -33
- package/docs/models-configuration.md +12 -6
- package/docs/models.md +93 -88
- package/docs/orchestration/migrating-workflows.md +21 -19
- package/docs/orchestration/patterns.md +35 -20
- package/docs/orchestration.md +22 -21
- package/docs/packages/authoring.md +28 -19
- package/docs/packages/reference.md +75 -16
- package/docs/packages.md +31 -33
- package/docs/programmatic.md +22 -21
- package/docs/prompt-templates.md +63 -41
- package/docs/providers/reference.md +35 -19
- package/docs/providers.md +61 -71
- package/docs/quickstart.md +32 -46
- package/docs/reference/cli.md +249 -252
- package/docs/reference.md +23 -20
- package/docs/rpc/examples.md +74 -17
- package/docs/rpc/extension-ui.md +79 -62
- package/docs/rpc/protocol.md +816 -358
- package/docs/rpc.md +75 -151
- package/docs/sdk/reference.md +175 -45
- package/docs/sdk/structured-decisions.md +92 -62
- package/docs/sdk/web-server.md +79 -46
- package/docs/sdk.md +237 -195
- package/docs/security.md +106 -43
- package/docs/session-format.md +96 -59
- package/docs/sessions.md +149 -113
- package/docs/settings.md +289 -204
- package/docs/shell-aliases.md +15 -6
- package/docs/skills/authoring.md +17 -9
- package/docs/skills/reference.md +23 -21
- package/docs/skills.md +104 -97
- package/docs/storage.md +140 -242
- package/docs/subagents/authoring.md +147 -16
- package/docs/subagents/reference.md +100 -30
- package/docs/subagents.md +220 -252
- package/docs/terminal-setup.md +97 -69
- package/docs/termux.md +51 -85
- package/docs/themes/reference.md +51 -37
- package/docs/themes.md +49 -54
- package/docs/tmux.md +38 -21
- package/docs/tools.md +198 -147
- package/docs/tui/reference.md +64 -32
- package/docs/tui.md +38 -66
- package/docs/usage.md +76 -78
- package/docs/verification.md +25 -25
- package/docs/web-access.md +72 -55
- package/docs/windows.md +53 -58
- package/docs/worktree-snapshots.md +62 -65
- package/package.json +8 -8
- package/schemas/models.schema.json +51 -0
- package/dist/_shared/sdk-OSBEPR3Q.js.map +0 -1
- package/dist/_shared/startup-0-0-TYUFUOJZ.js.map +0 -1
- package/dist/_shared/startup-0-1-W2G2UY7R.js.map +0 -1
- package/dist/_shared/startup-0-2-UXBUEOXW.js.map +0 -1
- package/dist/_shared/startup-0-4-HN5EB4K7.js.map +0 -1
package/docs/settings.md
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: "Settings"
|
|
3
|
-
|
|
2
|
+
title: "Settings reference"
|
|
3
|
+
sidebarTitle: "Settings"
|
|
4
|
+
description: "Reference for every option in global and project settings.json files, including model scoping, fallbacks, retries, tools, and storage."
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Atomic reads JSON settings from two scopes, with project settings overriding global settings:
|
|
7
|
+
Atomic reads JSON settings from two scopes, with trusted project settings overriding global settings:
|
|
9
8
|
|
|
10
9
|
| Location | Scope |
|
|
11
10
|
| --- | --- |
|
|
12
11
|
| `~/.atomic/agent/settings.json` | Global (all projects; legacy `~/.pi/agent/settings.json` is a fallback) |
|
|
13
12
|
| `.atomic/settings.json` | Project override (requires project trust; legacy `.pi/settings.json` is a fallback) |
|
|
14
13
|
|
|
15
|
-
Edit these files directly or run `/settings`
|
|
16
|
-
|
|
17
|
-
- **Automatic startup defaults.** Changing the model or thinking level interactively (`/model`, `/thinking`, or cycling shortcuts) saves `defaultProvider`, `defaultModel`, `defaultThinkingLevel`, and `modelThinkingLevels`. `/scoped-models` saves `enabledModels`. SDK calls, session restores, and fallbacks do not overwrite these defaults unless explicitly requested.
|
|
18
|
-
- **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`), and concurrent edits. Saving writes only changed fields to `.atomic` (and only changed keys inside object settings such as `modelThinkingLevels`). To clear an inherited array such as `packages`, set `"packages": []` explicitly.
|
|
19
|
-
- **Per-file precedence and validation.** `.atomic` overrides `.pi` per file, so legacy `queueMode` in `.atomic` beats `steeringMode` in `.pi`. Wrong-typed values are ignored with a one-time warning without rewriting the file; wrong-typed array entries are dropped while keeping valid entries. Settings that validate themselves and fail closed are `decisionModel`, `compactionModel`, `storage`, `sessions`, `snapshots`, `httpIdleTimeoutMs`, `websocketConnectTimeoutMs`, and `streamDeadlineMs`. Leading UTF-8 BOMs are stripped.
|
|
14
|
+
Edit these files directly or run `/settings` to change common options interactively. For a starter file and project-override walkthrough, see [Configure Atomic](/guides/configuration).
|
|
20
15
|
|
|
21
|
-
##
|
|
16
|
+
## How settings load and save
|
|
22
17
|
|
|
23
|
-
|
|
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
|
+
- **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
|
+
- **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 edits from external editors. 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 a single 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 same 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.
|
|
22
|
+
- **Invalid values.** For most settings, a wrong-typed value is ignored with a one-time warning without rewriting your file, and wrong-typed entries in list settings are dropped while keeping valid entries. The settings below behave more strictly:
|
|
23
|
+
- **Stops startup (or `/reload`) with an error:** an invalid `httpIdleTimeoutMs`, or an invalid active `storage` or `sessions.storage` selection (`StorageConfigError`).
|
|
24
|
+
- **Stops the first model request with an error:** an invalid `websocketConnectTimeoutMs` or `streamDeadlineMs`.
|
|
25
|
+
- **Stops the feature with an error:** an invalid `decisionModel` throws `DecisionConfigError` (wrong type or whitespace-padded string) or `DecisionModelUnavailableError` (unregistered ID, bare ID without `provider/`, or image model) when calling `decide()`, `structured_output`, or opening `/settings`. An invalid `snapshots` block throws `WorkspaceConfigError` at session creation, resume, or `atomic blueprint` (except `snapshots.pool.maxIdlePerRepository`, which falls back to `2`). A negative or non-integer `compaction.reserveTokens` throws when compaction settings are read.
|
|
26
|
+
- **Special handling for `compactionModel`:** a non-string value throws an error when compaction settings are read instead of silently falling back to `"auto"`. Saved chat or classifier IDs reset to `"auto"` on startup (rewriting trusted `settings.json`). Unknown string IDs stay in the file and clear context with a notice on compaction.
|
|
24
27
|
|
|
25
28
|
## Project trust
|
|
26
29
|
|
|
@@ -34,62 +37,88 @@ See [Project trust](/security#project-trust) for the full list of trust-gated in
|
|
|
34
37
|
|
|
35
38
|
## All settings
|
|
36
39
|
|
|
37
|
-
###
|
|
38
|
-
|
|
39
|
-
| Setting | Type | Default | Description |
|
|
40
|
-
| --- | --- | --- | --- |
|
|
41
|
-
| `herdr.enabled` | boolean | `true` | Enable the built-in Herdr status reporter in eligible Herdr panes (`mode: "tui"` with UI and Herdr env vars; never claimed by child sessions). Reload or restart after changing. |
|
|
42
|
-
|
|
43
|
-
See [Herdr](/herdr) for state aggregation, reporter conflicts, and privacy.
|
|
44
|
-
|
|
45
|
-
### Model & thinking
|
|
40
|
+
### Models and thinking
|
|
46
41
|
|
|
47
42
|
| Setting | Type | Default | Description |
|
|
48
43
|
| --- | --- | --- | --- |
|
|
49
44
|
| `defaultProvider` | string | unset | Startup provider, saved automatically on interactive model switch |
|
|
50
45
|
| `defaultModel` | string | unset | Startup model ID, saved automatically on interactive model switch |
|
|
51
|
-
| `
|
|
46
|
+
| `enabledModels` | string[] | unset | Scoped model patterns controlling startup fallback, `Ctrl+P` cycling, `/model`, and subagent allowlists. See [Model scope (`enabledModels`)](#enabledmodels). |
|
|
47
|
+
| `fallbackModels` | string[] | unset | Ordered main-chat fallback chain (`provider/model` with optional `:effort` suffix). See [`fallbackModels`](#fallbackmodels). |
|
|
48
|
+
| `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). |
|
|
52
49
|
| `defaultThinkingLevel` | string | unset | Startup thinking level (`"off"`, `"minimal"`, `"low"`, `"medium"`, `"high"`, `"xhigh"`, `"max"`), clamped to model support |
|
|
53
50
|
| `modelThinkingLevels` | object | unset | Per-model startup thinking levels keyed by `"provider/modelId"` |
|
|
54
51
|
| `hideThinkingBlock` | boolean | `false` | Hide thinking blocks in output |
|
|
55
52
|
| `thinkingBudgets` | object | unset | Custom token budgets per thinking level (native on Anthropic, Google, and Bedrock; OpenAI-compatible when `compat.thinkingTokenBudgetField` or `supportsThinkingTokenBudget` is set) |
|
|
56
53
|
| `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 |
|
|
57
|
-
| `cacheWarming` | `"off" \| "streaming" \| "idle"` | `"idle"` | Keep eligible prompt caches warm during runs (`"streaming"
|
|
58
|
-
| `fallbackModels` | string[] | unset | Ordered main-chat fallback chain (`"provider/model"` with optional `:effort` suffix) |
|
|
54
|
+
| `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. |
|
|
59
55
|
|
|
60
|
-
- **Cache warming.** Runs only when the model declares `promptCache` ([
|
|
61
|
-
- **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 `set_model` or model cycle succeeds. If the provider is supported but the model is unknown or unauthenticated, normal auto-selection applies.
|
|
62
|
-
- **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. Built-in agent overrides can also be configured under `subagents.agentOverrides` in `settings.json`; see [Subagent reference](/subagents/reference#automatic-model-selection).
|
|
56
|
+
- **Cache warming.** Runs only when the model declares `promptCache` ([`models.json` schema reference](/models-configuration)) and estimated avoided miss cost is at least $0.05. Recorded in usage and never added to context; extensions can intercept via `cache_warming_decision`.
|
|
57
|
+
- **Unsupported saved default provider.** If `defaultProvider` and `defaultModel` name a provider that is 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 `set_model` or model cycle succeeds. If the provider is supported but the model is unknown or unauthenticated, normal auto-selection applies.
|
|
58
|
+
- **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 can also be configured under `subagents.agentOverrides` in `settings.json`; see [Subagent reference](/subagents/reference#automatic-model-selection).
|
|
63
59
|
|
|
64
|
-
####
|
|
60
|
+
#### Model scope (enabledModels) {#enabledmodels}
|
|
61
|
+
|
|
62
|
+
`enabledModels` (and the one-run CLI flag `--models`) restricts the active set of authenticated models for a session. Setting `enabledModels` to `[]` or omitting it disables scoping so every authenticated model is active.
|
|
65
63
|
|
|
66
64
|
```json
|
|
67
|
-
{
|
|
65
|
+
{
|
|
66
|
+
"enabledModels": [
|
|
67
|
+
"anthropic/claude-opus-5:high",
|
|
68
|
+
"openai-codex/gpt-6*",
|
|
69
|
+
"qwen/qwen3-coder:exacto"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
68
72
|
```
|
|
69
73
|
|
|
70
|
-
|
|
74
|
+
##### How patterns match
|
|
71
75
|
|
|
72
|
-
|
|
73
|
-
- **Fallback and deadlines.** A failed explicit classifier (missing credentials, context error, refusal, or malformed output) falls back silently to the current chat model and logs in [debug mode](#debug-mode). Chat models get 1 initial attempt plus 3 corrective retries, with a total wall-clock budget from [`httpIdleTimeoutMs`](#http) (default 10 minutes). Cancellation does not fall back.
|
|
74
|
-
- **Provider, credentials, and cost.** The decision model's provider receives the decision context, so choose a permitted provider. Authenticate a pinned classifier with its provider login (for example `/login typesafe` or `TYPESAFE_API_KEY`). Classifiers do not appear in `/model`. An explicit empty project value overrides a global selection and restores the current chat model. Falling back to the current chat model can incur chat-provider charges.
|
|
75
|
-
- **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.
|
|
76
|
+
Atomic resolves `enabledModels` and `--models` patterns against **authenticated, available models only** (including models registered by extensions once they finish loading). Each pattern is resolved in three steps:
|
|
76
77
|
|
|
77
|
-
|
|
78
|
+
1. **Exact unmodified match first.** Atomic 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 without being parsed as suffixes or globs.
|
|
79
|
+
2. **Glob patterns (`*`, `?`, `[`).** If the pattern contains `*`, `?`, or `[` and did not match verbatim:
|
|
80
|
+
- Atomic checks for a valid trailing `:thinking` suffix (`:off`, `:minimal`, `:low`, `:medium`, `:high`, `:xhigh`, or `:max`, case-insensitive).
|
|
81
|
+
- 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.
|
|
82
|
+
- Otherwise, it runs case-insensitive glob matching against **both** `provider/id` and bare `id`.
|
|
83
|
+
3. **Fuzzy substring match (non-globs).** If the pattern has no glob characters and did not match verbatim:
|
|
84
|
+
- 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.
|
|
85
|
+
- 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.
|
|
78
86
|
|
|
79
|
-
|
|
87
|
+
Additional matching rules:
|
|
80
88
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"minimal": 1024,
|
|
85
|
-
"low": 4096,
|
|
86
|
-
"medium": 10240,
|
|
87
|
-
"high": 32768
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
```
|
|
89
|
+
- **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.
|
|
90
|
+
- **Order and deduplication.** Results keep the order of your patterns. Duplicate `(provider, id)` matches are removed while preserving the first occurrence (and its `:thinking` suffix, if any).
|
|
91
|
+
- **Project overrides.** Setting `"enabledModels": []` in `.atomic/settings.json` clears a global `enabledModels` list for that project.
|
|
91
92
|
|
|
92
|
-
|
|
93
|
+
##### What `enabledModels` controls
|
|
94
|
+
|
|
95
|
+
When a scope is active, it governs five areas across your session:
|
|
96
|
+
|
|
97
|
+
- **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.
|
|
98
|
+
- **`Ctrl+P` model cycling.** Cycles only through your scoped models in order.
|
|
99
|
+
- **`/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.
|
|
100
|
+
- **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.
|
|
101
|
+
- **Extensions.** Extensions read the active resolved scope through `ctx.scopedModels` (read-only).
|
|
102
|
+
|
|
103
|
+
**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.
|
|
104
|
+
|
|
105
|
+
##### Side effects from `/model` and `/scoped-models`
|
|
106
|
+
|
|
107
|
+
- **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.)
|
|
108
|
+
- **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.
|
|
109
|
+
- **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.
|
|
110
|
+
|
|
111
|
+
##### Comparison of model-selection settings and flags
|
|
112
|
+
|
|
113
|
+
| Mechanism | Matching rules | Globs (`*`, `?`, `[`) | Fuzzy match | `:thinking` suffix | Ambiguous bare ID |
|
|
114
|
+
| --- | --- | --- | --- | --- | --- |
|
|
115
|
+
| `enabledModels` / `--models` | Exact, then glob, then fuzzy (authenticated models only) | Yes (case-insensitive) | Yes | Lenient (case-insensitive; invalid warns and drops) | Adds all matching providers and warns |
|
|
116
|
+
| `fallbackModels` / `--fallback-models` | Exact, then fuzzy (skips unauthenticated at runtime) | No | Yes | Strict (case-insensitive; invalid fails match) | Prefers current or default provider; else skips |
|
|
117
|
+
| `--model` (CLI) | Exact, then fuzzy (searches all models; synthesizes unknown ID if provider known) | No | Yes | Strict (case-insensitive; invalid kept literally) | Breaks tie by sole authenticated provider; else errors |
|
|
118
|
+
| `/model <name>` | Exact `provider/id` or bare `id` (scoped models only when scoped; opens picker on miss) | No | No | No (use `←`/`→` or `/thinking`) | Opens picker instead of switching |
|
|
119
|
+
| `defaultProvider` + `defaultModel` | Exact ID lookup (`provider` normalized) | No | No | No (uses `modelThinkingLevels` / `defaultThinkingLevel`) | Not applicable (both required) |
|
|
120
|
+
| `decisionModel` | Exact case-sensitive `provider/model` (classifiers before chat models) | No | No | No | Not applicable (`provider/model` required) |
|
|
121
|
+
| `compactionModel` | Exact case-sensitive `provider/model` (registered compactors only) | No | No | No | Not applicable (`provider/model` required) |
|
|
93
122
|
|
|
94
123
|
#### fallbackModels
|
|
95
124
|
|
|
@@ -107,11 +136,42 @@ Ordered fallback chain for main-chat turns after same-model retries exhaust on a
|
|
|
107
136
|
}
|
|
108
137
|
```
|
|
109
138
|
|
|
110
|
-
- **Entry format.** Use `provider/model` (preferred; bare IDs also
|
|
139
|
+
- **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. An invalid `:thinking` suffix or unmatched entry warns once after extensions load and is skipped. If an ambiguous bare ID matches multiple authenticated providers, Atomic prefers the current or default provider and skips the entry if neither matches.
|
|
140
|
+
- **Thinking level without a suffix.** When a fallback candidate omits `:effort`, Atomic uses `defaultThinkingLevel`, else the current session's thinking level, else `"medium"`, clamped to model support (`modelThinkingLevels` is not consulted during fallback).
|
|
111
141
|
- **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. Extension-registered providers work in both. Press `Esc` during a retry wait or model switch to stop the pending request. See [CLI model options](/reference/cli#model-options).
|
|
112
142
|
- **Triggers.** Rate limits, quota exhaustion (`The usage limit has been reached`), transient errors (unrecognized errors without a status code retry same-model first), content-filter refusals (OpenAI HTTP 422 `cyber_policy`, Anthropic refusal, or `content_filter`; skips same-model retry unless `retry.fallbackOnContentFilter: false`), and refused TLS certificates (skips same-model retry; each fallback is tried once). Context overflow compacts first and falls back only if compaction is off, fails, or does not clear the overflow. With `retry.enabled: false`, retryable errors advance immediately. Non-retryable errors and `Esc` cancellations never fall back.
|
|
113
|
-
- **
|
|
114
|
-
- **Persistence and billing.** Once a fallback runs, it stays active for later turns (keeping thinking-level changes) until you switch via `/model` or model cycling.
|
|
143
|
+
- **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 the whole provider for the rest of the current turn. Model-scoped HTTP 403 or incompatible-request errors exclude only that model across all reasoning suffixes.
|
|
144
|
+
- **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`), both fallback progress notices and the final `Model: ran on <fallback>, not the requested <model>.` line are written to **stderr** so stdout stays clean. Main-chat `fallbackModels` is independent of `enabledModels`, whereas child subagents launched from a scoped session restrict their fallback candidates to the session's `enabledModels` scope. Because switching providers changes billing and data-handling terms, list only approved providers.
|
|
145
|
+
|
|
146
|
+
#### decisionModel
|
|
147
|
+
|
|
148
|
+
```json
|
|
149
|
+
{ "decisionModel": "" }
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Controls which model answers `structured_output` calls (when no `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 does not change your chat model or subagent execution model.
|
|
153
|
+
|
|
154
|
+
- **Configure.** Set in JSON, open `/settings` and select **Decision model** (edits project override if present, otherwise global), or call `session.setDecisionModel(model, scope?)` / RPC `set_decision_model`. Selections made through `/settings`, the SDK, or RPC take effect immediately in the active session without running `/reload` or restarting. `""` or `"auto"` uses the current chat model. To pin a model, specify 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 if you edited `settings.json` directly outside Atomic.
|
|
155
|
+
- **Errors and fallback.** A wrong JSON type or whitespace-padded string throws `DecisionConfigError` when read; an unregistered ID, bare ID without `provider/`, or image model throws `DecisionModelUnavailableError` instead of falling back. 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 corrective retries within [`httpIdleTimeoutMs`](#http) (default 10 minutes). Cancellation does not fall back.
|
|
156
|
+
- **Provider, credentials, and cost.** The decision model's provider receives the decision context, so choose a permitted provider. Authenticate a pinned classifier with its provider login (for example `/login typesafe` or `TYPESAFE_API_KEY`). Classifiers do not appear in `/model`. An explicit empty project value overrides a global selection and restores the current chat model. Falling back to the current chat model can incur chat-provider charges.
|
|
157
|
+
- **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.
|
|
158
|
+
|
|
159
|
+
See [Structured decisions](/sdk/structured-decisions) and [TypeSafe Jev](/providers#typesafe-jev).
|
|
160
|
+
|
|
161
|
+
#### thinkingBudgets
|
|
162
|
+
|
|
163
|
+
```json
|
|
164
|
+
{
|
|
165
|
+
"thinkingBudgets": {
|
|
166
|
+
"minimal": 1024,
|
|
167
|
+
"low": 4096,
|
|
168
|
+
"medium": 10240,
|
|
169
|
+
"high": 32768
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
A changed budget applies to new sessions. A resumed session keeps the budget it 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.
|
|
115
175
|
|
|
116
176
|
### Fast models
|
|
117
177
|
|
|
@@ -126,13 +186,13 @@ Fast inference uses canonical `<model-id>-fast` model IDs (not a separate settin
|
|
|
126
186
|
}
|
|
127
187
|
```
|
|
128
188
|
|
|
129
|
-
See [
|
|
189
|
+
See [Fast models](/providers#fast-models) for supported providers and precedence over custom `-fast` IDs.
|
|
130
190
|
|
|
131
|
-
###
|
|
191
|
+
### Interface and display
|
|
132
192
|
|
|
133
193
|
| Setting | Type | Default | Description |
|
|
134
194
|
| --- | --- | --- | --- |
|
|
135
|
-
| `theme` | string | `"dark"` | `"dark"`, `"light"`, `"system"` (terminal-derived palette), Catppuccin built-in, or custom theme ([Themes](/themes)) |
|
|
195
|
+
| `theme` | string | `"dark"` | `"dark"`, `"light"`, `"system"` (terminal-derived palette), Catppuccin built-in, or custom theme ([Themes](/themes)). Values containing `/` are ignored. |
|
|
136
196
|
| `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). |
|
|
137
197
|
| `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`. |
|
|
138
198
|
| `fullscreenCopyOnSelect` | boolean | `true` | Auto-copy text selection on mouse release (`false` highlights only; `/copy` copies the last assistant message). Configurable in `/settings`. |
|
|
@@ -140,65 +200,77 @@ See [Providers](/providers#fast-models) for supported providers and precedence o
|
|
|
140
200
|
| `quietStartup` | boolean or `"header"` | `false` | `true` hides the startup header; `"header"` keeps it but hides the model scope line |
|
|
141
201
|
| `defaultProjectTrust` | string | `"ask"` | Fallback project trust (`"ask"`, `"always"`, `"never"`). Global setting only. |
|
|
142
202
|
| `collapseChangelog` | boolean | `false` | Show a one-line update notice instead of What's New highlights (`/changelog` shows full history) |
|
|
143
|
-
| `enableInstallTelemetry` | boolean | `true` | Send version-adoption ping on first interactive launch (fresh settings or after upgrade with changelog entries) and provider attribution headers; does not control update checks |
|
|
144
|
-
| `firstRunOnboardingStartedVersion` | string | unset | Managed onboarding state (leave unchanged) |
|
|
145
|
-
| `onboardedVersion` | string | unset | Managed onboarding completion state (leave unchanged) |
|
|
146
|
-
| `teamJoin` | object | unset | Managed `atomic team join` record used by `atomic team leave` (leave unchanged) |
|
|
147
|
-
| `enableAnalytics` | boolean | `false` | Opt in to analytics during first-run setup. Storage only; Atomic does not transmit analytics. |
|
|
148
|
-
| `trackingId` | string | unset | Locally generated analytics ID when analytics is enabled |
|
|
149
|
-
| `deviceId` | string | unset | Managed global install ID created when a provider sign-in needs it (project values ignored) |
|
|
150
203
|
| `doubleEscapeAction` | string | `"tree"` | Double-Esc action: `"tree"`, `"fork"`, or `"none"` |
|
|
151
204
|
| `treeFilterMode` | string | `"default"` | Default `/tree` filter: `"default"`, `"no-tools"`, `"user-only"`, `"labeled-only"`, `"all"` |
|
|
152
205
|
| `editorPaddingX` | number | `0` | Horizontal input editor padding (`0` to `3`) |
|
|
153
206
|
| `outputPad` | number | `1` | Horizontal transcript padding (`0` or `1`) |
|
|
154
207
|
| `externalEditor` | string | unset | Command for `Ctrl+G` external editor (overrides `$VISUAL` and `$EDITOR`; defaults to Notepad on Windows, `nano` elsewhere) |
|
|
155
208
|
| `autocompleteMaxVisible` | number | `5` | Max visible autocomplete items (`3` to `20`) in default and `ctx.ui.setEditorComponent()` editors |
|
|
156
|
-
| `showHardwareCursor` | boolean | `false` | Use hardware terminal cursor instead of drawn cursor (still positioned for IME) |
|
|
209
|
+
| `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) |
|
|
157
210
|
|
|
158
211
|
Interactive mode runs fullscreen with stacked transient notices. Closing an overlay clears text selection inside it. `Ctrl+G` checks `externalEditor`, then `$VISUAL`, then `$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.
|
|
159
212
|
|
|
160
|
-
|
|
213
|
+
#### Terminal and images
|
|
161
214
|
|
|
162
215
|
| Setting | Type | Default | Description |
|
|
163
216
|
| --- | --- | --- | --- |
|
|
164
|
-
| `
|
|
217
|
+
| `terminal.showImages` | boolean | `true` | Render inline images when supported |
|
|
218
|
+
| `terminal.imageWidthCells` | number | `60` | Inline image width in terminal cells |
|
|
219
|
+
| `terminal.clearOnShrink` | boolean | `false` | Clear blank rows when content shrinks (fallback env: `ATOMIC_CLEAR_ON_SHRINK=1`) |
|
|
220
|
+
| `terminal.showTerminalProgress` | boolean | `false` | Show OSC 9;4 progress bar in terminal tab |
|
|
221
|
+
| `images.autoResize` | boolean | `true` | Resize images over 2000x2000 for `@file`, `read`, and tool results (runs after `tool_result` hooks; keeps original on error) |
|
|
222
|
+
| `images.blockImages` | boolean | `false` | Block all images from being sent to the model |
|
|
223
|
+
| `terminal.hyperlinks` | boolean or `"auto"` | `"auto"` | JSON-only override for OSC 8 hyperlink detection (env: `ATOMIC_HYPERLINKS=1\|0\|auto`) |
|
|
224
|
+
| `terminal.images` | `"kitty"`, `"iterm2"`, `"auto"`, or `false` | `"auto"` | JSON-only override for inline image protocol (env: `ATOMIC_IMAGE_PROTOCOL=kitty\|iterm2\|none\|auto`) |
|
|
225
|
+
| `terminal.trueColor` | boolean or `"auto"` | `"auto"` | JSON-only override for 24-bit color detection (env: `ATOMIC_TRUE_COLOR=1\|0\|auto`) |
|
|
165
226
|
|
|
166
|
-
|
|
227
|
+
Explicit JSON values for `terminal.hyperlinks`, `terminal.images`, and `terminal.trueColor` override their `ATOMIC_*` and legacy `PI_*` environment variables.
|
|
167
228
|
|
|
168
|
-
|
|
229
|
+
#### Markdown
|
|
169
230
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
231
|
+
| Setting | Type | Default | Description |
|
|
232
|
+
| --- | --- | --- | --- |
|
|
233
|
+
| `markdown.codeBlockIndent` | string | `" "` | Indentation for code blocks |
|
|
234
|
+
| `markdown.mermaid` | string | `"streaming"` | Display-only Mermaid rendering: `"off"`, `"final"`, or `"streaming"` (invalid or oversized diagrams stay as code) |
|
|
235
|
+
| `markdown.latex` | boolean | `true` | Display-only Unicode math rendering (supports whitespace and matrix layouts; stored messages keep source Markdown) |
|
|
173
236
|
|
|
174
|
-
|
|
237
|
+
#### Warnings
|
|
175
238
|
|
|
176
239
|
| Setting | Type | Default | Description |
|
|
177
240
|
| --- | --- | --- | --- |
|
|
178
|
-
| `
|
|
241
|
+
| `warnings.anthropicExtraUsage` | boolean | `true` | Warn when Anthropic subscription auth may incur paid extra usage |
|
|
179
242
|
|
|
180
|
-
|
|
181
|
-
{ "httpProxy": "http://127.0.0.1:7890" }
|
|
182
|
-
```
|
|
243
|
+
#### Managed state keys
|
|
183
244
|
|
|
184
|
-
|
|
245
|
+
Atomic manages these keys automatically in global `settings.json`. Leave them unchanged unless troubleshooting:
|
|
185
246
|
|
|
186
|
-
|
|
|
187
|
-
| --- | --- | --- |
|
|
188
|
-
| `
|
|
189
|
-
|
|
|
190
|
-
|
|
|
191
|
-
|
|
|
192
|
-
|
|
|
193
|
-
|
|
|
194
|
-
|
|
195
|
-
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.
|
|
247
|
+
| Setting | Type | Default | Description |
|
|
248
|
+
| --- | --- | --- | --- |
|
|
249
|
+
| `firstRunOnboardingStartedVersion` | string | unset | Version when first-run onboarding started |
|
|
250
|
+
| `onboardedVersion` | string | unset | Version when onboarding completed |
|
|
251
|
+
| `lastChangelogVersion` | string | unset | Most recent version whose changelog notice was displayed |
|
|
252
|
+
| `teamJoin` | object | unset | `atomic team join` record used by `atomic team leave` |
|
|
253
|
+
| `enableAnalytics` | boolean | `false` | Opt-in flag saved during first-run setup (storage only; Atomic does not transmit analytics) |
|
|
254
|
+
| `trackingId` | string | unset | Locally generated analytics ID when `enableAnalytics` is enabled |
|
|
255
|
+
| `deviceId` | string | unset | Global install ID created when a provider sign-in needs one (project values ignored) |
|
|
196
256
|
|
|
197
|
-
###
|
|
257
|
+
### Message delivery
|
|
198
258
|
|
|
199
259
|
| Setting | Type | Default | Description |
|
|
200
260
|
| --- | --- | --- | --- |
|
|
201
|
-
| `
|
|
261
|
+
| `steeringMode` | string | `"one-at-a-time"` | Steering message delivery: `"one-at-a-time"` or `"all"` |
|
|
262
|
+
| `followUpMode` | string | `"one-at-a-time"` | Follow-up message delivery: `"one-at-a-time"` or `"all"` |
|
|
263
|
+
| `transport` | string | `"auto"` | Multi-transport provider preference: `"auto"`, `"websocket-cached"`, `"websocket"`, or `"sse"` (legacy boolean `websockets` migrates here) |
|
|
264
|
+
| `websocketConnectTimeoutMs` | number or string | `15000` | WebSocket handshake timeout (ms, duration string, or `"disabled"`/`0`) |
|
|
265
|
+
| `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. |
|
|
266
|
+
|
|
267
|
+
How `transport` modes work on providers that support both WebSocket and SSE (such as OpenAI Codex):
|
|
268
|
+
|
|
269
|
+
- `"auto"` (default) and `"websocket-cached"`: use WebSocket with connection-scoped continuation (`previous_response_id`, 5-minute idle cache TTL, 55-minute max connection age). If the WebSocket fails before streaming starts, Atomic falls back to SSE for the rest of the session.
|
|
270
|
+
- `"websocket"`: use WebSocket without cached continuation (sends the full request body on every turn), still falling back to SSE on pre-stream transport failures.
|
|
271
|
+
- `"sse"`: disable WebSocket and always stream over SSE (with zstd request-body compression on Codex).
|
|
272
|
+
|
|
273
|
+
For the global HTTP idle timeout, see [HTTP](#http) (`httpIdleTimeoutMs`).
|
|
202
274
|
|
|
203
275
|
### Compaction
|
|
204
276
|
|
|
@@ -206,7 +278,7 @@ The OpenAI Codex WebSocket uses the same proxy as the install's other requests.
|
|
|
206
278
|
| --- | --- | --- | --- |
|
|
207
279
|
| `compaction.enabled` | boolean | `true` | Enable automatic compaction |
|
|
208
280
|
| `compaction.reserveTokens` | number | `16384` | Non-negative safe integer; triggers auto-compaction when usage exceeds `contextWindow - reserveTokens` |
|
|
209
|
-
| `compactionModel` | string | `"auto"` | `"auto"` or `""` clears context so the agent recovers from history; an exact registered compactor ID (such as `morph/morph-compactor`) compacts via that model. Saved chat or classifier IDs reset to `"auto"` on startup. See [Compaction model](/compaction#compaction-model). |
|
|
281
|
+
| `compactionModel` | string | `"auto"` | `"auto"` or `""` clears context so the agent recovers from history; an exact registered compactor ID (such as `morph/morph-compactor`) compacts via that model. Selecting **Compaction model** in `/settings` edits the project override if set, otherwise global. Saved chat or classifier IDs reset to `"auto"` on startup. See [Compaction model](/compaction#compaction-model). |
|
|
210
282
|
|
|
211
283
|
```json
|
|
212
284
|
{
|
|
@@ -220,43 +292,19 @@ The OpenAI Codex WebSocket uses the same proxy as the install's other requests.
|
|
|
220
292
|
|
|
221
293
|
Removed legacy keys (`compression_ratio`, `preserve_recent`, `keepContextShare`, `query`, `planningTimeoutMs`, `modelOverrides`, `background`, `backgroundThresholdPercent`, `historyRecall`) are ignored silently. See [Compaction](/compaction).
|
|
222
294
|
|
|
223
|
-
|
|
295
|
+
#### Branch summary
|
|
224
296
|
|
|
225
297
|
| Setting | Type | Default | Description |
|
|
226
298
|
| --- | --- | --- | --- |
|
|
227
299
|
| `branchSummary.reserveTokens` | number | `16384` | Tokens reserved when selecting branch history for summary |
|
|
228
300
|
| `branchSummary.skipPrompt` | boolean | `false` | Skip the "Summarize branch?" prompt on `/tree` switches (defaults to no summary) |
|
|
229
301
|
|
|
230
|
-
|
|
302
|
+
#### Session summary
|
|
231
303
|
|
|
232
304
|
| Setting | Type | Default | Description |
|
|
233
305
|
| --- | --- | --- | --- |
|
|
234
306
|
| `sessionSummary.enabled` | boolean | `true` | Generate one-line summaries for saved sessions in `/resume` when idle (skipped for `--no-session`) |
|
|
235
307
|
|
|
236
|
-
### Resume
|
|
237
|
-
|
|
238
|
-
| Setting | Type | Default | Description |
|
|
239
|
-
| --- | --- | --- | --- |
|
|
240
|
-
| `resume.waitForBlueprint` | `"prompt"` \| `"tools"` | `"prompt"` (TUI) / `"tools"` (non-UI) | Controls whether restored worktree builds finish before opening (`"prompt"`) or run concurrently while holding tool calls (`"tools"`). When a `project_trust` extension handler can still decline a saved trust decision, Atomic behaves like `"tools"` so no project build step runs before trust settles. See [Start the first turn while the build runs](/guides/resume-on-any-machine#start-the-first-turn-while-the-build-runs). |
|
|
241
|
-
| `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. |
|
|
242
|
-
| `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)). |
|
|
243
|
-
|
|
244
|
-
### Snapshots
|
|
245
|
-
|
|
246
|
-
| Setting | Type | Default | Description |
|
|
247
|
-
| --- | --- | --- | --- |
|
|
248
|
-
| `snapshots.enabled` | boolean | `true` | Record worktree snapshots so sessions resume with repository state |
|
|
249
|
-
| `snapshots.includeUntracked` | boolean | `true` | Capture non-ignored, non-denied untracked files |
|
|
250
|
-
| `snapshots.maxFileBytes` | number | `5242880` | Max single file size captured (bytes) |
|
|
251
|
-
| `snapshots.maxSnapshotBytes` | number | `52428800` | Max total captured snapshot or unpushed-commit bundle size (bytes) |
|
|
252
|
-
| `snapshots.fullEvery` | number | `10` | Restart patch chain from `HEAD` after this many snapshots |
|
|
253
|
-
| `snapshots.autoCollect` | boolean | `true` | Garbage-collect unreferenced snapshot content in background and on session close |
|
|
254
|
-
| `snapshots.collectIntervalSeconds` | number | `3600` | Minimum interval between automatic GC passes per database (seconds) |
|
|
255
|
-
| `snapshots.graceSeconds` | number | `3600` | Protect snapshot data stored or reused within this window (`0` disables) |
|
|
256
|
-
| `snapshots.pool.maxIdlePerRepository` | number | `2` | Idle restored worktrees kept per repository ([Restored worktrees](/worktree-snapshots#restored-worktrees)) |
|
|
257
|
-
|
|
258
|
-
See [Worktree snapshots](/worktree-snapshots).
|
|
259
|
-
|
|
260
308
|
### Retry
|
|
261
309
|
|
|
262
310
|
| Setting | Type | Default | Description |
|
|
@@ -266,8 +314,8 @@ See [Worktree snapshots](/worktree-snapshots).
|
|
|
266
314
|
| `retry.baseDelayMs` | number | `2000` | Base exponential backoff delay (2s, 4s, 8s) |
|
|
267
315
|
| `retry.maxAgentDelayMs` | number | `60000` | Cap on agent-level backoff (`0` retries immediately) |
|
|
268
316
|
| `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 |
|
|
269
|
-
| `retry.provider.timeoutMs` | number |
|
|
270
|
-
| `retry.provider.maxRetries` | number | `0` | Provider
|
|
317
|
+
| `retry.provider.timeoutMs` | number | Provider client default | Per-request provider timeout in ms (when unset, uses the provider client's built-in timeout, such as 10 min for OpenAI/Anthropic or 60s for Mistral Conversations) |
|
|
318
|
+
| `retry.provider.maxRetries` | number | `0` | Provider client retries (leave `0` so agent-level retry controls backoff) |
|
|
271
319
|
| `retry.provider.maxRetryDelayMs` | number | `60000` | Max server-hinted retry delay before failing fast (`0` disables cap; legacy `retry.maxDelayMs` migrates here) |
|
|
272
320
|
|
|
273
321
|
- **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.
|
|
@@ -291,41 +339,31 @@ See [Worktree snapshots](/worktree-snapshots).
|
|
|
291
339
|
}
|
|
292
340
|
```
|
|
293
341
|
|
|
294
|
-
###
|
|
342
|
+
### Tools
|
|
295
343
|
|
|
296
344
|
| Setting | Type | Default | Description |
|
|
297
345
|
| --- | --- | --- | --- |
|
|
298
|
-
| `
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
### Message delivery
|
|
346
|
+
| `defaultTools` | string[] | unset | Initial built-in tools: plain names replace defaults; `+name` and `-name` modify them |
|
|
347
|
+
| `codemode.mode` | `"on"` or `"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) |
|
|
348
|
+
| `codemode.inlineBudget` | number | `3000` | Estimated token budget for inline codemode tool declarations (`0` lists namespaces only; omitted tools remain discoverable via `searchTools()`) |
|
|
303
349
|
|
|
304
|
-
|
|
305
|
-
| --- | --- | --- | --- |
|
|
306
|
-
| `steeringMode` | string | `"one-at-a-time"` | Steering message delivery: `"one-at-a-time"` or `"all"` |
|
|
307
|
-
| `followUpMode` | string | `"one-at-a-time"` | Follow-up message delivery: `"one-at-a-time"` or `"all"` |
|
|
308
|
-
| `transport` | string | `"auto"` | Multi-transport provider preference: `"sse"`, `"websocket"`, `"websocket-cached"`, or `"auto"` (legacy boolean `websockets` migrates here) |
|
|
309
|
-
| `websocketConnectTimeoutMs` | number or string | `15000` | WebSocket handshake timeout (ms, duration string, or `"disabled"`/`0`) |
|
|
310
|
-
| `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. |
|
|
350
|
+
Built-in tool names include `read`, `bash`, `powershell`, `kill`, `edit`, `write`, `find`, `search`, `ask_user_question`, `todo`, `codemode`, `tool_search`, and `ls`.
|
|
311
351
|
|
|
312
|
-
|
|
352
|
+
```json
|
|
353
|
+
{ "defaultTools": ["bash", "edit", "write"] }
|
|
354
|
+
```
|
|
313
355
|
|
|
314
|
-
|
|
356
|
+
```json
|
|
357
|
+
{ "defaultTools": ["read", "powershell", "edit", "write"] }
|
|
358
|
+
```
|
|
315
359
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
| `terminal.imageWidthCells` | number | `60` | Inline image width in terminal cells |
|
|
320
|
-
| `terminal.clearOnShrink` | boolean | `false` | Clear blank rows when content shrinks (fallback env: `ATOMIC_CLEAR_ON_SHRINK=1`) |
|
|
321
|
-
| `terminal.showTerminalProgress` | boolean | `false` | Show OSC 9;4 progress bar in terminal tab |
|
|
322
|
-
| `images.autoResize` | boolean | `true` | Resize images over 2000x2000 for `@file`, `read`, and tool results (runs after `tool_result` hooks; keeps original on error) |
|
|
323
|
-
| `images.blockImages` | boolean | `false` | Block all images from being sent to the model |
|
|
324
|
-
| `terminal.hyperlinks` | boolean or `"auto"` | `"auto"` | JSON-only override for OSC 8 hyperlink detection (env: `ATOMIC_HYPERLINKS=1\|0\|auto`) |
|
|
325
|
-
| `terminal.images` | `"kitty"`, `"iterm2"`, `"auto"`, or `false` | `"auto"` | JSON-only override for inline image protocol (env: `ATOMIC_IMAGE_PROTOCOL=kitty\|iterm2\|none\|auto`) |
|
|
326
|
-
| `terminal.trueColor` | boolean or `"auto"` | `"auto"` | JSON-only override for 24-bit color detection (env: `ATOMIC_TRUE_COLOR=1\|0\|auto`) |
|
|
360
|
+
```json
|
|
361
|
+
{ "defaultTools": ["-bash", "+ls"] }
|
|
362
|
+
```
|
|
327
363
|
|
|
328
|
-
|
|
364
|
+
- **Merging and modifiers.** Modifier-only arrays start from standard defaults (project modifier-only arrays layer over global `defaultTools`). Plain names or `[]` replace the prior list (`[]` keeps extension and custom tools).
|
|
365
|
+
- **`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).
|
|
366
|
+
- **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.
|
|
329
367
|
|
|
330
368
|
### Shell
|
|
331
369
|
|
|
@@ -335,7 +373,7 @@ Explicit JSON values for `terminal.hyperlinks`, `terminal.images`, and `terminal
|
|
|
335
373
|
| `shellCommandPrefix` | string | unset | Prefix prepended to shell commands (PowerShell syntax on native Windows interactive shells; Bash syntax elsewhere, such as `"shopt -s expand_aliases"`) |
|
|
336
374
|
| `search.contextBefore` | number | `1` | Context lines before each `search` match |
|
|
337
375
|
| `search.contextAfter` | number | `3` | Context lines after each `search` match |
|
|
338
|
-
| `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"]`) |
|
|
376
|
+
| `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. |
|
|
339
377
|
| `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)) |
|
|
340
378
|
|
|
341
379
|
On Windows, write JSON paths with forward slashes or escaped backslashes:
|
|
@@ -348,32 +386,6 @@ On Windows, write JSON paths with forward slashes or escaped backslashes:
|
|
|
348
386
|
{ "shellPath": "C:\\Program Files\\Git\\bin\\bash.exe" }
|
|
349
387
|
```
|
|
350
388
|
|
|
351
|
-
### Tools
|
|
352
|
-
|
|
353
|
-
| Setting | Type | Default | Description |
|
|
354
|
-
| --- | --- | --- | --- |
|
|
355
|
-
| `defaultTools` | string[] | unset | Initial built-in tools: plain names replace defaults; `+name` and `-name` modify them |
|
|
356
|
-
| `codemode.mode` | `"on"` or `"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) |
|
|
357
|
-
| `codemode.inlineBudget` | number | `3000` | Estimated token budget for inline codemode tool declarations (`0` lists namespaces only; omitted tools remain discoverable via `searchTools()`) |
|
|
358
|
-
|
|
359
|
-
Built-in tool names include `read`, `bash`, `powershell`, `kill`, `edit`, `write`, `find`, `search`, `ask_user_question`, `todo`, `codemode`, `tool_search`, and `ls`.
|
|
360
|
-
|
|
361
|
-
```json
|
|
362
|
-
{ "defaultTools": ["bash", "edit", "write"] }
|
|
363
|
-
```
|
|
364
|
-
|
|
365
|
-
```json
|
|
366
|
-
{ "defaultTools": ["read", "powershell", "edit", "write"] }
|
|
367
|
-
```
|
|
368
|
-
|
|
369
|
-
```json
|
|
370
|
-
{ "defaultTools": ["-bash", "+ls"] }
|
|
371
|
-
```
|
|
372
|
-
|
|
373
|
-
- **Merging and modifiers.** Modifier-only arrays start from standard defaults (project modifier-only arrays layer over global `defaultTools`). Plain names or `[]` replace the prior list (`[]` keeps extension and custom tools).
|
|
374
|
-
- **`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).
|
|
375
|
-
- **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.
|
|
376
|
-
|
|
377
389
|
### Tasks
|
|
378
390
|
|
|
379
391
|
| Setting | Type | Default | Description |
|
|
@@ -397,34 +409,98 @@ Built-in tool names include `read`, `bash`, `powershell`, `kill`, `edit`, `write
|
|
|
397
409
|
```
|
|
398
410
|
|
|
399
411
|
- **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` (legacy `sessionDir` was removed).
|
|
400
|
-
- **Precedence.** Highest to lowest: SDK `sessionStore`, `--no-session`, `--session-dir` or `--session-store`, `--storage` or `--storage-file`, `ATOMIC_SESSIONS_STORAGE` or `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 and JSON flags or env vars resolve from [storage home](/storage#storage-home); `--session-dir`, `--session-store`, and `ATOMIC_CODING_AGENT_SESSION_DIR` resolve from `cwd`.
|
|
412
|
+
- **Precedence.** Highest to lowest: SDK `sessionStore`, `--no-session`, `--session-dir` or `--session-store`, `--storage` or `--storage-file`, `ATOMIC_SESSIONS_STORAGE` or `ATOMIC_CODING_AGENT_SESSION_DIR`, `ATOMIC_STORAGE`, `ATOMIC_PROFILE=ci`, `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 and JSON flags or env vars resolve from [storage home](/storage#storage-home); `--session-dir`, `--session-store`, and `ATOMIC_CODING_AGENT_SESSION_DIR` resolve from `cwd`.
|
|
401
413
|
- **Errors.** Only the winning setting (plus set `ATOMIC_STORAGE` and `ATOMIC_SESSIONS_STORAGE`) is validated. Invalid config throws `StorageConfigError` (`source`, `field`, `reason`), and open failures throw typed errors without falling back to memory. See [Choosing a store](/sessions#choosing-a-store), [Selecting storage per process](/storage#selecting-storage-per-process), and [Storage errors](/storage#storage-errors).
|
|
402
414
|
|
|
403
|
-
|
|
415
|
+
#### Storage adapters
|
|
404
416
|
|
|
405
|
-
|
|
406
|
-
| --- | --- | --- | --- |
|
|
407
|
-
| `enabledModels` | string[] | unset | Patterns for `Ctrl+P` model cycling (same syntax as `--models`; re-resolved after deferred extension loading). Independent of `fallbackModels`. |
|
|
417
|
+
Install an adapter [Atomic package](/storage#adapters-from-atomic-packages) (or pass its directory via `--extension` or SDK `additionalExtensionPaths`, which takes precedence over settings) and reference it in `storage` or `sessions.storage`:
|
|
408
418
|
|
|
409
419
|
```json
|
|
410
420
|
{
|
|
411
|
-
"
|
|
412
|
-
|
|
421
|
+
"storage": {
|
|
422
|
+
"adapter": "@example/atomic-sqlite",
|
|
423
|
+
"options": { "url": "libsql://database.example" },
|
|
424
|
+
"secrets": { "authToken": { "env": "DATABASE_TOKEN" } },
|
|
425
|
+
"prefix": "project_"
|
|
426
|
+
}
|
|
413
427
|
}
|
|
414
428
|
```
|
|
415
429
|
|
|
416
|
-
|
|
430
|
+
- An empty shared `storage: {}` uses `<storageHome>/storage.sqlite`.
|
|
431
|
+
- `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).
|
|
432
|
+
- Adapter modules execute code; review them before trusting project settings. See [Selecting an adapter](/storage#selecting-an-adapter).
|
|
433
|
+
|
|
434
|
+
### Snapshots
|
|
417
435
|
|
|
418
436
|
| Setting | Type | Default | Description |
|
|
419
437
|
| --- | --- | --- | --- |
|
|
420
|
-
| `
|
|
421
|
-
| `
|
|
422
|
-
| `
|
|
438
|
+
| `snapshots.enabled` | boolean | `true` | Record worktree snapshots so sessions resume with repository state |
|
|
439
|
+
| `snapshots.includeUntracked` | boolean | `true` | Capture non-ignored, non-denied untracked files |
|
|
440
|
+
| `snapshots.maxFileBytes` | number | `5242880` | Max single file size captured (bytes) |
|
|
441
|
+
| `snapshots.maxSnapshotBytes` | number | `52428800` | Max total captured snapshot or unpushed-commit bundle size (bytes) |
|
|
442
|
+
| `snapshots.fullEvery` | number | `10` | Restart patch chain from `HEAD` after this many snapshots |
|
|
443
|
+
| `snapshots.autoCollect` | boolean | `true` | Garbage-collect unreferenced snapshot content in background and on session close |
|
|
444
|
+
| `snapshots.collectIntervalSeconds` | number | `3600` | Minimum interval between automatic GC passes per database (seconds) |
|
|
445
|
+
| `snapshots.graceSeconds` | number | `3600` | Protect snapshot data stored or reused within this window (`0` disables) |
|
|
446
|
+
| `snapshots.pool.maxIdlePerRepository` | number | `2` | Idle restored worktrees kept per repository ([Restored worktrees](/worktree-snapshots#restored-worktrees)) |
|
|
447
|
+
|
|
448
|
+
See [Worktree snapshots](/worktree-snapshots).
|
|
449
|
+
|
|
450
|
+
### Resume
|
|
451
|
+
|
|
452
|
+
| Setting | Type | Default | Description |
|
|
453
|
+
| --- | --- | --- | --- |
|
|
454
|
+
| `resume.waitForBlueprint` | `"prompt"` \| `"tools"` | `"prompt"` (interactive) / `"tools"` (non-interactive) | Controls whether restored worktree builds finish before opening (`"prompt"`) or run concurrently while holding tool calls (`"tools"`). Applies to `-p`, `--mode json`, `--mode rpc`, and SDK sessions as `"tools"` by default. When a `project_trust` extension handler can still decline a saved trust decision, Atomic behaves like `"tools"` so no project build step runs before trust settles. 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)). |
|
|
457
|
+
|
|
458
|
+
### HTTP
|
|
459
|
+
|
|
460
|
+
| Setting | Type | Default | Description |
|
|
461
|
+
| --- | --- | --- | --- |
|
|
462
|
+
| `httpIdleTimeoutMs` | number or string | `600000` | Global HTTP dispatcher idle timeout in ms, integer duration string (`"30s"`, `"5m"`, `"1h"`), or `"disabled"`/`0`. |
|
|
463
|
+
|
|
464
|
+
Accepted duration forms for `httpIdleTimeoutMs`, `websocketConnectTimeoutMs`, and `streamDeadlineMs`:
|
|
465
|
+
|
|
466
|
+
- Non-negative finite number (floored to whole milliseconds; `0` disables).
|
|
467
|
+
- Numeric string (such as `"60000"`).
|
|
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.
|
|
469
|
+
- `"disabled"` (case-insensitive), equivalent to `0`.
|
|
470
|
+
|
|
471
|
+
`httpIdleTimeoutMs` applies to `fetch`, provider HTTP clients, and the default total wall-clock budget for one [structured decision](/sdk/structured-decisions#cancellation-and-failures) (`structured_output`, `generateStructuredOutput()`, `decide()`). `/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).
|
|
472
|
+
|
|
473
|
+
### Network proxy
|
|
474
|
+
|
|
475
|
+
| Setting | Type | Default | Description |
|
|
476
|
+
| --- | --- | --- | --- |
|
|
477
|
+
| `httpProxy` | string | unset | HTTP proxy URL applied as `HTTP_PROXY` and `HTTPS_PROXY` when those environment variables are unset. Global setting only. |
|
|
478
|
+
|
|
479
|
+
```json
|
|
480
|
+
{ "httpProxy": "http://127.0.0.1:7890" }
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
Existing `HTTP_PROXY` and `HTTPS_PROXY` environment variables take precedence over `httpProxy` in `settings.json`.
|
|
484
|
+
|
|
485
|
+
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:
|
|
486
|
+
|
|
487
|
+
| Setup | npm-installed `atomic` | Standalone binary |
|
|
488
|
+
| --- | --- | --- |
|
|
489
|
+
| `ALL_PROXY` naming an `http://` or `https://` proxy | Not read | Used when the request's own variable is unset |
|
|
490
|
+
| 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 |
|
|
491
|
+
| An address block in `NO_PROXY` (`10.0.0.0/8`) | Not matched | Exempts the addresses in it |
|
|
492
|
+
| Proxy variables changed while Atomic runs | Read at startup and when `httpIdleTimeoutMs` changes | Read for each request |
|
|
493
|
+
| An `http://` endpoint through a proxy | Sent through a `CONNECT` tunnel | Sent to the proxy with the full URL |
|
|
494
|
+
| A SOCKS proxy (`socks5://`) in `HTTP_PROXY` or `HTTPS_PROXY` | Used | Requests fail with `UnsupportedProxyProtocol` |
|
|
495
|
+
|
|
496
|
+
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.
|
|
423
497
|
|
|
424
498
|
### Resources
|
|
425
499
|
|
|
426
500
|
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`.
|
|
427
501
|
|
|
502
|
+
All five resource lists (`packages`, `extensions`, `skills`, `prompts`, and `themes`) combine global and project entries rather than replacing them.
|
|
503
|
+
|
|
428
504
|
| Setting | Type | Default | Description |
|
|
429
505
|
| --- | --- | --- | --- |
|
|
430
506
|
| `packages` | array | `[]` | npm, git, or local packages (string or object filter form) |
|
|
@@ -434,30 +510,8 @@ Paths in `~/.atomic/agent/settings.json` resolve from `~/.atomic/agent`; paths i
|
|
|
434
510
|
| `themes` | string[] | `[]` | Local theme files or directories |
|
|
435
511
|
| `enableSkillCommands` | boolean | `true` | Register skills as `/skill:<name>` commands |
|
|
436
512
|
|
|
437
|
-
<a id="workflow-storage" />
|
|
438
|
-
<a id="local-worker-pools" />
|
|
439
|
-
|
|
440
513
|
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).
|
|
441
514
|
|
|
442
|
-
#### Storage adapters
|
|
443
|
-
|
|
444
|
-
Install an adapter [Atomic package](/storage#adapters-from-atomic-packages) (or pass its directory via `--extension` or SDK `additionalExtensionPaths`, which takes precedence over settings) and reference it in `storage` or `sessions.storage`:
|
|
445
|
-
|
|
446
|
-
```json
|
|
447
|
-
{
|
|
448
|
-
"storage": {
|
|
449
|
-
"adapter": "@example/atomic-sqlite",
|
|
450
|
-
"options": { "url": "libsql://database.example" },
|
|
451
|
-
"secrets": { "authToken": { "env": "DATABASE_TOKEN" } },
|
|
452
|
-
"prefix": "project_"
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
```
|
|
456
|
-
|
|
457
|
-
- An empty shared `storage: {}` uses `<storageHome>/storage.sqlite`.
|
|
458
|
-
- `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).
|
|
459
|
-
- Adapter modules execute code; review them before trusting project settings. See [Selecting an adapter](/storage#selecting-an-adapter).
|
|
460
|
-
|
|
461
515
|
#### packages
|
|
462
516
|
|
|
463
517
|
Load all resources with a string entry, or filter specific resources with an object entry (`"autoload": false` disables discovery and applies only explicit patterns):
|
|
@@ -478,7 +532,38 @@ Load all resources with a string entry, or filter specific resources with an obj
|
|
|
478
532
|
|
|
479
533
|
See [Atomic packages](/packages).
|
|
480
534
|
|
|
481
|
-
|
|
482
|
-
|
|
535
|
+
### Integrations
|
|
536
|
+
|
|
537
|
+
- **Herdr:** Configure `herdr.enabled` below to control terminal pane status reporting.
|
|
538
|
+
- **MCP servers:** Configured separately in `mcp.json` (global and project); see [MCP servers](/mcp-servers).
|
|
539
|
+
- **Subagents:** Configure built-in agent overrides under `subagents.agentOverrides` in `settings.json`; see [Subagent reference](/subagents/reference).
|
|
540
|
+
- **Intercom:** Multi-node routing uses global `storage`; see [Intercom operations](/intercom/operations).
|
|
541
|
+
- **Codemode:** Configure `codemode.mode` and `codemode.inlineBudget` under [Tools](#tools).
|
|
542
|
+
|
|
543
|
+
#### Herdr
|
|
544
|
+
|
|
545
|
+
| Setting | Type | Default | Description |
|
|
546
|
+
| --- | --- | --- | --- |
|
|
547
|
+
| `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`. |
|
|
548
|
+
|
|
549
|
+
See [Herdr](/herdr) for state aggregation, reporter conflicts, and privacy.
|
|
550
|
+
|
|
551
|
+
### Telemetry and update checks
|
|
552
|
+
|
|
553
|
+
| Setting | Type | Default | Description |
|
|
554
|
+
| --- | --- | --- | --- |
|
|
555
|
+
| `enableInstallTelemetry` | boolean | `true` | Send version-adoption ping on first interactive launch (fresh settings or after upgrade with changelog entries) and provider attribution headers; does not control update checks |
|
|
556
|
+
|
|
557
|
+
- **Version-adoption telemetry.** Controlled by `enableInstallTelemetry` (disable with `"enableInstallTelemetry": false` or `ATOMIC_TELEMETRY=0`; force on with `ATOMIC_TELEMETRY=1`/`true`/`yes`, where `ATOMIC_TELEMETRY` beats legacy `PI_TELEMETRY`). Sends one bodyless `GET https://atomic-version-adoption.bastani-atomic.workers.dev/v1/version-adoption?version=<version>` with `User-Agent: atomic/<version> (<platform>; <runtime>; <arch>)` and no UUID, cookie, auth header, or user content. Fires only in interactive mode on first launch with fresh settings or after upgrading to a release with changelog entries, never on every launch, npm install, or `-p`/RPC. Atomic stores only UTC date, version, and an aggregate count; Cloudflare processes transient connection metadata (IP, TLS) to serve the request. Separate from `enableAnalytics` and `trackingId`.
|
|
558
|
+
- **Update checks.** Queries `https://registry.npmjs.org/@bastani/atomic/latest`. Disable independently with `ATOMIC_SKIP_VERSION_CHECK=1` (`PI_SKIP_VERSION_CHECK=1`).
|
|
559
|
+
- **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).
|
|
560
|
+
|
|
561
|
+
### Debug mode
|
|
562
|
+
|
|
563
|
+
| Setting | Type | Default | Description |
|
|
564
|
+
| --- | --- | --- | --- |
|
|
565
|
+
| `debug` | boolean | `false` | Write verbose debug output to the debug log shown by `/debug` (**Debug mode** in `/settings`). Global setting only. |
|
|
566
|
+
|
|
567
|
+
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).
|
|
483
568
|
|
|
484
569
|
For a complete example config and project-override walkthrough, see [Configure Atomic](/guides/configuration#example) and [Project overrides](/guides/configuration#project-overrides).
|