@bastani/atomic 0.9.38-alpha.9 → 0.9.39-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.
Files changed (144) hide show
  1. package/CHANGELOG.md +119 -0
  2. package/dist/builtin/intercom/CHANGELOG.md +16 -0
  3. package/dist/builtin/intercom/index.bundle.mjs +216 -2
  4. package/dist/builtin/intercom/package.json +1 -1
  5. package/dist/builtin/mcp/package.json +1 -1
  6. package/dist/builtin/subagents/CHANGELOG.md +16 -0
  7. package/dist/builtin/subagents/package.json +1 -1
  8. package/dist/builtin/subagents/src/extension/index.bundle.mjs +16 -1
  9. package/dist/builtin/web-access/CHANGELOG.md +7 -0
  10. package/dist/builtin/web-access/package.json +1 -1
  11. package/dist/builtin/workflows/CHANGELOG.md +74 -0
  12. package/dist/builtin/workflows/package.json +1 -1
  13. package/dist/builtin/workflows/src/durable/journal/resolution.d.ts +2 -15
  14. package/dist/builtin/workflows/src/extension/index.bundle.mjs +532 -64
  15. package/dist/builtin/workflows/src/index.js +301 -27
  16. package/dist/cli.js +13 -6
  17. package/dist/cli.js.map +1 -1
  18. package/dist/config.d.ts +1 -0
  19. package/dist/config.d.ts.map +1 -1
  20. package/dist/config.js +1 -0
  21. package/dist/config.js.map +1 -1
  22. package/dist/core/agent-session-extension-bindings.d.ts.map +1 -1
  23. package/dist/core/agent-session-extension-bindings.js +4 -1
  24. package/dist/core/agent-session-extension-bindings.js.map +1 -1
  25. package/dist/core/agent-session-methods.d.ts +1 -0
  26. package/dist/core/agent-session-methods.d.ts.map +1 -1
  27. package/dist/core/agent-session-methods.js.map +1 -1
  28. package/dist/core/agent-session-prompt.d.ts.map +1 -1
  29. package/dist/core/agent-session-prompt.js +57 -15
  30. package/dist/core/agent-session-prompt.js.map +1 -1
  31. package/dist/core/agent-session-types.d.ts +1 -0
  32. package/dist/core/agent-session-types.d.ts.map +1 -1
  33. package/dist/core/agent-session-types.js.map +1 -1
  34. package/dist/core/agent-session.d.ts +1 -0
  35. package/dist/core/agent-session.d.ts.map +1 -1
  36. package/dist/core/agent-session.js +2 -0
  37. package/dist/core/agent-session.js.map +1 -1
  38. package/dist/core/export-html/index.d.ts.map +1 -1
  39. package/dist/core/export-html/index.js +13 -10
  40. package/dist/core/export-html/index.js.map +1 -1
  41. package/dist/core/extensions/api-types.d.ts +2 -0
  42. package/dist/core/extensions/api-types.d.ts.map +1 -1
  43. package/dist/core/extensions/api-types.js.map +1 -1
  44. package/dist/core/extensions/context-types.d.ts +5 -0
  45. package/dist/core/extensions/context-types.d.ts.map +1 -1
  46. package/dist/core/extensions/context-types.js.map +1 -1
  47. package/dist/core/extensions/loader-api.d.ts.map +1 -1
  48. package/dist/core/extensions/loader-api.js +4 -0
  49. package/dist/core/extensions/loader-api.js.map +1 -1
  50. package/dist/core/extensions/runner-context.d.ts.map +1 -1
  51. package/dist/core/extensions/runner-context.js +1 -0
  52. package/dist/core/extensions/runner-context.js.map +1 -1
  53. package/dist/core/extensions/runner.d.ts +1 -0
  54. package/dist/core/extensions/runner.d.ts.map +1 -1
  55. package/dist/core/extensions/runner.js +3 -0
  56. package/dist/core/extensions/runner.js.map +1 -1
  57. package/dist/core/extensions/runtime-types.d.ts +1 -0
  58. package/dist/core/extensions/runtime-types.d.ts.map +1 -1
  59. package/dist/core/extensions/runtime-types.js.map +1 -1
  60. package/dist/core/queued-input-admission.d.ts +20 -0
  61. package/dist/core/queued-input-admission.d.ts.map +1 -0
  62. package/dist/core/queued-input-admission.js +55 -0
  63. package/dist/core/queued-input-admission.js.map +1 -0
  64. package/dist/core/sdk-types.d.ts +7 -1
  65. package/dist/core/sdk-types.d.ts.map +1 -1
  66. package/dist/core/sdk-types.js.map +1 -1
  67. package/dist/core/sdk.js +1 -0
  68. package/dist/core/sdk.js.map +1 -1
  69. package/dist/core/session-manager-core.d.ts +1 -0
  70. package/dist/core/session-manager-core.d.ts.map +1 -1
  71. package/dist/core/session-manager-core.js +12 -0
  72. package/dist/core/session-manager-core.js.map +1 -1
  73. package/dist/core/storage/provider.d.ts +14 -0
  74. package/dist/core/storage/provider.d.ts.map +1 -1
  75. package/dist/core/storage/provider.js.map +1 -1
  76. package/dist/core/storage/session/legacy-session-store.d.ts +4 -1
  77. package/dist/core/storage/session/legacy-session-store.d.ts.map +1 -1
  78. package/dist/core/storage/session/legacy-session-store.js +42 -2
  79. package/dist/core/storage/session/legacy-session-store.js.map +1 -1
  80. package/dist/core/storage/session/legacy-session-summary.d.ts +8 -0
  81. package/dist/core/storage/session/legacy-session-summary.d.ts.map +1 -1
  82. package/dist/core/storage/session/legacy-session-summary.js +42 -2
  83. package/dist/core/storage/session/legacy-session-summary.js.map +1 -1
  84. package/dist/extensions/mcp/client/transports/streamable-http.js +9 -8
  85. package/dist/extensions/mcp/client/transports/streamable-http.js.map +1 -1
  86. package/dist/modes/interactive/components/chat-session-host-actions.d.ts +4 -0
  87. package/dist/modes/interactive/components/chat-session-host-actions.d.ts.map +1 -1
  88. package/dist/modes/interactive/components/chat-session-host-actions.js +104 -30
  89. package/dist/modes/interactive/components/chat-session-host-actions.js.map +1 -1
  90. package/dist/modes/interactive/components/chat-session-host-events.d.ts.map +1 -1
  91. package/dist/modes/interactive/components/chat-session-host-events.js +1 -0
  92. package/dist/modes/interactive/components/chat-session-host-events.js.map +1 -1
  93. package/dist/modes/interactive/components/chat-session-host-state.d.ts +4 -0
  94. package/dist/modes/interactive/components/chat-session-host-state.d.ts.map +1 -1
  95. package/dist/modes/interactive/components/chat-session-host-state.js +4 -0
  96. package/dist/modes/interactive/components/chat-session-host-state.js.map +1 -1
  97. package/dist/modes/interactive/components/session-selector.js +4 -3
  98. package/dist/modes/interactive/components/session-selector.js.map +1 -1
  99. package/dist/modes/interactive/interactive-input-handling.js +8 -2
  100. package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
  101. package/dist/modes/interactive/interactive-mode-base.d.ts +4 -0
  102. package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
  103. package/dist/modes/interactive/interactive-mode-base.js +4 -0
  104. package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
  105. package/dist/modes/interactive/interactive-process-lifecycle.js +8 -2
  106. package/dist/modes/interactive/interactive-process-lifecycle.js.map +1 -1
  107. package/dist/modes/interactive/interactive-queueing.js +94 -73
  108. package/dist/modes/interactive/interactive-queueing.js.map +1 -1
  109. package/dist/modes/interactive/interactive-session-runtime.js +1 -0
  110. package/dist/modes/interactive/interactive-session-runtime.js.map +1 -1
  111. package/dist/modes/interactive-engine/create-isolated-runtime.d.ts.map +1 -1
  112. package/dist/modes/interactive-engine/create-isolated-runtime.js +2 -0
  113. package/dist/modes/interactive-engine/create-isolated-runtime.js.map +1 -1
  114. package/dist/modes/interactive-engine/engine-heap.d.ts +24 -0
  115. package/dist/modes/interactive-engine/engine-heap.d.ts.map +1 -0
  116. package/dist/modes/interactive-engine/engine-heap.js +88 -0
  117. package/dist/modes/interactive-engine/engine-heap.js.map +1 -0
  118. package/dist/modes/rpc/rpc-client-api.d.ts +1 -0
  119. package/dist/modes/rpc/rpc-client-api.d.ts.map +1 -1
  120. package/dist/modes/rpc/rpc-client-api.js +3 -0
  121. package/dist/modes/rpc/rpc-client-api.js.map +1 -1
  122. package/dist/modes/rpc/rpc-command-handler.d.ts.map +1 -1
  123. package/dist/modes/rpc/rpc-command-handler.js +7 -0
  124. package/dist/modes/rpc/rpc-command-handler.js.map +1 -1
  125. package/dist/modes/rpc/rpc-types.d.ts +9 -0
  126. package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
  127. package/dist/modes/rpc/rpc-types.js.map +1 -1
  128. package/dist/utils/heap-relaunch.d.ts +14 -0
  129. package/dist/utils/heap-relaunch.d.ts.map +1 -0
  130. package/dist/utils/heap-relaunch.js +59 -0
  131. package/dist/utils/heap-relaunch.js.map +1 -0
  132. package/docs/environment-variables.md +2 -1
  133. package/docs/intercom/reference.md +1 -1
  134. package/docs/rpc/protocol.md +23 -0
  135. package/docs/sdk/web-server.md +1 -1
  136. package/docs/sdk.md +10 -1
  137. package/docs/session-format.md +1 -0
  138. package/docs/sessions.md +2 -0
  139. package/docs/settings.md +1 -1
  140. package/docs/usage.md +2 -0
  141. package/docs/workflows/api-reference.md +1 -1
  142. package/docs/workflows/operations.md +5 -1
  143. package/npm-shrinkwrap.json +32 -32
  144. package/package.json +3 -3
@@ -6,6 +6,80 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.9.39-alpha.1] - 2026-10-19
10
+
11
+ ### Added
12
+
13
+ - `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](https://github.com/bastani-inc/atomic/issues/3744)).
14
+
15
+ ### Fixed
16
+
17
+ - `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](https://github.com/bastani-inc/atomic/issues/3744)).
18
+ - 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](https://github.com/bastani-inc/atomic/issues/3745)).
19
+ - 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](https://github.com/bastani-inc/atomic/issues/3743)).
20
+ - 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](https://github.com/bastani-inc/atomic/issues/3742)).
21
+ - 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](https://github.com/bastani-inc/atomic/issues/3622) by [@vishnu363728](https://github.com/vishnu363728)).
22
+
23
+ ## [0.9.38] - 2026-10-18
24
+
25
+ ### Breaking Changes
26
+
27
+ - Workflow discovery now reads only `.atomic` default roots. Discovered workflow modules use `@bastani/atomic/workflows` and `typebox` imports. Removed deprecated imperative API stubs, separate `thinkingLevel` and `fallbackThinkingLevels` authoring fields, old stage-target syntax, and replay without current topology, replay keys, or child exit tags. Put reasoning effort in each model string, such as `provider/model:high`.
28
+ - Execution results always include `toolNodes`, inspection details and status summaries always include `tools`, and custom UI adapters must implement every UI method. Queued stage delivery requires persisted admission order.
29
+ - Heartbeat records require their original launch cadence; incomplete records no longer inherit the current workflow definition. Configuration load results always include `globalConfig` and `projectConfig`, using `null` when a source is absent or invalid.
30
+ - Public run snapshots require `toolNodes`. Inline forms require injected keybindings and no longer include unused submit-choice state. Removed the ignored `preserveAnsi` truncation argument; text truncation remains ANSI-aware.
31
+ - Workflow runs now persist only in the local SQLite journal. Journal initialization failures throw `StorageUnavailableError` instead of continuing without durable storage. Postgres connection settings (`workflows.durability.systemDatabaseUrl` and `workflows.durability.poolSize`) and `DBOS_SYSTEM_DATABASE_URL`, `ATOMIC_POSTGRES_*`, and `PG*` environment variables no longer configure workflow storage.
32
+ - Removed the SDK `durability` option, `WorkflowDurability`, and `WorkflowDurabilityRequiredError`. Use `RunOpts.journal` to select storage or isolate runs, and handle typed journal errors when storage is unavailable.
33
+ - Removed `InMemoryDurableBackend` and `createInMemoryTestBackend`. Use `JournalDurableBackend` over `MemoryRunJournal` for an explicitly in-memory backend. Removed the `legacyRecovery` workflow-tool argument and remaining `workflows.durability` settings.
34
+ - Removed the `@bastani/workflows` import alias; use `@bastani/atomic/workflows`.
35
+ - Custom `RunJournal` implementations must provide `getRun`, `takeoverExpired`, `leaseState`, lazy paged `read`, and `deleteOwnedRun(lease)` for atomic lease-fenced deletion. Synchronous fast paths are internal.
36
+ - Invocation records require `invocationFingerprint`.
37
+ - SDK workflow stages now use persistent session storage by default, including stages without `sessionDir`. Ephemeral stages must explicitly supply an in-memory session manager through an adapter. Storage failures do not fall back to memory.
38
+ - Replaced `SqliteRunJournal` with async `SqlRunJournal.open(database, { prefix })` and `openSqlRunJournal(pathOrDatabase?)`; await `resolveRunJournal`. Journal tables now use the `wf_` namespace with no migration of earlier unreleased tables. Journal storage errors use the shared `StorageUnavailableError` fields `adapter`, `location`, and `cause` instead of `path`.
39
+ - Custom journals must return `LeaseState.ageMs`, a non-negative safe-integer renewal age measured by the journal clock in the same read as the lease state. Ownership probes use this age rather than the process clock.
40
+ - Construct `JournalDurableBackend` with asynchronous `open()`; direct construction and internal synchronous journal methods have been removed.
41
+ - `RunOpts.journal.database` requires the async SQLite facade; wrap an existing native connection with `wrapNodeSqliteDatabase`. Journal selection errors now use `StorageConfigError` and its `source`, `field`, and `reason` fields instead of `JournalConfigurationError`.
42
+ - Replaced `forkFromSessionFile` with `forkFromSessionId`. Use the prior task's `sessionId` in the selected session store. `recordStageSession` now accepts `{ sessionId }` only. Retained chat validation and completed inspection are asynchronous, and transcript paths are display metadata, not resume or fork identities.
43
+ - Durable backend registration, status, reset, and checkpoint writes now use awaited `commit*` methods. Replace `registerWorkflow` with `commitWorkflowRegistration`, `setWorkflowStatus` with `commitWorkflowStatus`, `transitionWorkflowStatus` with `commitWorkflowStatusTransition`, `adjustPendingPrompts` with `commitPendingPromptAdjustment`, and `reset` with `commitReset`. Use `commitCheckpoint` instead of either checkpoint writer and `commitAdditiveCheckpointBestEffort` for additive writes. Cached `ctx.stage()` declarations remain synchronous; their replay metadata is committed before the next async execution boundary.
44
+
45
+ ### Added
46
+
47
+ - Added `MemoryRunJournal`, public SQLite journal and error exports, and `registerRunJournalConformance` for shared journal contract checks.
48
+ - Added `RunOpts.journal` and `resolveRunJournal` for explicit journals, caller-owned SQLite connections, memory journals, and configurable files. TUI, CLI, background, and SDK runs use the selected journal. Resolution prioritizes the explicit option, a non-empty `ATOMIC_WORKFLOW_JOURNAL_PATH`, then journal settings and the default path. Relative settings paths resolve against the Atomic home directory.
49
+ - Extended shared journal conformance checks to cover detached values, closed-journal rejection, failure atomicity, and deletion tombstones.
50
+ - Added stale-only async journal takeover and read-only ownership inspection. Keyed append retries return the original entry before checking sequence expectations. Shared journal conformance covers stale-only takeover and early read termination.
51
+ - Added facade-backed SQL journals for user-supplied SQLite-compatible drivers, optional table prefixes, shared session/journal databases, database-clock lease expiry, and sequence-checked `deleteOwnedRun(lease, expectSeq?)`.
52
+ - Added journal adapter module selection with environment/file secret references and shared `storage` settings. SDK options override environment, journal settings, shared storage, and persistent defaults; nearer settings replace complete selections. Caller-owned database selections accept the async SQLite facade and remain open after journal close.
53
+
54
+ ### Fixed
55
+
56
+ - Fixed second and later durable SDK `run()` calls in the same process failing with `atomicWorkflowHandle is not a registered DBOS workflow function`. Each standalone run now recreates its durable backend after the previous run shuts it down ([#3614](https://github.com/bastani-inc/atomic/issues/3614)).
57
+ - Fixed workflow fallback leaking the original stage session when an intervening candidate fails to initialize. The original session is now disposed exactly once after it becomes idle when a successor is adopted, or during final cleanup if no successor is created ([#3655](https://github.com/bastani-inc/atomic/issues/3655)).
58
+ - Fixed retained stage history load failures appearing as empty archives. Missing, unreadable, malformed, empty, or deleted session files now show an actionable session-unavailable warning without creating a blank session or discarding displayed messages ([#3658](https://github.com/bastani-inc/atomic/issues/3658)).
59
+ - Fixed standalone SDK `run()` resolving string stage models, including thinking suffixes and fallback models, instead of crashing during session creation ([#3629](https://github.com/bastani-inc/atomic/issues/3629)).
60
+ - Fixed queued Intercom instructions preventing stage model fallback. Delivery failures now block resumably and preserve sticky instructions for resumed runs and later stages ([#3628](https://github.com/bastani-inc/atomic/issues/3628)).
61
+ - Fixed workflow recovery reporting a foreign run as available at the exact lease-expiry boundary before takeover is permitted ([#3681](https://github.com/bastani-inc/atomic/pull/3681)).
62
+ - SQL journals snapshot append payloads at invocation, including keyed retries, preserving status/event consistency during queued writes. User-supplied facades may return readonly rows. Header and append serialization failures now retain typed storage errors and their original causes without changing fencing, replay, or sequence-check precedence.
63
+ - Journal run summaries and status validation now use the serialized `StatusChanged` payload, including transformations by `toJSON`, so recorded events and summaries agree. Ownership inspection now honors the journal clock even when the process clock is skewed.
64
+ - Fixed workflow error cards hiding text-only failures as `no result`. Errors without structured details now show their text and an error indication in collapsed and expanded cards ([#3669](https://github.com/bastani-inc/atomic/issues/3669)).
65
+ - Fixed failed workflow resumes reporting partial progress solely because a sibling was already running. Requests with no acknowledged effect now report no change and retain their failure code ([#3670](https://github.com/bastani-inc/atomic/issues/3670)).
66
+ - Fixed workflow pause reporting `noop` after a stage pause took effect but durable capture failed, including whole-run and bulk requests. The result now reports `partial`, explains that the pause remains in effect, and preserves the failure code and message ([#3671](https://github.com/bastani-inc/atomic/issues/3671)).
67
+ - Workflow journal shutdown waits for queued writes before releasing ownership. Status claims and checkpoints on the same run remain ordered with asynchronous journals.
68
+ - Completed standalone SDK runs now release their stage sessions when no caller registry owns them. Workflow forks and completed-history inspection release temporary session-store connections while preserving caller-owned stores.
69
+ - Starting a workflow after a workflow's completed, failed, or blocked notice no longer fails with `Workflow execution for <runId> is retired`. Notices and late stage messages now reach the chat outside the finished run's execution context.
70
+ - Fixed `/workflow resume` no longer listing or resuming runs recorded before 0.9.38-alpha.6. The default journal now lists runs from its earlier tables and converts a run only when you resume or inspect it, so opening the journal does no extra work. The earlier tables are left in place, and deleted runs stay deleted. Stage checkpoints that identified their session only by transcript path now resume by that transcript's session ID, so their conversations reopen after sessions are imported into the default store.
71
+ - Fixed the `Workflow discovery diagnostics` warning appearing twice at startup when deferred startup, such as project trust, refreshes workflow discovery. An unchanged report is shown once; a refresh that changes it still shows the new one ([#3703](https://github.com/bastani-inc/atomic/issues/3703)).
72
+
73
+ ### Removed
74
+
75
+ - Removed DBOS, embedded Postgres, their bundled runtimes and native process ownership, and the non-durable storage fallback. Server-specific admission, recovery, outage handling, and deferred persistence queues are gone; workflow pause, resume, quit, answer, and checkpoint replay remain supported.
76
+
77
+ ## [0.9.38-alpha.11] - 2026-10-17
78
+
79
+ ### Fixed
80
+
81
+ - Fixed the `Workflow discovery diagnostics` warning appearing twice at startup when deferred startup, such as project trust, refreshes workflow discovery. An unchanged report is shown once; a refresh that changes it still shows the new one ([#3703](https://github.com/bastani-inc/atomic/issues/3703)).
82
+
9
83
  ## [0.9.38-alpha.8] - 2026-10-17
10
84
 
11
85
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/workflows",
3
- "version": "0.9.38-alpha.9",
3
+ "version": "0.9.39-alpha.1",
4
4
  "private": true,
5
5
  "description": "Atomic extension for multi-stage workflow authoring and execution.",
6
6
  "contributors": [
@@ -1,19 +1,6 @@
1
- import { type AdapterOptions, type SecretRef, type SqliteDatabase, type StorageSelection, type StorageSettingsSelection } from "@bastani/atomic/storage";
1
+ import { type RunJournalOption, type StorageSelection, type StorageSettingsSelection } from "@bastani/atomic/storage";
2
2
  import type { RunJournal } from "./types.js";
3
- export type RunJournalOption = {
4
- path: string;
5
- prefix?: string;
6
- } | {
7
- database: SqliteDatabase;
8
- prefix?: string;
9
- } | {
10
- memory: true;
11
- } | {
12
- adapter: string;
13
- options?: AdapterOptions;
14
- secrets?: Readonly<Record<string, SecretRef>>;
15
- prefix?: string;
16
- } | RunJournal;
3
+ export type { RunJournalOption };
17
4
  export interface RunJournalSettings {
18
5
  workflows?: string[] | {
19
6
  journal?: StorageSettingsSelection;