@bastani/atomic 0.10.18-alpha.1 → 0.10.19-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 +79 -0
- package/README.md +27 -5
- package/dist/_shared/config-binary-install-SNFYFXWB.js +70 -0
- package/dist/_shared/config-binary-install-SNFYFXWB.js.map +1 -0
- 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 → mode-interactive-sdk-JXBZ3H27.js} +434 -11
- package/dist/_shared/mode-interactive-sdk-JXBZ3H27.js.map +1 -0
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js +21 -6
- package/dist/_shared/mode-rpc-sdk-IOPGDYR4.js.map +1 -1
- package/dist/_shared/mode-shared-2QJSCUM6.js +7 -6
- package/dist/_shared/mode-shared-2QJSCUM6.js.map +1 -1
- package/dist/_shared/p0-cli-BB45ZQY6.js +56 -3
- package/dist/_shared/p0-cli-BB45ZQY6.js.map +1 -1
- package/dist/_shared/p1a-prewarm-XIU57JHF.js +3 -3
- package/dist/_shared/runtime-O4KCSG4C.js +3 -3
- package/dist/_shared/{sdk-OHKMDJ74.js → sdk-BHX35EPK.js} +47 -17
- package/dist/_shared/sdk-BHX35EPK.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/{startup-0-0-OV6RAEAP.js → startup-0-0-4EDVBK5P.js} +464 -7
- package/dist/_shared/startup-0-0-4EDVBK5P.js.map +1 -0
- package/dist/_shared/{startup-0-1-EZAJI6RE.js → startup-0-1-H5IXVRXQ.js} +85 -7
- package/dist/_shared/startup-0-1-H5IXVRXQ.js.map +1 -0
- package/dist/_shared/startup-0-2-YZZOC22D.js +4 -4
- package/dist/_shared/startup-0-3-DE2NCS6A.js +4 -4
- package/dist/_shared/startup-0-4-ZMJV547D.js +6 -5
- package/dist/_shared/startup-0-4-ZMJV547D.js.map +1 -1
- package/dist/_shared/startup-0-5-HZX3ZPTP.js +44 -13
- package/dist/_shared/startup-0-5-HZX3ZPTP.js.map +1 -1
- package/dist/_shared/startup-10-0-TDQNBDDL.js +5 -5
- package/dist/_shared/startup-12-0-55AAXBJZ.js +2 -2
- package/dist/_shared/startup-14-0-MLX36RBG.js +3 -3
- package/dist/_shared/startup-15-0-YUKGAC63.js +3 -3
- package/dist/_shared/{startup-15-1-4S7FLMNG.js → startup-15-1-WQZBOTMZ.js} +70 -28
- package/dist/_shared/{startup-15-1-4S7FLMNG.js.map → startup-15-1-WQZBOTMZ.js.map} +1 -1
- package/dist/_shared/startup-8-0-34CBHPZH.js +4 -4
- package/dist/_shared/{startup-8-1-LZFXSD3Z.js → startup-8-1-QZMXUGHI.js} +242 -20
- package/dist/_shared/startup-8-1-QZMXUGHI.js.map +1 -0
- package/dist/_shared/storage-command-7MGXLJGZ.js +75 -11
- package/dist/_shared/storage-command-7MGXLJGZ.js.map +1 -1
- package/dist/_shared/storage-status-K7PX2RXA.js +3 -3
- package/dist/_shared/task-unsaved-answer-VJ2KTB4V.js +2 -2
- package/dist/_shared/team-DOQKICG2.js +2 -2
- package/dist/_shared/tree-outline-MUEPK5B7.js +2 -2
- package/dist/binary-self-update.js +281 -0
- package/dist/binary-self-update.js.map +1 -0
- package/dist/builtin/intercom/broker/broker.bundle.mjs +158 -78
- package/dist/builtin/intercom/broker/multinode-router.ts +41 -8
- package/dist/builtin/intercom/broker/multinode-state-store.ts +6 -1
- package/dist/builtin/intercom/broker/sql-lease-store.ts +89 -80
- package/dist/builtin/intercom/broker/sql-pending-ask-store.ts +65 -6
- package/dist/builtin/intercom/index.bundle.mjs +2 -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/CHANGELOG.md +15 -0
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/skills/agent-browser/SKILL.md +1 -1
- package/dist/builtin/subagents/skills/impeccable/SKILL.md +3 -3
- package/dist/builtin/subagents/skills/impeccable/reference/audit.md +2 -2
- package/dist/builtin/subagents/skills/impeccable/reference/critique.md +3 -3
- package/dist/builtin/subagents/skills/impeccable/reference/generate.md +1 -1
- package/dist/builtin/subagents/skills/impeccable/reference/init.md +0 -2
- package/dist/builtin/subagents/skills/impeccable/reference/live.md +4 -2
- package/dist/builtin/subagents/skills/impeccable/reference/new-work-comp.md +1 -1
- package/dist/builtin/subagents/skills/impeccable/reference/new-work-world.md +1 -1
- package/dist/builtin/subagents/skills/impeccable/scripts/VERSION +1 -1
- package/dist/builtin/subagents/skills/impeccable/scripts/engine-checksums.txt +5 -5
- package/dist/builtin/subagents/skills/impeccable/scripts/impeccable +28 -5
- package/dist/builtin/subagents/skills/impeccable/scripts/impeccable.cmd +11 -2
- package/dist/builtin/subagents/skills/impeccable/scripts/live-browser.js +10 -6
- package/dist/builtin/subagents/skills/research-codebase/SKILL.md +13 -19
- package/dist/builtin/subagents/skills/skill-creator/SKILL.md +1 -1
- package/dist/builtin/subagents/skills/subagent/SKILL.md +7 -7
- package/dist/builtin/subagents/skills/workflow/SKILL.md +98 -0
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +2 -1
- package/dist/builtin/web-access/index.bundle.mjs +2 -1
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/args.js +2 -2
- package/dist/cli/auth-cli.code.js +3 -3
- 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 +2 -2
- package/dist/cli/intercom-command.impl.js +3 -3
- package/dist/cli/intercom-command.js +3 -3
- package/dist/cli/list-models.code.js +2 -2
- 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 +3 -3
- 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/usage-command.js +22 -0
- package/dist/cli/usage-command.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/config-binary-install.js +3 -0
- package/dist/config-binary-install.js.map +1 -0
- package/dist/core/agent-session-services.js +3 -0
- package/dist/core/agent-session-services.js.map +1 -0
- 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.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/runner-context.js +2 -2
- 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/{legacy-workflow-files.d.ts → legacy-workflows.d.ts} +1 -1
- package/dist/core/model-runtime.d.ts +8 -2
- package/dist/core/package-manager-storage-adapters.code.js +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/resource-loader-core.d.ts +1 -1
- package/dist/core/resource-loader-internals.d.ts +1 -1
- package/dist/core/resource-loader-types.d.ts +1 -1
- package/dist/core/resource-loader-types.js.map +1 -1
- package/dist/core/sdk.code.js +4 -4
- 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.code.js +1 -1
- package/dist/core/session-storage.impl.js +3 -3
- package/dist/core/session-storage.js +3 -3
- package/dist/core/settings-manager.js +5 -0
- package/dist/core/settings-manager.js.map +1 -0
- package/dist/core/storage/database.d.ts +6 -2
- package/dist/core/storage/database.js.map +1 -1
- package/dist/core/storage/fenced-paths.d.ts +15 -0
- package/dist/core/storage/fenced-paths.js +25 -0
- package/dist/core/storage/fenced-paths.js.map +1 -1
- package/dist/core/storage/index.js +2 -2
- package/dist/core/storage/migrations.d.ts +2 -11
- package/dist/core/storage/migrations.js +2 -9
- package/dist/core/storage/migrations.js.map +1 -1
- 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/postgres-locks.d.ts +11 -0
- package/dist/core/storage/postgres-locks.js +9 -0
- package/dist/core/storage/postgres-locks.js.map +1 -0
- 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 +2 -2
- 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.d.ts +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/sqlite-facade.js +6 -4
- package/dist/core/storage/sqlite-facade.js.map +1 -1
- 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/subscription-usage-credential.d.ts +2 -0
- package/dist/core/subscription-usage-endpoints.d.ts +54 -0
- package/dist/core/subscription-usage.d.ts +55 -0
- package/dist/core/subscription-usage.js +3 -0
- package/dist/core/subscription-usage.js.map +1 -0
- package/dist/core/tasks/heartbeat-notice.d.ts +0 -1
- 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.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.code.js +1 -1
- 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/edit-diff.d.ts +4 -6
- package/dist/core/tools/read-url.code.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.d.ts +14 -16
- package/dist/core/worktree-snapshot/blob-store.js +194 -81
- package/dist/core/worktree-snapshot/blob-store.js.map +1 -1
- package/dist/core/worktree-snapshot/collection-claim.js +8 -0
- package/dist/core/worktree-snapshot/collection-claim.js.map +1 -0
- package/dist/core/worktree-snapshot/errors.code.js +2 -2
- 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/core/worktree-snapshot/snapshot-epoch-migration.js +209 -0
- package/dist/core/worktree-snapshot/snapshot-epoch-migration.js.map +1 -0
- package/dist/core/worktree-snapshot/snapshot-epoch.js +100 -0
- package/dist/core/worktree-snapshot/snapshot-epoch.js.map +1 -0
- 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.d.ts +3 -0
- package/dist/index.js +7 -7
- 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/main.js +2 -2
- 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/interactive-mode-surface.d.ts +1 -0
- package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +3 -0
- package/dist/modes/print-mode.js +1 -1
- package/dist/modes/rpc/rpc-client-api.d.ts +3 -0
- package/dist/modes/rpc/rpc-types.d.ts +25 -0
- package/dist/package-manager-cli.code.js +31 -8
- package/dist/package-manager-cli.code.js.map +1 -1
- package/dist/package-manager-cli.impl.js +3 -3
- package/dist/package-manager-cli.js +3 -3
- package/dist/rpc-entry.js +2 -2
- package/dist/startup-files.json +1 -1
- package/dist/startup-stages/12.js +1 -1
- package/dist/startup-stages/4.js +1 -1
- package/dist/startup-stages/6.js +1 -1
- package/dist/subscription-usage-sdk.d.ts +9 -0
- package/dist/utils/changelog.d.ts +1 -0
- package/dist/utils/startup-database-spare.code.js +2 -2
- 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/reference.md +1 -1
- package/docs/background-tasks.md +1 -1
- package/docs/changelog.mdx +53 -1
- package/docs/containerization.md +17 -15
- package/docs/docs.json +1 -0
- package/docs/getting-started/installation.md +132 -80
- package/docs/guides/subscription-usage.md +133 -0
- package/docs/guides/team-setup.md +14 -3
- package/docs/guides.md +3 -0
- package/docs/index.md +18 -6
- package/docs/intercom/operations.md +1 -1
- package/docs/orchestration/migrating-workflows.md +16 -10
- package/docs/orchestration/patterns.md +8 -2
- package/docs/orchestration.md +17 -8
- package/docs/quickstart.md +7 -15
- package/docs/reference/cli.md +32 -24
- package/docs/rpc/protocol.md +9 -1
- package/docs/rpc.md +1 -1
- package/docs/sdk/reference.md +5 -1
- package/docs/skills.md +20 -4
- package/docs/slash-commands.md +3 -2
- package/docs/storage/postgres/tuning.md +2 -0
- package/docs/storage/postgres.md +17 -0
- package/docs/tools.md +57 -12
- package/docs/usage.md +1 -0
- package/docs/windows.md +4 -4
- package/docs/worktree-snapshots/reference.md +1 -1
- package/package.json +9 -9
- package/dist/_shared/mode-interactive-sdk-7KXUFI2F.js.map +0 -1
- package/dist/_shared/sdk-OHKMDJ74.js.map +0 -1
- package/dist/_shared/startup-0-0-OV6RAEAP.js.map +0 -1
- package/dist/_shared/startup-0-1-EZAJI6RE.js.map +0 -1
- package/dist/_shared/startup-8-1-LZFXSD3Z.js.map +0 -1
- package/dist/builtin/subagents/skills/workflow-files/SKILL.md +0 -28
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19-alpha.1`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19-alpha.1") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19-alpha.1 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19-alpha.1`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19-alpha.1") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19-alpha.1 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../_shared/rolldown-runtime-BGM3D5V3.js";
|
|
2
|
-
export { GIT_RELEASE, detectLinuxLibc, ensureTool, getGitDistributionTarget, getGitInstallDir, getGitReleaseMarker, getGitShellEnvironment, getGitShellEnvironmentAsync, getGitStatus, getGitStatusAsync, getLatestVersion, getToolEnv, getToolPath, parseGitVersion, plainStatMtimeMs, resetGitProvisionStateForTest, resolveGit, resolveGitSync, resolveInstalledGit, withGitProvisionSettingsForTest } from "../_shared/startup-0-1-
|
|
2
|
+
export { GIT_RELEASE, detectLinuxLibc, ensureTool, getGitDistributionTarget, getGitInstallDir, getGitReleaseMarker, getGitShellEnvironment, getGitShellEnvironmentAsync, getGitStatus, getGitStatusAsync, getLatestVersion, getToolEnv, getToolPath, parseGitVersion, plainStatMtimeMs, resetGitProvisionStateForTest, resolveGit, resolveGitSync, resolveInstalledGit, withGitProvisionSettingsForTest } from "../_shared/startup-0-1-H5IXVRXQ.js";
|
|
3
3
|
//# sourceMappingURL=tools-manager.code.js.map
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19-alpha.1`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19-alpha.1") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19-alpha.1 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -6,7 +6,7 @@ try {
|
|
|
6
6
|
} catch (error) {
|
|
7
7
|
const root = new URL("../", import.meta.url);
|
|
8
8
|
const releases = (globalThis[Symbol.for("atomic.in-place-update-release.v1")] ??= new Map());
|
|
9
|
-
const key = `${root.href}#0.10.
|
|
9
|
+
const key = `${root.href}#0.10.19-alpha.1`;
|
|
10
10
|
let release = releases.get(key);
|
|
11
11
|
if (release === undefined) {
|
|
12
12
|
const current = (async () => {
|
|
@@ -27,8 +27,8 @@ try {
|
|
|
27
27
|
release = current;
|
|
28
28
|
}
|
|
29
29
|
const running = await release;
|
|
30
|
-
if (running === undefined || running.version === "0.10.
|
|
31
|
-
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.
|
|
30
|
+
if (running === undefined || running.version === "0.10.19-alpha.1") throw error;
|
|
31
|
+
throw new Error((typeof running.name === "string" ? running.name : "atomic") + " was updated to 0.10.19-alpha.1 while this session was running; restart it to keep using this feature.", {
|
|
32
32
|
cause: error,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -94,7 +94,7 @@ Extensions can contribute custom rows to the agent panel and `/tasks` via [`atom
|
|
|
94
94
|
- **Eligible states.** Only **running** shells and subagents emit heartbeats. Queued, stopping, completed, failed, killed, paused, quit, and `history://` tasks never emit heartbeats.
|
|
95
95
|
- **Cadence rules.** The interval (`heartbeatMs`, default `tasks.heartbeatMs` = `900000` ms / 15 minutes; `0` disables; minimum `60000` ms) counts from when the task started running. In parallel `subagent` calls, a per-task `heartbeatMs` overrides the top-level value. Resumed subagents keep their original launch's `heartbeatMs` (falling back to the chat default only if omitted originally).
|
|
96
96
|
- **Shell sampling.** Shell output is sampled every **30 seconds** from the trailing **2 KiB** of output, reporting total output size, time since last output, and up to **6** non-empty trailing lines (each capped at **160 characters**).
|
|
97
|
-
- **Subagent fields.** Subagent heartbeats report agent name, elapsed time, time since last activity, current or last tool call, turn count, tool-call count,
|
|
97
|
+
- **Subagent fields.** Subagent heartbeats report agent name, elapsed time, time since last activity, current or last tool call, turn count, tool-call count, **active model** (and fallback mismatch `model <ran>, not the requested <requested>` when fallback occurred), and attention states (`input-needed` or `no recent activity`).
|
|
98
98
|
- **Batching and caps.** Tasks coming due within `min(1 minute, cadence / 4)` share one heartbeat (for example, 15 seconds on a 1-minute cadence). One heartbeat describes up to **8** tasks in full, lists up to **20** more by name, and summarizes any beyond 28 as `; and N more`. In chat, a collapsed heartbeat card lists up to 5 tasks and counts the rest.
|
|
99
99
|
- **Backpressure and idle wake.** Each chat holds at most **1** unread heartbeat. While an unread heartbeat waits, due tasks recheck every **30 seconds**; missed intervals never stack or replay. Heartbeats queue without interrupting streaming text and wake an idle chat (including after an `Esc` interrupt) unless `tasks.heartbeatWakesIdleSession` is `false` or you queued a draft and interrupted with `Ctrl+C`. Heartbeats also yield an active `action: "wait"` call while the task continues.
|
|
100
100
|
- **Routing.** Subagent-launched shells are managed by the launching main session, so their heartbeats go to the main session.
|
package/docs/background-tasks.md
CHANGED
|
@@ -162,7 +162,7 @@ Run `/tasks` (or `/tasks <id>`) to view all running and recent subagents and mai
|
|
|
162
162
|
|
|
163
163
|
## Task heartbeats
|
|
164
164
|
|
|
165
|
-
Running shells and subagents send a periodic heartbeat to the launching chat every 15 minutes by default. A heartbeat is a routine status check, never a failure signal or stop trigger: press `Ctrl+O` on a heartbeat card to expand recent shell lines or subagent
|
|
165
|
+
Running shells and subagents send a periodic heartbeat to the launching chat every 15 minutes by default. A heartbeat is a routine status check, never a failure signal or stop trigger: press `Ctrl+O` on a heartbeat card to expand recent shell lines or subagent status (elapsed time, last activity, current or last tool, turns, tool calls, and model).
|
|
166
166
|
|
|
167
167
|
Override the interval per call with `heartbeatMs` (`0` disables; minimum `60000` ms / 1 minute):
|
|
168
168
|
|
package/docs/changelog.mdx
CHANGED
|
@@ -7,9 +7,61 @@ description: "What's new in Atomic"
|
|
|
7
7
|
Generated from packages/coding-agent/CHANGELOG.md by scripts/sync-changelog-docs.ts. Don't edit it by hand.
|
|
8
8
|
Every stable release is listed, newest first. Prereleases are listed only for versions newer than the
|
|
9
9
|
newest stable release, so 1.2.0-alpha.N entries show until 1.2.0 ships and then drop out.
|
|
10
|
-
|
|
10
|
+
The publish-release skill regenerates this page as part of preparing the release PR.
|
|
11
11
|
*/}
|
|
12
12
|
|
|
13
|
+
<Update label="November 28, 2026" description="0.10.19-alpha.1">
|
|
14
|
+
|
|
15
|
+
Atomic makes it easier to check subscription limits, update an archive installation, and keep coding when an edit or model request needs a second try.
|
|
16
|
+
|
|
17
|
+
**Breaking change:** The bundled `workflow-files` skill name no longer works. Replace `/skill:workflow-files` with `/skill:workflow`, `skill://workflow-files` with `skill://workflow`, and `workflow-files` with `workflow` in subagent skill lists ([#6854](https://github.com/bastani-inc/atomic/pull/6854)).
|
|
18
|
+
|
|
19
|
+
**Subscription usage**
|
|
20
|
+
|
|
21
|
+
- **Check limits without interrupting a reply.** `/usage` shows how much you’ve used, when limits reset, and any credits your provider reports across signed-in accounts. Get the same report with `atomic usage` or `atomic usage --json`, the `get_usage` RPC command, or the SDK’s `getSubscriptionUsage()` ([#6850](https://github.com/bastani-inc/atomic/pull/6850)).
|
|
22
|
+
- **Keep useful usage figures even when a provider sends a bad duration.** The percentage used and reset time stay visible. The terminal leaves out the unknown length; CLI JSON, RPC, and SDK reports return `null` for it ([#6855](https://github.com/bastani-inc/atomic/pull/6855)).
|
|
23
|
+
|
|
24
|
+
**Updates, editing, and model fallback**
|
|
25
|
+
|
|
26
|
+
- **Update archive installs in place.** `atomic update` updates release-archive installs on macOS, Linux, and Windows, and only reports success if the launcher points to the requested release and that version starts. Restart open sessions to use it ([#6843](https://github.com/bastani-inc/atomic/pull/6843), [#6853](https://github.com/bastani-inc/atomic/pull/6853)).
|
|
27
|
+
- **Apply edits despite indentation differences.** If the target text matches in exactly one place apart from indentation, `edit` uses the file’s indentation for the replacement. If it can’t find a match, it shows the closest lines and what differs ([#6845](https://github.com/bastani-inc/atomic/pull/6845)).
|
|
28
|
+
- **Get a reply from the backup model.** After a rate-limit error such as HTTP 429, Atomic waits for the previous attempt to finish before asking the backup model, rather than ending the turn without a reply. This fixes the intermittent failure on Windows ([#6848](https://github.com/bastani-inc/atomic/pull/6848)).
|
|
29
|
+
|
|
30
|
+
**Bundled skills**
|
|
31
|
+
|
|
32
|
+
- **Plan and migrate work with `/skill:workflow`.** The renamed skill explains how to organize multi-step work and turn old workflow files into skills without running those files ([#6852](https://github.com/bastani-inc/atomic/pull/6852), [#6854](https://github.com/bastani-inc/atomic/pull/6854)).
|
|
33
|
+
- **Keep design choices when a preview goes idle.** `impeccable` stops waiting on idle previews without losing your choices, and setup no longer starts with a sign-in prompt ([#6851](https://github.com/bastani-inc/atomic/pull/6851)).
|
|
34
|
+
- **Avoid launching duplicate research.** `research-codebase` explains how to wait for research tasks that are already running ([#6851](https://github.com/bastani-inc/atomic/pull/6851)).
|
|
35
|
+
- **Make subagent handoffs clearer.** The `subagent` skill explains when to reuse the parent conversation and when to put one agent in charge of file edits ([#6851](https://github.com/bastani-inc/atomic/pull/6851)).
|
|
36
|
+
|
|
37
|
+
</Update>
|
|
38
|
+
|
|
39
|
+
<Update label="November 28, 2026" description="0.10.18">
|
|
40
|
+
|
|
41
|
+
Atomic keeps shared PostgreSQL sessions moving through stalls and maintenance, makes conversations easier to resume, and makes tool output and background updates easier to read.
|
|
42
|
+
|
|
43
|
+
**Breaking change:** Task heartbeat updates no longer include a subagent’s token count. If your extension shows token usage from heartbeat data, read `TaskRecord.metrics.tokenCount` instead ([#6837](https://github.com/bastani-inc/atomic/pull/6837)).
|
|
44
|
+
|
|
45
|
+
**Sessions and background work**
|
|
46
|
+
|
|
47
|
+
- **Resume the right conversation.** `atomic --continue` prefers a conversation you can pick up over a newer empty session. The resume command follows the session you switched to, and you can continue in another folder if the original is gone ([#6828](https://github.com/bastani-inc/atomic/pull/6828)).
|
|
48
|
+
- **See activity, not token counts, in task heartbeats.** Background updates still show what subagents are doing. Usage is still available in the agent panel and `/tasks` ([#6837](https://github.com/bastani-inc/atomic/pull/6837)).
|
|
49
|
+
|
|
50
|
+
**Shared PostgreSQL storage**
|
|
51
|
+
|
|
52
|
+
- **Keep working through database stalls.** A stalled PostgreSQL call no longer ends a live session. Atomic tells you it’s waiting and retries pending saves in order, including subagent records ([#6830](https://github.com/bastani-inc/atomic/pull/6830)).
|
|
53
|
+
- **Treat timeouts as failures.** A late PostgreSQL reply cannot turn a timed-out call into a success, and a stalled cancellation no longer holds up later calls ([#6830](https://github.com/bastani-inc/atomic/pull/6830)).
|
|
54
|
+
- **Keep agent check-ins and message recovery from holding up other sessions.** Agents sharing PostgreSQL are less likely to pause during check-ins, and an agent that has already reconnected keeps its unanswered messages ([#6834](https://github.com/bastani-inc/atomic/pull/6834)).
|
|
55
|
+
- **Back off when snapshot cleanup finds the database busy.** In the default cleanup mode, Atomic retries later instead of making session writes queue behind cleanup that hasn’t started ([#6833](https://github.com/bastani-inc/atomic/pull/6833)).
|
|
56
|
+
- **Opt in to faster snapshot cleanup.** The default stays compatible with older clients. Once every Atomic client using the PostgreSQL database has upgraded to `0.10.18` and restarted, the database owner can enable faster cleanup so deleting old worktree snapshots no longer pauses unrelated saves. The owner can switch back before starting an older client; see [how to check, enable, or disable the mode](/storage/postgres#enable-faster-worktree-snapshot-cleanup) ([#6838](https://github.com/bastani-inc/atomic/pull/6838)).
|
|
57
|
+
|
|
58
|
+
**Terminal and workspace tools**
|
|
59
|
+
|
|
60
|
+
- **Read more useful terminal output.** History and the initial results from terminal-mode shell commands omit formatting codes, so more readable text fits without changing raw output files ([#6828](https://github.com/bastani-inc/atomic/pull/6828)).
|
|
61
|
+
- **Retry interrupted worktree creation.** Atomic clears stale Git locks left by its own interrupted SDK worktree setup without removing unrelated locks ([#6828](https://github.com/bastani-inc/atomic/pull/6828)).
|
|
62
|
+
|
|
63
|
+
</Update>
|
|
64
|
+
|
|
13
65
|
<Update label="November 28, 2026" description="0.10.17">
|
|
14
66
|
|
|
15
67
|
Atomic opens large existing session databases without upfront migration stalls and speeds up continuing recent sessions.
|
package/docs/containerization.md
CHANGED
|
@@ -71,21 +71,7 @@ atomic --no-mcp --tools read,write,edit,bash,find,ls -e ~/.local/share/atomic-go
|
|
|
71
71
|
|
|
72
72
|
Run the whole `atomic` process inside Docker for a clean local container boundary.
|
|
73
73
|
|
|
74
|
-
Create `Dockerfile.atomic`
|
|
75
|
-
|
|
76
|
-
```dockerfile
|
|
77
|
-
FROM node:24-bookworm-slim
|
|
78
|
-
|
|
79
|
-
RUN apt-get update \
|
|
80
|
-
&& apt-get install -y --no-install-recommends bash ca-certificates git ripgrep \
|
|
81
|
-
&& rm -rf /var/lib/apt/lists/*
|
|
82
|
-
RUN npm install -g --ignore-scripts @bastani/atomic
|
|
83
|
-
|
|
84
|
-
WORKDIR /workspace
|
|
85
|
-
ENTRYPOINT ["atomic"]
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
For an image without Node.js or npm, use the release-archive installer instead:
|
|
74
|
+
Create `Dockerfile.atomic` with the native installer:
|
|
89
75
|
|
|
90
76
|
```dockerfile
|
|
91
77
|
FROM debian:bookworm-slim
|
|
@@ -118,6 +104,22 @@ docker run --rm -it \
|
|
|
118
104
|
|
|
119
105
|
`-v "$PWD:/workspace"` mounts your current directory at `/workspace`, so edits under `/workspace` write directly to your host files.
|
|
120
106
|
|
|
107
|
+
### Advanced installation options
|
|
108
|
+
|
|
109
|
+
You can also install Atomic as a global npm package in a Node.js image. This is not recommended. Use a base image with [Node.js 24.20.0 or newer](/getting-started/installation#nodejs-version):
|
|
110
|
+
|
|
111
|
+
```dockerfile
|
|
112
|
+
FROM node:24-bookworm-slim
|
|
113
|
+
|
|
114
|
+
RUN apt-get update \
|
|
115
|
+
&& apt-get install -y --no-install-recommends bash ca-certificates git ripgrep \
|
|
116
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
117
|
+
RUN npm install -g --ignore-scripts @bastani/atomic
|
|
118
|
+
|
|
119
|
+
WORKDIR /workspace
|
|
120
|
+
ENTRYPOINT ["atomic"]
|
|
121
|
+
```
|
|
122
|
+
|
|
121
123
|
### Persisting settings and sessions in Docker
|
|
122
124
|
|
|
123
125
|
Mount a named volume on `/root/.atomic` (`-v atomic-home:/root/.atomic`) to persist both container-local settings (`/root/.atomic/agent`) and the default SQLite session database (`/root/.atomic/workflows/journal.sqlite`).
|
package/docs/docs.json
CHANGED
|
@@ -1,70 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "Install Atomic"
|
|
3
3
|
sidebarTitle: "Install Atomic"
|
|
4
|
-
description: "Install Atomic with
|
|
4
|
+
description: "Install Atomic with the native installer, verify your setup, configure Git, and uninstall Atomic."
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Native install (recommended) {#release-archive}
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
| How you want to install | Best choice | Runtime requirement |
|
|
12
|
-
| --- | --- | --- |
|
|
13
|
-
| Global CLI via npm, pnpm, or Bun | [Package managers](#package-managers) | [Node.js 24.20.0+](#nodejs-version) (or `bun --bun` with Bun 1.4.5+) |
|
|
14
|
-
| Zero-dependency install with pinned runtime | [Release archive](#release-archive) | None (bundles its own runtime) |
|
|
15
|
-
|
|
16
|
-
## Package managers
|
|
17
|
-
|
|
18
|
-
Install globally with npm, pnpm, or Bun:
|
|
9
|
+
Open a terminal and run the command for your system. If you use WSL, run the macOS/Linux/WSL command inside your WSL terminal.
|
|
19
10
|
|
|
20
11
|
<Tabs>
|
|
21
|
-
<Tab title="
|
|
22
|
-
```bash
|
|
23
|
-
npm install -g @bastani/atomic
|
|
24
|
-
```
|
|
25
|
-
</Tab>
|
|
26
|
-
<Tab title="pnpm">
|
|
27
|
-
```bash
|
|
28
|
-
pnpm add -g @bastani/atomic
|
|
29
|
-
```
|
|
30
|
-
</Tab>
|
|
31
|
-
<Tab title="Bun">
|
|
32
|
-
```bash
|
|
33
|
-
bun add -g @bastani/atomic
|
|
34
|
-
```
|
|
35
|
-
</Tab>
|
|
36
|
-
</Tabs>
|
|
37
|
-
|
|
38
|
-
- **Runtime requirement:** All package-manager installs—**including `bun add -g @bastani/atomic`**—run on [Node.js 24.20.0 or newer](#nodejs-version) by default. Running a package-manager install on Bun requires launching explicitly with `bun --bun` and **Bun 1.4.5+**.
|
|
39
|
-
- **No install scripts required:** Pass `--ignore-scripts` if your environment disables npm lifecycle scripts.
|
|
40
|
-
- **Native bindings:** Your package manager selects the matching platform package (`@bastani/atomic-natives-<platform>`) automatically.
|
|
41
|
-
- **Local storage by default:** Sessions save in `~/.atomic/workflows/journal.sqlite` with no database server needed. To share sessions across machines, see [Sharing storage across hosts](/storage#sharing-storage-across-hosts).
|
|
42
|
-
|
|
43
|
-
### Node.js version
|
|
44
|
-
|
|
45
|
-
Package-manager installs require **Node.js 24 LTS, version 24.20.0 or newer**. If you cannot upgrade Node.js right away, use the [release archive](#release-archive), which bundles its own runtime.
|
|
46
|
-
|
|
47
|
-
<Note>
|
|
48
|
-
Node.js 24.20.0 fixes both an upstream SQLite WAL-reset bug that could corrupt Atomic's session database on releases earlier than 24.15.0 and an IPv6 TLS proxy bug affecting 24.17.0 through 24.19.0.
|
|
49
|
-
</Note>
|
|
50
|
-
|
|
51
|
-
- **Check your version:** Run `node --version`. It must print `v24.20.0` or a later `v24` release (or a newer major version).
|
|
52
|
-
- **On an older Node.js:** `atomic` stops at startup with `Atomic needs Node.js 24.20.0 or newer, but this is Node.js <version>.` and links back to this section.
|
|
53
|
-
- **Upgrade:** Install the current Node.js 24 LTS release from [nodejs.org](https://nodejs.org/en/download), or with a version manager (`nvm install 24`, `fnm install 24`, or `mise use -g node@24`), then reinstall Atomic with `npm install -g @bastani/atomic`.
|
|
54
|
-
|
|
55
|
-
### Package manager troubleshooting
|
|
56
|
-
|
|
57
|
-
- **Optional native packages:** Do not disable optional dependencies (`npm install --omit=optional`, `pnpm install --no-optional`, or `bun install --omit=optional`) in a project. Without your platform's native package, Atomic stops at startup naming the missing package; reinstall without those flags to fix it. (Global `npm install -g` still pulls transitive optional native packages even with `--omit=optional`.)
|
|
58
|
-
- **Dependency resolution:** Atomic pins its direct dependencies to exact versions while your package manager resolves sub-dependencies at install time. Use the [release archive](#release-archive) if you want the exact tested dependency tree.
|
|
59
|
-
- **Older Linux lockfiles:** On Linux, `npm ci` from an older lockfile lacking C-library tags can install both glibc and musl native packages; Atomic loads the matching one automatically.
|
|
60
|
-
- **Mismatched native module after an update:** Atomic refuses to start if its native module comes from a different release. If you updated Atomic while it was running, restart it; otherwise reinstall to repair the installation. For local native-binding diagnostics and overrides, see [Diagnostics and debugging](/development).
|
|
61
|
-
|
|
62
|
-
## Release archive
|
|
63
|
-
|
|
64
|
-
Install the self-contained release archive without Node.js or a package manager:
|
|
65
|
-
|
|
66
|
-
<Tabs>
|
|
67
|
-
<Tab title="macOS / Linux">
|
|
12
|
+
<Tab title="macOS, Linux, WSL">
|
|
68
13
|
```bash
|
|
69
14
|
curl -fsSL https://raw.githubusercontent.com/bastani-inc/atomic/main/install.sh | sh
|
|
70
15
|
```
|
|
@@ -76,7 +21,9 @@ Install the self-contained release archive without Node.js or a package manager:
|
|
|
76
21
|
</Tab>
|
|
77
22
|
</Tabs>
|
|
78
23
|
|
|
79
|
-
|
|
24
|
+
After installation, [verify that `atomic` is on your `PATH`](#verify-the-install).
|
|
25
|
+
|
|
26
|
+
The installer downloads the matching GitHub release archive, verifies its SHA-256 checksum, and installs it into a versioned directory. Keep the installed directory intact.
|
|
80
27
|
|
|
81
28
|
| Platform | Default payload directory | Default launcher | PATH behavior |
|
|
82
29
|
| --- | --- | --- | --- |
|
|
@@ -129,6 +76,31 @@ Health checks verify that `current` points to the target version inside the inst
|
|
|
129
76
|
|
|
130
77
|
</Accordion>
|
|
131
78
|
|
|
79
|
+
### Update a native install {#update-a-release-archive-install}
|
|
80
|
+
|
|
81
|
+
If you used the native installer, run these commands to update to the latest stable release and check the installed version:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
atomic update
|
|
85
|
+
atomic --version
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
A successful update prints a line like `Updated atomic from 0.10.19-alpha.1 to 0.10.19`. The second command prints the version new sessions will use. Open sessions stay on the old version. To reopen your most recent session in this project with the new version, exit Atomic and run `atomic --continue` from the project directory.
|
|
89
|
+
|
|
90
|
+
| To | Run |
|
|
91
|
+
| --- | --- |
|
|
92
|
+
| Update Atomic and your installed packages | `atomic update --all` |
|
|
93
|
+
| Include prereleases, which are previews of upcoming stable versions | `atomic update --prerelease` |
|
|
94
|
+
| Install a particular release | `atomic update --version 0.10.19-alpha.1`. Use any [published version](https://github.com/bastani-inc/atomic/releases) without a `v` prefix. |
|
|
95
|
+
|
|
96
|
+
Running `atomic update` without a version won't downgrade a prerelease to an older stable release. To switch back, pass the stable version explicitly.
|
|
97
|
+
|
|
98
|
+
- If the download fails, Atomic keeps the current version. Check your connection and try again. If Atomic keeps reporting a checksum mismatch, report the error and the release you tried to install.
|
|
99
|
+
- If the update can't confirm the new version, try `atomic update` again. If `atomic` no longer starts or the update fails again, rerun the [release archive installer](#release-archive).
|
|
100
|
+
- If Atomic says the install directory isn't writable, run the update as the account that owns the installation.
|
|
101
|
+
- If an update succeeds but `atomic --version` still shows the older version in a new terminal, check which command your shell is using. Run `command -v atomic` on macOS or Linux, or `Get-Command atomic` in PowerShell. Put the updated installation's launcher directory first on `PATH`.
|
|
102
|
+
- If your current or requested version doesn't support archive updates, or you unpacked the archive by hand, rerun the [installer](#release-archive). If another tool installed Atomic, use that tool or [configure a custom update command](/reference/cli#custom-update-command).
|
|
103
|
+
|
|
132
104
|
### Alpine and musl Linux archives
|
|
133
105
|
|
|
134
106
|
The shell installer automatically detects Alpine (`/etc/alpine-release`) and downloads `atomic-linux-x64-musl.tar.gz` or `atomic-linux-arm64-musl.tar.gz`. Keep the complete archive intact—including its bundled `libgcc` and `libstdc++` libraries—so stock Alpine runs without extra C++ runtime packages.
|
|
@@ -139,18 +111,105 @@ The shell installer automatically detects Alpine (`/etc/alpine-release`) and dow
|
|
|
139
111
|
atomic --version
|
|
140
112
|
```
|
|
141
113
|
|
|
142
|
-
|
|
114
|
+
Run this in a new terminal. It should print the installed version. If your shell can't find `atomic`, follow the native installer's instructions to add its bin directory to your `PATH`.
|
|
143
115
|
|
|
144
116
|
<Tip>
|
|
145
117
|
**Linux and SSH clipboard support:** To copy text from `/copy` or fullscreen selection on Linux, install `wl-clipboard` (Wayland) or `xclip` / `xsel` (X11). Over SSH or headless Linux, Atomic automatically forwards clipboard writes via OSC 52. See [Clipboard and OSC 52](/terminal-setup#clipboard-and-osc-52).
|
|
146
118
|
</Tip>
|
|
147
119
|
|
|
148
|
-
##
|
|
120
|
+
## Switch to the native installer
|
|
121
|
+
|
|
122
|
+
Installing with npm, pnpm, or Bun is not recommended. If you installed Atomic with one of these package managers, switch to the native installer:
|
|
123
|
+
|
|
124
|
+
<Steps>
|
|
125
|
+
<Step title="Run the native installer">
|
|
126
|
+
<Tabs>
|
|
127
|
+
<Tab title="macOS, Linux, WSL">
|
|
128
|
+
```bash
|
|
129
|
+
curl -fsSL https://raw.githubusercontent.com/bastani-inc/atomic/main/install.sh | sh
|
|
130
|
+
```
|
|
131
|
+
</Tab>
|
|
132
|
+
<Tab title="Windows PowerShell">
|
|
133
|
+
```powershell
|
|
134
|
+
irm https://raw.githubusercontent.com/bastani-inc/atomic/main/install.ps1 | iex
|
|
135
|
+
```
|
|
136
|
+
</Tab>
|
|
137
|
+
</Tabs>
|
|
138
|
+
</Step>
|
|
139
|
+
<Step title="Remove the old global package">
|
|
140
|
+
Run the command for the package manager you used:
|
|
141
|
+
|
|
142
|
+
<Tabs>
|
|
143
|
+
<Tab title="npm">
|
|
144
|
+
```bash
|
|
145
|
+
npm uninstall -g @bastani/atomic
|
|
146
|
+
```
|
|
147
|
+
</Tab>
|
|
148
|
+
<Tab title="pnpm">
|
|
149
|
+
```bash
|
|
150
|
+
pnpm remove -g @bastani/atomic
|
|
151
|
+
```
|
|
152
|
+
</Tab>
|
|
153
|
+
<Tab title="Bun">
|
|
154
|
+
```bash
|
|
155
|
+
bun remove -g @bastani/atomic
|
|
156
|
+
```
|
|
157
|
+
</Tab>
|
|
158
|
+
</Tabs>
|
|
159
|
+
</Step>
|
|
160
|
+
<Step title="Verify the install">
|
|
161
|
+
Open a new terminal and run `atomic --version`. Your settings and sessions stay in place.
|
|
162
|
+
</Step>
|
|
163
|
+
</Steps>
|
|
164
|
+
|
|
165
|
+
## Advanced installation options
|
|
166
|
+
|
|
167
|
+
### Package managers
|
|
168
|
+
|
|
169
|
+
You can also install Atomic as a global package with npm, pnpm, or Bun. This is not recommended.
|
|
149
170
|
|
|
150
|
-
|
|
151
|
-
|
|
171
|
+
<Tabs>
|
|
172
|
+
<Tab title="npm">
|
|
173
|
+
```bash
|
|
174
|
+
npm install -g @bastani/atomic
|
|
175
|
+
```
|
|
176
|
+
</Tab>
|
|
177
|
+
<Tab title="pnpm">
|
|
178
|
+
```bash
|
|
179
|
+
pnpm add -g @bastani/atomic
|
|
180
|
+
```
|
|
181
|
+
</Tab>
|
|
182
|
+
<Tab title="Bun">
|
|
183
|
+
```bash
|
|
184
|
+
bun add -g @bastani/atomic
|
|
185
|
+
```
|
|
186
|
+
</Tab>
|
|
187
|
+
</Tabs>
|
|
152
188
|
|
|
153
|
-
|
|
189
|
+
- To update a global install with your package manager, rerun the same command with `@latest` appended to the package name.
|
|
190
|
+
- npm lifecycle scripts aren't required. You can pass `--ignore-scripts`.
|
|
191
|
+
- Your package manager selects the native package for your platform (`@bastani/atomic-natives-<platform>`). Keep optional dependencies enabled.
|
|
192
|
+
|
|
193
|
+
### Node.js version
|
|
194
|
+
|
|
195
|
+
Package-manager installs, including `bun add -g`, run on **Node.js 24.20.0 or newer** by default. To run a package-manager install on Bun, use `bun --bun` with **Bun 1.4.5 or newer**. Installing Bun separately does not change which runtime `atomic` uses.
|
|
196
|
+
|
|
197
|
+
<Note>
|
|
198
|
+
Node.js 24.20.0 fixes both an upstream SQLite WAL-reset bug that could corrupt Atomic's session database on releases earlier than 24.15.0 and an IPv6 TLS proxy bug affecting 24.17.0 through 24.19.0.
|
|
199
|
+
</Note>
|
|
200
|
+
|
|
201
|
+
- Run `node --version` to check your version. If it's older than `v24.20.0`, Atomic stops at startup.
|
|
202
|
+
- To upgrade, install the current Node.js 24 LTS release from [nodejs.org](https://nodejs.org/en/download) or use a version manager (`nvm install 24`, `fnm install 24`, or `mise use -g node@24`). Then rerun the install command for your package manager.
|
|
203
|
+
|
|
204
|
+
### Package manager troubleshooting
|
|
205
|
+
|
|
206
|
+
- **Optional native packages:** Do not disable optional dependencies (`npm install --omit=optional`, `pnpm install --no-optional`, or `bun install --omit=optional`) in a project. Without your platform's native package, Atomic stops at startup and names the missing package. Reinstall without those flags. Global `npm install -g` still pulls transitive optional native packages even with `--omit=optional`.
|
|
207
|
+
- **Older Linux lockfiles:** On Linux, `npm ci` from an older lockfile lacking C-library tags can install both glibc and musl native packages. Atomic loads the matching one automatically.
|
|
208
|
+
- **Mismatched native module after an update:** Atomic refuses to start if its native module comes from a different release. If you updated Atomic while it was running, restart it. Otherwise, reinstall. For local native-binding diagnostics and overrides, see [Diagnostics and debugging](/development).
|
|
209
|
+
|
|
210
|
+
## Which runtime runs Atomic
|
|
211
|
+
|
|
212
|
+
Native installs bundle and run on Bun. Package-manager installs use [Node.js by default](#nodejs-version). Run `atomic storage status` to see the SQLite version used for local sessions.
|
|
154
213
|
|
|
155
214
|
## Git
|
|
156
215
|
|
|
@@ -187,12 +246,9 @@ Run Linux package-manager commands as root. See [git-scm.com/downloads](https://
|
|
|
187
246
|
|
|
188
247
|
## Updating while Intercom is running
|
|
189
248
|
|
|
190
|
-
|
|
249
|
+
[Intercom](/intercom) lets Atomic sessions exchange messages. The release archive installer and `atomic update` normally update Intercom too. If sessions are connected, the update leaves them running. The next session you start with the new version takes over.
|
|
191
250
|
|
|
192
|
-
|
|
193
|
-
- If sessions are still connected, they are not interrupted; the next session launched on the new version takes over the broker.
|
|
194
|
-
|
|
195
|
-
You can run `atomic intercom upgrade` manually at any time (it is idempotent), and you should run it after upgrading directly via a package manager such as `npm install -g @bastani/atomic`. Pinning an older release without `atomic intercom upgrade` skips this step silently; `atomic update` skips it with a note if `atomic` on `PATH` points to a different binary than the one updated.
|
|
251
|
+
If the update warns that it couldn't update Intercom, check `atomic --version` in a new terminal. If it shows the version you just installed, run `atomic intercom upgrade`. Run the same command if you updated Atomic directly with a package manager.
|
|
196
252
|
|
|
197
253
|
<Accordion title="Upgrading on Windows from 0.10.4 or earlier">
|
|
198
254
|
|
|
@@ -203,18 +259,14 @@ Earlier Intercom brokers (0.10.4 and earlier) locked files inside the npm instal
|
|
|
203
259
|
## Uninstall
|
|
204
260
|
|
|
205
261
|
<Tabs>
|
|
206
|
-
<Tab title="
|
|
207
|
-
```bash
|
|
208
|
-
npm uninstall -g @bastani/atomic
|
|
209
|
-
# or: pnpm remove -g @bastani/atomic
|
|
210
|
-
# or: bun remove -g @bastani/atomic
|
|
211
|
-
```
|
|
212
|
-
</Tab>
|
|
213
|
-
<Tab title="macOS / Linux archive">
|
|
262
|
+
<Tab title="Native: macOS, Linux, WSL">
|
|
214
263
|
Delete `~/.local/share/atomic` and `~/.local/bin/atomic` (or your custom `ATOMIC_INSTALL_DIR` and `ATOMIC_BIN_DIR` launcher).
|
|
215
264
|
</Tab>
|
|
216
|
-
<Tab title="Windows
|
|
217
|
-
Delete `%LOCALAPPDATA%\atomic`. If you set `ATOMIC_BIN_DIR
|
|
265
|
+
<Tab title="Native: Windows">
|
|
266
|
+
Delete the Atomic install folder. By default it is `%LOCALAPPDATA%\atomic`. If you set `ATOMIC_BIN_DIR` to a separate folder, remove `atomic.cmd`, the `atomic-current` folder link, and any Atomic update folder links named like `.atomic-a1b2c3` from that folder. Remove the folder from your user `PATH` only if no other commands use it.
|
|
267
|
+
</Tab>
|
|
268
|
+
<Tab title="Package manager">
|
|
269
|
+
Run the [uninstall command for your package manager](#switch-to-the-native-installer).
|
|
218
270
|
</Tab>
|
|
219
271
|
</Tabs>
|
|
220
272
|
|