diff --git a/php/Boot.php b/php/Boot.php index 9713d8c..b3be3e3 100644 --- a/php/Boot.php +++ b/php/Boot.php @@ -177,6 +177,7 @@ class Boot extends ServiceProvider $event->command(Console\Commands\TaskCommand::class); $event->command(Console\Commands\PlanCommand::class); + $event->command(Console\Commands\AgenticGenerateCommand::class); $event->command(Console\Commands\GenerateCommand::class); $event->command(Console\Commands\PlanRetentionCommand::class); $event->command(Console\Commands\BrainSeedMemoryCommand::class); diff --git a/php/Console/Commands/AgenticGenerateCommand.php b/php/Console/Commands/AgenticGenerateCommand.php new file mode 100644 index 0000000..cd9f7ae --- /dev/null +++ b/php/Console/Commands/AgenticGenerateCommand.php @@ -0,0 +1,21 @@ +option('mode')); $this->comment('Queued for generation.'); - $this->line('Monitor with: php artisan generate status'); + $this->line('Monitor with: php artisan agentic:generate status'); return 0; } @@ -357,12 +357,12 @@ class GenerateCommand extends Command $this->line(' Content Generation CLI'); $this->newLine(); $this->line(' Usage:'); - $this->line(' php artisan generate status Show pipeline status'); - $this->line(' php artisan generate brief --title="Topic" Create and queue a brief'); - $this->line(' php artisan generate brief --title="Topic" --sync Generate immediately'); - $this->line(' php artisan generate batch --limit=10 Process queued briefs'); - $this->line(' php artisan generate plan --id=1 Generate from plan tasks'); - $this->line(' php artisan generate stats Show queue statistics'); + $this->line(' php artisan agentic:generate status Show pipeline status'); + $this->line(' php artisan agentic:generate brief --title="Topic" Create and queue a brief'); + $this->line(' php artisan agentic:generate brief --title="Topic" --sync Generate immediately'); + $this->line(' php artisan agentic:generate batch --limit=10 Process queued briefs'); + $this->line(' php artisan agentic:generate plan --id=1 Generate from plan tasks'); + $this->line(' php artisan agentic:generate stats Show queue statistics'); $this->newLine(); $this->line(' Options:'); $this->line(' --type=help_article|blog_post|landing_page|social_post'); diff --git a/php/tests/Feature/AgenticGenerateCommandTest.php b/php/tests/Feature/AgenticGenerateCommandTest.php new file mode 100644 index 0000000..abd81b8 --- /dev/null +++ b/php/tests/Feature/AgenticGenerateCommandTest.php @@ -0,0 +1,21 @@ +artisan('help', [ + 'command' => 'agentic:generate', + ]) + ->expectsOutputToContain('agentic:generate') + ->assertSuccessful(); + } +}