@bastani/atomic 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +95 -0
- package/dist/builtin/intercom/CHANGELOG.md +12 -0
- package/dist/builtin/intercom/broker/watchdog.ts +4 -0
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/CHANGELOG.md +32 -0
- package/dist/builtin/subagents/README.md +2 -0
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/subagents/skills/subagent/SKILL.md +3 -3
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +269 -144
- package/dist/builtin/web-access/CHANGELOG.md +14 -0
- package/dist/builtin/web-access/index.bundle.mjs +9 -5
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/cli/list-models.d.ts.map +1 -1
- package/dist/cli/list-models.js +1 -14
- package/dist/cli/list-models.js.map +1 -1
- package/dist/core/agent-session-export.d.ts.map +1 -1
- package/dist/core/agent-session-export.js +13 -9
- package/dist/core/agent-session-export.js.map +1 -1
- package/dist/core/agent-session-message-queue.d.ts.map +1 -1
- package/dist/core/agent-session-message-queue.js +6 -3
- package/dist/core/agent-session-message-queue.js.map +1 -1
- package/dist/core/agent-session-methods.d.ts +3 -0
- 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-nested-tools.d.ts.map +1 -1
- package/dist/core/agent-session-nested-tools.js +2 -1
- package/dist/core/agent-session-nested-tools.js.map +1 -1
- package/dist/core/agent-session-prompt.d.ts.map +1 -1
- package/dist/core/agent-session-prompt.js +12 -0
- package/dist/core/agent-session-prompt.js.map +1 -1
- package/dist/core/agent-session-state.d.ts +6 -0
- package/dist/core/agent-session-state.d.ts.map +1 -1
- package/dist/core/agent-session-state.js +71 -4
- 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 +9 -1
- package/dist/core/agent-session-tool-hooks.js.map +1 -1
- package/dist/core/agent-session-types.d.ts +2 -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 +3 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +7 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/cache-stats.d.ts +15 -0
- package/dist/core/cache-stats.d.ts.map +1 -1
- package/dist/core/cache-stats.js +40 -2
- package/dist/core/cache-stats.js.map +1 -1
- package/dist/core/diagnostic-writer.d.ts.map +1 -1
- package/dist/core/diagnostic-writer.js +2 -1
- package/dist/core/diagnostic-writer.js.map +1 -1
- package/dist/core/export-html/template.js +14 -4
- package/dist/core/extensions/context-types.d.ts +6 -0
- package/dist/core/extensions/context-types.d.ts.map +1 -1
- package/dist/core/extensions/context-types.js.map +1 -1
- package/dist/core/extensions/loader-api.d.ts.map +1 -1
- package/dist/core/extensions/loader-api.js +5 -2
- package/dist/core/extensions/loader-api.js.map +1 -1
- package/dist/core/queued-message-delivery.d.ts +100 -7
- package/dist/core/queued-message-delivery.d.ts.map +1 -1
- package/dist/core/queued-message-delivery.js +194 -4
- package/dist/core/queued-message-delivery.js.map +1 -1
- package/dist/core/resume-cache-checkpoint.d.ts +32 -0
- package/dist/core/resume-cache-checkpoint.d.ts.map +1 -0
- package/dist/core/resume-cache-checkpoint.js +67 -0
- package/dist/core/resume-cache-checkpoint.js.map +1 -0
- package/dist/core/sdk-types.d.ts +37 -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.map +1 -1
- package/dist/core/sdk.js +57 -28
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-manager-core.d.ts.map +1 -1
- package/dist/core/session-manager-core.js +12 -3
- package/dist/core/session-manager-core.js.map +1 -1
- package/dist/core/session-manager-entries.d.ts +13 -0
- package/dist/core/session-manager-entries.d.ts.map +1 -1
- package/dist/core/session-manager-entries.js +38 -6
- package/dist/core/session-manager-entries.js.map +1 -1
- package/dist/core/settings-lock-directory.d.ts.map +1 -1
- package/dist/core/settings-lock-directory.js +2 -1
- package/dist/core/settings-lock-directory.js.map +1 -1
- package/dist/core/storage/node-sqlite-file-gate.d.ts +173 -0
- package/dist/core/storage/node-sqlite-file-gate.d.ts.map +1 -0
- package/dist/core/storage/node-sqlite-file-gate.js +1033 -0
- package/dist/core/storage/node-sqlite-file-gate.js.map +1 -0
- package/dist/core/storage/node-sqlite-thread.d.ts +33 -6
- package/dist/core/storage/node-sqlite-thread.d.ts.map +1 -1
- package/dist/core/storage/node-sqlite-thread.js +72 -2
- 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 +216 -15
- package/dist/core/storage/node-sqlite.js.map +1 -1
- package/dist/core/storage/session/entry-structure.d.ts.map +1 -1
- package/dist/core/storage/session/entry-structure.js +39 -2
- package/dist/core/storage/session/entry-structure.js.map +1 -1
- package/dist/core/storage/session/session-resume.d.ts.map +1 -1
- package/dist/core/storage/session/session-resume.js +1 -0
- package/dist/core/storage/session/session-resume.js.map +1 -1
- package/dist/core/storage/session/session-search-index.d.ts.map +1 -1
- package/dist/core/storage/session/session-search-index.js +56 -9
- package/dist/core/storage/session/session-search-index.js.map +1 -1
- package/dist/core/storage/statement-sequence.d.ts +36 -0
- package/dist/core/storage/statement-sequence.d.ts.map +1 -0
- package/dist/core/storage/statement-sequence.js +22 -0
- package/dist/core/storage/statement-sequence.js.map +1 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +13 -4
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tasks/heartbeat-notice.d.ts.map +1 -1
- package/dist/core/tasks/heartbeat-notice.js +2 -1
- package/dist/core/tasks/heartbeat-notice.js.map +1 -1
- package/dist/core/tool-loadout.d.ts +4 -2
- package/dist/core/tool-loadout.d.ts.map +1 -1
- package/dist/core/tool-loadout.js +27 -5
- package/dist/core/tool-loadout.js.map +1 -1
- package/dist/core/tools/history-regex-worker.d.ts.map +1 -1
- package/dist/core/tools/history-regex-worker.js +2 -1
- package/dist/core/tools/history-regex-worker.js.map +1 -1
- package/dist/core/tools/powershell.d.ts +22 -22
- package/dist/core/tools/sqlite-selector-connection.d.ts.map +1 -1
- package/dist/core/tools/sqlite-selector-connection.js +7 -0
- package/dist/core/tools/sqlite-selector-connection.js.map +1 -1
- package/dist/core/transformed-system-prompt.d.ts +92 -0
- package/dist/core/transformed-system-prompt.d.ts.map +1 -0
- package/dist/core/transformed-system-prompt.js +240 -0
- package/dist/core/transformed-system-prompt.js.map +1 -0
- package/dist/extensions/codemode/execute.js +1 -1
- package/dist/extensions/codemode/execute.js.map +1 -1
- package/dist/extensions/codemode/tool.d.ts.map +1 -1
- package/dist/extensions/codemode/tool.js +16 -3
- package/dist/extensions/codemode/tool.js.map +1 -1
- package/dist/extensions/llama/ui.d.ts.map +1 -1
- package/dist/extensions/llama/ui.js +13 -8
- package/dist/extensions/llama/ui.js.map +1 -1
- package/dist/extensions/mcp/config.d.ts +2 -0
- package/dist/extensions/mcp/config.d.ts.map +1 -1
- package/dist/extensions/mcp/config.js +5 -0
- package/dist/extensions/mcp/config.js.map +1 -1
- package/dist/extensions/mcp/index.d.ts +4 -0
- package/dist/extensions/mcp/index.d.ts.map +1 -1
- package/dist/extensions/mcp/index.js +289 -64
- package/dist/extensions/mcp/index.js.map +1 -1
- package/dist/extensions/mcp/runtime.d.ts +1 -1
- package/dist/extensions/mcp/runtime.d.ts.map +1 -1
- package/dist/extensions/mcp/runtime.js +2 -2
- package/dist/extensions/mcp/runtime.js.map +1 -1
- package/dist/extensions/mcp/tool-records.d.ts +58 -0
- package/dist/extensions/mcp/tool-records.d.ts.map +1 -0
- package/dist/extensions/mcp/tool-records.js +129 -0
- package/dist/extensions/mcp/tool-records.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/components/agent-panel.d.ts +2 -4
- package/dist/modes/interactive/components/agent-panel.d.ts.map +1 -1
- package/dist/modes/interactive/components/agent-panel.js +65 -80
- package/dist/modes/interactive/components/agent-panel.js.map +1 -1
- package/dist/modes/interactive/components/compaction-boundary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/compaction-boundary-message.js +3 -3
- package/dist/modes/interactive/components/compaction-boundary-message.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +35 -28
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/notice-line.d.ts +16 -0
- package/dist/modes/interactive/components/notice-line.d.ts.map +1 -1
- package/dist/modes/interactive/components/notice-line.js +7 -0
- package/dist/modes/interactive/components/notice-line.js.map +1 -1
- package/dist/modes/interactive/components/prompt-slot.d.ts +1 -0
- package/dist/modes/interactive/components/prompt-slot.d.ts.map +1 -1
- package/dist/modes/interactive/components/prompt-slot.js +8 -4
- package/dist/modes/interactive/components/prompt-slot.js.map +1 -1
- package/dist/modes/interactive/components/task-board.d.ts +0 -1
- package/dist/modes/interactive/components/task-board.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-board.js +6 -14
- package/dist/modes/interactive/components/task-board.js.map +1 -1
- package/dist/modes/interactive/components/task-row.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-row.js +7 -6
- package/dist/modes/interactive/components/task-row.js.map +1 -1
- package/dist/modes/interactive/components/token-segment.d.ts +2 -1
- package/dist/modes/interactive/components/token-segment.d.ts.map +1 -1
- package/dist/modes/interactive/components/token-segment.js +2 -4
- package/dist/modes/interactive/components/token-segment.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.js +2 -2
- package/dist/modes/interactive/components/tree-selector-content.js.map +1 -1
- package/dist/modes/interactive/components/working-run-meter.d.ts +0 -1
- package/dist/modes/interactive/components/working-run-meter.d.ts.map +1 -1
- package/dist/modes/interactive/components/working-run-meter.js +0 -9
- package/dist/modes/interactive/components/working-run-meter.js.map +1 -1
- package/dist/modes/interactive/extension-command-hold.d.ts +25 -0
- package/dist/modes/interactive/extension-command-hold.d.ts.map +1 -0
- package/dist/modes/interactive/extension-command-hold.js +45 -0
- package/dist/modes/interactive/extension-command-hold.js.map +1 -0
- package/dist/modes/interactive/interactive-agent-events.js +2 -1
- package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-context.js +18 -10
- package/dist/modes/interactive/interactive-extension-context.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-custom-ui.js +3 -0
- package/dist/modes/interactive/interactive-extension-custom-ui.js.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.js +54 -13
- package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
- package/dist/modes/interactive/interactive-model-routing.d.ts +6 -0
- package/dist/modes/interactive/interactive-model-routing.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-model-routing.js +15 -9
- package/dist/modes/interactive/interactive-model-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-prompt-turn.js +4 -0
- package/dist/modes/interactive/interactive-prompt-turn.js.map +1 -1
- package/dist/modes/interactive/interactive-queueing.d.ts +7 -0
- package/dist/modes/interactive/interactive-queueing.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-queueing.js +47 -1
- package/dist/modes/interactive/interactive-queueing.js.map +1 -1
- package/dist/modes/interactive/interactive-session-routing.js +6 -0
- package/dist/modes/interactive/interactive-session-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-slash-commands.js +165 -65
- package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
- package/dist/modes/interactive/screen-hold.d.ts +3 -0
- package/dist/modes/interactive/screen-hold.d.ts.map +1 -1
- package/dist/modes/interactive/screen-hold.js +9 -1
- package/dist/modes/interactive/screen-hold.js.map +1 -1
- package/dist/modes/interactive-engine/engine-health.d.ts +11 -3
- package/dist/modes/interactive-engine/engine-health.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-health.js +5 -4
- package/dist/modes/interactive-engine/engine-health.js.map +1 -1
- package/dist/modes/interactive-engine/engine-quit-intent.d.ts +7 -0
- package/dist/modes/interactive-engine/engine-quit-intent.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-quit-intent.js +19 -0
- package/dist/modes/interactive-engine/engine-quit-intent.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +18 -0
- package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.js +56 -4
- package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
- package/dist/modes/interactive-engine/protocol.d.ts +7 -0
- package/dist/modes/interactive-engine/protocol.d.ts.map +1 -1
- package/dist/modes/interactive-engine/protocol.js +1 -0
- package/dist/modes/interactive-engine/protocol.js.map +1 -1
- package/dist/modes/rpc/agent-panel-bridge.d.ts.map +1 -1
- package/dist/modes/rpc/agent-panel-bridge.js +0 -13
- package/dist/modes/rpc/agent-panel-bridge.js.map +1 -1
- package/dist/modes/rpc/rpc-client-process.d.ts +14 -1
- package/dist/modes/rpc/rpc-client-process.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-process.js +74 -10
- package/dist/modes/rpc/rpc-client-process.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +27 -1
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +81 -5
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-event-buffer.d.ts +2 -0
- package/dist/modes/rpc/rpc-event-buffer.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-event-buffer.js +9 -0
- 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 +16 -3
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-session-binding.d.ts +7 -1
- package/dist/modes/rpc/rpc-session-binding.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-session-binding.js +10 -2
- package/dist/modes/rpc/rpc-session-binding.js.map +1 -1
- package/dist/utils/image-resize.d.ts.map +1 -1
- package/dist/utils/image-resize.js +2 -1
- package/dist/utils/image-resize.js.map +1 -1
- package/dist/utils/interactive-engine-bootstrap.d.ts +2 -0
- package/dist/utils/interactive-engine-bootstrap.d.ts.map +1 -1
- package/dist/utils/interactive-engine-bootstrap.js +1 -0
- package/dist/utils/interactive-engine-bootstrap.js.map +1 -1
- package/dist/utils/interactive-engine-env.d.ts +2 -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.map +1 -1
- package/dist/utils/shell.js +2 -0
- package/dist/utils/shell.js.map +1 -1
- package/dist/utils/token-count.d.ts +8 -0
- package/dist/utils/token-count.d.ts.map +1 -0
- package/dist/utils/token-count.js +25 -0
- package/dist/utils/token-count.js.map +1 -0
- package/dist/utils/worker-threads.d.ts +18 -0
- package/dist/utils/worker-threads.d.ts.map +1 -0
- package/dist/utils/worker-threads.js +28 -0
- package/dist/utils/worker-threads.js.map +1 -0
- package/docs/background-tasks.md +13 -12
- package/docs/compaction.md +2 -2
- package/docs/development.md +1 -1
- package/docs/extensions/api-reference.md +5 -3
- package/docs/extensions/events.md +2 -0
- package/docs/mcp-servers.md +1 -1
- package/docs/settings.md +2 -0
- package/docs/storage.md +3 -1
- package/docs/subagents.md +6 -2
- package/docs/usage.md +1 -1
- package/npm-shrinkwrap.json +49 -49
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,101 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.10.2] - 2026-11-20
|
|
6
|
+
|
|
7
|
+
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.
|
|
8
|
+
|
|
9
|
+
**Resumed sessions and the prompt cache**
|
|
10
|
+
|
|
11
|
+
- **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))
|
|
12
|
+
- **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))
|
|
13
|
+
- **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))
|
|
14
|
+
- **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))
|
|
15
|
+
- **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))
|
|
16
|
+
- **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))
|
|
17
|
+
- **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))
|
|
18
|
+
|
|
19
|
+
**Providers and subagents**
|
|
20
|
+
|
|
21
|
+
- **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))
|
|
22
|
+
- **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))
|
|
23
|
+
- **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))
|
|
24
|
+
|
|
25
|
+
**Chat screen and agent panel**
|
|
26
|
+
|
|
27
|
+
- **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))
|
|
28
|
+
- **`/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))
|
|
29
|
+
- **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))
|
|
30
|
+
- **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))
|
|
31
|
+
- **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))
|
|
32
|
+
|
|
33
|
+
**Sessions and storage**
|
|
34
|
+
|
|
35
|
+
- **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))
|
|
36
|
+
- **`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))
|
|
37
|
+
- **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))
|
|
38
|
+
- **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))
|
|
39
|
+
- **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))
|
|
40
|
+
|
|
41
|
+
**Quitting**
|
|
42
|
+
|
|
43
|
+
- **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))
|
|
44
|
+
- **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))
|
|
45
|
+
|
|
46
|
+
**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"`.
|
|
47
|
+
|
|
48
|
+
### Changed
|
|
49
|
+
|
|
50
|
+
- 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)).
|
|
51
|
+
- 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)).
|
|
52
|
+
- `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)).
|
|
53
|
+
- 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)).
|
|
54
|
+
- 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)).
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
|
|
58
|
+
- 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)).
|
|
59
|
+
- 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)).
|
|
60
|
+
- 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)).
|
|
61
|
+
- 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)).
|
|
62
|
+
- 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)).
|
|
63
|
+
- 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)).
|
|
64
|
+
- 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)).
|
|
65
|
+
- 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)).
|
|
66
|
+
- `/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)).
|
|
67
|
+
- 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)).
|
|
68
|
+
- `/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)).
|
|
69
|
+
- `/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)).
|
|
70
|
+
- 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)).
|
|
71
|
+
- 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)).
|
|
72
|
+
|
|
73
|
+
## [0.10.2-alpha.1] - 2026-11-20
|
|
74
|
+
|
|
75
|
+
### Changed
|
|
76
|
+
|
|
77
|
+
- 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)).
|
|
78
|
+
- 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)).
|
|
79
|
+
- `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)).
|
|
80
|
+
- 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)).
|
|
81
|
+
- 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)).
|
|
82
|
+
|
|
83
|
+
### Fixed
|
|
84
|
+
|
|
85
|
+
- 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)).
|
|
86
|
+
- 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)).
|
|
87
|
+
- 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)).
|
|
88
|
+
- 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)).
|
|
89
|
+
- 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)).
|
|
90
|
+
- 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)).
|
|
91
|
+
- 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)).
|
|
92
|
+
- 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)).
|
|
93
|
+
- `/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)).
|
|
94
|
+
- 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)).
|
|
95
|
+
- `/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)).
|
|
96
|
+
- `/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)).
|
|
97
|
+
- 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)).
|
|
98
|
+
- 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)).
|
|
99
|
+
|
|
5
100
|
## [0.10.1] - 2026-11-20
|
|
6
101
|
|
|
7
102
|
Typing and rendering keep going while Atomic reads and writes its local SQLite files, and the chat screen no longer flashes blank or shifted frames.
|
|
@@ -4,6 +4,18 @@ All notable changes to the `pi-intercom` extension will be documented in this fi
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.10.2] - 2026-11-20
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- 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)).
|
|
12
|
+
|
|
13
|
+
## [0.10.2-alpha.1] - 2026-11-20
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- 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)).
|
|
18
|
+
|
|
7
19
|
## [0.10.0] - 2026-11-20
|
|
8
20
|
|
|
9
21
|
### Breaking Changes
|
|
@@ -87,6 +87,10 @@ export function startBrokerWatchdog(socketPath: string, instanceId: string, logP
|
|
|
87
87
|
try {
|
|
88
88
|
const worker = new Worker(WATCHDOG_SOURCE, {
|
|
89
89
|
eval: true,
|
|
90
|
+
// None of the process's flags: an `--input-type=module` would make this CommonJS source a module, and the
|
|
91
|
+
// process's preloads would run again in the watchdog. Under Node's permission model a worker is restricted
|
|
92
|
+
// only by the flags it starts with, so there it keeps them.
|
|
93
|
+
execArgv: process.permission === undefined ? [] : undefined,
|
|
90
94
|
workerData: {
|
|
91
95
|
socketPath,
|
|
92
96
|
instanceId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bastani/intercom",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "Atomic extension providing a private coordination channel between parent and child agent sessions. Fork of: https://github.com/nicobailon/pi-intercom",
|
|
6
6
|
"contributors": [
|
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.10.2] - 2026-11-20
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
- An agent's `inheritProjectContext` and `inheritSkills` no longer keep the parent's project context or skills out of a forked subagent: a fork continues the parent's conversation as the parent sent it, so these settings now shape fresh children only. To keep the project context and skills out, launch the agent with `context: "fresh"` ([#6093](https://github.com/bastani-inc/atomic/pull/6093)).
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- A forked subagent (`context: "fork"`) continues its parent's conversation exactly as the parent last sent it: the same system prompt, including the project context and skills the parent was sent, the same tools and the same messages, including the parent's earlier subagent calls. It adds a short note, its own role and its task after it, and keeps the parent's prompt-cache key, so on the parent's model and thinking level its first request is read from the parent's prompt cache. A fork can still call only its own tools: a call to another tool the parent declared fails with an error naming the tools it may call. When the parent has `codemode` and the agent does not, the fork can call that `codemode`, which reaches only the fork's own tools (no `models` API), so a tool only the fork has, such as `contact_supervisor`, is reached through it on providers that cannot add tools to the parent's tool list. The fork's task is sent as written, without the earlier fork preamble. The subagent tool, the `subagent` skill and the docs recommend `fork` when a child needs the parent's conversation and `fresh` for independent work ([#6093](https://github.com/bastani-inc/atomic/pull/6093), [#6099](https://github.com/bastani-inc/atomic/pull/6099)).
|
|
14
|
+
- Subagent result rows, progress stats and usage lines write token counts with one decimal and the word `tokens`, as in `12.3k tokens` instead of `12k tok`, like the rest of Atomic. Progress stats no longer say `token` for many tokens ([#6096](https://github.com/bastani-inc/atomic/pull/6096)).
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- A subagent reopened on another day or after Atomic was updated keeps the prompt its provider has cached. It is sent the system prompt it started with, and what changed since, such as the date, the model it falls back to or its skills, as updates after it, 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. A subagent whose agent now inherits differently, for example no longer the project context, starts over with its current prompt, and a session forked from a subagent's session uses a prompt of its own ([#6093](https://github.com/bastani-inc/atomic/pull/6093)).
|
|
19
|
+
- A subagent whose context was cleared or compacted while it ran, and that then finished, is reported done with its answer. It was reported failed with "Child ended without completing an assistant turn of its own." and its answer was missing. When its last turn has no text, the answer it wrote before the clear is reported. Turns from its earlier runs, or from the parent conversation a forked subagent starts with, still never count as its own ([#6098](https://github.com/bastani-inc/atomic/pull/6098)).
|
|
20
|
+
|
|
21
|
+
## [0.10.2-alpha.1] - 2026-11-20
|
|
22
|
+
|
|
23
|
+
### Breaking Changes
|
|
24
|
+
|
|
25
|
+
- An agent's `inheritProjectContext` and `inheritSkills` no longer keep the parent's project context or skills out of a forked subagent: a fork continues the parent's conversation as the parent sent it, so these settings now shape fresh children only. To keep the project context and skills out, launch the agent with `context: "fresh"` ([#6093](https://github.com/bastani-inc/atomic/pull/6093)).
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- A forked subagent (`context: "fork"`) continues its parent's conversation exactly as the parent last sent it: the same system prompt, including the project context and skills the parent was sent, the same tools and the same messages, including the parent's earlier subagent calls. It adds a short note, its own role and its task after it, and keeps the parent's prompt-cache key, so on the parent's model and thinking level its first request is read from the parent's prompt cache. A fork can still call only its own tools: a call to another tool the parent declared fails with an error naming the tools it may call. When the parent has `codemode` and the agent does not, the fork can call that `codemode`, which reaches only the fork's own tools (no `models` API), so a tool only the fork has, such as `contact_supervisor`, is reached through it on providers that cannot add tools to the parent's tool list. The fork's task is sent as written, without the earlier fork preamble. The subagent tool, the `subagent` skill and the docs recommend `fork` when a child needs the parent's conversation and `fresh` for independent work ([#6093](https://github.com/bastani-inc/atomic/pull/6093), [#6099](https://github.com/bastani-inc/atomic/pull/6099)).
|
|
30
|
+
- Subagent result rows, progress stats and usage lines write token counts with one decimal and the word `tokens`, as in `12.3k tokens` instead of `12k tok`, like the rest of Atomic. Progress stats no longer say `token` for many tokens ([#6096](https://github.com/bastani-inc/atomic/pull/6096)).
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- A subagent reopened on another day or after Atomic was updated keeps the prompt its provider has cached. It is sent the system prompt it started with, and what changed since, such as the date, the model it falls back to or its skills, as updates after it, 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. A subagent whose agent now inherits differently, for example no longer the project context, starts over with its current prompt, and a session forked from a subagent's session uses a prompt of its own ([#6093](https://github.com/bastani-inc/atomic/pull/6093)).
|
|
35
|
+
- A subagent whose context was cleared or compacted while it ran, and that then finished, is reported done with its answer. It was reported failed with "Child ended without completing an assistant turn of its own." and its answer was missing. When its last turn has no text, the answer it wrote before the clear is reported. Turns from its earlier runs, or from the parent conversation a forked subagent starts with, still never count as its own ([#6098](https://github.com/bastani-inc/atomic/pull/6098)).
|
|
36
|
+
|
|
5
37
|
## [0.10.1] - 2026-11-20
|
|
6
38
|
|
|
7
39
|
### Fixed
|
|
@@ -310,6 +310,8 @@ Use these fields when an agent should see more:
|
|
|
310
310
|
| `inheritSkills: true` | Let the child see Pi’s discovered skills catalog. |
|
|
311
311
|
| `defaultContext: fork` | Use forked session context when a launch omits `context`; explicit `context: "fresh"` still wins. |
|
|
312
312
|
|
|
313
|
+
`inheritProjectContext` and `inheritSkills` shape a fresh child's prompt. A forked child continues the parent's conversation as the parent sent it, project context and skills included, so its first request is read from the parent's prompt cache; it adds its own role and task after it and can still call only its own tools. To keep the project context and skills out of a child, launch it with `context: "fresh"`.
|
|
314
|
+
|
|
313
315
|
Builtin agents opt into project instruction inheritance by default so they follow repo-specific rules out of the box.
|
|
314
316
|
|
|
315
317
|
### Agent frontmatter
|
|
@@ -174,7 +174,7 @@ subagent({
|
|
|
174
174
|
})
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
-
`context: "fork"` creates a branched child session from the current persisted parent session. It does **not** create a fresh minimal review context or filter history down to only the relevant parts
|
|
177
|
+
`context: "fork"` creates a branched child session from the current persisted parent session. It does **not** create a fresh minimal review context or filter history down to only the relevant parts: the child continues the parent's conversation exactly as the parent sent it, with the parent's system prompt, project context, skills catalog and tools, and adds its own role and task after it. With the same model and thinking level, its first request is therefore read from the parent's prompt cache. Use it when the child needs the parent's conversation. Use fresh context for independent work, which sends a smaller context, and for adversarial review, so the specialist inspects the repo directly.
|
|
178
178
|
|
|
179
179
|
### Parallel execution
|
|
180
180
|
|
|
@@ -423,7 +423,7 @@ If a prompt-template extension is installed, additional user prompt templates ca
|
|
|
423
423
|
## Important Constraints
|
|
424
424
|
|
|
425
425
|
- **Forking requires a persisted parent session.** If the current session does not have a persisted session file, forked runs fail.
|
|
426
|
-
- **Forked runs inherit parent history.** They are branched threads, not fresh filtered contexts. Use fresh context for adversarial review unless the user explicitly asks for forked context.
|
|
426
|
+
- **Forked runs inherit parent history.** They are branched threads, not fresh filtered contexts: the agent's `inheritProjectContext` and `inheritSkills` apply to fresh children, not to what the parent already sent; launch with `context: "fresh"` to keep the project context and skills out. A forked child can still call only its own tools; a call to another tool the parent declared fails. Use fresh context for adversarial review unless the user explicitly asks for forked context.
|
|
427
427
|
- **Delegation is one level deep and not configurable.** A subagent cannot call `subagent`: every launch and run control (`pause`, `resume`, `quit`) from inside a child is refused. Only `list`, `get`, `status`, and `wait` stay available to a child.
|
|
428
428
|
- **Attention signals are not lifecycle state.** `needs_attention` means no activity has been observed past the configured threshold. `killed` means the child was cancelled for good by owner or batch cancellation (or, in older sessions, the removed kill action); it cannot be resumed and is not the same as `failed`. `paused` and `quit` children stay resumable.
|
|
429
429
|
- **Builtin coordination respects caller restrictions.** Every builtin agent declares `intercom`, but a parent that disables it prevents live coordination. Resolve decisions up front when running without coordination tools.
|
|
@@ -442,7 +442,7 @@ A strong pattern is one writer plus advisory/research/review specialists around
|
|
|
442
442
|
|
|
443
443
|
### Use fork for branched writer threads
|
|
444
444
|
|
|
445
|
-
Forked runs are useful when a writer should reason in a separate thread while still inheriting the parent's accumulated context. For adversarial review, prefer fresh-context specialists that inspect the repo and diff directly unless the user explicitly requests forked context.
|
|
445
|
+
Forked runs are useful when a writer should reason in a separate thread while still inheriting the parent's accumulated context. A fork on the parent's model and thinking level reads the parent's conversation from the prompt cache, so forking a long conversation costs little input; a fork on another model or provider reads nothing from it, and one on another thinking level may read only part of it, depending on the model. For adversarial review, prefer fresh-context specialists that inspect the repo and diff directly unless the user explicitly requests forked context.
|
|
446
446
|
|
|
447
447
|
### Prefer narrow tasks
|
|
448
448
|
|