Add SPA+Route code quality rule, async eval support for rsx:debug

Tighten CLAUDE.md from 44KB to 35KB without information loss

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-09 05:32:28 +00:00
parent 2da7a6da08
commit 0df844f77f
4 changed files with 205 additions and 41 deletions

View File

@@ -548,6 +548,13 @@ class Route_Debug_Command extends Command
$this->line(' php artisan rsx:debug /demo --eval="Rsx.is_dev()" --no-body');
$this->line('');
$this->comment('POST-LOAD INTERACTIONS (click buttons, test modals, etc):');
$this->line(' php artisan rsx:debug /page --user=1 --eval="$(\'[data-sid=btn_edit]\').click(); await new Promise(r => setTimeout(r, 2000));"');
$this->line(' # Click button, wait 2s for modal');
$this->line(' php artisan rsx:debug /form --eval="$(\'#submit\').click(); await new Promise(r => setTimeout(r, 1000));"');
$this->line(' # Submit form and capture result');
$this->line('');
$this->comment('DEBUGGING OUTPUT:');
$this->line(' php artisan rsx:debug / --console # All console output');
$this->line(' php artisan rsx:debug / --console-log # Alias for --console');