You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added RPC delete_session ({"type":"delete_session","sessionId":"<id>"}, or {"type":"delete_session","id":"<id>"} when sessionId is omitted), RpcClient.deleteSession(sessionId), and SessionManager.deleteSession(sessionId) to delete a stored session and its entries from SQLite or JSONL storage. The session currently open in the process cannot be deleted and returns an error (#3740).
Added createAgentSession({ journal }) so each SDK session can choose its workflow journal (file path, caller-owned database, process-local memory, adapter, or supplied journal) without the process-wide ATOMIC_WORKFLOW_JOURNAL_PATH (#3743).
When Atomic runs on Node, the process that runs agents now gets half of system memory for its heap when that is more than Node's default limit (about 4 GiB), so large machines can run more subagents and workflow stages at once. This applies to the interactive engine and to headless runs (-p, --mode json, --mode rpc), which restart themselves once with the larger heap. Set ATOMIC_HEAP_MB to choose the size or 0 to keep Node's default; an explicit --max-old-space-size in NODE_OPTIONS still wins.
A workflow stage whose session was released from memory when its run ended stays in the session list under its previous name, as closed · reply: post-mortem only, while the session that ran the workflow is open. An ask to it reopens the stage's saved conversation, runs one turn with the question, and returns that turn's answer, or a failure if the conversation cannot be reopened; a plain send reaches the session that ran the workflow (#3622 by @vishnu363728).
workflow({ action: "status", runId, summary: true }) returns a compact status of one run: status, timing, final outputs (result), error and blockers (failed or blocked stages and tools, and stages awaiting input), without the stage and tool history (#3744).
Fixed
/export and the RPC export_html command now export sessions stored in the default SQLite session store instead of refusing them, reading entries through the session store rather than a session file (#3741)
When the earlier JSONL sessions folder holds several copies of one session, such as conflict copies left by a file-sync tool, the default store now lists and imports the copy with the newest message instead of the alphabetically first file.
Fullscreen overlays that show chat messages (the workflow graph, stage chat, and the /tasks transcript) no longer write OSC 133 shell-integration marks to the terminal, so terminals keep the program status without Atomic re-sending an identical OSC 7501 report on every overlay frame (#3739)
A finished in-process subagent child no longer keeps its disposed agent session reachable for as long as its task exists. The task keeps the child's transcript entries for inspection but releases the session itself, so a long-lived parent session that launches many children stops accumulating their memory (#3622 by @vishnu363728).
workflow({ action: "status", runId }) for a run another session started now includes the run's final outputs in detail.result, because the journal now records them when the run finishes; runs finished by an earlier version have no recorded outputs (#3744).
A workflow run that finishes after receiving a sticky Intercom message (for example a send to workflow:<rootRunId>/**) no longer prints pending stage delivery sweep failed: Workflow execution for <runId> is retired, and its leftover sticky messages are settled instead of staying queued (#3745).
The workflow tool now honours the session's settings, including in-memory workflows.journal settings, and a per-session journal passed to createAgentSession, instead of reading only ATOMIC_WORKFLOW_JOURNAL_PATH and settings.json. A memory journal selected through session settings belongs to that session alone, and disposing a session closes the journals it opened (once no other session shares them) instead of keeping them and their process-exit hooks until exit (#3743).
Disposing a session now leaves its paused workflow runs paused and resumable instead of turning them failed with SessionClosed, and a run whose stage was mid-step when the session closed is paused rather than failed. session.workflows.resume(runId) still adopts the released runs (#3742).
Completed workflow stages no longer keep their agent sessions in memory for the life of the process, which could exhaust the V8 heap in long-running sessions. When a run ends, including a run that failed and can be resumed, each completed stage whose conversation is saved is disposed and dropped from the stage registry and completed-workflow inspection; attaching to it or messaging it reopens the saved conversation without rerunning the workflow, and the stage stays in the Intercom list as closed · reply: post-mortem only for as long as the session that ran the workflow is open: an ask to it reopens the saved conversation, runs one turn with the question, and returns that turn's answer. A stage with a mounted chat (visible or hidden), queued or in-flight messages, an active turn, compaction or retry, or no saved transcript stays live until the session that ran the workflow is replaced or shut down, and a stage reopened by attach, a message, or an Intercom ask stays in memory until then (#3622 by @vishnu363728).