github code-yeongyu/oh-my-openagent v5.0.0-beta.21

pre-release4 hours ago

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


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

Don't miss a new oh-my-openagent release

NewReleases is sending notifications on new releases.