|
navi-code wrapper: fix symlink resolution and bash docstring
The wrapper had a Python-style triple-quote docstring at the top, which bash parses as an empty string + an opening quote — the whole block becomes one giant 'command name' bash tries to execute, so the script broke before reaching any logic. Replaced with # comments. Also resolve symlinks (readlink -f) before computing PROJECT_ROOT so the wrapper finds the repo/.venv correctly when invoked via a PATH symlink, and run the client with the venv python + PYTHONPATH=PROJECT_ROOT (no cd, no pip install -e . required) so the user's cwd is preserved and sent to the server for per-project path resolution. |
|---|
|
|
| bin/navi-code |
|---|