Skip to content

omnipkg v1.6.2 - Universal Runtime Healing Introduced

Choose a tag to compare

@1minds3t 1minds3t released this 23 Nov 20:44
· 843 commits to main since this release

This release transforms omnipkg into a truly universal execution environment. It can now accept Python code via any method (scripts, inline -c, heredocs, pipes, or CLI binaries) and wrap them in an immortal, self-healing context.

🚀 New Features

  • Universal Input Support: 8pkg run now handles stdin execution (python <<EOF or cat script.py | 8pkg run python). If the piped code fails, omnipkg captures it, analyzes the crash, auto-heals the environment, and re-runs it transparently.
  • StdLib Guard: The heuristic engine now strictly filters out Python standard library modules (like sys, os, math, json). It will no longer attempt to "install" these if a script has a syntax error involving them.
  • Smart Dependency Batching: When a ModuleNotFoundError occurs, the healer instantly scans the rest of the script for other missing imports and installs them all in a single batch operation, drastically reducing repair time.
  • CLI Healing: You can now run system tools like 8pkg run http --version. If httpie is broken due to dependency conflicts (e.g., urllib3 version mismatch), omnipkg automatically detects the tool's owner package, creates an isolated bubble, and executes the tool successfully—without touching your main environment.

🛡️ improvements & Fixes

  • Safety First Bubbling: Fixed a logic flaw where the healer would grab any available bubble version. It now correctly resolves the latest version from PyPI first, then checks if a bubble exists for that specific version.
  • Performance Stats: The "UV vs OMNIPKG" performance comparison table is now perfectly aligned and formatted, regardless of the runner name length.
  • Verbose Control: Silenced noisy sys.path injection logs during wrapper execution. Use --verbose to see them.
  • Python Management: You can now install/swap Python versions using standard install syntax: 8pkg install python==3.12.

⚡ Performance

  • Execution: ~7.8x faster than uv run failure-to-recovery cycles
  • Bubble Activation: <25ms average (sub-millisecond for cached bubbles)
  • Smart Batching: Reduces multi-package healing drastically

📦 Upgrade

# Via pip
pip install --upgrade omnipkg

# Via omnipkg itself
8pkg upgrade

# Or with conda
conda update -c conda-forge omnipkg