public function detect(): Collection
    {
        $this->events->dispatch('orchestra.extension: detecting');

        return \tap($this->finder()->detect(), function ($extensions) {
            $this->memory->put('extensions.available', $extensions->map(function ($item) {
                return Arr::except($item, ['description', 'author', 'url', 'version']);
            })->all());
        });
    }