omnipkg v1.6.2 - Universal Runtime Healing Introduced
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 runnow handles stdin execution (python <<EOForcat script.py | 8pkg run python). If the piped code fails,omnipkgcaptures 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
ModuleNotFoundErroroccurs, 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. Ifhttpieis broken due to dependency conflicts (e.g.,urllib3version 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.pathinjection logs during wrapper execution. Use--verboseto 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 runfailure-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