github code-yeongyu/oh-my-openagent v4.9.1

3 hours ago

oh-my-opencode v4.9.1

Patch release fixing a crash that hit every LazyCodex (Codex Light) install on v4.9.0.

🩺 omo doctor no longer crashes on zero-dependency installs

Bun reports failed module resolution (dynamic import() and createRequire().resolve()) by throwing a ResolveMessage that is not an instanceof Error, so doctor's rethrow-non-Error guards escalated a routine "optional dependency absent" probe into Doctor failed unexpectedly: ResolveMessage: Cannot find module '@ast-grep/napi'. Because lazycodex-ai intentionally ships zero dependencies, every Codex Light install crashed on omo doctor. Both probe sites (@ast-grep/napi import and the comment-checker require.resolve) now degrade to a normal "not installed" report via a shared isModuleResolutionFailure predicate, restoring the doctor contract that checks report instead of throwing.


  • ebbd01d fix(doctor): treat Bun ResolveMessage throws as absent optional deps

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

NewReleases is sending notifications on new releases.