'object', 'properties' => (object) [], ]; } public function handle(array $args, array $context = []): array { $gateway = app(AIGatewayService::class); return $this->success([ 'providers' => [ 'gemini' => $gateway->isGeminiAvailable(), 'claude' => $gateway->isClaudeAvailable(), ], 'pipeline_available' => $gateway->isAvailable(), 'briefs' => [ 'pending' => ContentBrief::pending()->count(), 'queued' => ContentBrief::where('status', ContentBrief::STATUS_QUEUED)->count(), 'generating' => ContentBrief::where('status', ContentBrief::STATUS_GENERATING)->count(), 'review' => ContentBrief::needsReview()->count(), 'published' => ContentBrief::where('status', ContentBrief::STATUS_PUBLISHED)->count(), 'failed' => ContentBrief::where('status', ContentBrief::STATUS_FAILED)->count(), ], ]); } }