From be8772355c8e563b2186e9c8b137422a0061973b Mon Sep 17 00:00:00 2001 From: Re-bin Date: Wed, 4 Feb 2026 09:21:53 +0000 Subject: [PATCH] fix: correct bridge path for pip-installed package --- nanobot/cli/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.py index 6b95667..c2241fb 100644 --- a/nanobot/cli/commands.py +++ b/nanobot/cli/commands.py @@ -400,7 +400,7 @@ def _get_bridge_dir() -> Path: raise typer.Exit(1) # Find source bridge: first check package data, then source dir - pkg_bridge = Path(__file__).parent / "bridge" # nanobot/bridge (installed) + pkg_bridge = Path(__file__).parent.parent / "bridge" # nanobot/bridge (installed) src_bridge = Path(__file__).parent.parent.parent / "bridge" # repo root/bridge (dev) source = None