Validate a configuration dictionary.
Load and validate a configuration file.
Generate a Dockerfile from the configuration.
Top-level config for langgraph-cli or similar deployment tooling.
A container for referencing and managing local Python dependencies.
A "local dependency" is any entry in the config's dependencies list
that starts with "." (dot), denoting a relative path
to a local directory containing Python code.
For each local dependency, the system inspects its directory to determine how it should be installed inside the Docker container.
Specifically, we detect:
pyproject.toml or a setup.py.
These can be installed with pip as a regular Python package.pyproject.toml or
setup.py but do contain Python files and possibly an __init__.py. For
these, the code dynamically generates a minimal pyproject.toml in the
Docker image so that they can still be installed with pip.requirements.txt, it is tracked so that those dependencies
can be installed within the Docker container before installing the local package.