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.
1 parent f78ede1 commit ba119b8ec88c2595c17a6344b4c45bd66136e400
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 1 day ago
Showing 1 changed file
View
bin/navi-code