Skip to content

Your lightweight open-source personal agent.

fix: correct bridge path for pip-installed package

Re-binbe8772355c8e
diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.py
index 6b95667e7..c2241fbf2 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