Skip to main content

Module dependency_checker

Module dependency_checker 

Source
Expand description

Dependency health checker for Limitless CLI.

Runs per-stack package-manager commands, parses their output, and produces a single DiagnosticResult that tells the user whether their dependencies are installed, up-to-date, and consistent with the project manifest.

Functionsยง

check_dependencies
Inspects installed dependencies for the detected stack.
parse_requirements
Parses requirements.txt into (package_name, version_spec).
run_cargo_tree
Runs cargo tree --depth=1 --prefix=depth and returns the dependency lines (with the leading depth number stripped).
run_npm_list
Runs npm list --depth=0 --json and parses the result.
run_pip_list
Runs pip list --format=json and returns (name, version) pairs.