MCPcopy Create free account

hub / github.com/1minds3t/omnipkg / functions

Functions1,775 in github.com/1minds3t/omnipkg

↓ 1 callersMethodensure_library_version
Ensure a specific version of a system library is available.
src/omnipkg/libresolver.py:129
↓ 1 callersFunctionensure_python_or_relaunch
Ensures the script is running on a specific Python version. If not, it finds the target interpreter and relaunches the script using os.execve
src/omnipkg/common_utils.py:639
↓ 1 callersFunctionensure_uv_ffi_for_python
* ensure_uv_ffi_for_python — install uv_ffi into a non-main interpreter * (e.g. cpython-3.9.23) if it is missing, then notify the daemon worker * to
src/omnipkg/dispatcher.c:1263
↓ 1 callersFunctionestimate_package_memory
(worker_name)
src/omnipkg/isolation/resource_monitor.py:85
↓ 1 callersMethodexecute
Run *code* inside an isolated worker that has *spec* installed. Worker is created on first call and reused on subsequent calls.
src/omnipkg/isolation/worker_daemon.py:6213
↓ 1 callersFunctionexecute_omnipkg_command
Executes validated commands with streaming output (generator function). Yields output line-by-line in real-time.
src/omnipkg/apis/local_bridge.py:291
↓ 1 callersFunctionexecute_run_command
Enhanced to properly handle Python stdin mode and ensure healing works correctly.
src/omnipkg/commands/run.py:2915
↓ 1 callersMethodexecute_with_healing
Execute a CLI command with automatic conflict resolution
src/omnipkg/integration/cli_executor.py:95
↓ 1 callersFunctionexport_lock
Snapshot the current omnipkg environment to a TOML lock file. Default location: <venv_root>/.omnipkg/omnipkg.lock Override with output_p
src/omnipkg/integration/reproducible.py:1457
↓ 1 callersFunctionextract_version
Extract version string from Python path for error messages.
src/omnipkg/dispatcher.py:2090
↓ 1 callersFunctionfast_setup
Detects the actual main env rich version, then ensures bubbles exist.
src/omnipkg/tests/test_rich_switching.py:61
↓ 1 callersFunctionffi_stamp_exists
src/omnipkg/dispatcher.c:1237
↓ 1 callersFunctionfind_cl
()
src/omnipkg/windows_bootstrap/launcher.py:8
↓ 1 callersFunctionfind_free_port
Finds an available port starting from start_port.
src/omnipkg/apis/local_bridge.py:206
↓ 1 callersMethodfind_working_combination
Find a known working system library combination for a package.
src/omnipkg/libresolver.py:598
↓ 1 callersFunctionfix_conda_corruption
A standalone function to manually trigger a check and restore. This is useful for scripts or manual repair. It creates its own backups an
src/omnipkg/CondaGuard.py:134
↓ 1 callersMethodfix_permission
Guide the user through resolving the Chrome Local Network Access permission.
src/omnipkg/apis/local_bridge.py:797
↓ 1 callersFunctionforce_omnipkg_rescan
(omnipkg_core, package_name)
src/omnipkg/tests/test_uv_switching.py:144
↓ 1 callersFunctiongenerate
()
src/omnipkg/apis/local_bridge.py:505
↓ 1 callersFunctiongetInfoPage
()
cloud/worker.js:134
↓ 1 callersMethodget_actual_current_site_packages
Gets the ACTUAL site-packages directory for the currently running Python interpreter. This is more reliable than calculating it from
src/omnipkg/core.py:2417
↓ 1 callersMethodget_cache_stats
Get cache statistics.
src/omnipkg/core.py:16814
↓ 1 callersMethodget_cache_stats
Get cache statistics
src/omnipkg/installation/metadata_cache.py:205
↓ 1 callersMethodget_cli_package_info
Find which package provides this CLI command
src/omnipkg/integration/cli_executor.py:51
↓ 1 callersFunctionget_config
Load config using ConfigManager
src/omnipkg/activator.py:18
↓ 1 callersMethodget_disk_state
Scans a bubble folder and returns the absolute truth of what is installed. Returns: { 'canonical-name': 'version' }
tests/test_verify_bubble_deps.py:19
↓ 1 callersFunctionget_gpu_summary
()
src/omnipkg/isolation/resource_monitor.py:227
↓ 1 callersFunctionget_idle_policy
Fetch the live idle-worker config from the daemon. Returns a dict keyed by display version string (e.g. "3.11") whose values are (target
src/omnipkg/isolation/resource_monitor.py:47
↓ 1 callersMethodget_instance
(cls)
src/omnipkg/isolation/worker_daemon.py:6205
↓ 1 callersFunctionget_multiversion_base
Get base path from config with fallbacks
src/omnipkg/activator.py:24
↓ 1 callersMethodget_package_path
(self, package_name: str, version: str)
src/omnipkg/activator.py:55
↓ 1 callersMethodget_performance_stats
Returns detailed performance statistics for CI/logging purposes.
src/omnipkg/loader.py:4534
↓ 1 callersFunctionget_rich_version
Read version directly from disk — no import cache.
tests/test_ffi_verify.py:18
↓ 1 callersMethodget_version
(self, package_name)
src/omnipkg/loader.py:5590
↓ 1 callersFunctionget_vs_env
()
src/omnipkg/windows_bootstrap/launcher.py:15
↓ 1 callersFunctionghost_mode
src/omnipkg/windows_bootstrap/bootstrap.c:5
↓ 1 callersFunctiongo_deeper_legacy
(level)
src/omnipkg/tests/test_loader_stress_test.py:427
↓ 1 callersFunctionhandle_shim_execution
(prog_name: str, debug: bool)
src/omnipkg/dispatcher.py:1322
↓ 1 callersMethodheal
(UPGRADED) Audits, reconciles conflicting requirements, and attempts to fix dependency conflicts by installing a single, consistent s
src/omnipkg/core.py:9768
↓ 1 callersFunctionheal_code_string
Quick function to heal a code string. Args: code: Python code to heal verbose: Print detailed healing messages aggre
src/omnipkg/utils/ai_import_healer.py:372
↓ 1 callersMethodheal_file
Heal a file in-place. Returns: True if file was modified, False otherwise
src/omnipkg/utils/ai_import_healer.py:317
↓ 1 callersMethodheal_runtime_error
Analyze a runtime error and suggest system library versions that might fix it. This is the core of the "runtime healer" functionality
src/omnipkg/libresolver.py:611
↓ 1 callersFunctionheal_with_bubble
Creates ISOLATED bubbles for the requested specs and re-runs the script. CRITICAL FIX: Healing plan specs have ABSOLUTE PRIORITY. Script
src/omnipkg/commands/run.py:1797
↓ 1 callersMethodhealth_check
Check if worker is responsive. For ABI packages, probes a real import to catch 'cannot load module more than once per process' before reuse.
src/omnipkg/isolation/worker_daemon.py:3337
↓ 1 callersMethodhkeys
(self, name: str)
src/omnipkg/cache.py:67
↓ 1 callersFunctioninit_db
()
src/omnipkg/apis/local_bridge.py:414
↓ 1 callersFunctioninjectRunButtons
()
docs/assets/js/interact.js:185
↓ 1 callersFunctioninjectStaticButtons
()
docs/assets/js/interact.js:202
↓ 1 callersFunctioninspect_bubble_structure
Prints a summary of the bubble's directory structure for verification.
src/omnipkg/tests/test_uv_switching.py:152
↓ 1 callersMethodinstall_and_verify
(V10 - COMPLETE FIX) Builds a bubble and verifies using smart group-aware testing. FIX: Now properly creates manifest and re
src/omnipkg/core.py:3866
↓ 1 callersMethodinstall_and_verify
( self, package_name: str, version: str, python_context_version: str,
src/omnipkg/installation/smart_install.py:652
↓ 1 callersMethodinstall_import_hook
(self)
src/omnipkg/core.py:6163
↓ 1 callersMethodis_cache_entry_stale
Returns True if cache entry is older than max_age_seconds. PERF: Check file cache timestamp first (pure in-memory, ~0µs). Only hit Re
src/omnipkg/core.py:16965
↓ 1 callersMethodis_dirty_since
Returns True if the sentinel was touched after cache_built_at, meaning some process mutated the FS since the cache was populated.
src/omnipkg/isolation/fs_lock_queue.py:311
↓ 1 callersFunctionis_help_flag
src/omnipkg/dispatcher.c:344
↓ 1 callersMethodis_installed_cli
Check if command is an installed Python CLI tool
src/omnipkg/integration/cli_executor.py:33
↓ 1 callersFunctionis_package_corrupted
Checks if a package is 'Ghosted' (metadata exists so pip thinks it's installed, but the actual module cannot be imported). NOTE: We deli
src/omnipkg/commands/run.py:1001
↓ 1 callersFunctionis_version_flag
src/omnipkg/dispatcher.c:350
↓ 1 callersFunctionis_windows
Check if running on Windows.
src/omnipkg/utils/flask_port_finder.py:60
↓ 1 callersMethodload_version_map
(self)
src/omnipkg/core.py:6054
↓ 1 callersMethodload_version_map
(self)
src/omnipkg/activator.py:43
↓ 1 callersFunctionlogToYourBridge
(eventData)
cloud/worker.js:92
↓ 1 callersFunctionlog_open
src/omnipkg/ghost.c:22
↓ 1 callersFunctionmain
Omnipkg Unified Dispatcher.
src/omnipkg/dispatcher.py:29
↓ 1 callersFunctionmain
()
src/omnipkg/isolation/fs_watcher.py:1257
↓ 1 callersFunctionmain
()
src/omnipkg/tests/test_tensorflow_switching.py:678
↓ 1 callersFunctionmain
()
src/omnipkg/tests/benchmark_transport.py:507
↓ 1 callersFunctionmain
()
src/omnipkg/tests/test_daemon_tags.py:202
↓ 1 callersFunctionmain
()
src/omnipkg/tests/test_concurrent_install.py:426
↓ 1 callersFunctionmake_test1
Test 1: Load TensorFlow 2.13.0 from a bubble. ── API: omnipkgLoader (legacy loader) ─────────────────────────────────── from omnipkg.l
src/omnipkg/tests/test_tensorflow_switching.py:259
↓ 1 callersFunctionmake_test2
Test 2: Switch pure-Python packages between contexts. Pure Python packages (no .so/.pyd files) CAN be swapped by the legacy loader becau
src/omnipkg/tests/test_tensorflow_switching.py:318
↓ 1 callersFunctionmake_test3
Test 3: Nested loaders — outer context + inner context. Contexts stack correctly. The inner loader activates its bubble on top of the o
src/omnipkg/tests/test_tensorflow_switching.py:367
↓ 1 callersFunctionmake_test4
Test 4: The C-extension limitation — honest, explained, not a crash. This test intentionally tries to switch TF versions mid-process. Th
src/omnipkg/tests/test_tensorflow_switching.py:417
↓ 1 callersFunctionmd5_final
src/omnipkg/dispatcher.c:284
↓ 1 callersFunctionmd5_init
src/omnipkg/dispatcher.c:265
↓ 1 callersFunctionmetadata
(name)
src/omnipkg/__init__.py:53
↓ 1 callersFunctionmini_inception
(level=0)
src/omnipkg/tests/test_loader_stress_test.py:1310
↓ 1 callersFunctionmini_tornado
()
src/omnipkg/tests/test_loader_stress_test.py:1301
↓ 1 callersMethodmtime
Return the sentinel's mtime, or 0.0 if it doesn't exist.
src/omnipkg/isolation/fs_lock_queue.py:304
↓ 1 callersFunctionmultiverse_analysis
()
src/omnipkg/tests/test_multiverse_healing.py:191
↓ 1 callersFunctionmy_risky_hotswap_function
(file_to_corrupt)
src/omnipkg/CondaGuard.py:158
↓ 1 callersFunctionomnipkg_clean_packages
Uses omnipkg to cleanly uninstall numpy and scipy.
src/omnipkg/tests/test_version_combos.py:58
↓ 1 callersFunctionomnipkg_install_baseline
Use omnipkg to install baseline versions.
src/omnipkg/tests/test_version_combos.py:70
↓ 1 callersFunctionparse_version_suffix
src/omnipkg/dispatcher.c:412
↓ 1 callersFunctionphase_analysis
Overhead dissection: perf stat + strace (external tools, may need perms) + in-worker cProfile (always works). If perf_log_path is set, w
src/omnipkg/tests/benchmark_transport.py:913
↓ 1 callersFunctionphase_daemon_tf
Test 5: Run TF 2.13.0 + TF 2.12.0 via daemon, twice. First run = cold (workers spin up). Second run = hot (workers already warm, spec alr
src/omnipkg/tests/test_tensorflow_switching.py:634
↓ 1 callersFunctionphase_setup
()
src/omnipkg/tests/test_tensorflow_switching.py:189
↓ 1 callersFunctionprint_benchmark_summary
(results: list, total_time: float)
src/omnipkg/tests/test_concurrent_install.py:402
↓ 1 callersFunctionprint_chaos_header
()
src/omnipkg/tests/test_loader_stress_test.py:86
↓ 1 callersMethodprune_bubbled_versions
Intelligently removes old bubbled versions of a package.
src/omnipkg/core.py:7900
↓ 1 callersMethodread_state
Reads current state without locking (dirty read).
src/omnipkg/isolation/worker_daemon.py:416
↓ 1 callersMethodrecord_our_write
Called by the UV worker AFTER a successful FFI install so the watcher knows the next FS event for this install was OURS, not an exter
src/omnipkg/isolation/fs_watcher.py:224
↓ 1 callersMethodrelease_atomic_spinlock
Unlock: CAS(Odd -> Odd + 1). Makes it Even (Free).
src/omnipkg/isolation/worker_daemon.py:486
↓ 1 callersMethodreset_knowledge_base
Deletes ALL omnipkg data for the CURRENT environment from Redis, and then triggers a full rebuild.
src/omnipkg/core.py:7731
↓ 1 callersMethodrevert_to_last_known_good
Compares the current env to the last snapshot and restores it.
src/omnipkg/core.py:13812
↓ 1 callersFunctionrun
Execute a uv command via the Rust FFI layer. Args: cmd: Shell-style uv argument string, WITHOUT the leading "uv". Examp
src/omnipkg/_vendor/uv_ffi/__init__.py:197
↓ 1 callersFunctionrun
Main entry point for the stress test.
src/omnipkg/tests/test_version_combos.py:381
↓ 1 callersFunctionrunCommand
(cmd, btnElement)
docs/assets/js/interact.js:274
↓ 1 callersFunctionrun_bridge_server
The entry point for the background process.
src/omnipkg/apis/local_bridge.py:600
↓ 1 callersFunctionrun_comprehensive_test
()
src/omnipkg/tests/test_uv_switching.py:244
← previousnext →901–1,000 of 1,775, ranked by callers