oh-my-openagent v5.0.0-beta.21

v5.0.0-beta.21Pre-release
Added 1
  • Add artifact-level regression tests that inspect built bundles to prevent minification from silently stranding lazy barrels
Changed 1
  • Update @anthropic-ai/sdk pin to satisfy claude-agent-sdk's >=0.93.0 peer range
Fixed 5
  • Fix crash during mass-ulw, DAG, and task work caused by pi-tui barrel being accessed before it was loaded by sharing warm-up state across bundle copies via globalThis symbols
  • Prevent task bundle status widget timer from killing sessions by containing render faults to log once and skip instead of propagating errors
  • Long sessions no longer stop compacting after ten successful compactions
  • Todo snapshots no longer recursively retain full history, preventing KB to MB growth that refilled context after compaction
  • Manual /compact command no longer aborts an in-flight continuation when there is nothing to summarize

From oh-my-openagent

OmO 5.0.0-beta.21 — hotfix

If beta.20 killed your sessions, this is the release you want.

The crash that killed sessions (beta.20) — fixed

Error: The @earendil-works/pi-tui barrel was accessed before it was loaded terminating the whole OmO process during mass-ulw / DAG / task work (#7339, #7340, #7351). Root cause: omo-task.js ships as an independent bundle with its own private copy of the lazy pi-tui state; the compose-level warm-up only warmed omo.js's copy, the minifier collapsed the cold accessor into an unconditional throw, and the status-widget timer detonated it outside any try/catch.

The fix (#7354) is three layers deep:

  • Shared warm-up state across bundle copies — both lazy boundaries (pi-tui and the senpi engine barrel) keep their memoized state on globalThis under process-wide symbols, so warming any copy satisfies every copy.
  • The task bundle warms its own copy at registration — keeping its dynamic import alive through minification.
  • Render-fault containment — task/DAG status widgets render from bare timers; a faulting frame now logs once and skips instead of killing your session. Ever again.
  • Plus artifact-level regression tests that inspect the built bundles so minification can never silently strand a lazy barrel again.
Compaction reliability (the beta.19 complaints) — Senpi 2026.8.26 (#1124)
  • Long sessions no longer stop compacting after ten successful compactions (the absolute cap is telemetry-only now; the failure circuit breaker still guards runaways).
  • Todo snapshots no longer recursively retain full history (KB -> MB growth that refilled context right after compaction).
  • A manual /compact with nothing to summarize no longer aborts an in-flight continuation.
Install hygiene (#1125)
  • bun i -g omo-ai@beta no longer warns incorrect peer dependency "@anthropic-ai/sdk@0.91.1" — the SDK pin now satisfies claude-agent-sdk's >=0.93.0 peer range (audited symbol-by-symbol, additive-only).
Credits

Community diagnosis nailed this one: @sanguneo (#7350), @NetVar1337 (#7341), @amsminn (#7352) — all three independently identified the bundle-copy split; their approaches are co-authored into the fix commits. Compaction fixes by @haamsuk-collab (#1124).

Install: npm i -g omo-ai@beta


  • a17b91cdc Merge pull request #7356 from code-yeongyu/release/20260826-beta21-pin
  • 1007748e5 Merge pull request #7354 from code-yeongyu/fix/pi-tui-cross-bundle-warmup
View original

Upgraded? How did it go?

Discussion