@bastani/atomic 0.8.26-alpha.8 → 0.8.26

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 (40) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/builtin/intercom/CHANGELOG.md +24 -0
  3. package/dist/builtin/intercom/package.json +1 -1
  4. package/dist/builtin/mcp/CHANGELOG.md +28 -0
  5. package/dist/builtin/mcp/package.json +1 -1
  6. package/dist/builtin/subagents/CHANGELOG.md +33 -0
  7. package/dist/builtin/subagents/agents/codebase-analyzer.md +1 -1
  8. package/dist/builtin/subagents/agents/codebase-locator.md +1 -1
  9. package/dist/builtin/subagents/agents/codebase-pattern-finder.md +1 -1
  10. package/dist/builtin/subagents/agents/codebase-research-analyzer.md +1 -1
  11. package/dist/builtin/subagents/agents/codebase-research-locator.md +1 -1
  12. package/dist/builtin/subagents/package.json +1 -1
  13. package/dist/builtin/web-access/CHANGELOG.md +24 -0
  14. package/dist/builtin/web-access/package.json +1 -1
  15. package/dist/builtin/workflows/CHANGELOG.md +40 -0
  16. package/dist/builtin/workflows/package.json +1 -1
  17. package/dist/core/agent-session.d.ts.map +1 -1
  18. package/dist/core/agent-session.js +4 -2
  19. package/dist/core/agent-session.js.map +1 -1
  20. package/dist/core/compaction/context-compaction.d.ts +125 -11
  21. package/dist/core/compaction/context-compaction.d.ts.map +1 -1
  22. package/dist/core/compaction/context-compaction.js +1112 -78
  23. package/dist/core/compaction/context-compaction.js.map +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/index.js.map +1 -1
  28. package/docs/compaction.md +120 -37
  29. package/docs/extensions.md +4 -4
  30. package/docs/index.md +16 -2
  31. package/docs/json.md +1 -1
  32. package/docs/quickstart.md +18 -4
  33. package/docs/rpc.md +4 -4
  34. package/docs/sdk.md +18 -2
  35. package/docs/session-format.md +1 -1
  36. package/docs/sessions.md +1 -1
  37. package/docs/settings.md +1 -1
  38. package/docs/termux.md +1 -1
  39. package/docs/usage.md +2 -2
  40. package/package.json +3 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,54 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.8.26] - 2026-06-08
6
+
7
+ ### Added
8
+
9
+ - Added deletion-only transcript compaction as the default `/compact` behavior, preserving retained transcript content verbatim while validating model-proposed logical deletion targets.
10
+ - Added session entries and expandable summary-card rendering for completed context compaction results.
11
+
12
+ ### Changed
13
+
14
+ - Improved Windows cold startup by lazily loading bundled web-access, intercom, and MCP implementation modules, deferring readiness checks until after the first interactive frame, and adding detailed startup timing spans ([#1223](https://github.com/bastani-inc/atomic/issues/1223)).
15
+ - Updated automatic compaction and manual `/compact` documentation to describe transcript-bound Verbatim Compaction, validated logical deletion targets, critical overflow behavior, and legacy summary-compaction settings.
16
+ - Documented npm and pnpm installation options in Atomic docs and limited Mintlify validation to pull requests ([#1294](https://github.com/bastani-inc/atomic/pull/1294)).
17
+ - Updated builtin `ralph` workflow docs to describe the safe default for PR creation, `create_pr=true` opt-in examples, omitted disabled `pr_report`, and final-stage-only provider-aware PR/MR/review creation instructions ([#1255](https://github.com/bastani-inc/atomic/issues/1255)).
18
+ - Updated maintainer release guidance so prerelease and stable changelog entries summarize concrete user-facing changes instead of placeholder version-bump notes.
19
+ - Bumped the `@earendil-works/pi-agent-core`, `@earendil-works/pi-ai`, and `@earendil-works/pi-tui` dependencies to 0.78.1.
20
+
21
+ ### Fixed
22
+
23
+ - Fixed an uncaught `TypeError: child.render is not a function` crash on `/resume` when an extension custom-message renderer returned a non-`Component` value, and allowed custom-message renderers to return `null` to render nothing ([#1236](https://github.com/bastani-inc/atomic/issues/1236)).
24
+ - Fixed auto-compaction so queued in-progress work resumes without requiring a manual follow-up prompt ([#1280](https://github.com/bastani-inc/atomic/issues/1280)).
25
+ - Clarified overflow auto-compaction warnings in the TUI footer so automatic transcript compaction is reported distinctly from user-triggered compaction ([#1250](https://github.com/bastani-inc/atomic/issues/1250)).
26
+ - Fixed internal Git subprocesses to strip ambient repository-local Git environment variables before package-manager and footer branch lookups inspect a targeted working tree.
27
+ - Fixed Mintlify MDX autolinks in package docs so documentation validation passes ([#1293](https://github.com/bastani-inc/atomic/pull/1293)).
28
+
29
+ ### Removed
30
+
31
+ - Removed the `/context-compact` interactive and workflow-stage slash command; use `/compact` instead.
32
+ - Removed the temporary manual `@earendil-works/pi-tui` patch, patched-dependency configuration, and bundled patched TUI packaging fallback.
33
+
34
+ ## [0.8.26-alpha.11] - 2026-06-08
35
+
36
+ ### Changed
37
+
38
+ - Updated maintainer release guidance to require prerelease and stable changelog entries to summarize concrete user-facing changes instead of placeholder version-bump notes.
39
+
40
+ ## [0.8.26-alpha.10] - 2026-06-08
41
+
42
+ ### Changed
43
+
44
+ - Updated compaction documentation to explain transcript-bound Verbatim Compaction, validated logical deletion targets, critical overflow behavior, and legacy summary-compaction settings.
45
+
46
+ ## [0.8.26-alpha.9] - 2026-06-07
47
+
48
+ ### Changed
49
+
50
+ - Documented npm/pnpm installation options in Atomic docs and limited Mintlify validation to pull requests ([#1294](https://github.com/bastani-inc/atomic/pull/1294)).
51
+ - Fixed Mintlify MDX autolinks in package docs so documentation validation passes ([#1293](https://github.com/bastani-inc/atomic/pull/1293)).
52
+
5
53
  ## [0.8.26-alpha.8] - 2026-06-07
6
54
 
7
55
  ### Changed
@@ -4,6 +4,30 @@ 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] - 2026-06-08
8
+
9
+ ### Changed
10
+
11
+ - Deferred broker client/spawn and overlay UI modules until intercom connects or the overlay opens, reducing default CLI startup cost ([#1223](https://github.com/bastani-inc/atomic/issues/1223)).
12
+
13
+ ## [0.8.26-alpha.11] - 2026-06-08
14
+
15
+ ### Changed
16
+
17
+ - Published a synchronized Atomic 0.8.26-alpha.11 prerelease alongside the subagent codebase-agent tool restriction changes; no functional changes were made in the intercom extension.
18
+
19
+ ## [0.8.26-alpha.10] - 2026-06-08
20
+
21
+ ### Changed
22
+
23
+ - Bumped package version for the Atomic 0.8.26-alpha.10 prerelease.
24
+
25
+ ## [0.8.26-alpha.9] - 2026-06-07
26
+
27
+ ### Changed
28
+
29
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
30
+
7
31
  ## [0.8.26-alpha.8] - 2026-06-07
8
32
 
9
33
  ### Changed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/intercom",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26",
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,34 @@ 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] - 2026-06-08
11
+
12
+ ### Changed
13
+
14
+ - Kept MCP startup registration cheap by lazily importing the heavy MCP command, initialization, proxy-mode, and OAuth/auth-flow modules, and by deferring config/cache-backed direct-tool discovery instead of loading them on the cold extension factory path ([#1223](https://github.com/bastani-inc/atomic/issues/1223)).
15
+
16
+ ### Fixed
17
+
18
+ - Stopped logging a spurious stale-context MCP initialization error when a disposed session invalidates the captured extension context during deferred MCP `session_start` initialization; stale-context errors are now treated as cancellation for that path ([#1223](https://github.com/bastani-inc/atomic/issues/1223)).
19
+
20
+ ## [0.8.26-alpha.11] - 2026-06-08
21
+
22
+ ### Changed
23
+
24
+ - Published a synchronized Atomic 0.8.26-alpha.11 prerelease alongside the subagent codebase-agent tool restriction changes; no functional changes were made in the MCP extension.
25
+
26
+ ## [0.8.26-alpha.10] - 2026-06-08
27
+
28
+ ### Changed
29
+
30
+ - Bumped package version for the Atomic 0.8.26-alpha.10 prerelease.
31
+
32
+ ## [0.8.26-alpha.9] - 2026-06-07
33
+
34
+ ### Changed
35
+
36
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
37
+
10
38
  ## [0.8.26-alpha.8] - 2026-06-07
11
39
 
12
40
  ### Changed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/mcp",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26",
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,39 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.8.26] - 2026-06-08
6
+
7
+ ### Added
8
+
9
+ - Replaced the bundled browser-use subagent integration with the first-party `browser` skill for web interaction workflows.
10
+
11
+ ### Changed
12
+
13
+ - Restricted the bundled codebase locator, analyzer, pattern-finder, research locator, and research analyzer agent tool allowlists to read/search/directory tools only, preventing these read-only helpers from invoking `bash` while they locate or analyze code.
14
+
15
+ ### Fixed
16
+
17
+ - Fixed the `no-staged-files` acceptance runtime check and subagent worktree Git commands to ignore ambient Git repository environment variables, so subagents inspect the intended working tree instead of a parent hook or unrelated worktree.
18
+ - Suppressed intermediate model fallback failure notes and live foreground failure updates from successful subagent runs while preserving final failures and raw per-attempt diagnostics ([#1226](https://github.com/bastani-inc/atomic/issues/1226)).
19
+
20
+ ## [0.8.26-alpha.11] - 2026-06-08
21
+
22
+ ### Changed
23
+
24
+ - Restricted the bundled codebase locator, analyzer, pattern-finder, research locator, and research analyzer agent tool allowlists to read/search/directory tools only, preventing these read-only helpers from invoking `bash` while they locate or analyze code.
25
+
26
+ ## [0.8.26-alpha.10] - 2026-06-08
27
+
28
+ ### Changed
29
+
30
+ - Bumped package version for the Atomic 0.8.26-alpha.10 prerelease.
31
+
32
+ ## [0.8.26-alpha.9] - 2026-06-07
33
+
34
+ ### Changed
35
+
36
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
37
+
5
38
  ## [0.8.26-alpha.8] - 2026-06-07
6
39
 
7
40
  ### Changed
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: codebase-analyzer
3
3
  description: Analyzes codebase implementation details. Call the codebase-analyzer agent when you need to find detailed information about specific components.
4
- tools: read, grep, find, ls, bash
4
+ tools: read, grep, find, ls
5
5
  model: openai/gpt-5.5:low
6
6
  fallbackModels: openai-codex/gpt-5.5:low, github-copilot/gpt-5.5:low, anthropic/claude-opus-4-8:low, github-copilot/claude-opus-4.7:low
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: codebase-locator
3
3
  description: Locates files, directories, and components relevant to a feature or task. Basically a "super search/find/ls tool."
4
- tools: read, grep, find, ls, bash
4
+ tools: read, grep, find, ls
5
5
  model: openai/gpt-5.4-mini:low
6
6
  fallbackModels: openai-codex/gpt-5.4-mini:low, github-copilot/gpt-5.4-mini:low, anthropic/claude-haiku-4-5:low, github-copilot/claude-haiku-4.5:low
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: codebase-pattern-finder
3
3
  description: Find similar implementations, usage examples, or existing patterns in the codebase that can be modeled after.
4
- tools: read, grep, find, ls, bash
4
+ tools: read, grep, find, ls
5
5
  model: openai/gpt-5.4-mini:low
6
6
  fallbackModels: openai-codex/gpt-5.4-mini:low, github-copilot/gpt-5.4-mini:low, anthropic/claude-haiku-4-5:low, github-copilot/claude-haiku-4.5:low
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: codebase-research-analyzer
3
3
  description: Analyzes local research documents to extract high-value insights, decisions, and technical details while filtering out noise. Use this when you want to deep dive on a research topic or understand the rationale behind decisions.
4
- tools: read, grep, find, ls, bash
4
+ tools: read, grep, find, ls
5
5
  model: openai/gpt-5.5:low
6
6
  fallbackModels: openai-codex/gpt-5.5:low, github-copilot/gpt-5.5:low, anthropic/claude-opus-4-8:low, github-copilot/claude-opus-4.7:low
7
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: codebase-research-locator
3
3
  description: Discovers local research documents that are relevant to the current research task.
4
- tools: read, grep, find, ls, bash
4
+ tools: read, grep, find, ls
5
5
  model: openai/gpt-5.4-mini:low
6
6
  fallbackModels: openai-codex/gpt-5.4-mini:low, github-copilot/gpt-5.4-mini:low, anthropic/claude-haiku-4-5:low, github-copilot/claude-haiku-4.5:low
7
7
  ---
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/subagents",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26",
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,30 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.8.26] - 2026-06-08
8
+
9
+ ### Changed
10
+
11
+ - Deferred heavy search, fetch, curator, summary, provider-probing, and code-search modules until the relevant web-access tool or command is invoked, reducing default CLI startup cost ([#1223](https://github.com/bastani-inc/atomic/issues/1223)).
12
+
13
+ ## [0.8.26-alpha.11] - 2026-06-08
14
+
15
+ ### Changed
16
+
17
+ - Published a synchronized Atomic 0.8.26-alpha.11 prerelease alongside the subagent codebase-agent tool restriction changes; no functional changes were made in the web-access extension.
18
+
19
+ ## [0.8.26-alpha.10] - 2026-06-08
20
+
21
+ ### Changed
22
+
23
+ - Bumped package version for the Atomic 0.8.26-alpha.10 prerelease.
24
+
25
+ ## [0.8.26-alpha.9] - 2026-06-07
26
+
27
+ ### Changed
28
+
29
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
30
+
7
31
  ## [0.8.26-alpha.8] - 2026-06-07
8
32
 
9
33
  ### 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",
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,46 @@ 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] - 2026-06-08
10
+
11
+ ### Changed
12
+
13
+ - Updated workflow-stage chat so `/compact` is the no-argument compaction command and `/context-compact` is no longer handled locally.
14
+ - Refined bundled workflow prompts to keep natural instructions inside meaningful XML sections while removing redundant wrapper noise.
15
+ - Upgraded builtin workflow fallback model tiers so degraded runs land on stronger models across `deep-research-codebase`, `goal`, `ralph`, and `open-claude-design` ([#1259](https://github.com/bastani-inc/atomic/issues/1259)).
16
+ - Changed the builtin `ralph` workflow to include the workflow current working directory in every stage prompt and to skip pull-request creation by default unless `create_pr=true`, omitting `pr_report` when disabled while keeping provider-aware PR/MR/review creation instructions in the final stage ([#1255](https://github.com/bastani-inc/atomic/issues/1255)).
17
+ - Updated the `research-codebase` skill to capture and carry a `breaking_changes_allowed` compatibility posture through research fanout and downstream research documents ([#1225](https://github.com/bastani-inc/atomic/issues/1225)).
18
+
19
+ ### Fixed
20
+
21
+ - Fixed workflow custom-message renderers for inline forms and workflow run banners so persisted workflow messages no longer crash the host TUI with `child.render is not a function` on `/resume` ([#1236](https://github.com/bastani-inc/atomic/issues/1236)).
22
+ - Fixed the workflow input form so transient `/workflow <name>` argument selectors do not leak into model context and rehydrated stale input-form cards render nothing after `/resume`.
23
+ - Made stage sessions emit `session_shutdown` before `dispose()`, giving bound extensions graceful shutdown and preventing leaked child MCP servers or stale-context MCP initialization noise.
24
+ - Fixed stage-local workflow HIL `input` and `editor` prompts losing draft text across Ctrl+D detach/reattach; drafts are kept live-only in memory and cleared when the prompt or run/stage exits ([#1179](https://github.com/bastani-inc/atomic/issues/1179)).
25
+ - Fixed workflow worktree Git commands to strip ambient repository-local Git environment variables before inspecting or creating targeted worktrees.
26
+ - Suppressed intermediate model fallback failure warnings from successful workflow stages while preserving final failures and raw per-attempt diagnostics ([#1226](https://github.com/bastani-inc/atomic/issues/1226)).
27
+ - Fixed the workflow global tool-event hook ignoring unscoped parent-session prompts instead of attributing them to running stages, preventing false `awaiting_input` / "needs attention" states from unrelated `ask_user_question` calls ([#1261](https://github.com/bastani-inc/atomic/issues/1261)).
28
+ - Fixed the builtin `goal` and `ralph` workflows to fork looped worker/orchestrator-stage sessions from their matching prior iteration, preserving accumulated context while keeping reviewer stages independent ([#1275](https://github.com/bastani-inc/atomic/issues/1275)).
29
+ - Fixed workflow completion gates to rely on structured decision fields instead of manual text/regex heuristics in `goal` and `open-claude-design`.
30
+
31
+ ## [0.8.26-alpha.11] - 2026-06-08
32
+
33
+ ### Changed
34
+
35
+ - Published a synchronized Atomic 0.8.26-alpha.11 prerelease alongside the subagent codebase-agent tool restriction changes; no functional changes were made in the workflows extension.
36
+
37
+ ## [0.8.26-alpha.10] - 2026-06-08
38
+
39
+ ### Changed
40
+
41
+ - Bumped package version for the Atomic 0.8.26-alpha.10 prerelease.
42
+
43
+ ## [0.8.26-alpha.9] - 2026-06-07
44
+
45
+ ### Changed
46
+
47
+ - Bumped package version for the Atomic 0.8.26-alpha.9 prerelease.
48
+
9
49
  ## [0.8.26-alpha.8] - 2026-06-07
10
50
 
11
51
  ### Changed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/workflows",
3
- "version": "0.8.26-alpha.8",
3
+ "version": "0.8.26",
4
4
  "private": true,
5
5
  "description": "Atomic extension for multi-stage workflow authoring and execution.",
6
6
  "contributors": [