@bastani/atomic 0.10.2-alpha.1 → 0.10.3-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 +112 -0
- package/dist/builtin/intercom/CHANGELOG.md +17 -0
- package/dist/builtin/intercom/broker/broker-instance.ts +2 -13
- package/dist/builtin/intercom/broker/broker.ts +158 -73
- package/dist/builtin/intercom/broker/durable-ended-queue.ts +14 -2
- package/dist/builtin/intercom/broker/host-command-environment.ts +13 -0
- package/dist/builtin/intercom/broker/hosted-session-errors.ts +1 -0
- package/dist/builtin/intercom/broker/multinode-router.ts +111 -16
- package/dist/builtin/intercom/broker/multinode-state-store.ts +50 -4
- package/dist/builtin/intercom/broker/open-broker-state.ts +5 -4
- package/dist/builtin/intercom/broker/spawn.ts +144 -25
- package/dist/builtin/intercom/broker/sql-add-column.ts +33 -0
- package/dist/builtin/intercom/broker/sql-known-session-store.ts +120 -36
- package/dist/builtin/intercom/broker/sql-outbox-store.ts +75 -13
- package/dist/builtin/intercom/broker/start-announcement.ts +55 -10
- package/dist/builtin/intercom/broker/watchdog.ts +10 -7
- package/dist/builtin/intercom/index.bundle.mjs +111 -27
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +29 -0
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/skills/skill-creator/SKILL.md +30 -52
- package/dist/builtin/subagents/skills/skill-creator/eval-viewer/generate_review.py +34 -40
- package/dist/builtin/subagents/skills/skill-creator/eval-viewer/viewer.html +2 -2
- package/dist/builtin/subagents/skills/skill-creator/scripts/atomic_cli.py +668 -0
- package/dist/builtin/subagents/skills/skill-creator/scripts/generate_report.py +3 -3
- package/dist/builtin/subagents/skills/skill-creator/scripts/improve_description.py +42 -38
- package/dist/builtin/subagents/skills/skill-creator/scripts/run_eval.py +268 -176
- package/dist/builtin/subagents/skills/skill-creator/scripts/run_loop.py +20 -11
- package/dist/builtin/subagents/skills/skill-creator/scripts/utils.py +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +163 -97
- package/dist/builtin/web-access/CHANGELOG.md +14 -0
- package/dist/builtin/web-access/index.bundle.mjs +5 -4
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/core/agent-session-auto-compaction.d.ts +10 -1
- package/dist/core/agent-session-auto-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-auto-compaction.js +54 -2
- package/dist/core/agent-session-auto-compaction.js.map +1 -1
- package/dist/core/agent-session-compaction.d.ts +4 -0
- package/dist/core/agent-session-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-compaction.js +17 -2
- package/dist/core/agent-session-compaction.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 +3 -1
- package/dist/core/agent-session-custom-message-commit.js.map +1 -1
- package/dist/core/agent-session-events.d.ts +2 -0
- package/dist/core/agent-session-events.d.ts.map +1 -1
- package/dist/core/agent-session-events.js +34 -13
- package/dist/core/agent-session-events.js.map +1 -1
- package/dist/core/agent-session-export.d.ts.map +1 -1
- package/dist/core/agent-session-export.js +3 -0
- package/dist/core/agent-session-export.js.map +1 -1
- package/dist/core/agent-session-message-queue.d.ts +27 -0
- package/dist/core/agent-session-message-queue.d.ts.map +1 -1
- package/dist/core/agent-session-message-queue.js +213 -30
- package/dist/core/agent-session-message-queue.js.map +1 -1
- package/dist/core/agent-session-methods.d.ts +6 -1
- 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-prompt.d.ts.map +1 -1
- package/dist/core/agent-session-prompt.js +35 -3
- package/dist/core/agent-session-prompt.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +2 -2
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-state.d.ts.map +1 -1
- package/dist/core/agent-session-state.js +6 -1
- package/dist/core/agent-session-state.js.map +1 -1
- package/dist/core/agent-session-tool-hooks.d.ts.map +1 -1
- package/dist/core/agent-session-tool-hooks.js +15 -2
- package/dist/core/agent-session-tool-hooks.js.map +1 -1
- package/dist/core/agent-session-typed-queue.d.ts +14 -1
- package/dist/core/agent-session-typed-queue.d.ts.map +1 -1
- package/dist/core/agent-session-typed-queue.js +26 -1
- package/dist/core/agent-session-typed-queue.js.map +1 -1
- package/dist/core/agent-session-types.d.ts +5 -0
- 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.map +1 -1
- package/dist/core/agent-session.js +2 -1
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/async-scope.d.ts +9 -4
- package/dist/core/async-scope.d.ts.map +1 -1
- package/dist/core/async-scope.js +13 -5
- package/dist/core/async-scope.js.map +1 -1
- package/dist/core/builtin-diagnostics.js +2 -2
- package/dist/core/builtin-diagnostics.js.map +1 -1
- package/dist/core/chat-admission-order.d.ts.map +1 -1
- package/dist/core/chat-admission-order.js +2 -1
- package/dist/core/chat-admission-order.js.map +1 -1
- package/dist/core/chat-record-saves.d.ts +4 -0
- package/dist/core/chat-record-saves.d.ts.map +1 -0
- package/dist/core/chat-record-saves.js +25 -0
- package/dist/core/chat-record-saves.js.map +1 -0
- package/dist/core/command-deliveries.d.ts +62 -0
- package/dist/core/command-deliveries.d.ts.map +1 -0
- package/dist/core/command-deliveries.js +139 -0
- package/dist/core/command-deliveries.js.map +1 -0
- package/dist/core/diagnostic-writer.d.ts.map +1 -1
- package/dist/core/diagnostic-writer.js +5 -4
- package/dist/core/diagnostic-writer.js.map +1 -1
- package/dist/core/extension-startup-close.d.ts +1 -2
- package/dist/core/extension-startup-close.d.ts.map +1 -1
- package/dist/core/extension-startup-close.js +2 -2
- package/dist/core/extension-startup-close.js.map +1 -1
- package/dist/core/extensions/jiti-aliases.d.ts +11 -0
- package/dist/core/extensions/jiti-aliases.d.ts.map +1 -0
- package/dist/core/extensions/jiti-aliases.js +28 -0
- package/dist/core/extensions/jiti-aliases.js.map +1 -0
- package/dist/core/extensions/loader-api.js +3 -3
- package/dist/core/extensions/loader-api.js.map +1 -1
- package/dist/core/extensions/loader-bindings.js +2 -2
- package/dist/core/extensions/loader-bindings.js.map +1 -1
- package/dist/core/extensions/loader-rollback.d.ts +1 -2
- package/dist/core/extensions/loader-rollback.d.ts.map +1 -1
- package/dist/core/extensions/loader-rollback.js +2 -2
- package/dist/core/extensions/loader-rollback.js.map +1 -1
- package/dist/core/extensions/loader-virtual-modules.d.ts.map +1 -1
- package/dist/core/extensions/loader-virtual-modules.js +53 -9
- package/dist/core/extensions/loader-virtual-modules.js.map +1 -1
- package/dist/core/extensions/native-builtin-entries.d.ts +5 -0
- package/dist/core/extensions/native-builtin-entries.d.ts.map +1 -1
- package/dist/core/extensions/native-builtin-entries.js +8 -1
- package/dist/core/extensions/native-builtin-entries.js.map +1 -1
- package/dist/core/extensions/reloadable-scripts.d.ts +21 -2
- package/dist/core/extensions/reloadable-scripts.d.ts.map +1 -1
- package/dist/core/extensions/reloadable-scripts.js +11 -3
- package/dist/core/extensions/reloadable-scripts.js.map +1 -1
- package/dist/core/extensions/source-builtin-imports.d.ts +40 -0
- package/dist/core/extensions/source-builtin-imports.d.ts.map +1 -0
- package/dist/core/extensions/source-builtin-imports.js +142 -0
- package/dist/core/extensions/source-builtin-imports.js.map +1 -0
- package/dist/core/extensions/transform-graph.d.ts +15 -0
- package/dist/core/extensions/transform-graph.d.ts.map +1 -0
- package/dist/core/extensions/transform-graph.js +85 -0
- package/dist/core/extensions/transform-graph.js.map +1 -0
- package/dist/core/extensions/ts-source-specifiers.d.ts +2 -0
- package/dist/core/extensions/ts-source-specifiers.d.ts.map +1 -1
- package/dist/core/extensions/ts-source-specifiers.js +7 -0
- package/dist/core/extensions/ts-source-specifiers.js.map +1 -1
- package/dist/core/extensions/ts-transform-worker.d.ts +2 -0
- package/dist/core/extensions/ts-transform-worker.d.ts.map +1 -0
- package/dist/core/extensions/ts-transform-worker.js +43 -0
- package/dist/core/extensions/ts-transform-worker.js.map +1 -0
- package/dist/core/message-admission.d.ts.map +1 -1
- package/dist/core/message-admission.js +4 -4
- package/dist/core/message-admission.js.map +1 -1
- package/dist/core/messages.d.ts +5 -0
- package/dist/core/messages.d.ts.map +1 -1
- package/dist/core/messages.js +35 -0
- package/dist/core/messages.js.map +1 -1
- package/dist/core/model-fallback-failures.d.ts +1 -1
- package/dist/core/model-fallback-failures.d.ts.map +1 -1
- package/dist/core/model-fallback-failures.js +18 -1
- package/dist/core/model-fallback-failures.js.map +1 -1
- package/dist/core/process-start-token.d.ts +7 -0
- package/dist/core/process-start-token.d.ts.map +1 -1
- package/dist/core/process-start-token.js +14 -0
- package/dist/core/process-start-token.js.map +1 -1
- package/dist/core/project-trust-electorate.d.ts +24 -0
- package/dist/core/project-trust-electorate.d.ts.map +1 -0
- package/dist/core/project-trust-electorate.js +52 -0
- package/dist/core/project-trust-electorate.js.map +1 -0
- package/dist/core/project-trust-state.d.ts +15 -0
- package/dist/core/project-trust-state.d.ts.map +1 -1
- package/dist/core/project-trust-state.js +15 -0
- package/dist/core/project-trust-state.js.map +1 -1
- package/dist/core/provider-request-admission.d.ts.map +1 -1
- package/dist/core/provider-request-admission.js +2 -2
- package/dist/core/provider-request-admission.js.map +1 -1
- package/dist/core/queued-input-admission.js +2 -2
- package/dist/core/queued-input-admission.js.map +1 -1
- package/dist/core/queued-message-delivery.d.ts +2 -2
- package/dist/core/queued-message-delivery.d.ts.map +1 -1
- package/dist/core/queued-message-delivery.js +6 -3
- package/dist/core/queued-message-delivery.js.map +1 -1
- package/dist/core/resource-admission-scope.js +2 -2
- package/dist/core/resource-admission-scope.js.map +1 -1
- package/dist/core/resume/blueprint/process.d.ts +3 -4
- package/dist/core/resume/blueprint/process.d.ts.map +1 -1
- package/dist/core/resume/blueprint/process.js +33 -17
- package/dist/core/resume/blueprint/process.js.map +1 -1
- package/dist/core/resume/path-mapping.js +4 -4
- package/dist/core/resume/path-mapping.js.map +1 -1
- package/dist/core/resume/session-resume.d.ts +9 -0
- package/dist/core/resume/session-resume.d.ts.map +1 -1
- package/dist/core/resume/session-resume.js +27 -2
- package/dist/core/resume/session-resume.js.map +1 -1
- package/dist/core/resume-cache-checkpoint.d.ts +27 -1
- package/dist/core/resume-cache-checkpoint.d.ts.map +1 -1
- package/dist/core/resume-cache-checkpoint.js +45 -0
- package/dist/core/resume-cache-checkpoint.js.map +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +7 -31
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-lifecycle-scope.d.ts +1 -2
- package/dist/core/session-lifecycle-scope.d.ts.map +1 -1
- package/dist/core/session-lifecycle-scope.js +2 -2
- package/dist/core/session-lifecycle-scope.js.map +1 -1
- package/dist/core/session-lifecycle-work.js +2 -2
- package/dist/core/session-lifecycle-work.js.map +1 -1
- package/dist/core/session-manager-core.d.ts.map +1 -1
- package/dist/core/session-manager-core.js +3 -0
- package/dist/core/session-manager-core.js.map +1 -1
- package/dist/core/session-storage.d.ts +12 -0
- package/dist/core/session-storage.d.ts.map +1 -1
- package/dist/core/session-storage.js +68 -1
- package/dist/core/session-storage.js.map +1 -1
- package/dist/core/settings-lock-directory.d.ts.map +1 -1
- package/dist/core/settings-lock-directory.js +4 -3
- package/dist/core/settings-lock-directory.js.map +1 -1
- package/dist/core/settings-write-ownership.d.ts +1 -2
- package/dist/core/settings-write-ownership.d.ts.map +1 -1
- package/dist/core/settings-write-ownership.js +2 -2
- package/dist/core/settings-write-ownership.js.map +1 -1
- package/dist/core/storage/node-sqlite-thread.d.ts.map +1 -1
- package/dist/core/storage/node-sqlite-thread.js +6 -4
- package/dist/core/storage/node-sqlite-thread.js.map +1 -1
- package/dist/core/storage/node-sqlite.d.ts.map +1 -1
- package/dist/core/storage/node-sqlite.js +22 -8
- package/dist/core/storage/node-sqlite.js.map +1 -1
- package/dist/core/system-prompt.d.ts +16 -2
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +33 -6
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tasks/agent-adapter.d.ts.map +1 -1
- package/dist/core/tasks/agent-adapter.js +2 -1
- package/dist/core/tasks/agent-adapter.js.map +1 -1
- package/dist/core/tasks/completion.d.ts +3 -2
- package/dist/core/tasks/completion.d.ts.map +1 -1
- package/dist/core/tasks/completion.js.map +1 -1
- package/dist/core/tasks/execution-scope.js +2 -2
- package/dist/core/tasks/execution-scope.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-regex-worker.d.ts.map +1 -1
- package/dist/core/tools/history-regex-worker.js +3 -2
- package/dist/core/tools/history-regex-worker.js.map +1 -1
- package/dist/core/tools/shell-task-render.d.ts +3 -2
- package/dist/core/tools/shell-task-render.d.ts.map +1 -1
- package/dist/core/tools/shell-task-render.js +7 -5
- package/dist/core/tools/shell-task-render.js.map +1 -1
- package/dist/core/tools/shell-task-status.d.ts +6 -2
- package/dist/core/tools/shell-task-status.d.ts.map +1 -1
- package/dist/core/tools/shell-task-status.js +13 -8
- package/dist/core/tools/shell-task-status.js.map +1 -1
- package/dist/core/tools/sqlite-selector-connection.d.ts.map +1 -1
- package/dist/core/tools/sqlite-selector-connection.js +4 -3
- package/dist/core/tools/sqlite-selector-connection.js.map +1 -1
- package/dist/core/tools/windows-directory-security.d.ts.map +1 -1
- package/dist/core/tools/windows-directory-security.js +2 -1
- package/dist/core/tools/windows-directory-security.js.map +1 -1
- package/dist/core/worktree-snapshot/git.js +2 -2
- package/dist/core/worktree-snapshot/git.js.map +1 -1
- package/dist/extensions/mcp/index.d.ts +6 -1
- package/dist/extensions/mcp/index.d.ts.map +1 -1
- package/dist/extensions/mcp/index.js +150 -18
- package/dist/extensions/mcp/index.js.map +1 -1
- package/dist/extensions/mcp/tool-records.d.ts +44 -9
- package/dist/extensions/mcp/tool-records.d.ts.map +1 -1
- package/dist/extensions/mcp/tool-records.js +58 -16
- package/dist/extensions/mcp/tool-records.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/main-session.d.ts +3 -1
- package/dist/main-session.d.ts.map +1 -1
- package/dist/main-session.js +1 -0
- package/dist/main-session.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +230 -96
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/agent-view/agent-view-bridge.d.ts +5 -0
- package/dist/modes/interactive/agent-view/agent-view-bridge.d.ts.map +1 -1
- package/dist/modes/interactive/agent-view/agent-view-bridge.js.map +1 -1
- package/dist/modes/interactive/agent-view/agent-view-switcher.d.ts +5 -2
- package/dist/modes/interactive/agent-view/agent-view-switcher.d.ts.map +1 -1
- package/dist/modes/interactive/agent-view/agent-view-switcher.js +3 -3
- package/dist/modes/interactive/agent-view/agent-view-switcher.js.map +1 -1
- package/dist/modes/interactive/agent-view/contracts.d.ts +6 -0
- package/dist/modes/interactive/agent-view/contracts.d.ts.map +1 -1
- package/dist/modes/interactive/agent-view/contracts.js.map +1 -1
- package/dist/modes/interactive/agent-view/install.d.ts.map +1 -1
- package/dist/modes/interactive/agent-view/install.js +2 -1
- package/dist/modes/interactive/agent-view/install.js.map +1 -1
- package/dist/modes/interactive/agent-view/open-port.d.ts +4 -2
- package/dist/modes/interactive/agent-view/open-port.d.ts.map +1 -1
- package/dist/modes/interactive/agent-view/open-port.js +4 -3
- package/dist/modes/interactive/agent-view/open-port.js.map +1 -1
- package/dist/modes/interactive/agent-view/prompt-retarget.d.ts.map +1 -1
- package/dist/modes/interactive/agent-view/prompt-retarget.js +18 -5
- package/dist/modes/interactive/agent-view/prompt-retarget.js.map +1 -1
- package/dist/modes/interactive/agent-view/remote-port.d.ts +10 -1
- package/dist/modes/interactive/agent-view/remote-port.d.ts.map +1 -1
- package/dist/modes/interactive/agent-view/remote-port.js +36 -4
- package/dist/modes/interactive/agent-view/remote-port.js.map +1 -1
- package/dist/modes/interactive/agent-view/viewed-keys.d.ts +56 -0
- package/dist/modes/interactive/agent-view/viewed-keys.d.ts.map +1 -0
- package/dist/modes/interactive/agent-view/viewed-keys.js +63 -0
- package/dist/modes/interactive/agent-view/viewed-keys.js.map +1 -0
- package/dist/modes/interactive/agent-view/viewed-submit.d.ts +14 -4
- package/dist/modes/interactive/agent-view/viewed-submit.d.ts.map +1 -1
- package/dist/modes/interactive/agent-view/viewed-submit.js +51 -17
- package/dist/modes/interactive/agent-view/viewed-submit.js.map +1 -1
- package/dist/modes/interactive/components/agent-panel.d.ts.map +1 -1
- package/dist/modes/interactive/components/agent-panel.js +8 -21
- package/dist/modes/interactive/components/agent-panel.js.map +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 +18 -5
- package/dist/modes/interactive/components/chat-session-host-actions.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-rendering.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-rendering.js +6 -0
- package/dist/modes/interactive/components/chat-session-host-rendering.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-state.d.ts +1 -0
- package/dist/modes/interactive/components/chat-session-host-state.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-state.js +2 -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 +5 -0
- 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/custom-editor.d.ts +33 -2
- package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-editor.js +58 -2
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/dist/modes/interactive/components/host-session-picker.js +2 -2
- package/dist/modes/interactive/components/host-session-picker.js.map +1 -1
- package/dist/modes/interactive/components/main-composer-keys.d.ts +16 -5
- package/dist/modes/interactive/components/main-composer-keys.d.ts.map +1 -1
- package/dist/modes/interactive/components/main-composer-keys.js +27 -8
- package/dist/modes/interactive/components/main-composer-keys.js.map +1 -1
- package/dist/modes/interactive/components/notice-line.d.ts +8 -25
- package/dist/modes/interactive/components/notice-line.d.ts.map +1 -1
- package/dist/modes/interactive/components/notice-line.js +18 -17
- package/dist/modes/interactive/components/notice-line.js.map +1 -1
- package/dist/modes/interactive/components/prompt-slot.d.ts +20 -3
- package/dist/modes/interactive/components/prompt-slot.d.ts.map +1 -1
- package/dist/modes/interactive/components/prompt-slot.js +82 -32
- package/dist/modes/interactive/components/prompt-slot.js.map +1 -1
- package/dist/modes/interactive/components/queued-messages-view.d.ts +5 -2
- package/dist/modes/interactive/components/queued-messages-view.d.ts.map +1 -1
- package/dist/modes/interactive/components/queued-messages-view.js +12 -5
- package/dist/modes/interactive/components/queued-messages-view.js.map +1 -1
- package/dist/modes/interactive/components/task-board.d.ts +5 -8
- package/dist/modes/interactive/components/task-board.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-board.js +5 -49
- package/dist/modes/interactive/components/task-board.js.map +1 -1
- package/dist/modes/interactive/components/task-completion-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-completion-message.js +9 -2
- package/dist/modes/interactive/components/task-completion-message.js.map +1 -1
- package/dist/modes/interactive/components/task-marks.d.ts +19 -0
- package/dist/modes/interactive/components/task-marks.d.ts.map +1 -0
- package/dist/modes/interactive/components/task-marks.js +25 -0
- package/dist/modes/interactive/components/task-marks.js.map +1 -0
- package/dist/modes/interactive/components/task-row.d.ts +10 -2
- package/dist/modes/interactive/components/task-row.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-row.js +39 -32
- package/dist/modes/interactive/components/task-row.js.map +1 -1
- package/dist/modes/interactive/components/task-transcript-page.d.ts +7 -0
- package/dist/modes/interactive/components/task-transcript-page.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-transcript-page.js +106 -10
- 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 +8 -9
- package/dist/modes/interactive/components/tool-block-families.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +5 -1
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/extension-command-hold.d.ts.map +1 -1
- package/dist/modes/interactive/extension-command-hold.js +5 -7
- package/dist/modes/interactive/extension-command-hold.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-dialogs.js +6 -1
- package/dist/modes/interactive/interactive-extension-dialogs.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-runtime.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-extension-runtime.js +21 -7
- package/dist/modes/interactive/interactive-extension-runtime.js.map +1 -1
- package/dist/modes/interactive/interactive-initial-session-binding.d.ts +1 -2
- package/dist/modes/interactive/interactive-initial-session-binding.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-initial-session-binding.js +2 -2
- package/dist/modes/interactive/interactive-initial-session-binding.js.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.js +13 -4
- package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts +2 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.js +6 -1
- package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-helpers.d.ts +4 -2
- package/dist/modes/interactive/interactive-mode-helpers.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-helpers.js +6 -0
- package/dist/modes/interactive/interactive-mode-helpers.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts +5 -0
- 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-process-lifecycle.js +96 -17
- package/dist/modes/interactive/interactive-process-lifecycle.js.map +1 -1
- package/dist/modes/interactive/interactive-queueing.d.ts +5 -0
- package/dist/modes/interactive/interactive-queueing.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-queueing.js +37 -5
- package/dist/modes/interactive/interactive-queueing.js.map +1 -1
- package/dist/modes/interactive/interactive-render-chat.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-render-chat.js +45 -4
- package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
- package/dist/modes/interactive/interactive-resource-disclosure.d.ts +4 -1
- package/dist/modes/interactive/interactive-resource-disclosure.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-resource-disclosure.js +20 -1
- package/dist/modes/interactive/interactive-resource-disclosure.js.map +1 -1
- package/dist/modes/interactive/interactive-resource-rendering.js +3 -0
- package/dist/modes/interactive/interactive-resource-rendering.js.map +1 -1
- package/dist/modes/interactive/interactive-startup.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-startup.js +43 -5
- package/dist/modes/interactive/interactive-startup.js.map +1 -1
- package/dist/modes/interactive-engine/activity-watchdog.d.ts +6 -3
- package/dist/modes/interactive-engine/activity-watchdog.d.ts.map +1 -1
- package/dist/modes/interactive-engine/activity-watchdog.js +3 -2
- package/dist/modes/interactive-engine/activity-watchdog.js.map +1 -1
- package/dist/modes/interactive-engine/engine-health.d.ts +2 -0
- package/dist/modes/interactive-engine/engine-health.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-health.js.map +1 -1
- package/dist/modes/interactive-engine/engine-quit-intent.d.ts +10 -0
- package/dist/modes/interactive-engine/engine-quit-intent.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-quit-intent.js +33 -0
- package/dist/modes/interactive-engine/engine-quit-intent.js.map +1 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.d.ts +7 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.d.ts.map +1 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.js +15 -2
- package/dist/modes/interactive-engine/extension-ui-bridge.js.map +1 -1
- package/dist/modes/interactive-engine/host-listener-failures.d.ts +24 -0
- package/dist/modes/interactive-engine/host-listener-failures.d.ts.map +1 -0
- package/dist/modes/interactive-engine/host-listener-failures.js +98 -0
- package/dist/modes/interactive-engine/host-listener-failures.js.map +1 -0
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +16 -0
- package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.js +74 -7
- package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
- package/dist/modes/interactive-engine/protocol.d.ts +5 -0
- package/dist/modes/interactive-engine/protocol.d.ts.map +1 -1
- package/dist/modes/interactive-engine/protocol.js +8 -2
- package/dist/modes/interactive-engine/protocol.js.map +1 -1
- package/dist/modes/interactive-engine/remote-component.d.ts +13 -0
- package/dist/modes/interactive-engine/remote-component.d.ts.map +1 -1
- package/dist/modes/interactive-engine/remote-component.js +69 -4
- package/dist/modes/interactive-engine/remote-component.js.map +1 -1
- package/dist/modes/print-mode.d.ts.map +1 -1
- package/dist/modes/print-mode.js +34 -6
- 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 +11 -1
- package/dist/modes/rpc/agent-panel-bridge.js.map +1 -1
- package/dist/modes/rpc/agent-view-rpc-panel.d.ts.map +1 -1
- package/dist/modes/rpc/agent-view-rpc-panel.js +11 -5
- package/dist/modes/rpc/agent-view-rpc-panel.js.map +1 -1
- package/dist/modes/rpc/rpc-client-process.d.ts +8 -1
- package/dist/modes/rpc/rpc-client-process.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-process.js +89 -65
- package/dist/modes/rpc/rpc-client-process.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +21 -0
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +77 -33
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-event-buffer.d.ts +5 -0
- package/dist/modes/rpc/rpc-event-buffer.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-event-buffer.js +8 -2
- package/dist/modes/rpc/rpc-event-buffer.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +9 -2
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/utils/shell.d.ts +5 -1
- package/dist/utils/shell.d.ts.map +1 -1
- package/dist/utils/shell.js +14 -7
- package/dist/utils/shell.js.map +1 -1
- package/dist/utils/worker-threads.d.ts +10 -4
- package/dist/utils/worker-threads.d.ts.map +1 -1
- package/dist/utils/worker-threads.js +10 -4
- package/dist/utils/worker-threads.js.map +1 -1
- package/docs/background-tasks.md +10 -10
- package/docs/compaction.md +1 -0
- package/docs/development.md +1 -1
- package/docs/environment-variables.md +4 -0
- package/docs/extensions/api-reference.md +2 -0
- package/docs/extensions/events.md +1 -1
- package/docs/getting-started/installation.md +1 -0
- package/docs/guides/non-interactive.md +2 -0
- package/docs/guides/resume-on-any-machine.md +3 -1
- package/docs/intercom/reference.md +1 -1
- package/docs/keybindings.md +6 -5
- package/docs/libraries/ai.md +2 -1
- package/docs/mcp-servers.md +1 -1
- package/docs/sdk/reference.md +1 -1
- package/docs/sdk.md +6 -0
- package/docs/security.md +4 -2
- package/docs/settings.md +2 -1
- package/docs/storage.md +2 -0
- package/docs/subagents.md +2 -2
- package/docs/tui/reference.md +3 -1
- package/npm-shrinkwrap.json +49 -49
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,118 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.10.3-alpha.1] - 2026-11-21
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `ToolBlock` and `NoticeLine` take the states `agent-running`, `shell-running`, `input` and `task-stopped`, which draw a subagent's or background task's state with the marks of the agent panel and `/tasks`, and `TASK_MARKS` gives those marks for text an extension draws itself ([#6122](https://github.com/bastani-inc/atomic/issues/6122)).
|
|
10
|
+
- SDK: `AgentSession.prompt()` takes `startTurnOnly`, which starts a turn with the input only when none runs: it is never queued behind one.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- While you view a subagent, `←` on its empty prompt returns to the main chat and leaves the subagent running, with its queued messages and unsent draft kept. The hint by the prompt reads `← main chat`. `Esc` no longer switches back to the main chat; it only pauses a working subagent, so how you leave a subagent no longer depends on whether it is working ([#6135](https://github.com/bastani-inc/atomic/issues/6135))
|
|
15
|
+
- `NoticeLine` and `ToolBlock` draw three existing states with new marks. On a `NoticeLine`, `running` shows a grey `◯` instead of `∀` and `stopped` a red `◯` instead of a muted `◼`, as the agent panel marks a running and a stopped subagent; a `ToolBlock` keeps `∀` for a call in progress and the muted `◼` for an interrupted one. `paused` shows `‖` in the warning colour instead of a muted `⏸` on both. With `NO_COLOR` a running and a stopped notice both show `◯`, and only their words tell them apart ([#6122](https://github.com/bastani-inc/atomic/issues/6122)).
|
|
16
|
+
- Sessions in different projects share more of the cached system prompt. The Session memory guideline no longer names the project's session folder; a `session_folder` section near the end of the prompt does. Sessions started before keep the prompt they recorded ([#6121](https://github.com/bastani-inc/atomic/issues/6121)).
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- A model request refused because the endpoint's TLS certificate is not trusted, as behind a corporate TLS-inspecting proxy or with a self-signed endpoint, now fails at once instead of counting through every retry. The error names the host, the certificate problem (such as `SELF_SIGNED_CERT_IN_CHAIN`) and how to trust a private CA with `NODE_EXTRA_CA_CERTS`, which the docs now describe. Like a rejected credential, it still moves on to `fallbackModels`, trying each once. Failure classification reports it as the new `certificate_refused` kind ([#6114](https://github.com/bastani-inc/atomic/issues/6114))
|
|
21
|
+
- Fixed an error in Atomic's own handling of something the interactive engine sent being reported as malformed output from the engine, which restarted the engine, or ending Atomic when it happened while a tool's output updated, after a compaction or in an asynchronous step. Atomic now shows the error with its cause and carries on ([#6107](https://github.com/bastani-inc/atomic/issues/6107)).
|
|
22
|
+
- On Node 22, where `AsyncLocalStorage` runs on promise hooks, each scope Atomic used and each session it ran made every `await` in the process slower, in an SDK host's own code too. Atomic now keeps all of its async context in one store, so the cost no longer grows: after a 300-prompt SDK session, 3 million awaits take about half as long as before. Node 24 and Bun were not affected. See [Node 22 hosts](docs/sdk.md#node-22-hosts) for the Node flag that removes the remaining cost ([#6111](https://github.com/bastani-inc/atomic/issues/6111)).
|
|
23
|
+
- Fixed a turn that adds 20 or more content blocks, such as many parallel tool calls and their results, missing the prompt cache on its next request on Anthropic, Amazon Bedrock and OpenAI-compatible Claude routes. That request now also marks where the previous request ended, so Claude still finds the cached conversation ([#6103](https://github.com/bastani-inc/atomic/issues/6103))
|
|
24
|
+
- Fixed resuming a session near the context window lowering the thinking budget, and losing the prompt cache, because of what only the resume added, such as a longer `AGENTS.md`. On Claude models that think within a fixed budget, the first prompt after the resume now clears the earlier conversation first, as automatic compaction does, and keeps the budget; what the resume added stays in the context. With automatic compaction off the request still lowers the budget to fit ([#6117](https://github.com/bastani-inc/atomic/issues/6117))
|
|
25
|
+
- A message sent again while the chat had not yet shown the previous send's run is shown once. When that run stopped without a reply, for example because another process wrote to the session, a second copy of the message could stay in the chat ([#6126](https://github.com/bastani-inc/atomic/issues/6126))
|
|
26
|
+
- A folder's saved "Trust" no longer applies in an interactive session before the `project_trust` handlers of user or global extensions have answered, since a handler can still decline the folder. Until then the session uses only global settings and resources: the first screen, migrating the folder's settings, the session store that `--continue`, `--resume` and `--session` read, and the build of restored worktrees wait for the decision. Without such extensions, or with `--approve`, a saved "Trust" applies at once as before. When the folder's own settings choose another session store than the global ones, Atomic decides the folder's trust before it opens a session, and that session's interface runs in the same process as its extensions ([#5693](https://github.com/bastani-inc/atomic/issues/5693))
|
|
27
|
+
- A resume in such a folder restores its worktrees and opens at once, as with `resume.waitForBlueprint: "tools"`: their blueprints build once the folder is decided, and tools wait for the build. A worktree no decision covers stays unbuilt and is reported as not trusted ([#5693](https://github.com/bastani-inc/atomic/issues/5693))
|
|
28
|
+
- When a folder is approved while its session is already on screen, the resource list at the top of the chat lists the approved resources, keeping each section expanded or folded. It waits while text is selected, a click or drag is in progress, you search, or the chat is scrolled away from its start and end. Open completion menus, pickers and Settings pages keep their choices; the approved resources show the next time you open them ([#5693](https://github.com/bastani-inc/atomic/issues/5693))
|
|
29
|
+
- Fixed SQLite selectors in the `read` tool, the SQLite session store, diagnostic logs, settings locks, history search and the engine's child-process guardian failing in a Node process whose `NODE_OPTIONS` contains `--input-type=module`, for example an SDK script run with `NODE_OPTIONS=--input-type=module node --eval`. Their worker threads now start however Node evaluates their source, also in a process started with `--input-type=module` under Node's permission model, and keep the process's flags and `NODE_OPTIONS` as before ([#6110](https://github.com/bastani-inc/atomic/issues/6110))
|
|
30
|
+
- An extension command whose view takes longer than 250 ms to draw no longer shows an empty frame before it: the typed command stays until the view draws, for at most another 250 ms, also when another extension's change ends the wait early ([#6105](https://github.com/bastani-inc/atomic/issues/6105))
|
|
31
|
+
- The "Working…" row leaves the screen as soon as an extension command ends after its view, overlay or dialog closed, instead of at the next key press ([#6134](https://github.com/bastani-inc/atomic/issues/6134))
|
|
32
|
+
- Opening a subagent from `/tasks` no longer draws a frame without the agent panel and then moves the transcript up: the subagent is shown once the panel has drawn again ([#6123](https://github.com/bastani-inc/atomic/issues/6123))
|
|
33
|
+
- A resumed session no longer sends the `mcp_servers` part of the system prompt twice more while its MCP servers reconnect: a server without a configured `description` keeps the summary the session last showed for it until it connects, and the part changes only if the server's instructions did ([#6108](https://github.com/bastani-inc/atomic/issues/6108))
|
|
34
|
+
- Sessions no longer store a hash of an MCP stdio server's arguments, which can hold a token, and changing such an argument no longer drops the server's tools from the first requests after a resume ([#6109](https://github.com/bastani-inc/atomic/issues/6109))
|
|
35
|
+
- Running Atomic from a source checkout no longer freezes the interface for about a second shortly after startup. A bundled package's modules that load later, such as Intercom's when it joins, are compiled in a background thread, and `/reload` runs the current code of such a module after you edit it, also under Bun and on Windows ([#6118](https://github.com/bastani-inc/atomic/issues/6118))
|
|
36
|
+
- Every view of a subagent or background task uses the marks of the agent panel and `/tasks`: completion notices, launch cards, a chat's task rows and the `wait` and `kill` lines show a grey `◯` (a shell's `⧗`) while it runs, a green `●` once it is done and a red `◯` once it was stopped, also for a subagent paused or quit until it is resumed. A `wait` that returns before its shell finishes no longer shows the done mark `●`, a stopped task's notice no longer shows `◼`, which `/tasks` uses for a task that is stopping, and a command sent to the background shows `⧗` on its block instead of `●`. A task row shows a waiting question with `◆` and a stopping task with `◼`, and in `/tasks` a subagent paused with Esc reads in the warning colour and a queued one dim, as in the agent panel ([#6122](https://github.com/bastani-inc/atomic/issues/6122)).
|
|
37
|
+
- In print mode, `atomic -p "/curator off"`, `/google-account` and other extension commands that answer with a message they send now print that message, or the reply of the turn it starts, instead of the session's earlier reply, and that turn is no longer cut off and saved as aborted. A later `-p` message waits for the turn instead of being refused, and an earlier reply that reached the output limit no longer marks the command's answer as truncated. With text output, a command whose only answer could not be saved now prints nothing and exits 1 instead of printing an earlier reply ([#6113](https://github.com/bastani-inc/atomic/issues/6113)).
|
|
38
|
+
- A resumed Claude session no longer sends strict tools once more after compactions removed every reply that recorded their rejection: the compaction keeps the record ([#6119](https://github.com/bastani-inc/atomic/issues/6119)).
|
|
39
|
+
- A tool whose schema lists its `required` parameters in another order, as an MCP server may after reconnecting, no longer counts as a changed tool: its declaration and the cached prompt stay the same, and a resumed session runs a call to it instead of refusing it as changed ([#6130](https://github.com/bastani-inc/atomic/issues/6130)).
|
|
40
|
+
- Building the history search index on Node 22 no longer keeps a little memory for every page it writes until the build ends ([#6106](https://github.com/bastani-inc/atomic/issues/6106))
|
|
41
|
+
- Closing the terminal, or sending Atomic `SIGTERM` or `SIGHUP`, gives extensions' `session_shutdown` handlers the same few seconds to finish as quitting does, with `fromSignal: true`, also when the session runs in the interactive engine, and the engine writes its last diagnostics records. A second `SIGTERM` ends the session at once; the several `SIGHUP` signals a closing terminal sends do not. On Windows, closing the console window still ends Atomic at once ([#6104](https://github.com/bastani-inc/atomic/issues/6104)).
|
|
42
|
+
- Quitting no longer waits on writing the interactive engine's stop file, so a stalled temporary directory cannot hold it up, and a write that fails no longer leaves the engine running after Atomic has exited ([#6115](https://github.com/bastani-inc/atomic/issues/6115)).
|
|
43
|
+
- SDK: `session.dispose()` now waits for the notice lines the session is still saving, such as the "Retry failed" line that stopping a retry saves, when you passed your own `sessionManager`. Removing the session's folder right after `dispose()` resolves no longer fails with `ENOTEMPTY` ([#6128](https://github.com/bastani-inc/atomic/issues/6128), [#6150](https://github.com/bastani-inc/atomic/pull/6150))
|
|
44
|
+
- Blueprint steps on a busy Windows machine no longer fail when starting their program is briefly refused. A program refused for a moment (`EPERM` or `EBUSY` on Windows, `ETXTBSY` on Linux) is now tried again for up to two seconds instead of half a second, every 50 ms at first and then less often. A program that stays refused fails its step at most two seconds later ([#6124](https://github.com/bastani-inc/atomic/issues/6124), [#6150](https://github.com/bastani-inc/atomic/pull/6150))
|
|
45
|
+
- Queued messages are listed exactly as they will be sent. A steering or follow-up message the agent already took for its next turn is shown as being delivered, without the hint to edit it, and is sent once instead of also coming back to the editor when you press Alt+Up or Esc meanwhile. A message you send with the text of a queued one no longer removes the queued one from the list. A message the agent took is queued again, first, when its turn fails before sending it, and the queue goes on as before; only a message whose turn fails that way a second time is dropped, as it always was. A message an extension's queue listener refuses is no longer listed.
|
|
46
|
+
- When the engine stops unexpectedly after it took a queued message and before Atomic saw it saved (while delivering it, or after showing it), a notice lists the message in full and says its delivery is unconfirmed: it is not sent again and not put back in the editor. Messages still queued come back to the editor as before; a deliberate restart or quit changes nothing.
|
|
47
|
+
- In a subagent's chat, Alt+Up no longer clears a message queued after it from the list, and messages it takes back after you close the chat come back in that chat's prompt when you open it again.
|
|
48
|
+
|
|
49
|
+
## [0.10.2] - 2026-11-20
|
|
50
|
+
|
|
51
|
+
Resumed sessions keep the provider's prompt cache, commands and queued messages no longer flash on screen, and quitting on Windows lets extensions shut down.
|
|
52
|
+
|
|
53
|
+
**Resumed sessions and the prompt cache**
|
|
54
|
+
|
|
55
|
+
- **Resuming keeps the prompt cache.** The first request after a resume marks where the restored history ends, so the provider still finds the cached conversation however much the resume adds. A resumed session also keeps the thinking budget it used even if `thinkingBudgets` changed, and does not retry strict tool schemas that Claude already rejected. Reinstalling Atomic in another directory no longer changes the `codemode` tool's definition ([#6092](https://github.com/bastani-inc/atomic/pull/6092))
|
|
56
|
+
- **Prompt changes no longer rewrite the cached prompt.** On providers without mid-conversation system messages, such as Gemini, Bedrock, Mistral and OpenAI-compatible endpoints, a prompt change after the first request (a new day, an `AGENTS.md` edit, a newer version's prompt) is sent after the history instead of rewriting the system prompt. A conversation whose earlier requests already merged such changes is rewritten once more, on its first request after updating ([#6092](https://github.com/bastani-inc/atomic/pull/6092))
|
|
57
|
+
- **Reopened subagents keep their cached prompt.** A subagent reopened on another day or after an update is sent the system prompt it started with, and changes since then, such as the date, the model it falls back to or its skills, follow as updates, so the provider no longer processes its whole conversation again. A subagent last run by an earlier version is processed in full once more, on its first run after updating ([#6093](https://github.com/bastani-inc/atomic/pull/6093))
|
|
58
|
+
- **Forked subagents start from the parent's cache.** A subagent started with `context: "fork"` continues its parent's conversation exactly as the parent last sent it, project context and skills included, so on the parent's model and thinking level its first request is read from the parent's prompt cache ([#6093](https://github.com/bastani-inc/atomic/pull/6093), [#6099](https://github.com/bastani-inc/atomic/pull/6099))
|
|
59
|
+
- **MCP tools stay declared while their servers reconnect.** A resumed session keeps declaring the MCP tools it was using while their servers reconnect, so its first requests no longer drop and re-add them and make the provider read the whole conversation again. A call to such a tool waits for its server and runs only if the server still offers the same tool ([#6094](https://github.com/bastani-inc/atomic/pull/6094))
|
|
60
|
+
- **A steady tool list and system prompt.** Tools that extensions and MCP servers register are added in name order whichever registers first, and a tool schema rebuilt with its keys in another order no longer counts as a new tool. New sessions put install-specific documentation paths and the date at the end of the system prompt, so less of the cached prompt changes between days and installations ([#6092](https://github.com/bastani-inc/atomic/pull/6092))
|
|
61
|
+
- **Clearer cache-miss notices.** The notice also names tool definitions that changed between requests, as an upgrade can change them, a thinking budget lowered or dropped to fit the context window, a thinking level change on the same model, and a subagent prompt sent again in full ([#3261](https://github.com/bastani-inc/atomic/issues/3261), [#6092](https://github.com/bastani-inc/atomic/pull/6092))
|
|
62
|
+
|
|
63
|
+
**Providers and subagents**
|
|
64
|
+
|
|
65
|
+
- **Claude thinking near the context window.** On the Anthropic API and Amazon Bedrock, a request too close to the context window for even the smallest thinking budget is sent without thinking instead of being rejected by the provider, and thinking returns once it fits again ([#6092](https://github.com/bastani-inc/atomic/pull/6092))
|
|
66
|
+
- **Bedrock and Mistral accept input steered in while tools run.** Amazon Bedrock no longer rejects a request with two user messages in a row, and Mistral no longer rejects a user message right after a tool result ([#6092](https://github.com/bastani-inc/atomic/pull/6092))
|
|
67
|
+
- **Subagents finish after a context clear.** A subagent whose context was cleared or compacted while it ran, and that then finished, is reported done with its answer, instead of failed with "Child ended without completing an assistant turn of its own." ([#6098](https://github.com/bastani-inc/atomic/pull/6098))
|
|
68
|
+
|
|
69
|
+
**Chat screen and agent panel**
|
|
70
|
+
|
|
71
|
+
- **More commands open without a blank frame.** `/thinking` without a level, `/fork`, `/trust`, `/reload`, `/model` with a name it has to look up, and extension commands such as `/agents` keep the typed command on screen until their view can draw, as `/model` alone already did. An extension command is held for at most 250 ms ([#6077](https://github.com/bastani-inc/atomic/issues/6077), [#6087](https://github.com/bastani-inc/atomic/pull/6087))
|
|
72
|
+
- **`/share` responds at once.** It shows its progress as soon as you press Enter, Esc cancels it at any step, and it no longer uploads another session when the session changes while it checks `gh` ([#6077](https://github.com/bastani-inc/atomic/issues/6077), [#6087](https://github.com/bastani-inc/atomic/pull/6087))
|
|
73
|
+
- **Queued messages stay listed in the main chat.** A steering or follow-up message stays above the prompt until it shows in the transcript, also while an extension's `message_start` hook is still running ([#6080](https://github.com/bastani-inc/atomic/issues/6080), [#6089](https://github.com/bastani-inc/atomic/pull/6089))
|
|
74
|
+
- **New subagent marks.** In the agent panel, `/tasks` and a chat's task rows, a running subagent shows an open circle `◯` that no longer animates, a finished one a green `●` and a stopped one a red `◯`. In the panel, the chat on screen fills its circle and has a bold row, and the selection cursor is `∀` ([#6090](https://github.com/bastani-inc/atomic/pull/6090))
|
|
75
|
+
- **Token counts read the same everywhere.** Every view writes token counts with one decimal and a unit, such as `248.6k` or `1.2M`, so a count no longer ends in an `m` that reads like minutes next to an elapsed time, and subagent rows say `tokens` instead of `tok`. A usage meter too wide for the terminal drops its cache and cost figures before it cuts the context usage ([#6096](https://github.com/bastani-inc/atomic/pull/6096))
|
|
76
|
+
|
|
77
|
+
**Sessions and storage**
|
|
78
|
+
|
|
79
|
+
- **Sessions that used `/curator`, `/google-account` or `/websearch` open again.** They no longer fail with "Unsupported session format", and these commands now save their messages in a form every release since 0.9.38 can read ([#6097](https://github.com/bastani-inc/atomic/issues/6097), [#6100](https://github.com/bastani-inc/atomic/pull/6100))
|
|
80
|
+
- **`history://` indexing is quick again on busy machines.** Building a long session's search index is fast again when the CPUs are busy, because each page of entries goes to the database thread as one request instead of one per statement. The first search of a long session covers as many entries per call as before 0.10.1, and typing and rendering stay free while the index builds ([#6082](https://github.com/bastani-inc/atomic/issues/6082), [#6088](https://github.com/bastani-inc/atomic/pull/6088))
|
|
81
|
+
- **Refused PostgreSQL certificates fail at once.** When TLS verification refuses a server's or proxy's certificate, for example with `INVALID_PURPOSE` or `PATH_LENGTH_EXCEEDED`, opening the store fails at once and names the reason and the `sslrootcert` fix, instead of retrying five times as if the server were unreachable ([#6074](https://github.com/bastani-inc/atomic/issues/6074), [#6084](https://github.com/bastani-inc/atomic/pull/6084))
|
|
82
|
+
- **SDK: wrapped SQLite writes no longer stall your event loop.** A `wrapNodeSqliteDatabase` write made while an `openNodeSqliteDatabase` transaction started on the same thread holds the file's write lock now waits off your thread and runs once the lock is free, instead of blocking for the busy timeout and failing with `SQLITE_BUSY`. Reads still run at once, and statements whose retry could differ from a single run, such as ones that call your own functions, run as before. To decide, the handle prepares the statement's `EXPLAIN` and a few `PRAGMA`s, which an authorizer you set with `setAuthorizer` sees ([#6081](https://github.com/bastani-inc/atomic/issues/6081), [#6091](https://github.com/bastani-inc/atomic/pull/6091))
|
|
83
|
+
- **SDK scripts started with `--input-type=module`.** In a Node process started with `--input-type=module`, SQLite selectors in the `read` tool, history search, diagnostic logs, settings locks, `CodemodeSandbox`, Chromium cookie reading and the Intercom broker watchdog now work, image resizing runs off the calling thread again, and the process's `--import` and `--require` preloads no longer run again for each of them ([#6079](https://github.com/bastani-inc/atomic/issues/6079), [#6086](https://github.com/bastani-inc/atomic/pull/6086))
|
|
84
|
+
|
|
85
|
+
**Quitting**
|
|
86
|
+
|
|
87
|
+
- **Quitting on Windows lets the engine shut down.** On Windows a quit now gives the engine up to five seconds to shut down, as on Linux and macOS, so extensions' `session_shutdown` handlers run. A quit there can take up to those five seconds, where it used to end the engine at once ([#6075](https://github.com/bastani-inc/atomic/issues/6075), [#6085](https://github.com/bastani-inc/atomic/pull/6085))
|
|
88
|
+
- **Nothing arrives late from a stopping engine.** When Atomic stops its engine, to quit or to restart an unresponsive one, notifications and events the engine sends while it shuts down no longer reach the screen, and a message the engine had already taken is no longer treated as never sent ([#6075](https://github.com/bastani-inc/atomic/issues/6075), [#6085](https://github.com/bastani-inc/atomic/pull/6085))
|
|
89
|
+
|
|
90
|
+
**Breaking change:** A forked subagent (`context: "fork"`) now receives the project context and skills its parent was sent, even when its agent sets `inheritProjectContext: false` or `inheritSkills: false`; those settings now apply only to fresh subagents. To keep the project context, such as `AGENTS.md`, or the skills out of such a subagent, launch it with `context: "fresh"`.
|
|
91
|
+
|
|
92
|
+
### Changed
|
|
93
|
+
|
|
94
|
+
- New sessions put the system prompt's install-specific documentation paths after the `APPEND_SYSTEM.md` addendum, and the date after every other section, so less of a cached system prompt changes between days and installations ([#6092](https://github.com/bastani-inc/atomic/pull/6092)).
|
|
95
|
+
- The prompt-cache miss notice names more causes: tool definitions that changed between requests, as a newer version can change them, a thinking budget lowered or dropped to fit the context window, a thinking level change on the same model, and a subagent prompt sent again in full ([#3261](https://github.com/bastani-inc/atomic/issues/3261)).
|
|
96
|
+
- `pi.sendMessage()`, `pi.sendMessages()`, `pi.appendEntry()` and `pi.setLabel()` throw a `TypeError` instead of saving what the session could not read back: a `customType` that is not a string, message content that is neither a string nor an array of content blocks, or a label that is neither a string nor `undefined`. A message's `display` is saved as `true` or `false`, and a missing `display` as `false`, the way the chat shows it ([#6097](https://github.com/bastani-inc/atomic/issues/6097)).
|
|
97
|
+
- The agent panel marks a running subagent with an open circle `◯` instead of the animated `∀`, a finished one with a green `●` and a stopped one with a red `◯`. The agent you are viewing has a filled `●` and a bold row, and `main` shows a muted `◯` while you view a subagent. The selection cursor is `∀` instead of `❯`, and it is the only mark drawn before a row's status mark. The `/tasks` list and a chat's task rows use the same running, done and stopped marks. Other status marks are unchanged ([#6090](https://github.com/bastani-inc/atomic/pull/6090)).
|
|
98
|
+
- Token counts read the same in every view: the whole count below 1,000, then one decimal and a unit, as in `1.0k`, `248.6k`, `1.2M` and `1.0B`. Thousands use a lowercase `k`, and millions and larger an uppercase `M`, `B` or `T`, so a count no longer ends in an `m` that reads as minutes next to an elapsed time such as `4m`. A count that rounds to 1000.0 of a unit shows as 1.0 of the next, so 999,950 tokens is `1.0M`. This covers the working row under the prompt, the agent panel, `/tasks` and the chat's task rows, subagent rows, task heartbeat notices, the compaction line and `/tree`, the usage meter, the llama.cpp picker, `atomic --list-models` and HTML exports; subagent rows say `tokens` instead of `tok`. A usage meter too wide for the terminal now drops cache write, cache read, the cache hit rate, the cost, input and then output before it cuts the context usage at its end. In the llama.cpp picker, a long model id gives up columns so the model's status and context size stay whole. The exported `formatTokenCount` and `formatTokenSegment` helpers return the new format ([#6096](https://github.com/bastani-inc/atomic/pull/6096)).
|
|
99
|
+
|
|
100
|
+
### Fixed
|
|
101
|
+
|
|
102
|
+
- Fixed resumed sessions losing the provider's prompt cache. The first request after a resume marks where the restored history ends, so the cached conversation is found however much the resume adds, such as blueprint context or prompt updates. A resumed session keeps the thinking budget it used, even when the `thinkingBudgets` setting changed meanwhile. On providers without mid-conversation system messages, prompt changes such as the date, `AGENTS.md`, `SYSTEM.md` or a newer version's prompt are sent after the history instead of rewriting the system prompt. The `codemode` tool description no longer names the directory Atomic is installed in, so reinstalling Atomic elsewhere keeps the tool definitions unchanged ([#6092](https://github.com/bastani-inc/atomic/pull/6092)).
|
|
103
|
+
- Fixed the order of tools that extensions or MCP servers register depending on which registered first: tools a session has not declared yet are added built-in tools first and then extension and MCP tools in name order, and declared tools keep their order. The `codemode` tool lists its nested tools in name order too ([#6092](https://github.com/bastani-inc/atomic/pull/6092)).
|
|
104
|
+
- A resumed session keeps declaring the MCP tools it was using while their servers reconnect, so its first requests no longer drop and re-add them, which made the model provider read the whole conversation again uncached. A call to such a tool waits for its server and runs only if the server still offers the same tool; the tools of a server that fails to connect, needs a sign-in, is no longer configured, or changed them are removed or updated as before. A server's tools are declared in name order, whatever order the server lists them in ([#6094](https://github.com/bastani-inc/atomic/pull/6094)).
|
|
105
|
+
- Sessions that used `/curator`, `/google-account` or `/websearch` open again, with `--session`, `/resume` or in the interactive view, on the default SQLite store and in JSONL files. A saved extension message whose `display` is neither `true` nor `false` shows when it is set and stays hidden when it is missing, as before 0.9.38. An extension message or entry whose type is not text, an extension message whose content is neither text nor content blocks, and a label that is not text no longer make a session unreadable: such content stays hidden, and such a label reads as no label ([#6097](https://github.com/bastani-inc/atomic/issues/6097)).
|
|
106
|
+
- SDK: a `wrapNodeSqliteDatabase` handle that writes a file while an `openNodeSqliteDatabase` transaction on the same thread holds its write lock no longer stops your event loop for its busy timeout and fails with `SQLITE_BUSY`: the write waits off the event loop and runs once the lock is free, or fails with `SQLITE_BUSY` without effect at its busy timeout. Reads and writes of temporary tables still run at once. Statements whose retry could differ from a single run (ones that call your functions, an extension's collating sequences, virtual tables or the change counters, write another attached file, `VACUUM`, most `PRAGMA`s, and any inside a transaction you began on the connection) run as before. While such a transaction is open, an authorizer set with `setAuthorizer` sees the statements the handle uses to decide this (`EXPLAIN` of the statement, `PRAGMA busy_timeout`, `PRAGMA main.journal_mode` and `PRAGMA function_list`) ([#6081](https://github.com/bastani-inc/atomic/issues/6081)).
|
|
107
|
+
- Building the `history://` search index of a long session is fast again when the CPUs are busy, and still leaves typing and rendering free: each page of entries and its index merge reach the SQLite connection's thread as one request instead of one per statement, so the first `history://` search of a session without an index covers as many entries per call as before 0.10.1 ([#6082](https://github.com/bastani-inc/atomic/issues/6082)).
|
|
108
|
+
- Fixed SQLite selectors in the `read` tool failing in a Node process started with `--input-type=module`, for example an SDK script run with `node --input-type=module --eval`, and that process's `--import` and `--require` preloads running again for every selector. Diagnostic logs, settings locks, history search and the engine's child-process guardian had the same problem. Their worker threads now start without the process's command-line flags, except under Node's permission model, where they keep its restrictions. Image resizing in such a process now runs on its worker thread again instead of on the calling thread ([#6079](https://github.com/bastani-inc/atomic/issues/6079)).
|
|
109
|
+
- A queued message in the main chat no longer disappears for a frame when the session takes it. Its `Steering:` or `Follow-up:` row now stays until the message shows in the transcript, and goes in the same frame, also while an extension's `message_start` hook is still running and, in the default isolated mode, when the engine's updates reach the screen one at a time ([#6080](https://github.com/bastani-inc/atomic/issues/6080)).
|
|
110
|
+
- `/thinking` without a level, `/fork`, `/trust`, `/reload` and `/model` with a name that has to be looked up no longer flash an empty prompt before their view opens: the prompt stays on screen until the view can draw, as with `/model` alone ([#6077](https://github.com/bastani-inc/atomic/issues/6077)).
|
|
111
|
+
- Extension commands, such as `/agents`, no longer flash an empty prompt before their view opens: the typed command stays on screen until the command shows something or anything else appears on the screen, until it finishes or you press a key, and for at most 250 ms ([#6077](https://github.com/bastani-inc/atomic/issues/6077)).
|
|
112
|
+
- `/share` shows its progress as soon as you press Enter, and Esc cancels it at any step, also while it checks `gh` and exports the session ([#6077](https://github.com/bastani-inc/atomic/issues/6077)).
|
|
113
|
+
- `/share` no longer uploads another session when the session changes while it checks `gh`, for example after `/resume` or `/new`: it stops with "Share cancelled: the session changed" ([#6077](https://github.com/bastani-inc/atomic/issues/6077)).
|
|
114
|
+
- On Windows, quitting now gives the engine up to five seconds to shut down, as on Linux and macOS, so extensions' `session_shutdown` handlers run and the engine writes its `shutdown` record for `ATOMIC_EVENT_LOOP_BLOCK_MS`. Before, the engine was ended at once. A quit now waits for that shutdown work, up to the five seconds ([#6075](https://github.com/bastani-inc/atomic/issues/6075)).
|
|
115
|
+
- When Atomic stops its engine, to quit or to restart an unresponsive one, notifications and events the engine sends while it shuts down no longer reach the interface, and a message the engine had already taken is no longer treated as never sent ([#6075](https://github.com/bastani-inc/atomic/issues/6075)).
|
|
116
|
+
|
|
5
117
|
## [0.10.2-alpha.1] - 2026-11-20
|
|
6
118
|
|
|
7
119
|
### Changed
|
|
@@ -4,6 +4,23 @@ All notable changes to the `pi-intercom` extension will be documented in this fi
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.10.3-alpha.1] - 2026-11-21
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- When the session that kept a released subagent lets it go, a session whose question to that subagent was still open is told `Session "<subagent>" ended before replying`. It used to get a malformed failure that closed its Intercom connection, or a notice that did not name the subagent ([#6131](https://github.com/bastani-inc/atomic/issues/6131)).
|
|
12
|
+
- Fixed the broker watchdog not starting in a broker whose `NODE_OPTIONS` contains `--input-type=module` ([#6110](https://github.com/bastani-inc/atomic/issues/6110))
|
|
13
|
+
- A broker restarted after a crash on a busy machine no longer drops the messages the earlier broker kept for subagents that ended when loading the store's code takes up the first session's short wait for the store: a broker that finds such a store loads that code as it starts ([#6126](https://github.com/bastani-inc/atomic/issues/6126)).
|
|
14
|
+
- Fixed closing a session on Windows while its Intercom broker was still starting ending an unrelated process: Windows can give the pid of a broker that has exited to another process within seconds, and the broker was stopped by its pid alone. The broker now records when it was created, and is stopped only through a handle to the process created then, with the processes it started; a pid that names another process counts as a broker that has already exited, so closing no longer waits for it either ([#6133](https://github.com/bastani-inc/atomic/issues/6133)).
|
|
15
|
+
- With multi-node routing, a session that comes back on another broker keeps its Intercom ID, and with it the asks it had open, when that broker stalls for a few seconds while the shared database confirms the ID. The broker still gives a fresh ID when the database has not written the ID for that session within the registration's usual time, or when a session on another broker presents the ID; registration keeps its existing time bound. A PostgreSQL runtime role without permission to change tables keeps the earlier behavior until `atomic storage migrate` is run as the owner role ([#5607](https://github.com/bastani-inc/atomic/issues/5607)).
|
|
16
|
+
- With multi-node routing, a message queued for a session that was offline, such as the failure of an ask whose recipient ended, now reaches that session at once when it registered on another broker just before the message was written, instead of after up to 30 seconds ([#5607](https://github.com/bastani-inc/atomic/issues/5607)).
|
|
17
|
+
|
|
18
|
+
## [0.10.2] - 2026-11-20
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- Fixed the broker watchdog not starting in a broker run with Node's `--input-type=module`, and a custom broker command's `--import` and `--require` preloads running again in it ([#6079](https://github.com/bastani-inc/atomic/issues/6079)).
|
|
23
|
+
|
|
7
24
|
## [0.10.2-alpha.1] - 2026-11-20
|
|
8
25
|
|
|
9
26
|
### Fixed
|
|
@@ -2,6 +2,7 @@ import { randomUUID } from "node:crypto";
|
|
|
2
2
|
import { execFile } from "node:child_process";
|
|
3
3
|
import { mkdirSync, readFileSync, readlinkSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
|
+
import { hostCommandEnvironment } from "./host-command-environment.js";
|
|
5
6
|
import { getIntercomDirPath } from "./paths.js";
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -52,19 +53,7 @@ async function hostCommandOutput(
|
|
|
52
53
|
return undefined;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
* The environment for a host command. Windows PowerShell started from a PowerShell 7 parent inherits PowerShell 7's
|
|
57
|
-
* `PSModulePath`, finds PowerShell 7's copies of its built-in modules first and fails to load them, so `Get-Process`
|
|
58
|
-
* and `Get-CimInstance` fail. Without the variable Windows PowerShell uses its own module path; the other host commands
|
|
59
|
-
* do not read it.
|
|
60
|
-
*/
|
|
61
|
-
export function hostCommandEnvironment(env: NodeJS.ProcessEnv = process.env): NodeJS.ProcessEnv {
|
|
62
|
-
const result: NodeJS.ProcessEnv = {};
|
|
63
|
-
for (const [key, value] of Object.entries(env)) {
|
|
64
|
-
if (key.toLowerCase() !== "psmodulepath") result[key] = value;
|
|
65
|
-
}
|
|
66
|
-
return result;
|
|
67
|
-
}
|
|
56
|
+
export { hostCommandEnvironment } from "./host-command-environment.js";
|
|
68
57
|
|
|
69
58
|
/** What the identity sources read from the host; tests pass fakes. */
|
|
70
59
|
export interface HostIdentitySources {
|