strix/scripts
itzzdev09 f21c5cf5ad fix(install): confirm pipx ownership and quote the removal path
Review feedback on the conflict guidance, both valid.

The pipx hint keyed off `.local/bin` appearing in the path, which is
where a uv-managed or hand-placed strix lands too. Telling that user to
`pipx uninstall strix-agent` either does nothing or removes a different
package, and leaves the real PATH conflict in place. Ask pipx instead:
compare the executable's directory against `PIPX_BIN_DIR` and confirm
`strix-agent` is in `pipx list`.

The `rm` suggestion printed the path bare, so copying it would split on
spaces or expand a glob. Print it through `printf '%q'`.

The decoy tests asserted that pipx was never invoked at all, which the
ownership check now legitimately does. They assert no `uninstall`
instead, which is the contract that matters. `describe_removal` only
runs when another executable wins PATH resolution, which a successful
install prevents, so the advice itself is now tested by lifting the
functions out of the script and calling them directly.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-12 12:38:51 +05:30
..
build.sh feat(tui): replace Textual with a Go/Bubble Tea interface (#941) 2026-08-03 19:23:07 -07:00
docker.sh feat: Migrate from Poetry to uv (#379) 2026-03-31 17:20:41 -07:00
install.sh fix(install): confirm pipx ownership and quote the removal path 2026-09-12 12:38:51 +05:30
tui_sidecar_hook.py feat(tui): replace Textual with a Go/Bubble Tea interface (#941) 2026-08-03 19:23:07 -07:00