mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-08 09:36:50 +08:00
ff3f321120
The workspace file tools (read/write/edit/glob/grep) ran a script through `python`, which a sandbox built from a host rootfs may not provide: those hosts ship `python3` only, and a read-only /usr prevents creating a `python` shim inside the jail. Every file tool then failed with `/bin/sh: 1: python: not found`. Resolve the interpreter with `command -v python3 || command -v python`, matching the interpreter the Box service already uses for its own scripts.