@bastani/atomic 0.9.89-alpha.2 → 0.9.90-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 +357 -0
- package/dist/builtin/intercom/CHANGELOG.md +36 -0
- package/dist/builtin/intercom/README.md +3 -1
- package/dist/builtin/intercom/broker/broker.ts +35 -10
- package/dist/builtin/intercom/broker/client.ts +42 -1
- package/dist/builtin/intercom/index.bundle.mjs +400 -67
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/intercom/skills/intercom/SKILL.md +24 -5
- package/dist/builtin/intercom/types.ts +5 -0
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +66 -0
- package/dist/builtin/subagents/README.md +18 -20
- package/dist/builtin/subagents/agents/worker.md +1 -1
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/skills/feedback/SKILL.md +2 -2
- package/dist/builtin/subagents/skills/qlty/SKILL.md +2 -2
- package/dist/builtin/subagents/skills/qlty/references/commands.md +45 -12
- package/dist/builtin/subagents/skills/qlty/references/quickstart.md +102 -21
- package/dist/builtin/subagents/skills/subagent/SKILL.md +18 -17
- package/dist/builtin/subagents/skills/tdd/LICENSE.txt +50 -0
- package/dist/builtin/subagents/skills/tdd/SKILL.md +10 -0
- package/dist/builtin/subagents/skills/tdd/tests.md +16 -0
- package/dist/builtin/subagents/skills/tmux/LICENSE.txt +24 -0
- package/dist/builtin/subagents/skills/tmux/SKILL.md +20 -1
- package/dist/builtin/subagents/skills/tmux/scripts/find-sessions.sh +19 -10
- package/dist/builtin/subagents/skills/tmux/scripts/wait-for-text.sh +231 -19
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +1911 -845
- package/dist/builtin/web-access/CHANGELOG.md +17 -0
- package/dist/builtin/web-access/index.bundle.mjs +158 -34
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/builtin/workflows/CHANGELOG.md +130 -0
- package/dist/builtin/workflows/builtin/{chunk-tjk7jp9a.js → chunk-akmcsx14.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-913nwrzq.js → chunk-erpybg3c.js} +109 -30
- package/dist/builtin/workflows/builtin/{chunk-e07n7en6.js → chunk-wpgpr31s.js} +1 -1
- package/dist/builtin/workflows/builtin/goal.js +2 -2
- package/dist/builtin/workflows/builtin/index.js +3 -3
- package/dist/builtin/workflows/builtin/ralph.js +2 -2
- package/dist/builtin/workflows/package.json +1 -1
- package/dist/builtin/workflows/skills/bro/SKILL.md +1 -1
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5_2.md +19 -19
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_haiku_5_5.md +2 -2
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5_5.md +3 -3
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6.md +2 -2
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_1_sol.md +2 -2
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_1_terra.md +3 -3
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_2.md +3 -2
- package/dist/builtin/workflows/skills/show-me/SKILL.md +2 -2
- package/dist/builtin/workflows/skills/skill-creator/scripts/run_eval.py +29 -24
- package/dist/builtin/workflows/skills/teach/SKILL.md +8 -8
- package/dist/builtin/workflows/skills/unslop/SKILL.md +29 -51
- package/dist/builtin/workflows/src/durable/journal/internal.d.ts +10 -5
- package/dist/builtin/workflows/src/durable/journal/sharded-run-journal.d.ts +6 -3
- package/dist/builtin/workflows/src/durable/journal/sql-run-journal.d.ts +25 -3
- package/dist/builtin/workflows/src/extension/index.bundle.mjs +4444 -1356
- package/dist/builtin/workflows/src/extension/local-worker-entry.mjs +2544 -568
- package/dist/builtin/workflows/src/index.js +2467 -549
- package/dist/builtin/workflows/src/local-worker-entry.mjs +2544 -568
- package/dist/cli/storage-command.d.ts +6 -0
- package/dist/cli/storage-command.d.ts.map +1 -1
- package/dist/cli/storage-command.js +11 -0
- package/dist/cli/storage-command.js.map +1 -1
- package/dist/cli/storage-search-database.d.ts +18 -0
- package/dist/cli/storage-search-database.d.ts.map +1 -0
- package/dist/cli/storage-search-database.js +90 -0
- package/dist/cli/storage-search-database.js.map +1 -0
- package/dist/cli/storage-search-session.d.ts +5 -0
- package/dist/cli/storage-search-session.d.ts.map +1 -0
- package/dist/cli/storage-search-session.js +133 -0
- package/dist/cli/storage-search-session.js.map +1 -0
- package/dist/core/agent-session-accessors.d.ts.map +1 -1
- package/dist/core/agent-session-accessors.js +107 -1
- package/dist/core/agent-session-accessors.js.map +1 -1
- package/dist/core/agent-session-bash.d.ts.map +1 -1
- package/dist/core/agent-session-bash.js +2 -0
- package/dist/core/agent-session-bash.js.map +1 -1
- package/dist/core/agent-session-boundaries.d.ts +2 -0
- package/dist/core/agent-session-boundaries.d.ts.map +1 -1
- package/dist/core/agent-session-boundaries.js +9 -4
- package/dist/core/agent-session-boundaries.js.map +1 -1
- package/dist/core/agent-session-custom-message-commit.d.ts.map +1 -1
- package/dist/core/agent-session-custom-message-commit.js +2 -1
- package/dist/core/agent-session-custom-message-commit.js.map +1 -1
- package/dist/core/agent-session-detached-tools.d.ts +3 -2
- package/dist/core/agent-session-detached-tools.d.ts.map +1 -1
- package/dist/core/agent-session-detached-tools.js +156 -41
- package/dist/core/agent-session-detached-tools.js.map +1 -1
- package/dist/core/agent-session-events.d.ts +2 -1
- package/dist/core/agent-session-events.d.ts.map +1 -1
- package/dist/core/agent-session-events.js +59 -23
- package/dist/core/agent-session-events.js.map +1 -1
- package/dist/core/agent-session-extension-bindings.d.ts.map +1 -1
- package/dist/core/agent-session-extension-bindings.js +53 -4
- package/dist/core/agent-session-extension-bindings.js.map +1 -1
- package/dist/core/agent-session-message-queue.d.ts.map +1 -1
- package/dist/core/agent-session-message-queue.js +2 -1
- package/dist/core/agent-session-message-queue.js.map +1 -1
- package/dist/core/agent-session-methods.d.ts +23 -3
- package/dist/core/agent-session-methods.d.ts.map +1 -1
- package/dist/core/agent-session-methods.js.map +1 -1
- package/dist/core/agent-session-models.d.ts.map +1 -1
- package/dist/core/agent-session-models.js +2 -0
- package/dist/core/agent-session-models.js.map +1 -1
- package/dist/core/agent-session-prompt.d.ts +1 -1
- package/dist/core/agent-session-prompt.d.ts.map +1 -1
- package/dist/core/agent-session-prompt.js +14 -3
- package/dist/core/agent-session-prompt.js.map +1 -1
- package/dist/core/agent-session-queue-pause.d.ts +2 -1
- package/dist/core/agent-session-queue-pause.d.ts.map +1 -1
- package/dist/core/agent-session-queue-pause.js +8 -4
- package/dist/core/agent-session-queue-pause.js.map +1 -1
- package/dist/core/agent-session-retry.d.ts +7 -3
- package/dist/core/agent-session-retry.d.ts.map +1 -1
- package/dist/core/agent-session-retry.js +113 -112
- package/dist/core/agent-session-retry.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts +15 -0
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +26 -0
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-services.d.ts +5 -2
- package/dist/core/agent-session-services.d.ts.map +1 -1
- package/dist/core/agent-session-services.js +6 -6
- package/dist/core/agent-session-services.js.map +1 -1
- package/dist/core/agent-session-tasks.js.map +1 -1
- package/dist/core/agent-session-tool-registry.d.ts.map +1 -1
- package/dist/core/agent-session-tool-registry.js +4 -2
- package/dist/core/agent-session-tool-registry.js.map +1 -1
- package/dist/core/agent-session-types.d.ts +19 -1
- package/dist/core/agent-session-types.d.ts.map +1 -1
- package/dist/core/agent-session-types.js.map +1 -1
- package/dist/core/agent-session.d.ts +11 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +8 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/anthropic-thinking-guard.d.ts +16 -1
- package/dist/core/anthropic-thinking-guard.d.ts.map +1 -1
- package/dist/core/anthropic-thinking-guard.js +124 -7
- package/dist/core/anthropic-thinking-guard.js.map +1 -1
- package/dist/core/auth-storage.d.ts +3 -0
- package/dist/core/auth-storage.d.ts.map +1 -1
- package/dist/core/auth-storage.js +10 -0
- package/dist/core/auth-storage.js.map +1 -1
- package/dist/core/detached-tool-output.d.ts +4 -0
- package/dist/core/detached-tool-output.d.ts.map +1 -0
- package/dist/core/detached-tool-output.js +48 -0
- package/dist/core/detached-tool-output.js.map +1 -0
- package/dist/core/event-loop-monitor.d.ts +4 -1
- package/dist/core/event-loop-monitor.d.ts.map +1 -1
- package/dist/core/event-loop-monitor.js +84 -159
- package/dist/core/event-loop-monitor.js.map +1 -1
- package/dist/core/export-html/index.d.ts.map +1 -1
- package/dist/core/export-html/index.js +26 -4
- package/dist/core/export-html/index.js.map +1 -1
- package/dist/core/export-html/saved-agent-cards.d.ts +15 -0
- package/dist/core/export-html/saved-agent-cards.d.ts.map +1 -0
- package/dist/core/export-html/saved-agent-cards.js +255 -0
- package/dist/core/export-html/saved-agent-cards.js.map +1 -0
- package/dist/core/export-html/saved-agent-viewer.js +101 -0
- package/dist/core/extensions/builtin-subagent-record-writer.d.ts +11 -0
- package/dist/core/extensions/builtin-subagent-record-writer.d.ts.map +1 -0
- package/dist/core/extensions/builtin-subagent-record-writer.js +33 -0
- package/dist/core/extensions/builtin-subagent-record-writer.js.map +1 -0
- package/dist/core/extensions/loader-api.d.ts +1 -1
- package/dist/core/extensions/loader-api.d.ts.map +1 -1
- package/dist/core/extensions/loader-api.js +9 -2
- package/dist/core/extensions/loader-api.js.map +1 -1
- package/dist/core/extensions/loader-bindings.d.ts +7 -0
- package/dist/core/extensions/loader-bindings.d.ts.map +1 -1
- package/dist/core/extensions/loader-bindings.js +42 -1
- package/dist/core/extensions/loader-bindings.js.map +1 -1
- package/dist/core/extensions/loader-core.d.ts.map +1 -1
- package/dist/core/extensions/loader-core.js +33 -12
- package/dist/core/extensions/loader-core.js.map +1 -1
- package/dist/core/extensions/runner-events.d.ts +2 -0
- package/dist/core/extensions/runner-events.d.ts.map +1 -1
- package/dist/core/extensions/runner-events.js +17 -7
- package/dist/core/extensions/runner-events.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +6 -2
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +5 -2
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/ui-types.d.ts +4 -0
- package/dist/core/extensions/ui-types.d.ts.map +1 -1
- package/dist/core/extensions/ui-types.js.map +1 -1
- package/dist/core/extensions/workflow-run-control-hub.d.ts +2 -2
- package/dist/core/extensions/workflow-run-control-hub.d.ts.map +1 -1
- package/dist/core/extensions/workflow-run-control-hub.js +2 -2
- package/dist/core/extensions/workflow-run-control-hub.js.map +1 -1
- package/dist/core/extensions/workflow-run-control.d.ts +10 -3
- package/dist/core/extensions/workflow-run-control.d.ts.map +1 -1
- package/dist/core/extensions/workflow-run-control.js.map +1 -1
- package/dist/core/first-prompt-model.d.ts +22 -0
- package/dist/core/first-prompt-model.d.ts.map +1 -0
- package/dist/core/first-prompt-model.js +84 -0
- package/dist/core/first-prompt-model.js.map +1 -0
- package/dist/core/footer-data-provider.d.ts.map +1 -1
- package/dist/core/footer-data-provider.js +11 -7
- package/dist/core/footer-data-provider.js.map +1 -1
- package/dist/core/fork-replay-pair.d.ts +22 -0
- package/dist/core/fork-replay-pair.d.ts.map +1 -0
- package/dist/core/fork-replay-pair.js +174 -0
- package/dist/core/fork-replay-pair.js.map +1 -0
- package/dist/core/fork-replay-wire.d.ts +11 -0
- package/dist/core/fork-replay-wire.d.ts.map +1 -0
- package/dist/core/fork-replay-wire.js +116 -0
- package/dist/core/fork-replay-wire.js.map +1 -0
- package/dist/core/messages.d.ts +2 -0
- package/dist/core/messages.d.ts.map +1 -1
- package/dist/core/messages.js +8 -4
- package/dist/core/messages.js.map +1 -1
- package/dist/core/model-runtime.d.ts +10 -1
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +76 -11
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/package-manager-auto-resources.d.ts.map +1 -1
- package/dist/core/package-manager-auto-resources.js +3 -2
- package/dist/core/package-manager-auto-resources.js.map +1 -1
- package/dist/core/package-manager-resource-files.js +7 -8
- package/dist/core/package-manager-resource-files.js.map +1 -1
- package/dist/core/project-trust-state.d.ts +90 -0
- package/dist/core/project-trust-state.d.ts.map +1 -0
- package/dist/core/project-trust-state.js +65 -0
- package/dist/core/project-trust-state.js.map +1 -0
- package/dist/core/provider-rate-limits.d.ts +6 -0
- package/dist/core/provider-rate-limits.d.ts.map +1 -1
- package/dist/core/provider-rate-limits.js +43 -0
- package/dist/core/provider-rate-limits.js.map +1 -1
- package/dist/core/provider-request-admission.d.ts.map +1 -1
- package/dist/core/provider-request-admission.js +10 -1
- package/dist/core/provider-request-admission.js.map +1 -1
- package/dist/core/remote-catalog-provider.d.ts +6 -1
- package/dist/core/remote-catalog-provider.d.ts.map +1 -1
- package/dist/core/remote-catalog-provider.js +22 -1
- package/dist/core/remote-catalog-provider.js.map +1 -1
- package/dist/core/resolve-config-value.d.ts.map +1 -1
- package/dist/core/resolve-config-value.js +5 -2
- package/dist/core/resolve-config-value.js.map +1 -1
- package/dist/core/resource-loader-core.d.ts.map +1 -1
- package/dist/core/resource-loader-core.js +3 -0
- package/dist/core/resource-loader-core.js.map +1 -1
- package/dist/core/resource-loader-extensions.d.ts +2 -2
- package/dist/core/resource-loader-extensions.d.ts.map +1 -1
- package/dist/core/resource-loader-extensions.js +6 -4
- package/dist/core/resource-loader-extensions.js.map +1 -1
- package/dist/core/resource-loader-package-resources.d.ts +1 -0
- package/dist/core/resource-loader-package-resources.d.ts.map +1 -1
- package/dist/core/resource-loader-package-resources.js +2 -1
- package/dist/core/resource-loader-package-resources.js.map +1 -1
- package/dist/core/resource-loader-reload.d.ts +1 -1
- package/dist/core/resource-loader-reload.d.ts.map +1 -1
- package/dist/core/resource-loader-reload.js +3 -2
- package/dist/core/resource-loader-reload.js.map +1 -1
- package/dist/core/resource-loader-types.d.ts +2 -0
- package/dist/core/resource-loader-types.d.ts.map +1 -1
- package/dist/core/resource-loader-types.js.map +1 -1
- package/dist/core/resume/blueprint/actions.d.ts.map +1 -1
- package/dist/core/resume/blueprint/actions.js +15 -15
- package/dist/core/resume/blueprint/actions.js.map +1 -1
- package/dist/core/resume/blueprint/process.d.ts +6 -1
- package/dist/core/resume/blueprint/process.d.ts.map +1 -1
- package/dist/core/resume/blueprint/process.js +132 -21
- package/dist/core/resume/blueprint/process.js.map +1 -1
- package/dist/core/runtime-credentials.d.ts +5 -0
- package/dist/core/runtime-credentials.d.ts.map +1 -1
- package/dist/core/runtime-credentials.js +34 -0
- package/dist/core/runtime-credentials.js.map +1 -1
- package/dist/core/sdk-types.d.ts +2 -0
- package/dist/core/sdk-types.d.ts.map +1 -1
- package/dist/core/sdk-types.js.map +1 -1
- package/dist/core/sdk.d.ts +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +187 -32
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-account-model.d.ts +15 -0
- package/dist/core/session-account-model.d.ts.map +1 -0
- package/dist/core/session-account-model.js +105 -0
- package/dist/core/session-account-model.js.map +1 -0
- package/dist/core/session-lifecycle-scope.d.ts +5 -0
- package/dist/core/session-lifecycle-scope.d.ts.map +1 -1
- package/dist/core/session-lifecycle-scope.js.map +1 -1
- package/dist/core/session-manager-core.d.ts +21 -2
- package/dist/core/session-manager-core.d.ts.map +1 -1
- package/dist/core/session-manager-core.js +64 -8
- package/dist/core/session-manager-core.js.map +1 -1
- package/dist/core/session-manager-history.d.ts +3 -1
- package/dist/core/session-manager-history.d.ts.map +1 -1
- package/dist/core/session-manager-history.js +19 -5
- package/dist/core/session-manager-history.js.map +1 -1
- package/dist/core/session-manager-types.d.ts +2 -0
- package/dist/core/session-manager-types.d.ts.map +1 -1
- package/dist/core/session-manager-types.js.map +1 -1
- package/dist/core/session-retry-status.d.ts +22 -0
- package/dist/core/session-retry-status.d.ts.map +1 -0
- package/dist/core/session-retry-status.js +25 -0
- package/dist/core/session-retry-status.js.map +1 -0
- package/dist/core/session-worktree-snapshots.d.ts +4 -2
- package/dist/core/session-worktree-snapshots.d.ts.map +1 -1
- package/dist/core/session-worktree-snapshots.js +8 -4
- package/dist/core/session-worktree-snapshots.js.map +1 -1
- package/dist/core/settings-manager-core.d.ts +4 -0
- package/dist/core/settings-manager-core.d.ts.map +1 -1
- package/dist/core/settings-manager-core.js +73 -1
- package/dist/core/settings-manager-core.js.map +1 -1
- package/dist/core/settings-schema.js +1 -1
- package/dist/core/settings-schema.js.map +1 -1
- package/dist/core/slash-commands.d.ts +2 -2
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +15 -4
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/storage/database.d.ts +14 -2
- package/dist/core/storage/database.d.ts.map +1 -1
- package/dist/core/storage/database.js.map +1 -1
- package/dist/core/storage/dialect.d.ts +13 -0
- package/dist/core/storage/dialect.d.ts.map +1 -1
- package/dist/core/storage/dialect.js +9 -1
- package/dist/core/storage/dialect.js.map +1 -1
- package/dist/core/storage/errors.d.ts +23 -1
- package/dist/core/storage/errors.d.ts.map +1 -1
- package/dist/core/storage/errors.js +28 -5
- package/dist/core/storage/errors.js.map +1 -1
- package/dist/core/storage/journal-transfer.d.ts.map +1 -1
- package/dist/core/storage/journal-transfer.js +90 -5
- package/dist/core/storage/journal-transfer.js.map +1 -1
- package/dist/core/storage/node-sqlite.d.ts.map +1 -1
- package/dist/core/storage/node-sqlite.js +61 -1
- package/dist/core/storage/node-sqlite.js.map +1 -1
- package/dist/core/storage/session/chunked-resume-projection.d.ts +4 -0
- package/dist/core/storage/session/chunked-resume-projection.d.ts.map +1 -0
- package/dist/core/storage/session/chunked-resume-projection.js +369 -0
- package/dist/core/storage/session/chunked-resume-projection.js.map +1 -0
- package/dist/core/storage/session/legacy-session-store.d.ts +5 -0
- package/dist/core/storage/session/legacy-session-store.d.ts.map +1 -1
- package/dist/core/storage/session/legacy-session-store.js +10 -2
- package/dist/core/storage/session/legacy-session-store.js.map +1 -1
- package/dist/core/storage/session/memory-session-store.d.ts.map +1 -1
- package/dist/core/storage/session/memory-session-store.js +6 -1
- package/dist/core/storage/session/memory-session-store.js.map +1 -1
- package/dist/core/storage/session/snapshot-generation.d.ts +8 -0
- package/dist/core/storage/session/snapshot-generation.d.ts.map +1 -0
- package/dist/core/storage/session/snapshot-generation.js +17 -0
- package/dist/core/storage/session/snapshot-generation.js.map +1 -0
- package/dist/core/storage/session/sql-session-store.d.ts +12 -0
- package/dist/core/storage/session/sql-session-store.d.ts.map +1 -1
- package/dist/core/storage/session/sql-session-store.js +243 -46
- package/dist/core/storage/session/sql-session-store.js.map +1 -1
- package/dist/core/storage/sqlite-facade.d.ts +17 -2
- package/dist/core/storage/sqlite-facade.d.ts.map +1 -1
- package/dist/core/storage/sqlite-facade.js +17 -1
- package/dist/core/storage/sqlite-facade.js.map +1 -1
- package/dist/core/tasks/agent-adapter.d.ts +13 -2
- package/dist/core/tasks/agent-adapter.d.ts.map +1 -1
- package/dist/core/tasks/agent-adapter.js +25 -8
- package/dist/core/tasks/agent-adapter.js.map +1 -1
- package/dist/core/tasks/agent-panel-rules.d.ts +77 -0
- package/dist/core/tasks/agent-panel-rules.d.ts.map +1 -0
- package/dist/core/tasks/agent-panel-rules.js +88 -0
- package/dist/core/tasks/agent-panel-rules.js.map +1 -0
- package/dist/core/tasks/agent-panel-source.d.ts +19 -0
- package/dist/core/tasks/agent-panel-source.d.ts.map +1 -1
- package/dist/core/tasks/agent-panel-source.js +50 -9
- package/dist/core/tasks/agent-panel-source.js.map +1 -1
- package/dist/core/tasks/command-output.d.ts +17 -2
- package/dist/core/tasks/command-output.d.ts.map +1 -1
- package/dist/core/tasks/command-output.js +59 -3
- package/dist/core/tasks/command-output.js.map +1 -1
- package/dist/core/tasks/completion-message.d.ts +8 -3
- package/dist/core/tasks/completion-message.d.ts.map +1 -1
- package/dist/core/tasks/completion-message.js +14 -10
- package/dist/core/tasks/completion-message.js.map +1 -1
- package/dist/core/tasks/completion.d.ts +14 -4
- package/dist/core/tasks/completion.d.ts.map +1 -1
- package/dist/core/tasks/completion.js +58 -17
- package/dist/core/tasks/completion.js.map +1 -1
- package/dist/core/tasks/contracts.d.ts +10 -1
- package/dist/core/tasks/contracts.d.ts.map +1 -1
- package/dist/core/tasks/contracts.js +3 -1
- package/dist/core/tasks/contracts.js.map +1 -1
- package/dist/core/tasks/heartbeat.js +2 -1
- package/dist/core/tasks/heartbeat.js.map +1 -1
- package/dist/core/tasks/live-elapsed.d.ts +16 -1
- package/dist/core/tasks/live-elapsed.d.ts.map +1 -1
- package/dist/core/tasks/live-elapsed.js +43 -4
- package/dist/core/tasks/live-elapsed.js.map +1 -1
- package/dist/core/tasks/owner-store.d.ts +8 -0
- package/dist/core/tasks/owner-store.d.ts.map +1 -1
- package/dist/core/tasks/owner-store.js +34 -4
- package/dist/core/tasks/owner-store.js.map +1 -1
- package/dist/core/tasks/session-scope.d.ts +7 -0
- package/dist/core/tasks/session-scope.d.ts.map +1 -1
- package/dist/core/tasks/session-scope.js +15 -9
- package/dist/core/tasks/session-scope.js.map +1 -1
- package/dist/core/tasks/supervisor.d.ts +7 -3
- package/dist/core/tasks/supervisor.d.ts.map +1 -1
- package/dist/core/tasks/supervisor.js +92 -17
- package/dist/core/tasks/supervisor.js.map +1 -1
- package/dist/core/tasks/task-archive-snapshot.d.ts +7 -0
- package/dist/core/tasks/task-archive-snapshot.d.ts.map +1 -0
- package/dist/core/tasks/task-archive-snapshot.js +33 -0
- package/dist/core/tasks/task-archive-snapshot.js.map +1 -0
- package/dist/core/tasks/task-resumer.d.ts +5 -3
- package/dist/core/tasks/task-resumer.d.ts.map +1 -1
- package/dist/core/tasks/task-resumer.js +37 -13
- package/dist/core/tasks/task-resumer.js.map +1 -1
- package/dist/core/tasks/task-view-source.d.ts +25 -3
- package/dist/core/tasks/task-view-source.d.ts.map +1 -1
- package/dist/core/tasks/task-view-source.js +144 -44
- package/dist/core/tasks/task-view-source.js.map +1 -1
- package/dist/core/tasks/transcript.d.ts +3 -1
- package/dist/core/tasks/transcript.d.ts.map +1 -1
- package/dist/core/tasks/transcript.js +27 -0
- package/dist/core/tasks/transcript.js.map +1 -1
- package/dist/core/tools/ask-user-question/view/dialog-builder.d.ts.map +1 -1
- package/dist/core/tools/ask-user-question/view/dialog-builder.js +2 -1
- package/dist/core/tools/ask-user-question/view/dialog-builder.js.map +1 -1
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +2 -1
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/history-protocol.d.ts.map +1 -1
- package/dist/core/tools/history-protocol.js +130 -29
- package/dist/core/tools/history-protocol.js.map +1 -1
- package/dist/core/tools/history-search-position.d.ts +30 -0
- package/dist/core/tools/history-search-position.d.ts.map +1 -0
- package/dist/core/tools/history-search-position.js +161 -0
- package/dist/core/tools/history-search-position.js.map +1 -0
- package/dist/core/tools/history-search-wire.d.ts +25 -0
- package/dist/core/tools/history-search-wire.d.ts.map +1 -0
- package/dist/core/tools/history-search-wire.js +210 -0
- package/dist/core/tools/history-search-wire.js.map +1 -0
- package/dist/core/tools/resource-selectors.d.ts +7 -1
- package/dist/core/tools/resource-selectors.d.ts.map +1 -1
- package/dist/core/tools/resource-selectors.js +18 -11
- package/dist/core/tools/resource-selectors.js.map +1 -1
- package/dist/core/tools/search.d.ts.map +1 -1
- package/dist/core/tools/search.js +24 -3
- package/dist/core/tools/search.js.map +1 -1
- package/dist/core/tools/sqlite-selector-connection.d.ts +3 -0
- package/dist/core/tools/sqlite-selector-connection.d.ts.map +1 -1
- package/dist/core/tools/sqlite-selector-connection.js +4 -0
- package/dist/core/tools/sqlite-selector-connection.js.map +1 -1
- package/dist/core/tools/tool-abort-grace.d.ts +13 -0
- package/dist/core/tools/tool-abort-grace.d.ts.map +1 -0
- package/dist/core/tools/tool-abort-grace.js +72 -0
- package/dist/core/tools/tool-abort-grace.js.map +1 -0
- package/dist/core/tools/tool-concurrency.d.ts +5 -1
- package/dist/core/tools/tool-concurrency.d.ts.map +1 -1
- package/dist/core/tools/tool-concurrency.js +36 -6
- package/dist/core/tools/tool-concurrency.js.map +1 -1
- package/dist/core/workflow-resume.d.ts +1 -1
- package/dist/core/workflow-resume.d.ts.map +1 -1
- package/dist/core/workflow-resume.js +13 -3
- package/dist/core/workflow-resume.js.map +1 -1
- package/dist/core/workflow-summary-lifecycle.d.ts.map +1 -1
- package/dist/core/workflow-summary-lifecycle.js +8 -2
- package/dist/core/workflow-summary-lifecycle.js.map +1 -1
- package/dist/core/workspace/errors.d.ts +5 -2
- package/dist/core/workspace/errors.d.ts.map +1 -1
- package/dist/core/workspace/errors.js +59 -5
- package/dist/core/workspace/errors.js.map +1 -1
- package/dist/core/worktree-snapshot/blob-store.d.ts +138 -17
- package/dist/core/worktree-snapshot/blob-store.d.ts.map +1 -1
- package/dist/core/worktree-snapshot/blob-store.js +788 -82
- package/dist/core/worktree-snapshot/blob-store.js.map +1 -1
- package/dist/core/worktree-snapshot/garbage.d.ts +17 -2
- package/dist/core/worktree-snapshot/garbage.d.ts.map +1 -1
- package/dist/core/worktree-snapshot/garbage.js +20 -4
- package/dist/core/worktree-snapshot/garbage.js.map +1 -1
- package/dist/core/worktree-snapshot/index.d.ts +1 -1
- package/dist/core/worktree-snapshot/index.d.ts.map +1 -1
- package/dist/core/worktree-snapshot/index.js +1 -1
- package/dist/core/worktree-snapshot/index.js.map +1 -1
- package/dist/core/worktree-snapshot/pool.d.ts.map +1 -1
- package/dist/core/worktree-snapshot/pool.js +38 -6
- package/dist/core/worktree-snapshot/pool.js.map +1 -1
- package/dist/core/worktree-snapshot/shared-clock.d.ts +3 -1
- package/dist/core/worktree-snapshot/shared-clock.d.ts.map +1 -1
- package/dist/core/worktree-snapshot/shared-clock.js +116 -26
- package/dist/core/worktree-snapshot/shared-clock.js.map +1 -1
- package/dist/core/worktree-snapshot/types.d.ts +4 -1
- package/dist/core/worktree-snapshot/types.d.ts.map +1 -1
- package/dist/core/worktree-snapshot/types.js.map +1 -1
- package/dist/extensions/llama/huggingface-ui.d.ts.map +1 -1
- package/dist/extensions/llama/huggingface-ui.js +2 -2
- package/dist/extensions/llama/huggingface-ui.js.map +1 -1
- package/dist/extensions/llama/index.d.ts +2 -0
- package/dist/extensions/llama/index.d.ts.map +1 -1
- package/dist/extensions/llama/index.js +19 -2
- package/dist/extensions/llama/index.js.map +1 -1
- package/dist/index.d.ts +9 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +74 -15
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/agent-panel.d.ts +22 -6
- package/dist/modes/interactive/components/agent-panel.d.ts.map +1 -1
- package/dist/modes/interactive/components/agent-panel.js +80 -23
- package/dist/modes/interactive/components/agent-panel.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts +2 -0
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +11 -0
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/atomic-working-status.d.ts.map +1 -1
- package/dist/modes/interactive/components/atomic-working-status.js +10 -3
- package/dist/modes/interactive/components/atomic-working-status.js.map +1 -1
- package/dist/modes/interactive/components/bash-execution.d.ts +3 -2
- package/dist/modes/interactive/components/bash-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/bash-execution.js +7 -7
- package/dist/modes/interactive/components/bash-execution.js.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.d.ts +6 -0
- package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.js +12 -7
- package/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/chat-message-renderer.d.ts +2 -0
- package/dist/modes/interactive/components/chat-message-renderer.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-message-renderer.js +24 -3
- package/dist/modes/interactive/components/chat-message-renderer.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-actions.d.ts +1 -1
- package/dist/modes/interactive/components/chat-session-host-actions.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-actions.js +16 -10
- package/dist/modes/interactive/components/chat-session-host-actions.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-events.d.ts +10 -0
- package/dist/modes/interactive/components/chat-session-host-events.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-events.js +76 -31
- package/dist/modes/interactive/components/chat-session-host-events.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-rendering.d.ts +17 -5
- package/dist/modes/interactive/components/chat-session-host-rendering.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-rendering.js +79 -24
- package/dist/modes/interactive/components/chat-session-host-rendering.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-runtime.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-runtime.js +5 -4
- package/dist/modes/interactive/components/chat-session-host-runtime.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-state.d.ts +16 -1
- package/dist/modes/interactive/components/chat-session-host-state.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-state.js +22 -0
- package/dist/modes/interactive/components/chat-session-host-state.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-types.d.ts +8 -2
- package/dist/modes/interactive/components/chat-session-host-types.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-types.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-utils.d.ts +1 -0
- package/dist/modes/interactive/components/chat-session-host-utils.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-utils.js +2 -1
- package/dist/modes/interactive/components/chat-session-host-utils.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host.d.ts +35 -9
- package/dist/modes/interactive/components/chat-session-host.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host.js +129 -35
- package/dist/modes/interactive/components/chat-session-host.js.map +1 -1
- package/dist/modes/interactive/components/chat-transcript.d.ts +13 -2
- package/dist/modes/interactive/components/chat-transcript.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-transcript.js +24 -4
- package/dist/modes/interactive/components/chat-transcript.js.map +1 -1
- package/dist/modes/interactive/components/compaction-boundary-message.d.ts +6 -0
- package/dist/modes/interactive/components/compaction-boundary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/compaction-boundary-message.js +12 -7
- package/dist/modes/interactive/components/compaction-boundary-message.js.map +1 -1
- package/dist/modes/interactive/components/composer-rule.d.ts +0 -2
- package/dist/modes/interactive/components/composer-rule.d.ts.map +1 -1
- package/dist/modes/interactive/components/composer-rule.js +4 -6
- package/dist/modes/interactive/components/composer-rule.js.map +1 -1
- package/dist/modes/interactive/components/countdown-timer.d.ts +5 -9
- package/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -1
- package/dist/modes/interactive/components/countdown-timer.js +32 -23
- package/dist/modes/interactive/components/countdown-timer.js.map +1 -1
- package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-editor.js +4 -3
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/dist/modes/interactive/components/custom-entry.d.ts +6 -0
- package/dist/modes/interactive/components/custom-entry.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-entry.js +15 -0
- package/dist/modes/interactive/components/custom-entry.js.map +1 -1
- package/dist/modes/interactive/components/custom-message.d.ts +7 -3
- package/dist/modes/interactive/components/custom-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-message.js +17 -15
- package/dist/modes/interactive/components/custom-message.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts +10 -3
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +37 -45
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/heartbeat-block.d.ts.map +1 -1
- package/dist/modes/interactive/components/heartbeat-block.js +3 -1
- package/dist/modes/interactive/components/heartbeat-block.js.map +1 -1
- package/dist/modes/interactive/components/host-input-form.d.ts.map +1 -1
- package/dist/modes/interactive/components/host-input-form.js +3 -3
- package/dist/modes/interactive/components/host-input-form.js.map +1 -1
- package/dist/modes/interactive/components/index.d.ts +1 -1
- package/dist/modes/interactive/components/index.d.ts.map +1 -1
- package/dist/modes/interactive/components/index.js.map +1 -1
- package/dist/modes/interactive/components/input-label.d.ts.map +1 -1
- package/dist/modes/interactive/components/input-label.js +4 -5
- package/dist/modes/interactive/components/input-label.js.map +1 -1
- package/dist/modes/interactive/components/keybinding-hints.d.ts +7 -0
- package/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -1
- package/dist/modes/interactive/components/keybinding-hints.js +27 -6
- package/dist/modes/interactive/components/keybinding-hints.js.map +1 -1
- package/dist/modes/interactive/components/main-composer-keys.d.ts +17 -2
- package/dist/modes/interactive/components/main-composer-keys.d.ts.map +1 -1
- package/dist/modes/interactive/components/main-composer-keys.js +44 -27
- package/dist/modes/interactive/components/main-composer-keys.js.map +1 -1
- package/dist/modes/interactive/components/model-selector.d.ts +6 -1
- package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/model-selector.js +13 -7
- package/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/dist/modes/interactive/components/nav-keys.d.ts +7 -2
- package/dist/modes/interactive/components/nav-keys.d.ts.map +1 -1
- package/dist/modes/interactive/components/nav-keys.js +51 -17
- package/dist/modes/interactive/components/nav-keys.js.map +1 -1
- package/dist/modes/interactive/components/notice-line.d.ts +8 -0
- package/dist/modes/interactive/components/notice-line.d.ts.map +1 -1
- package/dist/modes/interactive/components/notice-line.js +6 -1
- package/dist/modes/interactive/components/notice-line.js.map +1 -1
- package/dist/modes/interactive/components/selector.d.ts +3 -0
- package/dist/modes/interactive/components/selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/selector.js +30 -7
- package/dist/modes/interactive/components/selector.js.map +1 -1
- package/dist/modes/interactive/components/session-selector-list.d.ts.map +1 -1
- package/dist/modes/interactive/components/session-selector-list.js +11 -11
- package/dist/modes/interactive/components/session-selector-list.js.map +1 -1
- package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/session-selector.js +2 -2
- package/dist/modes/interactive/components/session-selector.js.map +1 -1
- package/dist/modes/interactive/components/settings-picker.d.ts +5 -0
- package/dist/modes/interactive/components/settings-picker.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-picker.js +36 -2
- package/dist/modes/interactive/components/settings-picker.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector-submenus.d.ts +10 -0
- package/dist/modes/interactive/components/settings-selector-submenus.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector-submenus.js +89 -19
- package/dist/modes/interactive/components/settings-selector-submenus.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector-types.d.ts +6 -0
- package/dist/modes/interactive/components/settings-selector-types.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector-types.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +7 -0
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +12 -0
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.d.ts +6 -0
- package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.js +12 -7
- package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
- package/dist/modes/interactive/components/task-board.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-board.js +9 -2
- package/dist/modes/interactive/components/task-board.js.map +1 -1
- package/dist/modes/interactive/components/task-completion-message.d.ts +10 -3
- package/dist/modes/interactive/components/task-completion-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-completion-message.js +173 -19
- package/dist/modes/interactive/components/task-completion-message.js.map +1 -1
- package/dist/modes/interactive/components/task-inspector.d.ts +1 -1
- package/dist/modes/interactive/components/task-inspector.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-inspector.js +28 -19
- package/dist/modes/interactive/components/task-inspector.js.map +1 -1
- package/dist/modes/interactive/components/task-list.d.ts +7 -3
- package/dist/modes/interactive/components/task-list.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-list.js +60 -33
- package/dist/modes/interactive/components/task-list.js.map +1 -1
- package/dist/modes/interactive/components/task-row.d.ts +7 -0
- package/dist/modes/interactive/components/task-row.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-row.js +25 -11
- package/dist/modes/interactive/components/task-row.js.map +1 -1
- package/dist/modes/interactive/components/task-transcript-notices.d.ts +16 -0
- package/dist/modes/interactive/components/task-transcript-notices.d.ts.map +1 -0
- package/dist/modes/interactive/components/task-transcript-notices.js +74 -0
- package/dist/modes/interactive/components/task-transcript-notices.js.map +1 -0
- package/dist/modes/interactive/components/task-transcript-page.d.ts +11 -6
- package/dist/modes/interactive/components/task-transcript-page.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-transcript-page.js +48 -21
- package/dist/modes/interactive/components/task-transcript-page.js.map +1 -1
- package/dist/modes/interactive/components/tool-block-families.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-block-families.js +2 -1
- package/dist/modes/interactive/components/tool-block-families.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +3 -2
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +23 -9
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/components/transcript-block-clicks.d.ts +54 -14
- package/dist/modes/interactive/components/transcript-block-clicks.d.ts.map +1 -1
- package/dist/modes/interactive/components/transcript-block-clicks.js +151 -16
- package/dist/modes/interactive/components/transcript-block-clicks.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-help.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector-help.js +25 -30
- package/dist/modes/interactive/components/tree-selector-help.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-list.d.ts +4 -0
- package/dist/modes/interactive/components/tree-selector-list.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector-list.js +21 -21
- package/dist/modes/interactive/components/tree-selector-list.js.map +1 -1
- package/dist/modes/interactive/components/working-run-meter.d.ts +31 -2
- package/dist/modes/interactive/components/working-run-meter.d.ts.map +1 -1
- package/dist/modes/interactive/components/working-run-meter.js +81 -10
- package/dist/modes/interactive/components/working-run-meter.js.map +1 -1
- package/dist/modes/interactive/interactive-agent-events.js +67 -14
- package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
- package/dist/modes/interactive/interactive-autocomplete.js +2 -2
- package/dist/modes/interactive/interactive-autocomplete.js.map +1 -1
- package/dist/modes/interactive/interactive-deferred-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-deferred-startup.js +10 -4
- package/dist/modes/interactive/interactive-deferred-startup.js.map +1 -1
- package/dist/modes/interactive/interactive-editor-actions.js +4 -1
- package/dist/modes/interactive/interactive-editor-actions.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-custom-ui.js +13 -3
- package/dist/modes/interactive/interactive-extension-custom-ui.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-runtime.js +4 -2
- package/dist/modes/interactive/interactive-extension-runtime.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-widgets.js +6 -8
- package/dist/modes/interactive/interactive-extension-widgets.js.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.js +43 -3
- package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts +7 -0
- package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.js +9 -2
- package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-deps.d.ts +1 -1
- package/dist/modes/interactive/interactive-mode-deps.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-deps.js +1 -1
- package/dist/modes/interactive/interactive-mode-deps.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-helpers.d.ts +5 -0
- package/dist/modes/interactive/interactive-mode-helpers.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-helpers.js +9 -0
- package/dist/modes/interactive/interactive-mode-helpers.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts +10 -2
- package/dist/modes/interactive/interactive-mode-surface.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
- package/dist/modes/interactive/interactive-model-routing.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-model-routing.js +63 -21
- package/dist/modes/interactive/interactive-model-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-prompt-turn.js +1 -1
- package/dist/modes/interactive/interactive-prompt-turn.js.map +1 -1
- package/dist/modes/interactive/interactive-render-chat.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-render-chat.js +71 -10
- package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
- package/dist/modes/interactive/interactive-resource-rendering.js +9 -18
- package/dist/modes/interactive/interactive-resource-rendering.js.map +1 -1
- package/dist/modes/interactive/interactive-selectors.js +106 -57
- package/dist/modes/interactive/interactive-selectors.js.map +1 -1
- package/dist/modes/interactive/interactive-session-routing.js +10 -5
- package/dist/modes/interactive/interactive-session-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-session-runtime.d.ts +3 -0
- package/dist/modes/interactive/interactive-session-runtime.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-session-runtime.js +11 -0
- package/dist/modes/interactive/interactive-session-runtime.js.map +1 -1
- package/dist/modes/interactive/interactive-slash-commands.js +3 -0
- package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
- package/dist/modes/interactive/interactive-startup-chat-container.d.ts +5 -1
- package/dist/modes/interactive/interactive-startup-chat-container.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-startup-chat-container.js +8 -3
- package/dist/modes/interactive/interactive-startup-chat-container.js.map +1 -1
- package/dist/modes/interactive/interactive-startup-trust.d.ts +2 -0
- package/dist/modes/interactive/interactive-startup-trust.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-startup-trust.js +21 -0
- package/dist/modes/interactive/interactive-startup-trust.js.map +1 -1
- package/dist/modes/interactive/interactive-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-startup.js +39 -17
- package/dist/modes/interactive/interactive-startup.js.map +1 -1
- package/dist/modes/interactive/interactive-task-projection.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-task-projection.js +11 -1
- package/dist/modes/interactive/interactive-task-projection.js.map +1 -1
- package/dist/modes/interactive/resume-catalog.d.ts.map +1 -1
- package/dist/modes/interactive/resume-catalog.js +1 -0
- package/dist/modes/interactive/resume-catalog.js.map +1 -1
- package/dist/modes/interactive/theme/theme-controller.d.ts +6 -1
- package/dist/modes/interactive/theme/theme-controller.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme-controller.js +19 -1
- package/dist/modes/interactive/theme/theme-controller.js.map +1 -1
- package/dist/modes/interactive-engine/engine-child-liveness.d.ts +2 -0
- package/dist/modes/interactive-engine/engine-child-liveness.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-child-liveness.js +2 -0
- package/dist/modes/interactive-engine/engine-child-liveness.js.map +1 -1
- package/dist/modes/interactive-engine/engine-custom-ui.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-custom-ui.js +54 -4
- package/dist/modes/interactive-engine/engine-custom-ui.js.map +1 -1
- package/dist/modes/interactive-engine/engine-render-service.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-render-service.js +21 -2
- package/dist/modes/interactive-engine/engine-render-service.js.map +1 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.d.ts +4 -2
- package/dist/modes/interactive-engine/extension-ui-bridge.d.ts.map +1 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.js +4 -0
- package/dist/modes/interactive-engine/extension-ui-bridge.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +39 -3
- package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.js +219 -29
- package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
- package/dist/modes/interactive-engine/protocol.d.ts +33 -1
- package/dist/modes/interactive-engine/protocol.d.ts.map +1 -1
- package/dist/modes/interactive-engine/protocol.js +40 -2
- package/dist/modes/interactive-engine/protocol.js.map +1 -1
- package/dist/modes/interactive-engine/remote-command-catalog.d.ts +2 -2
- package/dist/modes/interactive-engine/remote-command-catalog.d.ts.map +1 -1
- package/dist/modes/interactive-engine/remote-command-catalog.js +7 -3
- package/dist/modes/interactive-engine/remote-command-catalog.js.map +1 -1
- package/dist/modes/interactive-engine/remote-component.d.ts.map +1 -1
- package/dist/modes/interactive-engine/remote-component.js +31 -5
- package/dist/modes/interactive-engine/remote-component.js.map +1 -1
- package/dist/modes/interactive-engine/remote-renderer.d.ts +20 -12
- package/dist/modes/interactive-engine/remote-renderer.d.ts.map +1 -1
- package/dist/modes/interactive-engine/remote-renderer.js +100 -34
- package/dist/modes/interactive-engine/remote-renderer.js.map +1 -1
- package/dist/modes/print-mode.d.ts.map +1 -1
- package/dist/modes/print-mode.js +4 -1
- package/dist/modes/print-mode.js.map +1 -1
- package/dist/modes/rpc/agent-panel-bridge.d.ts +7 -0
- package/dist/modes/rpc/agent-panel-bridge.d.ts.map +1 -1
- package/dist/modes/rpc/agent-panel-bridge.js +119 -114
- package/dist/modes/rpc/agent-panel-bridge.js.map +1 -1
- package/dist/modes/rpc/rpc-client-process.d.ts +2 -1
- package/dist/modes/rpc/rpc-client-process.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-process.js +2 -1
- package/dist/modes/rpc/rpc-client-process.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +8 -0
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +5 -1
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.js +19 -2
- package/dist/modes/rpc/rpc-command-handler.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +4 -2
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-session-binding.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-session-binding.js +7 -0
- package/dist/modes/rpc/rpc-session-binding.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +13 -1
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/dist/utils/interactive-engine-bootstrap.d.ts +3 -0
- package/dist/utils/interactive-engine-bootstrap.d.ts.map +1 -1
- package/dist/utils/interactive-engine-bootstrap.js +25 -0
- package/dist/utils/interactive-engine-bootstrap.js.map +1 -1
- package/dist/utils/interactive-engine-env.d.ts +3 -0
- package/dist/utils/interactive-engine-env.d.ts.map +1 -1
- package/dist/utils/interactive-engine-env.js +1 -0
- package/dist/utils/interactive-engine-env.js.map +1 -1
- package/dist/utils/shell.d.ts +2 -0
- package/dist/utils/shell.d.ts.map +1 -1
- package/dist/utils/shell.js +3 -3
- package/dist/utils/shell.js.map +1 -1
- package/docs/background-tasks.md +32 -37
- package/docs/compaction.md +2 -2
- package/docs/computer-use.md +2 -0
- package/docs/development.md +11 -1
- package/docs/environment-variables.md +2 -0
- package/docs/extensions/api-reference.md +7 -3
- package/docs/extensions/authoring.md +3 -1
- package/docs/extensions/events.md +3 -1
- package/docs/extensions/ui.md +2 -0
- package/docs/guides/resume-on-any-machine.md +3 -1
- package/docs/intercom/reference.md +1 -1
- package/docs/intercom.md +3 -3
- package/docs/keybindings.md +6 -2
- package/docs/libraries/tui.md +4 -0
- package/docs/providers.md +1 -1
- package/docs/rpc/protocol.md +6 -4
- package/docs/sdk/reference.md +10 -4
- package/docs/sdk.md +5 -2
- package/docs/security.md +5 -1
- package/docs/session-format.md +1 -1
- package/docs/sessions.md +16 -0
- package/docs/settings.md +2 -2
- package/docs/skills.md +3 -3
- package/docs/storage.md +25 -4
- package/docs/subagents.md +42 -45
- package/docs/tui.md +1 -1
- package/docs/usage.md +3 -1
- package/docs/workflows/api-reference.md +3 -1
- package/docs/workflows/authoring.md +1 -1
- package/docs/workflows/operations.md +21 -14
- package/docs/workflows.md +1 -1
- package/docs/worktree-snapshots.md +10 -8
- package/npm-shrinkwrap.json +71 -49
- package/package.json +9 -8
- package/schemas/settings.schema.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,363 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.9.90-alpha.1] - 2026-11-19
|
|
6
|
+
|
|
7
|
+
Every subagent now runs in the background, a click runs key hints and expands blocks in fullscreen mode, and large stores, retries and interrupts no longer stall Atomic.
|
|
8
|
+
|
|
9
|
+
**Subagents**
|
|
10
|
+
|
|
11
|
+
- **Every subagent runs in the background.** A launch returns once its children are admitted, so each one is listed below the prompt and in `/tasks`, where you can open its chat, message it or stop it. `subagent({ action: "wait", id })` waits for a result, and Esc ends that wait at once ([#5488](https://github.com/bastani-inc/atomic/pull/5488), [#5686](https://github.com/bastani-inc/atomic/issues/5686))
|
|
12
|
+
- **Steadier subagents.** `resume` refuses a child that is already running instead of never answering and waits for its worktree cleanup, a stop from the agent panel keeps a child resumable, elapsed times count from dispatch through release or stop, and a forked subagent's first request is no longer rejected over Claude's signed thinking ([#5485](https://github.com/bastani-inc/atomic/issues/5485), [#5560](https://github.com/bastani-inc/atomic/issues/5560), [#5589](https://github.com/bastani-inc/atomic/issues/5589), [#5609](https://github.com/bastani-inc/atomic/issues/5609), [#5688](https://github.com/bastani-inc/atomic/issues/5688), [#5570](https://github.com/bastani-inc/atomic/issues/5570), [#5481](https://github.com/bastani-inc/atomic/issues/5481))
|
|
13
|
+
|
|
14
|
+
**Fullscreen clicks**
|
|
15
|
+
|
|
16
|
+
- **Click a key hint to press it.** Key hints in chat footers, `/tasks`, `/workflows`, the workflow graph, dialogs, pickers, Intercom and tool blocks run their key on a click, and a hint that names a slash command runs it ([#5528](https://github.com/bastani-inc/atomic/pull/5528))
|
|
17
|
+
- **Click anywhere on a block to expand it.** Any block Ctrl+O expands opens or folds from a click on its title or output, while double- and triple-clicks still select text ([#5505](https://github.com/bastani-inc/atomic/pull/5505), [#5562](https://github.com/bastani-inc/atomic/issues/5562))
|
|
18
|
+
|
|
19
|
+
**Chats and the agent panel**
|
|
20
|
+
|
|
21
|
+
- **A panel for live work.** Finished subagents leave the agent panel at once, stopped or paused subagents and paused or blocked workflow runs stay only while other work runs, `↓ N agents` counts only subagents, `/workflows to see runs` points to runs that left, and every chat keeps one row between its working line and prompt ([#5476](https://github.com/bastani-inc/atomic/pull/5476), [#5477](https://github.com/bastani-inc/atomic/pull/5477), [#5490](https://github.com/bastani-inc/atomic/issues/5490), [#5504](https://github.com/bastani-inc/atomic/issues/5504), [#5710](https://github.com/bastani-inc/atomic/issues/5710))
|
|
22
|
+
- **Retries you can follow and stop.** The working line counts a turn through every retry and fallback model, chats opened mid-wait show `retrying…` or `switching model…`, reopened chats keep provider errors, and Esc cancels a pending retry or model switch without sending another request ([#5535](https://github.com/bastani-inc/atomic/issues/5535), [#5483](https://github.com/bastani-inc/atomic/issues/5483), [#5572](https://github.com/bastani-inc/atomic/issues/5572), [#5613](https://github.com/bastani-inc/atomic/issues/5613), [#5507](https://github.com/bastani-inc/atomic/issues/5507), [#5564](https://github.com/bastani-inc/atomic/issues/5564))
|
|
23
|
+
- **Esc always ends a turn.** A tool call that ignores the interrupt gets `Operation aborted` after 10 seconds, so an extension or MCP tool that never stops no longer keeps the session busy ([#5486](https://github.com/bastani-inc/atomic/issues/5486))
|
|
24
|
+
|
|
25
|
+
**Sessions, trust and extensions**
|
|
26
|
+
|
|
27
|
+
- **Extension startup errors keep the session.** A `session_start` or `resources_discover` handler that throws shows its error once and the session keeps working, at startup and on `/new`, `/resume`, `/fork` and `/reload` ([#5501](https://github.com/bastani-inc/atomic/issues/5501))
|
|
28
|
+
- **Project trust without false alarms.** Trusted projects no longer show the untrusted warning, session-only answers last through engine restarts, and a folder's prompts, skills and themes wait for its trust decision ([#5475](https://github.com/bastani-inc/atomic/pull/5475), [#5568](https://github.com/bastani-inc/atomic/issues/5568), [#5693](https://github.com/bastani-inc/atomic/issues/5693))
|
|
29
|
+
- **Session search and export.** `atomic storage search-session` searches one local SQLite session as a shell command you can run in the background, `history://` search continuations keep their place, and `atomic --export` shows subagent cards with their saved transcripts ([#5479](https://github.com/bastani-inc/atomic/pull/5479), [#5692](https://github.com/bastani-inc/atomic/issues/5692), [#5658](https://github.com/bastani-inc/atomic/issues/5658))
|
|
30
|
+
- **Account-only Copilot models in SDK sessions.** SDK sessions and `atomic -p` can use a saved, account-only GitHub Copilot model without running `atomic update --models` first ([#5685](https://github.com/bastani-inc/atomic/issues/5685))
|
|
31
|
+
|
|
32
|
+
**Performance and storage**
|
|
33
|
+
|
|
34
|
+
- **No multi-second freezes on large stores.** Workflow history, `/workflows`, `/resume`, `history://sessions` and closing a session now work in short steps, and snapshot lookups read kilobytes instead of megabytes ([#5480](https://github.com/bastani-inc/atomic/issues/5480), [#5530](https://github.com/bastani-inc/atomic/issues/5530), [#5541](https://github.com/bastani-inc/atomic/issues/5541))
|
|
35
|
+
- **Safer snapshot collection.** Moving the snapshot chunk table never fills the disk, a broken trigger or view that blocks the move is named, and bundles that older Atomic versions sharing the store still need are kept ([#5694](https://github.com/bastani-inc/atomic/issues/5694), [#5622](https://github.com/bastani-inc/atomic/issues/5622), [#5558](https://github.com/bastani-inc/atomic/issues/5558))
|
|
36
|
+
- **Less memory over long sessions.** Finished workflow runs release the sessions that summarized them, failed SDK runs release their stages, and Intercom keeps routes only for the 32 most recently finished invocations ([#5487](https://github.com/bastani-inc/atomic/issues/5487), [#5499](https://github.com/bastani-inc/atomic/issues/5499), [#5492](https://github.com/bastani-inc/atomic/issues/5492), [#5561](https://github.com/bastani-inc/atomic/issues/5561))
|
|
37
|
+
- **PostgreSQL through an HTTP proxy.** The PostgreSQL adapter tunnels through `HTTPS_PROXY`, `ALL_PROXY` or `HTTP_PROXY`, or its new `proxy` option, with TLS end to end. If you already set `HTTPS_PROXY` and reach a remote database directly, add its host to `NO_PROXY` or set `proxy` to `"none"` ([#5473](https://github.com/bastani-inc/atomic/issues/5473), [#5565](https://github.com/bastani-inc/atomic/issues/5565), [#5670](https://github.com/bastani-inc/atomic/issues/5670))
|
|
38
|
+
- **libSQL servers under schema churn.** Triggers, write batches and multi-statement `exec` calls recover from `SQLITE_SCHEMA` and `SQLITE_BUSY` without running a statement twice, and large workflow catalogs, exports and older sessions load within the server's limits ([#5509](https://github.com/bastani-inc/atomic/issues/5509), [#5536](https://github.com/bastani-inc/atomic/issues/5536), [#5652](https://github.com/bastani-inc/atomic/issues/5652), [#5676](https://github.com/bastani-inc/atomic/issues/5676), [#5537](https://github.com/bastani-inc/atomic/issues/5537), [#5590](https://github.com/bastani-inc/atomic/issues/5590))
|
|
39
|
+
|
|
40
|
+
**Workflows**
|
|
41
|
+
|
|
42
|
+
- **Reliable workflow resumes.** Resuming a failed run waits for the previous attempt to finish saving, keeps its run ID and checkpoints, releases the replaced stage session, and keeps open chats and questions on the live stage; `/resume <prefix>` lists every match ([#5527](https://github.com/bastani-inc/atomic/issues/5527), [#5569](https://github.com/bastani-inc/atomic/issues/5569), [#5559](https://github.com/bastani-inc/atomic/issues/5559), [#5577](https://github.com/bastani-inc/atomic/issues/5577))
|
|
43
|
+
- **Clearer run views.** Suspended stages show the `◌` waiting mark, a run that cannot reopen a waiting stage shows as blocked with `r resume run`, nested workflows on workers show their final state, and running stage borders pulse in their own colour ([#5489](https://github.com/bastani-inc/atomic/issues/5489), [#5534](https://github.com/bastani-inc/atomic/issues/5534), [#5616](https://github.com/bastani-inc/atomic/issues/5616), [#5596](https://github.com/bastani-inc/atomic/issues/5596))
|
|
44
|
+
|
|
45
|
+
**Windows, blueprints and skills**
|
|
46
|
+
|
|
47
|
+
- **Windows process cleanup.** Stopped commands, clones, hooks and blueprint steps have their process tree terminated once, and commands that ran to completion no longer fail with `Windows stdin worker stop was not confirmed` ([#5601](https://github.com/bastani-inc/atomic/issues/5601), [#5512](https://github.com/bastani-inc/atomic/issues/5512), [#5702](https://github.com/bastani-inc/atomic/issues/5702), [#5664](https://github.com/bastani-inc/atomic/issues/5664))
|
|
48
|
+
- **Sturdier blueprint steps.** A program the system refuses to start fails its step with the reason, or is retried briefly while another process holds it, and clock changes no longer stretch step deadlines ([#5608](https://github.com/bastani-inc/atomic/issues/5608), [#5707](https://github.com/bastani-inc/atomic/issues/5707))
|
|
49
|
+
- **Updated bundled skills.** `tdd`, `qlty`, `tmux`, `intercom`, `unslop`, `teach` and `prompt-engineer` follow their upstreams and current model guides, and `show-me` runs only when you type `/skill:show-me` ([#5474](https://github.com/bastani-inc/atomic/pull/5474), [#5566](https://github.com/bastani-inc/atomic/issues/5566))
|
|
50
|
+
|
|
51
|
+
**Breaking change:** The `subagent` launch `wait` option is gone and every launch runs in the background; to use a child's result in the same turn, call `subagent({ action: "wait", id })`. SDK hosts must pass only `{ kind: "background" }` or no policy to `AgentTaskHost.observeAgentLaunch`, wait for tasks with `waitForTask`, stop expecting a yield function in its `onRegistered` callback, and stop using the removed `TaskViewSource.foregroundTask`.
|
|
52
|
+
|
|
53
|
+
### Breaking Changes
|
|
54
|
+
|
|
55
|
+
- `AgentTaskHost.observeAgentLaunch` takes only `{ kind: "background" }` or no policy, and always returns once the launch's observation is registered, because every subagent now runs in the background; wait for a task with `waitForTask`. Its `onRegistered` callback no longer receives a function that yields the observation. A JavaScript caller that still passes `{ kind: "foreground" }` gets the default background observation, with reason `default-background`. `TaskViewSource.foregroundTask`, which no view used, was removed.
|
|
56
|
+
|
|
57
|
+
### Added
|
|
58
|
+
|
|
59
|
+
- `session.workflows.listRuns()` and a run control's `listProjectRuns()` take `{ signal }` as their last argument. When it aborts, the listing stops waiting for stored runs and rejects with the signal's reason ([#5480](https://github.com/bastani-inc/atomic/issues/5480))
|
|
60
|
+
- Agent panel sources can set `runGeneration` on an item, an identity of its latest run, so a stopped or paused row that left the panel and ran again, however briefly, is listed again while other work runs ([#5504](https://github.com/bastani-inc/atomic/issues/5504))
|
|
61
|
+
- A storage driver's `transientFailure` can return `hop: { name, failure }` for a call that failed before it reached the database server, such as at a proxy. `StorageTransientError`, and the warning printed while the call is retried, then say what happened at that hop instead of "the database server call failed", and the hint asks to check that hop; the error carries it as `hop` and `hopFailure`. The PostgreSQL adapter uses it to name the proxy ([#5473](https://github.com/bastani-inc/atomic/issues/5473))
|
|
62
|
+
- `AgentTaskHost.waitForTask` takes an optional `AbortSignal` as its fourth argument. Aborting it ends the wait at once with `ObserverCancelled` and leaves the task running.
|
|
63
|
+
- Set `ATOMIC_EVENT_LOOP_BLOCK_STACKS=0` alongside the event-loop diagnostic threshold to record delays without a stack sampler changing the process's latency. Stack collection remains the diagnostic's default ([#5544](https://github.com/bastani-inc/atomic/issues/5544)).
|
|
64
|
+
- In fullscreen mode, a click on a key hint runs it as pressing its key does: the chat footers (`← main chat`, `↓ agents`, `esc interrupt`, `ctrl+o expand`, `? keys`), the hint rows of `/tasks`, `/workflows`, the workflow graph, dialogs and pickers, and hints inside tool blocks and notices. In a hint that names two keys, such as `pgup/pgdn scroll` or `1-2 pick`, the key you click is pressed. Shortened key names in help keep their click. A literal `/` binding works in picker help, including the shortcut that closes it. A hint that names a slash command, such as `/tasks to manage`, runs it and keeps what you typed in the prompt. A key that asks for confirmation asks after a click too, a drag across a hint still selects text, and a double-click runs a hint once. `?`, `↓` and a chat's `←`, which act only on an empty prompt when typed, act on a click whatever the prompt holds
|
|
65
|
+
- `atomic storage search-session <sqlite-file> <session-id> <pattern> [cursor]` prints one local session's search pages without updating the store or queuing behind its writers. It follows advancing budget cursors and stops quietly when its output pipe closes. Run it as a background shell command to wait for or stop it through the usual task controls. Ordinary `history://` searches and manual cursor follows do not create tasks.
|
|
66
|
+
|
|
67
|
+
### Changed
|
|
68
|
+
|
|
69
|
+
- The agent panel below the prompt drops a subagent as soon as it finishes. Stopped, paused or interrupted subagents stay only while another subagent, workflow run or background shell is still running, then the whole panel closes, and a resumed subagent is listed once. `↓ N agents` counts only the subagents the panel lists, not workflow runs, so a running workflow alone no longer shows `↓ 1 agent`; `N needs input` still counts a workflow run's question. When the panel lists nothing but `/tasks` lists subagents, the hint shows `/tasks to see subagents`, or `N shells · /tasks to manage` while background shells run.
|
|
70
|
+
- Subagent and workflow stage chats draw the rules above and below their prompt with the same light line as the main chat. They keep their accent colour and the label that names the agent or stage. Extension chats built with `applyAttachedComposer()` get the same light rules.
|
|
71
|
+
- In fullscreen mode, a click anywhere on a block that Ctrl+O expands now opens or folds it, not only a click on its header: its title, its output and its `… +N lines` row alike. This covers tool calls, grouped-call summaries, finished-agent cards, `!` shell commands, Intercom messages, task and workflow heartbeats, workflow, subagent and stage notices, skill blocks, branch summaries, compaction boundaries, extension message cards and entries, task rows and the startup resource list, in the main chat (isolated engine included), `/tasks` transcripts, subagent chats and stage chats. A click takes effect about half a second after the press, once it cannot be the start of a double-click, so double- and triple-clicks select a word or a line without opening anything; drags still select and link clicks still open the link. A block with nothing more to show ignores the click and the chat keeps following its latest output. Skill blocks, branch summaries and compaction boundaries, which already toggled on any click, now wait the same way, so a double-click on them selects text. A pending click uses the block’s current output, group and width, even after a resize. Ctrl+O takes precedence over an earlier click, and a burst of single clicks in an isolated chat no longer loses toggles ([#5562](https://github.com/bastani-inc/atomic/issues/5562)).
|
|
72
|
+
|
|
73
|
+
### Fixed
|
|
74
|
+
|
|
75
|
+
- A `history://` search continuation can now keep its place when an unread session gets a new message or its next workflow run disappears. The search keeps its original first-page order and uses the existing cursor when the extra position cannot fit. Earlier `after=` and `run=` URLs still work ([#5692](https://github.com/bastani-inc/atomic/issues/5692)).
|
|
76
|
+
- From the interactive engine's first trust report, the interface withholds a folder's prompts, skills, themes and settings while a registered `project_trust` handler can still decline it. A pending check does not show the untrusted warning. New views and completions use the folder's resources once approved, even if an independent `-e` source is still being checked. An open Atomic picker or completion menu keeps its contents and your selection ([#5693](https://github.com/bastani-inc/atomic/issues/5693)).
|
|
77
|
+
- Drawing the usage meter no longer checks credential files synchronously, avoiding a stalled frame when those file checks are slow ([#5516](https://github.com/bastani-inc/atomic/issues/5516)).
|
|
78
|
+
- Subagents started from deeply nested directories no longer wait for each parent directory's resource checks one at a time, keeping starts responsive while the main thread is busy ([#5514](https://github.com/bastani-inc/atomic/issues/5514)).
|
|
79
|
+
- The main chat no longer leaves a blank row between the working line and the usage meter above the prompt. Every chat now keeps exactly one row there: the usage meter, or a blank row in a subagent or stage chat with no usage to show, so a chat's last line never runs into its prompt.
|
|
80
|
+
- A subagent or workflow stage chat waiting to retry a request, switch model or resume now shows `retrying…`, `switching model…` or `resuming…` as its working line above the prompt, instead of a line below its transcript. A chat opened or reopened while its agent already waits to retry a failed request or switch model shows the wait as its working line straight away, instead of looking idle until the next attempt. This includes a stage that runs on a local worker, and a subagent with a fallback model, as the builtin agents on `model: auto` have, which showed a running turn with a growing timer instead. A follow-up delivery warning no longer replaces the working line in subagent or stage chats ([#5483](https://github.com/bastani-inc/atomic/issues/5483), [#5523](https://github.com/bastani-inc/atomic/issues/5523), [#5572](https://github.com/bastani-inc/atomic/issues/5572)).
|
|
81
|
+
- A subagent released while it waits on a tool call now shows the dim `◌` waiting mark on its completion notice, as `/tasks`, the agent panel, the task footer and its launch card already show it, instead of the pause mark `⏸`. Notices saved by earlier versions show the waiting mark too, and reopening a session that recorded a subagent's release only in its notice title shows `◌` and the tool calls it was waiting on, instead of `◼ stopped`. A paused or quit subagent keeps `⏸`, and older notices that recorded a pause or quit show it ([#5489](https://github.com/bastani-inc/atomic/issues/5489), [#5563](https://github.com/bastani-inc/atomic/issues/5563))
|
|
82
|
+
- An extension tool whose call renders a `waiting` or `heartbeat` block keeps its own title once its result arrives, instead of falling back to the tool's label ([#5489](https://github.com/bastani-inc/atomic/issues/5489))
|
|
83
|
+
- On a large store, closing a session (`/new`, `/resume`, `/fork`, quitting, or disposing an SDK session) no longer freezes Atomic for several seconds. The automatic collection of unreferenced worktree-snapshot content used to work out, in each of its statements, which snapshots every session in the store keeps. On a copy of a real 83 GB store, one collection blocked the interface for a single 6.1 to 6.7 s stretch. It now walks a few sessions at a time and deletes in batches of at most 8 blobs, with the interface running in between: no step exceeded 19 ms with the store's pages cached. Without them, the slowest step was 36 ms, apart from deleting a blob, which took 40 to 280 ms per batch while the chunk table still read whole chunks on every lookup ([#5541](https://github.com/bastani-inc/atomic/issues/5541)). Each page of a collection reads the blob age index from where the page before it ended, so on a store with a million blobs its steps stay as short and the collection takes seconds instead of minutes. Collection still deletes only what nothing retains, and other Atomic processes can write the store meanwhile. It never lets other work run while it holds the database's write lock, so another connection of the same process, such as one an SDK host opens to the same database, can write during a collection; before, such a write could stop Atomic for 5 to 10 seconds and then fail with `database is locked`. Deleting a session saved before the SQLite default records the deletion in a transaction for the same reason. It now starts 10 seconds after a session closes, or after an interactive session starts, so it never competes with opening a session, and closing or quitting never waits for it. `scheduleSnapshotCollection` takes `delayMs` for the same deferral ([#5530](https://github.com/bastani-inc/atomic/issues/5530))
|
|
84
|
+
- Worktree snapshots on SQLite and libSQL no longer read several megabytes for every lookup in the snapshot chunk table. The table kept its 1 MiB rows inside its key's b-tree (`WITHOUT ROWID`), so each lookup read every chunk it passed. On a store with 1.8 GB of chunks, snapshot collection read about 10 MB to delete each 12 KB blob, restoring a 56 MB snapshot blob read 677 MB, and recording a snapshot read every chunk of its large blobs again to check that they were stored. New stores create the table as an ordinary table with the same name, columns and key. Snapshot collection moves an existing table to that layout in transactions that each copy or free at most 4 MiB of chunks, including while other processes add and delete blobs, and a stopped collection resumes the move. Afterwards the same operations read about 70 KB, 56 MB and 20 KB. Every blob keeps its exact bytes, and Atomic 0.9.88 and 0.9.89 processes sharing the store keep reading and writing it during and after the move. The database file grows once by the size of the chunk table while it is copied; SQLite reuses the freed pages for later writes. PostgreSQL stores are unchanged, because their tables already keep keys apart from rows ([#5541](https://github.com/bastani-inc/atomic/issues/5541))
|
|
85
|
+
- Snapshot collection no longer fills the disk when it moves an older snapshot chunk table to the new layout on a disk with less free space than the table. On a SQLite or libSQL file, the move now starts only when the file system the database file is on, through a link too, has room for the copy, its write-ahead log and another 64 MiB; otherwise the collection completes as before and keeps the current layout, and a partial copy left by an earlier attempt is dropped so its space is reused by later writes. On a libSQL server, whose disk Atomic cannot see, a table with more than 64 MiB left to copy keeps its layout, as on a database you bring yourself unless it reports its file system's free space through the new optional `freeBytes()` driver call (`SqliteDatabase.freeBytes`). On any backend, a disk that fills up or fails to read or write during the move ends the move, not the collection, which keeps its deletions; a later collection tries the move again. ([#5694](https://github.com/bastani-inc/atomic/issues/5694))
|
|
86
|
+
- An extension whose `session_start` or `resources_discover` handler throws no longer takes the interactive session down. Atomic shows `Extension "<path>" error: <message>` once per failing handler, with its stack when available, and keeps working: the extension stays loaded, so its commands, tools and other handlers still run. Before, the error was shown up to three times and every prompt answered `Session is closed`; the isolated engine stopped Atomic with `Agent process exited (code=1)` or left a submitted prompt in the editor; `/new` exited Atomic, `/fork` left a closed session and `/reload` was rejected. This applies at startup, with `-c` or `--resume`, and on `/new`, `/resume`, `/fork` and `/reload`. Print mode, standalone RPC mode, SDK sessions and workflow stages still fail startup with `ExtensionStartupError`. SDK hosts can choose the interactive behaviour with `extensionBindings.reportStartupErrors`. An extension error reported while interactive startup is still loading, for example by a project extension whose `session_start` throws after you answer the trust question, now stays on screen instead of disappearing when startup redraws the transcript ([#5501](https://github.com/bastani-inc/atomic/issues/5501)).
|
|
87
|
+
- SDK extension factories with the same display name no longer hide one another's startup errors. A custom loader that selects one of them now starts a fresh instance of the selected factory for each session and preserves its `replaceable` setting ([#5501](https://github.com/bastani-inc/atomic/issues/5501)).
|
|
88
|
+
- A paused workflow run, or one blocked on a failed stage, no longer keeps the agent panel open on its own. Like a paused subagent, it stays listed while another subagent, workflow run or background shell runs, and leaves once nothing does, until you resume it; `/tasks` and `/workflows` still list it. When such a run leaves the panel, the main chat shows `/workflows to see runs` below the prompt when it fits beside the status and existing hints, and the run does not count as an agent. A run waiting for input still keeps the panel open ([#5490](https://github.com/bastani-inc/atomic/issues/5490), [#5710](https://github.com/bastani-inc/atomic/issues/5710))
|
|
89
|
+
- A subagent whose turn was interrupted, or a paused or blocked workflow run, that left the agent panel and was resumed and then stopped or paused again before the panel updated now comes back while other work runs, instead of staying hidden. A workflow that resumes and blocks again between panel updates reappears alongside active work even within the same millisecond, and switching between subagent chats no longer brings a stopped child back into its chat footer ([#5504](https://github.com/bastani-inc/atomic/issues/5504), [#5567](https://github.com/bastani-inc/atomic/issues/5567))
|
|
90
|
+
- Fixed Esc not ending a turn while a tool call ignored the interrupt: the turn waited for every tool call to return, so a call that did not stop (an extension or MCP tool that does not watch its abort signal, or a long wait inside a tool) kept the session busy for good, with queued messages never sent. A tool call that has not stopped 10 seconds after the interrupt now gets an `Operation aborted` result and the turn ends, in the main chat, subagent and workflow stage chats, and the default isolated host alike. The call may keep running, but later tool calls no longer wait for it. If it returns or fails after the grace period, its output is discarded: nothing is added to the chat or sent to the model. A tool call still waiting for an earlier one ends at once with `Operation aborted` and never runs, even when the earlier call goes on after its turn let it go (a `detachable` tool's call in a released session); an interrupted `detachable` call no longer detaches, even one marked ready for detachment in the same tick as the interrupt, and gets its own result or `Operation aborted` like any other, while a call that detached before the interrupt is not cancelled by it. A late failure is discarded even when its reason cannot be converted to text. A call already handed to the host returns an error result if its output cannot be read, and a result that cannot be recorded fails that call rather than interrupting the resumed turn or stage. `ATOMIC_TOOL_ABORT_GRACE_MS` changes the 10 seconds ([#5486](https://github.com/bastani-inc/atomic/issues/5486))
|
|
91
|
+
- The working line and the final `… for Ns` row count a turn from its start through every retry of a failed request and every move to a fallback model, in the main chat, subagent chats and workflow stage chats, also in a chat opened partway through. Before, the count started again at each attempt, so a retried turn read only its last attempt, and Esc during a subagent's retry wait left `… for 0s`. Esc during the main chat's retry wait now keeps the turn's row, with the time up to then, instead of removing it, and the main chat keeps the row of a turn that finished on a fallback model. A subagent or stage chat keeps the row of a turn that ran out of fallback models beside its error, which used to hide it. A turn whose model has no key and that starts on a fallback model counts from its own start, not the previous turn's ([#5535](https://github.com/bastani-inc/atomic/issues/5535)).
|
|
92
|
+
- Under Node, each workflow run that finishes no longer keeps the session that wrote its summary, and the run text it summarized, in memory for the rest of the process. A long session that runs many workflows, and an SDK host that disposes such sessions, now release them ([#5487](https://github.com/bastani-inc/atomic/issues/5487))
|
|
93
|
+
- On a busy Windows machine, a subagent's named-worktree checkout whose Git command ran to completion no longer fails with `Windows stdin worker stop was not confirmed`. The earlier fix did not cover commands that keep their background processes when they exit, and a named worktree's Git commands always do, so that the processes a hook starts survive the checkout. Such a command also no longer fails after completion just because its idle input thread was paused while holding the input queue lock ([#5512](https://github.com/bastani-inc/atomic/issues/5512), [#5702](https://github.com/bastani-inc/atomic/issues/5702))
|
|
94
|
+
- The opt-in event-loop diagnostic takes stack samples with a CPU profile instead of pausing the process with a debugger. Turning it on no longer makes a `debugger;` statement freeze the application, and sampling does not interfere with an attached debugger's breakpoints. Completed profiles are discarded instead of retaining a growing script catalog. Stalls across startup, session and shutdown boundaries keep their own stack samples, even when a phase ends in a microtask. Separately defined functions with the same name are no longer merged ([#5544](https://github.com/bastani-inc/atomic/issues/5544), [#5638](https://github.com/bastani-inc/atomic/issues/5638)).
|
|
95
|
+
- `history://sessions` no longer freezes Atomic for up to seconds at a time on a large SQLite session store. Listing one project's sessions read the first message and summary of every stored session, of every project, up to 8,192 sessions per step, which took seconds per step when the store's pages were not cached. The listing now reads other projects' sessions only far enough to skip them, reads at most 256 sessions per step, and lets the interface run between steps. On a store of 70,000 sessions it finishes in a third to a quarter of the time ([#5480](https://github.com/bastani-inc/atomic/issues/5480))
|
|
96
|
+
- Starting or resuming a session in a trusted project no longer shows "This project is not trusted. Project .atomic resources and packages are ignored." The interface checked trust while the session was still deciding it, read that as untrusted, and kept the warning after the session had decided. The warning now waits for the decision and follows it, so a project trusted through `defaultProjectTrust: "always"` or a `project_trust` extension no longer shows it either. The warning that an untrusted project's resources are ignored no longer disappears when the chat is redrawn: after the trust question at startup, on `/reload` and after compaction. A session that started in a project you declined, or saved "Do not trust" for, showed no warning at all. After compaction the warning shows below the compaction marker
|
|
97
|
+
- An answer for this session only ("Trust (this session only)" or "Do not trust (this session only)"), to the question about a project folder or about an `-e` extension source, now lasts for the whole session. After Atomic restarted its engine, for example because the engine stopped responding, it asked again about the current folder, the `-e` sources and folders you switched back to with `/resume`, also when the restart came while Atomic loaded models or waited for another trust answer. The answer is still never saved ([#5568](https://github.com/bastani-inc/atomic/issues/5568))
|
|
98
|
+
- Esc in a subagent's chat now cancels the subagent's retry while it waits to send a failed request again, as Esc does in the main chat: the subagent stops, shows `Stopped · send to resume`, and your next message continues it in the same session. The hint under its prompt shows `esc interrupt` for the whole wait. Before, Esc did nothing during the wait and the hint dropped `esc interrupt`. Cancelling a retry right after a request fails, before the retry's wait starts (for example with the RPC `abort_retry` command), now cancels it; before, the next attempt still started after the cancellation. Pressing Esc while a chat switches to a fallback model now ends the turn without sending the pending request. A new message can still retry normally, and `abort_retry` during the first request does not disable a later retry ([#5507](https://github.com/bastani-inc/atomic/issues/5507), [#5564](https://github.com/bastani-inc/atomic/issues/5564)).
|
|
99
|
+
- A subagent's chat opened after one of its requests failed or was interrupted before any text arrived, for example during the retry wait or after the subagent finished, now shows the request's `Error: …` line or `Interrupted` block, as the main chat does. Before, the chat showed them only when it was open as the request ended. Reopened task chats keep shell commands and displayed notices alongside provider errors, including errors from replies with no readable content ([#5529](https://github.com/bastani-inc/atomic/issues/5529), [#5613](https://github.com/bastani-inc/atomic/issues/5613)).
|
|
100
|
+
- On Windows, a `!command` config value or a blueprint step that is stopped has its process tree terminated once. Atomic no longer terminates it again when the command's exit arrives, or when an abort comes after its timeout ([#5601](https://github.com/bastani-inc/atomic/issues/5601))
|
|
101
|
+
- On Windows, a blueprint step stopped after its command exited, while a process the step started still writes its output, no longer kills by the command's pid, which may already name another process. This applies when the step's processes could not be contained. Stopping such a step after its command exited without a Job object now warns that descendants may still be running; a command that never started emits no such warning ([#5601](https://github.com/bastani-inc/atomic/issues/5601), [#5664](https://github.com/bastani-inc/atomic/issues/5664))
|
|
102
|
+
- A model request waiting for a free slot under a provider request limit no longer starts after its caller's deadline or cancellation has passed. When the slot opens at the same moment as the deadline, or while the process is busy and gets to both late, the deadline now wins and the request ends as aborted. A request whose caller gives up while a worker pool's shared rate limit is answering is no longer sent either ([#5604](https://github.com/bastani-inc/atomic/issues/5604)).
|
|
103
|
+
- Resuming an older SQL session no longer fails when a chunked entry exceeds the database's value limit. Entries that fit still use the database's native metadata projection; larger ones are read in bounded chunks. Only the completed index is written; an interrupted scan starts over when the session is next opened ([#5590](https://github.com/bastani-inc/atomic/issues/5590)).
|
|
104
|
+
- A blueprint step whose program the system refuses to start right away, for example a working directory that is a file, now fails as that step with `could not be started: …` in its log, instead of ending the build with an unexpected error. A program refused for a moment, with `EPERM` or `EBUSY` on Windows or `ETXTBSY` on Linux, as while an antivirus scan or the installer that just wrote it still holds it, is tried again for up to half a second, within the step's timeout, before the step fails. A program that stays refused therefore fails its step at most half a second later than before. Nothing is started once the step's time is up, even when a try comes late because Atomic was busy, and cancelling the build while it waits starts nothing more. Steps get no extra time to launch previously refused programs or action commands when the system clock moves backward. Time spent asleep counts toward retry and action launch deadlines and is included in reported step durations. Fractional timeouts keep the action’s original deadline, and a long timeout no longer becomes a 1 ms timer ([#5608](https://github.com/bastani-inc/atomic/issues/5608), [#5707](https://github.com/bastani-inc/atomic/issues/5707)).
|
|
105
|
+
- Exporting one selected workflow run from a named database no longer requires the server to return the entire catalog in one response. If the catalog is too large, the export reads the selected run and its events together; a missing run or unsupported journal version leaves the previous backup untouched ([#5537](https://github.com/bastani-inc/atomic/issues/5537)).
|
|
106
|
+
- The warning for a failed snapshot collection, a process warning or a workflow run's warning notice, now gives the database's own reason, such as `database is locked`, instead of only general advice. SQLite renames no table while a trigger or view in the database refers to a missing table, even one another application created, so such an object stops the move of the snapshot chunk table to its new layout on every collection. The warning now names that trigger or view and says that fixing or dropping it lets the next collection finish the move; before, it only said to check that the database is writable, has free space and is not locked. SQLite does not quote the name in its report, so when another trigger or view has a name the report could also mean, such as `sales` beside a broken `sales after rename`, the warning names neither. It is still shown once per process ([#5622](https://github.com/bastani-inc/atomic/issues/5622)).
|
|
107
|
+
- Stopping a running subagent from the agent panel or `/tasks` now keeps it resumable when Bun loads the extension and the CLI from separate SDK modules. Previously, the stop could cancel the child for good ([#5688](https://github.com/bastani-inc/atomic/issues/5688)).
|
|
108
|
+
- Selecting a workflow in `/resume` after another caller has resumed it and it has blocked again now asks you to refresh the list instead of retrying the newer attempt ([#5569](https://github.com/bastani-inc/atomic/issues/5569)).
|
|
109
|
+
- On a store shared with Atomic 0.9.87 or earlier, snapshot collection no longer deletes the bundle a partly restored worktree still needs after the older Atomic has indexed its sessions. The older Atomic could do that by finishing an index rebuild that this Atomic, or Atomic 0.9.88 or 0.9.89, had to stop, or by installing its own index triggers after this Atomic's had gone missing, even when only one of them was missing. This Atomic now recognises these cases and indexes those sessions again before it deletes anything. Until its rebuild is done, Atomic 0.9.88 and 0.9.89 sharing the store read the index as another version's and rebuild it themselves instead of trusting it ([#5558](https://github.com/bastani-inc/atomic/issues/5558))
|
|
110
|
+
- Paging back through a long failed subagent reply no longer repeats its terminal notice. Interrupted tool calls keep their failure details ([#5651](https://github.com/bastani-inc/atomic/issues/5651)).
|
|
111
|
+
- Shell completion notices and `/tasks` no longer show replacement characters when the last 8 KiB of output start inside a UTF-8 character. Saved shell excerpts and expanded previews keep emoji, combining sequences and omission labels whole. Short task titles in the agent panel and attached chat now keep emoji and combining sequences whole and count the ellipsis inside the 60-unit limit. Subagent completion notices no longer split an emoji at the end of the saved preview or the result excerpt sent to the parent; waiting on the task still returns the same result ([#5654](https://github.com/bastani-inc/atomic/issues/5654), [#5671](https://github.com/bastani-inc/atomic/issues/5671)).
|
|
112
|
+
- Quitting at the first prompt after declining project trust no longer crashes if the bundled local model provider is still loading ([#5639](https://github.com/bastani-inc/atomic/issues/5639)).
|
|
113
|
+
- `atomic --export <session.jsonl>` shows an agent card when a single subagent launch on the selected branch has a recorded child transcript or background handoff. Expand it to see the saved prompt, tool calls and answer, or a note when the child history is not included. The original arguments and receipt remain available beneath the card ([#5658](https://github.com/bastani-inc/atomic/issues/5658)).
|
|
114
|
+
- On Windows with the native bindings loaded, clock probes use the runtime’s creation permissions and are removed by a verified handle. If removing a newly published pool record’s temporary link is briefly refused, Atomic checks that it still names the published file before retrying. A held slot has the same permissions as an ordinary mode-0600 record. Taking a lock or sampling the clock does not load or install the bindings. Clock readings preserve existing probes on a name collision. Windows filesystem-time readings count cleanup time without treating a change to the reader’s wall clock as elapsed time; other platforms keep their existing estimate ([#5605](https://github.com/bastani-inc/atomic/issues/5605), [#5634](https://github.com/bastani-inc/atomic/issues/5634), [#5636](https://github.com/bastani-inc/atomic/issues/5636)).
|
|
115
|
+
- When a reopened subagent notice has no saved outcome, its separately saved agent name can distinguish a stop from pause or wait wording in the task description. A title alone is ambiguous: an agent's name can end in `killed (non-resumable):`. Notices without a separate name, or with a body or preview, keep their previous reading ([#5690](https://github.com/bastani-inc/atomic/issues/5690)).
|
|
116
|
+
- SDK sessions and `atomic -p` can use a saved, account-only GitHub Copilot model without first running `atomic update --models`. The first prompt checks the account list only when no catalog is cached and no local model or configured fallback can handle it. Startup, shared model listings and credentials are unchanged ([#5685](https://github.com/bastani-inc/atomic/issues/5685)).
|
|
117
|
+
|
|
118
|
+
## [0.9.89] - 2026-11-18
|
|
119
|
+
|
|
120
|
+
Compaction clears the context and lets the agent recover it from history, `model: "auto"` runs your default model, an agent panel keeps subagents and workflows in view, and the interface stays responsive under load.
|
|
121
|
+
|
|
122
|
+
**Compaction and history**
|
|
123
|
+
|
|
124
|
+
- **Clear-and-recover compaction.** By default compaction calls no model. It clears the context, and the agent recovers what it needs from session history with its own tools. A compactor model such as `morph/morph-compactor` can condense the context instead, and `/compact` takes instructions ([#5389](https://github.com/bastani-inc/atomic/pull/5389))
|
|
125
|
+
- **Bounded history reads.** `history://` reads and searches stay within output and time budgets, return continuation URLs, select saved entries, and search large stores through incremental indexes ([#5250](https://github.com/bastani-inc/atomic/issues/5250))
|
|
126
|
+
|
|
127
|
+
**Models**
|
|
128
|
+
|
|
129
|
+
- **`model: "auto"` runs your default model.** Subagents, workflow stages and builtin agents start on your default model and thinking level without a routing request, and Atomic removes the retired `modelRouting`, `taskNeeds` and `modelConstraints` settings once ([#5381](https://github.com/bastani-inc/atomic/pull/5381), [#5406](https://github.com/bastani-inc/atomic/pull/5406), [#5409](https://github.com/bastani-inc/atomic/pull/5409))
|
|
130
|
+
- **GPT-6.2 Astra and GPT-6.2 Sol.** Both are available on OpenAI, Azure OpenAI and Codex, and GPT-6.2 Sol is the new default for the OpenAI providers ([#5410](https://github.com/bastani-inc/atomic/pull/5410))
|
|
131
|
+
- **Fallbacks skip missing credentials.** Model chains for chats, subagents and stages skip providers without credentials before sending a request, and the error names the models and providers affected ([#5353](https://github.com/bastani-inc/atomic/pull/5353))
|
|
132
|
+
|
|
133
|
+
**Interface**
|
|
134
|
+
|
|
135
|
+
- **Agent panel.** Running subagents and workflow runs are listed below the prompt, and `/tasks` groups them by Needs input, Working and Done. A released subagent shows as waiting on its tool with its saved conversation, and Alt+W opens the shell it waits on. Subagent and stage chats share the main chat's composer, working line, tool blocks and shell count, and a click on a block header expands it ([#5224](https://github.com/bastani-inc/atomic/issues/5224), [#5239](https://github.com/bastani-inc/atomic/pull/5239), [#5405](https://github.com/bastani-inc/atomic/pull/5405), [#5407](https://github.com/bastani-inc/atomic/pull/5407), [#5408](https://github.com/bastani-inc/atomic/pull/5408), [#5430](https://github.com/bastani-inc/atomic/pull/5430), [#5438](https://github.com/bastani-inc/atomic/pull/5438), [#5448](https://github.com/bastani-inc/atomic/pull/5448))
|
|
136
|
+
- **Sessions and runs in one place.** `/resume` lists saved sessions and workflow runs together, the workflow graph pauses, resumes, quits, forks and opens run details from its own keys, and `/workflows` shows definitions that failed to load ([#5245](https://github.com/bastani-inc/atomic/pull/5245), [#5256](https://github.com/bastani-inc/atomic/pull/5256), [#5255](https://github.com/bastani-inc/atomic/pull/5255))
|
|
137
|
+
- **One picker and prompt search.** `/settings`, `/tree`, the fork picker, `atomic config` and the `@` and `/` menus share one picker, and Ctrl+R searches the prompts you sent ([#5347](https://github.com/bastani-inc/atomic/pull/5347))
|
|
138
|
+
- **Questions stay with their session.** A subagent's or stage's question waits in its own chat instead of blocking the main chat ([#5354](https://github.com/bastani-inc/atomic/pull/5354))
|
|
139
|
+
- **Notices instead of cards.** Finished tasks, heartbeats, workflow events and a stage chat's own notices use the chat's compact notice form, Ctrl+O expands their details, and tasks that finish together start one turn instead of one each ([#5342](https://github.com/bastani-inc/atomic/pull/5342), [#5440](https://github.com/bastani-inc/atomic/pull/5440), [#5453](https://github.com/bastani-inc/atomic/pull/5453))
|
|
140
|
+
- **Plain output under `NO_COLOR`.** `NO_COLOR` and `FORCE_COLOR=0` turn off every theme color, bold and italic in chats, tool blocks, `/tasks`, pickers, the workflow graph and run details. `FORCE_COLOR=1` or `2` limits colors to 256, and extensions follow the same rules with `hexColorAnsi()` ([#5435](https://github.com/bastani-inc/atomic/pull/5435), [#5441](https://github.com/bastani-inc/atomic/pull/5441), [#5454](https://github.com/bastani-inc/atomic/pull/5454))
|
|
141
|
+
|
|
142
|
+
**Performance**
|
|
143
|
+
|
|
144
|
+
- **A responsive interface.** File, git, settings, storage and process work no longer block typing or rendering, process starts on Linux no longer slow down as memory grows, long sessions and attached chats render only what changed, and worktree snapshots start fewer Git processes ([#5377](https://github.com/bastani-inc/atomic/pull/5377), [#5345](https://github.com/bastani-inc/atomic/pull/5345), [#5358](https://github.com/bastani-inc/atomic/pull/5358), [#5447](https://github.com/bastani-inc/atomic/pull/5447))
|
|
145
|
+
- **Faster startup.** The first frame paints before the engine loads, in about 270 ms instead of 940 ms for the Linux binary, which also caches its bytecode for every process it starts ([#5339](https://github.com/bastani-inc/atomic/pull/5339))
|
|
146
|
+
- **Less memory over long runs.** Atomic releases ended workflow stages, sessions that launched subagents and replaced extensions, so a host no longer grows to gigabytes ([#5355](https://github.com/bastani-inc/atomic/pull/5355))
|
|
147
|
+
|
|
148
|
+
**Workflows, subagents and storage**
|
|
149
|
+
|
|
150
|
+
- **Fleet health and quota-aware scaling.** `atomic worker status` shows the controller, scale events, rate limits and shipping lag, autoscaling stops at the fleet's usable rate quota, and pooled stages commit to the shared journal about 0.4 times per step instead of 3.4 ([#4768](https://github.com/bastani-inc/atomic/issues/4768))
|
|
151
|
+
- **Reliable subagent starts.** Subagents register on Intercom before their first turn, report a slow start, reach their real supervisor, and answer every message they accept ([#5341](https://github.com/bastani-inc/atomic/pull/5341), [#5318](https://github.com/bastani-inc/atomic/issues/5318))
|
|
152
|
+
- **Intercom reach and multi-node delivery.** SDK hosts can set a session's home Intercom group and the groups it may reach, and a stage can answer the session that launched its run. Across machines, a message to a starting subagent waits for it instead of failing with `Session not found`, a reply after a broker crash stays retryable, and a send to a session that just quit is queued for its return ([#5352](https://github.com/bastani-inc/atomic/issues/5352), [#5373](https://github.com/bastani-inc/atomic/pull/5373), [#5458](https://github.com/bastani-inc/atomic/pull/5458), [#5461](https://github.com/bastani-inc/atomic/pull/5461), [#4997](https://github.com/bastani-inc/atomic/issues/4997), [#5455](https://github.com/bastani-inc/atomic/pull/5455), [#5457](https://github.com/bastani-inc/atomic/pull/5457))
|
|
153
|
+
- **Separate stores per agent directory.** Sibling `ATOMIC_CODING_AGENT_DIR` profiles no longer share sessions, workflows and Intercom through their parent directory, and processes starting together on a fresh agent directory no longer fail reading its storage home ([#5242](https://github.com/bastani-inc/atomic/issues/5242), [#5429](https://github.com/bastani-inc/atomic/issues/5429))
|
|
154
|
+
- **Safer concurrent work.** Atomic keeps the settings you save in an editor, SQLite writers keep their order after a stall, a run stopped by another process's write saves nothing more, restore cleanup never deletes files it did not create, a resume after a killed blueprint build starts in a fresh worktree, and a stage that falls back after a context overflow stops the session it replaces ([#5414](https://github.com/bastani-inc/atomic/pull/5414), [#5422](https://github.com/bastani-inc/atomic/pull/5422), [#5135](https://github.com/bastani-inc/atomic/issues/5135), [#4748](https://github.com/bastani-inc/atomic/issues/4748), [#5379](https://github.com/bastani-inc/atomic/issues/5379), [#5446](https://github.com/bastani-inc/atomic/pull/5446))
|
|
155
|
+
- **Shared libSQL servers.** Statements that sqld answers with `SQLITE_SCHEMA` or `no such table` while other stores change the schema run again, a write after an outage no longer waits on a lock the outage left, and workflow journals wait for the write lock and refuse corrupt counters without writing ([#5456](https://github.com/bastani-inc/atomic/pull/5456), [#5462](https://github.com/bastani-inc/atomic/pull/5462), [#5464](https://github.com/bastani-inc/atomic/issues/5464), [#5467](https://github.com/bastani-inc/atomic/pull/5467), [#5114](https://github.com/bastani-inc/atomic/issues/5114), [#5439](https://github.com/bastani-inc/atomic/pull/5439))
|
|
156
|
+
- **PostgreSQL on Azure.** `atomic storage migrate` says when `pg_trgm` is missing, the storage guide covers Azure flexible servers and HorizonDB, and Atomic retries a write that a briefly read-only server refuses after a failover ([#5444](https://github.com/bastani-inc/atomic/pull/5444))
|
|
157
|
+
|
|
158
|
+
**Install and Windows**
|
|
159
|
+
|
|
160
|
+
- **Sturdier installs.** A pinned version installs without the GitHub API, a rate limit names `GITHUB_TOKEN` as the fix, an interrupted or concurrent install no longer leaves `atomic` unable to start, downloaded tools install when Atomic starts from PowerShell 7, and processes waiting on a killed Git install take over its lock without failing ([#5443](https://github.com/bastani-inc/atomic/pull/5443), [#5452](https://github.com/bastani-inc/atomic/pull/5452), [#5436](https://github.com/bastani-inc/atomic/pull/5436), [#4322](https://github.com/bastani-inc/atomic/issues/4322), [#5434](https://github.com/bastani-inc/atomic/pull/5434))
|
|
161
|
+
- **Busy Windows machines.** A shell command or a named worktree's Git command that ran to completion no longer fails with `Windows stdin worker stop was not confirmed` ([#5340](https://github.com/bastani-inc/atomic/pull/5340), [#5202](https://github.com/bastani-inc/atomic/issues/5202), [#5450](https://github.com/bastani-inc/atomic/pull/5450))
|
|
162
|
+
|
|
163
|
+
**Breaking change:** `/workflow` and its subcommands are removed; ask the agent to run workflows and use `/workflows`, the graph's keys and `/resume` instead. Drop compaction settings other than `compaction.enabled`, `compaction.reserveTokens` and `compactionModel`, and the `modelRouting`, `taskNeeds` and `modelConstraints` fields, which are now ignored; SDK code must stop using the removed background-compaction, compaction-planner and model-routing exports. Custom `SessionStore`s used with `history://` must implement `readEntryRange()`, and `history://sessions/<id>:N-M` ranges now count entries, not lines. Pass `closeOnSelect: false` to single-select `Selector`s that keep taking input after a choice, update `SelectorState.items` through `setItems()`, return a single header from tool `renderCall`, check `SharedPoolScaleEvent.target` and `.live` for `undefined`, and on Windows use `ensurePrivateTempDirAsync()` and `assertPrivateDirectoryAsync()`.
|
|
164
|
+
|
|
165
|
+
### Breaking Changes
|
|
166
|
+
|
|
167
|
+
- Removed the `/workflow` slash command and all of its subcommands; `/workflows` (`Browse running and completed workflows`) and `/workflow-authoring` (`Load the reference for writing workflow definitions`) are the workflow commands, and neither takes flags. Ask the agent to run, list or inspect workflows (it uses the `workflow` tool). Pause, resume and quit a run with `p`, `r` and `q` in its graph, fork with `f` in a finished stage's detail (`d`), resume runs from earlier sessions with `/resume`, and rescan workflow resources with `/reload`. The workflows package changelog lists where each subcommand went ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
168
|
+
- Compaction now has two forms, which replace the line planner and summary compaction. By default it calls no model: it clears the context window, and the model sees the system prompt and one `Context cleared` message. That message names the session's exact `history://sessions/<id>` URL, the entries that hold the earlier conversation and the boundary's saved entry position, and tells the agent what to recover first and how; the agent recovers it with its own `read` and `search` tools in its next turn. With a compactor model set in `compactionModel`, today `morph/morph-compactor`, the compactor condenses the whole context once and its output replaces the context in a `Context compacted` message, followed by the same recovery instructions. Any compactor failure (no credentials, an HTTP error, malformed or empty output, a timeout, output that is too long, a request stopped with Escape or `abortCompaction()`) clears the context instead and shows `Compaction model not used (<reason>); context cleared instead`. Compaction still runs at the `compaction.reserveTokens` threshold, on a provider context overflow (one compact-and-retry per turn) and on `/compact`. A response that ends over the threshold stays the session's last answer for `prompt()` callers, RPC `get_last_assistant_text`, `/copy` and workflow stages; the context is cleared just before the next request, whichever starts it: a prompt, queued input, an interrupt message, or the continuation after a tool's result
|
|
169
|
+
- `compactionModel` accepts only `auto` (or an empty value) and exact registered compactor models. When a session starts, a saved `compactionModel` in global or trusted project settings that names a chat or classifier model is reset to `auto` and saved, and again once extensions have loaded or the project has been trusted during startup; a compactor ID and an ID that names no registered model are kept. A per-run `compactionModel` that names a chat, classifier or unknown model clears the context with a notice instead of failing. `/settings` → **Compaction model** lists **Auto (clear and recover)** and compactor models only
|
|
170
|
+
- Removed the settings `compaction.compression_ratio`, `compaction.preserve_recent`, `compaction.keepContextShare`, `compaction.query`, `compaction.planningTimeoutMs`, `compaction.modelOverrides`, `compaction.background`, `compaction.backgroundThresholdPercent` and `compaction.historyRecall`. They are ignored when present, and settings load without an error. `compaction.enabled`, `compaction.reserveTokens` and `compactionModel` remain. `SettingsManager.getCompactionSettings()` returns only `enabled` and `reserveTokens`, and the accessors of the removed settings are gone
|
|
171
|
+
- `<keepContext>` tags no longer protect text: nothing is kept in context automatically. After a clear or a compaction, the recovery instructions tell the agent to search its history for every tagged span and recover it verbatim before anything else. The tags stay valid in prompts, and a compactor model may honour them
|
|
172
|
+
- `SessionCompactOptions` and the extension `CompactOptions` are now `{ query?, compactionModel? }` (plus `onComplete` and `onError` for `CompactOptions`); `query` carries the compaction instructions. `compression_ratio` and `preserve_recent` are removed from the types and ignored if still passed. A manual compaction with nothing new in context since the last boundary rejects with `Nothing to compact`
|
|
173
|
+
- `session_before_compact` now prepares the whole context since the last boundary: `preparation.region` holds no protected lines, `firstKeptEntryId` is `null` and `keptTailMessageCount` is `0`. A returned `compactedText` becomes a `Context compacted` message followed by the recovery instructions; text longer than a compactor's output may be, or too long to fit below the automatic trigger with the system prompt and the recovery instructions, clears the context instead with the fallback reason `extension failed: output too long (…)`. `{ cancel: true }` still cancels. `compaction_usage` now reports only the compactor endpoint's usage
|
|
174
|
+
- `VerbatimCompactionResult` and `CompactionEntry.details` gained `form` (`"cleared"` or `"compacted"`), `backend` (`"compactor"` or `"extension"`), `model`, `fallbackReason`, `history` (`{ sessionId, rangeUnit: "entries", entriesBefore, boundaryEntry, totalEntries }`) and `historyAccess` (`"read-search"` or `"session-history-tool"`), and lost `rung`, `plannerModel`, `freshReason`, `releasedRanges` and `summary`; `backend` no longer takes `planner`, `classifier`, `summary` or `morph`. `parameters` is now `{ query }`, `promptVersion` is `7`, `compactedText` is the whole boundary message the model sees, and `firstKeptEntryId` is `null`. `details.strategy` stays `"verbatim-lines"`, and boundaries written by earlier versions still replay
|
|
175
|
+
- Removed the background compaction API: `AgentSession.compaction`, `backgroundCompactionEnabled`, `backgroundCompactionThresholdPercent`, `awaitBackgroundCompaction()`, `onCompactionReady()`, `setBackgroundCompactionEnabled()` and `setBackgroundCompactionThresholdPercent()`; the `createAgentSession` option `compactionWake`; `RpcClient.setBackgroundCompaction()` and `setBackgroundCompactionThreshold()`; the `background_compaction` session event; `compaction_end.background` and `compaction_end.cacheMiss`; the root export `CompactionCacheMiss`; the RPC `get_state` fields `compaction`, `backgroundCompactionEnabled` and `backgroundCompactionThresholdPercent`; and the `background_compaction` RPC error code. The RPC commands `set_background_compaction` and `set_background_compaction_threshold` are still accepted and succeed without effect
|
|
176
|
+
- Removed the root exports `runVerbatimCompaction`, `startNewContextWindow`, `CompactionRung`, `CompactionRungResult`, `CompactionRunRequest`, `CompactionPlanOptions`, `CompactionUrgency`, `CompactionPlannerModel`, `CompactedTranscript`, `PlannerAuth`, `PlannerBudget`, `PlannerLimitClass`, `PlannerOutcome`, `PolicyRefusalPhase`, `ReleasedRange`, `SidecarDirectory`, `CompactionModelOverride`, `DEFAULT_BACKGROUND_COMPACTION_THRESHOLD_PERCENT`, `BACKGROUND_COMPACTION_RESULT_TYPE` and every `BackgroundCompaction*` export, including the background compaction error classes and their guards
|
|
177
|
+
- Removed automatic model routing. `model: "auto"` in subagents, agent files, workflow stages and the builtin workflows and agents now runs your default model (`defaultProvider`/`defaultModel`, the model you last chose with `/model`) at its `modelThinkingLevels` entry or `defaultThinkingLevel` unless the caller sets an effort, or the current session's model and thinking level when no default is configured or it has no credentials. No model is asked to choose, so an `auto` launch makes no routing request. `decisionModel`, `decide()`, `generateStructuredOutput()` and the `structured_output` tool are unchanged.
|
|
178
|
+
- Removed the `modelRouting` setting. Saved settings that still contain it load without an error, and its provider and model restrictions no longer limit `auto` or any fallback model. When Atomic starts, it deletes the key from your global settings file and from the settings file of a trusted project (or of a project when you trust it), keeps every other setting, and shows `Removed the "modelRouting" setting from global settings` (or `project settings`) once, in the chat when the interactive UI is open. When the file cannot be written, the key is ignored with a warning shown once, and again only after its value changes. A legacy `routerModel` key still migrates to `decisionModel`.
|
|
179
|
+
- Removed the routing SDK exports `routeExecutionModel`, `AutoRoutingInferenceError`, `ModelRoute`, `ModelRoutingContext`, `RoutingInferenceBounds`, `ParallelSlot`, `ModelRouterOutput`, `ModelConstraints`, `ModelConstraintsSchema`, `parseModelConstraints`, `eligiblePair`, `setsProviders`, `TaskNeeds`, `TaskNeedsSchema`, `parseTaskNeeds`, `mergeTaskNeeds`, `WORK_KINDS`, `DIFFICULTY_LEVELS`, `MISTAKE_COST_LEVELS`, `WorkKind`, `Difficulty`, `MistakeCost`, `reportModelRoutingDebug` and `ModelRoutingSettings`, along with `SettingsManager.getModelRouting()`, `ExtensionContext.getModelRouting()`, the `routerSelection` field of the exported `AgentIntent` and `TaskRecord` types, and the `model-routing` debug area and its `ATOMIC_MODEL_ROUTING_DEBUG` variable. A decision classifier's fallback to the chat model is now recorded only in the debug log, under the new `decision` debug area.
|
|
180
|
+
- Removed the model benchmark docs (`models/evals` and `models/model-selection`) and the script that refreshed them. When asked which model to choose, the system prompt no longer sends the agent to benchmark docs or benchmark sites.
|
|
181
|
+
- On Windows, `ensurePrivateTempDir()` and `assertPrivateDirectory()` no longer check a directory's owner and access list synchronously. They accept a directory already checked in the process; otherwise they start the check in the background, and `assertPrivateDirectory()` throws `TempDirRefusedError` ("its ownership is still being verified") while `ensurePrivateTempDir()` returns another private directory. **Migration:** use `ensurePrivateTempDirAsync()` and `assertPrivateDirectoryAsync()` on Windows to wait for the check ([#5285](https://github.com/bastani-inc/atomic/issues/5285))
|
|
182
|
+
- `history://sessions/<id>:N-M` selects saved entries rather than transcript lines. Search results, compaction recovery instructions and the restricted `session_history` tool use the same entry positions ([#5250](https://github.com/bastani-inc/atomic/issues/5250))
|
|
183
|
+
- Custom `SessionStore` implementations used with `history://` reads or searches must implement `readEntryRange(sessionId, query)`: `history://` no longer falls back to `load(sessionId)` on whole sessions ([#5250](https://github.com/bastani-inc/atomic/issues/5250))
|
|
184
|
+
- `Selector` single-select pickers now stop accepting input after `onSelect` by default, including Esc and Ctrl+C. For persistent or multi-stage pickers that call `setItems()` after a choice, pass `closeOnSelect: false`. If saving a choice fails, call `retrySelection()` to accept input again. `onConfirm` and `onCancel` still stop the picker ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
185
|
+
- `SelectorState.items` is now read-only, and item-list snapshots are frozen. Replace `state.items = rows` and array mutations with `state.setItems(rows)`, or use `selector.setItems(rows)` for a rendered picker. Copy a snapshot before modifying it ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
186
|
+
- Tool `renderCall` output is now a single header. Move multiline previews into `renderResult`, or return a `ToolBlock` with a body and result records. Atomic supplies the state glyph, elapsed metadata and connectors for ordinary renderers; explicit `renderShell: "self"` renderers keep their own framing ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
187
|
+
- `UserMessageSelectorComponent`, the `/fork` picker, is now a selector component instead of a `Container` wrapping a message list, so `Container` methods such as `addChild` are gone. `getMessageList()` returns the component itself; assigning `onSelect` or `onCancel` on it still replaces what Enter and Esc call ([#5256](https://github.com/bastani-inc/atomic/pull/5256))
|
|
188
|
+
|
|
189
|
+
### Added
|
|
190
|
+
|
|
191
|
+
- Set `ATOMIC_EVENT_LOOP_BLOCK_MS` to a positive whole number of milliseconds to log every stall of the interactive UI or its engine at least that long, with the functions that were running and each process's event-loop delay for startup, the session and shutdown, to `event-loop-blocks.jsonl` in the agent directory or the file `ATOMIC_EVENT_LOOP_BLOCK_LOG` names. Nothing starts while it is unset. See [Finding what freezes the UI](/development#finding-what-freezes-the-ui)
|
|
192
|
+
- SDK: `BashToolOptions.commandPrefix` accepts a promise, awaited for each command, and asynchronous forms of helpers that used to block: `resolveInstalledGit`, `getGitStatusAsync`, `processSharedStorageSelectionAsync`, `processStorageEnvironmentAsync` and `AgentSession.getToolStatusAsync`. The SDK also exports `killProcessTree`, `containProcessTree`, `processTreeEnded` and the `ProcessTreeContainment` type for cross-platform child-process containment and cleanup, `trackDetachedChildPid`, `markDetachedChildExited` and `untrackDetachedChildPid`, so a child started in its own process group is stopped when Atomic exits or its terminal hangs up (once it exited, only what is left of its process group), and `killChildProcessTree`, which stops a child's tree without a Job object and never signals a pid whose process already exited
|
|
193
|
+
- SDK: `AgentSessionConfig.powerShellAvailable` says whether PowerShell is available for the `powershell` tool. `createAgentSession` resolves it without blocking and passes it; a session constructed without it still looks for PowerShell on `PATH` while it is constructed
|
|
194
|
+
- `@bastani/atomic/storage` adds `storageHomeDirAsync`, `workflowsStorageDirAsync`, `defaultJournalStoreDirectoryAsync`, `defaultSessionDatabasePathAsync`, `defaultSharedStoragePathAsync`, `storagePathBaseDirAsync`, `readClaimFileAsync`, `claimFileAtomicallyAsync`, `sameDirectoryAsync` and `selectStorageAsync`. The root SDK also adds `selectProcessStorageAsync`; synchronous storage helpers remain available
|
|
195
|
+
- SDK: `loadMcpConfigAsync`, `updateMcpServerConfigAsync`, `addMcpServerConfigAsync`, `removeMcpServerConfigAsync`, `savedProjectTrustAsync`, `latestSessionSnapshot`, `latestSessionSnapshotAsync`, `mapPathForCwdAsync`, `AuthStorage.createAsync()`, `SettingsManager.createAsync()`, `ModelRuntime.getCompatibilityRequestConfigAsync()` and `ModelRuntime.getCatalogInputsGenerationAsync()`. Existing synchronous forms retain their return types
|
|
196
|
+
- SDK: `getProjectTrustOptionsAsync`, `hasProjectTrustInputsAsync`, `hasTrustRequiringProjectResourcesAsync`, `buildSkillCatalogAsync`, `emptySkillCatalog`, `mapRestoredPathAsync`, `workspaceSessionCwdAsync`, `takeTakeoverMutexAsync`, `appendDebugRecordAsync`, `reportDebugAsync` and `flushDebugLog`. Synchronous helper forms remain available for existing integrations
|
|
197
|
+
- Ctrl+R (`app.history.search`) searches the prompts the session has recorded, newest first and each once, each with how long ago it was sent. A prompt an `input` hook rewrote is listed as the hook left it; ↑ and ↓ still walk through what you typed. Typing filters, Enter puts the chosen prompt in the composer without sending it, and Esc leaves the draft alone. See [Keybindings](https://github.com/bastani-inc/atomic/blob/main/packages/coding-agent/docs/keybindings.md) ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
198
|
+
- Added `Selector` options `closeOnSelect` for persistent single-select pickers, `rightConfirms: false` to disable Right activation and `minDescriptionWidth` to reserve a value column beside right-hand tags before shortening row labels, `retrySelection()` to reopen a picker after a failed choice, and item `searchTextMode: "replace"` to search only explicit `searchText` instead of displayed labels, descriptions and tags ([#5224](https://github.com/bastani-inc/atomic/issues/5224), [#5347](https://github.com/bastani-inc/atomic/pull/5347))
|
|
199
|
+
- Added `applyAttachedComposer(style, label, placeholder, lines)` for custom chats to use Atomic's heavy accent rules and recipient placeholder. Labels and placeholders discard terminal controls, including when a draft scrolls beyond the editor ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
200
|
+
- `SelectorState` gains a `maxVisible` getter and `setMaxVisible()` to change how many rows a picker shows, and `setItems()` drops checked ids whose rows were removed ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
201
|
+
- Custom message renderers receive `options.cwd` when a chat supplies its working directory, so embedded views can format paths without relying on the process directory ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
202
|
+
- Extensions can use `ToolBlock`, `ToolBlockRecords`, `ToolBlockGroup` and `ToolBlockMarkdown` to render transcript items with shared state glyphs, indentation and safe Markdown ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
203
|
+
- Added `pi.registerAgentPanelSource(source)`, which adds an extension's own rows to the agent panel and `/tasks`, as the workflows extension adds its runs. A source lists `AgentPanelItem`s and notifies when they change, and can open, stop and answer them. Items with invalid fields are skipped, and a source that throws is reported as an extension error without hiding other rows. The SDK exports the panel's types (`AgentPanelSource`, `AgentPanelItem`, `AgentPanelState`, `AgentPanelActionResult`, `AgentPanelOpenOptions`, `AgentPanelAnswerOptions`, `AgentPanelSession`, `AgentPanelSourceRegistration`) and `agentPanelItems()`, `subscribeAgentPanel()`, `openAgentPanelItem()`, `stopAgentPanelItem()`, `answerAgentPanelItem()`, `dismissedAgentPanelItems()` and `agentPanelTaskId()`. `AgentPanelAnswerOptions.choiceIndex` identifies an option picked by its number without depending on its displayed label. See [pi.registerAgentPanelSource](docs/extensions/api-reference.md#pi-registeragentpanelsource-source) ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
204
|
+
- `atomic worker status` and the `workflow` tool's `status` action show the fleet controller, its latest scale events, the fleet-wide rate limits and each worker host's checkpoint shipping lag, and when each running child last recorded a step. `atomic worker metrics` caps the hosts it asks for at the capacity estimated from recent calls and worker time not spent waiting for tokens, holding limited growth at the current host count while a minute of history warms, and exports the combined capacity across every root as `rateCapHosts` and `atomic_fleet_rate_cap_hosts`, even when it does not reduce the target. An unused scope releases its hold after a minute without draws while its roots run children, not while its first host is booting or its claimed children are restoring their workspaces. Only started attempts contribute busy time to the estimate; bucket movement that reveals uncounted draws from older hosts disables that scope's cap for the observation window. See [The scaling signal](https://github.com/bastani-inc/atomic/blob/main/packages/coding-agent/docs/guides/worker-hosts.md#the-scaling-signal) ([#4768](https://github.com/bastani-inc/atomic/issues/4768))
|
|
205
|
+
- `resolveAutoModel()` from `@bastani/atomic` returns the model and thinking level `model: "auto"` stands for, from the settings, the models that have credentials and the current session's model, without any model request
|
|
206
|
+
- `heldPrompts()` and the `HeldPrompt*` types let task-view hosts inspect, subscribe to, answer and cancel session-local prompts by session and prompt id. `routeNamesPrompt`, `isHeldPromptInput`, `isPresentationHostInput` and `watchHeldPromptAttention` support input routing and task attention ([#5354](https://github.com/bastani-inc/atomic/pull/5354))
|
|
207
|
+
- `createAgentSession({ intercom: { group, reachable } })` gives a top-level session its own Intercom home group, ahead of `ATOMIC_INTERCOM_GROUP`, Intercom `config.json` and the project group, and the other groups it may reach; the session keeps its workflow extension. It lists, sends to, asks and joins only within those groups, can't leave its home group, and reach is one way, while replies to its asks still arrive. `session.intercom.setReachable(groups)` changes the reachable groups on the live session from its next Intercom call. Its workflow stages and subagents reach only their own groups, and the Intercom broker enforces the policy. ([#5352](https://github.com/bastani-inc/atomic/issues/5352))
|
|
208
|
+
- Added `AgentSession.setModel(model, { thinkingLevel })` to set a model and its reasoning level in one call. Unsupported levels clamp to a supported level, and `persist: true` saves both. RPC `set_model` also accepts `thinkingLevel` and rejects unrecognized values without switching the model. `RpcClient.setModel(provider, modelId, { thinkingLevel })` sends the option. Persisted `set_model` and `cycle_model` responses include `persistedDefaults` to distinguish saved startup preferences from session-only changes ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
209
|
+
- Added RPC `set_scoped_models` to replace the session's model-cycling scope and optionally save global model patterns through `enabledModels`. Scoped model searches and `cycle_model` use the updated list immediately ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
210
|
+
- `ATOMIC_STARTUP_TRACE` names a file to which Atomic appends each startup milestone (process start, first paint, engine ready, first provider request) with its wall-clock time; an interactive session's engine writes to the same file
|
|
211
|
+
- `WorkflowRunControl` gains optional `listResumeEntries()`, `resumeFromPicker()` and `deleteResumeEntry()` so `/resume` can list, resume and delete durable and live-paused workflow runs alongside saved sessions ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
212
|
+
- `/compact` takes optional instructions, for example `/compact keep the migration plan`. They are added to the boundary message, so the agent knows what to recover first, and they become a compactor model's query. SDK and extension code pass them as `session.compact({ query })` and `ctx.compact({ query })`, RPC clients as `{"type": "compact", "instructions": "..."}`, and `RpcClient.compact(instructions?)` takes them too
|
|
213
|
+
- An agent whose tools leave out `read` or `search`, such as a subagent or workflow stage with a restricted tool allowlist, gets one read-only tool, `session_history`, after compaction first clears its context, and a resumed session gets it whenever its resumed tools leave out `read` or `search`. `{"pattern": "<regex>"}` searches and `{"lines": "N-M"}` reads its own session's history; it reaches nothing else
|
|
214
|
+
- A compactor model set in `compactionModel` now replaces the context with its own output: Atomic sends the whole context the model sees once, framed by message kind and leaving out messages kept out of context, with the compaction instructions or else the latest request as the query, and waits at most 120 seconds. Output longer than 32,000 estimated tokens, or half of the automatic trigger on a small context window, counts as a failure and clears the context instead, as does output that would not fit below the automatic trigger together with the system prompt and the recovery instructions. If the endpoint returns the configured API key, it is replaced with `[redacted]` before the output is saved
|
|
215
|
+
- New root exports `buildBoundaryText`, `buildCompactorMessages`, `requestCompactorOutput`, `resolveCompactionModel`, `CompactorFailure`, `COMPACTOR_COMPRESSION_RATIO`, `COMPACTOR_REQUEST_TIMEOUT_MS`, `COMPACTED_OUTPUT_MAX_TOKENS` and `SESSION_HISTORY_TOOL_NAME`, and the types `CompactionForm`, `CompactionBackend`, `CompactionHistoryLocation`, `CompactionModelSelection`, `CompactorMessage` and `CompactorRequest`
|
|
216
|
+
- `ensurePrivateTempDirAsync()` and `assertPrivateDirectoryAsync()` for extensions and SDK integrations: they create or check a directory private to the current account without blocking, waiting for the Windows owner and access-list check ([#5285](https://github.com/bastani-inc/atomic/issues/5285))
|
|
217
|
+
- `ChatTranscriptComponent` accepts a cache key made of parts, compared one by one, as well as a string, so a host can name what an entry renders from without building a string for every entry on every frame.
|
|
218
|
+
- Workflow graphs open run details with `o`, including outputs, artifacts, events, nested blockers and logs. Broken workflow definitions appear beside runs in `/workflows`, with actionable error details and `/reload` guidance ([#5255](https://github.com/bastani-inc/atomic/pull/5255))
|
|
219
|
+
- `SessionInfo` and `ctx.ui.hostSessionPicker()` rows accept optional `title`, `detail` and `canDelete` fields (`SessionInfo` also accepts `resumeKind: "workflow"` for workflow-run rows), and the picker request accepts `title` for the heading and `variant: "runs"` for rows that are not sessions, which leaves the folder scope, named-only filter and path keys out. See [Host-native session picker](docs/tui/reference.md#host-native-session-picker) ([#5256](https://github.com/bastani-inc/atomic/pull/5256))
|
|
220
|
+
- In the fullscreen main chat, `/tasks` transcripts, subagent chats and workflow stage chats, a click on the header of a tool block, grouped-call summary or finished-agent card expands or collapses that block alone. Clicks in a block's output still select text, and Ctrl+O still sets every block at once. A click on a row of the agent panel below the prompt opens it, as Enter does
|
|
221
|
+
- `ToolBlockMarkdown` takes an optional default text style, such as a color, for the plain text it renders
|
|
222
|
+
- `hexColorAnsi(hex, "fg" | "bg")` returns the escape sequence for a `#rrggbb` color that follows `NO_COLOR` and `FORCE_COLOR` the way theme colors do, for extensions that paint their own colors
|
|
223
|
+
|
|
224
|
+
### Changed
|
|
225
|
+
|
|
226
|
+
- SDK: a blueprint build's trust check (`BlueprintBuildConfig.trusted`) may return a promise
|
|
227
|
+
- An edit preview or result whose change needs more than 256 line edits shows the changed block replaced as a whole, and a modified line that differs by more than 64 word edits is shown without word highlights, instead of freezing the interface while the full diff is computed
|
|
228
|
+
- `/settings` uses the shared picker: a title, the rounded search box, the ❯ marker, a value column with › after a value that opens its own picker, the selected setting's description under the list, "↑ N more · ↓ N more" in place of a position counter, and one hint line that says whether enter or space changes the selected setting or opens its picker. The value pickers (decision model, compaction model, per-model thinking level, theme) mark the current value ● and the others ○ and open on the current value; esc clears a search before it goes back ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
229
|
+
- The editor's `@` and `/` menus end with one hint line listing the keys that work there: select, tab to complete, enter to run a command or insert a path, and esc to close. An `@` row no longer repeats a path its name already shows. `atomic config` lists its keys on one hint line under the list instead of beside the title ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
230
|
+
- The main chat's below-prompt task line is now the **agent panel**: one row per running or recent background subagent and workflow run, with its status glyph, name, task, elapsed time and tokens (a workflow run shows stage progress, a waiting question or a failure reason). A `● main` row leads the panel whenever it lists a subagent. Background shells are not rows: the footer counts the running ones (`2 shells`, plus `/tasks to manage` when the panel is empty), and `/tasks` lists them. ↓ (`app.agents.focus`) on an empty prompt focuses the panel; Enter or → opens a subagent's chat or a run's graph; `x` twice stops; finished rows fade and leave after a few minutes. A stage or subagent chat lists its own active tasks below its prompt in the same rows, and `renderTaskFooter` renders those rows. Workflow stage chats and subagent chats count their running background shells below their agent rows, for example `2 shells`, as the main chat's footer does, instead of listing each shell as a row. With no subagent rows the line adds `/tasks to manage`. `/tasks` still lists every shell ([#5224](https://github.com/bastani-inc/atomic/issues/5224), [#5405](https://github.com/bastani-inc/atomic/pull/5405), [#5448](https://github.com/bastani-inc/atomic/pull/5448))
|
|
231
|
+
- Subagent and workflow stage chats share attached composers, live-key hints and the `?` key overlay. A subagent chat names its sender and echoes its initial prompt. Heavy accent rules name the recipient, task and state (`debugger · #5220 spawn lock · 18m`), with a `Message debugger…` placeholder (`Answer debugger…` while it waits on a question). The main footer counts panel rows and pending questions. Opened from the agent panel, ← on an empty subagent prompt returns to the main chat ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
232
|
+
- `/tasks` lists workflow runs beside subagents and shells in one-line rows, grouped **Needs input**, **Working** and **Done** under a header with their counts. Space opens a compact peek card with a waiting run's question, a working subagent's message box, or a shell's status. `/` filters the list; Enter or → opens a graph, chat or shell output. A subagent waiting for input shows its question on its row, and Space, Enter or → opens its chat to answer it. A subagent whose turn you interrupted reads `stopped` with its time held, and still offers `x stop` until the task settles. A shell's input opens in the bottom sheet instead of a full-screen frame. Send acknowledgements stay with that input page and keep any newer draft. If a question changes while you type a reply, the reply is cleared with a notice, so it never reaches the newer question; Escape or ← still closes `/tasks` while an answer is sending. An item that finishes between the two presses of `x` requires acknowledgement, and a finished row cannot be dismissed before it is painted ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
233
|
+
- The host input form (`ctx.ui.hostInputForm`) shows on each field whether its value is ready, `✓` or `✗` with the reason, and refuses a fractional `integer`, and a `boolean` other than `true`, `false`, `on`, `off`, `1` or `0`, instead of reading it as off ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
234
|
+
- Inline navigation views temporarily hide extension widgets above and below the editor, including the agent panel, and queued-message and pending-shell previews so the view's rows and key hints stay visible. Closing the last inline navigation view restores their latest content ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
235
|
+
- Main chat, workflow stage chats and subagent chats share the same working line, with a whimsical verb, elapsed time and token count. A finished run leaves a dim past-tense summary until the next run. Chats opened mid-run pick up its elapsed time and output, and a request's token arrow points up while waiting for content and down as content arrives ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
236
|
+
- The jump-to-latest control is one centered, highlighted pill in main chat, stage chats and subagent chats. Its fill stays inside the label rather than painting a full-width band. Narrow terminals keep the label without its padding, and grouped-call summaries reserve space for their live expand hint ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
237
|
+
- Tool calls and notices share state glyphs, one-row headers, connected result rows and consistent expand hints, without tinted tool backgrounds. Consecutive finished reads, searches and directory listings group into compact summaries; shell calls also group in attached chats, while the main chat keeps each shell's preview visible ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
238
|
+
- `history://` reads and searches use output, entry and time budgets and return continuation URLs that preserve the selected ranges, pin the session or workflow run in progress, and avoid repeating sessions as new activity changes their order. Long sessions return outlines with links to user turns and compaction summaries. Cold JSONL and legacy listings label partial metadata and lower-bound message counts as estimated. SQL stores build trigram search indexes incrementally so later searches load matching entries rather than whole sessions; stores without an index scan in bounded pages. The index adds roughly the size of the rendered text to storage ([#5250](https://github.com/bastani-inc/atomic/issues/5250))
|
|
239
|
+
- On Linux, starting a shell or one of Atomic's own processes (worktree snapshot Git, `pi.exec`, the search tools' `rg` and `fd`, worktree setup) no longer pauses Atomic for a time that grows with its memory. Each start copied the whole process with `fork()`, which took about 65 ms per GB it held. A session holding 8 GB that started five processes a second kept its main thread busy 99.9% of the time, so subagents took minutes to start and the screen and Intercom lagged; it now stays under 2% at any size. `ATOMIC_HOST_SPAWN=child-process` restores Node's `child_process` for Atomic's own processes.
|
|
240
|
+
- Hosts running many agents stay responsive while they record worktree snapshots. A turn whose checkout did not change now starts 9 Git processes instead of 14, a changed one 17 instead of 21, and sessions that capture the same checkout at the same time compute its tree at most twice instead of once each. Each snapshot still records the checkout as it was after its turn. Restoring a worktree snapshot, such as when a workflow resumes in a fresh worktree, starts fewer Git processes: the store is asked once whether it already holds the snapshot's commit before fetching it, several missing commits are looked up together, and the restored worktree's Git directory is read from its `.git` file. Each Git process costs tens of milliseconds on Windows ([#5447](https://github.com/bastani-inc/atomic/pull/5447))
|
|
241
|
+
- Interactive startup no longer waits for its engine: the first frame, with an editor that takes input, appears while the engine still loads, and a host on a terminal starts the engine as it starts itself, so a prompt typed at launch goes out sooner. The standalone binary paints its first frame in about 270 ms instead of 940 ms on Linux and in about 450 ms instead of 1,290 ms on Windows; the npm package in about 940 ms instead of 1,570 ms on Linux and 2.3 s instead of 4.3 s on Windows
|
|
242
|
+
- The standalone binary for the build's own platform (Linux x64, Windows x64) ships a bytecode cache of its application bundle, so every process it starts, including `-p`, `--mode rpc`, subagents and workflow workers, loads in about 150 ms instead of 360 ms
|
|
243
|
+
- On Windows, finding PowerShell on `PATH` no longer starts `where` and waits for it, which cost every start about 25–40 ms before its first frame
|
|
244
|
+
- A background shell a subagent starts now belongs to that subagent. Its completion notice reaches only the subagent: while it runs, through its wake while it is released, and otherwise when it next runs. It is never sent to the chat or workflow stage that launched the subagent, and that chat's recovery status does not count it as a result shown there. The shell is listed in the subagent's own `/tasks`, not the launcher's, though it still runs in the launcher's task owner, so it outlives the subagent and Ctrl+X Ctrl+K still stops it. The main chat no longer receives the completion notices of shells it never started: a subagent's shell that finished after the subagent ended, was stopped or could not take the notice reported to the main chat, and so did a workflow stage's shell whose notice was still being written when the stage closed, each starting its own turn there, and the main chat's `/tasks` listed every subagent's shells ([#5342](https://github.com/bastani-inc/atomic/pull/5342))
|
|
245
|
+
- Tasks that finish together reach the model in one request that starts one turn, instead of one turn each. Retries after a storage error preserve saved results and deliver each notice once. A notice that arrives while the chat is working is read at that turn's next safe point and starts no turn of its own. Each finished task now shows as one line, such as `● Background command "npm test" completed (exit code 0) · 12s` or `◼ Task "sleep 300" was stopped by the user`, the same in the main chat, workflow stage chats and subagent views. Completion notices no longer display a model or reasoning line; `/tasks` and saved notice details retain those settings. Ctrl+O shows a shell's last output lines and an agent's full retained result ([#5342](https://github.com/bastani-inc/atomic/pull/5342))
|
|
246
|
+
- Clarified in `codemode`'s description, system-prompt guidance, and `searchTools()`/`describeTool()` hints that `subagent`, `workflow`, and other model-only tools (plus `intercom`'s model-only actions) cannot be called from inside a `codemode` script, and should be called directly as separate top-level tools when available in the session
|
|
247
|
+
- `openNodeSqliteDatabase` and `wrapNodeSqliteDatabase` connections hold a shared lock on `<file>-open.lock` while they are open, `file:` URIs included, so Atomic removes a local checkpoint journal only when none of them has it open. An `openNodeSqliteDatabase` read-only connection takes the lock only beside a database that has a `<file>-holders` directory, a `<file>-open.lock` or a `<file>.lock` file, and goes without it where it cannot create the lock file, such as in a read-only directory. Wrapped file-backed connections attempt the lock even for an untouched read-only database, because the caller's connection does not expose its read-only setting. Wrapping also works without the lock when the lock file is not writable, including when a Windows directory's permissions refuse new files ([#5317](https://github.com/bastani-inc/atomic/issues/5317))
|
|
248
|
+
- `SessionStartStep` has a `registering-intercom` step, for a subagent start that waits for its Intercom registration, and `sessionStartStepText(step)` describes a step in words. `SubagentChildPolicy.startup` gives an extension the child's start signal, lets it name the step the start waits in, and says whether the child has yet to start its first turn.
|
|
249
|
+
- `/resume` lists saved sessions and workflow runs together in counted groups, with two-line rows, type-to-search across both catalogs, Space preview and Enter to resume. `/resume <id>` accepts a full session or workflow id or a unique eight-character prefix. Edited workflow definitions require explicit confirmation before resuming, including after a restart. Refreshes keep loaded rows and the highlighted entry when workflow history is temporarily unavailable. The hint follows the selected row's available actions, and `?` shows the full key list when space is limited. Large session histories open and search without repeating a filesystem lookup for every row ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
250
|
+
- The fork picker, `/tree`, `atomic config`, the editor's `@` and `/` menus, and the `/mcp` and `/llama` pickers share the same picker look: the ❯ selection marker, a rounded search box, and "↑ N more · ↓ N more" in place of a position counter. The fork picker gains type-to-search, and `/mcp` and `/llama` lists longer than one screen get a search box ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
251
|
+
- A compaction boundary shows as one line in the main chat, subagent views in `/tasks` and workflow stage chats: `⚛ Context cleared · <tokens before> tokens`, or `⚛ Context compacted · <model or extension> · <before> → <after> tokens`. Ctrl+O (`app.tools.expand`) shows the whole boundary message, with the recovery instructions and any compacted text. Compaction never falls in the middle of a stream or between a tool call and its result: manual compaction stops the active run first, and no boundary is written while a tool call still waits for its result. Automatic compaction then clears the context before the request that continues with the result, and `/compact` reports that a tool call is still waiting
|
|
252
|
+
- Pool operations that wait for another process's lock now poll every 50 ms for up to 60 seconds, allowing a stopped holder's lock to expire after 30 seconds. Parking a seed polls at the same cadence for up to 120 seconds. Cancellation interrupts lock retries while a resume acquires a pool slot or adopts a seed, and while a prebuild acquires a pool slot. Ownership updates and cleanup finish before cancellation returns ([#5320](https://github.com/bastani-inc/atomic/issues/5320))
|
|
253
|
+
- Attached workflow stage chats, subagent chats and `/tasks` now keep up with typing and streamed output while workflows, subagents and background shells run, as the main chat does. A key there paints as soon as Atomic's engine answers it, instead of after a paced render on each side of the engine; streamed text paints on the next frame instead of the working animation's next tick; a chat over a long transcript renders only the entries that changed, instead of every entry on each frame and whenever a turn started or ended; and a full-screen stage or subagent chat no longer redraws the main chat hidden under it on every frame.
|
|
254
|
+
- A model request in a long session no longer holds the interactive engine, and every stage chat, subagent chat and `/tasks` keystroke with it, to copy the whole conversation when no extension handles `context` events.
|
|
255
|
+
- The default model for the `openai`, `openai-api`, `azure` and `openai-codex` providers is now GPT-6.2 Sol (`gpt-6.2-sol`) instead of GPT-6.1 Sol, at the same price. GitHub Copilot keeps GPT-6.1 Sol as its default (upstream [e56d35c](https://github.com/earendil-works/pi/commit/e56d35ce5eceedfa16eaf13a5f01a1f7b7271253), [cead615](https://github.com/earendil-works/pi/commit/cead615b48b80d1c61eecab2f0b576d16eeaf4c5))
|
|
256
|
+
- A subagent released while it waits on a call is listed under a new **Waiting** group in `/tasks` and as `waiting on <tool>` in the agent panel, with a still mark, instead of looking like a working agent; a chat's task footer and the task detail show it waiting too. Opening it shows its saved conversation without waking it, what it waits on, and the shells it launched that still run; `x` twice stops it as `quit` does instead of dismissing it; and once it wakes, its new run replaces its waiting row. Its "released while waiting" notice no longer starts a turn in the parent's chat. A waiting subagent's launch card in the parent's chat shows the same still `◌` mark and `Waiting on <tool>` as `/tasks`, instead of `⏸ Released · waiting`, which read as paused, and it shows the subagent running or finished again once it wakes or ends. Alt+W (`app.tasks.openWaited`) opens the output of the shell a waiting subagent waits on, from its chat or its `/tasks` row, and ← goes back; the chat's note and the `/tasks` hint name the key. Agent panel sources can report the new `waiting` state with a `waitingOn` text, and `ToolBlock` and `NoticeLine` take the new `waiting` status, so code that switches over `AgentPanelState`, `ToolBlockStatus` or `NoticeStatus` should handle `waiting` ([#5430](https://github.com/bastani-inc/atomic/pull/5430), [#5438](https://github.com/bastani-inc/atomic/pull/5438))
|
|
257
|
+
- A task heartbeat in chat is now a notice like the others instead of a shaded card: one `♥ Task heartbeat · N tasks still running` line, a `⎿` row per task (up to five, the rest counted in one row), and `/tasks to inspect` under them. Expanding it (Ctrl+O) adds each task's status and last output lines. The text the model reads is unchanged. For extensions, `NoticeStatus` gains `heartbeat` (the `♥` mark), and `HeartbeatBlock` draws a heartbeat in this form
|
|
258
|
+
|
|
259
|
+
### Fixed
|
|
260
|
+
|
|
261
|
+
- A settings save no longer reverts a `settings.json` you saved in an editor at the same moment, including while Windows briefly refuses the file to Atomic: Atomic checks the file still holds what it read before each attempt to replace it, and merges its change into your save. A save the editor kept interrupting stays pending and is tried again when settings are next saved or as Atomic exits, and one that still cannot be saved at exit is reported on stderr instead of being dropped silently.
|
|
262
|
+
- Saving a setting no longer rewrites the other settings in the file: a legacy key such as an ignored `routerModel`, and keys Atomic does not recognize, are kept as written (their keys and values are unchanged; the file's formatting may change). Only the removed `modelRouting` setting is dropped. When a save replaces a legacy setting that carried other values, such as the old `skills` object's `enableSkillCommands`, it writes those values in their current form.
|
|
263
|
+
- An ignored legacy `routerModel` (because `decisionModel` is also set, or its value is invalid) is named once instead of at every start, and again only after its value changes. Atomic remembers what it showed in `shown-notices.json` in its agent directory and never rewrites `settings.json` for it.
|
|
264
|
+
- SQLite writers queued for the write lock keep their order and their places when the whole host stalls. A writer passes over another writer's ticket only after it has itself been running for the ticket's 2 s lifetime without seeing it refreshed, so a writer short of CPU after the stall keeps its place however soon the others look again, and a writer that starts after a stall queues behind the writers it found waiting instead of taking the lock ahead of them. A writer that commits after a stall longer than 20 s no longer removes the tickets of the writers stalled with it, and a ticket whose process has exited is still passed over 2 s after its last refresh.
|
|
265
|
+
- In `/resume`, Enter and → act only on the row on screen. If a background refresh moves or removes the selected row, the keys wait for the next frame, so another session or run is never resumed. A delete confirmation for a row that disappears is cancelled. Once the list has loaded, a refresh that adds a newer run above the highlighted row keeps that row highlighted, even if you have not moved the selection ([#5396](https://github.com/bastani-inc/atomic/pull/5396))
|
|
266
|
+
- `NO_COLOR` now turns off every theme color. Chat messages, tool blocks, the agent panel, `/tasks`, pickers, scrollbars, the OpenRouter row in `/login` and Mermaid diagrams used to keep their foreground and background colors while it was set. `FORCE_COLOR=0` turns colors off too, and `FORCE_COLOR=1` or `2` limits them to 256 colors. Under `NO_COLOR` or `FORCE_COLOR=0`, the name in a stage or subagent chat's input rule is no longer bold either. Agent completion notices no longer color their result preview, expand hint or loaded transcript when `NO_COLOR` is set, matching their notice line ([#5396](https://github.com/bastani-inc/atomic/pull/5396), [#5435](https://github.com/bastani-inc/atomic/pull/5435))
|
|
267
|
+
- Prompt search in subagent and workflow stage chats reads that chat's prompts, and Esc closes search or completion before interrupting the agent. An open picker shows its own hints instead of the surrounding chat's interrupt and back hints. Read-only chats no longer open an invisible search that takes scrolling keys. Template and skill prompts appear once as typed, with their send time, and a prompt an `input` hook rewrote appears and is saved as the hook left it, so text a hook redacted is not stored. Completion hints skip keys taken by app shortcuts or earlier menu actions, and `/settings` keeps values visible on narrow terminals without letting Right change or save them ([#5347](https://github.com/bastani-inc/atomic/pull/5347))
|
|
268
|
+
- Input sent while queued messages are paused, such as after Esc stops a turn, now runs `input` hooks once before it is queued, so a hook that rewrites or redacts it applies before it is delivered on resume and saved ([#5347](https://github.com/bastani-inc/atomic/pull/5347))
|
|
269
|
+
- `atomic config` names the settings file of the agent directory in use for global resources; with `ATOMIC_CODING_AGENT_DIR` set it showed `~/.atomic/agent/settings.json` ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
270
|
+
- `history://` multi-line searches accept quantified `\A` such as `\A?` and no longer let a lookahead match text past a search window that stopped before the end. With a lookbehind, `^` (without multi-line mode) and `\A` match at the start of the entry the match starts in, as they do without one. JSONL session reads retry when the file is truncated while a read resumes. A workflow run or stage session that started while a slow run listing was pending is found instead of being reported as missing or as belonging to another project, and a run listing that has not finished a minute after it started is replaced by a fresh one ([#5250](https://github.com/bastani-inc/atomic/issues/5250))
|
|
271
|
+
- Fixed navigation views such as `/workflows` showing a working indicator when no agent turn was active. A genuine turn's working line remains visible while navigation is open ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
272
|
+
- Fixed the host input form (`ctx.ui.hostInputForm`) writing terminal control sequences from field names, descriptions, choices, placeholders and prefilled values to the terminal, and drawing lines wider than a narrow terminal. Control characters now show escaped, and every line fits the width ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
273
|
+
- Fixed host input forms accepting integers outside JavaScript's safe integer range and silently rounding their value. They now show a validation error ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
274
|
+
- Fixed `ctx.ui.hostInputForm` never settling under the isolated interactive engine when the host could not read the form's fields, such as a non-string `description`. The call now rejects, and requests that cannot be sent release their pending form and abort listener ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
275
|
+
- A workflow or task notice sent as a turn ends now joins the next request of that run however long saving its card takes, instead of depending on the save finishing within a few internal steps and otherwise costing an extra request. Notices whose save is still pending from earlier in the turn do not hold up the next request
|
|
276
|
+
- A subagent's shells no longer leave a record per shell in the parent's task owner for as long as the parent runs: the record is released once the shell has finished and its completion notice is acknowledged, and the subagent can still wait on and read a finished shell while its result is kept
|
|
277
|
+
- Read results keep image-capability warnings visible and use the chat's theme, including custom renderer hosts ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
278
|
+
- Fixed a failing extension's agent panel source crashing the host during updates, navigation or cleanup, including rejected row values, thrown or frozen promises, promise subclasses with throwing species or constructors, throwing iterators or getters, and errors whose messages cannot be read safely. Well-behaved Promise subclasses keep their constructors, and rejection guards are scoped to the panel's own promises. Source reads limit rows and choices so oversized arrays or endless iterables cannot freeze the chat. Other sources remain usable, and failed stop and answer actions report their errors ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
279
|
+
- An idle agent panel stops repainting after retained workflow rows have faded, including when additional finished runs are folded into `+N more`, and does not tick while only paused or queued rows are shown. Finished or quit workflow runs opened from F2, `/workflows` or auto-attach start their retention timer, and a dismissed run reappears when resumed ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
280
|
+
- Fixed long runs of cursor-control prefixes or spaces stalling the attached chat composer's placeholder formatting, and removed the extra space after the cursor cell in attached placeholders ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
281
|
+
- The agent panel now hides malformed extension rows without losing their valid neighbours, rejects reserved task ids and malformed action results, strips terminal controls from duplicate-id errors, and keeps token and queue fields from sending terminal controls. A source that notifies while listing its rows no longer freezes the chat. Startup warnings remain visible, repeated ↓ presses open only one panel, and the panel can reopen after `/reload` while focused ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
282
|
+
- Fixed workflow elapsed time advancing at half speed in the agent panel. The panel, `/tasks`, attached labels and chat footers now use the same live clock, including newly visible rows and stopping tasks. Panel sources keep updating after reload and after changes raised while listing rows, without leaving stale scrolling after rows disappear. Also fixed selection falling forward to the next row when a selected row leaves, leading combining marks overflowing terminal rows, and rounded token counts such as `1000.0k` instead of `1.0M`. Panel updates reuse unchanged source data and rendered rows, avoid rebuilding task rows while hidden, and combine bursts of changes into one refresh to keep animations responsive ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
283
|
+
- Fixed slow navigation in `/tasks` when a session has many background tasks, including task detail and chat pages receiving streaming updates, while keeping task updates and elapsed times live. Dismissing a row from `/tasks` refreshes the idle panel, and the agent panel and attached-chat task footers stay responsive with large task lists ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
284
|
+
- `/tasks` binds each workflow reply to the question shown when typing starts, clears the draft with a notice if the question changes before the reply is sent, and stops capturing reply text when the question disappears. Numbered choices preserve their original option through `AgentPanelAnswerOptions.choiceIndex`, even when sanitizing terminal controls makes two labels look alike. It reports reply and stop failures even after the list closes, formats peek-card tool activity through the shared tool header, and no longer marks failed workflow opens as viewed ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
285
|
+
- Panel, `/tasks` and chat hints omit unavailable or shadowed keybindings, list `enter/→` on the main row, and at narrow widths drop lower-priority actions whole while keeping the way out and `? keys`. Escape interrupts only a live turn, compaction or tool, and an interrupted attached subagent stops looking active in its label, panel row and `/tasks` while remaining available to resume. Reopened stage chats keep the interrupted turn's elapsed time and tokens even when its final update arrives later. Attached subagent chats align their initial prompt echo with the transcript, render follow-up sends through the registered Intercom renderer, preserve long and multiline launch prompts and image attachments, and use the current turn's tokens and start time when opened mid-turn ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
286
|
+
- Interrupting a tool no longer drops the last known request input from the subagent's token count ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
287
|
+
- Running tool timers and child-specific renderers now follow the session shown in attached chats. Tool state badges no longer mistake a command's printed status words or permission errors for cancellation or rejection, and a failed custom result renderer keeps its hidden raw output private. Expanded tool blocks retain complete fallback arguments, and shell output keeps its truncation notice and link to the saved output ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
288
|
+
- Cancelling a prebuild or restore while Git moves its worktree into place no longer leaves that worktree in the pool slot or target. Git's move is never stopped midway, and the cancelled restore removes the worktree it moved; a restore cancelled just before the move notices the cancellation before the move starts, instead of moving the worktree and then removing it. A worktree of the same repository that appears at the target during the move is refused and kept, instead of being returned as the restored one ([#4748](https://github.com/bastani-inc/atomic/issues/4748))
|
|
289
|
+
- Model searches initially select the best match, and effort arrows work with SS3 terminal key sequences. Provider searches no longer match sign-in status or method text. Long dialog titles and options wrap instead of losing text, and selector hints show only available actions ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
290
|
+
- Isolated `/scoped-models` changes update both model searches and Ctrl+P cycling. Scope saves run in order and report failures, and engine reconnection no longer overwrites a newer model or reasoning choice. RPC model responses report saved defaults only for `persist: true` ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
291
|
+
- Pickers ignore a repeated Enter or click instead of answering twice, and an extension dialog shown again after another dialog repaints in the current theme. Ctrl+C cancels a filtered picker with Kitty and modifyOtherKeys keyboard protocols too; `/scoped-models` keeps its clear-search-first behavior ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
292
|
+
- Isolated interactive mode applies the reasoning level chosen in `/model` and keeps model and reasoning changes made by extensions during `/model` or Ctrl+P without saving session-only changes. Saving a model choice no longer copies project model defaults or scoped-model lists into global settings ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
293
|
+
- Replacing a conversation clears its unread badge, while same-conversation snapshots retain actual arrivals even before their first paint. Loading older history does not count as new output ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
294
|
+
- Custom results remain visible after a pending tool block finishes. Closing or rebuilding chats no longer revives disposed renderers, disposes a reused component too early, or lets one cleanup failure block other rows. Failed message renderers keep their raw body private, and custom messages no longer gain duplicate blank rows ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
295
|
+
- Switching sessions no longer flashes tool output from a different chat while a renderer starts. Attached chats use the executing child's tool renderers when available, and unavailable child-only renderers show a warning instead of raw private fields, including when a live child no longer provides that renderer ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
296
|
+
- A prompt typed while Atomic starts is no longer sent twice on Windows: a stray cursor report reached the startup input as F3, left a "C" in the editor and sent it with the next prompt. F1–F5 and Page Up/Down sent as `ESC [ [ …` no longer type a letter into the startup input
|
|
297
|
+
- Keys typed while Atomic started are no longer lost when a startup dialog (project trust, dirty checkout, first-run setup) takes the terminal: they are captured as the draft, and keys typed once the dialog holds the terminal reach the dialog. Text the system still holds when the dialog opens stays in the draft too instead of reaching the dialog, even when a busy machine is slow to read it: the dialog waits, for up to 2 seconds, until Atomic has read that input, then waits a further 25 ms as before. On Windows the console holds typed input until Atomic reads it, under both Node and the standalone binary, so the wait covers both ([#5241](https://github.com/bastani-inc/atomic/issues/5241))
|
|
298
|
+
- Restoring saved model catalogs at startup no longer fails while another Atomic process saves its catalog, and no longer takes the save lock once per provider, which cost about 180 ms before the first frame on Windows
|
|
299
|
+
- On Windows, saving credentials or a refreshed model catalog no longer fails with `EPERM`, losing the save, when another Atomic process is reading `auth.json` or `models-store.json` at that moment: the save waits for the read to finish
|
|
300
|
+
- Model chains skip providers without credentials before sending a request, and skip every remaining model of a provider after it rejects credentials. A pinned model with no fallbacks is never replaced, and missing-credential errors name the affected models and providers ([#5353](https://github.com/bastani-inc/atomic/pull/5353)).
|
|
301
|
+
- Fixed sibling agent directories under one parent, such as `ATOMIC_CODING_AGENT_DIR=/x/a1` and `/x/a2`, sharing one session, workflow, pool, artifact, workspace and Intercom store in `/x`: the default `~/.atomic/agent` keeps its store at `~/.atomic`, while custom agent directories store under `<agentDir>/workflows` and resolve relative storage and secret paths against `<agentDir>`. One eligible agent directory can adopt an existing parent store once, with a one-time notice, and `atomic storage status` shows the resolved path without creating a missing agent directory. Concurrent processes of one directory keep the same store across restart. Distinct existing parent-relative targets remain readable, including explicit JSONL session directories beside older local sessions when another profile adopted worker-host state first. Siblings selecting the same target stay isolated, including through symlinks or hard links. History stays accessible after an adopting directory or its parent is renamed or moves across filesystems, including through symlinks or junctions, for never-created SDK agent directories beside ordinary source folders, and on filesystems without hard links. An identifiable original retains its adopted default store when copied, and copies keep their own history after the original is removed, including history in a newly configured database with a parent counterpart. An adopter reopened after a move keeps its history when later copies use its former name. When an original and its backup cannot be told apart, neither uses the parent's default store, even if the original starts first. If the physical parent holds the adopted store, the first to claim the parent-relative session directory keeps those sessions, including when opened through a symlink or junction. To keep both the parent's default store and its sessions, start Atomic once after moving and before copying. Default storage and relative-target ownership follow the current home when the default agent directory is moved or mounted elsewhere. Read-only agent directories can use writable storage without saving a new home decision. A writable agent directory no longer needs a writable parent just to select its own store, and changing `HOME` cannot expose an existing default agent's store to a custom profile. Prior-use detection no longer overlooks established profiles in large directories, and repeated storage lookups and resource discovery are faster without delaying token-file changes ([#5242](https://github.com/bastani-inc/atomic/issues/5242))
|
|
302
|
+
- A fast foreground shell command no longer delivers a stray `Background shell completed` notice after its own result when the command exits before Atomic has finished starting it. The model was shown the command's result a second time, as a background shell's, in chats and workflow stages alike ([#5333](https://github.com/bastani-inc/atomic/pull/5333))
|
|
303
|
+
- The interface and its engine no longer stop responding while Atomic reads or writes files and runs short commands in the background of a session: settings, credentials, project trust, keybindings and debug logs; session lists, headers, claims and markers; skills, prompts, themes, context files and resource reloads; package installs and updates; tool artifacts, archives, notebooks and todos; blueprint builds and workspaces; switching, forking or starting a session; private temp directories, their cleanup and tool output spilled to disk; finding the shell for the bash and PowerShell tools; worktree snapshots, their restores and LFS downloads; git lookups for the footer, worktrees and `/tools`; SQLite file selectors in read, search and write; watching the footer's git files and a custom theme on Windows; the clipboard, the external editor, `/export`, `/share`, `/changelog` and `/import`; the summary of a branch left in `/tree`; MCP configuration, logs and OAuth locks; and model catalog refreshes. Each now runs without blocking the event loop, so typing, rendering and streamed output keep going
|
|
304
|
+
- MCP configuration edits preserve concurrent asynchronous changes and publish through atomic replacement when the filesystem supports it. A synchronous edit refuses to overwrite an in-flight asynchronous edit
|
|
305
|
+
- SQLite writer queue checks, lock records, writer hand-offs and open-lock cleanup no longer block the interface. A transaction waits for its hand-off, and closing waits for pending lock records before releasing its open lock
|
|
306
|
+
- The session picker no longer resolves each listed session's path on the disk every time it draws or filters; it resolves symlinks once, off the event loop
|
|
307
|
+
- Sessions with many background tasks or queued messages stay responsive: task rows, the task list and queued-message confirmation take time proportional to the number of tasks or messages, not its square
|
|
308
|
+
- On Windows, the isolated engine no longer freezes while the terminal is busy drawing, for example a long resumed session, and RPC mode no longer stalls while its client reads stdout slowly: records are written to stdout off the event loop
|
|
309
|
+
- The fullscreen interface no longer freezes for up to seconds while resuming, paging through or quitting a long session (10,000+ entries): frames render only what is on screen, the session's end appears at once while its history fills in behind it, and the exit transcript is written without stalling input
|
|
310
|
+
- Closing a session while a subagent's or workflow's completion notice is still being saved no longer fails with `Cannot dispose a session with a queued protected reconciliation`. The saved notice stays pending, and the session that next opens the transcript delivers it
|
|
311
|
+
- Fixed Windows shell discovery accepting a directory named `bash.exe`, `pwsh.exe` or `powershell.exe` at a configured `shellPath` or a known installation location as the shell ([#5324](https://github.com/bastani-inc/atomic/issues/5324))
|
|
312
|
+
- On Windows, routine process-start checks for locks, sessions, worktrees and blueprint builds no longer freeze Atomic when the native reader is unavailable. PowerShell runs in the background with a five-second timeout; uncontended credential saves and new sessions do not wait for it. Synchronous trust and credential saves can still recover stale locks whose former mutex owner's process id was reused, using bounded reads only during that takeover. Interrupted blueprint builds also list processes in the background ([#5315](https://github.com/bastani-inc/atomic/issues/5315))
|
|
313
|
+
- Worktree-snapshot maintenance no longer rewrites a whole large legacy blob just to record its unknown age. Refreshing or storing it again leaves that age for collection, which stamps at most 16 MiB of small blobs per transaction and moves every inline blob over 1 MiB into chunks regardless of age, writing at most 16 MiB per chunk transaction. Blobs remain readable during conversion, and moving a blob preserves its existing grace window. Publishing the chunks still frees the old inline pages under the write lock in time proportional to the blob's size. Interrupted moves resume on the next collection, and deleting a blob removes its partial chunks even when an older client deletes it. A completed move marks the journal so builds from before chunked blobs refuse the database ([#5327](https://github.com/bastani-inc/atomic/pull/5327))
|
|
314
|
+
- Fixed a session that ended staying in memory for as long as a timer, connection or other long-lived resource that an extension started while the session was in use, as a service started once and shared by later sessions does.
|
|
315
|
+
- Fixed each `/reload` keeping the extensions it replaced in memory for as long as the session ran: every new generation of the session's extensions kept the one before it, so each reload added about 10 MB that was never released.
|
|
316
|
+
- On a busy Windows machine, a shell command or a subagent's named-worktree checkout that finished is no longer reported as failed with `Windows stdin worker stop was not confirmed`, including when the command's input thread has not run yet by the time its processes have all ended ([#5340](https://github.com/bastani-inc/atomic/pull/5340), [#5202](https://github.com/bastani-inc/atomic/issues/5202), [#5450](https://github.com/bastani-inc/atomic/pull/5450))
|
|
317
|
+
- In `/resume`, pressing ↓ or Page Down while a search matched nothing left no session selected once the search matched again, so Enter did nothing until you moved the selection ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
318
|
+
- Ctrl+C cancels the resume picker while searching or previewing on terminals using Kitty or modifyOtherKeys input, instead of only clearing the search or closing the preview ([#5256](https://github.com/bastani-inc/atomic/pull/5256)).
|
|
319
|
+
- `/resume`, `/tree` and `atomic config` keep their headers, search boxes and scroll hints within the terminal width after a narrow resize, avoiding oversized-line errors ([#5256](https://github.com/bastani-inc/atomic/pull/5256)).
|
|
320
|
+
- Sessions with cyclic parent links, such as imported session headers, remain visible in threaded resume history instead of disappearing ([#5256](https://github.com/bastani-inc/atomic/pull/5256)).
|
|
321
|
+
- The MCP manager refreshes empty-state messages and action hints with live menu changes, including when a server is removed while its menu is open ([#5256](https://github.com/bastani-inc/atomic/pull/5256)).
|
|
322
|
+
- A session or workflow row being deleted cannot be resumed, renamed or deleted again while the operation is pending. Other rows can still be resumed, cancellation remains available, failed deletions can be retried without late errors unlocking a newer attempt, and the active session is not offered for deletion ([#5256](https://github.com/bastani-inc/atomic/pull/5256)).
|
|
323
|
+
- Resume previews keep the end of long paths and mark shortened titles and summaries with an ellipsis instead of silently cutting them ([#5256](https://github.com/bastani-inc/atomic/pull/5256)).
|
|
324
|
+
- Replacing a submission echo with a prompt rewritten by an `input` hook, or inserting a custom message ahead of a streaming reply, now touches only the tail of the chat container instead of scanning the whole transcript, keeping prompt swaps fast in long sessions ([#5323](https://github.com/bastani-inc/atomic/issues/5323))
|
|
325
|
+
- Corrected new-message counts when a transcript insertion or removal is followed by another change that restores its earlier child count ([#5323](https://github.com/bastani-inc/atomic/issues/5323))
|
|
326
|
+
- An automatic compaction of a very large session no longer spends its whole planning time limit and then starts a fresh context window that kept only a few lines, shown as `Context cleared (compaction degraded)`. Compaction now makes no planning call, so it cannot time out this way, and the whole earlier conversation stays in session history for the agent to recover
|
|
327
|
+
- On Windows, concurrent resumes and `atomic blueprint prebuild` runs retry temporary `EPERM` refusals when creating pool or seed lock directories, instead of failing or treating reusable worktrees and seeds as dirty or unavailable. Refusals that persist for 10 seconds still report a failure, and locks another process holds still count as busy ([#5320](https://github.com/bastani-inc/atomic/issues/5320))
|
|
328
|
+
- Temporary-file cleanup failures no longer make holding a pooled worktree fail after its record was published, or leave a claimed worktree marked as resetting. A retained temporary file cannot corrupt a later record write, and discarding an old lease cannot delete a newer admission in the same process ([#5320](https://github.com/bastani-inc/atomic/issues/5320))
|
|
329
|
+
- A prebuild that cannot acquire the seed lock for parking now keeps its completed build output in the idle worktree instead of deleting it, while still reporting the lock failure ([#5320](https://github.com/bastani-inc/atomic/issues/5320))
|
|
330
|
+
- A resume that detects it lost its parked-seed lock stops adoption instead of moving or deleting a replacement seed. It releases the restored worktree's lease before falling back to a fresh restore. Once adoption removes the manifest, later lock loss skips seed-directory cleanup but keeps the adopted worktree and its build output ([#5320](https://github.com/bastani-inc/atomic/issues/5320))
|
|
331
|
+
- Fixed the libSQL / Turso example in the storage guide crashing the process on Windows without an error message when it closed a local file database: the native `libsql` 0.5 driver closed the connection's SQLite handle twice. The example now holds a statement while each connection closes, and for a local file `close()` runs two garbage collections before it resolves, so the file is released when `close()` returns, as `@bastani/atomic-storage-libsql` does. See [Bring your own driver](docs/storage.md#bring-your-own-driver) ([#5325](https://github.com/bastani-inc/atomic/issues/5325))
|
|
332
|
+
- On Windows, Atomic no longer freezes while it checks that a temp directory is private. The native module reads the owner and access list on a worker. Windows session-directory creation and ownership checks use asynchronous filesystem operations. If the native module is unavailable or cannot read the directory, PowerShell reads it asynchronously, with one timeout per caller shared across its candidate hosts; when Atomic runs from PowerShell 7, that Windows PowerShell fallback no longer inherits PowerShell 7's module path, which kept it from loading `Get-Acl` and failed the check of who owns the session temporary directory. Checks start in the background when a session starts and are cancelled and awaited when their session closes. Bash spill files, saved tool results, temporary extension installs, subagent artifacts, the GitHub clone cache and design workflow artifacts wait for verification without blocking. Every directory refused before is still refused ([#5285](https://github.com/bastani-inc/atomic/issues/5285), [#5324](https://github.com/bastani-inc/atomic/issues/5324))
|
|
333
|
+
- Private temporary storage is no longer reused through a directory link, a runtime directory opened to other accounts, or a replaced root, including a Windows replacement with the same creation time. Runtime directory paths with trailing separators or `..` cannot bypass the checks. Temporary installs and caches fall back to another private directory instead ([#5285](https://github.com/bastani-inc/atomic/issues/5285))
|
|
334
|
+
- Concurrent snapshot restores and cleanup for one repository no longer race while Git reads or changes its worktree registrations, which could fail with a missing `locked` or `commondir` file. Checkouts and verification still run in parallel ([#4951](https://github.com/bastani-inc/atomic/issues/4951))
|
|
335
|
+
- A subagent's `steer()`, `followUp()`, `prompt()` and `sendUserMessage()` calls no longer accept input that the child never answers as it finishes. Calls after admission closes fail with `Subagent execution is terminal and cannot accept messages`. Asynchronous input hooks and several messages sent during settlement keep admission open until their input is answered, and a steering hook can await a nested user message without deadlocking. Turn-starting Intercom messages, extension messages and background completion notices accepted during release with steering or follow-up delivery are saved and delivered once on wake, including batches retried after a card write fails or the session reopens. Context-excluded extension messages keep their saved cards without reaching the model, including cards recovered after a lost write acknowledgement, and reopening does not show saved cards again. Retrying a failed keyed write reuses its saved card and input even after another message or model turn, and concurrent identical keyed retries share the same recovery. A conflict with another writer no longer blocks later messages. A deleted session reports its deletion once, then keeps later cards in memory ([#5318](https://github.com/bastani-inc/atomic/issues/5318))
|
|
336
|
+
- In the interactive CLI, questions and extension dialogs stay with the session that asked them. A subagent's question waits in its own task view, and a workflow stage's question in its stage chat, instead of opening in and blocking the launching chat. Forms keep their drafts when left and show countdowns for timed dialogs. SDK input adapters receive the asking session's identity; plain RPC clients and SDK hosts without a task inspector keep receiving child dialogs through their existing presentation ([#5354](https://github.com/bastani-inc/atomic/pull/5354))
|
|
337
|
+
- Workspace Git commands now receive their full timeout budget, and reported timeout durations stay accurate when the system clock changes.
|
|
338
|
+
- On Windows, a queued SQLite writer no longer fails with `writer-queue-unusable` when another process deletes its stale ticket while it is being refreshed. The writer recreates the ticket in its existing queue position and continues waiting. Other permission failures still report an error ([#4316](https://github.com/bastani-inc/atomic/issues/4316))
|
|
339
|
+
- A resume after Atomic was killed during a blueprint build no longer builds the worktree again while a step of the killed build may still run there. A step Atomic had started but not yet recorded could not be stopped, so two builds ran in one worktree. A build Atomic was killed during is now cancelled and never continued: the next resume stops the steps the build recorded, sets the worktree aside, restores and builds a fresh worktree, and warns that a step may still be running in the set-aside worktree, naming it and the build's logs. No session or restore uses a set-aside worktree again, nothing is built in it even when the fresh restore fails, and it is removed once no process of yours works in it. Worktrees another session has taken over are left alone. A build whose lock cannot be written warns that a kill during it would go unnoticed. A build stopped by Ctrl-C or a signal, and Windows, are unchanged ([#5379](https://github.com/bastani-inc/atomic/issues/5379))
|
|
340
|
+
- A folder scan that completes after a session was deleted no longer brings the deleted session back into `/resume`, and a workflow changing catalog kind keeps the same run locked while deletion is pending ([#5256](https://github.com/bastani-inc/atomic/pull/5256))
|
|
341
|
+
- A resumed session whose checkout could not be restored, and that continued in the directory the resume started in, no longer has its file tools read and write the old worktree of that checkout, which may be gone or in use by another session. Paths under the working directory it left now resolve under the directory it continues in ([#5379](https://github.com/bastani-inc/atomic/issues/5379))
|
|
342
|
+
- A worktree restore whose check after Git moved its worktree into place fails, for example because `git worktree list` fails, now removes that worktree instead of leaving it at the target. A restore stopped after the move deletes its worktree's files after releasing the repository's lock, so other restores of that repository no longer wait. For a crash record that carries the identity of the directory Git created, by its device, inode and birth time, cleanup, including the sweep after a crash, never deletes a file the restore did not put there. It only deletes files whose bytes are exactly what the checkout wrote, or the beginning of it that a checkout stopped while writing leaves, never one a clean filter would merely map back to the snapshot. A directory of yours at the staging path is kept, even one holding a copy of the old `.git` file or of the restore's files, and so is a file you added to the restore's worktree: it is set aside with the worktree, and the warning names where. A crash record without that identity, from an earlier version or a restore killed right after Git created its directory, has its directory deleted file by file only when each file is exactly what the checkout wrote, including the version of a file at the worktree's `HEAD`. The warning about a kept directory now says it may hold your files, and `removeRestoredWorktree` refuses a staging or set-aside directory instead of deleting it ([#4748](https://github.com/bastani-inc/atomic/issues/4748))
|
|
343
|
+
- When another process wrote to a session during a run, the run that this conflict stopped no longer saves anything more. That covers its prompt, messages sent to the session while the run was saving, and, when the session closes, the reconciliation of a workflow notice; the notice stays pending until the session is opened again. Each of these had landed among the other process's messages and made that process's run fail too. `atomic -p` now reports such a run once, the way it reports a conflict at startup: "Another process wrote to session", exit code 1. `getPersistenceFailure()` returns the conflict as `conflict`. A message or prompt refused this way is still shown, once however often it is sent again, and listed in `getPersistenceFailure().unsavedMessages`; one sent again just as the stopped run ends, before the chat has shown that run ending, no longer leaves an extra copy in the chat as if it were still waiting to be sent. Unsaved prompts and messages stay listed after a context refresh or a command that starts no run, until the same input is saved or `discardUnsavedInput()` drops it; `getUnsavedInput()` lists them, at most 64, and counts what was dropped beyond that ([#5135](https://github.com/bastani-inc/atomic/issues/5135))
|
|
344
|
+
- Another SQLite connection in the same process no longer fails with "database is locked" when it writes while a transaction that waited for the write lock behind another process takes it. That transaction used to hold the lock while it removed its queue entry, and the other connection's wait for the lock blocked the process, so neither could finish.
|
|
345
|
+
- Closing a session takes at most 60 seconds, even when a save never settles, such as a turn's message save to a storage backend that stopped responding. Past that bound, `dispose()` stops waiting and rejects with `ShutdownFailed`, naming the shutdown step it was waiting on and how many session operations were still running. The remaining cleanup steps still start, in order, without being waited for.
|
|
346
|
+
- When a SQLite writer gives up waiting for the write lock, it names the holding process only from that process's record of taking the lock. When the holder stopped before recording that, the timeout lists the processes trying for the lock as `holderCandidates` instead of naming the one that has waited longest, which could be a writer stopped in the queue.
|
|
347
|
+
- A finished agent's result preview in chat renders its Markdown the way the chat does instead of showing the raw first line: bold, italic, code, headings, lists and links are styled in the muted preview tone, so markers such as `**`, backticks and `#` no longer appear around them. HTML blocks stay literal, as they do in the chat. The collapsed first line is cut to the width with `…`, and `NO_COLOR` shows plain text
|
|
348
|
+
- On Windows, opening a SQLite store no longer fails with `Access is denied` when another process removes its open-lock file at the same moment, for example while a restarted workflow host removes an ended run's local checkpoint journal. The open waits for the removal to finish and takes a fresh lock ([#5317](https://github.com/bastani-inc/atomic/issues/5317))
|
|
349
|
+
- Several Atomic processes starting at the same time on a fresh agent directory (workflow pool workers, parallel CLI runs) no longer fail with `Cannot read storage home decision`. A process that found no storage home decision reported it unreadable when another process published one a moment later; it now settles on the published decision. A decision or storage owner record that is briefly empty, half written, or busy is waited for, for up to 1 second, and one that stays unreadable or is malformed still fails the start. Publishing a decision retries for up to 1 second while another process holds the file busy (a Windows sharing violation), and a permission error after Atomic could write to the agent directory now fails the start instead of continuing without a recorded decision; only a directory Atomic cannot write to is treated as read-only. A start also no longer fails when its leftover staged copy of the decision cannot be removed yet ([#5429](https://github.com/bastani-inc/atomic/issues/5429))
|
|
350
|
+
- On Windows, installing a downloaded tool (such as `rg`, `fd` or Git) no longer fails when Atomic was started from PowerShell 7 and `tar.exe` cannot extract the zip archive: the Windows PowerShell fallback's `Expand-Archive` no longer inherits PowerShell 7's module path, which made it fail with `Cannot find an overload for "ExtractToDirectory"`. Every Windows PowerShell command Atomic runs for its own work now starts this way; the `powershell` tool and blueprint steps still run with your environment unchanged
|
|
351
|
+
- When an Atomic process installing git was killed while others waited for it, a waiter no longer fails with "Git is unavailable: ... could not be staged ... install lock" because the lock it had just taken was removed by another waiter. A waiter now moves an abandoned lock aside in one atomic rename and puts back at once any lock it moved that another installer had just taken, so a waiter that was paused while taking over no longer makes a second installer download git. A waiter whose new lock disappears before it is stamped tries for the lock again, and later installs remove what a waiter killed during a takeover left behind ([#4322](https://github.com/bastani-inc/atomic/issues/4322))
|
|
352
|
+
- `atomic storage migrate` on PostgreSQL now says when the `pg_trgm` extension is not installed and the role could not install it, as on Azure Database for PostgreSQL and Azure HorizonDB until `pg_trgm` is added to `azure.extensions`. Without it, searches of session history read each session a page at a time instead of using their index. The storage guide now covers Azure flexible servers (direct and through the built-in PgBouncer) and Azure HorizonDB. A write the server refuses because it accepts reads only (SQLSTATE `25006`) is now retried as `StorageTransientError` with the new code `read-only-server`, so a failover that leaves the old primary read-only for a moment recovers; a call still refused after its retries fails with a message that names both causes, a URL naming a read replica or read-only endpoint, or a server that is read-only for now, instead of a generic `StorageUnavailableError`
|
|
353
|
+
- The install scripts install a pinned `ATOMIC_VERSION` (or `--ref`/`-Ref`) without the GitHub API. They confirm the release on github.com, so a network that used up GitHub's 60 unauthenticated API requests an hour no longer fails with `curl: (56) The requested URL returned error: 403` and `failed to resolve the GitHub release`. When the API is still needed and refuses, the installer says why: a release that does not exist is reported as not found, and a rate limit names `GITHUB_TOKEN` as the fix. A pinned rerun of a release that is already installed and healthy makes no request at all, and the installers now record the launcher's hash at install time: an installed launcher that is empty or no longer matches it is reinstalled instead of being kept
|
|
354
|
+
- The install scripts no longer leave `atomic` unable to start when they are interrupted or run twice at once. Only one installer works on an install directory at a time, and a second one waits for the first (`ATOMIC_INSTALL_LOCK_TIMEOUT`, 30 minutes by default). On macOS and Linux the switch to a new version is a single rename, so `atomic` always starts a complete version even if the installer is killed partway, including a `--force` reinstall of the version in use. A later run removes the partial files a killed installer left. On Windows, the installer no longer runs the installed `atomic.exe` to read its version, keeps `%VAR%` entries in your User PATH as written, and does not pass `GITHUB_TOKEN` or `GH_TOKEN` to the programs it starts
|
|
355
|
+
|
|
356
|
+
### Removed
|
|
357
|
+
|
|
358
|
+
- The `app.workflows.scrollUp` and `app.workflows.scrollDown` keybindings (Alt+K/J, Alt+PageUp/PageDown), with the workflow list they scrolled; the agent panel replaces it ([#5224](https://github.com/bastani-inc/atomic/issues/5224))
|
|
359
|
+
- Removed background compaction, with the `/settings` items **Background compaction** and **Background compaction threshold**
|
|
360
|
+
- Removed the line-range compaction planner and its fallback-model planning, split planning after mid-output refusals, the policy-refusal summary fallback, classifier compaction, line-range Morph compaction, the fresh-context-window step, the `Recalled context` section, `<keepContext>` protection and its release budget, and the planner's diagnostic sidecar files
|
|
361
|
+
|
|
5
362
|
## [0.9.89-alpha.2] - 2026-11-18
|
|
6
363
|
|
|
7
364
|
`NO_COLOR` now gives plain output everywhere, compact notices replace chat cards, and installs, shared libSQL servers and multi-node Intercom recover from interrupted and concurrent work.
|