Skip to content

0.9.4

Choose a tag to compare

@github-actions github-actions released this 04 Jul 03:23
· 10277 commits to main since this release
3321226

Added

  • Added dynamic GitHub Copilot model population from the live CAPI /models catalog — picker-enabled chat ids are synthesized from catalog metadata while built-in pi-ai definitions still win — plus catalog-driven thinking-level gating so synthesized and bundled Copilot models only offer the reasoning levels CAPI's capabilities.supports.reasoning_effort arrays advertise.
  • Added get_entries/get_tree RPC commands with RpcClient.getEntries/getTree helpers, a package ./rpc-entry export for launching Atomic directly in RPC mode, a session_info_changed extension event, an externalEditor settings.json override for Ctrl+G, an outputPad setting controlling message padding, BMP image detection with PNG normalization, and separate extension-load timing namespaces (inherited from upstream Pi 0.80.3).
  • Added subagent watchdog escape hatches: setting ATOMIC_SUBAGENT_ATTEMPT_IDLE_TIMEOUT_MS or ATOMIC_SUBAGENT_ATTEMPT_TIMEOUT_MS to 0 (or negative) disables the corresponding per-attempt timeout, while the ATOMIC_SUBAGENT_ATTEMPT_KILL_GRACE_MS SIGTERM→SIGKILL grace period always stays bounded (#1581).

Changed

  • Sped up startup substantially: compiled binaries now use Bun bytecode compilation (--bytecode --format=cjs, TUI first paint ~450ms → ~200ms), builtin extensions transpile through a persistent on-disk jiti cache at ~/.atomic/agent/cache/jiti/<version> (~2.8x faster warm TUI starts), the interactive TUI shell paints immediately while extensions load in the background, --version/-v is a fast path (~380ms → ~25ms), and the HTML session export module loads lazily on first use.
  • Synced @earendil-works/pi-agent-core, pi-ai, and pi-tui runtime dependencies from ^0.80.2 to ^0.80.3 across @bastani/atomic and all bundled first-party extensions, and changed the default OpenAI model to gpt-5.5 (the Atomic-specific github-copilot default remains gpt-5.4).
  • Restored upstream Pi's provider retry default by leaving retry.provider.maxRetries unset/zero unless users configure it explicitly, so Atomic's agent-level retry observes provider transport failures directly instead of the SDK retrying them first.

Fixed

  • Fixed async bash({ async: true }) jobs finishing silently: completed or failed session-managed background jobs now enqueue an async-job-result follow-up message into the originating session with duplicate suppression, retention-bounded delivery bookkeeping, full-output-path persistence for truncated previews, and lifecycle tracking that survives owner-session disposal; also fixed a leak where a failed async-manager registration left a never-executed job permanently reported as running.
  • Fixed every builtin extension (workflows, subagents, mcp, web-access, intercom, cursor) failing to load with Package subpath './package.json' is not defined by "exports" on npm/bun package installs (0.9.4-alpha.9 regression): the loader now locates package roots by scanning the node_modules resolution chain instead of exports-encapsulated require.resolve, guarded by installed-layout CI smoke tests under Node on Linux and Windows.
  • Fixed intercepted provider safety refusals dead-ending agent turns: canned zero-usage refusals are detected and auto-retried, structured safety-trigger errors (Anthropic refusal stops, OpenAI-style finish_reason: content_filter) are now retryable for all providers, and a static CAPI-derived limit snapshot (2026-07-02) keeps bundled GitHub Copilot models within real server-enforced context/output limits — including branded long-context tiers with hard input caps — whenever the live catalog is unavailable (#1608).
  • Fixed GitHub Copilot metadata handling: models use the live max_output_tokens from the catalog (#1582), active sessions adopt live catalog metadata without a restart, and COPILOT_GITHUB_TOKEN env auth routes through an endpoint resolver honoring explicit base URL overrides, GitHub Enterprise server URLs, and the public Copilot routing hub, avoiding 421 Misdirected Request failures (#1569).
  • Fixed workflow and subagent model fallback chains so request/context incompatibility failures (HTTP 400/413/422, unsupported tool/parameter, context-window overflow, invalid_request/bad_request/too_large) advance to the next candidate and ultimately fall back to the current user-selected model; bounded foreground and background subagent attempts with an idle watchdog and wall-clock cap where in-flight tool executions count as activity; skipped known unauthenticated providers before spawning; aligned the subagents and workflows model-failure classifiers with a cross-package conformance suite; and made the background runner spawn one default-model attempt when no candidates were ever configured (#1580, #1581).
  • Fixed the read tool to parse colon-delimited file:START:END (and grep-style file:LINE:COL) path selectors as line ranges instead of producing a bogus ENOENT (#1585).
  • Fixed post-compaction queued work to resume through the full agent continuation lifecycle with surfaced continuation failures (#1570), removed the fixed 10-second connect-phase timeout from the global proxy-aware HTTP dispatcher so slow provider CONNECT establishment behind policy proxies no longer fails spuriously, and made headless JSON print mode exit nonzero when the final assistant turn ends with stopReason: "error" or "aborted".
  • Fixed release packaging determinism: declared lru-cache as a direct runtime dependency, added publish-time npm-shrinkwrap.json generation matching upstream Pi, and made shrinkwrap preparation hermetic by deriving @bastani/atomic-natives and generated platform optional package entries from local stamped metadata with deterministic registry tarball URLs.
  • Fixed issues inherited from upstream Pi 0.80.3, including mid-run extension setActiveTools changes applying before the next provider request, before_agent_start system prompt overrides surviving mid-run tool changes, clean red errors (not stack traces) for invalid session files without overwriting them, outputPad-aware transcript rendering, visible backslashes in Markdown escape sequences, a visible incomplete-response error on output-length stops, --no-session --session-id for deterministic provider cache affinity, disk BMP attachment support, and a crash when undici emits an internal client error mid-stream.