@bastani/atomic 0.9.19-alpha.6 → 0.9.19-alpha.8
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 +6 -0
- package/README.md +2 -2
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/web-access/CHANGELOG.md +6 -0
- package/dist/builtin/web-access/index.bundle.mjs +22 -3
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/builtin/workflows/CHANGELOG.md +19 -0
- package/dist/builtin/workflows/README.md +1 -1
- package/dist/builtin/workflows/builtin/adversarial-verification.js +2 -2
- package/dist/builtin/workflows/builtin/{chunk-vhmnzdj9.js → chunk-1jth021m.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-p8jjwfg6.js → chunk-2377r57g.js} +4 -2
- package/dist/builtin/workflows/builtin/{chunk-hbnwv56f.js → chunk-31j2gs7h.js} +2 -2
- package/dist/builtin/workflows/builtin/{chunk-n8zysf1t.js → chunk-ngkqkzej.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-1nbq96fh.js → chunk-nkrafh9s.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-1kx4aggw.js → chunk-wf741bv3.js} +2 -2
- package/dist/builtin/workflows/builtin/{chunk-t6x2d78s.js → chunk-z29qbehr.js} +1 -1
- package/dist/builtin/workflows/builtin/generate-and-filter.js +2 -2
- package/dist/builtin/workflows/builtin/goal.js +3 -3
- package/dist/builtin/workflows/builtin/index.js +7 -7
- package/dist/builtin/workflows/builtin/ralph.js +3 -3
- package/dist/builtin/workflows/builtin/tournament.js +2 -2
- package/dist/builtin/workflows/package.json +1 -1
- package/dist/builtin/workflows/src/extension/index.bundle.mjs +590 -256
- package/dist/builtin/workflows/src/index.js +67 -19
- package/dist/builtin/workflows/src/shared/authoring-contract-stage.d.ts +2 -0
- package/dist/modes/interactive/components/task-live-transcript.d.ts +1 -1
- package/dist/modes/interactive/components/task-live-transcript.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-live-transcript.js +19 -11
- package/dist/modes/interactive/components/task-live-transcript.js.map +1 -1
- package/docs/background-tasks.md +1 -1
- package/docs/build.md +51 -0
- package/docs/changelog.mdx +8 -8
- package/docs/compaction/reference.md +267 -0
- package/docs/compaction.md +36 -219
- package/docs/computer-use.md +35 -0
- package/docs/containerization.md +2 -0
- package/docs/custom-provider/api-reference.md +145 -0
- package/docs/custom-provider/oauth.md +131 -0
- package/docs/custom-provider/override.md +34 -0
- package/docs/custom-provider/registration.md +163 -0
- package/docs/custom-provider/streaming.md +214 -0
- package/docs/custom-provider.md +43 -607
- package/docs/development.md +76 -0
- package/docs/docs.json +199 -77
- package/docs/environment-variables.md +1 -1
- package/docs/extensions/api-reference.md +1001 -0
- package/docs/extensions/authoring.md +676 -0
- package/docs/extensions/events.md +793 -0
- package/docs/extensions/examples.md +94 -0
- package/docs/extensions/ui.md +470 -0
- package/docs/extensions.md +270 -2768
- package/docs/getting-started/authentication.md +55 -0
- package/docs/getting-started/first-session.md +172 -0
- package/docs/getting-started/installation.md +154 -0
- package/docs/getting-started/project-instructions.md +43 -0
- package/docs/guides/configuration.md +65 -0
- package/docs/guides/intercom.md +24 -0
- package/docs/guides/non-interactive.md +33 -0
- package/docs/guides/subagents.md +24 -0
- package/docs/guides/workflows.md +27 -0
- package/docs/guides.md +41 -0
- package/docs/index.md +13 -45
- package/docs/intercom/operations.md +178 -0
- package/docs/intercom/reference.md +146 -0
- package/docs/intercom.md +54 -259
- package/docs/json.md +17 -0
- package/docs/llama-cpp.md +5 -0
- package/docs/models/artificial-analysis-index.md +89 -0
- package/docs/models/evals.md +2 -2
- package/docs/models/model-selection.md +3 -3
- package/docs/models/pareto-efficiency.md +2 -2
- package/docs/models/reference.md +601 -0
- package/docs/models.md +45 -550
- package/docs/packages/authoring.md +88 -0
- package/docs/packages/reference.md +43 -0
- package/docs/packages.md +28 -107
- package/docs/programmatic.md +29 -0
- package/docs/prompt-templates.md +11 -0
- package/docs/providers/reference.md +23 -0
- package/docs/providers.md +10 -15
- package/docs/quickstart.md +44 -238
- package/docs/reference/cli.md +252 -0
- package/docs/reference.md +52 -0
- package/docs/rpc/examples.md +64 -0
- package/docs/rpc/extension-ui.md +198 -0
- package/docs/rpc/protocol.md +1341 -0
- package/docs/rpc.md +109 -1346
- package/docs/sdk/reference.md +1090 -0
- package/docs/sdk.md +56 -1002
- package/docs/session-format.md +2 -0
- package/docs/sessions.md +6 -10
- package/docs/settings.md +6 -45
- package/docs/skills/authoring.md +95 -0
- package/docs/skills/reference.md +60 -0
- package/docs/skills.md +20 -122
- package/docs/subagents/authoring.md +37 -0
- package/docs/subagents/reference.md +60 -0
- package/docs/subagents.md +39 -95
- package/docs/terminal-setup.md +1 -1
- package/docs/themes/reference.md +176 -0
- package/docs/themes.md +21 -135
- package/docs/tmux.md +5 -0
- package/docs/tools/edit.md +5 -0
- package/docs/tools.md +5 -0
- package/docs/tui/reference.md +343 -0
- package/docs/tui.md +23 -286
- package/docs/usage.md +26 -209
- package/docs/web-access.md +2 -0
- package/docs/windows.md +2 -1
- package/docs/workflows/api-reference.md +11 -4
- package/docs/workflows/authoring.md +4 -2
- package/docs/workflows/builtins.md +2 -2
- package/docs/workflows/operations.md +15 -10
- package/docs/workflows/reliable-design.md +21 -3
- package/docs/workflows/verification.md +8 -0
- package/npm-shrinkwrap.json +32 -32
- package/package.json +3 -3
package/docs/development.md
CHANGED
|
@@ -15,6 +15,13 @@ Use npm for installs, builds, checks, and Vitest suites. Bun compiles standalone
|
|
|
15
15
|
|
|
16
16
|
Atomic keeps the caller's current working directory when launched from development wrappers.
|
|
17
17
|
|
|
18
|
+
Run package scripts from the monorepo root or a package directory, for example:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm run test:unit
|
|
22
|
+
npm run build --workspace=@bastani/atomic
|
|
23
|
+
```
|
|
24
|
+
|
|
18
25
|
## Forking / Rebranding
|
|
19
26
|
|
|
20
27
|
Configure via `package.json`:
|
|
@@ -30,6 +37,8 @@ Configure via `package.json`:
|
|
|
30
37
|
|
|
31
38
|
Change `name`, `configDir`, and the `bin` field for your fork. These control the CLI banner, config paths, and environment variable names. Legacy `piConfig` remains a compatibility fallback.
|
|
32
39
|
|
|
40
|
+
The app-specific `<appName>Config` key is preferred. Atomic sets these to `atomic`, `.atomic`, and the `atomic` executable.
|
|
41
|
+
|
|
33
42
|
## Path Resolution
|
|
34
43
|
|
|
35
44
|
Three execution modes: package-manager install, standalone binary, and source checkout.
|
|
@@ -61,6 +70,39 @@ Diagnostics are displayed as text, not terminal commands. RPC clients receive di
|
|
|
61
70
|
separately from JSON responses. No `atomic-engine-stderr.log` file is written; include the
|
|
62
71
|
displayed diagnostic and conversion error when reporting a PDF problem.
|
|
63
72
|
|
|
73
|
+
## Startup timing probes
|
|
74
|
+
|
|
75
|
+
Use the [current startup benchmark instructions](https://github.com/bastani-inc/atomic/blob/main/scripts/perf/windows-startup/README.md).
|
|
76
|
+
|
|
77
|
+
Use `scripts/perf/windows-startup/benchmark.ts` for Windows startup claims. It launches the ordinary bare `atomic` command through a real 120x40 ConPTY, feeds ordered output into `@xterm/headless`, and timestamps each receive with `process.hrtime.bigint()`. Complete first paint requires the final `Atomic v<version>` identity, the focused `❯ ` editor, and two identical settled frames at least one 80 ms animation interval apart. `dispatchMs` runs from the Enter write to the first byte observed by a raw TCP loopback provider. The headline `spawnToDispatchMs` is exactly `startupCompleteMs + dispatchMs`; `launchToProviderFirstByteMs` separately retains the contiguous launch-to-provider interval that also contains nonce typing and editor-echo wait. The provider request must contain the nonce and the normal tool schemas, and every accepted sample must pass `/workflow list` after the timed response. See [the benchmark README](https://github.com/bastani-inc/atomic/blob/main/scripts/perf/windows-startup/README.md) for artifact preparation, cache profiles, raw records, and summary commands.
|
|
78
|
+
|
|
79
|
+
Do not use `time-to-first-frame` as settled-paint evidence, and do not substitute `launchToProviderFirstByteMs` for the contract sum. The first-frame mark records the host's first requested identity frame after the header is mounted; it does not prove terminal receipt, animation settlement, engine resource readiness, or provider readiness. `ATOMIC_STARTUP_BENCHMARK=1`, `--no-extensions`, and `--no-tools` are attribution controls only. They do not run the accepted full CLI path with bundled workflows, normal extensions, tools, and provider dispatch.
|
|
80
|
+
|
|
81
|
+
The process-local lifecycle timing seams use monotonic nanoseconds and remain disabled until an internal diagnostic adapter installs a synchronous sink. With no sink, they do not read the clock, write output, or schedule work. External ConPTY and TCP marks remain authoritative. Startup now has several deliberate partial orders rather than one cross-process sequence:
|
|
82
|
+
|
|
83
|
+
```text
|
|
84
|
+
interactive host: process-entry → interactive-engine-spawn → engine-ready
|
|
85
|
+
→ tui-start → header-mounted → initialize engine-bound state
|
|
86
|
+
→ chat-output-release → interactive-input-handler-ready
|
|
87
|
+
|
|
88
|
+
isolated child: process-entry → engine-ready → engine-bound
|
|
89
|
+
→ engine-resources-ready
|
|
90
|
+
|
|
91
|
+
external screen: first-terminal-write → startup-coherent → startup-complete
|
|
92
|
+
|
|
93
|
+
first turn: interactive-first-submit → before-provider-request
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
The header and editor are mounted before the host waits for `engine-bound`; the child can therefore report binding while the host is applying its theme or requesting that frame. `engine-bound` means RPC control plus the mandatory minimal session are available. `engine-resources-ready` is a separate, generation-scoped child message sent only after a staged optional snapshot containing bundled extensions, tools, providers, skills, prompts, and themes commits. User prompts, extension commands, model/resource commands, session replacement, and tool-dispatching RPC calls wait for that gate. After a readiness failure, `/reload` bypasses the rejected gate to start a fresh transactional attempt; successful retry replaces the gate before later work proceeds. Escape cancels a first submission that is still waiting, so that continuation cannot dispatch later. `session_start` messages are queued against the candidate snapshot and released only after publication. Mandatory Intercom remains in the minimal runtime. A failed transactional candidate leaves host-managed settings, providers, tools, resources, event subscriptions, and system-prompt state unchanged, restores an unadmitted prompt draft exactly, and reports the generation failure once. Extension-owned objects stored with `sessionScopedExtensionState` are deliberately shared across reloads and are not cloned or rolled back.
|
|
97
|
+
|
|
98
|
+
`engine-resources-ready` is recorded in the isolated engine process; host marks are recorded in the interactive process. The two process clocks are monotonic but must not be subtracted without an external synchronization protocol. `startup-coherent` and `startup-complete` describe internal render composition, not terminal receipt. The external VT predicates decide the reported first-paint marks.
|
|
99
|
+
|
|
100
|
+
For package-manager installs under Node 22, Atomic enables Node's persistent module compile cache in both the host and isolated child and flushes the host cache before spawning the child. Explicit `NODE_COMPILE_CACHE` and `NODE_DISABLE_COMPILE_CACHE` settings pass through unchanged. This preserves Node's coverage opt-out and avoids forcing a new cache directory or a first-run-only precompile step. SEA, V8 snapshots, and package-install precompilation were not adopted because Atomic's dynamic ESM, native modules, workers, and first-run requirements do not provide a safe portable boundary.
|
|
101
|
+
|
|
102
|
+
Set `ATOMIC_TIMING=1` only for the older human-readable phase diagnostics. Normal interactive launches print that initial timing group before `interactiveMode.run()` starts the TUI loop, so later marks are not printed during ordinary sessions.
|
|
103
|
+
|
|
104
|
+
For the current Bun version, Windows-hosted bytecode requirement, and archive-validation caveats, see [Windows interactive startup](/windows#interactive-startup).
|
|
105
|
+
|
|
64
106
|
## Testing
|
|
65
107
|
|
|
66
108
|
```bash
|
|
@@ -74,6 +116,12 @@ npm run test --workspace=@bastani/atomic -- test/specific.test.ts
|
|
|
74
116
|
|
|
75
117
|
CI runs root unit and integration suites on Linux and Windows. See [CI documentation](https://github.com/bastani-inc/atomic/blob/main/docs/ci.md) for job details and release procedures.
|
|
76
118
|
|
|
119
|
+
To run only the typechecks:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
npm run typecheck # Type-check the monorepo
|
|
123
|
+
```
|
|
124
|
+
|
|
77
125
|
### Installed package smoke test
|
|
78
126
|
|
|
79
127
|
After building, run:
|
|
@@ -86,6 +134,22 @@ This checks Node startup and builtin extension loading outside the checkout.
|
|
|
86
134
|
|
|
87
135
|
Atomic ships an npm shrinkwrap. After dependency changes, regenerate it with `npm run shrinkwrap:coding-agent` and validate with `npm run check`.
|
|
88
136
|
|
|
137
|
+
## Deterministic installs
|
|
138
|
+
|
|
139
|
+
See [Testing](#testing) for the current shrinkwrap commands.
|
|
140
|
+
|
|
141
|
+
`@bastani/atomic` ships `packages/coding-agent/npm-shrinkwrap.json` so package-manager installs resolve the same dependency tree every time. Contributors working from a source checkout can validate that the checked-in shrinkwrap is up to date with:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
bun run scripts/generate-coding-agent-shrinkwrap.mjs --check
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## Release security boundary
|
|
148
|
+
|
|
149
|
+
Follow the [current release pipeline](https://github.com/bastani-inc/atomic/blob/main/docs/ci.md#release-pipeline).
|
|
150
|
+
|
|
151
|
+
Atomic's release bases remain at the `0.0.0` placeholder. `scripts/cut-release.ts` stamps the real version only on a detached tagged release commit.
|
|
152
|
+
|
|
89
153
|
## Project Structure
|
|
90
154
|
|
|
91
155
|
```text
|
|
@@ -98,3 +162,15 @@ packages/
|
|
|
98
162
|
web-access/ # Web search and content extraction
|
|
99
163
|
intercom/ # Cross-session coordination
|
|
100
164
|
```
|
|
165
|
+
|
|
166
|
+
The bundled companion-package roles are:
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
packages/
|
|
170
|
+
coding-agent/ # Atomic CLI, agent loop, providers, TUI, and core runtime
|
|
171
|
+
workflows/ # First-party workflow extension bundled into Atomic
|
|
172
|
+
subagents/ # Built-in subagent orchestration and reusable agents
|
|
173
|
+
mcp/ # Built-in MCP adapter extension
|
|
174
|
+
web-access/ # Built-in web search and content extraction tools
|
|
175
|
+
intercom/ # Built-in cross-session coordination channel
|
|
176
|
+
```
|
package/docs/docs.json
CHANGED
|
@@ -10,99 +10,221 @@
|
|
|
10
10
|
"dark": "#1D4ED8"
|
|
11
11
|
},
|
|
12
12
|
"navigation": {
|
|
13
|
-
"
|
|
13
|
+
"tabs": [
|
|
14
14
|
{
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
15
|
+
"tab": "Learn",
|
|
16
|
+
"groups": [
|
|
17
|
+
{
|
|
18
|
+
"group": "Overview",
|
|
19
|
+
"pages": [
|
|
20
|
+
"index"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"group": "Quickstart",
|
|
25
|
+
"pages": [
|
|
26
|
+
"quickstart",
|
|
27
|
+
"getting-started/installation",
|
|
28
|
+
"getting-started/authentication",
|
|
29
|
+
"getting-started/first-session",
|
|
30
|
+
"getting-started/project-instructions"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"group": "Start here",
|
|
35
|
+
"pages": [
|
|
36
|
+
"guides"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"group": "Everyday use",
|
|
41
|
+
"pages": [
|
|
42
|
+
"usage",
|
|
43
|
+
"guides/non-interactive",
|
|
44
|
+
"sessions",
|
|
45
|
+
"compaction",
|
|
46
|
+
"guides/configuration"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"group": "Running work for you",
|
|
51
|
+
"pages": [
|
|
52
|
+
"guides/workflows",
|
|
53
|
+
"guides/subagents",
|
|
54
|
+
"background-tasks",
|
|
55
|
+
"guides/intercom",
|
|
56
|
+
"computer-use"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"group": "Models and providers",
|
|
61
|
+
"pages": [
|
|
62
|
+
"providers",
|
|
63
|
+
"llama-cpp"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"group": "Safety and isolation",
|
|
68
|
+
"pages": [
|
|
69
|
+
"security",
|
|
70
|
+
"containerization"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
32
73
|
]
|
|
33
74
|
},
|
|
34
75
|
{
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
{
|
|
42
|
-
"group": "Workflows",
|
|
43
|
-
"pages": [
|
|
44
|
-
"workflows",
|
|
45
|
-
"workflows/builtins",
|
|
46
|
-
"workflows/authoring",
|
|
47
|
-
"workflows/reliable-design",
|
|
48
|
-
"workflows/verification",
|
|
49
|
-
"workflows/operations",
|
|
50
|
-
"workflows/api-reference"
|
|
76
|
+
"tab": "Build",
|
|
77
|
+
"groups": [
|
|
78
|
+
{
|
|
79
|
+
"group": "Build with Atomic",
|
|
80
|
+
"pages": [
|
|
81
|
+
"build"
|
|
51
82
|
]
|
|
52
83
|
},
|
|
53
|
-
"prompt-templates",
|
|
54
|
-
"themes",
|
|
55
|
-
"packages",
|
|
56
84
|
{
|
|
57
|
-
"group": "
|
|
85
|
+
"group": "Extend a session",
|
|
86
|
+
"pages": [
|
|
87
|
+
{
|
|
88
|
+
"group": "Skills",
|
|
89
|
+
"pages": [
|
|
90
|
+
"skills",
|
|
91
|
+
"skills/authoring"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"prompt-templates",
|
|
95
|
+
"themes",
|
|
96
|
+
{
|
|
97
|
+
"group": "Extensions",
|
|
98
|
+
"pages": [
|
|
99
|
+
"extensions",
|
|
100
|
+
"extensions/authoring",
|
|
101
|
+
"extensions/events",
|
|
102
|
+
"extensions/ui",
|
|
103
|
+
"extensions/examples"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"group": "Orchestrate work",
|
|
110
|
+
"pages": [
|
|
111
|
+
{
|
|
112
|
+
"group": "Workflows",
|
|
113
|
+
"pages": [
|
|
114
|
+
"workflows",
|
|
115
|
+
"workflows/builtins",
|
|
116
|
+
"workflows/authoring",
|
|
117
|
+
"workflows/reliable-design",
|
|
118
|
+
"workflows/verification",
|
|
119
|
+
"workflows/operations",
|
|
120
|
+
"workflows/api-reference"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"group": "Subagents",
|
|
125
|
+
"pages": [
|
|
126
|
+
"subagents",
|
|
127
|
+
"subagents/authoring"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"group": "Intercom",
|
|
132
|
+
"pages": [
|
|
133
|
+
"intercom",
|
|
134
|
+
"intercom/operations"
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"group": "Distribute",
|
|
141
|
+
"pages": [
|
|
142
|
+
"packages",
|
|
143
|
+
"packages/authoring"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"group": "Models and providers",
|
|
58
148
|
"pages": [
|
|
59
149
|
"models",
|
|
60
150
|
"models/model-selection",
|
|
61
151
|
"models/pareto-efficiency",
|
|
62
|
-
"models/evals"
|
|
152
|
+
"models/evals",
|
|
153
|
+
"custom-provider",
|
|
154
|
+
"custom-provider/override",
|
|
155
|
+
"custom-provider/registration",
|
|
156
|
+
"custom-provider/oauth",
|
|
157
|
+
"custom-provider/streaming"
|
|
63
158
|
]
|
|
64
159
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
{
|
|
78
|
-
"group": "Programmatic Usage",
|
|
79
|
-
"pages": [
|
|
80
|
-
"sdk",
|
|
81
|
-
"rpc",
|
|
82
|
-
"json",
|
|
83
|
-
"tui"
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"group": "Platform Setup",
|
|
88
|
-
"pages": [
|
|
89
|
-
"windows",
|
|
90
|
-
"termux",
|
|
91
|
-
"tmux",
|
|
92
|
-
"terminal-setup",
|
|
93
|
-
"shell-aliases"
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"group": "Development",
|
|
98
|
-
"pages": [
|
|
99
|
-
"development"
|
|
160
|
+
{
|
|
161
|
+
"group": "Programmatic use",
|
|
162
|
+
"pages": [
|
|
163
|
+
"programmatic",
|
|
164
|
+
"sdk",
|
|
165
|
+
"rpc",
|
|
166
|
+
"rpc/extension-ui",
|
|
167
|
+
"rpc/examples",
|
|
168
|
+
"json",
|
|
169
|
+
"tui"
|
|
170
|
+
]
|
|
171
|
+
}
|
|
100
172
|
]
|
|
101
173
|
},
|
|
102
174
|
{
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
|
|
175
|
+
"tab": "Reference",
|
|
176
|
+
"groups": [
|
|
177
|
+
{
|
|
178
|
+
"group": "Reference",
|
|
179
|
+
"pages": [
|
|
180
|
+
"reference",
|
|
181
|
+
"reference/cli",
|
|
182
|
+
"settings",
|
|
183
|
+
"environment-variables",
|
|
184
|
+
"keybindings",
|
|
185
|
+
"tools",
|
|
186
|
+
"tools/edit",
|
|
187
|
+
"web-access",
|
|
188
|
+
"session-format"
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"group": "Domain reference",
|
|
193
|
+
"pages": [
|
|
194
|
+
"providers/reference",
|
|
195
|
+
"models/reference",
|
|
196
|
+
"compaction/reference",
|
|
197
|
+
"skills/reference",
|
|
198
|
+
"subagents/reference",
|
|
199
|
+
"intercom/reference",
|
|
200
|
+
"packages/reference",
|
|
201
|
+
"themes/reference",
|
|
202
|
+
"extensions/api-reference",
|
|
203
|
+
"custom-provider/api-reference",
|
|
204
|
+
"sdk/reference",
|
|
205
|
+
"rpc/protocol",
|
|
206
|
+
"tui/reference"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"group": "Platform setup",
|
|
211
|
+
"pages": [
|
|
212
|
+
"windows",
|
|
213
|
+
"termux",
|
|
214
|
+
"terminal-setup",
|
|
215
|
+
"tmux",
|
|
216
|
+
"herdr",
|
|
217
|
+
"shell-aliases"
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"group": "Project",
|
|
222
|
+
"pages": [
|
|
223
|
+
"development",
|
|
224
|
+
"changelog",
|
|
225
|
+
"models/artificial-analysis-index"
|
|
226
|
+
]
|
|
227
|
+
}
|
|
106
228
|
]
|
|
107
229
|
}
|
|
108
230
|
]
|
|
@@ -43,4 +43,4 @@ Every built-in, factory-created, direct, workflow-stage, and isolated bash or Po
|
|
|
43
43
|
|
|
44
44
|
Atomic clears these ten reserved names before overlaying the current snapshot, preventing stale metadata from another session or workflow stage. Unrelated inherited/caller variables remain intact. The snapshot is taken when execution begins, so a resumed session or later model change is reflected. SDK `createBashTool()` and `createPowerShellTool()` expose it by default; set `exposeSessionEnvironment: false` to opt out.
|
|
45
45
|
|
|
46
|
-
See [Using Atomic](/
|
|
46
|
+
See [Using Atomic](/reference/cli#environment-variables) and [RPC direct bash](/rpc/protocol#bash) for execution and streaming behavior.
|