github Yeachan-Heo/oh-my-claudecode v3.8.5
v3.8.5 - State Migration & PreCompact Improvements

latest releases: v4.14.0, v4.13.7, v4.13.6...
3 months ago

What's New

State Migration

  • HUD state files now read from .omc/state/*.json with automatic fallback to legacy .omc/*.json paths
  • Added resolveStatePath() helper for consistent path resolution across HUD readers
  • Updated state-manager LEGACY_LOCATIONS with new entries (autopilot-state, ultraqa-state, hud-state, prd)

Swarm JSON Sidecar

  • New swarm-summary.json file written alongside SQLite database for external monitoring
  • Updated at 4 integration points: swarm start, task claim, task complete, swarm end
  • Enables PreCompact hook to read swarm state without SQLite dependency

PreCompact Hook Enhancements

  • Now captures all 8 orchestration modes: autopilot, ralph, ultrawork, swarm, ultrapilot, ecomode, pipeline, ultraqa
  • Real TODO counts read from task list file instead of hardcoded zeros
  • Swarm state read from JSON sidecar instead of checking database file

Files Modified

  • src/hud/omc-state.ts - State path resolution with legacy fallback
  • src/hud/state.ts - HUD state directory migration
  • src/features/state-manager/index.ts - Expanded legacy locations
  • src/hooks/swarm/state.ts - SwarmSummary interface and writer
  • src/hooks/swarm/claiming.ts - Sidecar writes on claim/complete
  • src/hooks/swarm/index.ts - Sidecar writes on start/stop
  • src/hooks/pre-compact/index.ts - All 8 modes + real TODO counts

Full Changelog: v3.8.4...v3.8.5

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

NewReleases is sending notifications on new releases.