@bastani/atomic 0.8.26-alpha.8 → 0.8.26-alpha.9

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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.8.26-alpha.9] - 2026-06-07
6
+
7
+ ### Changed
8
+
9
+ - Documented npm/pnpm installation options in Atomic docs and limited Mintlify validation to pull requests ([#1294](https://github.com/bastani-inc/atomic/pull/1294)).
10
+ - Fixed Mintlify MDX autolinks in package docs so documentation validation passes ([#1293](https://github.com/bastani-inc/atomic/pull/1293)).
11
+
5
12
  ## [0.8.26-alpha.8] - 2026-06-07
6
13
 
7
14
  ### Changed
@@ -4,6 +4,12 @@ All notable changes to the `pi-intercom` extension will be documented in this fi
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.8.26-alpha.9] - 2026-06-07
8
+
9
+ ### Changed
10
+
11
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
12
+
7
13
  ## [0.8.26-alpha.8] - 2026-06-07
8
14
 
9
15
  ### Changed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/intercom",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26-alpha.9",
4
4
  "private": true,
5
5
  "description": "Atomic extension providing a private coordination channel between parent and child agent sessions. Fork of: https://github.com/nicobailon/pi-intercom",
6
6
  "contributors": [
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.8.26-alpha.9] - 2026-06-07
11
+
12
+ ### Changed
13
+
14
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
15
+
10
16
  ## [0.8.26-alpha.8] - 2026-06-07
11
17
 
12
18
  ### Changed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/mcp",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26-alpha.9",
4
4
  "private": true,
5
5
  "description": "Atomic extension that adapts MCP (Model Context Protocol) servers into the coding agent. Fork of: https://github.com/nicobailon/pi-mcp-adapter",
6
6
  "contributors": [
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.8.26-alpha.9] - 2026-06-07
6
+
7
+ ### Changed
8
+
9
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
10
+
5
11
  ## [0.8.26-alpha.8] - 2026-06-07
6
12
 
7
13
  ### Changed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/subagents",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26-alpha.9",
4
4
  "private": true,
5
5
  "description": "Atomic extension for delegating tasks to subagents with chains, parallel execution, and TUI clarification. Fork of: https://github.com/nicobailon/pi-subagents",
6
6
  "contributors": [
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.8.26-alpha.9] - 2026-06-07
8
+
9
+ ### Changed
10
+
11
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
12
+
7
13
  ## [0.8.26-alpha.8] - 2026-06-07
8
14
 
9
15
  ### Changed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/web-access",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26-alpha.9",
4
4
  "private": true,
5
5
  "description": "Atomic extension for web search, URL fetching, GitHub repo cloning, PDF/video extraction. Fork of: https://github.com/nicobailon/pi-web-access",
6
6
  "contributors": [
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.8.26-alpha.9] - 2026-06-07
10
+
11
+ ### Changed
12
+
13
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
14
+
9
15
  ## [0.8.26-alpha.8] - 2026-06-07
10
16
 
11
17
  ### Changed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/workflows",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26-alpha.9",
4
4
  "private": true,
5
5
  "description": "Atomic extension for multi-stage workflow authoring and execution.",
6
6
  "contributors": [
@@ -2,7 +2,7 @@
2
2
 
3
3
  LLMs have limited context windows. When conversations grow too long, Atomic uses a deletion-only form of Context Compaction called **Verbatim Compaction**: it deletes safe older transcript objects while preserving every retained object byte-for-byte. This page covers auto-compaction, manual compaction, and branch summarization.
4
4
 
5
- Atomic's default compaction design and terminology are informed by Morph's Context Compaction work: <https://www.morphllm.com/context-compaction>. In particular, Atomic follows the same core idea that coding agents benefit from deleting low-signal context instead of rewriting high-signal details like file paths, line numbers, and error strings into a lossy summary.
5
+ Atomic's default compaction design and terminology are informed by Morph's Context Compaction work: [Morph's Context Compaction](https://www.morphllm.com/context-compaction). In particular, Atomic follows the same core idea that coding agents benefit from deleting low-signal context instead of rewriting high-signal details like file paths, line numbers, and error strings into a lossy summary.
6
6
 
7
7
  **Source files** ([atomic](https://github.com/bastani-inc/atomic)):
8
8
  - [`packages/coding-agent/src/core/compaction/compaction.ts`](https://github.com/bastani-inc/atomic/blob/main/packages/coding-agent/src/core/compaction/compaction.ts) - Summary compaction logic
@@ -950,7 +950,7 @@ if (usage && usage.tokens > 100_000) {
950
950
 
951
951
  ### ctx.compact()
952
952
 
953
- Trigger Atomic's default Verbatim Compaction without awaiting completion. This is deletion-only Context Compaction: retained transcript content stays unchanged, and older low-signal objects are omitted by validated logical deletion. The approach is informed by Morph's Context Compaction write-up: <https://www.morphllm.com/context-compaction>. Use `onComplete` and `onError` for follow-up actions.
953
+ Trigger Atomic's default Verbatim Compaction without awaiting completion. This is deletion-only Context Compaction: retained transcript content stays unchanged, and older low-signal objects are omitted by validated logical deletion. The approach is informed by Morph's Context Compaction write-up: [Morph's Context Compaction](https://www.morphllm.com/context-compaction). Use `onComplete` and `onError` for follow-up actions.
954
954
 
955
955
  ```typescript
956
956
  ctx.compact({
package/docs/index.md CHANGED
@@ -9,10 +9,24 @@ Atomic is a minimal terminal coding harness. It is designed to stay small at the
9
9
 
10
10
  ## Quick start
11
11
 
12
- Install Atomic with Bun:
12
+ Install Atomic globally with npm, pnpm, or Bun:
13
+
14
+ With npm:
15
+
16
+ ```bash
17
+ npm install -g @bastani/atomic
18
+ ```
19
+
20
+ With pnpm:
21
+
22
+ ```bash
23
+ pnpm add -g @bastani/atomic
24
+ ```
25
+
26
+ With Bun:
13
27
 
14
28
  ```bash
15
- bun install -g @bastani/atomic
29
+ bun add -g @bastani/atomic
16
30
  ```
17
31
 
18
32
  Atomic does not require package install scripts. If you want to disable dependency lifecycle scripts during the Atomic install, you can add `--ignore-scripts` to the install command.
package/docs/json.md CHANGED
@@ -23,7 +23,7 @@ type AgentSessionEvent =
23
23
  | { type: "auto_retry_end"; success: boolean; attempt: number; finalError?: string };
24
24
  ```
25
25
 
26
- `queue_update` emits the full pending steering and follow-up queues whenever they change. `session_info_changed`, `model_changed`, and `thinking_level_changed` report interactive session metadata changes. `compaction_start` and `compaction_end` cover both manual and automatic Verbatim Compaction, Atomic's deletion-only Context Compaction approach inspired by <https://www.morphllm.com/context-compaction>.
26
+ `queue_update` emits the full pending steering and follow-up queues whenever they change. `session_info_changed`, `model_changed`, and `thinking_level_changed` report interactive session metadata changes. `compaction_start` and `compaction_end` cover both manual and automatic Verbatim Compaction, Atomic's deletion-only Context Compaction approach inspired by [Morph's Context Compaction](https://www.morphllm.com/context-compaction).
27
27
 
28
28
  Base events come from `AgentEvent` in `@earendil-works/pi-agent-core` (installed as an Atomic dependency):
29
29
 
@@ -4,16 +4,30 @@ This page gets you from install to a useful first Atomic session.
4
4
 
5
5
  ## Prerequisites
6
6
 
7
- - **Node.js 20.6 or newer** — required when running Atomic from the published npm package. Check with `node --version`.
8
- - **Bun 1.3.14 or newer** — use Bun for installation, Atomic repository development, validation commands, and workflow-authoring examples.
7
+ - **Node.js 24 LTS or newer** — Atomic requires the latest Node LTS runtime. Check with `node --version`.
8
+ - **A package manager** — use npm (included with Node), pnpm, Yarn, or Bun. Use Bun 1.3.14+ for Bun installs or workflow-authoring examples.
9
9
  - **Model-provider access** — Use `/login` after startup. Supports provider subscriptions and APIs.
10
10
 
11
11
  ## Install
12
12
 
13
- Install the published package with Bun:
13
+ Install the published package globally with npm, pnpm, or Bun:
14
+
15
+ With npm:
16
+
17
+ ```bash
18
+ npm install -g @bastani/atomic
19
+ ```
20
+
21
+ With pnpm:
22
+
23
+ ```bash
24
+ pnpm add -g @bastani/atomic
25
+ ```
26
+
27
+ With Bun:
14
28
 
15
29
  ```bash
16
- bun install -g @bastani/atomic
30
+ bun add -g @bastani/atomic
17
31
  ```
18
32
 
19
33
  Atomic does not require package install scripts. If you want to disable dependency lifecycle scripts during the Atomic install, you can add `--ignore-scripts` to the install command.
package/docs/rpc.md CHANGED
@@ -352,7 +352,7 @@ Response:
352
352
 
353
353
  #### compact
354
354
 
355
- Run Atomic's default Verbatim Compaction to reduce token usage. This command has no prompt/config fields; send no custom instructions. Atomic asks the selected model for deletion targets using a fixed internal prompt, validates them, appends a `context_compaction` entry, and rebuilds active context with surviving entries/content blocks reused verbatim. This deletion-only Context Compaction approach is informed by Morph's article: <https://www.morphllm.com/context-compaction>.
355
+ Run Atomic's default Verbatim Compaction to reduce token usage. This command has no prompt/config fields; send no custom instructions. Atomic asks the selected model for deletion targets using a fixed internal prompt, validates them, appends a `context_compaction` entry, and rebuilds active context with surviving entries/content blocks reused verbatim. This deletion-only Context Compaction approach is informed by Morph's article: [Morph's Context Compaction](https://www.morphllm.com/context-compaction).
356
356
 
357
357
  ```json
358
358
  {"type": "compact"}
package/docs/sdk.md CHANGED
@@ -39,7 +39,21 @@ await session.prompt("What files are in the current directory?");
39
39
 
40
40
  ## Installation
41
41
 
42
- Install the SDK package with Bun:
42
+ Install `@bastani/atomic` as a project dependency with npm, pnpm, or Bun:
43
+
44
+ With npm:
45
+
46
+ ```bash
47
+ npm install @bastani/atomic
48
+ ```
49
+
50
+ With pnpm:
51
+
52
+ ```bash
53
+ pnpm add @bastani/atomic
54
+ ```
55
+
56
+ With Bun:
43
57
 
44
58
  ```bash
45
59
  bun add @bastani/atomic
@@ -47,7 +61,7 @@ bun add @bastani/atomic
47
61
 
48
62
  Atomic does not require package install scripts. If you want to disable dependency lifecycle scripts during the Atomic install, you can add `--ignore-scripts` to the install command.
49
63
 
50
- The SDK is included in the main package. No separate installation needed.
64
+ The SDK is included in the main package. No separate SDK package is needed.
51
65
 
52
66
  ## Core Concepts
53
67
 
@@ -235,7 +235,7 @@ Optional fields:
235
235
 
236
236
  ### ContextCompactionEntry
237
237
 
238
- Created by `/compact` and auto-compaction. Stores Atomic's default **Verbatim Compaction** data: validated logical deletion targets, not replacement text. During `buildSessionContext()`, matching entries/content blocks are filtered from active LLM context while retained content remains verbatim. This deletion-only Context Compaction approach is informed by Morph's write-up at <https://www.morphllm.com/context-compaction>.
238
+ Created by `/compact` and auto-compaction. Stores Atomic's default **Verbatim Compaction** data: validated logical deletion targets, not replacement text. During `buildSessionContext()`, matching entries/content blocks are filtered from active LLM context while retained content remains verbatim. This deletion-only Context Compaction approach is informed by Morph's write-up at [Morph's Context Compaction](https://www.morphllm.com/context-compaction).
239
239
 
240
240
  ```json
241
241
  {"type":"context_compaction","id":"ctx12345","parentId":"f6g7h8i9","timestamp":"2024-12-03T14:12:00.000Z","promptVersion":1,"deletedTargets":[{"kind":"entry","entryId":"b2c3d4e5"}],"protectedEntryIds":["a1b2c3d4"],"stats":{"objectsBefore":20,"objectsAfter":19,"objectsDeleted":1,"tokensBefore":50000,"tokensAfter":43000,"percentReduction":14},"backupPath":"/path/session.jsonl.2024-12-03T14-12-00-000Z.compact.bak"}
package/docs/termux.md CHANGED
@@ -20,7 +20,7 @@ pkg install nodejs termux-api git
20
20
  npm install -g @bastani/atomic
21
21
 
22
22
  # If you have installed Bun separately in Termux, you can use Bun instead:
23
- # bun install -g @bastani/atomic
23
+ # bun add -g @bastani/atomic
24
24
 
25
25
  # Create config directory
26
26
  mkdir -p ~/.atomic/agent
package/docs/usage.md CHANGED
@@ -89,7 +89,7 @@ Useful session commands:
89
89
  - `/tree` navigates the in-file session tree and can summarize abandoned branches.
90
90
  - `/fork` creates a new session from an earlier user message.
91
91
  - `/clone` duplicates the current active branch into a new session file.
92
- - `/compact` uses Verbatim Compaction: a fixed no-argument deletion-only planner applies only validated logical deletions; retained transcript content stays verbatim. Atomic's approach is informed by Morph's Context Compaction article: <https://www.morphllm.com/context-compaction>.
92
+ - `/compact` uses Verbatim Compaction: a fixed no-argument deletion-only planner applies only validated logical deletions; retained transcript content stays verbatim. Atomic's approach is informed by Morph's Context Compaction article: [Morph's Context Compaction](https://www.morphllm.com/context-compaction).
93
93
 
94
94
  See [Sessions](/sessions) and [Compaction](/compaction) for details.
95
95
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/atomic",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26-alpha.9",
4
4
  "description": "Atomic coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "atomicConfig": {