Smarter Laravel detection, Sail via binary presence, and safer command guidance
Laravel Superpowers — Release Notes
v0.1.1 (2025-11-04)
Smarter Laravel detection, Sail via binary presence, and safer command guidance.
Detection & Safety
- SessionStart now bails out cleanly for non‑Laravel repos (no output), ensuring the plugin does NOT activate outside Laravel projects.
- Sail is detected by executable presence only:
vendor/bin/sail(or a top‑level./sailhelper). We no longer parsecomposer.jsonor rely onjqfor Sail checks. - Determines whether containers are running via
docker compose ps/docker-compose ps(unchanged). - Injects guidance to prefer Sail commands when Sail is available; clearly maps Sail vs host command pairs (artisan/composer/php/node/db).
- Interactive safety: when Sail is available but containers are not running, the assistant must ask whether to start containers (
sail up -d) or proceed using host tools—no host PHP/Composer/DB/Node commands should run until the user chooses.
Docs & Screenshots
- README now includes screenshots of SessionStart with and without Sail.
Docs & Skills Cleanup
- Replaced hardcoded Sail-only lines with Sail/non‑Sail pairs:
skills/migrations-and-factories/SKILL.mdskills/queues-and-horizon/SKILL.mdskills/daily-workflow/SKILL.mdskills/quality-checks/SKILL.md
- Ensured quality/static analysis and frontend checks include host equivalents.
New Skill
- [Removed] Previously documented interactive Sail prompt skill. Interactive safety is still enforced by the assistant when Sail is declared but containers are not running.
Reference
- Common Sail commands supported:
sail up|stop|restart|ps,sail artisan …,sail php …,sail composer …,sail node|npm|npx|pnpm|pnpx|yarn|bun|bunx …,sail mysql|mariadb|psql|mongodb|redis|valkey,sail test|phpunit|pest|pint|dusk.