plano/cli/planoai
octo-patch 1c245ee19c fix: resolve host IP from Docker bridge network for Rancher Desktop compatibility (fixes #561)
`--add-host host.docker.internal:host-gateway` works on Docker Desktop
and standard Docker Engine but not on Rancher Desktop, where the
`host-gateway` keyword is not recognised.

Introduce `_get_host_ip()` which reads the gateway of the Docker bridge
network (e.g. 172.17.0.1) — a portable, concrete IP that works across
Docker Desktop, Docker Engine, and Rancher Desktop.  If the network
inspect fails for any reason the function falls back to `host-gateway`,
preserving the existing behaviour for standard installations.

Also add unit tests covering the success path, subprocess failure, and
empty-output fallback.
2026-04-17 11:48:57 +08:00
..
templates Run plano natively by default (#744) 2026-03-05 07:35:25 -08:00
__init__.py release 0.4.19 (#887) 2026-04-15 16:49:50 -07:00
config_generator.py use plano-orchestrator for LLM routing, remove arch-router (#886) 2026-04-15 16:41:42 -07:00
consts.py release 0.4.19 (#887) 2026-04-15 16:49:50 -07:00
core.py Update black hook for Python 3.14 (#857) 2026-03-31 13:18:45 -07:00
docker_cli.py fix: resolve host IP from Docker bridge network for Rancher Desktop compatibility (fixes #561) 2026-04-17 11:48:57 +08:00
init_cmd.py Introduce brand new CLI experience with tracing and quickstart (#724) 2026-02-10 13:17:43 -08:00
main.py Improve planoai up/down CLI progress output (#858) 2026-03-31 14:26:32 -07:00
native_binaries.py Use editable install to fix sdist build failure (#805) 2026-03-05 13:50:50 -08:00
native_runner.py Improve planoai up/down CLI progress output (#858) 2026-03-31 14:26:32 -07:00
rich_click_config.py Introduce brand new CLI experience with tracing and quickstart (#724) 2026-02-10 13:17:43 -08:00
targets.py Update black hook for Python 3.14 (#857) 2026-03-31 13:18:45 -07:00
template_sync.py sync CLI templates with demo configs via manifest + CI flow (#764) 2026-02-17 12:59:09 -08:00
trace_cmd.py add support for background trace collection and tracing output (#749) 2026-02-24 19:17:33 -08:00
trace_listener_runtime.py add support for background trace collection and tracing output (#749) 2026-02-24 19:17:33 -08:00
utils.py Update black hook for Python 3.14 (#857) 2026-03-31 13:18:45 -07:00
versioning.py Introduce brand new CLI experience with tracing and quickstart (#724) 2026-02-10 13:17:43 -08:00