@bastani/atomic 0.9.20-alpha.6 → 0.9.20-alpha.7
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 +32 -0
- package/dist/builtin/intercom/package.json +2 -2
- package/dist/builtin/mcp/package.json +2 -2
- package/dist/builtin/subagents/CHANGELOG.md +6 -0
- package/dist/builtin/subagents/package.json +3 -3
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +18 -8
- package/dist/builtin/web-access/package.json +2 -2
- package/dist/builtin/workflows/CHANGELOG.md +21 -0
- package/dist/builtin/workflows/README.md +5 -19
- package/dist/builtin/workflows/builtin/{chunk-deq63d9p.js → chunk-7bzcersz.js} +30 -19
- package/dist/builtin/workflows/builtin/goal.js +1 -1
- package/dist/builtin/workflows/builtin/index.js +1 -1
- package/dist/builtin/workflows/package.json +2 -2
- package/dist/builtin/workflows/skills/prompt-engineer/SKILL.md +10 -9
- package/dist/builtin/workflows/skills/prompt-engineer/references/advanced_patterns.md +4 -4
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5.md +96 -23
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5_1.md +75 -27
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_4_8.md +72 -26
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5.md +58 -22
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5_5.md +118 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/claude_sonnet_5.md +70 -29
- package/dist/builtin/workflows/skills/prompt-engineer/references/core_prompting.md +1 -1
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_5.md +95 -32
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_6.md +79 -30
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6.md +139 -0
- package/dist/builtin/workflows/skills/prompt-engineer/references/quality_improvement.md +4 -4
- package/dist/builtin/workflows/src/extension/index.bundle.mjs +247 -603
- package/dist/builtin/workflows/src/index.js +17 -7
- package/dist/core/agent-session-message-queue.d.ts.map +1 -1
- package/dist/core/agent-session-message-queue.js +3 -1
- 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-runtime.d.ts +4 -0
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +6 -0
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-tasks.d.ts +9 -0
- package/dist/core/agent-session-tasks.d.ts.map +1 -1
- package/dist/core/agent-session-tasks.js +68 -16
- package/dist/core/agent-session-tasks.js.map +1 -1
- package/dist/core/agent-session-tool-registry.d.ts.map +1 -1
- package/dist/core/agent-session-tool-registry.js +9 -21
- package/dist/core/agent-session-tool-registry.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 +5 -2
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/execution-model-router.d.ts +14 -0
- package/dist/core/execution-model-router.d.ts.map +1 -1
- package/dist/core/execution-model-router.js +67 -21
- package/dist/core/execution-model-router.js.map +1 -1
- package/dist/core/fast-model-variants.d.ts +16 -0
- package/dist/core/fast-model-variants.d.ts.map +1 -1
- package/dist/core/fast-model-variants.js +27 -0
- package/dist/core/fast-model-variants.js.map +1 -1
- package/dist/core/model-runtime.d.ts +13 -1
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +16 -1
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/sdk-types.d.ts +5 -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 +4 -0
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/settings-types.js.map +1 -1
- package/dist/core/structured-output/index.d.ts +1 -0
- package/dist/core/structured-output/index.d.ts.map +1 -1
- package/dist/core/structured-output/index.js +34 -26
- package/dist/core/structured-output/index.js.map +1 -1
- package/dist/core/structured-output/jev-client.d.ts +9 -0
- package/dist/core/structured-output/jev-client.d.ts.map +1 -1
- package/dist/core/structured-output/jev-client.js +57 -3
- package/dist/core/structured-output/jev-client.js.map +1 -1
- package/dist/core/structured-output/jev.d.ts.map +1 -1
- package/dist/core/structured-output/jev.js +35 -53
- package/dist/core/structured-output/jev.js.map +1 -1
- package/dist/core/structured-output/resolver.d.ts +32 -24
- package/dist/core/structured-output/resolver.d.ts.map +1 -1
- package/dist/core/structured-output/resolver.js +57 -9
- package/dist/core/structured-output/resolver.js.map +1 -1
- package/dist/core/structured-output/types.d.ts +8 -4
- package/dist/core/structured-output/types.d.ts.map +1 -1
- package/dist/core/structured-output/types.js.map +1 -1
- package/dist/core/tasks/child-command-owner.d.ts +34 -0
- package/dist/core/tasks/child-command-owner.d.ts.map +1 -0
- package/dist/core/tasks/child-command-owner.js +70 -0
- package/dist/core/tasks/child-command-owner.js.map +1 -0
- package/dist/core/tools/bash-pty-native.d.ts +5 -1
- package/dist/core/tools/bash-pty-native.d.ts.map +1 -1
- package/dist/core/tools/bash-pty-native.js +15 -7
- package/dist/core/tools/bash-pty-native.js.map +1 -1
- package/dist/core/tools/kill.d.ts +2 -2
- package/dist/core/tools/kill.d.ts.map +1 -1
- package/dist/core/tools/kill.js +3 -4
- package/dist/core/tools/kill.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/modes/interactive/interactive-auth-login.js +2 -4
- package/dist/modes/interactive/interactive-auth-login.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-auth.d.ts +16 -0
- package/dist/modes/interactive-engine/isolated-auth.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-auth.js +27 -0
- package/dist/modes/interactive-engine/isolated-auth.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +4 -0
- package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.js +4 -1
- package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
- package/dist/modes/rpc/rpc-client-api.d.ts +2 -1
- package/dist/modes/rpc/rpc-client-api.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-api.js +7 -2
- package/dist/modes/rpc/rpc-client-api.js.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.js +3 -1
- package/dist/modes/rpc/rpc-command-handler.js.map +1 -1
- package/dist/modes/rpc/rpc-provider-auth.d.ts +2 -1
- package/dist/modes/rpc/rpc-provider-auth.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-provider-auth.js +2 -2
- package/dist/modes/rpc/rpc-provider-auth.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +2 -0
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/docs/background-tasks.md +11 -2
- package/docs/environment-variables.md +1 -1
- package/docs/getting-started/first-session.md +2 -2
- package/docs/llama-cpp.md +2 -2
- package/docs/models/evals.md +47 -43
- package/docs/models/reference.md +1 -1
- package/docs/providers.md +11 -4
- package/docs/reference/cli.md +2 -2
- package/docs/rpc/examples.md +2 -0
- package/docs/sdk/reference.md +1 -1
- package/docs/sdk/structured-decisions.md +20 -14
- package/docs/settings.md +8 -8
- package/docs/skills.md +5 -1
- package/docs/subagents/reference.md +2 -2
- package/docs/subagents.md +1 -1
- package/docs/workflows/api-reference.md +5 -34
- package/docs/workflows/builtins.md +1 -1
- package/docs/workflows/operations.md +11 -77
- package/docs/workflows/reliable-design.md +14 -29
- package/docs/workflows.md +8 -7
- package/examples/rpc-client.ts +38 -0
- package/examples/rpc-extension-ui.ts +19 -5
- package/examples/sdk/README.md +1 -1
- package/npm-shrinkwrap.json +65 -65
- package/package.json +7 -7
- package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_astra.md +0 -58
|
@@ -58,7 +58,7 @@ List and run it like any other workflow:
|
|
|
58
58
|
|
|
59
59
|
Named workflow runs execute in the background. By default, after launch expect a full run id and monitor it with `/workflow status <run-id>`, F2, or `/workflow connect <run-id>`. A definition with `autoAttach: true` instead opens the graph overlay as soon as an interactive top-level named launch through `/workflow <name>` or the registered `workflow` tool is accepted. This option does not affect headless launches or nested `ctx.workflow(...)` calls, and existing input-form launch behavior is unchanged.
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
For deliberately authored multi-item graphs, see [Task queues and software factories](/workflows/reliable-design#task-queues-and-software-factories). To start a workflow, use `workflow({ action: "run", workflow: "<name>", inputs: {...} })` after inspecting its required inputs with `workflow({ action: "inputs", workflow: "<name>" })`.
|
|
62
62
|
|
|
63
63
|
The below-editor `BACKGROUND` panel shows top-level runs, elapsed time, stage progress, and live tools. A blue `?` marks human-input waits; a single question may show a preview and connect command. Narrow terminals show counts only. Use `/workflow status` or `/workflow connect` for full details, including resumable quit runs that have left the panel. See [panel controls](/workflows/operations#reading-and-scrolling-the-panel).
|
|
64
64
|
|
|
@@ -8,7 +8,7 @@ For stages authored with `model: "auto"`, Atomic ranks up to three distinct elig
|
|
|
8
8
|
|
|
9
9
|
Model selection uses the actual stage prompt, stage name, hard constraints, eligible model catalog, and compact dated evaluation records, not full human guides. Stage system and appended system prompts are not sent to the model router. Put requirements that should influence model selection in the stage prompt; the execution session still receives its configured system prompts.
|
|
10
10
|
|
|
11
|
-
Malformed or schema-invalid routing answers receive up to three corrective retries after the initial attempt, independently for Jev and any current-chat fallback. Model selection has no built-in wall-clock deadline; cancellation and independent provider limits still apply.
|
|
11
|
+
Malformed or schema-invalid routing answers receive up to three corrective retries after the initial attempt, independently for Jev and any current-chat fallback, and transient provider failures (connection errors, HTTP 408, 429 and 5xx) are retried up to three times with backoff. Model selection has no built-in wall-clock deadline; cancellation and independent provider limits still apply. Any Jev failure triggers a reported switch to the current chat model, whether the router was selected automatically or pinned. If routing inference fails completely — Jev and the chat structured-output fallback both — the stage runs on the current chat model instead of failing, with a recorded warning, but only when that model is available and satisfies every routing constraint (such as `allowedModels` and effort, cost, context and input limits). Otherwise the stage fails. An empty eligible catalog, stale decisions, credential-bearing routing context and cancellation still prevent stage execution without fallback. Choose router and chat providers permitted to receive the stage task and reference context.
|
|
12
12
|
|
|
13
13
|
Replay reuses recorded results without routing. Resume of a saved auto stage retains its verified selection and revalidates it against the current catalog and restrictions before fresh session admission, without a hidden new decision. If it is no longer eligible, resume fails rather than choosing another model. See [authoring automatic stages](/workflows/authoring#automatic-stage-model-selection).
|
|
14
14
|
|
|
@@ -101,7 +101,7 @@ workflow({ action: "models" })
|
|
|
101
101
|
The workflow tool action surface is:
|
|
102
102
|
|
|
103
103
|
- discovery: `list`, `get`, `inputs`, plus `models` for the configured model catalog
|
|
104
|
-
- execution: `
|
|
104
|
+
- execution: `run` with the workflow name and validated `inputs`
|
|
105
105
|
- inspection: `status`, `stages`, `stage`, `transcript`
|
|
106
106
|
- prompt response: `answer`; run control: `pause`, `quit`, `resume`; free-form stage communication: ordinary Intercom `send`/live `ask` to `workflow:<rootRunId>/<segment>[/<segment>...]` path targets, including `*` and `**` globs
|
|
107
107
|
- rediscovery: `reload`
|
|
@@ -138,22 +138,14 @@ Named launches wait only for **startup admission**, not for workflow completion.
|
|
|
138
138
|
|
|
139
139
|
A model may launch in the foreground only when the user explicitly requests it or foreground execution is technically required, and it must tell the user before launching.
|
|
140
140
|
|
|
141
|
-
|
|
141
|
+
Inspect the workflow's input contract, then launch it by name:
|
|
142
142
|
|
|
143
143
|
```ts
|
|
144
|
-
workflow({
|
|
145
|
-
|
|
146
|
-
state: {
|
|
147
|
-
task: "Map the workflow runtime by subsystem, with parallel research and a synthesis.",
|
|
148
|
-
conversation: [{ role: "user", text: "Read-only research; do not edit files." }],
|
|
149
|
-
documents: [{ source: "Approved research brief", content: "Compare discovery, dispatch, execution and persistence." }],
|
|
150
|
-
},
|
|
151
|
-
})
|
|
152
|
-
// Inspect the returned inputSchema, then use the returned workflowId:
|
|
153
|
-
workflow({ action: "run", workflowId: "returned-execution-id", inputs: { prompt: "map workflow runtime by subsystem" } })
|
|
144
|
+
workflow({ action: "inputs", workflow: "fan-out-and-synthesize" })
|
|
145
|
+
workflow({ action: "run", workflow: "fan-out-and-synthesize", inputs: { prompt: "Map the workflow runtime by subsystem" } })
|
|
154
146
|
```
|
|
155
147
|
|
|
156
|
-
|
|
148
|
+
You can also use the command line with key=value arguments:
|
|
157
149
|
|
|
158
150
|
```text
|
|
159
151
|
/workflow fan-out-and-synthesize prompt="map workflow runtime by subsystem" max_concurrency=4
|
|
@@ -175,66 +167,6 @@ Withdrawing an SDK adapter cancels its current presentation, not the durable app
|
|
|
175
167
|
|
|
176
168
|
Graph node cards show each model stage's effective model and thinking level above its status, including after fallback and durable resume. Long model names are truncated first, preserving the complete thinking level and a canonical `-fast` model suffix. This suffix is model identity, not a separate fast-mode switch or proof of service tier. Thinking `off` is omitted; stages without a model show no model placeholder. Tool nodes retain their `durable tool` body, and the `BACKGROUND` summary is unchanged.
|
|
177
169
|
|
|
178
|
-
## Model-invoked launch routing
|
|
179
|
-
|
|
180
|
-
Call `workflow route` with the actual request, relevant message text/document excerpts, and explicit constraints in `state`, not file paths in place of content. If it returns `none`, continue inline. Otherwise use its input contract to prepare inputs, then call `workflow run` with the registered workflow ID. Ask only for genuinely missing information.
|
|
181
|
-
|
|
182
|
-
`state.task` is the actual request. Optional `conversation` contains attributed `{ role, text }` messages; optional `documents` contains `{ source, content }` excerpts or clearly labeled faithful summaries. Preserve uncertainty and explicit constraints. Empty arrays are valid. Paths/URLs are provenance metadata, not implicit reads. Read authorized sources before routing when needed; if unavailable, state that limitation in the content. Remove secrets before transmission. Document quotations do not become user authorization.
|
|
183
|
-
|
|
184
|
-
Only route performs inference. Run rejects omitted/empty/unknown/foreign/stale IDs and name overrides. It accepts the selected schema's explicit inputs without resending state, rerouting or calling an extraction model. Invalid inputs do not consume a valid reservation. User `/workflow` commands and authored `ctx.workflow(...)` remain direct and internal execution paths respectively, with their existing safety contracts.
|
|
185
|
-
|
|
186
|
-
If the user specified budget limits, preserve exact values in `state.userBudget.limits` and quote the instruction in `provenance`. Omission inherits limits and zero disables only its field. A reservation is permission to attempt validated admission, not blanket approval for side effects.
|
|
187
|
-
|
|
188
|
-
### Choose the inference model
|
|
189
|
-
|
|
190
|
-
Set `routerModel` in [settings.json](/settings#routermodel), not workflow extension config:
|
|
191
|
-
|
|
192
|
-
```json
|
|
193
|
-
{ "routerModel": "" }
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
A nonempty exact concrete `provider/model` selection wins. Choose `openrouter/~typesafe/jev-latest` explicitly to use Jev with your existing OpenRouter login or `OPENROUTER_API_KEY`, without TypeSafe credentials. Otherwise configured direct Jev credentials, saved through `/login typesafe-ai` or supplied by `TYPESAFE_API_KEY`, select `typesafe-ai/jev-latest`; without direct Jev credentials, Atomic uses the current chat model at invocation time. `"auto"`, unknown explicit selections, and malformed settings fail rather than silently selecting another provider. This setting selects only routing inference: it does not change the chat model, workflow stage models, or the `structured_output` tool. Configured credentials do not prove service access.
|
|
197
|
-
|
|
198
|
-
The router has no separate wall-clock deadline. By default, each provider gets an initial attempt plus three corrective retries for malformed or schema-invalid answers. A valid decision stops repairs; a valid `none` is never rerouted. With an empty `routerModel`, oversized Jev context, a Jev HTTP or connection failure, or exhausted output repairs triggers a reported switch to the current chat model, which gets its own repair allowance. Explicit router selections remain pinned. Invalid inputs, cancellation and stale-catalog rejection do not trigger fallback. Neither repairs nor fallback can launch a duplicate workflow. The enclosing workflow-tool request still has its two-minute deadline, and provider limits remain unchanged.
|
|
199
|
-
|
|
200
|
-
Jev asks independent questions about workflow fit, authorization, lifecycle benefit, the user's stated execution preference and duration. Code composes the answers: an explicit user request to work inline yields `none`, an explicit request for a workflow bypasses the lifecycle-benefit gate, and otherwise the fit, authorization and benefit judgments decide. Preference is judged from the user's own words in `state`, never supplied by the calling assistant. Atomic preserves exact user budgets in code rather than asking Jev to choose numbers. Workflow contracts appear only with their candidate, not as a second complete catalog repeated in every batch.
|
|
201
|
-
|
|
202
|
-
Catalogs above 255 choices, or verbose comparisons that exceed the context budget, use tournament requests. Every workflow participates, three candidates survive each batch, and finalists receive a shared comparison. `none` remains available in the final comparison even if eliminated earlier, so overflow never forces a launch.
|
|
203
|
-
|
|
204
|
-
Large catalogs and repairs can increase latency and usage, and grouping can affect selection. State is never trimmed, and no partial decision can launch a workflow. If task context or a comparison cannot fit, automatic routing reports a switch to chat; pinned Jev fails before sending an oversized request. Supply only relevant messages and document excerpts, preserving requirements and uncertainty. See [structured decision limits](/sdk/structured-decisions#provider-behavior-and-limits).
|
|
205
|
-
|
|
206
|
-
### Read the decision
|
|
207
|
-
|
|
208
|
-
Route results appear as structured JSON inside a `WORKFLOW ROUTE` box. They expose `workflowId`, `routerDecision`, and the named selection's actual `inputSchema` with defaults.
|
|
209
|
-
|
|
210
|
-
Read `routerDecision.workflowType` and `routerDecision.estimatedDuration`, not top-level fields. The nested decision also contains the preserved `maxBudget` override declaration; omitted budget fields inherit their limits at execution. Routing failures have no `routerDecision`; inspect the error instead.
|
|
211
|
-
|
|
212
|
-
Reservations are not executing runs and do not appear in run listings. They expire with the owning tool/session and invalidate when the registry or selected schema changes. Route again rather than reusing a stale ID.
|
|
213
|
-
|
|
214
|
-
Admitted instances retain caller/session ownership across tool recreation, reload, and restart. Model-tool inspection and control authorize the resolved target, including implicit active-run targets. Bulk controls reject mixed ownership before changing any run. Explicit user `/workflow` commands retain their direct-access exception.
|
|
215
|
-
|
|
216
|
-
Duration labels are quarter-hour increments from `15min` through `1d`, plus `>1d`. Report the labels directly, for example `1hr15min`. Positive estimates round up, including work under 15 minutes; exactly 24 elapsed hours is `1d`, anything greater is `>1d`. The router gives its best estimate from available context. Wall-clock estimates include overhead, critical path and estimable human waits, including inline work. Granularity does not imply accuracy; estimates are neither guarantees nor execution budgets.
|
|
217
|
-
|
|
218
|
-
| Decision | Result and next step |
|
|
219
|
-
| --- | --- |
|
|
220
|
-
| `workflowType: "none"` | `workflowId: ""`, `status: "not_launched"`. Continue inline; the task has not been completed. |
|
|
221
|
-
| Named selection | `status: "reserved"`, unique `workflowId`, actual `inputSchema`. Prepare inputs, then run that ID. |
|
|
222
|
-
| Missing/invalid run inputs | `status: "needs_input"`, same ID, exact `inputContract` and validation feedback. Correct inputs and retry without rerouting. |
|
|
223
|
-
| Successful run admission | The reserved ID becomes the run ID. Inspect/control that instance; duplicates cannot create another executor. |
|
|
224
|
-
|
|
225
|
-
Keep the same ID for status, inspection, pause/resume, pending-prompt answers and cancellation. Concurrent run/resume requests cannot own two executors. Resume preserves completed checkpoints. A terminal ID supports inspection, not relaunch; a new execution requires a new route. Different IDs may execute independently in parallel.
|
|
226
|
-
|
|
227
|
-
Routing, provider and launch failures remain errors, never `none` or successful execution. If a response is lost, inspect the reserved ID; retrying cannot launch a second instance.
|
|
228
|
-
|
|
229
|
-
`maxBudget` preserves exact explicit user limits, including zero and omitted fields, even when no workflow launches. An empty object means inherit for a selected workflow, not unlimited execution. No workflow budget is installed for inline work, but the user's limits and authorization still apply. Run does not accept top-level budget overrides; route again to change constraints. Estimates never authorize adding or expanding limits.
|
|
230
|
-
|
|
231
|
-
Missing context, invalid output after the repair allowance, unrecovered provider errors, timeout and cancellation are failures, not `none` decisions. They prevent launch and expose no fabricated `routerDecision`. Correct the reported problem and retry explicitly when authorized. Cancellation or a late response cannot start a workflow after the routing attempt ends. The separate two-minute workflow-tool request deadline still covers the whole request, including subsequent startup admission.
|
|
232
|
-
|
|
233
|
-
### Reload and authored workflows
|
|
234
|
-
|
|
235
|
-
Creating a workflow is an ordinary file-authoring operation. After a successful `/workflow reload` or `/reload`, its actual registered name becomes a routing candidate automatically. Removed and renamed workflows disappear; replacements use their new contracts. There is no special authoring category in router output.
|
|
236
|
-
|
|
237
|
-
If a reload changes the registry while a decision is pending, Atomic refuses the stale approval before launch, including a definition replaced under the same name. Inspect the current contract and retry with fresh state; Atomic does not make a second inference automatically. A fatal refresh failure retains the previous catalog and its matching routing choices/context. A workflow registered as `none` collides with the inline sentinel and blocks model-tool routing: rename it and reload. Explicit user `/workflow` commands remain available.
|
|
238
170
|
|
|
239
171
|
## Workflow Commands
|
|
240
172
|
|
|
@@ -644,7 +576,7 @@ Set `failureMode: "return"` when a failed check is expected data for a later rep
|
|
|
644
576
|
|
|
645
577
|
On resume, completed top-level `ctx.tool` nodes retain their graph identity and cached outcomes, including concurrent `Promise.all` fan-out. A `failureMode: "return"` checkpoint, success or `return_failure`, is reused rather than running the callback again. All continuation attempts use the same run identity and checkpoint history.
|
|
646
578
|
|
|
647
|
-
|
|
579
|
+
Resume must match the retained workflow/checkpoint contract; do not change tool names or arguments to replay completed side effects. Inspection-only throwing records are not success checkpoints, so unfinished calls may execute again. Topology mismatches fail closed before unmatched live work is admitted; retained prompt answers and the prior resumable snapshot remain available for a corrected retry. An effect without a saved checkpoint is not guaranteed exactly once.
|
|
648
580
|
|
|
649
581
|
Recoverable output is explicit data flow. Atomic does not add a failed tool outcome to a later stage prompt. The workflow author must place the needed fields in `prompt`, `previous`, an output, or an artifact. Each persisted error text field is best-effort secret-redacted with the workflow persistence rules and limited to 16 KiB of UTF-8; truncated fields keep the final bytes with a marker. Keep the database sensitive even with this filter.
|
|
650
582
|
|
|
@@ -858,15 +790,17 @@ Run `/workflow reload` after adding, editing, renaming, or deleting workflow mod
|
|
|
858
790
|
|
|
859
791
|
Reload is safe while workflows run: existing runs keep their starting definitions and controls, and new launches use the refreshed registry. A fatal refresh failure retains the previous registry. Top-level `/reload` also replaces extensions but preserves live runs in the same process. After a process exit, use explicit resume to replay checkpoints and retry only unfinished work.
|
|
860
792
|
|
|
793
|
+
`/new`, `/fork`, and `/resume` are different: they leave the current session, so they quit running workflows. When any are running, Atomic asks first ("Quit N running workflows and start a new session?"). Confirming quits each run immediately at its last checkpoint; declining, or a confirmation prompt that fails, cancels the command and the runs keep going. Without an interactive UI (RPC, or an extension that switches sessions), the switch proceeds and the runs are quit the same way. Resume a quit run later with `/workflow resume`.
|
|
794
|
+
|
|
861
795
|
The `/workflow` argument-completion popup reads that same live registry. Project, user, package-provided, and built-in workflow names therefore appear immediately after reload both after `/workflow ` and after `/workflow inputs `; restarting Atomic is not required.
|
|
862
796
|
|
|
863
797
|
A successful rescan may still contain per-resource diagnostics. Both reload surfaces show `CONFIG_INVALID`, `IMPORT_FAILED`, `INVALID_DEFINITION`, `PATH_NOT_FOUND`, and duplicate-name diagnostics instead of reporting bare success while silently skipping a resource. Valid sibling workflows remain available. Fix the reported source/path and reload again; no process restart is required.
|
|
864
798
|
|
|
865
799
|
## Run budgets
|
|
866
800
|
|
|
867
|
-
Set an optional `budget` on workflow extension config or an authored definition.
|
|
801
|
+
Set an optional `budget` on workflow extension config or an authored definition. Direct workflow `run` calls use the registered workflow's declared budget and an optional user-provided `budget` override. Approved `resume` calls may supply `budget`. Each field resolves independently: run override, then definition, then config default. Omission inherits; `0` disables only its dimension.
|
|
868
802
|
|
|
869
|
-
Budgets are operator-selected. Never invent a cap or convert an estimate into one.
|
|
803
|
+
Budgets are operator-selected. Never invent a cap or convert an estimate into one. Pass only the fields and values the user requested. Raising an exhausted budget requires approval.
|
|
870
804
|
|
|
871
805
|
```ts
|
|
872
806
|
export default workflow({
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Use this guide to turn an objective into an acyclic, evidence-producing workflow with explicit contracts, context boundaries, verification, and stop conditions. Read [Custom Workflow Authoring](/workflows/authoring) first if you have not built a workflow definition yet.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The agent decides whether a workflow fits. Well-defined, authorized work that benefits from durable stages, checkpoints, dependencies, recovery, review loops or approval gates runs as a workflow; brainstorming, discussion, unclear goals, simple bounded work, or an explicit request to work inline, quickly or without a workflow stays inline. To launch, inspect the input contract with `workflow inputs`, then call `workflow run` with the registered workflow name and inputs. Ask only for genuinely missing information.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Preserve the user's actual words, uncertainty and preferences; do not turn discussion into an implementation objective. User-issued `/workflow` commands launch directly and authored `ctx.workflow(...)` remains internal composition. For workflow authoring, carry the [domain/environment verification and media evidence contract](/workflows/verification) into worker, reviewer and final handoff prompts.
|
|
8
8
|
|
|
9
9
|
## Choosing an Execution Shape
|
|
10
10
|
|
|
11
|
-
The following architecture pass applies only to deliberate definition authoring and composition
|
|
11
|
+
The following architecture pass applies only to deliberate definition authoring and composition. Authoring a definition adds a candidate, not a launch commitment.
|
|
12
12
|
|
|
13
|
-
> **Authored multi-item orchestration:** Enumerate requested implementation items and prove their dependencies. For deliberately composed execution, keep independent items in bounded concurrent top-level runs with explicit worktrees and root failure boundaries; preserve ordered composition only for real code, artifact, contract, decision, approval, or merged-result dependencies.
|
|
13
|
+
> **Authored multi-item orchestration:** Enumerate requested implementation items and prove their dependencies. For deliberately composed execution, keep independent items in bounded concurrent top-level runs with explicit worktrees and root failure boundaries; preserve ordered composition only for real code, artifact, contract, decision, approval, or merged-result dependencies.
|
|
14
14
|
|
|
15
15
|
The shapes, cheapest first:
|
|
16
16
|
|
|
@@ -79,11 +79,11 @@ node | prerequisites | duration range and source | shared resources | evidence n
|
|
|
79
79
|
- Start long CI/check waits when their candidate is ready and overlap independent review, documentation, or handoff preparation that neither mutates that candidate nor needs its check results. Use supported concurrency, keep workflow-owned CI launch/wait/result checks in durable `ctx.tool` nodes with finite timeouts and cancellation, and join required results before acceptance, merge, or publication. Background admission is not check completion.
|
|
80
80
|
- Record the checked commit or artifact identity. Later edits invalidate affected results, so rerun those checks for the new candidate. Never reuse a green check from an older commit as proof for a changed head. Do not alter repository protections, required checks, or concurrency limits to shorten the estimate.
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
When you decide to run a workflow, give a brief wall-clock estimate from available project evidence such as CI timings, test history and prior workflow runs. Say which inputs are unknown. An estimate is not measured timing, a guarantee or a `budget` override. Preserve brainstorming and unclear interactive intent instead of inventing an objective or pre-announcing a workflow.
|
|
83
83
|
|
|
84
|
-
Proceed with inherited budget limits without asking the user to choose a budget before each launch; preserve existing budget limits and approval gates. When the user does state a limit, pass only the fields they named
|
|
84
|
+
Proceed with inherited budget limits without asking the user to choose a budget before each launch; preserve existing budget limits and approval gates. When the user does state a limit, pass only the fields they named as the `run` call's `budget`. Omission inherits the workflow declaration and config; zero disables only the specified field. Never convert an estimate into a cap.
|
|
85
85
|
|
|
86
|
-
For example, with hypothetical timings, 6 minutes of implementation followed by independent 12-minute CI and 4-minute read-only review branches, then a 1-minute handoff, has a 19-minute critical path, not a 23-minute sum. Queue delays, repairs, and human approval can extend that. Authored scheduling analysis must cite actual project evidence rather than reuse these illustrative numbers
|
|
86
|
+
For example, with hypothetical timings, 6 minutes of implementation followed by independent 12-minute CI and 4-minute read-only review branches, then a 1-minute handoff, has a 19-minute critical path, not a 23-minute sum. Queue delays, repairs, and human approval can extend that. Authored scheduling analysis must cite actual project evidence rather than reuse these illustrative numbers.
|
|
87
87
|
|
|
88
88
|
Revise the remaining-time estimate at lifecycle updates only when new evidence materially changes the path. Keep the normal heartbeat cadence and end-turn/no-polling rules. At completion, report actual elapsed time against the estimate and identify the main bottleneck to improve the next schedule. These are agent design/reporting instructions, not an automatic scheduler or ETA feature.
|
|
89
89
|
|
|
@@ -291,25 +291,15 @@ export default workflow({
|
|
|
291
291
|
|
|
292
292
|
The workflow binding creates or validates the reusable worktree before `run` starts. The first durable tool then creates or checks out the requested feature branch, so worktree setup's detached checkout never becomes the implementation branch. The item run owns branch setup → implementation → bounded review/repair → deterministic checks → push → PR creation. A failed review or check fails that item before push/PR.
|
|
293
293
|
|
|
294
|
-
|
|
294
|
+
For each item, inspect the workflow's inputs with `workflow({ action: "inputs", workflow: "<name>" })`, then prepare inputs and launch with `workflow({ action: "run", workflow: "<name>", inputs: {...} })`. Item runs are top-level and independent. Admit no third run until one ends to preserve the bound of 2. Explicit user `/workflow` commands remain available for deliberate exact-name launches.
|
|
295
295
|
|
|
296
296
|
```ts
|
|
297
|
-
workflow({ action: "
|
|
298
|
-
task: "Fix cache-key normalization for issue #2101 and create its PR after validation.",
|
|
299
|
-
constraints: ["Use ../atomic-issue-2101 and branch fix/2101-cache-key; at most two concurrent item runs."],
|
|
300
|
-
}})
|
|
301
|
-
// If the returned inputSchema declares these inputs:
|
|
302
|
-
workflow({ action: "run", workflowId: "returned-id-for-2101", inputs: {
|
|
297
|
+
workflow({ action: "run", workflow: "issue-to-pr", inputs: {
|
|
303
298
|
issue: "#2101 fix cache-key normalization",
|
|
304
299
|
git_worktree_dir: "../atomic-issue-2101", base_ref: "origin/main", pr_base: "main",
|
|
305
300
|
branch: "fix/2101-cache-key", checks: [["npm", "run", "test:unit", "--", "test/unit/cache-key.test.ts"]],
|
|
306
301
|
}})
|
|
307
|
-
|
|
308
|
-
workflow({ action: "route", state: {
|
|
309
|
-
task: "Correct CLI help output for issue #2102 and create its PR after validation.",
|
|
310
|
-
constraints: ["Use ../atomic-issue-2102 and branch fix/2102-cli-help; at most two concurrent item runs."],
|
|
311
|
-
}})
|
|
312
|
-
workflow({ action: "run", workflowId: "returned-id-for-2102", inputs: {
|
|
302
|
+
workflow({ action: "run", workflow: "issue-to-pr", inputs: {
|
|
313
303
|
issue: "#2102 correct CLI help output",
|
|
314
304
|
git_worktree_dir: "../atomic-issue-2102", base_ref: "origin/main", pr_base: "main",
|
|
315
305
|
branch: "fix/2102-cli-help", checks: [["npm", "run", "test:unit", "--", "test/unit/cli-help.test.ts"]],
|
|
@@ -342,16 +332,16 @@ The factory self-prompt is: **enumerate → inspect and classify dependencies
|
|
|
342
332
|
|
|
343
333
|
### Prompting the choice
|
|
344
334
|
|
|
345
|
-
Humans can
|
|
335
|
+
Humans can steer the agent's choice or deliberately request definition authoring:
|
|
346
336
|
|
|
347
|
-
- **Name the shape or installed workflow.**
|
|
337
|
+
- **Name the shape or installed workflow.** "Do this quickly", "do this inline", "use subagents to investigate", "run ralph", or "write a custom workflow for this" tell the agent how to run the work. The agent honors them.
|
|
348
338
|
- **State acceptance criteria.** Verbatim criteria make the objective provable and define reviewer and reducer contracts.
|
|
349
339
|
- **State the loop.** "Iterate until tests pass" or "review and fix until approved" defines a hard workflow stop condition.
|
|
350
340
|
- **State the evidence.** A QA video, test output, generated artifact, or reviewer sign-off tells the graph which gates it needs.
|
|
351
341
|
- **State the boundary.** "Work in a separate worktree", "do not create a PR", or "stop after implementation" separates implementation from final actions.
|
|
352
342
|
- **State the queue policy.** Say how to split, order, isolate, and bound queued items; otherwise Atomic runs the [dependency-triage and bounded-dispatch playbook](/workflows/reliable-design#task-queues-and-software-factories) before implementation. Ordinary list order and per-item "create a PR after" wording do not create a cross-item dependency.
|
|
353
343
|
|
|
354
|
-
Absent these controls,
|
|
344
|
+
Absent these controls, the agent decides workflow suitability and selection from the task and the user's words, without fabricating preferences.
|
|
355
345
|
|
|
356
346
|
## The Run Contract
|
|
357
347
|
|
|
@@ -450,12 +440,7 @@ The tags are plain text, so they work anywhere text becomes a stage prompt — y
|
|
|
450
440
|
**Run inputs.** Workflows inject their inputs into stage prompts, so anything you tag in an input is inherited by the stages that receive it:
|
|
451
441
|
|
|
452
442
|
```
|
|
453
|
-
workflow({ action: "
|
|
454
|
-
task: "Research and implement issue #2170. Do not touch the release pipeline.",
|
|
455
|
-
documents: [{ source: "issue #2170", content: issueBody }],
|
|
456
|
-
}})
|
|
457
|
-
// Inspect inputSchema before preparing these inputs:
|
|
458
|
-
workflow({ action: "run", workflowId: "returned-execution-id", inputs: {
|
|
443
|
+
workflow({ action: "run", workflow: "ralph", inputs: {
|
|
459
444
|
prompt: "<keepContext>\nResearch and implement issue #2170. Do not touch the release pipeline.\n</keepContext>\n\n" + issueBody,
|
|
460
445
|
acceptance_criteria: "<keepContext>\n1. ...\n2. ...\n</keepContext>",
|
|
461
446
|
}})
|
package/docs/workflows.md
CHANGED
|
@@ -46,19 +46,20 @@ For checking changes and sharing results in PRs, see [Verification and evidence]
|
|
|
46
46
|
|
|
47
47
|
## When to Use Workflows
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
The agent decides whether a workflow fits. Well-defined, authorized work that benefits from durable stages, checkpoints, dependencies, recovery, review loops or approval gates runs as a workflow; brainstorming, discussion, unclear goals, simple bounded work, or an explicit request to work inline, quickly or without a workflow stays inline. To launch, inspect the input contract with `workflow inputs`, then call `workflow run` with the registered workflow name and inputs. Ask only for genuinely missing information.
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Safety, authorization, testing and evidence requirements remain in force. For an active user-requested switch to inline, safely hold/stop the affected run and reconcile completed work and in-flight effects before continuing without duplicates. User `/workflow` commands launch directly; authored `ctx.workflow(...)` remains internal composition.
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
```ts
|
|
54
|
+
workflow({ action: "inputs", workflow: "fan-out-and-synthesize" })
|
|
55
|
+
workflow({ action: "run", workflow: "fan-out-and-synthesize", inputs: { prompt: "Map the repository by subsystem" } })
|
|
56
|
+
```
|
|
54
57
|
|
|
55
|
-
For deliberate definition authoring, do not force-fit a builtin: a builtin that matches 60% of the task and fights the other 40% is worse than a small custom graph. Discover named builtin, project, user, and package workflows; or author a task-specific TypeScript `workflow({...})` with normal coding tools when the definition needs richer branching, dynamic fan-out, artifacts, structured outputs, child workflows, human input, gates, retries, or loops.
|
|
58
|
+
For deliberate definition authoring, do not force-fit a builtin: a builtin that matches 60% of the task and fights the other 40% is worse than a small custom graph. Discover named builtin, project, user, and package workflows; or author a task-specific TypeScript `workflow({...})` with normal coding tools when the definition needs richer branching, dynamic fan-out, artifacts, structured outputs, child workflows, human input, gates, retries, or loops.
|
|
56
59
|
|
|
57
60
|
Rich custom workflows can compose the [common workflow patterns](/workflows/reliable-design#common-workflow-patterns): classify and branch at runtime, fan out and synthesize artifacts, run worker/verifier/reducer repair cycles, generate and filter or tournament-rank candidates, and loop until explicit evidence says the work is done. Workflow definitions are composable TypeScript modules — see [Workflow Composition](/workflows/authoring#workflow-composition). Atomic can write the definition, reload workflow resources, and run it for the current task; the workflow tool has no create action.
|
|
58
61
|
|
|
59
|
-
For authored graphs, design elapsed time using [runtime-aware scheduling and estimates](/workflows/reliable-design#runtime-aware-scheduling-and-estimates). Use available CI/test history to place focused checks at slice boundaries, defer redundant full-suite runs to the final candidate, and overlap independent work with CI without bypassing required gates.
|
|
60
|
-
|
|
61
|
-
If exploration drifts without progress, save findings as factual context for the next routing request. Do not turn them into caller-selected graph advocacy or automatically reroute a `none` result; continue conversation, clarify, or work inline as appropriate.
|
|
62
|
+
For authored graphs, design elapsed time using [runtime-aware scheduling and estimates](/workflows/reliable-design#runtime-aware-scheduling-and-estimates). Use available CI/test history to place focused checks at slice boundaries, defer redundant full-suite runs to the final candidate, and overlap independent work with CI without bypassing required gates. Before launching, share a brief duration estimate without confidence labels. Inherit existing budget limits without asking for a budget choice before each launch, and override only limits the user explicitly requests. Preserve existing approval gates. An estimate is not a budget or guarantee. At completion, compare the estimate with actual elapsed time.
|
|
62
63
|
|
|
63
64
|
| User need | Use |
|
|
64
65
|
|-----------|-----|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Run one prompt through an Atomic RPC child process.
|
|
3
|
+
*
|
|
4
|
+
* Build the coding-agent package first, then run:
|
|
5
|
+
* npx tsx examples/rpc-client.ts "Explain this repository"
|
|
6
|
+
*
|
|
7
|
+
* RpcClient launches the CLI under Bun by default; pass
|
|
8
|
+
* `runtimeExecutable: process.execPath` to run it under Node instead.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import { dirname, join } from "node:path";
|
|
12
|
+
import { fileURLToPath } from "node:url";
|
|
13
|
+
import { RpcClient } from "@bastani/atomic";
|
|
14
|
+
|
|
15
|
+
const exampleDirectory = dirname(fileURLToPath(import.meta.url));
|
|
16
|
+
const prompt = process.argv.slice(2).join(" ") || "Explain this repository in one paragraph.";
|
|
17
|
+
|
|
18
|
+
const client = new RpcClient({
|
|
19
|
+
cliPath: join(exampleDirectory, "../dist/cli.js"),
|
|
20
|
+
args: ["--no-session"],
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
const unsubscribe = client.onEvent((event) => {
|
|
24
|
+
if (event.type === "message_update" && event.assistantMessageEvent.type === "text_delta") {
|
|
25
|
+
process.stdout.write(event.assistantMessageEvent.delta);
|
|
26
|
+
} else if (event.type === "tool_execution_start") {
|
|
27
|
+
process.stderr.write(`\n[tool: ${event.toolName}]\n`);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
try {
|
|
32
|
+
await client.start();
|
|
33
|
+
await client.promptAndWait(prompt);
|
|
34
|
+
process.stdout.write("\n");
|
|
35
|
+
} finally {
|
|
36
|
+
unsubscribe();
|
|
37
|
+
await client.stop();
|
|
38
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { spawn } from "node:child_process";
|
|
18
18
|
import { dirname, join } from "node:path";
|
|
19
|
-
import
|
|
19
|
+
import { StringDecoder } from "node:string_decoder";
|
|
20
20
|
import { fileURLToPath } from "node:url";
|
|
21
21
|
import { type Component, Container, ProcessTerminal, TUI } from "@earendil-works/pi-tui";
|
|
22
22
|
|
|
@@ -72,7 +72,7 @@ async function main() {
|
|
|
72
72
|
|
|
73
73
|
const agent = spawn(
|
|
74
74
|
"node",
|
|
75
|
-
[cliPath, "--mode", "rpc", "--no-session", "--no-
|
|
75
|
+
[cliPath, "--mode", "rpc", "--no-session", "--no-extensions", "--extension", extensionPath],
|
|
76
76
|
{ stdio: ["pipe", "pipe", "pipe"] },
|
|
77
77
|
);
|
|
78
78
|
|
|
@@ -332,9 +332,10 @@ async function main() {
|
|
|
332
332
|
|
|
333
333
|
// -- Process agent stdout --
|
|
334
334
|
|
|
335
|
-
const
|
|
335
|
+
const decoder = new StringDecoder("utf8");
|
|
336
|
+
let stdoutBuffer = "";
|
|
336
337
|
|
|
337
|
-
|
|
338
|
+
const processLine = (line: string): void => {
|
|
338
339
|
let data: Record<string, unknown>;
|
|
339
340
|
try {
|
|
340
341
|
data = JSON.parse(line);
|
|
@@ -397,7 +398,7 @@ async function main() {
|
|
|
397
398
|
tui.requestRender();
|
|
398
399
|
return;
|
|
399
400
|
}
|
|
400
|
-
}
|
|
401
|
+
};
|
|
401
402
|
|
|
402
403
|
// -- User input --
|
|
403
404
|
|
|
@@ -430,6 +431,19 @@ async function main() {
|
|
|
430
431
|
}
|
|
431
432
|
};
|
|
432
433
|
|
|
434
|
+
const processStdout = (chunk: Buffer): void => {
|
|
435
|
+
stdoutBuffer += decoder.write(chunk);
|
|
436
|
+
const lines = stdoutBuffer.split(/\r?\n/);
|
|
437
|
+
stdoutBuffer = lines.pop() ?? "";
|
|
438
|
+
for (const line of lines) processLine(line);
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
agent.stdout!.on("data", processStdout);
|
|
442
|
+
agent.stdout!.on("end", () => {
|
|
443
|
+
stdoutBuffer += decoder.end();
|
|
444
|
+
if (stdoutBuffer) processLine(stdoutBuffer);
|
|
445
|
+
});
|
|
446
|
+
|
|
433
447
|
// -- Agent exit --
|
|
434
448
|
|
|
435
449
|
agent.on("exit", (code) => {
|
package/examples/sdk/README.md
CHANGED
|
@@ -15,7 +15,7 @@ The runtime example shows how to build a recreate function that closes over proc
|
|
|
15
15
|
| `05-tools.ts` | Tool allowlists and exclusions |
|
|
16
16
|
| `06-extensions.ts` | Logging, blocking, result modification |
|
|
17
17
|
| `07-context-files.ts` | AGENTS.md context files |
|
|
18
|
-
| `08-
|
|
18
|
+
| `08-prompt-templates.ts` | File-based prompt templates |
|
|
19
19
|
| `09-api-keys-and-oauth.ts` | API key resolution, OAuth config |
|
|
20
20
|
| `10-settings.ts` | Override compaction, retry, terminal settings |
|
|
21
21
|
| `11-sessions.ts` | In-memory, persistent, continue, list sessions |
|